Home
last modified time | relevance | path

Searched refs:OtpKey (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/otp/
H A Dotp.h46 typedef unsigned char OtpKey[OTPKEYSIZE]; typedef
66 int (*init)(OtpKey, const char *, const char *);
67 int (*next)(OtpKey);
75 OtpKey key;
82 void otp_print_stddict (OtpKey, char *, size_t);
83 void otp_print_hex (OtpKey, char *, size_t);
84 void otp_print_stddict_extended (OtpKey, char *, size_t);
85 void otp_print_hex_extended (OtpKey, char *, size_t);
86 unsigned otp_checksum (OtpKey);
87 int otp_parse_hex (OtpKey, const char *);
[all …]
H A Dotp_md.h38 int otp_md4_init (OtpKey key, const char *pwd, const char *seed);
40 int otp_md4_next (OtpKey key);
42 int otp_md5_init (OtpKey key, const char *pwd, const char *seed);
44 int otp_md5_next (OtpKey key);
46 int otp_sha_init (OtpKey key, const char *pwd, const char *seed);
48 int otp_sha_next (OtpKey key);
H A Dotp_md.c50 compressmd (OtpKey key, unsigned char *md, size_t len) in compressmd()
85 otp_md_init (OtpKey key, in otp_md_init()
122 otp_md_next (OtpKey key, in otp_md_next()
169 otp_md4_init (OtpKey key, const char *pwd, const char *seed) in otp_md4_init()
184 otp_md4_next (OtpKey key) in otp_md4_next()
192 otp_md5_init (OtpKey key, const char *pwd, const char *seed) in otp_md5_init()
207 otp_md5_next (OtpKey key) in otp_md5_next()
214 otp_sha_init (OtpKey key, const char *pwd, const char *seed) in otp_sha_init()
229 otp_sha_next (OtpKey key) in otp_sha_next()
H A Dotp_print.c46 otp_checksum (OtpKey key) in otp_checksum()
61 otp_print_stddict (OtpKey key, char *str, size_t sz) in otp_print_stddict()
77 otp_print_hex (OtpKey key, char *str, size_t sz) in otp_print_hex()
86 otp_print_hex_extended (OtpKey key, char *str, size_t sz) in otp_print_hex_extended()
95 otp_print_stddict_extended (OtpKey key, char *str, size_t sz) in otp_print_stddict_extended()
H A Dotp_parse.c77 compress (OtpKey key, unsigned wn[]) in compress()
142 otp_parse_internal (OtpKey key, const char *str, in otp_parse_internal()
157 otp_parse_stddict (OtpKey key, const char *str) in otp_parse_stddict()
163 otp_parse_altdict (OtpKey key, const char *str, OtpAlgorithm *alg) in otp_parse_altdict()
169 otp_parse_hex (OtpKey key, const char *s) in otp_parse_hex()
196 otp_parse (OtpKey key, const char *s, OtpAlgorithm *alg) in otp_parse()
H A Dotptest.c43 test_one(OtpKey key1, char *name, char *val, in test_one()
44 void (*print)(OtpKey,char*, size_t), in test_one() argument
48 OtpKey key2; in test_one()
121 OtpKey key; in test()
H A Dotp_verify.c46 OtpKey key1, key2; in otp_verify_user_1()
/netbsd-src/crypto/external/bsd/heimdal/dist/kadmin/
H A Drandom_password.c60 OtpKey newkey; in random_password()