diff options
| author | tb <> | 2022-07-07 13:01:28 +0000 |
|---|---|---|
| committer | tb <> | 2022-07-07 13:01:28 +0000 |
| commit | 7986c6c16406e5ad9f53a49107428df9f9fd70c1 (patch) | |
| tree | 539767872181d9087ed86b86848b9b25031ed468 /src/lib/libcrypto/dsa/dsa.h | |
| parent | ff78126e2bdcc3826447aa931770e2ee087ab498 (diff) | |
| download | openbsd-7986c6c16406e5ad9f53a49107428df9f9fd70c1.tar.gz openbsd-7986c6c16406e5ad9f53a49107428df9f9fd70c1.tar.bz2 openbsd-7986c6c16406e5ad9f53a49107428df9f9fd70c1.zip | |
Expose new API in headers.
These are mostly security-level related, but there are also ASN1_TIME
and ASN_INTEGER functions here, as well as some missing accessors.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa.h')
| -rw-r--r-- | src/lib/libcrypto/dsa/dsa.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/dsa/dsa.h b/src/lib/libcrypto/dsa/dsa.h index 12b1faadf3..75fb2d004b 100644 --- a/src/lib/libcrypto/dsa/dsa.h +++ b/src/lib/libcrypto/dsa/dsa.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: dsa.h,v 1.37 2022/07/04 12:22:32 tb Exp $ */ | 1 | /* $OpenBSD: dsa.h,v 1.38 2022/07/07 13:01:28 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -151,9 +151,7 @@ int DSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, | |||
| 151 | CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); | 151 | CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); |
| 152 | int DSA_set_ex_data(DSA *d, int idx, void *arg); | 152 | int DSA_set_ex_data(DSA *d, int idx, void *arg); |
| 153 | void *DSA_get_ex_data(DSA *d, int idx); | 153 | void *DSA_get_ex_data(DSA *d, int idx); |
| 154 | #ifdef LIBRESSL_INTERNAL | ||
| 155 | int DSA_security_bits(const DSA *d); | 154 | int DSA_security_bits(const DSA *d); |
| 156 | #endif | ||
| 157 | 155 | ||
| 158 | DSA *d2i_DSAPublicKey(DSA **a, const unsigned char **pp, long length); | 156 | DSA *d2i_DSAPublicKey(DSA **a, const unsigned char **pp, long length); |
| 159 | int i2d_DSAPublicKey(const DSA *a, unsigned char **pp); | 157 | int i2d_DSAPublicKey(const DSA *a, unsigned char **pp); |
| @@ -222,10 +220,8 @@ ENGINE *DSA_get0_engine(DSA *d); | |||
| 222 | DSA_METHOD *DSA_meth_new(const char *name, int flags); | 220 | DSA_METHOD *DSA_meth_new(const char *name, int flags); |
| 223 | void DSA_meth_free(DSA_METHOD *meth); | 221 | void DSA_meth_free(DSA_METHOD *meth); |
| 224 | DSA_METHOD *DSA_meth_dup(const DSA_METHOD *meth); | 222 | DSA_METHOD *DSA_meth_dup(const DSA_METHOD *meth); |
| 225 | #ifdef LIBRESSL_INTERNAL | ||
| 226 | const char *DSA_meth_get0_name(const DSA_METHOD *meth); | 223 | const char *DSA_meth_get0_name(const DSA_METHOD *meth); |
| 227 | int DSA_meth_set1_name(DSA_METHOD *meth, const char *name); | 224 | int DSA_meth_set1_name(DSA_METHOD *meth, const char *name); |
| 228 | #endif | ||
| 229 | int DSA_meth_set_sign(DSA_METHOD *meth, | 225 | int DSA_meth_set_sign(DSA_METHOD *meth, |
| 230 | DSA_SIG *(*sign)(const unsigned char *, int, DSA *)); | 226 | DSA_SIG *(*sign)(const unsigned char *, int, DSA *)); |
| 231 | int DSA_meth_set_finish(DSA_METHOD *meth, int (*finish)(DSA *)); | 227 | int DSA_meth_set_finish(DSA_METHOD *meth, int (*finish)(DSA *)); |
