Skip to content

[doc] Revise and detail TRNG configuration for integration spec #861

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 29, 2025

Conversation

moidx
Copy link
Contributor

@moidx moidx commented Apr 27, 2025

This commit revises and expands the TRNG configuration documentation, incorporating detailed explanations for both the initial ROM-based setup and later FIPS-compliant configurations.

Key updates include:

  • Clarified the internal TRNG's role in ROM for Control Flow Integrity (CFI) countermeasures, noting its non-FIPS-compliant nature at this stage.
  • Provided detailed calculations and recommended example thresholds for the adaptive proportion test and repetition count test during ROM operation.
  • Introduced a "FIPS considerations" section, which details:
    • The required TRNG re-initialization steps for FIPS compliance.
    • Comprehensive explanation of adaptive self-test window sizes (ENTROPY_TEST_WINDOW vs. ACTUAL_TEST_WINDOW).
    • Configuration options for CONF.THRESHOLD_SCOPE (aggregating per symbol vs. handling each noise source separately).
    • Formulas for configuring FIPS-compliant adaptive self-test thresholds.
  • Added a "Recommended configuration" subsection under FIPS considerations for both adaptive and repetition count tests.

@moidx
Copy link
Contributor Author

moidx commented Apr 27, 2025

CC: @johannheyszl

@bharatpillilli bharatpillilli requested review from amullick007 and removed request for amullick007 April 27, 2025 22:46
@bharatpillilli
Copy link
Collaborator

@amullick007 or @varuns-nvidia - can one of you please add akash to this? dont know his github handle

bharatpillilli
bharatpillilli previously approved these changes Apr 27, 2025
@varuns-nvidia
Copy link
Contributor

@akash-singh-NV

This commit revises and expands the TRNG configuration documentation,
incorporating detailed explanations for both the initial ROM-based setup
and later FIPS-compliant configurations.

Key updates include:
- Clarified the internal TRNG's role in ROM for Control Flow Integrity
  (CFI) countermeasures, noting its non-FIPS-compliant nature at this stage.
- Provided detailed calculations and recommended example thresholds for
  the adaptive proportion test and repetition count test during ROM
  operation.
- Introduced a "FIPS considerations" section, which details:
    - The required TRNG re-initialization steps for FIPS compliance.
    - Comprehensive explanation of adaptive self-test window sizes
      (ENTROPY_TEST_WINDOW vs. ACTUAL_TEST_WINDOW).
    - Configuration options for `CONF.THRESHOLD_SCOPE` (aggregating per
      symbol vs. handling each noise source separately).
    - Formulas for configuring FIPS-compliant adaptive self-test thresholds.
- Added a "Recommended configuration" subsection under FIPS considerations
  for both adaptive and repetition count tests.

Signed-off-by: Miguel Osorio <[email protected]>
@calebofearth calebofearth merged commit 925b746 into chipsalliance:main Apr 29, 2025
11 of 12 checks passed
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.

5 participants