Home
last modified time | relevance | path

Searched refs:MIC_BLOCK_BX_SIZE (Results 1 – 2 of 2) sorted by relevance

/loramac-node-2.7.6/src/peripherals/lr1110-se/
Dlr1110-se.c41 #define MIC_BLOCK_BX_SIZE 16 macro
51 #define CRYPTO_BUFFER_SIZE CRYPTO_MAXMESSAGE_SIZE + MIC_BLOCK_BX_SIZE
161 memcpy1( micBuff, micBxBuffer, MIC_BLOCK_BX_SIZE ); in SecureElementComputeAesCmac()
162 memcpy1( ( micBuff + MIC_BLOCK_BX_SIZE ), buffer, size ); in SecureElementComputeAesCmac()
163 localSize += MIC_BLOCK_BX_SIZE; in SecureElementComputeAesCmac()
/loramac-node-2.7.6/src/mac/
DLoRaMacCrypto.c57 #define MIC_BLOCK_BX_SIZE 16 macro
72 #define CRYPTO_BUFFER_SIZE CRYPTO_MAXMESSAGE_SIZE + MIC_BLOCK_BX_SIZE
347 uint8_t micBuff[MIC_BLOCK_BX_SIZE]; in ComputeCmacB0()
390 memcpy1( ( micBuff + MIC_BLOCK_BX_SIZE ), msg, len ); in VerifyCmacB0()
393 … retval = SecureElementVerifyAesCmac( micBuff, ( len + MIC_BLOCK_BX_SIZE ), expectedCmac, keyID ); in VerifyCmacB0()
491 uint8_t micBuff[MIC_BLOCK_BX_SIZE]; in ComputeCmacB1()