On Wed, 2023-11-29 at 07:43 +0100, Niels Möller wrote: > 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?
Ah you do not need to pass any property for the default provider so you can pass "" or even NULL. Simo. -- Simo Sorce, DE @ RHEL Crypto Team, Red Hat, Inc _______________________________________________ nettle-bugs mailing list -- nettle-bugs@lists.lysator.liu.se To unsubscribe send an email to nettle-bugs-le...@lists.lysator.liu.se