ubifs: Do not include crypto/algapi.h
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 22 Aug 2023 09:23:58 +0000 (17:23 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Sep 2023 10:30:43 +0000 (18:30 +0800)
The header file crypto/algapi.h is for internal use only.  Use the
header file crypto/utils.h instead.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
fs/ubifs/auth.c
fs/ubifs/replay.c
fs/ubifs/ubifs.h

index e564d5f..0d561ec 100644 (file)
@@ -9,10 +9,9 @@
  * This file implements various helper functions for UBIFS authentication support
  */
 
-#include <linux/crypto.h>
 #include <linux/verification.h>
 #include <crypto/hash.h>
-#include <crypto/algapi.h>
+#include <crypto/utils.h>
 #include <keys/user-type.h>
 #include <keys/asymmetric-type.h>
 
index 4211e44..c59d47f 100644 (file)
@@ -23,7 +23,6 @@
 #include "ubifs.h"
 #include <linux/list_sort.h>
 #include <crypto/hash.h>
-#include <crypto/algapi.h>
 
 /**
  * struct replay_entry - replay list entry.
index ebb3ad6..4696f83 100644 (file)
@@ -31,7 +31,7 @@
 #include <linux/completion.h>
 #include <crypto/hash_info.h>
 #include <crypto/hash.h>
-#include <crypto/algapi.h>
+#include <crypto/utils.h>
 
 #include <linux/fscrypt.h>