Re: on stack dynamic allocations

2012-08-17 Thread Jussi Kivilinna
Quoting David Daney : On 08/16/2012 02:20 PM, Kasatkin, Dmitry wrote: Hello, Some places in the code uses variable-size allocation on stack.. For example from hmac_setkey(): struct { struct shash_desc shash; char ctx[crypto_shash_descsize(hash)];

Re: [PATCH] crypto: twofish - add x86_64/avx assembler implementation

2012-08-17 Thread Jussi Kivilinna
Quoting Borislav Petkov : > > Yep, looks better than the previous run and also a bit better or on par > with the initial run I did. > I made few further changes, mainly moving/interleaving 'vmovq/vpextrq' ahead so they should be completed before those target registers are needed. This only gave 0