Searched defs:kBytes (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/crypto/
H A Dcurve25519.h19 // kBytes is the number of bytes in the result of the Diffie-Hellman operation,
21 static const size_t kBytes = 32; member in namespace:crypto::curve25519
31 // |peer_public_key| should be of length |kBytes|.
/external/chromium_org/third_party/skia/tests/
H A DChecksumTest.cpp24 const size_t kBytes = SkAlign4(128); local
26 uint32_t data[kBytes/4], tweaked[kBytes/4];
38 const uint32_t hash = algorithm(data, kBytes);
40 ASSERT(hash == algorithm(data, kBytes));
46 const uint32_t tweakedHash = algorithm(tweaked, kBytes);
48 ASSERT(tweakedHash == algorithm(tweaked, kBytes));
/external/skia/tests/
H A DChecksumTest.cpp24 const size_t kBytes = SkAlign4(128); local
26 uint32_t data[kBytes/4], tweaked[kBytes/4];
38 const uint32_t hash = algorithm(data, kBytes);
40 ASSERT(hash == algorithm(data, kBytes));
46 const uint32_t tweakedHash = algorithm(tweaked, kBytes);
48 ASSERT(tweakedHash == algorithm(tweaked, kBytes));
/external/chromium_org/net/quic/crypto/
H A Dcurve25519_key_exchange.cc31 COMPILE_ASSERT(sizeof(ka->public_key_) == crypto::curve25519::kBytes, member in class:net::crypto::curve25519
66 if (peer_public_value.size() != crypto::curve25519::kBytes) {
70 uint8 result[crypto::curve25519::kBytes];
/external/chromium_org/base/android/
H A Djni_array_unittest.cc15 const uint8 kBytes[] = { 0, 1, 2, 3 }; local
16 const size_t kLen = arraysize(kBytes);
18 ScopedJavaLocalRef<jbyteArray> bytes = ToJavaByteArray(env, kBytes, kLen);
24 EXPECT_EQ(std::vector<uint8>(kBytes, kBytes + kLen), vec);

Completed in 192 milliseconds