| /linux/net/rxrpc/ |
| H A D | rxgk.c | 623 * Allocate memory to hold a challenge or a response packet. We're not running 638 * Issue a challenge. 705 * Validate a challenge packet. 737 * rxgk_kernel_query_challenge - Query RxGK-specific challenge parameters 738 * @challenge: The challenge packet to query 742 u32 rxgk_kernel_query_challenge(struct sk_buff *challenge) in rxgk_kernel_query_challenge() argument 744 struct rxrpc_skb_priv *sp = rxrpc_skb(challenge); in rxgk_kernel_query_challenge() 752 * challenge. 755 struct sk_buff *challenge, in rxgk_challenge_to_recvmsg() argument 838 struct sk_buff *challenge, in rxgk_construct_authenticator() argument [all …]
|
| H A D | rxkad.c | 636 * issue a challenge 640 struct rxkad_challenge challenge; in rxkad_issue_challenge() local 652 challenge.version = htonl(2); in rxkad_issue_challenge() 653 challenge.nonce = htonl(conn->rxkad.nonce); in rxkad_issue_challenge() 654 challenge.min_level = htonl(0); in rxkad_issue_challenge() 655 challenge.__padding = 0; in rxkad_issue_challenge() 676 iov[1].iov_base = &challenge; in rxkad_issue_challenge() 677 iov[1].iov_len = sizeof(challenge); in rxkad_issue_challenge() 751 * Validate a challenge packet. 756 struct rxkad_challenge challenge; in rxkad_validate_challenge() local [all …]
|
| H A D | server_key.c | 186 * control message buffer containing information about the challenge. 188 * The user should respond to the challenge by passing RXRPC_RESPOND or
|
| H A D | recvmsg.c | 221 * Deal with a CHALLENGE packet. 224 struct sk_buff *challenge, unsigned int flags) in rxrpc_recvmsg_challenge() argument 226 struct rxrpc_skb_priv *sp = rxrpc_skb(challenge); in rxrpc_recvmsg_challenge() 229 return conn->security->challenge_to_recvmsg(conn, challenge, msg); in rxrpc_recvmsg_challenge()
|
| H A D | ar-internal.h | 43 RXRPC_SKB_MARK_CHALLENGE, /* Challenge notification */ 287 /* issue a challenge */ 290 /* Validate a challenge packet */ 294 /* Fill out the cmsg for recvmsg() to pass on a challenge to userspace. 298 struct sk_buff *challenge, 301 /* Parse sendmsg() control message and respond to challenge. */ 302 int (*sendmsg_respond_to_challenge)(struct sk_buff *challenge, 305 /* respond to a challenge */ 307 struct sk_buff *challenge); 474 RXRPC_CONN_EV_CHALLENGE, /* Send challenge packet */
|
| /linux/drivers/target/iscsi/ |
| H A D | iscsi_target_auth.c | 52 memset(chap->challenge, 0, MAX_CHAP_CHALLENGE_LEN); in chap_gen_challenge() 54 ret = get_random_bytes_wait(chap->challenge, chap->challenge_len); in chap_gen_challenge() 58 bin2hex(challenge_asciihex, chap->challenge, in chap_gen_challenge() 61 * Set CHAP_C, and copy the generated challenge into c_str. in chap_gen_challenge() 183 /* Tie the challenge length to the digest size */ in chap_server_open() 199 * Generate Challenge. in chap_server_open() 294 pr_err("Unable to allocate challenge buffer\n"); in chap_server_compute_hash() 391 ret = crypto_shash_finup(desc, chap->challenge, in chap_server_compute_hash() 394 pr_err("crypto_shash_finup() failed for challenge\n"); in chap_server_compute_hash() 461 pr_err("Unable to convert incoming challenge\n"); in chap_server_compute_hash() [all …]
|
| H A D | iscsi_target_auth.h | 37 unsigned char challenge[MAX_CHAP_CHALLENGE_LEN]; member
|
| /linux/drivers/nvme/target/ |
| H A D | auth.c | 285 u8 *challenge = req->sq->dhchap_c1; in nvmet_auth_host_hash() local 308 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_host_hash() 309 if (!challenge) { in nvmet_auth_host_hash() 317 challenge, shash_len); in nvmet_auth_host_hash() 325 nvme_auth_hmac_update(&hmac, challenge, shash_len); in nvmet_auth_host_hash() 344 if (challenge != req->sq->dhchap_c1) in nvmet_auth_host_hash() 345 kfree(challenge); in nvmet_auth_host_hash() 357 u8 *challenge = req->sq->dhchap_c2; in nvmet_auth_ctrl_hash() local 380 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_ctrl_hash() 381 if (!challenge) { in nvmet_auth_ctrl_hash() [all …]
|
| H A D | fabrics-cmd-auth.c | 185 pr_debug("%s: ctrl %d qid %d invalid challenge\n", in nvmet_auth_reply() 196 pr_debug("%s: ctrl %d qid %d challenge %*ph\n", in nvmet_auth_reply() 204 * is not performed, but a challenge value C2 is carried in order to in nvmet_auth_reply() 537 pr_warn("ctrl %d qid %d: challenge error (%d)\n", in nvmet_execute_auth_receive()
|
| /linux/Documentation/devicetree/bindings/i2c/ |
| H A D | i2c-arb-gpio-challenge.yaml | 4 $id: http://devicetree.org/schemas/i2c/i2c-arb-gpio-challenge.yaml# 7 title: GPIO-based I2C Arbitration Using a Challenge & Response Mechanism 14 This uses GPIO lines and a challenge & response mechanism to arbitrate who is 51 const: i2c-arb-gpio-challenge 106 compatible = "i2c-arb-gpio-challenge";
|
| /linux/drivers/nvme/host/ |
| H A D | auth.c | 312 dev_dbg(ctrl->device, "%s: qid %d ctrl challenge %*ph\n", in nvme_auth_set_dhchap_reply_data() 418 u8 buf[4], *challenge = chap->c1; in nvme_auth_dhchap_setup_host_response() local 444 challenge = kmalloc(chap->hash_len, GFP_KERNEL); in nvme_auth_dhchap_setup_host_response() 445 if (!challenge) { in nvme_auth_dhchap_setup_host_response() 452 chap->c1, challenge, in nvme_auth_dhchap_setup_host_response() 458 nvme_auth_hmac_update(&hmac, challenge, chap->hash_len); in nvme_auth_dhchap_setup_host_response() 478 if (challenge != chap->c1) in nvme_auth_dhchap_setup_host_response() 479 kfree(challenge); in nvme_auth_dhchap_setup_host_response() 489 u8 buf[4], *challenge = chap->c2; in nvme_auth_dhchap_setup_ctrl_response() local 508 challenge = kmalloc(chap->hash_len, GFP_KERNEL); in nvme_auth_dhchap_setup_ctrl_response() [all …]
|
| /linux/tools/testing/selftests/net/netfilter/packetdrill/ |
| H A D | conntrack_syn_challenge_ack.pkt | 2 // a challenge-ACK. 3 // Check that conntrack lets all packets pass, including the challenge ack, 24 // Challenge ACK, old incarnation.
|
| H A D | conntrack_synack_reuse.pkt | 2 // Challenge ACK is supposed to pass through, RST reply should clear conntrack 25 // Won't expect this: challenge ack.
|
| /linux/drivers/nvme/common/ |
| H A D | auth.c | 355 * 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() 518 * @c1: Value of challenge C1 519 * @c2: Value of challenge C2
|
| /linux/drivers/staging/greybus/ |
| H A D | authentication.c | 144 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()
|
| H A D | greybus_authentication.h | 61 __u8 challenge[32]; member
|
| /linux/drivers/thunderbolt/ |
| H A D | domain.c | 701 * tb_domain_challenge_switch_key() - Challenge and approve switch 706 * random challenge and sends it to the switch. The switch responds to 707 * this and if the response matches our random challenge, the switch is 714 u8 challenge[TB_SWITCH_KEY_SIZE]; in tb_domain_challenge_switch_key() local 728 get_random_bytes(challenge, sizeof(challenge)); in tb_domain_challenge_switch_key() 729 ret = tb->cm_ops->challenge_switch_key(tb, sw, challenge, response); in tb_domain_challenge_switch_key() 735 challenge, sizeof(challenge), hmac); in tb_domain_challenge_switch_key()
|
| H A D | tb_msgs.h | 256 u32 challenge[8]; member 265 u32 challenge[8]; member 419 u32 challenge[8]; member 449 u32 challenge[8]; member
|
| /linux/drivers/i2c/muxes/ |
| H A D | Kconfig | 15 I2C multimaster arbitration scheme using GPIOs and a challenge & 20 will be called i2c-arb-gpio-challenge.
|
| H A D | Makefile | 5 obj-$(CONFIG_I2C_ARB_GPIO_CHALLENGE) += i2c-arb-gpio-challenge.o
|
| /linux/net/ceph/ |
| H A D | auth_x.c | 755 dout("handle_reply got server challenge %llx\n", in ceph_x_handle_reply() 863 void *challenge, int challenge_len, in decrypt_authorizer_challenge() argument 872 challenge, challenge_len); in decrypt_authorizer_challenge() 877 dp = challenge + __ceph_x_encrypt_offset(secret); in decrypt_authorizer_challenge() 891 void *challenge, int challenge_len) in ceph_x_add_authorizer_challenge() argument 897 ret = decrypt_authorizer_challenge(&au->session_key, challenge, in ceph_x_add_authorizer_challenge() 900 pr_err("failed to decrypt authorize challenge: %d", ret); in ceph_x_add_authorizer_challenge() 906 pr_err("failed to encrypt authorizer w/ challenge: %d", ret); in ceph_x_add_authorizer_challenge()
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | nf_conntrack_tcp.h | 46 /* Marks possibility for expected RFC5961 challenge ACK */
|
| /linux/drivers/media/usb/hdpvr/ |
| H A D | hdpvr-core.c | 69 static void challenge(u8 *bytes) in challenge() function 172 v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, "challenge: %8ph\n", in device_authorization() 175 challenge(response); in device_authorization()
|
| /linux/drivers/gpu/drm/ttm/tests/ |
| H A D | TODO | 24 a challenge, but is worth trying. Look at selftests like
|
| /linux/fs/smb/server/ |
| H A D | auth.c | 132 * @ntlmv2: NTLMv2 challenge response 286 * challenge blob 287 * @chgblob: challenge blob source pointer to initialize 353 /* Initialize random conn challenge */ in ksmbd_build_ntlmssp_challenge_blob() 355 memcpy(chgblob->Challenge, conn->ntlmssp.cryptkey, in ksmbd_build_ntlmssp_challenge_blob()
|