Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c1617 char secbuf[MAXWORDLEN]; local
1625 (void) strlcpy(secbuf, passwd, sizeof(secbuf));
1629 secbuf[0] = '\0';
1638 ret = scan_authfile(f, client, server, secbuf, &addrs, &opts,
1657 len = strlen(secbuf);
1663 BCOPY(secbuf, secret, len);
1664 BZERO(secbuf, sizeof(secbuf));
/titanic_41/usr/src/uts/intel/io/dktp/dcdev/
H A Ddadk.c728 unsigned char *secbuf; in dadk_ioctl() local
743 secbuf = kmem_zalloc(NBPSCTR, KM_SLEEP); in dadk_ioctl()
744 if (!secbuf) in dadk_ioctl()
748 kmem_free(secbuf, NBPSCTR); in dadk_ioctl()
757 bp->b_un.b_addr = (caddr_t)secbuf; in dadk_ioctl()
768 if (ddi_copyout((caddr_t)secbuf, in dadk_ioctl()
772 kmem_free(secbuf, NBPSCTR); in dadk_ioctl()