Daiki Ueno commented on a discussion on lib/liboqs/sha3.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1842#note_1996741231 > + > +/* SHA3-512 */ > + > +static void SHA3_sha3_512(uint8_t *output, const uint8_t *input, size_t > inplen) > +{ > + gnutls_hash_fast(GNUTLS_DIG_SHA3_512, input, inplen, output); > +} > + > +/* SHA3-512 incremental */ > + > +static void SHA3_sha3_512_inc_init(OQS_SHA3_sha3_512_inc_ctx *state) > +{ > + gnutls_hash_hd_t hd; > + int ret; > + > + ret = gnutls_hash_init(&hd, GNUTLS_DIG_SHA3_256); Good catch, fixed. -- Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1842#note_1996741231 You're receiving this email because of your account on gitlab.com.
_______________________________________________ Gnutls-devel mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-devel
