aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_hashes.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for the latest pep8-naming (#4744)Alex Gaynor2019-02-021-8/+8
|
* shake128/256 support (#4611)Paul Kehrer2019-01-191-0/+21
| | | | | | | | | | | | | | * shake128/256 support * remove block_size * doc an exception * change how we detect XOF by adding _xof attribute * interface! * review feedback
* support byteslike in hash updates (#4702)Paul Kehrer2019-01-161-0/+12
| | | This is needed to handle keying material in some of the KDFs
* block_size isn't part of our interface and future hashes won't have it (#4366)Paul Kehrer2018-07-231-8/+0
|
* remove deprecated items (#3794)Paul Kehrer2017-07-201-26/+0
| | | | | | | | | | * remove deprecated items whirlpool, ripemd160, unsupportedextension, and the old interfaces * flake8 and remove a test generator we no longe use * make it clear we warned you about these things
* remove multibackend (#3555)Paul Kehrer2017-05-201-11/+0
| | | | | | | | * remove multibackend * oops * goodbye pointless tests
* blake2b/blake2s support (#3116)Paul Kehrer2016-08-281-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | * blake2b/blake2s support Doesn't support keying, personalization, salting, or tree hashes so the API is pretty simple right now. * implement digest_size via utils.read_only_property * un-keyed for spelling's sake * test copying + digest_size checks * unkeyed is too a word * line wrap * reword the docs * use the evp algorithm name in the error This will make BLAKE2 alternate digest size errors a bit less confusing * add changelog entry and docs about supported digest_size
* Un-double the test doublesAlex Gaynor2016-03-051-9/+2
|
* Refs #1870 - replace six.u with u prefix in tests/hazmat/primitivesEeshan Garg2015-04-291-3/+1
|
* move hash interfacesPaul Kehrer2015-02-131-2/+2
|
* Update the license header for every source file, as well as the documentation.Alex Gaynor2014-11-161-12/+3
| | | | Fixes #1209
* When using a test double for backends, always use one which really ↵Alex Gaynor2014-10-281-11/+5
| | | | implements the interface
* Added attributes that are part of hte interface to several test fakesAlex Gaynor2014-10-271-0/+2
|
* Change how we represented that a test requires a backend.Alex Gaynor2014-10-231-9/+9
| | | | This way is more extensible and requires less maintaince
* Update tests and raise sitesAlex Stapleton2014-03-271-3/+6
|
* Fixed #809 -- switch back to always using UnsupportedAlgorithmAlex Gaynor2014-03-271-5/+3
|
* Tiny style changes to some importsAlex Gaynor2014-03-161-1/+0
|
* Style nitpickAyrx2014-03-161-1/+2
|
* Added backend check to hash primitivesAyrx2014-03-161-2/+16
|
* Convert stuffAlex Gaynor2014-03-061-2/+2
|
* Instantiate our hash objects used for supported checksPaul Kehrer2014-01-041-8/+8
|
* re-add some removed generators to simplify patchPaul Kehrer2013-12-271-38/+69
|
* refactor all tests to use mark instead of generator skipsPaul Kehrer2013-12-261-55/+40
|
* add all the markers to the testsPaul Kehrer2013-12-241-0/+9
|
* Raise UnsupportedAlgorithm when initing Hash()Alex Stapleton2013-12-211-2/+12
| | | | Instead of just an AssertionError.
* Fix pep8David Reid2013-11-251-1/+2
|
* Use keyword argument forms everywhere.David Reid2013-11-251-4/+4
|
* Explicit backendDavid Reid2013-11-201-15/+6
|
* Use AlreadyFinalized for symmetric ciphersAlex Gaynor2013-11-131-0/+3
|
* Merge pull request #253 from dreid/hash-raise-after-finalizeAlex Gaynor2013-11-131-0/+11
|\ | | | | raise an exception if you try to use a HashContext after finalize is called.
| * Import AlreadyFinalized instead of exceptions.David Reid2013-11-131-3/+3
| |
| * raise an exception if you try to use a HashContext after finalize is called.David Reid2013-11-121-0/+11
| |
* | Remove the hash and hmac specific classes, now that the logic is the Context ↵Alex Gaynor2013-11-131-8/+8
|/ | | | classes they don't really add value
* Get a HashContext from the backend like we do a CipherContextDavid Reid2013-11-121-3/+3
|
* Enforce that Hash takes a HashAlgorithm instance.David Reid2013-10-311-17/+18
|
* Fix python3 compatibility and pep8David Reid2013-10-301-2/+2
|
* Reduce the surface of the primitive hash interface. Add more interfaces, ↵David Reid2013-10-301-9/+5
| | | | drop direct hashlib compatibility.
* Move the bindings into the hazmat moduleDonald Stufft2013-10-281-2/+1
|
* Move primtives into a hazmat packageDonald Stufft2013-10-281-0/+136