Skip to content

implement global random(xoroshiro128+)#15

Merged
differrari merged 5 commits intodifferrari:mainfrom
CodeAnarchist:random
Jul 25, 2025
Merged

implement global random(xoroshiro128+)#15
differrari merged 5 commits intodifferrari:mainfrom
CodeAnarchist:random

Conversation

@CodeAnarchist
Copy link
Contributor

added a global random number generator using xoroshiro128+, implemented in "random.h/c" under "shared/math"
the random generator is global and initialized during kernel boot using CNTVCT_EL0(virtual timer counter) as an entropy source
module now generates a random xid instead of using a fixed value

@ATDevs-Team
Copy link
Contributor

They said something about RNGs here. They may or may not accept this pull request.

@CodeAnarchist
Copy link
Contributor Author

yeah, I noticed it after making the pr. if it's not okay I guess they just won't merge it

@differrari differrari merged commit da0490b into differrari:main Jul 25, 2025
1 check passed
differrari pushed a commit that referenced this pull request Aug 9, 2025
implement global random(xoroshiro128+)
@CodeAnarchist CodeAnarchist deleted the random branch September 29, 2025 09:41
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.

3 participants