Lines Matching refs:min_len
20 size_t min_len, size_t max_len) in ossl_rand_get_entropy() argument
26 pool = ossl_rand_pool_new(entropy, 1, min_len, max_len); in ossl_rand_get_entropy()
46 size_t min_len, size_t max_len) in ossl_rand_get_user_entropy() argument
51 return evp_rand_get_seed(rng, pout, entropy, min_len, max_len, in ossl_rand_get_user_entropy()
54 return ossl_rand_get_entropy(ctx, pout, entropy, min_len, max_len); in ossl_rand_get_user_entropy()
76 size_t min_len, ossl_unused size_t max_len, in ossl_rand_get_nonce() argument
82 pool = ossl_rand_pool_new(0, 0, min_len, max_len); in ossl_rand_get_nonce()
102 size_t min_len, size_t max_len, in ossl_rand_get_user_nonce() argument
109 return ossl_rand_get_nonce(ctx, pout, min_len, max_len, salt, salt_len); in ossl_rand_get_user_nonce()
111 if ((buf = OPENSSL_malloc(min_len)) == NULL) in ossl_rand_get_user_nonce()
114 if (!EVP_RAND_generate(rng, buf, min_len, 0, 0, salt, salt_len)) { in ossl_rand_get_user_nonce()
119 return min_len; in ossl_rand_get_user_nonce()