aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-11-25 00:57:00 +0200
committerJouni Malinen <j@w1.fi>2009-11-25 00:57:00 +0200
commit8e2c104fa148c02da21fd87712a697ba6522a8b4 (patch)
treeb0ecbdd8055a04b773584d8d2a9229949995d219 /src/crypto
parent73d0ad78c8d192a57095ecbfae0185813a05b8b9 (diff)
downloadexternal_wpa_supplicant_8_ti-8e2c104fa148c02da21fd87712a697ba6522a8b4.zip
external_wpa_supplicant_8_ti-8e2c104fa148c02da21fd87712a697ba6522a8b4.tar.gz
external_wpa_supplicant_8_ti-8e2c104fa148c02da21fd87712a697ba6522a8b4.tar.bz2
Resolve some sparse warnings
Mainly, this is including header files to get definitions for functions which is good to verify that the parameters match. None of these are issues that would have shown as incorrect behavior of the program.
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/aes-cbc.c1
-rw-r--r--src/crypto/aes-ctr.c1
-rw-r--r--src/crypto/aes-encblock.c1
-rw-r--r--src/crypto/aes-omac1.c1
-rw-r--r--src/crypto/aes-unwrap.c1
-rw-r--r--src/crypto/crypto_openssl.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/src/crypto/aes-cbc.c b/src/crypto/aes-cbc.c
index 4e4cd7f..bd74769 100644
--- a/src/crypto/aes-cbc.c
+++ b/src/crypto/aes-cbc.c
@@ -17,6 +17,7 @@
#include "common.h"
#include "aes.h"
+#include "aes_wrap.h"
/**
* aes_128_cbc_encrypt - AES-128 CBC encryption
diff --git a/src/crypto/aes-ctr.c b/src/crypto/aes-ctr.c
index 997f428..468f877 100644
--- a/src/crypto/aes-ctr.c
+++ b/src/crypto/aes-ctr.c
@@ -17,6 +17,7 @@
#include "common.h"
#include "aes.h"
+#include "aes_wrap.h"
/**
* aes_128_ctr_encrypt - AES-128 CTR mode encryption
diff --git a/src/crypto/aes-encblock.c b/src/crypto/aes-encblock.c
index a1d56f5..8f35caa 100644
--- a/src/crypto/aes-encblock.c
+++ b/src/crypto/aes-encblock.c
@@ -17,6 +17,7 @@
#include "common.h"
#include "aes.h"
+#include "aes_wrap.h"
/**
* aes_128_encrypt_block - Perform one AES 128-bit block operation
diff --git a/src/crypto/aes-omac1.c b/src/crypto/aes-omac1.c
index d9712b5..f775296 100644
--- a/src/crypto/aes-omac1.c
+++ b/src/crypto/aes-omac1.c
@@ -17,6 +17,7 @@
#include "common.h"
#include "aes.h"
+#include "aes_wrap.h"
static void gf_mulx(u8 *pad)
{
diff --git a/src/crypto/aes-unwrap.c b/src/crypto/aes-unwrap.c
index afaa47a..f233ffa 100644
--- a/src/crypto/aes-unwrap.c
+++ b/src/crypto/aes-unwrap.c
@@ -17,6 +17,7 @@
#include "common.h"
#include "aes.h"
+#include "aes_wrap.h"
/**
* aes_unwrap - Unwrap key with AES Key Wrap Algorithm (128-bit KEK) (RFC3394)
diff --git a/src/crypto/crypto_openssl.c b/src/crypto/crypto_openssl.c
index 93d7b59..e1fcf47 100644
--- a/src/crypto/crypto_openssl.c
+++ b/src/crypto/crypto_openssl.c
@@ -23,6 +23,7 @@
#include "common.h"
#include "wpabuf.h"
+#include "dh_group5.h"
#include "crypto.h"
#if OPENSSL_VERSION_NUMBER < 0x00907000