Home
last modified time | relevance | path

Searched defs:associatedData (Results 1 – 25 of 111) sorted by relevance

12345

/external/tink-java/src/main/java/com/google/crypto/tink/subtle/
DNonceBasedStreamingAead.java36 public abstract StreamSegmentEncrypter newStreamSegmentEncrypter(byte[] associatedData) in newStreamSegmentEncrypter()
54 WritableByteChannel ciphertextChannel, byte[] associatedData) in newEncryptingChannel()
61 ReadableByteChannel ciphertextChannel, byte[] associatedData) in newDecryptingChannel()
68 SeekableByteChannel ciphertextSource, byte[] associatedData) in newSeekableDecryptingChannel()
74 public OutputStream newEncryptingStream(OutputStream ciphertext, byte[] associatedData) in newEncryptingStream()
80 public InputStream newDecryptingStream(InputStream ciphertextStream, byte[] associatedData) in newDecryptingStream()
DChaCha20Poly1305.java58 private byte[] rawEncrypt(final byte[] plaintext, final byte[] associatedData) in rawEncrypt()
70 public byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt()
79 private byte[] rawDecrypt(final byte[] ciphertext, final byte[] associatedData) in rawDecrypt()
94 public byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()
DXChaCha20Poly1305.java56 private byte[] rawEncrypt(final byte[] plaintext, final byte[] associatedData) in rawEncrypt()
68 public byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt()
77 private byte[] rawDecrypt(final byte[] ciphertext, final byte[] associatedData) in rawDecrypt()
92 public byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()
/external/tink/java_src/src/main/java/com/google/crypto/tink/subtle/
DNonceBasedStreamingAead.java36 public abstract StreamSegmentEncrypter newStreamSegmentEncrypter(byte[] associatedData) in newStreamSegmentEncrypter()
54 WritableByteChannel ciphertextChannel, byte[] associatedData) in newEncryptingChannel()
61 ReadableByteChannel ciphertextChannel, byte[] associatedData) in newDecryptingChannel()
68 SeekableByteChannel ciphertextSource, byte[] associatedData) in newSeekableDecryptingChannel()
74 public OutputStream newEncryptingStream(OutputStream ciphertext, byte[] associatedData) in newEncryptingStream()
80 public InputStream newDecryptingStream(InputStream ciphertextStream, byte[] associatedData) in newDecryptingStream()
/external/tink/java_src/src/main/java/com/google/crypto/tink/
DStreamingAead.java123 WritableByteChannel ciphertextDestination, byte[] associatedData) in newEncryptingChannel()
165 SeekableByteChannel ciphertextSource, byte[] associatedData) in newSeekableDecryptingChannel()
169 ReadableByteChannel ciphertextSource, byte[] associatedData) in newDecryptingChannel()
178 OutputStream newEncryptingStream(OutputStream ciphertextDestination, byte[] associatedData) in newEncryptingStream()
193 InputStream newDecryptingStream(InputStream ciphertextSource, byte[] associatedData) in newDecryptingStream()
DTinkProtoKeysetFormat.java74 byte[] serializedEncryptedKeyset, Aead keysetEncryptionAead, byte[] associatedData) in parseEncryptedKeyset()
88 KeysetHandle keysetHandle, Aead keysetEncryptionAead, byte[] associatedData) in serializeEncryptedKeyset()
93 BinaryKeysetWriter.withOutputStream(outputStream), keysetEncryptionAead, associatedData); in serializeEncryptedKeyset() local
DTinkJsonProtoKeysetFormat.java80 String serializedEncryptedKeyset, Aead keysetEncryptionAead, byte[] associatedData) in parseEncryptedKeyset()
94 KeysetHandle keysetHandle, Aead keysetEncryptionAead, byte[] associatedData) in serializeEncryptedKeyset()
99 JsonKeysetWriter.withOutputStream(outputStream), keysetEncryptionAead, associatedData); in serializeEncryptedKeyset() local
DAead.java48 byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt()
62 byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()
/external/tink-java/src/main/java/com/google/crypto/tink/
DStreamingAead.java123 WritableByteChannel ciphertextDestination, byte[] associatedData) in newEncryptingChannel()
165 SeekableByteChannel ciphertextSource, byte[] associatedData) in newSeekableDecryptingChannel()
169 ReadableByteChannel ciphertextSource, byte[] associatedData) in newDecryptingChannel()
178 OutputStream newEncryptingStream(OutputStream ciphertextDestination, byte[] associatedData) in newEncryptingStream()
193 InputStream newDecryptingStream(InputStream ciphertextSource, byte[] associatedData) in newDecryptingStream()
DTinkProtoKeysetFormat.java74 byte[] serializedEncryptedKeyset, Aead keysetEncryptionAead, byte[] associatedData) in parseEncryptedKeyset()
88 KeysetHandle keysetHandle, Aead keysetEncryptionAead, byte[] associatedData) in serializeEncryptedKeyset()
93 BinaryKeysetWriter.withOutputStream(outputStream), keysetEncryptionAead, associatedData); in serializeEncryptedKeyset() local
DTinkJsonProtoKeysetFormat.java80 String serializedEncryptedKeyset, Aead keysetEncryptionAead, byte[] associatedData) in parseEncryptedKeyset()
94 KeysetHandle keysetHandle, Aead keysetEncryptionAead, byte[] associatedData) in serializeEncryptedKeyset()
99 JsonKeysetWriter.withOutputStream(outputStream), keysetEncryptionAead, associatedData); in serializeEncryptedKeyset() local
DAead.java48 byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt()
64 byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()
/external/tink-java/src/main/java/com/google/crypto/tink/streamingaead/
DStreamingAeadHelper.java50 WritableByteChannel ciphertextDestination, byte[] associatedData) in newEncryptingChannel()
57 ReadableByteChannel ciphertextChannel, byte[] associatedData) in newDecryptingChannel()
64 SeekableByteChannel ciphertextChannel, byte[] associatedData) in newSeekableDecryptingChannel()
72 byte[] associatedData) in newDecryptingStream()
79 OutputStream ciphertext, byte[] associatedData) in newEncryptingStream()
/external/tink/java_src/src/main/java/com/google/crypto/tink/streamingaead/
DStreamingAeadHelper.java50 WritableByteChannel ciphertextDestination, byte[] associatedData) in newEncryptingChannel()
57 ReadableByteChannel ciphertextChannel, byte[] associatedData) in newDecryptingChannel()
64 SeekableByteChannel ciphertextChannel, byte[] associatedData) in newSeekableDecryptingChannel()
72 byte[] associatedData) in newDecryptingStream()
79 OutputStream ciphertext, byte[] associatedData) in newEncryptingStream()
/external/tink-java/src/main/java/com/google/crypto/tink/streamingaead/internal/
DLegacyFullStreamingAead.java65 WritableByteChannel ciphertextDestination, byte[] associatedData) in newEncryptingChannel()
72 SeekableByteChannel ciphertextSource, byte[] associatedData) in newSeekableDecryptingChannel()
79 ReadableByteChannel ciphertextSource, byte[] associatedData) in newDecryptingChannel()
85 public OutputStream newEncryptingStream(OutputStream ciphertextDestination, byte[] associatedData) in newEncryptingStream()
91 public InputStream newDecryptingStream(InputStream ciphertextSource, byte[] associatedData) in newDecryptingStream()
/external/tink-java/src/test/java/com/google/crypto/tink/streamingaead/
DStreamingAeadTest.java104 Channels.newChannel(ciphertextOutputStream), associatedData)) { in createEncryptDecrypt() argument
114 streamingAead.newDecryptingChannel(ciphertextSource, associatedData)) { in createEncryptDecrypt() argument
164 Channels.newChannel(ciphertextOutputStream), associatedData)) { in readKeyset_encryptDecrypt_success() argument
173 streamingAead.newDecryptingChannel(ciphertextSource, associatedData)) { in readKeyset_encryptDecrypt_success() argument
237 Channels.newChannel(ciphertextOutputStream), associatedData)) { in multipleKeysReadKeyset_encryptDecrypt_success() argument
246 streamingAead.newDecryptingChannel(ciphertextSource, associatedData)) { in multipleKeysReadKeyset_encryptDecrypt_success() argument
/external/tink/java_src/src/test/java/com/google/crypto/tink/streamingaead/
DStreamingAeadTest.java102 Channels.newChannel(ciphertextOutputStream), associatedData)) { in createEncryptDecrypt() argument
112 streamingAead.newDecryptingChannel(ciphertextSource, associatedData)) { in createEncryptDecrypt() argument
161 Channels.newChannel(ciphertextOutputStream), associatedData)) { in readKeyset_encryptDecrypt_success() argument
170 streamingAead.newDecryptingChannel(ciphertextSource, associatedData)) { in readKeyset_encryptDecrypt_success() argument
233 Channels.newChannel(ciphertextOutputStream), associatedData)) { in multipleKeysReadKeyset_encryptDecrypt_success() argument
242 streamingAead.newDecryptingChannel(ciphertextSource, associatedData)) { in multipleKeysReadKeyset_encryptDecrypt_success() argument
/external/tink-java/src/main/java/com/google/crypto/tink/hybrid/internal/
DHpkeAead.java37 default byte[] seal(byte[] key, byte[] nonce, byte[] plaintext, byte[] associatedData) in seal()
43 byte[] key, byte[] nonce, byte[] plaintext, int ciphertextOffset, byte[] associatedData) in seal()
53 default byte[] open(byte[] key, byte[] nonce, byte[] ciphertext, byte[] associatedData) in open()
59 byte[] key, byte[] nonce, byte[] ciphertext, int ciphertextOffset, byte[] associatedData) in open()
/external/tink/java_src/src/main/java/com/google/crypto/tink/integration/android/
DAndroidKeystoreAesGcm.java66 public byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt()
77 private byte[] encryptInternal(final byte[] plaintext, final byte[] associatedData) in encryptInternal()
95 public byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()
111 private byte[] decryptInternal(final byte[] ciphertext, final byte[] associatedData) in decryptInternal()
/external/tink-java/src/main/java/com/google/crypto/tink/aead/internal/
DInsecureNonceAesGcmJce.java48 public byte[] encrypt(final byte[] iv, final byte[] plaintext, final byte[] associatedData) in encrypt()
60 final byte[] iv, final byte[] plaintext, int ciphertextOffset, final byte[] associatedData) in encrypt()
86 public byte[] decrypt(final byte[] iv, final byte[] ciphertext, final byte[] associatedData) in decrypt()
101 final byte[] associatedData) in decrypt()
DInsecureNonceChaCha20Poly1305Jce.java79 public byte[] encrypt(final byte[] nonce, final byte[] plaintext, final byte[] associatedData) in encrypt()
91 final byte[] nonce, final byte[] plaintext, int ciphertextOffset, final byte[] associatedData) in encrypt()
119 public byte[] decrypt(final byte[] nonce, final byte[] ciphertext, final byte[] associatedData) in decrypt()
134 final byte[] associatedData) in decrypt()
DInsecureNonceChaCha20Poly1305Base.java68 public byte[] encrypt(final byte[] nonce, final byte[] plaintext, final byte[] associatedData) in encrypt()
91 ByteBuffer output, final byte[] nonce, final byte[] plaintext, final byte[] associatedData) in encrypt()
120 public byte[] decrypt(final byte[] nonce, final byte[] ciphertext, final byte[] associatedData) in decrypt()
135 public byte[] decrypt(ByteBuffer ciphertext, final byte[] nonce, final byte[] associatedData) in decrypt()
/external/rust/beto-rust/nearby/connections/ukey2/ukey2_jni/java/src/main/java/com/google/security/cryptauth/lib/securegcm/ukey2/
DD2DConnectionContextV1.java38 long contextPtr, byte[] payload, byte[] associatedData) throws BadHandleException; in encode_message_to_peer()
41 long contextPtr, byte[] message, byte[] associatedData) throws CryptoException; in decode_message_from_peer()
73 public byte[] encodeMessageToPeer(@Nonnull byte[] payload, @Nullable byte[] associatedData) in encodeMessageToPeer()
85 public byte[] decodeMessageFromPeer(@Nonnull byte[] message, @Nullable byte[] associatedData) in decodeMessageFromPeer()
/external/tink/java_src/src/main/java/com/google/crypto/tink/aead/internal/
DInsecureNonceChaCha20Poly1305Base.java68 public byte[] encrypt(final byte[] nonce, final byte[] plaintext, final byte[] associatedData) in encrypt()
91 ByteBuffer output, final byte[] nonce, final byte[] plaintext, final byte[] associatedData) in encrypt()
120 public byte[] decrypt(final byte[] nonce, final byte[] ciphertext, final byte[] associatedData) in decrypt()
135 public byte[] decrypt(ByteBuffer ciphertext, final byte[] nonce, final byte[] associatedData) in decrypt()
/external/tink-java/src/main/java/com/google/crypto/tink/aead/subtle/
DAesGcmSiv.java124 private byte[] rawEncrypt(final byte[] plaintext, final byte[] associatedData) in rawEncrypt()
160 public byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt()
170 private byte[] rawDecrypt(final byte[] ciphertext, final byte[] associatedData) in rawDecrypt()
190 public byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()

12345