Searched refs:nvm (Results 1 – 10 of 10) sorted by relevance
/loramac-node-3.4.0/src/apps/LoRaMac/common/ |
D | NvmDataMgmt.c | 64 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/ |
D | soft-se.c | 119 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/ |
D | LoRaMac.c | 3359 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 …]
|
D | secure-element.h | 96 SecureElementStatus_t SecureElementInit( SecureElementNvmData_t* nvm );
|
D | LoRaMacCrypto.h | 176 LoRaMacCryptoStatus_t LoRaMacCryptoInit( LoRaMacCryptoNvmData_t* nvm );
|
D | LoRaMacClassB.h | 307 LoRaMacClassBNvmData_t* nvm );
|
D | LoRaMacCrypto.c | 832 LoRaMacCryptoStatus_t LoRaMacCryptoInit( LoRaMacCryptoNvmData_t* nvm ) in LoRaMacCryptoInit() argument 834 if( nvm == NULL ) in LoRaMacCryptoInit() 840 CryptoNvm = nvm; in LoRaMacCryptoInit()
|
D | LoRaMacClassB.c | 611 …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/ |
D | atecc608a-tnglora-se.c | 249 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/ |
D | lr1110-se.c | 69 SecureElementStatus_t SecureElementInit( SecureElementNvmData_t* nvm ) in SecureElementInit() argument 92 SeNvm = nvm; in SecureElementInit()
|