Skip to content

explicitly zero out rnd in random_state_init/random_state_init_from_random_state after key/iv setup#367

Open
rdevshp wants to merge 1 commit into
GrapheneOS:mainfrom
rdevshp:random_state_zero
Open

explicitly zero out rnd in random_state_init/random_state_init_from_random_state after key/iv setup#367
rdevshp wants to merge 1 commit into
GrapheneOS:mainfrom
rdevshp:random_state_zero

Conversation

@rdevshp

@rdevshp rdevshp commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@thestinger

Copy link
Copy Markdown
Member

We could do this but it makes very little difference in practice. This would have essentially 0 performance cost but there are other places this could be done which would have a significant performance cost such as when giving out the generated random data from the cache prior to filling it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants