On 06/24/2014 01:25 PM, Joel Fernandes wrote: > On 06/24/2014 11:42 AM, Nikos Mavrogiannopoulos wrote: >> On Tue, Jun 24, 2014 at 6:29 PM, Joel Fernandes <jo...@ti.com> wrote: >> >>>>>> I'm using OpenSSL 1.0.1g with cryptodev-linux v1.6 loaded, when I run >>>>>> the following: >>>>> Do you use the cryptodev.c from the openssl project or the one >>>>> included in cryptodev-linux? The shipped cryptodev.c in openssl had >>>>> some bugs that are fixed in the cryptodev-linux version. >>>> Hi Nikos, >>>> I am using extras/eng_cryptodev.c from cryptodev-linux (copied to >>>> OpenSSL and recompiled). >>> Just adding, I always was using the eng_cryptodev.c from >>> cryptodev-linux. Even with that, 50% of the scp and 100% of wget from an >>> https server fails with just cryptodev-linux module loaded. openssl >>> speed tests don't show any issues. The scp behavior specially is >>> intermittent. >> >> So you have recompiled openssl as I understand. Did you run make check >> after compiling openssl? If it does fail it may be an issue in your >> accelerator and in that case you should use cryptodev-linux from git >> and try restricting the issue to the particular subsystem (e.g., >> hash/cipher), and if possible figure the actual calls that failed. >> > > I tried disabling hash by removing -DUSE_CRYPTODEV_DIGESTS from > Makefile, however cryptodev_hash still seems to be called as a part of > CIOCRYPT. > > Why is hashing done during encryption? Any other way of isolating cipher > vs hash for debugging this? >
It turns out that I had a stale version of libcrypto on my filesystem that was being loaded. It now works without any issues. Thanks Nikos and sorry about the noise. Regards, -Joel _______________________________________________ Cryptodev-linux-devel mailing list Cryptodev-linux-devel@gna.org https://mail.gna.org/listinfo/cryptodev-linux-devel