Fix headers in emulation mode.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2023-01-12 20:05:46 +01:00
parent 7764de4e10
commit 7195a8f3ec
No known key found for this signature in database
GPG Key ID: C0095B7870A4CCD3
3 changed files with 9 additions and 0 deletions

View File

@ -19,7 +19,11 @@
#define _CVC_H_
#include <stdlib.h>
#ifndef ENABLE_EMULATION
#include "pico/stdlib.h"
#else
#include <stdbool.h>
#endif
#include "mbedtls/ecp.h"
typedef struct PUK {

View File

@ -19,6 +19,9 @@
#define _DKEK_H_
#include "crypto_utils.h"
#ifdef ENABLE_EMULATION
#include <stdbool.h>
#endif
extern int load_mkek(uint8_t *);
extern int store_mkek(const uint8_t *);

View File

@ -22,7 +22,9 @@
#include "common.h"
#include "mbedtls/rsa.h"
#include "mbedtls/ecdsa.h"
#ifndef ENABLE_EMULATION
#include "pico/stdlib.h"
#endif
#include "file.h"
#include "apdu.h"
#include "hsm.h"