aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improve documentation.Julian Krause2013-12-052-4/+15
|
* Beginnings of a constant_time module.Julian Krause2013-12-044-0/+119
|
* Merge pull request #176 from reaperhulk/gcm-supportDavid Reid2013-12-0411-14/+419
|\ | | | | [WIP] GCM support
| * link to NIST GCM PDF where NIST recommends 96-bit IV for perf with GCMPaul Kehrer2013-12-031-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 docsPaul Kehrer2013-12-031-12/+5
| |
| * improve language for gcm docsPaul Kehrer2013-12-031-5/+5
| |
| * remove AEADDecryptionContext per review.Paul Kehrer2013-12-033-11/+1
| | | | | | | | | | decryption will return AEADCipherContext and encryption returns AEADEncryptionContext
| * rename ModeWithAAD to ModeWithAuthenticationTagPaul Kehrer2013-12-033-3/+3
| |
| * attempt to document the new interfaces for AEADPaul Kehrer2013-11-291-6/+20
| |
| * create AEADEncryptionContext and DecryptionContextPaul Kehrer2013-11-294-12/+27
| |
| * explicit backend fix for gcm docsPaul Kehrer2013-11-291-2/+2
| |
| * begin adding warnings to GCM modePaul Kehrer2013-11-291-0/+6
| |
| * document tag param for GCM objectPaul Kehrer2013-11-291-0/+3
| |
| * narrow the potential cases where invalidtag can be raisedPaul Kehrer2013-11-291-3/+4
| |
| * make _CipherContext in backend.py compliant with AEADCipherContextPaul Kehrer2013-11-292-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 decryptPaul Kehrer2013-11-293-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/aeadciphercontextPaul Kehrer2013-11-291-22/+12
| |
| * rename add_data to authenticate_additional_data for clarity (hopefully)Paul Kehrer2013-11-295-18/+18
| |
| * gcm doc fixes (per review from alex)Paul Kehrer2013-11-291-3/+4
| |
| * invalidtag exception for gcmPaul Kehrer2013-11-293-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 updatePaul Kehrer2013-11-296-14/+33
| |
| * gcm doc improvementsPaul Kehrer2013-11-291-2/+6
| |
| * _AEADCipherContext refactorPaul Kehrer2013-11-292-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 rightPaul Kehrer2013-11-293-6/+6
| | | | | | | | ...it does read better that way
| * add tag as abstractproperty for modewithaadPaul Kehrer2013-11-291-1/+5
| |
| * gcm doc fixesPaul Kehrer2013-11-291-2/+2
| |
| * fix buffer size bug for gcm tag fetchPaul Kehrer2013-11-291-2/+1
| |
| * GCM supportPaul Kehrer2013-11-2911-13/+334
|/
* Merge pull request #279 from alex/spelling-fixPaul Kehrer2013-11-271-1/+1
|\ | | | | Learn how to spell a word
| * Learn how to spell a wordAlex Gaynor2013-11-271-1/+1
|/
* Merge pull request #278 from alex/tests-fixPaul Kehrer2013-11-271-2/+2
|\ | | | | Fixed this test. It was passing for the wrong reason.
| * 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 pull request #227 from dreid/explicit-backend-in-hazmatAlex Gaynor2013-11-2613-56/+97
|\ | | | | Explicit backend
| * Fix pep8David Reid2013-11-251-1/+2
| |
| * Use backend as keyword even when copying hmacs.David Reid2013-11-251-1/+1
| |
| * Put some docs for default_backend in a place.David Reid2013-11-251-0/+24
| |
| * Use keyword argument forms everywhere.David Reid2013-11-253-15/+16
| |
| * Test that openssl is the default backend.David Reid2013-11-201-0/+4
| |
| * Document all the parameters including cross references to specific providers ↵David Reid2013-11-203-2/+32
| | | | | | | | where appropriate.
| * Use backend as keyword argument everywhere.David Reid2013-11-203-4/+4
| |
| * Fix doctests.David Reid2013-11-202-1/+2
| |
| * Add a default_backend and start updating docs.David Reid2013-11-204-9/+16
| |
| * Explicit backendDavid Reid2013-11-207-54/+27
| |
* | Merge pull request #275 from alex/branch-coverageHynek Schlawack2013-11-231-0/+17
|\ \ | | | | | | Fixed branch coverage
| * | Fixed branch coverageAlex Gaynor2013-11-231-0/+17
|/ /
* | Merge pull request #274 from alex/handle-bad-paddingDonald Stufft2013-11-227-3/+76
|\ \ | | | | | | Raise a correct error when content isn't padded correctly
| * | Useful error messageAlex Gaynor2013-11-221-2/+8
| | |
| * | Change teh exceptionAlex Gaynor2013-11-226-25/+16
| | |
| * | CoverageAlex Gaynor2013-11-222-3/+7
| | |
| * | include the error messageAlex Gaynor2013-11-221-1/+4
| | |