Home
last modified time | relevance | path

Searched refs:hex2bin (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/u-boot/test/lib/
H A Dhexdump.c41 hex2bin(dst, "649421de", 4); in lib_test_hex2bin()
43 hex2bin(dst, "aa2e7545", 4); in lib_test_hex2bin()
45 hex2bin(dst, "75453bc5", 4); in lib_test_hex2bin()
47 hex2bin(dst, "a16884c3", 4); in lib_test_hex2bin()
49 hex2bin(dst, "156b2e5e", 4); in lib_test_hex2bin()
51 hex2bin(dst, "2e035fff", 4); in lib_test_hex2bin()
53 hex2bin(dst, "0ffce99f", 4); in lib_test_hex2bin()
55 hex2bin(dst, "d3999443", 4); in lib_test_hex2bin()
57 hex2bin(dst, "91dd87bc", 4); in lib_test_hex2bin()
59 hex2bin(dst, "7fec8963", 4); in lib_test_hex2bin()
/openbmc/linux/drivers/target/
H A Dtarget_core_fabric_lib.c43 ret = hex2bin(&buf[4], &nacl->initiatorname[4], 8); in sas_get_pr_transport_id()
71 ret = hex2bin(&buf[off++], &ptr[i], 1); in fc_get_pr_transport_id()
91 ret = hex2bin(&buf[8], nacl->initiatorname, 8); in sbp_get_pr_transport_id()
119 rc = hex2bin(buf + 8 + leading_zero_bytes, p, count); in srp_get_pr_transport_id()
/openbmc/linux/lib/
H A Dhexdump.c63 int hex2bin(u8 *dst, const char *src, size_t count) in hex2bin() function
79 EXPORT_SYMBOL(hex2bin);
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_tag.c78 static int hex2bin(uint8_t *dst, const char *src, size_t count) in hex2bin() function
106 ret = hex2bin(tag, buff + prefix_len, len); in tag_from_fdinfo()
/openbmc/linux/include/linux/
H A Dhex.h30 extern int __must_check hex2bin(u8 *dst, const char *src, size_t count);
/openbmc/u-boot/include/
H A Dhexdump.h55 static inline int hex2bin(u8 *dst, const char *src, size_t count) in hex2bin() function
/openbmc/u-boot/board/gdsys/common/
H A Dosd_cmd.c45 res = hex2bin(buffer, hexstr, buflen); in do_osd_write()
/openbmc/linux/security/keys/encrypted-keys/
H A Dencrypted.c700 ret = hex2bin(epayload->iv, hex_encoded_iv, ivsize); in encrypted_key_decrypt()
703 ret = hex2bin(epayload->encrypted_data, hex_encoded_data, in encrypted_key_decrypt()
709 ret = hex2bin(hmac, hex_encoded_data + (encrypted_datalen * 2), in encrypted_key_decrypt()
794 ret = hex2bin(epayload->decrypted_data, decrypted_data, in encrypted_init()
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_auth.c337 if (hex2bin(client_digest, chap_r, chap->digest_size) < 0) { in chap_server_compute_hash()
468 if (hex2bin(initiatorchg_binhex, initiatorchg, in chap_server_compute_hash()
/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tpm1.c767 res = hex2bin(opt->pcrinfo, args[0].from, in getoptions()
782 res = hex2bin(opt->keyauth, args[0].from, in getoptions()
796 res = hex2bin(opt->blobauth, args[0].from, in getoptions()
847 res = hex2bin(opt->policydigest, args[0].from, in getoptions()
H A Dtrusted_core.c106 ret = hex2bin(p->blob, c, p->blob_len); in datablob_parse()
/openbmc/u-boot/cmd/
H A Dosd.c114 res = hex2bin(buffer, hexstr, buflen); in do_osd_write()
H A Dnvedit_efi.c294 if (hex2bin((u8 *)tmp_buf, data, len) < 0) in append_value()
/openbmc/linux/drivers/input/touchscreen/
H A Diqs5xx.c747 error = hex2bin(rec_hdr, rec->len, sizeof(rec_hdr)); in iqs5xx_fw_file_parse()
765 error = hex2bin(rec_data, rec->data, rec_len); in iqs5xx_fw_file_parse()
772 error = hex2bin(&rec_chksm, in iqs5xx_fw_file_parse()
/openbmc/linux/security/loadpin/
H A Dloadpin.c341 if (hex2bin(trd->data, d, len)) { in read_trusted_verity_root_digests()
/openbmc/u-boot/lib/efi_loader/
H A Defi_variable.c211 if (hex2bin(data, s, len)) in efi_get_variable()
/openbmc/linux/drivers/media/cec/usb/rainshadow/
H A Drainshadow-cec.c77 if (hex2bin(msg.msg + msg.len, cmd, 1)) in rain_process_msg()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddebugfs.c243 ret = hex2bin((u8 *)data, buf, data_size); in iwl_dbgfs_send_hcmd_write()
/openbmc/linux/arch/mips/kernel/
H A Dsetup.c773 if (hex2bin(rng_seed, rng_seed_hex, len)) in setup_rng_seed()
/openbmc/linux/crypto/asymmetric_keys/
H A Dasymmetric_type.c228 return hex2bin(match_id->data, id, hexlen); in __asymmetric_key_hex_to_key_id()
/openbmc/linux/drivers/md/
H A Ddm-verity-target.c1366 hex2bin(v->root_digest, argv[8], v->digest_size)) { in verity_ctr()
1382 hex2bin(v->salt, argv[9], v->salt_size)) { in verity_ctr()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Ddebugfs.c1329 ret = hex2bin(cmd.indirection_table, buf, nbytes); in iwl_dbgfs_indirection_tbl_write()
1389 ret = hex2bin(page_address(rxb._page), buf, bin_len); in iwl_dbgfs_inject_packet_write()
1454 if (len && hex2bin(skb_put_zero(beacon, len), bin, len)) { in _iwl_dbgfs_inject_beacon_ie()
/openbmc/linux/drivers/bus/
H A Dmoxtet.c530 err = hex2bin(bin, hex, moxtet->count); in output_write()
/openbmc/linux/fs/fat/
H A Dnamei_vfat.c539 if (hex2bin(uc, ip + 1, 2) < 0) in xlate_to_uni()
/openbmc/linux/fs/overlayfs/
H A Dnamei.c609 if (hex2bin(fh->buf, index->d_name.name, len)) in ovl_verify_index()

12