Home
last modified time | relevance | path

Searched refs:testEncryptDecrypt (Results 1 – 23 of 23) sorted by relevance

/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/subtle/
H A DAesCtrHmacStreamingTest.java69 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 DAesGcmHkdfStreamingTest.java61 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 DXChaCha20Test.java37 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in XChaCha20Test
H A DChaCha20Test.java38 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in ChaCha20Test
H A DAesCtrJceCipherTest.java134 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in AesCtrJceCipherTest
H A DXChaCha20Poly1305Test.java139 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in XChaCha20Poly1305Test
H A DEncryptThenAuthenticateTest.java147 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in EncryptThenAuthenticateTest
H A DChaCha20Poly1305Test.java84 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in ChaCha20Poly1305Test
H A DAesSivTest.java205 public void testEncryptDecrypt() throws GeneralSecurityException { in testEncryptDecrypt() method in AesSivTest
H A DAesGcmJceTest.java71 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in AesGcmJceTest
H A DAesEaxJceTest.java121 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 DEciesAeadHkdfHybridDecryptTest.java58 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 Daead_key_templates_test.go72 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 Ddaead_key_templates_test.go40 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/
DCryptUtilsTest.java37 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 DInsecureNonceChaCha20Test.java40 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in InsecureNonceChaCha20Test
H A DInsecureNonceXChaCha20Test.java39 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in InsecureNonceXChaCha20Test
H A DInsecureNonceXChaCha20Poly1305Test.java145 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in InsecureNonceXChaCha20Poly1305Test
H A DInsecureNonceChaCha20Poly1305Test.java95 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 DAesGcmSivTest.java64 public void testEncryptDecrypt() throws Exception { in testEncryptDecrypt() method in AesGcmSivTest
/aosp_15_r20/external/tink/cc/subtle/
H A Daes_siv_boringssl_test.cc56 TEST(AesSivBoringSslTest, testEncryptDecrypt) { in TEST() argument
H A Dencrypt_then_authenticate_test.cc140 TEST(EncryptThenAuthenticateTest, testEncryptDecrypt) { in TEST() argument
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/testing/
H A DStreamingTestUtil.java653 public static void testEncryptDecrypt( in testEncryptDecrypt() method in StreamingTestUtil