Add helper APIs for generating cryptographic hashes
GNULIB provides APIs for calculating md5 and sha256 hashes,
but these APIs only return you raw byte arrays. Most users
in libvirt want the hash in printable string format. Add
some helper APIs in util/vircrypto.{c,h} for doing this.
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
Showing
src/util/vircrypto.c
0 → 100644
src/util/vircrypto.h
0 → 100644
tests/vircryptotest.c
0 → 100644
想要评论请 注册 或 登录