Searched refs:GCM_MODE (Results 1 – 6 of 6) sorted by relevance
423 GCM_MODE|GMAC_MODE)) == 0) && in aes_encrypt()433 switch (aes_ctx->ac_flags & (CMAC_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) { in aes_encrypt()437 case GCM_MODE: in aes_encrypt()491 } else if (aes_ctx->ac_flags & GCM_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()570 case GCM_MODE: in aes_decrypt()617 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_decrypt()748 if ((aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|GMAC_MODE)) != 0) { in aes_decrypt_update()763 if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) in aes_decrypt_update()[all …]
109 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_encrypt_contiguous_blocks()144 } else if (aes_ctx->ac_flags & (GCM_MODE|GMAC_MODE)) { in aes_decrypt_contiguous_blocks()
379 !(aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|CMAC_MODE|GMAC_MODE))) { in soft_aes_encrypt()698 !(aes_ctx->ac_flags & (CCM_MODE|GCM_MODE))) { in soft_aes_decrypt()735 switch (aes_ctx->ac_flags & (CCM_MODE|GCM_MODE)) { in soft_aes_decrypt()739 case GCM_MODE: in soft_aes_decrypt()819 } else if (aes_ctx->ac_flags & GCM_MODE) { in soft_aes_decrypt()1710 } else if (ctx->ac_flags & GCM_MODE) { in soft_aes_free_ctx()
178 CCM_MODE|GCM_MODE|GMAC_MODE)) { in crypto_free_mode_ctx()218 case GCM_MODE: in crypto_free_mode_ctx()
812 gcm_ctx->gcm_flags |= GCM_MODE; in gcm_init_ctx()873 gcm_ctx->gcm_flags = GCM_MODE; in gcm_alloc_ctx()
51 #define GCM_MODE 0x00000020 macro