Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_misc_proc.c272 char *hexkey; in __nis_dhext_extract_pkey() local
286 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()
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv_cache.c1279 keybuf3_2_dhkey(keybuf3 *hexkey) in keybuf3_2_dhkey() argument
1284 if ((binkey = malloc(DHKEYALLOC(hexkey->keybuf3_len*4))) == 0) in keybuf3_2_dhkey()
1288 memset(binkey, 0, DHKEYALLOC(hexkey->keybuf3_len*4)); in keybuf3_2_dhkey()
1290 binkey->length = hexkey->keybuf3_len/2; in keybuf3_2_dhkey()
1291 hex2bin((u_char *)hexkey->keybuf3_val, binkey->key, in keybuf3_2_dhkey()