Lines Matching defs:buf
245 void RAND_seed(const void *buf, int num)
252 meth->seed(buf, num);
259 EVP_RAND_reseed(drbg, 0, NULL, 0, buf, num);
262 void RAND_add(const void *buf, int num, double randomness)
269 meth->add(buf, num, randomness);
277 EVP_RAND_reseed(drbg, 0, buf, num, NULL, 0);
280 EVP_RAND_reseed(drbg, 0, NULL, 0, buf, num);
285 int RAND_pseudo_bytes(unsigned char *buf, int num)
290 return meth->pseudorand(buf, num);
325 int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,
334 return meth->bytes(buf, num);
342 return EVP_RAND_generate(rand, buf, num, strength, 0, NULL, 0);
347 int RAND_priv_bytes(unsigned char *buf, int num)
351 return RAND_priv_bytes_ex(NULL, buf, (size_t)num, 0);
354 int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,
363 return meth->bytes(buf, num);
371 return EVP_RAND_generate(rand, buf, num, strength, 0, NULL, 0);
376 int RAND_bytes(unsigned char *buf, int num)
380 return RAND_bytes_ex(NULL, buf, (size_t)num, 0);