Files
crypto/sha3
Conrado P. L. Gouvea 22d7a77e9e sha3: fix bug in cSHAKE Clone()
Clone() made a copy of the Keccak state after invoking clone(), which is not
supported, since the "buf" slice in the Keccak state must point to the "storage"
array, and if the state is copied directly it will keep pointing to the storage
returned by clone().

Fix it by embedding a pointer to the Keccak state instead of the state itself.

Change-Id: I7d392963ec65d784a360f6c12a7935a9a9a788b5
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/173018
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-05-13 17:29:03 +00:00
..
2019-04-17 17:40:47 +00:00
2018-10-29 02:12:03 +00:00
2019-01-03 21:31:33 +00:00
2016-10-21 19:51:19 +00:00
2019-05-13 17:29:03 +00:00
2017-08-25 22:01:21 +00:00
2019-05-13 17:29:03 +00:00