HomePhabricator

cmake: Only use OpenSSL Ed25519 implementation when possible

Authored by Anderson Toshiyuki Sasaki <ansasaki@redhat.com> on Tue, Nov 5, 4:17 PM.

Description

cmake: Only use OpenSSL Ed25519 implementation when possible

It is possible for OpenSSL to have the type EVP_PKEY_ED25519 in
openssl/evp.h, but not the single shot functions EVP_DigestSign() and
EVP_DigestVerify() which are required to generate Ed25519 signatures.

Only switch to use OpenSSL Ed25519 implementation when OpenSSL have all
required types and functions.

Fixes: T197

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnThu, Nov 7, 11:59 AM
Parents
rLIBSSHb30875c6c743: examples: Added keygen2 example
Branches
Unknown
Tags
Unknown