* Measure performance for sha224, sha256, sha384, and sha512 Signed-off-by: Jacob Stiffler <[email protected]> --- v2 changes * Add "-elapsed" flag to new tests
.../openssl_perf_scripts/openssl_perf.sh | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/cryptos_apps_program/openssl_perf_scripts/openssl_perf.sh b/cryptos_apps_program/openssl_perf_scripts/openssl_perf.sh index 5a2a2fd..c389567 100644 --- a/cryptos_apps_program/openssl_perf_scripts/openssl_perf.sh +++ b/cryptos_apps_program/openssl_perf_scripts/openssl_perf.sh @@ -20,7 +20,7 @@ fi echo "################################" echo "Running OpenSSL Speed tests. " -echo "There are 7 tests and each takes 15 seconds..." +echo "There are 11 tests and each takes 15 seconds..." echo TEMP=/home/root/temp @@ -49,6 +49,22 @@ echo "Running sha1 test. Please Wait..." time -v $OPENSSL speed -evp sha1 -engine cryptodev -elapsed > $TEMP 2>&1 egrep 'Doing|User|System|Percent|Elapsed' $TEMP +echo "Running sha224 test. Please Wait..." +time -v $OPENSSL speed -evp sha224 -engine cryptodev -elapsed > $TEMP 2>&1 +egrep 'Doing|User|System|Percent|Elapsed' $TEMP + +echo "Running sha256 test. Please Wait..." +time -v $OPENSSL speed -evp sha256 -engine cryptodev -elapsed > $TEMP 2>&1 +egrep 'Doing|User|System|Percent|Elapsed' $TEMP + +echo "Running sha384 test. Please Wait..." +time -v $OPENSSL speed -evp sha384 -engine cryptodev -elapsed > $TEMP 2>&1 +egrep 'Doing|User|System|Percent|Elapsed' $TEMP + +echo "Running sha512 test. Please Wait..." +time -v $OPENSSL speed -evp sha512 -engine cryptodev -elapsed > $TEMP 2>&1 +egrep 'Doing|User|System|Percent|Elapsed' $TEMP + echo "Running md5 test. Please Wait..." time -v $OPENSSL speed -evp md5 -engine cryptodev -elapsed > $TEMP 2>&1 egrep 'Doing|User|System|Percent|Elapsed' $TEMP -- 1.9.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
