Searched refs:GCM_MODE (Results 1 – 5 of 5) sorted by relevance
420 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()434 case GCM_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()555 case GCM_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 …]
91 } 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()
174 (ECB_MODE|CBC_MODE|CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) { in crypto_free_mode_ctx()213 case GCM_MODE: in crypto_free_mode_ctx()
637 gcm_ctx->gcm_flags |= GCM_MODE; in gcm_init_ctx()699 gcm_ctx->gcm_flags = GCM_MODE; in gcm_alloc_ctx()
47 #define GCM_MODE 0x00000020 macro