Home
last modified time | relevance | path

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

/PHP-7.2/ext/standard/
H A Dcrypt.c132 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt()
137 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt()
147 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt()
152 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt()
166 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN + 1); in php_crypt()
170 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN + 1); in php_crypt()
H A Dphp_crypt_r.c209 ZEND_SECURE_ZERO(final, sizeof(final)); in php_md5_crypt_r()
291 ZEND_SECURE_ZERO(final, sizeof(final)); in php_md5_crypt_r()
367 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 Dcrypt_sha256.c574 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 Dcrypt_sha512.c622 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 Dsha1.c252 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA1Final()
363 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x));
H A Dmd5.c395 ZEND_SECURE_ZERO(ctx, sizeof(*ctx)); in PHP_MD5Final()
/PHP-7.2/ext/hash/
H A Dhash_tiger.c210 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 Dhash_haval.c172 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 Dhash_snefru.c132 ZEND_SECURE_ZERO(&context->state[8], sizeof(uint32_t) * 8); in SnefruTransform()
169 ZEND_SECURE_ZERO(&context->buffer[r], 32 - r); in PHP_SNEFRUUpdate()
193 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_SNEFRUFinal()
H A Dhash.c298 ZEND_SECURE_ZERO(K, ops->block_size); in php_hash_do_hash_hmac()
545 ZEND_SECURE_ZERO(hash->key, hash->ops->block_size); in PHP_FUNCTION()
669 ZEND_SECURE_ZERO(K, ops->block_size); in PHP_FUNCTION()
702 ZEND_SECURE_ZERO(K, ops->block_size); in PHP_FUNCTION()
703 ZEND_SECURE_ZERO(digest, ops->digest_size); in PHP_FUNCTION()
704 ZEND_SECURE_ZERO(prk, ops->digest_size); in PHP_FUNCTION()
820 ZEND_SECURE_ZERO(K1, ops->block_size); in PHP_FUNCTION()
821 ZEND_SECURE_ZERO(K2, ops->block_size); in PHP_FUNCTION()
822 ZEND_SECURE_ZERO(computed_salt, salt_len + 4); in PHP_FUNCTION()
1093 ZEND_SECURE_ZERO(key, bytes); in PHP_FUNCTION()
[all …]
H A Dhash_ripemd.c251 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD128Transform()
349 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD256Transform()
448 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD160Transform()
556 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD320Transform()
657 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD128Final()
694 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD256Final()
731 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD160Final()
768 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD320Final()
H A Dhash_sha.c325 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in SHA1Transform()
404 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA1Final()
517 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in SHA256Transform()
613 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA224Final()
690 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA256Final()
827 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in SHA512Transform()
912 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA384Final()
1063 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA512Final()
H A Dhash_whirlpool.c267 ZEND_SECURE_ZERO(state, sizeof(state)); in WhirlpoolTransform()
433 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_WHIRLPOOLFinal()
H A Dhash_gost.c283 ZEND_SECURE_ZERO(&context->buffer[r], 32 - r); in PHP_GOSTUpdate()
308 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_GOSTFinal()
H A Dhash_md.c350 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_MD5Final()
443 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x));
608 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_MD4Final()
H A Dhash_sha3.c197 ZEND_SECURE_ZERO(ctx, sizeof(PHP_SHA3_CTX)); in PHP_SHA3_Final()
/PHP-7.2/Zend/
H A Dzend_portability.h489 #define ZEND_SECURE_ZERO(var, size) RtlSecureZeroMemory((var), (size)) macro
491 #define ZEND_SECURE_ZERO(var, size) explicit_bzero((var), (size)) macro

Completed in 52 milliseconds