Skip to content
Snippets Groups Projects
Commit cd128c43 authored by Charles Wright's avatar Charles Wright
Browse files

Moved the user_info struct out of the main bsspeke.h library and into the demo program itself

parent d079c7d0
No related branches found
No related tags found
No related merge requests found
......@@ -75,16 +75,6 @@ typedef struct {
uint8_t K_s[32]; // Session key
} bsspeke_server_ctx;
typedef struct {
uint8_t salt[32];
size_t salt_len;
uint8_t P[32];
uint8_t V[32];
uint32_t phf_blocks;
uint32_t phf_iterations;
} bsspeke_user_info_t;
typedef struct {
char *client_id;
......
......@@ -24,6 +24,17 @@
#include "bsspeke.h"
typedef struct {
uint8_t salt[32];
size_t salt_len;
uint8_t P[32];
uint8_t V[32];
uint32_t phf_blocks;
uint32_t phf_iterations;
} bsspeke_user_info_t;
int demo_setup(bsspeke_user_info_t *user_info)
{
bsspeke_client_ctx client;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment