Searched defs:AlwaysFailingAead (Results 1 – 2 of 2) sorted by relevance
135 type AlwaysFailingAead struct { struct136 Error error147 func (a *AlwaysFailingAead) Encrypt(plaintext []byte, associatedData []byte) ([]byte, error) {152 func (a *AlwaysFailingAead) Decrypt(ciphertext []byte, associatedData []byte) ([]byte, error) {
497 private static class AlwaysFailingAead implements Aead { class in AeadWrapperTest498 public AlwaysFailingAead() {} in AlwaysFailingAead() method in AeadWrapperTest.AlwaysFailingAead