Home
last modified time | relevance | path

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

/external/avb/test/
Dfake_avb_ops.h159 void set_expected_public_key(const std::string& expected_public_key) { in set_expected_public_key() argument
160 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() argument
168 expected_public_key; in set_expected_public_key_for_partition()
Dfake_avb_ops.cc292 std::string expected_public_key = in validate_public_key_for_partition() local
297 bool pk_matches = (public_key_length == expected_public_key.size() && in validate_public_key_for_partition()
298 (memcmp(expected_public_key.c_str(), in validate_public_key_for_partition()
/external/avb/libavb/
Davb_slot_verify.c567 const uint8_t* expected_public_key, in load_and_verify_vbmeta() argument
800 if (expected_public_key != NULL) { in load_and_verify_vbmeta()
803 avb_safe_memcmp(expected_public_key, pk_data, pk_len) != 0) { in load_and_verify_vbmeta()