aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
Commit message (Collapse)AuthorAgeFilesLines
...
* BlockCipherAlgorithm because we should document block_size and ARC4 ↵David Reid2013-12-173-4/+21
| | | | shouldn't need block_size = 1.
* Merge pull request #308 from alex/rename-bindingsDonald Stufft2013-12-1526-4/+4
|\ | | | | Renamed bindings to backends
| * Renamed bindings to backendsAlex Gaynor2013-12-1326-4/+4
| |
* | Merge pull request #283 from juliankrause/constant_timePaul Kehrer2013-12-141-0/+53
|\ \ | |/ |/| Beginnings of a constant_time module.
| * Beginnings of a constant_time module.Julian Krause2013-12-041-0/+53
| |
* | Merge pull request #300 from dreid/supress-openssl-osx-deprecation-warningsAlex Gaynor2013-12-121-1/+26
|\ \ | | | | | | Supress the deprecation warnings by including an __APPLE__ only preamble.
| * | alex parens.David Reid2013-12-121-5/+7
| | |
| * | formatting more consistent with other cffi secitons.David Reid2013-12-121-20/+20
| | |
| * | Attempt to fix nebulous indentation complaints and also re-set after the ↵David Reid2013-12-121-8/+20
| | | | | | | | | | | | includes.
| * | Supress the deprecation warnings by including an __APPLE__ only preamble.David Reid2013-12-121-1/+12
| |/
* | Merge pull request #234 from alex/padding-fixesDavid Reid2013-12-121-9/+51
|\ \ | | | | | | Made PKCS7 unpadding more constant time
| * | name this function correcctlyAlex Gaynor2013-11-191-3/+3
| | |
| * | flake8Alex Gaynor2013-11-191-1/+0
| | |
| * | Constant time comparisons hereAlex Gaynor2013-11-191-2/+2
| | |
| * | Doh, fixAlex Gaynor2013-11-191-1/+2
| | |
| * | Even fewer secret branches before the data is validAlex Gaynor2013-11-191-2/+5
| | |
| * | Use an instruction that is more likely to be constant time on a modern x86 CPUAlex Gaynor2013-11-181-1/+1
| | |
| * | This is a static functionAlex Gaynor2013-11-181-1/+1
| | |
| * | No more undefined behaviorAlex Gaynor2013-11-181-4/+2
| | |
| * | 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.