Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/icp/io/
H A Daes.c327 switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) { in aes_encrypt()
334 case GMAC_MODE: in aes_encrypt()
385 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_encrypt()
448 switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) { in aes_decrypt()
455 case GMAC_MODE: in aes_decrypt()
502 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_decrypt()
617 if ((aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) == 0) { in aes_decrypt_update()
701 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_encrypt_final()
791 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_decrypt_final()
950 if (aes_ctx.ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_encrypt_atomic()
[all …]
/freebsd/sys/contrib/openzfs/module/icp/algs/aes/
H A Daes_modes.c85 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_encrypt_contiguous_blocks()
120 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_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()
152 case GMAC_MODE: in crypto_free_mode_ctx()
H A Dgcm.c650 gcm_ctx->gcm_flags |= GMAC_MODE; in gcm_init_ctx_impl()
769 gcm_ctx->gcm_flags = GMAC_MODE; in gmac_alloc_ctx()
/freebsd/sys/contrib/openzfs/module/icp/include/modes/
H A Dmodes.h53 #define GMAC_MODE 0x00000040 macro