Home
last modified time | relevance | path

Searched refs:Crypto (Results 1 – 3 of 3) sorted by relevance

/loramac-node-3.6.0-3.5.0/src/apps/LoRaMac/common/
DNvmDataMgmt.c81 dataSize += NvmmWrite( ( uint8_t* ) &nvm->Crypto, sizeof( nvm->Crypto ), in NvmDataMgmtStore()
84 offset += sizeof( nvm->Crypto ); in NvmDataMgmtStore()
/loramac-node-3.6.0-3.5.0/src/mac/
DLoRaMac.c1779 crc = Crc32( ( uint8_t* ) &nvmData->Crypto, sizeof( nvmData->Crypto ) - in LoRaMacHandleNvm()
1780 sizeof( nvmData->Crypto.Crc32 ) ); in LoRaMacHandleNvm()
1781 if( crc != nvmData->Crypto.Crc32 ) in LoRaMacHandleNvm()
1783 nvmData->Crypto.Crc32 = crc; in LoRaMacHandleNvm()
3477 crc = Crc32( ( uint8_t* ) &nvm->Crypto, sizeof( nvm->Crypto ) - in RestoreNvmData()
3478 sizeof( nvm->Crypto.Crc32 ) ); in RestoreNvmData()
3479 if( crc == nvm->Crypto.Crc32 ) in RestoreNvmData()
3481 memcpy1( ( uint8_t* ) &Nvm.Crypto, ( uint8_t* ) &nvm->Crypto, in RestoreNvmData()
3482 sizeof( Nvm.Crypto ) ); in RestoreNvmData()
3915 if( LoRaMacCryptoInit( &Nvm.Crypto ) != LORAMAC_CRYPTO_SUCCESS ) in LoRaMacInitialization()
DLoRaMac.h770 LoRaMacCryptoNvmData_t Crypto; member