Searched refs:keyfd (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/bin/afppasswd/
H A Dafppasswd.c70 static void convert_passwd(char *buf, char *newpwd, const int keyfd) argument
84 if (keyfd > -1) {
85 lseek(keyfd, 0, SEEK_SET);
86 read(keyfd, key, sizeof(key));
121 int keyfd = -1, err = 0; local
132 keyfd = open(buf, O_RDONLY);
169 convert_passwd(p, NULL, keyfd);
196 convert_passwd(p, password, keyfd);
214 if (keyfd > -1)
215 close(keyfd);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/uams/
H A Duams_randnum.c152 int keyfd = -1, err = 0; local
164 keyfd = open(buf, O_RDONLY);
197 if (keyfd > -1) {
199 read(keyfd, key, sizeof(key));
252 if (keyfd > -1)
253 close(keyfd);

Completed in 50 milliseconds