Home
last modified time | relevance | path

Searched defs:XChaCha20Poly1305 (Results 1 – 4 of 4) sorted by relevance

/external/tink/go/aead/subtle/
Dxchacha20poly1305.go29 type XChaCha20Poly1305 struct { struct
30 Key []byte
51 func (x *XChaCha20Poly1305) Encrypt(plaintext []byte, associatedData []byte) ([]byte, error) {
73 func (x *XChaCha20Poly1305) Decrypt(ciphertext []byte, associatedData []byte) ([]byte, error) {
/external/tink-java/src/main/java/com/google/crypto/tink/subtle/
DXChaCha20Poly1305.java35 public final class XChaCha20Poly1305 implements Aead { class
39 private XChaCha20Poly1305(final byte[] key, final byte[] outputPrefix) in XChaCha20Poly1305() method in XChaCha20Poly1305
45 public XChaCha20Poly1305(final byte[] key) throws GeneralSecurityException { in XChaCha20Poly1305() method in XChaCha20Poly1305
/external/tink/java_src/src/main/java/com/google/crypto/tink/subtle/
DXChaCha20Poly1305.java30 public final class XChaCha20Poly1305 implements Aead { class
33 public XChaCha20Poly1305(final byte[] key) throws GeneralSecurityException { in XChaCha20Poly1305() method in XChaCha20Poly1305
/external/tink/cc/aead/
Daead_key_templates.cc191 const KeyTemplate& AeadKeyTemplates::XChaCha20Poly1305() { in XChaCha20Poly1305() function in crypto::tink::AeadKeyTemplates