Searched refs:kScalarBytes (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/crypto/
H A Dcurve25519_unittest.cc20 uint8 alice_private_key[curve25519::kScalarBytes] = {3};
21 uint8 bob_private_key[curve25519::kScalarBytes] = {5};
H A Dcurve25519.h23 // kScalarBytes is the number of bytes in an element of the scalar field:
25 static const size_t kScalarBytes = 32; member in namespace:crypto::curve25519
30 // basepoint. |private_key| should be of length |kScalarBytes| and
40 // |kScalarBytes|. See "Computing public keys" section of
H A Dp224.h38 // kScalarBytes is the number of bytes needed to represent an element of the
40 static const size_t kScalarBytes = 28; member in namespace:crypto::p224
H A Dp224_spake.h101 uint8 x_[p224::kScalarBytes];
104 uint8 pw_[p224::kScalarBytes];
/external/chromium_org/net/quic/crypto/
H A Dcurve25519_key_exchange.cc29 sizeof(ka->private_key_) == crypto::curve25519::kScalarBytes, member in class:net::crypto::curve25519
34 if (private_key.size() != crypto::curve25519::kScalarBytes) {
40 crypto::curve25519::kScalarBytes);
47 uint8 private_key[crypto::curve25519::kScalarBytes];

Completed in 377 milliseconds