2 Defines the PCD_CRYPTO_SERVICE_FAMILY_ENABLE structure associated with
3 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.
5 Copyright (c) 2019 - 2020, 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.
61 UINT8 GetContextSize
: 1;
72 UINT8 GetContextSize
: 1;
83 UINT8 Pkcs1v2Encrypt
: 1;
84 UINT8 Pkcs5HashPassword
: 1;
85 UINT8 Pkcs7Verify
: 1;
86 UINT8 VerifyEKUsInPkcs7Signature
: 1;
87 UINT8 Pkcs7GetSigners
: 1;
88 UINT8 Pkcs7FreeSigners
: 1;
90 UINT8 Pkcs7GetAttachedContent
: 1;
91 UINT8 Pkcs7GetCertificatesList
: 1;
92 UINT8 AuthenticodeVerify
: 1;
93 UINT8 ImageTimestampVerify
: 1;
101 UINT8 GenerateParameter
: 1;
102 UINT8 SetParameter
: 1;
103 UINT8 GenerateKey
: 1;
104 UINT8 ComputeKey
: 1;
117 UINT8 VerifyPkcs1
: 1;
122 UINT8 GenerateKey
: 1;
125 UINT8 Pkcs1Verify
: 1;
126 UINT8 GetPrivateKeyFromPem
: 1;
127 UINT8 GetPublicKeyFromX509
: 1;
133 UINT8 GetContextSize
: 1;
144 UINT8 GetContextSize
: 1;
155 UINT8 GetContextSize
: 1;
166 UINT8 GetContextSize
: 1;
177 UINT8 GetSubjectName
: 1;
178 UINT8 GetCommonName
: 1;
179 UINT8 GetOrganizationName
: 1;
180 UINT8 VerifyCert
: 1;
181 UINT8 ConstructCertificate
: 1;
182 UINT8 ConstructCertificateStack
: 1;
183 UINT8 ConstructCertificateStackV
: 1;
186 UINT8 GetTBSCert
: 1;
192 UINT8 GetContextSize
: 1;
194 UINT8 EcbEncrypt
: 1;
195 UINT8 EcbDecrypt
: 1;
196 UINT8 CbcEncrypt
: 1;
197 UINT8 CbcDecrypt
: 1;
203 UINT8 GetContextSize
: 1;
205 UINT8 EcbEncrypt
: 1;
206 UINT8 EcbDecrypt
: 1;
207 UINT8 CbcEncrypt
: 1;
208 UINT8 CbcDecrypt
: 1;
214 UINT8 GetContextSize
: 1;
224 UINT8 GetContextSize
: 1;
235 UINT8 Sha256ExtractAndExpand
;
241 UINT8 Initialize
: 1;
246 UINT8 InHandshake
: 1;
247 UINT8 DoHandshake
: 1;
248 UINT8 HandleAlert
: 1;
249 UINT8 CloseNotify
: 1;
250 UINT8 CtrlTrafficOut
: 1;
251 UINT8 CtrlTrafficIn
: 1;
260 UINT8 ConnectionEnd
: 1;
261 UINT8 CipherList
: 1;
262 UINT8 CompressionMethod
: 1;
264 UINT8 VerifyHost
: 1;
266 UINT8 CaCertificate
: 1;
267 UINT8 HostPublicCert
: 1;
268 UINT8 HostPrivateKey
: 1;
269 UINT8 CertRevocationList
: 1;
276 UINT8 ConnectionEnd
: 1;
277 UINT8 CurrentCipher
: 1;
278 UINT8 CurrentCompressionId
: 1;
281 UINT8 ClientRandom
: 1;
282 UINT8 ServerRandom
: 1;
283 UINT8 KeyMaterial
: 1;
284 UINT8 CaCertificate
: 1;
285 UINT8 HostPublicCert
: 1;
286 UINT8 HostPrivateKey
: 1;
287 UINT8 CertRevocationList
: 1;
291 } PCD_CRYPTO_SERVICE_FAMILY_ENABLE
;