Skip to content
Snippets Groups Projects
Commit 79911102 authored by Herbert Xu's avatar Herbert Xu
Browse files

[CRYPTO] api: Fixed crypto_tfm context alignment


Previously the __aligned__ attribute was added to the crypto_tfm context
member to ensure it is alinged correctly on architectures such as arm.
Unfortunately kmalloc does not use the same minimum alignment rules as
gcc so this is useless.

This patch changes it to use kmalloc's minimum alignment.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent e478bec0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment