repart: port to our home-grown hmac_sha256
authorKevin Kuehler <kevin@segfault.fun>
Wed, 20 Oct 2021 10:21:18 +0000 (12:21 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 30 Nov 2021 22:00:21 +0000 (23:00 +0100)
commitade99252e2cdd9eeff78566789008996d27e4dc0
tree2279a7139a71850516594e542ea501a716ac9f4c
parent528da64a0c734bd45e953b5c57d82e2a727435ef
repart: port to our home-grown hmac_sha256

This reduces dependencies. The speed of the code here is uimportant, because we
hash only a tiny amount of input data.

Debian and Ubuntu currently build without repart, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976959
> repart requires openssl and so far I tried to avoid linking against
> both gnutls and openssl.

Co-authored-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
src/partition/repart.c