On Sun, Sep 23, 2012 at 11:23:19PM +0200, Lluís Batlle i Rossell wrote:
> I've openssl working well with AES, but I find that sha1 is not working.
> 
> Specifically, this 3.5.4 reports on dmesg:
> MV-CESA:Fallback driver 'hmac(sha1)' could not be loaded!
> MV-CESA:Fallback driver 'sha1' could not be loaded!
> 
> This happens every time I run something doing sha1 in openssl. Let it be 
> openssl
> speed, or a new openssh connection.
> 
> openssl speed -evp sha1
> reports a very slow speed.
> 
> Simply, I noticed that openssh transfers took a lot of time, and I thought it
> was due to this sha1 problem. "perf top" points at openssh doing lots of
> libcrypto:sha1, while cesa does the AES.
> 
> Any idea what happens? Why cesa is not accelerating the sha1?

Oh I think I see it. The mv_cesa wants a fallback for sha1, like a software
sha1. My kernel lacked CRYPTO_SHA1.

I'll try rebuilding the kernel with it.

Regards,
Lluís.

_______________________________________________
Cryptodev-linux-devel mailing list
Cryptodev-linux-devel@gna.org
https://mail.gna.org/listinfo/cryptodev-linux-devel

Reply via email to