Update NSS to 3.38

- Added HACL*Poly1305 32-bit (INRIA/Microsoft)
- Updated to final TLS 1.3 draft version (28)
- Removed TLS 1.3 prerelease draft limit check
- Removed NPN code
- Enabled dev/urandom-only RNG on Linux with NSS_SEED_ONLY_DEV_URANDOM for non-standard environments
- Fixed several bugs with TLS 1.3 negotiation
- Updated internal certificate store
- Added support for the TLS Record Size Limit Extension.
- Fixed CVE-2018-0495
- Various security fixes in the ASN.1 code.
This commit is contained in:
wolfbeast 2018-08-14 07:52:35 +02:00 • committed by Roy Tam
commit d36d4eb674
197 changed files with 4873 additions and 7145 deletions

View file

@ -59,7 +59,7 @@
'sha_fast.c',
'shvfy.c',
'sysrand.c',
'tlsprfalg.c'
'tlsprfalg.c',
],
'conditions': [
[ 'OS=="linux" or OS=="android"', {
@ -122,6 +122,11 @@
'intel-gcm-x86-masm.asm',
],
}],
[ 'cc_use_gnu_ld==1', {
# mingw
'sources': [
],
}],
[ 'cc_is_clang!=1', {
# MSVC
'sources': [
@ -135,7 +140,6 @@
# All intel and 64-bit ARM architectures get the 64 bit version.
'ecl/curve25519_64.c',
'verified/Hacl_Curve25519.c',
'verified/FStar.c',
],
}, {
'sources': [
@ -167,7 +171,7 @@
}, {
# !Windows & !x64 & !arm64 & !aarch64
'sources': [
'poly1305.c',
'verified/Hacl_Poly1305_32.c',
],
}],
],
@ -176,7 +180,7 @@
}, {
# Windows
'sources': [
'poly1305.c',
'verified/Hacl_Poly1305_32.c',
],
}],
],
@ -215,6 +219,9 @@
}],
],
}],
[ 'have_int128_support==0', {
'sources': [ 'verified/FStar.c' ],
}],
],
'ldflags': [
'-Wl,-Bsymbolic'