Searched refs:GCM_MODE (Results 1 – 5 of 5) sorted by relevance
417 switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) { in aes_encrypt()421 case GCM_MODE: in aes_encrypt()475 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_encrypt()538 switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) { in aes_decrypt()542 case GCM_MODE: in aes_decrypt()592 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_decrypt()725 if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) in aes_decrypt_update()801 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_encrypt_final()893 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_decrypt_final()1055 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()
128 (ECB_MODE|CBC_MODE|CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) { in crypto_free_mode_ctx()149 case GCM_MODE: in crypto_free_mode_ctx()
605 gcm_ctx->gcm_flags |= GCM_MODE; in gcm_init_ctx()753 gcm_ctx->gcm_flags = GCM_MODE; in gcm_alloc_ctx()
52 #define GCM_MODE 0x00000020 macro