/linux-6.12.1/drivers/gpu/drm/amd/display/modules/hdcp/ |
D | hdcp_log.c | 57 HDCP_DDC_READ_TRACE(hdcp, "BKSV", hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_log_ddc_trace() 58 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_log_ddc_trace() 59 HDCP_DDC_READ_TRACE(hdcp, "BCAPS", &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_log_ddc_trace() 60 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_log_ddc_trace() 62 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_log_ddc_trace() 63 sizeof(hdcp->auth.msg.hdcp1.bstatus)); in mod_hdcp_log_ddc_trace() 64 HDCP_DDC_WRITE_TRACE(hdcp, "AN", hdcp->auth.msg.hdcp1.an, in mod_hdcp_log_ddc_trace() 65 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_log_ddc_trace() 66 HDCP_DDC_WRITE_TRACE(hdcp, "AKSV", hdcp->auth.msg.hdcp1.aksv, in mod_hdcp_log_ddc_trace() 67 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_log_ddc_trace() [all …]
|
D | hdcp_ddc.c | 275 hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_read_bksv() 276 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_read_bksv() 282 &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_read_bcaps() 283 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_read_bcaps() 292 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_read_bstatus() 296 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_read_bstatus() 297 sizeof(hdcp->auth.msg.hdcp1.bstatus)); in mod_hdcp_read_bstatus() 304 (uint8_t *)&hdcp->auth.msg.hdcp1.r0p, in mod_hdcp_read_r0p() 305 sizeof(hdcp->auth.msg.hdcp1.r0p)); in mod_hdcp_read_r0p() 315 hdcp->auth.msg.hdcp1.ksvlist, in mod_hdcp_read_ksvlist() [all …]
|
D | hdcp_psp.c | 37 in->session_handle = hdcp->auth.id; in hdcp2_message_init() 273 hdcp->auth.id = hdcp_cmd->out_msg.hdcp1_create_session.session_handle; in mod_hdcp_hdcp1_create_session() 278 hdcp->auth.msg.hdcp1.ainfo = hdcp_cmd->out_msg.hdcp1_create_session.ainfo_primary; in mod_hdcp_hdcp1_create_session() 279 memcpy(hdcp->auth.msg.hdcp1.aksv, hdcp_cmd->out_msg.hdcp1_create_session.aksv_primary, in mod_hdcp_hdcp1_create_session() 280 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_hdcp1_create_session() 281 memcpy(hdcp->auth.msg.hdcp1.an, hdcp_cmd->out_msg.hdcp1_create_session.an_primary, in mod_hdcp_hdcp1_create_session() 282 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_hdcp1_create_session() 301 hdcp_cmd->in_msg.hdcp1_destroy_session.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_destroy_session() 333 hdcp_cmd->in_msg.hdcp1_first_part_authentication.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_validate_rx() 335 memcpy(hdcp_cmd->in_msg.hdcp1_first_part_authentication.bksv_primary, hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_hdcp1_validate_rx() [all …]
|
D | hdcp2_execution.c | 35 is_ready = HDCP_2_2_DP_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus_dp) ? 1 : 0; in check_receiver_id_list_ready() 37 is_ready = (HDCP_2_2_HDMI_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus[1]) && in check_receiver_id_list_ready() 38 (HDCP_2_2_HDMI_RXSTATUS_MSG_SZ_HI(hdcp->auth.msg.hdcp2.rxstatus[1]) << 8 | in check_receiver_id_list_ready() 39 hdcp->auth.msg.hdcp2.rxstatus[0])) ? 1 : 0; in check_receiver_id_list_ready() 49 status = (hdcp->auth.msg.hdcp2.rxcaps_dp[0] == HDCP_2_2_RX_CAPS_VERSION_VAL) && in check_hdcp2_capable() 50 HDCP_2_2_DP_HDCP_CAPABLE(hdcp->auth.msg.hdcp2.rxcaps_dp[2]) ? in check_hdcp2_capable() 54 status = (hdcp->auth.msg.hdcp2.hdcp2version_hdmi & HDCP_2_2_HDMI_SUPPORT_MASK) ? in check_hdcp2_capable() 66 ret = HDCP_2_2_DP_RXSTATUS_REAUTH_REQ(hdcp->auth.msg.hdcp2.rxstatus_dp) ? in check_reauthentication_request() 70 ret = HDCP_2_2_HDMI_RXSTATUS_REAUTH_REQ(hdcp->auth.msg.hdcp2.rxstatus[1]) ? in check_reauthentication_request() 79 return HDCP_2_2_DP_RXSTATUS_LINK_FAILED(hdcp->auth.msg.hdcp2.rxstatus_dp) ? in check_link_integrity_failure_dp() [all …]
|
D | hdcp1_execution.c | 34 memcpy(bksv, hdcp->auth.msg.hdcp1.bksv, sizeof(hdcp->auth.msg.hdcp1.bksv)); in validate_bksv() 48 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_READY) ? in check_ksv_ready() 51 return (hdcp->auth.msg.hdcp1.bcaps & DRM_HDCP_DDC_BCAPS_KSV_FIFO_READY) ? in check_ksv_ready() 58 return (hdcp->auth.msg.hdcp1.bcaps & DP_BCAPS_HDCP_CAPABLE) ? in check_hdcp_capable_dp() 68 status = (hdcp->auth.msg.hdcp1.bstatus & in check_r0p_available_dp() 81 return (hdcp->auth.msg.hdcp1.bstatus & in check_link_integrity_dp() 90 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_REAUTH_REQ) ? in check_no_reauthentication_request_dp() 100 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.binfo_dp >> 8) in check_no_max_cascade() 104 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.bstatus >> 8) in check_no_max_cascade() 115 status = DRM_HDCP_MAX_DEVICE_EXCEEDED(hdcp->auth.msg.hdcp1.binfo_dp) ? in check_no_max_devs() [all …]
|
/linux-6.12.1/drivers/char/tpm/ |
D | tpm2-sessions.c | 235 struct tpm2_auth *auth; in tpm_buf_append_name() local 250 auth = chip->auth; in tpm_buf_append_name() 251 WARN(auth->session != tpm_buf_length(buf), in tpm_buf_append_name() 254 auth->session += 4; in tpm_buf_append_name() 260 tpm2_read_public(chip, handle, auth->name[slot]); in tpm_buf_append_name() 266 auth->name_h[slot] = handle; in tpm_buf_append_name() 268 memcpy(auth->name[slot], name, name_size(name)); in tpm_buf_append_name() 330 struct tpm2_auth *auth; in tpm_buf_append_hmac_session() local 351 auth = chip->auth; in tpm_buf_append_hmac_session() 352 auth->attrs = attributes; in tpm_buf_append_hmac_session() [all …]
|
/linux-6.12.1/include/linux/ceph/ |
D | auth.h | 28 int (*sign_message)(struct ceph_auth_handshake *auth, 30 int (*check_message_signature)(struct ceph_auth_handshake *auth, 63 struct ceph_auth_handshake *auth); 66 struct ceph_auth_handshake *auth); 84 int (*sign_message)(struct ceph_auth_handshake *auth, 86 int (*check_message_signature)(struct ceph_auth_handshake *auth, 128 struct ceph_auth_handshake *auth, 144 static inline int ceph_auth_sign_message(struct ceph_auth_handshake *auth, in ceph_auth_sign_message() argument 147 if (auth->sign_message) in ceph_auth_sign_message() 148 return auth->sign_message(auth, msg); in ceph_auth_sign_message() [all …]
|
D | ceph_debug.h | 26 &client->fsid, client->monc.auth->global_id, \ 35 client->monc.auth->global_id, \ 47 client->monc.auth->global_id, __func__, ##__VA_ARGS__) 53 client->monc.auth->global_id, ##__VA_ARGS__) 56 client->monc.auth->global_id, ##__VA_ARGS__) 59 client->monc.auth->global_id, ##__VA_ARGS__) 62 client->monc.auth->global_id, ##__VA_ARGS__) 65 client->monc.auth->global_id, ##__VA_ARGS__) 68 client->monc.auth->global_id, ##__VA_ARGS__) 71 client->monc.auth->global_id, ##__VA_ARGS__)
|
/linux-6.12.1/arch/powerpc/platforms/pseries/ |
D | plpks.c | 173 struct plpks_auth *auth; in construct_auth() local 180 auth = kzalloc(roundup_pow_of_two(struct_size(auth, password, maxpwsize)), GFP_KERNEL); in construct_auth() 181 if (!auth) in construct_auth() 184 auth->version = 1; in construct_auth() 185 auth->consumer = consumer; in construct_auth() 188 return auth; in construct_auth() 190 memcpy(auth->password, ospassword, ospasswordlength); in construct_auth() 192 auth->passwordlength = cpu_to_be16(ospasswordlength); in construct_auth() 194 return auth; in construct_auth() 392 struct plpks_auth *auth) in plpks_confirm_object_flushed() argument [all …]
|
/linux-6.12.1/crypto/ |
D | authencesn.c | 26 struct crypto_ahash_spawn auth; member 32 struct crypto_ahash *auth; member 62 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_setkey() local 70 crypto_ahash_clear_flags(auth, CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey() 71 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc_esn) & in crypto_authenc_esn_setkey() 73 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in crypto_authenc_esn_setkey() 121 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv() local 141 ahash_request_set_tfm(ahreq, auth); in crypto_authenc_esn_genicv() 222 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt_tail() local 227 u8 *ihash = ohash + crypto_ahash_digestsize(auth); in crypto_authenc_esn_decrypt_tail() [all …]
|
D | authenc.c | 23 struct crypto_ahash_spawn auth; member 29 struct crypto_ahash *auth; member 88 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_setkey() local 96 crypto_ahash_clear_flags(auth, CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey() 97 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey() 99 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in crypto_authenc_setkey() 138 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_genicv() local 144 ahash_request_set_tfm(ahreq, auth); in crypto_authenc_genicv() 280 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_decrypt() local 286 ahash_request_set_tfm(ahreq, auth); in crypto_authenc_decrypt() [all …]
|
/linux-6.12.1/net/sunrpc/ |
D | auth.c | 224 struct rpc_auth *auth = ERR_PTR(-EINVAL); in rpcauth_create() local 232 auth = ops->create(args, clnt); in rpcauth_create() 235 if (IS_ERR(auth)) in rpcauth_create() 236 return auth; in rpcauth_create() 239 clnt->cl_auth = auth; in rpcauth_create() 242 return auth; in rpcauth_create() 247 rpcauth_release(struct rpc_auth *auth) in rpcauth_release() argument 249 if (!refcount_dec_and_test(&auth->au_count)) in rpcauth_release() 251 auth->au_ops->destroy(auth); in rpcauth_release() 288 rpcauth_init_credcache(struct rpc_auth *auth) in rpcauth_init_credcache() argument [all …]
|
D | auth_unix.c | 36 unx_destroy(struct rpc_auth *auth) in unx_destroy() argument 43 static struct rpc_cred *unx_lookup_cred(struct rpc_auth *auth, in unx_lookup_cred() argument 56 rpcauth_init_cred(ret, acred, auth, &unix_credops); in unx_lookup_cred() 175 struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in unx_validate() local 197 auth->au_verfsize = XDR_QUADLEN(size) + 2; in unx_validate() 198 auth->au_rslack = XDR_QUADLEN(size) + 2; in unx_validate() 199 auth->au_ralign = XDR_QUADLEN(size) + 2; in unx_validate()
|
/linux-6.12.1/net/sctp/ |
D | output.c | 67 packet->auth = NULL; in sctp_packet_reset() 246 struct sctp_chunk *auth; in sctp_packet_bundle_auth() local 261 if (!chunk->auth) in sctp_packet_bundle_auth() 264 auth = sctp_make_auth(asoc, chunk->shkey->key_id); in sctp_packet_bundle_auth() 265 if (!auth) in sctp_packet_bundle_auth() 268 auth->shkey = chunk->shkey; in sctp_packet_bundle_auth() 269 sctp_auth_shkey_hold(auth->shkey); in sctp_packet_bundle_auth() 271 retval = __sctp_packet_append_chunk(pkt, auth); in sctp_packet_bundle_auth() 274 sctp_chunk_free(auth); in sctp_packet_bundle_auth() 368 packet->auth = chunk; in __sctp_packet_append_chunk() [all …]
|
/linux-6.12.1/drivers/target/iscsi/ |
D | iscsi_target_auth.c | 139 struct iscsi_node_auth *auth, in chap_server_open() argument 147 if (!(auth->naf_flags & NAF_USERID_SET) || in chap_server_open() 148 !(auth->naf_flags & NAF_PASSWORD_SET)) { in chap_server_open() 242 struct iscsi_node_auth *auth, in chap_server_compute_hash() argument 316 compare_len = strlen(auth->userid) + 1; in chap_server_compute_hash() 317 if (strncmp(chap_n, auth->userid, compare_len) != 0) { in chap_server_compute_hash() 383 ret = crypto_shash_update(desc, (char *)&auth->password, in chap_server_compute_hash() 384 strlen(auth->password)); in chap_server_compute_hash() 412 if (!auth->authenticate_target) { in chap_server_compute_hash() 526 ret = crypto_shash_update(desc, auth->password_mutual, in chap_server_compute_hash() [all …]
|
D | iscsi_target_configfs.c | 369 struct iscsi_node_auth *auth = &nacl->node_auth; \ 373 return snprintf(page, PAGE_SIZE, "%s\n", auth->name); \ 381 struct iscsi_node_auth *auth = &nacl->node_auth; \ 385 if (count >= sizeof(auth->name)) \ 387 snprintf(auth->name, sizeof(auth->name), "%s", page); \ 388 if (!strncmp("NULL", auth->name, 4)) \ 389 auth->naf_flags &= ~flags; \ 391 auth->naf_flags |= flags; \ 393 if ((auth->naf_flags & NAF_USERID_IN_SET) && \ 394 (auth->naf_flags & NAF_PASSWORD_IN_SET)) \ [all …]
|
/linux-6.12.1/tools/testing/selftests/tpm2/ |
D | tpm2_tests.py | 24 auth = ('A' * 15).encode() 26 blob = self.client.seal(self.root_key, data, auth, None) 27 result = self.client.unseal(self.root_key, blob, auth, None) 44 auth = ('A' * 15).encode() 55 blob = self.client.seal(self.root_key, data, auth, policy_dig) 63 result = self.client.unseal(self.root_key, blob, auth, handle) 72 auth = ('A' * 20).encode() 75 blob = self.client.seal(self.root_key, data, auth, None) 78 auth[:-1] + 'B'.encode(), None) 91 auth = ('A' * 17).encode() [all …]
|
/linux-6.12.1/net/ceph/ |
D | auth_none.c | 95 struct ceph_auth_handshake *auth) in ceph_auth_none_create_authorizer() argument 112 auth->authorizer = (struct ceph_authorizer *) au; in ceph_auth_none_create_authorizer() 113 auth->authorizer_buf = au->buf; in ceph_auth_none_create_authorizer() 114 auth->authorizer_buf_len = au->buf_len; in ceph_auth_none_create_authorizer() 115 auth->authorizer_reply_buf = NULL; in ceph_auth_none_create_authorizer() 116 auth->authorizer_reply_buf_len = 0; in ceph_auth_none_create_authorizer()
|
D | auth.c | 309 struct ceph_auth_handshake *auth, in __ceph_auth_get_authorizer() argument 316 if (force_new && auth->authorizer) { in __ceph_auth_get_authorizer() 317 ceph_auth_destroy_authorizer(auth->authorizer); in __ceph_auth_get_authorizer() 318 auth->authorizer = NULL; in __ceph_auth_get_authorizer() 320 if (!auth->authorizer) in __ceph_auth_get_authorizer() 321 ret = ac->ops->create_authorizer(ac, peer_type, auth); in __ceph_auth_get_authorizer() 323 ret = ac->ops->update_authorizer(ac, peer_type, auth); in __ceph_auth_get_authorizer() 548 struct ceph_auth_handshake *auth, in ceph_auth_get_authorizer() argument 557 ret = __ceph_auth_get_authorizer(ac, auth, peer_type, true, &proto, in ceph_auth_get_authorizer() 568 ceph_encode_32_safe(&p, end, auth->authorizer_buf_len, e_range); in ceph_auth_get_authorizer() [all …]
|
D | auth_x.c | 507 struct ceph_x_authenticate *auth = (void *)(head + 1); in ceph_x_build_request() local 513 p = auth + 1; in ceph_x_build_request() 521 get_random_bytes(&auth->client_challenge, sizeof(u64)); in ceph_x_build_request() 522 blob->client_challenge = auth->client_challenge; in ceph_x_build_request() 529 auth->struct_v = 3; /* nautilus+ */ in ceph_x_build_request() 530 auth->key = 0; in ceph_x_build_request() 532 auth->key ^= *(__le64 *)u; in ceph_x_build_request() 534 xi->server_challenge, le64_to_cpu(auth->client_challenge), in ceph_x_build_request() 535 le64_to_cpu(auth->key)); in ceph_x_build_request() 736 struct ceph_auth_handshake *auth) in ceph_x_create_authorizer() argument [all …]
|
/linux-6.12.1/crypto/asymmetric_keys/ |
D | pkcs7_verify.c | 198 struct asymmetric_key_id *auth; in pkcs7_verify_sig_chain() local 248 auth = sig->auth_ids[0]; in pkcs7_verify_sig_chain() 249 if (auth) { in pkcs7_verify_sig_chain() 250 pr_debug("- want %*phN\n", auth->len, auth->data); in pkcs7_verify_sig_chain() 254 if (asymmetric_key_id_same(p->id, auth)) in pkcs7_verify_sig_chain() 258 auth = sig->auth_ids[1]; in pkcs7_verify_sig_chain() 259 pr_debug("- want %*phN\n", auth->len, auth->data); in pkcs7_verify_sig_chain() 265 if (asymmetric_key_id_same(p->skid, auth)) in pkcs7_verify_sig_chain()
|
/linux-6.12.1/drivers/nvme/common/ |
D | Makefile | 5 obj-$(CONFIG_NVME_AUTH) += nvme-auth.o 8 nvme-auth-y += auth.o
|
/linux-6.12.1/Documentation/networking/ |
D | mac80211-auth-assoc-deauth.txt | 35 mac80211->driver: TX auth frame 36 driver->mac80211: RX auth frame 38 alt WEP shared key auth 39 mac80211->driver: TX auth frame 40 driver->mac80211: RX auth frame 44 mac80211->userspace: RX auth frame
|
/linux-6.12.1/net/sunrpc/auth_gss/ |
D | auth_gss.c | 265 struct gss_auth *auth; member 301 struct net *net = gss_msg->auth->net; in gss_release_msg() 309 gss_put_auth(gss_msg->auth); in gss_release_msg() 315 __gss_find_upcall(struct rpc_pipe *pipe, kuid_t uid, const struct gss_auth *auth) in __gss_find_upcall() argument 321 if (pos->auth->service != auth->service) in __gss_find_upcall() 340 old = __gss_find_upcall(pipe, gss_msg->uid, gss_msg->auth); in gss_add_msg() 436 struct gss_api_mech *mech = gss_msg->auth->mech; in gss_encode_v1_msg() 514 gss_msg->auth->target_name, in gss_v1_upcall() 543 gss_msg->auth = gss_auth; in gss_alloc_msg() 774 p = gss_fill_context(p, end, ctx, gss_msg->auth->mech); in gss_pipe_downcall() [all …]
|
/linux-6.12.1/net/xfrm/ |
D | xfrm_algo.c | 180 .auth = { 200 .auth = { 220 .auth = { 240 .auth = { 259 .auth = { 278 .auth = { 298 .auth = { 317 .auth = { 337 .auth = { 350 .auth = {
|