Lines Matching refs:ghash
576 #define GHASH(ctx,in,len) gcm_ghash_4bit((ctx)->Xi.u,(ctx)->Htable,in,len)
680 # ifdef GHASH
681 # undef GHASH
682 # define GHASH(ctx,in,len) (*gcm_ghash_p)(ctx->Xi.u,ctx->Htable,in,len)
720 ctx->ghash = gcm_ghash_clmul;
732 ctx->ghash = gcm_ghash_4bit_mmx;
735 ctx->ghash = gcm_ghash_4bit_x86;
739 ctx->ghash = gcm_ghash_4bit;
744 ctx->ghash = gcm_ghash_neon;
748 ctx->ghash = gcm_ghash_4bit;
833 # ifdef GHASH
835 const u8 *inp,size_t len) = ctx->ghash;
860 #ifdef GHASH
862 GHASH(ctx,aad,i);
895 # ifdef GHASH
897 const u8 *inp,size_t len) = ctx->ghash;
910 /* First call to encrypt finalizes GHASH(AAD) */
939 #if defined(GHASH) && defined(GHASH_CHUNK)
957 GHASH(ctx,out-GHASH_CHUNK,GHASH_CHUNK);
977 GHASH(ctx,out-j,j);
1045 # ifdef GHASH
1047 const u8 *inp,size_t len) = ctx->ghash;
1057 /* First call to decrypt finalizes GHASH(AAD) */
1088 #if defined(GHASH) && defined(GHASH_CHUNK)
1092 GHASH(ctx,in,GHASH_CHUNK);
1110 GHASH(ctx,in,i);
1197 # ifdef GHASH
1199 const u8 *inp,size_t len) = ctx->ghash;
1209 /* First call to encrypt finalizes GHASH(AAD) */
1232 #if defined(GHASH) && !defined(OPENSSL_SMALL_FOOTPRINT)
1240 GHASH(ctx,out,GHASH_CHUNK);
1257 #if defined(GHASH)
1258 GHASH(ctx,out,i);
1296 # ifdef GHASH
1298 const u8 *inp,size_t len) = ctx->ghash;
1308 /* First call to decrypt finalizes GHASH(AAD) */
1333 #if defined(GHASH) && !defined(OPENSSL_SMALL_FOOTPRINT)
1335 GHASH(ctx,in,GHASH_CHUNK);
1350 #if defined(GHASH)
1351 GHASH(ctx,in,i);
1745 #ifdef GHASH
1746 GHASH(&ctx,buf.c,sizeof(buf));
1748 for (i=0;i<100;++i) GHASH(&ctx,buf.c,sizeof(buf));