/external/tink-java/src/main/java/com/google/crypto/tink/subtle/ |
D | NonceBasedStreamingAead.java | 36 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()
|
D | ChaCha20Poly1305.java | 58 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()
|
D | XChaCha20Poly1305.java | 56 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/ |
D | NonceBasedStreamingAead.java | 36 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/ |
D | StreamingAead.java | 123 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()
|
D | TinkProtoKeysetFormat.java | 74 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
|
D | TinkJsonProtoKeysetFormat.java | 80 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
|
D | Aead.java | 48 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/ |
D | StreamingAead.java | 123 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()
|
D | TinkProtoKeysetFormat.java | 74 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
|
D | TinkJsonProtoKeysetFormat.java | 80 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
|
D | Aead.java | 48 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/ |
D | StreamingAeadHelper.java | 50 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/ |
D | StreamingAeadHelper.java | 50 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/ |
D | LegacyFullStreamingAead.java | 65 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/ |
D | StreamingAeadTest.java | 104 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/ |
D | StreamingAeadTest.java | 102 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/ |
D | HpkeAead.java | 37 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/ |
D | AndroidKeystoreAesGcm.java | 66 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/ |
D | InsecureNonceAesGcmJce.java | 48 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()
|
D | InsecureNonceChaCha20Poly1305Jce.java | 79 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()
|
D | InsecureNonceChaCha20Poly1305Base.java | 68 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/ |
D | D2DConnectionContextV1.java | 38 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/ |
D | InsecureNonceChaCha20Poly1305Base.java | 68 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/ |
D | AesGcmSiv.java | 124 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()
|