aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| | | * | Use more precise assertionsAlex Gaynor2013-10-201-2/+2
| | | | |
| | | * | Cleanup hash ctxs when we're done with themAlex Gaynor2013-10-201-0/+2
| | | |/
| | * / use _new and _free on EVP_CIPHER_CTX rather than initing manuallyPaul Kehrer2013-10-202-4/+4
| | |/
| | * update method signature for hash update to be consistent with the docsPaul Kehrer2013-10-191-2/+2
| | |
| | * change basehash into an abcPaul Kehrer2013-10-191-1/+5
| | |
| | * MD5 support + documentation for all hashesPaul Kehrer2013-10-191-0/+6
| | |
| | * Merge pull request #128 from reaperhulk/hash-saga-whirlpoolDonald Stufft2013-10-191-0/+6
| | |\ | | | | | | | | Hash Saga Part 6 (Whirlpool support)
| | | * Whirlpool supportPaul Kehrer2013-10-181-0/+6
| | | |
| | * | Merge pull request #141 from reaperhulk/block-cipher-buffer-sizingAlex Gaynor2013-10-192-3/+4
| | |\ \ | | | | | | | | | | Fix Block cipher buffer sizing
| | | * | fix #140. properly size char buffer for encryptionPaul Kehrer2013-10-191-3/+3
| | | | |
| | | * | add a macro to reduce method calls in api.pyPaul Kehrer2013-10-191-0/+1
| | | | |
| | * | | Merge pull request #131 from cyli/x509v3Alex Gaynor2013-10-192-0/+95
| | |\ \ \ | | | | | | | | | | | | Add x509v3 bindings (Refs #77)
| | | * | | Add some functions to the macros section since they changed from non-const ↵cyli2013-10-191-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | to const between openssl versions
| | | * | | Move macro things to macroscyli2013-10-191-2/+5
| | | | | |
| | | * | | Add bindings for x509v3cyli2013-10-192-0/+90
| | | |/ /
| | * | | Do not redefine EVP_CIPHERcyli2013-10-191-1/+0
| | | | |