diff options
Diffstat (limited to 'src/lib/libcrypto')
| -rw-r--r-- | src/lib/libcrypto/evp/evp.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index 26695dc3d7..5059c0affb 100644 --- a/src/lib/libcrypto/evp/evp.h +++ b/src/lib/libcrypto/evp/evp.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: evp.h,v 1.133 2024/04/10 15:00:38 beck Exp $ */ | 1 | /* $OpenBSD: evp.h,v 1.134 2024/04/14 14:14:14 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -330,11 +330,6 @@ typedef int EVP_PBE_KEYGEN(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, | |||
| 330 | (char *)(eckey)) | 330 | (char *)(eckey)) |
| 331 | #endif | 331 | #endif |
| 332 | 332 | ||
| 333 | #ifndef OPENSSL_NO_GOST | ||
| 334 | #define EVP_PKEY_assign_GOST(pkey,gostkey) EVP_PKEY_assign((pkey),EVP_PKEY_GOSTR01,\ | ||
| 335 | (char *)(gostkey)) | ||
| 336 | #endif | ||
| 337 | |||
| 338 | /* Add some extra combinations */ | 333 | /* Add some extra combinations */ |
| 339 | #define EVP_get_digestbynid(a) EVP_get_digestbyname(OBJ_nid2sn(a)) | 334 | #define EVP_get_digestbynid(a) EVP_get_digestbyname(OBJ_nid2sn(a)) |
| 340 | #define EVP_get_digestbyobj(a) EVP_get_digestbynid(OBJ_obj2nid(a)) | 335 | #define EVP_get_digestbyobj(a) EVP_get_digestbynid(OBJ_obj2nid(a)) |
| @@ -602,12 +597,6 @@ const EVP_MD *EVP_ripemd160(void); | |||
| 602 | #ifndef OPENSSL_NO_WHIRLPOOL | 597 | #ifndef OPENSSL_NO_WHIRLPOOL |
| 603 | const EVP_MD *EVP_whirlpool(void); | 598 | const EVP_MD *EVP_whirlpool(void); |
| 604 | #endif | 599 | #endif |
| 605 | #ifndef OPENSSL_NO_GOST | ||
| 606 | const EVP_MD *EVP_gostr341194(void); | ||
| 607 | const EVP_MD *EVP_gost2814789imit(void); | ||
| 608 | const EVP_MD *EVP_streebog256(void); | ||
| 609 | const EVP_MD *EVP_streebog512(void); | ||
| 610 | #endif | ||
| 611 | const EVP_CIPHER *EVP_enc_null(void); /* does nothing :-) */ | 600 | const EVP_CIPHER *EVP_enc_null(void); /* does nothing :-) */ |
| 612 | #ifndef OPENSSL_NO_DES | 601 | #ifndef OPENSSL_NO_DES |
| 613 | const EVP_CIPHER *EVP_des_ecb(void); | 602 | const EVP_CIPHER *EVP_des_ecb(void); |
| @@ -735,12 +724,6 @@ const EVP_CIPHER *EVP_camellia_256_ofb(void); | |||
| 735 | const EVP_CIPHER *EVP_chacha20(void); | 724 | const EVP_CIPHER *EVP_chacha20(void); |
| 736 | #endif | 725 | #endif |
| 737 | 726 | ||
| 738 | #ifndef OPENSSL_NO_GOST | ||
| 739 | const EVP_CIPHER *EVP_gost2814789_ecb(void); | ||
| 740 | const EVP_CIPHER *EVP_gost2814789_cfb64(void); | ||
| 741 | const EVP_CIPHER *EVP_gost2814789_cnt(void); | ||
| 742 | #endif | ||
| 743 | |||
| 744 | #ifndef OPENSSL_NO_SM4 | 727 | #ifndef OPENSSL_NO_SM4 |
| 745 | const EVP_CIPHER *EVP_sm4_ecb(void); | 728 | const EVP_CIPHER *EVP_sm4_ecb(void); |
| 746 | const EVP_CIPHER *EVP_sm4_cbc(void); | 729 | const EVP_CIPHER *EVP_sm4_cbc(void); |
| @@ -820,9 +803,6 @@ struct ec_key_st *EVP_PKEY_get0_EC_KEY(EVP_PKEY *pkey); | |||
| 820 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | 803 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); |
| 821 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | 804 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); |
| 822 | #endif | 805 | #endif |
| 823 | #ifndef OPENSSL_NO_GOST | ||
| 824 | struct gost_key_st; | ||
| 825 | #endif | ||
| 826 | 806 | ||
| 827 | EVP_PKEY *EVP_PKEY_new(void); | 807 | EVP_PKEY *EVP_PKEY_new(void); |
| 828 | void EVP_PKEY_free(EVP_PKEY *pkey); | 808 | void EVP_PKEY_free(EVP_PKEY *pkey); |
