Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/
H A Dcrypt.c127 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 Dphp_crypt_r.c206 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 Dcrypt_sha256.c558 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 Dcrypt_sha512.c606 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 Dsha1.c247 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA1Final()
358 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x));
H A Dmd5.c391 ZEND_SECURE_ZERO(ctx, sizeof(*ctx)); in PHP_MD5Final()
/PHP-7.4/ext/hash/
H A Dhash_tiger.c208 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 Dhash_haval.c170 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 Dhash_snefru.c130 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 Dhash.c308 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 Dhash_ripemd.c249 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 Dhash_sha.c320 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 Dhash_whirlpool.c265 ZEND_SECURE_ZERO(state, sizeof(state)); in WhirlpoolTransform()
431 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_WHIRLPOOLFinal()
H A Dhash_gost.c281 ZEND_SECURE_ZERO(&context->buffer[r], 32 - r); in PHP_GOSTUpdate()
307 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_GOSTFinal()
H A Dhash_md.c345 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 Dhash_sha3.c203 ZEND_SECURE_ZERO(ctx, sizeof(PHP_SHA3_CTX)); in PHP_SHA3_Final()
/PHP-7.4/Zend/
H A Dzend_portability.h498 #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 DNEWS2472 . Improved effectiveness of ZEND_SECURE_ZERO for NetBSD and systems

Completed in 88 milliseconds