diff options
Diffstat (limited to 'src/lib/libcrypto/ec/ec.h')
-rw-r--r-- | src/lib/libcrypto/ec/ec.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ec/ec.h b/src/lib/libcrypto/ec/ec.h index 1173459dae..0b8d2cb355 100644 --- a/src/lib/libcrypto/ec/ec.h +++ b/src/lib/libcrypto/ec/ec.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec.h,v 1.14 2019/01/19 01:07:00 tb Exp $ */ | 1 | /* $OpenBSD: ec.h,v 1.15 2019/01/19 01:12:48 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Originally written by Bodo Moeller for the OpenSSL project. | 3 | * Originally written by Bodo Moeller for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -966,6 +966,11 @@ void EC_KEY_METHOD_set_init(EC_KEY_METHOD *meth, | |||
966 | int (*set_group)(EC_KEY *key, const EC_GROUP *grp), | 966 | int (*set_group)(EC_KEY *key, const EC_GROUP *grp), |
967 | int (*set_private)(EC_KEY *key, const BIGNUM *priv_key), | 967 | int (*set_private)(EC_KEY *key, const BIGNUM *priv_key), |
968 | int (*set_public)(EC_KEY *key, const EC_POINT *pub_key)); | 968 | int (*set_public)(EC_KEY *key, const EC_POINT *pub_key)); |
969 | void EC_KEY_METHOD_set_keygen(EC_KEY_METHOD *meth, | ||
970 | int (*keygen)(EC_KEY *key)); | ||
971 | void EC_KEY_METHOD_set_compute_key(EC_KEY_METHOD *meth, | ||
972 | int (*ckey)(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh, | ||
973 | void *(*KDF) (const void *in, size_t inlen, void *out, size_t *outlen))); | ||
969 | void EC_KEY_METHOD_get_init(EC_KEY_METHOD *meth, | 974 | void EC_KEY_METHOD_get_init(EC_KEY_METHOD *meth, |
970 | int (**pinit)(EC_KEY *key), | 975 | int (**pinit)(EC_KEY *key), |
971 | void (**pfinish)(EC_KEY *key), | 976 | void (**pfinish)(EC_KEY *key), |
@@ -973,6 +978,11 @@ void EC_KEY_METHOD_get_init(EC_KEY_METHOD *meth, | |||
973 | int (**pset_group)(EC_KEY *key, const EC_GROUP *grp), | 978 | int (**pset_group)(EC_KEY *key, const EC_GROUP *grp), |
974 | int (**pset_private)(EC_KEY *key, const BIGNUM *priv_key), | 979 | int (**pset_private)(EC_KEY *key, const BIGNUM *priv_key), |
975 | int (**pset_public)(EC_KEY *key, const EC_POINT *pub_key)); | 980 | int (**pset_public)(EC_KEY *key, const EC_POINT *pub_key)); |
981 | void EC_KEY_METHOD_get_keygen(EC_KEY_METHOD *meth, | ||
982 | int (**pkeygen)(EC_KEY *key)); | ||
983 | void EC_KEY_METHOD_get_compute_key(EC_KEY_METHOD *meth, | ||
984 | int (**pck)(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh, | ||
985 | void *(*KDF) (const void *in, size_t inlen, void *out, size_t *outlen))); | ||
976 | 986 | ||
977 | EC_KEY *ECParameters_dup(EC_KEY *key); | 987 | EC_KEY *ECParameters_dup(EC_KEY *key); |
978 | 988 | ||