aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * cleanup context after finalizingPaul Kehrer2013-10-281-0/+1
| |
| * HMAC supportPaul Kehrer2013-10-282-0/+95
| | | | | | | | | | | | Conflicts: docs/primitives/index.rst tests/hazmat/primitives/utils.py
* | Initial implementation with tests, docs to followAlex Gaynor2013-10-291-0/+110
|/
* Move the module name to it's own variableDonald Stufft2013-10-281-4/+4
|
* Put recipes firstDonald Stufft2013-10-281-1/+1
|
* Move the bindings into the hazmat moduleDonald Stufft2013-10-2827-6/+10
|
* Move primtives into a hazmat packageDonald Stufft2013-10-289-6/+20
|
* add some error parsing macrosPaul Kehrer2013-10-261-0/+5
|
* Rename _OneTimeCipherContextDavid Reid2013-10-241-3/+3
|
* Don't forget to provide an interface.David Reid2013-10-241-0/+1
|
* Initial refactoring of backend specific contexts.David Reid2013-10-242-76/+65
|
* Give API collections direct references to the backend.David Reid2013-10-241-44/+50
|
* simplify enc/dec in the OpenSSL backend by using the EVP_Cipher* methodsPaul Kehrer2013-10-233-44/+25
|
* split backend up (refs #170)Paul Kehrer2013-10-223-41/+53
| | | | | | | | * Moves cipher methods into a Ciphers class and hash methods to a Hashes class and makes them available inside Backend as pluralized attributes. * Shortened many of the methods since their purpose is now defined by their container class
* more backend renames from merged commitsPaul Kehrer2013-10-221-1/+1
|
* Merge branch 'master' into api-to-backend-in-one-easy-stepPaul Kehrer2013-10-222-1/+5
|\ | | | | | | | | | | | | | | | | | | | | * master: Make use of currentmodule to maybe reduce redundant module definitions and also get source links. Enable the new read the docs theme, it's pretty. use is for identical object comparison add gcm constants and EVP_CIPHER_CTX_ctrl macro md5 is 128-bit. The person responsible for this mistake has been shot add test to verify api is being copied in hash When copying a hash, pass the api through to the new object
| * Merge pull request #153 from reaperhulk/hash-ctx-copy-apiAlex Gaynor2013-10-221-1/+1
| |\ | | | | | | When copying a hash, pass the api through to the new object
| | * When copying a hash, pass the api through to the new objectPaul Kehrer2013-10-221-1/+1
| | |
| * | add gcm constants and EVP_CIPHER_CTX_ctrl macroPaul Kehrer2013-10-221-0/+4
| |/
* / the great api -> backend renamePaul Kehrer2013-10-225-38/+45
|/
* fixes #148 + test casePaul Kehrer2013-10-221-1/+1
|
* Merge pull request #112 from reaperhulk/block-cipher-decryptDavid Reid2013-10-225-50/+110
|\ | | | | Block Cipher Decryption
| * Create CipherContext interface & document itPaul Kehrer2013-10-213-17/+35
| | | | | | | | | | | | | | * Rename BlockCipherEncryption/DecryptionContexts to just CipherEncryption/DecryptionContext * Moved register to interfaces.py from modes.py since it is generic and can be used to decorate the _CipherEncryption/DecryptionContexts
| * Merge branch 'master' into block-cipher-decryptPaul Kehrer2013-10-213-15/+79
| |\
| * | address review commentsPaul Kehrer2013-10-212-57/+54
| | | | | | | | | | | | | | | | | | * inline some methods * refactor enc/dec classes * modify docs
| * | further simplify context objectsPaul Kehrer2013-10-211-38/+29
| | |
| * | modified approach to encryption/decryption contextsPaul Kehrer2013-10-212-22/+25
| | |
| * | block cipher decryption supportPaul Kehrer2013-10-213-41/+94
| | | | | | | | | | | | | | | | | | This is a squash of previous commits plus new ones. Ran into a pile of conflicts during the rebase and decided this was an easier way to retain a sane commit history
* | | Merge branch 'master' into triple-desAlex Gaynor2013-10-211-1/+5
|\ \ \
| * \ \ Merge pull request #147 from reaperhulk/hash-improvementsAlex Gaynor2013-10-211-1/+5
| |\ \ \ | | |_|/ | |/| | Provide data to hash constructor + reject unicode ala hashlib
| | * | Allow data to be passed in the constructor & reject unicode ala hashlibPaul Kehrer2013-10-191-1/+5
| | | |
* | | | This is a frozenset these daysAlex Gaynor2013-10-211-3/+1
| | | |
* | | | Initial working stateAlex Gaynor2013-10-212-1/+11
| | | |
* | | | Merge branch 'master' into triple-desAlex Gaynor2013-10-2115-28/+887
|\| | |
| * | | Merge branch 'master' into refactor-cipher-namesAlex Gaynor2013-10-2114-21/+831
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: cryptography/bindings/openssl/api.py
| | * | | simplify HMAC_CTX typedefPaul Kehrer2013-10-201-2/+1
| | | | |
| | * | | Add HMAC bindingsPaul Kehrer2013-10-202-0/+34
| | | |/ | | |/|
| | * | Merge pull request #150 from alex/cleanup-hash-ctxDonald Stufft2013-10-201-1/+3
| | |\ \ | | | | | | | | | | Cleanup hash ctxs when we're done with them