- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm using a TPM with raspberry and I'm making some performance tests.
I have modified the tpm-tools (create,signature,verifysignature) and taken some times like this (i used clock_gettime to consider also i/o) :
clock_gettime(CLOCK_REALTIME, &start);
tpm2_verifysignature(...);
clock_gettime(CLOCK_REALTIME, &finish);
After some executions I computed the avg, I obtained that ECDSA verification is faster than the ECDSA signature computation, but it should be the opposite, or am I wrong?
Is there some hardware optimization for verification?
It could depend on the i/o from the TPM like the signature have to return the value, while the verification is just true/false?
Thanks in advance
Solved! Go to Solution.
- Labels:
-
OPTIGA™ TPM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As databook mentioned, the command duration shows the time the TPM needs internally for command
execution and the receive time finally shows the time needed to transfer the response back to the host system.
Signature is faster than verification.
It's depended how to measure. I'm not sure if other reasons causes what you obtained.
Many thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As databook mentioned, the command duration shows the time the TPM needs internally for command
execution and the receive time finally shows the time needed to transfer the response back to the host system.
Signature is faster than verification.
It's depended how to measure. I'm not sure if other reasons causes what you obtained.
Many thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the answer. Where i can find this document?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The databook only can be downloaded from MyIcp.com.
Please login your account to download.
If you can't find the databook, please contact your distributor.
Thanks.