Home
last modified time | relevance | path

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

/loramac-node-3.4.0/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-3.4.0/src/mac/
DLoRaMacCrypto.c57 #define MIC_BLOCK_BX_SIZE 16 macro
72 #define CRYPTO_BUFFER_SIZE CRYPTO_MAXMESSAGE_SIZE + MIC_BLOCK_BX_SIZE
349 uint8_t micBuff[MIC_BLOCK_BX_SIZE]; in ComputeCmacB0()
392 memcpy1( ( micBuff + MIC_BLOCK_BX_SIZE ), msg, len ); in VerifyCmacB0()
395 … retval = SecureElementVerifyAesCmac( micBuff, ( len + MIC_BLOCK_BX_SIZE ), expectedCmac, keyID ); in VerifyCmacB0()
493 uint8_t micBuff[MIC_BLOCK_BX_SIZE]; in ComputeCmacB1()