Closed ChrisSchinnerl closed 6 years ago
are there places where we don't want to decrypt in-place?
@lukechampine It looks like quite a few tests in the wallet are failing if I change it to be in-place by default.
I reverted the commits for the parallel encryption for now since it is just too much of a hack to do it in-place right now. Once we get rid of the nonce in the sector after moving to Threefish, we can implement a much easier in-place solution for this.
Encrypting/Decrypting a whole chunk with a single thread is pretty slow. This PR moves that code to the worker threads to encrypt/decrypt on a per-piece basis.