mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Add secp256k1.
* common/openpgp-oid.c (openpgp_curve_to_oid): Add secp256k1. (openpgp_oid_to_curve): Likewise. * g10/keygen.c (ask_curve): Add secp256k1. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
927377bc91
commit
c5e41f539b
2 changed files with 8 additions and 0 deletions
|
@ -2062,6 +2062,7 @@ ask_curve (void)
|
|||
{ "brainpoolP256r1", 0, 1, "Brainpool P-256" },
|
||||
{ "brainpoolP384r1", 0, 1, "Brainpool P-384" },
|
||||
{ "brainpoolP512r1", 0, 1, "Brainpool P-512" },
|
||||
{ "secp256k1", 0, 1 },
|
||||
};
|
||||
int idx;
|
||||
char *answer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue