Lines Matching refs:buf
58 unsigned char *buf, size_t len) in ossl_rand_cleanup_entropy() argument
60 OPENSSL_secure_clear_free(buf, len); in ossl_rand_cleanup_entropy()
64 unsigned char *buf, size_t len) in ossl_rand_cleanup_user_entropy() argument
69 evp_rand_clear_seed(rng, buf, len); in ossl_rand_cleanup_user_entropy()
71 OPENSSL_secure_clear_free(buf, len); in ossl_rand_cleanup_user_entropy()
105 unsigned char *buf; in ossl_rand_get_user_nonce() local
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()
115 OPENSSL_free(buf); in ossl_rand_get_user_nonce()
118 *pout = buf; in ossl_rand_get_user_nonce()
123 unsigned char *buf, size_t len) in ossl_rand_cleanup_nonce() argument
125 OPENSSL_clear_free(buf, len); in ossl_rand_cleanup_nonce()
129 unsigned char *buf, size_t len) in ossl_rand_cleanup_user_nonce() argument
131 OPENSSL_clear_free(buf, len); in ossl_rand_cleanup_user_nonce()