Lines Matching defs:salt
1688 * \param salt the input salt
1689 * \param slen length of the input salt
1694 const unsigned char *salt, size_t slen,
1720 if ((ret = mbedtls_md_update(&md_ctx, salt, slen)) != 0) {
2122 unsigned char *salt = NULL;
2160 /* Calculate the largest possible salt length, up to the hash size.
2161 * Normally this is the hash length, which is the maximum salt length
2163 * enough room, use the maximum salt length that fits. The constraint is
2164 * that the hash length plus the salt length plus 2 bytes must be at most
2188 /* Generate salt of length slen in place in the encoded message */
2189 salt = p;
2190 if ((ret = f_rng(p_rng, salt, slen)) != 0) {
2197 ret = hash_mprime(hash, hashlen, salt, slen, p, (mbedtls_md_type_t)ctx->hash_id);
2256 * the option to pass in the salt length.