Home
last modified time | relevance | path

Searched refs:kfd (Results 1 – 19 of 19) sorted by relevance

/src/sbin/decryptcore/
H A Ddecryptcore.c79 read_key(int kfd) in read_key() argument
85 PJDLOG_ASSERT(kfd >= 0); in read_key()
94 size = read(kfd, kdk, kdksize); in read_key()
103 size += read(kfd, &kdk->kdk_encryptedkey, in read_key()
128 int ifd, kfd, olen, privkeysize; in decrypt() local
156 kfd = open(keyfile, O_RDONLY); in decrypt()
157 if (kfd == -1) { in decrypt()
203 kdk = read_key(kfd); in decrypt()
204 close(kfd); in decrypt()
/src/crypto/heimdal/appl/kf/
H A DMakefile.am7 libexec_PROGRAMS = kfd program
9 man_MANS = kf.1 kfd.8
13 kfd_SOURCES = kfd.c kf_locl.h
H A DMakefile.in47 libexec_PROGRAMS = kfd$(EXEEXT)
110 am_kfd_OBJECTS = kfd.$(OBJEXT)
402 man_MANS = kf.1 kfd.8
404 kfd_SOURCES = kfd.c kf_locl.h
534 kfd$(EXEEXT): $(kfd_OBJECTS) $(kfd_DEPENDENCIES)
535 @rm -f kfd$(EXEEXT)
545 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kfd.Po@am__quote@
/src/sbin/ipf/ipsend/
H A Dsock.c99 static int kfd = -1; in kmemcpy() local
102 if (kfd == -1) in kmemcpy()
103 kfd = open(KMEM, O_RDONLY); in kmemcpy()
105 if (lseek(kfd, offset, SEEK_SET) == -1) in kmemcpy()
110 if (read(kfd, buf, n) == -1) in kmemcpy()
/src/kerberos5/libexec/kfd/
H A DMakefile3 PROG= kfd
4 MAN= kfd.8
/src/tools/tools/kttcp/
H A Dkttcp.c104 int c, error, s, verbose, s2, kfd; in main() local
193 if ((kfd = open(KTTCP_DEVICE, O_RDWR, 666)) == -1) in main()
258 if (ioctl(kfd, cmd, &kio) == -1) in main()
302 close(kfd); in main()
/src/libexec/rc/rc.d/
H A Dkfd11 name=kfd
H A DMakefile342 kfd \
/src/kerberos5/libexec/
H A DMakefile4 kdigest kfd kimpersonate kpasswdd kcm
/src/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_crypto.c586 int kfd; in get_key_material_https() local
588 kfd = open(getenv("TMPDIR") ?: "/tmp", in get_key_material_https()
590 if (kfd != -1) in get_key_material_https()
603 kfd = mkostemps(path, strlen(".https"), O_CLOEXEC); in get_key_material_https()
604 if (kfd == -1) { in get_key_material_https()
618 if ((key = fdopen(kfd, "r+")) == NULL) { in get_key_material_https()
620 (void) close(kfd); in get_key_material_https()
/src/targets/pseudo/userland/kerberos5/
H A DMakefile.depend34 kerberos5/libexec/kfd \
/src/contrib/wpa/src/utils/
H A Deloop.c1345 int kfd; in eloop_wait_for_read_sock() local
1348 kfd = kqueue(); in eloop_wait_for_read_sock()
1349 if (kfd == -1) in eloop_wait_for_read_sock()
1352 kevent(kfd, &ke1, 1, &ke2, 1, NULL); in eloop_wait_for_read_sock()
1353 close(kfd); in eloop_wait_for_read_sock()
/src/usr.sbin/moused/moused/
H A Dmoused.c437 static int kfd = -1; /* kqueue file descriptor */ variable
763 if ((kfd = kqueuex(KQUEUE_CPONFORK)) == -1) in main()
848 if (kfd != -1) in main()
849 close(kfd); in main()
975 c = kevent(kfd, ke, nchanges, ke, 1, NULL); in moused()
1050 kevent(kfd, ke, nchanges, NULL, 0, NULL); in moused()
1185 if (kevent(kfd, &kev, 1, NULL, 0, NULL) < 0) { in connect_devd()
1984 err = kevent(kfd, &kev, 1, NULL, 0, NULL); in r_init()
2056 kevent(kfd, ke, nitems(ke), NULL, 0, NULL); in r_deinit()
/src/crypto/heimdal/
H A DChangeLog.1999666 * appl/kf/kfd.c (proto): be more careful with the return value
700 * appl/kf/kfd.c: make v6 friendly and simplify
739 * appl/kf/kfd.c: add regpag support. From Miroslav Ruda
890 * appl/kf/kfd.c: clean-up and more paranoia
H A DChangeLog.2002144 * appl/kf/kfd.c: use krb5_err instead of sysloging directly,
H A DChangeLog.20051129 * appl/kf/kfd.c: case uid_t to unsigned long in printf format
1913 * appl/kf/kfd.c (kfd_match_version): cast argument to islower to
H A DChangeLog.20011092 * appl/kf/kfd.c (proto): use krb5_rd_cred2 instead of krb5_rd_cred
H A DChangeLog.20031315 * appl/kf/kfd.c: use strlcpy, from openbsd
/src/tools/build/mk/
H A DOptionalObsoleteFiles.inc2896 OLD_FILES+=usr/libexec/kfd
3644 OLD_FILES+=usr/share/man/man8/kfd.8.gz