EDGESEC  0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
crypt_config.h
Go to the documentation of this file.
1 
10 #ifndef CRYPT_CONFIG_H
11 #define CRYPT_CONFIG_H
12 
13 #include <sqlite3.h>
14 
15 #include "generic_hsm_driver.h"
16 
17 #include "../utils/cryptou.h"
18 
19 #define MAX_KEY_ID_SIZE 255
20 
25 struct crypt_context {
27  sqlite3 *crypt_db;
33 };
34 
35 #endif
#define MAX_KEY_ID_SIZE
Definition: crypt_config.h:19
#define AES_KEY_SIZE
Definition: cryptou.h:21
#define AES_BLOCK_SIZE
Definition: cryptou.h:18
File containing the definition of generic HSM driver configuration utilities.
crypt context structure definition
Definition: crypt_config.h:25
sqlite3 * crypt_db
Definition: crypt_config.h:27
char key_id[MAX_KEY_ID_SIZE]
Definition: crypt_config.h:28
struct hsm_context * hcontext
Definition: crypt_config.h:26
uint8_t crypto_key[AES_KEY_SIZE+AES_BLOCK_SIZE]
Definition: crypt_config.h:30
Definition: generic_hsm_driver.h:19