Searched refs:php_random_bytes (Results 1 – 2 of 2) sorted by relevance
/PHP-8.2/ext/random/ |
H A D | php_random.h | 196 # define php_random_bytes_throw(b, s) php_random_bytes((b), (s), 1) 197 # define php_random_bytes_silent(b, s) php_random_bytes((b), (s), 0) 201 PHPAPI int php_random_bytes(void *bytes, size_t size, bool should_throw);
|
H A D | random.c | 486 PHPAPI int php_random_bytes(void *bytes, size_t size, bool should_throw) function 638 if (php_random_bytes(&trial, sizeof(trial), should_throw) == FAILURE) { 658 if (php_random_bytes(&trial, sizeof(trial), should_throw) == FAILURE) {
|
Completed in 15 milliseconds