Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/crypto/
Dpoly1305-donna64.c42 u64 h0, h1, h2; in poly1305_core_blocks() local
55 h0 = state->h64[0]; in poly1305_core_blocks()
69 h0 += t0 & 0xfffffffffffULL; in poly1305_core_blocks()
74 d0 = (u128)h0 * r0; in poly1305_core_blocks()
79 d1 = (u128)h0 * r1; in poly1305_core_blocks()
84 d2 = (u128)h0 * r2; in poly1305_core_blocks()
92 h0 = (u64)d0 & 0xfffffffffffULL; in poly1305_core_blocks()
99 h0 += c * 5; in poly1305_core_blocks()
100 c = h0 >> 44; in poly1305_core_blocks()
101 h0 = h0 & 0xfffffffffffULL; in poly1305_core_blocks()
[all …]
Dpoly1305-donna32.c38 u32 h0, h1, h2, h3, h4; in poly1305_core_blocks() local
58 h0 = state->h[0]; in poly1305_core_blocks()
66 h0 += (get_unaligned_le32(&input[0])) & 0x3ffffff; in poly1305_core_blocks()
73 d0 = ((u64)h0 * r0) + ((u64)h1 * s4) + in poly1305_core_blocks()
76 d1 = ((u64)h0 * r1) + ((u64)h1 * r0) + in poly1305_core_blocks()
79 d2 = ((u64)h0 * r2) + ((u64)h1 * r1) + in poly1305_core_blocks()
82 d3 = ((u64)h0 * r3) + ((u64)h1 * r2) + in poly1305_core_blocks()
85 d4 = ((u64)h0 * r4) + ((u64)h1 * r3) + in poly1305_core_blocks()
91 h0 = (u32)d0 & 0x3ffffff; in poly1305_core_blocks()
104 h0 += c * 5; in poly1305_core_blocks()
[all …]
/kernel/linux/linux-5.10/arch/arm64/crypto/
Dpoly1305-armv8.pl47 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
118 ldp $h0,$h1,[$ctx] // load hash value
123 lsr $d0,$h0,#32
124 mov w#$d1,w#$h0
129 mov w#$d0,w#$h0
130 lsr $d1,$h0,#32
147 csel $h0,$h0,$d0,eq // choose between radixes
158 adds $h0,$h0,$t0 // accumulate input
161 mul $d0,$h0,$r0 // h0*r0
163 umulh $d1,$h0,$r0
[all …]
Dpoly1305-core.S_shipped112 mul x12,x4,x7 // h0*r0
120 mul x10,x4,x8 // h0*r1
215 mul x12,x4,x7 // h0*r0
222 mul x10,x4,x8 // h0*r1
502 // d4 = h0*r4 + h1*r3 + h2*r2 + h3*r1 + h4*r0
503 // d3 = h0*r3 + h1*r2 + h2*r1 + h3*r0 + h4*5*r4
504 // d2 = h0*r2 + h1*r1 + h2*r0 + h3*5*r4 + h4*5*r3
505 // d1 = h0*r1 + h1*r0 + h2*5*r4 + h3*5*r3 + h4*5*r2
506 // d0 = h0*r0 + h1*5*r4 + h2*5*r3 + h3*5*r2 + h4*5*r1
650 add v20.2d,v20.2d,v30.2d // h0 -> h1
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dfib_nexthop_multiprefix.sh100 for ns in h0 r1 h1 h2 h3
121 ip -netns h0 nexthop add id 4 via 172.16.100.254 dev eth0
122 ip -netns h0 nexthop add id 6 via 2001:db8:100::64 dev eth0
127 ip -netns h0 ro add 172.16.10${i}.0/24 nhid 4
130 ip -netns h0 -6 ro add 2001:db8:10${i}::/64 nhid 6
137 ip -netns h0 li sh
138 ip -netns h0 ro sh
139 ip -netns h0 -6 ro sh
147 for n in h0 r1 h1 h2 h3
171 local h0=172.16.100.1
[all …]
/kernel/linux/linux-5.10/lib/
Dtest_hash.c72 u32 h0 = (u32)h64, h1, h2; in test_int_hash() local
75 hash_or[0][0] |= h1 = __hash_32(h0); in test_int_hash()
77 hash_or[1][0] |= h2 = __hash_32_generic(h0); in test_int_hash()
81 h0, h1, h2); in test_int_hash()
92 hash_or[0][k] |= h1 = hash_32(h0, k); in test_int_hash()
94 pr_err("hash_32(%#x, %d) = %#x > %#x", h0, k, h1, m); in test_int_hash()
98 h2 = hash_32_generic(h0, k); in test_int_hash()
102 " = %#x", h0, k, h1, h2); in test_int_hash()
108 h0, k, h1, m); in test_int_hash()
160 u32 h0 = full_name_hash(buf+i, buf+i, j-i); in test_hash_init() local
[all …]
/kernel/linux/linux-5.10/arch/arm/crypto/
Dpoly1305-armv4.pl178 my ($h0,$h1,$h2,$h3,$h4,$r0,$r1,$r2,$r3)=map("r$_",(4..12));
195 ldmia $ctx,{$h0-$r3} @ load context
201 ldmia $ctx!,{$h0-$h4} @ load hash value
205 adds $r0,$h0,$h1,lsl#26 @ base 2^26 -> base 2^32
218 movne $h0,$r0 @ choose between radixes
251 adds $h0,$h0,r3 @ accumulate input
290 adds $h0,$h0,r0 @ accumulate input
302 umull r0,r1,$h0,$r0
310 umlal r2,r3,$h0,$r1
311 str r0,[sp,#0] @ future $h0
[all …]
Dpoly1305-core.S_shipped485 @ d0 = h0*r0 + h4*5*r1 + h3*5*r2 + h2*5*r3 + h1*5*r4
486 @ d1 = h1*r0 + h0*r1 + h4*5*r2 + h3*5*r3 + h2*5*r4
487 @ d2 = h2*r0 + h1*r1 + h0*r2 + h4*5*r3 + h3*5*r4
488 @ d3 = h3*r0 + h2*r1 + h1*r2 + h0*r3 + h4*5*r4
489 @ d4 = h4*r0 + h3*r1 + h2*r2 + h1*r3 + h0*r4
576 vadd.i64 q6,q6,q4 @ h0 -> h1
591 vadd.i32 d10,d10,d30 @ h4 -> h0
599 vadd.i32 d12,d12,d30 @ h0 -> h1
834 @ d4 = h4*r0 + h3*r1 + h2*r2 + h1*r3 + h0*r4
835 @ d3 = h3*r0 + h2*r1 + h1*r2 + h0*r3 + h4*5*r4
[all …]
/kernel/linux/linux-5.10/arch/mips/crypto/
Dpoly1305-mips.pl226 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) =
277 ld $h0,0($ctx) # load hash value
364 daddu $d0,$h0,$in0 # accumulate input
366 sltu $tmp0,$d0,$h0
377 mflo ($h0,$r0,$d0)
389 daddu $h0,$tmp0
391 sltu $tmp0,$h0,$tmp0
418 sd $h0,0($ctx) # store hash value
733 my ($h0,$h1,$h2,$h3,$h4, $r0,$r1,$r2,$r3, $rs1,$rs2,$rs3) =
777 lw $h0,0($ctx) # load hash value
[all …]
/kernel/linux/linux-5.10/fs/reiserfs/
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()
/kernel/linux/linux-5.10/arch/x86/crypto/
Dpoly1305-x86_64-cryptogams.pl181 my ($h0,$h1,$h2)=("%r14","%rbx","%r10");
187 mulq $h0 # h0*r1
192 mulq $h0 # h0*r0
193 mov %rax,$h0 # future $h0
204 add %rax,$h0
222 add %rax,$h0
330 mov 0($ctx),$h0 # load hash value
342 add 0($inp),$h0 # accumulate input
358 mov $h0,0($ctx) # store hash value
440 mov $r0,$h0
[all …]
/kernel/linux/linux-5.10/drivers/mtd/
Dnftlmount.c571 struct nftl_uci0 h0; in NFTL_mount() local
600 &retlen, (char *)&h0) < 0 || in NFTL_mount()
610 logical_block = le16_to_cpu ((h0.VirtUnitNum | h0.SpareVirtUnitNum)); in NFTL_mount()
611 rep_block = le16_to_cpu ((h0.ReplUnitNum | h0.SpareReplUnitNum)); in NFTL_mount()
Dinftlmount.c539 struct inftl_unithead1 h0; in INFTL_mount() local
594 8, &retlen, (char *)&h0) < 0 || in INFTL_mount()
603 logical_block = le16_to_cpu(h0.virtualUnitNo); in INFTL_mount()
604 prev_block = le16_to_cpu(h0.prevUnitNo); in INFTL_mount()
606 ANACtable[block] = h0.ANAC; in INFTL_mount()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dr600_cs.c1408 unsigned w0, unsigned h0, unsigned d0, unsigned nsamples, unsigned format, in r600_texture_size() argument
1422 h0 = r600_mip_minify(h0, 0); in r600_texture_size()
1430 height = r600_mip_minify(h0, i); in r600_texture_size()
1475 u32 dim, nfaces, llevel, blevel, w0, h0, d0; in r600_check_texture_resource() local
1507 h0 = G_038004_TEX_HEIGHT(word1) + 1; in r600_check_texture_resource()
1588 r600_texture_size(nfaces, blevel, llevel, w0, h0, d0, array_check.nsamples, format, in r600_check_texture_resource()
1594 w0, h0, pitch_align, height_align, in r600_check_texture_resource()
/kernel/linux/linux-5.10/sound/pci/asihpi/
Dhpi_internal.h1161 struct hpi_message_header h0; member
1167 struct hpi_response_header h0; member
/kernel/linux/linux-5.10/net/ipv6/
Dsit.c101 unsigned int h0 = HASH(remote); in ipip6_tunnel_lookup() local
107 for_each_ip_tunnel_rcu(t, sitn->tunnels_r_l[h0 ^ h1]) { in ipip6_tunnel_lookup()
115 for_each_ip_tunnel_rcu(t, sitn->tunnels_r[h0]) { in ipip6_tunnel_lookup()
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()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_policy.c527 unsigned int h0 = 0; in xfrm_dst_hash_transfer() local
541 h0 = h; in xfrm_dst_hash_transfer()
543 if (h != h0) in xfrm_dst_hash_transfer()