Home
last modified time | relevance | path

Searched refs:encode_string (Results 1 – 4 of 4) sorted by relevance

/freebsd-src/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-encoding.h20 int encode_string(char *dst, size_t dst_len, argon2_context *ctx,
H A Dargon2-encoding.c241 encode_string(char *dst, size_t dst_len, argon2_context *ctx, argon2_type type) in encode_string() function
H A Dargon2.c144 if (encode_string(encoded, encodedlen, &context, type) != ARGON2_OK) { in argon2_hash()
/freebsd-src/crypto/openssl/providers/implementations/macs/
H A Dkmac_prov.c131 static int encode_string(unsigned char *out, size_t out_max_len, size_t *out_len,
438 if (!encode_string(kctx->custom, sizeof(kctx->custom), &kctx->custom_len, in kmac_set_ctx_params()
500 static int encode_string(unsigned char *out, size_t out_max_len, size_t *out_len, in encode_string() function
588 if (!encode_string(tmp, sizeof(tmp), &tmp_len, in, in_len)) in kmac_bytepad_encode_key()