modified to be public/protected
Merge remote branch 'origin/master'
added support for own parameter regeneration. Minor refactoring.
Merge remote branch 'origin/master'
Tests for reset of stream ciphers on encrypt/decrypt, init and reset operations.
Minor fixes for Grain* and HC* ciphers to make them reset properly on subsequent inits.
Add ChaCha and XSalsa20 to stream cipher reset tests.