  | 
  
    LoRaMAC
    4.4.6
    
   Documentation of the API 
   | 
 
 
 
 
Go to the documentation of this file.
   37 #ifndef __LORAMAC_CRYPTO_H__ 
   38 #define __LORAMAC_CRYPTO_H__ 
   48 #include "utilities.h" 
   56 #define USE_LRWAN_1_1_X_CRYPTO                      0 
   61 #define USE_RANDOM_DEV_NONCE                        1 
   66 #define USE_JOIN_NONCE_COUNTER_CHECK                0 
   71 #define FCNT_DOWN_INITAL_VALUE          0xFFFFFFFF 
   76 typedef enum eLoRaMacCryptoStatus
 
  330 #endif // __LORAMAC_CRYPTO_H__ 
  
 
Definition: LoRaMacCrypto.h:149
 
Definition: LoRaMacMessageTypes.h:125
 
Definition: LoRaMacCrypto.h:121
 
Definition: LoRaMacCrypto.h:129
 
LoRaMacCryptoStatus_t LoRaMacCryptoSetKey(KeyIdentifier_t keyID, uint8_t *key)
 
Definition: LoRaMacCrypto.h:81
 
Definition: LoRaMacCrypto.h:113
 
Definition: LoRaMacCrypto.h:89
 
Definition: LoRaMacCrypto.h:85
 
Definition: LoRaMacCrypto.h:137
 
LoRa MAC layer internal types definition. Please do not include in application sources.
 
Definition: LoRaMacCrypto.h:117
 
JoinReqIdentifier_t
Definition: LoRaMacTypes.h:936
 
void(* LoRaMacCryptoNvmEvent)(void)
Definition: LoRaMacCrypto.h:166
 
LoRaMacCryptoStatus_t LoRaMacCryptoSetMulticastReference(MulticastCtx_t *multicastList)
 
Definition: LoRaMacCrypto.h:157
 
Definition: LoRaMacCrypto.h:105
 
LoRaMacCryptoStatus_t LoRaMacCryptoGetFCntUp(uint32_t *currentUp)
 
LoRa MAC layer message type definitions.
 
Definition: LoRaMacCrypto.h:97
 
LoRa MAC layer cryptographic NVM data.
 
Definition: LoRaMacCrypto.h:145
 
Definition: LoRaMacCrypto.h:133
 
Definition: LoRaMacCrypto.h:125
 
Definition: LoRaMacCrypto.h:93
 
Definition: LoRaMacCrypto.h:153
 
Definition: LoRaMacTypes.h:901
 
Definition: LoRaMacMessageTypes.h:86
 
LoRaMacCryptoStatus_t LoRaMacCryptoSecureMessage(uint32_t fCntUp, uint8_t txDr, uint8_t txCh, LoRaMacMessageData_t *macMsg)
 
LoRaMacCryptoStatus_t LoRaMacCryptoPrepareJoinRequest(LoRaMacMessageJoinRequest_t *macMsg)
 
LoRaMacCryptoStatus_t LoRaMacCryptoDeriveMcRootKey(uint8_t versionMinor, KeyIdentifier_t keyID)
 
Definition: LoRaMacCryptoNvm.h:85
 
LoRaMacCryptoStatus_t LoRaMacCryptoDeriveMcSessionKeyPair(AddressIdentifier_t addrID, uint32_t mcAddr)
 
LoRaMacCryptoStatus_t LoRaMacCryptoHandleJoinAccept(JoinReqIdentifier_t joinReqType, uint8_t *joinEUI, LoRaMacMessageJoinAccept_t *macMsg)
 
AddressIdentifier_t
Definition: LoRaMacTypes.h:775
 
Definition: LoRaMacMessageTypes.h:51
 
Definition: LoRaMacMessageTypes.h:213
 
Definition: LoRaMacCrypto.h:109
 
FCntIdentifier_t
Definition: LoRaMacTypes.h:630
 
KeyIdentifier_t
Definition: LoRaMacTypes.h:672
 
LoRaMacCryptoStatus_t LoRaMacCryptoGetFCntDown(FCntIdentifier_t fCntID, uint16_t maxFCntGap, uint32_t frameFcnt, uint32_t *currentDown)
 
Definition: LoRaMacCrypto.h:101
 
LoRaMacCryptoStatus_t LoRaMacCryptoDeriveMcKEKey(KeyIdentifier_t keyID)
 
LoRaMacCryptoStatus_t
Definition: LoRaMacCrypto.h:76
 
LoRaMacCryptoStatus_t LoRaMacCryptoPrepareReJoinType1(LoRaMacMessageReJoinType1_t *macMsg)
 
LoRaMacCryptoStatus_t LoRaMacCryptoSetLrWanVersion(Version_t version)
 
LoRaMacCryptoStatus_t LoRaMacCryptoPrepareReJoinType0or2(LoRaMacMessageReJoinType0or2_t *macMsg)
 
LoRaMacCryptoStatus_t LoRaMacCryptoInit(LoRaMacCryptoNvmData_t *nvm)
 
Definition: LoRaMacCrypto.h:141
 
LoRaMacCryptoStatus_t LoRaMacCryptoUnsecureMessage(AddressIdentifier_t addrID, uint32_t address, FCntIdentifier_t fCntID, uint32_t fCntDown, LoRaMacMessageData_t *macMsg)
 
Definition: LoRaMacMessageTypes.h:164