Home | History | Annotate | Download | only in modes

Lines Matching refs:ghash

316 #define GHASH(ctx, in, len) gcm_ghash_4bit((ctx)->Xi.u, (ctx)->Htable, in, len)
402 #ifdef GHASH
403 #undef GHASH
404 #define GHASH(ctx, in, len) (*gcm_ghash_p)(ctx->Xi.u, ctx->Htable, in, len)
451 ctx->ghash = gcm_ghash_avx;
455 ctx->ghash = gcm_ghash_clmul;
463 ctx->ghash = gcm_ghash_4bit_mmx;
466 ctx->ghash = gcm_ghash_4bit_x86;
470 ctx->ghash = gcm_ghash_4bit;
476 ctx->ghash = gcm_ghash_v8;
480 ctx->ghash = gcm_ghash_neon;
484 ctx->ghash = gcm_ghash_4bit;
489 ctx->ghash = gcm_ghash_4bit;
577 #ifdef GHASH
579 size_t len) = ctx->ghash;
608 #ifdef GHASH
610 GHASH(ctx, aad, i);
648 #ifdef GHASH
650 size_t len) = ctx->ghash;
662 /* First call to encrypt finalizes GHASH(AAD) */
708 #if defined(GHASH) && defined(GHASH_CHUNK)
730 GHASH(ctx, out - GHASH_CHUNK, GHASH_CHUNK);
754 GHASH(ctx, out - j, j);
808 #ifdef GHASH
810 size_t len) = ctx->ghash;
822 /* First call to decrypt finalizes GHASH(AAD) */
873 #if defined(GHASH) && defined(GHASH_CHUNK)
877 GHASH(ctx, in, GHASH_CHUNK);
899 GHASH(ctx, in, i);
973 #ifdef GHASH
975 size_t len) = ctx->ghash;
987 /* First call to encrypt finalizes GHASH(AAD) */
1012 #if defined(GHASH)
1021 GHASH(ctx, out, GHASH_CHUNK);
1040 #if defined(GHASH)
1041 GHASH(ctx, out, i);
1082 #ifdef GHASH
1084 size_t len) = ctx->ghash;
1096 /* First call to decrypt finalizes GHASH(AAD) */
1123 #if defined(GHASH)
1125 GHASH(ctx, in, GHASH_CHUNK);
1142 #if defined(GHASH)
1143 GHASH(ctx, in, i);