Home
last modified time | relevance | path

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

/loramac-node-2.7.6/src/peripherals/soft-se/
Dcmac.c62 ctx->M_n = 0; in AES_CMAC_Init()
76 if( ctx->M_n > 0 ) in AES_CMAC_Update()
78 mlen = MIN( 16 - ctx->M_n, len ); in AES_CMAC_Update()
79 memcpy1( ctx->M_last + ctx->M_n, data, mlen ); in AES_CMAC_Update()
80 ctx->M_n += mlen; in AES_CMAC_Update()
81 if( ctx->M_n < 16 || len == mlen ) in AES_CMAC_Update()
106 ctx->M_n = len; in AES_CMAC_Update()
126 if( ctx->M_n == 16 ) in AES_CMAC_Final()
143 ctx->M_last[ctx->M_n] = 0x80; in AES_CMAC_Final()
144 while( ++ctx->M_n < 16 ) in AES_CMAC_Final()
[all …]
Dcmac.h52 uint32_t M_n; member