Move SM2 algos to SM2 specific PKEY method
authorJack Lloyd <jack.lloyd@ribose.com>
Mon, 18 Jun 2018 19:51:56 +0000 (15:51 -0400)
committerMatt Caswell <matt@openssl.org>
Tue, 19 Jun 2018 10:29:44 +0000 (11:29 +0100)
commitddb634fe6f9aeea34fe036cf804903b4240d38ac
tree60501110c68634a55fdc888fcb5598e8ba9c4887
parent2f2e6b6278bc4cbf670e42ae9f4ff818529df37c
Move SM2 algos to SM2 specific PKEY method

Use EVP_PKEY_set_alias_type to access

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6443)
18 files changed:
crypto/asn1/standard_methods.h
crypto/ec/ec_ameth.c
crypto/ec/ec_err.c
crypto/ec/ec_pmeth.c
crypto/err/openssl.txt
crypto/evp/pmeth_lib.c
crypto/include/internal/asn1_int.h
crypto/include/internal/evp_int.h
crypto/include/internal/sm2.h
crypto/include/internal/sm2err.h
crypto/sm2/build.info
crypto/sm2/sm2_err.c
crypto/sm2/sm2_pmeth.c [new file with mode: 0644]
crypto/sm2/sm2_sign.c
include/openssl/ecerr.h
test/evp_extra_test.c
test/evp_test.c
test/recipes/30-test_evp_data/evppkey.txt