|
9 | 9 | */ |
10 | 10 |
|
11 | 11 | #include <crypto/algapi.h> |
| 12 | +#include <crypto/internal/cipher.h> |
12 | 13 | #include <linux/kernel.h> |
13 | 14 | #include <linux/crypto.h> |
14 | 15 | #include <linux/errno.h> |
@@ -53,7 +54,7 @@ int crypto_cipher_setkey(struct crypto_cipher *tfm, |
53 | 54 |
|
54 | 55 | return cia->cia_setkey(crypto_cipher_tfm(tfm), key, keylen); |
55 | 56 | } |
56 | | -EXPORT_SYMBOL_GPL(crypto_cipher_setkey); |
| 57 | +EXPORT_SYMBOL_NS_GPL(crypto_cipher_setkey, CRYPTO_INTERNAL); |
57 | 58 |
|
58 | 59 | static inline void cipher_crypt_one(struct crypto_cipher *tfm, |
59 | 60 | u8 *dst, const u8 *src, bool enc) |
@@ -81,11 +82,11 @@ void crypto_cipher_encrypt_one(struct crypto_cipher *tfm, |
81 | 82 | { |
82 | 83 | cipher_crypt_one(tfm, dst, src, true); |
83 | 84 | } |
84 | | -EXPORT_SYMBOL_GPL(crypto_cipher_encrypt_one); |
| 85 | +EXPORT_SYMBOL_NS_GPL(crypto_cipher_encrypt_one, CRYPTO_INTERNAL); |
85 | 86 |
|
86 | 87 | void crypto_cipher_decrypt_one(struct crypto_cipher *tfm, |
87 | 88 | u8 *dst, const u8 *src) |
88 | 89 | { |
89 | 90 | cipher_crypt_one(tfm, dst, src, false); |
90 | 91 | } |
91 | | -EXPORT_SYMBOL_GPL(crypto_cipher_decrypt_one); |
| 92 | +EXPORT_SYMBOL_NS_GPL(crypto_cipher_decrypt_one, CRYPTO_INTERNAL); |
0 commit comments