summaryrefslogtreecommitdiff
path: root/cp/secu
diff options
context:
space:
mode:
authorchertier2008-03-27 19:16:27 +0000
committerchertier2008-03-27 19:16:27 +0000
commitf2a414a1bac58fe846b859d20db752cb4868d4db (patch)
tree7788c85c550dbe97290e4b35883cec90c7a3a91b /cp/secu
parent28c4ab71e6d378ccb053799aafd0238c5931c5ec (diff)
1st try of full station integration with CP+DP and new interface/sniffer module
- adding definitions for MAC address length and HFID max length needed for managing DRV MMEs data git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1679 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cp/secu')
-rw-r--r--cp/secu/inc/secu_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cp/secu/inc/secu_types.h b/cp/secu/inc/secu_types.h
index a026b4cce9..84bbe5f204 100644
--- a/cp/secu/inc/secu_types.h
+++ b/cp/secu/inc/secu_types.h
@@ -20,11 +20,14 @@
* HPAV const definition
*/
+#define MAC_ADDR_SIZE 6
+
#define MIN_PWD_ASCII_CHAR 32 // lower ASCII char accepted for password
#define MAX_PWD_ASCII_CHAR 127 // upper ASCII char accepted for password
#define MIN_DPW_SIZE 16 // min size of DPW password
#define MIN_NPW_SIZE 8 // min size of NPW password
#define MAX_PWD_SIZE 64 // max size of password
+#define MAX_HFID_SIZE 64 // max size of hfid (human-friendly identifier)
#define AES_KEY_SIZE 16 // AES key size (in byte)
#define SHA256_OUTPUT_SIZE 32 // SHA 256 generated key size
#define OUTPUT_KEY_SIZE AES_KEY_SIZE // pbkdf1 generated key size