Home
last modified time | relevance | path

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

/titanic_50/usr/src/common/crypto/aes/
H A Daes_modes.c83 if (aes_ctx->ac_flags & CTR_MODE) { in aes_encrypt_contiguous_blocks()
118 if (aes_ctx->ac_flags & CTR_MODE) { in aes_decrypt_contiguous_blocks()
/titanic_50/usr/src/common/crypto/modes/
H A Dmodes.c174 (ECB_MODE|CBC_MODE|CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) { in crypto_free_mode_ctx()
191 case CTR_MODE: in crypto_free_mode_ctx()
H A Dctr.c230 ctr_ctx->ctr_flags |= CTR_MODE; in ctr_init_ctx()
247 ctr_ctx->ctr_flags = CTR_MODE; in ctr_alloc_ctx()
H A Dmodes.h45 #define CTR_MODE 0x00000008 macro
/titanic_50/usr/src/uts/common/crypto/io/
H A Daes.c420 if (((aes_ctx->ac_flags & (CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) in aes_encrypt()
536 if (((aes_ctx->ac_flags & (CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) in aes_decrypt()
691 if ((aes_ctx->ac_flags & CTR_MODE) && (aes_ctx->ac_remainder_len > 0)) { in aes_encrypt_update()
775 if ((aes_ctx->ac_flags & CTR_MODE) && (aes_ctx->ac_remainder_len > 0)) { in aes_decrypt_update()
812 if (aes_ctx->ac_flags & CTR_MODE) { in aes_encrypt_final()
878 if ((aes_ctx->ac_flags & CTR_MODE) == 0) in aes_decrypt_final()
948 if ((aes_ctx->ac_flags & (CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) == 0) { in aes_decrypt_final()