summaryrefslogtreecommitdiffstats
path: root/CryptoPkg
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect return status in Pkcs7Verify().tye12012-06-251-0/+2
| | | | | | | Signed-off by: Ye Ting <ting.ye@intel.com> Reviewed-by: Fu, Siyuan <Siyuan.fu@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13469 6f19259b-4bc3-4df7-8a09-765794883524
* Enable execute property to avoid format is changed carelessly.vanjeff2012-06-142-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13451 6f19259b-4bc3-4df7-8a09-765794883524
* Remove Carriage-Return character.vanjeff2012-06-141-2/+2
| | | | | | | | signed-off-by: Jeff Fan <jeff.fan@intel.com> reviewed-by: Ting Ye <ting.ye@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13450 6f19259b-4bc3-4df7-8a09-765794883524
* Add comment for modules which have external input.jyao12012-06-126-1/+54
| | | | | | | | | | | | signed-off-by: jiewen.yao@intel.com reviewed-by: guo.dong@intel.com reviewed-by: ting.ye@intel.com reviewed-by: liming.gao@intel.com reviewed-by: elvin.li@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13446 6f19259b-4bc3-4df7-8a09-765794883524
* Fix SmmCryptLib issue when calling time() in RealTimeClock.ctye12012-06-013-287/+51
| | | | | | | | 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@13417 6f19259b-4bc3-4df7-8a09-765794883524
* Use current time value as default random seed in BaseCryptLib.tye12012-05-105-4/+239
| | | | | | | | | Signed-off by: Ye Ting <ting.ye@intel.com> Reviewed-by: Yao Jiewen <jiewen.yao@intel.com> Reviewed-by: Sun Rui <rui.sun@intel.com> Reviewed-by: Long Qin <qin.long@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13300 6f19259b-4bc3-4df7-8a09-765794883524
* Upgrade openssl version to 0.98w.tye12012-05-075-41/+56
| | | | | | | | Signed-off by: Ye Ting <ting.ye@intel.com> Reviewed-by: Dong Guo <guo.dong@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13289 6f19259b-4bc3-4df7-8a09-765794883524
* Update copyright formathhtian2012-04-241-3/+1
| | | | | | Signed-off-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13213 6f19259b-4bc3-4df7-8a09-765794883524
* EDK II Packages: Add Contributions.txt and License.txt filesjljusten2012-04-112-0/+215
| | | | | | | | | | | | | Contributions.txt documents the contribution process for all tianocore projects. The conents of Contributions.txt should match in all cases. License.txt is a per-project document showing the license terms used by that project. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13187 6f19259b-4bc3-4df7-8a09-765794883524
* Add two new interfaces Pkcs7GetSigners and Pkcs7FreeSigners to BaseCryptLib.tye12012-03-316-75/+470
| | | | | | | | | Signed-off by: tye1 Reviewed-by: geekboy15a Reviewed-by: sfu5 Reviewed-by: gdong1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13158 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Remove conducting ASSERT in BaseCryptLib.sfu52012-03-1921-532/+681
| | | | | | | | Signed-off-by: sfu5 Reviewed-by: qianouyang Reviewed-by: gdong1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13110 6f19259b-4bc3-4df7-8a09-765794883524
* Change Openssl build option for IPF back to SIXTY_FOUR_BIT.li-elvin2011-12-261-1/+1
| | | | | | | Signed-off-by: li-elvin Reviewed-by: vanjeff git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12893 6f19259b-4bc3-4df7-8a09-765794883524
* Update CryptoPkg package versions from 0.91 to 0.92.tye12011-12-132-2/+2
| | | | | | | | | Signed-off-by: tye1 Reviewed-by: gdong1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12846 6f19259b-4bc3-4df7-8a09-765794883524
* Fix Windows 2008 R2 installation fail issue in IPF ICC tip.tye12011-12-091-1/+1
| | | | | | | | Signed-off-by: tye1 Reviewed-by: gdong1 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12832 6f19259b-4bc3-4df7-8a09-765794883524
* Fix openssl lib build issue in IPF tip.tye12011-11-281-4/+5
| | | | | | | | | Signed-off-by: tye Reviewed-by: gdong1 Reviewed-by: ftian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12794 6f19259b-4bc3-4df7-8a09-765794883524
* Add the missing options for X64 and IPF arch of MSFT:NOOPT target.lgao42011-11-281-1/+3
| | | | | | Signed-off-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12793 6f19259b-4bc3-4df7-8a09-765794883524
* Fix CrytoPkg issue in GCC X64 tip.tye12011-11-253-19/+91
| | | | | | | | | Signed-off-by: tye Reviewed-by: gdong1 Reviewed-by: ftian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12784 6f19259b-4bc3-4df7-8a09-765794883524
* Update return FALSE to ASSERT() for code consistent.tye12011-11-044-31/+19
| | | | | | | | | | Signed-off-by: tye Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12659 6f19259b-4bc3-4df7-8a09-765794883524
* CryptoPkg: Fix GCC build break for BaseCryptLib.xdu22011-10-281-1/+1
| | | | | | Signed-off-by: xdu2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12601 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Fix build break issue for NOOPT target.tye12011-10-285-13/+126
| | | | | | | | | | | | | | 2. Fix potential system hang issue in X509_STORE_CTX_cleanup. 3. Fix potential overflow when convert UINTN to INT. 4. Update Pkcs7Sign() to output stripped PKCS#7 SignedData. 5. Update Pkcs7Verify() to support both wrapped/stripped PKCS#7 SignedData. Signed-off-by: tye Reviewed-by: xdu2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12593 6f19259b-4bc3-4df7-8a09-765794883524
* Replace SHA1 with SHA256 digest algorithm.tye12011-09-141-0/+14
| | | | | | | | | | Signed-off-by: tye Reviewed-by: hhuan13 Reviewed-by: qlong git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12350 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Adjust SignedData to comply with latest UEFI spec: 1) remove ↵tye12011-09-141-8/+12
| | | | | | | | | | | | | | SignerInfo.authenticatedAttributes; 2) remove SignedData.contentInfo.content; 2. Fix some coding style problems. Signed-off-by: tye Reviewed-by: hhuan13 Reviewed-by: qlong git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12349 6f19259b-4bc3-4df7-8a09-765794883524
* Add new interfaces to support PKCS7#7 signed data and authenticode ↵tye12011-08-1618-158/+1440
| | | | | | | | | | | signature. Update Cryptest to validate functionality of new interfaces. Signed-off-by: tye1 Reviewed-by: hhuan13 Reviewed-by: qlong git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12142 6f19259b-4bc3-4df7-8a09-765794883524
* Update code to pass packaging tool.lzeng142011-05-302-7/+6
| | | | | | | Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11712 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up DEC files: Remove section header comment blocks that do not provide ↵hhtian2011-05-121-6/+1
| | | | | | any information git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11643 6f19259b-4bc3-4df7-8a09-765794883524
* CryptoPkg SysCall Lib: Fix warning with GCC in CrtWrapper.cjljusten2011-05-041-0/+31
| | | | | | | | | | | | | | | Exit is declared to be 'noreturn' function, but GCC sees that the empty function will return. Therefore, GCC flags a warning. To work-around this, we use a function pointer, along with a cast to force the code to think that a 'noreturn' function is being called. Signed-off-by: jljusten Reviewed-by: qlong git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11609 6f19259b-4bc3-4df7-8a09-765794883524
* CryptoPkg OpenSslSupport.h: Do not instantiate data in an include filejljusten2011-05-042-5/+9
| | | | | | | | | | | | | Include files should never instantiate data. Data should only be referenced as an 'extern' within include files. The previous code would generate a GCC warning, since the static data items were not always referenced. Signed-off-by: jljusten Reviewed-by: qlong git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11608 6f19259b-4bc3-4df7-8a09-765794883524
* Update DebugLib to provide support for "err" command in the EFI Shell to ↵hhtian2011-04-201-1/+2
| | | | | | | | adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask. 1) Add default mappings for the DebugPrintErrorLevelLib to the DSC file for this package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11569 6f19259b-4bc3-4df7-8a09-765794883524
* Patch from open source community for CryptoPkg to allow it to build for ARM ↵qlong2011-04-194-5/+137
| | | | | | using the RVCT toolchain. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11565 6f19259b-4bc3-4df7-8a09-765794883524
* Refine code to make code follow the coding style.ydong102011-01-132-5/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11247 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Add new API supports for PEM & X509 key retrieving & verification;qlong2010-12-3119-4/+1223
| | | | | | | | 2. Add new MD4 hash supports; 3. Add corresponding test case in Cryptest utility; 4. Fix MACRO definition issue in OpensslLib.inf and parameter checking issues in some wrapper implementations. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11214 6f19259b-4bc3-4df7-8a09-765794883524
* 1. enable /GL optimization building on OpensslLib.vanjeff2010-11-267-31/+58
| | | | | | | 2. add DDK3790 compiler option for IA32. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11099 6f19259b-4bc3-4df7-8a09-765794883524
* Override MSFT build option in INF files to remove /GL or /Oi.vanjeff2010-11-162-6/+24
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11059 6f19259b-4bc3-4df7-8a09-765794883524
* Update CryptoPkg for new ciphers (HMAC, Block Cipher, etc) supports.qlong2010-11-0232-605/+5287
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10997 6f19259b-4bc3-4df7-8a09-765794883524
* Add CryptoPkg (from UDK2010.UP3)hhtian2010-11-0176-0/+7305
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10987 6f19259b-4bc3-4df7-8a09-765794883524