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

Side by Side Diff: openssl/crypto/mdc2/mdc2.h

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 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 | « openssl/crypto/mdc2/Makefile ('k') | openssl/crypto/mdc2/mdc2dgst.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 /* crypto/mdc2/mdc2.h */ 1 /* crypto/mdc2/mdc2.h */
2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * This package is an SSL implementation written 5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com). 6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL. 7 * The implementation was written so as to conform with Netscapes SSL.
8 * 8 *
9 * This library is free for commercial and non-commercial use as long as 9 * This library is free for commercial and non-commercial use as long as
10 * the following conditions are aheared to. The following conditions 10 * the following conditions are aheared to. The following conditions
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 #define MDC2_DIGEST_LENGTH 16 73 #define MDC2_DIGEST_LENGTH 16
74 74
75 typedef struct mdc2_ctx_st 75 typedef struct mdc2_ctx_st
76 { 76 {
77 unsigned int num; 77 unsigned int num;
78 unsigned char data[MDC2_BLOCK]; 78 unsigned char data[MDC2_BLOCK];
79 DES_cblock h,hh; 79 DES_cblock h,hh;
80 int pad_type; /* either 1 or 2, default 1 */ 80 int pad_type; /* either 1 or 2, default 1 */
81 } MDC2_CTX; 81 } MDC2_CTX;
82 82
83 #ifdef OPENSSL_FIPS 83
84 int private_MDC2_Init(MDC2_CTX *c);
85 #endif
86 int MDC2_Init(MDC2_CTX *c); 84 int MDC2_Init(MDC2_CTX *c);
87 int MDC2_Update(MDC2_CTX *c, const unsigned char *data, size_t len); 85 int MDC2_Update(MDC2_CTX *c, const unsigned char *data, size_t len);
88 int MDC2_Final(unsigned char *md, MDC2_CTX *c); 86 int MDC2_Final(unsigned char *md, MDC2_CTX *c);
89 unsigned char *MDC2(const unsigned char *d, size_t n, 87 unsigned char *MDC2(const unsigned char *d, size_t n,
90 unsigned char *md); 88 unsigned char *md);
91 89
92 #ifdef __cplusplus 90 #ifdef __cplusplus
93 } 91 }
94 #endif 92 #endif
95 93
96 #endif 94 #endif
97 95
OLDNEW
« no previous file with comments | « openssl/crypto/mdc2/Makefile ('k') | openssl/crypto/mdc2/mdc2dgst.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698