-
Notifications
You must be signed in to change notification settings - Fork 194
Description
Hi Team,
Please refer below details and share your inputs..
- curl from opensource + pkcs11 openssl from libp11 + pkc11 TA (No change in curl + No change in openssl + PKCS11 TA from vendor)
time curl --key "pkcs11:id=%44;type=private;pin-value=1234" --cert "pkcs11:id=%44;type=cert;pin-value=1234" https://<mtls_enabled_endpoint>
real 0m2.041s
user 0m0.138s
sys 0m0.736s
- PKCS11 TA from Vendor where pkcs11-tool directly interface with PKCS11-TA ( bypassing curl and openssl layers )
time pkcs11-tool --module /usr/lib/libckteec.so --login --pin 1234 --read-object --type pubkey --id 44
real 0m0.485s
user 0m0.006s
sys 0m0.048s
We would like to measure the time taken within curl, openssl , engine and PKCS11 TA from curl --key "pkcs11:id=%44;type=private;pin-value=1234" --cert "pkcs11:id=%44;type=cert;pin-value=1234" https://<mtls_enabled_endpoint>
Do we have any existing tool or preference from libp11 community to measure the time taken by each component (curl, openssl, pkcs11 engine, TA).
Please share the details, Thanks.
Regards,
Murali.S