1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Shared crypto simd helpers
4 */
5
6#ifndef _CRYPTO_INTERNAL_SIMD_H
7#define _CRYPTO_INTERNAL_SIMD_H
8
9struct simd_skcipher_alg;
10struct skcipher_alg;
11
12struct simd_skcipher_alg *simd_skcipher_create_compat(const char *algname,
13 const char *drvname,
14 const char *basename);
15struct simd_skcipher_alg *simd_skcipher_create(const char *algname,
16 const char *basename);
17void simd_skcipher_free(struct simd_skcipher_alg *alg);
18
19int simd_register_skciphers_compat(struct skcipher_alg *algs, int count,
20 struct simd_skcipher_alg **simd_algs);
21
22void simd_unregister_skciphers(struct skcipher_alg *algs, int count,
23 struct simd_skcipher_alg **simd_algs);
24
25#endif /* _CRYPTO_INTERNAL_SIMD_H */
26