Skip to content

Commit

Permalink
testmgr: support newer kernels
Browse files Browse the repository at this point in the history
Since the commit 0eb76ba29d16 ("crypto: remove cipher routines from
public crypto API") cipher routines (used by the test manager) were
pushed into separate header file (and separate namespace). Add
corresponding changes.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
  • Loading branch information
lumag committed Feb 12, 2022
1 parent c19719d commit 08bff40
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions testmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/version.h>
#if 0
#include <crypto/aead.h>
#include <crypto/akcipher.h>
#include <crypto/kpp.h>

#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 12, 0)
#include <crypto/internal/cipher.h>
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
#endif

#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0)
Expand Down

0 comments on commit 08bff40

Please sign in to comment.