chromium/crypto/ec_private_key_unittest.cc

// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "crypto/ec_private_key.h"

#include <stdint.h>

#include <memory>
#include <vector>

#include "testing/gtest/include/gtest/gtest.h"

namespace {

void ExpectKeysEqual(const crypto::ECPrivateKey* keypair1,
                     const crypto::ECPrivateKey* keypair2) {}

}  // namespace

// Generate random private keys. Export, then re-import in several ways. We
// should get back the same exact public key, and the private key should have
// the same value and elliptic curve params.
TEST(ECPrivateKeyUnitTest, InitRandomTest) {}

TEST(ECPrivateKeyUnitTest, Copy) {}

TEST(ECPrivateKeyUnitTest, CreateFromPrivateKeyInfo) {}

TEST(ECPrivateKeyUnitTest, RSAPrivateKeyInfo) {}

TEST(ECPrivateKeyUnitTest, LoadNSSKeyTest) {}

TEST(ECPrivateKeyUnitTest, LoadOpenSSLKeyTest) {}

// The Android code writes out Channel IDs differently from the NSS
// implementation; the empty password is converted to "\0\0". The OpenSSL port
// should support either.
TEST(ECPrivateKeyUnitTest, LoadOldOpenSSLKeyTest) {}