summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/labs.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-09-30bump for LibreSSL 2.8.2bcook1-3/+3
2018-09-25-T applies to ip6 too, apparently;jmc1-4/+4
from nan xiao
2018-09-23bump for LibreSSL 2.8.1bcook1-3/+3
2018-09-22Add a comment on the acceptable RSASSA cases.tb1-2/+3
2018-09-22gather statistics in checkAead{Open,Seal}() as well.tb1-1/+7
2018-09-22remove some unneeded checkstb1-15/+5
2018-09-22gather and print some statistics on the acceptable cases we need totb1-8/+60
look into
2018-09-22more flags printingtb1-23/+23
2018-09-22improve logic involving acceptableAudittb1-5/+5
2018-09-22Swap order of "action" and "wt.Flags" in a few fmt.Printfs.tb1-17/+17
2018-09-22Introduce a couple of convenience targets to help with auditing thetb2-5/+41
acceptable cases.
2018-09-21Print the flags field in INFO: and FAIL: messages. It's helpful intb1-17/+17
identifying the important failures while auditing.
2018-09-18fix order of arguments in fmt.Printf()tb1-2/+2
2018-09-17Simplify initialization of asn1_cb; use correct spelling of NULL.tb1-4/+2
2018-09-17Move tally mark printing out of the main benchmark loop; ok tb@cheloha1-14/+21
2018-09-16add missing default case to switchtb1-1/+3
2018-09-16EVP_aead_chacha20_poly1305() can't actually fail.tb1-4/+1
2018-09-16Rename *AesCcmOrGcm* into the slightly less ugly *AesAead*.tb1-9/+9
2018-09-15another typo. time to sleeptb1-2/+2
2018-09-15typostb1-3/+3
2018-09-15add a brief comment on the acceptable AES CCM and AES GCM casestb1-2/+8
2018-09-15Also exercise EVP_aead_aes_128_gcm() and EVP_aead_aes_256_gcm().tb1-6/+26
2018-09-15rename checkChaCha20Poly1305{Open,Seal}() into checkAead{Open,Seal}().tb1-5/+5
2018-09-15Merge AES CCM, AES GCM and ChaCha20 data structures intotb1-42/+21
single AEAD types. Will be used in upcoming commits.
2018-09-15Add missing conversion specifiertb1-2/+2
2018-09-15Modify regress appstest.sh for interoperability testing with OpenSSL 1.1.xinoguchi1-16/+40
- add sleep before s_client instead of removing -pause option - change check words for s_client output messages - replace CAfile to CApath for s_time - remove -prexit from s_client - confirm openssl command path is executable
2018-09-14Add interoperability test mode for regress appstest.shinoguchi1-35/+79
- test s_server and s_client between different version by option -i - indicate other version by defining OTHER_OPENSSL environment variable - fix "SSL/TLS" to "TLS/SSL", since TLS is correct as technical term - s/SKIPPNG/SKIPPING/
2018-09-12sync with mozilla-release (one removal, TURKTRUST, more details atsthen1-48/+1
https://bugzilla.mozilla.org/show_bug.cgi?id=1439127) ok danj guenther millert
2018-09-12tweak previous;jmc2-4/+4
2018-09-12crank to follow minor crank in libcrypto; ok tb@ jsing@djm2-2/+2
2018-09-12Add some accessor functions:djm8-17/+138
RSA_meth_get_finish() RSA_meth_set1_name() EVP_CIPHER_CTX_(get|set)_iv() feedback and ok jsing@ tb@
2018-09-08Remove now unused code for EVP_CIPH_FLAG_AEAD_CIPHER and EVP_CIPH_GCM_MODE.jsing4-77/+28
ok inoguchi@ tb@
2018-09-08SSL_MAX_DIGEST is no longer needed.jsing2-17/+10
2018-09-08ASN1_OBJECTs should be freed with ASN1_OBJECT_free(3), not with free(3).tb1-2/+2
ok inoguchi, jsing
2018-09-08Fix indent and adjust line fit to 80 columns.inoguchi1-930/+961
2018-09-08indent labelstb2-8/+8
2018-09-08missing word & a couple of typostb1-3/+3
2018-09-08Split test blocks into a function. Test contents are not changed.inoguchi1-62/+86
2018-09-08Test more ciphers and randomize the order in regress appstest.shinoguchi1-5/+9
- change test target ciphers - randomize the test ciphers order - display test cipher count
2018-09-07tests all available TLSv1.2 ciphersinoguchi1-11/+14
2018-09-07Declare strings passed to local_listen() as const. This makes itbluhm1-3/+3
consistent to remote_connect() and getaddrinfo(3). from Nan Xiao
2018-09-06Drop SSL_CIPHER_ALGORITHM2_AEAD flag.jsing4-31/+25
All of our algorithm_mac == SSL_AEAD cipher suites use EVP_AEAD, so we can condition on that rather than having a separate redundant flag. ok tb@
2018-09-06Do not close the socket twice in netcat.bluhm1-5/+6
from Nan Xiao; OK tb@
2018-09-05Use the newer/more sensible names for EVP_MD_CTX_* functions.jsing5-16/+16
EVP_MD_CTX_create -> EVP_MD_CTX_new EVP_MD_CTX_destroy -> EVP_MD_CTX_free This should make the intent more obvious and reduce head scratching during code reviews. Raised by tb@
2018-09-05Correctly clear the current cipher state, when changing cipher state.jsing3-41/+37
When a renegotiation results in a change of cipher suite, the renegotation would fail if it switched from AEAD to non-AEAD or vice versa. This is due to the fact that the previous EVP_AEAD or EVP_CIPHER state remained, resulting in incorrect logic that caused MAC failures. Rename ssl_clear_cipher_ctx() to ssl_clear_cipher_state() and split it into separate read/write components, then call these functions from the appropriate places when a ChangeCipherSpec message is being processed. Also, remove the separate ssl_clear_hash_ctx() calls and fold these into the ssl_clear_cipher_{read,write}_state() functions. Issue reported by Bernard Spil, who also tested this diff. ok tb@
2018-09-05use timing-safe compares for checking results in signature verificationdjm4-9/+10
(there are no known attacks, this is just inexpensive prudence) feedback and ok tb@ jsing@
2018-09-03Stop using composite EVP_CIPHER AEADs.jsing1-25/+7
The composite AEADs are "stitched" mode ciphers, that are only supported on some architectures/CPUs and are designed to be faster than a separate EVP_CIPHER and EVP_MD implementation. The three AEADs are used for less than ideal cipher suites (if you have hardware support that these use there are better cipher suite options), plus continuing to support AEADs via EVP_CIPHER is creating additional code complexity. ok inoguchi@ tb@
2018-09-03Stop handling AES-GCM via ssl_cipher_get_evp().jsing1-20/+3
All of the AES-GCM ciphersuites use the EVP_AEAD interface, so there is no need to support them via EVP_CIPHER. ok inoguchi@ tb@
2018-09-03Clean up SSL_DES and SSL_IDEA remnants.jsing1-41/+13
All ciphersuites that used these encryption algorithms were removed some time ago. ok bcook@ inoguchi@ tb@
2018-09-02Remove a few unnecessary caststb1-5/+5