mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
experiment: Try to support new 448 key and signature.
-- Keygrip computation is still wrong, need to fix soon. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
e99b9890c2
commit
c450eb1ccb
6 changed files with 83 additions and 11 deletions
|
@ -1805,10 +1805,13 @@ pubkey_nbits( int algo, gcry_mpi_t *key )
|
|||
rc = gpg_error_from_syserror ();
|
||||
else
|
||||
{
|
||||
gcry_mpi_t pubkey = openpgp_ecc_parse_pubkey (algo, curve, key[1]);
|
||||
|
||||
rc = gcry_sexp_build (&sexp, NULL,
|
||||
"(public-key(ecc(curve%s)(q%m)))",
|
||||
curve, key[1]);
|
||||
xfree (curve);
|
||||
gcry_mpi_release (pubkey);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue