mtmd: use sha256 for input hashing (#27274)

* mtmd: use sha256 for input hashing

* void conflict with boringssl
This commit is contained in:
Xuan-Son Nguyen
2026-08-17 21:20:12 +02:00
committed by GitHub
parent d8df12ebc4
commit ed1c3a20f5
12 changed files with 107 additions and 27 deletions
+4
View File
@@ -25,6 +25,8 @@ A million repetitions of "a"
#include "sha1.h"
namespace vendor_hash {
#define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits))))
@@ -293,3 +295,5 @@ void SHA1(
SHA1Final((unsigned char *)hash_out, &ctx);
}
} // namespace vendor_hash