Changeset 643 in openpam for trunk/modules/pam_oath/oath.h
- Timestamp:
- Mar 5, 2013, 3:24:00 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/pam_oath/oath.h
r638 r643 102 102 char *oath_key_to_uri(const struct oath_key *); 103 103 104 #define DUMMY_LABEL ("oath-dummy-key") 105 #define DUMMY_LABELLEN (sizeof DUMMY_LABEL) 106 #define DUMMY_KEYLEN 80 107 108 struct oath_key *oath_dummy_key(enum oath_mode, enum oath_hash, unsigned int); 109 104 110 unsigned int oath_hotp(const uint8_t *, size_t, uint64_t, unsigned int); 111 int oath_hotp_current(struct oath_key *); 112 int oath_hotp_match(struct oath_key *, unsigned int, int); 113 105 114 unsigned int oath_totp(const uint8_t *, size_t, unsigned int); 115 int oath_totp_match(const struct oath_key *, unsigned int, int); 116 unsigned int oath_totp_current(const struct oath_key *); 106 117 107 118 #endif
Note: See TracChangeset
for help on using the changeset viewer.