/openbmc/linux/lib/crypto/ |
H A D | poly1305-donna64.c | 40 u64 h0, h1, h2; in poly1305_core_blocks() local 53 h0 = state->h64[0]; in poly1305_core_blocks() 67 h0 += t0 & 0xfffffffffffULL; in poly1305_core_blocks() 72 d0 = (u128)h0 * r0; in poly1305_core_blocks() 77 d1 = (u128)h0 * r1; in poly1305_core_blocks() 82 d2 = (u128)h0 * r2; in poly1305_core_blocks() 90 h0 = (u64)d0 & 0xfffffffffffULL; in poly1305_core_blocks() 97 h0 += c * 5; in poly1305_core_blocks() 98 c = h0 >> 44; in poly1305_core_blocks() 99 h0 = h0 & 0xfffffffffffULL; in poly1305_core_blocks() [all …]
|
H A D | poly1305-donna32.c | 38 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 …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | poly1305-armv8.pl | 47 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 …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | fib_nexthop_multiprefix.sh | 100 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 …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | poly1305-armv4.pl | 178 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 …]
|
/openbmc/linux/lib/ |
H A D | test_hash.c | 61 u32 h0; member 74 params->hash_or[1][0] |= params->h2 = __hash_32_generic(params->h0); in test_int__hash_32() 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() [all …]
|
/openbmc/linux/arch/mips/crypto/ |
H A D | poly1305-mips.pl | 226 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 …]
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | poly1305-p10le_64.S | 632 # 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 878 vmsumudm 7, 6, 0, 9 # h0 * r0, h1 * s1 880 # d1 = h0 * r1 + h1 * r0 + h2 * s1 881 vmsumudm 11, 6, 1, 9 # h0 * r1, h1 * r0 900 mfvsrd 20, 32+7 # h0.h 908 addc 27, 27, 23 # h0 917 # d0 = h0 * r0 + h1 * s1 [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | poly1305-x86_64-cryptogams.pl | 180 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 …]
|
/openbmc/linux/fs/reiserfs/ |
H A D | hashes.c | 30 b0 = h0; \ 40 h0 += b0; \ 48 u32 h0 = k[0], h1 = k[1]; in keyed_hash() local 121 return h0 ^ h1; in keyed_hash()
|
/openbmc/linux/tools/perf/util/arm-spe-decoder/ |
H A D | arm-spe-pkt-decoder.h | 60 #define SPE_HDR_EXTENDED_INDEX(h0, h1) (((h0) & GENMASK_ULL(1, 0)) << 3 | \ argument
|
/openbmc/linux/drivers/mtd/ |
H A D | nftlmount.c | 568 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()
|
H A D | inftlmount.c | 532 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()
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvi.c.inc | 630 TCGv h0 = tcg_temp_new(); 640 tcg_gen_shl_tl(h0, src1h, ls); 643 tcg_gen_or_tl(h1, h0, lr); 672 TCGv h0 = tcg_temp_new(); 685 tcg_gen_or_tl(h0, ll, lr); 687 tcg_gen_movcond_tl(TCG_COND_NE, destl, hs, zero, h1, h0); 704 TCGv h0 = tcg_temp_new(); 717 tcg_gen_or_tl(h0, ll, lr); 720 tcg_gen_movcond_tl(TCG_COND_NE, destl, hs, zero, h1, h0);
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | r600_cs.c | 1407 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()
|
/openbmc/linux/sound/pci/asihpi/ |
H A D | hpi_internal.h | 1161 struct hpi_message_header h0; member 1167 struct hpi_response_header h0; member
|
/openbmc/linux/net/ipv6/ |
H A D | sit.c | 101 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()
|
H A D | ip6_gre.c | 121 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()
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_policy.c | 551 unsigned int h0 = 0; in xfrm_dst_hash_transfer() local 565 h0 = h; in xfrm_dst_hash_transfer() 567 if (h != h0) in xfrm_dst_hash_transfer()
|
/openbmc/qemu/target/tricore/ |
H A D | translate.c | 2712 TCGv h0 = tcg_temp_new(); in gen_eqany_hi() local 2716 tcg_gen_andi_tl(h0, r1, 0xffff); in gen_eqany_hi() 2717 tcg_gen_setcondi_tl(TCG_COND_EQ, h0, h0, con & 0xffff); in gen_eqany_hi() 2724 tcg_gen_or_tl(ret, h0, h1); in gen_eqany_hi()
|
/openbmc/qemu/hw/net/ |
H A D | trace-events | 35 open_eth_receive_mcast(unsigned idx, uint32_t h0, uint32_t h1) "MCAST: idx = %u, hash: %08x:%08x"
|