[systemd-devel] hash context not closed.

Stef Bon stefbon at gmail.com
Mon Feb 5 12:18:32 UTC 2018


hi,

maybe good to know that libgcrypt provides a function which offers "all in one":

 void gcry_md_hash_buffer (int algo, void *digest, const void *buffer,
size_t length)

digest can be an array created earlier using the function gcry_md_get_algo_dlen.

Stef


More information about the systemd-devel mailing list