Home
last modified time | relevance | path

Searched refs:php_random_bytes (Results 1 – 2 of 2) sorted by relevance

/PHP-8.2/ext/random/
H A Dphp_random.h196 # 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 Drandom.c486 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 13 milliseconds