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

Side by Side Diff: openssl/crypto/rand/rand_lcl.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/rand/rand_err.c ('k') | openssl/crypto/rand/rand_lib.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/rand/rand_lcl.h */ 1 /* crypto/rand/rand_lcl.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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 #define MD_DIGEST_LENGTH MDC2_DIGEST_LENGTH 147 #define MD_DIGEST_LENGTH MDC2_DIGEST_LENGTH
148 #define MD_Init(a) EVP_DigestInit_ex(a,EVP_mdc2(), NULL) 148 #define MD_Init(a) EVP_DigestInit_ex(a,EVP_mdc2(), NULL)
149 #define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_mdc2(), NULL) 149 #define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_mdc2(), NULL)
150 #elif defined(USE_MD2_RAND) 150 #elif defined(USE_MD2_RAND)
151 #include <openssl/md2.h> 151 #include <openssl/md2.h>
152 #define MD_DIGEST_LENGTH MD2_DIGEST_LENGTH 152 #define MD_DIGEST_LENGTH MD2_DIGEST_LENGTH
153 #define MD_Init(a) EVP_DigestInit_ex(a,EVP_md2(), NULL) 153 #define MD_Init(a) EVP_DigestInit_ex(a,EVP_md2(), NULL)
154 #define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_md2(), NULL) 154 #define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_md2(), NULL)
155 #endif 155 #endif
156 156
157 #ifndef OPENSSL_NO_ENGINE
158 void int_RAND_set_callbacks(
159 int (*set_rand_func)(const RAND_METHOD *meth,
160 const RAND_METHOD **pmeth),
161 const RAND_METHOD *(*get_rand_func)
162 (const RAND_METHOD **pmeth));
163 int eng_RAND_set_rand_method(const RAND_METHOD *meth,
164 const RAND_METHOD **pmeth);
165 const RAND_METHOD *eng_RAND_get_rand_method(const RAND_METHOD **pmeth);
166 #endif
167
168 157
169 #endif 158 #endif
OLDNEW
« no previous file with comments | « openssl/crypto/rand/rand_err.c ('k') | openssl/crypto/rand/rand_lib.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698