Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(634)

Side by Side Diff: mozilla/security/nss/lib/util/hasht.h

Issue 11362174: Update NSS to NSS 3.14 pre-release snapshot 2012-06-28 01:00:00 PDT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Update the snapshot timestamp in README.chromium Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* This Source Code Form is subject to the terms of the Mozilla Public 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 /* $Id: hasht.h,v 1.9 2012/04/25 14:49:43 gerv%gerv.net Exp $ */ 4 /* $Id: hasht.h,v 1.10 2012/06/26 22:27:33 rrelyea%redhat.com Exp $ */
5 5
6 #ifndef _HASHT_H_ 6 #ifndef _HASHT_H_
7 #define _HASHT_H_ 7 #define _HASHT_H_
8 8
9 /* Opaque objects */ 9 /* Opaque objects */
10 typedef struct SECHashObjectStr SECHashObject; 10 typedef struct SECHashObjectStr SECHashObject;
11 typedef struct HASHContextStr HASHContext; 11 typedef struct HASHContextStr HASHContext;
12 12
13 /* 13 /*
14 * The hash functions the security library supports 14 * The hash functions the security library supports
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 void (*end)(void *, unsigned char *, unsigned int *, unsigned int); 51 void (*end)(void *, unsigned char *, unsigned int *, unsigned int);
52 unsigned int blocklength; /* hash input block size (in bytes) */ 52 unsigned int blocklength; /* hash input block size (in bytes) */
53 HASH_HashType type; 53 HASH_HashType type;
54 }; 54 };
55 55
56 struct HASHContextStr { 56 struct HASHContextStr {
57 const struct SECHashObjectStr *hashobj; 57 const struct SECHashObjectStr *hashobj;
58 void *hash_context; 58 void *hash_context;
59 }; 59 };
60 60
61 /* This symbol is NOT exported from the NSS DLL. Code that needs a
62 * pointer to one of the SECHashObjects should call HASH_GetHashObject()
63 * instead. See "sechash.h".
64 */
65 extern const SECHashObject SECHashObjects[];
66
67 /* Only those functions below the PKCS #11 line should use SECRawHashObjects.
68 * This symbol is not exported from the NSS DLL.
69 */
70 extern const SECHashObject SECRawHashObjects[];
71
72 #endif /* _HASHT_H_ */ 61 #endif /* _HASHT_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698