linux/net/ceph/auth_none.c

// SPDX-License-Identifier: GPL-2.0

#include <linux/ceph/ceph_debug.h>

#include <linux/err.h>
#include <linux/module.h>
#include <linux/random.h>
#include <linux/slab.h>

#include <linux/ceph/decode.h>
#include <linux/ceph/auth.h>

#include "auth_none.h"

static void reset(struct ceph_auth_client *ac)
{}

static void destroy(struct ceph_auth_client *ac)
{}

static int is_authenticated(struct ceph_auth_client *ac)
{}

static int should_authenticate(struct ceph_auth_client *ac)
{}

static int ceph_auth_none_build_authorizer(struct ceph_auth_client *ac,
					   struct ceph_none_authorizer *au)
{}

static int build_request(struct ceph_auth_client *ac, void *buf, void *end)
{}

/*
 * the generic auth code decode the global_id, and we carry no actual
 * authenticate state, so nothing happens here.
 */
static int handle_reply(struct ceph_auth_client *ac, u64 global_id,
			void *buf, void *end, u8 *session_key,
			int *session_key_len, u8 *con_secret,
			int *con_secret_len)
{}

static void ceph_auth_none_destroy_authorizer(struct ceph_authorizer *a)
{}

/*
 * build an 'authorizer' with our entity_name and global_id.  it is
 * identical for all services we connect to.
 */
static int ceph_auth_none_create_authorizer(
	struct ceph_auth_client *ac, int peer_type,
	struct ceph_auth_handshake *auth)
{}

static const struct ceph_auth_client_ops ceph_auth_none_ops =;

int ceph_auth_none_init(struct ceph_auth_client *ac)
{}