HomeSort by relevance Sort by last modified time
    Searched refs:bytesToHex (Results 1 - 21 of 21) sorted by null

  /external/wycheproof/java/com/google/security/wycheproof/testcases/
EciesTest.java 84 System.out.println("testEciesBasic:" + TestUtil.bytesToHex(ciphertext));
87 assertEquals(TestUtil.bytesToHex(message), TestUtil.bytesToHex(decrypted));
175 System.out.println(TestUtil.bytesToHex(ciphertext));
185 fail("Decrypted:" + TestUtil.bytesToHex(corrupt));
251 String block1 = TestUtil.bytesToHex(Arrays.copyOfRange(ciphertext, 241, 257));
252 String block2 = TestUtil.bytesToHex(Arrays.copyOfRange(ciphertext, 257, 273));
253 assertTrue("Ciphertext repeats:" + TestUtil.bytesToHex(ciphertext), !block1.equals(block2));
290 assertEquals(TestUtil.bytesToHex(message), TestUtil.bytesToHex(decrypted))
    [all...]
DhiesTest.java 96 System.out.println("testDhiesBasic:" + TestUtil.bytesToHex(ciphertext));
99 assertEquals(TestUtil.bytesToHex(message), TestUtil.bytesToHex(decrypted));
161 String block1 = TestUtil.bytesToHex(Arrays.copyOfRange(ciphertext, i, i + 16));
162 String block2 = TestUtil.bytesToHex(Arrays.copyOfRange(ciphertext, i + 16, i + 32));
164 "Ciphertext repeats at " + i + ":" + TestUtil.bytesToHex(ciphertext),
CipherOutputStreamTest.java 112 assertEquals(TestUtil.bytesToHex(t.ct), TestUtil.bytesToHex(os.toByteArray()));
126 assertEquals(TestUtil.bytesToHex(t.pt), TestUtil.bytesToHex(os.toByteArray()));
151 + TestUtil.bytesToHex(decrypted)
153 + TestUtil.bytesToHex(t.pt));
178 + TestUtil.bytesToHex(decrypted)
180 + TestUtil.bytesToHex(t.pt));
AesEaxTest.java 263 assertEquals(test.ctHex, TestUtil.bytesToHex(ct));
281 String result = TestUtil.bytesToHex(c0) + TestUtil.bytesToHex(c1);
RsaSignatureTest.java     [all...]
EcdhTest.java     [all...]
CipherInputStreamTest.java 121 assertEquals(TestUtil.bytesToHex(t.ct), TestUtil.bytesToHex(result));
146 assertEquals(TestUtil.bytesToHex(t.pt), TestUtil.bytesToHex(result));
182 + TestUtil.bytesToHex(result)
184 + TestUtil.bytesToHex(t.pt));
DhTest.java 211 assertEquals(TestUtil.bytesToHex(kAB), TestUtil.bytesToHex(kBA));
348 fail("Generated secrets with mixed keys " + TestUtil.bytesToHex(kAB) + ", ");
396 + TestUtil.bytesToHex(kAB));
EcdsaTest.java     [all...]
AesGcmTest.java 154 assertEquals(test.ctHex, TestUtil.bytesToHex(ct));
181 String result = TestUtil.bytesToHex(c0) + TestUtil.bytesToHex(c1);
212 + TestUtil.bytesToHex(ct1)
214 + TestUtil.bytesToHex(ct2));
DsaTest.java     [all...]
EcKeyTest.java 151 System.out.println("Encoded ECPrivateKey:" + TestUtil.bytesToHex(encoded));
RsaKeyTest.java     [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/util/
Util.java 29 return bytesToHex(bytes, SHA_256_CHARS);
36 return bytesToHex(bytes, SHA_1_CHARS);
41 private static String bytesToHex(byte[] bytes, char[] hexChars) {
  /external/wycheproof/java/com/google/security/wycheproof/
TestUtil.java 26 public static String bytesToHex(byte[] bytes) {
27 // bytesToHex is used to convert output from Cipher.
53 return bytesToHex(bytes);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DataPathOutOfBandTestCase.java 149 bytesToHex(mDiscoveryMac, ':')));
151 Log.d(TAG, "executeTest: identity received: " + bytesToHex(mDiscoveryMac, ':'));
234 + bytesToHex(callbackData.serviceSpecificInfo, ':'));
242 bytesToHex(peerMac, ':')));
244 Log.d(TAG, "executeTestResponder: received MAC address: " + bytesToHex(peerMac, ':'));
396 + bytesToHex(callbackData.serviceSpecificInfo, ':'));
403 bytesToHex(peerMac, ':')));
405 Log.d(TAG, "executeTestInitiator: received MAC address: " + bytesToHex(peerMac, ':'));
  /external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
JDKGenericDumpTestCase.java 68 private static String bytesToHex(final byte[] bytes) {
138 System.out.println(bytesToHex(src));
139 System.out.println(bytesToHex(out));
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
BaseTestCase.java 162 public static String bytesToHex(byte[] bytes, Character separator) {
  /cts/tests/sensor/src/android/hardware/cts/helpers/
SensorCtsHelper.java 446 public static String bytesToHex(byte[] bytes, int offset, int length) {
  /cts/tests/tests/net/src/android/net/cts/
PacketUtils.java 451 public static String bytesToHex(byte[] bytes) {
  /cts/tests/sensor/src/android/hardware/cts/
SensorDirectReportTest.java     [all...]

Completed in 1059 milliseconds