Home | History | Annotate | Download | only in modes

Lines Matching refs:GHASH

576 #define GHASH(ctx,in,len) gcm_ghash_4bit((ctx)->Xi.u,(ctx)->Htable,in,len)
688 # ifdef GHASH
689 # undef GHASH
690 # define GHASH(ctx,in,len) (*gcm_ghash_p)(ctx->Xi.u,ctx->Htable,in,len)
728 ctx->ghash = gcm_ghash_clmul;
740 ctx->ghash = gcm_ghash_4bit_mmx;
743 ctx->ghash = gcm_ghash_4bit_x86;
747 ctx->ghash = gcm_ghash_4bit;
754 ctx->ghash = gcm_ghash_v8;
761 ctx->ghash = gcm_ghash_neon;
767 ctx->ghash = gcm_ghash_4bit;
860 # ifdef GHASH
862 const u8 *inp,size_t len) = ctx->ghash;
887 #ifdef GHASH
889 GHASH(ctx,aad,i);
922 # ifdef GHASH
924 const u8 *inp,size_t len) = ctx->ghash;
937 /* First call to encrypt finalizes GHASH(AAD) */
970 #if defined(GHASH) && defined(GHASH_CHUNK)
994 GHASH(ctx,out-GHASH_CHUNK,GHASH_CHUNK);
1020 GHASH(ctx,out-j,j);
1102 # ifdef GHASH
1104 const u8 *inp,size_t len) = ctx->ghash;
1114 /* First call to decrypt finalizes GHASH(AAD) */
1149 #if defined(GHASH) && defined(GHASH_CHUNK)
1153 GHASH(ctx,in,GHASH_CHUNK);
1177 GHASH(ctx,in,i);
1285 # ifdef GHASH
1287 const u8 *inp,size_t len) = ctx->ghash;
1297 /* First call to encrypt finalizes GHASH(AAD) */
1324 #if defined(GHASH) && !defined(OPENSSL_SMALL_FOOTPRINT)
1336 GHASH(ctx,out,GHASH_CHUNK);
1357 #if defined(GHASH)
1358 GHASH(ctx,out,i);
1400 # ifdef GHASH
1402 const u8 *inp,size_t len) = ctx->ghash;
1412 /* First call to decrypt finalizes GHASH(AAD) */
1441 #if defined(GHASH) && !defined(OPENSSL_SMALL_FOOTPRINT)
1443 GHASH(ctx,in,GHASH_CHUNK);
1462 #if defined(GHASH)
1463 GHASH(ctx,in,i);
1907 #ifdef GHASH
1910 const u8 *inp,size_t len) = ctx.ghash;
1912 GHASH((&ctx),buf.c,sizeof(buf));
1914 for (i=0;i<100;++i) GHASH((&ctx),buf.c,sizeof(buf));