Searched refs:KeyIdentifier_t (Results 1 – 10 of 10) sorted by relevance
| /loramac-node-latest/src/mac/ |
| D | secure-element.h | 105 SecureElementStatus_t SecureElementSetKey( KeyIdentifier_t keyID, uint8_t* key ); 117 …omputeAesCmac( uint8_t* micBxBuffer, uint8_t* buffer, uint16_t size, KeyIdentifier_t keyID, uint32… 128 …ementVerifyAesCmac( uint8_t* buffer, uint16_t size, uint32_t expectedCmac, KeyIdentifier_t keyID ); 139 SecureElementStatus_t SecureElementAesEncrypt( uint8_t* buffer, uint16_t size, KeyIdentifier_t keyI… 149 …atus_t SecureElementDeriveAndStoreKey( uint8_t* input, KeyIdentifier_t rootKeyID, KeyIdentifier_t …
|
| D | LoRaMacCrypto.c | 86 KeyIdentifier_t AppSkey; 90 KeyIdentifier_t NwkSkey; 94 KeyIdentifier_t RootKey; 132 static LoRaMacCryptoStatus_t PayloadEncrypt( uint8_t* buffer, int16_t size, KeyIdentifier_t keyID, … in PayloadEncrypt() 274 static LoRaMacCryptoStatus_t PrepareB0( uint16_t msgLen, KeyIdentifier_t keyID, bool isAck, uint8_t… in PrepareB0() 338 static LoRaMacCryptoStatus_t ComputeCmacB0( uint8_t* msg, uint16_t len, KeyIdentifier_t keyID, bool… in ComputeCmacB0() 374 static LoRaMacCryptoStatus_t VerifyCmacB0( uint8_t* msg, uint16_t len, KeyIdentifier_t keyID, bool … in VerifyCmacB0() 423 static LoRaMacCryptoStatus_t PrepareB1( uint16_t msgLen, KeyIdentifier_t keyID, bool isAck, uint8_t… in PrepareB1() 482 static LoRaMacCryptoStatus_t ComputeCmacB1( uint8_t* msg, uint16_t len, KeyIdentifier_t keyID, bool… in ComputeCmacB1() 535 static LoRaMacCryptoStatus_t DeriveSessionKey10x( KeyIdentifier_t keyID, uint32_t joinNonce, uint32… in DeriveSessionKey10x() [all …]
|
| D | LoRaMacCrypto.h | 235 LoRaMacCryptoStatus_t LoRaMacCryptoSetKey( KeyIdentifier_t keyID, uint8_t* key ); 311 LoRaMacCryptoStatus_t LoRaMacCryptoDeriveMcRootKey( uint8_t versionMinor, KeyIdentifier_t keyID ); 321 LoRaMacCryptoStatus_t LoRaMacCryptoDeriveMcKEKey( KeyIdentifier_t keyID );
|
| D | secure-element-nvm.h | 74 KeyIdentifier_t KeyID;
|
| D | LoRaMacTypes.h | 778 }KeyIdentifier_t; typedef
|
| D | LoRaMac.h | 1260 KeyIdentifier_t KeyID;
|
| D | LoRaMac.c | 5097 … const KeyIdentifier_t mcKeys[LORAMAC_MAX_MC_CTX] = { MC_KEY_0, MC_KEY_1, MC_KEY_2, MC_KEY_3 }; in LoRaMacMcChannelSetup() 5110 …const KeyIdentifier_t mcAppSKeys[LORAMAC_MAX_MC_CTX] = { MC_APP_S_KEY_0, MC_APP_S_KEY_1, MC_APP_S_… in LoRaMacMcChannelSetup() 5111 …const KeyIdentifier_t mcNwkSKeys[LORAMAC_MAX_MC_CTX] = { MC_NWK_S_KEY_0, MC_NWK_S_KEY_1, MC_NWK_S_… in LoRaMacMcChannelSetup()
|
| /loramac-node-latest/src/peripherals/soft-se/ |
| D | soft-se.c | 53 static SecureElementStatus_t GetKeyByID( KeyIdentifier_t keyID, Key_t** keyItem ) in GetKeyByID() 78 …tStatus_t ComputeCmac( uint8_t* micBxBuffer, uint8_t* buffer, uint16_t size, KeyIdentifier_t keyID, in ComputeCmac() 165 SecureElementStatus_t SecureElementSetKey( KeyIdentifier_t keyID, uint8_t* key ) in SecureElementSetKey() 198 KeyIdentifier_t keyID, uint32_t* cmac ) in SecureElementComputeAesCmac() 210 KeyIdentifier_t keyID ) in SecureElementVerifyAesCmac() 233 SecureElementStatus_t SecureElementAesEncrypt( uint8_t* buffer, uint16_t size, KeyIdentifier_t keyI… in SecureElementAesEncrypt() 269 SecureElementStatus_t SecureElementDeriveAndStoreKey( uint8_t* input, KeyIdentifier_t rootKeyID, in SecureElementDeriveAndStoreKey() 270 KeyIdentifier_t targetKeyID ) in SecureElementDeriveAndStoreKey() 323 KeyIdentifier_t encKeyID = NWK_KEY; in SecureElementProcessJoinAccept()
|
| /loramac-node-latest/src/peripherals/lr1110-se/ |
| D | lr1110-se.c | 67 static lr1110_crypto_keys_idx_t convert_key_id_from_se_to_lr1110( KeyIdentifier_t key_id ); 123 SecureElementStatus_t SecureElementSetKey( KeyIdentifier_t keyID, uint8_t* key ) in SecureElementSetKey() 158 KeyIdentifier_t keyID, uint32_t* cmac ) in SecureElementComputeAesCmac() 184 KeyIdentifier_t keyID ) in SecureElementVerifyAesCmac() 200 SecureElementStatus_t SecureElementAesEncrypt( uint8_t* buffer, uint16_t size, KeyIdentifier_t keyI… in SecureElementAesEncrypt() 223 SecureElementStatus_t SecureElementDeriveAndStoreKey( uint8_t* input, KeyIdentifier_t rootKeyID, in SecureElementDeriveAndStoreKey() 224 KeyIdentifier_t targetKeyID ) in SecureElementDeriveAndStoreKey() 260 KeyIdentifier_t encKeyID = NWK_KEY; in SecureElementProcessJoinAccept() 383 static lr1110_crypto_keys_idx_t convert_key_id_from_se_to_lr1110( KeyIdentifier_t key_id ) in convert_key_id_from_se_to_lr1110()
|
| /loramac-node-latest/src/peripherals/atecc608a-tnglora-se/ |
| D | atecc608a-tnglora-se.c | 60 KeyIdentifier_t KeyID; 182 SecureElementStatus_t GetKeyByID( KeyIdentifier_t keyID, Key_t** keyItem ) in GetKeyByID() 207 …tStatus_t ComputeCmac( uint8_t* micBxBuffer, uint8_t* buffer, uint16_t size, KeyIdentifier_t keyID, in ComputeCmac() 306 SecureElementStatus_t SecureElementSetKey( KeyIdentifier_t keyID, uint8_t* key ) in SecureElementSetKey() 313 KeyIdentifier_t keyID, uint32_t* cmac ) in SecureElementComputeAesCmac() 324 KeyIdentifier_t keyID ) in SecureElementVerifyAesCmac() 348 SecureElementStatus_t SecureElementAesEncrypt( uint8_t* buffer, uint16_t size, KeyIdentifier_t keyI… in SecureElementAesEncrypt() 379 SecureElementStatus_t SecureElementDeriveAndStoreKey( uint8_t* input, KeyIdentifier_t rootKeyID, in SecureElementDeriveAndStoreKey() 380 KeyIdentifier_t targetKeyID ) in SecureElementDeriveAndStoreKey() 452 KeyIdentifier_t encKeyID = NWK_KEY; in SecureElementProcessJoinAccept()
|