summaryrefslogtreecommitdiffstats
path: root/crypto/third_party/nss/README.chromium
blob: f0bb87bcd1c7775dc7ddea8e638025d8d7f936fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Name: Network Security Services (NSS)
URL: http://www.mozilla.org/projects/security/pki/nss/
License: MPL 1.1/GPL 2.0/LGPL 2.1

We extracted the SHA-256 source files, eliminated unneeded dependencies,
deleted or commented out unused code, and tweaked them for Chrome's source
tree.  sha512.c is renamed sha512.cc so that it can include Chrome's C++
header "base/basictypes.h".  We define NOUNROLL256 to reduce the object code
size.

In blapi.h and sha512.cc, replaced uint32 by unsigned int so that they can
be compiled with -DNO_NSPR_10_SUPPORT.  NO_NSPR_10_SUPPORT turns off the
definition of the NSPR 1.0 types int8 - int64 and uint8 - uint64 to avoid
conflict with the same-named types defined in "base/basictypes.h".