From: Gregory Greenman <gregory.greenman@xxxxxxxxx> This adds crypto/utils.h header introduced in c616fb0cbae8 ("crypto: lib/utils - Move utilities into new header") Signed-off-by: Gregory Greenman <gregory.greenman@xxxxxxxxx> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- backport/backport-include/crypto/utils.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 backport/backport-include/crypto/utils.h diff --git a/backport/backport-include/crypto/utils.h b/backport/backport-include/crypto/utils.h new file mode 100644 index 000000000000..aa55df78a398 --- /dev/null +++ b/backport/backport-include/crypto/utils.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Cryptographic utilities + * + * Copyright (c) 2023 Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> + */ +#ifndef _BACKPORT_CRYPTO_UTILS_H +#define _BACKPORT_CRYPTO_UTILS_H + +#if LINUX_VERSION_IS_GEQ(6,4,0) +#include_next <crypto/utils.h> +#else +#include <crypto/algapi.h> +#endif /* < 6.4.0 */ + +#endif /* _BACKPORT_CRYPTO_UTILS_H */ -- 2.45.1