Hello Herbert,
I noticed that the tcrypt module got really fat. Don't worry, it is still
less than the nvidia blob :)
Patch
- #1 replaces the memcpy of the struct to something that works with
pointers. I noticed that some tests failed without doing this.
- #2 is the big diet. A copy of the patch is at [1] in case it does not
pass the list filters.
- #3 changes one of the XTEA test vectors because the test vector itself
seems to be wrong (and nobody noticed this before).
[1] http://download.breakpoint.cc/0002-crypto-shrink-the-tcrypt-module.patch 575 KiB
Sebastian
--
Hi Sebastian:
On Sun, Feb 03, 2008 at 01:55:24PM +0100, Sebastian Siewior wrote:
> Hello Herbert,
>
> I noticed that the tcrypt module got really fat. Don't worry, it is still
> less than the nvidia blob :)
> Patch
> - #1 replaces the memcpy of the struct to something that works with
> pointers. I noticed that some tests failed without doing this.
> - #2 is the big diet. A copy of the patch is at [1] in case it does not
> pass the list filters.
> - #3 changes one of the XTEA test vectors because the test vector itself
> seems to be wrong (and nobody noticed this before).
This is awesome! All applied to cryptodev-2.6. Thanks a lot!
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt