]> wagner.pp.ru Git - openssl-gost/engine.git/commit - gosthash2012.c
gosthash2012: Change some byte (pointers) to union uint512_u
authordmitry dulesov <dmitry.dulesov@gmail.com>
Thu, 30 Jan 2020 02:30:49 +0000 (05:30 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Sun, 2 Feb 2020 18:05:29 +0000 (21:05 +0300)
commit78ff909c3ca7260912360427fd3b029c9ba08d87
tree38dd6780dce4cc8b435d3689f2460e24f7c8063f
parent760a429ced769c5d7fc94c384165b00b77e7a7bd
gosthash2012: Change some byte (pointers) to union uint512_u

Introduce byte `.B' union type to `union uint512_u'.
Change `CTX.buffer' type from `unsigned char' to `union uint512_u'.
Change `data' argument of `stage2()' to `union uint512_u *'.
Change `g()' arguments to `union uint512_u *' with `RESTRICT'
allowing compiler to optimize more.

No code changes, only type changes here.

Committed-by: Vitaly Chikunov <vt@altlinux.org>
gosthash2012.c
gosthash2012.h