#!/bin/bash in_file_bin=$1 openssl10 version echo "remove cryptodev => openssl SW implementation" modprobe -r cryptodev echo "md5 w/ openssl SW implementation" openssl10 dgst -md5 $in_file_bin echo "install cryptodev => openssl crypto HW engine" modprobe cryptodev echo "md5 w/ openssl HW crypto engine implementation" openssl10 dgst -md5 -engine cryptodev $in_file_bin