Searched refs:curve25519 (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/crypto/
H A Dcurve25519_unittest.cc5 #include "crypto/curve25519.h"
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);
37 uint8 bob_shared_key[curve25519
[all...]
H A Dcurve25519.cc5 #include "crypto/curve25519.h"
12 // third_party/curve25519-donna/curve25519-donna.c
17 namespace curve25519 { namespace in namespace:crypto
34 } // namespace curve25519
H A Dcurve25519.h17 namespace curve25519 { namespace in namespace:crypto
44 } // namespace curve25519
H A Dcrypto.target.darwin-arm.mk28 crypto/curve25519.cc \
29 crypto/curve25519-donna.c \
H A Dcrypto.target.darwin-mips.mk28 crypto/curve25519.cc \
29 crypto/curve25519-donna.c \
H A Dcrypto.target.darwin-x86.mk28 crypto/curve25519.cc \
29 crypto/curve25519-donna.c \
H A Dcrypto.target.linux-arm.mk28 crypto/curve25519.cc \
29 crypto/curve25519-donna.c \
H A Dcrypto.target.linux-mips.mk28 crypto/curve25519.cc \
29 crypto/curve25519-donna.c \
H A Dcrypto.target.linux-x86.mk28 crypto/curve25519.cc \
29 crypto/curve25519-donna.c \
/external/chromium_org/net/quic/crypto/
H A Dcurve25519_key_exchange.cc8 #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
[all...]
H A Dcrypto_server_config.cc94 scoped_ptr<Curve25519KeyExchange> curve25519(
96 StringPiece curve25519_public_value = curve25519->public_value();
855 LOG(WARNING) << "Server config contained an invalid curve25519"

Completed in 251 milliseconds