Searched refs:php_random_bytes (Results 1 – 2 of 2) sorted by relevance
/PHP-7.3/ext/standard/ |
H A D | php_random.h | 34 #define php_random_bytes_throw(b, s) php_random_bytes((b), (s), 1) 35 #define php_random_bytes_silent(b, s) php_random_bytes((b), (s), 0) 42 PHPAPI int php_random_bytes(void *bytes, size_t size, zend_bool should_throw);
|
H A D | random.c | 85 PHPAPI int php_random_bytes(void *bytes, size_t size, zend_bool should_throw) in php_random_bytes() function 232 if (php_random_bytes(&trial, sizeof(trial), should_throw) == FAILURE) { in php_random_int() 252 if (php_random_bytes(&trial, sizeof(trial), should_throw) == FAILURE) { in php_random_int()
|
Completed in 6 milliseconds