From: Dmitry Belyavskiy Date: Fri, 1 Mar 2019 20:36:30 +0000 (+0300) Subject: We cannot ensure ALIGN(16) of externally allocated data X-Git-Tag: v3.0.0~300 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=5d1638d8f89be2a8f115b12029828c5d9bf780fb;p=openssl-gost%2Fengine.git We cannot ensure ALIGN(16) of externally allocated data --- 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;