diff options
| author | tb <> | 2023-07-28 09:22:26 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-28 09:22:26 +0000 |
| commit | d5a81d6e35ae60f515d5705afb9c2f871823721a (patch) | |
| tree | 4eb57ae2fdd0f6dff20d00655e0d117dcf61415d /src/lib/libcrypto/engine/engine.h | |
| parent | a90aeb58faecc32cf7d4158977677efa3db85477 (diff) | |
| download | openbsd-d5a81d6e35ae60f515d5705afb9c2f871823721a.tar.gz openbsd-d5a81d6e35ae60f515d5705afb9c2f871823721a.tar.bz2 openbsd-d5a81d6e35ae60f515d5705afb9c2f871823721a.zip | |
Excise ECDH_METHOD
Unlike ECDSA_METHOD, this has been unused forever but kind of needed to
stay for symmetry with ECDSA_METHOD. Now we can finally take it behind
the barn and remove its tendrils into ENGINE.
ok jsing
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/engine/engine.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/lib/libcrypto/engine/engine.h b/src/lib/libcrypto/engine/engine.h index dbc3718dca..ef5878a5d3 100644 --- a/src/lib/libcrypto/engine/engine.h +++ b/src/lib/libcrypto/engine/engine.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: engine.h,v 1.40 2023/07/28 09:08:31 tb Exp $ */ | 1 | /* $OpenBSD: engine.h,v 1.41 2023/07/28 09:22:26 tb Exp $ */ |
| 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL | 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL |
| 3 | * project 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -76,9 +76,6 @@ | |||
| 76 | #ifndef OPENSSL_NO_EC | 76 | #ifndef OPENSSL_NO_EC |
| 77 | #include <openssl/ec.h> | 77 | #include <openssl/ec.h> |
| 78 | #endif | 78 | #endif |
| 79 | #ifndef OPENSSL_NO_ECDH | ||
| 80 | #include <openssl/ecdh.h> | ||
| 81 | #endif | ||
| 82 | #include <openssl/err.h> | 79 | #include <openssl/err.h> |
| 83 | #ifndef OPENSSL_NO_RSA | 80 | #ifndef OPENSSL_NO_RSA |
| 84 | #include <openssl/rsa.h> | 81 | #include <openssl/rsa.h> |
| @@ -98,7 +95,6 @@ extern "C" { | |||
| 98 | #define ENGINE_METHOD_DSA (unsigned int)0x0002 | 95 | #define ENGINE_METHOD_DSA (unsigned int)0x0002 |
| 99 | #define ENGINE_METHOD_DH (unsigned int)0x0004 | 96 | #define ENGINE_METHOD_DH (unsigned int)0x0004 |
| 100 | #define ENGINE_METHOD_RAND (unsigned int)0x0008 | 97 | #define ENGINE_METHOD_RAND (unsigned int)0x0008 |
| 101 | #define ENGINE_METHOD_ECDH (unsigned int)0x0010 | ||
| 102 | #define ENGINE_METHOD_CIPHERS (unsigned int)0x0040 | 98 | #define ENGINE_METHOD_CIPHERS (unsigned int)0x0040 |
| 103 | #define ENGINE_METHOD_DIGESTS (unsigned int)0x0080 | 99 | #define ENGINE_METHOD_DIGESTS (unsigned int)0x0080 |
| 104 | #define ENGINE_METHOD_STORE (unsigned int)0x0100 | 100 | #define ENGINE_METHOD_STORE (unsigned int)0x0100 |
| @@ -375,10 +371,6 @@ int ENGINE_register_DSA(ENGINE *e); | |||
| 375 | void ENGINE_unregister_DSA(ENGINE *e); | 371 | void ENGINE_unregister_DSA(ENGINE *e); |
| 376 | void ENGINE_register_all_DSA(void); | 372 | void ENGINE_register_all_DSA(void); |
| 377 | 373 | ||
| 378 | int ENGINE_register_ECDH(ENGINE *e); | ||
| 379 | void ENGINE_unregister_ECDH(ENGINE *e); | ||
| 380 | void ENGINE_register_all_ECDH(void); | ||
| 381 | |||
| 382 | int ENGINE_register_EC(ENGINE *e); | 374 | int ENGINE_register_EC(ENGINE *e); |
| 383 | void ENGINE_unregister_EC(ENGINE *e); | 375 | void ENGINE_unregister_EC(ENGINE *e); |
| 384 | void ENGINE_register_all_EC(void); | 376 | void ENGINE_register_all_EC(void); |
| @@ -475,7 +467,6 @@ int ENGINE_set_id(ENGINE *e, const char *id); | |||
| 475 | int ENGINE_set_name(ENGINE *e, const char *name); | 467 | int ENGINE_set_name(ENGINE *e, const char *name); |
| 476 | int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth); | 468 | int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth); |
| 477 | int ENGINE_set_DSA(ENGINE *e, const DSA_METHOD *dsa_meth); | 469 | int ENGINE_set_DSA(ENGINE *e, const DSA_METHOD *dsa_meth); |
| 478 | int ENGINE_set_ECDH(ENGINE *e, const ECDH_METHOD *ecdh_meth); | ||
| 479 | int ENGINE_set_EC(ENGINE *e, const EC_KEY_METHOD *ec_meth); | 470 | int ENGINE_set_EC(ENGINE *e, const EC_KEY_METHOD *ec_meth); |
| 480 | int ENGINE_set_DH(ENGINE *e, const DH_METHOD *dh_meth); | 471 | int ENGINE_set_DH(ENGINE *e, const DH_METHOD *dh_meth); |
| 481 | int ENGINE_set_RAND(ENGINE *e, const RAND_METHOD *rand_meth); | 472 | int ENGINE_set_RAND(ENGINE *e, const RAND_METHOD *rand_meth); |
| @@ -514,7 +505,6 @@ const char *ENGINE_get_id(const ENGINE *e); | |||
| 514 | const char *ENGINE_get_name(const ENGINE *e); | 505 | const char *ENGINE_get_name(const ENGINE *e); |
| 515 | const RSA_METHOD *ENGINE_get_RSA(const ENGINE *e); | 506 | const RSA_METHOD *ENGINE_get_RSA(const ENGINE *e); |
| 516 | const DSA_METHOD *ENGINE_get_DSA(const ENGINE *e); | 507 | const DSA_METHOD *ENGINE_get_DSA(const ENGINE *e); |
| 517 | const ECDH_METHOD *ENGINE_get_ECDH(const ENGINE *e); | ||
| 518 | const EC_KEY_METHOD *ENGINE_get_EC(const ENGINE *e); | 508 | const EC_KEY_METHOD *ENGINE_get_EC(const ENGINE *e); |
| 519 | const DH_METHOD *ENGINE_get_DH(const ENGINE *e); | 509 | const DH_METHOD *ENGINE_get_DH(const ENGINE *e); |
| 520 | const RAND_METHOD *ENGINE_get_RAND(const ENGINE *e); | 510 | const RAND_METHOD *ENGINE_get_RAND(const ENGINE *e); |
| @@ -581,7 +571,6 @@ int ENGINE_load_ssl_client_cert(ENGINE *e, SSL *s, | |||
| 581 | ENGINE *ENGINE_get_default_RSA(void); | 571 | ENGINE *ENGINE_get_default_RSA(void); |
| 582 | /* Same for the other "methods" */ | 572 | /* Same for the other "methods" */ |
| 583 | ENGINE *ENGINE_get_default_DSA(void); | 573 | ENGINE *ENGINE_get_default_DSA(void); |
| 584 | ENGINE *ENGINE_get_default_ECDH(void); | ||
| 585 | ENGINE *ENGINE_get_default_EC(void); | 574 | ENGINE *ENGINE_get_default_EC(void); |
| 586 | ENGINE *ENGINE_get_default_DH(void); | 575 | ENGINE *ENGINE_get_default_DH(void); |
| 587 | ENGINE *ENGINE_get_default_RAND(void); | 576 | ENGINE *ENGINE_get_default_RAND(void); |
| @@ -600,7 +589,6 @@ int ENGINE_set_default_RSA(ENGINE *e); | |||
| 600 | int ENGINE_set_default_string(ENGINE *e, const char *def_list); | 589 | int ENGINE_set_default_string(ENGINE *e, const char *def_list); |
| 601 | /* Same for the other "methods" */ | 590 | /* Same for the other "methods" */ |
| 602 | int ENGINE_set_default_DSA(ENGINE *e); | 591 | int ENGINE_set_default_DSA(ENGINE *e); |
| 603 | int ENGINE_set_default_ECDH(ENGINE *e); | ||
| 604 | int ENGINE_set_default_EC(ENGINE *e); | 592 | int ENGINE_set_default_EC(ENGINE *e); |
| 605 | int ENGINE_set_default_DH(ENGINE *e); | 593 | int ENGINE_set_default_DH(ENGINE *e); |
| 606 | int ENGINE_set_default_RAND(ENGINE *e); | 594 | int ENGINE_set_default_RAND(ENGINE *e); |
