2007-11-27 23:19:18

by Tan Swee Heng

[permalink] [raw]
Subject: [PATCH 1/2] tcrypt.c: Support for more test vectors

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]>


2007-11-27 23:20:25

by Tan Swee Heng

[permalink] [raw]
Subject: Re: [PATCH 1/2] tcrypt.c: Support for more test vectors

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 pointing cipher_tv to each entry in the
> template, rather than the template itself.
>
> Signed-off-by: Tan Swee Heng <[email protected]>
>


Attachments:
(No filename) (447.00 B)
patch1-more_tvs.txt (4.19 kB)
Download all attachments

2007-11-29 13:30:35

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH 1/2] tcrypt.c: Support for more test vectors

On Wed, Nov 28, 2007 at 07:19:17AM +0800, Tan Swee Heng 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 pointing cipher_tv to each entry in the
> template, rather than the template itself.
>
> Signed-off-by: Tan Swee Heng <[email protected]>

Patch applied. Thanks!
--
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