Home
last modified time | relevance | path

Searched refs:TestVector (Results 1 – 14 of 14) sorted by relevance

/external/wycheproof/java/com/google/security/wycheproof/testcases/
DCipherOutputStreamTest.java56 public static class TestVector { class in CipherOutputStreamTest
64 public TestVector( in TestVector() method in CipherOutputStreamTest.TestVector
79 Iterable<TestVector> getTestVectors( in getTestVectors()
87 ArrayList<TestVector> result = new ArrayList<TestVector>(); in getTestVectors()
93 result.add(new TestVector(algorithm, keySize, ivSize, tagSize, ptSize, aadSize)); in getTestVectors()
103 public void testEncrypt(Iterable<TestVector> tests) throws Exception { in testEncrypt()
104 for (TestVector t : tests) { in testEncrypt()
117 public void testDecrypt(Iterable<TestVector> tests) throws Exception { in testDecrypt()
118 for (TestVector t : tests) { in testDecrypt()
131 public void testCorruptDecrypt(Iterable<TestVector> tests) throws Exception { in testCorruptDecrypt()
[all …]
DCipherInputStreamTest.java56 public static class TestVector { class in CipherInputStreamTest
65 public TestVector( in TestVector() method in CipherInputStreamTest.TestVector
80 Iterable<TestVector> getTestVectors( in getTestVectors()
88 ArrayList<TestVector> result = new ArrayList<TestVector>(); in getTestVectors()
94 result.add(new TestVector(algorithm, keySize, ivSize, tagSize, ptSize, aadSize)); in getTestVectors()
104 public void testEncrypt(Iterable<TestVector> tests) throws Exception { in testEncrypt()
105 for (TestVector t : tests) { in testEncrypt()
128 public void testDecrypt(Iterable<TestVector> tests) throws Exception { in testDecrypt()
129 for (TestVector t : tests) { in testDecrypt()
159 public void testCorruptDecrypt(Iterable<TestVector> tests) throws Exception { in testCorruptDecrypt()
[all …]
/external/boringssl/src/crypto/base64/
Dbase64_test.cc42 struct TestVector { struct
49 static const TestVector kTestVectors[] = { argument
106 class Base64Test : public testing::TestWithParam<TestVector> {};
125 const TestVector &t = GetParam(); in TEST_P()
143 const TestVector &t = GetParam(); in TEST_P()
167 const TestVector &t = GetParam(); in TEST_P()
191 const TestVector &t = GetParam(); in TEST_P()
249 const TestVector &t = GetParam(); in TEST_P()
/external/parameter-framework/upstream/test/xml-generator/
Dtest.py43 class TestVector: class
98 self.nominal_vector = TestVector(os.path.join(vector_dir, "initialSettings.xml"),
116 vector = TestVector(edds=[os.path.join(vector_dir, "conflicting.pfw")])
125 empty_vector = TestVector()
/external/boringssl/src/crypto/digest_extra/
Ddigest_test.cc57 struct TestVector { struct
68 static const TestVector kTestVectors[] = { argument
146 static void CompareDigest(const TestVector *test, in CompareDigest()
161 static void TestDigest(const TestVector *test) { in TestDigest()
/external/compiler-rt/test/builtins/Unit/
Dcomparedf2_test.c25 struct TestVector { struct
37 int test__cmpdf2(const struct TestVector *vector) { in test__cmpdf2() argument
145 static const struct TestVector vectors[] = {
Dcomparesf2_test.c25 struct TestVector { struct
37 int test__cmpsf2(const struct TestVector *vector) { in test__cmpsf2() argument
145 static const struct TestVector vectors[] = {
/external/libchrome/crypto/
Dp224_unittest.cc31 struct TestVector { struct
39 static const TestVector kNISTTestVectors[kNumNISTTestVectors] = {
/external/boringssl/src/crypto/chacha/
Dchacha_test.cc222 TEST(ChaChaTest, TestVector) { in TEST() argument
/external/tensorflow/tensorflow/core/kernels/
Dquantized_add_op_test.cc213 void TestVector() { TestAddShape({100}, {100}); } in TestVector() function
286 RUN_TEST(TestVector);
Dquantized_mul_op_test.cc213 void TestVector() { TestMulShape({100}, {100}); } in TestVector() function
287 RUN_TEST(TestVector);
/external/boringssl/src/crypto/curve25519/
Dx25519_test.cc27 TEST(X25519Test, TestVector) { in TEST() argument
/external/parameter-framework/upstream/test/functional-tests/
DHandle.cpp550 struct TestVector struct
558 list<TestVector> testVectors = {
/external/boringssl/src/crypto/cipher_extra/
Daead_test.cc116 TEST_P(PerAEADTest, TestVector) { in TEST_P() argument