On October 25, 2010 - 21:13, Nikos Mavrogiannopoulos wrote: > I remember I needed an extra flag to use the actual engine in speed. Did > you try openssl speed -evp aes-128-cbc -engine ...?
That did it. I really couldn't find this info anywhere... Do you know why openssl uses the hardware engine only for 128bit aes keys? using -evp aes-192-cbc and -evp aes-256-cbc falls back on the software engine, thou /proc/crypto reads name : cbc(aes) driver : mv-cbc-aes module : mv_cesa priority : 300 refcnt : 1 selftest : passed type : ablkcipher async : yes blocksize : 16 min keysize : 16 max keysize : 32 which makes me think (together with the driver source) that the CESA engine supports 256bit keys... Cheers, Luca _______________________________________________ Cryptodev-linux-devel mailing list Cryptodev-linux-devel@gna.org https://mail.gna.org/listinfo/cryptodev-linux-devel