aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | Remove unused includeAlex Gaynor2013-11-181-1/+0
| | | | | | | | | |
| * | | | | | | | | Use types more preciselyAlex Gaynor2013-11-181-7/+7
| | | | | | | | | |
| * | | | | | | | | Make this comment more accurateAlex Gaynor2013-11-181-1/+1
| | | | | | | | | |
| * | | | | | | | | Even more constant timeAlex Gaynor2013-11-181-1/+8
| | | | | | | | | |
| * | | | | | | | | const correctnessAlex Gaynor2013-11-161-2/+2
| | | | | | | | | |
| * | | | | | | | | Fixed flake8 issuesAlex Gaynor2013-11-151-3/+3
| | | | | | | | | |
| * | | | | | | | | Move all unpadding logic to CAlex Gaynor2013-11-151-7/+18
| | | | | | | | | |
| * | | | | | | | | More constant time, betterAlex Gaynor2013-11-081-6/+1
| | | | | | | | | |
| * | | | | | | | | flake8 fixesAlex Gaynor2013-11-071-1/+1
| | | | | | | | | |
| * | | | | | | | | py3k fixAlex Gaynor2013-11-071-0/+1
| | | | | | | | | |
| * | | | | | | | | Fixed a bug in padding, and also made it more constant timeAlex Gaynor2013-11-071-3/+31
| | |_|_|_|_|/ / / | |/| | | | | | |
* | | | | | | | | remove two ENGINE_set_default_* functions default OS X OpenSSL lacksPaul Kehrer2013-12-121-2/+0
| | | | | | | | |
* | | | | | | | | add ENGINE set default methodsPaul Kehrer2013-12-111-0/+12
| | | | | | | | |
* | | | | | | | | add additional bindings to load private keysPaul Kehrer2013-12-091-0/+9
| | | | | | | | |
* | | | | | | | | add publickey_dupPaul Kehrer2013-12-091-0/+1
| | | | | | | | |
* | | | | | | | | add new error constantsPaul Kehrer2013-12-091-0/+7
| | | | | | | | |
* | | | | | | | | add dec2bnPaul Kehrer2013-12-091-0/+3
| | | | | | | | |
* | | | | | | | | remove RSA PSS constant (for now), de-opaque RSA *Paul Kehrer2013-12-071-2/+11
| | | | | | | | |
* | | | | | | | | expand rsa bindingsPaul Kehrer2013-12-061-0/+15
| | | | | | | | |
* | | | | | | | | Merge pull request #286 from alex/code-duplicationPaul Kehrer2013-12-061-43/+16
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Rreduce code duplication
| * | | | | | | | | Rreduce code duplicationAlex Gaynor2013-12-061-43/+16
| | |/ / / / / / / | |/| | | | | | |
* / | | | | | | | raise ValueErrors when supplying/not supplying tags for GCMPaul Kehrer2013-12-041-1/+7
|/ / / / / / / /
* | | | | | | | 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
| | | | | | | |
* | | | | | | | create AEADEncryptionContext and DecryptionContextPaul Kehrer2013-11-293-11/+26
| | | | | | | |
* | | | | | | | 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-291-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-293-5/+5
| | | | | | | |
* | | | | | | | invalidtag exception for gcmPaul Kehrer2013-11-292-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-292-1/+11
| | | | | | | |
* | | | | | | | _AEADCipherContext refactorPaul Kehrer2013-11-291-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-292-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...it does read better that way
* | | | | | | | add tag as abstractproperty for modewithaadPaul Kehrer2013-11-291-1/+5
| | | | | | | |
* | | | | | | | fix buffer size bug for gcm tag fetchPaul Kehrer2013-11-291-2/+1
| | | | | | | |
* | | | | | | | GCM supportPaul Kehrer2013-11-295-8/+118
| |_|/ / / / / |/| | | | | |
* | | | | | | Merge pull request #227 from dreid/explicit-backend-in-hazmatAlex Gaynor2013-11-264-17/+7
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | Explicit backend
| * | | | | | Use backend as keyword even when copying hmacs.David Reid2013-11-251-1/+1
| | | | | | |
| * | | | | | Add a default_backend and start updating docs.David Reid2013-11-201-1/+4
| | | | | | |
| * | | | | | Explicit backendDavid Reid2013-11-203-17/+4
| | |/ / / / | |/| | | |
* | | | | | Useful error messageAlex Gaynor2013-11-221-2/+8
| | | | | |
* | | | | | Change teh exceptionAlex Gaynor2013-11-222-7/+3
| | | | | |
* | | | | | CoverageAlex Gaynor2013-11-221-3/+3
| | | | | |
* | | | | | include the error messageAlex Gaynor2013-11-221-1/+4
| | | | | |
* | | | | | Better, but still not coveredAlex Gaynor2013-11-221-1/+3
| | | | | |
* | | | | | Raise a correct error when content isn't padded correctlyAlex Gaynor2013-11-223-2/+31
|/ / / / /
* | | | | Some docstrings.David Reid2013-11-181-1/+8
| | | | |
* | | | | Merge branch 'master' into backend-interfacesDavid Reid2013-11-181-1/+4
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | de-opaque EVP_CIPHER_CTX a bitPaul Kehrer2013-11-181-1/+4
| | | | |