aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_chacha20.py
Commit message (Collapse)AuthorAgeFilesLines
* allow bytes-like for key/iv/data for symmetric encryption (#4621)Paul Kehrer2018-12-091-0/+12
| | | | | | | | | | | | | | | | | | * allow bytearrays for key/iv for symmetric encryption * bump pypy/cffi requirements * update docs, fix some tests * old openssl is naught but pain * revert a typo * use trusty for old pypy * better error msg again * restore match
* Add clearer message when key type is not bytes (#4289)Vladyslav Moisieienkov2018-06-201-0/+4
| | | | | | | | | | | | * Add clearer message in Cipher when key is not bytes * Change location of key type check to verify_key_size function * Replace formated error message with static * Add key type check tests to all ciphers constructors * Change key type error message to lowercase
* add ChaCha20 support (#3919)Paul Kehrer2017-09-281-0/+60
* add ChaCha20 support * review feedback * 256 divided by 8 is what again? * ...