Lines Matching refs:M_n
62 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()
145 ctx->M_last[ctx->M_n] = 0; in AES_CMAC_Final()