-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Allow NIST curves on all ECDSA algorithms in libtomcrypt and libutee #7249
base: master
Are you sure you want to change the base?
Conversation
According to GP TEE specification "ECDSA algorithm identifiers should be tied to the size of the digest, not the key.". Therefore allow use of any TEE_ALG_ECDSA_SHA* algorithm for any of the supported NIST curves. Reported-by: Anvisha <quic_anvisriv@quicinc.com> Closes: OP-TEE/optee_test#721 (comment) Link: OP-TEE#6230 Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
According to GP TEE specification "ECDSA algorithm identifiers should be tied to the size of the digest, not the key.". Therefore allow use of any TEE_ALG_ECDSA_SHA* algorithm for any of the supported NIST curves. Reported-by: Anvisha <quic_anvisriv@quicinc.com> Closes: OP-TEE/optee_test#721 (comment) Link: OP-TEE#6230 Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
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 "ltc: allow NIST curves on all ECDSA algorithms":
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
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 "libutee: allow NIST curves on all ECDSA algorithms": one minor comment.
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
@@ -2713,6 +2730,7 @@ TEE_Result TEE_IsAlgorithmSupported(uint32_t alg, uint32_t element) | |||
} | |||
|
|||
return TEE_ERROR_NOT_SUPPORTED; | |||
|
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.
Extra line not needed
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.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
This pull request has been marked as a stale pull request because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this pull request will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time. |
Please keep alive. I'll work back on this topic soon... |
According to GP TEE specification "ECDSA algorithm identifiers should be tied to the size of the digest, not the key.". Therefore allow use of any
TEE_ALG_ECDSA_SHA*
algorithm for any of the supported NIST curve.The constraint removed by these changes are present only in libutee and libtomcrypt.