aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src
Commit message (Collapse)AuthorAgeFilesLines
* remove unneeded AES conditionals now that we no longer support 0.9.8 (#2985)Paul Kehrer2016-06-181-19/+6
| | | | | | | | * remove unneeded AES conditionals now that we no longer support 0.9.8 * This comment was inaccurate. EVP AES CTR is available in 1.0.1+, not 1.0.0. * update function definition to match 1.0.0 and move to functions
* Remove a binding and comments that reference 0.9.8 (#2984)Alex Gaynor2016-06-181-4/+1
|
* Drop OpenSSL 0.9.8 (#2978)Alex Gaynor2016-06-181-26/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Drop OpenSSL 0.9.8 * Drop this test, it's not relevant any longer * unused import * Remove CRYPTOGRAPHY_ALLOW_OPENSSL_098=1 from our tox * removed unused code for Cryptography_HAS_PKEY_CTX * return unused code for _AESCTRCipherContext * syntax :-( * remove some unused tests and skips * remove unused code for Cryptography_HAS_PBKDF2_HMAC * Revert "return unused code for _AESCTRCipherContext" This reverts commit 7d149729205aa4c9735eb322414b167a75b302df. * Remove unused RSA code * Remove unused test code for conditional bindings * Remove unused dsa code * unused import * Remove unused x509 extension code * Remove unused EC code * Attempt to remove unused DER key loading code * document this * grammar * Added back this paragraph * Update docs
* remove the i2d_{EXTENSION_NAME} macros since we don't need them (#2966)Paul Kehrer2016-06-041-21/+0
| | | | | | * remove the i2d_{EXTENSION_NAME} macros since we don't need them * we still need this for a few more moments
* A few more 1.1.0 compatibility changes (#2960)Paul Kehrer2016-06-032-16/+0
| | | | | | * remove some bindings we don't use * thread state is not required
* Added an additional binding that we need (#2942)Alex Gaynor2016-06-021-0/+1
|
* Bind another function because reasons (#2940)Alex Gaynor2016-06-011-0/+7
| | | | | | | | * Bind another function because reasons * ptr * move to the correct section
* backport a function from 1.1.0 for x.509 (#2939)Alex Gaynor2016-06-011-0/+7
|
* Don't use the internal struct (#2934)Alex Gaynor2016-05-311-2/+2
|
* these constants no longer exist in 1.1.0 and we weren't using them (#2930)Paul Kehrer2016-05-301-43/+0
|
* add functions to handle opaque RSA (#2886)Paul Kehrer2016-05-281-0/+119
| | | | | | | | | | * add functions to handle opaque RSA A subsequent PR will utilize these new functions. * update to latest C code from github * these can live in functions
* add DSA getters/setters for opaquing the struct (#2889)Paul Kehrer2016-04-301-0/+73
| | | | | | * add DSA getters/setters for opaquing the struct * these can live in functions
* opaque the DH struct (#2884)Paul Kehrer2016-04-301-14/+1
|
* opaque BIO_METHOD and BIO. Move some functions that added const (#2881)Paul Kehrer2016-04-301-40/+12
|
* CRYPTO_cleanup_all_ex_data is a macro and CRYPTO_add no longer exists (#2882)Paul Kehrer2016-04-301-4/+3
| | | We don't use CRYPTO_add and neither does pyOpenSSL
* a few more func->macro transitions for 1.1.0 compatibility (#2885)Paul Kehrer2016-04-304-4/+9
|
* Add more bindings to OpenSSL, to be used by the Python _ssl module. (#2868)Amaury Forgeot d'Arc2016-04-084-0/+63
| | | | | | | | | | | | | | * Add more bindings to OpenSSL, all are used by the Python _ssl module. * Add a conditional: SSL_CTX_clear_options() does not exist before 0.9.8m * 80 cols * Condionally define the TLSEXT error codes. * Address review comments * Remove all parameter names
* simplify the macro def checkPaul Kehrer2016-03-281-1/+1
|
* fix libressl breakage reported in #2858Paul Kehrer2016-03-281-1/+8
|
* add EVP_PKEY_CTX_set_rsa_oaep_mdPaul Kehrer2016-03-251-0/+9
|
* slowly re-add everything that was removed, but now conditionalPaul Kehrer2016-03-171-0/+4
|
* sigh... and this onePaul Kehrer2016-03-171-0/+2
|
* need this one tooPaul Kehrer2016-03-171-0/+2
|
* we need CRYPTO_LOCK & CRYPTO_UNLOCK on < 1.1.0 so conditionally bind themPaul Kehrer2016-03-171-0/+11
|
* in 1.1.0 OpenSSL does its own locking now! locking funcs are now macrosPaul Kehrer2016-03-171-9/+6
| | | | | the macros are no ops. Also remove some constants that we never used and were related to locking
* Merge pull request #2834 from reaperhulk/110-patch-40Alex Gaynor2016-03-171-1/+3
|\ | | | | OPENSSL_free is a macro in 1.1.0
| * OPENSSL_free is a macro in 1.1.0Paul Kehrer2016-03-171-1/+3
| |
* | remove EVP_F_EVP_PKEY2PKCS8_BROKEN, an err function const we never usedPaul Kehrer2016-03-171-1/+0
|/
* Merge pull request #2831 from reaperhulk/110-patch-37Alex Gaynor2016-03-161-1/+2
|\ | | | | SSL_CIPHER_get_version gained a const return type in 1.1.0
| * SSL_CIPHER_get_version gained a const return type in 1.1.0Paul Kehrer2016-03-161-1/+2
| |
* | Merge pull request #2830 from reaperhulk/110-patch-36Alex Gaynor2016-03-161-8/+0
|\ \ | | | | | | remove more DSA bindings we don't use
| * | remove more DSA bindings we don't usePaul Kehrer2016-03-161-8/+0
| |/ | | | | | | 1.1.0pre4 opaqued DSA_SIG, but it turns out we don't use it
* | Merge pull request #2736 from cedk/ANSI_X.923Paul Kehrer2016-03-162-0/+25
|\ \ | |/ |/| Added support for padding ANSI X.923
| * Add padding check for ANSI X.923Cédric Krier2016-02-272-0/+25
| | | | | | | | All padding bytes must be 0.
* | Merge pull request #2824 from reaperhulk/110-patch-34Alex Gaynor2016-03-141-18/+0
|\ \ | | | | | | remove some EC functions we don't use
| * | remove some EC functions we don't usePaul Kehrer2016-03-131-18/+0
| | |
* | | Merge pull request #2825 from reaperhulk/110-patch-35Alex Gaynor2016-03-131-1/+1
|\ \ \ | | | | | | | | one last 1.1.0 const switch to get rid of some warnings
| * | | one last 1.1.0 const switch to get rid of some warningsPaul Kehrer2016-03-131-1/+1
| |/ /
* | | Merge pull request #2823 from reaperhulk/110-patch-33Alex Gaynor2016-03-131-2/+2
|\ \ \ | | | | | | | | in OpenSSL 1.1.0 these EC functions are no longer const args
| * | | in OpenSSL 1.1.0 these EC functions are no longer const argsPaul Kehrer2016-03-131-2/+2
| |/ / | | | | | | | | | Fixes a warning
* / / these bio types no longer exist in 1.1.0Paul Kehrer2016-03-131-2/+0
|/ / | | | | | | and...you guessed it, we don't use them and neither does pyOpenSSL
* | Merge pull request #2809 from reaperhulk/110-patch-28Alex Gaynor2016-03-131-0/+48
|\ \ | | | | | | add 5 accessor functions that exist in 1.1.0 to help opaque x509 structs
| * | remove pointless commentsPaul Kehrer2016-03-131-8/+0
| | |
| * | add 5 accessor functions that exist in 1.1.0 to help opaque x509 structsPaul Kehrer2016-03-111-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | X509_REVOKED_get0_serialNumber X509_REVOKED_get0_revocationDate X509_CRL_get0_signature i2d_re_X509_REQ_tbs i2d_re_X509_CRL_tbs X509_REQ_get0_signature
* | | bind some new functions to access elements of the SSL structPaul Kehrer2016-03-131-0/+46
| | | | | | | | | | | | | | | | | | SSL_SESSION_get_master_key (added 1.1.0) SSL_get_client_random (added 1.1.0) SSL_get_server_random (added 1.1.0)
* | | bind SSL_SESSION_set1_id_contextPaul Kehrer2016-03-131-0/+24
| | | | | | | | | | | | added in 1.0.1
* | | Merge pull request #2808 from reaperhulk/110-patch-27Alex Gaynor2016-03-131-7/+12
|\ \ \ | | | | | | | | bind SSL_CTX_get_ssl_method
| * | | bind one new function to access part of the SSL structPaul Kehrer2016-03-131-7/+12
| |/ / | | | | | | | | | | | | | | | SSL_CTX_get_ssl_method (added 1.0.2) also remove the internally invented symbol we had (that was not in use)
* | | Merge pull request #2802 from reaperhulk/110-patch-23Alex Gaynor2016-03-131-6/+38
|\ \ \ | | | | | | | | move crypto_ex_data to macros, add i2d_re_X509_tbs & X509_get0_signature
| * | | improve commentsPaul Kehrer2016-03-121-4/+5
| | | |