Home
last modified time | relevance | path

Searched refs:expected_public_key (Results 1 – 4 of 4) 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.cc274 std::string expected_public_key = in validate_public_key_for_partition() local
279 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()
/external/u-boot/lib/libavb/
Davb_slot_verify.c548 const uint8_t* expected_public_key, in load_and_verify_vbmeta() argument
778 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()
/external/avb/libavb/
Davb_slot_verify.c567 const uint8_t* expected_public_key, in load_and_verify_vbmeta() argument
797 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()