summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_transcript.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-01-14Use BIO_next/BIO_set_next in ssl_lib.ctb1-3/+3
Trivial conversion to cope with opaque BIO.
2022-01-14bio_ssl.c needs to peek into bio_local.htb2-2/+4
2022-01-14Update Symbols.listtb1-49/+190
ok inoguchi
2022-01-14Unconditionally comment out OPENSSL_NO_RFC3779tb1-3/+1
ok inoguchi jsing
2022-01-14Remove header guard around RFC 3779 declarationstb1-3/+1
ok inoguchi jsing
2022-01-14Expose Certificate Transparency symbols in headerstb3-11/+3
ok inoguchi jsing
2022-01-14Hide OBJ_bsearch_ from public visibility,tb1-84/+4
This removes OBJ_bsearch_ex_() from the exported symbols and makes OBJ_bsearch_() semi-private. It is still used in libssl. While here, remove some hideous unused macros ok inoguchi jsing
2022-01-14Move ASN1_BOOLEAN to internal only.tb2-5/+5
This moves {d2i,i2d}_ASN1_BOOLEAN() to internal only. They are unused, but help us testing the encoding. ok jsing
2022-01-14Remove check_defer and obj_cleanup_defer from public visibilitytb1-1/+3
ok inoguchi jsing
2022-01-14Remove name_cmp from public visibilitytb2-2/+3
ok inoguchi jsing
2022-01-14Remove all asn1_* symbols from public visibilitytb2-18/+18
ok inoguchi jsing
2022-01-14Implement new-style OpenSSL BIO callbackstb15-145/+266
This provides support for new-style BIO callbacks in BIO_{read,write,gets,puts}() and a helper function to work out whether it should call the new or the old style callback. It also adds a few typedefs and minor code cleanup as well as the BIO_{get,set}_callback_ex() from jsing, ok tb
2022-01-14Garbage collect last use of EVP_ecdsa()tb1-2/+1
ok inoguchi jsing
2022-01-14Remove legacy sign/verify from EVP_MD.tb20-657/+62
This removes m_dss.c, m_dss1.c, and m_ecdsa.c and the corresponding public API EVP_{dss,dss1,ecdsa}(). This is basically the following OpenSSL commit. The mentioned change in RSA is already present in rsa/rsa_pmeth.c. ok inoguchi jsing commit 7f572e958b13041056f377a62d3219633cfb1e8a Author: Dr. Stephen Henson <steve@openssl.org> Date: Wed Dec 2 13:57:04 2015 +0000 Remove legacy sign/verify from EVP_MD. Remove sign/verify and required_pkey_type fields of EVP_MD: these are a legacy from when digests were linked to public key types. All signing is now handled by the corresponding EVP_PKEY_METHOD. Only allow supported digest types in RSA EVP_PKEY_METHOD: other algorithms already block unsupported types. Remove now obsolete EVP_dss1() and EVP_ecdsa(). Reviewed-by: Richard Levitte <levitte@openssl.org> Plus OpenSSL commit 625a9baf11c1dd94f17e5876b6ee8d6271b3921d for m_dss.c
2022-01-14Make RSA, RSA_PSS_PARAMS and RSA_METHOD opaquetb3-83/+80
Move the struct internals to rsa_locl.h and provide a missing typedef in ossl_typ.h. ok inoguchi jsing
2022-01-14Make structs in ocsp.h opaquetb2-234/+260
This adds a little order to this pig sty. ok inoguchi jsing
2022-01-14Move ECDSA_SIG to ecs_locl.htb2-11/+7
We can't make ECDSA_METHOD opaque since it is still used in smtpd(8) ok inoguchi jsing
2022-01-14Simplify DSAPublicKey_ittb4-56/+25
This was obtained by porting the OpenSSL commit below and then using expand_crypto_asn1.go to unroll the new ASN.1 macros - actually the ones from 987157f6f63 which fixed the omission of dsa_cb() in the first commit. ok inoguchi jsing commit ea6b07b54c1f8fc2275a121cdda071e2df7bd6c1 Author: Dr. Stephen Henson <steve@openssl.org> Date: Thu Mar 26 14:35:49 2015 +0000 Simplify DSA public key handling. DSA public keys could exist in two forms: a single Integer type or a SEQUENCE containing the parameters and public key with a field called "write_params" deciding which form to use. These forms are non standard and were only used by functions containing "DSAPublicKey" in the name. Simplify code to only use the parameter form and encode the public key component directly in the DSA public key method. Reviewed-by: Richard Levitte <levitte@openssl.org>
2022-01-14Make DSA opaquetb2-65/+57
This moves DSA_SIG, DSA and DSA_METHOD to dsa_locl.h. ok inoguchi jsing
2022-01-14Make structs in dh.h opaquetb2-51/+44
This moves the struct internals for DH and DH_METHOD to dh_local.h. ok inoguchi jsing
2022-01-14Garbage collect the unused OPENSSL_ITEMtb1-10/+1
ok inoguchi jsing
2022-01-14Make structs in comp.h opaquetb3-30/+32
This moves COMP_CTX and COMP_METHOD to comp_local.h and provides missing typedefs in ossl_typ.h. ok inoguchi jsing
2022-01-14Make structs in bio.h opaquetb3-61/+62
Move BIO, BIO_METHOD and BIO_F_BUFFER_CTX to bio_local.h and provide BIO typedef in ossl_typ.h. ok inoguchi jsing
2022-01-14Garbage collect the app_items field of ASN1_ADBtb6-14/+6
This is unused and was removed in OpenSSL 5b70372d when it was replaced with an ASN.1 ADB callback (which we don't support). ok inoguchi jsing
2022-01-14Remove NO_ASN1_FIELD_NAMEStb1-5/+1
This follows OpenSSL commit 26f2412d. ok inoguchi jsing
2022-01-14Remove obsolete key formatstb5-578/+3
This removes NETSCAPE_X509, NETSCAPE{,_ENCRYPTED}_PKEY, RSA_NET, Netscape_RSA things. Some of the nasty tentacles that could go in principle are used in some test suites, so we need to keep them... All this was removed as part of OpenSSL commit 0bc2f365. ok inoguchi jsing
2022-01-14Remove ASN1_OBJECT internals from public visibility.tb3-17/+19
Move the struct declaration to asn1_locl.h and add a forward declaration to ossl_typ.h. This makes struct visibility in the asn1 headers match OpenSSL. ok inoguchi jsing
2022-01-14Remove HMAC_CTX_{init,cleanup}() and HMAC_init from public visibilitytb2-6/+5
In OpenSSL commit 32fd54a9a3 HMAC_CTX_cleanup() was integrated into HMAC_CTX_init(), then HMAC_CTX_init() was renamed to HMAC_CTX_reset() in dc0099e1. LibreSSL retained them for API compatibility with OpenSSL 1.0. Not many things use them anymore. In fact, some projects that didn't want to modify their code for OpenSSL 1.1 API compatibility used the removed functions to wrap the OpenSSL 1.1 API. We had to patch some of these and this will now no longer be necessary. Also remove HMAC_cleanup(). Nothing uses this. ok inoguchi jsing
2022-01-14Make structs in evp.h and hmac.h opaquetb4-146/+142
This moves most structs to evp_locl.h and moves HMAC_CTX to hmac_local.h. ok inoguchi jsing
2022-01-14Move BN structs to bn_lcl.htb2-50/+46
This makes all structs in bn.h opaque that are also opaque in OpenSSL. ok inoguchi jsing
2022-01-14Remove BIO_s_file_internaltb1-4/+1
Pointed out by schwarze. How something with this name ever made its way into a public header will remain a mystery. ok inoguchi jsing
2022-01-14Remove ASN1{_const,}_check_infinite_endtb2-30/+2
Suggested by schwarze ok inoguchi jsing
2022-01-14Remove ASN1{,_const}_CTXtb1-35/+1
These are leftovers of the old ASN.1 stuff. Nothing uses this. OpenSSL removed them in a469a677. ok inoguchi jsing
2022-01-14Remove X509_OBJECT_free_contentstb2-19/+11
Inline X509_OBJECT_free_contents() in X509_OBJECT_free() and remove this dangerous API. It was left over when x509_vfy.h was made opaque. ok inoguchi jsing
2022-01-14Remove PEM_Seal{Init,Update,Final}tb3-223/+3
This unused, bug-ridden API was removed in OpenSSL commit 0674427f. ok inoguchi jsing
2022-01-14Unifdef LIBRESSL_OPAQUE_* and LIBRESSL_NEXT_APItb10-112/+10
This marks the start of major surgery in libcrypto. Do not attempt to build the tree for a while (~50 commits).
2022-01-12zap some stray whitespacetb1-2/+2
2022-01-12ASN1_{,F,T}BOOLEAN_it and the encoding and decoding API will movetb5-147/+7
to internal only soon. Stop documenting them. ok inoguchi jsing
2022-01-12Only evp_pkey_check needs static linkingtb1-2/+4
2022-01-12Add a prototype for OBJ_bsearch_ so this test will keep workingtb1-1/+6
after the bump. Since this tests the public interfaces, we do not want to use LIBRESSL_INTERNAL/LIBRESSL_CRYPTO_INTERNAL here.
2022-01-12Rework ecdsatest to build after the bump and link statically for nowtb2-14/+26
2022-01-12Rework dsatest to use accessors and link statically for nowtb2-7/+7
2022-01-12Rework dhtest to use accessors and link statically for nowtb1-6/+6
For some reason CVS didn't want to commit this the first time around.
2022-01-12Rework dhtest to use accessors and link statically for nowtb1-3/+3
2022-01-12Rework test to use EVP_AEAD_CTX_{new,free}() and link statically for nowtb2-20/+32
2022-01-12Fix typo in header guardtb1-3/+3
2022-01-12Fix asn1x509 build with opaque structures. Link statically for now.tb2-20/+25
2022-01-12Rework Makefile to use regress framework and link asn1basic statically.tb2-14/+16
It will need this for testing {d2i,i2d}_ASN1_BOOLEAN which will be moved to internal-only in the upcoming bump.
2022-01-11forgot to zap some dead assignmentstb1-4/+4
2022-01-11Add regress for EVP_PKEY_{,public_,param_}check()tb2-7/+415