Searched refs:GMAC_MODE (Results 1 – 5 of 5) sorted by relevance
327 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 …]
85 } 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()
130 (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()
650 gcm_ctx->gcm_flags |= GMAC_MODE; in gcm_init_ctx_impl()769 gcm_ctx->gcm_flags = GMAC_MODE; in gmac_alloc_ctx()
53 #define GMAC_MODE 0x00000040 macro