Searched refs:SECURE_ELEMENT_SUCCESS (Results 1 – 6 of 6) sorted by relevance
/loramac-node-3.4.0/src/peripherals/atecc608a-tnglora-se/ |
D | atecc608a-tnglora-se.c | 189 return SECURE_ELEMENT_SUCCESS; in GetKeyByID() 219 if( retval != SECURE_ELEMENT_SUCCESS ) in ComputeCmac() 241 return SECURE_ELEMENT_SUCCESS; in ComputeCmac() 303 return SECURE_ELEMENT_SUCCESS; in SecureElementInit() 309 return SECURE_ELEMENT_SUCCESS; in SecureElementSetKey() 335 if( retval != SECURE_ELEMENT_SUCCESS ) in SecureElementVerifyAesCmac() 365 if( retval == SECURE_ELEMENT_SUCCESS ) in SecureElementAesEncrypt() 405 return SECURE_ELEMENT_SUCCESS; in SecureElementDeriveAndStoreKey() 408 if( GetKeyByID( rootKeyID, &source_key ) != SECURE_ELEMENT_SUCCESS ) in SecureElementDeriveAndStoreKey() 413 if( GetKeyByID( targetKeyID, &target_key ) != SECURE_ELEMENT_SUCCESS ) in SecureElementDeriveAndStoreKey() [all …]
|
/loramac-node-3.4.0/src/peripherals/soft-se/ |
D | soft-se.c | 60 return SECURE_ELEMENT_SUCCESS; in GetKeyByID() 94 if( retval == SECURE_ELEMENT_SUCCESS ) in ComputeCmac() 162 return SECURE_ELEMENT_SUCCESS; in SecureElementInit() 189 return SECURE_ELEMENT_SUCCESS; in SecureElementSetKey() 220 if( retval != SECURE_ELEMENT_SUCCESS ) in SecureElementVerifyAesCmac() 253 if( retval == SECURE_ELEMENT_SUCCESS ) in SecureElementAesEncrypt() 291 if( retval != SECURE_ELEMENT_SUCCESS ) in SecureElementDeriveAndStoreKey() 298 if( retval != SECURE_ELEMENT_SUCCESS ) in SecureElementDeriveAndStoreKey() 303 return SECURE_ELEMENT_SUCCESS; in SecureElementDeriveAndStoreKey() 334 … encKeyID, decJoinAccept + LORAMAC_MHDR_FIELD_SIZE ) != SECURE_ELEMENT_SUCCESS ) in SecureElementProcessJoinAccept() [all …]
|
/loramac-node-3.4.0/src/peripherals/lr1110-se/ |
D | lr1110-se.c | 130 if( status == SECURE_ELEMENT_SUCCESS ) in SecureElementSetKey() 140 if( status == SECURE_ELEMENT_SUCCESS ) in SecureElementSetKey() 265 if( status == SECURE_ELEMENT_SUCCESS ) in SecureElementProcessJoinAccept() 271 return SECURE_ELEMENT_SUCCESS; in SecureElementProcessJoinAccept() 297 if( status == SECURE_ELEMENT_SUCCESS ) in SecureElementProcessJoinAccept() 303 return SECURE_ELEMENT_SUCCESS; in SecureElementProcessJoinAccept() 318 return SECURE_ELEMENT_SUCCESS; in SecureElementRandomNumber() 328 return SECURE_ELEMENT_SUCCESS; in SecureElementSetDevEui() 343 return SECURE_ELEMENT_SUCCESS; in SecureElementSetJoinEui() 359 return SECURE_ELEMENT_SUCCESS; in SecureElementSetPin()
|
/loramac-node-3.4.0/src/mac/ |
D | LoRaMacCrypto.c | 162 if( SecureElementAesEncrypt( aBlock, 16, keyID, sBlock ) != SECURE_ELEMENT_SUCCESS ) in PayloadEncrypt() 248 if( SecureElementAesEncrypt( aBlock, 16, NWK_S_ENC_KEY, sBlock ) != SECURE_ELEMENT_SUCCESS ) in FOptsEncrypt() 354 if( SecureElementComputeAesCmac( micBuff, msg, len, keyID, cmac ) != SECURE_ELEMENT_SUCCESS ) in ComputeCmacB0() 397 if( retval == SECURE_ELEMENT_SUCCESS ) in VerifyCmacB0() 498 if( SecureElementComputeAesCmac( micBuff, msg, len, keyID, cmac ) != SECURE_ELEMENT_SUCCESS ) in ComputeCmacB1() 564 if( SecureElementDeriveAndStoreKey( compBase, NWK_KEY, keyID ) != SECURE_ELEMENT_SUCCESS ) in DeriveSessionKey10x() 620 if( SecureElementDeriveAndStoreKey( compBase, rootKeyId, keyID ) != SECURE_ELEMENT_SUCCESS ) in DeriveSessionKey11x() 658 if( SecureElementDeriveAndStoreKey( compBase, NWK_KEY, keyID ) != SECURE_ELEMENT_SUCCESS ) in DeriveLifeTimeSessionKey() 961 if( SecureElementSetKey( keyID, key ) != SECURE_ELEMENT_SUCCESS ) in LoRaMacCryptoSetKey() 1017 …SG_SIZE - LORAMAC_MIC_FIELD_SIZE ), micComputationKeyID, &macMsg->MIC ) != SECURE_ELEMENT_SUCCESS ) in LoRaMacCryptoPrepareJoinRequest() [all …]
|
D | secure-element.h | 58 SECURE_ELEMENT_SUCCESS = 0, enumerator
|
D | LoRaMac.c | 3785 if( SecureElementInit( &Nvm.SecureElement ) != SECURE_ELEMENT_SUCCESS ) in LoRaMacInitialization() 4155 if( SecureElementSetDevEui( mibSet->Param.DevEui ) != SECURE_ELEMENT_SUCCESS ) in LoRaMacMibSetRequestConfirm() 4163 if( SecureElementSetJoinEui( mibSet->Param.JoinEui ) != SECURE_ELEMENT_SUCCESS ) in LoRaMacMibSetRequestConfirm() 4171 if( SecureElementSetPin( mibSet->Param.SePin ) != SECURE_ELEMENT_SUCCESS ) in LoRaMacMibSetRequestConfirm()
|