[gnutls-devel] GnuTLS | Support PBMAC1 usage in PKCS#12 (!1833)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue May 14 07:41:08 CEST 2024




Daiki Ueno commented on a discussion on lib/x509/pkcs7-crypt.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1833#note_1904050170

 >  					&params->key_size);
 >  	if (result < 0) {
 >  		params->key_size = 0;
 > +	} else {
 > +		params->key_size_present = true;
 >  	}
 >  
 > -	if (params->key_size > MAX_CIPHER_KEY_SIZE) {

That's because PBKDF2 is previously only used for generating encryption keys, whose maximum length (32) is shorter than the one with MAC keys (64).

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1833#note_1904050170
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/20240514/dd55362d/attachment.html>


More information about the Gnutls-devel mailing list