[patch 1/3] tcrypt: change the usage of the test vectors.

2008-02-03 Thread Sebastian Siewior
The test routines (test_{cipher,hash,aead}) are makeing a copy of the test template and are processing the encryption process in place. This patch changes the creation of the copy so it will work even if the source address of the input data isn't an array inside of the template but a pointer. Sign

[patch 3/3] change the XTEA test vectors.

2008-02-03 Thread Sebastian Siewior
The third test vector of ECB-XTEA-ENC fails for me all other are fine. I could not find a RFC or something else where they are defined. The test vector has not been modified since git started recording histrory. The implementation is very close (not to say equal) to what is available as Public Doma

[patch 0/3] Shrink the tcrypt module and fix one XTEA test vector

2008-02-03 Thread Sebastian Siewior
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