Home
last modified time | relevance | path

Searched refs:decode (Results 1 – 25 of 61) sorted by relevance

123

/cts/tests/tests/keystore/src/android/keystore/cts/
DMacTest.java56 private static final byte[] KAT_KEY = HexEncoding.decode(
60 private static final byte[] SHORT_MSG_KAT_MESSAGE = HexEncoding.decode("a16037e3c901c9a1ab");
67 new KatVector(HexEncoding.decode("4818c5466a1d05bc8f6ad4"),
68 HexEncoding.decode("aa178e4d174dc90d1ac3d22386c32d1af82396e7")),
69 new KatVector(HexEncoding.decode("8d07f59f63fc493711a2217d8603cbc4d9874c58"),
70 HexEncoding.decode("002215de36f8836e966ff459af80c4b31fe0ca27")),
71 new KatVector(HexEncoding.decode("f85f1c94023968729e3b4a7f495bf31c283b710662"),
72 HexEncoding.decode("f518db3015203606ea15145ad16b3d981db32a77"))));
75 HexEncoding.decode(
77 HexEncoding.decode(
[all …]
DAES256GCMNoPaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode(
23 private static final byte[] KAT_IV = HexEncoding.decode("a66c5252808d823dd4151fed");
24 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
26 private static final byte[] KAT_CIPHERTEXT_WITHOUT_AAD = HexEncoding.decode(
29 private static final byte[] KAT_AAD = HexEncoding.decode(
32 private static final byte[] KAT_CIPHERTEXT_WITH_AAD = HexEncoding.decode(
DAES128GCMNoPaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode("ba76354f0aed6e8d91f45c4ff5a062db");
22 private static final byte[] KAT_IV = HexEncoding.decode("b79437ae08ff355d7d8a4d0f");
23 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
26 private static final byte[] KAT_CIPHERTEXT_WITHOUT_AAD = HexEncoding.decode(
29 private static final byte[] KAT_AAD = HexEncoding.decode(
31 private static final byte[] KAT_CIPHERTEXT_WITH_AAD = HexEncoding.decode(
DAES192GCMNoPaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode(
23 private static final byte[] KAT_IV = HexEncoding.decode("d5fb1469a8d81dd75286a418");
24 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
26 private static final byte[] KAT_CIPHERTEXT_WITHOUT_AAD = HexEncoding.decode(
29 private static final byte[] KAT_AAD = HexEncoding.decode(
31 private static final byte[] KAT_CIPHERTEXT_WITH_AAD = HexEncoding.decode(
DSignatureTest.java85 HexEncoding.decode("ec174729c4f5c570ba0de4c424cdcbf0362a7718039464");
93 SHORT_MSG_KAT_SIGNATURES.put("NONEwithECDSA", HexEncoding.decode(
96 SHORT_MSG_KAT_SIGNATURES.put("SHA1withECDSA", HexEncoding.decode(
99 SHORT_MSG_KAT_SIGNATURES.put("SHA224withECDSA", HexEncoding.decode(
102 SHORT_MSG_KAT_SIGNATURES.put("SHA256withECDSA", HexEncoding.decode(
105 SHORT_MSG_KAT_SIGNATURES.put("SHA384withECDSA", HexEncoding.decode(
108 SHORT_MSG_KAT_SIGNATURES.put("SHA512withECDSA", HexEncoding.decode(
113 SHORT_MSG_KAT_SIGNATURES.put("NONEwithRSA", HexEncoding.decode(
121 SHORT_MSG_KAT_SIGNATURES.put("MD5withRSA", HexEncoding.decode(
129 SHORT_MSG_KAT_SIGNATURES.put("SHA1withRSA", HexEncoding.decode(
[all …]
DAES256CBCPKCS7PaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode(
23 private static final byte[] KAT_IV = HexEncoding.decode("9af96967195bb0184f129beffa8241ae");
24 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
27 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DAES128CBCPKCS7PaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode("F16E698472578E919D92806262C5169F");
22 private static final byte[] KAT_IV = HexEncoding.decode("EF743540F8421ACA128A3247521F3E7D");
23 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
26 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DAES256CBCNoPaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode(
23 private static final byte[] KAT_IV = HexEncoding.decode("23b4d85239fb90db93b07a981e90a170");
24 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
27 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DAES192CTRNoPaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode(
23 private static final byte[] KAT_IV = HexEncoding.decode("df0694959b89054156962d68a226965c");
24 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
26 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DAES192CBCPKCS7PaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode(
23 private static final byte[] KAT_IV = HexEncoding.decode("e61d13dfbf0533289f0e7950209da418");
24 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
26 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DAES192CBCNoPaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode(
23 private static final byte[] KAT_IV = HexEncoding.decode("80a199aab0eee77e7762ddf3b3a32f40");
24 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
27 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DAES128CTRNoPaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode("4713a7b2f93efe809b42ecc45213ef9f");
22 private static final byte[] KAT_IV = HexEncoding.decode("ebfa19b0ebf3d57feabd4c4bd04bea01");
23 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
26 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DAES256CTRNoPaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode(
23 private static final byte[] KAT_IV = HexEncoding.decode("0b678a5249e6eeda461dfb4776b6c58e");
24 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
26 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DAES128CBCNoPaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode("7E3D723C09A9852B24F584F9D916F6A8");
22 private static final byte[] KAT_IV = HexEncoding.decode("944AE274D983892EADE422274858A96A");
23 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
26 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DECCurves.java39 HexEncoding.decode("3045AE6FC8422F64ED579528D38120EAE12196D5"));
49 HexEncoding.decode("BD71344799D5C7FCDC45B59FA3B9AB8F6A948BC5"));
65 HexEncoding.decode("C49D360886E704936A6678E1139D26B7819F7E90"));
81 HexEncoding.decode("A335926AA319A27A1D00896A6773A4827ACDAC73"));
103 HexEncoding.decode("D09E8800291CB85396CC6717393284AAA0DA64BA"));
DAES256ECBNoPaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode(
23 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
26 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DAES128ECBNoPaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode("7DA2467F068854B3CB36E5C333A16619");
22 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
25 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DAES192ECBPKCS7PaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode(
23 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
25 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DAES128ECBPKCS7PaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode("C3BE04BCCB3D99B85290F113FE7AF194");
22 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
25 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DAES192ECBNoPaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode(
23 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
25 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DAES256ECBPKCS7PaddingCipherTest.java21 private static final byte[] KAT_KEY = HexEncoding.decode(
23 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode(
25 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode(
DDESedeCBCPKCS7PaddingCipherTest.java11 private static final byte[] KAT_IV = HexEncoding.decode("DFCA366848DEA6BB");
31 return HexEncoding.decode("e70bb5761d796d7b0eb40b5b60deb6a9726f72d97cf2ada4"); in getKatCiphertext()
DDESedeCBCNoPaddingCipherTest.java11 private static final byte[] KAT_IV = HexEncoding.decode("DFCA366848DEA6BB");
31 return HexEncoding.decode("e70bb5761d796d7b0eb40b5b60deb6a9"); in getKatCiphertext()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DDepthImage.java61 XmpDepthDecode decode = new XmpDepthDecode(input); in createFromXMPMetadata() local
62 return new DepthImage(decode.getFormat(), decode.getFar(), in createFromXMPMetadata()
63 decode.getNear(), decode.getDepthBitmap(), in createFromXMPMetadata()
64 decode.getBlurAtInfinity(), in createFromXMPMetadata()
65 decode.getFocalDistance(), in createFromXMPMetadata()
66 decode.getDepthOfField(), in createFromXMPMetadata()
67 decode.getFocalPointX(), in createFromXMPMetadata()
68 decode.getFocalPointY(), in createFromXMPMetadata()
69 decode.getDepthTransform()); in createFromXMPMetadata()
/cts/tests/tests/net/src/android/net/cts/
DUriTest.java220 assertEquals(s, Uri.decode(Uri.encode(s, null))); in assertEncodeDecodeRoundtripExact()
224 assertEquals("", Uri.decode("")); in testDecode_emptyString_returnsEmptyString()
228 assertNull(Uri.decode(null)); in testDecode_null_returnsNull()
233 assertEquals("ab/$\u0102%\u0840\uFFFD\u0000", Uri.decode("ab%2f$%C4%82%25%e0%a1%80%p")); in testDecode_wrongHexDigit()
238 assertEquals("ab/$\u0102%\u0840\uFFFD\u0001", Uri.decode("ab%2f$%c4%82%25%e0%a1%80%1p")); in testDecode_secondHexDigitWrong()
243 assertEquals("ab/$\u0102%\u0840\uFFFD", Uri.decode("ab%2f$%c4%82%25%e0%a1%80%")); in testDecode_endsWithPercent_appendsUnknownCharacter()
247 assertEquals("ab/$\u0102%+\u0840", Uri.decode("ab%2f$%c4%82%25+%e0%a1%80")); in testDecode_plusNotConverted()
252 assertEquals("ab/$\u0102%\u0840", Uri.decode("ab%2f$%c4%82%25%e0%a1%80")); in testDecode_lastCharacter()
259 Uri.decode("ab%2f$%c4%82%25%e0%a1%80aa%e0%a1%80")); in testDecode_secondRowOfEncoded()

123