| /linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
| A D | hdcp_log.c | 58 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_log_ddc_trace() 60 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_log_ddc_trace() 65 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_log_ddc_trace() 67 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_log_ddc_trace() 69 sizeof(hdcp->auth.msg.hdcp1.ainfo)); in mod_hdcp_log_ddc_trace() 71 (uint8_t *)&hdcp->auth.msg.hdcp1.r0p, in mod_hdcp_log_ddc_trace() 72 sizeof(hdcp->auth.msg.hdcp1.r0p)); in mod_hdcp_log_ddc_trace() 77 hdcp->auth.msg.hdcp1.ksvlist_size); in mod_hdcp_log_ddc_trace() 79 sizeof(hdcp->auth.msg.hdcp1.vp)); in mod_hdcp_log_ddc_trace() 91 hdcp->auth.msg.hdcp2.ake_stored_km, in mod_hdcp_log_ddc_trace() [all …]
|
| A D | hdcp_ddc.c | 275 hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_read_bksv() 282 &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_read_bcaps() 315 hdcp->auth.msg.hdcp1.ksvlist, in mod_hdcp_read_ksvlist() 330 &hdcp->auth.msg.hdcp1.vp[0], 4); in mod_hdcp_read_vp() 335 &hdcp->auth.msg.hdcp1.vp[4], 4); in mod_hdcp_read_vp() 340 &hdcp->auth.msg.hdcp1.vp[8], 4); in mod_hdcp_read_vp() 372 hdcp->auth.msg.hdcp1.aksv, in mod_hdcp_write_aksv() 379 &hdcp->auth.msg.hdcp1.ainfo, in mod_hdcp_write_ainfo() 386 hdcp->auth.msg.hdcp1.an, in mod_hdcp_write_an() 610 hdcp->auth.msg.hdcp2.lc_init, in mod_hdcp_write_lc_init() [all …]
|
| A D | hdcp_psp.c | 37 in->session_handle = hdcp->auth.id; in hdcp2_message_init() 280 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_hdcp1_create_session() 282 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_hdcp1_create_session() 405 hdcp->auth.msg.hdcp1.ksvlist_size); in mod_hdcp_hdcp1_validate_ksvlist_vp() 408 sizeof(hdcp->auth.msg.hdcp1.vp)); in mod_hdcp_hdcp1_validate_ksvlist_vp() 411 is_dp_hdcp(hdcp) ? hdcp->auth.msg.hdcp1.binfo_dp : hdcp->auth.msg.hdcp1.bstatus; in mod_hdcp_hdcp1_validate_ksvlist_vp() 628 sizeof(hdcp->auth.msg.hdcp2.ake_cert)); in mod_hdcp_hdcp2_validate_ake_cert() 644 memcpy(hdcp->auth.msg.hdcp2.ake_stored_km, in mod_hdcp_hdcp2_validate_ake_cert() 694 hdcp->auth.msg.hdcp2.ake_pairing_info, sizeof(hdcp->auth.msg.hdcp2.ake_pairing_info)); in mod_hdcp_hdcp2_validate_h_prime() 809 memcpy(hdcp->auth.msg.hdcp2.ske_eks, in mod_hdcp_hdcp2_prepare_eks() [all …]
|
| A D | hdcp2_execution.c | 39 hdcp->auth.msg.hdcp2.rxstatus[0])) ? 1 : 0; in check_receiver_id_list_ready() 95 hdcp->auth.msg.hdcp2.rxstatus[0]; in check_ake_cert_available() 96 status = (size == sizeof(hdcp->auth.msg.hdcp2.ake_cert)) ? in check_ake_cert_available() 119 hdcp->auth.msg.hdcp2.rxstatus[0]; in check_h_prime_available() 143 hdcp->auth.msg.hdcp2.rxstatus[0]; in check_pairing_info_available() 171 hdcp->auth.msg.hdcp2.rxstatus[0]; in poll_l_prime_available() 193 hdcp->auth.msg.hdcp2.rxstatus[0]; in check_stream_ready_available() 248 hdcp->auth.msg.hdcp2.rx_id_list_size = in process_rxstatus() 249 sizeof(hdcp->auth.msg.hdcp2.rx_id_list); in process_rxstatus() 251 hdcp->auth.msg.hdcp2.rx_id_list_size = in process_rxstatus() [all …]
|
| A 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() 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() 119 status = DRM_HDCP_MAX_DEVICE_EXCEEDED(hdcp->auth.msg.hdcp1.bstatus) ? in check_no_max_devs() 128 DRM_HDCP_NUM_DOWNSTREAM(hdcp->auth.msg.hdcp1.binfo_dp) : in get_device_count() 129 DRM_HDCP_NUM_DOWNSTREAM(hdcp->auth.msg.hdcp1.bstatus); in get_device_count() 202 if (hdcp->auth.msg.hdcp1.ainfo) { in exchange_ksvs() [all …]
|
| /linux/drivers/char/tpm/ |
| A D | tpm2-sessions.c | 250 auth = chip->auth; in tpm_buf_append_name() 351 auth = chip->auth; in tpm_buf_append_hmac_session() 593 struct tpm2_auth *auth = chip->auth; in tpm_buf_fill_hmac_session() local 602 if (!auth) in tpm_buf_fill_hmac_session() 649 if (handle == auth->handle && auth->attrs == a) { in tpm_buf_fill_hmac_session() 754 struct tpm2_auth *auth = chip->auth; in tpm_buf_check_hmac_response() local 888 struct tpm2_auth *auth = chip->auth; in tpm2_end_auth_session() local 920 tpm2_KDFa(auth->salt, sizeof(auth->salt), "ATH", auth->tpm_nonce, in tpm2_parse_start_auth_session() 921 auth->our_nonce, sizeof(auth->session_key), in tpm2_parse_start_auth_session() 989 auth = kzalloc(sizeof(*auth), GFP_KERNEL); in tpm2_start_auth_session() [all …]
|
| /linux/include/linux/ceph/ |
| A D | auth.h | 28 int (*sign_message)(struct ceph_auth_handshake *auth, 63 struct ceph_auth_handshake *auth); 66 struct ceph_auth_handshake *auth); 128 struct ceph_auth_handshake *auth, 147 if (auth->sign_message) in ceph_auth_sign_message() 148 return auth->sign_message(auth, msg); in ceph_auth_sign_message() 156 if (auth->check_message_signature) in ceph_auth_check_message_signature() 157 return auth->check_message_signature(auth, msg); in ceph_auth_check_message_signature() 174 struct ceph_auth_handshake *auth, 177 struct ceph_auth_handshake *auth, [all …]
|
| A 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/arch/powerpc/platforms/pseries/ |
| A D | plpks.c | 181 if (!auth) in construct_auth() 184 auth->version = 1; in construct_auth() 188 return auth; in construct_auth() 194 return auth; in construct_auth() 448 if (IS_ERR(auth)) in plpks_signed_update_var() 479 kfree(auth); in plpks_signed_update_var() 499 if (IS_ERR(auth)) in plpks_write_var() 518 kfree(auth); in plpks_write_var() 534 if (IS_ERR(auth)) in plpks_remove_var() 552 kfree(auth); in plpks_remove_var() [all …]
|
| /linux/crypto/ |
| A D | authencesn.c | 32 struct crypto_ahash *auth; member 62 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_setkey() local 121 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv() local 222 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt_tail() local 269 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt() local 323 auth = crypto_spawn_ahash(&ictx->auth); in crypto_authenc_esn_init_tfm() 324 if (IS_ERR(auth)) in crypto_authenc_esn_init_tfm() 325 return PTR_ERR(auth); in crypto_authenc_esn_init_tfm() 337 ctx->auth = auth; in crypto_authenc_esn_init_tfm() 358 crypto_free_ahash(auth); in crypto_authenc_esn_init_tfm() [all …]
|
| A D | authenc.c | 29 struct crypto_ahash *auth; member 88 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_setkey() local 138 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_genicv() local 280 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_decrypt() local 309 auth = crypto_spawn_ahash(&ictx->auth); in crypto_authenc_init_tfm() 310 if (IS_ERR(auth)) in crypto_authenc_init_tfm() 311 return PTR_ERR(auth); in crypto_authenc_init_tfm() 323 ctx->auth = auth; in crypto_authenc_init_tfm() 342 crypto_free_ahash(auth); in crypto_authenc_init_tfm() 388 auth = crypto_spawn_ahash_alg(&ctx->auth); in crypto_authenc_create() [all …]
|
| /linux/net/sunrpc/ |
| A D | auth.c | 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() 251 auth->au_ops->destroy(auth); in rpcauth_release() 538 new = auth->au_ops->crcreate(auth, acred, flags, gfp); in rpcauth_lookup_credcache() 586 ret = auth->au_ops->lookup_cred(auth, &acred, flags); in rpcauth_lookupcred() 598 cred->cr_auth = auth; in rpcauth_init_cred() 617 ret = auth->au_ops->lookup_cred(auth, &acred, lookupflags); in rpcauth_bind_root_cred() 635 return auth->au_ops->lookup_cred(auth, &acred, lookupflags); in rpcauth_bind_machine_cred() [all …]
|
| A 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/net/sctp/ |
| A 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() 265 if (!auth) in sctp_packet_bundle_auth() 268 auth->shkey = chunk->shkey; in sctp_packet_bundle_auth() 274 sctp_chunk_free(auth); in sctp_packet_bundle_auth() 368 packet->auth = chunk; in __sctp_packet_append_chunk() 463 if (chunk == packet->auth) in sctp_packet_pack() 519 if (auth) { in sctp_packet_pack() 793 if ((packet->auth && chunk->shkey != packet->auth->shkey) || in sctp_packet_will_fit() [all …]
|
| /linux/drivers/target/iscsi/ |
| A 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() 384 strlen(auth->password)); in chap_server_compute_hash() 412 if (!auth->authenticate_target) { in chap_server_compute_hash() 527 strlen(auth->password_mutual)); in chap_server_compute_hash() 573 struct iscsi_node_auth *auth, in chap_main_loop() argument [all …]
|
| A D | iscsi_target_configfs.c | 385 if (count >= sizeof(auth->name)) \ 387 snprintf(auth->name, sizeof(auth->name), "%s", page); \ 389 auth->naf_flags &= ~flags; \ 391 auth->naf_flags |= flags; \ 395 auth->authenticate_target = 1; \ 397 auth->authenticate_target = 0; \ 841 snprintf(auth->name, sizeof(auth->name), "%s", page); \ 843 auth->naf_flags &= ~flags; \ 845 auth->naf_flags |= flags; \ 849 auth->authenticate_target = 1; \ [all …]
|
| /linux/tools/testing/selftests/tpm2/ |
| A 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) 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() 148 auth = ('A' * (ds + 1)).encode() [all …]
|
| /linux/net/ceph/ |
| A 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()
|
| A 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 578 struct ceph_auth_handshake *auth, in ceph_auth_handle_svc_reply_more() argument 586 ret = ceph_auth_add_authorizer_challenge(ac, auth->authorizer, in ceph_auth_handle_svc_reply_more() [all …]
|
| A D | auth_x.c | 513 p = auth + 1; 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() 535 le64_to_cpu(auth->key)); in ceph_x_build_request() 736 struct ceph_auth_handshake *auth) in ceph_x_create_authorizer() argument 759 auth->authorizer_buf = au->buf->vec.iov_base; in ceph_x_create_authorizer() 760 auth->authorizer_buf_len = au->buf->vec.iov_len; in ceph_x_create_authorizer() 761 auth->authorizer_reply_buf = au->enc_buf; in ceph_x_create_authorizer() 763 auth->sign_message = ac->ops->sign_message; in ceph_x_create_authorizer() [all …]
|
| /linux/crypto/asymmetric_keys/ |
| A 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/Documentation/netlink/specs/ |
| A D | handshake.yaml | 27 name: auth 59 name: auth-mode 61 enum: auth 84 name: remote-auth 108 - auth-mode 121 - remote-auth
|
| /linux/drivers/nvme/common/ |
| A D | Makefile | 5 obj-$(CONFIG_NVME_AUTH) += nvme-auth.o 8 nvme-auth-y += auth.o
|
| /linux/Documentation/networking/ |
| A 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/drivers/crypto/ |
| A D | atmel-authenc.h | 32 void atmel_sha_authenc_free(struct atmel_sha_authenc_ctx *auth); 33 int atmel_sha_authenc_setkey(struct atmel_sha_authenc_ctx *auth, 37 struct atmel_sha_authenc_ctx *auth,
|