EC_KEY: add EC_KEY_decoded_from_explicit_params()
authorTomas Mraz <tmraz@fedoraproject.org>
Fri, 21 Aug 2020 12:50:52 +0000 (14:50 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Thu, 17 Sep 2020 15:15:15 +0000 (17:15 +0200)
commitfe2f8aecfe4a0de483334bf671a8eb4f14444c00
treeebffe5ec2b8c7ee772f3c5a29c976dfac981e410
parentbde4aa8dc1946dff189c89396814a98d1052262d
EC_KEY: add EC_KEY_decoded_from_explicit_params()

The function returns 1 when the encoding of a decoded EC key used
explicit encoding of the curve parameters.

Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/12683)
crypto/ec/ec_asn1.c
crypto/ec/ec_key.c
crypto/ec/ec_lib.c
crypto/ec/ec_local.h
doc/man3/EC_KEY_new.pod
include/openssl/ec.h
test/ec_internal_test.c
util/libcrypto.num