Home
last modified time | relevance | path

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

/php-src/ext/standard/
H A Dcrypt.c99 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt()
104 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt()
114 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt()
119 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt()
134 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN + 1); in php_crypt()
138 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN + 1); in php_crypt()
H A Dphp_crypt_r.c148 ZEND_SECURE_ZERO(final, sizeof(final)); in php_md5_crypt_r()
202 ZEND_SECURE_ZERO(final, sizeof(final)); in php_md5_crypt_r()
H A Dcrypt_sha256.c565 ZEND_SECURE_ZERO(temp_result, sizeof(temp_result)); in php_sha256_crypt_r()
566 ZEND_SECURE_ZERO(p_bytes, key_len); in php_sha256_crypt_r()
567 ZEND_SECURE_ZERO(s_bytes, salt_len); in php_sha256_crypt_r()
568 ZEND_SECURE_ZERO(&ctx, sizeof(ctx)); in php_sha256_crypt_r()
569 ZEND_SECURE_ZERO(&alt_ctx, sizeof(alt_ctx)); in php_sha256_crypt_r()
572 ZEND_SECURE_ZERO(copied_key, key_len); in php_sha256_crypt_r()
575 ZEND_SECURE_ZERO(copied_salt, salt_len); in php_sha256_crypt_r()
H A Dcrypt_sha512.c617 ZEND_SECURE_ZERO(temp_result, sizeof(temp_result)); in php_sha512_crypt_r()
618 ZEND_SECURE_ZERO(p_bytes, key_len); in php_sha512_crypt_r()
619 ZEND_SECURE_ZERO(s_bytes, salt_len); in php_sha512_crypt_r()
620 ZEND_SECURE_ZERO(&ctx, sizeof(ctx)); in php_sha512_crypt_r()
621 ZEND_SECURE_ZERO(&alt_ctx, sizeof(alt_ctx)); in php_sha512_crypt_r()
623 ZEND_SECURE_ZERO(copied_key, key_len); in php_sha512_crypt_r()
626 ZEND_SECURE_ZERO(copied_salt, salt_len); in php_sha512_crypt_r()
H A Dsha1.c244 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA1Final()
353 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in SHA1Transform()
H A Dmd5.c387 ZEND_SECURE_ZERO(ctx, sizeof(*ctx)); in PHP_MD5Final()
/php-src/ext/hash/
H A Dhash_tiger.c206 ZEND_SECURE_ZERO(context->buffer, 64); in PHP_TIGERUpdate()
215 ZEND_SECURE_ZERO(&context->buffer[r], 64-r); in PHP_TIGERUpdate()
225 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_TIGER128Final()
232 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_TIGER160Final()
239 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_TIGER192Final()
H A Dhash_haval.c167 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in PHP_3HAVALTransform()
203 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in PHP_4HAVALTransform()
241 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in PHP_5HAVALTransform()
367 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL128Final()
420 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL160Final()
459 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL192Final()
499 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL224Final()
532 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_HAVAL256Final()
H A Dhash_snefru.c128 ZEND_SECURE_ZERO(&context->state[8], sizeof(uint32_t) * 8); in SnefruTransform()
165 ZEND_SECURE_ZERO(&context->buffer[r], 32 - r); in PHP_SNEFRUUpdate()
189 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_SNEFRUFinal()
H A Dhash_sha.c178 ZEND_SECURE_ZERO((unsigned char*) tmp32, sizeof(tmp32)); in SHA256Transform()
214 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in SHA256Transform()
311 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA224Final()
389 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA256Final()
526 ZEND_SECURE_ZERO((unsigned char*) x, sizeof(x)); in SHA512Transform()
611 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA384Final()
768 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_SHA512Final()
H A Dhash_ripemd.c263 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD128Transform()
362 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD256Transform()
462 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD160Transform()
571 ZEND_SECURE_ZERO(x, sizeof(x)); in RIPEMD320Transform()
673 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD128Final()
710 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD256Final()
747 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD160Final()
784 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_RIPEMD320Final()
H A Dhash.c559 ZEND_SECURE_ZERO(K, ops->block_size); in php_hash_do_hash_hmac()
813 ZEND_SECURE_ZERO(hash->key, hash->ops->block_size); in PHP_FUNCTION()
943 ZEND_SECURE_ZERO(K, ops->block_size); in PHP_FUNCTION()
976 ZEND_SECURE_ZERO(K, ops->block_size); in PHP_FUNCTION()
977 ZEND_SECURE_ZERO(digest, ops->digest_size); in PHP_FUNCTION()
978 ZEND_SECURE_ZERO(prk, ops->digest_size); in PHP_FUNCTION()
1090 ZEND_SECURE_ZERO(K1, ops->block_size); in PHP_FUNCTION()
1091 ZEND_SECURE_ZERO(K2, ops->block_size); in PHP_FUNCTION()
1092 ZEND_SECURE_ZERO(computed_salt, salt_len + 4); in PHP_FUNCTION()
1350 ZEND_SECURE_ZERO(key, bytes); in PHP_FUNCTION()
[all …]
H A Dhash_whirlpool.c263 ZEND_SECURE_ZERO(state, sizeof(state)); in WhirlpoolTransform()
429 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_WHIRLPOOLFinal()
H A Dhash_gost.c279 ZEND_SECURE_ZERO(&context->buffer[r], 32 - r); in PHP_GOSTUpdate()
304 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_GOSTFinal()
H A Dhash_sha3.c200 ZEND_SECURE_ZERO(ctx, sizeof(PHP_SHA3_CTX)); in PHP_SHA3_Final()
H A Dhash_md.c267 ZEND_SECURE_ZERO((unsigned char*) context, sizeof(*context)); in PHP_MD4Final()
/php-src/Zend/
H A Dzend_portability.h497 #define ZEND_SECURE_ZERO(var, size) RtlSecureZeroMemory((var), (size)) macro
499 #define ZEND_SECURE_ZERO(var, size) explicit_bzero((var), (size)) macro

Completed in 42 milliseconds