[PATCH 2/2] cipher: Support random-override with PUBKEY_FLAG_BYTE_STRING.
NIIBE Yutaka
gniibe at fsij.org
Wed Jun 18 09:39:11 CEST 2025
* cipher/pubkey-util.c (_gcry_pk_util_init_encoding_ctx): Initialize
RND and RNDLEN field.
(_gcry_pk_util_free_encoding_ctx): Release memory by RND field.
(_gcry_pk_util_data_to_mpi): Support optional "random-override".
* src/cipher.h (struct pk_encoding_ctx): Add RND and RNDLEN.
--
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
cipher/pubkey-util.c | 13 +++++++++++++
src/cipher.h | 4 ++++
2 files changed, 17 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-cipher-Support-random-override-with-PUBKEY_FLAG_BYTE.patch
Type: text/x-patch
Size: 1577 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20250618/a478609e/attachment.bin>
More information about the Gcrypt-devel
mailing list