Home
last modified time | relevance | path

Searched refs:HexEncoding (Results 1 – 25 of 34) sorted by relevance

12

/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 …]
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(
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(
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(
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(
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(
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(
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(
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(
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(
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(
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(
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(
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 …]
DECCurves.java39 HexEncoding.decode("3045AE6FC8422F64ED579528D38120EAE12196D5"));
49 HexEncoding.decode("BD71344799D5C7FCDC45B59FA3B9AB8F6A948BC5"));
65 HexEncoding.decode("C49D360886E704936A6678E1139D26B7819F7E90"));
81 HexEncoding.decode("A335926AA319A27A1D00896A6773A4827ACDAC73"));
103 HexEncoding.decode("D09E8800291CB85396CC6717393284AAA0DA64BA"));
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(
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(
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(
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(
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(
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(
DAESCipherNistCavpKatTest.java244 testVector.key = HexEncoding.decode(value); in runTestsForKatFile()
246 testVector.iv = HexEncoding.decode(value); in runTestsForKatFile()
248 testVector.plaintext = HexEncoding.decode(value); in runTestsForKatFile()
250 testVector.ciphertext = HexEncoding.decode(value); in runTestsForKatFile()
297 fail("Expected: " + HexEncoding.encode(expectedOutput) in runKatTest()
298 + ", actual: " + HexEncoding.encode(actualOutput)); in runKatTest()
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()
DHexEncoding.java26 public class HexEncoding { class
29 private HexEncoding() {} in HexEncoding() method in HexEncoding

12