New year resolution: I've got to remember to attach my patches. :-)
On Nov 28, 2007 7:19 AM, Tan Swee Heng <[EMAIL PROTECTED]> wrote:
> Currently the number of entries in a cipher test vector template is
> limited by TVMEMSIZE/sizeof(struct cipher_testvec). This patch
> circumvents the problem by
Currently the number of entries in a cipher test vector template is
limited by TVMEMSIZE/sizeof(struct cipher_testvec). This patch
circumvents the problem by pointing cipher_tv to each entry in the
template, rather than the template itself.
Signed-off-by: Tan Swee Heng <[EMAIL PROTECTED]>
-
To uns
Hi Herbert,
On Nov 26, 2007 9:21 PM, Herbert Xu <[EMAIL PROTECTED]> wrote:
> Here is my attempt at fixing it and optimising it a bit more.
> The idea is that we should only process partial blocks when
> we're at the end. Otherwise we should do whole blocks.
Great patch! I like it more than mine a
There is no reason to keep the IV in the private structre. Instead keep
just a pointer to make the patch smaller :)
This also remove a few memcpy()s
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/crypto/geode-aes.c |6 ++
drivers/crypto/geode-aes.h |2 +-
2 files cha
32 bit and 64 bit glue code is using (now) the same
piece code. This patch unifies them.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/x86/crypto/Makefile |4 +-
arch/x86/crypto/aes_32.c | 58 --
arch/x86/crypto/{ae
On Tue, 27 Nov 2007 13:03:29 +0800 "rae l" <[EMAIL PROTECTED]> wrote:
> -static void hexdump(unsigned char *buf, unsigned int len)
> +static inline void hexdump(unsigned char *buf, unsigned int len)
> {
> - while (len--)
> - printk("%02x", *buf++);
> -
> - printk("\n");
> +