Removed the class name and provider name of the SUN provider. Instead,
we compare our message digest result with the result of all providers that
support the message digest algorithm. The patch is contributed by Rich
Megginson of Red Hat and improved by Glen Beasley of Sun. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@182517 18797224-902f-48f8-a5cc-f745e15eee43
linker flags for IBM JDK's pathnames. The patch is contributed by Rich
Megginson of Red Hat. r=wtc,glen.beasley.
git-svn-id: svn://10.0.0.236/trunk@182498 18797224-902f-48f8-a5cc-f745e15eee43
Test, and Monte Carlo Test in ECB and CBC modes. Also changed the types
of some variables from int to unsigned int to fix compiler warnings about
signed/unsigned comparisons.
git-svn-id: svn://10.0.0.236/trunk@182269 18797224-902f-48f8-a5cc-f745e15eee43
SECItem pointing to memory allocated with PORT_Alloc, so we don't need to
use PORT_Free to free the SECItem's buffer. r=nelsonb.
git-svn-id: svn://10.0.0.236/trunk@182253 18797224-902f-48f8-a5cc-f745e15eee43
contributed by Grace Lu of HP. Use the .so suffix for shared libraries
on HP-UX IPF. Support building on HP-UX B.11.23. r=wtc.
Modified Files:
coreconf/HP-UX.mk nss/lib/nss/nssinit.c
Added Files:
coreconf/HP-UXB.11.23.mk
git-svn-id: svn://10.0.0.236/trunk@182112 18797224-902f-48f8-a5cc-f745e15eee43
worked on the old Netscape intranet). r=relyea.
Modified Files: OS2.mk command.mk rules.mk
Removed Files: nsinstall/nfspwd nsinstall/nfspwd.pl
git-svn-id: svn://10.0.0.236/trunk@181946 18797224-902f-48f8-a5cc-f745e15eee43
group order using a combination of ANSI X9.62 A.4.1 and FIPS 186-2 Change
Notice 1. Also changed structure of EC key generation functions to match
the scheme used in dsa.c. The patch is contributed by Douglas Stebila
<douglas@stebila.ca> of Sun Labs. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@181739 18797224-902f-48f8-a5cc-f745e15eee43
Documented the return values of ECPoint_validate. Have the tests compare
the return value of ECPoint_validate with MP_NO for negative test cases.
r=doublas.stebila.
Modified Files:
ec.c ecl/ecl.h ecl/tests/ec2_test.c ecl/tests/ecp_test.c
git-svn-id: svn://10.0.0.236/trunk@181732 18797224-902f-48f8-a5cc-f745e15eee43
which caused "gmake clean" to break on a read-only source tree. The patch
is contributed by Benjamin Smedberg <benjamin@smedbergs.us>. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@181688 18797224-902f-48f8-a5cc-f745e15eee43
The problem only happens if we try to import a key into a token which then fails
to import. The basic issue was a hack in the pkcs 7 code to support PKCS 12, A
special structure was used to replace the SymKey structure, and the code 'knew'
the special structure existed before it dealt with the symkey. The fix addes a
new capability to symkeys, where applications can attach application specific
data to the key structure. PKCS 12 uses this to attache the PBE information
for CMS. (part 1 of 3)
This patch also improves the key's reuse of sessions, so sessions are not thrashed
when SSL is used with them.
r=wtc
git-svn-id: svn://10.0.0.236/trunk@181498 18797224-902f-48f8-a5cc-f745e15eee43
Add an extra line to the copyright file to have the same as NSS and NSPR.
git-svn-id: svn://10.0.0.236/trunk@181257 18797224-902f-48f8-a5cc-f745e15eee43
DSA_GenerateGlobalRandomBytes. prng_fips1861.c: implemented Algorithm 1
of FIPS 186-2 Change Notice 1 and increased the size (b) of the RNG's
seed-key from 160 bits to 256 bits. r=relyea,nelsonb.
git-svn-id: svn://10.0.0.236/trunk@181234 18797224-902f-48f8-a5cc-f745e15eee43
r=nelson
This is only the NSS portion of this patch. The PSM portion will be checked in once the
NSS portion is mainlined to mozilla.
git-svn-id: svn://10.0.0.236/trunk@181223 18797224-902f-48f8-a5cc-f745e15eee43
variants rather than just say we do. done in the context of bug 30887
r=nelson
git-svn-id: svn://10.0.0.236/trunk@181201 18797224-902f-48f8-a5cc-f745e15eee43