[gnutls-devel] GnuTLS | x509: support encoding of ML-DSA private keys in CHOICE format (!1973)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Jul 4 11:16:55 CEST 2025




Daiki Ueno commented on a discussion on lib/x509/privkey_pkcs8.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1973#note_2603142256

 >  #define PEM_PKCS8 "ENCRYPTED PRIVATE KEY"
 >  #define PEM_UNENCRYPTED_PKCS8 "PRIVATE KEY"
 >  
 > +typedef enum ml_dsa_privkey_format_t {
 > +	ML_DSA_PRIVKEY_FORMAT_UNKNOWN = 0,
 > +	ML_DSA_PRIVKEY_FORMAT_SEED,
 > +	ML_DSA_PRIVKEY_FORMAT_EXPANDED,
 > +	ML_DSA_PRIVKEY_FORMAT_BOTH

Good idea, rewrote in that way.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1973#note_2603142256
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/20250704/29eb771d/attachment.html>


More information about the Gnutls-devel mailing list