summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc4/rc4_enc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-03-17Provide X509_OBJECT_get_type(). Instead of the X509_LOOKUP_TYPE enumtb3-2/+10
(which we don't have) it returns a plain int. ok jsing
2018-03-17Provide X509_NAME_ENTRY_set()tb3-2/+10
ok jsing
2018-03-17Provide ECDSA_SIG_{g,s}et0().tb3-2/+40
ok jsing
2018-03-17Add DSA_meth_{dup,free,new,set_{finish,sign}}()tb4-2/+93
As in RSA_meth_*, note that these functions return NULL in out-of-memory situations, but they do not set an error explicitly. ok jsing
2018-03-17Provide RSA_meth_{dup,free,new,set_{finish,priv_{dec,enc}}}()tb4-3/+104
Note that these functions return NULL in out-of-memory situations, but contrary to OpenSSL's versions they do not set an error. ok jsing
2018-03-17Make BIO_meth_get_write() public. Omission spotted by schwarze.tb2-1/+3
ok jsing
2018-03-17Fix X509_get0_pubkey() - X509_get_pubkey() is a misnamed "get1" function,jsing1-2/+4
so call X509_PUBKEY_get0() instead. Spotted by schwarze@ while documenting.
2018-03-17Provide X509_PUBKEY_get0() by splitting X509_PUBKEY_get() and turning itjsing3-7/+19
into a wrapper that calls X509_PUBKEY_get0() and up refs.
2018-03-17SSL_SESSION_get_protocol_version() takes a const SSL_SESSION *.tb2-4/+4
Noted by schwarze@ ok jsing@
2018-03-17Provide OCSP_SINGLERESP_get0_id().jsing3-2/+10
2018-03-17Provide SSL_CIPHER_get_auth_nid(), SSL_CIPHER_get_cipher_nid(),jsing3-2/+110
SSL_CIPHER_get_digest_nid(), SSL_CIPHER_get_kx_nid() and SSL_CIPHER_is_aead().
2018-03-17Provide object identifier for chacha20-poly1305.jsing2-0/+3
2018-03-17Provide object identifiers for TLS cipher suite key exchange andjsing2-0/+20
authentication.
2018-03-17Provide X509_REVOKED_dup().jsing3-2/+10
2018-03-17Provide SSL_SESSION_get0_id_context().jsing3-11/+22
2018-03-16Consistently spell "IPsec" in comments and debug outputs.mpi1-2/+2
From Raf Czlonka, ok sthen@
2018-03-15Fix a format string issue that Go 1.10 complains about.jsing1-1/+1
2018-03-15Also bump libtls minor after the addition of SSL_CTX_get_min/max_proto_versionjca1-1/+1
cluebat tb@
2018-03-15Provide SSL_CTX_get_min_proto_version and SSL_CTX_get_max_proto_versionjca7-28/+117
We already provided the setters, so also provide the getters like OpenSSL does. Addition prompted by the use of those functions in recent openvpn releases. manpage diff from schwarze@ (thanks!) with input from jsing@, ok tb@ jsing@
2018-03-13ensure SYS_getrandom and GRND_NONBLOCK are both defined before using ↵bcook1-4/+4
getrandom(2) Based on discussion here https://github.com/libressl-portable/openbsd/pull/82 Suggested fix from jsing@
2018-03-12Fix for processing of EC public keyinoguchi2-15/+27
Prevents segmentation fault while reading EC private key without public key. Generates missing EC public key when reading EC private key. Refer to these OpenSSL commits: 1f2b943254ce590867717375e4f364860a9b7154 2083f7c465d07867dd9867b8742bb71c03d1f203 Reported on GitHub https://github.com/libressl-portable/portable/issues/395 by Anton Bukov (@k06a) . ok beck@
2018-03-08un-revert tls_init pthread_once change, now that stub is added so that ↵beck2-15/+23
builds work
2018-03-07backout. diff was not tested comprehensively, resulting in a broken tree.deraadt2-22/+14
2018-03-07Make tls_init() concurrently callable using pthread_once().beck2-15/+23
ok jsing@ This brings pthread_once usage into libressl, which will need to get dealt with correctly in portable. This sets us up to autoinit libtls, and we will also be using pthread_once to deal with autoinit stuff in libssl and libcrypto
2018-03-06use _ALIGN() which is uhm a bit OpenBSD-specific, but it means wederaadt1-3/+2
don't need to use sys/param.h at all, guess which one i believe is greater namespace polution ok otto
2018-03-05Use _MAX_PAGE_SHIFT, rather than #ifdef mips64deraadt1-6/+2
ok guenther kettenis
2018-03-03Provide macro versions of SSL_CTX_set_min/max_proto_version and friendsjca1-1/+16
Needed at least by openvpn-2.4.5, which detects availability of this interface using #ifdefs... Discussed with & ok jsing@
2018-03-01Two new manual pages OPENSSL_sk_new(3) and STACK_OF(3), written fromschwarze3-1/+749
scratch, tweaks and OK jsing@ and jmc@.
2018-02-28ca start/enddates require all 4 yyyy from 2050 on; first twojmc1-6/+6
are otherwise optional diff from holger mikolon, tweaked a bit by me
2018-02-27Garbage collect RC5 documentation.schwarze2-25/+6
We have no code implementing it, tedu@ took care of the rc5/ directory in 2014, the related files are commented out in arch/*/Makefile.inc, and opensslfeatures.h contains an explicit #define OPENSSL_NO_RC5.
2018-02-27Garbage collect MD2 documentation.schwarze3-73/+21
We have no code implementing those functions.
2018-02-27fix a wrong preposition; from Daniel Bevenius at gmail dot comschwarze1-4/+5
via OpenSSL commit cbade361 Dec 12 13:14:45 2017 +0100
2018-02-27Add a cross reference to SSL_get_ex_data_X509_STORE_CTX_idx(3);schwarze1-3/+9
from Rich Salz <rsalz@openssl.org> via OpenSSL commit 9e183d22 Mar 11 08:56:44 2017 -0500.
2018-02-27Import SSL_CTX_set_tlsext_use_srtp(3) from OpenSSL, slightly tweaked by me.schwarze2-1/+190
2018-02-27Add four options that exist in our tree and are documented in OpenSSL.schwarze1-1/+9
2018-02-27sort option list alphabetically in preparation for adding missing options;schwarze1-28/+28
no text change
2018-02-27Mention that SSL_OP_TLSEXT_PADDING no longer has any effect,schwarze1-12/+10
and correct the description of SSL_OP_ALL. Found by inspecting <openssl/ssl.h>.
2018-02-27Merge the documentation of SSL_CIPHER_get_id(3) andschwarze1-42/+71
the new RETURN VALUES section from OpenSSL, tweaked by me. While here, correct the description of SSL_CIPHER_description(3).
2018-02-27In ssl.h rev. 1.145 2018/02/22 17:30:25, jsing@ provided SSL_is_server(3).schwarze1-9/+34
Merge the documentation from OpenSSL, slightliy tweaking the wording for precision. The connection is not necessarily "working" yet.
2018-02-27In ssl.h rev. 1.144 2018/02/22 17:29:24, jsing@ provided SSL_up_ref(3).schwarze1-6/+19
Merge the documentation from OpenSSL.
2018-02-26In ssl.h rev. 1.143 2018/02/22 17:27:07, jsing@ providedschwarze1-6/+24
SSL_CTX_get_ciphers(3). Merge the documentation from OpenSSL.
2018-02-26In ssl.h rev. 1.142 2018/02/22 17:25:18, jsing@ providedschwarze1-12/+23
SSL_SESSION_up_ref(3). Merge the documentation from OpenSSL, tweaked by me.
2018-02-26In x509.h rev. 1.41 2018/02/22 17:22:02, jsing@ providedschwarze1-6/+31
X509_chain_up_ref(3). Merge the documentation from OpenSSL, tweaked by me.
2018-02-25In x509_vfy.h rev. 1.24 2018/02/22 17:19:31, jsing@ providedschwarze2-6/+40
X509_STORE_set_ex_data(3) and X509_STORE_get_ex_data(3). Document them.
2018-02-25In x509_vfy.h rev. 1.24 2018/02/22 17:19:31, jsing providedschwarze4-59/+137
X509_STORE_get0_objects(3). Merge the documenteation from OpenSSL, heavily tweaked by me. While here, document six additional public functions closely related to X509_STORE_set1_param(3) that OpenSSL lacks documentation for. No Copyright-worthy amount of text remains in X509_STORE_set1_param.3, so switch to my Copyright and license.
2018-02-25In x509_vfy.h rev. 1.23 2018/02/22 17:17:09, jsing@ providedschwarze2-1/+218
X509_OBJECT_get0_X509(3) and X509_OBJECT_get0_X509_CRL(3). Since they are undocumented in OpenSSL, write a new manual page from scratch, also documenting five closely related public functions that have already been available before.
2018-02-25In x509_vfy.h rev. 1.22 2018/02/22 17:15:09, jsing@ providedschwarze8-15/+157
X509_STORE_up_ref(3). X509_STORE_new(3) and X509_STORE_free(3) have already been available earlier. Import the documentation from OpenSSL, adding some precision.
2018-02-25In x509_vfy.h rev. 1.21 2018/02/22 17:11:30, jsing@ providedschwarze1-1/+19
X509_STORE_CTX_get0_store(3). It is undocumented in OpenSSL, so write some documentation from scratch.
2018-02-25In x509_vfy.h rev. 1.21 2018/02/22 17:11:30, jsing@ providedschwarze2-14/+32
X509_STORE_CTX_get0_chain(3). Adapt the documentation. It is absurd that OpenSSL documents the two almost identical functions X509_STORE_CTX_get0_chain(3) and X509_STORE_CTX_get1_chain(3) in two different manual pages, with quite different wordings, and without even referencing each other. It is very obvious that they have lost their way in their own mire of functions.
2018-02-25In x509.h rev. 1.37 2018/02/22 17:01:44, jsing@ providedschwarze1-7/+65
X509_CRL_set1_lastUpdate(3) and X509_CRL_set1_nextUpdate(3) and in rev. 1.39 2018/02/22 17:06:42 X509_set1_notBefore(3) and X509_set1_notAfter(3). Document them, again from scratch because what OpenSSL provides is slightly confusing.