From c48786c649047563328eedcc8bbe32bee5330240 Mon Sep 17 00:00:00 2001 From: David Garske Date: Tue, 22 Jan 2019 12:14:05 -0800 Subject: [PATCH] Correct the ATECC slot maximum. --- wolfssl/wolfcrypt/port/atmel/atmel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/port/atmel/atmel.h b/wolfssl/wolfcrypt/port/atmel/atmel.h index ff771028c..c04a56ef3 100644 --- a/wolfssl/wolfcrypt/port/atmel/atmel.h +++ b/wolfssl/wolfcrypt/port/atmel/atmel.h @@ -39,7 +39,7 @@ #define ATECC_PUBKEY_SIZE (ATECC_KEY_SIZE*2) /* X and Y */ #define ATECC_SIG_SIZE (ATECC_KEY_SIZE*2) /* R and S */ #ifndef ATECC_MAX_SLOT -#define ATECC_MAX_SLOT (0x7) /* Only use 0-7 */ +#define ATECC_MAX_SLOT (0x8) /* Only use 0-7 */ #endif #define ATECC_INVALID_SLOT (0xFF)