]> xenbits.xensource.com Git - libvirt.git/commit
vircrypto: provide constants for hash sizes
authorJán Tomko <jtomko@redhat.com>
Fri, 11 May 2018 13:42:35 +0000 (15:42 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 14 May 2018 11:55:47 +0000 (13:55 +0200)
commit95ba1c2f6e200c40e4f39dd277978712c95434c6
tree8d10b2e0c7951f235182cd45843907d4129633a9
parent57b8df921978430defc34c105d8e223761e08e8e
vircrypto: provide constants for hash sizes

The callers needing to know the size of the resulting digest
rely on _DIGEST_SIZE constants from gnulib.

Introduce VIR_CRYPTO_HASH_SIZE_ constants to remove the dependency.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/util/vircrypto.h