Home GnuPG

Fix segv with AES-NI on some platforms.
d30c86465fefUnpublished

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
rC322a9b53e6f7: Improve parsing of the GIT revision number.
Branches
Unknown
Tags
Unknown

Event Timeline

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