Searched refs:php_random_bytes (Results 1 – 2 of 2) sorted by relevance
/PHP-7.2/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 | 84 PHPAPI int php_random_bytes(void *bytes, size_t size, zend_bool should_throw) in php_random_bytes() function 227 if (php_random_bytes(&trial, sizeof(trial), should_throw) == FAILURE) { in php_random_int() 247 if (php_random_bytes(&trial, sizeof(trial), should_throw) == FAILURE) { in php_random_int()
|
Completed in 8 milliseconds