[gnutls-devel] GnuTLS | Draft: Add pkcs11 crypto backend configuration (!1808)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sun Feb 18 03:15:02 CET 2024




Daiki Ueno commented: https://gitlab.com/gnutls/gnutls/-/merge_requests/1808#note_1777996677

The overall approach looks good to me. Some suggestions:
- maybe good to create a directory, say `lib/pkcs11/`, and host all the backend implementation, e.g., pk.c, cipher.c, mac.c., as in `lib/nettle/`
- you might want to extend `lib/pkcs11*.c` to be a thin wrapper around PKCS#11 API, like pk11wrap library in NSS. For example, it provides more ergonomic API for [encryption](https://searchfox.org/mozilla-central/rev/3da086bd7bce12353fc65968802445dca46f4537/security/nss/lib/pk11wrap/pk11pub.h#562)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1808#note_1777996677
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20240218/98242f30/attachment.html>


More information about the Gnutls-devel mailing list