Home
last modified time | relevance | path

Searched refs:kNISTTestVectors (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/crypto/
Dp224_unittest.cc39 static const TestVector kNISTTestVectors[kNumNISTTestVectors] = { variable
788 for (size_t i = 0; i < arraysize(kNISTTestVectors); i++) { in TEST()
789 p224::ScalarBaseMult(kNISTTestVectors[i].scalar, &point); in TEST()
792 EXPECT_TRUE(memcmp(external.data(), kNISTTestVectors[i].affine, in TEST()
801 reinterpret_cast<const char *>(kNISTTestVectors[10].affine), 56))); in TEST()
803 reinterpret_cast<const char *>(kNISTTestVectors[11].affine), 56))); in TEST()
/external/libweave/third_party/chromium/crypto/
Dp224_unittest.cc39 static const TestVector kNISTTestVectors[kNumNISTTestVectors] = { variable
788 for (size_t i = 0; i < arraysize(kNISTTestVectors); i++) { in TEST()
789 p224::ScalarBaseMult(kNISTTestVectors[i].scalar, &point); in TEST()
792 EXPECT_TRUE(memcmp(external.data(), kNISTTestVectors[i].affine, in TEST()
801 reinterpret_cast<const char *>(kNISTTestVectors[10].affine), 56))); in TEST()
803 reinterpret_cast<const char *>(kNISTTestVectors[11].affine), 56))); in TEST()