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

Side by Side Diff: openssl/crypto/md5/md5_locl.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/md5/md5_dgst.c ('k') | openssl/crypto/mdc2/Makefile » ('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/md5/md5_locl.h */ 1 /* crypto/md5/md5_locl.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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #include <openssl/md5.h> 62 #include <openssl/md5.h>
63 63
64 #ifndef MD5_LONG_LOG2 64 #ifndef MD5_LONG_LOG2
65 #define MD5_LONG_LOG2 2 /* default to 32 bits */ 65 #define MD5_LONG_LOG2 2 /* default to 32 bits */
66 #endif 66 #endif
67 67
68 #ifdef MD5_ASM 68 #ifdef MD5_ASM
69 # if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL __) || \ 69 # if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL __) || \
70 defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || defined(_M _X64) 70 defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || defined(_M _X64)
71 # define md5_block_data_order md5_block_asm_data_order 71 # define md5_block_data_order md5_block_asm_data_order
72 # elif defined(__ia64) || defined(__ia64__) || defined(_M_IA64)
73 # define md5_block_data_order md5_block_asm_data_order
72 # endif 74 # endif
73 #endif 75 #endif
74 76
75 void md5_block_data_order (MD5_CTX *c, const void *p,size_t num); 77 void md5_block_data_order (MD5_CTX *c, const void *p,size_t num);
76 78
77 #define DATA_ORDER_IS_LITTLE_ENDIAN 79 #define DATA_ORDER_IS_LITTLE_ENDIAN
78 80
79 #define HASH_LONG MD5_LONG 81 #define HASH_LONG MD5_LONG
80 #define HASH_CTX MD5_CTX 82 #define HASH_CTX MD5_CTX
81 #define HASH_CBLOCK MD5_CBLOCK 83 #define HASH_CBLOCK MD5_CBLOCK
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 121
120 #define R2(a,b,c,d,k,s,t) { \ 122 #define R2(a,b,c,d,k,s,t) { \
121 a+=((k)+(t)+H((b),(c),(d))); \ 123 a+=((k)+(t)+H((b),(c),(d))); \
122 a=ROTATE(a,s); \ 124 a=ROTATE(a,s); \
123 a+=b; }; 125 a+=b; };
124 126
125 #define R3(a,b,c,d,k,s,t) { \ 127 #define R3(a,b,c,d,k,s,t) { \
126 a+=((k)+(t)+I((b),(c),(d))); \ 128 a+=((k)+(t)+I((b),(c),(d))); \
127 a=ROTATE(a,s); \ 129 a=ROTATE(a,s); \
128 a+=b; }; 130 a+=b; };
OLDNEW
« no previous file with comments | « openssl/crypto/md5/md5_dgst.c ('k') | openssl/crypto/mdc2/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698