Mark local functions static
These functions are not used outside the file in which they are defined. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
373f6c7211
commit
19df9b0761
10 changed files with 17 additions and 17 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue