Home
last modified time | relevance | path

Searched refs:auth (Results 1 – 25 of 252) sorted by relevance

1234567891011

/linux/drivers/gpu/drm/amd/display/modules/hdcp/
A Dhdcp_log.c58 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 Dhdcp_ddc.c249 hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_read_bksv()
256 &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_read_bcaps()
289 hdcp->auth.msg.hdcp1.ksvlist, in mod_hdcp_read_ksvlist()
304 &hdcp->auth.msg.hdcp1.vp[0], 4); in mod_hdcp_read_vp()
309 &hdcp->auth.msg.hdcp1.vp[4], 4); in mod_hdcp_read_vp()
314 &hdcp->auth.msg.hdcp1.vp[8], 4); in mod_hdcp_read_vp()
346 hdcp->auth.msg.hdcp1.aksv, in mod_hdcp_write_aksv()
353 &hdcp->auth.msg.hdcp1.ainfo, in mod_hdcp_write_ainfo()
360 hdcp->auth.msg.hdcp1.an, in mod_hdcp_write_an()
584 hdcp->auth.msg.hdcp2.lc_init, in mod_hdcp_write_lc_init()
[all …]
A Dhdcp_psp.c37 in->session_handle = hdcp->auth.id; in hdcp2_message_init()
276 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_hdcp1_create_session()
278 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_hdcp1_create_session()
401 hdcp->auth.msg.hdcp1.ksvlist_size); in mod_hdcp_hdcp1_validate_ksvlist_vp()
404 sizeof(hdcp->auth.msg.hdcp1.vp)); in mod_hdcp_hdcp1_validate_ksvlist_vp()
407 is_dp_hdcp(hdcp) ? hdcp->auth.msg.hdcp1.binfo_dp : hdcp->auth.msg.hdcp1.bstatus; in mod_hdcp_hdcp1_validate_ksvlist_vp()
624 sizeof(hdcp->auth.msg.hdcp2.ake_cert)); in mod_hdcp_hdcp2_validate_ake_cert()
640 memcpy(hdcp->auth.msg.hdcp2.ake_stored_km, in mod_hdcp_hdcp2_validate_ake_cert()
690 hdcp->auth.msg.hdcp2.ake_pairing_info, sizeof(hdcp->auth.msg.hdcp2.ake_pairing_info)); in mod_hdcp_hdcp2_validate_h_prime()
805 memcpy(hdcp->auth.msg.hdcp2.ske_eks, in mod_hdcp_hdcp2_prepare_eks()
[all …]
A Dhdcp2_execution.c39 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()
249 hdcp->auth.msg.hdcp2.rx_id_list_size = in process_rxstatus()
250 sizeof(hdcp->auth.msg.hdcp2.rx_id_list); in process_rxstatus()
252 hdcp->auth.msg.hdcp2.rx_id_list_size = in process_rxstatus()
[all …]
A Dhdcp1_execution.c34 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()
67 status = (hdcp->auth.msg.hdcp1.bstatus & in check_r0p_available_dp()
80 return (hdcp->auth.msg.hdcp1.bstatus & in check_link_integrity_dp()
89 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_REAUTH_REQ) ? in check_no_reauthentication_request_dp()
118 status = DRM_HDCP_MAX_DEVICE_EXCEEDED(hdcp->auth.msg.hdcp1.bstatus) ? in check_no_max_devs()
127 DRM_HDCP_NUM_DOWNSTREAM(hdcp->auth.msg.hdcp1.binfo_dp) : in get_device_count()
128 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/crypto/
A Dauthencesn.c32 struct crypto_ahash *auth; member
62 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_setkey() local
92 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv_tail() local
125 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv() local
228 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt_tail() local
277 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt() local
332 auth = crypto_spawn_ahash(&ictx->auth); in crypto_authenc_esn_init_tfm()
333 if (IS_ERR(auth)) in crypto_authenc_esn_init_tfm()
334 return PTR_ERR(auth); in crypto_authenc_esn_init_tfm()
346 ctx->auth = auth; in crypto_authenc_esn_init_tfm()
[all …]
A Dauthenc.c29 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
285 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_decrypt() local
317 auth = crypto_spawn_ahash(&ictx->auth); in crypto_authenc_init_tfm()
318 if (IS_ERR(auth)) in crypto_authenc_init_tfm()
319 return PTR_ERR(auth); in crypto_authenc_init_tfm()
331 ctx->auth = auth; in crypto_authenc_init_tfm()
350 crypto_free_ahash(auth); in crypto_authenc_init_tfm()
396 auth = crypto_spawn_ahash_alg(&ctx->auth); in crypto_authenc_create()
[all …]
/linux/include/linux/ceph/
A Dauth.h28 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 …]
/linux/net/sunrpc/
A Dauth.c238 if (IS_ERR(auth)) in rpcauth_create()
239 return auth; in rpcauth_create()
242 clnt->cl_auth = auth; in rpcauth_create()
245 return auth; in rpcauth_create()
254 auth->au_ops->destroy(auth); in rpcauth_release()
541 new = auth->au_ops->crcreate(auth, acred, flags, gfp); in rpcauth_lookup_credcache()
589 ret = auth->au_ops->lookup_cred(auth, &acred, flags); in rpcauth_lookupcred()
601 cred->cr_auth = auth; in rpcauth_init_cred()
618 ret = auth->au_ops->lookup_cred(auth, &acred, lookupflags); in rpcauth_bind_root_cred()
634 return auth->au_ops->lookup_cred(auth, &acred, lookupflags); in rpcauth_bind_machine_cred()
[all …]
A Dauth_unix.c36 unx_destroy(struct rpc_auth *auth) in unx_destroy() argument
44 unx_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) in unx_lookup_cred() argument
48 rpcauth_init_cred(ret, acred, auth, &unix_credops); in unx_lookup_cred()
167 struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in unx_validate() local
189 auth->au_verfsize = XDR_QUADLEN(size) + 2; in unx_validate()
190 auth->au_rslack = XDR_QUADLEN(size) + 2; in unx_validate()
191 auth->au_ralign = XDR_QUADLEN(size) + 2; in unx_validate()
/linux/drivers/target/iscsi/
A Discsi_target_auth.c139 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()
210 struct iscsi_node_auth *auth, in chap_server_compute_hash() argument
284 compare_len = strlen(auth->userid) + 1; in chap_server_compute_hash()
285 if (strncmp(chap_n, auth->userid, compare_len) != 0) { in chap_server_compute_hash()
341 strlen(auth->password)); in chap_server_compute_hash()
369 if (!auth->authenticate_target) { in chap_server_compute_hash()
455 strlen(auth->password_mutual)); in chap_server_compute_hash()
501 struct iscsi_node_auth *auth, in chap_main_loop() argument
[all …]
A Discsi_target_configfs.c357 if (count >= sizeof(auth->name)) \
359 snprintf(auth->name, sizeof(auth->name), "%s", page); \
361 auth->naf_flags &= ~flags; \
363 auth->naf_flags |= flags; \
367 auth->authenticate_target = 1; \
369 auth->authenticate_target = 0; \
823 snprintf(auth->name, sizeof(auth->name), "%s", page); \
825 auth->naf_flags &= ~flags; \
827 auth->naf_flags |= flags; \
831 auth->authenticate_target = 1; \
[all …]
/linux/net/sctp/
A Doutput.c67 packet->auth = NULL; in sctp_packet_reset()
245 struct sctp_chunk *auth; in sctp_packet_bundle_auth() local
260 if (!chunk->auth) in sctp_packet_bundle_auth()
264 if (!auth) in sctp_packet_bundle_auth()
267 auth->shkey = chunk->shkey; in sctp_packet_bundle_auth()
273 sctp_chunk_free(auth); in sctp_packet_bundle_auth()
367 packet->auth = chunk; in __sctp_packet_append_chunk()
462 if (chunk == packet->auth) in sctp_packet_pack()
518 if (auth) { in sctp_packet_pack()
792 if ((packet->auth && chunk->shkey != packet->auth->shkey) || in sctp_packet_will_fit()
[all …]
/linux/tools/testing/selftests/tpm2/
A Dtpm2_tests.py24 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)
34 auth = ('A' * 15).encode()
45 blob = self.client.seal(self.root_key, data, auth, policy_dig)
62 auth = ('A' * 20).encode()
65 blob = self.client.seal(self.root_key, data, auth, None)
68 auth[:-1] + 'B'.encode(), None)
78 auth = ('A' * 17).encode()
135 auth = ('A' * (ds + 1)).encode()
[all …]
/linux/net/ceph/
A Dauth_none.c95 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 Dauth.c309 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 Dauth_x.c513 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 …]
A Dmon_client.c198 ceph_auth_reset(monc->auth); in __close_session()
272 ret = ceph_auth_build_hello(monc->auth, in __open_session()
1171 if (IS_ERR(monc->auth)) { in ceph_monc_init()
1172 err = PTR_ERR(monc->auth); in ceph_monc_init()
1175 monc->auth->want_keys = in ceph_monc_init()
1224 ceph_auth_destroy(monc->auth); in ceph_monc_init()
1250 ceph_auth_destroy(monc->auth); in ceph_monc_stop()
1289 __func__, monc->auth->global_id); in finish_auth()
1293 cpu_to_le64(monc->auth->global_id); in finish_auth()
1310 was_authed = ceph_auth_is_authenticated(monc->auth); in handle_auth_reply()
[all …]
/linux/crypto/asymmetric_keys/
A Dpkcs7_verify.c204 struct asymmetric_key_id *auth; in pkcs7_verify_sig_chain() local
257 auth = sig->auth_ids[0]; in pkcs7_verify_sig_chain()
258 if (auth) { in pkcs7_verify_sig_chain()
259 pr_debug("- want %*phN\n", auth->len, auth->data); in pkcs7_verify_sig_chain()
263 if (asymmetric_key_id_same(p->id, auth)) in pkcs7_verify_sig_chain()
267 auth = sig->auth_ids[1]; in pkcs7_verify_sig_chain()
268 pr_debug("- want %*phN\n", auth->len, auth->data); in pkcs7_verify_sig_chain()
274 if (asymmetric_key_id_same(p->skid, auth)) in pkcs7_verify_sig_chain()
/linux/net/sunrpc/auth_gss/
A Dauth_gss.c248 struct gss_auth *auth; member
292 gss_put_auth(gss_msg->auth); in gss_release_msg()
304 if (auth && pos->auth->service != auth->service) in __gss_find_upcall()
497 gss_msg->auth->target_name, in gss_v1_upcall()
526 gss_msg->auth = gss_auth; in gss_alloc_msg()
1001 struct rpc_auth * auth; in gss_create_new() local
1026 auth = &gss_auth->rpc_auth; in gss_create_new()
1032 auth->au_ops = &authgss_ops; in gss_create_new()
1033 auth->au_flavor = flavor; in gss_create_new()
1920 auth->au_ralign = auth->au_verfsize + before; in gss_update_rslack()
[all …]
/linux/Documentation/networking/
A Dmac80211-auth-assoc-deauth.txt35 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/net/xfrm/
A Dxfrm_algo.c179 .auth = {
199 .auth = {
219 .auth = {
239 .auth = {
258 .auth = {
277 .auth = {
297 .auth = {
316 .auth = {
336 .auth = {
/linux/drivers/gpu/drm/
A Ddrm_auth.c96 struct drm_auth *auth = data; in drm_getmagic() local
106 auth->magic = file_priv->magic; in drm_getmagic()
109 DRM_DEBUG("%u\n", auth->magic); in drm_getmagic()
117 struct drm_auth *auth = data; in drm_authmagic() local
120 DRM_DEBUG("%u\n", auth->magic); in drm_authmagic()
123 file = idr_find(&file_priv->master->magic_map, auth->magic); in drm_authmagic()
126 idr_replace(&file_priv->master->magic_map, NULL, auth->magic); in drm_authmagic()
/linux/drivers/crypto/
A Datmel-authenc.h32 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,
/linux/drivers/thunderbolt/
A Dicm.c2195 get_route(auth->reply.route_hi, auth->reply.route_lo), in icm_usb4_switch_nvm_auth_complete()
2196 auth->reply.hdr.flags, auth->reply.status); in icm_usb4_switch_nvm_auth_complete()
2201 icm->last_nvm_auth = auth; in icm_usb4_switch_nvm_auth_complete()
2212 auth = kzalloc(sizeof(*auth), GFP_KERNEL); in icm_usb4_switch_nvm_authenticate()
2213 if (!auth) in icm_usb4_switch_nvm_authenticate()
2216 auth->icm = icm; in icm_usb4_switch_nvm_authenticate()
2242 auth); in icm_usb4_switch_nvm_authenticate()
2251 kfree(auth); in icm_usb4_switch_nvm_authenticate()
2331 if (auth && auth->reply.route_hi == sw->config.route_hi && in icm_usb4_switch_nvm_authenticate_status()
2334 tb_route(sw), auth->reply.hdr.flags, auth->reply.status); in icm_usb4_switch_nvm_authenticate_status()
[all …]

Completed in 53 milliseconds

1234567891011