On Thu, Aug 02, 2007 at 09:41:22AM +0200, Sebastian Siewior wrote:
>
> Okey this makes sense. What about crypto_ctxsize()? Isn't a bug there?
> I can't specify an alignmask of 16 (what I assumed yesterday after a
> part of brain switched to sleep()) because this brakes the ALIGN()
> macro. Isn't s
* Herbert Xu | 2007-08-02 10:30:06 [+0800]:
>> I noticed this, after my code did not work properly. The reason was,
>> that my private ctx was not retrieved with
>> crypto_ablkcipher_ctx_aligned() (attached) but with
>> crypto_ablkcipher_ctx() (and it was not properly aligned anymore).
>> My fault
On Thu, Aug 02, 2007 at 01:02:40AM +0200, Sebastian Siewior wrote:
>
> I noticed this, after my code did not work properly. The reason was,
> that my private ctx was not retrieved with
> crypto_ablkcipher_ctx_aligned() (attached) but with
> crypto_ablkcipher_ctx() (and it was not properly aligned a
Hello Herbert,
about the aligment in the crypto API, I'm lost once again.
In commit f10b7897ee29649fa7f0ccdc8d859ccd6ce7dbfd you extended the
alignment to be as wide as possible (i.e. algo specified 3, natural is
8, do 8).
Currently crypto_ctxsize(), what is used by __crypto_alloc_tfm() in
order