Searched refs:php_random_bytes (Results 1 – 2 of 2) sorted by relevance
/php-src/ext/random/ |
H A D | php_random_csprng.h | 23 PHPAPI zend_result php_random_bytes(void *bytes, size_t size, bool should_throw); 28 return php_random_bytes(bytes, size, true); in php_random_bytes_throw() 33 return php_random_bytes(bytes, size, false); in php_random_bytes_silent()
|
H A D | csprng.c | 64 PHPAPI zend_result php_random_bytes(void *bytes, size_t size, bool should_throw) in php_random_bytes() function 225 if (php_random_bytes(&trial, sizeof(trial), should_throw) == FAILURE) { in php_random_int() 245 if (php_random_bytes(&trial, sizeof(trial), should_throw) == FAILURE) { in php_random_int()
|
Completed in 7 milliseconds