Searched refs:tmp_st (Results 1 – 1 of 1) sorted by relevance
17 chacha_state tmp_st; in chacha20poly1305_setiv() local36 for(i = 0; i < 12; i++) tmp_st.input[i] = st->chacha.input[i]; in chacha20poly1305_setiv()37 tmp_st.rounds = 20; in chacha20poly1305_setiv()41 if ((err = chacha_ivctr32(&tmp_st, iv, ivlen, 0)) != CRYPT_OK) return err; in chacha20poly1305_setiv()45 if ((err = chacha_ivctr64(&tmp_st, iv, ivlen, 0)) != CRYPT_OK) return err; in chacha20poly1305_setiv()48 if ((err = chacha_keystream(&tmp_st, polykey, 32)) != CRYPT_OK) return err; in chacha20poly1305_setiv()