Home
last modified time | relevance | path

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

/PHP-7.0/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_ripemd.c247 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 Dhash_snefru.c169 ZEND_SECURE_ZERO(&context->buffer[r], 32 - r); in PHP_SNEFRUUpdate()
193 ZEND_SECURE_ZERO(context, sizeof(*context)); in PHP_SNEFRUFinal()
H A Dhash_sha.c324 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 Dhash.c295 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 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.c347 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 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 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()
421 ZEND_SECURE_ZERO(final, sizeof(final)); in php_md5_crypt_r()
H A Dcrypt.c212 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 Dmd5.c391 ZEND_SECURE_ZERO(ctx, sizeof(*ctx)); in PHP_MD5Final()
/PHP-7.0/Zend/
H A Dzend_portability.h446 #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 DUPGRADING.INTERNALS138 ZEND_SECURE_ZERO - zeroes chunk of memory

Completed in 52 milliseconds