Lines Matching refs:state_tmp
658 crypto_generichash_state state_tmp; in PHP_FUNCTION() local
682 memset(&state_tmp, 0, sizeof state_tmp); in PHP_FUNCTION()
683 if (crypto_generichash_init((void *) &state_tmp, key, (size_t) key_len, in PHP_FUNCTION()
689 memcpy(ZSTR_VAL(state), &state_tmp, state_len); in PHP_FUNCTION()
690 sodium_memzero(&state_tmp, sizeof state_tmp); in PHP_FUNCTION()
698 crypto_generichash_state state_tmp; in PHP_FUNCTION() local
722 memcpy(&state_tmp, state, sizeof state_tmp); in PHP_FUNCTION()
723 if (crypto_generichash_update((void *) &state_tmp, msg, in PHP_FUNCTION()
725 sodium_memzero(&state_tmp, sizeof state_tmp); in PHP_FUNCTION()
729 memcpy(state, &state_tmp, state_len); in PHP_FUNCTION()
730 sodium_memzero(&state_tmp, sizeof state_tmp); in PHP_FUNCTION()
737 crypto_generichash_state state_tmp; in PHP_FUNCTION() local
767 memcpy(&state_tmp, state, sizeof state_tmp); in PHP_FUNCTION()
768 if (crypto_generichash_final((void *) &state_tmp, in PHP_FUNCTION()
771 sodium_memzero(&state_tmp, sizeof state_tmp); in PHP_FUNCTION()
776 sodium_memzero(&state_tmp, sizeof state_tmp); in PHP_FUNCTION()