Home
last modified time | relevance | path

Searched refs:h0 (Results 1 – 19 of 19) sorted by relevance

/linux/lib/crypto/
A Dpoly1305-donna64.c40 u64 h0, h1, h2; in poly1305_core_blocks() local
97 h0 += c * 5; in poly1305_core_blocks()
98 c = h0 >> 44; in poly1305_core_blocks()
99 h0 = h0 & 0xfffffffffffULL; in poly1305_core_blocks()
129 h0 += c * 5; in poly1305_core_emit()
130 c = h0 >> 44; in poly1305_core_emit()
138 h0 += c * 5; in poly1305_core_emit()
139 c = h0 >> 44; in poly1305_core_emit()
144 g0 = h0 + 5; in poly1305_core_emit()
158 h0 = (h0 & c) | g0; in poly1305_core_emit()
[all …]
A Dpoly1305-donna32.c58 h0 = state->h[0]; in poly1305_core_blocks()
104 h0 += c * 5; in poly1305_core_blocks()
105 c = (h0 >> 26); in poly1305_core_blocks()
106 h0 = h0 & 0x3ffffff; in poly1305_core_blocks()
147 h0 += c * 5; in poly1305_core_emit()
148 c = h0 >> 26; in poly1305_core_emit()
149 h0 = h0 & 0x3ffffff; in poly1305_core_emit()
153 g0 = h0 + 5; in poly1305_core_emit()
176 h0 = (h0 & mask) | g0; in poly1305_core_emit()
183 h0 = ((h0) | (h1 << 26)) & 0xffffffff; in poly1305_core_emit()
[all …]
/linux/arch/arm64/crypto/
A Dpoly1305-armv8.pl123 lsr $d0,$h0,#32
124 mov w#$d1,w#$h0
147 csel $h0,$h0,$d0,eq // choose between radixes
158 adds $h0,$h0,$t0 // accumulate input
234 csel $h0,$h0,$d0,eq // choose between radixes
244 csel $h0,$h0,$d0,eq
251 adds $h0,$h0,$t0 // accumulate nonce
254 rev $h0,$h0 // flip output bytes
370 adds $h0,$h0,x12,lsl#52
385 adds $h0,$h0,$d0 // accumulate input
[all …]
/linux/arch/arm/crypto/
A Dpoly1305-armv4.pl251 adds $h0,$h0,r3 @ accumulate input
290 adds $h0,$h0,r0 @ accumulate input
330 ldr $h0,[sp,#0]
345 adds $h0,$h0,r1
399 movne $h0,$g0
417 movne $h0,$g0
435 adds $h0,$h0,$g0
442 rev $h0,$h0
453 mov $h0,$h0,lsr#8
462 mov $h0,$h0,lsr#8
[all …]
/linux/lib/
A Dtest_hash.c61 u32 h0; member
78 params->h0, params->h1, params->h2); in test_int__hash_32()
116 hash_or[0][0] |= params.h1 = __hash_32(params.h0); in test_int_hash()
126 hash_or[0][k] |= params.h1 = hash_32(params.h0, k); in test_int_hash()
129 params.h0, k, params.h1, m); in test_int_hash()
157 u32 h0 = full_name_hash(buf+i, buf+i, j-i); in test_string_or() local
159 string_or |= h0; in test_string_or()
184 u32 h0 = full_name_hash(buf+i, buf+i, j-i); in test_hash_or() local
191 KUNIT_EXPECT_EQ_MSG(test, hashlen_hash(hashlen), h0, in test_hash_or()
193 i, j, hashlen_hash(hashlen), h0); in test_hash_or()
[all …]
/linux/tools/testing/selftests/net/
A Dfib_nexthop_multiprefix.sh95 setup_ns h0 r1 h1 h2 h3
96 h[0]=$h0
174 run_cmd ip netns exec ${h0} ping -s ${ping_sz} -c5 -w5 ${dst}
179 ip -netns ${h0} ro get ${dst}
185 ip -netns ${h0} ro get ${dst} | \
208 ip -netns ${h0} -6 ro get ${dst}
214 ip -netns ${h0} -6 ro get ${dst} | \
283 ip -netns ${h0} ro del 172.16.102.0/24 nhid 4
284 ip -netns ${h0} -6 ro del 2001:db8:102::/64 nhid 6
286 ip -netns ${h0} nexthop del id 4
[all …]
/linux/arch/mips/crypto/
A Dpoly1305-mips.pl366 sltu $tmp0,$d0,$h0
377 mflo ($h0,$r0,$d0)
389 daddu $h0,$tmp0
899 sltu $h0,$d0,$h0
904 addu $h0,$h0,$at # carry
906 addu $d1,$d1,$h0
907 sltu $h0,$d1,$h0
930 mflo $h0
983 addu $h0,$h0,$at
991 addu $h0,$h0,$a3
[all …]
/linux/arch/powerpc/crypto/
A Dpoly1305-p10le_64.S632 # h1 = (h0 + m1) * r^2, h2 = (h0 + m2) * r^2
633 # h3 = (h1 + m3) * r^2, h4 = (h2 + m4) * r^2 --> (h0 + m1) r*4 + (h3 + m3) r^2, (h0 + m2) r^4 + (h…
870 # v6 = (h0, h1), v8 = h2
877 # d0 = h0 * r0 + h1 * s1
900 mfvsrd 20, 32+7 # h0.h
908 addc 27, 27, 23 # h0
917 # d0 = h0 * r0 + h1 * s1
918 # d1 = h0 * r1 + h1 * r0 + h2 * s1
919 # d2 = h0 * r0
960 # h0, h1, h2?
[all …]
A Dcurve25519-ppc64le_asm.S558 and 5, 5, 12 # h0
/linux/arch/x86/crypto/
A Dpoly1305-x86_64-cryptogams.pl192 mov %rax,$h0 # future $h0
203 add %rax,$h0
221 add %rax,$h0
439 mov $r0,$h0
450 mov $h0,$d1
518 mov $h0,$d1
558 mov $h0,$d1
654 add $d1,$h0
657 add $r1,$h0
702 or $r0,$h0
[all …]
/linux/fs/reiserfs/
A Dhashes.c30 b0 = h0; \
40 h0 += b0; \
48 u32 h0 = k[0], h1 = k[1]; in keyed_hash() local
121 return h0 ^ h1; in keyed_hash()
/linux/tools/perf/util/arm-spe-decoder/
A Darm-spe-pkt-decoder.h60 #define SPE_HDR_EXTENDED_INDEX(h0, h1) (((h0) & GENMASK_ULL(1, 0)) << 3 | \ argument
/linux/drivers/mtd/
A Dnftlmount.c568 struct nftl_uci0 h0; in NFTL_mount() local
597 &retlen, (char *)&h0) < 0 || in NFTL_mount()
607 logical_block = le16_to_cpu ((h0.VirtUnitNum | h0.SpareVirtUnitNum)); in NFTL_mount()
608 rep_block = le16_to_cpu ((h0.ReplUnitNum | h0.SpareReplUnitNum)); in NFTL_mount()
A Dinftlmount.c532 struct inftl_unithead1 h0; in INFTL_mount() local
583 8, &retlen, (char *)&h0) < 0 || in INFTL_mount()
592 logical_block = le16_to_cpu(h0.virtualUnitNo); in INFTL_mount()
593 prev_block = le16_to_cpu(h0.prevUnitNo); in INFTL_mount()
595 ANACtable[block] = h0.ANAC; in INFTL_mount()
/linux/drivers/gpu/drm/radeon/
A Dr600_cs.c1407 unsigned w0, unsigned h0, unsigned d0, unsigned nsamples, unsigned format, in r600_texture_size() argument
1421 h0 = r600_mip_minify(h0, 0); in r600_texture_size()
1429 height = r600_mip_minify(h0, i); in r600_texture_size()
1477 u32 dim, nfaces, llevel, blevel, w0, h0, d0; in r600_check_texture_resource() local
1509 h0 = G_038004_TEX_HEIGHT(word1) + 1; in r600_check_texture_resource()
1590 r600_texture_size(nfaces, blevel, llevel, w0, h0, d0, array_check.nsamples, format, in r600_check_texture_resource()
1596 w0, h0, pitch_align, height_align, in r600_check_texture_resource()
/linux/sound/pci/asihpi/
A Dhpi_internal.h1161 struct hpi_message_header h0; member
1167 struct hpi_response_header h0; member
/linux/net/ipv6/
A Dsit.c102 unsigned int h0 = HASH(remote); in ipip6_tunnel_lookup() local
108 for_each_ip_tunnel_rcu(t, sitn->tunnels_r_l[h0 ^ h1]) { in ipip6_tunnel_lookup()
116 for_each_ip_tunnel_rcu(t, sitn->tunnels_r[h0]) { in ipip6_tunnel_lookup()
A Dip6_gre.c121 unsigned int h0 = HASH_ADDR(remote); in ip6gre_tunnel_lookup() local
132 for_each_ip_tunnel_rcu(t, ign->tunnels_r_l[h0 ^ h1]) { in ip6gre_tunnel_lookup()
157 for_each_ip_tunnel_rcu(t, ign->tunnels_r[h0 ^ h1]) { in ip6gre_tunnel_lookup()
/linux/net/xfrm/
A Dxfrm_policy.c569 unsigned int h0 = 0; in xfrm_dst_hash_transfer() local
583 h0 = h; in xfrm_dst_hash_transfer()
585 if (h != h0) in xfrm_dst_hash_transfer()

Completed in 766 milliseconds