Searched refs:computeHashOfByteArray (Results 1 – 5 of 5) sorted by relevance
129 when(mUtils.computeHashOfByteArray(TEST_SIGNATURES[0].toByteArray())) in testSignatureHash_success()143 when(mUtils.computeHashOfByteArray(TEST_SIGNATURES[0].toByteArray())) in testSignatureHash_failure()170 when(mUtils.computeHashOfByteArray(any(byte[].class))).thenReturn(null); in testSignatureHash_digestFailure()
149 when(mUtils.computeHashOfByteArray(TEST_SIGNATURES[0].toByteArray())) in testSignatureHash_success()163 when(mUtils.computeHashOfByteArray(TEST_SIGNATURES[0].toByteArray())) in testSignatureHash_failure()190 when(mUtils.computeHashOfByteArray(any(byte[].class))).thenReturn(null); in testSignatureHash_digestFailure()
105 byte[] hash = mUtils.computeHashOfByteArray(signature.toByteArray()); in computeHashesOfAllSignatures()
373 assertTrue(Arrays.equals(sha256, mUtils.computeHashOfByteArray(bytes))); in testComputeHashOfByteArray()
661 public byte[] computeHashOfByteArray(byte[] bytes) { in computeHashOfByteArray() method in Utils