/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/subtle/ |
H A D | AesCtrHmacStreamingTest.java | 69 public void testEncryptDecrypt( in testEncryptDecrypt() method in AesCtrHmacStreamingTest 81 StreamingTestUtil.testEncryptDecrypt(ags, firstSegmentOffset, plaintextSize, chunkSize); in testEncryptDecrypt() 89 testEncryptDecrypt(16, 12, 256, 0, 20, 64); in testEncryptDecryptSmall() 90 testEncryptDecrypt(16, 12, 512, 0, 400, 64); in testEncryptDecryptSmall() 98 testEncryptDecrypt(16, 12, 256, 8, 20, 64); in testEncryptDecryptSmallWithOffset() 99 testEncryptDecrypt(16, 12, 512, 8, 400, 64); in testEncryptDecryptSmallWithOffset() 107 testEncryptDecrypt(16, 12, 256, 0, 0, 128); in testEncryptDecryptEmpty() 108 testEncryptDecrypt(16, 12, 256, 8, 0, 128); in testEncryptDecryptEmpty() 116 testEncryptDecrypt(16, 12, 256, 0, 1024, 128); in testEncryptDecryptMedium() 117 testEncryptDecrypt(16, 12, 512, 0, 3086, 128); in testEncryptDecryptMedium() [all …]
|
H A D | AesGcmHkdfStreamingTest.java | 61 public void testEncryptDecrypt( in testEncryptDecrypt() method in AesGcmHkdfStreamingTest 68 StreamingTestUtil.testEncryptDecrypt(ags, firstSegmentOffset, plaintextSize, chunkSize); in testEncryptDecrypt() 74 testEncryptDecrypt(16, 256, 0, 20, 64); in testEncryptDecryptSmall() 75 testEncryptDecrypt(16, 512, 0, 400, 64); in testEncryptDecryptSmall() 81 testEncryptDecrypt(16, 256, 8, 20, 64); in testEncryptDecryptSmallWithOffset() 82 testEncryptDecrypt(16, 512, 8, 400, 64); in testEncryptDecryptSmallWithOffset() 88 testEncryptDecrypt(16, 256, 0, 0, 128); in testEncryptDecryptEmpty() 89 testEncryptDecrypt(16, 256, 8, 0, 128); in testEncryptDecryptEmpty() 95 testEncryptDecrypt(16, 256, 0, 1024, 128); in testEncryptDecryptMedium() 96 testEncryptDecrypt(16, 512, 0, 3086, 128); in testEncryptDecryptMedium() [all …]
|
H A D | XChaCha20Test.java | 37 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in XChaCha20Test
|
H A D | ChaCha20Test.java | 38 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in ChaCha20Test
|
H A D | AesCtrJceCipherTest.java | 134 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in AesCtrJceCipherTest
|
H A D | XChaCha20Poly1305Test.java | 139 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in XChaCha20Poly1305Test
|
H A D | EncryptThenAuthenticateTest.java | 147 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in EncryptThenAuthenticateTest
|
H A D | ChaCha20Poly1305Test.java | 84 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in ChaCha20Poly1305Test
|
H A D | AesSivTest.java | 205 public void testEncryptDecrypt() throws GeneralSecurityException { in testEncryptDecrypt() method in AesSivTest
|
H A D | AesGcmJceTest.java | 71 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in AesGcmJceTest
|
H A D | AesEaxJceTest.java | 121 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in AesEaxJceTest
|
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/hybrid/ |
H A D | EciesAeadHkdfHybridDecryptTest.java | 58 private static void testEncryptDecrypt(CurveType curveType, Parameters parameters) in testEncryptDecrypt() method in EciesAeadHkdfHybridDecryptTest 90 testEncryptDecrypt(CurveType.NIST_P256, PredefinedAeadParameters.AES128_CTR_HMAC_SHA256); in testEncryptDecryptP256CtrHmac() 95 testEncryptDecrypt(CurveType.NIST_P384, PredefinedAeadParameters.AES128_CTR_HMAC_SHA256); in testEncryptDecryptP384CtrHmac() 100 testEncryptDecrypt(CurveType.NIST_P521, PredefinedAeadParameters.AES128_CTR_HMAC_SHA256); in testEncryptDecryptP521CtrHmac() 105 testEncryptDecrypt(CurveType.NIST_P256, PredefinedAeadParameters.AES128_GCM); in testEncryptDecryptP256Gcm() 110 testEncryptDecrypt(CurveType.NIST_P384, PredefinedAeadParameters.AES128_GCM); in testEncryptDecryptP384Gcm() 115 testEncryptDecrypt(CurveType.NIST_P521, PredefinedAeadParameters.AES128_GCM); in testEncryptDecryptP512Gcm() 120 testEncryptDecrypt(CurveType.NIST_P256, PredefinedDeterministicAeadParameters.AES256_SIV); in testEncryptDecryptP256AesSiv() 125 testEncryptDecrypt(CurveType.NIST_P384, PredefinedDeterministicAeadParameters.AES256_SIV); in testEncryptDecryptP384AesSiv() 130 testEncryptDecrypt(CurveType.NIST_P521, PredefinedDeterministicAeadParameters.AES256_SIV); in testEncryptDecryptP512AesSiv()
|
/aosp_15_r20/external/tink/go/aead/ |
H A D | aead_key_templates_test.go | 72 if err := testEncryptDecrypt(tc.template); err != nil { 117 if err := testEncryptDecrypt(tc.template); err != nil { 271 func testEncryptDecrypt(template *tinkpb.KeyTemplate) error { func
|
/aosp_15_r20/external/tink/go/daead/ |
H A D | daead_key_templates_test.go | 40 if err := testEncryptDecrypt(tc.template); err != nil { 47 func testEncryptDecrypt(template *tinkpb.KeyTemplate) error { func
|
/aosp_15_r20/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/util/ |
D | CryptUtilsTest.java | 37 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in CryptUtilsTest
|
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/aead/internal/ |
H A D | InsecureNonceChaCha20Test.java | 40 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in InsecureNonceChaCha20Test
|
H A D | InsecureNonceXChaCha20Test.java | 39 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in InsecureNonceXChaCha20Test
|
H A D | InsecureNonceXChaCha20Poly1305Test.java | 145 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in InsecureNonceXChaCha20Poly1305Test
|
H A D | InsecureNonceChaCha20Poly1305Test.java | 95 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in InsecureNonceChaCha20Poly1305Test
|
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/aead/subtle/ |
H A D | AesGcmSivTest.java | 64 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in AesGcmSivTest
|
/aosp_15_r20/external/tink/cc/subtle/ |
H A D | aes_siv_boringssl_test.cc | 56 TEST(AesSivBoringSslTest, testEncryptDecrypt) { in TEST() argument
|
H A D | encrypt_then_authenticate_test.cc | 140 TEST(EncryptThenAuthenticateTest, testEncryptDecrypt) { in TEST() argument
|
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/testing/ |
H A D | StreamingTestUtil.java | 653 public static void testEncryptDecrypt( in testEncryptDecrypt() method in StreamingTestUtil
|