Home
last modified time | relevance | path

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

/linux/lib/crypto/
H A Dpoly1305-donna64.c41 u64 h0, h1, h2; in poly1305_core_blocks() local
54 h0 = state->h64[0]; in poly1305_core_blocks()
68 h0 += t0 & 0xfffffffffffULL; in poly1305_core_blocks()
73 d0 = (u128)h0 * r0; in poly1305_core_blocks()
78 d1 = (u128)h0 * r1; in poly1305_core_blocks()
83 d2 = (u128)h0 * r2; in poly1305_core_blocks()
91 h0 = (u64)d0 & 0xfffffffffffULL; in poly1305_core_blocks()
98 h0 += c * 5; in poly1305_core_blocks()
99 c = h0 >> 44; in poly1305_core_blocks()
100 h0 in poly1305_core_blocks()
116 u64 h0, h1, h2, c; poly1305_core_emit() local
[all...]
H A Dpoly1305-donna32.c39 u32 h0, h1, h2, h3, h4; in poly1305_core_blocks() local
59 h0 = state->h[0]; in poly1305_core_blocks()
67 h0 += (get_unaligned_le32(&input[0])) & 0x3ffffff; in poly1305_core_blocks()
74 d0 = ((u64)h0 * r0) + ((u64)h1 * s4) + in poly1305_core_blocks()
77 d1 = ((u64)h0 * r1) + ((u64)h1 * r0) + in poly1305_core_blocks()
80 d2 = ((u64)h0 * r2) + ((u64)h1 * r1) + in poly1305_core_blocks()
83 d3 = ((u64)h0 * r3) + ((u64)h1 * r2) + in poly1305_core_blocks()
86 d4 = ((u64)h0 * r4) + ((u64)h1 * r3) + in poly1305_core_blocks()
92 h0 = (u32)d0 & 0x3ffffff; in poly1305_core_blocks()
105 h0 in poly1305_core_blocks()
125 u32 h0, h1, h2, h3, h4, c; poly1305_core_emit() local
[all...]
/linux/lib/crypto/arm64/
H A Dpoly1305-armv8.pl47 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
121 ldp $h0,$h1,[$ctx] // load hash value
126 lsr $d0,$h0,#32
127 mov w#$d1,w#$h0
132 mov w#$d0,w#$h0
133 lsr $d1,$h0,#32
150 csel $h0,$h0,$d0,eq // choose between radixes
161 adds $h0,$h0,$t0 // accumulate input
164 mul $d0,$h0,$r0 // h0*r0
166 umulh $d1,$h0,$r0
[all …]
/linux/lib/crypto/arm/
H A Dpoly1305-armv4.pl176 my ($h0,$h1,$h2,$h3,$h4,$r0,$r1,$r2,$r3)=map("r$_",(4..12));
193 ldmia $ctx,{$h0-$r3} @ load context
199 ldmia $ctx!,{$h0-$h4} @ load hash value
203 adds $r0,$h0,$h1,lsl#26 @ base 2^26 -> base 2^32
216 movne $h0,$r0 @ choose between radixes
249 adds $h0,$h0,r3 @ accumulate input
288 adds $h0,$h0,r0 @ accumulate input
300 umull r0,r1,$h0,$r0
308 umlal r2,r3,$h0,$r1
309 str r0,[sp,#0] @ future $h0
[all …]
/linux/tools/testing/selftests/net/
H A Dfib_nexthop_multiprefix.sh5 # Validate a different # exception is generated in h0 for each remote host.
9 # h0 - r1 - h2
13 # routing in h0 to hN is done with nexthop objects.
76 setup_ns h0 r1 h1 h2 h3
77 h[0]=$h0
155 run_cmd ip netns exec ${h0} ping -s ${ping_sz} -c5 -w5 ${dst}
160 ip -netns ${h0} ro get ${dst}
166 ip -netns ${h0} ro get ${dst} | \
184 run_cmd ip netns exec ${h0} ${ping6} -s ${ping_sz} -c5 -w5 ${dst}
189 ip -netns ${h0}
[all...]
/linux/lib/crypto/riscv/
H A Dpoly1305-riscv.pl127 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) =
154 ld $h0,0($ctx) # load hash value
186 add $d0,$h0,$in0 # accumulate input
188 sltu $tmp0,$d0,$h0
199 mul $h0,$r0,$d0
208 add $h0,$h0,$tmp0
210 sltu $tmp0,$h0,$tmp0
234 sd $h0,0($ctx) # store hash value
457 my ($h0,$h1,$h2,$h3,$h4, $r0,$r1,$r2,$r3, $rs1,$rs2,$rs3) =
495 lw $h0,0($ctx) # load hash value
[all …]
/linux/lib/crypto/mips/
H A Dpoly1305-mips.pl224 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) =
275 ld $h0,0($ctx) # load hash value
362 daddu $d0,$h0,$in0 # accumulate input
364 sltu $tmp0,$d0,$h0
375 mflo ($h0,$r0,$d0)
387 daddu $h0,$tmp0
389 sltu $tmp0,$h0,$tmp0
416 sd $h0,0($ctx) # store hash value
729 my ($h0,$h1,$h2,$h3,$h4, $r0,$r1,$r2,$r3, $rs1,$rs2,$rs3) =
773 lw $h0,0($ctx) # load hash value
[all …]
/linux/lib/crypto/powerpc/
H A Dpoly1305-p10le_64.S
H A Dcurve25519-ppc64le_asm.S558 and 5, 5, 12 # h0
/linux/lib/crypto/x86/
H A Dpoly1305-x86_64-cryptogams.pl180 my ($h0,$h1,$h2)=("%r14","%rbx","%r10");
186 mulq $h0 # h0*r1
191 mulq $h0 # h0*r0
192 mov %rax,$h0 # future $h0
203 add %rax,$h0
221 add %rax,$h0
329 mov 0($ctx),$h0 # load hash value
341 add 0($inp),$h0 # accumulate input
357 mov $h0,0($ctx) # store hash value
439 mov $r0,$h0
[all …]
/linux/drivers/mtd/
H 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()
/linux/drivers/iio/adc/
H A Dad4030.c835 u8 h0, h1, l0, l1; in ad4030_extract_interleaved() local
841 h0 = src[i * 2]; in ad4030_extract_interleaved()
843 h1 = h0 << 1; in ad4030_extract_interleaved()
846 h0 &= 0xAA; in ad4030_extract_interleaved()
851 h0 = (h0 | h0 << 001) & 0xCC; in ad4030_extract_interleaved()
855 h0 = (h0 | h0 << 002) & 0xF0; in ad4030_extract_interleaved()
860 out0_raw[i] = h0 | l0; in ad4030_extract_interleaved()
/linux/tools/perf/util/arm-spe-decoder/
H A Darm-spe-pkt-decoder.h62 #define SPE_HDR_EXTENDED_INDEX(h0, h1) (((h0) & GENMASK_ULL(1, 0)) << 3 | \
61 SPE_HDR_EXTENDED_INDEX(h0,h1) global() argument
/linux/drivers/gpu/drm/radeon/
H A Dr600_cs.c1412 unsigned w0, unsigned h0, unsigned d0, unsigned nsamples, unsigned format, in r600_texture_size() argument
1426 h0 = r600_mip_minify(h0, 0); in r600_texture_size()
1434 height = r600_mip_minify(h0, i); in r600_texture_size()
1482 u32 dim, nfaces, llevel, blevel, w0, h0, d0; in r600_check_texture_resource() local
1514 h0 = G_038004_TEX_HEIGHT(word1) + 1; in r600_check_texture_resource()
1595 r600_texture_size(nfaces, blevel, llevel, w0, h0, d0, array_check.nsamples, format, in r600_check_texture_resource()
1601 w0, h0, pitch_align, height_align, in r600_check_texture_resource()
/linux/sound/pci/asihpi/
H A Dhpi_internal.h1161 struct hpi_message_header h0; member
1167 struct hpi_response_header h0; member
/linux/net/ipv6/
H A Dsit.c104 unsigned int h0 = HASH(remote); in ipip6_tunnel_lookup() local
110 for_each_ip_tunnel_rcu(t, sitn->tunnels_r_l[h0 ^ h1]) { in ipip6_tunnel_lookup()
121 for_each_ip_tunnel_rcu(t, sitn->tunnels_r[h0]) { in ipip6_tunnel_lookup()
H A Dip6_gre.c151 unsigned int h0 = HASH_ADDR(remote); in ip6gre_tunnel_lookup()
163 head = &ign->tunnels_r_l[h0 ^ h1]; in ip6gre_tunnel_lookup()
175 head = &ign->tunnels_r[h0 ^ h1]; in ip6gre_tunnel_lookup()
146 unsigned int h0 = HASH_ADDR(remote); ip6gre_tunnel_lookup() local
/linux/net/xfrm/
H A Dxfrm_policy.c583 unsigned int h0 = 0; in xfrm_dst_hash_transfer() local
597 h0 = h; in xfrm_dst_hash_transfer()
599 if (h != h0) in xfrm_dst_hash_transfer()