public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* UEFI shell hash tools?
@ 2017-10-31 15:18 Jeff Westfahl
  2017-11-01 11:05 ` Michael Zimmermann
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Westfahl @ 2017-10-31 15:18 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

Hello all,

I'm looking for tools that run in the UEFI shell and do typical hash functions on files. Basically the UEFI shell equivalent of md5sum, sha1sum, sha256sum, etc. It seems like these tools would be pretty useful, and that they should already exist, but I haven't found anything. Perhaps my google-foo is weak.

Does anybody know of any such tools?

Thank you,

Jeff Westfahl


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

* Re: UEFI shell hash tools?
  2017-10-31 15:18 UEFI shell hash tools? Jeff Westfahl
@ 2017-11-01 11:05 ` Michael Zimmermann
  2017-11-01 17:59   ` Blibbet
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Zimmermann @ 2017-11-01 11:05 UTC (permalink / raw)
  To: Jeff Westfahl; +Cc: edk2-devel@lists.01.org

I've never seen such tools for uefi but you could probably easily
implement them using CryptoPkg's openssl lib.

Thanks
Michael

On Tue, Oct 31, 2017 at 4:18 PM, Jeff Westfahl <jeff.westfahl@ni.com> wrote:
> Hello all,
>
> I'm looking for tools that run in the UEFI shell and do typical hash functions on files. Basically the UEFI shell equivalent of md5sum, sha1sum, sha256sum, etc. It seems like these tools would be pretty useful, and that they should already exist, but I haven't found anything. Perhaps my google-foo is weak.
>
> Does anybody know of any such tools?
>
> Thank you,
>
> Jeff Westfahl
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


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

* Re: UEFI shell hash tools?
  2017-11-01 11:05 ` Michael Zimmermann
@ 2017-11-01 17:59   ` Blibbet
  2017-11-01 20:15     ` Jeff Westfahl
  0 siblings, 1 reply; 4+ messages in thread
From: Blibbet @ 2017-11-01 17:59 UTC (permalink / raw)
  To: edk2-devel

On Tue, Oct 31, 2017 at 4:18 PM, Jeff Westfahl <jeff.westfahl@ni.com> wrote:
> I'm looking for tools that run in the UEFI shell and do typical hash
functions on files. [...]

CPython for UEFI implements the hashlib module from the Python std
library, so you could also search for Python solutions, not just C.

HTH,
Lee Fisher


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

* Re: UEFI shell hash tools?
  2017-11-01 17:59   ` Blibbet
@ 2017-11-01 20:15     ` Jeff Westfahl
  0 siblings, 0 replies; 4+ messages in thread
From: Jeff Westfahl @ 2017-11-01 20:15 UTC (permalink / raw)
  To: Blibbet, edk2-devel@lists.01.org

 Ah yes, very nice. I got a prebuilt Python 2.7.2 from ChipSec.

Thanks for the hint!

Jeff Westfahl

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Blibbet
Sent: Wednesday, November 1, 2017 1:00 PM
To: edk2-devel@lists.01.org
Subject: Re: [edk2] UEFI shell hash tools?

On Tue, Oct 31, 2017 at 4:18 PM, Jeff Westfahl <jeff.westfahl@ni.com> wrote:
> I'm looking for tools that run in the UEFI shell and do typical hash
functions on files. [...]

CPython for UEFI implements the hashlib module from the Python std library, so you could also search for Python solutions, not just C.

HTH,
Lee Fisher
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.01.org_mailman_listinfo_edk2-2Ddevel&d=DwICAg&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=a8PTr_mYl9W4QwZ3rldOhl9Qd8szTCAbsYOOeU5oZFg&m=c7nEYKWhNz0rw_Va5T0Wm6W6R4BpzMskg-6EEblqLf0&s=BA34zs-vrblFyJpub3rM-KATxc-alT2JPwE5ppk0N90&e=


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

end of thread, other threads:[~2017-11-01 20:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-31 15:18 UEFI shell hash tools? Jeff Westfahl
2017-11-01 11:05 ` Michael Zimmermann
2017-11-01 17:59   ` Blibbet
2017-11-01 20:15     ` Jeff Westfahl

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