g10: Fix symmetric cipher algo constant for ECDH.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 13 Mar 2019 00:12:14 +0000 (09:12 +0900)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 1 Jul 2022 16:06:43 +0000 (17:06 +0100)
commitc0229f82c732c29aa5529dca5e6b89af5429f032
tree4a390b8e96c989d2bb1007e177eac39981857f0a
parent84af137e5940c2b93ba090d1eb7fd225f98986ea
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 <gniibe@fsij.org>
(cherry picked from commit af3efd149f555d36a455cb2ea311ff81caf5124c)
(cherry picked from commit 38c2a9a644e0bc1e2594ea437a5930982f7b8c4e)

Gbp-Pq: Topic from-2.2.16
Gbp-Pq: Name g10-Fix-symmetric-cipher-algo-constant-for-ECDH.patch
g10/ecdh.c
scd/app-openpgp.c