On 10/25/2010 07:08 PM, Luca Niccoli wrote: > I compiled and tested both 0.7 and git > (ad67bbd1ae0b366455c9ca61334399930fc43ae2); I can successfully use the > example programs and the CESA crypto engine of my openrd board is used > (I can see it from the speedup and /proc/interrupts). > I refreshed the patches included in extra/ and compiled > openssl-0.9.8o; the cryptodev engine is built, but if I try openssl > speed aes -engine cryptodev, the hardware engine is not used (no > speedup and interrupts not increasing for mv_crypto). > Here is a dmesg excerpt; the crypto_create_session and > crypto_destroy_session happens before the actual speed test; I poked a > bit with gdb and it happens in cryptodev_engine_ciphers(); but I can't > figure the problem.
I remember I needed an extra flag to use the actual engine in speed. Did you try openssl speed -evp aes-128-cbc -engine ...? _______________________________________________ Cryptodev-linux-devel mailing list Cryptodev-linux-devel@gna.org https://mail.gna.org/listinfo/cryptodev-linux-devel