summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/pk/pkcs1
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/pkcs1
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/pkcs1')
-rw-r--r--libtomcrypt/pk/pkcs1/pkcs_1_mgf1.c3
-rw-r--r--libtomcrypt/pk/pkcs1/pkcs_1_oaep_decode.c3
-rw-r--r--libtomcrypt/pk/pkcs1/pkcs_1_oaep_encode.c1
-rw-r--r--libtomcrypt/pk/pkcs1/pkcs_1_pss_decode.c3
-rw-r--r--libtomcrypt/pk/pkcs1/pkcs_1_pss_encode.c3
5 files changed, 9 insertions, 4 deletions
diff --git a/libtomcrypt/pk/pkcs1/pkcs_1_mgf1.c b/libtomcrypt/pk/pkcs1/pkcs_1_mgf1.c
index 58052eb..86ba218 100644
--- a/libtomcrypt/pk/pkcs1/pkcs_1_mgf1.c
+++ b/libtomcrypt/pk/pkcs1/pkcs_1_mgf1.c
@@ -10,8 +10,9 @@
*/
#include "tomcrypt.h"
#include <ncr-int.h>
+#include <linux/slab.h>
-/**
+/**
@file pkcs_1_mgf1.c
The Mask Generation Function (MGF1) for LTC_PKCS #1, Tom St Denis
*/
diff --git a/libtomcrypt/pk/pkcs1/pkcs_1_oaep_decode.c b/libtomcrypt/pk/pkcs1/pkcs_1_oaep_decode.c
index 5214a29..717d99d 100644
--- a/libtomcrypt/pk/pkcs1/pkcs_1_oaep_decode.c
+++ b/libtomcrypt/pk/pkcs1/pkcs_1_oaep_decode.c
@@ -10,8 +10,9 @@
*/
#include "tomcrypt.h"
#include <ncr-int.h>
+#include <linux/slab.h>
-/**
+/**
@file pkcs_1_oaep_decode.c
OAEP Padding for LTC_PKCS #1, Tom St Denis
*/
diff --git a/libtomcrypt/pk/pkcs1/pkcs_1_oaep_encode.c b/libtomcrypt/pk/pkcs1/pkcs_1_oaep_encode.c
index ef644f9..331516f 100644
--- a/libtomcrypt/pk/pkcs1/pkcs_1_oaep_encode.c
+++ b/libtomcrypt/pk/pkcs1/pkcs_1_oaep_encode.c
@@ -10,6 +10,7 @@
*/
#include "tomcrypt.h"
#include <ncr-int.h>
+#include <linux/slab.h>
/**
@file pkcs_1_oaep_encode.c
diff --git a/libtomcrypt/pk/pkcs1/pkcs_1_pss_decode.c b/libtomcrypt/pk/pkcs1/pkcs_1_pss_decode.c
index b9ade4b..5d44ce8 100644
--- a/libtomcrypt/pk/pkcs1/pkcs_1_pss_decode.c
+++ b/libtomcrypt/pk/pkcs1/pkcs_1_pss_decode.c
@@ -10,8 +10,9 @@
*/
#include "tomcrypt.h"
#include <ncr-int.h>
+#include <linux/slab.h>
-/**
+/**
@file pkcs_1_pss_decode.c
LTC_PKCS #1 PSS Signature Padding, Tom St Denis
*/
diff --git a/libtomcrypt/pk/pkcs1/pkcs_1_pss_encode.c b/libtomcrypt/pk/pkcs1/pkcs_1_pss_encode.c
index f8f763b..9416eae 100644
--- a/libtomcrypt/pk/pkcs1/pkcs_1_pss_encode.c
+++ b/libtomcrypt/pk/pkcs1/pkcs_1_pss_encode.c
@@ -10,8 +10,9 @@
*/
#include "tomcrypt.h"
#include <ncr-int.h>
+#include <linux/slab.h>
-/**
+/**
@file pkcs_1_pss_encode.c
LTC_PKCS #1 PSS Signature Padding, Tom St Denis
*/