Changeset 846 in openpam


Ignore:
Timestamp:
Dec 11, 2014, 1:58:15 PM (6 years ago)
Author:
Dag-Erling Smørgrav
Message:

Add an oath_mode(3) function which translates from mode names to numbers.

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/man/Makefile.am

    r834 r846  
    7171        oath_key_from_file.3 \
    7272        oath_key_from_uri.3 \
     73        oath_mode.3 \
    7374        oath_uri_decode.3 \
    7475        $(NULL)
  • trunk/include/security/oath.h

    r799 r846  
    4949struct oath_key *oath_key_dummy(enum oath_mode, enum oath_hash, unsigned int);
    5050
     51enum oath_mode oath_mode(const char *);
     52
    5153unsigned int oath_hotp(const uint8_t *, size_t, uint64_t, unsigned int);
    5254unsigned int oath_hotp_current(struct oath_key *);
  • trunk/lib/liboath/Makefile.am

    r834 r846  
    1919        oath_key_free.c \
    2020        oath_key.c \
     21        oath_mode.c \
    2122        oath_uri_decode.c
    2223
Note: See TracChangeset for help on using the changeset viewer.