[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 Mar 17 15:49:44 CET 2021
Daiki Ueno commented on a discussion on lib/accelerated/afalg.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1404#note_531579331
> + }
> +
> + return 0;
> +}
> +
> +static int afalg_aead_decrypt(void *_ctx,
> + const void *nonce, size_t nonce_size,
> + const void *auth, size_t auth_size,
> + size_t tag_size,
> + const void *encr, size_t encr_size,
> + void *plain, size_t plain_size)
> +{
> + struct kcapi_aead_ctx *ctx = _ctx;
> + struct iovec iov[3];
> + uint32_t iovlen = 2;
> + uint8_t authtmp[auth_size];
I guess we could use [malloca](https://www.gnu.org/software/gnulib/MODULES.html#module=malloca) from Gnulib, if we go with this direction.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1404#note_531579331
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/20210317/42617df6/attachment.html>
More information about the Gnutls-devel
mailing list