Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mozilla-nss for openSUSE:Factory checked in at 2026-11-30 14:22:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mozilla-nss (Old) and /work/SRC/openSUSE:Factory/.mozilla-nss.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mozilla-nss" Mon Nov 30 14:22:58 2026 rev:250 rq:1401184 version:3.133 Changes: -------- --- /work/SRC/openSUSE:Factory/mozilla-nss/mozilla-nss.changes 2026-11-06 19:38:08.130354552 +0100 +++ /work/SRC/openSUSE:Factory/.mozilla-nss.new.1340718/mozilla-nss.changes 2026-11-30 14:23:02.351406547 +0100 @@ -1,0 +2,11 @@ +Thu Nov 26 21:49:33 UTC 2026 - Wolfgang Rosenauer <[email protected]> + +- update to version 3.133 + * no public release notes found +- refresh patches +- remove nss-fips-aes-gcm-restrict.patch (upstream) +- rebase nss-fips-approved-crypto-non-ec.patch: drop hunks which + are upstream now (FIPS indicator special classes, hash/key length + checks, targetKeyLength parameter of sftk_operationIsFIPS) + +------------------------------------------------------------------- Old: ---- nss-3.132.tar.gz nss-fips-aes-gcm-restrict.patch New: ---- nss-3.133.tar.gz ----------(Old B)---------- Old:- refresh patches - remove nss-fips-aes-gcm-restrict.patch (upstream) - rebase nss-fips-approved-crypto-non-ec.patch: drop hunks which ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mozilla-nss.spec ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:07.735634727 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:07.737634811 +0100 @@ -40,9 +40,9 @@ %define origname mozilla-nss Name: %{origname}%{psuffix} -Version: 3.132 +Version: 3.133 Release: 0 -%define underscore_version 3_132 +%define underscore_version 3_133 Summary: Network Security Services License: MPL-2.0 Group: System/Libraries @@ -97,7 +97,6 @@ Patch48: nss-fips-test.patch Patch49: nss-allow-slow-tests-s390x.patch Patch50: nss-fips-bsc1223724.patch -Patch51: nss-fips-aes-gcm-restrict.patch %if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 150000 # aarch64 + gcc4.8 fails to build on SLE-12 due to undefined references BuildRequires: gcc9-c++ @@ -275,7 +274,6 @@ %patch -P 49 -p1 %endif %patch -P 50 -p1 -%patch -P 51 -p1 %endif # additional CA certificates ++++++ bmo1962556.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:07.874640618 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:07.877640745 +0100 @@ -16,7 +16,7 @@ =================================================================== --- nss.orig/tests/ssl/ssl.sh +++ nss/tests/ssl/ssl.sh -@@ -997,8 +997,8 @@ ssl_policy_pkix_ocsp() +@@ -1009,8 +1009,8 @@ ssl_policy_pkix_ocsp() echo " vfyserv -o wrong.host.badssl.com -d ${P_R_SERVERDIR} 2>&1 | tee ${P_R_SERVERDIR}/vfy.out" vfyserv -o wrong.host.badssl.com -d ${P_R_SERVERDIR} 2>&1 | tee ${P_R_SERVERDIR}/vfy.out # make sure we have the domain mismatch, not bad signature error ++++++ malloc.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:07.908642059 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:07.911642186 +0100 @@ -2,7 +2,7 @@ =================================================================== --- nss.orig/tests/ssl/ssl.sh +++ nss/tests/ssl/ssl.sh -@@ -1676,6 +1676,7 @@ ssl_run_tests() +@@ -1688,6 +1688,7 @@ ssl_run_tests() ################################# main ################################# ++++++ nss-3.132.tar.gz -> nss-3.133.tar.gz ++++++ /work/SRC/openSUSE:Factory/mozilla-nss/nss-3.132.tar.gz /work/SRC/openSUSE:Factory/.mozilla-nss.new.1340718/nss-3.133.tar.gz differ: char 5, line 1 ++++++ nss-allow-slow-tests-s390x.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:07.960644262 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:07.964644432 +0100 @@ -1,8 +1,10 @@ On s390x, this test takes more than 6 seconds (build log says 12 seconds) ---- nss/tests/dbtests/dbtests.sh.orig 2023-12-26 16:48:17.186506407 +0100 -+++ nss/tests/dbtests/dbtests.sh 2023-12-26 16:49:13.323116874 +0100 -@@ -367,7 +367,7 @@ dbtest_main() +Index: nss/tests/dbtests/dbtests.sh +=================================================================== +--- nss.orig/tests/dbtests/dbtests.sh ++++ nss/tests/dbtests/dbtests.sh +@@ -585,7 +585,7 @@ dbtest_main() TIMEARRAY=(${RARRAY[1]//./ }) echo "${TIMEARRAY[0]} seconds" # Was 5, but that is too small for OBS-workers. ++++++ nss-allow-slow-tests.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:07.978645025 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:07.981645152 +0100 @@ -16,7 +16,7 @@ =================================================================== --- nss.orig/tests/dbtests/dbtests.sh +++ nss/tests/dbtests/dbtests.sh -@@ -366,7 +366,8 @@ dbtest_main() +@@ -584,7 +584,8 @@ dbtest_main() RARRAY=($dtime) TIMEARRAY=(${RARRAY[1]//./ }) echo "${TIMEARRAY[0]} seconds" ++++++ nss-fips-180-3-csp-clearing.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.011646424 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.014646551 +0100 @@ -16,7 +16,7 @@ =================================================================== --- nss.orig/lib/softoken/sftkdb.c +++ nss/lib/softoken/sftkdb.c -@@ -1565,7 +1565,7 @@ loser: +@@ -1582,7 +1582,7 @@ loser: PORT_ZFree(data, dataSize); } if (arena) { @@ -29,7 +29,7 @@ =================================================================== --- nss.orig/lib/softoken/sftkpwd.c +++ nss/lib/softoken/sftkpwd.c -@@ -1465,7 +1465,7 @@ loser: +@@ -1544,7 +1544,7 @@ loser: PORT_ZFree(newKey.data, newKey.len); } if (result) { ++++++ nss-fips-approved-crypto-non-ec.patch ++++++ ++++ 683 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/mozilla-nss/nss-fips-approved-crypto-non-ec.patch ++++ and /work/SRC/openSUSE:Factory/.mozilla-nss.new.1340718/nss-fips-approved-crypto-non-ec.patch ++++++ nss-fips-bsc1223724.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.047647950 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.050648077 +0100 @@ -2,7 +2,7 @@ =================================================================== --- nss.orig/lib/pk11wrap/pk11skey.c +++ nss/lib/pk11wrap/pk11skey.c -@@ -521,6 +521,14 @@ PK11_ImportDataKey(PK11SlotInfo *slot, C +@@ -617,6 +617,14 @@ PK11_ImportDataKey(PK11SlotInfo *slot, CK_MECHANISM_TYPE type, PK11Origin origin CK_OBJECT_HANDLE handle; PK11GenericObject *genObject; ++++++ nss-fips-cavs-general.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.066648755 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.072649009 +0100 @@ -28,7 +28,7 @@ #define __PASTE(x, y) x##y #undef CK_PKCS11_FUNCTION_INFO #undef CK_NEED_ARG_LIST -@@ -55,6 +59,10 @@ EC_CopyParams(PLArenaPool *arena, ECPara +@@ -55,6 +59,10 @@ EC_CopyParams(PLArenaPool *arena, ECParams *dstParams, #define RSA_MAX_TEST_EXPONENT_BYTES 8 #define PQG_TEST_SEED_BYTES 20 @@ -39,7 +39,7 @@ SECStatus hex_to_byteval(const char *c2, unsigned char *byteval) { -@@ -168,6 +176,62 @@ from_hex_str(unsigned char *buf, unsigne +@@ -168,6 +176,62 @@ from_hex_str(unsigned char *buf, unsigned int len, const char *str) return PR_TRUE; } @@ -102,7 +102,7 @@ SECStatus tdea_encrypt_buf( int mode, -@@ -8915,41 +8979,6 @@ out: +@@ -8918,41 +8982,6 @@ out: } } @@ -144,7 +144,7 @@ void kas_ffc_test(char *reqfn, int do_validity) { -@@ -9372,12 +9401,34 @@ out: +@@ -9375,12 +9404,34 @@ out: free_param_specs (pspecs); } @@ -229,7 +229,7 @@ { unsigned int n; /* Per FIPS 186, app 2.2. 186-3 app A.1.1.2 */ unsigned int seedlen; /* Per FIPS 186-3 app A.1.1.2 (was 'g' 186-1)*/ -@@ -1250,7 +1251,6 @@ pqg_ParamGen(unsigned int L, unsigned in +@@ -1250,7 +1251,6 @@ pqg_ParamGen(unsigned int L, unsigned int N, pqgGenType type, unsigned int offset; /* Per FIPS 186, app 2.2. 186-3 app A.1.1.2 */ unsigned int outlen; /* Per FIPS 186-3, appendix A.1.1.2. */ unsigned int maxCount; @@ -237,7 +237,7 @@ SECItem *seed; /* Per FIPS 186, app 2.2. 186-3 app A.1.1.2 */ PLArenaPool *arena = NULL; PQGParams *params = NULL; -@@ -1301,7 +1301,8 @@ pqg_ParamGen(unsigned int L, unsigned in +@@ -1301,7 +1301,8 @@ pqg_ParamGen(unsigned int L, unsigned int N, pqgGenType type, /* fill in P Q, */ SECITEM_TO_MPINT((*pParams)->prime, &P); SECITEM_TO_MPINT((*pParams)->subPrime, &Q); @@ -247,7 +247,7 @@ CHECK_SEC_OK(makeGfromIndex(hashtype, &P, &Q, &(*pVfy)->seed, (*pVfy)->h.data[0], &G)); MPINT_TO_SECITEM(&G, &(*pParams)->base, (*pParams)->arena); -@@ -1341,7 +1342,8 @@ pqg_ParamGen(unsigned int L, unsigned in +@@ -1341,7 +1342,8 @@ pqg_ParamGen(unsigned int L, unsigned int N, pqgGenType type, /* Select Hash and Compute lengths. */ /* getFirstHash gives us the smallest acceptable hash for this key * strength */ @@ -268,7 +268,7 @@ cleanup: if (pseed.data) { SECITEM_ZfreeItem(&pseed, PR_FALSE); -@@ -1587,7 +1593,7 @@ PQG_ParamGen(unsigned int j, PQGParams * +@@ -1587,7 +1593,7 @@ PQG_ParamGen(unsigned int j, PQGParams **pParams, PQGVerify **pVfy) L = 512 + (j * 64); /* bits in P */ seedBytes = L / 8; return pqg_ParamGen(L, DSA1_Q_BITS, FIPS186_1_TYPE, seedBytes, @@ -277,7 +277,7 @@ } SECStatus -@@ -1602,7 +1608,7 @@ PQG_ParamGenSeedLen(unsigned int j, unsi +@@ -1602,7 +1608,7 @@ PQG_ParamGenSeedLen(unsigned int j, unsigned int seedBytes, } L = 512 + (j * 64); /* bits in P */ return pqg_ParamGen(L, DSA1_Q_BITS, FIPS186_1_TYPE, seedBytes, @@ -286,7 +286,7 @@ } SECStatus -@@ -1620,7 +1626,26 @@ PQG_ParamGenV2(unsigned int L, unsigned +@@ -1620,7 +1626,26 @@ PQG_ParamGenV2(unsigned int L, unsigned int N, unsigned int seedBytes, /* error code already set */ return SECFailure; } ++++++ nss-fips-cavs-kas-ecc.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.087649645 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.090649772 +0100 @@ -15,7 +15,7 @@ =================================================================== --- nss.orig/cmd/fipstest/fipstest.c +++ nss/cmd/fipstest/fipstest.c -@@ -9077,6 +9077,301 @@ out: +@@ -9080,6 +9080,301 @@ out: } } @@ -317,7 +317,7 @@ int main(int argc, char **argv) { -@@ -9272,6 +9567,15 @@ main(int argc, char **argv) +@@ -9275,6 +9570,15 @@ main(int argc, char **argv) } else { kas_ffc_test(argv[3], PR_FALSE); } @@ -337,7 +337,7 @@ =================================================================== --- nss.orig/cmd/fipstest/kas.sh +++ nss/cmd/fipstest/kas.sh -@@ -27,6 +27,16 @@ KASValidityTest_FFCEphem_NOKC_ZZOnly_ini +@@ -27,6 +27,16 @@ KASValidityTest_FFCEphem_NOKC_ZZOnly_init.req KASValidityTest_FFCEphem_NOKC_ZZOnly_resp.req " @@ -354,7 +354,7 @@ if [ ${COMMAND} = "verify" ]; then for request in $kas_requests; do sh ./validate1.sh ${TESTDIR} $request -@@ -45,3 +55,15 @@ for request in $kas_requests_ffc_validit +@@ -45,3 +55,15 @@ for request in $kas_requests_ffc_validity; do echo $request $response fipstest kasffc validity ${REQDIR}/$request > ${RSPDIR}/$response done ++++++ nss-fips-cavs-kas-ffc.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.103650323 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.106650450 +0100 @@ -16,7 +16,7 @@ =================================================================== --- nss.orig/cmd/fipstest/fipstest.c +++ nss/cmd/fipstest/fipstest.c -@@ -2257,6 +2257,29 @@ fips_hashBuf(HASH_HashType type, unsigne +@@ -2257,6 +2257,29 @@ fips_hashBuf(HASH_HashType type, unsigned char *hashBuf, return rv; } @@ -46,7 +46,7 @@ int fips_hashLen(HASH_HashType type) { -@@ -8892,6 +8915,168 @@ out: +@@ -8895,6 +8918,168 @@ out: } } @@ -215,7 +215,7 @@ int main(int argc, char **argv) { -@@ -9078,6 +9263,15 @@ main(int argc, char **argv) +@@ -9081,6 +9266,15 @@ main(int argc, char **argv) /* AES Keywrap */ /***************/ keywrap(argv[2]); ++++++ nss-fips-cavs-keywrap.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.119651001 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.124651213 +0100 @@ -16,7 +16,7 @@ =================================================================== --- nss.orig/cmd/fipstest/fipstest.c +++ nss/cmd/fipstest/fipstest.c -@@ -8737,6 +8737,161 @@ done: +@@ -8740,6 +8740,161 @@ done: return; } @@ -178,7 +178,7 @@ int main(int argc, char **argv) { -@@ -8918,6 +9073,11 @@ main(int argc, char **argv) +@@ -8921,6 +9076,11 @@ main(int argc, char **argv) ikev2(argv[2]); } else if (strcmp(argv[1], "kbkdf") == 0) { kbkdf(argv[2]); ++++++ nss-fips-cavs-rsa-fixes.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.138651806 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.141651933 +0100 @@ -23,7 +23,7 @@ /* Perform RSA verification with the RSA public key. */ rv = RSA_HashCheckSign(shaOid, -@@ -9521,6 +9521,7 @@ main(int argc, char **argv) +@@ -9524,6 +9524,7 @@ main(int argc, char **argv) init_functions(); RNG_RNGInit(); SECOID_Init(); ++++++ nss-fips-combined-hash-sign-dsa-ecdsa.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.157652611 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.161652781 +0100 @@ -16,7 +16,7 @@ =================================================================== --- nss.orig/cmd/lib/pk11table.c +++ nss/cmd/lib/pk11table.c -@@ -405,6 +405,10 @@ const Constant _consts[] = { +@@ -461,6 +461,10 @@ const Constant _consts[] = { mkEntry(CKM_DSA_KEY_PAIR_GEN, Mechanism), mkEntry(CKM_DSA, Mechanism), mkEntry(CKM_DSA_SHA1, Mechanism), @@ -27,7 +27,7 @@ mkEntry(CKM_DH_PKCS_KEY_PAIR_GEN, Mechanism), mkEntry(CKM_DH_PKCS_DERIVE, Mechanism), mkEntry(CKM_X9_42_DH_DERIVE, Mechanism), -@@ -570,6 +574,10 @@ const Constant _consts[] = { +@@ -626,6 +630,10 @@ const Constant _consts[] = { mkEntry(CKM_EC_KEY_PAIR_GEN, Mechanism), mkEntry(CKM_ECDSA, Mechanism), mkEntry(CKM_ECDSA_SHA1, Mechanism), @@ -42,7 +42,7 @@ =================================================================== --- nss.orig/lib/pk11wrap/pk11mech.c +++ nss/lib/pk11wrap/pk11mech.c -@@ -379,6 +379,10 @@ PK11_GetKeyType(CK_MECHANISM_TYPE type, +@@ -314,6 +314,10 @@ PK11_GetKeyType(CK_MECHANISM_TYPE type, unsigned long len) return CKK_RSA; case CKM_DSA: case CKM_DSA_SHA1: @@ -53,7 +53,7 @@ case CKM_DSA_KEY_PAIR_GEN: return CKK_DSA; case CKM_DH_PKCS_DERIVE: -@@ -389,6 +393,10 @@ PK11_GetKeyType(CK_MECHANISM_TYPE type, +@@ -324,6 +328,10 @@ PK11_GetKeyType(CK_MECHANISM_TYPE type, unsigned long len) return CKK_KEA; case CKM_ECDSA: case CKM_ECDSA_SHA1: @@ -68,7 +68,7 @@ =================================================================== --- nss.orig/lib/softoken/pkcs11c.c +++ nss/lib/softoken/pkcs11c.c -@@ -2933,6 +2933,38 @@ sftk_MLDSAGetSigLen(CK_ML_DSA_PARAMETER_ +@@ -3125,6 +3125,38 @@ sftk_MLDSAGetSigLen(CK_ML_DSA_PARAMETER_SET_TYPE paramSet) return 0; } @@ -107,7 +107,7 @@ /* NSC_SignInit setups up the signing operations. There are three basic * types of signing: * (1) the tradition single part, where "Raw RSA" or "Raw DSA" is applied -@@ -3903,6 +3935,22 @@ NSC_VerifyInit(CK_SESSION_HANDLE hSessio +@@ -4096,6 +4128,22 @@ NSC_VerifyInit(CK_SESSION_HANDLE hSession, info->hashOid = SEC_OID_##mmm; \ goto finish_rsa; @@ -130,7 +130,7 @@ switch (pMechanism->mechanism) { INIT_RSA_VFY_MECH(MD5) INIT_RSA_VFY_MECH(MD2) -@@ -5664,10 +5712,9 @@ sftk_PairwiseConsistencyCheck(CK_SESSION +@@ -5872,10 +5920,9 @@ sftk_PairwiseConsistencyCheck(CK_SESSION_HANDLE hSession, SFTKSlot *slot, canSignVerify = PR_FALSE; } } @@ -146,7 +146,7 @@ =================================================================== --- nss.orig/lib/softoken/softoken.h +++ nss/lib/softoken/softoken.h -@@ -35,6 +35,16 @@ RSA_HashCheckSign(SECOidTag hashOid, NSS +@@ -35,6 +35,16 @@ RSA_HashCheckSign(SECOidTag hashOid, NSSLOWKEYPublicKey *key, const unsigned char *sig, unsigned int sigLen, const unsigned char *hash, unsigned int hashLen); ++++++ nss-fips-drbg-libjitter.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.185653798 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.189653968 +0100 @@ -2,7 +2,7 @@ =================================================================== --- nss.orig/coreconf/Linux.mk +++ nss/coreconf/Linux.mk -@@ -136,7 +136,7 @@ OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLA +@@ -136,7 +136,7 @@ OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) $(ARCHFLAG) -pipe -ffunction-section ifeq ($(KERNEL),Linux) OS_CFLAGS += -DLINUX -Dlinux endif @@ -70,7 +70,7 @@ /* * The next several functions are derived from the NIST SP 800-90 * spec. In these functions, an attempt was made to use names consistent -@@ -180,7 +221,7 @@ static PRCallOnceType coRNGInitEntropy; +@@ -181,7 +222,7 @@ static PRCallOnceType coRNGInitEntropy; static PRStatus prng_initEntropy(void) { @@ -79,7 +79,7 @@ PRUint8 block[PRNG_ENTROPY_BLOCK_SIZE]; SHA256Context ctx; -@@ -203,8 +244,8 @@ prng_initEntropy(void) +@@ -204,8 +245,8 @@ prng_initEntropy(void) /* For FIPS 140-2 4.9.2 continuous random number generator test, * fetch the initial entropy from the system RNG and keep it for * later comparison. */ @@ -90,7 +90,7 @@ coRNGInitEntropy.status = PR_FAILURE; __sync_synchronize (); coRNGInitEntropy.initialized = 1; -@@ -244,8 +285,8 @@ prng_getEntropy(PRUint8 *buffer, size_t +@@ -245,8 +286,8 @@ prng_getEntropy(PRUint8 *buffer, size_t requestLength) * iteratively fetch fixed sized blocks from the system and * compare consecutive blocks. */ while (total < requestLength) { @@ -101,7 +101,7 @@ rv = SECFailure; /* error is already set */ goto out; } -@@ -792,6 +833,7 @@ RNG_RNGShutdown(void) +@@ -794,6 +835,7 @@ RNG_RNGShutdown(void) /* clear */ prng_freeRNGContext(globalrng); globalrng = NULL; ++++++ nss-fips-pairwise-consistency-check.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.215655070 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.218655197 +0100 @@ -14,7 +14,7 @@ =================================================================== --- nss.orig/lib/softoken/pkcs11c.c +++ nss/lib/softoken/pkcs11c.c -@@ -6765,6 +6765,7 @@ NSC_GenerateKeyPair(CK_SESSION_HANDLE hS +@@ -6957,6 +6957,7 @@ NSC_GenerateKeyPair(CK_SESSION_HANDLE hSession, (PRUint32)crv); sftk_LogAuditMessage(NSS_AUDIT_ERROR, NSS_AUDIT_SELF_TEST, msg); } ++++++ nss-fips-pbkdf-kat-compliance.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.236655960 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.239656087 +0100 @@ -2,7 +2,7 @@ =================================================================== --- nss.orig/lib/softoken/lowpbe.c +++ nss/lib/softoken/lowpbe.c -@@ -1755,7 +1755,7 @@ loser: +@@ -1847,7 +1847,7 @@ loser: return ret_algid; } @@ -11,7 +11,7 @@ SECStatus sftk_fips_pbkdf_PowerUpSelfTests(void) { -@@ -1766,19 +1766,21 @@ sftk_fips_pbkdf_PowerUpSelfTests(void) +@@ -1858,19 +1858,21 @@ sftk_fips_pbkdf_PowerUpSelfTests(void) unsigned char keyLen = 64; char *inKeyData = TEST_KEY; static const unsigned char saltData[] = { @@ -43,7 +43,7 @@ }; sftk_PBELockInit(); -@@ -1807,11 +1809,12 @@ sftk_fips_pbkdf_PowerUpSelfTests(void) +@@ -1899,11 +1901,12 @@ sftk_fips_pbkdf_PowerUpSelfTests(void) * for NSSPKCS5_PBKDF2 */ pbe_params.iter = iteration_count; pbe_params.keyLen = keyLen; ++++++ nss-fips-pct-pubkeys.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.252656638 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.257656850 +0100 @@ -5,7 +5,7 @@ =================================================================== --- nss.orig/lib/softoken/pkcs11c.c +++ nss/lib/softoken/pkcs11c.c -@@ -5093,6 +5093,88 @@ loser: +@@ -5682,6 +5682,88 @@ loser: #define PAIRWISE_MESSAGE_LENGTH 20 /* 160-bits */ @@ -94,7 +94,7 @@ /* * FIPS 140-3 pairwise consistency check utilized to validate key pair. * -@@ -5550,6 +5632,30 @@ sftk_PairwiseConsistencyCheck(CK_SESSION +@@ -6216,6 +6298,30 @@ sftk_PairwiseConsistencyCheck(CK_SESSION_HANDLE hSession, SFTKSlot *slot, } } ++++++ nss-fips-test.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.274657570 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.277657697 +0100 @@ -2,7 +2,7 @@ =================================================================== --- nss.orig/tests/cert/cert.sh +++ nss/tests/cert/cert.sh -@@ -1367,8 +1367,8 @@ cert_fips() +@@ -1351,8 +1351,8 @@ cert_fips() echo "$SCRIPTNAME: Enable FIPS mode on database -----------------------" CU_ACTION="Enable FIPS mode on database for ${CERTNAME}" ++++++ nss-fips-tests-enable-fips.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.290658248 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.294658418 +0100 @@ -2,7 +2,7 @@ =================================================================== --- nss.orig/tests/cert/cert.sh +++ nss/tests/cert/cert.sh -@@ -1350,6 +1350,11 @@ cert_stresscerts() +@@ -1334,6 +1334,11 @@ cert_stresscerts() ############################################################################## cert_fips() { @@ -12,9 +12,9 @@ + export NSS_IGNORE_CHECKSUMS=1 + CERTFAILED=0 - echo "$SCRIPTNAME: Creating FIPS 140 DSA Certificates ==============" + echo "$SCRIPTNAME: Creating FIPS 140 Certificates ==============" cert_init_cert "${FIPSDIR}" "FIPS PUB 140 Test Certificate" 1000 "${D_FIPS}" -@@ -1390,6 +1395,8 @@ MODSCRIPT +@@ -1374,6 +1379,8 @@ MODSCRIPT cert_log "SUCCESS: FIPS passed" fi ++++++ nss-fips-zeroization.patch ++++++ --- /var/tmp/diff_new_pack.Pn9Lmp/_old 2026-11-30 14:23:08.316659350 +0100 +++ /var/tmp/diff_new_pack.Pn9Lmp/_new 2026-11-30 14:23:08.319659477 +0100 @@ -18,7 +18,7 @@ =================================================================== --- nss.orig/lib/freebl/aeskeywrap.c +++ nss/lib/freebl/aeskeywrap.c -@@ -102,6 +102,7 @@ AESKeyWrap_DestroyContext(AESKeyWrapCont +@@ -103,6 +103,7 @@ AESKeyWrap_DestroyContext(AESKeyWrapContext *cx, PRBool freeit) { if (cx) { AES_DestroyContext(&cx->aescx, PR_FALSE); @@ -30,7 +30,7 @@ =================================================================== --- nss.orig/lib/freebl/cts.c +++ nss/lib/freebl/cts.c -@@ -37,6 +37,7 @@ CTS_CreateContext(void *context, freeblC +@@ -37,6 +37,7 @@ CTS_CreateContext(void *context, freeblCipherFunc cipher, void CTS_DestroyContext(CTSContext *cts, PRBool freeit) { @@ -38,7 +38,7 @@ if (freeit) { PORT_Free(cts); } -@@ -135,7 +136,7 @@ CTS_EncryptUpdate(CTSContext *cts, unsig +@@ -135,7 +136,7 @@ CTS_EncryptUpdate(CTSContext *cts, unsigned char *outbuf, PORT_Memset(lastBlock + inlen, 0, blocksize - inlen); rv = (*cts->cipher)(cts->context, outbuf, &tmp, maxout, lastBlock, blocksize, blocksize); @@ -47,7 +47,7 @@ if (rv == SECSuccess) { *outlen = written + blocksize; } else { -@@ -230,13 +231,15 @@ CTS_DecryptUpdate(CTSContext *cts, unsig +@@ -230,13 +231,15 @@ CTS_DecryptUpdate(CTSContext *cts, unsigned char *outbuf, rv = (*cts->cipher)(cts->context, outbuf, outlen, maxout, inbuf, fullblocks, blocksize); if (rv != SECSuccess) { @@ -65,7 +65,7 @@ } outbuf += fullblocks; -@@ -280,9 +283,9 @@ CTS_DecryptUpdate(CTSContext *cts, unsig +@@ -280,9 +283,9 @@ CTS_DecryptUpdate(CTSContext *cts, unsigned char *outbuf, rv = (*cts->cipher)(cts->context, Pn, &tmpLen, blocksize, lastBlock, blocksize, blocksize); if (rv != SECSuccess) { @@ -77,7 +77,7 @@ } /* make up for the out of order CBC decryption */ XOR_BLOCK(Pn, Cn_2, blocksize); -@@ -297,7 +300,8 @@ CTS_DecryptUpdate(CTSContext *cts, unsig +@@ -297,7 +300,8 @@ CTS_DecryptUpdate(CTSContext *cts, unsigned char *outbuf, /* clear last block. At this point last block contains Pn xor Cn_1 xor * Cn_2, both of with an attacker would know, so we need to clear this * buffer out */ @@ -92,7 +92,7 @@ =================================================================== --- nss.orig/lib/freebl/dh.c +++ nss/lib/freebl/dh.c -@@ -194,6 +194,10 @@ cleanup: +@@ -103,6 +103,10 @@ cleanup: rv = SECFailure; } if (rv) { @@ -107,7 +107,7 @@ =================================================================== --- nss.orig/lib/freebl/gcm.c +++ nss/lib/freebl/gcm.c -@@ -166,6 +166,9 @@ bmul(uint64_t x, uint64_t y, uint64_t *r +@@ -245,6 +245,9 @@ bmul(uint64_t x, uint64_t y, uint64_t *r_high, uint64_t *r_low) *r_high = (uint64_t)(r >> 64); *r_low = (uint64_t)r; @@ -117,7 +117,7 @@ } SECStatus -@@ -204,6 +207,12 @@ gcm_HashMult_sftw(gcmHashContext *ghash, +@@ -283,6 +286,12 @@ gcm_HashMult_sftw(gcmHashContext *ghash, const unsigned char *buf, } ghash->x_low = ci_low; ghash->x_high = ci_high; @@ -130,7 +130,7 @@ return SECSuccess; } #else -@@ -243,6 +252,10 @@ bmul32(uint32_t x, uint32_t y, uint32_t +@@ -322,6 +331,10 @@ bmul32(uint32_t x, uint32_t y, uint32_t *r_high, uint32_t *r_low) z = z0 | z1 | z2 | z3; *r_high = (uint32_t)(z >> 32); *r_low = (uint32_t)z; @@ -141,7 +141,7 @@ } SECStatus -@@ -328,6 +341,20 @@ gcm_HashMult_sftw32(gcmHashContext *ghas +@@ -407,6 +420,20 @@ gcm_HashMult_sftw(gcmHashContext *ghash, const unsigned char *buf, ghash->x_high = z_high_h; ghash->x_low = z_high_l; }
