Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/tools/rockchip/
H A Dsha2.h138 void sha256_end(sha256_ctx ctx[1], unsigned char hval[]);
139 void sha256(unsigned char hval[], const unsigned char data[], unsigned long len);
143 void sha384_end(sha384_ctx ctx[1], unsigned char hval[]);
144 void sha384(unsigned char hval[], const unsigned char data[], unsigned long len);
148 void sha512_end(sha512_ctx ctx[1], unsigned char hval[]);
149 void sha512(unsigned char hval[], const unsigned char data[], unsigned long len);
153 void sha2_end(sha2_ctx ctx[1], unsigned char hval[]);
154 int sha2(unsigned char hval[], unsigned long size, const unsigned char data[], unsigned long len);
H A Dsha2.c350 void sha256_end(sha256_ctx ctx[1], unsigned char hval[]) in sha256_end() argument
390 hval[i] = (unsigned char)(ctx->hash[i >> 2] >> 8 * (~i & 3)); in sha256_end()
393 void sha256(unsigned char hval[], const unsigned char data[], in sha256() argument
400 sha256_end(cx, hval); in sha256()
566 static void sha_end(sha512_ctx ctx[1], unsigned char hval[], in sha_end() argument
608 hval[i] = (unsigned char)(ctx->hash[i >> 3] >> 8 * (~i & 7)); in sha_end()
629 void sha384_end(sha384_ctx ctx[1], unsigned char hval[]) in sha384_end() argument
631 sha_end(ctx, hval, SHA384_DIGEST_SIZE); in sha384_end()
634 void sha384(unsigned char hval[], const unsigned char data[], in sha384() argument
641 sha384_end(cx, hval); in sha384()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ppp/
H A Dbsd_comp.c576 int hval; in bsd_compress() local
658 hval = BSD_HASH (ent, c, hshift); in bsd_compress()
659 dictp = dict_ptr (db, hval); in bsd_compress()
674 disp = (hval == 0) ? 1 : hval; in bsd_compress()
678 hval += disp; in bsd_compress()
679 if (hval >= db->hsize) in bsd_compress()
681 hval -= db->hsize; in bsd_compress()
683 dictp = dict_ptr (db, hval); in bsd_compress()
724 dictp2->cptr = hval; in bsd_compress()
1056 int hval, disp, indx; in bsd_decompress() local
[all …]
/OK3568_Linux_fs/u-boot/lib/
H A Dhashtable.c227 unsigned int hval, unsigned int idx) in _compare_and_overwrite_entry() argument
229 if (htab->table[idx].used == hval in _compare_and_overwrite_entry()
274 unsigned int hval; in hsearch_r() local
282 hval = len; in hsearch_r()
285 hval <<= 4; in hsearch_r()
286 hval += item.key[count]; in hsearch_r()
293 hval %= htab->size; in hsearch_r()
294 if (hval == 0) in hsearch_r()
295 ++hval; in hsearch_r()
298 idx = hval; in hsearch_r()
[all …]
/OK3568_Linux_fs/u-boot/scripts/kconfig/
H A Dzconf.hash.c
H A Dzconf.hash.c_shipped76 register int hval = len;
78 switch (hval)
81 hval += asso_values[(unsigned char)str[2]];
85 hval += asso_values[(unsigned char)str[0]];
88 return hval + asso_values[(unsigned char)str[len - 1]];
/OK3568_Linux_fs/kernel/sound/usb/6fire/
H A Dfirmware.c62 int hval; in usb6fire_fw_ihex_hex() local
64 hval = hex_to_bin(data[0]); in usb6fire_fw_ihex_hex()
65 if (hval >= 0) in usb6fire_fw_ihex_hex()
66 val |= (hval << 4); in usb6fire_fw_ihex_hex()
68 hval = hex_to_bin(data[1]); in usb6fire_fw_ihex_hex()
69 if (hval >= 0) in usb6fire_fw_ihex_hex()
70 val |= hval; in usb6fire_fw_ihex_hex()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dsrccode.c95 unsigned hval = shash((unsigned char *)fn) % SRC_HTAB_SZ; in find_srcfile() local
97 hlist_for_each_entry (h, &srcfile_htab[hval], hash_nd) { in find_srcfile()
142 hlist_add_head(&h->hash_nd, &srcfile_htab[hval]); in find_srcfile()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A De1000_nvm.c690 u8 q, hval, rem, result; in igb_get_fw_version() local
770 hval = q * NVM_HEX_TENS; in igb_get_fw_version()
772 result = hval + rem; in igb_get_fw_version()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Ddwc2.c91 uint32_t hval = (ghwcfg2 & DWC2_HWCFG2_HS_PHY_TYPE_MASK) >> in init_fslspclksel() local
96 if (hval == 2 && fval == 1) in init_fslspclksel()
423 uint32_t hval = (ghwcfg2 & DWC2_HWCFG2_HS_PHY_TYPE_MASK) >> in dwc_otg_core_init() local
427 if (hval == 2 && fval == 1) { in dwc_otg_core_init()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Droute.c646 u64 hval; in fnhe_hashfun() local
649 hval = siphash_1u32((__force u32)daddr, &fnhe_hash_key); in fnhe_hashfun()
650 return hash_64(hval, FNHE_HASH_SHIFT); in fnhe_hashfun()
674 u32 genid, hval; in update_or_create_fnhe() local
679 hval = fnhe_hashfun(daddr); in update_or_create_fnhe()
691 hash += hval; in update_or_create_fnhe()
1376 u32 hval = fnhe_hashfun(daddr); in ip_del_fnhe() local
1382 hash += hval; in ip_del_fnhe()
1411 u32 hval; in find_exception() local
1416 hval = fnhe_hashfun(daddr); in find_exception()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c313 u8 hindex, hval; in qlcnic_send_filter() local
328 hval = qlcnic_mac_hash(src_addr, vlan_id); in qlcnic_send_filter()
329 hindex = hval & (adapter->fhash.fbucket_size - 1); in qlcnic_send_filter()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Droute.c1517 u32 hval; in __rt6_find_exception_spinlock() local
1522 hval = rt6_exception_hash(daddr, saddr); in __rt6_find_exception_spinlock()
1523 *bucket += hval; in __rt6_find_exception_spinlock()
1550 u32 hval; in __rt6_find_exception_rcu() local
1557 hval = rt6_exception_hash(daddr, saddr); in __rt6_find_exception_rcu()
1558 *bucket += hval; in __rt6_find_exception_rcu()
/OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/
H A Dautotools-update.patch2881 - unsigned long int hval, g;
2885 - hval = 0;
2888 - hval <<= 4;
2889 - hval += (unsigned long) *str++;
2890 - g = hval & ((unsigned long) 0xf << (HASHWORDBITS - 4));
2893 - hval ^= g >> (HASHWORDBITS - 8);
2894 - hval ^= g;
2897 - return hval;
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sun/
H A Dcassini.c4373 u16 hval; in cas_read_regs() local
4376 hval = cas_phy_read(cp, in cas_read_regs()
4378 val = hval; in cas_read_regs()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Drtl.def1049 `hval' - CONST_DOUBLE_HIGH(op), if op is an integer CONST_DOUBLE.
1053 Do not use ival/hval/lval/rval if op is not the appropriate kind of
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Drtl.def1049 `hval' - CONST_DOUBLE_HIGH(op), if op is an integer CONST_DOUBLE.
1053 Do not use ival/hval/lval/rval if op is not the appropriate kind of
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/info/
H A Dgccint.info42549 * There is no equivalent to 'hval' and 'lval' for
42553 Most ports only check that 'hval' is either 0 or -1 to see if
42559 does is pass the hval and lval to C code, so evolving the c
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/info/
H A Dgccint.info42549 * There is no equivalent to 'hval' and 'lval' for
42553 Most ports only check that 'hval' is either 0 or -1 to see if
42559 does is pass the hval and lval to C code, so evolving the c