Home
last modified time | relevance | path

Searched refs:challenge (Results 1 – 22 of 22) sorted by relevance

/drivers/nvme/target/
A Dauth.c299 u8 *challenge = req->sq->dhchap_c1; in nvmet_auth_host_hash() local
337 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_host_hash()
338 if (!challenge) { in nvmet_auth_host_hash()
346 challenge, shash_len); in nvmet_auth_host_hash()
389 if (challenge != req->sq->dhchap_c1) in nvmet_auth_host_hash()
390 kfree(challenge); in nvmet_auth_host_hash()
405 u8 *challenge = req->sq->dhchap_c2; in nvmet_auth_ctrl_hash() local
444 if (!challenge) { in nvmet_auth_ctrl_hash()
452 challenge, shash_len); in nvmet_auth_ctrl_hash()
500 if (challenge != req->sq->dhchap_c2) in nvmet_auth_ctrl_hash()
[all …]
/drivers/nvme/host/
A Dauth.c434 u8 buf[4], *challenge = chap->c1; in nvme_auth_dhchap_setup_host_response() local
462 challenge = kmalloc(chap->hash_len, GFP_KERNEL); in nvme_auth_dhchap_setup_host_response()
463 if (!challenge) { in nvme_auth_dhchap_setup_host_response()
470 chap->c1, challenge, in nvme_auth_dhchap_setup_host_response()
511 if (challenge != chap->c1) in nvme_auth_dhchap_setup_host_response()
512 kfree(challenge); in nvme_auth_dhchap_setup_host_response()
521 u8 buf[4], *challenge = chap->c2; in nvme_auth_dhchap_setup_ctrl_response() local
541 if (!challenge) { in nvme_auth_dhchap_setup_ctrl_response()
548 chap->c2, challenge, in nvme_auth_dhchap_setup_ctrl_response()
596 if (challenge != chap->c2) in nvme_auth_dhchap_setup_ctrl_response()
[all …]
/drivers/virt/coco/arm-cca-guest/
A Darm-cca-guest.c26 void *challenge; member
39 info->result = rsi_attestation_token_init(info->challenge, in arm_cca_attestation_init()
113 info.challenge = desc->inblob; in arm_cca_report_new()
/drivers/staging/greybus/
A Dauthentication.c144 u8 *challenge, u8 *result, u8 *auth_response, in cap_authenticate() argument
164 memcpy(request->challenge, challenge, sizeof(request->challenge)); in cap_authenticate()
249 authenticate->challenge, in cap_ioctl()
A Dgreybus_authentication.h61 __u8 challenge[32]; member
/drivers/target/iscsi/
A Discsi_target_auth.c51 memset(chap->challenge, 0, MAX_CHAP_CHALLENGE_LEN); in chap_gen_challenge()
53 ret = get_random_bytes_wait(chap->challenge, chap->challenge_len); in chap_gen_challenge()
57 bin2hex(challenge_asciihex, chap->challenge, in chap_gen_challenge()
390 ret = crypto_shash_finup(desc, chap->challenge, in chap_server_compute_hash()
503 !memcmp(initiatorchg_binhex, chap->challenge, in chap_server_compute_hash()
A Discsi_target_auth.h37 unsigned char challenge[MAX_CHAP_CHALLENGE_LEN]; member
/drivers/thunderbolt/
A Dtb_msgs.h256 u32 challenge[8]; member
265 u32 challenge[8]; member
419 u32 challenge[8]; member
449 u32 challenge[8]; member
A Ddomain.c707 u8 challenge[TB_SWITCH_KEY_SIZE]; in tb_domain_challenge_switch_key() local
723 get_random_bytes(challenge, sizeof(challenge)); in tb_domain_challenge_switch_key()
724 ret = tb->cm_ops->challenge_switch_key(tb, sw, challenge, response); in tb_domain_challenge_switch_key()
746 ret = crypto_shash_digest(shash, challenge, sizeof(hmac), hmac); in tb_domain_challenge_switch_key()
A Dicm.c553 const u8 *challenge, u8 *response) in icm_fr_challenge_switch_key() argument
564 memcpy(request.challenge, challenge, TB_SWITCH_KEY_SIZE); in icm_fr_challenge_switch_key()
1122 const u8 *challenge, u8 *response) in icm_tr_challenge_switch_key() argument
1134 memcpy(request.challenge, challenge, TB_SWITCH_KEY_SIZE); in icm_tr_challenge_switch_key()
A Dtb.h529 const u8 *challenge, u8 *response);
/drivers/i2c/muxes/
A DMakefile5 obj-$(CONFIG_I2C_ARB_GPIO_CHALLENGE) += i2c-arb-gpio-challenge.o
A DKconfig15 I2C multimaster arbitration scheme using GPIOs and a challenge &
20 will be called i2c-arb-gpio-challenge.
/drivers/staging/greybus/Documentation/firmware/
A Dauthenticate.c26 .challenge = {0},
A Dfirmware-management267 __u8 challenge[32];
300 an Interface. The user needs to fill the 'auth_type', 'uid', and 'challenge'
/drivers/media/usb/hdpvr/
A Dhdpvr-core.c69 static void challenge(u8 *bytes) in challenge() function
175 challenge(response); in device_authorization()
/drivers/gpu/drm/ttm/tests/
A DTODO24 a challenge, but is worth trying. Look at selftests like
/drivers/firmware/tegra/
A Dbpmp.c549 response.reply = request.challenge << 1; in tegra_bpmp_mrq_handle_ping()
564 request.challenge = 1; in tegra_bpmp_ping()
584 request.challenge, response.reply, in tegra_bpmp_ping()
/drivers/nvme/common/
A Dauth.c333 u8 *challenge, u8 *aug, size_t hlen) in nvme_auth_augmented_challenge() argument
367 ret = crypto_shash_tfm_digest(tfm, challenge, hlen, aug); in nvme_auth_augmented_challenge()
/drivers/comedi/drivers/ni_routing/
A DREADME30 One additional major challenge is that this information does not seem to be
35 runs on Windows platforms. A further challenge is that this information
/drivers/staging/rtl8723bs/include/
A Dieee80211.h687 u8 *challenge; member
/drivers/staging/rtl8723bs/core/
A Drtw_ieee80211.c894 elems->challenge = pos; in rtw_ieee802_11_parse_elems()

Completed in 61 milliseconds