Searched refs:ext4_key (Results 1 – 1 of 1) sorted by relevance
/system/vold/ |
D | Ext4Crypt.cpp | 362 ext4_encryption_key ext4_key = {EXT4_ENCRYPTION_MODE_AES_256_XTS, in fill_key() local 364 sizeof(ext4_key.raw)}; in fill_key() 365 memset(ext4_key.raw, 0, sizeof(ext4_key.raw)); in fill_key() 366 static_assert(key_length / 8 <= sizeof(ext4_key.raw), in fill_key() 368 memcpy(ext4_key.raw, &key[0], key.size()); in fill_key() 369 return ext4_key; in fill_key() 388 static int e4crypt_install_key(const ext4_encryption_key &ext4_key, const std::string &ref) in e4crypt_install_key() argument 393 (void*)&ext4_key, sizeof(ext4_key), in e4crypt_install_key() 409 auto ext4_key = fill_key(key); in e4crypt_install_key() local 410 auto raw_ref = generate_key_ref(ext4_key.raw, ext4_key.size); in e4crypt_install_key() [all …]
|