aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* pep8Alex Gaynor2013-12-131-1/+1
|
* Make this less invasiveAlex Gaynor2013-12-131-177/+280
|
* Clean up test generation to not use generators anymore and use parametrizationAlex Gaynor2013-12-131-332/+209
|
* raise ValueErrors when supplying/not supplying tags for GCMPaul Kehrer2013-12-041-0/+35
|
* create AEADEncryptionContext and DecryptionContextPaul Kehrer2013-11-291-1/+1
|
* raise TypeError if you attempt to get the tag attribute on a decryptPaul Kehrer2013-11-291-0/+9
| | | | | * To support this the _AEADCipherContext in base.py now needs to be aware of whether it is encrypting/decrypting
* rename add_data to authenticate_additional_data for clarity (hopefully)Paul Kehrer2013-11-291-5/+5
|
* invalidtag exception for gcmPaul Kehrer2013-11-291-2/+2
| | | | | This exception is probably not safe. It depends on the assumption that if ERR_get_error returns a 0 then it is an AEAD tag error.
* enforce AEAD add_data before updatePaul Kehrer2013-11-291-8/+10
|
* _AEADCipherContext refactorPaul Kehrer2013-11-291-0/+4
| | | | | | * No longer extends _CipherContext * Remove _tag from _CipherContext * This change duplicates a small amount of code from _CipherContext
* rename NotFinalized exception to NotYetFinalized because alex is rightPaul Kehrer2013-11-291-2/+2
| | | | ...it does read better that way
* GCM supportPaul Kehrer2013-11-291-2/+103
|
* Use keyword argument forms everywhere.David Reid2013-11-251-7/+7
|
* Explicit backendDavid Reid2013-11-201-5/+5
|
* Fixed using copied hashesAlex Gaynor2013-11-121-0/+6
|
* Remove separate file loaders and replace with onePaul Kehrer2013-11-111-4/+18
| | | | All tests updated to work with the new simplified loader
* ARC4 supportPaul Kehrer2013-11-071-0/+39
|
* block cipher renamePaul Kehrer2013-11-061-2/+2
| | | | | | * block renamed to ciphers * ciphers renamed to algorithms * base moved into algorithms
* Encode Reasons.David Reid2013-11-011-1/+1
|
* Strip down the HMAC interface to be HashContext.David Reid2013-11-011-10/+7
|
* Enforce that Hash takes a HashAlgorithm instance.David Reid2013-10-311-2/+2
|
* Fix python3 compat for the hash_test.David Reid2013-10-311-2/+3
|
* Fix python3 compatibility and pep8David Reid2013-10-301-1/+1
|
* Reduce the surface of the primitive hash interface. Add more interfaces, ↵David Reid2013-10-301-13/+13
| | | | drop direct hashlib compatibility.
* make hmac (mostly) compatible with stdlib hmacPaul Kehrer2013-10-281-10/+10
|
* HMAC supportPaul Kehrer2013-10-281-0/+55
| | | | | | Conflicts: docs/primitives/index.rst tests/hazmat/primitives/utils.py
* Move the bindings into the hazmat moduleDonald Stufft2013-10-281-1/+1
|
* Move primtives into a hazmat packageDonald Stufft2013-10-281-0/+127