Home
last modified time | relevance | path

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

/titanic_41/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()
430 switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) { in aes_encrypt()
431 case CCM_MODE: in aes_encrypt()
467 if (aes_ctx->ac_flags & CCM_MODE) { in aes_encrypt()
536 if (((aes_ctx->ac_flags & (CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) in aes_decrypt()
551 switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) { in aes_decrypt()
552 case CCM_MODE: in aes_decrypt()
584 if (aes_ctx->ac_flags & CCM_MODE) { in aes_decrypt()
728 if ((aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) == 0) { in aes_decrypt_update()
819 } else if (aes_ctx->ac_flags & CCM_MODE) { in aes_encrypt_final()
[all …]
/titanic_41/usr/src/common/crypto/aes/
H A Daes_modes.c87 } else if (aes_ctx->ac_flags & CCM_MODE) { in aes_encrypt_contiguous_blocks()
124 } else if (aes_ctx->ac_flags & CCM_MODE) { in aes_decrypt_contiguous_blocks()
/titanic_41/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()
199 case CCM_MODE: in crypto_free_mode_ctx()
H A Dmodes.h46 #define CCM_MODE 0x00000010 macro
H A Dccm.c880 ccm_ctx->ccm_flags |= CCM_MODE; in ccm_init_ctx()
920 ccm_ctx->ccm_flags = CCM_MODE; in ccm_alloc_ctx()