Home
last modified time | relevance | path

Searched refs:con_secret (Results 1 – 6 of 6) sorted by relevance

/net/ceph/
Dauth_x.c572 static int decode_con_secret(void **p, void *end, u8 *con_secret, in decode_con_secret() argument
581 if (con_secret) { in decode_con_secret()
586 memcpy(con_secret, *p, len); in decode_con_secret()
603 u8 *con_secret, int *con_secret_len) in handle_auth_session_key() argument
619 WARN_ON(session_key || con_secret); in handle_auth_session_key()
644 ret = decode_con_secret(&dp, dend, con_secret, con_secret_len); in handle_auth_session_key()
668 u8 *con_secret, int *con_secret_len) in ceph_x_handle_reply() argument
701 con_secret, con_secret_len); in ceph_x_handle_reply()
846 u8 *con_secret, int *con_secret_len) in decrypt_authorizer_reply() argument
864 ret = decode_con_secret(&dp, dend, con_secret, con_secret_len); in decrypt_authorizer_reply()
[all …]
Dauth.c367 u8 *con_secret, int *con_secret_len) in ceph_auth_verify_authorizer_reply() argument
375 con_secret, con_secret_len); in ceph_auth_verify_authorizer_reply()
494 u8 *con_secret, int *con_secret_len) in ceph_auth_handle_reply_done() argument
501 con_secret, con_secret_len); in ceph_auth_handle_reply_done()
605 u8 *con_secret, int *con_secret_len) in ceph_auth_handle_svc_reply_done() argument
609 con_secret, con_secret_len); in ceph_auth_handle_svc_reply_done()
Dauth_none.c74 int *session_key_len, u8 *con_secret, in handle_reply() argument
Dmessenger_v2.c704 const u8 *con_secret, int con_secret_len) in setup_crypto() argument
764 WARN_ON((unsigned long)con_secret & in setup_crypto()
766 ret = crypto_aead_setkey(con->v2.gcm_tfm, con_secret, CEPH_GCM_KEY_LEN); in setup_crypto()
789 memcpy(&con->v2.in_gcm_nonce, con_secret + CEPH_GCM_KEY_LEN, in setup_crypto()
792 con_secret + CEPH_GCM_KEY_LEN + CEPH_GCM_IV_LEN, in setup_crypto()
2058 u8 *con_secret = PTR_ALIGN(&con_secret_buf[0], 16); in process_auth_done() local
2081 con_secret, &con_secret_len); in process_auth_done()
2094 ret = setup_crypto(con, session_key, session_key_len, con_secret, in process_auth_done()
Dmon_client.c1394 u8 *con_secret, int *con_secret_len) in mon_handle_auth_done() argument
1406 con_secret, con_secret_len); in mon_handle_auth_done()
Dosd_client.c5621 u8 *con_secret, int *con_secret_len) in osd_handle_auth_done() argument
5629 con_secret, con_secret_len); in osd_handle_auth_done()