Re: [Cryptodev-linux-devel] [PATCH] adjust to API changes in kernel >=4.10

2017-02-08 Thread Frediano Ziglio
2017-02-08 10:11 GMT+00:00 Cristian Stoica : > There are many changes related to get_user_pages and the code is rewritten > for clarity. > > Signed-off-by: Cristian Stoica > --- > zc.c | 28 +--- > 1 file changed, 17 insertions(+), 11 deletions(-) > > diff --git a/zc.c b/z

Re: [Cryptodev-linux-devel] [PATCH] Fix ablkcipher algorithms usage in v4.8+ kernels

2017-02-08 Thread Horia Geantă
Phil? On 11/17/2016 10:58 AM, Horia Geanta Neag wrote: > Forgot to Cc Michael Weiser. > > On 11/17/2016 10:20 AM, Horia Geantă wrote: >> ablkcipher API is not completely removed from kernels <= v4.9. >> Thus it's still valid to use ablkcipher algorithms. >> >> Fix the case when implementers regis

Re: [Cryptodev-linux-devel] [PATCH] adjust to API changes in kernel >=4.10

2017-02-08 Thread Phil Sutter
On Wed, Feb 08, 2017 at 12:11:04PM +0200, Cristian Stoica wrote: > There are many changes related to get_user_pages and the code is rewritten > for clarity. > > Signed-off-by: Cristian Stoica Applied, thanks! ___ Cryptodev-linux-devel mailing list Cry

Re: [Cryptodev-linux-devel] Question regarding cryptodev using hardware acceleration for FIPS validation

2017-02-08 Thread Phil Sutter
Hi, On Thu, Feb 02, 2017 at 10:04:56AM -0800, Chirag Shahani wrote: > The accelerated algo. is in use when the code is run on a h/w box which has > the C2xxx SoC with QAT 1.5. > > *O/p from /proc/crypto*: > > name : authenc(hmac(sha512),cbc(des3_ede)) > driver : icp_qat_des3_cbc_sh

[Cryptodev-linux-devel] [PATCH] adjust to API changes in kernel >=4.10

2017-02-08 Thread Cristian Stoica
There are many changes related to get_user_pages and the code is rewritten for clarity. Signed-off-by: Cristian Stoica --- zc.c | 28 +--- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/zc.c b/zc.c index e766ee3..2f4ea99 100644 --- a/zc.c +++ b/zc.c @@ -5