Home
last modified time | relevance | path

Searched refs:authorizer (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-6.6/net/ceph/
H A Dauth.c316 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()
586 ret = ceph_auth_add_authorizer_challenge(ac, auth->authorizer, in ceph_auth_handle_svc_reply_more()
607 return ceph_auth_verify_authorizer_reply(ac, auth->authorizer, in ceph_auth_handle_svc_reply_done()
H A Dauth_none.c56 dout("%s built authorizer len %d\n", __func__, au->buf_len); in ceph_auth_none_build_authorizer()
90 * build an 'authorizer' with our entity_name and global_id. it is
112 auth->authorizer = (struct ceph_authorizer *) au; in ceph_auth_none_create_authorizer()
H A Dauth_x.c299 * authorizer. The first part (ceph_x_authorize_a) should already be
405 pr_err("failed to encrypt authorizer: %d", ret); in ceph_x_build_authorizer()
409 dout(" built authorizer nonce %llx len %d\n", au->nonce, in ceph_x_build_authorizer()
758 auth->authorizer = (struct ceph_authorizer *) au; in ceph_x_create_authorizer()
780 au = (struct ceph_x_authorizer *)auth->authorizer; in ceph_x_update_authorizer()
834 pr_err("failed to encrypt authorizer w/ challenge: %d", ret); in ceph_x_add_authorizer_challenge()
1036 ret = calc_signature((struct ceph_x_authorizer *)auth->authorizer, in ceph_x_sign_message()
1055 ret = calc_signature((struct ceph_x_authorizer *)auth->authorizer, in ceph_x_check_message_signature()
H A Dmon_client.c1245 * - any osd_client or other work that may reference an authorizer in ceph_monc_stop()
1352 void **authorizer, int *authorizer_len) in mon_get_auth_request()
1364 *authorizer = NULL; in mon_get_auth_request()
1372 void **authorizer, int *authorizer_len) in mon_handle_auth_reply_more()
1385 *authorizer = NULL; in mon_handle_auth_reply_more()
1350 mon_get_auth_request(struct ceph_connection *con, void *buf, int *buf_len, void **authorizer, int *authorizer_len) mon_get_auth_request() argument
1369 mon_handle_auth_reply_more(struct ceph_connection *con, void *reply, int reply_len, void *buf, int *buf_len, void **authorizer, int *authorizer_len) mon_handle_auth_reply_more() argument
H A Dmessenger_v2.c1393 void *authorizer, *authorizer_copy; in prepare_auth_request() local
1405 &authorizer, &authorizer_len); in prepare_auth_request()
1421 memcpy(authorizer_copy, authorizer, authorizer_len); in prepare_auth_request()
1431 void *authorizer; in prepare_auth_request_more() local
1443 &authorizer, &authorizer_len); in prepare_auth_request_more()
1456 ctrl_len, authorizer, authorizer_len, true); in prepare_auth_request_more()
H A Dosd_client.c1273 if (osd->o_auth.authorizer) { in osd_cleanup()
1275 ceph_auth_destroy_authorizer(osd->o_auth.authorizer); in osd_cleanup()
5623 return ceph_auth_add_authorizer_challenge(ac, o->o_auth.authorizer, in osd_add_authorizer_challenge()
5634 return ceph_auth_verify_authorizer_reply(ac, auth->authorizer, in osd_verify_authorizer_reply()
5651 void **authorizer, int *authorizer_len) in osd_get_auth_request()
5663 *authorizer = auth->authorizer_buf; in osd_get_auth_request()
5671 void **authorizer, int *authorizer_len) in osd_handle_auth_reply_more()
5683 *authorizer = auth->authorizer_buf; in osd_handle_auth_reply_more()
5649 osd_get_auth_request(struct ceph_connection *con, void *buf, int *buf_len, void **authorizer, int *authorizer_len) osd_get_auth_request() argument
5668 osd_handle_auth_reply_more(struct ceph_connection *con, void *reply, int reply_len, void *buf, int *buf_len, void **authorizer, int *authorizer_len) osd_handle_auth_reply_more() argument
/kernel/linux/linux-5.10/net/ceph/
H A Dauth_none.c56 dout("%s built authorizer len %d\n", __func__, au->buf_len); in ceph_auth_none_build_authorizer()
87 * build an 'authorizer' with our entity_name and global_id. it is
109 auth->authorizer = (struct ceph_authorizer *) au; in ceph_auth_none_create_authorizer()
H A Dauth_x.c296 * authorizer. The first part (ceph_x_authorize_a) should already be
401 pr_err("failed to encrypt authorizer: %d", ret); in ceph_x_build_authorizer()
405 dout(" built authorizer nonce %llx len %d\n", au->nonce, in ceph_x_build_authorizer()
650 auth->authorizer = (struct ceph_authorizer *) au; in ceph_x_create_authorizer()
672 au = (struct ceph_x_authorizer *)auth->authorizer; in ceph_x_update_authorizer()
722 pr_err("failed to encrypt authorizer w/ challenge: %d", ret); in ceph_x_add_authorizer_challenge()
879 ret = calc_signature((struct ceph_x_authorizer *)auth->authorizer, in ceph_x_sign_message()
898 ret = calc_signature((struct ceph_x_authorizer *)auth->authorizer, in ceph_x_check_message_signature()
H A Dosd_client.c1200 if (osd->o_auth.authorizer) { in osd_cleanup()
1202 ceph_auth_destroy_authorizer(osd->o_auth.authorizer); in osd_cleanup()
5534 if (force_new && auth->authorizer) { in get_authorizer()
5535 ceph_auth_destroy_authorizer(auth->authorizer); in get_authorizer()
5536 auth->authorizer = NULL; in get_authorizer()
5538 if (!auth->authorizer) { in get_authorizer()
5561 return ceph_auth_add_authorizer_challenge(ac, o->o_auth.authorizer, in add_authorizer_challenge()
5571 return ceph_auth_verify_authorizer_reply(ac, o->o_auth.authorizer); in verify_authorizer_reply()
/kernel/linux/linux-5.10/include/linux/ceph/
H A Dauth.h12 * 'authorizer' that we use when connecting to a service (mds, osd).
23 struct ceph_authorizer *authorizer; member
59 * Create authorizer for connecting to a service, and verify
64 /* ensure that an existing authorizer is up to date */
/kernel/linux/linux-6.6/include/linux/ceph/
H A Dauth.h12 * 'authorizer' that we use when connecting to a service (mds, osd).
23 struct ceph_authorizer *authorizer; member
59 * Create authorizer for connecting to a service, and verify
64 /* ensure that an existing authorizer is up to date */
H A Dmessenger.h61 void **authorizer, int *authorizer_len);
65 void **authorizer, int *authorizer_len);
334 int auth_retry; /* true if we need a newer authorizer */
/kernel/linux/linux-5.10/fs/ceph/
H A Dmds_client.c670 if (s->s_auth.authorizer) in ceph_put_mds_session()
671 ceph_auth_destroy_authorizer(s->s_auth.authorizer); in ceph_put_mds_session()
5173 if (force_new && auth->authorizer) { in get_authorizer()
5174 ceph_auth_destroy_authorizer(auth->authorizer); in get_authorizer()
5175 auth->authorizer = NULL; in get_authorizer()
5177 if (!auth->authorizer) { in get_authorizer()
5200 return ceph_auth_add_authorizer_challenge(ac, s->s_auth.authorizer, in add_authorizer_challenge()
5210 return ceph_auth_verify_authorizer_reply(ac, s->s_auth.authorizer); in verify_authorizer_reply()
/kernel/linux/linux-6.6/fs/ceph/
H A Dmds_client.c917 if (s->s_auth.authorizer) in ceph_put_mds_session()
918 ceph_auth_destroy_authorizer(s->s_auth.authorizer); in ceph_put_mds_session()
5812 return ceph_auth_add_authorizer_challenge(ac, s->s_auth.authorizer, in mds_add_authorizer_challenge()
5823 return ceph_auth_verify_authorizer_reply(ac, auth->authorizer, in mds_verify_authorizer_reply()
5841 void **authorizer, int *authorizer_len) in mds_get_auth_request()
5853 *authorizer = auth->authorizer_buf; in mds_get_auth_request()
5861 void **authorizer, int *authorizer_len) in mds_handle_auth_reply_more()
5873 *authorizer = auth->authorizer_buf; in mds_handle_auth_reply_more()
5839 mds_get_auth_request(struct ceph_connection *con, void *buf, int *buf_len, void **authorizer, int *authorizer_len) mds_get_auth_request() argument
5858 mds_handle_auth_reply_more(struct ceph_connection *con, void *reply, int reply_len, void *buf, int *buf_len, void **authorizer, int *authorizer_len) mds_handle_auth_reply_more() argument

Completed in 65 milliseconds