Home
last modified time | relevance | path

Searched refs:getKatPlaintext (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DAESGCMCipherTestBase.java46 return getKatCiphertext().length - getKatPlaintext().length; in getKatAuthenticationTagLengthBytes()
70 getKatPlaintext(), in testKatEncryptWithAadProvidedInOneGo()
80 getKatPlaintext()); in testKatDecryptWithAadProvidedInOneGo()
88 getKatPlaintext(), in testKatEncryptWithAadProvidedInChunks()
94 getKatPlaintext(), in testKatEncryptWithAadProvidedInChunks()
100 getKatPlaintext(), in testKatEncryptWithAadProvidedInChunks()
106 getKatPlaintext(), in testKatEncryptWithAadProvidedInChunks()
112 getKatPlaintext(), in testKatEncryptWithAadProvidedInChunks()
123 getKatPlaintext(), in testKatDecryptWithAadProvidedInChunks()
129 getKatPlaintext(), in testKatDecryptWithAadProvidedInChunks()
[all …]
DBlockCipherTestBase.java88 protected abstract byte[] getKatPlaintext(); in getKatPlaintext() method in BlockCipherTestBase
100 return getKatPlaintext(); in getKatInput()
113 return getKatPlaintext(); in getKatOutput()
149 doFinal(getKatPlaintext()); in testGetParameters()
411 byte[] ciphertext = mCipher.doFinal(getKatPlaintext()); in testGeneratedIvSurvivesReset()
422 assertEquals(ciphertext, mCipher.doFinal(getKatPlaintext())); in testGeneratedIvSurvivesReset()
430 assertEquals(ciphertext, mCipher.doFinal(getKatPlaintext())); in testGeneratedIvSurvivesReset()
490 mCipher.doFinal(getKatPlaintext()); in testReinitializingInDecryptModeDoesNotUsePreviouslyUsedIv()
677 Cipher.ENCRYPT_MODE, getKatPlaintext(), getKatCiphertext()); in testKatOneShotEncryptUsingDoFinal()
683 Cipher.DECRYPT_MODE, getKatCiphertext(), getKatPlaintext()); in testKatOneShotDecryptUsingDoFinal()
[all …]
DAES256ECBNoPaddingCipherTest.java41 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES256ECBNoPaddingCipherTest
DAES128ECBNoPaddingCipherTest.java40 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES128ECBNoPaddingCipherTest
DAES192ECBPKCS7PaddingCipherTest.java40 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES192ECBPKCS7PaddingCipherTest
DAES128ECBPKCS7PaddingCipherTest.java40 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES128ECBPKCS7PaddingCipherTest
DAES192ECBNoPaddingCipherTest.java39 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES192ECBNoPaddingCipherTest
DAES256ECBPKCS7PaddingCipherTest.java40 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES256ECBPKCS7PaddingCipherTest
DAES256CBCPKCS7PaddingCipherTest.java42 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES256CBCPKCS7PaddingCipherTest
DAES128CBCPKCS7PaddingCipherTest.java41 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES128CBCPKCS7PaddingCipherTest
DAES256CBCNoPaddingCipherTest.java42 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES256CBCNoPaddingCipherTest
DAES192CTRNoPaddingCipherTest.java40 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES192CTRNoPaddingCipherTest
DAES192CBCPKCS7PaddingCipherTest.java41 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES192CBCPKCS7PaddingCipherTest
DAES192CBCNoPaddingCipherTest.java42 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES192CBCNoPaddingCipherTest
DAES128CTRNoPaddingCipherTest.java41 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES128CTRNoPaddingCipherTest
DAES256CTRNoPaddingCipherTest.java40 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES256CTRNoPaddingCipherTest
DAES128CBCNoPaddingCipherTest.java41 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES128CBCNoPaddingCipherTest
DAES256GCMNoPaddingCipherTest.java47 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES256GCMNoPaddingCipherTest
DAES128GCMNoPaddingCipherTest.java46 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES128GCMNoPaddingCipherTest
DAES192GCMNoPaddingCipherTest.java46 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES192GCMNoPaddingCipherTest
DDESedeCipherTestBase.java21 protected byte[] getKatPlaintext() { in getKatPlaintext() method in DESedeCipherTestBase