Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2524ba06 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Adjust for library rename"

parents 6ffc5c49 c54f4330
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ cc_library {
        "android.hardware.security.rkp-V3-ndk",
    ],
    whole_static_libs: [
        "libcert_request_validator_cxx",
        "libhwtrust_cxx",
    ],
    shared_libs: [
        "libbase",
+2 −2
Original line number Diff line number Diff line
@@ -23,8 +23,8 @@

#include <aidl/android/hardware/security/keymint/RpcHardwareInfo.h>
#include <android-base/properties.h>
#include <cert_request_validator/cert_request_validator.h>
#include <cppbor.h>
#include <hwtrust/hwtrust.h>
#include <json/json.h>
#include <keymaster/km_openssl/ec_key.h>
#include <keymaster/km_openssl/ecdsa_operation.h>
@@ -292,7 +292,7 @@ bytevec getProdEekChain(int32_t supportedEekCurve) {

ErrMsgOr<std::vector<BccEntryData>> validateBcc(const cppbor::Array* bcc) {
    auto encodedBcc = bcc->encode();
    auto chain = cert_request_validator::DiceChain::verify(encodedBcc);
    auto chain = hwtrust::DiceChain::verify(encodedBcc);
    if (!chain.ok()) return chain.error().message();
    auto keys = chain->cose_public_keys();
    if (!keys.ok()) return keys.error().message();