Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/adbg/src/
H A Dsecurity_utils_hex.c147 size_t UsedDestLength = 0; in SecUtil_BufferToHex() local
157 UsedDestLength = 1; in SecUtil_BufferToHex()
195 if (UsedDestLength < DestinationLength) { in SecUtil_BufferToHex()
199 DestinationLength - UsedDestLength); in SecUtil_BufferToHex()
200 memcpy(Destination_p + UsedDestLength - 1, BytePrefix_p, in SecUtil_BufferToHex()
202 Destination_p[UsedDestLength - 1 + CopyLength] = '\0'; in SecUtil_BufferToHex()
204 UsedDestLength += BytePrefixLength; in SecUtil_BufferToHex()
207 if (UsedDestLength < DestinationLength) { in SecUtil_BufferToHex()
208 Destination_p[UsedDestLength - in SecUtil_BufferToHex()
210 Destination_p[UsedDestLength] = '\0'; in SecUtil_BufferToHex()
[all …]