Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Place IMPLEMENT_PEM macros under #ifndef LIBRESSL_INTERNAL. | jsing | 2016-09-04 | 1 | -2/+4 | |
| | ||||||
* | Sort and group functions. | jsing | 2016-09-04 | 5 | -250/+226 | |
| | ||||||
* | Expand IMPLEMENT_PEM macros. | jsing | 2016-09-04 | 1 | -2/+29 | |
| | | | | No change in generated assembly. | |||||
* | Expand IMPLEMENT_PEM macros. | jsing | 2016-09-04 | 4 | -30/+545 | |
| | | | | No change in generated assembly. | |||||
* | Make the key sizes and offsets arrays const, ok tedu | nicm | 2016-09-04 | 1 | -2/+2 | |
| | ||||||
* | Less S390. | jsing | 2016-09-04 | 12 | -4596/+2 | |
| | | | | ok deraadt@ | |||||
* | Bump TLS_API for addition of callbacks. | jsing | 2016-09-04 | 1 | -2/+2 | |
| | ||||||
* | Less IA64. | jsing | 2016-09-04 | 10 | -6846/+1 | |
| | | | | ok deraadt@ | |||||
* | Less vax. | jsing | 2016-09-04 | 4 | -617/+1 | |
| | | | | ok deraadt@ | |||||
* | Maintain consistency with function naming. | jsing | 2016-09-04 | 2 | -8/+8 | |
| | ||||||
* | Sort headers and use the installed tls.h, rather than the local one. | jsing | 2016-09-04 | 1 | -5/+5 | |
| | ||||||
* | $OpenBSD$ tag | jsing | 2016-09-04 | 1 | -1/+1 | |
| | ||||||
* | New sentence, new line. Also wrap at 80 chars. | jsing | 2016-09-04 | 1 | -3/+7 | |
| | ||||||
* | include <sys/types.h> to get <sys/cdefs.h> instead (for __warn_references) | bcook | 2016-09-04 | 1 | -2/+2 | |
| | | | | corrected by deraadt@ / guenther@ | |||||
* | Add callback-based interface to libtls. | bcook | 2016-09-04 | 10 | -37/+371 | |
| | | | | | | | This allows working with buffers and callback functions instead of directly on sockets or file descriptors. Original patch from Tobias Pape <tobias_at_netshed.de>. ok beck@ | |||||
* | include <sys/cdefs.h> for portable | bcook | 2016-09-04 | 1 | -1/+3 | |
| | ||||||
* | State that libtls functions apply to both clients and servers, unless | jsing | 2016-09-04 | 1 | -47/+16 | |
| | | | | | | | | | | noted otherwise. Remove all of the now redundant "client and server" notations and change the client and server notations to "client only" and "server only". With input from jmc@. ok beck@ jmc@ | |||||
* | Add ISRG Root X1, the letsencrypt CA root. This is now included in its own | sthen | 2016-09-04 | 1 | -1/+55 | |
| | | | | | right in Mozilla's CA list, rather than relying on IdenTrust cross-signing. ok beck@ jca@ | |||||
* | only regen pkg-config files when required; ok jasper | natano | 2016-09-04 | 2 | -8/+10 | |
| | ||||||
* | switch to a constant-time gather procedure for amd64 mont5 asm | bcook | 2016-09-03 | 1 | -199/+314 | |
| | | | | | | | from OpenSSL commit 7f98aa7403a1244cf17d1aa489f5bb0f39bae431 CVE-2016-0702 ok beck@ | |||||
* | add constant-time MOD_EXP_CTIME_COPY_FROM_PREBUF. | bcook | 2016-09-03 | 1 | -16/+55 | |
| | | | | | | | | | | Patch based on OpenSSL commit d7a854c055ff22fb7da80c3b0e7cb08d248591d0 "Performance penalty varies from platform to platform, and even key length. For rsa2048 sign it was observed to reach almost 10%." CVE-2016-0702 ok beck@ | |||||
* | BN_mod_exp_mont_consttime: check for zero modulus. | bcook | 2016-09-03 | 1 | -9/+33 | |
| | | | | | | | Don't dereference d when top is zero. Original patch from OpenSSL commit d46e946d2603c64df6e1e4f9db0c70baaf1c4c03 ok jsing@ | |||||
* | add iOS support for getentropy | bcook | 2016-09-03 | 1 | -1/+12 | |
| | | | | from Jacob Berkman, ok beck@ | |||||
* | deprecate EVP_EncryptFinal(), EVP_DecryptFinal() and EVP_CipherFinal() | bcook | 2016-09-03 | 2 | -7/+23 | |
| | | | | | | | | | | This switches EVP_CipherFinal() to work as EVP_EncryptFinal() and EVP_DecryptFinal() do, always clearing the cipher context on completion. Indicate that, since it is not possible to tell whether this function will clear the context (the API has changed over time in OpenSSL), it is better to use the _ex() variants and explicitly clear instead. ok beck@ | |||||
* | BN_mod_exp_mont_consttime: check for zero modulus. | bcook | 2016-09-03 | 1 | -4/+5 | |
| | | | | | | | Don't dereference |d| when |top| is zero. Also test that various BIGNUM methods behave correctly on zero/even inputs. Original patch from OpenSSL commit d46e946d2603c64df6e1e4f9db0c70baaf1c4c03 | |||||
* | Avoid undefined-behavior right-shifting by a word-size # of bits. | bcook | 2016-09-03 | 1 | -3/+2 | |
| | | | | Found with STACK, originally from OpenSSL, ok @beck | |||||
* | Make tree build again | beck | 2016-09-03 | 6 | -12/+482 | |
| | ||||||
* | remove unused variable | beck | 2016-09-03 | 1 | -2/+1 | |
| | ||||||
* | Fix some very unnecessary convoultion. | beck | 2016-09-03 | 1 | -16/+6 | |
| | | | | ok krw@ | |||||
* | crank minor for API addiiton of x509_email, etc. functions | beck | 2016-09-03 | 2 | -2/+2 | |
| | ||||||
* | Bring in functions used by stunnel and exim from BoringSSL - this brings | beck | 2016-09-03 | 2 | -2/+452 | |
| | | | | | | in X509_check_host, X509_check_email, X509_check_ip, and X509_check_ip_asc, with some cleanup on the way in by myself and jsing@ ok bcook@ | |||||
* | Remove the libcrypto/crypto directory | beck | 2016-09-03 | 41 | -6330/+0 | |
| | ||||||
* | Remove the libssl/ssl directory | beck | 2016-09-03 | 2 | -54/+0 | |
| | ||||||
* | Remove the libssl/src directory | beck | 2016-09-03 | 1190 | -386114/+0 | |
| | ||||||
* | Less lock contention by using more pools for mult-threaded programs. | otto | 2016-09-01 | 2 | -94/+190 | |
| | | | | tested by many (thanks!) ok tedu, guenther@ | |||||
* | black magic for sparc page size can go | tedu | 2016-09-01 | 1 | -4/+2 | |
| | ||||||
* | Crank minor due to API addition | beck | 2016-08-31 | 1 | -1/+1 | |
| | ||||||
* | Don't call lstat() before readlink() just to see if it's a symlink, | guenther | 2016-08-28 | 1 | -14/+17 | |
| | | | | | | as readlink() will tell you that more cheaply. ok millert@ | |||||
* | Be more strict when parsing TLS extensions. | jsing | 2016-08-27 | 2 | -34/+74 | |
| | | | | | | Based on a diff from Kinichiro Inoguchi. ok beck@ | |||||
* | Pull in <time.h> for clock_gettime() | guenther | 2016-08-26 | 1 | -1/+2 | |
| | | | | ok deraadt@ | |||||
* | Various clean up and reorganisation of the connection info handling code. | jsing | 2016-08-22 | 3 | -69/+97 | |
| | | | | | | | | | In particular, rename tls_free_conninfo() to tls_conninfo_free() and make it a real free function. Rename tls_get_conninfo() to tls_conninfo_populate() and have it allocate the struct tls_conninfo (after freeing any existing one). ok beck@ | |||||
* | Stick with the usual 'if NULL return NULL' idiom. | jsing | 2016-08-22 | 1 | -10/+10 | |
| | | | | ok beck@ | |||||
* | Bump TLS_API due to the addition of server side SNI functions. | jsing | 2016-08-22 | 1 | -2/+2 | |
| | ||||||
* | Bump libtls minor due to the addition of symbols. | jsing | 2016-08-22 | 1 | -1/+1 | |
| | ||||||
* | Provide an API that enables server side SNI support - add the ability to | jsing | 2016-08-22 | 5 | -6/+107 | |
| | | | | | | | | provide additional keypairs (via tls_config_add_keypair_{file,mem}()) and allow the server to determine what servername the client requested (via tls_conn_servername()). ok beck@ | |||||
* | Create contexts for server side SNI - these include the additional SSL_CTX | jsing | 2016-08-22 | 3 | -3/+174 | |
| | | | | | | | | | that is required for certificate switching with libssl and the certificate itself so that we can match against the subject and SANs. Hook up the servername callback and switch to the appropriate SSL_CTX if we find a matching certificate. ok beck@ | |||||
* | Split out the TLS server SSL_CTX allocation and configuration code, so | jsing | 2016-08-18 | 1 | -19/+37 | |
| | | | | | | that it can be reused to allocate the additional SSL_CTXs needed for SNI. ok reyk@ | |||||
* | Rework parts of the libtls man page for clarity. Split out the connection | jsing | 2016-08-18 | 1 | -45/+35 | |
| | | | | | | | information related functions under their own heading and dedup the text relating to when these functions can be called. With input from and ok jmc@ | |||||
* | wrterror() is fatal, delete dead code; ok tom@ natano@ tedu@ | otto | 2016-08-17 | 1 | -61/+22 | |
| | ||||||
* | The tls_conninfo serial is also unused. | jsing | 2016-08-15 | 1 | -2/+1 | |
| |