Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cmac/
Dcmac.c70 unsigned block_used; member
162 ctx->block_used = 0; in CMAC_Init()
168 ctx->block_used = 0; in CMAC_Reset()
175 if (ctx->block_used > 0) { in CMAC_Update()
176 size_t todo = AES_BLOCK_SIZE - ctx->block_used; in CMAC_Update()
181 OPENSSL_memcpy(ctx->block + ctx->block_used, in, todo); in CMAC_Update()
184 ctx->block_used += todo; in CMAC_Update()
195 assert(ctx->block_used == AES_BLOCK_SIZE); in CMAC_Update()
212 ctx->block_used = in_len; in CMAC_Update()
225 if (ctx->block_used != AES_BLOCK_SIZE) { in CMAC_Final()
[all …]