X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gosthash2012.h;fp=gosthash2012.h;h=4d57e14f2f34c6cd4fc2ad84524a9b50404269e5;hb=78ff909c3ca7260912360427fd3b029c9ba08d87;hp=51cb0fecfc9db3cfca665b5ae74fd17d6d2991cd;hpb=760a429ced769c5d7fc94c384165b00b77e7a7bd;p=openssl-gost%2Fengine.git diff --git a/gosthash2012.h b/gosthash2012.h index 51cb0fe..4d57e14 100644 --- a/gosthash2012.h +++ b/gosthash2012.h @@ -48,6 +48,7 @@ ALIGN(16) typedef union uint512_u { unsigned long long QWORD[8]; + unsigned char B[64]; } uint512_u; #include "gosthash2012_const.h" @@ -55,7 +56,7 @@ typedef union uint512_u { /* GOST R 34.11-2012 hash context */ typedef struct gost2012_hash_ctx { - unsigned char buffer[64]; + union uint512_u buffer; union uint512_u h; union uint512_u N; union uint512_u Sigma;