HomeSort by relevance Sort by last modified time
    Searched refs:ecdsa_key (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/net/quic/test_tools/
crypto_test_utils_openssl.cc 28 explicit TestChannelIDKey(EVP_PKEY* ecdsa_key) : ecdsa_key_(ecdsa_key) {}
140 crypto::ScopedEC_KEY ecdsa_key(EC_KEY_new());
141 CHECK(ecdsa_key.get() != NULL &&
142 EC_KEY_set_group(ecdsa_key.get(), p256.get()));
148 EC_KEY_set_private_key(ecdsa_key.get(), k.get());
149 EC_KEY_set_public_key(ecdsa_key.get(), point.get());
153 EVP_PKEY_set1_EC_KEY(pkey.get(), ecdsa_key.get());
  /external/chromium_org/net/quic/crypto/
channel_id_openssl.cc 68 crypto::ScopedEC_KEY ecdsa_key(EC_KEY_new());
69 if (ecdsa_key.get() == NULL ||
70 !EC_KEY_set_group(ecdsa_key.get(), p256.get()) ||
71 !EC_KEY_set_public_key(ecdsa_key.get(), point.get())) {
86 return ECDSA_do_verify(digest, sizeof(digest), &sig, ecdsa_key.get()) == 1;
  /external/chromium_org/net/android/
keystore_unittest.cc 517 ScopedJava ecdsa_key = GetECDSATestKeyJava(); local
518 ASSERT_FALSE(ecdsa_key.is_null());
520 GetPrivateKeyType(ecdsa_key.obj()));
524 ScopedJava ecdsa_key = GetECDSATestKeyJava(); local
525 ASSERT_FALSE(ecdsa_key.is_null());
532 DoKeySigning(ecdsa_key.obj(), openssl_key.get(), message, &signature);
539 ScopedJava ecdsa_key = GetECDSATestKeyJava(); local
540 ASSERT_FALSE(ecdsa_key.is_null());
543 GetOpenSSLPrivateKeyWrapper(ecdsa_key.obj()));
  /system/keymaster/
asymmetric_key.cpp 470 UniquePtr<EC_KEY, ECDSA_Delete> ecdsa_key(EC_KEY_new());
472 if (ecdsa_key.get() == NULL || pkey.get() == NULL) {
487 if (EC_KEY_set_group(ecdsa_key.get(), group.get()) != 1 ||
488 EC_KEY_generate_key(ecdsa_key.get()) != 1 || EC_KEY_check_key(ecdsa_key.get()) < 0) {
493 EcdsaKey* new_key = new EcdsaKey(ecdsa_key.release(), authorizations, logger);
505 UniquePtr<EC_KEY, ECDSA_Delete> ecdsa_key(EVP_PKEY_get1_EC_KEY(pkey));
506 if (!ecdsa_key.get())
512 *error = get_group_size(*EC_KEY_get0_group(ecdsa_key.get()), &extracted_key_size_bits);
542 return new EcdsaKey(ecdsa_key.release(), authorizations, logger)
    [all...]
asymmetric_key.h 126 EcdsaKey(EC_KEY* ecdsa_key, const AuthorizationSet auths, const Logger& logger)
127 : AsymmetricKey(auths, logger), ecdsa_key_(ecdsa_key) {}

Completed in 100 milliseconds