[gnutls-devel] GnuTLS | pkcs12: use correct key length when using STREEBOG-512 (!1171)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Jan 20 12:39:54 CET 2020

Dmitry Baryshkov started a new discussion on lib/x509/pkcs12.c: https://gitlab.com/gnutls/gnutls/merge_requests/1171#note_273950489

>  	if (me->id == GNUTLS_MAC_GOSTR_94 ||
>  	    me->id == GNUTLS_MAC_STREEBOG_256 ||
>  	    me->id == GNUTLS_MAC_STREEBOG_512) {
>  		key_len = 32;

@rockdaboot For typical usecases `key_len` is set to be equal to `mac_size`. For GOST case we override `key_len = 32`.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1171#note_273950489
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/20200120/58c29353/attachment.html>

More information about the Gnutls-devel mailing list