]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Application/Cryptest/Cryptest.c
CryptoPkg: Add PKCS5 PBKDF2 interface for password derivation.
[mirror_edk2.git] / CryptoPkg / Application / Cryptest / Cryptest.c
index 79c1850e68e0d7005d11581471b0461c565ced47..13b70732b9ef34d4cc0431db81bc5ff140e12288 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Application for Cryptographic Primitives Validation.\r
 \r
-Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -63,6 +63,11 @@ CryptestMain (
     return Status;\r
   }\r
 \r
+  Status = ValidateCryptPkcs5Pbkdf2 ();\r
+  if (EFI_ERROR (Status)) {\r
+    return Status;\r
+  }\r
+\r
   Status = ValidateCryptPkcs7 ();\r
   if (EFI_ERROR (Status)) {\r
     return Status;\r
@@ -89,4 +94,4 @@ CryptestMain (
   }\r
 \r
   return EFI_SUCCESS;\r
-}
\ No newline at end of file
+}\r