]> wagner.pp.ru Git - openssl-gost/engine.git/commit
gosthash2012: Remove temporary variable from `stage2'
authordmitry dulesov <dmitry.dulesov@gmail.com>
Thu, 30 Jan 2020 02:21:31 +0000 (05:21 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Sun, 2 Feb 2020 18:05:29 +0000 (21:05 +0300)
commit760a429ced769c5d7fc94c384165b00b77e7a7bd
tree95bb319eed56cbe18ace8476a1e410890af64260
parent757a31b740dc38dbdf470d07bc9f3a60ee65830f
gosthash2012: Remove temporary variable from `stage2'

Now `stage2' will always get aligned data which is prepared in
`gost2012_hash_block' by copying into `CTX->buffer'.

This will allow to change `data' argument of `stage2' from `unsigned
char *' pointer to `union uint512_u *'.

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