Searched refs:nvm (Results 1 – 10 of 10) sorted by relevance
/loramac-node-3.6.0-3.5.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.6.0-3.5.0/src/mac/ |
D | LoRaMac.c | 3462 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 …]
|
D | secure-element.h | 96 SecureElementStatus_t SecureElementInit( SecureElementNvmData_t* nvm );
|
D | LoRaMacCrypto.h | 178 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 | 619 …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/ |
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.6.0-3.5.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.6.0-3.5.0/src/peripherals/lr1110-se/ |
D | lr1110-se.c | 69 SecureElementStatus_t SecureElementInit( SecureElementNvmData_t* nvm ) in SecureElementInit() argument 92 SeNvm = nvm; in SecureElementInit()
|