| @@ -1,5 +1,6 @@ | |||
| #include <stdio.h> | |||
| #include <stdlib.h> | |||
| #include <string.h> | |||
| #include <assert.h> | |||
| #include "../inc/lc6_crypto.h" | |||
| @@ -8,6 +9,8 @@ | |||
| LC6_USER* lc6user_create(void) { | |||
| LC6_USER *user = malloc(sizeof(LC6_USER)); | |||
| assert(user); | |||
| memset(user, 0, sizeof(LC6_USER)); | |||
| return lc6crypto_genuserkey(user); | |||
| } | |||