Lines Matching refs:meth
81 const RAND_METHOD *meth = default_RAND_meth;
86 if (meth != NULL && meth->cleanup != NULL)
87 meth->cleanup();
124 const RAND_METHOD *meth = RAND_get_rand_method();
125 int ret = meth == RAND_OpenSSL();
127 if (meth == NULL)
142 if (meth->add == NULL
143 || meth->add(ossl_rand_pool_buffer(pool),
162 static int rand_set_rand_method_internal(const RAND_METHOD *meth,
174 default_RAND_meth = meth;
179 int RAND_set_rand_method(const RAND_METHOD *meth)
181 return rand_set_rand_method_internal(meth, NULL);
249 const RAND_METHOD *meth = RAND_get_rand_method();
251 if (meth != NULL && meth->seed != NULL) {
252 meth->seed(buf, num);
266 const RAND_METHOD *meth = RAND_get_rand_method();
268 if (meth != NULL && meth->add != NULL) {
269 meth->add(buf, num, randomness);
287 const RAND_METHOD *meth = RAND_get_rand_method();
289 if (meth != NULL && meth->pseudorand != NULL)
290 return meth->pseudorand(buf, num);
300 const RAND_METHOD *meth = RAND_get_rand_method();
302 if (meth != NULL && meth != RAND_OpenSSL())
303 return meth->status != NULL ? meth->status() : 0;
330 const RAND_METHOD *meth = RAND_get_rand_method();
332 if (meth != NULL && meth != RAND_OpenSSL()) {
333 if (meth->bytes != NULL)
334 return meth->bytes(buf, num);
359 const RAND_METHOD *meth = RAND_get_rand_method();
361 if (meth != NULL && meth != RAND_OpenSSL()) {
362 if (meth->bytes != NULL)
363 return meth->bytes(buf, num);