Searched refs:subarray (Results  1 – 2 of 2) sorted by relevance
| /cts/tests/tests/keystore/src/android/keystore/cts/ | 
| D | BlockCipherTestBase.java | 637                 update(subarray(input, 0, getBlockSize() * 3 / 2)),  in assertDoFinalResetsCipher()638                 doFinal(subarray(input, getBlockSize() * 3 / 2, input.length))));  in assertDoFinalResetsCipher()
 806                             subarray(expectedCiphertext, plaintext.length,  in testKatEncryptOneByteAtATime()
 845                                 subarray(  in testKatEncryptOneByteAtATime()
 864                     subarray(expectedCiphertext, ciphertextIndex, expectedCiphertext.length);  in testKatEncryptOneByteAtATime()
 943                                 subarray(expectedPlaintext, plaintextIndex,  in testKatDecryptOneByteAtATime()
 959                     subarray(expectedPlaintext, plaintextIndex, expectedPlaintext.length);  in testKatDecryptOneByteAtATime()
 1128         byte[] basePlaintext = subarray(getKatPlaintext(), 0, blockSize);  in testGeneratedPadding()
 1129         byte[] baseCiphertext = subarray(getKatCiphertext(), 0, blockSize);  in testGeneratedPadding()
 1153                     subarray(ciphertext, 0, baseCiphertext.length));  in testGeneratedPadding()
 [all …]
 
 | 
| /cts/tests/tests/keystore/src/android/keystore/cts/util/ | 
| D | TestUtils.java | 1024             return subarray(arr2, offset2, len2);  in concat()1026             return subarray(arr1, offset1, len1);  in concat()
 1038     public static byte[] subarray(byte[] arr, int offset, int len) {  in subarray()  method in TestUtils
 1154         return TestUtils.subarray(value, 1, value.length - 1);  in removeLeadingZeroByteIfPresent()
 
 |