Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/target/
Dtarget_core_fabric_lib.c56 ret = hex2bin(&buf[4], &nacl->initiatorname[4], 8); in sas_get_pr_transport_id()
84 ret = hex2bin(&buf[off++], &ptr[i], 1); in fc_get_pr_transport_id()
104 ret = hex2bin(&buf[8], nacl->initiatorname, 8); in sbp_get_pr_transport_id()
132 rc = hex2bin(buf + 8 + leading_zero_bytes, p, count); in srp_get_pr_transport_id()
/Linux-v4.19/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-v4.19/lib/
Dhexdump.c48 int hex2bin(u8 *dst, const char *src, size_t count) in hex2bin() function
61 EXPORT_SYMBOL(hex2bin);
/Linux-v4.19/drivers/target/iscsi/
Discsi_target_auth.c234 if (hex2bin(client_digest, chap_r, MD5_SIGNATURE_SIZE) < 0) { in chap_server_compute_md5()
347 if (hex2bin(challenge_binhex, challenge, challenge_len) < 0) { in chap_server_compute_md5()
/Linux-v4.19/security/keys/
Dtrusted.c768 res = hex2bin(opt->pcrinfo, args[0].from, in getoptions()
783 res = hex2bin(opt->keyauth, args[0].from, in getoptions()
791 res = hex2bin(opt->blobauth, args[0].from, in getoptions()
828 res = hex2bin(opt->policydigest, args[0].from, in getoptions()
892 ret = hex2bin(p->blob, c, p->blob_len); in datablob_parse()
/Linux-v4.19/security/keys/encrypted-keys/
Dencrypted.c679 ret = hex2bin(epayload->iv, hex_encoded_iv, ivsize); in encrypted_key_decrypt()
682 ret = hex2bin(epayload->encrypted_data, hex_encoded_data, in encrypted_key_decrypt()
688 ret = hex2bin(hmac, hex_encoded_data + (encrypted_datalen * 2), in encrypted_key_decrypt()
/Linux-v4.19/drivers/media/usb/rainshadow-cec/
Drainshadow-cec.c82 if (hex2bin(msg.msg + msg.len, cmd, 1)) in rain_process_msg()
/Linux-v4.19/crypto/asymmetric_keys/
Dasymmetric_type.c216 return hex2bin(match_id->data, id, hexlen); in __asymmetric_key_hex_to_key_id()
/Linux-v4.19/drivers/md/
Ddm-verity-target.c1059 hex2bin(v->root_digest, argv[8], v->digest_size)) { in verity_ctr()
1074 hex2bin(v->salt, argv[9], v->salt_size)) { in verity_ctr()
Ddm-crypt.c2131 if (cc->key_size && hex2bin(cc->key, key, cc->key_size) < 0) in crypt_set_key()
Ddm-integrity.c2777 if (hex2bin(a->key, a->key_string, a->key_size)) in get_alg_and_key()
/Linux-v4.19/include/linux/
Dkernel.h634 extern int __must_check hex2bin(u8 *dst, const char *src, size_t count);
/Linux-v4.19/drivers/scsi/libsas/
Dsas_scsi_host.c972 res = hex2bin(addr, fw->data, strnlen(fw->data, SAS_ADDR_SIZE * 2) / 2); in sas_request_addr()
/Linux-v4.19/fs/fat/
Dnamei_vfat.c538 if (hex2bin(uc, ip + 1, 2) < 0) in xlate_to_uni()
/Linux-v4.19/fs/overlayfs/
Dnamei.c514 if (hex2bin((u8 *)fh, index->d_name.name, len)) in ovl_verify_index()
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Ddebugfs.c1108 ret = hex2bin(cmd.indirection_table, buf, nbytes); in iwl_dbgfs_indirection_tbl_write()
1170 ret = hex2bin(page_address(rxb._page), buf, bin_len); in iwl_dbgfs_inject_packet_write()
/Linux-v4.19/drivers/thunderbolt/
Dswitch.c843 else if (hex2bin(key, buf, sizeof(key))) in key_store()
/Linux-v4.19/drivers/net/usb/
Dusbnet.c166 tmp = hex2bin(dev->net->dev_addr, buf, 6); in usbnet_get_ethernet_addr()
Dr8152.c1193 ret = hex2bin(buf, obj->string.pointer + 9, 6); in vendor_mac_passthru_addr_read()
/Linux-v4.19/drivers/usb/gadget/function/
Duvc_configfs.c694 ret = hex2bin(ch->bmaControls, page + 2, 1); in uvcg_format_bma_controls_store()
/Linux-v4.19/drivers/infiniband/ulp/srpt/
Dib_srpt.c3274 ret = hex2bin(i_port_id + leading_zero_bytes, p, count); in srpt_parse_i_port_id()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c764 ret = hex2bin(p->eth_base, vpd.na_data, 6); in get_vpd_params()
/Linux-v4.19/drivers/infiniband/ulp/srp/
Dib_srp.c3515 ret = hex2bin(target->ib_cm.orig_dgid.raw, p, 16); in srp_parse_options()