Add interfaces to several library instances of BaseCryptLib.

Signed-off-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Long Qin <qin.long@intel.com>




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13539 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
tye1
2012-07-18 09:32:05 +00:00
parent c31b316c00
commit 532616bbd6
42 changed files with 5340 additions and 59 deletions

View File

@@ -1,20 +1,16 @@
## @file
# Cryptographic Library Instance for SMM driver.
#
# This library instance uses ConstantTimeClock.c thus does not provide
# functionality for following APIs which need system time support:
# 1) RsaGenerateKey
# 2) RsaCheckKey
# 3) RsaPkcs1Sign
# 4) Pkcs7Sign
# 5) DhGenerateParameter
# 6) DhGenerateKey
#
# Caution: This module requires additional review when modified.
# This library will have external input - signature.
# This external input must be validated carefully to avoid security issue like
# buffer overflow, integer overflow.
#
# Note: MD4 Digest functions, HMAC-MD5 functions, HMAC-SHA1 functions, AES/
# TDES/ARC4 functions, RSA external functions, PKCS#7 SignedData sign functions,
# Diffie-Hellman functions, authenticode signature verification functions are
# not supported in this instance.
#
# Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -42,12 +38,22 @@
#
[Sources]
Hash/CryptMd4Null.c
Hash/CryptMd5.c
Hash/CryptSha1.c
Hash/CryptSha256.c
Pk/CryptRsa.c
Pk/CryptPkcs7.c
Hmac/CryptHmacMd5Null.c
Hmac/CryptHmacSha1Null.c
Cipher/CryptAesNull.c
Cipher/CryptTdesNull.c
Cipher/CryptArc4Null.c
Pk/CryptRsaBasic.c
Pk/CryptRsaExtNull.c
Pk/CryptPkcs7SignNull.c
Pk/CryptPkcs7Verify.c
Pk/CryptDhNull.c
Pk/CryptX509.c
Pk/CryptAuthenticodeNull.c
Pem/CryptPem.c
SysCall/CrtWrapper.c