Skip to content

curl -> pkcs11 openssl engine -> pkcs11 TA -> Vendor #619

@muraliselvaraj2020

Description

@muraliselvaraj2020

Hi Team,

Please refer below details and share your inputs..

  1. 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

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions