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 e564d5ff87816380ccf65712c99bf8fa9c9bf4ee..0d561ecb686943e7063c167ba096030bb95b8e3d 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 4211e4456b1e72af149f579e77d0aecd55895a67..c59d47fe79396f6f20d120516e7187b92f12196f 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 ebb3ad6b5e7e6bf72f25bd0fad8ce2e16e00862a..4696f8364b35a5b68a7dfbb2a35e57ee75645bc4 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>