aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-11-22 07:08:25 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2016-11-28 08:23:18 -0500
commit266d05160101752a12e43bb6bbed45aea9f2e788 (patch)
tree80d6a25a956d465011f82a3c8b89085421cac4c0 /include
parent4e0958d19bd86ee8121cf044eac4395c7e504fb3 (diff)
crypto: simd - Add simd skcipher helper
This patch adds the simd skcipher helper which is meant to be a replacement for ablk helper. It replaces the underlying blkcipher interface with skcipher, and also presents the top-level algorithm as an skcipher. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
-rw-r--r--include/crypto/internal/simd.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/crypto/internal/simd.h b/include/crypto/internal/simd.h
new file mode 100644
index 000000000000..429509968f68
--- /dev/null
+++ b/include/crypto/internal/simd.h
@@ -0,0 +1,17 @@
1/*
2 * Shared crypto simd helpers
3 */
4
5#ifndef _CRYPTO_INTERNAL_SIMD_H
6#define _CRYPTO_INTERNAL_SIMD_H
7
8struct simd_skcipher_alg;
9
10struct simd_skcipher_alg *simd_skcipher_create_compat(const char *algname,
11 const char *drvname,
12 const char *basename);
13struct simd_skcipher_alg *simd_skcipher_create(const char *algname,
14 const char *basename);
15void simd_skcipher_free(struct simd_skcipher_alg *alg);
16
17#endif /* _CRYPTO_INTERNAL_SIMD_H */