Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/target/
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()
/Linux-v6.1/lib/
Dhexdump.c63 int hex2bin(u8 *dst, const char *src, size_t count) in hex2bin() function
79 EXPORT_SYMBOL(hex2bin);
/Linux-v6.1/tools/testing/selftests/bpf/
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()
/Linux-v6.1/drivers/target/iscsi/
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()
/Linux-v6.1/security/keys/trusted-keys/
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()
Dtrusted_core.c107 ret = hex2bin(p->blob, c, p->blob_len); in datablob_parse()
/Linux-v6.1/security/keys/encrypted-keys/
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()
/Linux-v6.1/drivers/input/touchscreen/
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()
/Linux-v6.1/security/loadpin/
Dloadpin.c325 if (hex2bin(trd->data, d, len)) { in read_trusted_verity_root_digests()
/Linux-v6.1/include/linux/
Dkernel.h289 extern int __must_check hex2bin(u8 *dst, const char *src, size_t count);
/Linux-v6.1/drivers/media/cec/usb/rainshadow/
Drainshadow-cec.c77 if (hex2bin(msg.msg + msg.len, cmd, 1)) in rain_process_msg()
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/fw/
Ddebugfs.c262 ret = hex2bin((u8 *)data, buf, data_size); in iwl_dbgfs_send_hcmd_write()
/Linux-v6.1/arch/mips/kernel/
Dsetup.c770 if (hex2bin(rng_seed, rng_seed_hex, len)) in setup_rng_seed()
/Linux-v6.1/crypto/asymmetric_keys/
Dasymmetric_type.c228 return hex2bin(match_id->data, id, hexlen); in __asymmetric_key_hex_to_key_id()
/Linux-v6.1/drivers/md/
Ddm-verity-target.c1310 hex2bin(v->root_digest, argv[8], v->digest_size)) { in verity_ctr()
1326 hex2bin(v->salt, argv[9], v->salt_size)) { in verity_ctr()
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/
Ddebugfs.c1118 ret = hex2bin(cmd.indirection_table, buf, nbytes); in iwl_dbgfs_indirection_tbl_write()
1178 ret = hex2bin(page_address(rxb._page), buf, bin_len); in iwl_dbgfs_inject_packet_write()
1242 if (len && hex2bin(skb_put_zero(beacon, len), bin, len)) { in _iwl_dbgfs_inject_beacon_ie()
/Linux-v6.1/drivers/bus/
Dmoxtet.c530 err = hex2bin(bin, hex, moxtet->count); in output_write()
/Linux-v6.1/fs/overlayfs/
Dnamei.c546 if (hex2bin(fh->buf, index->d_name.name, len)) in ovl_verify_index()
/Linux-v6.1/fs/fat/
Dnamei_vfat.c539 if (hex2bin(uc, ip + 1, 2) < 0) in xlate_to_uni()
/Linux-v6.1/drivers/scsi/libsas/
Dsas_scsi_host.c1270 res = hex2bin(addr, fw->data, strnlen(fw->data, SAS_ADDR_SIZE * 2) / 2); in sas_request_addr()
/Linux-v6.1/drivers/usb/typec/ucsi/
Ducsi_ccg.c1188 if (hex2bin(wr_buf, p + 3, CCG4_ROW_SIZE + 4)) { in do_flash()
/Linux-v6.1/drivers/net/netdevsim/
Ddev.c203 ret = hex2bin(fa_cookie->cookie, buf, cookie_len); in nsim_dev_trap_fa_cookie_write()
/Linux-v6.1/drivers/net/usb/
Dusbnet.c171 tmp = hex2bin(addr, buf, 6); in usbnet_get_ethernet_addr()
/Linux-v6.1/drivers/usb/gadget/function/
Duvc_configfs.c798 ret = hex2bin(ch->bmaControls, page + 2, 1); in uvcg_format_bma_controls_store()
/Linux-v6.1/drivers/net/wireless/realtek/rtw89/
Ddebug.c2107 if (hex2bin(bin, buf, num)) { in rtw89_hex2bin_user()

12