Lines Matching refs:GMAC_MODE
426 GCM_MODE|GMAC_MODE)) == 0) && in aes_encrypt()
436 switch (aes_ctx->ac_flags & (CMAC_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) { in aes_encrypt()
446 case GMAC_MODE: in aes_encrypt()
497 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_encrypt()
551 if (((aes_ctx->ac_flags & (CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) in aes_decrypt()
566 switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) { in aes_decrypt()
573 case GMAC_MODE: in aes_decrypt()
620 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_decrypt()
751 if ((aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) != 0) { in aes_decrypt_update()
766 if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) in aes_decrypt_update()
828 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_encrypt_final()
922 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_decrypt_final()
952 if ((aes_ctx->ac_flags & (CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) == 0) { in aes_decrypt_final()
1266 } else if (aes_ctx.ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_decrypt_atomic()