| /linux/lib/crypto/tests/ |
| H A D | sha256_kunit.c | 56 u8 *data1_buf, *data2_buf, *hash1, *hash2; in test_sha256_finup_2x() local 64 hash1 = alloc_guarded_buf(test, SHA256_DIGEST_SIZE); in test_sha256_finup_2x() 83 sha256_finup_2x(ctx, data1, data2, data_len, hash1, hash2); in test_sha256_finup_2x() 93 test, hash1, expected_hash1, SHA256_DIGEST_SIZE, in test_sha256_finup_2x() 94 "Wrong hash1 with salt_len=%zu data_len=%zu", salt_len, in test_sha256_finup_2x() 164 u8 hash1[SHA256_DIGEST_SIZE]; in benchmark_sha256_finup_2x() local 177 data_len, hash1, hash2); in benchmark_sha256_finup_2x() 194 data_len, hash1, hash2); in benchmark_sha256_finup_2x()
|
| H A D | blake2s_kunit.c | 76 u8 hash1[BLAKE2S_HASH_SIZE]; in test_blake2s_with_guarded_key_buf() local 83 blake2s(hash1, test_buf, key, in test_blake2s_with_guarded_key_buf() 87 KUNIT_ASSERT_MEMEQ(test, hash1, hash2, BLAKE2S_HASH_SIZE); in test_blake2s_with_guarded_key_buf() 93 KUNIT_ASSERT_MEMEQ(test, hash1, hash2, BLAKE2S_HASH_SIZE); in test_blake2s_with_guarded_key_buf()
|
| H A D | hash-test-template.h | 153 u8 hash1[HASH_SIZE]; in test_hash_incremental_updates() local 163 HASH(&test_buf[offset], total_len, hash1); in test_hash_incremental_updates() 188 test, hash1, hash2, HASH_SIZE, in test_hash_incremental_updates() 285 u8 hash1[128 + HASH_SIZE]; in test_hash_alignment_consistency() local 296 HASH(&test_buf[data_offs1], len, &hash1[hash_offs1]); in test_hash_alignment_consistency() 300 test, &hash1[hash_offs1], &hash2[hash_offs2], HASH_SIZE, in test_hash_alignment_consistency()
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_fast.c | 220 size_t hash1; /* hash for ip1 */ in ZSTD_compressBlock_fast_noDict_generic() local 261 hash1 = ZSTD_hashPtr(ip1, hlog, mls); in ZSTD_compressBlock_fast_noDict_generic() 286 hashTable[hash1] = (U32)(ip1 - base); in ZSTD_compressBlock_fast_noDict_generic() 295 hashTable[hash1] = (U32)(ip1 - base); in ZSTD_compressBlock_fast_noDict_generic() 301 matchIdx = hashTable[hash1]; in ZSTD_compressBlock_fast_noDict_generic() 304 hash0 = hash1; in ZSTD_compressBlock_fast_noDict_generic() 305 hash1 = ZSTD_hashPtr(ip2, hlog, mls); in ZSTD_compressBlock_fast_noDict_generic() 322 hashTable[hash1] = (U32)(ip1 - base); in ZSTD_compressBlock_fast_noDict_generic() 328 matchIdx = hashTable[hash1]; in ZSTD_compressBlock_fast_noDict_generic() 331 hash0 = hash1; in ZSTD_compressBlock_fast_noDict_generic() [all …]
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_mh.c | 65 hsiphash_key_t hash1, hash2; member 70 static inline void generate_hash_secret(hsiphash_key_t *hash1, in generate_hash_secret() argument 73 hash1->key[0] = 2654435761UL; in generate_hash_secret() 74 hash1->key[1] = 2654435761UL; in generate_hash_secret() 144 dest->port, &s->hash1, 0) % in ip_vs_mh_permutate() 238 unsigned int hash = ip_vs_mh_hashkey(svc->af, addr, port, &s->hash1, 0) in ip_vs_mh_get() 256 &s->hash1, 0) % IP_VS_MH_TAB_SIZE; in ip_vs_mh_get_fallback() 271 hash = ip_vs_mh_hashkey(svc->af, addr, port, &s->hash1, in ip_vs_mh_get_fallback() 398 generate_hash_secret(&s->hash1, &s->hash2); in ip_vs_mh_init_svc()
|
| /linux/fs/ext4/ |
| H A D | hash.c | 105 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash_unsigned() local 109 hash = hash1 + (hash0 ^ (((int) *ucp++) * 7152373)); in dx_hack_hash_unsigned() 113 hash1 = hash0; in dx_hack_hash_unsigned() 121 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash_signed() local 125 hash = hash1 + (hash0 ^ (((int) *scp++) * 7152373)); in dx_hack_hash_signed() 129 hash1 = hash0; in dx_hack_hash_signed()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | recursion.c | 15 } hash1 SEC(".maps"); 32 if (map == (void *)&hash1) { in BPF_PROG()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | recursion.c | 23 bpf_map_delete_elem(bpf_map__fd(skel->maps.hash1), &key); in test_recursion() 25 bpf_map_delete_elem(bpf_map__fd(skel->maps.hash1), &key); in test_recursion()
|
| /linux/tools/usb/usbip/libsrc/ |
| H A D | names.c | 62 #define HASH1 0x10 macro 68 unsigned int mask1 = HASH1 << 27, mask2 = HASH2 << 27; in hashnum() 70 for (; mask1 >= HASH1; mask1 >>= 1, mask2 >>= 1) in hashnum()
|
| /linux/Documentation/devicetree/bindings/crypto/ |
| H A D | st,stm32-hash.yaml | 87 clocks = <&rcc HASH1>;
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stm32mp157a-dk1-scmi.dts | 40 &hash1 {
|
| H A D | stm32mp157c-ed1-scmi.dts | 45 &hash1 {
|
| H A D | stm32mp157c-dk2-scmi.dts | 46 &hash1 {
|
| H A D | stm32mp157c-ev1-scmi.dts | 46 &hash1 {
|
| H A D | stm32mp157f-dk2-scmi.dtsi | 59 &hash1 {
|
| H A D | stm32mp153c-lxa-fairytux2.dtsi | 197 &hash1 {
|
| H A D | stm32mp157c-emstamp-argon.dtsi | 183 &hash1 {
|
| /linux/include/dt-bindings/clock/ |
| H A D | stm32mp13-clks.h | 95 #define HASH1 67 macro
|
| H A D | stm32mp1-clks.h | 110 #define HASH1 97 macro
|
| /linux/scripts/ |
| H A D | get_dvb_firmware | 558 my $hash1 = "d798d5a757121174f0dbc5f2833c0c85"; 568 verify($file1, $hash1); 701 my $hash1 = "02fcf11174eda84745dae7e61c5ff9ba"; 710 verify("$fwfile1", $hash1);
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | virtchnl2_lan_desc.h | 388 * @hash1: Lower bits of Rx hash value. 429 __le16 hash1; member
|
| /linux/drivers/clk/stm32/ |
| H A D | clk-stm32mp13.c | 877 static struct clk_stm32_gate hash1 = { variable 879 .hw.init = CLK_HW_INIT("hash1", "ck_axi", &clk_stm32_gate_ops, 0), 1387 STM32_GATE_CFG(HASH1, hash1, SECF_HASH1),
|
| H A D | clk-stm32mp1.c | 1983 PCLK(HASH1, "hash1", "ck_axi", CLK_IGNORE_UNUSED, G_HASH1), 2121 HASH1,
|
| /linux/net/unix/ |
| H A D | af_unix.c | 229 unsigned int hash1, unsigned int hash2) in unix_table_double_lock() argument 231 if (hash1 == hash2) { in unix_table_double_lock() 232 spin_lock(&net->unx.table.locks[hash1]); in unix_table_double_lock() 236 if (hash1 > hash2) in unix_table_double_lock() 237 swap(hash1, hash2); in unix_table_double_lock() 239 spin_lock(&net->unx.table.locks[hash1]); in unix_table_double_lock() 244 unsigned int hash1, unsigned int hash2) in unix_table_double_unlock() argument 246 if (hash1 == hash2) { in unix_table_double_unlock() 247 spin_unlock(&net->unx.table.locks[hash1]); in unix_table_double_unlock() 251 spin_unlock(&net->unx.table.locks[hash1]); in unix_table_double_unlock()
|
| /linux/Documentation/crypto/ |
| H A D | devel-algos.rst | 216 '----' '--> HASH1
|