Searched refs:eep (Results 1 – 1 of 1) sorted by relevance
113 ext4_encryption_policy eep; in e4crypt_policy_set() local114 eep.version = 0; in e4crypt_policy_set()115 eep.contents_encryption_mode = EXT4_ENCRYPTION_MODE_AES_256_XTS; in e4crypt_policy_set()116 eep.filenames_encryption_mode = EXT4_ENCRYPTION_MODE_AES_256_CTS; in e4crypt_policy_set()117 eep.flags = 0; in e4crypt_policy_set()118 memcpy(eep.master_key_descriptor, policy, EXT4_KEY_DESCRIPTOR_SIZE); in e4crypt_policy_set()119 if (ioctl(fd, EXT4_IOC_SET_ENCRYPTION_POLICY, &eep)) { in e4crypt_policy_set()144 ext4_encryption_policy eep; in e4crypt_policy_get() local145 memset(&eep, 0, sizeof(ext4_encryption_policy)); in e4crypt_policy_get()146 if (ioctl(fd, EXT4_IOC_GET_ENCRYPTION_POLICY, &eep) != 0) { in e4crypt_policy_get()[all …]