Home
last modified time | relevance | path

Searched refs:h2 (Results 1 – 4 of 4) sorted by relevance

/lib/crypto/
Dpoly1305-donna64.c42 u64 h0, h1, h2; in poly1305_core_blocks() local
57 h2 = state->h64[2]; in poly1305_core_blocks()
71 h2 += (((t1 >> 24)) & 0x3ffffffffffULL) | hibit64; in poly1305_core_blocks()
77 d = (u128)h2 * s1; in poly1305_core_blocks()
82 d = (u128)h2 * s2; in poly1305_core_blocks()
87 d = (u128)h2 * r0; in poly1305_core_blocks()
98 h2 = (u64)d2 & 0x3ffffffffffULL; in poly1305_core_blocks()
109 state->h64[2] = h2; in poly1305_core_blocks()
117 u64 h0, h1, h2, c; in poly1305_core_emit() local
124 h2 = state->h64[2]; in poly1305_core_emit()
[all …]
Dpoly1305-donna32.c38 u32 h0, h1, h2, h3, h4; in poly1305_core_blocks() local
60 h2 = state->h[2]; in poly1305_core_blocks()
68 h2 += (get_unaligned_le32(&input[6]) >> 4) & 0x3ffffff; in poly1305_core_blocks()
74 ((u64)h2 * s3) + ((u64)h3 * s2) + in poly1305_core_blocks()
77 ((u64)h2 * s4) + ((u64)h3 * s3) + in poly1305_core_blocks()
80 ((u64)h2 * r0) + ((u64)h3 * s4) + in poly1305_core_blocks()
83 ((u64)h2 * r1) + ((u64)h3 * r0) + in poly1305_core_blocks()
86 ((u64)h2 * r2) + ((u64)h3 * r1) + in poly1305_core_blocks()
97 h2 = (u32)d2 & 0x3ffffff; in poly1305_core_blocks()
114 state->h[2] = h2; in poly1305_core_blocks()
[all …]
/lib/
Dtest_hash.c72 u32 h0 = (u32)h64, h1, h2; in test_int_hash() local
77 hash_or[1][0] |= h2 = __hash_32_generic(h0); in test_int_hash()
79 if (h1 != h2) { in test_int_hash()
81 h0, h1, h2); in test_int_hash()
98 h2 = hash_32_generic(h0, k); in test_int_hash()
100 if (h1 != h2) { in test_int_hash()
102 " = %#x", h0, k, h1, h2); in test_int_hash()
106 if (h2 > m) { in test_int_hash()
120 h2 = hash_64_generic(h64, k); in test_int_hash()
122 if (h1 != h2) { in test_int_hash()
[all …]
/lib/zstd/
Dcompress.c1285 size_t const h2 = ZSTD_hashPtr(ip, hBitsL, 8); in ZSTD_compressBlock_doubleFast_generic() local
1288 U32 const matchIndexL = hashLong[h2]; in ZSTD_compressBlock_doubleFast_generic()
1292 hashLong[h2] = hashSmall[h] = curr; /* update hash tables */ in ZSTD_compressBlock_doubleFast_generic()