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