Home
last modified time | relevance | path

Searched refs:subarray (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java593 update(subarray(input, 0, getBlockSize() * 3 / 2)), in assertDoFinalResetsCipher()
594 doFinal(subarray(input, getBlockSize() * 3 / 2, input.length)))); in assertDoFinalResetsCipher()
735 subarray(expectedCiphertext, plaintext.length, expectedCiphertext.length); in testKatEncryptOneByteAtATime()
752 subarray( in testKatEncryptOneByteAtATime()
768 subarray(expectedCiphertext, ciphertextIndex, expectedCiphertext.length); in testKatEncryptOneByteAtATime()
816 subarray(expectedPlaintext, plaintextIndex, plaintextIndex + blockSize), in testKatDecryptOneByteAtATime()
829 subarray(expectedPlaintext, plaintextIndex, expectedPlaintext.length); in testKatDecryptOneByteAtATime()
994 byte[] basePlaintext = subarray(getKatPlaintext(), 0, blockSize); in testGeneratedPadding()
995 byte[] baseCiphertext = subarray(getKatCiphertext(), 0, blockSize); in testGeneratedPadding()
1019 subarray(ciphertext, 0, baseCiphertext.length)); in testGeneratedPadding()
[all …]
DTestUtils.java945 return subarray(arr2, offset2, len2); in concat()
947 return subarray(arr1, offset1, len1); in concat()
959 static byte[] subarray(byte[] arr, int offset, int len) { in subarray() method in TestUtils
1075 return TestUtils.subarray(value, 1, value.length - 1); in removeLeadingZeroByteIfPresent()