Re: [PATCH 2/4] crypto: ccm - switch to separate cbcmac driver

2017-01-27 Thread Ard Biesheuvel
On 26 January 2017 at 17:17, Ard Biesheuvel wrote: > Update the generic CCM driver to defer CBC-MAC processing to a > dedicated CBC-MAC ahash transform rather than open coding this > transform (and much of the associated scatterwalk plumbing) in > the CCM driver itself. > > This cleans up the code

[PATCH 2/4] crypto: ccm - switch to separate cbcmac driver

2017-01-26 Thread Ard Biesheuvel
Update the generic CCM driver to defer CBC-MAC processing to a dedicated CBC-MAC ahash transform rather than open coding this transform (and much of the associated scatterwalk plumbing) in the CCM driver itself. This cleans up the code considerably, but more importantly, it allows the use of alter