curve25519 17 crypto/curve25519.h namespace curve25519 { curve25519 20 crypto/curve25519_unittest.cc uint8 alice_private_key[curve25519::kScalarBytes] = {3}; curve25519 21 crypto/curve25519_unittest.cc uint8 bob_private_key[curve25519::kScalarBytes] = {5}; curve25519 24 crypto/curve25519_unittest.cc uint8 alice_public_key[curve25519::kBytes]; curve25519 25 crypto/curve25519_unittest.cc curve25519::ScalarBaseMult(alice_private_key, alice_public_key); curve25519 27 crypto/curve25519_unittest.cc uint8 bob_public_key[curve25519::kBytes]; curve25519 28 crypto/curve25519_unittest.cc curve25519::ScalarBaseMult(bob_private_key, bob_public_key); curve25519 32 crypto/curve25519_unittest.cc uint8 alice_shared_key[curve25519::kBytes]; curve25519 33 crypto/curve25519_unittest.cc curve25519::ScalarMult(alice_private_key, bob_public_key, alice_shared_key); curve25519 37 crypto/curve25519_unittest.cc uint8 bob_shared_key[curve25519::kBytes]; curve25519 38 crypto/curve25519_unittest.cc curve25519::ScalarMult(bob_private_key, alice_public_key, bob_shared_key); curve25519 41 crypto/curve25519_unittest.cc ASSERT_EQ(0, memcmp(alice_shared_key, bob_shared_key, curve25519::kBytes)); curve25519 29 net/quic/crypto/curve25519_key_exchange.cc sizeof(ka->private_key_) == crypto::curve25519::kScalarBytes, curve25519 31 net/quic/crypto/curve25519_key_exchange.cc COMPILE_ASSERT(sizeof(ka->public_key_) == crypto::curve25519::kBytes, curve25519 34 net/quic/crypto/curve25519_key_exchange.cc if (private_key.size() != crypto::curve25519::kScalarBytes) { curve25519 40 net/quic/crypto/curve25519_key_exchange.cc crypto::curve25519::kScalarBytes); curve25519 41 net/quic/crypto/curve25519_key_exchange.cc crypto::curve25519::ScalarBaseMult(ka->private_key_, ka->public_key_); curve25519 47 net/quic/crypto/curve25519_key_exchange.cc uint8 private_key[crypto::curve25519::kScalarBytes]; curve25519 66 net/quic/crypto/curve25519_key_exchange.cc if (peer_public_value.size() != crypto::curve25519::kBytes) { curve25519 70 net/quic/crypto/curve25519_key_exchange.cc uint8 result[crypto::curve25519::kBytes]; curve25519 71 net/quic/crypto/curve25519_key_exchange.cc crypto::curve25519::ScalarMult( curve25519 215 net/quic/crypto/quic_crypto_server_config.cc scoped_ptr<Curve25519KeyExchange> curve25519( curve25519 217 net/quic/crypto/quic_crypto_server_config.cc StringPiece curve25519_public_value = curve25519->public_value();