Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAESCrypt.c448 VERIFY3U(remainder, ==, aes_ctx->ac_remainder_len); in soft_aes_encrypt()
472 aes_ctx->ac_remainder_len = 0; in soft_aes_encrypt()
842 out_len = aes_ctx->ac_remainder_len + ulDataLen; in soft_aes_encrypt_update()
998 VERIFY3U(aes_ctx->ac_remainder_len, <=, AES_BLOCK_LEN); in soft_aes_decrypt_update()
1002 out_len = aes_ctx->ac_remainder_len + in_len; in soft_aes_decrypt_update()
1010 aes_ctx->ac_remainder_len; in soft_aes_decrypt_update()
1013 aes_ctx->ac_remainder_len += in_len; in soft_aes_decrypt_update()
1077 out_len = aes_ctx->ac_remainder_len + in_len; in soft_aes_decrypt_update()
1129 VERIFY0(aes_ctx->ac_remainder_len); in soft_aes_decrypt_update()
1138 aes_ctx->ac_remainder_len = AES_BLOCK_LEN; in soft_aes_decrypt_update()
[all …]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Daes.c524 aes_ctx->ac_remainder_len = 0; in aes_encrypt()
527 ASSERT(aes_ctx->ac_remainder_len == 0); in aes_encrypt()
639 ASSERT(aes_ctx->ac_remainder_len == 0); in aes_decrypt()
670 out_len = plaintext->cd_length + aes_ctx->ac_remainder_len; in aes_encrypt_update()
750 out_len = aes_ctx->ac_remainder_len + ciphertext->cd_length; in aes_decrypt_update()
851 if (aes_ctx->ac_remainder_len > 0) { in aes_encrypt_final()
889 if (aes_ctx->ac_remainder_len > 0 && in aes_decrypt_final()
1058 ASSERT3U(aes_ctx.ac_remainder_len, ==, 0); in aes_encrypt_atomic()
1067 ASSERT3U(aes_ctx.ac_remainder_len, ==, 0); in aes_encrypt_atomic()
1082 ASSERT3U(aes_ctx.ac_remainder_len, ==, 0); in aes_encrypt_atomic()
[all …]
/illumos-gate/usr/src/common/crypto/modes/
H A Dmodes.h255 #define ac_remainder_len acu.acu_ecb.ecb_common.cc_remainder_len macro