Home
last modified time | relevance | path

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

/PHP-5.5/ext/standard/
H A Dpassword.c114 size_t i, raw_length; in php_password_make_salt() local
123 raw_length = length * 3 / 4 + 1; in php_password_make_salt()
125 buffer = (char *) safe_emalloc(raw_length, 1, 1); in php_password_make_salt()
130 if (php_win32_get_random_bytes(iv_b, raw_length) == SUCCESS) { in php_password_make_salt()
140 while (read_bytes < raw_length) { in php_password_make_salt()
141 n = read(fd, buffer + read_bytes, raw_length - read_bytes); in php_password_make_salt()
149 if (read_bytes >= raw_length) { in php_password_make_salt()
155 for (i = 0; i < raw_length; i++) { in php_password_make_salt()
161 if (php_password_salt_to64(buffer, raw_length, length, result) == FAILURE) { in php_password_make_salt()

Completed in 4 milliseconds