Home
last modified time | relevance | path

Searched refs:Htable (Results 1 – 8 of 8) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/modes/
Dgcm.c79 void gcm_init_4bit(u128 Htable[16], const uint64_t H[2]) { in gcm_init_4bit()
82 Htable[0].hi = 0; in gcm_init_4bit()
83 Htable[0].lo = 0; in gcm_init_4bit()
87 Htable[8] = V; in gcm_init_4bit()
89 Htable[4] = V; in gcm_init_4bit()
91 Htable[2] = V; in gcm_init_4bit()
93 Htable[1] = V; in gcm_init_4bit()
94 Htable[3].hi = V.hi ^ Htable[2].hi, Htable[3].lo = V.lo ^ Htable[2].lo; in gcm_init_4bit()
95 V = Htable[4]; in gcm_init_4bit()
96 Htable[5].hi = V.hi ^ Htable[1].hi, Htable[5].lo = V.lo ^ Htable[1].lo; in gcm_init_4bit()
[all …]
Dgcm_test.cc137 alignas(16) u128 Htable[16]; in TEST() local
138 CHECK_ABI(gcm_init_4bit, Htable, kH); in TEST()
140 CHECK_ABI(gcm_gmult_4bit_mmx, X, Htable); in TEST()
142 CHECK_ABI(gcm_ghash_4bit_mmx, X, Htable, buf, 16 * blocks); in TEST()
145 CHECK_ABI(gcm_gmult_4bit, X, Htable); in TEST()
147 CHECK_ABI(gcm_ghash_4bit, X, Htable, buf, 16 * blocks); in TEST()
153 CHECK_ABI_SEH(gcm_init_ssse3, Htable, kH); in TEST()
154 CHECK_ABI_SEH(gcm_gmult_ssse3, X, Htable); in TEST()
156 CHECK_ABI_SEH(gcm_ghash_ssse3, X, Htable, buf, 16 * blocks); in TEST()
161 CHECK_ABI_SEH(gcm_init_clmul, Htable, kH); in TEST()
[all …]
Dinternal.h140 typedef void (*gmult_func)(uint64_t Xi[2], const u128 Htable[16]);
145 typedef void (*ghash_func)(uint64_t Xi[2], const u128 Htable[16],
155 u128 Htable[16]; member
271 void gcm_init_4bit(u128 Htable[16], const uint64_t H[2]);
272 void gcm_gmult_4bit(uint64_t Xi[2], const u128 Htable[16]);
273 void gcm_ghash_4bit(uint64_t Xi[2], const u128 Htable[16], const uint8_t *inp,
280 void gcm_init_clmul(u128 Htable[16], const uint64_t Xi[2]);
281 void gcm_gmult_clmul(uint64_t Xi[2], const u128 Htable[16]);
282 void gcm_ghash_clmul(uint64_t Xi[2], const u128 Htable[16], const uint8_t *inp,
291 void gcm_init_ssse3(u128 Htable[16], const uint64_t Xi[2]);
[all …]
Dpolyval.c59 CRYPTO_ghash_init(&ctx->gmult, &ctx->ghash, &ctx->H, ctx->Htable, &is_avx, in CRYPTO_POLYVAL_init()
83 ctx->ghash(ctx->S.u, ctx->Htable, (const uint8_t *) reversed, todo); in CRYPTO_POLYVAL_update_blocks()
/external/boringssl/src/crypto/fipsmodule/modes/asm/
Dghash-ssse3-x86.pl80 my ($Xi, $Htable, $in, $len) = ("edi", "esi", "edx", "ecx");
103 &movdqa("xmm4", &QWP(0, $Htable));
104 &lea($Htable, &DWP(16, $Htable));
158 &mov($Htable, &wparam(1));
209 &mov($Htable, &wparam(1));
257 &lea($Htable, &DWP(-256, $Htable));
Dghash-ssse3-x86_64.pl90 my ($Xi, $Htable, $in, $len) = $win64 ? ("%rcx", "%rdx", "%r8", "%r9") :
158 movdqa ($Htable), %xmm4
159 leaq 16($Htable), $Htable
303 # Rewind $Htable for the next iteration.
304 leaq -256($Htable), $Htable
/external/boringssl/ios-arm/crypto/fipsmodule/
Dghashv8-armx32.S42 vst1.64 {q12},[r0]! @ store Htable[0]
69 vst1.64 {q13,q14},[r0] @ store Htable[1..2]
/external/boringssl/linux-arm/crypto/fipsmodule/
Dghashv8-armx32.S41 vst1.64 {q12},[r0]! @ store Htable[0]
68 vst1.64 {q13,q14},[r0] @ store Htable[1..2]