Home
last modified time | relevance | path

Searched refs:temp_result (Results 1 – 2 of 2) sorted by relevance

/PHP-7.2/ext/standard/
H A Dcrypt_sha256.c340 unsigned char temp_result[32]; in php_sha256_crypt_r() local
344 __declspec(align(32)) unsigned char temp_result[32]; in php_sha256_crypt_r()
348 unsigned char temp_result[32] ALIGNED(__alignof__ (uint32_t)); in php_sha256_crypt_r()
455 sha256_finish_ctx(&alt_ctx, temp_result); in php_sha256_crypt_r()
460 cp = __php_mempcpy((void *)cp, (const void *)temp_result, 32); in php_sha256_crypt_r()
462 memcpy(cp, temp_result, cnt); in php_sha256_crypt_r()
473 sha256_finish_ctx(&alt_ctx, temp_result); in php_sha256_crypt_r()
478 cp = __php_mempcpy(cp, temp_result, 32); in php_sha256_crypt_r()
480 memcpy(cp, temp_result, cnt); in php_sha256_crypt_r()
574 ZEND_SECURE_ZERO(temp_result, sizeof(temp_result)); in php_sha256_crypt_r()
H A Dcrypt_sha512.c374 unsigned char temp_result[64]; in php_sha512_crypt_r() local
378 __declspec(align(64)) unsigned char temp_result[64]; in php_sha512_crypt_r()
382 unsigned char temp_result[64] ALIGNED(__alignof__ (uint64_t)); in php_sha512_crypt_r()
489 sha512_finish_ctx(&alt_ctx, temp_result); in php_sha512_crypt_r()
494 cp = __php_mempcpy((void *) cp, (const void *)temp_result, 64); in php_sha512_crypt_r()
497 memcpy(cp, temp_result, cnt); in php_sha512_crypt_r()
508 sha512_finish_ctx(&alt_ctx, temp_result); in php_sha512_crypt_r()
513 cp = __php_mempcpy(cp, temp_result, 64); in php_sha512_crypt_r()
515 memcpy(cp, temp_result, cnt); in php_sha512_crypt_r()
622 ZEND_SECURE_ZERO(temp_result, sizeof(temp_result)); in php_sha512_crypt_r()

Completed in 13 milliseconds