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

  /external/chromium_org/crypto/
curve25519_unittest.cc 5 #include "crypto/curve25519.h"
19 TEST(Curve25519, SharedKeyIdentity) {
20 uint8 alice_private_key[curve25519::kScalarBytes] = {3};
21 uint8 bob_private_key[curve25519::kScalarBytes] = {5};
24 uint8 alice_public_key[curve25519::kBytes];
25 curve25519::ScalarBaseMult(alice_private_key, alice_public_key);
27 uint8 bob_public_key[curve25519::kBytes];
28 curve25519::ScalarBaseMult(bob_private_key, bob_public_key);
32 uint8 alice_shared_key[curve25519::kBytes];
33 curve25519::ScalarMult(alice_private_key, bob_public_key, alice_shared_key)
    [all...]
curve25519.cc 5 #include "crypto/curve25519.h"
7 // Curve25519 is specified in terms of byte strings, not numbers, so all
12 // third_party/curve25519-donna/curve25519-donna.c
17 namespace curve25519 { namespace in namespace:crypto
34 } // namespace curve25519
curve25519.h 13 // Curve25519 implements the elliptic curve group known as Curve25519, as
17 namespace curve25519 { namespace in namespace:crypto
44 } // namespace curve25519
crypto.target.darwin-arm.mk 28 crypto/curve25519.cc \
29 crypto/curve25519-donna.c \
crypto.target.darwin-mips.mk 28 crypto/curve25519.cc \
29 crypto/curve25519-donna.c \
crypto.target.darwin-x86.mk 28 crypto/curve25519.cc \
29 crypto/curve25519-donna.c \
crypto.target.linux-arm.mk 28 crypto/curve25519.cc \
29 crypto/curve25519-donna.c \
crypto.target.linux-mips.mk 28 crypto/curve25519.cc \
29 crypto/curve25519-donna.c \
crypto.target.linux-x86.mk 28 crypto/curve25519.cc \
29 crypto/curve25519-donna.c \
  /external/chromium_org/net/quic/crypto/
curve25519_key_exchange.cc 8 #include "crypto/curve25519.h"
28 sizeof(ka->private_key_) == crypto::curve25519::kScalarBytes,
30 COMPILE_ASSERT(sizeof(ka->public_key_) == crypto::curve25519::kBytes,
33 if (private_key.size() != crypto::curve25519::kScalarBytes) {
39 crypto::curve25519::kScalarBytes);
40 crypto::curve25519::ScalarBaseMult(ka->private_key_, ka->public_key_);
46 uint8 private_key[crypto::curve25519::kScalarBytes];
65 if (peer_public_value.size() != crypto::curve25519::kBytes) {
69 uint8 result[crypto::curve25519::kBytes];
70 crypto::curve25519::ScalarMult
    [all...]
quic_crypto_server_config.cc 211 scoped_ptr<Curve25519KeyExchange> curve25519(
213 StringPiece curve25519_public_value = curve25519->public_value();
    [all...]

Completed in 120 milliseconds