Linux 5.1.15
[linux/fpc-iii.git] / include / crypto / internal / simd.h
blobf18344518e322d3656faf862286a91f652970652
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Shared crypto simd helpers
4 */
6 #ifndef _CRYPTO_INTERNAL_SIMD_H
7 #define _CRYPTO_INTERNAL_SIMD_H
9 struct simd_skcipher_alg;
10 struct skcipher_alg;
12 struct simd_skcipher_alg *simd_skcipher_create_compat(const char *algname,
13 const char *drvname,
14 const char *basename);
15 struct simd_skcipher_alg *simd_skcipher_create(const char *algname,
16 const char *basename);
17 void simd_skcipher_free(struct simd_skcipher_alg *alg);
19 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count,
20 struct simd_skcipher_alg **simd_algs);
22 void simd_unregister_skciphers(struct skcipher_alg *algs, int count,
23 struct simd_skcipher_alg **simd_algs);
25 #endif /* _CRYPTO_INTERNAL_SIMD_H */