[gnutls-devel] GnuTLS | WIP: Add Linux kernel AF_ALG backend (!1404)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed Apr 7 10:10:30 CEST 2021




František Krenželok commented on a discussion on lib/accelerated/afalg.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1404#note_546363702

>  		return gnutls_assert_val(GNUTLS_E_INVALID_REQUEST);
>  
>  	memcpy(ctx->iv, iv, iv_size);
> +	if(!ctx->encdec){

Actually it is 0 for encryption and 1 for decryption so the inverse logic should be alright.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1404#note_546363702
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/20210407/65540514/attachment.html>


More information about the Gnutls-devel mailing list