Home
last modified time | relevance | path

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

123

/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()
DAesGcmJce.java49 public byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt()
60 public byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()
DXChaCha20Poly1305.java38 public byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt()
50 public byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()
DChaCha20Poly1305.java40 public byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt()
52 public byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()
DAesSiv.java107 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/
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
DDeterministicAead.java60 byte[] encryptDeterministically(final byte[] plaintext, final byte[] associatedData) in encryptDeterministically()
72 byte[] decryptDeterministically(final byte[] ciphertext, final byte[] associatedData) in decryptDeterministically()
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/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()
DReadableByteChannelDecrypter.java43 byte[] associatedData; field in ReadableByteChannelDecrypter
62 final byte[] associatedData) { in ReadableByteChannelDecrypter()
/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/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/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/src/main/java/com/google/crypto/tink/hybrid/subtle/
DAeadOrDaead.java55 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/
DAEADParameterSpec.java17 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/
DAEADParameterSpec.java17 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/
DAEADParameterSpec.java15 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/
DHpkeTestEncryption.java28 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/
DHpkeAead.java37 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()
DChaCha20Poly1305HpkeAead.java28 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/
DAwsKmsAead.java51 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/
DGcpKmsAead.java52 public byte[] encrypt(final byte[] plaintext, final byte[] associatedData) in encrypt()
74 public byte[] decrypt(final byte[] ciphertext, final byte[] associatedData) in decrypt()

123