1. Add new API supports for PEM & X509 key retrieving & verification;

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
This commit is contained in:
qlong
2010-12-31 07:22:48 +00:00
parent 2a6433fef2
commit 4a567c9690
19 changed files with 1223 additions and 4 deletions

View File

@@ -84,6 +84,12 @@ Md5Duplicate (
OUT VOID *NewMd5Context
)
{
//
// ASSERT if Md5Context or NewMd5Context is NULL.
//
ASSERT (Md5Context != NULL);
ASSERT (NewMd5Context != NULL);
CopyMem (NewMd5Context, Md5Context, sizeof (MD5_CTX));
return TRUE;