Home
last modified time | relevance | path

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

12

/linux/fs/afs/
H A Dcm_security.c22 static int afs_create_yfs_cm_token(struct sk_buff *challenge,
29 static int afs_respond_to_challenge(struct sk_buff *challenge) in afs_respond_to_challenge() argument
40 rxrpc_kernel_query_challenge(challenge, &peer, &peer_data, in afs_respond_to_challenge()
57 return rxrpc_kernel_reject_challenge(challenge, RX_USER_ABORT, -EPROTO, in afs_respond_to_challenge()
64 return rxkad_kernel_respond_to_challenge(challenge); in afs_respond_to_challenge()
69 return rxgk_kernel_respond_to_challenge(challenge, &appdata); in afs_respond_to_challenge()
79 afs_create_yfs_cm_token(challenge, server); in afs_respond_to_challenge()
86 return rxgk_kernel_respond_to_challenge(challenge, &appdata); in afs_respond_to_challenge()
90 return rxrpc_kernel_reject_challenge(challenge, RX_USER_ABORT, -EPROTO, in afs_respond_to_challenge()
180 static int afs_create_yfs_cm_token(struct sk_buff *challenge, in afs_create_yfs_cm_token() argument
[all …]
/linux/drivers/nvme/target/
H A Dauth.c297 u8 *challenge = req->sq->dhchap_c1; in nvmet_auth_host_hash()
320 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_host_hash()
321 if (!challenge) { in nvmet_auth_host_hash()
329 challenge, shash_len); in nvmet_auth_host_hash()
337 nvme_auth_hmac_update(&hmac, challenge, shash_len); in nvmet_auth_host_hash()
356 if (challenge != req->sq->dhchap_c1) in nvmet_auth_host_hash()
357 kfree(challenge);
369 u8 *challenge = req->sq->dhchap_c2; in nvmet_auth_ctrl_hash()
392 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_ctrl_hash()
393 if (!challenge) { in nvmet_auth_ctrl_hash()
291 u8 *challenge = req->sq->dhchap_c1; nvmet_auth_host_hash() local
363 u8 *challenge = req->sq->dhchap_c2; nvmet_auth_ctrl_hash() local
[all...]
/linux/include/linux/
H A Darm-rsi-cmds.h162 u8 challenge[RSI_ATTEST_CHALLENGE_MAX_SIZE]; member
184 rsi_attestation_token_init(const u8 *challenge, unsigned long size) in rsi_attestation_token_init() argument
191 if (!challenge || size < RSI_ATTEST_CHALLENGE_MIN_SIZE || in rsi_attestation_token_init()
196 memcpy(args.init.challenge, challenge, size); in rsi_attestation_token_init()
H A Dnvme-auth.h48 const u8 *challenge, u8 *aug, size_t hlen);
/linux/net/rxrpc/
H A Drxkad.c505 * issue a challenge in rxkad_verify_packet_2()
509 struct rxkad_challenge challenge; in rxkad_verify_packet_2()
521 challenge.version = htonl(2); in rxkad_verify_packet_2()
522 challenge.nonce = htonl(conn->rxkad.nonce); in rxkad_verify_packet_2()
523 challenge.min_level = htonl(0); in rxkad_verify_packet_2()
524 challenge.__padding = 0; in rxkad_verify_packet_2()
545 iov[1].iov_base = &challenge; in rxkad_verify_packet_2()
546 iov[1].iov_len = sizeof(challenge); in rxkad_verify_packet_2()
585 * Validate a challenge packet. in rxkad_verify_packet()
590 struct rxkad_challenge challenge; in rxkad_verify_packet()
640 struct rxkad_challenge challenge; rxkad_issue_challenge() local
756 struct rxkad_challenge challenge; rxkad_validate_challenge() local
810 rxkad_insert_response_header(struct rxrpc_connection * conn,const struct rxrpc_key_token * token,struct sk_buff * challenge,struct sk_buff * response,size_t * offset) rxkad_insert_response_header() argument
858 rxkad_respond_to_challenge(struct rxrpc_connection * conn,struct sk_buff * challenge) rxkad_respond_to_challenge() argument
919 rxkad_sendmsg_respond_to_challenge(struct sk_buff * challenge,struct msghdr * msg) rxkad_sendmsg_respond_to_challenge() argument
933 rxkad_kernel_respond_to_challenge(struct sk_buff * challenge) rxkad_kernel_respond_to_challenge() argument
[all...]
H A Drxgk.c623 * Allocate memory to hold a challenge or a response packet. We're not running
638 * Issue a challenge.
706 * Validate a challenge packet.
738 * rxgk_kernel_query_challenge - Query RxGK-specific challenge parameters
739 * @challenge: The challenge packet to query
743 u32 rxgk_kernel_query_challenge(struct sk_buff *challenge) in rxgk_kernel_query_challenge()
745 struct rxrpc_skb_priv *sp = rxrpc_skb(challenge); in rxgk_kernel_query_challenge()
753 * challenge.
756 struct sk_buff *challenge, in rxgk_challenge_to_recvmsg()
742 rxgk_kernel_query_challenge(struct sk_buff * challenge) rxgk_kernel_query_challenge() argument
755 rxgk_challenge_to_recvmsg(struct rxrpc_connection * conn,struct sk_buff * challenge,struct msghdr * msg) rxgk_challenge_to_recvmsg() argument
838 rxgk_construct_authenticator(struct rxrpc_connection * conn,struct sk_buff * challenge,const struct krb5_buffer * appdata,struct sk_buff * response,size_t offset) rxgk_construct_authenticator() argument
924 rxgk_construct_response(struct rxrpc_connection * conn,struct sk_buff * challenge,struct krb5_buffer * appdata) rxgk_construct_response() argument
1013 rxgk_respond_to_challenge(struct rxrpc_connection * conn,struct sk_buff * challenge,struct krb5_buffer * appdata) rxgk_respond_to_challenge() argument
1026 rxgk_respond_to_challenge_no_appdata(struct rxrpc_connection * conn,struct sk_buff * challenge) rxgk_respond_to_challenge_no_appdata() argument
1043 rxgk_kernel_respond_to_challenge(struct sk_buff * challenge,struct krb5_buffer * appdata) rxgk_kernel_respond_to_challenge() argument
1056 rxgk_sendmsg_respond_to_challenge(struct sk_buff * challenge,struct msghdr * msg) rxgk_sendmsg_respond_to_challenge() argument
[all...]
H A Doob.c350 void rxrpc_kernel_query_challenge(struct sk_buff *challenge, in rxrpc_kernel_query_challenge() argument
355 struct rxrpc_skb_priv *sp = rxrpc_skb(challenge); in rxrpc_kernel_query_challenge()
377 int rxrpc_kernel_reject_challenge(struct sk_buff *challenge, u32 abort_code, in rxrpc_kernel_reject_challenge() argument
380 struct rxrpc_skb_priv *sp = rxrpc_skb(challenge); in rxrpc_kernel_reject_challenge()
H A Dinsecure.c50 static int none_sendmsg_respond_to_challenge(struct sk_buff *challenge, in none_sendmsg_respond_to_challenge() argument
H A Drecvmsg.c223 struct sk_buff *challenge, unsigned int flags) in rxrpc_recvmsg_challenge()
225 struct rxrpc_skb_priv *sp = rxrpc_skb(challenge); in rxrpc_recvmsg_challenge()
228 return conn->security->challenge_to_recvmsg(conn, challenge, msg); in rxrpc_recvmsg_challenge()
222 rxrpc_recvmsg_challenge(struct socket * sock,struct msghdr * msg,struct sk_buff * challenge,unsigned int flags) rxrpc_recvmsg_challenge() argument
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_rfc5961_rst-syn-recv.pkt4 // the connection. A non-exact in-window RST elicits a challenge ACK,
21 // A non-exact in-window RST gets a challenge ACK and the request survives.
36 // with an unacceptable ACK value gets a challenge ACK.
/linux/drivers/nvme/host/
H A Dauth.c314 dev_dbg(ctrl->device, "%s: qid %d ctrl challenge %*ph\n", in nvme_auth_set_dhchap_reply_data()
433 u8 buf[4], *challenge = chap->c1; in nvme_auth_dhchap_setup_host_response()
459 challenge = kmalloc(chap->hash_len, GFP_KERNEL); in nvme_auth_dhchap_setup_host_response()
460 if (!challenge) { in nvme_auth_dhchap_setup_host_response()
467 chap->c1, challenge, in nvme_auth_dhchap_setup_host_response()
473 nvme_auth_hmac_update(&hmac, challenge, chap->hash_len); in nvme_auth_dhchap_setup_host_response()
493 if (challenge != chap->c1) in nvme_auth_dhchap_setup_ctrl_response()
494 kfree(challenge); in nvme_auth_dhchap_setup_ctrl_response()
504 u8 buf[4], *challenge = chap->c2; in nvme_auth_dhchap_setup_ctrl_response()
523 challenge in nvme_auth_dhchap_setup_ctrl_response()
419 u8 buf[4], *challenge = chap->c1; nvme_auth_dhchap_setup_host_response() local
490 u8 buf[4], *challenge = chap->c2; nvme_auth_dhchap_setup_ctrl_response() local
[all...]
/linux/tools/testing/selftests/net/netfilter/packetdrill/
H A Dconntrack_syn_challenge_ack.pkt2 // a challenge-ACK.
3 // Check that conntrack lets all packets pass, including the challenge ack,
H A Dconntrack_synack_reuse.pkt25 // Won't expect this: challenge ack.
/linux/drivers/thunderbolt/
H A Ddomain.c715 u8 challenge[TB_SWITCH_KEY_SIZE]; in tb_domain_challenge_switch_key() local
729 get_random_bytes(challenge, sizeof(challenge)); in tb_domain_challenge_switch_key()
730 ret = tb->cm_ops->challenge_switch_key(tb, sw, challenge, response); in tb_domain_challenge_switch_key()
736 challenge, sizeof(challenge), hmac); in tb_domain_challenge_switch_key()
H A Dtb_msgs.h256 u32 challenge[8]; member
265 u32 challenge[8]; member
419 u32 challenge[8]; member
449 u32 challenge[8]; member
H 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()
1128 const u8 *challenge, u8 *response) in icm_tr_challenge_switch_key() argument
1140 memcpy(request.challenge, challenge, TB_SWITCH_KEY_SIZE); in icm_tr_challenge_switch_key()
/linux/drivers/target/iscsi/
H A Discsi_target_auth.h32 unsigned char challenge[MAX_CHAP_CHALLENGE_LEN];
37 unsigned char challenge[MAX_CHAP_CHALLENGE_LEN]; global() member
/linux/drivers/staging/greybus/
H A Dgreybus_authentication.h61 __u8 challenge[32]; member
/linux/drivers/i2c/muxes/
H A DMakefile5 obj-$(CONFIG_I2C_ARB_GPIO_CHALLENGE) += i2c-arb-gpio-challenge.o
H A DKconfig15 I2C multimaster arbitration scheme using GPIOs and a challenge &
20 will be called i2c-arb-gpio-challenge.
/linux/drivers/gpu/drm/ttm/tests/
H A DTODO24 a challenge, but is worth trying. Look at selftests like
/linux/net/ceph/
H A Dauth_x.c870 void *challenge, int challenge_len, in decrypt_authorizer_challenge() argument
879 challenge, challenge_len); in decrypt_authorizer_challenge()
884 dp = challenge + __ceph_x_encrypt_offset(secret); in decrypt_authorizer_challenge()
898 void *challenge, int challenge_len) in ceph_x_add_authorizer_challenge() argument
904 ret = decrypt_authorizer_challenge(&au->session_key, challenge, in ceph_x_add_authorizer_challenge()
/linux/drivers/nvme/common/
H A Dauth.c355 * nvme_auth_augmented_challenge() - Compute the augmented DH-HMAC-CHAP challenge
359 * @challenge: Challenge value
360 * @aug: Output buffer for the augmented challenge
361 * @hlen: Hash output length (length of @challenge and @aug)
363 * NVMe base specification 8.3.5.5.4: The augmented challenge is computed
366 * to the challenge C (i.e., Ca = HMAC(H(g^xy mod p), C)).
374 const u8 *challenge, u8 *aug, size_t hlen) in nvme_auth_augmented_challenge() argument
376 return nvme_auth_hmac(hmac_id, skey, skey_len, challenge, hlen, aug); in nvme_auth_augmented_challenge()
520 * @c1: Value of challenge C1
521 * @c2: Value of challenge C
[all...]
/linux/Documentation/arch/riscv/
H A Dpatch-acceptance.rst13 challenge for RISC-V Linux maintenance. Linux maintainers disapprove
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-thunderbolt91 2 Send a challenge based on the 32 byte hex string. If the
92 challenge response from device is valid, the device is
95 EKEYREJECTED if the challenge response did not match.

12