Searched refs:crypt_mnt_ftr (Results 1 – 2 of 2) sorted by relevance
/system/vold/ |
D | cryptfs.h | 95 struct crypt_mnt_ftr { struct 250 int cryptfs_create_default_ftr(struct crypt_mnt_ftr* ftr, int key_length); 251 int cryptfs_get_master_key(struct crypt_mnt_ftr* ftr, const char* password, 253 int cryptfs_set_password(struct crypt_mnt_ftr* ftr, const char* password,
|
D | cryptfs.c | 197 static int keymaster_create_key(struct crypt_mnt_ftr *ftr) in keymaster_create_key() 289 static int keymaster_sign_object(struct crypt_mnt_ftr *ftr, in keymaster_sign_object() 484 static void get_device_scrypt_params(struct crypt_mnt_ftr *ftr) { in get_device_scrypt_params() 587 static void set_ftr_sha(struct crypt_mnt_ftr *crypt_ftr) in set_ftr_sha() 599 static int put_crypt_ftr_and_key(struct crypt_mnt_ftr *crypt_ftr) in put_crypt_ftr_and_key() 632 if ((cnt = write(fd, crypt_ftr, sizeof(struct crypt_mnt_ftr))) != sizeof(struct crypt_mnt_ftr)) { in put_crypt_ftr_and_key() 655 static bool check_ftr_sha(const struct crypt_mnt_ftr *crypt_ftr) in check_ftr_sha() 657 struct crypt_mnt_ftr copy; in check_ftr_sha() 685 static void upgrade_crypt_ftr(int fd, struct crypt_mnt_ftr *crypt_ftr, off64_t offset) in upgrade_crypt_ftr() 745 unix_write(fd, crypt_ftr, sizeof(struct crypt_mnt_ftr)); in upgrade_crypt_ftr() [all …]
|