summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-06-25 08:12:23 +0000
committertb <>2023-06-25 08:12:23 +0000
commita2fd97ea81459f82bf6ddf4a963c48c495818f5d (patch)
treebe1a48ce0777e07ddf317e1e815c3f08e42de6f0 /src
parente0aeb0f70d4d118590312e367386496c4465d6ca (diff)
downloadopenbsd-a2fd97ea81459f82bf6ddf4a963c48c495818f5d.tar.gz
openbsd-a2fd97ea81459f82bf6ddf4a963c48c495818f5d.tar.bz2
openbsd-a2fd97ea81459f82bf6ddf4a963c48c495818f5d.zip
ech_local.h: remove unused ECDH_FLAG_FIPS_METHOD
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/ecdh/ech_local.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libcrypto/ecdh/ech_local.h b/src/lib/libcrypto/ecdh/ech_local.h
index 3c2a2673c5..c8cb518249 100644
--- a/src/lib/libcrypto/ecdh/ech_local.h
+++ b/src/lib/libcrypto/ecdh/ech_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ech_local.h,v 1.2 2022/11/26 17:23:17 tb Exp $ */ 1/* $OpenBSD: ech_local.h,v 1.3 2023/06/25 08:12:23 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2000-2005 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 2000-2005 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -68,14 +68,6 @@ struct ecdh_method {
68 char *app_data; 68 char *app_data;
69}; 69};
70 70
71/* If this flag is set the ECDH method is FIPS compliant and can be used
72 * in FIPS mode. This is set in the validated module method. If an
73 * application sets this flag in its own methods it is its responsibility
74 * to ensure the result is compliant.
75 */
76
77#define ECDH_FLAG_FIPS_METHOD 0x1
78
79typedef struct ecdh_data_st { 71typedef struct ecdh_data_st {
80 /* EC_KEY_METH_DATA part */ 72 /* EC_KEY_METH_DATA part */
81 int (*init)(EC_KEY *); 73 int (*init)(EC_KEY *);