summaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp_local.h
diff options
context:
space:
mode:
authorJakub Zelenka <jakub.openssl@gmail.com>2020-09-06 20:11:34 +0200
committerTomas Mraz <tmraz@fedoraproject.org>2020-09-08 15:43:11 +0200
commit924663c36d47066d5307937da77fed7e872730c7 (patch)
treea60cfe385cc29402bdaceaaa5a8b069ca6a6a50a /crypto/evp/evp_local.h
parentapps/cmp.c: Allow default HTTP path (aka CMP alias) given with -server option (diff)
downloadopenssl-924663c36d47066d5307937da77fed7e872730c7.tar.xz
openssl-924663c36d47066d5307937da77fed7e872730c7.zip
Add CMS AuthEnvelopedData with AES-GCM support
Add the AuthEnvelopedData as defined in RFC 5083 with AES-GCM parameter as defined in RFC 5084. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/8024)
Diffstat (limited to 'crypto/evp/evp_local.h')
-rw-r--r--crypto/evp/evp_local.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/evp/evp_local.h b/crypto/evp/evp_local.h
index 1e1d689070..e7f7643d83 100644
--- a/crypto/evp/evp_local.h
+++ b/crypto/evp/evp_local.h
@@ -240,6 +240,11 @@ EVP_KEYMGMT *evp_keymgmt_fetch_by_number(OPENSSL_CTX *ctx, int name_id,
EVP_MD *evp_md_new(void);
EVP_CIPHER *evp_cipher_new(void);
+int evp_cipher_get_asn1_aead_params(EVP_CIPHER_CTX *c, ASN1_TYPE *type,
+ evp_cipher_aead_asn1_params *asn1_params);
+int evp_cipher_set_asn1_aead_params(EVP_CIPHER_CTX *c, ASN1_TYPE *type,
+ evp_cipher_aead_asn1_params *asn1_params);
+
/* Helper functions to avoid duplicating code */
/*