Home
last modified time | relevance | path

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

/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()
430 switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) { in aes_encrypt()
437 case GMAC_MODE: in aes_encrypt()
488 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_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()
558 case GMAC_MODE: in aes_decrypt()
605 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_decrypt()
728 if ((aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) == 0) { in aes_decrypt_update()
743 if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) in aes_decrypt_update()
[all …]
/titanic_50/usr/src/common/crypto/aes/
H A Daes_modes.c91 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_encrypt_contiguous_blocks()
128 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_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()
214 case GMAC_MODE: in crypto_free_mode_ctx()
H A Dgcm.c672 gcm_ctx->gcm_flags |= GMAC_MODE; in gmac_init_ctx()
715 gcm_ctx->gcm_flags = GMAC_MODE; in gmac_alloc_ctx()
H A Dmodes.h48 #define GMAC_MODE 0x00000040 macro