aboutsummaryrefslogtreecommitdiff
path: root/challenge.h
diff options
context:
space:
mode:
Diffstat (limited to 'challenge.h')
-rw-r--r--challenge.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/challenge.h b/challenge.h
index 7bfd68c..4863782 100644
--- a/challenge.h
+++ b/challenge.h
@@ -15,4 +15,9 @@ typedef struct challenge_t {
uint32_t random[6];
} __attribute__ ((packed)) challenge_t;
+
+challenge_t* generate_challenge(void);
+void generate_response(challenge_t *challenge);
+int validate_challenge(challenge_t *local, challenge_t *remote);
+
#endif