Lines Matching defs:hexkeybuf
260 char *hexkeybuf;
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, binkeybuf);
309 free(hexkeybuf);
318 free(hexkeybuf);
322 (void) bin2hex(binkeybytes, (unsigned char *) binkeybuf, hexkeybuf);
324 *encrypted_secret = hexkeybuf;