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

Side by Side Diff: openssl/crypto/idea/idea.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/idea/i_skey.c ('k') | openssl/crypto/install.com » ('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/idea/idea.h */ 1 /* crypto/idea/idea.h */
2 /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) 2 /* Copyright (C) 1995-1997 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 #endif 76 #endif
77 77
78 typedef struct idea_key_st 78 typedef struct idea_key_st
79 { 79 {
80 IDEA_INT data[9][6]; 80 IDEA_INT data[9][6];
81 } IDEA_KEY_SCHEDULE; 81 } IDEA_KEY_SCHEDULE;
82 82
83 const char *idea_options(void); 83 const char *idea_options(void);
84 void idea_ecb_encrypt(const unsigned char *in, unsigned char *out, 84 void idea_ecb_encrypt(const unsigned char *in, unsigned char *out,
85 IDEA_KEY_SCHEDULE *ks); 85 IDEA_KEY_SCHEDULE *ks);
86 #ifdef OPENSSL_FIPS
87 void private_idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *k s);
88 #endif
89 void idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks); 86 void idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks);
90 void idea_set_decrypt_key(const IDEA_KEY_SCHEDULE *ek, IDEA_KEY_SCHEDULE *dk); 87 void idea_set_decrypt_key(IDEA_KEY_SCHEDULE *ek, IDEA_KEY_SCHEDULE *dk);
91 void idea_cbc_encrypt(const unsigned char *in, unsigned char *out, 88 void idea_cbc_encrypt(const unsigned char *in, unsigned char *out,
92 long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv,int enc); 89 long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv,int enc);
93 void idea_cfb64_encrypt(const unsigned char *in, unsigned char *out, 90 void idea_cfb64_encrypt(const unsigned char *in, unsigned char *out,
94 long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv, 91 long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv,
95 int *num,int enc); 92 int *num,int enc);
96 void idea_ofb64_encrypt(const unsigned char *in, unsigned char *out, 93 void idea_ofb64_encrypt(const unsigned char *in, unsigned char *out,
97 long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv, int *num); 94 long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv, int *num);
98 void idea_encrypt(unsigned long *in, IDEA_KEY_SCHEDULE *ks); 95 void idea_encrypt(unsigned long *in, IDEA_KEY_SCHEDULE *ks);
99 #ifdef __cplusplus 96 #ifdef __cplusplus
100 } 97 }
101 #endif 98 #endif
102 99
103 #endif 100 #endif
OLDNEW
« no previous file with comments | « openssl/crypto/idea/i_skey.c ('k') | openssl/crypto/install.com » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698