public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* How do i generate a SHA256 hash in UEFI
@ 2017-09-25 18:41 Amit kumar
  2017-09-26 11:11 ` Rafael Machado
  0 siblings, 1 reply; 2+ messages in thread
From: Amit kumar @ 2017-09-25 18:41 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How do i generate a SHA256 hash in UEFI
  2017-09-25 18:41 How do i generate a SHA256 hash in UEFI Amit kumar
@ 2017-09-26 11:11 ` Rafael Machado
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael Machado @ 2017-09-26 11:11 UTC (permalink / raw)
  To: Amit kumar, edk2-devel@lists.01.org

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 <akamit91@hotmail.com>
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
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-26 11:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-25 18:41 How do i generate a SHA256 hash in UEFI Amit kumar
2017-09-26 11:11 ` Rafael Machado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox