keycard-pro/app/storage/keys.h

18 lines
279 B
C
Raw Normal View History

2023-07-31 09:22:05 +00:00
#ifndef __KEYS__
#define __KEYS__
#include <stdint.h>
#include "error.h"
typedef enum {
DEV_AUTH_PRIV_KEY,
DEV_AUTH_SERVER_KEY,
FW_VERIFICATION_KEY,
2023-11-09 09:59:30 +00:00
DB_VERIFICATION_KEY,
KEYCARD_CA_KEY,
2023-07-31 09:22:05 +00:00
} key_type_t;
app_err_t key_read(key_type_t type, const uint8_t** out);
#endif