aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src
Commit message (Collapse)AuthorAgeFilesLines
* Add OPENSSL_config binding (#2972) (#2974)Anton2016-07-132-0/+24
| | | | | | | >>> lib.EVP_get_digestbyname(b'md_gost94') <cdata 'EVP_MD *' NULL> >>> lib.OPENSSL_config(ffi.NULL) >>> lib.EVP_get_digestbyname(b'md_gost94') <cdata 'EVP_MD *' 0x10adc7440>
* Use a series of constants for OpenSSL version checks (#3037)Alex Gaynor2016-07-1115-54/+96
| | | | | | | | | | | | | | | | | | | | | | | | * Use a series of constants for OpenSSL version checks. N.B. I removed several qualifiers that were being used to express beta vs. release in OpenSSL version numbers. Reviewers please look closely! * Convert some python as well, also add the file * flake8 * Simplify code, remove functionality that can be expressed more simply * clean up the tests as well * more constants * wrap long lines * reflect feedback * unused * add this back?
* Remove a few SSL fields which are unused (#3032)Alex Gaynor2016-06-301-5/+0
|
* Opaque everything else we can of X509 (#3027)Alex Gaynor2016-06-301-11/+1
|
* change X509V3_EXT_nconf function signature (#3024)Paul Kehrer2016-06-301-1/+2
|
* Opaque another OpenSSL struct (#3025)Alex Gaynor2016-06-291-8/+1
|
* AES_ctr128_encrypt needs to be in macros as it's a conditional binding (#3023)Paul Kehrer2016-06-271-4/+4
|
* update RSA opaque getters/setters to latest code from openssl 1.1.0 master ↵Paul Kehrer2016-06-271-22/+20
| | | | | (#3022) constify + a few small changes to the null checks
* update DH opaque getters/setters to latest code from openssl 1.1.0 master ↵Paul Kehrer2016-06-271-14/+10
| | | | | (#3021) constify + a few small changes to the null checks
* update DSA opaque getters/setters to latest code from openssl 1.1.0 master ↵Paul Kehrer2016-06-271-15/+17
| | | | | (#3020) constify + a few small changes to the null checks
* opaque x509 store context (#3019)Paul Kehrer2016-06-271-15/+1
|
* Refs #2826 -- remove a no longer needed DSA binding (#3017)Alex Gaynor2016-06-261-2/+0
|
* Opaquify RSA and DSA structs in OpenSSL (#3016)Alex Gaynor2016-06-262-24/+2
|
* Complete the removal of the string '0.9.8' (#3005)Alex Gaynor2016-06-201-15/+13
| | | We have always been at war with OpenSSL 0.9.8
* Added function to access and alter opaque DH struct (#2976)Aviv Palivoda2016-06-201-0/+82
|
* Remove some more 0.9.8isms from the ssl code (#3001)Alex Gaynor2016-06-201-8/+4
|
* More cleanup of the EVP module for 0.9.8isms (#3000)Alex Gaynor2016-06-201-30/+9
|
* first pass removing 0.9.8 things from the ssl bindings (#2986)Paul Kehrer2016-06-201-48/+2
|
* Remove a few 0.9.8isms from the ssl bindings (#2998)Alex Gaynor2016-06-191-22/+0
|
* Remove some 0.9.8 code in x509 extension land (#2999)Alex Gaynor2016-06-191-5/+2
|
* Simplify and remove some 0.9.8 code from the EVP bindings (#2996)Alex Gaynor2016-06-191-8/+4
| | | | | | | | * Simplify and remove some 0.9.8 code from the EVP bindings The Cryptography_ symbol remains because pyOpenSSL uses. There's still other 0.9.8isms in this file. * only eclare this once
* Remove 0.9.8isms from CMS code. (#2997)Alex Gaynor2016-06-191-10/+2
| | | CMS is 'cryptographic message syntax', and not 'centers for medicaid and medicare', fyi
* Removed 0.9.8 specific hmac code (#2995)Alex Gaynor2016-06-191-60/+5
|
* Remove 0.9.8 isms from the DSA and x509 verify bindings (#2993)Alex Gaynor2016-06-192-38/+1
| | | | | | | | * Remove 0.9.8 isms from the DSA and x509 verify bindings * fixed syntax and remove more gunk * remove some obscure flags
* Remove a few more 0.9.8 bindings (#2994)Alex Gaynor2016-06-183-16/+2
|
* 0.9.8 error code conditionals no longer required (#2987)Paul Kehrer2016-06-181-48/+9
| | | | | | * 0.9.8 error code conditionals no longer required * move the error codes to be with their brethren
* remove 0.9.8 support from nid bindings (#2988)Paul Kehrer2016-06-181-12/+0
|
* 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
|