README.chromium
1Name: Network Security Services (NSS)
2URL: http://www.mozilla.org/projects/security/pki/nss/
3License: MPL 1.1/GPL 2.0/LGPL 2.1
4
5We extracted the SHA-256 source files, eliminated unneeded dependencies,
6deleted or commented out unused code, and tweaked them for Chrome's source
7tree. sha512.c is renamed sha512.cc so that it can include Chrome's C++
8header "base/basictypes.h". We define NOUNROLL256 to reduce the object code
9size.
10
11In blapi.h and sha512.cc, replaced uint32 by unsigned int so that they can
12be compiled with -DNO_NSPR_10_SUPPORT. NO_NSPR_10_SUPPORT turns off the
13definition of the NSPR 1.0 types int8 - int64 and uint8 - uint64 to avoid
14conflict with the same-named types defined in "base/basictypes.h".
15
16rsawrapr.c is copied from nss/lib/softoken/rsawrapr.c, with
17HASH_GetRawHashObject changed to HASH_GetHashObject. It contains the
18emsa_pss_verify function for verifying RSA-PSS signatures.
19