[gnutls-devel] GnuTLS | ktls: basic implementation of SW mode (!1451)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Sep 21 10:34:12 CEST 2021

František Krenželok commented on a discussion on lib/includes/gnutls/socket.h: https://gitlab.com/gnutls/gnutls/-/merge_requests/1451#note_682818397

>  #endif
>  /* *INDENT-ON* */
> +
> +
>  void gnutls_transport_set_fastopen(gnutls_session_t session,
>                                     int fd,
>                                     struct sockaddr *connect_addr,
>                                     socklen_t connect_addrlen,
>                                     unsigned int flags);
> +int gnutls_transport_set_ktls(gnutls_session_t session,
> +		int sockin, int sockout);

- setting gnutls_transport_set_{push,pull}_function will not do as the received data is handled as encrypted but with ktls and recvmsg we get unencrypted data
- gnutls_transport_set_int2 will not work for instances where gnutls_transport_set_ptr function is used (for example gnutls-cli)

Perhaps there is another way, but we didn't find any

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1451#note_682818397
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/20210921/16274aec/attachment.html>

More information about the Gnutls-devel mailing list