Searched refs:last_block (Results 1 – 2 of 2) sorted by relevance
157 const unsigned char *last_block, in cmac_pad() argument164 padded_block[j] = last_block[j]; in cmac_pad()285 unsigned char *state, *last_block; in mbedtls_cipher_cmac_finish() local305 last_block = cmac_ctx->unprocessed_block; in mbedtls_cipher_cmac_finish()309 cmac_pad(M_last, block_size, last_block, cmac_ctx->unprocessed_len); in mbedtls_cipher_cmac_finish()313 mbedtls_xor(M_last, last_block, K1, block_size); in mbedtls_cipher_cmac_finish()
5164 const uint8_t last_block = PSA_ALG_IS_HKDF_EXTRACT(kdf_alg) ? 0 : 0xff; local5166 const uint8_t last_block = 0xff; local5197 if (hkdf->block_number == last_block) {