Simo Sorce <s...@redhat.com> writes:

> This code here generates RSA keys using the modern API:
> https://github.com/latchset/pkcs11-provider/blob/main/tests/tgenkey.c#L129

Thanks, I'll look at that (but I'm off for the https://catsworkshop.dev/
in Copenhagen rest of the week).

> (Ignore the pkcs11_uri params, that's special stuff for the pkcs11
> provider).

What about the first call,

   ctx = EVP_PKEY_CTX_new_from_name(NULL, key_type, "provider=pkcs11");

What should I pass for the last argument if I just want openssl's
software implementation, no hardware tokens?

Regards,
/Niels

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list -- nettle-bugs@lists.lysator.liu.se
To unsubscribe send an email to nettle-bugs-le...@lists.lysator.liu.se

Reply via email to