Searched refs:hexkey (Results 1 – 2 of 2) sorted by relevance
272 char *hexkey; in __nis_dhext_extract_pkey() local286 if (!(hexkey = malloc(hexkeylen))) in __nis_dhext_extract_pkey()289 (void) bin2hex(binlen, keyent->key, hexkey); in __nis_dhext_extract_pkey()290 return (hexkey); in __nis_dhext_extract_pkey()
1281 keybuf3_2_dhkey(keybuf3 *hexkey) in keybuf3_2_dhkey() argument1286 if ((binkey = malloc(DHKEYALLOC(hexkey->keybuf3_len*4))) == 0) in keybuf3_2_dhkey()1290 memset(binkey, 0, DHKEYALLOC(hexkey->keybuf3_len*4)); in keybuf3_2_dhkey()1292 binkey->length = hexkey->keybuf3_len/2; in keybuf3_2_dhkey()1293 hex2bin((u_char *)hexkey->keybuf3_val, binkey->key, in keybuf3_2_dhkey()