Searched refs:key_fd (Results 1 – 2 of 2) sorted by relevance
/external/openssh/ |
D | ssh-keysign.c | 177 int r, key_fd[NUM_KEYTYPES], i, found, version = 2, fd; in main() local 198 key_fd[i++] = open(_PATH_HOST_DSA_KEY_FILE, O_RDONLY); in main() 199 key_fd[i++] = open(_PATH_HOST_ECDSA_KEY_FILE, O_RDONLY); in main() 200 key_fd[i++] = open(_PATH_HOST_ED25519_KEY_FILE, O_RDONLY); in main() 201 key_fd[i++] = open(_PATH_HOST_RSA_KEY_FILE, O_RDONLY); in main() 225 if (key_fd[i] != -1) in main() 240 if (key_fd[i] == -1) in main() 242 r = sshkey_load_private_type_fd(key_fd[i], KEY_UNSPEC, in main() 244 close(key_fd[i]); in main()
|
/external/mmc-utils/ |
D | mmc_cmds.c | 1610 int ret, dev_fd, key_fd; in do_rpmb_write_key() local 1625 key_fd = STDIN_FILENO; in do_rpmb_write_key() 1627 key_fd = open(argv[2], O_RDONLY); in do_rpmb_write_key() 1628 if (key_fd < 0) { in do_rpmb_write_key() 1635 ret = DO_IO(read, key_fd, frame_in.key_mac, sizeof(frame_in.key_mac)); in do_rpmb_write_key() 1661 if (key_fd != STDIN_FILENO) in do_rpmb_write_key() 1662 close(key_fd); in do_rpmb_write_key() 1721 int i, ret, dev_fd, data_fd, key_fd = -1; in do_rpmb_read_block() local 1780 key_fd = STDIN_FILENO; in do_rpmb_read_block() 1782 key_fd = open(argv[5], O_RDONLY); in do_rpmb_read_block() [all …]
|