]>
git.ipfire.org Git - thirdparty/linux.git/blob - crypto/skcipher.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright (c) 2023 Herbert Xu <herbert@gondor.apana.org.au>
7 #ifndef _LOCAL_CRYPTO_SKCIPHER_H
8 #define _LOCAL_CRYPTO_SKCIPHER_H
10 #include <crypto/internal/skcipher.h>
13 static inline struct crypto_istat_cipher
*skcipher_get_stat_common(
14 struct skcipher_alg_common
*alg
)
16 #ifdef CONFIG_CRYPTO_STATS
23 int crypto_lskcipher_encrypt_sg(struct skcipher_request
*req
);
24 int crypto_lskcipher_decrypt_sg(struct skcipher_request
*req
);
25 int crypto_init_lskcipher_ops_sg(struct crypto_tfm
*tfm
);
26 int skcipher_prepare_alg_common(struct skcipher_alg_common
*alg
);
28 #endif /* _LOCAL_CRYPTO_SKCIPHER_H */