Home
last modified time | relevance | path

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

/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/streamingaead/
H A DStreamingAeadTest.java99 ByteArrayOutputStream ciphertextOutputStream = new ByteArrayOutputStream(); in createEncryptDecrypt() local
102 Channels.newChannel(ciphertextOutputStream), associatedData)) { in createEncryptDecrypt()
105 byte[] ciphertext = ciphertextOutputStream.toByteArray(); in createEncryptDecrypt()
158 ByteArrayOutputStream ciphertextOutputStream = new ByteArrayOutputStream(); in readKeyset_encryptDecrypt_success() local
161 Channels.newChannel(ciphertextOutputStream), associatedData)) { in readKeyset_encryptDecrypt_success()
164 byte[] ciphertext = ciphertextOutputStream.toByteArray(); in readKeyset_encryptDecrypt_success()
230 ByteArrayOutputStream ciphertextOutputStream = new ByteArrayOutputStream(); in multipleKeysReadKeyset_encryptDecrypt_success() local
233 Channels.newChannel(ciphertextOutputStream), associatedData)) { in multipleKeysReadKeyset_encryptDecrypt_success()
236 byte[] ciphertext = ciphertextOutputStream.toByteArray(); in multipleKeysReadKeyset_encryptDecrypt_success()