| /linux/lib/crypto/tests/ |
| H A D | blake2b_kunit.c | 79 u8 hash2[BLAKE2B_HASH_SIZE]; in test_blake2b_with_guarded_key_buf() 86 blake2b(guarded_key, key_len, data, data_len, hash2, in test_blake2b_with_guarded_key_buf() 88 KUNIT_ASSERT_MEMEQ(test, hash1, hash2, BLAKE2B_HASH_SIZE); in test_blake2b_with_guarded_key_buf() 92 blake2b_final(&ctx, hash2); in test_blake2b_with_guarded_key_buf() 93 KUNIT_ASSERT_MEMEQ(test, hash1, hash2, BLAKE2B_HASH_SIZE); in test_blake2b_with_guarded_key_buf() 77 u8 hash2[BLAKE2B_HASH_SIZE]; test_blake2b_with_guarded_key_buf() local
|
| H A D | blake2s_kunit.c | 79 u8 hash2[BLAKE2S_HASH_SIZE]; in test_blake2s_with_guarded_key_buf() 86 blake2s(guarded_key, key_len, data, data_len, hash2, in test_blake2s_with_guarded_key_buf() 88 KUNIT_ASSERT_MEMEQ(test, hash1, hash2, BLAKE2S_HASH_SIZE); in test_blake2s_with_guarded_key_buf() 92 blake2s_final(&ctx, hash2); in test_blake2s_with_guarded_key_buf() 93 KUNIT_ASSERT_MEMEQ(test, hash1, hash2, BLAKE2S_HASH_SIZE); in test_blake2s_with_guarded_key_buf() 77 u8 hash2[BLAKE2S_HASH_SIZE]; test_blake2s_with_guarded_key_buf() local
|
| H A D | hash-test-template.h | 74 u8 hash2[HASH_SIZE]; in hash_suite_init() 104 HASH_FINAL(&ctx, hash2); 108 test, hash1, hash2, HASH_SIZE, in test_hash_test_vectors() 212 u8 hash2[128 + HASH_SIZE]; in test_hash_buffer_overruns() 224 HASH(&data[data_offs2], len, &hash2[hash_offs2]); in test_hash_buffer_overruns() 226 test, &hash1[hash_offs1], &hash2[hash_offs2], HASH_SIZE, in test_hash_buffer_overruns() 154 u8 hash2[HASH_SIZE]; test_hash_incremental_updates() local 286 u8 hash2[128 + HASH_SIZE]; test_hash_alignment_consistency() local
|
| /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/tools/perf/tests/ |
| H A D | util.c | 35 u8 hash2[HASH_LEN]; in test_blake2s() local 71 blake2s_final(&ctx, hash2); in test_blake2s() 73 memcmp(hash, hash2, HASH_LEN) == 0); in test_blake2s()
|
| /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/netfilter/ipvs/ |
| H A D | ip_vs_mh.c | 64 hsiphash_key_t hash1, hash2; member 70 hsiphash_key_t *hash2) in generate_hash_secret() argument 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() 395 generate_hash_secret(&s->hash1, &s->hash2); in ip_vs_mh_init_svc()
|
| H A D | ip_vs_conn.c | 267 u32 hash, hash2; in ip_vs_conn_hash() local 281 hash2 = ip_vs_conn_hashkey_conn(t, cp, true); in ip_vs_conn_hash() 282 hash_key2 = ip_vs_rht_build_hash_key(t, hash2); in ip_vs_conn_hash() 801 u32 hash2, hash_key, hash_key2; in ip_vs_conn_change_fwd_mask() local 835 hash2 = ip_vs_conn_hashkey_conn(t2, cp, true); in ip_vs_conn_change_fwd_mask() 836 hash_key2 = ip_vs_rht_build_hash_key(t2, hash2); in ip_vs_conn_change_fwd_mask()
|
| /linux/net/ipv6/ |
| H A D | inet6_hashtables.c | 248 unsigned int hash2; in inet6_lookup_listener() local 260 hash2 = ipv6_portaddr_hash(net, daddr, hnum); in inet6_lookup_listener() 261 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener() 270 hash2 = ipv6_portaddr_hash(net, &in6addr_any, hnum); in inet6_lookup_listener() 271 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener()
|
| H A D | udp.c | 354 unsigned int hash2; in __udp6_lib_lookup() local 356 hash2 = ipv6_portaddr_hash(net, daddr, hnum); in __udp6_lib_lookup() 357 hslot2 = udp_hashslot2(udptable, hash2); in __udp6_lib_lookup() 389 hash2 = ipv6_portaddr_hash(net, &in6addr_any, hnum); in __udp6_lib_lookup() 390 hslot2 = udp_hashslot2(udptable, hash2); in __udp6_lib_lookup() 943 unsigned int hash2, hash2_any, offset; in __udp6_lib_mcast_deliver() local 955 hash2 = 0; in __udp6_lib_mcast_deliver() 963 hash2 = ipv6_portaddr_hash(net, daddr, hnum) & udptable->mask; in __udp6_lib_mcast_deliver() 965 hslot = &udptable->hash2[hash2].hslot; in __udp6_lib_mcast_deliver() 996 if (use_hash2 && hash2 != hash2_any) { in __udp6_lib_mcast_deliver() [all …]
|
| /linux/net/ipv4/ |
| H A D | udp.c | 676 unsigned int hash2; in __udp4_lib_lookup() local 678 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup() 679 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_lookup() 711 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup() 712 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_lookup() 2471 unsigned int hash2, hash2_any, offset; in __udp4_lib_mcast_deliver() local 2483 hash2 = 0; in __udp4_lib_mcast_deliver() 2491 hash2 = ipv4_portaddr_hash(net, daddr, hnum) & udptable->mask; in __udp4_lib_mcast_deliver() 2493 hslot = &udptable->hash2[hash2].hslot; in __udp4_lib_mcast_deliver() 2519 if (use_hash2 && hash2 != hash2_any) { in __udp4_lib_mcast_deliver() [all …]
|
| /linux/include/net/ |
| H A D | udp.h | 96 struct udp_hslot_main *hash2; member 119 return &table->hash2[hash & table->mask].hslot; in udp_hashslot2() 161 table->hash4 = (void *)(table->hash2 + (table->mask + 1)); in udp_table_hash4_init() 163 table->hash2[i].hash4_cnt = 0; in udp_table_hash4_init()
|
| /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/Documentation/translations/zh_CN/filesystems/ |
| H A D | ubifs-authentication.rst | 271 ,. CS , hash1.----. hash2.----.
|
| /linux/include/linux/net/intel/ |
| H A D | virtchnl2_lan_desc.h | 433 u8 hash2; member
|
| /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/fs/ext4/ |
| H A D | namei.c | 1914 u32 hash2; in do_split() local 1986 hash2 = map[split].hash; in do_split() 1987 continued = hash2 == map[split - 1].hash; in do_split() 1990 hash2, split, count-split)); in do_split() 2013 if (hinfo->hash >= hash2) { in do_split() 2017 dx_insert_block(frame, hash2 + continued, newblock); in do_split() 2566 unsigned hash2 = dx_get_hash(entries + icount1); in ext4_dx_add_entry() local 2591 dx_insert_block((frame - 1), hash2, newblock); in ext4_dx_add_entry()
|
| /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()
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_txrx.c | 3191 (rx_desc->ff2_mirrid_hash2.hash2 << 16) | in idpf_rx_hash()
|