Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/openssl/dist Changes between 1.1.1d and ...
details: https://anonhg.NetBSD.org/src/rev/faabfb13c670
branches: trunk
changeset: 850004:faabfb13c670
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 22 00:49:02 2020 +0000
description:
Changes between 1.1.1d and 1.1.1e [17 Mar 2020]
*) Properly detect EOF while reading in libssl. Previously if we hit an EOF
while reading in libssl then we would report an error back to the
application (SSL_ERROR_SYSCALL) but errno would be 0. We now add
an error to the stack (which means we instead return SSL_ERROR_SSL) and
therefore give a hint as to what went wrong.
[Matt Caswell]
*) Check that ed25519 and ed448 are allowed by the security level. Previously
signature algorithms not using an MD were not being checked that they were
allowed by the security level.
[Kurt Roeckx]
*) Fixed SSL_get_servername() behaviour. The behaviour of SSL_get_servername()
was not quite right. The behaviour was not consistent between resumption
and normal handshakes, and also not quite consistent with historical
behaviour. The behaviour in various scenarios has been clarified and
it has been updated to make it match historical behaviour as closely as
possible.
[Matt Caswell]
*) [VMS only] The header files that the VMS compilers include automatically,
__DECC_INCLUDE_PROLOGUE.H and __DECC_INCLUDE_EPILOGUE.H, use pragmas that
the C++ compiler doesn't understand. This is a shortcoming in the
compiler, but can be worked around with __cplusplus guards.
C++ applications that use OpenSSL libraries must be compiled using the
qualifier '/NAMES=(AS_IS,SHORTENED)' to be able to use all the OpenSSL
functions. Otherwise, only functions with symbols of less than 31
characters can be used, as the linker will not be able to successfully
resolve symbols with longer names.
[Richard Levitte]
*) Corrected the documentation of the return values from the EVP_DigestSign*
set of functions. The documentation mentioned negative values for some
errors, but this was never the case, so the mention of negative values
was removed.
Code that followed the documentation and thereby check with something
like 'EVP_DigestSignInit(...) <= 0' will continue to work undisturbed.
[Richard Levitte]
*) Fixed an an overflow bug in the x64_64 Montgomery squaring procedure
used in exponentiation with 512-bit moduli. No EC algorithms are
affected. Analysis suggests that attacks against 2-prime RSA1024,
3-prime RSA1536, and DSA1024 as a result of this defect would be very
difficult to perform and are not believed likely. Attacks against DH512
are considered just feasible. However, for an attack the target would
have to re-use the DH512 private key, which is not recommended anyway.
Also applications directly using the low level API BN_mod_exp may be
affected if they use BN_FLG_CONSTTIME.
(CVE-2019-1551)
[Andy Polyakov]
*) Added a new method to gather entropy on VMS, based on SYS$GET_ENTROPY.
The presence of this system service is determined at run-time.
[Richard Levitte]
*) Added newline escaping functionality to a filename when using openssl dgst.
This output format is to replicate the output format found in the '*sum'
checksum programs. This aims to preserve backward compatibility.
[Matt Eaton, Richard Levitte, and Paul Dale]
*) Print all values for a PKCS#12 attribute with 'openssl pkcs12', not just
the first value.
[Jon Spillett]
diffstat:
crypto/external/bsd/openssl/dist/CONTRIBUTING | 2 +-
crypto/external/bsd/openssl/dist/Configurations/10-main.conf | 5 +-
crypto/external/bsd/openssl/dist/Configurations/15-android.conf | 2 +-
crypto/external/bsd/openssl/dist/Configurations/50-win-onecore.conf | 2 +-
crypto/external/bsd/openssl/dist/Configurations/descrip.mms.tmpl | 10 +-
crypto/external/bsd/openssl/dist/Configurations/unix-Makefile.tmpl | 4 +-
crypto/external/bsd/openssl/dist/INSTALL | 20 +-
crypto/external/bsd/openssl/dist/NOTES.ANDROID | 39 +-
crypto/external/bsd/openssl/dist/apps/apps.c | 30 +-
crypto/external/bsd/openssl/dist/apps/apps.h | 4 +-
crypto/external/bsd/openssl/dist/apps/dgst.c | 126 +-
crypto/external/bsd/openssl/dist/apps/enc.c | 3 +-
crypto/external/bsd/openssl/dist/apps/passwd.c | 2 +-
crypto/external/bsd/openssl/dist/apps/pkcs12.c | 64 +-
crypto/external/bsd/openssl/dist/apps/pkeyutl.c | 5 +-
crypto/external/bsd/openssl/dist/apps/s_cb.c | 3 +-
crypto/external/bsd/openssl/dist/apps/server.pem | 95 +-
crypto/external/bsd/openssl/dist/apps/timeouts.h | 6 +-
crypto/external/bsd/openssl/dist/apps/ts.c | 3 +-
crypto/external/bsd/openssl/dist/apps/vms_term_sock.h | 4 +-
crypto/external/bsd/openssl/dist/apps/x509.c | 12 +-
crypto/external/bsd/openssl/dist/appveyor.yml | 19 +-
crypto/external/bsd/openssl/dist/build.info | 14 +-
crypto/external/bsd/openssl/dist/config | 20 +-
crypto/external/bsd/openssl/dist/crypto/LPdir_unix.c | 5 +-
crypto/external/bsd/openssl/dist/crypto/aes/aes_core.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/aes/aes_ecb.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/aes/aes_ige.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/aes/aes_local.h | 42 +
crypto/external/bsd/openssl/dist/crypto/aes/aes_misc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/aes/aes_x86core.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/aes-armv4.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/aes-c64xplus.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/aes-mips.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/aes-parisc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/aes-ppc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/aes-s390x.pl | 8 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/aes-sparcv9.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/aesfx-sparcv9.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/aesni-mb-x86_64.pl | 6 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/aesni-sha256-x86_64.pl | 66 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/aesni-x86.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/aesp8-ppc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/aest4-sparcv9.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/aesv8-armx.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/bsaes-armv7.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/vpaes-armv8.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/vpaes-ppc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/vpaes-x86.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aes/asm/vpaes-x86_64.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/alphacpuid.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/aria/aria.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/arm64cpuid.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/armv4cpuid.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/asn1/a_bitstr.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/a_gentm.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/a_int.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/a_mbstr.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/a_object.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/asn1/a_print.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/a_sign.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/asn1/a_time.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/asn1/a_utctm.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/a_verify.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/asn1/ameth_lib.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/asn1/asn1_lib.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/asn1_local.h | 83 +
crypto/external/bsd/openssl/dist/crypto/asn1/asn1_par.c | 38 +-
crypto/external/bsd/openssl/dist/crypto/asn1/asn_moid.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/asn1/charmap.h | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/d2i_pr.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/asn1/d2i_pu.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/f_int.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/f_string.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/i2d_pr.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/asn1/p8_pkey.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/t_pkey.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/tasn_fre.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/tasn_new.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/tasn_prn.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/asn1/tasn_scn.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/tasn_utl.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/x_algor.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/x_bignum.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/asn1/x_int64.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/asn1/x_sig.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/async/arch/async_null.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/async/arch/async_posix.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/async/arch/async_posix.h | 6 +-
crypto/external/bsd/openssl/dist/crypto/async/arch/async_win.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/async/async.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/async/async_local.h | 77 +
crypto/external/bsd/openssl/dist/crypto/async/async_wait.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bf/asm/bf-586.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bf/bf_cfb64.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bf/bf_ecb.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bf/bf_enc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bf/bf_local.h | 84 +
crypto/external/bsd/openssl/dist/crypto/bf/bf_ofb64.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bf/bf_skey.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bio/b_addr.c | 8 +-
crypto/external/bsd/openssl/dist/crypto/bio/b_dump.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/bio/b_print.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bio/b_sock2.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bio/bf_buff.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bio/bf_lbuf.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bio/bf_nbio.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bio/bf_null.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bio/bio_cb.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bio/bio_local.h | 190 +
crypto/external/bsd/openssl/dist/crypto/bio/bio_meth.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bio/bss_acpt.c | 11 +-
crypto/external/bsd/openssl/dist/crypto/bio/bss_bio.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bio/bss_conn.c | 18 +-
crypto/external/bsd/openssl/dist/crypto/bio/bss_dgram.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bio/bss_fd.c | 9 +-
crypto/external/bsd/openssl/dist/crypto/bio/bss_mem.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bio/bss_null.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bio/bss_sock.c | 9 +-
crypto/external/bsd/openssl/dist/crypto/blake2/blake2_local.h | 90 +
crypto/external/bsd/openssl/dist/crypto/blake2/blake2b.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/blake2/blake2s.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/blake2/m_blake2b.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/blake2/m_blake2s.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/README.pod | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/alpha-mont.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/armv4-gf2m.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/armv4-mont.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/armv8-mont.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/bn-586.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/c64xplus-gf2m.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/co-586.pl | 12 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/ia64-mont.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/mips-mont.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/parisc-mont.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/ppc-mont.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/ppc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/ppc64-mont.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/rsaz-avx2.pl | 6 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/rsaz-x86_64.pl | 403 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/s390x-gf2m.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/s390x-mont.pl | 12 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/s390x.S | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/sparct4-mont.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/sparcv9-gf2m.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/sparcv9-mont.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/sparcv9a-mont.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/via-mont.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/vis3-mont.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/x86-gf2m.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/x86-mont.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/x86_64-mont.pl | 6 +-
crypto/external/bsd/openssl/dist/crypto/bn/asm/x86_64-mont5.pl | 24 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_add.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_asm.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_blind.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_ctx.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_depr.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_dh.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_div.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_exp2.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_gcd.c | 220 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_gf2m.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_intern.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_kron.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_local.h | 671 +
crypto/external/bsd/openssl/dist/crypto/bn/bn_mod.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_mpi.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_mul.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_prime.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_prime.h | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_print.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_recp.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_shift.c | 73 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_sqr.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_sqrt.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_srp.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_word.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/bn_x931p.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/bn/build.info | 1 -
crypto/external/bsd/openssl/dist/crypto/bn/rsaz_exp.h | 4 +-
crypto/external/bsd/openssl/dist/crypto/c64xpluscpuid.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/camellia/asm/cmll-x86.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/camellia/asm/cmll-x86_64.pl | 12 +-
crypto/external/bsd/openssl/dist/crypto/camellia/asm/cmllt4-sparcv9.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/camellia/camellia.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/camellia/cmll_ecb.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/camellia/cmll_local.h | 43 +
crypto/external/bsd/openssl/dist/crypto/camellia/cmll_misc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cast/asm/cast-586.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/cast/c_cfb64.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cast/c_ecb.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cast/c_enc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cast/c_ofb64.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cast/c_skey.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cast/cast_local.h | 188 +
crypto/external/bsd/openssl/dist/crypto/chacha/asm/chacha-armv4.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/chacha/asm/chacha-armv8.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/chacha/asm/chacha-c64xplus.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/chacha/asm/chacha-ppc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/chacha/asm/chacha-s390x.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/chacha/asm/chacha-x86.pl | 6 +-
crypto/external/bsd/openssl/dist/crypto/chacha/asm/chacha-x86_64.pl | 6 +-
crypto/external/bsd/openssl/dist/crypto/chacha/chacha_enc.c | 19 +-
crypto/external/bsd/openssl/dist/crypto/cmac/cm_ameth.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cmac/cm_pmeth.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cms/cms_asn1.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cms/cms_att.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cms/cms_cd.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cms/cms_dd.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cms/cms_enc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cms/cms_env.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/cms/cms_ess.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cms/cms_io.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cms/cms_kari.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/cms/cms_lib.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/cms/cms_local.h | 438 +
crypto/external/bsd/openssl/dist/crypto/cms/cms_sd.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/cms/cms_smime.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/comp/comp_lib.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/comp/comp_local.h | 30 +
crypto/external/bsd/openssl/dist/crypto/conf/conf_def.h | 2 +-
crypto/external/bsd/openssl/dist/crypto/conf/conf_lib.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/conf/conf_local.h | 11 +
crypto/external/bsd/openssl/dist/crypto/conf/conf_mall.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/conf/conf_ssl.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ct/ct_b64.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ct/ct_local.h | 216 +
crypto/external/bsd/openssl/dist/crypto/ct/ct_oct.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ct/ct_policy.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ct/ct_prn.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ct/ct_sct.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ct/ct_sct_ctx.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ct/ct_vfy.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ct/ct_x509v3.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ctype.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/asm/crypt586.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/des/asm/des-586.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/des/asm/des_enc.m4 | 8 +-
crypto/external/bsd/openssl/dist/crypto/des/asm/dest4-sparcv9.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/des/cbc_cksm.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/cfb64ede.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/cfb64enc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/cfb_enc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/des_enc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/des_local.h | 226 +
crypto/external/bsd/openssl/dist/crypto/des/ecb3_enc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/ecb_enc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/fcrypt.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/fcrypt_b.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/ncbc_enc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/ofb64ede.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/ofb64enc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/ofb_enc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/pcbc_enc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/qud_cksm.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/set_key.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/str2key.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/des/xcbc_enc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dh/dh_ameth.c | 7 +-
crypto/external/bsd/openssl/dist/crypto/dh/dh_asn1.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dh/dh_check.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dh/dh_gen.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/dh/dh_key.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/dh/dh_local.h | 57 +
crypto/external/bsd/openssl/dist/crypto/dh/dh_meth.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dh/dh_pmeth.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/dh/dh_rfc5114.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/dh/dh_rfc7919.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/dllmain.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dsa/dsa_asn1.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dsa/dsa_gen.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dsa/dsa_key.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dsa/dsa_local.h | 77 +
crypto/external/bsd/openssl/dist/crypto/dsa/dsa_meth.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dsa/dsa_ossl.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/dsa/dsa_pmeth.c | 12 +-
crypto/external/bsd/openssl/dist/crypto/dsa/dsa_sign.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dsa/dsa_vrf.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dso/dso_dl.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dso/dso_lib.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dso/dso_local.h | 107 +
crypto/external/bsd/openssl/dist/crypto/dso/dso_openssl.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dso/dso_vms.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/dso/dso_win32.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ec/asm/ecp_nistz256-armv4.pl | 85 +-
crypto/external/bsd/openssl/dist/crypto/ec/asm/ecp_nistz256-armv8.pl | 69 +-
crypto/external/bsd/openssl/dist/crypto/ec/asm/ecp_nistz256-avx2.pl | 6 +-
crypto/external/bsd/openssl/dist/crypto/ec/asm/ecp_nistz256-ppc64.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/ec/asm/ecp_nistz256-sparcv9.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/ec/asm/ecp_nistz256-x86.pl | 80 +-
crypto/external/bsd/openssl/dist/crypto/ec/asm/ecp_nistz256-x86_64.pl | 42 +-
crypto/external/bsd/openssl/dist/crypto/ec/asm/x25519-ppc64.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/ec/asm/x25519-x86_64.pl | 20 +-
crypto/external/bsd/openssl/dist/crypto/ec/curve25519.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ec/curve448/arch_32/arch_intrinsics.h | 8 +-
crypto/external/bsd/openssl/dist/crypto/ec/curve448/arch_32/f_impl.h | 6 +-
crypto/external/bsd/openssl/dist/crypto/ec/curve448/curve448.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ec/curve448/curve448_local.h | 38 +
crypto/external/bsd/openssl/dist/crypto/ec/curve448/curve448utils.h | 4 +-
crypto/external/bsd/openssl/dist/crypto/ec/curve448/ed448.h | 6 +-
crypto/external/bsd/openssl/dist/crypto/ec/curve448/eddsa.c | 11 +-
crypto/external/bsd/openssl/dist/crypto/ec/curve448/field.h | 8 +-
crypto/external/bsd/openssl/dist/crypto/ec/curve448/point_448.h | 6 +-
crypto/external/bsd/openssl/dist/crypto/ec/curve448/word.h | 6 +-
crypto/external/bsd/openssl/dist/crypto/ec/ec2_oct.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ec/ec_check.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ec/ec_curve.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ec/ec_cvt.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ec/ec_kmeth.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ec/ec_local.h | 739 +
crypto/external/bsd/openssl/dist/crypto/ec/ec_mult.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/ec/ec_oct.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ec/ec_pmeth.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/ec/ec_print.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/ec/ecdh_kdf.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ec/ecdh_ossl.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ec/ecdsa_ossl.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/ec/ecdsa_sign.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ec/ecdsa_vrf.c | 8 +-
crypto/external/bsd/openssl/dist/crypto/ec/ecp_nistp224.c | 39 +-
crypto/external/bsd/openssl/dist/crypto/ec/ecp_nistp256.c | 30 +-
crypto/external/bsd/openssl/dist/crypto/ec/ecp_nistp521.c | 24 +-
crypto/external/bsd/openssl/dist/crypto/ec/ecp_nistputil.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ec/ecp_nistz256.c | 55 +-
crypto/external/bsd/openssl/dist/crypto/ec/ecp_oct.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ec/ecx_meth.c | 10 +-
crypto/external/bsd/openssl/dist/crypto/engine/README | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/eng_cnf.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/eng_ctrl.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/eng_dyn.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/eng_fat.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/eng_init.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/eng_list.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/eng_local.h | 171 +
crypto/external/bsd/openssl/dist/crypto/engine/eng_openssl.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/engine/eng_pkey.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/eng_rdrand.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/eng_table.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/engine/tb_asnmth.c | 7 +-
crypto/external/bsd/openssl/dist/crypto/engine/tb_cipher.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/tb_dh.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/tb_digest.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/tb_dsa.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/tb_eckey.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/tb_pkmeth.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/tb_rand.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/engine/tb_rsa.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/err/err.c | 8 +-
crypto/external/bsd/openssl/dist/crypto/err/err_all.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/err/openssl.txt | 7 +-
crypto/external/bsd/openssl/dist/crypto/evp/bio_md.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/evp/bio_ok.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/c_allc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/c_alld.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/cmeth_lib.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/evp/digest.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_aes_cbc_hmac_sha1.c | 8 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_aes_cbc_hmac_sha256.c | 10 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_aria.c | 15 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_bf.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_camellia.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_cast.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_chacha20_poly1305.c | 8 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_des.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_des3.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_idea.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_null.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_rc2.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_rc4.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_rc4_hmac_md5.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_rc5.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_seed.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_sm4.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/evp/e_xcbc_d.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/encode.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/evp/evp_err.c | 3 +-
crypto/external/bsd/openssl/dist/crypto/evp/evp_lib.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/evp/evp_local.h | 68 +
crypto/external/bsd/openssl/dist/crypto/evp/evp_pbe.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/evp_pkey.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/evp/m_md2.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/m_md4.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/m_md5.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/m_md5_sha1.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/m_mdc2.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/m_null.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/m_ripemd.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/m_sha3.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/evp/m_sigver.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/evp/m_wp.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/names.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/evp/p5_crpt.c | 26 +-
crypto/external/bsd/openssl/dist/crypto/evp/p5_crpt2.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/p_lib.c | 12 +-
crypto/external/bsd/openssl/dist/crypto/evp/p_sign.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/p_verify.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/pmeth_fn.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/evp/pmeth_gn.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/evp/pmeth_lib.c | 36 +-
crypto/external/bsd/openssl/dist/crypto/hmac/hm_ameth.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/hmac/hm_pmeth.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/hmac/hmac_local.h | 23 +
crypto/external/bsd/openssl/dist/crypto/idea/idea_local.h | 102 +
crypto/external/bsd/openssl/dist/crypto/init.c | 18 +-
crypto/external/bsd/openssl/dist/crypto/kdf/hkdf.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/kdf/scrypt.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/kdf/tls1_prf.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/lhash/lh_stats.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/lhash/lhash_local.h | 44 +
crypto/external/bsd/openssl/dist/crypto/md4/md4_local.h | 60 +
crypto/external/bsd/openssl/dist/crypto/md5/asm/md5-586.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/md5/asm/md5-sparcv9.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/md5/md5_local.h | 80 +
crypto/external/bsd/openssl/dist/crypto/mips_arch.h | 4 +-
crypto/external/bsd/openssl/dist/crypto/modes/asm/aesni-gcm-x86_64.pl | 14 +-
crypto/external/bsd/openssl/dist/crypto/modes/asm/ghash-alpha.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/modes/asm/ghash-armv4.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/modes/asm/ghash-c64xplus.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/modes/asm/ghash-ia64.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/modes/asm/ghash-parisc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/modes/asm/ghash-s390x.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/modes/asm/ghash-sparcv9.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/modes/asm/ghash-x86.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/modes/asm/ghash-x86_64.pl | 6 +-
crypto/external/bsd/openssl/dist/crypto/modes/asm/ghashp8-ppc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/modes/asm/ghashv8-armx.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/modes/cbc128.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/modes/ccm128.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/modes/cfb128.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/modes/ctr128.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/modes/cts128.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/modes/modes_local.h | 190 +
crypto/external/bsd/openssl/dist/crypto/modes/ocb128.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/modes/ofb128.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/modes/xts128.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/objects/obj_dat.c | 8 +-
crypto/external/bsd/openssl/dist/crypto/objects/obj_dat.h | 10 +-
crypto/external/bsd/openssl/dist/crypto/objects/obj_lib.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/objects/obj_local.h | 14 +
crypto/external/bsd/openssl/dist/crypto/objects/obj_xref.h | 2 +-
crypto/external/bsd/openssl/dist/crypto/objects/objects.txt | 4 +-
crypto/external/bsd/openssl/dist/crypto/ocsp/ocsp_asn.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ocsp/ocsp_cl.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ocsp/ocsp_ext.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ocsp/ocsp_ht.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ocsp/ocsp_lib.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ocsp/ocsp_local.h | 236 +
crypto/external/bsd/openssl/dist/crypto/ocsp/ocsp_prn.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ocsp/ocsp_srv.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ocsp/v3_ocsp.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/pariscid.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/pem/pem_all.c | 11 +-
crypto/external/bsd/openssl/dist/crypto/pem/pem_lib.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/pem/pem_pkey.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/pem/pvkfmt.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/perlasm/README | 2 +-
crypto/external/bsd/openssl/dist/crypto/perlasm/arm-xlate.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/perlasm/ppc-xlate.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/perlasm/x86_64-xlate.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/pkcs12/p12_add.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/pkcs12/p12_asn.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/pkcs12/p12_attr.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/pkcs12/p12_crt.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/pkcs12/p12_init.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/pkcs12/p12_local.h | 43 +
crypto/external/bsd/openssl/dist/crypto/pkcs12/p12_mutl.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/pkcs12/p12_npas.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/pkcs12/p12_p8e.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/pkcs12/p12_sbag.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/poly1305/asm/poly1305-armv4.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/poly1305/asm/poly1305-armv8.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/poly1305/asm/poly1305-mips.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/poly1305/asm/poly1305-ppc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/poly1305/asm/poly1305-ppcfp.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/poly1305/asm/poly1305-s390x.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/poly1305/asm/poly1305-sparcv9.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/poly1305/asm/poly1305-x86.pl | 6 +-
crypto/external/bsd/openssl/dist/crypto/poly1305/asm/poly1305-x86_64.pl | 30 +-
crypto/external/bsd/openssl/dist/crypto/poly1305/poly1305.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/poly1305/poly1305_ameth.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/poly1305/poly1305_pmeth.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/ppc_arch.h | 4 +-
crypto/external/bsd/openssl/dist/crypto/rand/drbg_ctr.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/rand/drbg_lib.c | 10 +-
crypto/external/bsd/openssl/dist/crypto/rand/rand_err.c | 5 +-
crypto/external/bsd/openssl/dist/crypto/rand/rand_lib.c | 32 +-
crypto/external/bsd/openssl/dist/crypto/rand/rand_local.h | 299 +
crypto/external/bsd/openssl/dist/crypto/rand/rand_vms.c | 110 +-
crypto/external/bsd/openssl/dist/crypto/rand/rand_win.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/rc2/rc2_local.h | 134 +
crypto/external/bsd/openssl/dist/crypto/rc2/rc2_skey.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/rc4/asm/rc4-586.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/rc4/asm/rc4-c64xplus.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/rc4/asm/rc4-md5-x86_64.pl | 6 +-
crypto/external/bsd/openssl/dist/crypto/rc4/asm/rc4-parisc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/rc4/asm/rc4-s390x.pl | 12 +-
crypto/external/bsd/openssl/dist/crypto/rc4/rc4_enc.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/rc4/rc4_local.h | 16 +
crypto/external/bsd/openssl/dist/crypto/rc4/rc4_skey.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/rc5/asm/rc5-586.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/rc5/rc5_local.h | 186 +
crypto/external/bsd/openssl/dist/crypto/rc5/rc5_skey.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ripemd/asm/rmd-586.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/ripemd/rmd_local.h | 87 +
crypto/external/bsd/openssl/dist/crypto/rsa/rsa_ameth.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/rsa/rsa_asn1.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/rsa/rsa_chk.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/rsa/rsa_crpt.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/rsa/rsa_local.h | 132 +
crypto/external/bsd/openssl/dist/crypto/rsa/rsa_meth.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/rsa/rsa_mp.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/rsa/rsa_ossl.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/rsa/rsa_pmeth.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/rsa/rsa_pss.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/rsa/rsa_ssl.c | 22 +-
crypto/external/bsd/openssl/dist/crypto/rsa/rsa_x931g.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/s390x_arch.h | 4 +-
crypto/external/bsd/openssl/dist/crypto/s390xcpuid.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/seed/seed.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/seed/seed_local.h | 112 +
crypto/external/bsd/openssl/dist/crypto/sha/asm/keccak1600-armv4.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/keccak1600-armv8.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/keccak1600-avx2.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/keccak1600-avx512.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/keccak1600-avx512vl.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/keccak1600-c64x.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/keccak1600-mmx.pl | 6 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/keccak1600-ppc64.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/keccak1600-s390x.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/keccak1600-x86_64.pl | 8 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/keccak1600p8-ppc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-586.pl | 6 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-alpha.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-armv4-large.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-armv8.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-c64xplus.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-mb-x86_64.pl | 6 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-mips.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-parisc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-ppc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-s390x.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-sparcv9.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-sparcv9a.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-thumb.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha256-586.pl | 6 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha256-armv4.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha256-c64xplus.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha256-mb-x86_64.pl | 6 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha512-586.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha512-armv4.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha512-armv8.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha512-c64xplus.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha512-mips.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha512-parisc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha512-ppc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha512-s390x.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha512-sparcv9.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha512-x86_64.pl | 86 +-
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha512p8-ppc.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/sha/sha1dgst.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/sha/sha512.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/sha/sha_local.h | 424 +
crypto/external/bsd/openssl/dist/crypto/siphash/siphash.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/siphash/siphash_ameth.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/siphash/siphash_pmeth.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/sm2/sm2_crypt.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/sm2/sm2_err.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/sm2/sm2_pmeth.c | 10 +-
crypto/external/bsd/openssl/dist/crypto/sm2/sm2_sign.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/sm3/m_sm3.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/sm3/sm3.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/sm3/sm3_local.h | 79 +
crypto/external/bsd/openssl/dist/crypto/sm4/sm4.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/sparc_arch.h | 6 +-
crypto/external/bsd/openssl/dist/crypto/sparcv9cap.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/srp/srp_lib.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/srp/srp_vfy.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/store/loader_file.c | 8 +-
crypto/external/bsd/openssl/dist/crypto/store/store_init.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/store/store_lib.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/store/store_local.h | 132 +
crypto/external/bsd/openssl/dist/crypto/store/store_register.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/threads_none.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/threads_win.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/ts/ts_asn1.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ts/ts_lib.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ts/ts_local.h | 211 +
crypto/external/bsd/openssl/dist/crypto/ts/ts_req_print.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ts/ts_req_utils.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ts/ts_rsp_print.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ts/ts_rsp_sign.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ts/ts_rsp_utils.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ts/ts_rsp_verify.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ts/ts_verify_ctx.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ui/ui_local.h | 109 +
crypto/external/bsd/openssl/dist/crypto/ui/ui_null.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/ui/ui_util.c | 5 +-
crypto/external/bsd/openssl/dist/crypto/whrlpool/asm/wp-mmx.pl | 10 +-
crypto/external/bsd/openssl/dist/crypto/whrlpool/asm/wp-x86_64.pl | 4 +-
crypto/external/bsd/openssl/dist/crypto/whrlpool/wp_block.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/whrlpool/wp_dgst.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/whrlpool/wp_local.h | 12 +
crypto/external/bsd/openssl/dist/crypto/x509/by_dir.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/x509/by_file.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/t_x509.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509_att.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509_cmp.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509_ext.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509_local.h | 147 +
crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509_meth.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509_obj.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509_r2x.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509_req.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509_set.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509_trs.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509_v3.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509_vpm.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509cset.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509name.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x509rset.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x_all.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x_attrib.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x_crl.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/x509/x_exten.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x_name.c | 8 +-
crypto/external/bsd/openssl/dist/crypto/x509/x_pubkey.c | 6 +-
crypto/external/bsd/openssl/dist/crypto/x509/x_req.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x_x509.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509/x_x509a.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/pcy_cache.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/pcy_data.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/pcy_lib.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/pcy_local.h | 167 +
crypto/external/bsd/openssl/dist/crypto/x509v3/pcy_map.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/pcy_node.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/pcy_tree.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/v3_admis.h | 4 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/v3_alt.c | 17 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/v3_asid.c | 28 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/v3_conf.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/v3_cpols.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/v3_crld.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/v3_ncons.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/v3_purp.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/v3_skey.c | 2 +-
crypto/external/bsd/openssl/dist/crypto/x509v3/v3_utl.c | 4 +-
crypto/external/bsd/openssl/dist/crypto/x86cpuid.pl | 4 +-
crypto/external/bsd/openssl/dist/doc/man1/ca.pod | 6 +
crypto/external/bsd/openssl/dist/doc/man1/dgst.pod | 9 +-
crypto/external/bsd/openssl/dist/doc/man1/enc.pod | 9 +-
crypto/external/bsd/openssl/dist/doc/man1/rand.pod | 35 +-
crypto/external/bsd/openssl/dist/doc/man1/req.pod | 8 +-
crypto/external/bsd/openssl/dist/doc/man1/s_client.pod | 4 +-
crypto/external/bsd/openssl/dist/doc/man1/sess_id.pod | 4 +-
crypto/external/bsd/openssl/dist/doc/man1/x509.pod | 19 +-
crypto/external/bsd/openssl/dist/doc/man3/ASN1_INTEGER_get_int64.pod | 4 +-
crypto/external/bsd/openssl/dist/doc/man3/ASN1_TYPE_get.pod | 4 +-
crypto/external/bsd/openssl/dist/doc/man3/BIO_f_buffer.pod | 20 +-
crypto/external/bsd/openssl/dist/doc/man3/BIO_get_ex_new_index.pod | 6 +-
crypto/external/bsd/openssl/dist/doc/man3/DTLSv1_listen.pod | 12 +-
crypto/external/bsd/openssl/dist/doc/man3/EC_GROUP_copy.pod | 90 +-
crypto/external/bsd/openssl/dist/doc/man3/EC_GROUP_new.pod | 94 +-
crypto/external/bsd/openssl/dist/doc/man3/EC_POINT_new.pod | 20 +
crypto/external/bsd/openssl/dist/doc/man3/EVP_DigestInit.pod | 96 +-
crypto/external/bsd/openssl/dist/doc/man3/EVP_DigestSignInit.pod | 10 +-
crypto/external/bsd/openssl/dist/doc/man3/EVP_DigestVerifyInit.pod | 2 +-
crypto/external/bsd/openssl/dist/doc/man3/EVP_EncryptInit.pod | 9 +
crypto/external/bsd/openssl/dist/doc/man3/EVP_MD_meth_new.pod | 21 +-
crypto/external/bsd/openssl/dist/doc/man3/EVP_PKEY_CTX_ctrl.pod | 16 +-
crypto/external/bsd/openssl/dist/doc/man3/EVP_PKEY_meth_new.pod | 32 +-
crypto/external/bsd/openssl/dist/doc/man3/EVP_PKEY_new.pod | 31 +-
crypto/external/bsd/openssl/dist/doc/man3/EVP_PKEY_size.pod | 80 +
crypto/external/bsd/openssl/dist/doc/man3/EVP_SignInit.pod | 44 +-
crypto/external/bsd/openssl/dist/doc/man3/OCSP_request_add1_nonce.pod | 4 +-
crypto/external/bsd/openssl/dist/doc/man3/OCSP_response_status.pod | 4 +-
crypto/external/bsd/openssl/dist/doc/man3/OCSP_sendreq_new.pod | 9 +-
crypto/external/bsd/openssl/dist/doc/man3/OPENSSL_malloc.pod | 4 +-
crypto/external/bsd/openssl/dist/doc/man3/OPENSSL_secure_malloc.pod | 4 +
crypto/external/bsd/openssl/dist/doc/man3/PEM_bytes_read_bio.pod | 4 +-
crypto/external/bsd/openssl/dist/doc/man3/PEM_read_bio_PrivateKey.pod | 12 +-
crypto/external/bsd/openssl/dist/doc/man3/PEM_read_bio_ex.pod | 2 +-
crypto/external/bsd/openssl/dist/doc/man3/RAND_bytes.pod | 26 +-
crypto/external/bsd/openssl/dist/doc/man3/RAND_set_rand_method.pod | 2 +-
crypto/external/bsd/openssl/dist/doc/man3/RSA_get0_key.pod | 7 +-
crypto/external/bsd/openssl/dist/doc/man3/SSL_CTX_sess_set_get_cb.pod | 57 +-
crypto/external/bsd/openssl/dist/doc/man3/SSL_CTX_set_stateless_cookie_generate_cb.pod | 67 +-
crypto/external/bsd/openssl/dist/doc/man3/SSL_CTX_set_tlsext_servername_callback.pod | 122 +-
crypto/external/bsd/openssl/dist/doc/man3/SSL_CTX_use_psk_identity_hint.pod | 6 +-
crypto/external/bsd/openssl/dist/doc/man3/SSL_SESSION_get0_hostname.pod | 7 +-
crypto/external/bsd/openssl/dist/doc/man3/SSL_accept.pod | 4 +-
crypto/external/bsd/openssl/dist/doc/man3/SSL_connect.pod | 4 +-
crypto/external/bsd/openssl/dist/doc/man3/SSL_do_handshake.pod | 4 +-
crypto/external/bsd/openssl/dist/doc/man3/SSL_load_client_CA_file.pod | 19 +-
crypto/external/bsd/openssl/dist/doc/man3/X509_LOOKUP.pod | 212 +
crypto/external/bsd/openssl/dist/doc/man3/X509_LOOKUP_meth_new.pod | 23 +-
crypto/external/bsd/openssl/dist/doc/man3/X509_STORE_CTX_new.pod | 2 +-
crypto/external/bsd/openssl/dist/doc/man3/X509_STORE_add_cert.pod | 17 +-
crypto/external/bsd/openssl/dist/doc/man3/d2i_X509.pod | 5 +-
crypto/external/bsd/openssl/dist/doc/man5/config.pod | 18 +-
crypto/external/bsd/openssl/dist/doc/man7/Ed25519.pod | 4 +-
crypto/external/bsd/openssl/dist/doc/man7/X25519.pod | 4 +-
crypto/external/bsd/openssl/dist/doc/man7/passphrase-encoding.pod | 4 +-
crypto/external/bsd/openssl/dist/doc/man7/proxy-certificates.pod | 363 +
crypto/external/bsd/openssl/dist/engines/e_afalg.c | 4 +-
crypto/external/bsd/openssl/dist/engines/e_afalg.h | 4 +-
crypto/external/bsd/openssl/dist/engines/e_afalg_err.h | 4 +-
crypto/external/bsd/openssl/dist/engines/e_capi_err.h | 4 +-
crypto/external/bsd/openssl/dist/engines/e_dasync_err.h | 4 +-
crypto/external/bsd/openssl/dist/engines/e_ossltest_err.h | 4 +-
crypto/external/bsd/openssl/dist/include/crypto/__DECC_INCLUDE_EPILOGUE.H | 16 +
crypto/external/bsd/openssl/dist/include/crypto/__DECC_INCLUDE_PROLOGUE.H | 20 +
crypto/external/bsd/openssl/dist/include/crypto/aria.h | 50 +
crypto/external/bsd/openssl/dist/include/crypto/asn1.h | 113 +
crypto/external/bsd/openssl/dist/include/crypto/async.h | 15 +
crypto/external/bsd/openssl/dist/include/crypto/bn.h | 90 +
crypto/external/bsd/openssl/dist/include/crypto/bn_conf.h.in | 27 +
crypto/external/bsd/openssl/dist/include/crypto/bn_dh.h | 24 +
crypto/external/bsd/openssl/dist/include/crypto/bn_srp.h | 32 +
crypto/external/bsd/openssl/dist/include/crypto/chacha.h | 42 +
crypto/external/bsd/openssl/dist/include/crypto/cryptlib.h | 35 +
crypto/external/bsd/openssl/dist/include/crypto/ctype.h | 82 +
crypto/external/bsd/openssl/dist/include/crypto/dso_conf.h.in | 31 +
crypto/external/bsd/openssl/dist/include/crypto/ec.h | 53 +
crypto/external/bsd/openssl/dist/include/crypto/engine.h | 20 +
crypto/external/bsd/openssl/dist/include/crypto/err.h | 19 +
crypto/external/bsd/openssl/dist/include/crypto/evp.h | 442 +
crypto/external/bsd/openssl/dist/include/crypto/lhash.h | 15 +
crypto/external/bsd/openssl/dist/include/crypto/md32_common.h | 256 +
crypto/external/bsd/openssl/dist/include/crypto/objects.h | 12 +
crypto/external/bsd/openssl/dist/include/crypto/poly1305.h | 21 +
crypto/external/bsd/openssl/dist/include/crypto/rand.h | 134 +
crypto/external/bsd/openssl/dist/include/crypto/sha.h | 19 +
crypto/external/bsd/openssl/dist/include/crypto/siphash.h | 25 +
crypto/external/bsd/openssl/dist/include/crypto/sm2.h | 78 +
crypto/external/bsd/openssl/dist/include/crypto/sm2err.h | 65 +
crypto/external/bsd/openssl/dist/include/crypto/sm3.h | 39 +
crypto/external/bsd/openssl/dist/include/crypto/sm4.h | 37 +
crypto/external/bsd/openssl/dist/include/crypto/store.h | 28 +
crypto/external/bsd/openssl/dist/include/crypto/x509.h | 286 +
crypto/external/bsd/openssl/dist/include/internal/conf.h | 4 +-
crypto/external/bsd/openssl/dist/include/internal/constant_time.h | 387 +
crypto/external/bsd/openssl/dist/include/internal/cryptlib.h | 4 +-
crypto/external/bsd/openssl/dist/include/internal/dane.h | 6 +-
crypto/external/bsd/openssl/dist/include/internal/dso.h | 4 +-
crypto/external/bsd/openssl/dist/include/internal/dsoerr.h | 4 +-
crypto/external/bsd/openssl/dist/include/internal/err.h | 4 +-
crypto/external/bsd/openssl/dist/include/internal/nelem.h | 4 +-
crypto/external/bsd/openssl/dist/include/internal/numbers.h | 4 +-
crypto/external/bsd/openssl/dist/include/internal/o_dir.h | 4 +-
crypto/external/bsd/openssl/dist/include/internal/o_str.h | 4 +-
crypto/external/bsd/openssl/dist/include/internal/sockets.h | 4 +-
crypto/external/bsd/openssl/dist/include/internal/sslconf.h | 4 +-
crypto/external/bsd/openssl/dist/include/openssl/__DECC_INCLUDE_EPILOGUE.H | 12 +-
crypto/external/bsd/openssl/dist/include/openssl/__DECC_INCLUDE_PROLOGUE.H | 14 +-
crypto/external/bsd/openssl/dist/include/openssl/bio.h | 3 +-
crypto/external/bsd/openssl/dist/include/openssl/ct.h | 2 -
crypto/external/bsd/openssl/dist/include/openssl/dsa.h | 6 +
crypto/external/bsd/openssl/dist/include/openssl/dtls1.h | 2 +-
crypto/external/bsd/openssl/dist/include/openssl/evp.h | 30 +-
crypto/external/bsd/openssl/dist/include/openssl/evperr.h | 3 +-
crypto/external/bsd/openssl/dist/include/openssl/lhash.h | 7 +-
crypto/external/bsd/openssl/dist/include/openssl/obj_mac.h | 6 +-
crypto/external/bsd/openssl/dist/include/openssl/ocsp.h | 2 +-
crypto/external/bsd/openssl/dist/include/openssl/opensslv.h | 4 +-
crypto/external/bsd/openssl/dist/include/openssl/ossl_typ.h | 1 +
crypto/external/bsd/openssl/dist/include/openssl/randerr.h | 4 +-
crypto/external/bsd/openssl/dist/include/openssl/rsa.h | 5 +-
crypto/external/bsd/openssl/dist/include/openssl/sslerr.h | 4 +-
crypto/external/bsd/openssl/dist/ssl/bio_ssl.c | 2 +-
crypto/external/bsd/openssl/dist/ssl/d1_msg.c | 2 +-
crypto/external/bsd/openssl/dist/ssl/methods.c | 2 +-
crypto/external/bsd/openssl/dist/ssl/packet.c | 2 +-
crypto/external/bsd/openssl/dist/ssl/packet_local.h | 874 +
crypto/external/bsd/openssl/dist/ssl/pqueue.c | 2 +-
crypto/external/bsd/openssl/dist/ssl/record/README | 4 +-
crypto/external/bsd/openssl/dist/ssl/record/dtls1_bitmap.c | 4 +-
crypto/external/bsd/openssl/dist/ssl/record/rec_layer_d1.c | 6 +-
crypto/external/bsd/openssl/dist/ssl/record/rec_layer_s3.c | 16 +-
crypto/external/bsd/openssl/dist/ssl/record/record_local.h | 116 +
crypto/external/bsd/openssl/dist/ssl/record/ssl3_buffer.c | 4 +-
crypto/external/bsd/openssl/dist/ssl/record/ssl3_record.c | 28 +-
crypto/external/bsd/openssl/dist/ssl/record/ssl3_record_tls13.c | 6 +-
crypto/external/bsd/openssl/dist/ssl/s3_msg.c | 2 +-
crypto/external/bsd/openssl/dist/ssl/ssl_asn1.c | 2 +-
crypto/external/bsd/openssl/dist/ssl/ssl_cert.c | 30 +-
crypto/external/bsd/openssl/dist/ssl/ssl_conf.c | 2 +-
crypto/external/bsd/openssl/dist/ssl/ssl_init.c | 2 +-
crypto/external/bsd/openssl/dist/ssl/ssl_local.h | 2672 +
crypto/external/bsd/openssl/dist/ssl/ssl_mcnf.c | 2 +-
crypto/external/bsd/openssl/dist/ssl/ssl_rsa.c | 4 +-
crypto/external/bsd/openssl/dist/ssl/ssl_stat.c | 2 +-
crypto/external/bsd/openssl/dist/ssl/ssl_txt.c | 2 +-
crypto/external/bsd/openssl/dist/ssl/ssl_utst.c | 2 +-
crypto/external/bsd/openssl/dist/ssl/statem/README | 2 +-
crypto/external/bsd/openssl/dist/ssl/statem/extensions.c | 14 +-
crypto/external/bsd/openssl/dist/ssl/statem/extensions_clnt.c | 4 +-
crypto/external/bsd/openssl/dist/ssl/statem/extensions_cust.c | 4 +-
crypto/external/bsd/openssl/dist/ssl/statem/extensions_srvr.c | 31 +-
crypto/external/bsd/openssl/dist/ssl/statem/statem.c | 4 +-
crypto/external/bsd/openssl/dist/ssl/statem/statem_clnt.c | 4 +-
crypto/external/bsd/openssl/dist/ssl/statem/statem_dtls.c | 4 +-
crypto/external/bsd/openssl/dist/ssl/statem/statem_lib.c | 33 +-
crypto/external/bsd/openssl/dist/ssl/statem/statem_local.h | 420 +
crypto/external/bsd/openssl/dist/ssl/statem/statem_srvr.c | 93 +-
crypto/external/bsd/openssl/dist/ssl/t1_trce.c | 7 +-
crypto/external/bsd/openssl/dist/ssl/tls13_enc.c | 6 +-
crypto/external/bsd/openssl/dist/test/README | 2 +-
crypto/external/bsd/openssl/dist/test/asn1_internal_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/asynciotest.c | 2 +-
crypto/external/bsd/openssl/dist/test/bad_dtls_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/build.info | 28 +-
crypto/external/bsd/openssl/dist/test/certs/root-ed448-cert.pem | 10 +
crypto/external/bsd/openssl/dist/test/certs/root-ed448-key.pem | 4 +
crypto/external/bsd/openssl/dist/test/certs/server-ed448-cert.pem | 21 +-
crypto/external/bsd/openssl/dist/test/certs/setup.sh | 5 +
crypto/external/bsd/openssl/dist/test/chacha_internal_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/cipher_overhead_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/clienthellotest.c | 2 +-
crypto/external/bsd/openssl/dist/test/ctype_internal_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/curve448_internal_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/drbg_cavs_data.h | 4 +-
crypto/external/bsd/openssl/dist/test/drbg_cavs_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/drbgtest.c | 4 +-
crypto/external/bsd/openssl/dist/test/dtls_mtu_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/dtlstest.c | 4 +-
crypto/external/bsd/openssl/dist/test/ec_internal_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/ecdsatest.h | 6 +-
crypto/external/bsd/openssl/dist/test/handshake_helper.c | 2 +-
crypto/external/bsd/openssl/dist/test/handshake_helper.h | 6 +-
crypto/external/bsd/openssl/dist/test/modes_internal_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/ossl_shim/async_bio.h | 6 +-
crypto/external/bsd/openssl/dist/test/ossl_shim/include/openssl/base.h | 6 +-
crypto/external/bsd/openssl/dist/test/ossl_shim/packeted_bio.h | 6 +-
crypto/external/bsd/openssl/dist/test/ossl_shim/test_config.h | 6 +-
crypto/external/bsd/openssl/dist/test/packettest.c | 2 +-
crypto/external/bsd/openssl/dist/test/poly1305_internal_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/recipes/10-test_bn.t | 5 +-
crypto/external/bsd/openssl/dist/test/recipes/10-test_bn_data/bngcd.txt | 17179 ++++++++++
crypto/external/bsd/openssl/dist/test/recipes/25-test_req.t | 96 +-
crypto/external/bsd/openssl/dist/test/recipes/30-test_evp_data/evpciph.txt | 10 +
crypto/external/bsd/openssl/dist/test/recipes/70-test_sslsigalgs.t | 59 +-
crypto/external/bsd/openssl/dist/test/run_tests.pl | 4 +-
crypto/external/bsd/openssl/dist/test/servername_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/shlibloadtest.c | 2 +-
crypto/external/bsd/openssl/dist/test/siphash_internal_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/sm2_internal_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/sm4_internal_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/ssl-tests/20-cert-select.conf | 8 +-
crypto/external/bsd/openssl/dist/test/ssl-tests/20-cert-select.conf.in | 5 +-
crypto/external/bsd/openssl/dist/test/ssl-tests/28-seclevel.conf | 110 +-
crypto/external/bsd/openssl/dist/test/ssl-tests/28-seclevel.conf.in | 35 +-
crypto/external/bsd/openssl/dist/test/ssl_cert_table_internal_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/ssl_ctx_test.c | 76 +
crypto/external/bsd/openssl/dist/test/ssl_test_ctx.h | 6 +-
crypto/external/bsd/openssl/dist/test/sslapitest.c | 300 +-
crypto/external/bsd/openssl/dist/test/sslbuffertest.c | 2 +-
crypto/external/bsd/openssl/dist/test/ssltestlib.h | 6 +-
crypto/external/bsd/openssl/dist/test/test_test.c | 2 +-
crypto/external/bsd/openssl/dist/test/testutil.h | 6 +-
crypto/external/bsd/openssl/dist/test/testutil/testutil_init.c | 15 +
crypto/external/bsd/openssl/dist/test/tls13ccstest.c | 2 +-
crypto/external/bsd/openssl/dist/test/tls13encryptiontest.c | 4 +-
crypto/external/bsd/openssl/dist/test/tls13secretstest.c | 2 +-
crypto/external/bsd/openssl/dist/test/wpackettest.c | 2 +-
crypto/external/bsd/openssl/dist/util/find-doc-nits | 10 +-
crypto/external/bsd/openssl/dist/util/fix-includes | 19 +
crypto/external/bsd/openssl/dist/util/fix-includes.sed | 5 +
crypto/external/bsd/openssl/dist/util/libcrypto.num | 5 +
crypto/external/bsd/openssl/dist/util/perl/OpenSSL/Test.pm | 12 +-
crypto/external/bsd/openssl/dist/util/perl/TLSProxy/Proxy.pm | 2 +-
crypto/external/bsd/openssl/dist/util/private.num | 8 +
873 files changed, 35311 insertions(+), 2470 deletions(-)
diffs (truncated from 50972 to 300 lines):
diff -r 0208b9144007 -r faabfb13c670 crypto/external/bsd/openssl/dist/CONTRIBUTING
--- a/crypto/external/bsd/openssl/dist/CONTRIBUTING Sun Mar 22 00:25:01 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/CONTRIBUTING Sun Mar 22 00:49:02 2020 +0000
@@ -58,7 +58,7 @@
consider adding a note in CHANGES. This could be a summarising
description of the change, and could explain the grander details.
Have a look through existing entries for inspiration.
- Please note that this is NOT simply a copy of git-log oneliners.
+ Please note that this is NOT simply a copy of git-log one-liners.
Also note that security fixes get an entry in CHANGES.
This file helps users get more in depth information of what comes
with a specific release without having to sift through the higher
diff -r 0208b9144007 -r faabfb13c670 crypto/external/bsd/openssl/dist/Configurations/10-main.conf
--- a/crypto/external/bsd/openssl/dist/Configurations/10-main.conf Sun Mar 22 00:25:01 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/Configurations/10-main.conf Sun Mar 22 00:49:02 2020 +0000
@@ -263,7 +263,7 @@
# primarily because vendor assembler can't assemble our modules
# with -KPIC flag. As result it, assembly support, was not even
# available as option. But its lack means lack of side-channel
- # resistant code, which is incompatible with security by todays
+ # resistant code, which is incompatible with security by today's
# standards. Fortunately gcc is readily available prepackaged
# option, which we can firmly point at...
#
@@ -434,7 +434,7 @@
# 32-bit message digests. (For the moment of this writing) HP C
# doesn't seem to "digest" too many local variables (they make "him"
# chew forever:-). For more details look-up MD32_XARRAY comment in
-# crypto/sha/sha_lcl.h.
+# crypto/sha/sha_local.h.
# - originally there were 32-bit hpux-parisc2-* targets. They were
# scrapped, because a) they were not interchangeable with other 32-bit
# targets; b) performance-critical 32-bit assembly modules implement
@@ -1313,7 +1313,6 @@
"VC-WIN32" => {
inherit_from => [ "VC-noCE-common", asm("x86_asm"),
sub { $disabled{shared} ? () : "uplink_common" } ],
- CFLAGS => add("/WX"),
AS => sub { vc_win32_info()->{AS} },
ASFLAGS => sub { vc_win32_info()->{ASFLAGS} },
asoutflag => sub { vc_win32_info()->{asoutflag} },
diff -r 0208b9144007 -r faabfb13c670 crypto/external/bsd/openssl/dist/Configurations/15-android.conf
--- a/crypto/external/bsd/openssl/dist/Configurations/15-android.conf Sun Mar 22 00:25:01 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/Configurations/15-android.conf Sun Mar 22 00:49:02 2020 +0000
@@ -241,7 +241,7 @@
},
####################################################################
- # Backward compatible targets, (might) requre $CROSS_SYSROOT
+ # Backward compatible targets, (might) require $CROSS_SYSROOT
#
"android-armeabi" => {
inherit_from => [ "android-arm" ],
diff -r 0208b9144007 -r faabfb13c670 crypto/external/bsd/openssl/dist/Configurations/50-win-onecore.conf
--- a/crypto/external/bsd/openssl/dist/Configurations/50-win-onecore.conf Sun Mar 22 00:25:01 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/Configurations/50-win-onecore.conf Sun Mar 22 00:49:02 2020 +0000
@@ -4,7 +4,7 @@
# Mobile[?] Windows editions. It's a set up "umbrella" libraries that
# export subset of Win32 API that are common to all Windows 10 devices.
#
-# OneCore Configuration temporarly dedicated for console applications
+# OneCore Configuration temporarily dedicated for console applications
# due to disabled event logging, which is incompatible with one core.
# Error messages are provided via standard error only.
# TODO: extend error handling to use ETW based eventing
diff -r 0208b9144007 -r faabfb13c670 crypto/external/bsd/openssl/dist/Configurations/descrip.mms.tmpl
--- a/crypto/external/bsd/openssl/dist/Configurations/descrip.mms.tmpl Sun Mar 22 00:25:01 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/Configurations/descrip.mms.tmpl Sun Mar 22 00:49:02 2020 +0000
@@ -343,6 +343,7 @@
#
# #include <openssl/foo.h>
# #include "internal/bar.h"
+# #include "crypto/something.h"
#
# will use the logical names to find the files. Expecting
# DECompHP C to find files in subdirectories of whatever was
@@ -351,11 +352,13 @@
.FIRST :
$(NODEBUG) openssl_inc1 = F$PARSE("[.include.openssl]","A.;",,,"syntax_only") - "A.;"
$(NODEBUG) openssl_inc2 = F$PARSE("{- catdir($config{sourcedir},"[.include.openssl]") -}","A.;",,,"SYNTAX_ONLY") - "A.;"
- $(NODEBUG) internal_inc1 = F$PARSE("[.crypto.include.internal]","A.;",,,"SYNTAX_ONLY") - "A.;"
+ $(NODEBUG) internal_inc1 = F$PARSE("[.include.internal]","A.;",,,"SYNTAX_ONLY") - "A.;"
$(NODEBUG) internal_inc2 = F$PARSE("{- catdir($config{sourcedir},"[.include.internal]") -}","A.;",,,"SYNTAX_ONLY") - "A.;"
- $(NODEBUG) internal_inc3 = F$PARSE("{- catdir($config{sourcedir},"[.crypto.include.internal]") -}","A.;",,,"SYNTAX_ONLY") - "A.;"
+ $(NODEBUG) crypto_inc1 = F$PARSE("[.include.crypto]","A.;",,,"SYNTAX_ONLY") - "A.;"
+ $(NODEBUG) crypto_inc2 = F$PARSE("{- catdir($config{sourcedir},"[.include.crypto]") -}","A.;",,,"SYNTAX_ONLY") - "A.;"
$(NODEBUG) DEFINE openssl 'openssl_inc1','openssl_inc2'
- $(NODEBUG) DEFINE internal 'internal_inc1','internal_inc2','internal_inc3'
+ $(NODEBUG) DEFINE internal 'internal_inc1','internal_inc2'
+ $(NODEBUG) DEFINE crypto 'crypto_inc1','crypto_inc2'
$(NODEBUG) staging_dir = "$(DESTDIR)"
$(NODEBUG) staging_instdir = ""
$(NODEBUG) staging_datadir = ""
@@ -392,6 +395,7 @@
$(NODEBUG) {- join("\n\t\$(NODEBUG) ", map { "DEASSIGN ".uc($_) } @shlibs) || "!" -}
$(NODEBUG) DEASSIGN ossl_dataroot
$(NODEBUG) DEASSIGN ossl_installroot
+ $(NODEBUG) DEASSIGN crypto
$(NODEBUG) DEASSIGN internal
$(NODEBUG) DEASSIGN openssl
.DEFAULT :
diff -r 0208b9144007 -r faabfb13c670 crypto/external/bsd/openssl/dist/Configurations/unix-Makefile.tmpl
--- a/crypto/external/bsd/openssl/dist/Configurations/unix-Makefile.tmpl Sun Mar 22 00:25:01 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/Configurations/unix-Makefile.tmpl Sun Mar 22 00:49:02 2020 +0000
@@ -516,8 +516,8 @@
clean: libclean
$(RM) $(PROGRAMS) $(TESTPROGS) $(ENGINES) $(SCRIPTS)
$(RM) $(GENERATED_MANDATORY) $(GENERATED)
- -$(RM) `find . -name '*{- $depext -}' \! -name '.*' -print`
- -$(RM) `find . -name '*{- $objext -}' \! -name '.*' -print`
+ -$(RM) `find . -name '*{- $depext -}' \! -name '.*' \! -type d -print`
+ -$(RM) `find . -name '*{- $objext -}' \! -name '.*' \! -type d -print`
$(RM) core
$(RM) tags TAGS doc-nits
$(RM) -r test/test-runs
diff -r 0208b9144007 -r faabfb13c670 crypto/external/bsd/openssl/dist/INSTALL
--- a/crypto/external/bsd/openssl/dist/INSTALL Sun Mar 22 00:25:01 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/INSTALL Sun Mar 22 00:49:02 2020 +0000
@@ -351,6 +351,9 @@
Don't build support for datagram based BIOs. Selecting this
option will also force the disabling of DTLS.
+ no-dso
+ Don't build support for loading Dynamic Shared Objects.
+
enable-devcryptoeng
Build the /dev/crypto engine. It is automatically selected
on BSD implementations, in which case it can be disabled with
@@ -605,10 +608,19 @@
Take note of the VAR=value documentation below and how
these flags interact with those variables.
- -xxx, +xxx
+ -xxx, +xxx, /xxx
Additional options that are not otherwise recognised are
- passed through as they are to the compiler as well. Again,
- consult your compiler documentation.
+ passed through as they are to the compiler as well.
+ Unix-style options beginning with a '-' or '+' and
+ Windows-style options beginning with a '/' are recognized.
+ Again, consult your compiler documentation.
+
+ If the option contains arguments separated by spaces,
+ then the URL-style notation %20 can be used for the space
+ character in order to avoid having to quote the option.
+ For example, -opt%20arg gets expanded to -opt arg.
+ In fact, any ASCII character can be encoded as %xx using its
+ hexadecimal encoding.
Take note of the VAR=value documentation below and how
these flags interact with those variables.
@@ -1071,7 +1083,7 @@
HASHBANGPERL
The command string for the Perl executable to insert in the
- #! line of perl scripts that will be publically installed.
+ #! line of perl scripts that will be publicly installed.
Default: /usr/bin/env perl
Note: the value of this variable is added to the same scripts
on all platforms, but it's only relevant on Unix-like platforms.
diff -r 0208b9144007 -r faabfb13c670 crypto/external/bsd/openssl/dist/NOTES.ANDROID
--- a/crypto/external/bsd/openssl/dist/NOTES.ANDROID Sun Mar 22 00:25:01 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/NOTES.ANDROID Sun Mar 22 00:49:02 2020 +0000
@@ -15,22 +15,33 @@
Configuration
-------------
- Android is naturally cross-compiled target and you can't use ./config.
+ Android is a naturally cross-compiled target and you can't use ./config.
You have to use ./Configure and name your target explicitly; there are
android-arm, android-arm64, android-mips, android-mip64, android-x86
- and android-x86_64. Do not pass --cross-compile-prefix (as you might
- be tempted), as it will be "calculated" automatically based on chosen
- platform. Though you still need to know the prefix to extend your PATH,
- in order to invoke $(CROSS_COMPILE)gcc and company. (Configure will fail
- and give you a hint if you get it wrong.) Apart from PATH adjustment
- you need to set ANDROID_NDK_HOME environment to point at NDK directory
- as /some/where/android-ndk-<ver>. Both variables are significant at both
- configuration and compilation times. NDK customarily supports multiple
- Android API levels, e.g. android-14, android-21, etc. By default latest
- one available is chosen. If you need to target older platform, pass
- additional -D__ANDROID_API__=N to Configure. N is numeric value of the
- target platform version. For example, to compile for ICS on ARM with
- NDK 10d:
+ and android-x86_64 (*MIPS targets are no longer supported with NDK R20+).
+ Do not pass --cross-compile-prefix (as you might be tempted), as it will
+ be "calculated" automatically based on chosen platform. Though you still
+ need to know the prefix to extend your PATH, in order to invoke
+ $(CROSS_COMPILE)clang [*gcc on NDK 19 and lower] and company. (Configure
+ will fail and give you a hint if you get it wrong.) Apart from PATH
+ adjustment you need to set ANDROID_NDK_HOME environment to point at the
+ NDK directory. If you're using a side-by-side NDK the path will look
+ something like /some/where/android-sdk/ndk/<ver>, and for a standalone
+ NDK the path will be something like /some/where/android-ndk-<ver>.
+ Both variables are significant at both configuration and compilation times.
+ The NDK customarily supports multiple Android API levels, e.g. android-14,
+ android-21, etc. By default latest API level is chosen. If you need to
+ target an older platform pass the argument -D__ANDROID_API__=N to Configure,
+ with N being the numerical value of the target platform version. For example,
+ to compile for Android 10 arm64 with a side-by-side NDK r20.0.5594570
+
+ export ANDROID_NDK_HOME=/home/whoever/Android/android-sdk/ndk/20.0.5594570
+ PATH=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$ANDROID_NDK_HOME/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin:$PATH
+ ./Configure android-arm64 -D__ANDROID_API__=29
+ make
+
+ Older versions of the NDK have GCC under their common prebuilt tools directory, so the bin path
+ will be slightly different. EG: to compile for ICS on ARM with NDK 10d:
export ANDROID_NDK_HOME=/some/where/android-ndk-10d
PATH=$ANDROID_NDK_HOME/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin:$PATH
diff -r 0208b9144007 -r faabfb13c670 crypto/external/bsd/openssl/dist/apps/apps.c
--- a/crypto/external/bsd/openssl/dist/apps/apps.c Sun Mar 22 00:25:01 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/apps/apps.c Sun Mar 22 00:49:02 2020 +0000
@@ -1962,26 +1962,46 @@
size_t len;
unsigned char *out;
size_t i, start = 0;
+ size_t skipped = 0;
len = strlen(in);
- if (len >= 65535)
+ if (len == 0 || len >= 65535)
return NULL;
- out = app_malloc(strlen(in) + 1, "NPN buffer");
+ out = app_malloc(len + 1, "NPN buffer");
for (i = 0; i <= len; ++i) {
if (i == len || in[i] == ',') {
+ /*
+ * Zero-length ALPN elements are invalid on the wire, we could be
+ * strict and reject the entire string, but just ignoring extra
+ * commas seems harmless and more friendly.
+ *
+ * Every comma we skip in this way puts the input buffer another
+ * byte ahead of the output buffer, so all stores into the output
+ * buffer need to be decremented by the number commas skipped.
+ */
+ if (i == start) {
+ ++start;
+ ++skipped;
+ continue;
+ }
if (i - start > 255) {
OPENSSL_free(out);
return NULL;
}
- out[start] = (unsigned char)(i - start);
+ out[start-skipped] = (unsigned char)(i - start);
start = i + 1;
} else {
- out[i + 1] = in[i];
+ out[i + 1 - skipped] = in[i];
}
}
- *outlen = len + 1;
+ if (len <= skipped) {
+ OPENSSL_free(out);
+ return NULL;
+ }
+
+ *outlen = len + 1 - skipped;
return out;
}
diff -r 0208b9144007 -r faabfb13c670 crypto/external/bsd/openssl/dist/apps/apps.h
--- a/crypto/external/bsd/openssl/dist/apps/apps.h Sun Mar 22 00:25:01 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/apps/apps.h Sun Mar 22 00:49:02 2020 +0000
@@ -7,8 +7,8 @@
* https://www.openssl.org/source/license.html
*/
-#ifndef HEADER_APPS_H
-# define HEADER_APPS_H
+#ifndef OSSL_APPS_H
+# define OSSL_APPS_H
# include "e_os.h" /* struct timeval for DTLS */
# include "internal/nelem.h"
diff -r 0208b9144007 -r faabfb13c670 crypto/external/bsd/openssl/dist/apps/dgst.c
--- a/crypto/external/bsd/openssl/dist/apps/dgst.c Sun Mar 22 00:25:01 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/apps/dgst.c Sun Mar 22 00:49:02 2020 +0000
@@ -19,6 +19,7 @@
#include <openssl/x509.h>
#include <openssl/pem.h>
#include <openssl/hmac.h>
+#include <ctype.h>
#undef BUFSIZE
#define BUFSIZE 1024*8
@@ -27,9 +28,15 @@
EVP_PKEY *key, unsigned char *sigin, int siglen,
const char *sig_name, const char *md_name,
const char *file);
+static void show_digests(const OBJ_NAME *name, void *bio_);
+
+struct doall_dgst_digests {
+ BIO *bio;
+ int n;
Home |
Main Index |
Thread Index |
Old Index