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

Side by Side Diff: nss/lib/util/secdig.h

Issue 105893015: Update third_party/nss to NSS 3.15.4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Remove SVN property on new file nss/lib/freebl/rsapkcs.c Created 6 years, 11 months 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
« no previous file with comments | « nss/lib/util/nssutil.h ('k') | nss/lib/util/secdig.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * crypto.h - public data structures and prototypes for the crypto library 2 * crypto.h - public data structures and prototypes for the crypto library
3 * 3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public 4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 7
8 #ifndef _SECDIG_H_ 8 #ifndef _SECDIG_H_
9 #define _SECDIG_H_ 9 #define _SECDIG_H_
10 10
(...skipping 22 matching lines...) Expand all
33 ** "sig" the raw signature data (from MD2 or MD5) 33 ** "sig" the raw signature data (from MD2 or MD5)
34 ** "sigLen" the length of the signature data 34 ** "sigLen" the length of the signature data
35 ** 35 **
36 ** NOTE: this is a low level routine used to prepare some data for PKCS#1 36 ** NOTE: this is a low level routine used to prepare some data for PKCS#1
37 ** digital signature formatting. 37 ** digital signature formatting.
38 ** 38 **
39 ** XXX It might be nice to combine the create and encode functions. 39 ** XXX It might be nice to combine the create and encode functions.
40 ** I think that is all anybody ever wants to do anyway. 40 ** I think that is all anybody ever wants to do anyway.
41 */ 41 */
42 extern SGNDigestInfo *SGN_CreateDigestInfo(SECOidTag algorithm, 42 extern SGNDigestInfo *SGN_CreateDigestInfo(SECOidTag algorithm,
43 » » » » » unsigned char *sig, 43 » » » » » const unsigned char *sig,
44 unsigned int sigLen); 44 unsigned int sigLen);
45 45
46 /* 46 /*
47 ** Destroy a digest-info object 47 ** Destroy a digest-info object
48 */ 48 */
49 extern void SGN_DestroyDigestInfo(SGNDigestInfo *info); 49 extern void SGN_DestroyDigestInfo(SGNDigestInfo *info);
50 50
51 /* 51 /*
52 ** Encode a digest-info object 52 ** Encode a digest-info object
53 ** "poolp" is where to allocate the result from; it can be NULL in 53 ** "poolp" is where to allocate the result from; it can be NULL in
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 /* 94 /*
95 ** Compare two digest-info objects, returning the difference between 95 ** Compare two digest-info objects, returning the difference between
96 ** them. 96 ** them.
97 */ 97 */
98 extern SECComparison SGN_CompareDigestInfo(SGNDigestInfo *a, SGNDigestInfo *b); 98 extern SECComparison SGN_CompareDigestInfo(SGNDigestInfo *a, SGNDigestInfo *b);
99 99
100 100
101 SEC_END_PROTOS 101 SEC_END_PROTOS
102 102
103 #endif /* _SECDIG_H_ */ 103 #endif /* _SECDIG_H_ */
OLDNEW
« no previous file with comments | « nss/lib/util/nssutil.h ('k') | nss/lib/util/secdig.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698