summaryrefslogtreecommitdiffstats
path: root/source/core/slang-md5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-md5.cpp')
-rw-r--r--source/core/slang-md5.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/core/slang-md5.cpp b/source/core/slang-md5.cpp
index 95b4816bf..7371b21d2 100644
--- a/source/core/slang-md5.cpp
+++ b/source/core/slang-md5.cpp
@@ -232,6 +232,11 @@ namespace Slang
update(ctx, hash.values, sizeof(hash.values));
}
+ void MD5HashGen::update(MD5Context* ctx, ISlangBlob* blob)
+ {
+ update(ctx, blob->getBufferPointer(), blob->getBufferSize());
+ }
+
void MD5HashGen::update(MD5Context* ctx, const void* data, SlangInt size)
{
MD5_u32plus saved_lo;