summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cms/cms_lcl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/cms/cms_lcl.h')
-rw-r--r--src/lib/libcrypto/cms/cms_lcl.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/lib/libcrypto/cms/cms_lcl.h b/src/lib/libcrypto/cms/cms_lcl.h
index b46290af3e..a8ccaf4488 100644
--- a/src/lib/libcrypto/cms/cms_lcl.h
+++ b/src/lib/libcrypto/cms/cms_lcl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: cms_lcl.h,v 1.10 2019/08/11 10:15:30 jsing Exp $ */ 1/* $OpenBSD: cms_lcl.h,v 1.11 2019/08/11 10:26:04 jsing Exp $ */
2/* 2/*
3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
4 * project. 4 * project.
@@ -108,7 +108,7 @@ struct CMS_ContentInfo_st {
108DECLARE_STACK_OF(CMS_CertificateChoices) 108DECLARE_STACK_OF(CMS_CertificateChoices)
109 109
110struct CMS_SignedData_st { 110struct CMS_SignedData_st {
111 int32_t version; 111 long version;
112 STACK_OF(X509_ALGOR) *digestAlgorithms; 112 STACK_OF(X509_ALGOR) *digestAlgorithms;
113 CMS_EncapsulatedContentInfo *encapContentInfo; 113 CMS_EncapsulatedContentInfo *encapContentInfo;
114 STACK_OF(CMS_CertificateChoices) *certificates; 114 STACK_OF(CMS_CertificateChoices) *certificates;
@@ -124,7 +124,7 @@ struct CMS_EncapsulatedContentInfo_st {
124}; 124};
125 125
126struct CMS_SignerInfo_st { 126struct CMS_SignerInfo_st {
127 int32_t version; 127 long version;
128 CMS_SignerIdentifier *sid; 128 CMS_SignerIdentifier *sid;
129 X509_ALGOR *digestAlgorithm; 129 X509_ALGOR *digestAlgorithm;
130 STACK_OF(X509_ATTRIBUTE) *signedAttrs; 130 STACK_OF(X509_ATTRIBUTE) *signedAttrs;
@@ -148,7 +148,7 @@ struct CMS_SignerIdentifier_st {
148}; 148};
149 149
150struct CMS_EnvelopedData_st { 150struct CMS_EnvelopedData_st {
151 int32_t version; 151 long version;
152 CMS_OriginatorInfo *originatorInfo; 152 CMS_OriginatorInfo *originatorInfo;
153 STACK_OF(CMS_RecipientInfo) *recipientInfos; 153 STACK_OF(CMS_RecipientInfo) *recipientInfos;
154 CMS_EncryptedContentInfo *encryptedContentInfo; 154 CMS_EncryptedContentInfo *encryptedContentInfo;
@@ -186,7 +186,7 @@ struct CMS_RecipientInfo_st {
186typedef CMS_SignerIdentifier CMS_RecipientIdentifier; 186typedef CMS_SignerIdentifier CMS_RecipientIdentifier;
187 187
188struct CMS_KeyTransRecipientInfo_st { 188struct CMS_KeyTransRecipientInfo_st {
189 int32_t version; 189 long version;
190 CMS_RecipientIdentifier *rid; 190 CMS_RecipientIdentifier *rid;
191 X509_ALGOR *keyEncryptionAlgorithm; 191 X509_ALGOR *keyEncryptionAlgorithm;
192 ASN1_OCTET_STRING *encryptedKey; 192 ASN1_OCTET_STRING *encryptedKey;
@@ -198,7 +198,7 @@ struct CMS_KeyTransRecipientInfo_st {
198}; 198};
199 199
200struct CMS_KeyAgreeRecipientInfo_st { 200struct CMS_KeyAgreeRecipientInfo_st {
201 int32_t version; 201 long version;
202 CMS_OriginatorIdentifierOrKey *originator; 202 CMS_OriginatorIdentifierOrKey *originator;
203 ASN1_OCTET_STRING *ukm; 203 ASN1_OCTET_STRING *ukm;
204 X509_ALGOR *keyEncryptionAlgorithm; 204 X509_ALGOR *keyEncryptionAlgorithm;
@@ -245,7 +245,7 @@ struct CMS_RecipientKeyIdentifier_st {
245}; 245};
246 246
247struct CMS_KEKRecipientInfo_st { 247struct CMS_KEKRecipientInfo_st {
248 int32_t version; 248 long version;
249 CMS_KEKIdentifier *kekid; 249 CMS_KEKIdentifier *kekid;
250 X509_ALGOR *keyEncryptionAlgorithm; 250 X509_ALGOR *keyEncryptionAlgorithm;
251 ASN1_OCTET_STRING *encryptedKey; 251 ASN1_OCTET_STRING *encryptedKey;
@@ -261,7 +261,7 @@ struct CMS_KEKIdentifier_st {
261}; 261};
262 262
263struct CMS_PasswordRecipientInfo_st { 263struct CMS_PasswordRecipientInfo_st {
264 int32_t version; 264 long version;
265 X509_ALGOR *keyDerivationAlgorithm; 265 X509_ALGOR *keyDerivationAlgorithm;
266 X509_ALGOR *keyEncryptionAlgorithm; 266 X509_ALGOR *keyEncryptionAlgorithm;
267 ASN1_OCTET_STRING *encryptedKey; 267 ASN1_OCTET_STRING *encryptedKey;
@@ -276,20 +276,20 @@ struct CMS_OtherRecipientInfo_st {
276}; 276};
277 277
278struct CMS_DigestedData_st { 278struct CMS_DigestedData_st {
279 int32_t version; 279 long version;
280 X509_ALGOR *digestAlgorithm; 280 X509_ALGOR *digestAlgorithm;
281 CMS_EncapsulatedContentInfo *encapContentInfo; 281 CMS_EncapsulatedContentInfo *encapContentInfo;
282 ASN1_OCTET_STRING *digest; 282 ASN1_OCTET_STRING *digest;
283}; 283};
284 284
285struct CMS_EncryptedData_st { 285struct CMS_EncryptedData_st {
286 int32_t version; 286 long version;
287 CMS_EncryptedContentInfo *encryptedContentInfo; 287 CMS_EncryptedContentInfo *encryptedContentInfo;
288 STACK_OF(X509_ATTRIBUTE) *unprotectedAttrs; 288 STACK_OF(X509_ATTRIBUTE) *unprotectedAttrs;
289}; 289};
290 290
291struct CMS_AuthenticatedData_st { 291struct CMS_AuthenticatedData_st {
292 int32_t version; 292 long version;
293 CMS_OriginatorInfo *originatorInfo; 293 CMS_OriginatorInfo *originatorInfo;
294 STACK_OF(CMS_RecipientInfo) *recipientInfos; 294 STACK_OF(CMS_RecipientInfo) *recipientInfos;
295 X509_ALGOR *macAlgorithm; 295 X509_ALGOR *macAlgorithm;
@@ -301,7 +301,7 @@ struct CMS_AuthenticatedData_st {
301}; 301};
302 302
303struct CMS_CompressedData_st { 303struct CMS_CompressedData_st {
304 int32_t version; 304 long version;
305 X509_ALGOR *compressionAlgorithm; 305 X509_ALGOR *compressionAlgorithm;
306 STACK_OF(CMS_RecipientInfo) *recipientInfos; 306 STACK_OF(CMS_RecipientInfo) *recipientInfos;
307 CMS_EncapsulatedContentInfo *encapContentInfo; 307 CMS_EncapsulatedContentInfo *encapContentInfo;
@@ -373,14 +373,14 @@ struct CMS_ReceiptRequest_st {
373struct CMS_ReceiptsFrom_st { 373struct CMS_ReceiptsFrom_st {
374 int type; 374 int type;
375 union { 375 union {
376 int32_t allOrFirstTier; 376 long allOrFirstTier;
377 STACK_OF(GENERAL_NAMES) *receiptList; 377 STACK_OF(GENERAL_NAMES) *receiptList;
378 } d; 378 } d;
379}; 379};
380#endif 380#endif
381 381
382struct CMS_Receipt_st { 382struct CMS_Receipt_st {
383 int32_t version; 383 long version;
384 ASN1_OBJECT *contentType; 384 ASN1_OBJECT *contentType;
385 ASN1_OCTET_STRING *signedContentIdentifier; 385 ASN1_OCTET_STRING *signedContentIdentifier;
386 ASN1_OCTET_STRING *originatorSignatureValue; 386 ASN1_OCTET_STRING *originatorSignatureValue;