summaryrefslogtreecommitdiff
path: root/coreconf
Commit message (Collapse)AuthorAgeFilesLines
* Bug 1790763 - Enable default UBSan Checks. r=mtDennis Jackson2023-05-052-2/+3
| | | | | | The two exceptions will require a bit of work to remediate. Differential Revision: https://phabricator.services.mozilla.com/D167650
* Bug 1727555 - Update HACL* till 51a72a953a4ee6f91e63b2816ae5c4e62edf35d6 ↵Anna Weine2023-04-171-6/+18
| | | | | | r=nss-reviewers,jschanck Differential Revision: https://phabricator.services.mozilla.com/D158327
* Bug 1819958. Removed deprecated sprintf function and replaced with snprintf. ↵Noah Lokocz2023-03-162-16/+17
| | | | | | r=djackson Differential Revision: https://phabricator.services.mozilla.com/D171859
* Bug 1820175 - Enable various compiler warnings for clang builds. r=jschanck.Dennis Jackson2023-03-031-2/+22
| | | | | | | | This patch enables various compiler warnings in NSS, sourced from `warnings.configure` in mozilla-central. Several checks were too noisy to adopt and were already silenced in mozilla-central builds of NSS. Differential Revision: https://phabricator.services.mozilla.com/D171580
* Sigh, even when I explicitly push to nss-try, it's pushing to nss!Robert Relyea2023-02-271-1/+0
|
* Add liboqsRobert Relyea2023-02-271-0/+1
|
* This change was supposed to be pushed to nss-try,Robert Relyea2023-02-271-1/+0
| | | | but something went out of wack. Back this change out of the tip
* Add liboqsRobert Relyea2023-02-271-0/+1
|
* Backed out changeset 7f64f5d3df09 for build bustageMartin Thomson2023-01-146-6/+7
|
* Bug 1766767 - Move scripts to python3, r=nss-reviewers,jschanckMartin Thomson2023-01-126-7/+6
| | | | Differential Revision: https://phabricator.services.mozilla.com/D166506
* Bug 1806369 - Don't clone libFuzzer, rely on clang instead. r=djackson,truberChristian Holler2023-01-052-8/+6
| | | | Differential Revision: https://phabricator.services.mozilla.com/D165006
* Bug 1730353 - Add support for the LoongArch 64-bit architecture. ↵yetist2022-12-141-1/+1
| | | | | | r=nss-reviewers,djackson Differential Revision: https://phabricator.services.mozilla.com/D142421
* Bug 1751707 - Add configuration option to enable source-based coverage ↵Iaroslav Gridin2022-12-122-2/+10
| | | | | | sanitizer r=nss-reviewers,mt Differential Revision: https://phabricator.services.mozilla.com/D135764
* Bug 1803595 - Updating the compiler parsing for build ↵Natalia Kulatova2022-12-082-2/+12
| | | | | | | | r=nss-reviewers,bbeurdouche The patch now introduces a new flag for ninja build - cc_is_cc. It states if the compiler we use is cc (that's indeed often stands for gcc, but for some cases the compiler check fails). Differential Revision: https://phabricator.services.mozilla.com/D163602
* Bug 1792103 - Add a flag to disable building libnssckbi. r=djacksonNSS_3_84_BETA1John M. Schanck2022-10-051-0/+1
| | | | Differential Revision: https://phabricator.services.mozilla.com/D157990
* Bug 1563221 remove older oses that are unused part3/ BeOS ↵Ludovic Hirlimann2022-09-073-53/+2
| | | | | | | | r=nss-reviewers,djackson Depends on D36757 Differential Revision: https://phabricator.services.mozilla.com/D37215
* Bug 1563221 remove older unix support in NSS part 3 Irix ↵Ludovic Hirlimann2022-09-079-179/+1
| | | | | | | | r=nss-reviewers,djackson Depends on D36756 Differential Revision: https://phabricator.services.mozilla.com/D36757
* Bug 1563221 remove support for older unix in NSS part 1 OSF ↵Ludovic Hirlimann2022-09-0710-166/+0
| | | | | | r=nss-reviewers,djackson Differential Revision: https://phabricator.services.mozilla.com/D36755
* Dummy change, trigger a build to test latest NSPR commits.Kai Engert2022-08-301-1/+0
|
* Dummy change, trigger a build to test latest NSPR commits.Kai Engert2022-08-041-0/+1
|
* Bug 1771036 - allow LDFLAGS override in makefile builds. ↵John M. Schanck2022-05-311-0/+4
| | | | | | | | r=nss-reviewers,djackson Patch provided by Giulio Benetti. Differential Revision: https://phabricator.services.mozilla.com/D147534
* Bug 1758741 - Allow ld path to be set as environment variable. r=mtZi Lin2022-03-221-2/+3
| | | | | | Submitted on behalf of Zi Lin, the author of the patch. Differential Revision: https://phabricator.services.mozilla.com/D141119
* Bug 1747772 - Allow to build using clang's integrated assembler. r=bbeurdoucheMike Hommey2022-01-041-0/+1
| | | | | | | | | | | | | | | | | | Since clang 9, NSS can build for x86_64 without the -fno-integrated-as flag. The tricky part is that clang versions are unreliable. For instance, a check for "clang version 9 or more" would break building with Xcode versions between 9.0 and 11.3.1 (because clang in those say it has version >= 9, but they are actually clang versions between 4.0 and 8.0; the clang version reflects the Xcode version, not the real clang version). We do have a complicated version check in Firefox that works around that, but I don't feel like porting this to NSS, so instead, allow to set a gyp variable to force enable it, and let the Firefox build system decide for itself. Differential Revision: https://phabricator.services.mozilla.com/D134741
* Remove newline at the end of coreconf.dep r=djacksonBenjamin Beurdouche2021-10-221-1/+0
| | | | Differential Revision: https://phabricator.services.mozilla.com/D129246
* Bug 1731911 - Fix nsinstall parallel failure r=nss-reviewers,djacksonNSS_3_72_BETA1Giulio Benetti2021-10-191-0/+2
| | | | Differential Revision: https://phabricator.services.mozilla.com/D128906
* Bug 1720227 NSS using a tempdir to measure sql performance not active r=mtRobert Relyea2021-07-132-2/+2
| | | | Last rebase we submitted a patch that used a subdirectory to measure the performance for the SQLite patch. This code wasn't active by default on linux, however, because of a typo in the build system. This is a low priority issue since NSS does not default to measure, so the patch only affects older versions of RHEL or users that have explicitly asked for 'measure' semantics.
* Bug 1655493 - Support SHA2 HW acceleration using Intel SHA Extension. ↵Makoto Kato2021-06-252-0/+3
| | | | | | | | | | | | | | | | | | r=bbeurdouche Before applying (on Ryzen 9 3900X) ``` # mode in opreps cxreps context op time(sec) thrgput sha256_e 1Gb 208Mb 23M 0 0.000 10000.000 10.000 123Mb 301Kb ``` After applying ``` # mode in opreps cxreps context op time(sec) thrgput sha256_e 5Gb 797Mb 110M 0 0.000 10000.000 10.000 591Mb 769Kb ``` Differential Revision: https://phabricator.services.mozilla.com/D116962
* Bug 1714719 - Set NSS_USE_64 on riscv64 target when using GYP/Ninja. ↵Makoto Kato2021-06-071-1/+1
| | | | | | r=bbeurdouche Differential Revision: https://phabricator.services.mozilla.com/D116922
* Bug 1709654 Update for NetBSD configurationRobert Relyea2021-05-111-20/+22
| | | | | | | | | | | | | | | patch by Thomas Klausner r=rrelyea In the NetBSD configuration, the symbol hiding flags are not defined. This leads to conflicts when openssl and nss are linked into the same binary. For a longer discussion on the topic, see https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/Al0Pt0zhARE Match more closely to OpenBSD.mk, and in particular, hide symbols (MAPFILE). - fix wrong value of CPU_ARCH on NetBSD/evbarm-earmv7f - s/aarch64eb/aarch64/
* Bug 1692930 - Update HPKE to final version, r=bbeurdoucheMartin Thomson2021-03-162-9/+0
| | | | | | | | | | | | | | | | | | | | | This adds the final HPKE version string. This removes the draft version markers from the implementation and stops tracking the draft version with the exported syntax. I've added the script that I used to convert the JSON test vectors from the specification; that should allow us to pick up new tests relatively easily, especially if we need to add new algorithms. This change breaks several ECH test cases. As fixing those tests is extraordinarily fiddly, I'm going to defer making those changes until we need to update ECH. As we can't land this code until ECH is updated to depend on the final HPKE and until we have coordinated with servers on when the ECH update can be deployed, it should be OK to defer. In short, don't land this without the matching ECH changes. Differential Revision: https://phabricator.services.mozilla.com/D105256
* Dummy change, trigger a build to test latest NSPR commits.Kai Engert2021-04-281-0/+1
|
* Bug 1705286 - Properly detect mips64. r=bbeurdoucheNSS_3_64_BETA1Mike Hommey2021-04-151-0/+2
| | | | Differential Revision: https://phabricator.services.mozilla.com/D112143
* Bug 1687164 - Introduce NSS_DISABLE_CRYPTO_VSX and disable_crypto_vsx ↵glaubitz2021-04-063-1/+12
| | | | | | | | | | | | r=bbeurdouche Currently, NSS assumes that every PowerPC target supports the crypto and VSX extensions of the PowerPC ABI. However, VSX was only introduced with ISA version 2.06 and the crypto extensions with ISA version 2.07 and enabling them on older PowerPC targets will result in a SIGILL. Thus, make their use configurable and enable them by default on ppc64le only. Differential Revision: https://phabricator.services.mozilla.com/D105354
* Bug 1678384 - Add a build flag to allow building nssckbi-testlib in m-c ↵Benjamin Beurdouche2020-11-301-0/+1
| | | | | | r=kjacobs Differential Revision: https://phabricator.services.mozilla.com/D98154
* Bug 1667989 - coreconf/config.gypi should allow correct linking on Solaris ↵Petr Sumbera2020-10-231-5/+7
| | | | | | r=kjacobs,bbeurdouche Differential Revision: https://phabricator.services.mozilla.com/D26278
* Bug 1631890 - Add support for Hybrid Public Key Encryption ↵Kevin Jacobs2020-10-122-0/+10
| | | | | | | | | | | | (draft-irtf-cfrg-hpke-05). r=mt This patch adds support for Hybrid Public Key Encryption (draft-irtf-cfrg-hpke-05). Because the draft number (and the eventual RFC number) is an input to the key schedule, future updates will *not* be backwards compatible in terms of key material or encryption/decryption. For this reason, a default compilation will produce stubs that simply return an "Invalid Algorithm" error. To opt into using the HPKE functionality , compile with `NSS_ENABLE_DRAFT_HPKE` defined. Once finalized, this flag will not be required to access the functions. Lastly, the `DeriveKeyPair` API is not implemented as it adds complextiy around PKCS #11 and is unnecessary for ECH. Differential Revision: https://phabricator.services.mozilla.com/D73947
* Bug 1668328 - Enclose Python paths in `coreconf/config.gypi` in quotes ↵Ricky Stewart2020-10-051-5/+5
| | | | | | | | r=kjacobs,mt This fixes a breakage if the Python path happens to have a space in it. Differential Revision: https://phabricator.services.mozilla.com/D92236
* Bug 1660735 - Fix typo in coreconfig/arch.mk. r=kjacobsBenjamin Beurdouche2020-09-141-1/+1
| | | | Differential Revision: https://phabricator.services.mozilla.com/D90077
* Bug 1660734 - Fix typo in coreconf/config.mk. r=kjacobsBenjamin Beurdouche2020-09-141-1/+1
| | | | Differential Revision: https://phabricator.services.mozilla.com/D90081
* Bug 1659727 - Move makefile avx2 detection to config.mk. r=kjacobsDanh2020-09-112-31/+27
| | | | | | | | | | | | | | | | | | | Summary: Current code base use CPU_ARCH to detect if avx2 is supported in arch.mk However, when arch.mk included, CPU_ARCH haven't been initialised, CPU_ARCH will be initialised by the OS specific code later on. Move the AVX2 detection to config.mk, after all other initialisation done. Reviewers: kjacobs Reviewed By: kjacobs Subscribers: kjacobs Bug #: 1659727 Differential Revision: https://phabricator.services.mozilla.com/D88517
* Bug 1663346 - Build e2k architecture as 64-bit r=jcjMichael Shigorin2020-09-081-1/+1
|
* Bug 1656986 - special-case arm64 in detect_host_arch.py; r=jcjNathan Froyd2020-08-031-0/+2
| | | | | | | | This case comes up when attempting to build NSS on ARM64 Mac. If we don't do this, we wind up detecting arm64 as "arm", with predictably bad consequences. Differential Revision: https://phabricator.services.mozilla.com/D85786
* Bug 1650702 - Use ARM's crypt extension for SHA1. r=kjacobsMakoto Kato2020-07-291-0/+1
| | | | | | | | | | | | | | | | | | | | | ARM Crypto extension has SHA1 acceleration. Using this, SHA1 is 3 times faster on ARMv8 CPU. The following data is AWS's a1 instance (Cortex-A72). Before ====== ``` # mode in opreps cxreps context op time(sec) thrgput sha1_e 954Mb 31M 0 0.000 10000.000 10.000 95Mb ``` After ===== ``` # mode in opreps cxreps context op time(sec) thrgput sha1_e 2Gb 94M 0 0.000 10000.000 10.000 288Mb ``` Differential Revision: https://phabricator.services.mozilla.com/D84125
* Bug 1652729 - Add build flag to disable RC2 and relocate to ↵Benjamin Beurdouche2020-07-242-0/+10
| | | | | | lib/freebl/deprecated. r=kjacobs Differential Revision: https://phabricator.services.mozilla.com/D83494
* Bug 1646594 - Enable AVX2 if applicable on x86_64 with make 4.3 r=bbeurdoucheDanh2020-06-302-0/+3
|
* Bug 1528113 - Use ARM's crypto extension for SHA256 r=kjacobsMakoto Kato2020-06-011-0/+1
| | | | | | ARMv8 CPU has accelerated hardware instruction for SHA256 that supports GCC 4.9+. We should use it if available. Differential Revision: https://phabricator.services.mozilla.com/D38830
* Bug 1637083 Replace pre-dependency with shell hack r=rrelyeaJan-Marek Glogowski2020-05-131-1/+14
| | | | | | | | | | | | | | | | | Originally I tried multiple variants using make's conditionals to limit DIRS and enforce building the parent directory before the sub-directory. None of them worked for me, most resulting in an infinite recursion, so I used the current pre-depends workaround to fulfill the real dependency. Now I remembered that automake can handle this case for SUBDIRS specifying "." as a directory. The generated Makefile handles it via shell scripting; not nice, but it works. So this gets rid of the workaround, replacing it with a small shell test. Differential Revision: https://phabricator.services.mozilla.com/D74855
* Bug 1629553 Use order-prereq for $(MAKE_OBJDIR) r=rrelyeaJan-Marek Glogowski2020-05-081-29/+16
| | | | | | | | | | Introduces a simple "%/d" rule to create directories using $(MAKE_OBJDIR) and replace all explicit $(MAKE_OBJDIR) calls with an order-only-prerequisites. To expand the $(@D) prerequisite, this needs .SECONDEXPANSION. Differential Revision: https://phabricator.services.mozilla.com/D70989
* Bug 1438431 Remove mkdepend tool and targets r=rrelyeaJan-Marek Glogowski2020-05-0521-4423/+2
| | | | Differential Revision: https://phabricator.services.mozilla.com/D70988
* Bug 1629553 Drop duplicate header DIR variables r=rrelyeaJan-Marek Glogowski2020-05-052-11/+2
| | | | Differential Revision: https://phabricator.services.mozilla.com/D70987