Home
last modified time | relevance | path

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

/illumos-gate/usr/src/common/crypto/modes/
H A Dcbc.c422 uint8_t *M_last = (uint8_t *)cbc_ctx->cbc_remainder; in cmac_mode_final() local
448 xor_block(buf, M_last); in cmac_mode_final()
449 xor_block(cbc_ctx->cbc_lastp, M_last); in cmac_mode_final()
450 encrypt_block(cbc_ctx->cbc_keysched, M_last, M_last); in cmac_mode_final()
456 M_last[length] = 0x80; in cmac_mode_final()
457 bzero(M_last + length + 1, block_size - length - 1); in cmac_mode_final()
458 xor_block(buf, M_last); in cmac_mode_final()
459 xor_block(cbc_ctx->cbc_lastp, M_last); in cmac_mode_final()
460 encrypt_block(cbc_ctx->cbc_keysched, M_last, M_last); in cmac_mode_final()
471 return (crypto_put_output_data(M_last, out, block_size)); in cmac_mode_final()