aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
Commit message (Collapse)AuthorAgeFilesLines
...
| * add sign/verify ctx creation methods to RSABackend interfacePaul Kehrer2014-02-171-0/+12
| |
* | fix style, move a commentPaul Kehrer2014-02-171-2/+2
| |
* | conditionally bind PSS constant if availablePaul Kehrer2014-02-171-2/+12
|/
* add CAST5 CTR support to commoncrypto + testsPaul Kehrer2014-02-161-1/+2
|
* Merge pull request #605 from reaperhulk/add-crt-coefficientsAlex Gaynor2014-02-153-1/+59
|\ | | | | Add RSA CRT Coefficients
| * Merge branch 'master' into add-crt-coefficientsPaul Kehrer2014-02-134-6/+37
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Also clean up this syntax Fixed a missing word in the RSA docs Fix comments in padding.py to be accurate add versionadded to cast5 A few style nits in the docs add CAST5 support to changelog Changed .... lines to ~~~~ and s/Gnu\/Linux/Linux/ Pypy is not a real word either apparently. Added Pypy note and fixed libffi's "spelling" Added Debian mention, extra missing packages Added a docs section on Linux installation remove some extra linebreaks add cast5 docs Syntax highlight the go code. Be mad Rob Pike. add cbc, cfb, ofb support to CAST5 (aka CAST128) for openssl & cc re-add CAST5 ECB support (OpenSSL & CC backends). fixes #417 Switch this to a warning block Be clear about HKDF's applicability for password storage Conflicts: docs/hazmat/primitives/rsa.rst
| * | add the crt coefficients to the interfacePaul Kehrer2014-02-131-0/+21
| | |
| * | expose dmp1, dmq1, iqmp getters on RSAPrivateKeyPaul Kehrer2014-02-131-0/+12
| | |
| * | add crt coefficients to RSAPrivateKey constructor and update testsPaul Kehrer2014-02-122-1/+26
| | |
* | | Fix the signature of this on 0.9.8Alex Gaynor2014-02-141-1/+1
| | |
* | | methods to open an EVP_PKEY from an RSA or DSA struct in OpenSSLPaul Kehrer2014-02-141-0/+3
| | |
* | | when declaring macros it helps to get the arguments rightPaul Kehrer2014-02-141-1/+1
| | |
* | | Merge pull request #615 from reaperhulk/rsa-blinded-by-the-lightAlex Gaynor2014-02-141-0/+2
|\ \ \ | | | | | | | | RSA Blinding Bindings
| * | | OpenSSL bindings for RSA blindingPaul Kehrer2014-02-141-0/+2
| | | |
* | | | Merge pull request #612 from reaperhulk/rsa-signing-bindingsAlex Gaynor2014-02-142-1/+62
|\ \ \ \ | |/ / / |/| | | Signing Bindings (RSA, general EVP)
| * | | some padding functions we're going to need for 0.9.8Paul Kehrer2014-02-141-0/+8
| | | |
| * | | EVP_PKEY_CTX doesn't exist on 0.9.8. Do the conditional include dancePaul Kehrer2014-02-142-13/+49
| | | |
| * | | bind sign/verify EVP functions for OpenSSLPaul Kehrer2014-02-131-0/+7
| | | |
| * | | add some PKEY_CTX bindings we'll need for signingPaul Kehrer2014-02-132-0/+10
| | |/ | |/|
* / | Add X509_V_ERR_APPLICATION_VERIFICATIONHynek Schlawack2014-02-141-0/+1
|/ /
* | Fix comments in padding.py to be accurateAlex Gaynor2014-02-131-4/+2
| | | | | | | | | | | | This is not in fact O(n ** 2) because ``len(self._buffer)`` is bounded by ``self.block_size``. This means that each ``self._buffer += x`` only copies O(len(x)) bytes, meaning the whole thing is linear.
* | add cbc, cfb, ofb support to CAST5 (aka CAST128) for openssl & ccPaul Kehrer2014-02-122-11/+18
| | | | | | | | fixes #393
* | re-add CAST5 ECB support (OpenSSL & CC backends). fixes #417Paul Kehrer2014-02-123-2/+28
|/
* Merge pull request #600 from alex/multi-rsaDavid Reid2014-02-121-1/+6
|\ | | | | Added RSABackend to MultiBackend
| * Added RSABackend to MultiBackendAlex Gaynor2014-02-121-1/+6
| |
* | Also fix this moduleAlex Gaynor2014-02-121-1/+1
| |
* | Sort our importsAlex Gaynor2014-02-121-2/+2
|/
* Add RSAPrivateKey.generateAlex Stapleton2014-02-121-0/+4
|
* Merge pull request #580 from public/openssl-gen-rsa-keyDavid Reid2014-02-111-1/+43
|\ | | | | Generate RSA Keys with OpenSSL
| * Generate RSA KeysAlex Stapleton2014-02-111-1/+43
| |
* | add X509_verify_cert_error_stringPaul Kehrer2014-02-101-0/+2
|/
* s/bit_length/key_size/ (again)Alex Stapleton2014-02-081-2/+2
|
* Merge pull request #577 from public/backend-rsa-interfacePaul Kehrer2014-02-081-0/+9
|\ | | | | RSABackend interface
| * Start of an RSABackend interfaceAlex Stapleton2014-02-081-0/+9
| | | | | | | | Only has key generation for now.
* | Merge pull request #559 from public/rsa-keysPaul Kehrer2014-02-072-0/+149
|\ \ | | | | | | RSA keys
| * | Check that public_exponent is oddAlex Stapleton2014-02-071-0/+6
| | |
| * | More sanity checksAlex Stapleton2014-02-061-0/+9
| | |
| * | Use a version check when counting bit_lengthAlex Stapleton2014-02-051-2/+4
| | |
| * | Sanity check keys.Alex Stapleton2014-02-051-0/+15
| | | | | | | | | | | | Taken from RFC 3447.
| * | RSA keysAlex Stapleton2014-02-052-0/+117
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Add support for DTLSv1manuels2014-02-061-0/+4
| |
* | Rewrite this to be more streamlinedAlex Gaynor2014-02-051-3/+6
| |
* | Make the filename matchAlex Gaynor2014-02-051-2/+6
| |
* | Merge pull request #377 from reaperhulk/urandom-engineAlex Gaynor2014-02-053-1/+236
|\ \ | | | | | | Set default RAND engine to urandom/cryptgenrandom
| * | improve commentsPaul Kehrer2014-02-051-5/+5
| | |
| * | get urandom fd flag and bitwise OR it with FD_CLOEXEC. comment updatePaul Kehrer2014-02-051-2/+6
| | |
| * | remove deactivate and replace with activate_builtin_randomPaul Kehrer2014-02-051-27/+6
| | |
| * | Merge branch 'master' into urandom-enginePaul Kehrer2014-02-052-3/+10
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | add some more comments to clarify what the ENGINE_ calls in backend doPaul Kehrer2014-02-041-1/+15
| | |
| * | rename osrand_engine to osrandom_enginePaul Kehrer2014-02-042-1/+1
| | |