Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libsldap/common/
H A Dns_crypt.c92 ascii2hex(char *anHexaStr, int *aResLen) in ascii2hex() argument
95 char *theRes = malloc(strlen(anHexaStr) /2 + 1); in ascii2hex()
99 while (isxdigit(*anHexaStr)) { in ascii2hex()
100 theRes[theLen] = unhex(*anHexaStr) << 4; in ascii2hex()
101 if (++anHexaStr != '\0') { in ascii2hex()
102 theRes[theLen] += unhex(*anHexaStr); in ascii2hex()
103 anHexaStr++; in ascii2hex()