summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/pk/rsa
diff options
context:
space:
mode:
authorJan Chadima <jchadima@redhat.com>2010-08-05 18:45:01 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-05 18:45:01 +0200
commitec81bc91006efb7516ad16fd551a290cf634822b (patch)
tree051f81e24e2509e37fae64fd31ddfed0b6a59e5c /libtomcrypt/pk/rsa
parent85b4cdcb94355e284c1fff81311b5a039861a01d (diff)
downloadcryptodev-linux-ec81bc91006efb7516ad16fd551a290cf634822b.tar.gz
cryptodev-linux-ec81bc91006efb7516ad16fd551a290cf634822b.tar.xz
cryptodev-linux-ec81bc91006efb7516ad16fd551a290cf634822b.zip
Fix build with recent kernels
Diffstat (limited to 'libtomcrypt/pk/rsa')
-rw-r--r--libtomcrypt/pk/rsa/rsa_decrypt_key.c1
-rw-r--r--libtomcrypt/pk/rsa/rsa_export.c1
-rw-r--r--libtomcrypt/pk/rsa/rsa_import.c1
-rw-r--r--libtomcrypt/pk/rsa/rsa_sign_hash.c1
-rw-r--r--libtomcrypt/pk/rsa/rsa_verify_hash.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/libtomcrypt/pk/rsa/rsa_decrypt_key.c b/libtomcrypt/pk/rsa/rsa_decrypt_key.c
index a8f3ac4..ba16e32 100644
--- a/libtomcrypt/pk/rsa/rsa_decrypt_key.c
+++ b/libtomcrypt/pk/rsa/rsa_decrypt_key.c
@@ -10,6 +10,7 @@
*/
#include "tomcrypt.h"
#include "ncr-int.h"
+#include <linux/slab.h>
/**
@file rsa_decrypt_key.c
diff --git a/libtomcrypt/pk/rsa/rsa_export.c b/libtomcrypt/pk/rsa/rsa_export.c
index 905bb6f..c5e8ff0 100644
--- a/libtomcrypt/pk/rsa/rsa_export.c
+++ b/libtomcrypt/pk/rsa/rsa_export.c
@@ -10,6 +10,7 @@
*/
#include "tomcrypt.h"
#include <ncr-int.h>
+#include <linux/slab.h>
/**
@file rsa_export.c
Export RSA LTC_PKCS keys, Tom St Denis
diff --git a/libtomcrypt/pk/rsa/rsa_import.c b/libtomcrypt/pk/rsa/rsa_import.c
index 2eaa0a9..8bd8c47 100644
--- a/libtomcrypt/pk/rsa/rsa_import.c
+++ b/libtomcrypt/pk/rsa/rsa_import.c
@@ -9,6 +9,7 @@
* Tom St Denis, tomstdenis@gmail.com, http://libtom.org
*/
#include "tomcrypt.h"
+#include <linux/slab.h>
/**
@file rsa_import.c
diff --git a/libtomcrypt/pk/rsa/rsa_sign_hash.c b/libtomcrypt/pk/rsa/rsa_sign_hash.c
index f27789d..b3c2f5b 100644
--- a/libtomcrypt/pk/rsa/rsa_sign_hash.c
+++ b/libtomcrypt/pk/rsa/rsa_sign_hash.c
@@ -10,6 +10,7 @@
*/
#include "tomcrypt.h"
#include "ncr-int.h"
+#include <linux/slab.h>
/**
@file rsa_sign_hash.c
diff --git a/libtomcrypt/pk/rsa/rsa_verify_hash.c b/libtomcrypt/pk/rsa/rsa_verify_hash.c
index c8a113d..b9ef89f 100644
--- a/libtomcrypt/pk/rsa/rsa_verify_hash.c
+++ b/libtomcrypt/pk/rsa/rsa_verify_hash.c
@@ -10,6 +10,7 @@
*/
#include "tomcrypt.h"
#include "ncr-int.h"
+#include <linux/slab.h>
/**
@file rsa_verify_hash.c