Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/cppcose/
Dcppcose.h165 auto& pubkey = key->getMap().get(PUBKEY_X); in parseEd25519() local
166 if (!pubkey || !pubkey->asBstr() || in parseEd25519()
167 pubkey->asBstr()->value().size() != ED25519_PUBLIC_KEY_LEN) { in parseEd25519()
178 auto& pubkey = key->getMap().get(PUBKEY_X); in parseX25519() local
179 if (!pubkey || !pubkey->asBstr() || in parseX25519()
180 pubkey->asBstr()->value().size() != X25519_PUBLIC_VALUE_LEN) { in parseX25519()
/system/keymaster/android_keymaster/
Dremote_provisioning_utils.cpp47 byte_view pubkey; member
52 return curve == other.curve && pubkey == other.pubkey; in operator ==()
192 cppbor::Array buildCertReqRecipients(const std::vector<uint8_t>& pubkey, in buildCertReqRecipients() argument
204 .add(CoseKey::PUBKEY_X, pubkey) in buildCertReqRecipients()
/system/keymaster/cppcose/
Dcppcose.cpp306 auto& pubkey = senderCoseKey->asMap()->get(CoseKey::PUBKEY_X); in getSenderPubKeyFromCoseEncrypt() local
307 if (!pubkey || !pubkey->asBstr() || in getSenderPubKeyFromCoseEncrypt()
308 pubkey->asBstr()->value().size() != X25519_PUBLIC_VALUE_LEN) { in getSenderPubKeyFromCoseEncrypt()
314 return std::make_pair(pubkey->asBstr()->value(), key_id->asBstr()->value()); in getSenderPubKeyFromCoseEncrypt()
318 return std::make_pair(pubkey->asBstr()->value(), bytevec{}); in getSenderPubKeyFromCoseEncrypt()
/system/tools/aidl/build/apex/
DAndroid.bp26 public_key: "com.android.aidltest.pubkey",
/system/keymaster/key_blob_utils/
Dsoftware_keyblobs.cpp93 keymaster_error_t FakeKeyAuthorizations(EVP_PKEY* pubkey, AuthorizationSet* hw_enforced, in FakeKeyAuthorizations() argument
98 switch (EVP_PKEY_type(pubkey->type)) { in FakeKeyAuthorizations()
119 RSA_Ptr rsa(EVP_PKEY_get1_RSA(pubkey)); in FakeKeyAuthorizations()
141 UniquePtr<EC_KEY, EC_KEY_Delete> ec_key(EVP_PKEY_get1_EC_KEY(pubkey)); in FakeKeyAuthorizations()
/system/apex/apexd/
Dapex_file.cpp84 std::string pubkey; in Open() local
148 pubkey.resize(length, '\0'); in Open()
150 reinterpret_cast<uint8_t*>(&(pubkey)[0]), length); in Open()
175 pubkey, fs_type, is_compressed); in Open()
/system/keymaster/include/keymaster/key_blob_utils/
Dsoftware_keyblobs.h39 keymaster_error_t FakeKeyAuthorizations(EVP_PKEY* pubkey, AuthorizationSet* hw_enforced,
/system/keymaster/include/keymaster/
Dremote_provisioning_utils.h75 cppbor::Array buildCertReqRecipients(const std::vector<uint8_t>& pubkey,
/system/apex/shim/build/
DAndroid.bp28 name: "com.android.apex.cts.shim.pubkey",
30 out: ["com.android.apex.cts.shim.pubkey"],
38 public_key: ":com.android.apex.cts.shim.pubkey",
49 name: "com.android.apex.cts.shim.debug.pubkey",
51 out: ["com.android.apex.cts.shim.debug.pubkey"],
59 public_key: ":com.android.apex.cts.shim.debug.pubkey",
318 name: "com.android.apex.cts.shim_not_pre_installed.pubkey",
320 out: ["com.android.apex.cts.shim_not_pre_installed.pubkey"],
328 public_key: ":com.android.apex.cts.shim_not_pre_installed.pubkey",
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.baz/
DAndroid.bp74 " --pubkey $(location com.android.apex.test.baz.avbpubkey)" +
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.sharedlibs/
DAndroid.bp71 " --pubkey $(location com.android.apex.test.sharedlibs.avbpubkey)" +
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.sharedlibs_secondary/
DAndroid.bp63 " --pubkey $(location com.android.apex.test.sharedlibs_secondary.avbpubkey)" +
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.bar/
DAndroid.bp93 " --pubkey $(location com.android.apex.test.bar.avbpubkey)" +
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.pony/
DAndroid.bp74 " --pubkey $(location com.android.apex.test.pony.avbpubkey)" +
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.foo/
DAndroid.bp74 " --pubkey $(location com.android.apex.test.foo.avbpubkey)" +
/system/apex/apexer/
Dapexer.py676 if args.pubkey:
677 shutil.copyfile(args.pubkey, os.path.join(content_dir, 'apex_pubkey'))
/system/apex/tests/testdata/sharedlibs/build/
Dshared_libs_repack.py411 args.pubkey, args.tmpdir)