[gnutls-devel] GnuTLS | Assorted fixes (!1894)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Nov 8 12:35:08 CET 2024




Daiki Ueno commented on a discussion on lib/liboqs/sha3x4.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1894#note_2201001370

 > +#include "dlwrap/oqs.h"
 > +#include <gnutls/crypto.h>
 > +#include "gnutls_int.h"
 > +#include <string.h>
 > +#include "attribute.h"
 > +
 > +struct sha3_x4_context_st {
 > +	gnutls_hash_hd_t hds[4];
 > +};
 > +
 > +static void sha3_x4_context_deinit(struct sha3_x4_context_st *context)
 > +{
 > +	if (!context)
 > +		return;
 > +
 > +	for (size_t i = 0; i < 4; i++) {

The file is about 4-parallel SHAKE implementation, so I just defined a macro `SHA3_N` (= 4).

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1894#note_2201001370
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/20241108/78afc914/attachment-0001.html>


More information about the Gnutls-devel mailing list