Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/ntp/sntp/
H A Dcrypto.c221 FILE *keyf = fopen(keyfile, "r"); in auth_init() local
230 if (keyf == NULL) { in auth_init()
235 if (feof(keyf)) { in auth_init()
238 fclose(keyf); in auth_init()
242 while (!feof(keyf)) { in auth_init()
247 if (NULL == fgets(kbuf, sizeof(kbuf), keyf)) in auth_init()
305 fclose(keyf); in auth_init()
/freebsd-13.1/contrib/libfido2/tools/
H A Dlargeblob.c162 load_key(const char *keyf, const char *cred_id64, const char *rp_id, in load_key() argument
171 if (keyf != NULL) { in load_key()
174 fp = open_read(keyf); in load_key()
176 warnx("%s: base64_read %s", __func__, keyf); in load_key()
194 blob_set(const char *path, const char *keyf, const char *rp_id, in blob_set() argument
207 load_key(keyf, cred_id64, rp_id, path, dev, &pin, &key) < 0) in blob_set()
234 blob_get(const char *path, const char *keyf, const char *rp_id, in blob_get() argument
246 if (load_key(keyf, cred_id64, rp_id, path, dev, &pin, &key) < 0) in blob_get()
269 blob_delete(const char *path, const char *keyf, const char *rp_id, in blob_delete() argument
280 if (load_key(keyf, cred_id64, rp_id, path, dev, &pin, &key) < 0) in blob_delete()
/freebsd-13.1/contrib/sendmail/src/
H A Dqueue.c6962 SM_FILE_T *keyf; local
6970 keyf = safefopen(keypath, O_WRONLY|O_TRUNC, FileMode, sff);
6971 if (keyf == NULL)
6983 fd = keyf->f_file;
6994 ok = sm_io_fprintf(keyf, SM_TIME_DEFAULT, "%ld\n", key) !=
6996 ok = (sm_io_close(keyf, SM_TIME_DEFAULT) != SM_IO_EOF) && ok;
7019 SM_FILE_T *keyf; local
7026 keyf = safefopen(keypath, O_RDONLY, FileMode, sff);
7027 if (keyf == NULL)
7034 r = sm_io_fscanf(keyf, SM_TIME_DEFAULT, "%ld", &n);
[all …]