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

Side by Side Diff: openssl/times/x86/des3s.cpp

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/test/wp_test.c ('k') | openssl/tools/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 // 1 //
2 // gettsc.inl 2 // gettsc.inl
3 // 3 //
4 // gives access to the Pentium's (secret) cycle counter 4 // gives access to the Pentium's (secret) cycle counter
5 // 5 //
6 // This software was written by Leonard Janke (janke@unixg.ubc.ca) 6 // This software was written by Leonard Janke (janke@unixg.ubc.ca)
7 // in 1996-7 and is entered, by him, into the public domain. 7 // in 1996-7 and is entered, by him, into the public domain.
8 8
9 #if defined(__WATCOMC__) 9 #if defined(__WATCOMC__)
10 void GetTSC(unsigned long&); 10 void GetTSC(unsigned long&);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 GetTSC(e1); 53 GetTSC(e1);
54 GetTSC(s2); 54 GetTSC(s2);
55 des_encrypt3(&data[0],key1,key2,key3); 55 des_encrypt3(&data[0],key1,key2,key3);
56 des_encrypt3(&data[0],key1,key2,key3); 56 des_encrypt3(&data[0],key1,key2,key3);
57 des_encrypt3(&data[0],key1,key2,key3); 57 des_encrypt3(&data[0],key1,key2,key3);
58 des_encrypt3(&data[0],key1,key2,key3); 58 des_encrypt3(&data[0],key1,key2,key3);
59 GetTSC(e2); 59 GetTSC(e2);
60 des_encrypt3(&data[0],key1,key2,key3); 60 des_encrypt3(&data[0],key1,key2,key3);
61 } 61 }
62 62
63 » » printf("des %d %d (%d)\n", 63 » » printf("des3 %d %d (%d)\n",
64 e1-s1,e2-s2,((e2-s2)-(e1-s1))); 64 e1-s1,e2-s2,((e2-s2)-(e1-s1)));
65 } 65 }
66 } 66 }
67 67
OLDNEW
« no previous file with comments | « openssl/test/wp_test.c ('k') | openssl/tools/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698