Re: How to use SHA256 in a QEMU device

2020-11-20 Thread Alberto Garcia
On Fri, Nov 20, 2020 at 09:33:18PM +, Weiss, Howard wrote: > I am writing a device which uses SHA256 [...] > I have tried > > #include You don't have to use openssl, QEMU already provides those algorithms, see include/crypto/hash.h Berto

How to use SHA256 in a QEMU device

2020-11-20 Thread Weiss, Howard
I am writing a device which uses SHA256 I use the following to configure the build ./configure -target-list=x86_64-softmmu -enable-sdl -enable-debug -extra-ldflags="'pkg-config -libs openssl'" With PKG_CONFIG_PATH is defined via export PKG_CONFIG_PATH=/usr/local/openssl-1.1.1c How do I