Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Moved the cffi attributes on the OpenSSL backend to be class attributes, so ↵ | Alex Gaynor | 2013-11-04 | 1 | -12/+24 | |
| | | | | | | | | | | | | | | | | they're shared between all isntances | |||||
* | | | | Replaced an assertion in the OpenSSL backend with a proper exception | Alex Gaynor | 2013-11-03 | 1 | -1/+3 | |
|/ / / | ||||||
* | | | Changed excpetion name based on feedback from dreid | Alex Gaynor | 2013-11-02 | 2 | -3/+3 | |
| | | | ||||||
* | | | pep8 | Alex Gaynor | 2013-11-02 | 1 | -0/+1 | |
| | | | ||||||
* | | | Document and implement the public API for when the backend doesn't support ↵ | Alex Gaynor | 2013-11-02 | 2 | -3/+22 | |
| |/ |/| | | | | | the requested algorithm | |||||
* | | Enforce HMAC taking an instance of HashAlgorithm | David Reid | 2013-11-01 | 1 | -0/+2 | |
| | | ||||||
* | | Remove unused import. | David Reid | 2013-11-01 | 1 | -2/+0 | |
| | | ||||||
* | | Strip down the HMAC interface to be HashContext. | David Reid | 2013-11-01 | 1 | -21/+13 | |
| | | ||||||
* | | Merge pull request #200 from dreid/primitive-hashes | Alex Gaynor | 2013-11-01 | 2 | -27/+78 | |
|\ \ | | | | | | | [WIP] Reduce the surface of the primitive hash interface. | |||||
| * | | Inline _copy_ctx | David Reid | 2013-10-31 | 1 | -4/+1 | |
| | | | ||||||
| * | | Enforce that Hash takes a HashAlgorithm instance. | David Reid | 2013-10-31 | 1 | -0/+2 | |
| | | | ||||||
| * | | Reduce the surface of the primitive hash interface. Add more interfaces, ↵ | David Reid | 2013-10-30 | 2 | -24/+76 | |
| |/ | | | | | | | drop direct hashlib compatibility. | |||||
* | | disable support for CAST5 modes excepting ECB | Paul Kehrer | 2013-10-31 | 1 | -6/+5 | |
| | | ||||||
* | | CAST5 support + ECB vectors | Paul Kehrer | 2013-10-31 | 2 | -1/+27 | |
| | | ||||||
* | | blowfish support + test vectors | Paul Kehrer | 2013-10-31 | 2 | -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 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 |