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.cpp | 111 static int keymaster_create_key(struct crypt_mnt_ftr *ftr) in keymaster_create_key() 133 static int keymaster_sign_object(struct crypt_mnt_ftr *ftr, in keymaster_sign_object() 238 static void get_device_scrypt_params(struct crypt_mnt_ftr *ftr) { in get_device_scrypt_params() 341 static void set_ftr_sha(struct crypt_mnt_ftr *crypt_ftr) in set_ftr_sha() 353 static int put_crypt_ftr_and_key(struct crypt_mnt_ftr *crypt_ftr) in put_crypt_ftr_and_key() 386 if ((cnt = write(fd, crypt_ftr, sizeof(struct crypt_mnt_ftr))) != sizeof(struct crypt_mnt_ftr)) { in put_crypt_ftr_and_key() 409 static bool check_ftr_sha(const struct crypt_mnt_ftr *crypt_ftr) in check_ftr_sha() 411 struct crypt_mnt_ftr copy; in check_ftr_sha() 439 static void upgrade_crypt_ftr(int fd, struct crypt_mnt_ftr *crypt_ftr, off64_t offset) in upgrade_crypt_ftr() 499 unix_write(fd, crypt_ftr, sizeof(struct crypt_mnt_ftr)); in upgrade_crypt_ftr() [all …]
|