Lines Matching refs:state_tmp
627 crypto_generichash_state state_tmp; in PHP_FUNCTION() local
651 memset(&state_tmp, 0, sizeof state_tmp); in PHP_FUNCTION()
652 if (crypto_generichash_init((void *) &state_tmp, key, (size_t) key_len, in PHP_FUNCTION()
658 memcpy(ZSTR_VAL(state), &state_tmp, state_len); in PHP_FUNCTION()
659 sodium_memzero(&state_tmp, sizeof state_tmp); in PHP_FUNCTION()
667 crypto_generichash_state state_tmp; in PHP_FUNCTION() local
691 memcpy(&state_tmp, state, sizeof state_tmp); in PHP_FUNCTION()
692 if (crypto_generichash_update((void *) &state_tmp, msg, in PHP_FUNCTION()
694 sodium_memzero(&state_tmp, sizeof state_tmp); in PHP_FUNCTION()
698 memcpy(state, &state_tmp, state_len); in PHP_FUNCTION()
699 sodium_memzero(&state_tmp, sizeof state_tmp); in PHP_FUNCTION()
706 crypto_generichash_state state_tmp; in PHP_FUNCTION() local
736 memcpy(&state_tmp, state, sizeof state_tmp); in PHP_FUNCTION()
737 if (crypto_generichash_final((void *) &state_tmp, in PHP_FUNCTION()
740 sodium_memzero(&state_tmp, sizeof state_tmp); in PHP_FUNCTION()
745 sodium_memzero(&state_tmp, sizeof state_tmp); in PHP_FUNCTION()