Searched defs:hexkeybuf (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/key/
H A Dxcrypt.c260 char *hexkeybuf; local
265 if ((hexkeybuf = malloc(bufsize)) == 0)
268 (void) memcpy(hexkeybuf, secret, hexkeybytes);
271 (void) memcpy(hexkeybuf + hexkeybytes, secret,
279 MD5Update(&md5_ctx, (unsigned char *)hexkeybuf,
287 (void) memcpy(hexkeybuf + hexkeybytes,
290 hexkeybuf[bufsize - 1] = 0;
293 free(hexkeybuf);
297 free(hexkeybuf);
301 (void) hex2bin(binkeybytes, hexkeybuf, binkeybu
[all...]

Completed in 320 milliseconds