Searched refs:subarray (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | BlockCipherTestBase.java | 591 update(subarray(input, 0, getBlockSize() * 3 / 2)), in assertDoFinalResetsCipher() 592 doFinal(subarray(input, getBlockSize() * 3 / 2, input.length)))); in assertDoFinalResetsCipher() 733 subarray(expectedCiphertext, plaintext.length, expectedCiphertext.length); in testKatEncryptOneByteAtATime() 750 subarray( in testKatEncryptOneByteAtATime() 766 subarray(expectedCiphertext, ciphertextIndex, expectedCiphertext.length); in testKatEncryptOneByteAtATime() 814 subarray(expectedPlaintext, plaintextIndex, plaintextIndex + blockSize), in testKatDecryptOneByteAtATime() 827 subarray(expectedPlaintext, plaintextIndex, expectedPlaintext.length); in testKatDecryptOneByteAtATime() 992 byte[] basePlaintext = subarray(getKatPlaintext(), 0, blockSize); in testGeneratedPadding() 993 byte[] baseCiphertext = subarray(getKatCiphertext(), 0, blockSize); in testGeneratedPadding() 1017 subarray(ciphertext, 0, baseCiphertext.length)); in testGeneratedPadding() [all …]
|
D | TestUtils.java | 816 return subarray(arr2, offset2, len2); in concat() 818 return subarray(arr1, offset1, len1); in concat() 830 static byte[] subarray(byte[] arr, int offset, int len) { in subarray() method in TestUtils 910 return TestUtils.subarray(value, 1, value.length - 1); in removeLeadingZeroByteIfPresent()
|