-
Notifications
You must be signed in to change notification settings - Fork 17
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
Added CanDoCrypto operation #129
Conversation
744d4a3
to
cf6dc20
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! A few comments
@@ -0,0 +1,54 @@ | |||
# CanDoCrypto |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the name, we can discuss. In the community meeting it was mentioned "CryptoCanDo" but then I thought if there is a new PSA Crypto operation named psa_crypto_can_do
it is going to be PsaCryptoCanDo so might be weird.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should probably be some notice of this operation being experimental here as well.
40f803c
to
dbe9bb1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thanks for the new operation! Looks pretty good overall, couple of comments
@@ -0,0 +1,54 @@ | |||
# CanDoCrypto |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should probably be some notice of this operation being experimental here as well.
| Name | Type | Description | | ||
|--------------|-----------------|-----------------------------| | ||
| `check_type` | `CheckType` | Type of the check performed | | ||
| `attributes` | `KeyAttributes` | Value to be checked | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth adding a link to the place where KeyAttributes
is defined
dbe9bb1
to
4cee382
Compare
Opcode: 32 (`0x0020`) | ||
|
||
**(EXPERIMENTAL) The parameters for key attestation are in an experimental phase. No guarantees are | ||
offered around the stability of the interface for any key attestation mechanism.** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bit of copy-pasta here 😀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops yeah I forgot to edit it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does this sound instead?
**(EXPERIMENTAL) This operation is still being implemented and so no guarantees are offered around the stability of the interface for any key attestation mechanism.**
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, probably something pointing towards "capability discovery" instead of "key attestation" would be clearer!
4cee382
to
9a1dfd9
Compare
Added the page for the CanDoCrypto operation and also added the operation to the list of operations and to the table of operations coverage Signed-off-by: Sam Davis <sam.davis@arm.com>
9a1dfd9
to
687547e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻 thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! The name of the operation might change in the future but that's fine since it is experimental.
Added the page for the CanDoCrypto operation and also added the operation to the list of operations and to the table of operations coverage
Signed-off-by: Sam Davis sam.davis@arm.com