Add EVP_PKEY functions to get EC conv form and field type
authorMatt Caswell <matt@openssl.org>
Mon, 18 Jan 2021 16:05:43 +0000 (16:05 +0000)
committerTomas Mraz <tomas@openssl.org>
Tue, 26 Jan 2021 14:26:17 +0000 (15:26 +0100)
commit3d34bedfd7fb9120b6eb7b05c25cd0c3de14c562
tree93c946b1f048024e1b46926a4add46e7d3f74732
parent5b5eea4b60b682009d2b15587c9ceeae5e9c73f8
Add EVP_PKEY functions to get EC conv form and field type

libssl at the moment downgrades an EVP_PKEY to an EC_KEY object in order
to get the conv form and field type. Instead we provide EVP_PKEY level
functions to do this.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13139)
crypto/evp/p_lib.c
include/openssl/ec.h
include/openssl/evp.h
ssl/t1_lib.c
util/libcrypto.num