diff options
author | tb <> | 2022-01-14 08:31:03 +0000 |
---|---|---|
committer | tb <> | 2022-01-14 08:31:03 +0000 |
commit | a5f3c7cca338d4a5c023301b454650520406250c (patch) | |
tree | 1b0e111f6a0de29b306b8d0df09062b515dc964c /src/lib/libcrypto/ecdsa/ecs_locl.h | |
parent | 82f4ff947f0f70daa31c164267dbb748f7c3c7ee (diff) | |
download | openbsd-a5f3c7cca338d4a5c023301b454650520406250c.tar.gz openbsd-a5f3c7cca338d4a5c023301b454650520406250c.tar.bz2 openbsd-a5f3c7cca338d4a5c023301b454650520406250c.zip |
Move ECDSA_SIG to ecs_locl.h
We can't make ECDSA_METHOD opaque since it is still used in smtpd(8)
ok inoguchi jsing
Diffstat (limited to 'src/lib/libcrypto/ecdsa/ecs_locl.h')
-rw-r--r-- | src/lib/libcrypto/ecdsa/ecs_locl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecs_locl.h b/src/lib/libcrypto/ecdsa/ecs_locl.h index 0a9f17908b..a53ec379ea 100644 --- a/src/lib/libcrypto/ecdsa/ecs_locl.h +++ b/src/lib/libcrypto/ecdsa/ecs_locl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecs_locl.h,v 1.6 2019/01/19 01:07:00 tb Exp $ */ | 1 | /* $OpenBSD: ecs_locl.h,v 1.7 2022/01/14 08:31:03 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project | 3 | * Written by Nils Larsch for the OpenSSL project |
4 | */ | 4 | */ |
@@ -73,6 +73,11 @@ typedef struct ecdsa_data_st { | |||
73 | CRYPTO_EX_DATA ex_data; | 73 | CRYPTO_EX_DATA ex_data; |
74 | } ECDSA_DATA; | 74 | } ECDSA_DATA; |
75 | 75 | ||
76 | struct ECDSA_SIG_st { | ||
77 | BIGNUM *r; | ||
78 | BIGNUM *s; | ||
79 | }; | ||
80 | |||
76 | /** ecdsa_check | 81 | /** ecdsa_check |
77 | * checks whether ECKEY->meth_data is a pointer to a ECDSA_DATA structure | 82 | * checks whether ECKEY->meth_data is a pointer to a ECDSA_DATA structure |
78 | * and if not it removes the old meth_data and creates a ECDSA_DATA structure. | 83 | * and if not it removes the old meth_data and creates a ECDSA_DATA structure. |