1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Shared crypto simd helpers
6 #ifndef _CRYPTO_INTERNAL_SIMD_H
7 #define _CRYPTO_INTERNAL_SIMD_H
9 struct simd_skcipher_alg
;
12 struct simd_skcipher_alg
*simd_skcipher_create_compat(const char *algname
,
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 */