/PHP-7.4/ext/standard/ |
H A D | crypt.c | 127 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt() 132 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt() 142 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt() 147 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt() 161 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN + 1); in php_crypt() 165 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN + 1); in php_crypt()
|
H A D | php_crypt_r.c | 206 ZEND_SECURE_ZERO(final, sizeof(final)); in php_md5_crypt_r() 288 ZEND_SECURE_ZERO(final, sizeof(final)); in php_md5_crypt_r() 363 ZEND_SECURE_ZERO(final, sizeof(final)); in php_md5_crypt_r() 417 ZEND_SECURE_ZERO(final, sizeof(final)); in php_md5_crypt_r()
|
H A D | crypt_sha256.c | 558 ZEND_SECURE_ZERO(temp_result, sizeof(temp_result)); in php_sha256_crypt_r() 559 ZEND_SECURE_ZERO(p_bytes, key_len); in php_sha256_crypt_r() 560 ZEND_SECURE_ZERO(s_bytes, salt_len); in php_sha256_crypt_r() 561 ZEND_SECURE_ZERO(&ctx, sizeof(ctx)); in php_sha256_crypt_r() 562 ZEND_SECURE_ZERO(&alt_ctx, sizeof(alt_ctx)); in php_sha256_crypt_r() 565 ZEND_SECURE_ZERO(copied_key, key_len); in php_sha256_crypt_r() 568 ZEND_SECURE_ZERO(copied_salt, salt_len); in php_sha256_crypt_r()
|
H A D | crypt_sha512.c | 606 ZEND_SECURE_ZERO(temp_result, sizeof(temp_result)); in php_sha512_crypt_r() 607 ZEND_SECURE_ZERO(p_bytes, key_len); in php_sha512_crypt_r() 608 ZEND_SECURE_ZERO(s_bytes, salt_len); in php_sha512_crypt_r() 609 ZEND_SECURE_ZERO(&ctx, sizeof(ctx)); in php_sha512_crypt_r() 610 ZEND_SECURE_ZERO(&alt_ctx, sizeof(alt_ctx)); in php_sha512_crypt_r() 612 ZEND_SECURE_ZERO(copied_key, key_len); in php_sha512_crypt_r() 615 ZEND_SECURE_ZERO(copied_salt, salt_len); in php_sha512_crypt_r()
|
H A D | sha1.c | 247 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA1Final() 358 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x));
|
H A D | md5.c | 391 ZEND_SECURE_ZERO(ctx, sizeof(*ctx)); in PHP_MD5Final()
|
/PHP-7.4/ext/hash/ |
H A D | hash_tiger.c | 208 ZEND_SECURE_ZERO(context->buffer, 64); in PHP_TIGERUpdate() 217 ZEND_SECURE_ZERO(&context->buffer[r], 64-r); in PHP_TIGERUpdate() 227 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_TIGER128Final() 234 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_TIGER160Final() 241 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_TIGER192Final()
|
H A D | hash_haval.c | 170 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in PHP_3HAVALTransform() 207 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in PHP_4HAVALTransform() 246 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in PHP_5HAVALTransform() 369 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL128Final() 423 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL160Final() 463 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL192Final() 504 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL224Final() 538 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL256Final()
|
H A D | hash_snefru.c | 130 ZEND_SECURE_ZERO(&context->state[8], sizeof(uint32_t) * 8); in SnefruTransform() 167 ZEND_SECURE_ZERO(&context->buffer[r], 32 - r); in PHP_SNEFRUUpdate() 191 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_SNEFRUFinal()
|
H A D | hash.c | 308 ZEND_SECURE_ZERO(K, ops->block_size); in php_hash_do_hash_hmac() 551 ZEND_SECURE_ZERO(hash->key, hash->ops->block_size); in PHP_FUNCTION() 676 ZEND_SECURE_ZERO(K, ops->block_size); in PHP_FUNCTION() 709 ZEND_SECURE_ZERO(K, ops->block_size); in PHP_FUNCTION() 710 ZEND_SECURE_ZERO(digest, ops->digest_size); in PHP_FUNCTION() 711 ZEND_SECURE_ZERO(prk, ops->digest_size); in PHP_FUNCTION() 827 ZEND_SECURE_ZERO(K1, ops->block_size); in PHP_FUNCTION() 828 ZEND_SECURE_ZERO(K2, ops->block_size); in PHP_FUNCTION() 829 ZEND_SECURE_ZERO(computed_salt, salt_len + 4); in PHP_FUNCTION() 1103 ZEND_SECURE_ZERO(key, bytes); in PHP_FUNCTION() [all …]
|
H A D | hash_ripemd.c | 249 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD128Transform() 347 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD256Transform() 446 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD160Transform() 554 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD320Transform() 655 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD128Final() 692 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD256Final() 729 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD160Final() 766 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD320Final()
|
H A D | hash_sha.c | 320 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in SHA1Transform() 399 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA1Final() 512 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in SHA256Transform() 608 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA224Final() 685 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA256Final() 822 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in SHA512Transform() 905 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA384Final() 1056 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA512Final()
|
H A D | hash_whirlpool.c | 265 ZEND_SECURE_ZERO(state, sizeof(state)); in WhirlpoolTransform() 431 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_WHIRLPOOLFinal()
|
H A D | hash_gost.c | 281 ZEND_SECURE_ZERO(&context->buffer[r], 32 - r); in PHP_GOSTUpdate() 307 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_GOSTFinal()
|
H A D | hash_md.c | 345 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_MD5Final() 438 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); 603 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_MD4Final()
|
H A D | hash_sha3.c | 203 ZEND_SECURE_ZERO(ctx, sizeof(PHP_SHA3_CTX)); in PHP_SHA3_Final()
|
/PHP-7.4/Zend/ |
H A D | zend_portability.h | 498 #define ZEND_SECURE_ZERO(var, size) RtlSecureZeroMemory((var), (size)) macro 500 #define ZEND_SECURE_ZERO(var, size) explicit_bzero((var), (size)) macro
|
/PHP-7.4/ |
H A D | NEWS | 2472 . Improved effectiveness of ZEND_SECURE_ZERO for NetBSD and systems
|