| /linux/lib/crypto/tests/ |
| H A D | blake2b_kunit.c | 77 u8 hash2[BLAKE2B_HASH_SIZE]; in test_blake2b_with_guarded_key_buf() local 86 hash2, BLAKE2B_HASH_SIZE); in test_blake2b_with_guarded_key_buf() 87 KUNIT_ASSERT_MEMEQ(test, hash1, hash2, BLAKE2B_HASH_SIZE); in test_blake2b_with_guarded_key_buf() 91 blake2b_final(&ctx, hash2); in test_blake2b_with_guarded_key_buf() 92 KUNIT_ASSERT_MEMEQ(test, hash1, hash2, BLAKE2B_HASH_SIZE); in test_blake2b_with_guarded_key_buf()
|
| H A D | blake2s_kunit.c | 77 u8 hash2[BLAKE2S_HASH_SIZE]; in test_blake2s_with_guarded_key_buf() local 86 hash2, BLAKE2S_HASH_SIZE); in test_blake2s_with_guarded_key_buf() 87 KUNIT_ASSERT_MEMEQ(test, hash1, hash2, BLAKE2S_HASH_SIZE); in test_blake2s_with_guarded_key_buf() 91 blake2s_final(&ctx, hash2); in test_blake2s_with_guarded_key_buf() 92 KUNIT_ASSERT_MEMEQ(test, hash1, hash2, BLAKE2S_HASH_SIZE); in test_blake2s_with_guarded_key_buf()
|
| H A D | hash-test-template.h | 154 u8 hash2[HASH_SIZE]; in test_hash_incremental_updates() local 184 HASH_FINAL(&ctx, hash2); in test_hash_incremental_updates() 188 test, hash1, hash2, HASH_SIZE, in test_hash_incremental_updates() 286 u8 hash2[128 + HASH_SIZE]; in test_hash_alignment_consistency() local 298 HASH(&test_buf[data_offs2], len, &hash2[hash_offs2]); in test_hash_alignment_consistency() 300 test, &hash1[hash_offs1], &hash2[hash_offs2], HASH_SIZE, in test_hash_alignment_consistency()
|
| H A D | polyval_kunit.c | 100 u8 hash2[POLYVAL_BLOCK_SIZE]; in check_key_consistency() local 109 polyval(key2, data, len, hash2); in check_key_consistency() 110 KUNIT_ASSERT_MEMEQ(test, hash1, hash2, sizeof(hash1)); in check_key_consistency()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | recursion.c | 22 } hash2 SEC(".maps"); 36 if (map == (void *)&hash2) { in BPF_PROG() 38 bpf_map_delete_elem(&hash2, &key); in BPF_PROG()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_mh.c | 64 hsiphash_key_t hash1, hash2; 70 hsiphash_key_t *hash2) in generate_hash_secret() 75 hash2->key[0] = 2654446892UL; in generate_hash_secret() 76 hash2->key[1] = 2654446892UL; in generate_hash_secret() 146 dest->port, &s->hash2, 0) % in ip_vs_mh_permutate() 397 generate_hash_secret(&s->hash1, &s->hash2); in ip_vs_mh_init_svc() 65 hsiphash_key_t hash1, hash2; global() member 71 generate_hash_secret(hsiphash_key_t * hash1,hsiphash_key_t * hash2) generate_hash_secret() argument
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | recursion.c | 29 bpf_map_delete_elem(bpf_map__fd(skel->maps.hash2), &key); in test_recursion() 31 bpf_map_delete_elem(bpf_map__fd(skel->maps.hash2), &key); in test_recursion()
|
| /linux/net/ipv4/ |
| H A D | udp.c | 684 unsigned int hash2; in __udp4_lib_lookup() local 686 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup() 687 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_lookup() 720 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup() 721 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_lookup() 2538 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp4_lib_mcast_deliver() local 2548 hash2 = ipv4_portaddr_hash(net, daddr, hnum) & udptable->mask; in __udp4_lib_mcast_deliver() 2550 hslot = &udptable->hash2[hash2].hslot; in __udp4_lib_mcast_deliver() 2578 if (use_hash2 && hash2 != hash2_any) { in __udp4_lib_mcast_deliver() 2579 hash2 = hash2_any; in __udp4_lib_mcast_deliver() [all …]
|
| /linux/scripts/ |
| H A D | get_dvb_firmware | 560 my $hash2 = "26b687136e127b8ac24b81e0eeafc20b"; 571 verify($file2, $hash2); 704 my $hash2 = "d5e1437dc24358578e07999475d4cac9"; 714 verify("$fwfile2", $hash2);
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_preSplit.c | 34 FORCE_INLINE_TEMPLATE unsigned hash2(const void *p, unsigned hashLog) in hash2() function 65 fp->events[hash2(p+n, hashLog)]++; in addEvents_generic()
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | virtchnl2_lan_desc.h | 433 u8 hash2; member
|
| /linux/Documentation/translations/zh_CN/filesystems/ |
| H A D | ubifs-authentication.rst | 271 ,. CS , hash1.----. hash2.----.
|
| /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() 236 if (hash1 > hash2) in unix_table_double_lock() 237 swap(hash1, hash2); in unix_table_double_lock() 240 spin_lock(&net->unx.table.locks[hash2]); 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() 252 spin_unlock(&net->unx.table.locks[hash2]); in unix_table_double_unlock()
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | tlan.c | 1262 u32 hash2 = 0; in tlan_set_multicast_list() local 1294 hash2 |= (1 << (offset - 32)); in tlan_set_multicast_list() 1301 tlan_dio_write32(dev->base_addr, TLAN_HASH_2, hash2); in tlan_set_multicast_list()
|
| /linux/drivers/net/ethernet/agere/ |
| H A D | et131x.c | 950 u32 hash2 = 0; in et1310_setup_device_for_multicast() local 974 hash2 |= (1 << result); in et1310_setup_device_for_multicast() 988 writel(hash2, &rxmac->multi_hash2); in et1310_setup_device_for_multicast()
|