diff options
author | Eivind Næss <eivnaes@yahoo.com> | 2022-08-03 08:46:28 -0700 |
---|---|---|
committer | Eivind Næss <eivnaes@yahoo.com> | 2022-08-12 08:31:06 -0700 |
commit | 774440c7f0a2b633bae02980927e36ad371604dc (patch) | |
tree | 0fe509cdcfe247e89f96891be34d8b4b8fad4dc3 /pppd/pppdconf.h.in | |
parent | 8cbd7dd098cbb565dd9b01397fb352f1c98376f3 (diff) | |
download | ppp-774440c7f0a2b633bae02980927e36ad371604dc.tar.gz |
Create a new API to abstract the crypto functions used by pppd.
This re-introduces the missing DES encryption functions copied from Openssl 3.0 project. Incorporates a new API for performing MD4/MD5/SHA and encryption using DES-ECB mode.
Unit tests are included for respective digest/encryption functions using this new API. With this change, you can pass configure --without-openssl to use the internally provided functions. If you do have openssl, then it will default to use these functions. This also provides a framework to allow other vendors to provide crypto.
This closes #333, partially addresses #242 (except the pkcs11 engine support). Word has it that openssl is working on support for this, and the libp11 / opensc project are inclined not to support this.
Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
Diffstat (limited to 'pppd/pppdconf.h.in')
-rw-r--r-- | pppd/pppdconf.h.in | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/pppd/pppdconf.h.in b/pppd/pppdconf.h.in index 64c37f7..ad25dca 100644 --- a/pppd/pppdconf.h.in +++ b/pppd/pppdconf.h.in @@ -45,18 +45,6 @@ /* Have PEAP authentication support */ #undef PPP_WITH_PEAP -/* Use included des included with pppd */ -#undef USE_CRYPT - -/* Use included md4 included with pppd */ -#undef USE_MD4 - -/* Use included md5 included with pppd */ -#undef USE_MD5 - -/* Use included sha included with pppd */ -#undef USE_SHA - /* The pppd version */ #undef PPPD_VERSION |