Home
last modified time | relevance | path

Searched refs:nvm (Results 1 – 10 of 10) sorted by relevance

/loramac-node-3.6.0-3.5.0/src/apps/LoRaMac/common/
DNvmDataMgmt.c64 LoRaMacNvmData_t* nvm = mibReq.Param.Contexts; in NvmDataMgmtStore() local
81 dataSize += NvmmWrite( ( uint8_t* ) &nvm->Crypto, sizeof( nvm->Crypto ), in NvmDataMgmtStore()
84 offset += sizeof( nvm->Crypto ); in NvmDataMgmtStore()
90 dataSize += NvmmWrite( ( uint8_t* ) &nvm->MacGroup1, in NvmDataMgmtStore()
91 sizeof( nvm->MacGroup1 ), offset ); in NvmDataMgmtStore()
93 offset += sizeof( nvm->MacGroup1 ); in NvmDataMgmtStore()
99 dataSize += NvmmWrite( ( uint8_t* ) &nvm->MacGroup2, in NvmDataMgmtStore()
100 sizeof( nvm->MacGroup2 ), offset ); in NvmDataMgmtStore()
102 offset += sizeof( nvm->MacGroup2 ); in NvmDataMgmtStore()
108 dataSize += NvmmWrite( ( uint8_t* ) &nvm->SecureElement, sizeof( nvm->SecureElement ), in NvmDataMgmtStore()
[all …]
/loramac-node-3.6.0-3.5.0/src/mac/
DLoRaMac.c3462 LoRaMacStatus_t RestoreNvmData( LoRaMacNvmData_t* nvm ) in RestoreNvmData() argument
3467 if( nvm == NULL ) in RestoreNvmData()
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()
3486 crc = Crc32( ( uint8_t* ) &nvm->MacGroup1, sizeof( nvm->MacGroup1 ) - in RestoreNvmData()
3487 sizeof( nvm->MacGroup1.Crc32 ) ); in RestoreNvmData()
3488 if( crc == nvm->MacGroup1.Crc32 ) in RestoreNvmData()
3490 memcpy1( ( uint8_t* ) &Nvm.MacGroup1, ( uint8_t* ) &nvm->MacGroup1, in RestoreNvmData()
[all …]
Dsecure-element.h96 SecureElementStatus_t SecureElementInit( SecureElementNvmData_t* nvm );
DLoRaMacCrypto.h178 LoRaMacCryptoStatus_t LoRaMacCryptoInit( LoRaMacCryptoNvmData_t* nvm );
DLoRaMacClassB.h307 LoRaMacClassBNvmData_t* nvm );
DLoRaMacCrypto.c832 LoRaMacCryptoStatus_t LoRaMacCryptoInit( LoRaMacCryptoNvmData_t* nvm ) in LoRaMacCryptoInit() argument
834 if( nvm == NULL ) in LoRaMacCryptoInit()
840 CryptoNvm = nvm; in LoRaMacCryptoInit()
DLoRaMacClassB.c619 …aMacClassBParams_t *classBParams, LoRaMacClassBCallback_t *callbacks, LoRaMacClassBNvmData_t* nvm ) in LoRaMacClassBInit() argument
623 if( nvm == NULL ) in LoRaMacClassBInit()
627 ClassBNvm = nvm; in LoRaMacClassBInit()
/loramac-node-3.6.0-3.5.0/src/peripherals/soft-se/
Dsoft-se.c119 SecureElementStatus_t SecureElementInit( SecureElementNvmData_t* nvm ) in SecureElementInit() argument
145 if( nvm == NULL ) in SecureElementInit()
151 SeNvm = nvm; in SecureElementInit()
/loramac-node-3.6.0-3.5.0/src/peripherals/atecc608a-tnglora-se/
Datecc608a-tnglora-se.c249 SecureElementStatus_t SecureElementInit( SecureElementNvmData_t* nvm ) in SecureElementInit() argument
267 if( nvm == NULL ) in SecureElementInit()
273 SeNvm = nvm; in SecureElementInit()
/loramac-node-3.6.0-3.5.0/src/peripherals/lr1110-se/
Dlr1110-se.c69 SecureElementStatus_t SecureElementInit( SecureElementNvmData_t* nvm ) in SecureElementInit() argument
92 SeNvm = nvm; in SecureElementInit()