Lines Matching refs:in_len
83 const uint8_t *in, size_t in_len) { in AES_CMAC() argument
101 CMAC_Update(&ctx, in, in_len) && in AES_CMAC()
170 int CMAC_Update(CMAC_CTX *ctx, const uint8_t *in, size_t in_len) { in CMAC_Update() argument
175 if (in_len < todo) { in CMAC_Update()
176 todo = in_len; in CMAC_Update()
181 in_len -= todo; in CMAC_Update()
189 if (in_len == 0) { in CMAC_Update()
201 while (in_len > AES_BLOCK_SIZE) { in CMAC_Update()
206 in_len -= AES_BLOCK_SIZE; in CMAC_Update()
209 memcpy(ctx->block, in, in_len); in CMAC_Update()
210 ctx->block_used = in_len; in CMAC_Update()