]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/BaseCryptLib/Hash/CryptParallelHash.h
CryptPkg: Enable CryptoPkg BaseCryptLib ParallelHash for PEI and DXE
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / Hash / CryptParallelHash.h
index dcfe200e5829faf46eed1c0bc72123635b91c7d1..03a1a58cb8e7410b4565f680f483e2f885ce8e29 100644 (file)
@@ -201,3 +201,26 @@ CShake256HashAll (
   IN   UINTN       CustomizationLen,\r
   OUT  UINT8       *HashValue\r
   );\r
+\r
+/**\r
+  Complete computation of digest of each block.\r
+\r
+  Each AP perform the function called by BSP.\r
+\r
+  @param[in] ProcedureArgument Argument of the procedure.\r
+**/\r
+VOID\r
+EFIAPI\r
+ParallelHashApExecute (\r
+  IN VOID  *ProcedureArgument\r
+  );\r
+\r
+/**\r
+  Dispatch the block task to each AP.\r
+\r
+**/\r
+VOID\r
+EFIAPI\r
+DispatchBlockToAp (\r
+  VOID\r
+  );\r