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

Alexey Bakhtin abakhtin at openjdk.java.net
Fri Jan 28 12:54:27 UTC 2022

> 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


  - all: https://git.openjdk.java.net/crac/pull/9/files
  - new: https://git.openjdk.java.net/crac/pull/9/files/dd461601..637460a7

 - full: https://webrevs.openjdk.java.net/?repo=crac&pr=9&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=crac&pr=9&range=02-03

  Stats: 5 lines in 3 files changed: 0 ins; 1 del; 4 mod
  Patch: https://git.openjdk.java.net/crac/pull/9.diff
  Fetch: git fetch https://git.openjdk.java.net/crac pull/9/head:pull/9

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

More information about the crac-dev mailing list