Also have RANDOM_PURE_START be a cross-platform source and one
that will be with us in the long-term future.
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 68064 Build 64947: arc lint + arc unit
Event Timeline
| sys/dev/random/fenestrasX/fx_pool.c | ||
|---|---|---|
| 169–211 | I don't think these changes make sense. This table is only used to check entc_cls->entc_src_cls for some value today. Removing these values makes that pointer null, causing a crash instead. | |
| sys/dev/random/random_harvestq.c | ||
| 664–689 | It seems like a lot of faff to save a few bytes of strings in the rodata section, and maybe cause a nullptr crash. | |
| sys/sys/random.h | ||
| 93–116 | I don't think make the enum order platform-specific makes sense. | |
| sys/dev/random/fenestrasX/fx_pool.c | ||
|---|---|---|
| 169–211 | I guess I'm not following why. How would entc_cls get a value that is processed for these entropy sources #ifdef'ed out? Can you help direct me to the line(s) of code where a NULL pointer would be gotten? | |
| sys/dev/random/random_harvestq.c | ||
| 664–689 | I'm not trying to save RODATA space.
This was the compromise with release engineering. My goal in the approach is to have an entropy source ordering that will be the same between 16-current and 15-stable (other than additions at the bottom in 16-current -- to address your kinda-is-an KBI change).
| |
| sys/sys/random.h | ||
| 93–116 | Please explain more, what about the order makes sense? | |
| sys/dev/random/random_harvestq.c | ||
|---|---|---|
| 664–689 | That doesn't fully help Juniper with our FIPS-140-3 changes to /dev/random. We have to report accounting for all possible entropy sources. That's 4x lines of accounting information for each entropy source. I'm trying to reduce noise and complexity for FIPS-140-3/CC certification. There are at least 3 commercial entities I know of that needs FIPS-140-3/CC certification. I'm working to upstream what Juniper's had to do per the evaluation labs. | |
| sys/sys/random.h | ||
| 93–116 | Sorry, I cannot fully parse this statement. | |