Changeset 752 in openpam


Ignore:
Timestamp:
Jan 20, 2014, 10:47:10 AM (7 years ago)
Author:
Dag-Erling Smørgrav
Message:

Add oath_key_create(3) which creates an OATH key from scratch.

Location:
trunk
Files:
1 added
3 edited

Legend:

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

    r719 r752  
    6464OATH_MAN = \
    6565        oath_key_alloc.3 \
     66        oath_key_create.3 \
    6667        oath_key_dummy.3 \
    6768        oath_key_free.3 \
  • trunk/include/security/oath.h

    r694 r752  
    3838
    3939struct oath_key *oath_key_alloc(void);
     40struct oath_key *oath_key_create(const char *, enum oath_mode,
     41    enum oath_hash, const char *, size_t);
    4042void oath_key_free(struct oath_key *);
    4143struct oath_key *oath_key_from_uri(const char *);
  • trunk/lib/liboath/Makefile.am

    r694 r752  
    1111        oath_totp.c \
    1212        oath_key_alloc.c \
     13        oath_key_create.c \
    1314        oath_key_dummy.c \
    1415        oath_key_free.c \
Note: See TracChangeset for help on using the changeset viewer.