Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_digest.c43 int resultstrlen, resultlen, exitcode; in bootadm_digest() local
72 resultstrlen = 2 * resultlen + 1; /* Two hex chars per byte. */ in bootadm_digest()
73 if ((resultstr = malloc(resultstrlen)) == NULL) { in bootadm_digest()
79 tohexstr(resultbuf, resultlen, resultstr, resultstrlen); in bootadm_digest()
/illumos-gate/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c378 int resultstrlen; /* result string length */ in execute_cmd() local
705 resultstrlen = RESULTLEN; in execute_cmd()
706 if ((resultstr = malloc(resultstrlen)) == NULL) { in execute_cmd()
757 resultstrlen = 2 * resultlen + 1; in execute_cmd()
758 resultstr = realloc(resultstr, resultstrlen); in execute_cmd()
770 tohexstr(resultbuf, resultlen, resultstr, resultstrlen); in execute_cmd()