Searched refs:crypto_type (Results 1 – 2 of 2) sorted by relevance
312 static CryptoType crypto_type = CryptoType::get_device_crypto_algorithm(); in get_crypto_type() local313 return crypto_type; in get_crypto_type()343 constexpr bool isValidCryptoType(const CryptoType& crypto_type) { in isValidCryptoType() argument344 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()
756 std::string crypto_type = android::base::GetProperty("ro.crypto.type", ""); in load_persist_props() local757 if (crypto_state == "encrypted" && crypto_type == "block") { in load_persist_props()