Searched refs:SeNvm (Results 1 – 3 of 3) sorted by relevance
/loramac-node-3.6.0-3.5.0/src/peripherals/soft-se/ |
D | soft-se.c | 40 static SecureElementNvmData_t* SeNvm; variable 57 if( SeNvm->KeyList[i].KeyID == keyID ) in GetKeyByID() 59 *keyItem = &( SeNvm->KeyList[i] ); in GetKeyByID() 151 SeNvm = nvm; in SecureElementInit() 154 memcpy1( ( uint8_t* )SeNvm, ( uint8_t* )&seNvmInit, sizeof( seNvmInit ) ); in SecureElementInit() 159 SoftSeHalGetUniqueId( SeNvm->DevEui ); in SecureElementInit() 174 if( SeNvm->KeyList[i].KeyID == keyID ) in SecureElementSetKey() 183 memcpy1( SeNvm->KeyList[i].KeyValue, decryptedKey, SE_KEY_SIZE ); in SecureElementSetKey() 188 memcpy1( SeNvm->KeyList[i].KeyValue, key, SE_KEY_SIZE ); in SecureElementSetKey() 410 memcpy1( SeNvm->DevEui, devEui, SE_EUI_SIZE ); in SecureElementSetDevEui() [all …]
|
/loramac-node-3.6.0-3.5.0/src/peripherals/lr1110-se/ |
D | lr1110-se.c | 53 static SecureElementNvmData_t* SeNvm; variable 92 SeNvm = nvm; in SecureElementInit() 95 memcpy1( ( uint8_t* )SeNvm, ( uint8_t* )&seNvmInit, sizeof( seNvmInit ) ); in SecureElementInit() 106 lr1110_system_read_uid( &LR1110, SeNvm->DevEui ); in SecureElementInit() 107 lr1110_system_read_join_eui( &LR1110, SeNvm->JoinEui ); in SecureElementInit() 108 lr1110_system_read_pin( &LR1110, SeNvm->Pin ); in SecureElementInit() 112 LR1110SeHalGetUniqueId( SeNvm->DevEui ); in SecureElementInit() 343 memcpy1( SeNvm->DevEui, devEui, SE_EUI_SIZE ); in SecureElementSetDevEui() 349 return SeNvm->DevEui; in SecureElementGetDevEui() 358 memcpy1( SeNvm->JoinEui, joinEui, SE_EUI_SIZE ); in SecureElementSetJoinEui() [all …]
|
/loramac-node-3.6.0-3.5.0/src/peripherals/atecc608a-tnglora-se/ |
D | atecc608a-tnglora-se.c | 71 static SecureElementNvmData_t* SeNvm; variable 273 SeNvm = nvm; in SecureElementInit() 276 memcpy1( ( uint8_t* )SeNvm, ( uint8_t* )&seNvmInit, sizeof( seNvmInit ) ); in SecureElementInit() 294 if( atcab_read_devEUI( SeNvm->DevEui ) != ATCA_SUCCESS ) in SecureElementInit() 299 if( atcab_read_joinEUI( SeNvm->JoinEui ) != ATCA_SUCCESS ) in SecureElementInit() 549 memcpy1( SeNvm->DevEui, devEui, SE_EUI_SIZE ); in SecureElementSetDevEui() 555 return SeNvm->DevEui; in SecureElementGetDevEui() 564 memcpy1( SeNvm->JoinEui, joinEui, SE_EUI_SIZE ); in SecureElementSetJoinEui() 570 return SeNvm->JoinEui; in SecureElementGetJoinEui() 580 memcpy1( SeNvm->Pin, pin, SE_PIN_SIZE ); in SecureElementSetPin() [all …]
|