[crac] Integrated: Reseed NativePRNG on checkpoint restore

Alexey Bakhtin abakhtin at openjdk.java.net
Fri Jan 28 16:41:45 UTC 2022

On Thu, 23 Dec 2021 11:30:13 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.

This pull request has now been integrated.

Changeset: 11e1037b
Author:    Alexey Bakhtin <abakhtin at openjdk.org>
Committer: Anton Kozlov <akozlov at openjdk.org>
URL:       https://git.openjdk.java.net/crac/commit/11e1037b099710e0819c0dc111ca56b8e7872a6e
Stats:     255 lines in 4 files changed: 252 ins; 0 del; 3 mod

Reseed NativePRNG on checkpoint restore

Reviewed-by: akozlov


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

More information about the crac-dev mailing list