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>
This commit is contained in:
17
include/crypto/internal/simd.h
Normal file
17
include/crypto/internal/simd.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Shared crypto simd helpers
|
||||
*/
|
||||
|
||||
#ifndef _CRYPTO_INTERNAL_SIMD_H
|
||||
#define _CRYPTO_INTERNAL_SIMD_H
|
||||
|
||||
struct simd_skcipher_alg;
|
||||
|
||||
struct simd_skcipher_alg *simd_skcipher_create_compat(const char *algname,
|
||||
const char *drvname,
|
||||
const char *basename);
|
||||
struct simd_skcipher_alg *simd_skcipher_create(const char *algname,
|
||||
const char *basename);
|
||||
void simd_skcipher_free(struct simd_skcipher_alg *alg);
|
||||
|
||||
#endif /* _CRYPTO_INTERNAL_SIMD_H */
|
Reference in New Issue
Block a user