crypto: nx - Add missing header inclusions

The gutting of crypto/ctr.h uncovered missing header inclusions.
Add them.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Herbert Xu 2025-04-07 18:11:26 +08:00
parent 5f3437e9c8
commit ab0f46cefd
5 changed files with 21 additions and 12 deletions

View File

@ -8,10 +8,12 @@
*/
#include <crypto/aes.h>
#include <crypto/algapi.h>
#include <crypto/internal/skcipher.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/crypto.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <asm/vio.h>
#include "nx_csbcpb.h"

View File

@ -9,10 +9,12 @@
#include <crypto/aes.h>
#include <crypto/ctr.h>
#include <crypto/algapi.h>
#include <crypto/internal/skcipher.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/crypto.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <asm/vio.h>
#include "nx_csbcpb.h"

View File

@ -8,10 +8,12 @@
*/
#include <crypto/aes.h>
#include <crypto/algapi.h>
#include <crypto/internal/skcipher.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/crypto.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <asm/vio.h>
#include "nx_csbcpb.h"

View File

@ -7,11 +7,11 @@
* Author: Kent Yoder <yoder1@us.ibm.com>
*/
#include <crypto/aes.h>
#include <crypto/internal/aead.h>
#include <crypto/internal/hash.h>
#include <crypto/aes.h>
#include <crypto/internal/skcipher.h>
#include <crypto/sha2.h>
#include <crypto/algapi.h>
#include <crypto/scatterwalk.h>
#include <linux/module.h>
#include <linux/moduleparam.h>

View File

@ -4,6 +4,9 @@
#define __NX_H__
#include <crypto/ctr.h>
#include <crypto/internal/aead.h>
#include <crypto/internal/hash.h>
#include <crypto/internal/skcipher.h>
#define NX_NAME "nx-crypto"
#define NX_STRING "IBM Power7+ Nest Accelerator Crypto Driver"
@ -139,7 +142,7 @@ struct nx_crypto_ctx {
} priv;
};
struct crypto_aead;
struct scatterlist;
/* prototypes */
int nx_crypto_ctx_aes_ccm_init(struct crypto_aead *tfm);