/PHP-7.0/ext/hash/ |
H A D | hash_tiger.c | 210 ZEND_SECURE_ZERO(context->buffer, 64); in PHP_TIGERUpdate() 219 ZEND_SECURE_ZERO(&context->buffer[r], 64-r); in PHP_TIGERUpdate() 229 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_TIGER128Final() 236 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_TIGER160Final() 243 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_TIGER192Final()
|
H A D | hash_haval.c | 172 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in PHP_3HAVALTransform() 209 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in PHP_4HAVALTransform() 248 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in PHP_5HAVALTransform() 371 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL128Final() 425 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL160Final() 465 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL192Final() 506 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL224Final() 540 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL256Final()
|
H A D | hash_ripemd.c | 247 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD128Transform() 345 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD256Transform() 444 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD160Transform() 552 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD320Transform() 653 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD128Final() 690 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD256Final() 727 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD160Final() 764 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD320Final()
|
H A D | hash_snefru.c | 169 ZEND_SECURE_ZERO(&context->buffer[r], 32 - r); in PHP_SNEFRUUpdate() 193 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_SNEFRUFinal()
|
H A D | hash_sha.c | 324 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in SHA1Transform() 403 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA1Final() 514 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in SHA256Transform() 610 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA224Final() 687 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA256Final() 824 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in SHA512Transform() 909 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA384Final() 1023 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA512Final()
|
H A D | hash.c | 295 ZEND_SECURE_ZERO(K, ops->block_size); in php_hash_do_hash_hmac() 532 ZEND_SECURE_ZERO(hash->key, hash->ops->block_size); in PHP_FUNCTION() 709 ZEND_SECURE_ZERO(K1, ops->block_size); in PHP_FUNCTION() 710 ZEND_SECURE_ZERO(K2, ops->block_size); in PHP_FUNCTION() 711 ZEND_SECURE_ZERO(computed_salt, salt_len + 4); in PHP_FUNCTION() 786 ZEND_SECURE_ZERO(hash->key, hash->ops->block_size); in php_hash_dtor() 989 ZEND_SECURE_ZERO(key, bytes); in PHP_FUNCTION()
|
H A D | hash_whirlpool.c | 267 ZEND_SECURE_ZERO(state, sizeof(state)); in WhirlpoolTransform() 433 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_WHIRLPOOLFinal()
|
H A D | hash_gost.c | 283 ZEND_SECURE_ZERO(&context->buffer[r], 32 - r); in PHP_GOSTUpdate() 308 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_GOSTFinal()
|
H A D | hash_md.c | 347 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_MD5Final() 440 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); 605 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_MD4Final()
|
/PHP-7.0/ext/standard/ |
H A D | crypt_sha256.c | 574 ZEND_SECURE_ZERO(temp_result, sizeof(temp_result)); in php_sha256_crypt_r() 575 ZEND_SECURE_ZERO(p_bytes, key_len); in php_sha256_crypt_r() 576 ZEND_SECURE_ZERO(s_bytes, salt_len); in php_sha256_crypt_r() 577 ZEND_SECURE_ZERO(&ctx, sizeof(ctx)); in php_sha256_crypt_r() 578 ZEND_SECURE_ZERO(&alt_ctx, sizeof(alt_ctx)); in php_sha256_crypt_r() 581 ZEND_SECURE_ZERO(copied_key, key_len); in php_sha256_crypt_r() 584 ZEND_SECURE_ZERO(copied_salt, salt_len); in php_sha256_crypt_r()
|
H A D | crypt_sha512.c | 622 ZEND_SECURE_ZERO(temp_result, sizeof(temp_result)); in php_sha512_crypt_r() 623 ZEND_SECURE_ZERO(p_bytes, key_len); in php_sha512_crypt_r() 624 ZEND_SECURE_ZERO(s_bytes, salt_len); in php_sha512_crypt_r() 625 ZEND_SECURE_ZERO(&ctx, sizeof(ctx)); in php_sha512_crypt_r() 626 ZEND_SECURE_ZERO(&alt_ctx, sizeof(alt_ctx)); in php_sha512_crypt_r() 628 ZEND_SECURE_ZERO(copied_key, key_len); in php_sha512_crypt_r() 631 ZEND_SECURE_ZERO(copied_salt, salt_len); in php_sha512_crypt_r()
|
H A D | php_crypt_r.c | 209 ZEND_SECURE_ZERO(final, sizeof(final)); in php_md5_crypt_r() 291 ZEND_SECURE_ZERO(final, sizeof(final)); in php_md5_crypt_r() 421 ZEND_SECURE_ZERO(final, sizeof(final)); in php_md5_crypt_r()
|
H A D | crypt.c | 212 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN + 1); in php_crypt() 216 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN + 1); in php_crypt()
|
H A D | md5.c | 391 ZEND_SECURE_ZERO(ctx, sizeof(*ctx)); in PHP_MD5Final()
|
/PHP-7.0/Zend/ |
H A D | zend_portability.h | 446 #define ZEND_SECURE_ZERO(var, size) RtlSecureZeroMemory((var), (size)) macro 448 #define ZEND_SECURE_ZERO(var, size) memset((var), 0, (size)) macro
|
/PHP-7.0/ |
H A D | UPGRADING.INTERNALS | 138 ZEND_SECURE_ZERO - zeroes chunk of memory
|