From: Niels Möller Date: Sun, 22 Jun 2025 14:52:32 +0000 (+0200) Subject: Use _NETTLE_ALIGN16 also for aes192_ctx and aes256_ctx. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fwip-use-alignas;p=thirdparty%2Fnettle.git Use _NETTLE_ALIGN16 also for aes192_ctx and aes256_ctx. --- diff --git a/aes.h b/aes.h index 913c8463..de9f94b1 100644 --- a/aes.h +++ b/aes.h @@ -89,7 +89,7 @@ aes128_decrypt(const struct aes128_ctx *ctx, struct aes192_ctx { - uint32_t keys[4 * (_AES192_ROUNDS + 1)]; + _NETTLE_ALIGN16 uint32_t keys[4 * (_AES192_ROUNDS + 1)]; }; void @@ -110,7 +110,7 @@ aes192_decrypt(const struct aes192_ctx *ctx, struct aes256_ctx { - uint32_t keys[4 * (_AES256_ROUNDS + 1)]; + _NETTLE_ALIGN16 uint32_t keys[4 * (_AES256_ROUNDS + 1)]; }; void