Searched refs:subarray (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | BlockCipherTestBase.java | 645 update(subarray(input, 0, getBlockSize() * 3 / 2)), in assertDoFinalResetsCipher() 646 doFinal(subarray(input, getBlockSize() * 3 / 2, input.length)))); in assertDoFinalResetsCipher() 822 subarray(expectedCiphertext, plaintext.length, in testKatEncryptOneByteAtATime() 861 subarray( in testKatEncryptOneByteAtATime() 880 subarray(expectedCiphertext, ciphertextIndex, expectedCiphertext.length); in testKatEncryptOneByteAtATime() 963 subarray(expectedPlaintext, plaintextIndex, in testKatDecryptOneByteAtATime() 979 subarray(expectedPlaintext, plaintextIndex, expectedPlaintext.length); in testKatDecryptOneByteAtATime() 1148 byte[] basePlaintext = subarray(getKatPlaintext(), 0, blockSize); in testGeneratedPadding() 1149 byte[] baseCiphertext = subarray(getKatCiphertext(), 0, blockSize); in testGeneratedPadding() 1173 subarray(ciphertext, 0, baseCiphertext.length)); in testGeneratedPadding() [all …]
|
/cts/tests/tests/keystore/src/android/keystore/cts/util/ |
D | TestUtils.java | 1001 return subarray(arr2, offset2, len2); in concat() 1003 return subarray(arr1, offset1, len1); in concat() 1015 public static byte[] subarray(byte[] arr, int offset, int len) { in subarray() method in TestUtils 1131 return TestUtils.subarray(value, 1, value.length - 1); in removeLeadingZeroByteIfPresent()
|