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.java51 return getKatCiphertext().length - getKatPlaintext().length; in getKatAuthenticationTagLengthBytes()
76 getKatPlaintext(), in testKatEncryptWithAadProvidedInOneGo()
87 getKatPlaintext()); in testKatDecryptWithAadProvidedInOneGo()
96 getKatPlaintext(), in testKatEncryptWithAadProvidedInChunks()
102 getKatPlaintext(), in testKatEncryptWithAadProvidedInChunks()
108 getKatPlaintext(), in testKatEncryptWithAadProvidedInChunks()
114 getKatPlaintext(), in testKatEncryptWithAadProvidedInChunks()
120 getKatPlaintext(), in testKatEncryptWithAadProvidedInChunks()
132 getKatPlaintext(), in testKatDecryptWithAadProvidedInChunks()
138 getKatPlaintext(), in testKatDecryptWithAadProvidedInChunks()
[all …]
DAES192ECBPKCS7PaddingCipherTest.java40 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES192ECBPKCS7PaddingCipherTest
DAES256ECBPKCS7PaddingCipherTest.java40 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES256ECBPKCS7PaddingCipherTest
DAES256ECBNoPaddingCipherTest.java41 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES256ECBNoPaddingCipherTest
DAES192ECBNoPaddingCipherTest.java39 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES192ECBNoPaddingCipherTest
DAES128ECBNoPaddingCipherTest.java40 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES128ECBNoPaddingCipherTest
DAES128ECBPKCS7PaddingCipherTest.java40 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES128ECBPKCS7PaddingCipherTest
DAES192CTRNoPaddingCipherTest.java40 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES192CTRNoPaddingCipherTest
DAES128CBCPKCS7PaddingCipherTest.java41 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES128CBCPKCS7PaddingCipherTest
DAES256CBCPKCS7PaddingCipherTest.java42 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES256CBCPKCS7PaddingCipherTest
DAES128CTRNoPaddingCipherTest.java41 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES128CTRNoPaddingCipherTest
DAES256CTRNoPaddingCipherTest.java40 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES256CTRNoPaddingCipherTest
DAES192CBCNoPaddingCipherTest.java42 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES192CBCNoPaddingCipherTest
DAES256CBCNoPaddingCipherTest.java42 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES256CBCNoPaddingCipherTest
DAES192CBCPKCS7PaddingCipherTest.java41 protected byte[] getKatPlaintext() { in getKatPlaintext() method in AES192CBCPKCS7PaddingCipherTest
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
DBlockCipherTestBase.java108 protected abstract byte[] getKatPlaintext(); in getKatPlaintext() method in BlockCipherTestBase
122 return getKatPlaintext(); in getKatInput()
135 return getKatPlaintext(); in getKatOutput()
176 doFinal(getKatPlaintext()); in testGetParameters()
444 byte[] ciphertext = mCipher.doFinal(getKatPlaintext()); in testGeneratedIvSurvivesReset()
455 assertArrayEquals(ciphertext, mCipher.doFinal(getKatPlaintext())); in testGeneratedIvSurvivesReset()
463 assertArrayEquals(ciphertext, mCipher.doFinal(getKatPlaintext())); in testGeneratedIvSurvivesReset()
526 mCipher.doFinal(getKatPlaintext()); in testReinitializingInDecryptModeDoesNotUsePreviouslyUsedIv()
737 Cipher.ENCRYPT_MODE, getKatPlaintext(), getKatCiphertext()); in testKatOneShotEncryptUsingDoFinal()
744 Cipher.DECRYPT_MODE, getKatCiphertext(), getKatPlaintext()); in testKatOneShotDecryptUsingDoFinal()
[all …]
DDESedeCipherTestBase.java25 protected byte[] getKatPlaintext() { in getKatPlaintext() method in DESedeCipherTestBase