Searched refs:pubKey (Results 1 – 4 of 4) sorted by relevance
90 std::vector<uint8_t> pubKey(ED25519_PUBLIC_KEY_LEN); in GenerateBcc() local99 ED25519_keypair_from_seed(pubKey.data(), privKey.data(), seed); in GenerateBcc()106 .add(CoseKey::PUBKEY_X, pubKey) in GenerateBcc()
160 auto pubKey = CoseKey::parse(payload->value(), EC2, ES256, P256); in validateAndExtractPubkeys() local161 if (!pubKey) { in validateAndExtractPubkeys()162 LOG_E("%s", pubKey.moveMessage().c_str()); in validateAndExtractPubkeys()166 bool testKey = static_cast<bool>(pubKey->getMap().get(CoseKey::TEST_KEY)); in validateAndExtractPubkeys()186 pubKeysToMac.add(pubKey->moveMap()); in validateAndExtractPubkeys()
134 EVP_PKEY_Ptr pubKey(X509_get_pubkey(cert.get())); in GetEcdsa256KeyFromCert() local135 if (!pubKey.get()) return TranslateLastOpenSslError(); in GetEcdsa256KeyFromCert()136 EC_KEY* ecKey = EVP_PKEY_get0_EC_KEY(pubKey.get()); in GetEcdsa256KeyFromCert()
172 std::vector<uint8_t> pubKey(num_bytes); in extractPublicKey() local173 int res = BN_bn2bin(rsa->n, pubKey.data()); in extractPublicKey()180 return pubKey; in extractPublicKey()