Add prototypes for the functions in oath_key.c.

git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@638 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2013-03-03 23:34:50 +00:00
parent a1ee57dd24
commit 2ec4f668a9
1 changed files with 6 additions and 0 deletions

View File

@ -95,6 +95,12 @@ struct oath_key {
uint8_t data[];
};
struct oath_key *oath_key_alloc(size_t);
void oath_key_free(struct oath_key *);
struct oath_key *oath_key_from_uri(const char *);
struct oath_key *oath_key_from_file(const char *);
char *oath_key_to_uri(const struct oath_key *);
unsigned int oath_hotp(const uint8_t *, size_t, uint64_t, unsigned int);
unsigned int oath_totp(const uint8_t *, size_t, unsigned int);