1*ebfedea0SLionel Sambuc#!/bin/sh 2*ebfedea0SLionel Sambuc 3*ebfedea0SLionel Sambuc# 4*ebfedea0SLionel Sambuc# This is a ugly script use, in conjuction with editing the 'b' 5*ebfedea0SLionel Sambuc# configuration in the $(TOP)/Configure script which will 6*ebfedea0SLionel Sambuc# output when finished a file called speed.log which is the 7*ebfedea0SLionel Sambuc# timings of SSLeay with various options turned on or off. 8*ebfedea0SLionel Sambuc# 9*ebfedea0SLionel Sambuc# from the $(TOP) directory 10*ebfedea0SLionel Sambuc# Edit Configure, modifying things to do with the b/bl-4c-2c etc 11*ebfedea0SLionel Sambuc# configurations. 12*ebfedea0SLionel Sambuc# 13*ebfedea0SLionel Sambuc 14*ebfedea0SLionel Sambucmake clean 15*ebfedea0SLionel Sambucperl Configure b 16*ebfedea0SLionel Sambucmake 17*ebfedea0SLionel Sambucapps/ssleay version -v -b -f >speed.1 18*ebfedea0SLionel Sambucapps/ssleay speed >speed.1l 19*ebfedea0SLionel Sambuc 20*ebfedea0SLionel Sambucperl Configure bl-4c-2c 21*ebfedea0SLionel Sambuc/bin/rm -f crypto/rc4/*.o crypto/bn/bn*.o crypto/md2/md2_dgst.o 22*ebfedea0SLionel Sambucmake 23*ebfedea0SLionel Sambucapps/ssleay speed rc4 rsa md2 >speed.2l 24*ebfedea0SLionel Sambuc 25*ebfedea0SLionel Sambucperl Configure bl-4c-ri 26*ebfedea0SLionel Sambuc/bin/rm -f crypto/rc4/rc4*.o 27*ebfedea0SLionel Sambucmake 28*ebfedea0SLionel Sambucapps/ssleay speed rc4 >speed.3l 29*ebfedea0SLionel Sambuc 30*ebfedea0SLionel Sambucperl Configure b2-is-ri-dp 31*ebfedea0SLionel Sambuc/bin/rm -f crypto/idea/i_*.o crypto/rc4/*.o crypto/des/ecb_enc.o crypto/bn/bn*.o 32*ebfedea0SLionel Sambucapps/ssleay speed rsa rc4 idea des >speed.4l 33*ebfedea0SLionel Sambuc 34*ebfedea0SLionel Sambuccat speed.1 >speed.log 35*ebfedea0SLionel Sambuccat speed.1l >>speed.log 36*ebfedea0SLionel Sambucperl util/sp-diff.pl speed.1l speed.2l >>speed.log 37*ebfedea0SLionel Sambucperl util/sp-diff.pl speed.1l speed.3l >>speed.log 38*ebfedea0SLionel Sambucperl util/sp-diff.pl speed.1l speed.4l >>speed.log 39*ebfedea0SLionel Sambuc 40