diff options
| author | NIIBE Yutaka <[email protected]> | 2019-03-13 00:12:14 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2019-03-13 00:12:14 +0000 |
| commit | af3efd149f555d36a455cb2ea311ff81caf5124c (patch) | |
| tree | 55977be217c169e348781c4460e59121be607e86 /g10/ecdh.c | |
| parent | dirmngr: Avoid testing for Tor with --gpgconf-list. (diff) | |
| download | gnupg-af3efd149f555d36a455cb2ea311ff81caf5124c.tar.gz gnupg-af3efd149f555d36a455cb2ea311ff81caf5124c.zip | |
g10: Fix symmetric cipher algo constant for ECDH.
* g10/ecdh.c (kek_params_table): Use CIPHER_ALGO_AES192 for
ECC strength 384, according to RFC-6637.
--
Reported-by: Trevor Bentley
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'g10/ecdh.c')
| -rw-r--r-- | g10/ecdh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/ecdh.c b/g10/ecdh.c index 6587cc4b4..5bbea96c0 100644 --- a/g10/ecdh.c +++ b/g10/ecdh.c @@ -39,7 +39,7 @@ static const struct /* Note: Must be sorted by ascending values for QBITS. */ { { 256, DIGEST_ALGO_SHA256, CIPHER_ALGO_AES }, - { 384, DIGEST_ALGO_SHA384, CIPHER_ALGO_AES256 }, + { 384, DIGEST_ALGO_SHA384, CIPHER_ALGO_AES192 }, /* Note: 528 is 521 rounded to the 8 bit boundary */ { 528, DIGEST_ALGO_SHA512, CIPHER_ALGO_AES256 } |
