2 Defines the PCD_CRYPTO_SERVICE_FAMILY_ENABLE structure associated with
3 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.
5 Copyright (c) 2019 - 2022, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #ifndef __PCD_CRYPTO_SERVICE_FAMILY_ENABLE_H__
11 #define __PCD_CRYPTO_SERVICE_FAMILY_ENABLE_H__
14 /// Define used to enable all the crypto services in a family
16 #define PCD_CRYPTO_SERVICE_ENABLE_FAMILY 0xFFFFFFFF
19 /// PCD_CRYPTO_SERVICE_FAMILY_ENABLE structure. Each field in this structure
20 /// is associated with a service in the EDK II Crypto Protocol/PPI. This allows
21 /// each individual service to be enabled/disabled in a DSC file. Services are
22 /// also grouped into families. Unions are used to support enabling or
23 /// disabling an entire family in a single DSC statement.
74 UINT8 GetContextSize
: 1;
85 UINT8 GetContextSize
: 1;
96 UINT8 Pkcs1v2Encrypt
: 1;
97 UINT8 Pkcs5HashPassword
: 1;
98 UINT8 Pkcs7Verify
: 1;
99 UINT8 VerifyEKUsInPkcs7Signature
: 1;
100 UINT8 Pkcs7GetSigners
: 1;
101 UINT8 Pkcs7FreeSigners
: 1;
103 UINT8 Pkcs7GetAttachedContent
: 1;
104 UINT8 Pkcs7GetCertificatesList
: 1;
105 UINT8 AuthenticodeVerify
: 1;
106 UINT8 ImageTimestampVerify
: 1;
114 UINT8 GenerateParameter
: 1;
115 UINT8 SetParameter
: 1;
116 UINT8 GenerateKey
: 1;
117 UINT8 ComputeKey
: 1;
130 UINT8 VerifyPkcs1
: 1;
135 UINT8 GenerateKey
: 1;
138 UINT8 Pkcs1Verify
: 1;
139 UINT8 GetPrivateKeyFromPem
: 1;
140 UINT8 GetPublicKeyFromX509
: 1;
146 UINT8 GetContextSize
: 1;
157 UINT8 GetContextSize
: 1;
168 UINT8 GetContextSize
: 1;
179 UINT8 GetContextSize
: 1;
190 UINT8 GetSubjectName
: 1;
191 UINT8 GetCommonName
: 1;
192 UINT8 GetOrganizationName
: 1;
193 UINT8 VerifyCert
: 1;
194 UINT8 ConstructCertificate
: 1;
195 UINT8 ConstructCertificateStack
: 1;
196 UINT8 ConstructCertificateStackV
: 1;
199 UINT8 GetTBSCert
: 1;
205 UINT8 GetContextSize
: 1;
207 UINT8 EcbEncrypt
: 1;
208 UINT8 EcbDecrypt
: 1;
209 UINT8 CbcEncrypt
: 1;
210 UINT8 CbcDecrypt
: 1;
216 UINT8 GetContextSize
: 1;
218 UINT8 EcbEncrypt
: 1;
219 UINT8 EcbDecrypt
: 1;
220 UINT8 CbcEncrypt
: 1;
221 UINT8 CbcDecrypt
: 1;
227 UINT8 GetContextSize
: 1;
237 UINT8 GetContextSize
: 1;
248 UINT8 Sha256ExtractAndExpand
: 1;
249 UINT8 Sha256Extract
: 1;
250 UINT8 Sha256Expand
: 1;
251 UINT8 Sha384ExtractAndExpand
: 1;
252 UINT8 Sha384Extract
: 1;
253 UINT8 Sha384Expand
: 1;
259 UINT8 Initialize
: 1;
264 UINT8 InHandshake
: 1;
265 UINT8 DoHandshake
: 1;
266 UINT8 HandleAlert
: 1;
267 UINT8 CloseNotify
: 1;
268 UINT8 CtrlTrafficOut
: 1;
269 UINT8 CtrlTrafficIn
: 1;
278 UINT8 ConnectionEnd
: 1;
279 UINT8 CipherList
: 1;
280 UINT8 CompressionMethod
: 1;
282 UINT8 VerifyHost
: 1;
284 UINT8 CaCertificate
: 1;
285 UINT8 HostPublicCert
: 1;
286 UINT8 HostPrivateKey
: 1;
287 UINT8 CertRevocationList
: 1;
294 UINT8 ConnectionEnd
: 1;
295 UINT8 CurrentCipher
: 1;
296 UINT8 CurrentCompressionId
: 1;
299 UINT8 ClientRandom
: 1;
300 UINT8 ServerRandom
: 1;
301 UINT8 KeyMaterial
: 1;
302 UINT8 CaCertificate
: 1;
303 UINT8 HostPublicCert
: 1;
304 UINT8 HostPrivateKey
: 1;
305 UINT8 CertRevocationList
: 1;
322 } PCD_CRYPTO_SERVICE_FAMILY_ENABLE
;