mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpgsm: Support ECDSA in de-vs mode.
* common/compliance.h (PK_ALGO_FLAG_ECC18): New. * common/compliance.c (gnupg_pk_is_allowed): Implement. * sm/decrypt.c (gpgsm_decrypt): Pass new flag. * sm/sign.c (gpgsm_sign): Ditto. * sm/verify.c (gpgsm_verify): Ditto. -- GnuPG-bug-id: 6802
This commit is contained in:
parent
7340d4ecd7
commit
77fb089835
6 changed files with 18 additions and 6 deletions
|
@ -52,6 +52,7 @@ enum pk_use_case
|
|||
|
||||
/* Flags to distinguish public key algorithm variants. */
|
||||
#define PK_ALGO_FLAG_RSAPSS 1 /* Use rsaPSS padding. */
|
||||
#define PK_ALGO_FLAG_ECC18 256 /* GCRY_PK_ECC is used in a generic way. */
|
||||
|
||||
|
||||
int gnupg_pk_is_compliant (enum gnupg_compliance_mode compliance, int algo,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue