| /freebsd/crypto/openssl/crypto/bn/ |
| H A D | rsaz_exp.c | 53 BN_ULONG k0) 78 rsaz_1024_mul_avx2(R2, R2, R2, m, k0); 79 rsaz_1024_mul_avx2(R2, R2, two80, m, k0); 82 rsaz_1024_mul_avx2(result, R2, one, m, k0); 84 rsaz_1024_mul_avx2(a_inv, a_inv, R2, m, k0); 90 rsaz_1024_sqr_avx2(result, a_inv, m, k0, 1); 95 rsaz_1024_mul_avx2(result, result, a_inv, m, k0); 100 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 103 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 106 rsaz_1024_sqr_avx2(result, result, m, k0, 1); [all …]
|
| H A D | rsaz_exp_x2.c | 70 BN_ULONG k0); 73 const BN_ULONG k0[2]); 80 BN_ULONG k0); 83 const BN_ULONG k0[2]); 90 BN_ULONG k0); 93 const BN_ULONG k0[2]); 100 BN_ULONG k0); 103 const BN_ULONG k0[2]); 111 BN_ULONG k0); 114 const BN_ULONG k0[2]); [all …]
|
| H A D | rsaz_exp.h | 30 BN_ULONG k0); 35 const BN_ULONG m_norm[8], BN_ULONG k0,
|
| /freebsd/crypto/krb5/src/util/support/ |
| H A D | hashtab.c | 45 uint64_t k0; member 77 siphash24(const uint8_t *data, size_t len, uint64_t k0, uint64_t k1) in siphash24() argument 79 uint64_t v0 = k0 ^ 0x736F6D6570736575; in siphash24() 81 uint64_t v2 = k0 ^ 0x6C7967656E657261; in siphash24() 118 uint64_t k0 = load_64_le(seed), k1 = load_64_le(seed + 8); in k5_siphash24() local 120 return siphash24(data, len, k0, k1); in k5_siphash24() 136 ht->k0 = load_64_le(seed); in k5_hashtab_create() 139 ht->k0 = ht->k1 = 0; in k5_hashtab_create() 185 j = siphash24(ent->key, ent->klen, ht->k0, ht->k1) % newsize; in resize_table() 215 i = siphash24(key, klen, ht->k0, ht->k1) % ht->nbuckets; in k5_hashtab_add() [all …]
|
| H A D | t_hashtab.c | 110 uint64_t k0, k1, hval; in test_siphash() local 115 k0 = load_64_le(seq); in test_siphash() 119 hval = siphash24(seq, i, k0, k1); in test_siphash()
|
| /freebsd/lib/libmd/amd64/ |
| H A D | md5block.S | 75 .macro rounds f, p, q, s0, s1, s2, s3, k0, k1, k2, k3 76 round %eax, %ebx, %ecx, %edx, \f, \k0, \p*0+\q, \s0 83 .macro rounds0 i, k0, k1, k2, k3 84 rounds f0, 1, \i, 7, 12, 17, 22, \k0, \k1, \k2, \k3 87 .macro rounds1 i, k0, k1, k2, k3 88 rounds f1, 5, 5*\i+1, 5, 9, 14, 20, \k0, \k1, \k2, \k3 91 .macro rounds2 i, k0, k1, k2, k3 92 rounds f2, 3, 3*\i+5, 4, 11, 16, 23, \k0, \k1, \k2, \k3 95 .macro rounds3 i, k0, k1, k2, k3 96 rounds f3, 7, 7*\i, 6, 10, 15, 21, \k0, \k1, \k2, \k3 [all …]
|
| /freebsd/lib/libmd/aarch64/ |
| H A D | md5block.S | 69 .macro rounds f, m0, m1, m2, m3, s0, s1, s2, s3, k0, k1, k2, k3 70 round a, b, c, d, \f, \k0, \m0, \s0 77 .macro rounds0 m0, m1, m2, m3, k0, k1, k2, k3 78 rounds f0, \m0, \m1, \m2, \m3, 7, 12, 17, 22, \k0, \k1, \k2, \k3 81 .macro rounds1 m0, m1, m2, m3, k0, k1, k2, k3 82 round1 a, b, c, d, \k0, \m0, 5 88 .macro rounds2 m0, m1, m2, m3, k0, k1, k2, k3 89 rounds f2, \m0, \m1, \m2, \m3, 4, 11, 16, 23, \k0, \k1, \k2, \k3 92 .macro rounds3 m0, m1, m2, m3, k0, k1, k2, k3 93 rounds f3, \m0, \m1, \m2, \m3, 6, 10, 15, 21, \k0, \k1, \k2, \k3
|
| /freebsd/contrib/bzip2/ |
| H A D | bzlib.c | 568 s->state_out_ch = s->k0; in unRLE_obuf_to_output_FAST() 572 if (k1 != s->k0) { s->k0 = k1; continue; }; in unRLE_obuf_to_output_FAST() 578 if (k1 != s->k0) { s->k0 = k1; continue; }; in unRLE_obuf_to_output_FAST() 584 if (k1 != s->k0) { s->k0 = k1; continue; }; in unRLE_obuf_to_output_FAST() 589 BZ_GET_FAST(s->k0); BZ_RAND_UPD_MASK; in unRLE_obuf_to_output_FAST() 590 s->k0 ^= BZ_RAND_MASK; s->nblock_used++; in unRLE_obuf_to_output_FAST() 600 Int32 c_k0 = s->k0; in unRLE_obuf_to_output_FAST() 678 s->k0 = c_k0; in unRLE_obuf_to_output_FAST() 738 s->state_out_ch = s->k0; in unRLE_obuf_to_output_SMALL() 742 if (k1 != s->k0) { s->k0 = k1; continue; }; in unRLE_obuf_to_output_SMALL() [all …]
|
| H A D | decompress.c | 557 BZ_GET_SMALL(s->k0); s->nblock_used++; in BZ2_decompress() 558 BZ_RAND_UPD_MASK; s->k0 ^= BZ_RAND_MASK; in BZ2_decompress() 560 BZ_GET_SMALL(s->k0); s->nblock_used++; in BZ2_decompress() 576 BZ_GET_FAST(s->k0); s->nblock_used++; in BZ2_decompress() 577 BZ_RAND_UPD_MASK; s->k0 ^= BZ_RAND_MASK; in BZ2_decompress() 579 BZ_GET_FAST(s->k0); s->nblock_used++; in BZ2_decompress()
|
| /freebsd/sys/contrib/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/ |
| H A D | shorthash_siphash24_ref.c | 15 uint64_t k0 = LOAD64_LE(k); in crypto_shorthash_siphash24() local 23 v2 ^= k0; in crypto_shorthash_siphash24() 25 v0 ^= k0; in crypto_shorthash_siphash24()
|
| H A D | shorthash_siphashx24_ref.c | 14 uint64_t k0 = LOAD64_LE(k); in crypto_shorthash_siphashx24() local 22 v2 ^= k0; in crypto_shorthash_siphashx24() 24 v0 ^= k0; in crypto_shorthash_siphashx24()
|
| /freebsd/crypto/openssh/ |
| H A D | umac.c | 346 UINT32 k0,k1,k2,k3,k4,k5,k6,k7; in nh_aux() local 354 k0 = *(k+0); k1 = *(k+1); k2 = *(k+2); k3 = *(k+3); in nh_aux() 356 h += MUL64((k0 + d0), (k4 + d4)); in nh_aux() 379 UINT32 k0,k1,k2,k3,k4,k5,k6,k7, in nh_aux() local 384 k0 = *(k+0); k1 = *(k+1); k2 = *(k+2); k3 = *(k+3); in nh_aux() 393 h1 += MUL64((k0 + d0), (k4 + d4)); in nh_aux() 405 k0 = k8; k1 = k9; k2 = k10; k3 = k11; in nh_aux() 426 UINT32 k0,k1,k2,k3,k4,k5,k6,k7, in nh_aux() local 432 k0 = *(k+0); k1 = *(k+1); k2 = *(k+2); k3 = *(k+3); in nh_aux() 442 h1 += MUL64((k0 + d0), (k4 + d4)); in nh_aux() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/src/ |
| H A D | hash.cpp | 77 size_t k0 = n / L; in __next_prime() local 78 size_t in = static_cast<size_t>(std::lower_bound(indices, indices + M, n - k0 * L) - indices); in __next_prime() 79 n = L * k0 + indices[in]; in __next_prime() 442 ++k0; in __next_prime() 445 n = L * k0 + indices[in]; in __next_prime()
|
| /freebsd/contrib/llvm-project/third-party/siphash/include/siphash/ |
| H A D | SipHash.h | 79 uint64_t k0 = U8TO64_LE(kk); in siphash() local 87 v2 ^= k0; in siphash() 89 v0 ^= k0; in siphash()
|
| /freebsd/contrib/unbound/util/ |
| H A D | siphash.c | 97 uint64_t k0 = U8TO64_LE(k); in siphash() local 109 v2 ^= k0; in siphash() 111 v0 ^= k0; in siphash()
|
| /freebsd/contrib/arm-optimized-routines/math/aarch64/advsimd/ |
| H A D | v_log1p_inline.h | 103 uint64x2_t k0 = vceqzq_f64 (k); in log1p_inline() local 104 cm = v_zerofy_f64 (cm, k0); in log1p_inline() 105 f = vbslq_f64 (k0, x, f); in log1p_inline()
|
| /freebsd/crypto/openssl/crypto/bn/asm/ |
| H A D | rsaz-3k-avxifma.pl | 92 my ($res,$a,$b,$m,$k0) = @_6_args_universal_ABI; 491 &amm52x30_x1(0,8*$idx,$acc0_0,$R0_0,$R0_0h,$R1_0,$R1_0h,$R2_0,$R2_0h,$R3_0,$R3_0h,$k0); 498 &amm52x30_x1(0,8*0,$acc0_0,$R0_0,$R0_0h,$R1_0,$R1_0h,$R2_0,$R2_0h,$R3_0,$R3_0h,$k0); 499 &amm52x30_x1(0,8*1,$acc0_0,$R0_0,$R0_0h,$R1_0,$R1_0h,$R2_0,$R2_0h,$R3_0,$R3_0h,$k0); 722 &amm52x30_x1( 0, 0,$acc0_0,$R0_0,$R0_0h,$R1_0,$R1_0h,$R2_0,$R2_0h,$R3_0,$R3_0h,"($k0)"); 731 push $k0 735 pop $k0 769 &amm52x30_x1(32*8, 0,$acc0_0,$R0_0,$R0_0h,$R1_0,$R1_0h,$R2_0,$R2_0h,$R3_0,$R3_0h,"8($k0)");
|
| H A D | rsaz-3k-avx512.pl | 112 my ($res,$a,$b,$m,$k0) = @_6_args_universal_ABI; 436 &amm52x30_x1(0,8*$idx,$acc0_0,$R0_0,$R0_0h,$R1_0,$R1_0h,$R2_0,$R2_0h,$R3_0,$R3_0h,$k0); 443 &amm52x30_x1(0,8*0,$acc0_0,$R0_0,$R0_0h,$R1_0,$R1_0h,$R2_0,$R2_0h,$R3_0,$R3_0h,$k0); 444 &amm52x30_x1(0,8*1,$acc0_0,$R0_0,$R0_0h,$R1_0,$R1_0h,$R2_0,$R2_0h,$R3_0,$R3_0h,$k0); 592 &amm52x30_x1( 0, 0,$acc0_0,$R0_0,$R0_0h,$R1_0,$R1_0h,$R2_0,$R2_0h,$R3_0,$R3_0h,"($k0)"); 594 &amm52x30_x1(32*8,32*8,$acc0_1,$R0_1,$R0_1h,$R1_1,$R1_1h,$R2_1,$R2_1h,$R3_1,$R3_1h,"8($k0)");
|
| H A D | rsaz-2k-avx512.pl | 125 my ($res,$a,$b,$m,$k0) = @_6_args_universal_ABI; 367 &amm52x20_x1(0,8*$idx,$acc0_0,$R0_0,$R0_0h,$R1_0,$R1_0h,$R2_0,$k0); 476 &amm52x20_x1( 0, 0,$acc0_0,$R0_0,$R0_0h,$R1_0,$R1_0h,$R2_0,"($k0)"); 478 &amm52x20_x1(20*8,20*8,$acc0_1,$R0_1,$R0_1h,$R1_1,$R1_1h,$R2_1,"8($k0)");
|
| H A D | rsaz-4k-avxifma.pl | 89 my ($res,$a,$b,$m,$k0) = @_6_args_universal_ABI; 581 …amm52x40_x1(0,8*$idx,$acc0_0,$R0_0,$R0_0h,$R1_0,$R1_0h,$R2_0,$R2_0h,$R3_0,$R3_0h,$R4_0,$R4_0h,$k0); 812 …x40_x1( 0, 0,$acc0_0,$R0_0,$R0_0h,$R1_0,$R1_0h,$R2_0,$R2_0h,$R3_0,$R3_0h,$R4_0,$R4_0h,"($k0)"); 821 push $k0 826 pop $k0 863 …2x40_x1(40*8, 0,$acc0_0,$R0_0,$R0_0h,$R1_0,$R1_0h,$R2_0,$R2_0h,$R3_0,$R3_0h,$R4_0,$R4_0h,"8($k0)");
|
| /freebsd/crypto/openssl/crypto/siphash/ |
| H A D | siphash.c | 108 uint64_t k0 = U8TO64_LE(k); in SipHash_Init() local 125 ctx->v0 = 0x736f6d6570736575ULL ^ k0; in SipHash_Init() 127 ctx->v2 = 0x6c7967656e657261ULL ^ k0; in SipHash_Init()
|
| /freebsd/crypto/krb5/src/plugins/preauth/spake/ |
| H A D | spake_client.c | 188 krb5_keyblock *k0 = NULL, *k1 = NULL, *as_key; in process_challenge() local 248 &st->spakeresult, &st->thash, der_req, 0, &k0); in process_challenge() 251 ret = cb->set_as_key(context, rock, k0); in process_challenge() 287 krb5_free_keyblock(context, k0); in process_challenge()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | Hashing.h | 154 static constexpr uint64_t k0 = 0xc3a5c85c97cb3127ULL; variable 206 uint64_t d = fetch64(s + len - 16) * k0; in hash_17to32_bytes() 214 uint64_t a = fetch64(s) + (len + fetch64(s + len - 16)) * k0; in hash_33to64_bytes() 231 uint64_t r = shift_mix((vf + ws) * k2 + (wf + vs) * k0); in hash_33to64_bytes() 232 return shift_mix((seed ^ (r * k0)) + vs) * k2; in hash_33to64_bytes()
|
| /freebsd/secure/lib/libcrypt/ |
| H A D | crypt-des.c | 368 u_int32_t k0, k1, rawkey0, rawkey1; in des_setkey() local 394 k0 = key_perm_maskl[0][rawkey0 >> 25] in des_setkey() 419 t0 = (k0 << shifts) | (k0 >> (28 - shifts)); in des_setkey()
|
| /freebsd/contrib/bearssl/src/hash/ |
| H A D | ghash_pclmul.c | 156 #define PBK(k0, k1, kw, kx) do { \ argument 157 kw = _mm_unpacklo_epi64(k1, k0); \ 158 kx = _mm_xor_si128(k0, k1); \
|