[gnutls-devel] GnuTLS | key_share: support X25519Kyber768Draft00 (!1842)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Fri Jul 12 13:19:09 CEST 2024
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20240712/823bc911/attachment.html>
More information about the Gnutls-devel
mailing list