diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-02-16 10:54:08 +0100 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2020-03-03 22:48:45 +0100 |
commit | f552d900459cbacd82433b688b237cd6870663cd (patch) | |
tree | 8fca1cf5a0274525e750cf74e890a3ac7f7eb671 /test/build.info | |
parent | Correct two small documentation issues (diff) | |
download | openssl-f552d900459cbacd82433b688b237cd6870663cd.tar.xz openssl-f552d900459cbacd82433b688b237cd6870663cd.zip |
Add Serializers for EC
Provide EC serializers for text, pem and der.
EC parameters use ANS1 'CHOICE' - which means they are more embedded than other parameters used by
other KEY types (which normally have a SEQUENCE at the top level).
For this reason the ANS1_STRING type that was being passed around has been changed to a void so that the
code can still be shared with EC.
The EC serializer only supports named curves currently.
NOTE the serializer code assumes PKCS8 format - if the older encode methods are needed they will need to be
added in another PR. (Probably when deserialization is considered).
EVP_PKEY_key_fromdata_init was changed from using a keypair selection to all bits of a key. A side effect of this was
that the very restrictive checks in the ecx code needed to be relaxed as it was assuming all selection flags were non
optional. As this is not the case for any other key the code has been modified.
Fixed a bug in legacy_ctrl_str_to_params() - "ecdh_cofactor_mode" was being incorrectly converted to the wrong keyname.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11107)
Diffstat (limited to 'test/build.info')
-rw-r--r-- | test/build.info | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/build.info b/test/build.info index 5965616d80..ea350e5d6a 100644 --- a/test/build.info +++ b/test/build.info @@ -144,7 +144,7 @@ IF[{- !$disabled{tests} -}] SOURCE[evp_pkey_provided_test]=evp_pkey_provided_test.c INCLUDE[evp_pkey_provided_test]=../include ../apps/include - DEPEND[evp_pkey_provided_test]=../libcrypto libtestutil.a + DEPEND[evp_pkey_provided_test]=../libcrypto.a libtestutil.a IF[{- !$disabled{'deprecated-3.0'} -}] PROGRAMS{noinst}=igetest bftest casttest |