summaryrefslogtreecommitdiff
path: root/include/m_crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_crypto.h')
-rw-r--r--include/m_crypto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_crypto.h b/include/m_crypto.h
index 1634f7c93e..0d79e2f9ba 100644
--- a/include/m_crypto.h
+++ b/include/m_crypto.h
@@ -45,11 +45,11 @@ struct MICryptoEngine
// result must be freed using mir_free or assigned to mir_ptr<BYTE>
STDMETHOD_(BYTE*, encodeString)(const char *src, size_t *cbResultLen) PURE;
- STDMETHOD_(BYTE*, encodeStringW)(const WCHAR* src, size_t *cbResultLen) PURE;
+ STDMETHOD_(BYTE*, encodeBuffer)(const void *src, size_t cbLen, size_t *cbResultLen) PURE;
// result must be freed using mir_free or assigned to ptrA/ptrT
STDMETHOD_(char*, decodeString)(const BYTE *pBuf, size_t bufLen, size_t *cbResultLen) PURE;
- STDMETHOD_(WCHAR*, decodeStringW)(const BYTE *pBuf, size_t bufLen, size_t *cbResultLen) PURE;
+ STDMETHOD_(void*, decodeBuffer)(const BYTE *pBuf, size_t bufLen, size_t *cbResultLen) PURE;
};
/////////////////////////////////////////////////////////////////////////////////////////