Home
last modified time | relevance | path

Searched refs:originalStr (Results 1 – 2 of 2) sorted by relevance

/base/security/device_auth/common_lib/impl/src/
Dstring_util.c112 void ConvertToAnonymousStr(const char *originalStr, char **anonymousStr) in ConvertToAnonymousStr() argument
114 if ((originalStr == NULL) || (anonymousStr == NULL)) { in ConvertToAnonymousStr()
118 uint32_t len = strlen(originalStr); in ConvertToAnonymousStr()
131 if (memcpy_s(*anonymousStr, len + 1, originalStr, len - desensitizationLen) != EOK) { in ConvertToAnonymousStr()
/base/security/device_auth/common_lib/interfaces/
Dstring_util.h66 void ConvertToAnonymousStr(const char *originalStr, char **anonymousStr);