diff options
| author | tb <> | 2022-01-14 08:31:03 +0000 |
|---|---|---|
| committer | tb <> | 2022-01-14 08:31:03 +0000 |
| commit | 61219b77d5b56d0f4d1297df47aac4c8a542dbeb (patch) | |
| tree | 1b0e111f6a0de29b306b8d0df09062b515dc964c /src/lib/libcrypto/ecdsa/ecs_locl.h | |
| parent | f72ed7892736508b786a5179457e131dedb2fe9a (diff) | |
| download | openbsd-61219b77d5b56d0f4d1297df47aac4c8a542dbeb.tar.gz openbsd-61219b77d5b56d0f4d1297df47aac4c8a542dbeb.tar.bz2 openbsd-61219b77d5b56d0f4d1297df47aac4c8a542dbeb.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. |
