diff options
Diffstat (limited to 'src/lib/libcrypto/evp/evp_locl.h')
| -rw-r--r-- | src/lib/libcrypto/evp/evp_locl.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp_locl.h b/src/lib/libcrypto/evp/evp_locl.h index dd7d2522e6..37fc55eb9c 100644 --- a/src/lib/libcrypto/evp/evp_locl.h +++ b/src/lib/libcrypto/evp/evp_locl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: evp_locl.h,v 1.29 2022/11/10 15:17:30 jsing Exp $ */ | 1 | /* $OpenBSD: evp_locl.h,v 1.30 2022/11/10 16:37:52 jsing Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -74,6 +74,15 @@ typedef int evp_verify_method(int type, const unsigned char *m, | |||
| 74 | unsigned int m_length, const unsigned char *sigbuf, unsigned int siglen, | 74 | unsigned int m_length, const unsigned char *sigbuf, unsigned int siglen, |
| 75 | void *key); | 75 | void *key); |
| 76 | 76 | ||
| 77 | struct ecx_key_st { | ||
| 78 | int nid; | ||
| 79 | int key_len; | ||
| 80 | uint8_t *priv_key; | ||
| 81 | size_t priv_key_len; | ||
| 82 | uint8_t *pub_key; | ||
| 83 | size_t pub_key_len; | ||
| 84 | }; | ||
| 85 | |||
| 77 | /* Type needs to be a bit field | 86 | /* Type needs to be a bit field |
| 78 | * Sub-type needs to be for variations on the method, as in, can it do | 87 | * Sub-type needs to be for variations on the method, as in, can it do |
| 79 | * arbitrary encryption.... */ | 88 | * arbitrary encryption.... */ |
| @@ -96,6 +105,7 @@ struct evp_pkey_st { | |||
| 96 | #endif | 105 | #endif |
| 97 | #ifndef OPENSSL_NO_EC | 106 | #ifndef OPENSSL_NO_EC |
| 98 | struct ec_key_st *ec; /* ECC */ | 107 | struct ec_key_st *ec; /* ECC */ |
| 108 | struct ecx_key_st *ecx; /* ECX */ | ||
| 99 | #endif | 109 | #endif |
| 100 | #ifndef OPENSSL_NO_GOST | 110 | #ifndef OPENSSL_NO_GOST |
| 101 | struct gost_key_st *gost; /* GOST */ | 111 | struct gost_key_st *gost; /* GOST */ |
