1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Replace SHA256 implementation with one from LibreSSL

They have cleaner code than OpenSSL :)

from here: https://github.com/libressl/openbsd/tree/master/src/lib/libcrypto
and https://github.com/libressl/portable
This commit is contained in:
sfan5 2024-01-15 21:26:24 +01:00
parent b0f76d82c5
commit 5ceb327e55
4 changed files with 580 additions and 880 deletions

View file

@ -50,7 +50,7 @@
#include <mini-gmp.h>
#endif
#include <util/sha2.h>
#include "util/sha256.h"
#include "srp.h"
//#define CSRP_USE_SHA1