Searched refs:crypt_mnt_ftr (Results 1 - 2 of 2) sorted by relevance

/system/vold/
H A Dcryptfs.h45 struct crypt_mnt_ftr { struct
64 struct crypt_mnt_ftr crypt_ftr;
H A Dcryptfs.c145 static int put_crypt_ftr_and_key(char *real_blk_name, struct crypt_mnt_ftr *crypt_ftr,
191 if ((cnt = write(fd, crypt_ftr, sizeof(struct crypt_mnt_ftr))) != sizeof(struct crypt_mnt_ftr)) {
244 static int get_crypt_ftr_and_key(char *real_blk_name, struct crypt_mnt_ftr *crypt_ftr,
297 if ( (cnt = read(fd, crypt_ftr, sizeof(struct crypt_mnt_ftr))) != sizeof(struct crypt_mnt_ftr)) {
318 if (crypt_ftr->ftr_size > sizeof(struct crypt_mnt_ftr)) {
322 if (lseek(fd, crypt_ftr->ftr_size - sizeof(struct crypt_mnt_ftr), SEEK_CUR) == -1) {
380 static int create_crypto_blk_dev(struct crypt_mnt_ftr *crypt_ftr, unsigned char *master_key,
735 struct crypt_mnt_ftr crypt_ft
[all...]

Completed in 370 milliseconds