[gnutls-devel] GnuTLS | add support for 0-RTT (!775)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Oct 31 09:47:21 CET 2018


Daiki Ueno commented on a discussion on lib/includes/gnutls/gnutls.h.in:

>  
>  void gnutls_supplemental_send(gnutls_session_t session, unsigned do_send_supplemental);
>  
> +/* Anti-replay related functions */
> +
> +typedef struct gnutls_anti_replay_st *gnutls_anti_replay_t;
> +
> +typedef int (*gnutls_anti_replay_add_func) (void *, const gnutls_datum_t *key);
> +typedef unsigned (*gnutls_anti_replay_check_func) (void *, const gnutls_datum_t *key);
> +typedef void(*gnutls_anti_replay_clear_func) (void *);

For the latter approach, what do you say the new backend functions (`store`, `remove`, `retr`) take a list of attributes instead of a datum, as in `C_FindObjects` in PKCS#11?  That way we could supply arbitrary hints to the backend and wouldn't need another function for the "remove all" behavior.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/775#note_113406203
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/20181031/3c83ffef/attachment.html>


More information about the Gnutls-devel mailing list