I am supposed to generate tls specific keys with smartcard.
I examined for example P11TlsMasterSecretGenerator class but it requires CKM_TLS_MASTER_KEY_DERIVE_DH mechanism that smartcard to have for master key generation.
But my smartcard does not support this mechanism.
My question is if it possible to use other mechanisms such as CKM_ECDH1_DERIVE for this purpose.
Actually my concern is what CKM_TLS_MASTER_KEY_DERIVE_DH mechanism provides internally more than CKM_ECDH1_DERIVE.
If someone can link me a document or something, I really appreciate that.
Thanks.