Home
last modified time | relevance | path

Searched refs:pubKey (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/guest/hals/identity/libeic/
DEicOpsImpl.cc232 optional<vector<uint8_t>> pubKey = in eicOpsCreateEcKey() local
235 if (!pubKey) { in eicOpsCreateEcKey()
241 if (pubKey.value().size() != EIC_P256_PUB_KEY_SIZE + 1) { in eicOpsCreateEcKey()
243 pubKey.value().size(), (size_t)EIC_P256_PRIV_KEY_SIZE + 1); in eicOpsCreateEcKey()
248 memcpy(publicKey, pubKey.value().data() + 1, EIC_P256_PUB_KEY_SIZE); in eicOpsCreateEcKey()
/device/google/cuttlefish/host/commands/secure_env/
Dtpm_remote_provisioning_context.cpp116 std::vector<uint8_t> pubKey(ED25519_PUBLIC_KEY_LEN); in GenerateBcc() local
127 ED25519_keypair_from_seed(pubKey.data(), privKey.data(), seed.data()); in GenerateBcc()
134 .add(CoseKey::PUBKEY_X, pubKey) in GenerateBcc()