From 5d1638d8f89be2a8f115b12029828c5d9bf780fb Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Fri, 1 Mar 2019 23:36:30 +0300 Subject: [PATCH 1/1] We cannot ensure ALIGN(16) of externally allocated data --- gosthash2012.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gosthash2012.h b/gosthash2012.h index 021b7d4..0556a53 100644 --- a/gosthash2012.h +++ b/gosthash2012.h @@ -48,9 +48,8 @@ typedef union uint512_u { #include "gosthash2012_precalc.h" /* GOST R 34.11-2012 hash context */ -ALIGN(16) typedef struct gost2012_hash_ctx { - ALIGN(16) unsigned char buffer[64]; + unsigned char buffer[64]; union uint512_u hash; union uint512_u h; union uint512_u N; -- 2.39.2