Home
last modified time | relevance | path

Searched refs:kdf_type (Results 1 – 2 of 2) sorted by relevance

/system/vold/
Dcryptfs.h120 __le8 kdf_type; /* The key derivation function used. */ member
Dcryptfs.cpp157 switch (ftr->kdf_type) { in keymaster_sign_object()
169 SLOGE("Unknown KDF type %d", ftr->kdf_type); in keymaster_sign_object()
483 crypt_ftr->kdf_type = KDF_PBKDF2; in upgrade_crypt_ftr()
1086 switch (crypt_ftr->kdf_type) { in encrypt_master_key()
1211 if (ftr->kdf_type == KDF_SCRYPT_KEYMASTER) { in get_kdf_func()
1214 } else if (ftr->kdf_type == KDF_SCRYPT) { in get_kdf_func()
1661 if (crypt_ftr->kdf_type == KDF_SCRYPT_KEYMASTER) { in test_mount_encrypted_fs()
1663 } else if (use_keymaster == 1 && crypt_ftr->kdf_type != KDF_SCRYPT_KEYMASTER) { in test_mount_encrypted_fs()
1664 crypt_ftr->kdf_type = KDF_SCRYPT_KEYMASTER; in test_mount_encrypted_fs()
1666 } else if (use_keymaster == 0 && crypt_ftr->kdf_type != KDF_SCRYPT) { in test_mount_encrypted_fs()
[all …]