Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/
H A Dcrypt_sha256.c342 char *copied_salt = NULL; in php_sha256_crypt_r() local
381 salt = copied_salt = in php_sha256_crypt_r()
383 copied_salt[salt_len] = 0; in php_sha256_crypt_r()
571 if (copied_salt != NULL) { in php_sha256_crypt_r()
572 ZEND_SECURE_ZERO(copied_salt, salt_len); in php_sha256_crypt_r()
H A Dcrypt_sha512.c375 char *copied_salt = NULL; in php_sha512_crypt_r() local
416 …salt = copied_salt = memcpy(tmp + __alignof__(uint64_t) - (uintptr_t)tmp % __alignof__(uint64_t), … in php_sha512_crypt_r()
417 copied_salt[salt_len] = 0; in php_sha512_crypt_r()
618 if (copied_salt != NULL) { in php_sha512_crypt_r()
619 ZEND_SECURE_ZERO(copied_salt, salt_len); in php_sha512_crypt_r()

Completed in 16 milliseconds