-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
On Mon, Nov 09, 2015 at 12:37:46AM +0900, minkyung park wrote: > I'm using cryptodev (in beaglebone black) with openssl. [...] > But when I do SSL_read & SSL_write after TLS handshaking, the speed of AES > encrypt and decrypt does not improved. > (rather decreased) > > I did SSL_read/write 8100 bytes * 100,000 times (Because in openssl speed, > 8192 bytes was improved) > > I checked that it is using cryptodev. > > I changed the bytes size, but it also doesn't work. What results do you get from the various *speed tools in tests/ subdir? Try them once with crypto-engine driver loaded and once without. I suspect the problem is how OpenSSL uses cryptodev interface, which is not optimal IIRC. Maybe also worth trying is GnuTLS, AFAIK cryptodev integration is better there. Cheers, Phil -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlZY+yoACgkQnMPprxY1hCeyQgCeNMogiXCbAtUV8vcvNYPoJ/BB DZYAn26uikAglFzGCZZS65fNWMbfGc13 =roVO -----END PGP SIGNATURE----- _______________________________________________ Cryptodev-linux-devel mailing list Cryptodev-linux-devel@gna.org https://mail.gna.org/listinfo/cryptodev-linux-devel