33 #ifndef EO_SEC_INFO_H_ 34 #define EO_SEC_INFO_H_ 36 #include "api/sec_api.h" 46 #define SLF_DATA_ENC_OFF 0 48 #define SLF_DATA_ENC_AES128 0x04 50 #define SLF_DATA_ENC_VAES128 0x03 52 #define SLF_MAC_OFF (0<<3) 54 #define SLF_MAC_3BYTE (1<<3) 56 #define SLF_MAC_4BYTE (2<<3) 58 #define SLF_RLC_TX_OFF (0<<5) 60 #define SLF_RLC_TX_ON (1<<5) 62 #define SLF_RLC_ALGO_OFF (0<<6) 64 #define SLF_RLC_ALGO_16BIT (1<<6) 66 #define SLF_RLC_ALGO_24BIT (2<<6) 68 #define SLF_RLC_ALGO_32BIT (3<<6) 79 #define TEACH_INFO_PSK (1<<3) 81 #define TEACH_INFO_PTM (1<<2) 85 #define TEACH_INFO_PTM_ROCKERA (0<<0) 86 #define TEACH_INFO_PTM_ROCKERB (1<<0) 90 #define TEACH_INFO_UNIDIR (0<<0) 91 #define TEACH_INFO_BIDIR (1<<0) 110 uint8_t
key[AES_KEY_SIZE];
122 uint8_t
psk[AES_KEY_SIZE];
130 #endif // !defined(EO_SEC_INFO_H_) uint8_t keySize
Deprecated, is not used internally and will be Removed in the future.
Definition: eoSecureInfo.h:112
contains base for Archives
Interface for storing.
Definition: eoISerialize.h:48
uint32_t rollingCode
Rolling-code.
Definition: eoSecureInfo.h:124
Definition: eoSecureInfo.h:100
uint8_t subKey1[AES_KEY_SIZE]
CMAC Sub-Key1.
Definition: eoSecureInfo.h:118
uint8_t SLF
Secure Level Format.
Definition: eoSecureInfo.h:114
uint8_t key[AES_KEY_SIZE]
Passphrase Key.
Definition: eoSecureInfo.h:110
uint8_t psk[AES_KEY_SIZE]
Preshared key.
Definition: eoSecureInfo.h:122
uint8_t teachInInfo
Teach-In Info.
Definition: eoSecureInfo.h:116
uint8_t Serialize(eoArchive &arch)
Serialization Function which will be called by the eoStorageManager.
uint8_t subKey2[AES_KEY_SIZE]
CMAC Sub-Key2.
Definition: eoSecureInfo.h:120
SEC_RESULT securityResult
Last Secure Error.
Definition: eoSecureInfo.h:126
uint32_t previousRollingCode
The Previous Rolling code, allows to compare the old rolling code and new one.
Definition: eoSecureInfo.h:128
the base Archive
Definition: eoArchive.h:46