Commit ce31d0bc authored by npzacs's avatar npzacs
Browse files

Hide implementation details

parent 9067af42
......@@ -34,6 +34,13 @@
#include <stdio.h>
#include <gcrypt.h>
struct aacs {
uint8_t pk[16], mk[16], vuk[16], vid[16], *uks;
uint32_t num_uks;
struct config_file_t *cf;
struct config_entry_list_t *ce;
};
static const uint8_t empty_key[] = "\x00\x00\x00\x00\x00\x00\x00\x00"
"\x00\x00\x00\x00\x00\x00\x00\x00";
......
......@@ -22,17 +22,7 @@
#include <stdint.h>
/* Forward declarations of config file objects */
struct config_file_t;
struct config_entry_list_t;
typedef struct aacs AACS;
struct aacs {
uint8_t pk[16], mk[16], vuk[16], vid[16], *uks;
uint32_t num_uks;
struct config_file_t *cf;
struct config_entry_list_t *ce;
};
AACS *aacs_open(const char *path, const char *keyfile_path);
void aacs_close(AACS *aacs);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment