Home
last modified time | relevance | path

Searched refs:SECURE_ELEMENT_SUCCESS (Results 1 – 6 of 6) sorted by relevance

/loramac-node-3.6.0-3.5.0/src/peripherals/atecc608a-tnglora-se/
Datecc608a-tnglora-se.c189 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.6.0-3.5.0/src/peripherals/soft-se/
Dsoft-se.c60 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.6.0-3.5.0/src/peripherals/lr1110-se/
Dlr1110-se.c139 if( status == SECURE_ELEMENT_SUCCESS ) in SecureElementSetKey()
149 if( status == SECURE_ELEMENT_SUCCESS ) in SecureElementSetKey()
281 if( status == SECURE_ELEMENT_SUCCESS ) in SecureElementProcessJoinAccept()
287 return SECURE_ELEMENT_SUCCESS; in SecureElementProcessJoinAccept()
313 if( status == SECURE_ELEMENT_SUCCESS ) in SecureElementProcessJoinAccept()
319 return SECURE_ELEMENT_SUCCESS; in SecureElementProcessJoinAccept()
334 return SECURE_ELEMENT_SUCCESS; in SecureElementRandomNumber()
344 return SECURE_ELEMENT_SUCCESS; in SecureElementSetDevEui()
359 return SECURE_ELEMENT_SUCCESS; in SecureElementSetJoinEui()
375 return SECURE_ELEMENT_SUCCESS; in SecureElementSetPin()
/loramac-node-3.6.0-3.5.0/src/mac/
DLoRaMacCrypto.c162 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 …]
Dsecure-element.h58 SECURE_ELEMENT_SUCCESS = 0, enumerator
DLoRaMac.c3909 if( SecureElementInit( &Nvm.SecureElement ) != SECURE_ELEMENT_SUCCESS ) in LoRaMacInitialization()
4331 if( SecureElementSetDevEui( mibSet->Param.DevEui ) != SECURE_ELEMENT_SUCCESS ) in LoRaMacMibSetRequestConfirm()
4339 if( SecureElementSetJoinEui( mibSet->Param.JoinEui ) != SECURE_ELEMENT_SUCCESS ) in LoRaMacMibSetRequestConfirm()
4347 if( SecureElementSetPin( mibSet->Param.SePin ) != SECURE_ELEMENT_SUCCESS ) in LoRaMacMibSetRequestConfirm()