]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add PrivateKeyRaw and PublicKeyRaw support to evp_test
authorMatt Caswell <matt@openssl.org>
Fri, 1 Dec 2017 17:57:42 +0000 (17:57 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 15 Mar 2018 12:47:27 +0000 (12:47 +0000)
commit4665244ce28add625d28c9ee9c52e39b42024705
tree2350aa7ddf280394de45a551c40ba4bff9bf4507
parentd45a97f475d944c9d4ce1103fb1d3f3a68ccd8cd
Add PrivateKeyRaw and PublicKeyRaw support to evp_test

Previously private and public keys had to be pem encoded to be read by
evp_test. This enables us to embed the raw private/public key values
in the test file. The algorithm has to support EVP_PKEY_new_private_key()
and EVP_PKEY_new_public_key() for this to work.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5520)
test/evp_test.c