aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives
Commit message (Expand)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-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
* 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
* enforce AEAD add_data before updatePaul Kehrer2013-11-293-12/+14
* _AEADCipherContext refactorPaul Kehrer2013-11-291-0/+4
* rename NotFinalized exception to NotYetFinalized because alex is rightPaul Kehrer2013-11-291-2/+2
* GCM supportPaul Kehrer2013-11-294-5/+163
* Fixed this test. It was passing for the wrong reason.Alex Gaynor2013-11-271-2/+2
* Merge pull request #227 from dreid/explicit-backend-in-hazmatAlex Gaynor2013-11-264-30/+18
|\
| * 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
|/
* Move interfaces.register to utils.register_interface in preparation for more ...David Reid2013-11-181-1/+2
* 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 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
|\
| * 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
* | Also remove teh ciphers specific classAlex Gaynor2013-11-135-11/+11
* | Remove the hash and hmac specific classes, now that the logic is the Context ...Alex Gaynor2013-11-134-26/+26
* | Merge branch 'master' into hmac-context-from-backendDavid Reid2013-11-121-3/+3
|\|
| * Merge pull request #248 from dreid/hash-context-from-backendAlex Gaynor2013-11-121-3/+3
| |\
| | * Get a HashContext from the backend like we do a CipherContextDavid Reid2013-11-121-3/+3
* | | Get a HashContext from the hmac backend like we do a CipherContextDavid Reid2013-11-121-2/+3
|/ /
* / Fixed using copied hashesAlex Gaynor2013-11-121-0/+6
|/
* Remove separate file loaders and replace with onePaul Kehrer2013-11-119-48/+62
* Ignore the sections of the NIST filesAlex Gaynor2013-11-115-20/+18
* Merge pull request #214 from reaperhulk/arc4-supportDavid Reid2013-11-094-2/+114
|\
| * add ARC4 keysize testingPaul Kehrer2013-11-071-1/+20
| * ARC4 supportPaul Kehrer2013-11-073-1/+94
* | Fixed two bugs in the PKCS7 padding where unpadding would accept bad inputs.Alex Gaynor2013-11-091-0/+2
|/
* block cipher renamePaul Kehrer2013-11-068-53/+55
* Merge pull request #213 from reaperhulk/arc4-vectorsDavid Reid2013-11-047-0/+1761
|\
| * add key 2 tests from rfc 6229Paul Kehrer2013-11-017-0/+882
| * ARC4 vectors from RFC 6229 reformatted for NIST loaderPaul Kehrer2013-11-017-0/+879
* | Changed excpetion name based on feedback from dreidAlex Gaynor2013-11-021-3/+3
* | Document and implement the public API for when the backend doesn't support th...Alex Gaynor2013-11-021-0/+11
* | Encode Reasons.David Reid2013-11-011-1/+1
* | TypeErrors are pretty cool, there are lot of reasons you get them.David Reid2013-11-011-1/+1
* | Enforce HMAC taking an instance of HashAlgorithmDavid Reid2013-11-012-10/+14
* | Strip down the HMAC interface to be HashContext.David Reid2013-11-012-23/+9