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

Side by Side Diff: openssl/crypto/des/t/test

Issue 2072073002: Delete bundled copy of OpenSSL and replace with README. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/openssl@master
Patch Set: Delete bundled copy of OpenSSL and replace with README. Created 4 years, 6 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
« no previous file with comments | « openssl/crypto/des/str2key.c ('k') | openssl/crypto/des/times/486-50.sol » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!./perl
2
3 BEGIN { push(@INC, qw(../../../lib ../../lib ../lib lib)); }
4
5 use DES;
6
7 $key='00000000';
8 $ks=DES::set_key($key);
9 @a=split(//,$ks);
10 foreach (@a) { printf "%02x-",ord($_); }
11 print "\n";
12
13
14 $key=DES::random_key();
15 print "($_)\n";
16 @a=split(//,$key);
17 foreach (@a) { printf "%02x-",ord($_); }
18 print "\n";
19 $str="this is and again into the breach";
20 ($k1,$k2)=DES::string_to_2keys($str);
21 @a=split(//,$k1);
22 foreach (@a) { printf "%02x-",ord($_); }
23 print "\n";
24 @a=split(//,$k2);
25 foreach (@a) { printf "%02x-",ord($_); }
26 print "\n";
27
OLDNEW
« no previous file with comments | « openssl/crypto/des/str2key.c ('k') | openssl/crypto/des/times/486-50.sol » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698