Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/target/
Dtarget_core_fabric_lib.c55 ret = hex2bin(&buf[4], &nacl->initiatorname[4], 8); in sas_get_pr_transport_id()
83 ret = hex2bin(&buf[off++], &ptr[i], 1); in fc_get_pr_transport_id()
103 ret = hex2bin(&buf[8], nacl->initiatorname, 8); in sbp_get_pr_transport_id()
131 rc = hex2bin(buf + 8 + leading_zero_bytes, p, count); in srp_get_pr_transport_id()
/linux-4.4.14/arch/cris/arch-v10/kernel/
Dkgdb.c584 if (hex2bin((unsigned char *)current_reg + regno * sizeof(unsigned int), in write_register()
595 if (hex2bin((unsigned char *)&(current_reg->ccr) + (regno-CCR) * sizeof(unsigned short), in write_register()
601 if (hex2bin((unsigned char *)&(current_reg->ibr) + (regno-IBR) * sizeof(unsigned int), in write_register()
739 if (hex2bin((char *)&cris_reg, &remcomInBuffer[1], sizeof(registers))) in handle_exception()
820 if (hex2bin(addr, dataptr + 1, length)) in handle_exception()
/linux-4.4.14/arch/cris/arch-v32/kernel/
Dkgdb.c544 if (hex2bin((unsigned char *)&reg.r0 + (regno - R0) * sizeof(unsigned int), in write_register()
555 if (hex2bin((unsigned char *)&reg.pid, val, sizeof(unsigned int))) in write_register()
560 if (hex2bin((unsigned char *)&reg.srs, val, sizeof(unsigned char))) in write_register()
565 if (hex2bin((unsigned char *)&reg.exs + (regno - EXS) * sizeof(unsigned int), in write_register()
575 …if (hex2bin((unsigned char *)&sreg.s0_0 + (reg.srs * 16 * sizeof(unsigned int)) + (regno - S0) * s… in write_register()
1280 if (hex2bin((char *)&reg, &input_buffer[1], sizeof(registers))) in handle_exception()
1283 else if (hex2bin((char *)&sreg + (reg.srs * 16 * sizeof(unsigned int)), in handle_exception()
1370 if (hex2bin(addr, dataptr + 1, len)) in handle_exception()
/linux-4.4.14/lib/
Dhexdump.c47 int hex2bin(u8 *dst, const char *src, size_t count) in hex2bin() function
60 EXPORT_SYMBOL(hex2bin);
/linux-4.4.14/security/keys/
Dtrusted.c750 res = hex2bin(opt->pcrinfo, args[0].from, in getoptions()
765 res = hex2bin(opt->keyauth, args[0].from, in getoptions()
773 res = hex2bin(opt->blobauth, args[0].from, in getoptions()
840 ret = hex2bin(p->blob, c, p->blob_len); in datablob_parse()
/linux-4.4.14/security/keys/encrypted-keys/
Dencrypted.c670 ret = hex2bin(epayload->iv, hex_encoded_iv, ivsize); in encrypted_key_decrypt()
673 ret = hex2bin(epayload->encrypted_data, hex_encoded_data, in encrypted_key_decrypt()
679 ret = hex2bin(hmac, hex_encoded_data + (encrypted_datalen * 2), in encrypted_key_decrypt()
/linux-4.4.14/crypto/asymmetric_keys/
Dasymmetric_type.c124 return hex2bin(match_id->data, id, hexlen); in __asymmetric_key_hex_to_key_id()
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_auth.c33 rc = hex2bin(dst, src, j); in chap_string_to_hex()
/linux-4.4.14/drivers/md/
Ddm-verity.c839 hex2bin(v->root_digest, argv[8], v->digest_size)) { in verity_ctr()
854 hex2bin(v->salt, argv[9], v->salt_size)) { in verity_ctr()
/linux-4.4.14/include/linux/
Dkernel.h518 extern int __must_check hex2bin(u8 *dst, const char *src, size_t count);
/linux-4.4.14/drivers/net/usb/
Dusbnet.c169 tmp = hex2bin(dev->net->dev_addr, buf, 6); in usbnet_get_ethernet_addr()
/linux-4.4.14/drivers/usb/gadget/function/
Duvc_configfs.c735 ret = hex2bin(ch->bmaControls, page + 2, 1); in uvcg_format_bma_controls_store()
/linux-4.4.14/drivers/infiniband/ulp/srpt/
Dib_srpt.c3440 rc = hex2bin(i_port_id + leading_zero_bytes, p, count); in srpt_parse_i_port_id()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c730 ret = hex2bin(p->eth_base, vpd.na_data, 6); in get_vpd_params()