Home GnuPG

cipher:dsa,ecdsa: Support supplying K externally.

Description

cipher:dsa,ecdsa: Support supplying K externally.

* cipher/dsa.c (sign): Add an argument K for DSA.
(test_keys, dsa_sign): Follow the change.
* cipher/ecc-common.h (_gcry_ecc_ecdsa_sign): Likewise for ECDSA.
* cipher/ecc-ecdsa.c (_gcry_ecc_ecdsa_sign): Likewise for ECDSA.
* cipher/ecc.c (test_keys, ecc_sign): Follow the change.
* cipher/pubkey-util.c (_gcry_pk_util_data_to_mpi): Support "label"
for K.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 7 2021, 6:47 AM
Parents
rC9fc0d145278d: Fix building for Win64 target
Branches
Unknown
Tags
Unknown