Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Beginnings of a constant_time module. | Julian Krause | 2013-12-04 | 4 | -0/+119 |
| | |||||
* | Merge pull request #176 from reaperhulk/gcm-support | David Reid | 2013-12-04 | 11 | -14/+419 |
|\ | | | | | [WIP] GCM support | ||||
| * | link to NIST GCM PDF where NIST recommends 96-bit IV for perf with GCM | Paul Kehrer | 2013-12-03 | 1 | -5/+7 |
| | | | | | | | | | | Clarify that 96-bit IV is only recommended in performance critical situations...otherwise feel free to use something longer. | ||||
| * | remove AEADDecryptionContext references from GCM docs | Paul Kehrer | 2013-12-03 | 1 | -12/+5 |
| | | |||||
| * | improve language for gcm docs | Paul Kehrer | 2013-12-03 | 1 | -5/+5 |
| | | |||||
| * | remove AEADDecryptionContext per review. | Paul Kehrer | 2013-12-03 | 3 | -11/+1 |
| | | | | | | | | | | decryption will return AEADCipherContext and encryption returns AEADEncryptionContext | ||||
| * | rename ModeWithAAD to ModeWithAuthenticationTag | Paul Kehrer | 2013-12-03 | 3 | -3/+3 |
| | | |||||
| * | attempt to document the new interfaces for AEAD | Paul Kehrer | 2013-11-29 | 1 | -6/+20 |
| | | |||||
| * | create AEADEncryptionContext and DecryptionContext | Paul Kehrer | 2013-11-29 | 4 | -12/+27 |
| | | |||||
| * | explicit backend fix for gcm docs | Paul Kehrer | 2013-11-29 | 1 | -2/+2 |
| | | |||||
| * | begin adding warnings to GCM mode | Paul Kehrer | 2013-11-29 | 1 | -0/+6 |
| | | |||||
| * | document tag param for GCM object | Paul Kehrer | 2013-11-29 | 1 | -0/+3 |
| | | |||||
| * | narrow the potential cases where invalidtag can be raised | Paul Kehrer | 2013-11-29 | 1 | -3/+4 |
| | | |||||
| * | make _CipherContext in backend.py compliant with AEADCipherContext | Paul Kehrer | 2013-11-29 | 2 | -1/+6 |
| | | | | | | | | | | | | * Might make more sense to split it into _CipherContext and _AEADCipherContext like we do in base.py, but there would be quite a bit of duplicate code. | ||||
| * | raise TypeError if you attempt to get the tag attribute on a decrypt | Paul Kehrer | 2013-11-29 | 3 | -5/+19 |
| | | | | | | | | | | * To support this the _AEADCipherContext in base.py now needs to be aware of whether it is encrypting/decrypting | ||||
| * | simplify code for wrapping ciphercontext/aeadciphercontext | Paul Kehrer | 2013-11-29 | 1 | -22/+12 |
| | | |||||
| * | rename add_data to authenticate_additional_data for clarity (hopefully) | Paul Kehrer | 2013-11-29 | 5 | -18/+18 |
| | | |||||
| * | gcm doc fixes (per review from alex) | Paul Kehrer | 2013-11-29 | 1 | -3/+4 |
| | | |||||
| * | invalidtag exception for gcm | Paul Kehrer | 2013-11-29 | 3 | -4/+9 |
| | | | | | | | | | | 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 update | Paul Kehrer | 2013-11-29 | 6 | -14/+33 |
| | | |||||
| * | gcm doc improvements | Paul Kehrer | 2013-11-29 | 1 | -2/+6 |
| | | |||||
| * | _AEADCipherContext refactor | Paul Kehrer | 2013-11-29 | 2 | -3/+22 |
| | | | | | | | | | | | | * 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 right | Paul Kehrer | 2013-11-29 | 3 | -6/+6 |
| | | | | | | | | ...it does read better that way | ||||
| * | add tag as abstractproperty for modewithaad | Paul Kehrer | 2013-11-29 | 1 | -1/+5 |
| | | |||||
| * | gcm doc fixes | Paul Kehrer | 2013-11-29 | 1 | -2/+2 |
| | | |||||
| * | fix buffer size bug for gcm tag fetch | Paul Kehrer | 2013-11-29 | 1 | -2/+1 |
| | | |||||
| * | GCM support | Paul Kehrer | 2013-11-29 | 11 | -13/+334 |
|/ | |||||
* | Merge pull request #279 from alex/spelling-fix | Paul Kehrer | 2013-11-27 | 1 | -1/+1 |
|\ | | | | | Learn how to spell a word | ||||
| * | Learn how to spell a word | Alex Gaynor | 2013-11-27 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #278 from alex/tests-fix | Paul Kehrer | 2013-11-27 | 1 | -2/+2 |
|\ | | | | | Fixed this test. It was passing for the wrong reason. | ||||
| * | Fixed this test. It was passing for the wrong reason. | Alex Gaynor | 2013-11-27 | 1 | -2/+2 |
|/ | | | | Shame on us for letting something without coverage land. | ||||
* | Merge pull request #227 from dreid/explicit-backend-in-hazmat | Alex Gaynor | 2013-11-26 | 13 | -56/+97 |
|\ | | | | | Explicit backend | ||||
| * | Fix pep8 | David Reid | 2013-11-25 | 1 | -1/+2 |
| | | |||||
| * | Use backend as keyword even when copying hmacs. | David Reid | 2013-11-25 | 1 | -1/+1 |
| | | |||||
| * | Put some docs for default_backend in a place. | David Reid | 2013-11-25 | 1 | -0/+24 |
| | | |||||
| * | Use keyword argument forms everywhere. | David Reid | 2013-11-25 | 3 | -15/+16 |
| | | |||||
| * | Test that openssl is the default backend. | David Reid | 2013-11-20 | 1 | -0/+4 |
| | | |||||
| * | Document all the parameters including cross references to specific providers ↵ | David Reid | 2013-11-20 | 3 | -2/+32 |
| | | | | | | | | where appropriate. | ||||
| * | Use backend as keyword argument everywhere. | David Reid | 2013-11-20 | 3 | -4/+4 |
| | | |||||
| * | Fix doctests. | David Reid | 2013-11-20 | 2 | -1/+2 |
| | | |||||
| * | Add a default_backend and start updating docs. | David Reid | 2013-11-20 | 4 | -9/+16 |
| | | |||||
| * | Explicit backend | David Reid | 2013-11-20 | 7 | -54/+27 |
| | | |||||
* | | Merge pull request #275 from alex/branch-coverage | Hynek Schlawack | 2013-11-23 | 1 | -0/+17 |
|\ \ | | | | | | | Fixed branch coverage | ||||
| * | | Fixed branch coverage | Alex Gaynor | 2013-11-23 | 1 | -0/+17 |
|/ / | |||||
* | | Merge pull request #274 from alex/handle-bad-padding | Donald Stufft | 2013-11-22 | 7 | -3/+76 |
|\ \ | | | | | | | Raise a correct error when content isn't padded correctly | ||||
| * | | Useful error message | Alex Gaynor | 2013-11-22 | 1 | -2/+8 |
| | | | |||||
| * | | Change teh exception | Alex Gaynor | 2013-11-22 | 6 | -25/+16 |
| | | | |||||
| * | | Coverage | Alex Gaynor | 2013-11-22 | 2 | -3/+7 |
| | | | |||||
| * | | include the error message | Alex Gaynor | 2013-11-22 | 1 | -1/+4 |
| | | | |||||
| * | | Better, but still not covered | Alex Gaynor | 2013-11-22 | 1 | -1/+3 |
| | | |