aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Remove the two declarations that are not in 0.9.8cyli2013-11-111-2/+0
| | | |
* | | | Add all the variable declarations (and customizations necessary to make them ↵cyli2013-11-111-0/+123
| | | | | | | | | | | | | | | | work) for ssl.py
* | | | Merge pull request #214 from reaperhulk/arc4-supportDavid Reid2013-11-092-1/+25
|\ \ \ \ | | | | | | | | | | ARC4 Support
| * | | | Merge branch 'master' into arc4-supportPaul Kehrer2013-11-082-3/+24
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Typo Be really explicit about what's good and bad Mention return types. Consistently use e.g. Module documentation. Single space. Add a new Mode interface to document mode.name and start on some prose docs for interfaces. Proper name for the iv thing. Actually note the properties for cipher modes types on their ABCs. Conflicts: docs/hazmat/primitives/symmetric-encryption.rst
| * | | | ARC4 supportPaul Kehrer2013-11-072-1/+25
| | | | |
* | | | | Fixed two bugs in the PKCS7 padding where unpadding would accept bad inputs.Alex Gaynor2013-11-091-2/+2
| |/ / / |/| | |
* | | | Mention return types.David Reid2013-11-071-2/+2
| | | |
* | | | Consistently use e.g.David Reid2013-11-071-2/+2
| | | |
* | | | Add a new Mode interface to document mode.name and start on some prose docs ↵David Reid2013-11-072-0/+13
| | | | | | | | | | | | | | | | for interfaces.
* | | | Proper name for the iv thing.David Reid2013-11-061-1/+1
| | | |
* | | | Actually note the properties for cipher modes types on their ABCs.David Reid2013-11-061-2/+10
|/ / /
* | | Merge pull request #226 from reaperhulk/blockcipher-renameDavid Reid2013-11-065-10/+14
|\ \ \ | | | | | | | | Reorganize Block Cipher
| * | | re-add base.pyPaul Kehrer2013-11-063-45/+59
| | | |
| * | | rename cipher to algorithm within the Cipher objectPaul Kehrer2013-11-061-4/+6
| | | |
| * | | block cipher renamePaul Kehrer2013-11-065-60/+48
| | | | | | | | | | | | | | | | | | | | | | | | * block renamed to ciphers * ciphers renamed to algorithms * base moved into algorithms
* | | | FixedAlex Gaynor2013-11-052-2/+25
| | | |
* | | | flake8Alex Gaynor2013-11-051-1/+2
| | | |
* | | | Handle GCM not beign aroundAlex Gaynor2013-11-051-3/+12
| | | |
* | | | Belongs to last commitAlex Gaynor2013-11-051-1/+1
| | | |
* | | | Fixed compatibility for hmacAlex Gaynor2013-11-052-3/+24
| | | |
* | | | FixAlex Gaynor2013-11-051-2/+3
| | | |
* | | | Initial stab at fixing the first broken functionAlex Gaynor2013-11-0523-5/+86
|/ / /
* | | Merge branch 'master' into more-error-conditionAlex Gaynor2013-11-041-12/+24
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: tests/hazmat/bindings/test_openssl.py
| * | | Moved the cffi attributes on the OpenSSL backend to be class attributes, so ↵Alex Gaynor2013-11-041-12/+24
| | | | | | | | | | | | | | | | they're shared between all isntances
* | | | Replaced an assertion in the OpenSSL backend with a proper exceptionAlex Gaynor2013-11-031-1/+3
|/ / /
* | | Changed excpetion name based on feedback from dreidAlex Gaynor2013-11-022-3/+3
| | |
* | | pep8Alex Gaynor2013-11-021-0/+1
| | |
* | | Document and implement the public API for when the backend doesn't support ↵Alex Gaynor2013-11-022-3/+22
| |/ |/| | | | | the requested algorithm
* | Enforce HMAC taking an instance of HashAlgorithmDavid Reid2013-11-011-0/+2
| |
* | Remove unused import.David Reid2013-11-011-2/+0
| |
* | Strip down the HMAC interface to be HashContext.David Reid2013-11-011-21/+13
| |
* | Merge pull request #200 from dreid/primitive-hashesAlex Gaynor2013-11-012-27/+78
|\ \ | | | | | | [WIP] Reduce the surface of the primitive hash interface.
| * | Inline _copy_ctxDavid Reid2013-10-311-4/+1
| | |
| * | Enforce that Hash takes a HashAlgorithm instance.David Reid2013-10-311-0/+2
| | |
| * | Reduce the surface of the primitive hash interface. Add more interfaces, ↵David Reid2013-10-302-24/+76
| |/ | | | | | | drop direct hashlib compatibility.
* | disable support for CAST5 modes excepting ECBPaul Kehrer2013-10-311-6/+5
| |
* | CAST5 support + ECB vectorsPaul Kehrer2013-10-312-1/+27
| |
* | blowfish support + test vectorsPaul Kehrer2013-10-312-1/+27
|/ | | | | Vectors sourced from https://www.schneier.com/code/vectors.txt but reformatted to comply with our NIST loader
* set the key length when initializing a cipher contextPaul Kehrer2013-10-292-1/+16
| | | | This is required for variable key length ciphers like CAST5 and blowfish
* Perform this comparison in a constan ttime fashionAlex Gaynor2013-10-291-2/+5
|
* raise an error if you unicodeAlex Gaynor2013-10-291-0/+6
|
* Optimize + test casesAlex Gaynor2013-10-291-8/+14
|
* Removed helperAlex Gaynor2013-10-291-8/+0
|
* Fix the naming of these classesAlex Gaynor2013-10-291-6/+6
|
* Added a PaddingContext interfaceAlex Gaynor2013-10-292-0/+18
|
* Reference a comment for thisAlex Gaynor2013-10-291-2/+2
|
* Merge branch 'master' into pkcs7-paddingAlex Gaynor2013-10-292-0/+99
|\
| * change type of exception raised, fix docs typoPaul Kehrer2013-10-281-1/+1
| |
| * make hmac (mostly) compatible with stdlib hmacPaul Kehrer2013-10-281-10/+14
| |
| * address initial review commentsPaul Kehrer2013-10-281-2/+1
| |