Conversation
|
NOTE: This depends on |
cb18e25 to
559d045
Compare
|
Hi Sergei, This looks good i have suggestion related to ExtractOpenDiceChainFromX509 You have following loop there: If i undestand this code properly you are validating beginning of chain again and again. I would suggest following optimization: Following test passes: func Test_ExtractOpenDiceChainFromX509(t *testing.T) If you change line 278 to be:
|
|
Hi Sampo, You're absolutely right, this was re-verifying the chain at each "segment". I've implemented your suggestion with a minor tweak. Thank you! |
Rename the source files for the TCG DICE extension in preparation to adding non-TCG related stuff. Signed-off-by: Sergei Trofimov <sergei.trofimov@arm.com>
- Add validation and claim extraction for Open DICE X.509 and CBOR certificate chains. - Add TCB into claim extension definition. Signed-off-by: Sergei Trofimov <sergei.trofimov@arm.com>
Add an innitial implmentation of validaiton and evidence extraction of Open DICE profile certificate chains.