Searched refs:cryptmod_fd (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.telnetd.c | 227 static int cryptmod_fd = -1; variable 1434 stop_stream(cryptmod_fd, CRYPT_ENCRYPT); in encrypt_start_output() 1441 if (ioctl(cryptmod_fd, I_STR, &crioc)) { in encrypt_start_output() 1453 start_stream(cryptmod_fd, CRYPT_ENCRYPT, 0, NULL); in encrypt_start_output() 1497 stop_stream(cryptmod_fd, stopdir); in encrypt_end() 1517 if (ioctl(cryptmod_fd, I_STR, &crioc)) { in encrypt_end() 1521 start_stream(cryptmod_fd, stopdir, 0, NULL); in encrypt_end() 1632 stop_stream(cryptmod_fd, CRYPT_DECRYPT); in encrypt_start() 1639 if (ioctl(cryptmod_fd, I_STR, &crioc)) { in encrypt_start() 1655 if (ioctl(cryptmod_fd, I_NREAD, &bytes) < 0) { in encrypt_start() [all …]
|