Home
last modified time | relevance | path

Searched refs:argon2_type (Results 1 – 20 of 20) sorted by relevance

/netbsd-src/external/apache2/argon2/dist/phc-winner-argon2/include/
H A Dargon2.h225 } argon2_type; typedef
240 ARGON2_PUBLIC const char *argon2_type2string(argon2_type type, int uppercase);
247 ARGON2_PUBLIC int argon2_ctx(argon2_context *context, argon2_type type);
327 const size_t encodedlen, argon2_type type,
348 const size_t pwdlen, argon2_type type);
411 argon2_type type);
431 uint32_t hashlen, argon2_type type);
/netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/
H A Dargon2.h188 typedef enum Argon2_type { Argon2_i = 1, Argon2_id = 2 } argon2_type; typedef
195 int argon2_ctx(argon2_context *context, argon2_type type);
282 const size_t encodedlen, argon2_type type);
304 argon2_type type);
H A Dargon2-encoding.h21 argon2_type type);
31 int decode_string(argon2_context *ctx, const char *str, argon2_type type);
H A Dargon2.c27 argon2_ctx(argon2_context *context, argon2_type type) in argon2_ctx()
90 argon2_type type) in argon2_hash()
202 argon2_type type) in argon2_verify()
H A Dargon2-core.h105 argon2_type type;
230 argon2_type type);
H A Dargon2-encoding.c94 decode_string(argon2_context *ctx, const char *str, argon2_type type) in decode_string()
241 encode_string(char *dst, size_t dst_len, argon2_context *ctx, argon2_type type) in encode_string()
H A Dpwhash_argon2i.c242 argon2_type type) in _needs_rehash()
H A Dargon2-core.c392 initial_hash(uint8_t *blockhash, argon2_context *context, argon2_type type) in initial_hash()
/netbsd-src/external/apache2/argon2/dist/phc-winner-argon2/src/
H A Dencoding.h35 argon2_type type);
49 int decode_string(argon2_context *ctx, const char *str, argon2_type type);
H A Dargon2.c26 const char *argon2_type2string(argon2_type type, int uppercase) { in argon2_type2string()
39 int argon2_ctx(argon2_context *context, argon2_type type) { in argon2_ctx()
104 const size_t encodedlen, argon2_type type, in argon2_hash()
250 argon2_type type) { in argon2_verify()
343 argon2_type type) { in argon2_verify_ctx()
448 uint32_t saltlen, uint32_t hashlen, argon2_type type) { in argon2_encodedlen()
H A Dgenkat.c25 argon2_type type) { in initial_kat()
129 static void generate_testvectors(argon2_type type, const uint32_t version) { in generate_testvectors()
185 argon2_type type = Argon2_i; in main()
H A Dbench.c65 argon2_type types[3] = {Argon2_i, Argon2_d, Argon2_id}; in benchmark()
83 argon2_type type = types[j]; in benchmark()
H A Dcore.h80 argon2_type type;
174 argon2_type type);
H A Dgenkat.h33 argon2_type type);
H A Drun.c96 argon2_type type, int encoded_only, int raw_only, uint32_t version) { in run()
176 argon2_type type = Argon2_i; /* Argon2i is the default type */ in main()
H A Dencoding.c258 int decode_string(argon2_context *ctx, const char *str, argon2_type type) { in decode_string()
374 argon2_type type) { in encode_string()
H A Dtest.c38 char *salt, char *hexref, char *mcfref, argon2_type type) { in hashtest()
H A Dcore.c543 argon2_type type) { in initial_hash()
/netbsd-src/lib/libcrypt/
H A Dcrypt-argon2.c51 estimate_argon2_params(argon2_type, uint32_t *,
150 estimate_argon2_params(argon2_type atype, uint32_t *etime, in estimate_argon2_params()
253 decode_option(argon2_context *ctx, argon2_type *atype, const char *option) in decode_option()
385 argon2_type atype = Argon2_id; in __crypt_argon2()
H A Dpw_gensalt.c64 estimate_argon2_params(argon2_type, uint32_t *, uint32_t *, uint32_t *);
170 const char *option, argon2_type atype) in __gensalt_argon2_decode_option()
240 const char *option, argon2_type atype) in __gensalt_argon2()