Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | | |||||
| * | | One more documentation | Alex Gaynor | 2013-11-22 | 1 | -0/+4 |
| | | | |||||
| * | | Documentation! | Alex Gaynor | 2013-11-22 | 1 | -0/+16 |
| | | | |||||
| * | | Raise a correct error when content isn't padded correctly | Alex Gaynor | 2013-11-22 | 4 | -3/+50 |
|/ / | |||||
* | | Merge pull request #273 from alex/pypy-is-now-up-to-date | David Reid | 2013-11-20 | 1 | -17/+1 |
|\ \ | |/ |/| | Travis now has an up to date pypy | ||||
| * | Travis now has an up to date pypy | Alex Gaynor | 2013-11-20 | 1 | -17/+1 |
|/ | |||||
* | Merge pull request #271 from alex/fix-latex | Paul Kehrer | 2013-11-19 | 1 | -2/+7 |
|\ | | | | | Fix latex compilation (needed for pdf on read the docs) | ||||
| * | Fix latex compilation (needed for pdf on read the docs) | Alex Gaynor | 2013-11-19 | 1 | -2/+7 |
|/ | |||||
* | Merge pull request #269 from dreid/backend-interfaces | Alex Gaynor | 2013-11-19 | 4 | -0/+210 |
|\ | | | | | Backend interfaces | ||||
| * | Describe what backends provide via these interfaces and that not all ↵ | David Reid | 2013-11-18 | 1 | -0/+8 |
| | | | | | | | | backends must provide all interfaces. |