[gnutls-dev] Is 2MB too large for self tests? (was: Re: gnutls 1.1.15 -- (repost, for completeness, last try didn't show up))

Simon Josefsson jas at extundo.com
Sun Aug 22 16:19:25 CEST 2004


Werner Koch <wk at gnupg.org> writes:

> On Mon, 16 Aug 2004 12:02:44 +0200, Simon Josefsson said:
>
>> http://cio.nist.gov/esd/emaildir/lists/pkits/msg00047.html
>
> Interesting.  I'll ask the GNU "legal dept" too; just to be sure. 

Any news?

>> As for size, I think it would only enlarge gnutls-*.tar.gz by ~500kb
>> or so, something I wouldn't consider a problem.  Self tests are quite
>> important, IMHO.
>
> Agreed.

The old test suite was ~600kb, but the new one is ~2MB, compressed.
Do people feel this is too large?  It might be that both the old and
the new test suite are useful, if so that would enlarge the package by
~2.6MB (compressed).

I'm inclined to say that 2.6MB is cheap compared to knowing that your
recently built software is working reasonably.  But I don't know if
someone here feel strongly about it.

If nobody objects, the next release will incorporate the NIST test
suites (conditioned on licensing issues).

>> over them.  (Like the gnutls/tests/chain script, in CVS only, which
>> does this for the old test suite.  It appear to indicate many
>
> I'll have a look at it. 

CVS now has 'tests/pkits_*' as well, which uses the new test suite.
Simplistic parsing of the structures, but some crypto is involved so I
think it is useful self test.

Thanks,
Simon






More information about the Gnutls-devel mailing list