add stdio include
parent
8b8e61d35d
commit
da15ec48e4
|
@ -24,6 +24,8 @@
|
|||
#include <wolfssl/wolfcrypt/logging.h>
|
||||
#include <wolfssl/wolfcrypt/port/caam/wolfcaam.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#define MAX_UPDATES 100
|
||||
|
||||
static unsigned int createAesKey()
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
#include <wolfssl/wolfcrypt/logging.h>
|
||||
#include <wolfssl/wolfcrypt/port/caam/wolfcaam.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#define MAX_UPDATES 100
|
||||
|
||||
static unsigned int createAesKey()
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
#include <wolfssl/wolfcrypt/port/caam/wolfcaam.h>
|
||||
#include <wolfssl/wolfcrypt/port/caam/wolfcaam_cmac.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#define MAX_UPDATES 100
|
||||
|
||||
static int doCmac(unsigned int keyId, int create, const byte* in, int inSz,
|
||||
|
@ -75,7 +77,7 @@ int main(int argc, char** argv)
|
|||
byte out[AES_BLOCK_SIZE];
|
||||
word32 outSz = AES_BLOCK_SIZE, i;
|
||||
|
||||
inSz = (int)XSTRLEN(in);
|
||||
inSz = (int)XSTRLEN((char*)in);
|
||||
outSz = (word32)sizeof(out);
|
||||
if (argc == 4) {
|
||||
if (XSTRNCMP(argv[1], "1", 1) == 0) {
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
#include <wolfssl/wolfcrypt/logging.h>
|
||||
#include <wolfssl/wolfcrypt/port/caam/wolfcaam.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
byte kek[32];
|
||||
|
@ -45,3 +47,4 @@ int main(int argc, char** argv)
|
|||
wolfCrypt_Cleanup();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
#include <wolfssl/wolfcrypt/logging.h>
|
||||
#include <wolfssl/wolfcrypt/port/caam/wolfcaam.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#define MAX_UPDATES 100
|
||||
|
||||
static unsigned int ImportAesKey(const byte* key, int keySz)
|
||||
|
|
Loading…
Reference in New Issue