/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
AesGcmHkdfAeadCrypterTest.java | 33 private static class TestVector { 41 TestVector(TestVectorBuilder builder) { 63 TestVector build() { 72 return new TestVector(this); 109 for (TestVector testVector : testVectors) { 110 int bufferSize = testVector.ciphertext.length; 114 AesGcmHkdfAeadCrypter aeadCrypter = new AesGcmHkdfAeadCrypter(testVector.key); 117 ByteBuffer.wrap(testVector.plaintext), 118 ByteBuffer.wrap(testVector.aad) [all...] |
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
CipherOutputStreamTest.java | 56 public static class TestVector { 64 public TestVector( 79 Iterable<TestVector> getTestVectors( 87 ArrayList<TestVector> result = new ArrayList<TestVector>(); 93 result.add(new TestVector(algorithm, keySize, ivSize, tagSize, ptSize, aadSize)); 103 public void testEncrypt(Iterable<TestVector> tests) throws Exception { 104 for (TestVector t : tests) { 117 public void testDecrypt(Iterable<TestVector> tests) throws Exception { 118 for (TestVector t : tests) [all...] |
CipherInputStreamTest.java | 56 public static class TestVector { 65 public TestVector( 80 Iterable<TestVector> getTestVectors( 88 ArrayList<TestVector> result = new ArrayList<TestVector>(); 94 result.add(new TestVector(algorithm, keySize, ivSize, tagSize, ptSize, aadSize)); 104 public void testEncrypt(Iterable<TestVector> tests) throws Exception { 105 for (TestVector t : tests) { 128 public void testDecrypt(Iterable<TestVector> tests) throws Exception { 129 for (TestVector t : tests) [all...] |
/external/boringssl/src/crypto/base64/ |
base64_test.cc | 42 struct TestVector { 49 static const TestVector kTestVectors[] = { 106 class Base64Test : public testing::TestWithParam<TestVector> {}; 125 const TestVector &t = GetParam(); 143 const TestVector &t = GetParam(); 167 const TestVector &t = GetParam(); 191 const TestVector &t = GetParam(); 249 const TestVector &t = GetParam();
|
/external/parameter-framework/upstream/test/xml-generator/ |
test.py | 43 class TestVector: 50 def __init__(self, pfConfig, testVector): 58 if testVector.initialSettings: 59 self.command += ["--initial-settings", testVector.initialSettings] 60 if testVector.edds: 61 self.command += ["--add-edds"] + testVector.edds 62 if testVector.domains: 63 self.command += ["--add-domains"] + testVector.domains 91 vector_dir = os.path.join(basedir, "testVector") 98 self.nominal_vector = TestVector(os.path.join(vector_dir, "initialSettings.xml") [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
AESCipherNistCavpKatTest.java | 177 TestVector testVector = null; 213 testVector = new TestVector(); 230 runKatTest(blockMode, encrypt, testVector); 232 testVector = null; 244 testVector.key = HexEncoding.decode(value); 246 testVector.iv = HexEncoding.decode(value); 248 testVector.plaintext = HexEncoding.decode(value); 250 testVector.ciphertext = HexEncoding.decode(value) [all...] |
/external/boringssl/src/crypto/digest_extra/ |
digest_test.cc | 58 struct TestVector { 69 static const TestVector kTestVectors[] = { 147 static void CompareDigest(const TestVector *test, 162 static void TestDigest(const TestVector *test) {
|
/external/compiler-rt/test/builtins/Unit/ |
comparedf2_test.c | 25 struct TestVector { 37 int test__cmpdf2(const struct TestVector *vector) { 145 static const struct TestVector vectors[] = {
|
comparesf2_test.c | 25 struct TestVector { 37 int test__cmpsf2(const struct TestVector *vector) { 145 static const struct TestVector vectors[] = {
|
/external/parameter-framework/upstream/test/functional-tests/ |
Handle.cpp | 550 struct TestVector 558 list<TestVector> testVectors = { 593 for (auto &testVector : testVectors) { 595 CHECK(cmdHandler->process("showMapping", {testVector.path}, output)); 596 CHECK(output == testVector.humanReadable);
|
/external/tensorflow/tensorflow/core/kernels/ |
quantized_add_op_test.cc | 213 void TestVector() { TestAddShape({100}, {100}); } 286 RUN_TEST(TestVector);
|
quantized_mul_op_test.cc | 213 void TestVector() { TestMulShape({100}, {100}); } 287 RUN_TEST(TestVector);
|
/external/boringssl/src/crypto/curve25519/ |
x25519_test.cc | 28 TEST(X25519Test, TestVector) {
|
/external/libchrome/crypto/ |
p224_unittest.cc | 28 // TestVector represents a test of scalar multiplication of the base point. 31 struct TestVector { 39 static const TestVector kNISTTestVectors[kNumNISTTestVectors] = { [all...] |
/external/boringssl/src/crypto/chacha/ |
chacha_test.cc | 224 TEST(ChaChaTest, TestVector) {
|
/external/boringssl/src/crypto/cipher_extra/ |
aead_test.cc | 117 TEST_P(PerAEADTest, TestVector) { [all...] |