Re: simd ciphers

2016-12-30 Thread Stephan Müller
Am Donnerstag, 29. Dezember 2016, 17:44:15 CET schrieb Herbert Xu: Hi Herbert, > On Wed, Dec 28, 2016 at 12:21:52PM +0100, Stephan Müller wrote: > > This patch does not help. But I now found the issue: we need some Kconfig > > wizardry to mandate pcbc to be compiled statically when AES-NI is stat

Re: simd ciphers

2016-12-29 Thread Herbert Xu
On Wed, Dec 28, 2016 at 12:21:52PM +0100, Stephan Müller wrote: > > This patch does not help. But I now found the issue: we need some Kconfig > wizardry to mandate pcbc to be compiled statically when AES-NI is static. > Currently I had pcbc always as a module even when selecting AES-NI as static

Re: simd ciphers

2016-12-28 Thread Stephan Müller
Am Mittwoch, 28. Dezember 2016, 18:28:26 CET schrieb Herbert Xu: Hi Herbert, > On Wed, Dec 28, 2016 at 11:00:51AM +0100, Stephan Müller wrote: > > When I configure AES-NI as module, it works. When compiling it statically, > > the allocation returns an -ENOENT. > > > > Now, when I diff both confi

Re: simd ciphers

2016-12-28 Thread Herbert Xu
On Wed, Dec 28, 2016 at 11:00:51AM +0100, Stephan Müller wrote: > > When I configure AES-NI as module, it works. When compiling it statically, > the > allocation returns an -ENOENT. > > Now, when I diff both config files after a simple toggle from AES-NI=y to =m > I > see (linux-4.10.config c

Re: simd ciphers

2016-12-28 Thread Stephan Müller
Am Mittwoch, 28. Dezember 2016, 16:59:38 CET schrieb Herbert Xu: Hi Herbert, > > With 4.10-rc1, I also do not get the AES-NI implementations to work. do > > you > > have any ideas what may be the issue? > > I'm having problems reproducing this. Does it work for you if you > build them as module

Re: simd ciphers

2016-12-28 Thread Herbert Xu
On Wed, Dec 28, 2016 at 09:37:04AM +0100, Stephan Müller wrote: > Am Donnerstag, 8. Dezember 2016, 19:40:38 CET schrieb Stephan Müller: > > Hi Herbert, > > > Am Donnerstag, 8. Dezember 2016, 19:32:03 CET schrieb Stephan Müller: > > > > Hi Herbert, > > > > > Hi Herbert, > > > > > > with the add

Re: simd ciphers

2016-12-28 Thread Stephan Müller
Am Donnerstag, 8. Dezember 2016, 19:40:38 CET schrieb Stephan Müller: Hi Herbert, > Am Donnerstag, 8. Dezember 2016, 19:32:03 CET schrieb Stephan Müller: > > Hi Herbert, > > > Hi Herbert, > > > > with the addition of the simd cipher change I seem to be unable to use the > > AESNI ciphers. My .

Re: simd ciphers

2016-12-08 Thread Stephan Müller
Am Donnerstag, 8. Dezember 2016, 19:32:03 CET schrieb Stephan Müller: Hi Herbert, > Hi Herbert, > > with the addition of the simd cipher change I seem to be unable to use the > AESNI ciphers. My .config contains CONFIG_CRYPTO_SIMD=y and > CONFIG_CRYPTO_AES_NI_INTEL=y. Those options always worked