Home
last modified time | relevance | path

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

12

/linux-6.6.21/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-6.6.21/lib/
Dhexdump.c63 int hex2bin(u8 *dst, const char *src, size_t count) in hex2bin() function
79 EXPORT_SYMBOL(hex2bin);
/linux-6.6.21/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-6.6.21/include/linux/
Dhex.h30 extern int __must_check hex2bin(u8 *dst, const char *src, size_t count);
/linux-6.6.21/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()
794 ret = hex2bin(epayload->decrypted_data, decrypted_data, in encrypted_init()
/linux-6.6.21/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-6.6.21/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.c106 ret = hex2bin(p->blob, c, p->blob_len); in datablob_parse()
/linux-6.6.21/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-6.6.21/security/loadpin/
Dloadpin.c341 if (hex2bin(trd->data, d, len)) { in read_trusted_verity_root_digests()
/linux-6.6.21/drivers/media/cec/usb/rainshadow/
Drainshadow-cec.c77 if (hex2bin(msg.msg + msg.len, cmd, 1)) in rain_process_msg()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/
Ddebugfs.c240 ret = hex2bin((u8 *)data, buf, data_size); in iwl_dbgfs_send_hcmd_write()
/linux-6.6.21/arch/mips/kernel/
Dsetup.c773 if (hex2bin(rng_seed, rng_seed_hex, len)) in setup_rng_seed()
/linux-6.6.21/crypto/asymmetric_keys/
Dasymmetric_type.c227 return hex2bin(match_id->data, id, hexlen); in __asymmetric_key_hex_to_key_id()
/linux-6.6.21/drivers/md/
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()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
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()
/linux-6.6.21/drivers/bus/
Dmoxtet.c530 err = hex2bin(bin, hex, moxtet->count); in output_write()
/linux-6.6.21/fs/fat/
Dnamei_vfat.c539 if (hex2bin(uc, ip + 1, 2) < 0) in xlate_to_uni()
/linux-6.6.21/drivers/scsi/libsas/
Dsas_scsi_host.c1233 res = hex2bin(addr, fw->data, strnlen(fw->data, SAS_ADDR_SIZE * 2) / 2); in sas_request_addr()
/linux-6.6.21/drivers/usb/typec/ucsi/
Ducsi_ccg.c1188 if (hex2bin(wr_buf, p + 3, CCG4_ROW_SIZE + 4)) { in do_flash()
/linux-6.6.21/fs/overlayfs/
Dnamei.c609 if (hex2bin(fh->buf, index->d_name.name, len)) in ovl_verify_index()
/linux-6.6.21/drivers/net/netdevsim/
Ddev.c200 ret = hex2bin(fa_cookie->cookie, buf, cookie_len); in nsim_dev_trap_fa_cookie_write()
/linux-6.6.21/drivers/net/usb/
Dusbnet.c171 tmp = hex2bin(addr, buf, 6); in usbnet_get_ethernet_addr()
/linux-6.6.21/drivers/thunderbolt/
Dswitch.c1769 else if (hex2bin(key, buf, sizeof(key))) in key_store()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c699 ret = hex2bin(p->eth_base, vpd.na_data, 6); in get_vpd_params()

12