Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/crypto/io/
H A Daes.c425 if (((aes_ctx->ac_flags & (CMAC_MODE|CTR_MODE|CCM_MODE| in aes_encrypt()
437 case CCM_MODE: in aes_encrypt()
476 if (aes_ctx->ac_flags & CCM_MODE) { in aes_encrypt()
551 if (((aes_ctx->ac_flags & (CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) in aes_decrypt()
566 switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) { in aes_decrypt()
567 case CCM_MODE: in aes_decrypt()
599 if (aes_ctx->ac_flags & CCM_MODE) { in aes_decrypt()
751 if ((aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) != 0) { in aes_decrypt_update()
822 if (aes_ctx->ac_flags & CCM_MODE) { in aes_encrypt_final()
894 if (aes_ctx->ac_flags & CCM_MODE) { in aes_decrypt_final()
[all …]
/illumos-gate/usr/src/common/crypto/aes/
H A Daes_modes.c105 } else if (aes_ctx->ac_flags & CCM_MODE) { in aes_encrypt_contiguous_blocks()
140 } else if (aes_ctx->ac_flags & CCM_MODE) { in aes_decrypt_contiguous_blocks()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAESCrypt.c348 !(aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|CMAC_MODE))) { in soft_aes_encrypt()
658 !(aes_ctx->ac_flags & (CCM_MODE|GCM_MODE))) { in soft_aes_decrypt()
694 switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE)) { in soft_aes_decrypt()
695 case CCM_MODE: in soft_aes_decrypt()
768 if (aes_ctx->ac_flags & CCM_MODE) { in soft_aes_decrypt()
1626 } else if (ctx->ac_flags & CCM_MODE) { in soft_aes_free_ctx()
/illumos-gate/usr/src/common/crypto/modes/
H A Dmodes.c178 CCM_MODE|GCM_MODE|GMAC_MODE)) { in crypto_free_mode_ctx()
204 case CCM_MODE: in crypto_free_mode_ctx()
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()
H A Dmodes.h49 #define CCM_MODE 0x00000010 macro