|
LoRaMAC
4.6.0
Documentation of the API
|
Go to the documentation of this file.
38 #ifndef __SECURE_ELEMENT_H__
39 #define __SECURE_ELEMENT_H__
53 typedef enum eSecureElementStatus
163 uint16_t devNonce, uint8_t* encJoinAccept,
164 uint8_t encJoinAcceptSize, uint8_t* decJoinAccept,
165 uint8_t* versionMinor );
218 #endif // __SECURE_ELEMENT_H__
Definition: secure-element.h:78
SecureElementStatus_t SecureElementDeriveAndStoreKey(uint8_t *input, KeyIdentifier_t rootKeyID, KeyIdentifier_t targetKeyID)
Definition: secure-element.h:82
SecureElementStatus_t SecureElementAesEncrypt(uint8_t *buffer, uint16_t size, KeyIdentifier_t keyID, uint8_t *encBuffer)
Definition: secure-element.h:66
Secure Element non-volatile data.
Definition: secure-element.h:74
JoinReqIdentifier_t
Definition: LoRaMacTypes.h:951
SecureElementStatus_t
Definition: secure-element.h:53
Definition: secure-element.h:86
SecureElementStatus_t SecureElementSetJoinEui(uint8_t *joinEui)
uint8_t * SecureElementGetPin(void)
Definition: secure-element.h:58
Definition: secure-element-nvm.h:82
LoRa MAC layer cryptographic functionality implementation.
SecureElementStatus_t SecureElementProcessJoinAccept(JoinReqIdentifier_t joinReqType, uint8_t *joinEui, uint16_t devNonce, uint8_t *encJoinAccept, uint8_t encJoinAcceptSize, uint8_t *decJoinAccept, uint8_t *versionMinor)
Definition: secure-element.h:62
uint8_t * SecureElementGetJoinEui(void)
SecureElementStatus_t SecureElementSetKey(KeyIdentifier_t keyID, uint8_t *key)
SecureElementStatus_t SecureElementSetDevEui(uint8_t *devEui)
KeyIdentifier_t
Definition: LoRaMacTypes.h:680
uint8_t * SecureElementGetDevEui(void)
SecureElementStatus_t SecureElementComputeAesCmac(uint8_t *micBxBuffer, uint8_t *buffer, uint16_t size, KeyIdentifier_t keyID, uint32_t *cmac)
SecureElementStatus_t SecureElementInit(SecureElementNvmData_t *nvm)
SecureElementStatus_t SecureElementSetPin(uint8_t *pin)
Definition: secure-element.h:70
SecureElementStatus_t SecureElementVerifyAesCmac(uint8_t *buffer, uint16_t size, uint32_t expectedCmac, KeyIdentifier_t keyID)