Home GnuPG

Fix segv with AES-NI on some platforms.
a96974de734bUnpublished

Unpublished Commit · Learn More

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

Description

Fix segv with AES-NI on some platforms.

* cipher/rijndael.c (RIJNDAEL_context): Align on 16 bytes.

The trigger for this problem is the allocation of the context in the
selftest functions. The other code paths use a 16 byte alignment
anyway by means of the allocation of the context in cipher.c
Thanks to Gentoo hacker Joakim Tjernlund for figuring out the reason
of this problem.

Details

Provenance
wernerAuthored on Nov 21 2012, 10:35 AM
Parents
rC4b18e530f417: Improve parsing of the GIT revision number.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rCa96974de734b: Fix segv with AES-NI on some platforms. (authored by Werner Koch <wk@gnupg.org>).Nov 21 2012, 10:35 AM