On 25 February 2014 10:08, Herbert Xu [off-list ref] wrote:
On Tue, Feb 25, 2014 at 08:21:22AM +0100, Ard Biesheuvel wrote:
quoted
For the authenticate-only data, this is manageable as you are only
dealing with input, but when dealing with both in- and output, as in
the core of CCM, it becomes very tedious.
So instead, I have opted for an inner blkcipher instance which takes
care of all of that. Could you suggest another approach that if
preferable?
I don't think the walk helper actually needs the tfm apart from
getting a couple of parameters out of it, so perhaps we can just
change the helper to not depend on a tfm.
That seems like a less hacky approach.
I'll cook something up and put it on the list.
Cheers,
Ard.