The flag "decoded-from-explicit" must be imp/exportable
authorTomas Mraz <tomas@openssl.org>
Mon, 20 Jun 2022 10:10:06 +0000 (12:10 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 23 Jun 2022 13:47:15 +0000 (15:47 +0200)
commit95a6fbdf0d112582b9ad56f8d42ec92b1ec4787d
treea8042fde3c2caef0817f8fba32d5e8b52a4a5c00
parent5ad3e76c23576b2e216463bfe43d005a3e09defc
The flag "decoded-from-explicit" must be imp/exportable

Otherwise the information that the EC group was imported from
explicit parameters is lost when the key is moved across providers.

Fixes #18600

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/18609)
crypto/ec/ec_backend.c
crypto/ec/ec_lib.c
providers/implementations/keymgmt/ec_kmgmt.c