Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | set the key length when initializing a cipher context | Paul Kehrer | 2013-10-29 | 2 | -1/+16 |
| | | | | This is required for variable key length ciphers like CAST5 and blowfish | ||||
* | Perform this comparison in a constan ttime fashion | Alex Gaynor | 2013-10-29 | 1 | -2/+5 |
| | |||||
* | raise an error if you unicode | Alex Gaynor | 2013-10-29 | 1 | -0/+6 |
| | |||||
* | Optimize + test cases | Alex Gaynor | 2013-10-29 | 1 | -8/+14 |
| | |||||
* | Removed helper | Alex Gaynor | 2013-10-29 | 1 | -8/+0 |
| | |||||
* | Fix the naming of these classes | Alex Gaynor | 2013-10-29 | 1 | -6/+6 |
| | |||||
* | Added a PaddingContext interface | Alex Gaynor | 2013-10-29 | 2 | -0/+18 |
| | |||||
* | Reference a comment for this | Alex Gaynor | 2013-10-29 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' into pkcs7-padding | Alex Gaynor | 2013-10-29 | 2 | -0/+99 |
|\ | |||||
| * | change type of exception raised, fix docs typo | Paul Kehrer | 2013-10-28 | 1 | -1/+1 |
| | | |||||
| * | make hmac (mostly) compatible with stdlib hmac | Paul Kehrer | 2013-10-28 | 1 | -10/+14 |
| | | |||||
| * | address initial review comments | Paul Kehrer | 2013-10-28 | 1 | -2/+1 |
| | | |||||
| * | cleanup context after finalizing | Paul Kehrer | 2013-10-28 | 1 | -0/+1 |
| | | |||||
| * | HMAC support | Paul Kehrer | 2013-10-28 | 2 | -0/+95 |
| | | | | | | | | | | | | Conflicts: docs/primitives/index.rst tests/hazmat/primitives/utils.py | ||||
* | | Initial implementation with tests, docs to follow | Alex Gaynor | 2013-10-29 | 1 | -0/+110 |
|/ | |||||
* | Move the module name to it's own variable | Donald Stufft | 2013-10-28 | 1 | -4/+4 |
| | |||||
* | Put recipes first | Donald Stufft | 2013-10-28 | 1 | -1/+1 |
| | |||||
* | Move the bindings into the hazmat module | Donald Stufft | 2013-10-28 | 27 | -6/+10 |
| | |||||
* | Move primtives into a hazmat package | Donald Stufft | 2013-10-28 | 9 | -6/+20 |
| | |||||
* | add some error parsing macros | Paul Kehrer | 2013-10-26 | 1 | -0/+5 |
| | |||||
* | Rename _OneTimeCipherContext | David Reid | 2013-10-24 | 1 | -3/+3 |
| | |||||
* | Don't forget to provide an interface. | David Reid | 2013-10-24 | 1 | -0/+1 |
| | |||||
* | Initial refactoring of backend specific contexts. | David Reid | 2013-10-24 | 2 | -76/+65 |
| | |||||
* | Give API collections direct references to the backend. | David Reid | 2013-10-24 | 1 | -44/+50 |
| | |||||
* | simplify enc/dec in the OpenSSL backend by using the EVP_Cipher* methods | Paul Kehrer | 2013-10-23 | 3 | -44/+25 |
| | |||||
* | split backend up (refs #170) | Paul Kehrer | 2013-10-22 | 3 | -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 commits | Paul Kehrer | 2013-10-22 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into api-to-backend-in-one-easy-step | Paul Kehrer | 2013-10-22 | 2 | -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-api | Alex Gaynor | 2013-10-22 | 1 | -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 object | Paul Kehrer | 2013-10-22 | 1 | -1/+1 |
| | | | |||||
| * | | add gcm constants and EVP_CIPHER_CTX_ctrl macro | Paul Kehrer | 2013-10-22 | 1 | -0/+4 |
| |/ | |||||
* / | the great api -> backend rename | Paul Kehrer | 2013-10-22 | 5 | -38/+45 |
|/ | |||||
* | fixes #148 + test case | Paul Kehrer | 2013-10-22 | 1 | -1/+1 |
| | |||||
* | Merge pull request #112 from reaperhulk/block-cipher-decrypt | David Reid | 2013-10-22 | 5 | -50/+110 |
|\ | | | | | Block Cipher Decryption | ||||
| * | Create CipherContext interface & document it | Paul Kehrer | 2013-10-21 | 3 | -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-decrypt | Paul Kehrer | 2013-10-21 | 3 | -15/+79 |
| |\ | |||||
| * | | address review comments | Paul Kehrer | 2013-10-21 | 2 | -57/+54 |
| | | | | | | | | | | | | | | | | | | * inline some methods * refactor enc/dec classes * modify docs | ||||
| * | | further simplify context objects | Paul Kehrer | 2013-10-21 | 1 | -38/+29 |
| | | | |||||
| * | | modified approach to encryption/decryption contexts | Paul Kehrer | 2013-10-21 | 2 | -22/+25 |
| | | | |||||
| * | | block cipher decryption support | Paul Kehrer | 2013-10-21 | 3 | -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-des | Alex Gaynor | 2013-10-21 | 1 | -1/+5 |
|\ \ \ | |||||
| * \ \ | Merge pull request #147 from reaperhulk/hash-improvements | Alex Gaynor | 2013-10-21 | 1 | -1/+5 |
| |\ \ \ | | |_|/ | |/| | | Provide data to hash constructor + reject unicode ala hashlib | ||||
| | * | | Allow data to be passed in the constructor & reject unicode ala hashlib | Paul Kehrer | 2013-10-19 | 1 | -1/+5 |
| | | | | |||||
* | | | | This is a frozenset these days | Alex Gaynor | 2013-10-21 | 1 | -3/+1 |
| | | | | |||||
* | | | | Initial working state | Alex Gaynor | 2013-10-21 | 2 | -1/+11 |
| | | | | |||||
* | | | | Merge branch 'master' into triple-des | Alex Gaynor | 2013-10-21 | 15 | -28/+887 |
|\| | | | |||||
| * | | | Merge branch 'master' into refactor-cipher-names | Alex Gaynor | 2013-10-21 | 14 | -21/+831 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: cryptography/bindings/openssl/api.py | ||||
| | * | | | simplify HMAC_CTX typedef | Paul Kehrer | 2013-10-20 | 1 | -2/+1 |
| | | | | | |||||
| | * | | | Add HMAC bindings | Paul Kehrer | 2013-10-20 | 2 | -0/+34 |
| | | |/ | | |/| | |||||
| | * | | Merge pull request #150 from alex/cleanup-hash-ctx | Donald Stufft | 2013-10-20 | 1 | -1/+3 |
| | |\ \ | | | | | | | | | | | Cleanup hash ctxs when we're done with them |