nxp_crypto_hal: els_pkc: add RT7xx OSCCA platform include dirs #867
All Vouch review confidence checks passed
Residual risk 0.29 = Change Risk (0.55) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.55 · 122 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.288
Sensitive Paths
sensitive_paths
0.055
Real PR Conversation Timeline
1 comments
"Review active on #867"
general
weight: 0.35
zejiang0jason
The OSCCA components and mcuxClSignature include their *_MemoryConsumption.h header from inc/platform/<platform>, but the SOC_SERIES_IMXRT7XX block only adds their inc and inc/internal directories. Building els_pkc for an RT7xx SoC fails with:
mcuxClOsccaAeadModes.h:48:10: fatal error:
mcuxClOsccaAeadModes_MemoryConsumption.h: No such file or directory
Add the inc/platform/${ELS_PKC_PLATFORM} directory of mcuxClOsccaAeadModes, mcuxClOsccaCipherModes, mcuxClOsccaMacModes, mcuxClOsccaRandomModes, mcuxClOsccaSm2, mcuxClOsccaSm3 and mcuxClSignature, the same form the common block uses for the other components. These components ship platform headers only for mimxrt, so the paths go in the SOC_SERIES_IMXRT7XX block next to their existing include directories, and RW61x and MCXN builds are unchanged.
Tested by building tests/crypto/psa for
frdm_imxrt700/mimxrt798s/cm33_cpu0 with the ELS PKC PSA driver enabled and running it on the board: 8 of 8 test cases passed.