Re: [Cryptodev-linux-devel] Problem with OpenSSH/OpenSSL Interaction When Cryptodev is Used

2015-05-27 Thread Phil Sutter
On Wed, May 27, 2015 at 10:36:29PM +0100, Gordan Bobic wrote: > What do I need to change in which file to disable 0-copy? Have a look at main.c, line 239: | if (cop->flags & COP_FLAG_NO_ZC) | ret = __crypto_run_std(ses_ptr, &kcop->cop); | else | ret = __crypto_run_zc(ses_ptr,

Re: [Cryptodev-linux-devel] Problem with OpenSSH/OpenSSL Interaction When Cryptodev is Used

2015-05-27 Thread Gordan Bobic
On 2015-05-27 20:34, Phil Sutter wrote: On Wed, May 27, 2015 at 11:20:28AM +0100, Gordan Bobic wrote: On 2015-05-27 11:07, Phil Sutter wrote: > Hi, > > On Wed, May 27, 2015 at 10:25:00AM +0100, Gordan Bobic wrote: >> ./cipher-aead-srtp >> ioctl(CIOCGSESSION): Invalid argument > > Not sure if thi

Re: [Cryptodev-linux-devel] Problem with OpenSSH/OpenSSL Interaction When Cryptodev is Used

2015-05-27 Thread Phil Sutter
On Wed, May 27, 2015 at 11:20:28AM +0100, Gordan Bobic wrote: > On 2015-05-27 11:07, Phil Sutter wrote: > > Hi, > > > > On Wed, May 27, 2015 at 10:25:00AM +0100, Gordan Bobic wrote: > >> ./cipher-aead-srtp > >> ioctl(CIOCGSESSION): Invalid argument > > > > Not sure if this should succeed at all,

Re: [Cryptodev-linux-devel] Problem with OpenSSH/OpenSSL Interaction When Cryptodev is Used

2015-05-27 Thread Gordan Bobic
On 2015-05-27 11:07, Phil Sutter wrote: Hi, On Wed, May 27, 2015 at 10:25:00AM +0100, Gordan Bobic wrote: ./cipher-aead-srtp ioctl(CIOCGSESSION): Invalid argument Not sure if this should succeed at all, at least that's not my code. ;) # ./hmac_comp requested cipher CRYPTO_AES_CBC and mac CR

Re: [Cryptodev-linux-devel] Problem with OpenSSH/OpenSSL Interaction When Cryptodev is Used

2015-05-27 Thread Phil Sutter
Hi, On Wed, May 27, 2015 at 10:25:00AM +0100, Gordan Bobic wrote: > ./cipher-aead-srtp > ioctl(CIOCGSESSION): Invalid argument Not sure if this should succeed at all, at least that's not my code. ;) > # ./hmac_comp > requested cipher CRYPTO_AES_CBC and mac CRYPTO_SHA1_HMAC, got cipher > cbc(aes

Re: [Cryptodev-linux-devel] Problem with OpenSSH/OpenSSL Interaction When Cryptodev is Used

2015-05-27 Thread Gordan Bobic
On 2015-05-27 01:08, Phil Sutter wrote: Hi, On Tue, May 26, 2015 at 07:29:34PM +0100, Gordan Bobic wrote: A bit of extra info, with cryptodev_verbosity=2, on 0.9 when the error occurs: cryptodev: sshd[1205]: invalid session ID=0xAADBA6A0 With 1.7: cryptodev: sshd[1520] (fill_kcop_from_cop:647)