Searched refs:expected_public_key (Results 1 – 4 of 4) sorted by relevance
159 void set_expected_public_key(const std::string& expected_public_key) { in set_expected_public_key() argument160 expected_public_key_ = expected_public_key; in set_expected_public_key()165 const std::string& expected_public_key, in set_expected_public_key_for_partition() argument168 expected_public_key; in set_expected_public_key_for_partition()
274 std::string expected_public_key = in validate_public_key_for_partition() local279 bool pk_matches = (public_key_length == expected_public_key.size() && in validate_public_key_for_partition()280 (memcmp(expected_public_key.c_str(), in validate_public_key_for_partition()
548 const uint8_t* expected_public_key, in load_and_verify_vbmeta() argument778 if (expected_public_key != NULL) { in load_and_verify_vbmeta()781 avb_safe_memcmp(expected_public_key, pk_data, pk_len) != 0) { in load_and_verify_vbmeta()
567 const uint8_t* expected_public_key, in load_and_verify_vbmeta() argument797 if (expected_public_key != NULL) { in load_and_verify_vbmeta()800 avb_safe_memcmp(expected_public_key, pk_data, pk_len) != 0) { in load_and_verify_vbmeta()