Hi Amit

You can use the CryptoPkg functionalities.

https://github.com/tianocore/edk2/tree/UDK2017/CryptoPkg

At this package you will find some hash functions that are wrapped from
OpenSSL

https://github.com/tianocore/edk2/tree/UDK2017/CryptoPkg/Library/BaseCryptLib/Hash

With this you'll not need to rely on the system hash protocols.

Hope this can help.
Rafael Machado

Em seg, 25 de set de 2017 às 15:41, Amit kumar <[email protected]>
escreveu:

> Hi ,
>
> I am trying to write a uefi standalone application ( not a uefi shell
> app), which generates a sh256 hash, can some body tell me the right way to
> do it.
> Do i really need to use hash protocol. Is there any other way to do it
> without using this protocol ?
> Best Regards
> Amit Kumar
>
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.01.org/mailman/listinfo/edk2-devel
>
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to