[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:40:25 CET 2020




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

>  							   sizeof(salt),
>  							   iter,
>  							   pass,
> -							   mac_size,
> +							   key_len,

However when generating a key, I incorrectly used `mac_size` (= 64 for Streebog-512) instead of `key_len`.

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


More information about the Gnutls-devel mailing list