Home
last modified time | relevance | path

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

/aosp12/system/vold/
H A DMetadataCrypt.cpp180 static const CryptoType& lookup_cipher(const std::string& cipher_name) { in lookup_cipher() argument
181 if (cipher_name.empty()) return supported_crypto_types[0]; in lookup_cipher()
183 if (cipher_name == supported_crypto_types[i].get_config_name()) { in lookup_cipher()
196 std::string cipher_name = parts[0]; in parse_options() local
197 options->cipher = lookup_cipher(cipher_name); in parse_options()
199 LOG(ERROR) << "No metadata cipher named " << cipher_name << " found"; in parse_options()