[crac] RFR: Reseed NativePRNG on checkpoint restore [v4]

Anton Kozlov akozlov at openjdk.java.net
Fri Jan 28 13:46:36 UTC 2022


On Fri, 28 Jan 2022 12:54:27 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:

>> NativePRNG should be re-seeded during checkpoint/restore because it uses SHA1PRNG secure random for additional seed. It is seeded at initialization, so it is not re-seeded automatically during checkpoint/restore
>> Also, the internal buffer should be cleared at the checkpoint.
>
> Alexey Bakhtin has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Revert Checkpoint/RestoreException changes

Marked as reviewed by akozlov (Lead).

-------------

PR: https://git.openjdk.java.net/crac/pull/9


More information about the crac-dev mailing list