aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Merge pull request #325 from public/unsupported-cipher-messagesAlex Gaynor2013-12-221-3/+9
| | |\ | | | | | | | | UnsupportedAlgorithm error messages for Ciphers
| | | * UnsupportedAlgorithm error messages for CiphersAlex Stapleton2013-12-221-3/+9
| | | |
| | * | Merge pull request #327 from reaperhulk/gcm-lower-limit-tagAlex Gaynor2013-12-211-0/+7
| | |\ \ | | | | | | | | | | Restrict GCM tag length to 4+ bytes
| | | * | restrict gcm tags to a minimum of 4 bytes in lengthPaul Kehrer2013-12-211-0/+7
| | | | |
| | * | | Merge pull request #326 from public/unsupported-hmac-hashAlex Gaynor2013-12-211-2/+12
| | |\ \ \ | | | |/ / | | |/| | Raise UnsupportedAlgorithm when initing HMACs
| | | * | Raise UnsupportedAlgorithm when initing HMACsAlex Stapleton2013-12-211-2/+12
| | | |/
| | * | Merge pull request #324 from public/unsupported-hashAlex Gaynor2013-12-211-2/+12
| | |\ \ | | | | | | | | | | Raise UnsupportedAlgorithm when initing Hash()
| | | * | Raise UnsupportedAlgorithm when initing Hash()Alex Stapleton2013-12-211-2/+12
| | | |/ | | | | | | | | | | | | Instead of just an AssertionError.
| | * | use both kwargs and named args in lambdas for clarityPaul Kehrer2013-12-216-65/+43
| | | |
| | * | don't modify params on parametrized testsPaul Kehrer2013-12-207-55/+77
| | |/ | | | | | | | | | | | | multiple backends receive the same params dicts, but we were modifying them using pop.
| | * Merge branch 'master' into no-more-generatorAlex Gaynor2013-12-171-0/+41
| | |\ | | | | | | | | | | | | | | | | Conflicts: tests/hazmat/primitives/utils.py
| | * | 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
| | | |
| * | | Add verify function to hmac and hashes.Julian Krause2013-12-172-2/+48
| | |/ | |/|
* | | Merge branch 'master' into validate-ivAlex Gaynor2013-12-155-6/+276
|\| | | | | | | | | | | | | | | | | Conflicts: cryptography/hazmat/primitives/ciphers/modes.py tests/hazmat/primitives/test_block.py
| * | Merge pull request #308 from alex/rename-bindingsDonald Stufft2013-12-151-1/+1
| |\ \ | | | | | | | | Renamed bindings to backends
| | * | Renamed bindings to backendsAlex Gaynor2013-12-131-1/+1
| | |/
| * | Merge pull request #283 from juliankrause/constant_timePaul Kehrer2013-12-141-0/+41
| |\ \ | | |/ | |/| Beginnings of a constant_time module.
| | * Beginnings of a constant_time module.Julian Krause2013-12-041-0/+41
| | |
| * | raise ValueErrors when supplying/not supplying tags for GCMPaul Kehrer2013-12-043-3/+59
| |/
| * 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-293-12/+14
| |
| * _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-294-5/+163
| |
* | Merge branch 'master' into validate-ivAlex Gaynor2013-11-271-2/+2
|\|
| * Fixed this test. It was passing for the wrong reason.Alex Gaynor2013-11-271-2/+2
| | | | | | | | Shame on us for letting something without coverage land.
* | Merge branch 'master' into validate-ivAlex Gaynor2013-11-274-30/+34
|\| | | | | | | | | Conflicts: tests/hazmat/primitives/test_block.py
| * Merge pull request #227 from dreid/explicit-backend-in-hazmatAlex Gaynor2013-11-264-30/+18
| |\ | | | | | | Explicit backend
| | * Fix pep8David Reid2013-11-251-1/+2
| | |
| | * Use keyword argument forms everywhere.David Reid2013-11-253-15/+16
| | |
| | * Explicit backendDavid Reid2013-11-204-37/+23
| | |
| * | Change teh exceptionAlex Gaynor2013-11-221-5/+3
| | |
| * | Raise a correct error when content isn't padded correctlyAlex Gaynor2013-11-221-1/+19
| |/
* | fixed typoAlex Gaynor2013-11-191-1/+1
| |
* | test for ctrAlex Gaynor2013-11-191-0/+8
| |
* | Tests for OFB and CFBAlex Gaynor2013-11-191-0/+16
| |
* | Validate the IV/nonce length for a given algorithm.Alex Gaynor2013-11-191-1/+16
|/ | | | Fixes #159
* Move interfaces.register to utils.register_interface in preparation for more ↵David Reid2013-11-181-1/+2
| | | | interface modules.
* Implement and document an interface for cipher algorithmsDavid Reid2013-11-151-1/+11
|
* Merge pull request #258 from alex/already-finalizedDavid Reid2013-11-132-5/+8
|\ | | | | Use AlreadyFinalized for symmetric ciphers
| * Use AlreadyFinalized for symmetric ciphersAlex Gaynor2013-11-132-5/+8
| |
* | Make HMAC methods raise AlreadyFinalized.David Reid2013-11-131-0/+14
|/
* 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
| |