diff options
author | tb <> | 2021-12-12 21:35:47 +0000 |
---|---|---|
committer | tb <> | 2021-12-12 21:35:47 +0000 |
commit | 2079bd78020b8fe474a6b532e0144a4a39456ffb (patch) | |
tree | 44e57823eb232bea1ffbc4c1b1417f4ee3865a66 /src/lib/libcrypto/ossl_typ.h | |
parent | c1ae4c3a2dcb48029aaea219cb195e9dfe1d093d (diff) | |
download | openbsd-2079bd78020b8fe474a6b532e0144a4a39456ffb.tar.gz openbsd-2079bd78020b8fe474a6b532e0144a4a39456ffb.tar.bz2 openbsd-2079bd78020b8fe474a6b532e0144a4a39456ffb.zip |
Annotate the structs that will be moved to hmac_local.h and evp_locl.h
in an upcoming bump. This omits EVP_AEAD_CTX which will be dealt with
separately. EVP_CIPHER_INFO internals are still publicly visible in
OpenSSL, so it won't be moved.
Move typedefs for HMAC_CTX and EVP_ENCODE_CTX to ossl_typ.h. These
typedefs will be visible by files including only hmac.h or evp.h since
hmac.h includes evp.h and evp.h includes ossl_typ.h.
ok inoguchi
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/ossl_typ.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ossl_typ.h b/src/lib/libcrypto/ossl_typ.h index 6463084198..9a1101d387 100644 --- a/src/lib/libcrypto/ossl_typ.h +++ b/src/lib/libcrypto/ossl_typ.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ossl_typ.h,v 1.15 2021/11/24 01:12:43 beck Exp $ */ | 1 | /* $OpenBSD: ossl_typ.h,v 1.16 2021/12/12 21:35:46 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -103,6 +103,10 @@ typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD; | |||
103 | typedef struct evp_pkey_method_st EVP_PKEY_METHOD; | 103 | typedef struct evp_pkey_method_st EVP_PKEY_METHOD; |
104 | typedef struct evp_pkey_ctx_st EVP_PKEY_CTX; | 104 | typedef struct evp_pkey_ctx_st EVP_PKEY_CTX; |
105 | 105 | ||
106 | typedef struct evp_Encode_Ctx_st EVP_ENCODE_CTX; | ||
107 | |||
108 | typedef struct hmac_ctx_st HMAC_CTX; | ||
109 | |||
106 | typedef struct dh_st DH; | 110 | typedef struct dh_st DH; |
107 | typedef struct dh_method DH_METHOD; | 111 | typedef struct dh_method DH_METHOD; |
108 | 112 | ||