Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/icp/io/
H A Daes.c317 if (((aes_ctx->ac_flags & (CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) in aes_encrypt()
327 switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) { in aes_encrypt()
328 case CCM_MODE: in aes_encrypt()
364 if (aes_ctx->ac_flags & CCM_MODE) { in aes_encrypt()
448 switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) { in aes_decrypt()
449 case CCM_MODE: in aes_decrypt()
481 if (aes_ctx->ac_flags & CCM_MODE) { in aes_decrypt()
617 if ((aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) == 0) { in aes_decrypt_update()
695 } else if (aes_ctx->ac_flags & CCM_MODE) { in aes_encrypt_final()
763 if (aes_ctx->ac_flags & CCM_MODE) { in aes_decrypt_final()
[all …]
/freebsd/sys/contrib/openzfs/module/icp/algs/aes/
H A Daes_modes.c81 } else if (aes_ctx->ac_flags & CCM_MODE) { in aes_encrypt_contiguous_blocks()
116 } else if (aes_ctx->ac_flags & CCM_MODE) { in aes_decrypt_contiguous_blocks()
/freebsd/sys/contrib/openzfs/module/icp/algs/modes/
H A Dmodes.c130 (ECB_MODE|CBC_MODE|CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) { in crypto_free_mode_ctx()
143 case CCM_MODE: in crypto_free_mode_ctx()
H A Dccm.c872 ccm_ctx->ccm_flags |= CCM_MODE; in ccm_init_ctx()
901 ccm_ctx->ccm_flags = CCM_MODE; in ccm_alloc_ctx()
/freebsd/sys/contrib/openzfs/module/icp/include/modes/
H A Dmodes.h51 #define CCM_MODE 0x00000010 macro