mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-08-27 23:51:18 +02:00
ed1c3a20f5
* mtmd: use sha256 for input hashing * void conflict with boringssl
10 lines
216 B
C++
10 lines
216 B
C++
#pragma once
|
|
|
|
// C++ wrapper for the vendored hash functions
|
|
|
|
#include <cstddef>
|
|
#include <string>
|
|
|
|
// returns the SHA-256 digest as a lowercase hex string
|
|
std::string hash_sha256_hex(const void * data, size_t len);
|