Home
last modified time | relevance | path

Searched refs:ciphertext (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/main/java/android/crypto/hpke/
DMessage.java26 private final byte[] ciphertext; field in Message
29 @NonNull byte[] encapsulated, @NonNull byte[] ciphertext) { in Message() argument
31 this.ciphertext = ciphertext; in Message()
39 return ciphertext; in getCiphertext()
DRecipient.java55 public @NonNull byte[] open(@NonNull byte[] ciphertext, @Nullable byte[] aad) in open() argument
57 return spi.engineOpen(ciphertext, aad); in open()
DDuckTypedHpkeSpi.java168 public byte[] engineOpen(byte[] ciphertext, byte[] aad) throws GeneralSecurityException { in engineOpen() argument
169 return (byte[]) invokeWithPossibleGeneralSecurity("engineOpen", ciphertext, aad); in engineOpen()
DHpke.java224 byte[] ciphertext = sender.seal(plaintext, aad); in seal()
225 return new Message(encapsulated, ciphertext); in seal()
DHpkeSpi.java183 @NonNull byte[] engineOpen(@NonNull byte[] ciphertext, @Nullable byte[] aad) in engineOpen() argument
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java630 byte[] ciphertext = new byte[] { 92, -65, -128, 16, -102, -115, -44, 52, 16, 124, -34, in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_noIV()
663 byte[] ciphertext = { 68, -87, 71, -6, 32, -77, 124, 3, 35, -26, 96, -16, 100, -17, 52, -32, in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_withIV()
675 assertEquals(Arrays.toString(ciphertext), Arrays.toString(cipher.doFinal(plaintext))); in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_withIV()
679 assertEquals(Arrays.toString(plaintext), Arrays.toString(cipher.doFinal(ciphertext))); in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_withIV()
/libcore/luni/src/test/java/libcore/android/crypto/hpke/
DHpkeTest.java118 byte[] ciphertext = sender.seal(plaintext, aad); in sendMessage()
128 byte[] decoded = recipient.open(ciphertext, aad); in sendMessage()