Home
last modified time | relevance | path

Searched refs:keyent (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_misc_proc.c274 extdhkey_t *keyent = (extdhkey_t *)no->n_bytes; in __nis_dhext_extract_pkey() local
277 while (keyent < (extdhkey_t *)(no->n_bytes + no->n_len)) { in __nis_dhext_extract_pkey()
279 size_t binlen = (ntohs(keyent->keylen) + 7) / 8; in __nis_dhext_extract_pkey()
283 if (keylen == ntohs(keyent->keylen) && in __nis_dhext_extract_pkey()
284 algtype == ntohs(keyent->algtype)) { in __nis_dhext_extract_pkey()
289 (void) bin2hex(binlen, keyent->key, hexkey); in __nis_dhext_extract_pkey()
292 keyoffset = (char *)keyent + (sizeof (ushort_t) * 2) + in __nis_dhext_extract_pkey()
295 keyent = (extdhkey_t *)keyoffset; in __nis_dhext_extract_pkey()
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeylogin.c115 char keyent[MAXROOTKEY_LEN]; in write_rootkey() local
160 if (sscanf(line, "%s %d", keyent, &atent) < 2) { in write_rootkey()
179 if ((strlen(keyent) == hexkeybytes) && in write_rootkey()
H A Dchkey.c736 char keyent[MAXROOTKEY_LEN]; in write_rootkey() local
781 if (sscanf(line, "%s %d", keyent, &atent) < 2) { in write_rootkey()
800 if ((strlen(keyent) == hexkeybytes) && in write_rootkey()