| Index: crypto/third_party/nss/chromium-sha256.h
|
| diff --git a/net/third_party/nss/ssl/bodge/nssrenam.h b/crypto/third_party/nss/chromium-sha256.h
|
| similarity index 78%
|
| copy from net/third_party/nss/ssl/bodge/nssrenam.h
|
| copy to crypto/third_party/nss/chromium-sha256.h
|
| index 156646cdd2d7b8fe3a79edf38b4c18aced98a623..52815ca7f10d0fb30985f2b5d339d241bc538c9e 100644
|
| --- a/net/third_party/nss/ssl/bodge/nssrenam.h
|
| +++ b/crypto/third_party/nss/chromium-sha256.h
|
| @@ -15,7 +15,7 @@
|
| *
|
| * The Initial Developer of the Original Code is
|
| * Netscape Communications Corporation.
|
| - * Portions created by the Initial Developer are Copyright (C) 2001
|
| + * Portions created by the Initial Developer are Copyright (C) 2002
|
| * the Initial Developer. All Rights Reserved.
|
| *
|
| * Contributor(s):
|
| @@ -34,14 +34,18 @@
|
| *
|
| * ***** END LICENSE BLOCK ***** */
|
|
|
| -#ifndef __nssrenam_h_
|
| -#define __nssrenam_h_
|
| +#ifndef CRYPTO_THIRD_PARTY_NSS_CHROMIUM_SHA_256_H_
|
| +#define CRYPTO_THIRD_PARTY_NSS_CHROMIUM_SHA_256_H_
|
|
|
| -#define CERT_AddTempCertToPerm __CERT_AddTempCertToPerm
|
| -#define PK11_CreateContextByRawKey __PK11_CreateContextByRawKey
|
| -#define CERT_ClosePermCertDB __CERT_ClosePermCertDB
|
| -#define CERT_DecodeDERCertificate __CERT_DecodeDERCertificate
|
| -#define CERT_TraversePermCertsForNickname __CERT_TraversePermCertsForNickname
|
| -#define CERT_TraversePermCertsForSubject __CERT_TraversePermCertsForSubject
|
| +#include "crypto/third_party/nss/chromium-prtypes.h"
|
|
|
| -#endif /* __nssrenam_h_ */
|
| +struct SHA256ContextStr {
|
| + union {
|
| + PRUint32 w[64]; /* message schedule, input buffer, plus 48 words */
|
| + PRUint8 b[256];
|
| + } u;
|
| + PRUint32 h[8]; /* 8 state variables */
|
| + PRUint32 sizeHi,sizeLo; /* 64-bit count of hashed bytes. */
|
| +};
|
| +
|
| +#endif /* CRYPTO_THIRD_PARTY_NSS_CHROMIUM_SHA_256_H_ */
|
|
|