Home GnuPG

Add alignment tests for the cipher tests.
7a37ea4a4991Unpublished

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
rC5a4a9a1c7b81: Add GCRYCTL_SET_ENFORCED_FIPS_FLAG command.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC7a37ea4a4991: Add alignment tests for the cipher tests. (authored by Werner Koch <wk@gnupg.org>).Apr 25 2012, 4:52 PM