Home
last modified time | relevance | path

Searched refs:AlwaysFailingDeterministicAead (Results 1 – 4 of 4) sorted by relevance

/external/tink/go/testutil/
Dtestutil.go157 type AlwaysFailingDeterministicAead struct { struct
161 var _ (tink.DeterministicAEAD) = (*AlwaysFailingDeterministicAead)(nil)
165 return &AlwaysFailingDeterministicAead{Error: err}
169 func (a *AlwaysFailingDeterministicAead) EncryptDeterministically(plaintext []byte, associatedData … argument
174 func (a *AlwaysFailingDeterministicAead) DecryptDeterministically(ciphertext []byte, associatedData… argument
/external/tink-java/src/test/java/com/google/crypto/tink/daead/
DDeterministicAeadWrapperTest.java328 private static class AlwaysFailingDeterministicAead implements DeterministicAead { class in DeterministicAeadWrapperTest
330 AlwaysFailingDeterministicAead(AesSivKey key) {} in AlwaysFailingDeterministicAead() method in DeterministicAeadWrapperTest.AlwaysFailingDeterministicAead
352 AlwaysFailingDeterministicAead::new, AesSivKey.class, DeterministicAead.class)); in encryptDecryptFailingDAead_withAnnotations_hasMonitoring()
/external/tink/java_src/src/test/java/com/google/crypto/tink/daead/
DDeterministicAeadWrapperTest.java293 private static class AlwaysFailingDeterministicAead implements DeterministicAead { class in DeterministicAeadWrapperTest
320 new AlwaysFailingDeterministicAead(), in testFailingAeadWithAnnotations_hasMonitoring()
/external/tink/go/daead/
Ddaead_factory_test.go415 Prim: &testutil.AlwaysFailingDeterministicAead{Error: fmt.Errorf("failed")},