mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
crypto: nx - Add forward declaration for struct crypto_aead
The file nx.h has function prototypes that use struct crypto_aead. However, as crypto/aead.h is not included we don't have a definition for it. This patch adds a forward declaration to fix this. Reported-by: kbuild test robot <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
a26bcb0486
commit
9129c26da1
1 changed files with 2 additions and 0 deletions
|
|
@ -149,6 +149,8 @@ struct nx_crypto_ctx {
|
|||
} priv;
|
||||
};
|
||||
|
||||
struct crypto_aead;
|
||||
|
||||
/* prototypes */
|
||||
int nx_crypto_ctx_aes_ccm_init(struct crypto_aead *tfm);
|
||||
int nx_crypto_ctx_aes_gcm_init(struct crypto_aead *tfm);
|
||||
|
|
|
|||
Loading…
Reference in a new issue