/external/iamf_tools/iamf/cli/tests/ |
D | encoder_main_lib_test.cc | 169 using TestVector = ::testing::TestWithParam<absl::string_view>; typedef 173 TEST_P(TestVector, ValidateTestSuite) { in TEST_P() argument 204 INSTANTIATE_TEST_SUITE_P(InvalidTooLowTrim, TestVector, 207 INSTANTIATE_TEST_SUITE_P(NopParamBlock, TestVector, 210 INSTANTIATE_TEST_SUITE_P(NoTrimRequired, TestVector, 213 INSTANTIATE_TEST_SUITE_P(UserRequestedTemporalDelimiters, TestVector, 216 INSTANTIATE_TEST_SUITE_P(InvalidIASequenceHeaderIACode, TestVector, 219 INSTANTIATE_TEST_SUITE_P(UserRequestedTrimAtEnd, TestVector, 222 INSTANTIATE_TEST_SUITE_P(UserRequestedTrimAtStart, TestVector, 225 INSTANTIATE_TEST_SUITE_P(OpusInvalidPreskip, TestVector, [all …]
|
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
D | AesGcmHkdfAeadCrypterTest.java | 33 private static class TestVector { class in AesGcmHkdfAeadCrypterTest 41 TestVector(TestVectorBuilder builder) { in TestVector() method in AesGcmHkdfAeadCrypterTest.TestVector 63 TestVector build() { in build() 72 return new TestVector(this); in build() 109 for (TestVector testVector : testVectors) { in testVectorEncrypt() 133 for (TestVector testVector : testVectors) { in testVectorDecrypt() 164 private static final TestVector[] testVectors = 165 new TestVector[] { 166 TestVector.builder() 176 TestVector.builder() [all …]
|
/external/tink-java/src/main/java/com/google/crypto/tink/prf/internal/ |
D | AesCmacPrfTestUtil.java | 35 public static class TestVector { class in AesCmacPrfTestUtil 41 private TestVector(AesCmacPrfKey key, byte[] data, int outputLength, byte[] output) { in TestVector() method in AesCmacPrfTestUtil.TestVector 48 public static TestVector create( in create() 58 return new TestVector(key, dataBytes, outputLength, outputBytes); in create() 83 public static final List<TestVector> creatTestVectors() { in creatTestVectors() 84 ArrayList<TestVector> testVectors = new ArrayList<>(); in creatTestVectors() 88 TestVector.create( in creatTestVectors() 94 TestVector.create( in creatTestVectors() 100 TestVector.create( in creatTestVectors() 108 TestVector.create( in creatTestVectors() [all …]
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | CipherOutputStreamTest.java | 56 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 …]
|
D | CipherInputStreamTest.java | 56 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/tink-java/src/test/java/com/google/crypto/tink/internal/ |
D | EllipticCurvesUtilTest.java | 39 static class TestVector { class in EllipticCurvesUtilTest 45 public TestVector(ECParameterSpec curveParams, String pubX, String pubY, String privateValue) { in TestVector() method in EllipticCurvesUtilTest.TestVector 57 static TestVector[] testVectors = 58 new TestVector[] { 60 new TestVector( 65 new TestVector( 73 new TestVector( 86 new TestVector( 91 new TestVector( 96 new TestVector( [all …]
|
/external/tink/java_src/src/test/java/com/google/crypto/tink/internal/ |
D | EllipticCurvesUtilTest.java | 39 static class TestVector { class in EllipticCurvesUtilTest 45 public TestVector(ECParameterSpec curveParams, String pubX, String pubY, String privateValue) { in TestVector() method in EllipticCurvesUtilTest.TestVector 57 static TestVector[] testVectors = 58 new TestVector[] { 60 new TestVector( 65 new TestVector( 73 new TestVector( 86 new TestVector( 91 new TestVector( 96 new TestVector( [all …]
|
/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/ |
D | CipherOutputStreamTest.java | 98 public static class TestVector { class in CipherOutputStreamTest 106 public TestVector( in TestVector() method in CipherOutputStreamTest.TestVector 121 Iterable<TestVector> getTestVectors( in getTestVectors() 131 ArrayList<TestVector> result = new ArrayList<TestVector>(); in getTestVectors() 138 result.add(new TestVector(algorithm, keyAlias, keySize, in getTestVectors() 149 public void testEncrypt(Iterable<TestVector> tests) throws Exception { in testEncrypt() 150 for (TestVector t : tests) { in testEncrypt() 163 public void testDecrypt(Iterable<TestVector> tests) throws Exception { in testDecrypt() 164 for (TestVector t : tests) { in testDecrypt() 184 public void testCorruptDecrypt(Iterable<TestVector> tests, boolean acceptEmptyPlaintext) in testCorruptDecrypt() [all …]
|
D | CipherInputStreamTest.java | 97 public static class TestVector { class in CipherInputStreamTest 106 public TestVector( in TestVector() method in CipherInputStreamTest.TestVector 121 Iterable<TestVector> getTestVectors( in getTestVectors() 130 ArrayList<TestVector> result = new ArrayList<TestVector>(); in getTestVectors() 138 result.add(new TestVector(algorithm, keyAlias, keySize, in getTestVectors() 149 public void testEncrypt(Iterable<TestVector> tests) throws Exception { in testEncrypt() 150 for (TestVector t : tests) { in testEncrypt() 173 public void testDecrypt(Iterable<TestVector> tests) throws Exception { in testDecrypt() 174 for (TestVector t : tests) { in testDecrypt() 208 public void testCorruptDecrypt(Iterable<TestVector> tests, boolean acceptEmptyPlaintext) in testCorruptDecrypt() [all …]
|
/external/tink-java/src/test/java/com/google/crypto/tink/keyderivation/internal/ |
D | PrfBasedKeyDeriverTest.java | 252 private static final class TestVector { class in PrfBasedKeyDeriverTest 258 TestVector(PrfKey prfKey, Parameters derivedKeyParameters, String inputHex, Key expectedKey) { in TestVector() method in PrfBasedKeyDeriverTest.TestVector 270 private static final TestVector[] createTestVectors() throws Exception { in createTestVectors() 271 return new TestVector[] { in createTestVectors() 272 new TestVector( in createTestVectors() 281 new TestVector( in createTestVectors() 290 new TestVector( in createTestVectors() 301 new TestVector( in createTestVectors() 313 new TestVector( in createTestVectors() 328 new TestVector( in createTestVectors() [all …]
|
D | KeysetDeriverWrapperTest.java | 330 private static final class TestVector { class in KeysetDeriverWrapperTest 336 TestVector(PrfKey prfKey, Parameters derivedKeyParameters, String inputHex, Key expectedKey) { in TestVector() method in KeysetDeriverWrapperTest.TestVector 348 private static final TestVector[] createTestVectors() throws Exception { in createTestVectors() 349 return new TestVector[] { in createTestVectors() 350 new TestVector( in createTestVectors() 359 new TestVector( in createTestVectors() 368 new TestVector( in createTestVectors() 379 new TestVector( in createTestVectors() 391 new TestVector( in createTestVectors() 406 new TestVector( in createTestVectors() [all …]
|
D | PrfBasedDeriverSecondTest.java | 327 private static final class TestVector { class in PrfBasedDeriverSecondTest 333 TestVector(PrfKey prfKey, Parameters derivedKeyParameters, String inputHex, Key expectedKey) { in TestVector() method in PrfBasedDeriverSecondTest.TestVector 345 private static final TestVector[] createTestVectors() throws Exception { in createTestVectors() 346 return new TestVector[] { in createTestVectors() 347 new TestVector( in createTestVectors() 356 new TestVector( in createTestVectors() 365 new TestVector( in createTestVectors() 376 new TestVector( in createTestVectors() 388 new TestVector( in createTestVectors() 403 new TestVector( in createTestVectors() [all …]
|
/external/cronet/stable/net/third_party/quiche/src/quiche/quic/core/crypto/ |
D | aes_128_gcm_12_encrypter_test.cc | 64 struct TestVector { struct 78 const TestVector test_group_0[] = { 85 const TestVector test_group_1[] = { 94 const TestVector test_group_2[] = { 103 const TestVector test_group_3[] = { 120 const TestVector test_group_4[] = { 141 const TestVector test_group_5[] = { 150 const TestVector* const test_group_array[] = { 182 const TestVector* test_vectors = test_group_array[i]; in TEST_F()
|
D | aes_128_gcm_12_decrypter_test.cc | 64 struct TestVector { struct 83 const TestVector test_group_0[] = { 93 const TestVector test_group_1[] = { 104 const TestVector test_group_2[] = { 119 const TestVector test_group_3[] = { 144 const TestVector test_group_4[] = { 175 const TestVector test_group_5[] = { 192 const TestVector* const test_group_array[] = { 230 const TestVector* test_vectors = test_group_array[i]; in TEST_F()
|
D | aes_256_gcm_encrypter_test.cc | 65 struct TestVector { struct 79 const TestVector test_group_0[] = { 88 const TestVector test_group_1[] = { 97 const TestVector test_group_2[] = { 106 const TestVector test_group_3[] = { 125 const TestVector test_group_4[] = { 148 const TestVector test_group_5[] = { 157 const TestVector* const test_group_array[] = { 189 const TestVector* test_vectors = test_group_array[i]; in TEST_F()
|
D | aes_128_gcm_decrypter_test.cc | 63 struct TestVector { struct 82 const TestVector test_group_0[] = { 92 const TestVector test_group_1[] = { 103 const TestVector test_group_2[] = { 118 const TestVector test_group_3[] = { 143 const TestVector test_group_4[] = { 174 const TestVector test_group_5[] = { 191 const TestVector* const test_group_array[] = { 224 const TestVector* test_vectors = test_group_array[i]; in TEST_F()
|
D | aes_256_gcm_decrypter_test.cc | 65 struct TestVector { struct 84 const TestVector test_group_0[] = { 95 const TestVector test_group_1[] = { 106 const TestVector test_group_2[] = { 120 const TestVector test_group_3[] = { 148 const TestVector test_group_4[] = { 182 const TestVector test_group_5[] = { 196 const TestVector* const test_group_array[] = { 229 const TestVector* test_vectors = test_group_array[i]; in TEST_F()
|
/external/cronet/tot/net/third_party/quiche/src/quiche/quic/core/crypto/ |
D | aes_128_gcm_12_encrypter_test.cc | 64 struct TestVector { struct 78 const TestVector test_group_0[] = { 85 const TestVector test_group_1[] = { 94 const TestVector test_group_2[] = { 103 const TestVector test_group_3[] = { 120 const TestVector test_group_4[] = { 141 const TestVector test_group_5[] = { 150 const TestVector* const test_group_array[] = { 182 const TestVector* test_vectors = test_group_array[i]; in TEST_F()
|
D | aes_128_gcm_12_decrypter_test.cc | 64 struct TestVector { struct 83 const TestVector test_group_0[] = { 93 const TestVector test_group_1[] = { 104 const TestVector test_group_2[] = { 119 const TestVector test_group_3[] = { 144 const TestVector test_group_4[] = { 175 const TestVector test_group_5[] = { 192 const TestVector* const test_group_array[] = { 230 const TestVector* test_vectors = test_group_array[i]; in TEST_F()
|
D | aes_256_gcm_encrypter_test.cc | 65 struct TestVector { struct 79 const TestVector test_group_0[] = { 88 const TestVector test_group_1[] = { 97 const TestVector test_group_2[] = { 106 const TestVector test_group_3[] = { 125 const TestVector test_group_4[] = { 148 const TestVector test_group_5[] = { 157 const TestVector* const test_group_array[] = { 189 const TestVector* test_vectors = test_group_array[i]; in TEST_F()
|
D | aes_128_gcm_decrypter_test.cc | 63 struct TestVector { struct 82 const TestVector test_group_0[] = { 92 const TestVector test_group_1[] = { 103 const TestVector test_group_2[] = { 118 const TestVector test_group_3[] = { 143 const TestVector test_group_4[] = { 174 const TestVector test_group_5[] = { 191 const TestVector* const test_group_array[] = { 224 const TestVector* test_vectors = test_group_array[i]; in TEST_F()
|
D | aes_256_gcm_decrypter_test.cc | 65 struct TestVector { struct 84 const TestVector test_group_0[] = { 95 const TestVector test_group_1[] = { 106 const TestVector test_group_2[] = { 120 const TestVector test_group_3[] = { 148 const TestVector test_group_4[] = { 182 const TestVector test_group_5[] = { 196 const TestVector* const test_group_array[] = { 229 const TestVector* test_vectors = test_group_array[i]; in TEST_F()
|
D | aes_128_gcm_encrypter_test.cc | 64 struct TestVector { struct 78 const TestVector test_group_0[] = { 85 const TestVector test_group_1[] = { 94 const TestVector test_group_2[] = { 103 const TestVector test_group_3[] = { 120 const TestVector test_group_4[] = { 141 const TestVector test_group_5[] = { 150 const TestVector* const test_group_array[] = { 182 const TestVector* test_vectors = test_group_array[i]; in TEST_F()
|
/external/tink/java_src/src/test/java/com/google/crypto/tink/subtle/ |
D | AesEaxJceTest.java | 308 private static class TestVector { class in AesEaxJceTest 309 public TestVector( in TestVector() method in AesEaxJceTest.TestVector 327 public static final TestVector[] TEST_VECTORS = 328 new TestVector[] { 329 new TestVector( 335 new TestVector( 341 new TestVector( 347 new TestVector( 353 new TestVector( 359 new TestVector( [all …]
|
/external/tink/cc/subtle/ |
D | hkdf_test.cc | 36 struct TestVector { struct 46 static const std::vector<TestVector> test_vector( 98 for (const TestVector& test : test_vector) { in TEST_F() 109 for (const TestVector& test : test_vector) { in TEST_F() 123 TestVector test = test_vector[0]; in TEST_F() 134 for (const TestVector& test : test_vector) { in TEST_F()
|