aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
| * | Better, but still not coveredAlex Gaynor2013-11-221-1/+3
| | |
| * | One more documentationAlex Gaynor2013-11-221-0/+4
| | |
| * | Documentation!Alex Gaynor2013-11-221-0/+16
| | |
| * | Raise a correct error when content isn't padded correctlyAlex Gaynor2013-11-224-3/+50
|/ /
* | Merge pull request #273 from alex/pypy-is-now-up-to-dateDavid Reid2013-11-201-17/+1
|\ \ | |/ |/| Travis now has an up to date pypy
| * Travis now has an up to date pypyAlex Gaynor2013-11-201-17/+1
|/
* Merge pull request #271 from alex/fix-latexPaul Kehrer2013-11-191-2/+7
|\ | | | | Fix latex compilation (needed for pdf on read the docs)
| * Fix latex compilation (needed for pdf on read the docs)Alex Gaynor2013-11-191-2/+7
|/
* Merge pull request #269 from dreid/backend-interfacesAlex Gaynor2013-11-194-0/+210
|\ | | | | Backend interfaces
| * Describe what backends provide via these interfaces and that not all ↵David Reid2013-11-181-0/+8
| | | | | | | | backends must provide all interfaces.