Home GnuPG

Add alignment tests for the cipher tests.
14cf1f7e338fUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add alignment tests for the cipher tests.

* tests/basic.c (check_one_cipher): Factor most code out to
check_one_cipher_core.  Call that core function several times using
different alignment settings.
(check_one_cipher_core): New.  Add extra args to allow alignment
testing.

As reported in bug#1384 Serpent fails on a sparc64. One problem with
the test code is that due to the bus error the error message won't be
printed.

Details

Provenance
wernerAuthored on Dec 16 2011, 10:02 PM
Parents
rC16f5654643d5: tests/prime: Add option to create a well known private key.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC14cf1f7e338f: Add alignment tests for the cipher tests. (authored by Werner Koch <wk@gnupg.org>).Dec 16 2011, 10:02 PM