Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | never trust openssl | Paul Kehrer | 2014-03-19 | 1 | -0/+30 |
| | | | | | | | Turns out you can't trust it to safely compute the max salt length allowed for PSS, so now we get to do it ourselves. We also check for whether the key size is large enough for the selected hash function (PSS only for now, PKCS1 coming in another PR) | ||||
* | pass the hash class rather than using getattr | Paul Kehrer | 2014-03-16 | 1 | -7/+7 |
| | |||||
* | fix indentation | Paul Kehrer | 2014-03-16 | 1 | -18/+18 |
| | |||||
* | add RSA PSS verification support | Paul Kehrer | 2014-03-16 | 1 | -0/+33 |
| | |||||
* | Added future imports and licenses that are missing | Alex Gaynor | 2014-03-08 | 1 | -0/+15 |
| | |||||
* | Don't expose extract and expand on this class yet because we don't know how ↵ | David Reid | 2014-02-03 | 1 | -2/+2 |
| | | | | best to expose verify functionality, continue testing the stages using the private methods. | ||||
* | Closer to proposed interface in #513. | David Reid | 2014-02-03 | 1 | -14/+18 |
| | |||||
* | Use the nist vector loader. | David Reid | 2014-02-03 | 1 | -18/+12 |
| | |||||
* | Break up hkdf_derive into hkdf_extract and hkdf_expand. | David Reid | 2014-02-03 | 1 | -9/+41 |
| | | | | | | | | Testing each individually against all the vectors and actually asserting about the intermediate state. hkdf_derive is now just a helper function which copes with the default arguments. | ||||
* | Refactor HKDF support and provide vectors for tests. | David Reid | 2014-02-03 | 1 | -0/+31 |
| | |||||
* | okay this time really finish the rename. Up example iterations to 100k | Paul Kehrer | 2014-01-28 | 1 | -2/+2 |
| | |||||
* | PBKDF2 support for OpenSSL backend | Paul Kehrer | 2014-01-28 | 1 | -0/+25 |
| | |||||
* | Represent the hash vectors more cleanly | Alex Gaynor | 2014-01-27 | 1 | -5/+2 |
| | |||||
* | Fixed test for earlier exceptino | Alex Gaynor | 2014-01-01 | 1 | -6/+3 |
| | |||||
* | re-add some removed generators to simplify patch | Paul Kehrer | 2013-12-27 | 1 | -0/+20 |
| | |||||
* | refactor all tests to use mark instead of generator skips | Paul Kehrer | 2013-12-26 | 1 | -141/+25 |
| | |||||
* | Cover a missed branch | Alex Gaynor | 2013-12-24 | 1 | -2/+1 |
| | |||||
* | restrict gcm tags to a minimum of 4 bytes in length | Paul Kehrer | 2013-12-21 | 1 | -0/+7 |
| | |||||
* | don't modify params on parametrized tests | Paul Kehrer | 2013-12-20 | 1 | -8/+8 |
| | | | | | multiple backends receive the same params dicts, but we were modifying them using pop. | ||||
* | pep8 | Alex Gaynor | 2013-12-13 | 1 | -1/+1 |
| | |||||
* | Make this less invasive | Alex Gaynor | 2013-12-13 | 1 | -177/+280 |
| | |||||
* | Clean up test generation to not use generators anymore and use parametrization | Alex Gaynor | 2013-12-13 | 1 | -332/+209 |
| | |||||
* | raise ValueErrors when supplying/not supplying tags for GCM | Paul Kehrer | 2013-12-04 | 1 | -0/+35 |
| | |||||
* | create AEADEncryptionContext and DecryptionContext | Paul Kehrer | 2013-11-29 | 1 | -1/+1 |
| | |||||
* | raise TypeError if you attempt to get the tag attribute on a decrypt | Paul Kehrer | 2013-11-29 | 1 | -0/+9 |
| | | | | | * To support this the _AEADCipherContext in base.py now needs to be aware of whether it is encrypting/decrypting | ||||
* | rename add_data to authenticate_additional_data for clarity (hopefully) | Paul Kehrer | 2013-11-29 | 1 | -5/+5 |
| | |||||
* | invalidtag exception for gcm | Paul Kehrer | 2013-11-29 | 1 | -2/+2 |
| | | | | | This exception is probably not safe. It depends on the assumption that if ERR_get_error returns a 0 then it is an AEAD tag error. | ||||
* | enforce AEAD add_data before update | Paul Kehrer | 2013-11-29 | 1 | -8/+10 |
| | |||||
* | _AEADCipherContext refactor | Paul Kehrer | 2013-11-29 | 1 | -0/+4 |
| | | | | | | * No longer extends _CipherContext * Remove _tag from _CipherContext * This change duplicates a small amount of code from _CipherContext | ||||
* | rename NotFinalized exception to NotYetFinalized because alex is right | Paul Kehrer | 2013-11-29 | 1 | -2/+2 |
| | | | | ...it does read better that way | ||||
* | GCM support | Paul Kehrer | 2013-11-29 | 1 | -2/+103 |
| | |||||
* | Use keyword argument forms everywhere. | David Reid | 2013-11-25 | 1 | -7/+7 |
| | |||||
* | Explicit backend | David Reid | 2013-11-20 | 1 | -5/+5 |
| | |||||
* | Fixed using copied hashes | Alex Gaynor | 2013-11-12 | 1 | -0/+6 |
| | |||||
* | Remove separate file loaders and replace with one | Paul Kehrer | 2013-11-11 | 1 | -4/+18 |
| | | | | All tests updated to work with the new simplified loader | ||||
* | ARC4 support | Paul Kehrer | 2013-11-07 | 1 | -0/+39 |
| | |||||
* | block cipher rename | Paul Kehrer | 2013-11-06 | 1 | -2/+2 |
| | | | | | | * block renamed to ciphers * ciphers renamed to algorithms * base moved into algorithms | ||||
* | Encode Reasons. | David Reid | 2013-11-01 | 1 | -1/+1 |
| | |||||
* | Strip down the HMAC interface to be HashContext. | David Reid | 2013-11-01 | 1 | -10/+7 |
| | |||||
* | Enforce that Hash takes a HashAlgorithm instance. | David Reid | 2013-10-31 | 1 | -2/+2 |
| | |||||
* | Fix python3 compat for the hash_test. | David Reid | 2013-10-31 | 1 | -2/+3 |
| | |||||
* | Fix python3 compatibility and pep8 | David Reid | 2013-10-30 | 1 | -1/+1 |
| | |||||
* | Reduce the surface of the primitive hash interface. Add more interfaces, ↵ | David Reid | 2013-10-30 | 1 | -13/+13 |
| | | | | drop direct hashlib compatibility. | ||||
* | make hmac (mostly) compatible with stdlib hmac | Paul Kehrer | 2013-10-28 | 1 | -10/+10 |
| | |||||
* | HMAC support | Paul Kehrer | 2013-10-28 | 1 | -0/+55 |
| | | | | | | Conflicts: docs/primitives/index.rst tests/hazmat/primitives/utils.py | ||||
* | Move the bindings into the hazmat module | Donald Stufft | 2013-10-28 | 1 | -1/+1 |
| | |||||
* | Move primtives into a hazmat package | Donald Stufft | 2013-10-28 | 1 | -0/+127 |