aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge branch 'master' into rsa-pss-signingPaul Kehrer2014-03-209-19/+21
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: add mgf1_hash_supported unsupported hash check more concise way of generating tests switch to a lambda rename some things add FIPS 186-2/3 signature verification tests for RSA PKCSv15 and PSS revert one import order change a few small fixes Add ASN1_TIME_free import order fixes for future automated checking Conflicts: tests/hazmat/primitives/test_rsa.py tests/hazmat/primitives/utils.py
| * | | document the ValueErrorPaul Kehrer2014-03-191-2/+2
| | | |
| * | | never trust opensslPaul Kehrer2014-03-191-16/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | RSA PSS signature supportPaul Kehrer2014-03-191-2/+77
| | | |
* | | | Merge pull request #836 from reaperhulk/netbsd-why-oh-whyAlex Gaynor2014-03-211-0/+23
|\ \ \ \ | | | | | | | | | | workaround a netbsd bug where they did not compile with d1_meth.c
| * | | | c has syntax rules tooPaul Kehrer2014-03-211-1/+1
| | | | |
| * | | | workaround a netbsd bug where they did not compile with d1_meth.cPaul Kehrer2014-03-211-0/+23
| | |/ / | |/| |
* / | | padding and constant time also need the cffi modulename fixPaul Kehrer2014-03-212-12/+28
|/ / /
* | | Merge pull request #829 from reaperhulk/import-order-fixerAlex Gaynor2014-03-198-19/+20
|\ \ \ | | | | | | | | import order fixes for future automated checking
| * | | import order fixes for future automated checkingPaul Kehrer2014-03-198-19/+20
| |/ /
* | | Merge pull request #830 from jgiannuzzi/masterAlex Gaynor2014-03-191-0/+1
|\ \ \ | |/ / |/| | Add ASN1_TIME_free
| * | Add ASN1_TIME_freeJonathan Giannuzzi2014-03-191-0/+1
| | | | | | | | | | | | Required function to solve a memory leak in pyOpenSSL
* | | Merge pull request #792 from reaperhulk/rsa-pss-verifyAlex Gaynor2014-03-172-2/+90
|\ \ \ | | | | | | | | RSA PSS Verify
| * | | change exception and improve some languagePaul Kehrer2014-03-171-4/+8
| | | |
| * | | use mgf1_hash_supported to simplify some logicPaul Kehrer2014-03-171-2/+1
| | | |
| * | | extract RSA struct from EVP_PKEYPaul Kehrer2014-03-161-1/+5
| | | |
| * | | consume errors before assertingPaul Kehrer2014-03-161-2/+4
| | | |
| * | | make mgf privatePaul Kehrer2014-03-162-6/+6
| | | |
| * | | add RSA PSS verification supportPaul Kehrer2014-03-162-1/+80
| | | |
* | | | Merge pull request #768 from reaperhulk/cffi-modulename-fixDavid Reid2014-03-171-8/+30
|\ \ \ \ | | | | | | | | | | Workaround for cffi issue 140
| * | | | address review commentsPaul Kehrer2014-03-171-5/+6
| | | | |
| * | | | be less dumbPaul Kehrer2014-03-131-8/+3
| | | | |
| * | | | make create_modulename private, add testPaul Kehrer2014-03-131-4/+8
| | | | |
| * | | | workaround for cffi issue 140. refs #762Paul Kehrer2014-03-091-7/+29
| | | | |
* | | | | Merge pull request #759 from public/no-hexAlex Gaynor2014-03-171-11/+38
|\ \ \ \ \ | |_|_|/ / |/| | | | Don't go via hex() when working with BNs
| * | | | Don't go via hex() when working with BNsAlex Stapleton2014-03-141-11/+38
| | | | |
* | | | | Add key_size property to DSAPublicKeyMohammed Attia2014-03-171-0/+6
| |_|/ / |/| | |
* | | | Merge pull request #808 from public/tidy-rsaPaul Kehrer2014-03-161-34/+58
|\ \ \ \ | | | | | | | | | | RSAPrivateKey to evp_pkey utility method
| * | | | s/set1/assign/Alex Stapleton2014-03-161-2/+2
| | | | |
| * | | | Just EVP_PKEY GC free the contained keys.Alex Stapleton2014-03-161-2/+5
| | | | | | | | | | | | | | | | | | | | Fortunately we never use these bare.
| * | | | RSAPrivateKey to evp_pkey utility methodAlex Stapleton2014-03-161-32/+53
| | | | |
* | | | | Merge pull request #811 from alex/import-stylePaul Kehrer2014-03-162-4/+2
|\ \ \ \ \ | | | | | | | | | | | | Tiny style changes to some imports
| * | | | | Tiny style changes to some importsAlex Gaynor2014-03-162-4/+2
| | | | | |
* | | | | | s/available_backends/_available_backends/Alex Stapleton2014-03-161-9/+9
| | | | | |
* | | | | | Fix circular imports with available_backends()Alex Stapleton2014-03-161-7/+26
|/ / / / /
* | | | | Merge pull request #807 from Ayrx/add-backend-check-to-rsaPaul Kehrer2014-03-161-0/+14
|\ \ \ \ \ | | | | | | | | | | | | Added backend check to rsa primitives
| * | | | | Added backend check to rsa primitivesAyrx2014-03-161-0/+14
| |/ / / /
* | | | | Merge pull request #806 from Ayrx/add-backend-check-to-cipherPaul Kehrer2014-03-161-1/+7
|\ \ \ \ \ | | | | | | | | | | | | Added backend check to cipher primitives
| * | | | | Added backend check to cipher primitivesAyrx2014-03-161-1/+7
| |/ / / /
* | | | | Merge pull request #805 from Ayrx/add-backend-check-to-hmacPaul Kehrer2014-03-161-1/+9
|\ \ \ \ \ | | | | | | | | | | | | Added backend check to hmac primitives
| * | | | | Fixed style nitpickAyrx2014-03-161-1/+2
| | | | | |
| * | | | | Added backend check to hmac primitivesAyrx2014-03-161-1/+8
| |/ / / /
* / / / / Added backend check to hash primitivesAyrx2014-03-161-1/+6
|/ / / /
* | | | Merge pull request #803 from alex/stylePaul Kehrer2014-03-151-2/+4
|\ \ \ \ | | | | | | | | | | Don't put things with side effects in assert statements
| * | | | Don't put things with side effects in assert statementsAlex Gaynor2014-03-151-2/+4
| | | | |
* | | | | Merge pull request #775 from reaperhulk/rsa-mgf1-classAlex Gaynor2014-03-151-0/+21
|\ \ \ \ \ | |/ / / / |/| | | | add MGF1 class, docs, tests
| * | | | restructure if statements to be less confusingPaul Kehrer2014-03-151-2/+2
| | | | |
| * | | | make MAX_LENGTH an object()Paul Kehrer2014-03-141-3/+1
| | | | |
| * | | | make attributes of MGF1 private since that's our general conventionPaul Kehrer2014-03-111-2/+2
| | | | |
| * | | | change MAX_LENGTH to be an object rather than a byte stringPaul Kehrer2014-03-111-3/+5
| | | | |