-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAPI: Addapt tests to usage of P_RSA3072 profile without sha1 bank.
* The test were a sha1 bank is needed are skippd. * Policy usuage is adapted. Signed-off-by: Juergen Repp <juergen_repp@web.de>
- Loading branch information
1 parent
0a6e05d
commit d98ea00
Showing
13 changed files
with
190 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
{ | ||
"type": "TPM2_ALG_RSA", | ||
"nameAlg":"TPM2_ALG_SHA384", | ||
"srk_template": "system,restricted,decrypt,0x81000001", | ||
"srk_description": "Storage root key SRK", | ||
"srk_persistent": 1, | ||
"ek_template": "system,restricted,decrypt,user", | ||
"ek_description": "Endorsement key EK", | ||
"rsa_signing_scheme": { | ||
"scheme":"TPM2_ALG_RSAPSS", | ||
"details":{ | ||
"hashAlg":"TPM2_ALG_SHA384" | ||
} | ||
}, | ||
"rsa_decrypt_scheme": { | ||
"scheme":"TPM2_ALG_OAEP", | ||
"details":{ | ||
"hashAlg":"TPM2_ALG_SHA384" | ||
} | ||
}, | ||
"sym_mode":"TPM2_ALG_CFB", | ||
"sym_parameters": { | ||
"algorithm":"TPM2_ALG_AES", | ||
"keyBits":"256", | ||
"mode":"TPM2_ALG_CFB" | ||
}, | ||
"sym_block_size": 16, | ||
"pcr_selection": [ | ||
{ "hash": "TPM2_ALG_SHA1", | ||
"pcrSelect": [ ] | ||
}, | ||
{ "hash": "TPM2_ALG_SHA256", | ||
"pcrSelect": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 ] | ||
} | ||
], | ||
"exponent": 0, | ||
"keyBits": 3072, | ||
"session_symmetric":{ | ||
"algorithm":"TPM2_ALG_AES", | ||
"keyBits":"256", | ||
"mode":"TPM2_ALG_CFB" | ||
}, | ||
"ek_policy": { | ||
"description": "Endorsement hierarchy used for policy secret.", | ||
"policy":[ | ||
{ | ||
"type": "PolicyOR", | ||
"branches": [ | ||
{ | ||
"name": "A", | ||
"description": "", | ||
"policy": [ | ||
{ | ||
"type":"POLICYSECRET", | ||
"objectName": "4000000b" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "B", | ||
"description": "", | ||
"policy": [ | ||
{ | ||
"type":"AUTHORIZENV", | ||
"nvPublic": { | ||
"size": 60, | ||
"nvPublic": { | ||
"nvIndex": 29392642, | ||
"nameAlg":"SHA384", | ||
"attributes":{ | ||
"PPWRITE":0, | ||
"OWNERWRITE":0, | ||
"AUTHWRITE":0, | ||
"POLICYWRITE":1, | ||
"POLICY_DELETE":0, | ||
"WRITELOCKED":0, | ||
"WRITEALL":1, | ||
"WRITEDEFINE":0, | ||
"WRITE_STCLEAR":0, | ||
"GLOBALLOCK":0, | ||
"PPREAD":1, | ||
"OWNERREAD":1, | ||
"AUTHREAD":1, | ||
"POLICYREAD":1, | ||
"NO_DA":1, | ||
"ORDERLY":0, | ||
"CLEAR_STCLEAR":0, | ||
"READLOCKED":0, | ||
"WRITTEN":1, | ||
"PLATFORMCREATE":0, | ||
"READ_STCLEAR":0, | ||
"TPM2_NT":"ORDINARY" | ||
}, | ||
"authPolicy":"8bbf2266537c171cb56e403c4dc1d4b64f432611dc386e6f532050c3278c930e143e8bb1133824ccb431053871c6db53", | ||
"dataSize":50 | ||
} | ||
} | ||
|
||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters