| /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()
|
| D | AesGcmJce.java | 49 public byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt() 60 public byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()
|
| D | XChaCha20Poly1305.java | 38 public byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt() 50 public byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()
|
| D | ChaCha20Poly1305.java | 40 public byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt() 52 public byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()
|
| D | AesSiv.java | 107 public byte[] encryptDeterministically(final byte[] plaintext, final byte[] associatedData) in encryptDeterministically() 129 public byte[] decryptDeterministically(final byte[] ciphertext, final byte[] associatedData) in decryptDeterministically()
|
| /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 | DeterministicAead.java | 60 byte[] encryptDeterministically(final byte[] plaintext, final byte[] associatedData) in encryptDeterministically() 72 byte[] decryptDeterministically(final byte[] ciphertext, final byte[] associatedData) in decryptDeterministically()
|
| 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/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()
|
| D | ReadableByteChannelDecrypter.java | 43 byte[] associatedData; field in ReadableByteChannelDecrypter 62 final byte[] associatedData) { in ReadableByteChannelDecrypter()
|
| /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/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/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/src/main/java/com/google/crypto/tink/hybrid/subtle/ |
| D | AeadOrDaead.java | 55 public byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt() 74 public byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()
|
| /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/spec/ |
| D | AEADParameterSpec.java | 17 private final byte[] associatedData; field in AEADParameterSpec 38 public AEADParameterSpec(byte[] nonce, int macSizeInBits, byte[] associatedData) in AEADParameterSpec()
|
| /external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/spec/ |
| D | AEADParameterSpec.java | 17 private final byte[] associatedData; field in AEADParameterSpec 38 public AEADParameterSpec(byte[] nonce, int macSizeInBits, byte[] associatedData) in AEADParameterSpec()
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/spec/ |
| D | AEADParameterSpec.java | 15 private final byte[] associatedData; field in AEADParameterSpec 36 public AEADParameterSpec(byte[] nonce, int macSizeInBits, byte[] associatedData) in AEADParameterSpec()
|
| /external/tink/java_src/src/main/java/com/google/crypto/tink/testing/ |
| D | HpkeTestEncryption.java | 28 public final byte[] associatedData; // aad field in HpkeTestEncryption 33 String plaintext, String associatedData, String nonce, String ciphertext) { in HpkeTestEncryption()
|
| /external/tink/java_src/src/main/java/com/google/crypto/tink/hybrid/internal/ |
| D | HpkeAead.java | 37 byte[] seal(byte[] key, byte[] nonce, byte[] plaintext, byte[] associatedData) in seal() 47 byte[] open(byte[] key, byte[] nonce, byte[] ciphertext, byte[] associatedData) in open()
|
| D | ChaCha20Poly1305HpkeAead.java | 28 public byte[] seal(byte[] key, byte[] nonce, byte[] plaintext, byte[] associatedData) in seal() 38 public byte[] open(byte[] key, byte[] nonce, byte[] ciphertext, byte[] associatedData) in open()
|
| /external/tink/java_src/src/main/java/com/google/crypto/tink/integration/awskms/ |
| D | AwsKmsAead.java | 51 public byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt() 66 public byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()
|
| /external/tink/java_src/src/main/java/com/google/crypto/tink/integration/gcpkms/ |
| D | GcpKmsAead.java | 52 public byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt() 74 public byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()
|