Replies: 3 comments 12 replies
-
OpenSSL avoids offloading any operation unless it is forced (key only available in provider) or is explicitly instructed to do so via properties. So by default and in current tests only the Signature operation is offloaded. That said, PKCS#11 does define a bunch of KDFs for TLS, but pkcs11-provider does not yet wrap all of them. I am not sure there is a way to tell OpenSSL to offload just the KDFs, you may have to try to offload everything to the token via a default property that applies to all operations. That may or not be desirable. |
Beta Was this translation helpful? Give feedback.
-
Ok, can you please tell which KDFs pkcs11-provider currently wraps?
Hmm, that needs to be thought, but do you have an example which we can refer for defining a default property that applies to all operations ? Openssl gives a way to offload the TLS PRF functions to HW crypto, using engines but don't know about the providers. |
Beta Was this translation helpful? Give feedback.
-
Only HKDF so far:
you can set default property of
See above.
So far we wired only the first one, it is not hard to do many of others (where there is a pkcs#11 spec that covers them), we just haven't done it yet. |
Beta Was this translation helpful? Give feedback.
-
Had a look at #216
A test to exercise full TLS connection was added in this, looks like we have the Key and Certificates stored in PKCS#11 Token.
If I understood correctly Signing operation with the Key stored in Token will be done by the PKCS#11 implementation.
Apart from this signing, can you please tell me which operations are offloaded to PKCS#11 Provider in Full TLS connection?
Is TLS1.3 Session key derivation is also offloaded to the PKCS#11 implementation?
If yes, Which API is responsible for session key derivation?
@simo5 Can you please look at this?
Beta Was this translation helpful? Give feedback.
All reactions