Searched refs:key_fd (Results 1 – 1 of 1) sorted by relevance
/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 …]
|