• Home
  • Raw
  • Download

Lines Matching refs:crypt_mnt_ftr

169 struct crypt_mnt_ftr {  struct
296 static int put_crypt_ftr_and_key(struct crypt_mnt_ftr* crypt_ftr);
369 static int keymaster_create_key(struct crypt_mnt_ftr* ftr) { in keymaster_create_key()
389 static int keymaster_sign_object_for_cryptfs_scrypt(struct crypt_mnt_ftr* ftr, uint32_t ratelimit, in keymaster_sign_object_for_cryptfs_scrypt()
463 static int keymaster_sign_object(struct crypt_mnt_ftr* ftr, const unsigned char* object, in keymaster_sign_object()
548 static void get_device_scrypt_params(struct crypt_mnt_ftr* ftr) { in get_device_scrypt_params()
658 static void set_ftr_sha(struct crypt_mnt_ftr* crypt_ftr) { in set_ftr_sha()
669 static int put_crypt_ftr_and_key(struct crypt_mnt_ftr* crypt_ftr) { in put_crypt_ftr_and_key()
701 … if ((cnt = write(fd, crypt_ftr, sizeof(struct crypt_mnt_ftr))) != sizeof(struct crypt_mnt_ftr)) { in put_crypt_ftr_and_key()
723 static bool check_ftr_sha(const struct crypt_mnt_ftr* crypt_ftr) { in check_ftr_sha()
724 struct crypt_mnt_ftr copy; in check_ftr_sha()
749 static void upgrade_crypt_ftr(int fd, struct crypt_mnt_ftr* crypt_ftr, off64_t offset) { in upgrade_crypt_ftr()
808 unix_write(fd, crypt_ftr, sizeof(struct crypt_mnt_ftr)); in upgrade_crypt_ftr()
812 static int get_crypt_ftr_and_key(struct crypt_mnt_ftr* crypt_ftr) { in get_crypt_ftr_and_key()
846 if ((cnt = read(fd, crypt_ftr, sizeof(struct crypt_mnt_ftr))) != sizeof(struct crypt_mnt_ftr)) { in get_crypt_ftr_and_key()
894 static int validate_persistent_data_storage(struct crypt_mnt_ftr* crypt_ftr) { in validate_persistent_data_storage()
917 struct crypt_mnt_ftr crypt_ftr; in load_persistent_data()
1008 struct crypt_mnt_ftr crypt_ftr; in save_persistent_data()
1135 static int add_sector_size_param(DmTargetCrypt* target, struct crypt_mnt_ftr* ftr) { in add_sector_size_param()
1161 static int create_crypto_blk_dev(struct crypt_mnt_ftr* crypt_ftr, const unsigned char* master_key, in create_crypto_blk_dev()
1250 struct crypt_mnt_ftr* ftr = (struct crypt_mnt_ftr*)params; in scrypt()
1270 struct crypt_mnt_ftr* ftr = (struct crypt_mnt_ftr*)params; in scrypt_keymaster()
1303 … unsigned char* encrypted_master_key, struct crypt_mnt_ftr* crypt_ftr) { in encrypt_master_key()
1434 static void get_kdf_func(struct crypt_mnt_ftr* ftr, kdf_func* kdf, void** kdf_params) { in get_kdf_func()
1448 struct crypt_mnt_ftr* crypt_ftr, unsigned char** intermediate_key, in decrypt_master_key()
1466 unsigned char* salt, struct crypt_mnt_ftr* crypt_ftr) { in create_encrypted_random_key()
1587 struct crypt_mnt_ftr crypt_ftr; in cryptfs_set_corrupt()
1772 struct crypt_mnt_ftr crypt_ftr; in do_crypto_complete()
1826 static int test_mount_encrypted_fs(struct crypt_mnt_ftr* crypt_ftr, const char* passwd, in test_mount_encrypted_fs()
1970 struct crypt_mnt_ftr ext_crypt_ftr; in cryptfs_setup_ext_volume()
1989 int check_unmounted_and_get_ftr(struct crypt_mnt_ftr* crypt_ftr) { in check_unmounted_and_get_ftr()
2014 struct crypt_mnt_ftr crypt_ftr; in cryptfs_check_passwd()
2063 struct crypt_mnt_ftr crypt_ftr; in cryptfs_verify_passwd()
2112 static int cryptfs_init_crypt_mnt_ftr(struct crypt_mnt_ftr* ftr) { in cryptfs_init_crypt_mnt_ftr()
2115 memset(ftr, 0, sizeof(struct crypt_mnt_ftr)); in cryptfs_init_crypt_mnt_ftr()
2119 ftr->ftr_size = sizeof(struct crypt_mnt_ftr); in cryptfs_init_crypt_mnt_ftr()
2146 struct crypt_mnt_ftr crypt_ftr; in cryptfs_enable_internal()
2441 struct crypt_mnt_ftr crypt_ftr; in cryptfs_changepw()
2476 struct crypt_mnt_ftr crypt_ftr; in persist_get_max_entries()
2822 struct crypt_mnt_ftr crypt_ftr; in cryptfs_get_password_type()