Home
last modified time | relevance | path

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

/freebsd-13.1/crypto/openssl/crypto/modes/
H A Dgcm128.c256 Htable[3].hi = V.hi ^ Htable[2].hi, Htable[3].lo = V.lo ^ Htable[2].lo; in gcm_init_4bit()
258 Htable[5].hi = V.hi ^ Htable[1].hi, Htable[5].lo = V.lo ^ Htable[1].lo; in gcm_init_4bit()
259 Htable[6].hi = V.hi ^ Htable[2].hi, Htable[6].lo = V.lo ^ Htable[2].lo; in gcm_init_4bit()
260 Htable[7].hi = V.hi ^ Htable[3].hi, Htable[7].lo = V.lo ^ Htable[3].lo; in gcm_init_4bit()
262 Htable[9].hi = V.hi ^ Htable[1].hi, Htable[9].lo = V.lo ^ Htable[1].lo; in gcm_init_4bit()
263 Htable[10].hi = V.hi ^ Htable[2].hi, Htable[10].lo = V.lo ^ Htable[2].lo; in gcm_init_4bit()
264 Htable[11].hi = V.hi ^ Htable[3].hi, Htable[11].lo = V.lo ^ Htable[3].lo; in gcm_init_4bit()
265 Htable[12].hi = V.hi ^ Htable[4].hi, Htable[12].lo = V.lo ^ Htable[4].lo; in gcm_init_4bit()
266 Htable[13].hi = V.hi ^ Htable[5].hi, Htable[13].lo = V.lo ^ Htable[5].lo; in gcm_init_4bit()
267 Htable[14].hi = V.hi ^ Htable[6].hi, Htable[14].lo = V.lo ^ Htable[6].lo; in gcm_init_4bit()
[all …]
H A Dmodes_local.h132 u128 Htable[256]; member
134 u128 Htable[16]; member
135 void (*gmult) (u64 Xi[2], const u128 Htable[16]);
136 void (*ghash) (u64 Xi[2], const u128 Htable[16], const u8 *inp,
/freebsd-13.1/crypto/openssl/crypto/modes/asm/
H A Dghash-ia64.pl255 { .mmi; add $Htbl=256,sp // &Htable[0]
279 dep $Atbl=$xi[1],$Htbl,4,4 //(p17) &Htable[nlo].lo
286 add $Btbl=$xi[1],$Htbl };; //(p17) &Htable[nhi].lo
291 { .mmi; ld8 $Alo=[$Atbl],8 //(p18) Htable[nlo].lo,&Htable[nlo].hi
295 dep $Atbl=$xi[1],$Htbl,4,4 } //(p17) &Htable[nlo].lo
307 add $Btbl=$xi[1],$Htbl };; //(p17) &Htable[nhi]
323 dep $Atbl=$xi[1],$Htbl,4,4 } //(p17) &Htable[nlo].lo
338 add $Btbl=$xi[1],$Htbl };; //(p17) &Htable[nhi]
352 dep $Atbl=$xi[1],$Htbl,4,4 };; //(p17) &Htable[nlo].lo
365 add $Btbl=$xi[1],$Htbl };; //(p17) &Htable[nhi]
[all …]
H A Dghash-c64xplus.pl32 ($Xip,$Htable,$inp,$len)=("A4","B4","A6","B6"); # arguments
60 ADDAD $Htable,2,$Htable
65 LDDW *${Htable}[-1],$H1:$H0 ; H.lo
66 LDDW *${Htable}[-2],$H3:$H2 ; H.hi
92 LDDW *${Htable}[-1],$H1:$H0 ; H.lo
94 LDDW *${Htable}[-2],$H3:$H2 ; H.hi
H A Dghash-sparcv9.pl356 ($Xip,$Htable,$inp,$len)=map("%i$_",(0..3));
405 ldx [$Htable+8],$Hlo ! load twisted H
406 ldx [$Htable+0],$Hhi
410 ldx [$Htable+16],$V ! (0xE0·i)&0xff=0xA040608020C0E000
461 ldx [$Htable+8],$Hlo ! load twisted H
462 ldx [$Htable+0],$Hhi
466 ldx [$Htable+16],$V ! (0xE0·i)&0xff=0xA040608020C0E000
/freebsd-13.1/sys/crypto/armv8/
H A Darmv8_crypto.h53 __uint128_val_t Htable[16]; member
62 void gcm_init_v8(__uint128_val_t Htable[16], const uint64_t Xi[2]);
63 void gcm_gmult_v8(uint64_t Xi[2], const __uint128_val_t Htable[16]);
64 void gcm_ghash_v8(uint64_t Xi[2], const __uint128_val_t Htable[16], const uint8_t *inp, size_t len);
H A Darmv8_crypto_wrap.c258 const __uint128_val_t *Htable) in armv8_aes_encrypt_gcm() argument
281 gcm_ghash_v8(s.Xi.u, Htable, authdata, authdatalen - trailer); in armv8_aes_encrypt_gcm()
287 gcm_ghash_v8(s.Xi.u, Htable, block, AES_BLOCK_LEN); in armv8_aes_encrypt_gcm()
299 gcm_ghash_v8(s.Xi.u, Htable, (uint8_t*)to64, AES_BLOCK_LEN); in armv8_aes_encrypt_gcm()
316 gcm_ghash_v8(s.Xi.u, Htable, block, AES_BLOCK_LEN); in armv8_aes_encrypt_gcm()
323 gcm_ghash_v8(s.Xi.u, Htable, s.lenblock.c, AES_BLOCK_LEN); in armv8_aes_encrypt_gcm()
338 const __uint128_val_t *Htable) in armv8_aes_decrypt_gcm() argument
366 gcm_ghash_v8(s.Xi.u, Htable, block, AES_BLOCK_LEN); in armv8_aes_decrypt_gcm()
371 gcm_ghash_v8(s.Xi.u, Htable, from, len - trailer); in armv8_aes_decrypt_gcm()
375 gcm_ghash_v8(s.Xi.u, Htable, block, AES_BLOCK_LEN); in armv8_aes_decrypt_gcm()
[all …]
H A Darmv8_crypto.c316 gcm_init_v8(ses->Htable, H.u); in armv8_crypto_cipher_setup()
487 tag, iv, ses->Htable); in armv8_crypto_cipher_process()
497 tag, iv, ses->Htable) != 0) { in armv8_crypto_cipher_process()
/freebsd-13.1/sys/crypto/openssl/arm/
H A Dghashv8-armx.S29 vst1.64 {q12},[r0]! @ store Htable[0]
56 vst1.64 {q13,q14},[r0]! @ store Htable[1..2]
/freebsd-13.1/sys/contrib/openzfs/module/icp/algs/modes/
H A Dgcm.c1072 extern void gcm_init_htab_avx(uint64_t *Htable, const uint64_t H[2]);
1073 extern void gcm_ghash_avx(uint64_t ghash[2], const uint64_t *Htable,
/freebsd-13.1/crypto/openssl/crypto/evp/
H A De_aes.c258 void gcm_ghash_avx(u64 Xi[2], const u128 Htable[16], const u8 *in,