Re: [PATCH 5/5] crypto: AES CBC multi-buffer glue code

2015-10-29 Thread Tim Chen
On Thu, 2015-10-29 at 09:19 -0700, Tim Chen wrote: > On Thu, 2015-10-29 at 03:03 +0100, Stephan Mueller wrote: > > Am Mittwoch, 28. Oktober 2015, 14:19:29 schrieb Tim Chen: > > > > Hi Tim, > > > > >+ > > >+ /* check for dependent cpu features */ > > >+ if (!cpu_has_aes) { > > >+ pr_err

Re: [PATCH 5/5] crypto: AES CBC multi-buffer glue code

2015-10-29 Thread Tim Chen
On Thu, 2015-10-29 at 03:03 +0100, Stephan Mueller wrote: > Am Mittwoch, 28. Oktober 2015, 14:19:29 schrieb Tim Chen: > > Hi Tim, > > >+ > >+/* check for dependent cpu features */ > >+if (!cpu_has_aes) { > >+pr_err("aes_cbc_mb_mod_init: no aes support\n"); > >+err

Re: [PATCH 5/5] crypto: AES CBC multi-buffer glue code

2015-10-28 Thread Stephan Mueller
Am Mittwoch, 28. Oktober 2015, 14:19:29 schrieb Tim Chen: Hi Tim, >+ >+ /* check for dependent cpu features */ >+ if (!cpu_has_aes) { >+ pr_err("aes_cbc_mb_mod_init: no aes support\n"); >+ err = -ENODEV; >+ goto err1; >+ } In your post 0/5, y

[PATCH 5/5] crypto: AES CBC multi-buffer glue code

2015-10-28 Thread Tim Chen
This patch introduces the multi-buffer job manager which is responsible for submitting scatter-gather buffers from several AES CBC jobs to the multi-buffer algorithm. The glue code interfaces with the underlying algorithm that handles 8 data streams of AES CBC encryption in parallel. AES key expan