Home
last modified time | relevance | path

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

/loramac-node-3.4.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.4.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.4.0/src/mac/
DLoRaMac.c3359 LoRaMacStatus_t RestoreNvmData( LoRaMacNvmData_t* nvm ) in RestoreNvmData() argument
3364 if( nvm == NULL ) in RestoreNvmData()
3374 crc = Crc32( ( uint8_t* ) &nvm->Crypto, sizeof( nvm->Crypto ) - in RestoreNvmData()
3375 sizeof( nvm->Crypto.Crc32 ) ); in RestoreNvmData()
3376 if( crc == nvm->Crypto.Crc32 ) in RestoreNvmData()
3378 memcpy1( ( uint8_t* ) &Nvm.Crypto, ( uint8_t* ) &nvm->Crypto, in RestoreNvmData()
3383 crc = Crc32( ( uint8_t* ) &nvm->MacGroup1, sizeof( nvm->MacGroup1 ) - in RestoreNvmData()
3384 sizeof( nvm->MacGroup1.Crc32 ) ); in RestoreNvmData()
3385 if( crc == nvm->MacGroup1.Crc32 ) in RestoreNvmData()
3387 memcpy1( ( uint8_t* ) &Nvm.MacGroup1, ( uint8_t* ) &nvm->MacGroup1, in RestoreNvmData()
[all …]
Dsecure-element.h96 SecureElementStatus_t SecureElementInit( SecureElementNvmData_t* nvm );
DLoRaMacCrypto.h176 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.c611 …aMacClassBParams_t *classBParams, LoRaMacClassBCallback_t *callbacks, LoRaMacClassBNvmData_t* nvm ) in LoRaMacClassBInit() argument
615 if( nvm == NULL ) in LoRaMacClassBInit()
619 ClassBNvm = nvm; in LoRaMacClassBInit()
/loramac-node-3.4.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.4.0/src/peripherals/lr1110-se/
Dlr1110-se.c69 SecureElementStatus_t SecureElementInit( SecureElementNvmData_t* nvm ) in SecureElementInit() argument
92 SeNvm = nvm; in SecureElementInit()