core: C++-ify SHA1 interface

All callers of the SHA1 code are C++. Might just as well use
a C++ like interface.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-04-23 21:30:40 +08:00 committed by bstoeger
parent 729356e0b1
commit 21f68387ae
6 changed files with 71 additions and 78 deletions

View file

@ -162,7 +162,7 @@ set(SUBSURFACE_CORE_LIB_SRCS
save-xml.cpp
selection.cpp
selection.h
sha1.c
sha1.cpp
sha1.h
ssrf.h
statistics.c