Re: Exposing the gcry_md_hash_buffers_extract function

Werner Koch via Gcrypt-devel <[email protected]>
Newsgroups gmane.comp.encryption.gpg.libgcrypt.devel
Message-ID <[email protected]>
On Fri,  8 Mar 2024 15:28, NIIBE Yutaka said:

> While we have gcry_md_hash_buffers in libgcrypt, and
> _gcry_md_hash_buffers_extract internally, we don't have the
> gcry_md_hash_buffers_extract function exposed.

I think we should use a better name for that function.

gcry_md_hash_buffers_extract is the same as gcry_md_hash_buffers with
the addition of the size of the provided result buffer.  Thus
gcry_md_hash_buffers_ext sounds like a better name to me

> Shall I do that for next libgcrypt release?

Yep.


Shalom-Salam,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein

_______________________________________________
Gcrypt-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gcrypt-devel
openpgp-digital-signature.asc (application/pgp-signature, 247 B)
-----BEGIN PGP SIGNATURE-----

iIMEARYIACsWIQSHd0YfKgdOvEgNNZQZzByeCFsQegUCZerZMg0cd2tAZ251cGcu
b3JnAAoJEBnMHJ4IWxB6qsoA/2KdoLlVL2CpyO4iNJYVl4aZqBYH2s+3RaH17Efi
WQ6BAQCpBXcJ3y6xVipxmm/RZ4BpAA/Y3X9PvMYVE84TfuhwCQ==
=yyBX
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.