aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
| |
* | 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 #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
| | |
| * | this was actually added in 1.0.2-beta3Paul Kehrer2016-03-101-1/+1
| | |
| * | move crypto_ex_data to macros, add i2d_re_X509_tbs & X509_get0_signaturePaul Kehrer2016-03-101-6/+37
| | | | | | | | | | | | | | | | | | And, of course, use them in the openssl bindings. These changes are a start towards opaquing all the X509 structs. The actual opaquing won't take place until the very end though to minimize pyOpenSSL breakage
* | | Merge pull request #2807 from reaperhulk/110-patch-26Alex Gaynor2016-03-121-3/+22
|\ \ \ | | | | | | | | conditionally bind/remove the SSL_ST/TLS_ST state machine statuses
| * | | conditionally bind/remove the SSL_ST/TLS_ST state machine statusesPaul Kehrer2016-03-111-3/+22
| | |/ | |/|
* | | Merge pull request #2794 from reaperhulk/110-patch-15Alex Gaynor2016-03-121-4/+27
|\ \ \ | | | | | | | | opaque HMAC_CTX, which requires some helper functions
| * | | HMAC_CTX_new doesn't need commented out code for no reasonPaul Kehrer2016-03-101-5/+0
| | | |
| * | | simplify HMAC_CTX_freePaul Kehrer2016-03-101-4/+0
| | | |
| * | | opaque HMAC_CTX, which requires some helper functionsPaul Kehrer2016-03-091-4/+36
| | | |
* | | | struct is a keywordAlex Gaynor2016-03-111-1/+1
| | | |
* | | | Don't make this struct opaqueAlex Gaynor2016-03-111-1/+1
| | | | | | | | | | | | it breaks pyopenssl: https://jenkins.cryptography.io/job/pyopenssl-smoke/label=debian7,version=master/80/console
* | | | Merge pull request #2800 from reaperhulk/110-patch-21Alex Gaynor2016-03-111-5/+21
|\ \ \ \ | | | | | | | | | | opaque EVP_MD_CTX and wrap EVP_MD_CTX_new + EVP_MD_CTX_free
| * | | | opaque EVP_MD_CTX and wrap EVP_MD_CTX_new + EVP_MD_CTX_freePaul Kehrer2016-03-101-5/+21
| | |_|/ | |/| |
* | | | partially opaque RAND_METHODPaul Kehrer2016-03-111-3/+1
| |_|/ |/| | | | | | | | | | | We only populate bytes, pseudobytes, and status and in OpenSSL 1.1.0 seed and add changed signature (from void return to int).
* | | X509_STORE_CTX_get_ex_new_index is a macro in 1.1.0Paul Kehrer2016-03-101-2/+4
| | |
* | | Merge pull request #2799 from reaperhulk/110-patch-20Alex Gaynor2016-03-101-8/+0
|\ \ \ | | | | | | | | remove some error codes we don't use