Searched defs:kScalarBytes (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/crypto/
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
/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 103 milliseconds