Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.cpp312 static CryptoType crypto_type = CryptoType::get_device_crypto_algorithm(); in get_crypto_type() local
313 return crypto_type; in get_crypto_type()
343 constexpr bool isValidCryptoType(const CryptoType& crypto_type) { in isValidCryptoType() argument
344 return ((crypto_type.get_property_name() != nullptr) && in isValidCryptoType()
345 (crypto_type.get_crypto_name() != nullptr) && in isValidCryptoType()
346 (crypto_type.get_keysize() <= MAX_KEY_LEN)); in isValidCryptoType()
/system/core/init/
Dproperty_service.cpp756 std::string crypto_type = android::base::GetProperty("ro.crypto.type", ""); in load_persist_props() local
757 if (crypto_state == "encrypted" && crypto_type == "block") { in load_persist_props()