linux/crypto/bpf_crypto_skcipher.c

// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2024 Meta, Inc */
#include <linux/types.h>
#include <linux/module.h>
#include <linux/bpf_crypto.h>
#include <crypto/skcipher.h>

static void *bpf_crypto_lskcipher_alloc_tfm(const char *algo)
{}

static void bpf_crypto_lskcipher_free_tfm(void *tfm)
{}

static int bpf_crypto_lskcipher_has_algo(const char *algo)
{}

static int bpf_crypto_lskcipher_setkey(void *tfm, const u8 *key, unsigned int keylen)
{}

static u32 bpf_crypto_lskcipher_get_flags(void *tfm)
{}

static unsigned int bpf_crypto_lskcipher_ivsize(void *tfm)
{}

static unsigned int bpf_crypto_lskcipher_statesize(void *tfm)
{}

static int bpf_crypto_lskcipher_encrypt(void *tfm, const u8 *src, u8 *dst,
					unsigned int len, u8 *siv)
{}

static int bpf_crypto_lskcipher_decrypt(void *tfm, const u8 *src, u8 *dst,
					unsigned int len, u8 *siv)
{}

static const struct bpf_crypto_type bpf_crypto_lskcipher_type =;

static int __init bpf_crypto_skcipher_init(void)
{}

static void __exit bpf_crypto_skcipher_exit(void)
{}

module_init();
module_exit(bpf_crypto_skcipher_exit);
MODULE_LICENSE();