add flash support to efm32 port

This commit is contained in:
Conor Patrick
2018-07-13 21:34:15 -04:00
parent 6e7be67491
commit 5eff2a104d
6 changed files with 1268 additions and 23 deletions

View File

@@ -4,7 +4,7 @@
#include "ctap.h"
#define KEY_SPACE_BYTES 128
#define MAX_KEYS (KEY_SPACE_BYTES/1)
#define MAX_KEYS (1)
#define BACKUP_MARKER 0x5A
#define INITIALIZED_MARKER 0xA5

View File

@@ -213,7 +213,7 @@ int16_t bridge_u2f_to_wallet(uint8_t * _chal, uint8_t * _appid, uint8_t klen, ui
printf1(TAG_WALLET, "u2f2wallet [%d]: ",reqlen); dump_hex1(TAG_WALLET, msg_buf,reqlen);
if (req->operation != WalletRng)
if (req->operation == WalletRegister || req->operation == WalletSign)
{
count = ctap_atomic_count(0);
}