diff options
| author | tb <> | 2019-01-19 01:07:00 +0000 |
|---|---|---|
| committer | tb <> | 2019-01-19 01:07:00 +0000 |
| commit | aa769d92fad41004606a446424dde716784d7854 (patch) | |
| tree | f28042e7a3c924e4bf846d6cded984e02699177d /src/lib/libcrypto/crypto.h | |
| parent | 640fa09d8cf557a05ae0593b939b6f5c57397e06 (diff) | |
| download | openbsd-aa769d92fad41004606a446424dde716784d7854.tar.gz openbsd-aa769d92fad41004606a446424dde716784d7854.tar.bz2 openbsd-aa769d92fad41004606a446424dde716784d7854.zip | |
Partial port of EC_KEY_METHOD from OpenSSL 1.1.
This commit adds init/free, support for signing, setting and
getting the method, engine support as well as extra data.
from markus
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/crypto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/crypto.h b/src/lib/libcrypto/crypto.h index 8d549da8b5..7de8abb437 100644 --- a/src/lib/libcrypto/crypto.h +++ b/src/lib/libcrypto/crypto.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: crypto.h,v 1.49 2018/11/11 16:32:28 bcook Exp $ */ | 1 | /* $OpenBSD: crypto.h,v 1.50 2019/01/19 01:07:00 tb Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -286,6 +286,7 @@ DECLARE_STACK_OF(CRYPTO_EX_DATA_FUNCS) | |||
| 286 | #define CRYPTO_EX_INDEX_ECDH 13 | 286 | #define CRYPTO_EX_INDEX_ECDH 13 |
| 287 | #define CRYPTO_EX_INDEX_COMP 14 | 287 | #define CRYPTO_EX_INDEX_COMP 14 |
| 288 | #define CRYPTO_EX_INDEX_STORE 15 | 288 | #define CRYPTO_EX_INDEX_STORE 15 |
| 289 | #define CRYPTO_EX_INDEX_EC_KEY 16 | ||
| 289 | 290 | ||
| 290 | /* Dynamically assigned indexes start from this value (don't use directly, use | 291 | /* Dynamically assigned indexes start from this value (don't use directly, use |
| 291 | * via CRYPTO_ex_data_new_class). */ | 292 | * via CRYPTO_ex_data_new_class). */ |
