Home
last modified time | relevance | path

Searched defs:AlwaysFailingAead (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/tink/go/testutil/
H A Dtestutil.go135 type AlwaysFailingAead struct { struct
136 Error error
147 func (a *AlwaysFailingAead) Encrypt(plaintext []byte, associatedData []byte) ([]byte, error) {
152 func (a *AlwaysFailingAead) Decrypt(ciphertext []byte, associatedData []byte) ([]byte, error) {
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/aead/
H A DAeadWrapperTest.java497 private static class AlwaysFailingAead implements Aead { class in AeadWrapperTest
498 public AlwaysFailingAead() {} in AlwaysFailingAead() method in AeadWrapperTest.AlwaysFailingAead