Searched refs:micBuff (Results 1 – 2 of 2) sorted by relevance
/loramac-node-3.6.0-3.5.0/src/peripherals/lr1110-se/ |
D | lr1110-se.c | 166 uint8_t micBuff[CRYPTO_BUFFER_SIZE]; in SecureElementComputeAesCmac() local 168 memset1( micBuff, 0, CRYPTO_BUFFER_SIZE ); in SecureElementComputeAesCmac() 170 memcpy1( micBuff, micBxBuffer, MIC_BLOCK_BX_SIZE ); in SecureElementComputeAesCmac() 171 memcpy1( ( micBuff + MIC_BLOCK_BX_SIZE ), buffer, size ); in SecureElementComputeAesCmac() 173 localbuffer = micBuff; in SecureElementComputeAesCmac()
|
/loramac-node-3.6.0-3.5.0/src/mac/ |
D | LoRaMacCrypto.c | 349 uint8_t micBuff[MIC_BLOCK_BX_SIZE]; in ComputeCmacB0() local 352 PrepareB0( len, keyID, isAck, dir, devAddr, fCnt, micBuff ); in ComputeCmacB0() 354 if( SecureElementComputeAesCmac( micBuff, msg, len, keyID, cmac ) != SECURE_ELEMENT_SUCCESS ) in ComputeCmacB0() 385 uint8_t micBuff[CRYPTO_BUFFER_SIZE]; in VerifyCmacB0() local 386 memset1( micBuff, 0, CRYPTO_BUFFER_SIZE ); in VerifyCmacB0() 389 PrepareB0( len, keyID, isAck, dir, devAddr, fCnt, micBuff ); in VerifyCmacB0() 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() local 496 PrepareB1( len, keyID, isAck, txDr, txCh, devAddr, fCntUp, micBuff ); in ComputeCmacB1() [all …]
|