Home
last modified time | relevance | path

Searched refs:hash2 (Results 1 – 15 of 15) sorted by relevance

/linux/lib/crypto/tests/
H A Dblake2b_kunit.c77 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 Dblake2s_kunit.c77 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 Dhash-test-template.h154 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 Dpolyval_kunit.c100 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 Drecursion.c22 } 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 Dip_vs_mh.c64 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 Drecursion.c29 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 Dudp.c684 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 Dget_dvb_firmware560 my $hash2 = "26b687136e127b8ac24b81e0eeafc20b";
571 verify($file2, $hash2);
704 my $hash2 = "d5e1437dc24358578e07999475d4cac9";
714 verify("$fwfile2", $hash2);
/linux/lib/zstd/compress/
H A Dzstd_preSplit.c34 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 Dvirtchnl2_lan_desc.h433 u8 hash2; member
/linux/Documentation/translations/zh_CN/filesystems/
H A Dubifs-authentication.rst271 ,. CS , hash1.----. hash2.----.
/linux/net/unix/
H A Daf_unix.c229 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 Dtlan.c1262 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 Det131x.c950 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()