This changes EVP's cipher and digest code to hook via the ENGINE support.

See crypto/engine/README for details.

- it also removes openbsd_hw.c from the build (that functionality is
  going to be available in the openbsd ENGINE in a upcoming commit)

- evp_test has had the extra initialisation added so it will use (if
  possible) any ENGINEs supporting the algorithms required.
This commit is contained in:
Geoff Thorpe
2001-09-25 21:37:02 +00:00
parent b370230b78
commit 11a57c7be5
7 changed files with 170 additions and 31 deletions

View File

@@ -52,6 +52,12 @@
#include <openssl/rsa.h>
#include "evp_locl.h"
/* This stuff should now all be supported through
* crypto/engine/hw_openbsd_dev_crypto.c unless I botched it up */
static void *dummy=&dummy;
#if 0
/* check flag after OpenSSL headers to ensure make depend works */
#ifdef OPENSSL_OPENBSD_DEV_CRYPTO
@@ -437,3 +443,4 @@ const EVP_MD *EVP_dev_crypto_md5(void)
{ return &md5_md; }
#endif
#endif