Home
last modified time | relevance | path

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

/crypto/cmac/
A Dcmac.c184 size_t max_burst_blocks, cipher_blocks; in CMAC_Update() local
214 cipher_blocks = (dlen - 1) / bl; in CMAC_Update()
227 while (cipher_blocks > max_burst_blocks) { in CMAC_Update()
232 cipher_blocks -= max_burst_blocks; in CMAC_Update()
234 if (cipher_blocks > 0) { in CMAC_Update()
235 if (EVP_Cipher(ctx->cctx, buf, data, (int)(cipher_blocks * bl)) <= 0) in CMAC_Update()
237 dlen -= cipher_blocks * bl; in CMAC_Update()
238 data += cipher_blocks * bl; in CMAC_Update()
239 memcpy(ctx->tbl, &buf[(cipher_blocks - 1) * bl], bl); in CMAC_Update()

Completed in 7 milliseconds