Searched refs:block_used (Results 1 – 1 of 1) sorted by relevance
68 unsigned block_used; member160 ctx->block_used = 0; in CMAC_Init()166 ctx->block_used = 0; in CMAC_Reset()173 if (ctx->block_used > 0) { in CMAC_Update()174 size_t todo = AES_BLOCK_SIZE - ctx->block_used; in CMAC_Update()179 memcpy(ctx->block + ctx->block_used, in, todo); in CMAC_Update()182 ctx->block_used += todo; in CMAC_Update()193 assert(ctx->block_used == AES_BLOCK_SIZE); in CMAC_Update()210 ctx->block_used = in_len; in CMAC_Update()223 if (ctx->block_used != AES_BLOCK_SIZE) { in CMAC_Final()[all …]