diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-04-03 12:48:42 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-04-14 18:59:34 +0800 |
commit | 956abaff558ac859726e69e862593507d4fbe146 (patch) | |
tree | 1456c394531ebb5d9d5042b4288c401ca2477639 /crypto/internal.h | |
parent | 568a0f8137a119d2128e956f05b78b9b04dd0145 (diff) | |
download | linux-crypto-956abaff558ac859726e69e862593507d4fbe146.tar.gz linux-crypto-956abaff558ac859726e69e862593507d4fbe146.zip |
crypto: api - Move low-level functions into algapi.h
A number of low-level functions were exposed in crypto.h. Move
them into algapi.h (and internal.h).
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/internal.h')
-rw-r--r-- | crypto/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/internal.h b/crypto/internal.h index 932f0aaf..f84dfe64 100644 --- a/crypto/internal.h +++ b/crypto/internal.h @@ -47,6 +47,8 @@ extern struct list_head crypto_alg_list; extern struct rw_semaphore crypto_alg_sem; extern struct blocking_notifier_head crypto_chain; +int alg_test(const char *driver, const char *alg, u32 type, u32 mask); + #ifdef CONFIG_CRYPTO_MANAGER_DISABLE_TESTS static inline bool crypto_boot_test_finished(void) { |