linux/drivers/net/ethernet/fungible/funeth/funeth_ktls.c

// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)

#include "funeth.h"
#include "funeth_ktls.h"

static int fun_admin_ktls_create(struct funeth_priv *fp, unsigned int id)
{}

static int fun_ktls_add(struct net_device *netdev, struct sock *sk,
			enum tls_offload_ctx_dir direction,
			struct tls_crypto_info *crypto_info,
			u32 start_offload_tcp_sn)
{}

static void fun_ktls_del(struct net_device *netdev,
			 struct tls_context *tls_ctx,
			 enum tls_offload_ctx_dir direction)
{}

static int fun_ktls_resync(struct net_device *netdev, struct sock *sk, u32 seq,
			   u8 *rcd_sn, enum tls_offload_ctx_dir direction)
{}

static const struct tlsdev_ops fun_ktls_ops =;

int fun_ktls_init(struct net_device *netdev)
{}

void fun_ktls_cleanup(struct funeth_priv *fp)
{}