Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | | | | | Remove unused include | Alex Gaynor | 2013-11-18 | 1 | -1/+0 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | Use types more precisely | Alex Gaynor | 2013-11-18 | 1 | -7/+7 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | Make this comment more accurate | Alex Gaynor | 2013-11-18 | 1 | -1/+1 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | Even more constant time | Alex Gaynor | 2013-11-18 | 1 | -1/+8 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | const correctness | Alex Gaynor | 2013-11-16 | 1 | -2/+2 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | Fixed flake8 issues | Alex Gaynor | 2013-11-15 | 1 | -3/+3 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | Move all unpadding logic to C | Alex Gaynor | 2013-11-15 | 1 | -7/+18 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | More constant time, better | Alex Gaynor | 2013-11-08 | 1 | -6/+1 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | flake8 fixes | Alex Gaynor | 2013-11-07 | 1 | -1/+1 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | py3k fix | Alex Gaynor | 2013-11-07 | 1 | -0/+1 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | Fixed a bug in padding, and also made it more constant time | Alex Gaynor | 2013-11-07 | 1 | -3/+31 | |
| | |_|_|_|_|/ / / | |/| | | | | | | | ||||||
* | | | | | | | | | remove two ENGINE_set_default_* functions default OS X OpenSSL lacks | Paul Kehrer | 2013-12-12 | 1 | -2/+0 | |
| | | | | | | | | | ||||||
* | | | | | | | | | add ENGINE set default methods | Paul Kehrer | 2013-12-11 | 1 | -0/+12 | |
| | | | | | | | | | ||||||
* | | | | | | | | | add additional bindings to load private keys | Paul Kehrer | 2013-12-09 | 1 | -0/+9 | |
| | | | | | | | | | ||||||
* | | | | | | | | | add publickey_dup | Paul Kehrer | 2013-12-09 | 1 | -0/+1 | |
| | | | | | | | | | ||||||
* | | | | | | | | | add new error constants | Paul Kehrer | 2013-12-09 | 1 | -0/+7 | |
| | | | | | | | | | ||||||
* | | | | | | | | | add dec2bn | Paul Kehrer | 2013-12-09 | 1 | -0/+3 | |
| | | | | | | | | | ||||||
* | | | | | | | | | remove RSA PSS constant (for now), de-opaque RSA * | Paul Kehrer | 2013-12-07 | 1 | -2/+11 | |
| | | | | | | | | | ||||||
* | | | | | | | | | expand rsa bindings | Paul Kehrer | 2013-12-06 | 1 | -0/+15 | |
| | | | | | | | | | ||||||
* | | | | | | | | | Merge pull request #286 from alex/code-duplication | Paul Kehrer | 2013-12-06 | 1 | -43/+16 | |
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Rreduce code duplication | |||||
| * | | | | | | | | | Rreduce code duplication | Alex Gaynor | 2013-12-06 | 1 | -43/+16 | |
| | |/ / / / / / / | |/| | | | | | | | ||||||
* / | | | | | | | | raise ValueErrors when supplying/not supplying tags for GCM | Paul Kehrer | 2013-12-04 | 1 | -1/+7 | |
|/ / / / / / / / | ||||||
* | | | | | | | | 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 | |
| | | | | | | | | ||||||
* | | | | | | | | create AEADEncryptionContext and DecryptionContext | Paul Kehrer | 2013-11-29 | 3 | -11/+26 | |
| | | | | | | | | ||||||
* | | | | | | | | 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 | 1 | -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/aeadciphercontext | Paul Kehrer | 2013-11-29 | 1 | -22/+12 | |
| | | | | | | | | ||||||
* | | | | | | | | rename add_data to authenticate_additional_data for clarity (hopefully) | Paul Kehrer | 2013-11-29 | 3 | -5/+5 | |
| | | | | | | | | ||||||
* | | | | | | | | invalidtag exception for gcm | Paul Kehrer | 2013-11-29 | 2 | -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 update | Paul Kehrer | 2013-11-29 | 2 | -1/+11 | |
| | | | | | | | | ||||||
* | | | | | | | | _AEADCipherContext refactor | Paul Kehrer | 2013-11-29 | 1 | -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 right | Paul Kehrer | 2013-11-29 | 2 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...it does read better that way | |||||
* | | | | | | | | add tag as abstractproperty for modewithaad | Paul Kehrer | 2013-11-29 | 1 | -1/+5 | |
| | | | | | | | | ||||||
* | | | | | | | | fix buffer size bug for gcm tag fetch | Paul Kehrer | 2013-11-29 | 1 | -2/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | GCM support | Paul Kehrer | 2013-11-29 | 5 | -8/+118 | |
| |_|/ / / / / |/| | | | | | | ||||||
* | | | | | | | Merge pull request #227 from dreid/explicit-backend-in-hazmat | Alex Gaynor | 2013-11-26 | 4 | -17/+7 | |
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | Explicit backend | |||||
| * | | | | | | Use backend as keyword even when copying hmacs. | David Reid | 2013-11-25 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | Add a default_backend and start updating docs. | David Reid | 2013-11-20 | 1 | -1/+4 | |
| | | | | | | | ||||||
| * | | | | | | Explicit backend | David Reid | 2013-11-20 | 3 | -17/+4 | |
| | |/ / / / | |/| | | | | ||||||
* | | | | | | Useful error message | Alex Gaynor | 2013-11-22 | 1 | -2/+8 | |
| | | | | | | ||||||
* | | | | | | Change teh exception | Alex Gaynor | 2013-11-22 | 2 | -7/+3 | |
| | | | | | | ||||||
* | | | | | | Coverage | Alex Gaynor | 2013-11-22 | 1 | -3/+3 | |
| | | | | | | ||||||
* | | | | | | 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 | |
| | | | | | | ||||||
* | | | | | | Raise a correct error when content isn't padded correctly | Alex Gaynor | 2013-11-22 | 3 | -2/+31 | |
|/ / / / / | ||||||
* | | | | | Some docstrings. | David Reid | 2013-11-18 | 1 | -1/+8 | |
| | | | | | ||||||
* | | | | | Merge branch 'master' into backend-interfaces | David Reid | 2013-11-18 | 1 | -1/+4 | |
|\ \ \ \ \ | | |_|_|/ | |/| | | | ||||||
| * | | | | de-opaque EVP_CIPHER_CTX a bit | Paul Kehrer | 2013-11-18 | 1 | -1/+4 | |
| | | | | |