Lines Matching refs:ghash
314 #define GHASH(ctx, in, len) gcm_ghash_4bit((ctx)->Xi.u, (ctx)->Htable, in, len)
400 #ifdef GHASH
401 #undef GHASH
402 #define GHASH(ctx, in, len) (*gcm_ghash_p)(ctx->Xi.u, ctx->Htable, in, len)
449 ctx->ghash = gcm_ghash_avx;
453 ctx->ghash = gcm_ghash_clmul;
461 ctx->ghash = gcm_ghash_4bit_mmx;
464 ctx->ghash = gcm_ghash_4bit_x86;
468 ctx->ghash = gcm_ghash_4bit;
474 ctx->ghash = gcm_ghash_v8;
478 ctx->ghash = gcm_ghash_neon;
482 ctx->ghash = gcm_ghash_4bit;
487 ctx->ghash = gcm_ghash_4bit;
574 #ifdef GHASH
576 size_t len) = ctx->ghash;
605 #ifdef GHASH
607 GHASH(ctx, aad, i);
645 #ifdef GHASH
647 size_t len) = ctx->ghash;
659 /* First call to encrypt finalizes GHASH(AAD) */
705 #if defined(GHASH) && defined(GHASH_CHUNK)
727 GHASH(ctx, out - GHASH_CHUNK, GHASH_CHUNK);
751 GHASH(ctx, out - j, j);
805 #ifdef GHASH
807 size_t len) = ctx->ghash;
819 /* First call to decrypt finalizes GHASH(AAD) */
870 #if defined(GHASH) && defined(GHASH_CHUNK)
874 GHASH(ctx, in, GHASH_CHUNK);
896 GHASH(ctx, in, i);
971 #ifdef GHASH
973 size_t len) = ctx->ghash;
985 /* First call to encrypt finalizes GHASH(AAD) */
1010 #if defined(GHASH)
1019 GHASH(ctx, out, GHASH_CHUNK);
1037 #if defined(GHASH)
1038 GHASH(ctx, out, i);
1081 #ifdef GHASH
1083 size_t len) = ctx->ghash;
1095 /* First call to decrypt finalizes GHASH(AAD) */
1122 #if defined(GHASH)
1124 GHASH(ctx, in, GHASH_CHUNK);
1140 #if defined(GHASH)
1141 GHASH(ctx, in, i);