Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add cbc, cfb, ofb support to CAST5 (aka CAST128) for openssl & cc | Paul Kehrer | 2014-02-12 | 1 | -1/+52 |
| | | | | fixes #393 | ||||
* | re-add CAST5 ECB support (OpenSSL & CC backends). fixes #417 | Paul Kehrer | 2014-02-12 | 2 | -1/+55 |
| | |||||
* | update headers for the CAST5 vectors | Paul Kehrer | 2014-02-12 | 3 | -0/+3 |
| | |||||
* | CAST5 CBC, OFB, CFB vectors made from the AES MMT test data | Paul Kehrer | 2014-02-12 | 3 | -0/+370 |
| | |||||
* | flake8 fix | Alex Gaynor | 2014-02-12 | 1 | -0/+1 |
| | |||||
* | Added RSABackend to MultiBackend | Alex Gaynor | 2014-02-12 | 1 | -3/+21 |
| | |||||
* | Add RSAPrivateKey.generate | Alex Stapleton | 2014-02-12 | 1 | -7/+13 |
| | |||||
* | Merge pull request #580 from public/openssl-gen-rsa-key | David Reid | 2014-02-11 | 1 | -5/+52 |
|\ | | | | | Generate RSA Keys with OpenSSL | ||||
| * | Generate RSA Keys | Alex Stapleton | 2014-02-11 | 1 | -5/+52 |
| | | |||||
* | | Fixed error in totp test vectors. | Ayrx | 2014-02-10 | 1 | -2/+2 |
| | | |||||
* | | Updated vectors to include secret. | Ayrx | 2014-02-10 | 3 | -0/+52 |
| | | |||||
* | | Renamed vectors/otp to vectors/oath | Ayrx | 2014-02-09 | 2 | -0/+0 |
| | | |||||
* | | Added test vectors for HOTP and TOTP algorithms. | Ayrx | 2014-02-09 | 3 | -0/+252 |
|/ | |||||
* | pytest marks for RSA | Paul Kehrer | 2014-02-08 | 1 | -1/+2 |
| | |||||
* | Merge pull request #559 from public/rsa-keys | Paul Kehrer | 2014-02-07 | 1 | -0/+173 |
|\ | | | | | RSA keys | ||||
| * | Make tests more explicit. | Alex Stapleton | 2014-02-07 | 1 | -38/+89 |
| | | |||||
| * | Check that public_exponent is odd | Alex Stapleton | 2014-02-07 | 1 | -12/+20 |
| | | |||||
| * | Use os.path.join to make paths | Alex Stapleton | 2014-02-06 | 1 | -1/+4 |
| | | |||||
| * | More sanity checks | Alex Stapleton | 2014-02-06 | 1 | -0/+12 |
| | | |||||
| * | Test alias properties | Alex Stapleton | 2014-02-05 | 1 | -0/+5 |
| | | |||||
| * | Check p*q=n in the tests | Alex Stapleton | 2014-02-05 | 1 | -0/+2 |
| | | |||||
| * | Sanity check keys. | Alex Stapleton | 2014-02-05 | 1 | -1/+35 |
| | | | | | | | | Taken from RFC 3447. | ||||
| * | RSA keys | Alex Stapleton | 2014-02-05 | 1 | -0/+58 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are implemented such that they don't depend on the backend. This means we don't have to worry about passing an RSA key created with one backend to a different one so much at the expense of having to create a backend specific context on demand. This is slightly non-trivial in (at least) OpenSSL as there are 3 additional derived parameters kept in its RSA struct. They aren't difficult to generate but it requires adding 30-40 lines of BN_* stuff to the backend so I'm leaving that out for now. We'll need to implement that before we can actually do any useful operations with the keys. This also adds a loader for some of the PKCS #1 test vectors. It only extracts the 10 key pairs from pss_vect.txt currently be should be extenable to include the example signatures and other files later. | ||||
* | | remove deactivate and replace with activate_builtin_random | Paul Kehrer | 2014-02-05 | 1 | -147/+13 |
| | | |||||
* | | Merge branch 'master' into urandom-engine | Paul Kehrer | 2014-02-05 | 3 | -2/+382 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: PKCS #1 RSA test vector loader Removed pointless anchor Docs need virtualenv as well Everything about bash is the worst Some reST markup nonsense Fix for OS X More clearly describe the behavior of constant_time.bytes_eq Run the doc tests under OS X Made OpenSSL's derive_pbkdf2_hmac raise the right exception Document which backends implement which itnerfaces. Fixes #538 pep8 Fixed a typo in the docs Make the default backend be a multi-backend Conflicts: tests/hazmat/backends/test_openssl.py | ||||
| * | PKCS #1 RSA test vector loader | Alex Stapleton | 2014-02-05 | 2 | -1/+375 |
| | | |||||
| * | Made OpenSSL's derive_pbkdf2_hmac raise the right exception | Alex Gaynor | 2014-02-04 | 1 | -1/+7 |
| | | |||||
* | | assert the right thing | Paul Kehrer | 2014-02-04 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into urandom-engine | Paul Kehrer | 2014-02-03 | 12 | -17/+24729 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (66 commits) Chanloge + versionadded Added an example usage Typo fix Added to toctree Rename and document Linkify the things we have that others don't add HKDF to changelog Strings have quote marks at both ends. HKDF example. Properly mark all test cases as dependant on HMAC. Remove language about the separate stages of HKDF until we expose multiple stages of HKDF. Don't forget InvalidKey. Fix typo Import exception classes instead of the exceptions module. Lose the bit about passwords. https a bunch of links. Pseudorandom is a word. Backtick the entire equation. Clarify salt language and link to the paper in addition to the RFC. Don't expose extract and expand on this class yet because we don't know how best to expose verify functionality, continue testing the stages using the private methods. ... Conflicts: docs/hazmat/backends/openssl.rst | ||||
| * | Merge branch 'master' into prioritized-multi-backend | Alex Gaynor | 2014-02-03 | 11 | -13/+24585 |
| |\ | |||||
| | * | Properly mark all test cases as dependant on HMAC. | David Reid | 2014-02-03 | 2 | -5/+5 |
| | | | |||||
| | * | Don't forget InvalidKey. | David Reid | 2014-02-03 | 1 | -1/+1 |
| | | | |||||
| | * | Import exception classes instead of the exceptions module. | David Reid | 2014-02-03 | 1 | -4/+4 |
| | | | |||||
| | * | Don't expose extract and expand on this class yet because we don't know how ↵ | David Reid | 2014-02-03 | 2 | -20/+2 |
| | | | | | | | | | | | | best to expose verify functionality, continue testing the stages using the private methods. | ||||
| | * | Complete test coverage | David Reid | 2014-02-03 | 1 | -0/+26 |
| | | | |||||
| | * | Use six.u for great good. | David Reid | 2014-02-03 | 1 | -5/+19 |
| | | | |||||
| | * | Consistently use double quotes. | David Reid | 2014-02-03 | 1 | -11/+11 |
| | | | |||||
| | * | Aggressively type-check for text. | David Reid | 2014-02-03 | 1 | -0/+40 |
| | | | |||||
| | * | bytes all the things. | David Reid | 2014-02-03 | 1 | -6/+6 |
| | | | |||||
| | * | Remove more leftovers from rebase. | David Reid | 2014-02-03 | 1 | -43/+2 |
| | | | |||||
| | * | Add test cases for length checking and already finalized. | David Reid | 2014-02-03 | 1 | -0/+85 |
| | | | |||||
| | * | Remove load_hkdf_vectors which snuck in with a rebase. | David Reid | 2014-02-03 | 1 | -30/+0 |
| | | | |||||
| | * | Closer to proposed interface in #513. | David Reid | 2014-02-03 | 1 | -14/+18 |
| | | | |||||
| | * | Use the nist vector loader. | David Reid | 2014-02-03 | 2 | -21/+15 |
| | | | |||||
| | * | Fix case. | David Reid | 2014-02-03 | 1 | -2/+2 |
| | | | |||||
| | * | Fix pep8. | David Reid | 2014-02-03 | 2 | -33/+22 |
| | | | |||||
| | * | Break up hkdf_derive into hkdf_extract and hkdf_expand. | David Reid | 2014-02-03 | 2 | -30/+48 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| | * | This got split into SHA1 and SHA256 | David Reid | 2014-02-03 | 1 | -83/+0 |
| | | | |||||
| | * | Refactor HKDF support and provide vectors for tests. | David Reid | 2014-02-03 | 5 | -2/+263 |
| | | | |||||
| | * | More detailed error message for InternalError | Alex Stapleton | 2014-02-02 | 1 | -0/+17 |
| | | | | | | | | | | | | | | | Uses ERR_error_string_n because the source contains horrible warnings against ever using ERR_error_string. |