aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-11-18 21:53:36 +0200
committerJouni Malinen <j@w1.fi>2011-11-18 21:53:36 +0200
commit19df9b0761021e983e3e3ca0d65e143347028bd5 (patch)
treef67ad35ba67de613d138cbbcb92608b8033703be /src/crypto
parent373f6c721148387a67153edcb013ab52561fe13d (diff)
downloadexternal_wpa_supplicant_8_ti-19df9b0761021e983e3e3ca0d65e143347028bd5.zip
external_wpa_supplicant_8_ti-19df9b0761021e983e3e3ca0d65e143347028bd5.tar.gz
external_wpa_supplicant_8_ti-19df9b0761021e983e3e3ca0d65e143347028bd5.tar.bz2
Mark local functions static
These functions are not used outside the file in which they are defined. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/aes-internal-dec.c2
-rw-r--r--src/crypto/aes-internal-enc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/aes-internal-dec.c b/src/crypto/aes-internal-dec.c
index 2d32c03..a0fc45b 100644
--- a/src/crypto/aes-internal-dec.c
+++ b/src/crypto/aes-internal-dec.c
@@ -32,7 +32,7 @@
*
* @return the number of rounds for the given cipher key size.
*/
-void rijndaelKeySetupDec(u32 rk[/*44*/], const u8 cipherKey[])
+static void rijndaelKeySetupDec(u32 rk[/*44*/], const u8 cipherKey[])
{
int Nr = 10, i, j;
u32 temp;
diff --git a/src/crypto/aes-internal-enc.c b/src/crypto/aes-internal-enc.c
index 2f19826..8726aa7 100644
--- a/src/crypto/aes-internal-enc.c
+++ b/src/crypto/aes-internal-enc.c
@@ -27,7 +27,7 @@
#include "crypto.h"
#include "aes_i.h"
-void rijndaelEncrypt(const u32 rk[/*44*/], const u8 pt[16], u8 ct[16])
+static void rijndaelEncrypt(const u32 rk[/*44*/], const u8 pt[16], u8 ct[16])
{
u32 s0, s1, s2, s3, t0, t1, t2, t3;
const int Nr = 10;