sha
This commit is contained in:
@ -5,6 +5,8 @@
|
||||
#include <spi.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <sha256.h>
|
||||
|
||||
#define CONFIG_MAGIC 0xdead0006
|
||||
|
||||
typedef struct __attribute__((__packed__)) s_configBlock {
|
||||
@ -13,7 +15,7 @@ typedef struct __attribute__((__packed__)) s_configBlock {
|
||||
uint8_t macAddress[6];
|
||||
char ntpServer[48];
|
||||
char deviceId[16];
|
||||
char sharedSecret[32];
|
||||
char sharedSecret[SHA256_BLOCK_SIZE];
|
||||
char location[48];
|
||||
char sinkServer[48];
|
||||
uint8_t filler[6];
|
||||
|
Reference in New Issue
Block a user