Home
last modified time | relevance | path

Searched refs:hexToBytes (Results 1 – 9 of 9) sorted by relevance

/external/wycheproof/java/com/google/security/wycheproof/testcases/
DAesEaxTest.java46 this.pt = TestUtil.hexToBytes(message); in EaxTestVector()
47 this.aad = TestUtil.hexToBytes(aad); in EaxTestVector()
48 this.ct = TestUtil.hexToBytes(ciphertext); in EaxTestVector()
54 this.parameters = new GCMParameterSpec(128, TestUtil.hexToBytes(nonce)); in EaxTestVector()
55 this.key = new SecretKeySpec(TestUtil.hexToBytes(keyMaterial), "AES"); in EaxTestVector()
DAesGcmTest.java68 this.pt = TestUtil.hexToBytes(message); in GcmTestVector()
69 this.aad = TestUtil.hexToBytes(aad); in GcmTestVector()
70 this.ct = TestUtil.hexToBytes(ciphertext + tag); in GcmTestVector()
74 this.parameters = new GCMParameterSpec(tagLengthInBits, TestUtil.hexToBytes(nonce)); in GcmTestVector()
75 this.key = new SecretKeySpec(TestUtil.hexToBytes(keyMaterial), "AES"); in GcmTestVector()
DRsaSignatureTest.java1136 byte[] signatureBytes = TestUtil.hexToBytes(signature); in testVectors()
1198 byte[] signatureBytes = TestUtil.hexToBytes(signature); in testLegacySignatures()
DRsaKeyTest.java1471 byte[] encoded = TestUtil.hexToBytes(ENCODED_PUBLIC_KEY); in testEncodeDecodePublic()
1490 X509EncodedKeySpec spec = new X509EncodedKeySpec(TestUtil.hexToBytes(encoded)); in testModifiedPublicKeyDecoding()
DEcKeyTest.java133 byte[] encoded = TestUtil.hexToBytes(encodedHex); in testEncodedPublicKey()
DEcdhTest.java108 byte[] encoded = TestUtil.hexToBytes(pub); in getPublicKey()
490 return new X509EncodedKeySpec(TestUtil.hexToBytes(encoded)); in getX509EncodedKeySpec()
DEcdsaTest.java620 byte[] signatureBytes = TestUtil.hexToBytes(signature); in testVectors()
DDsaTest.java692 byte[] signatureBytes = TestUtil.hexToBytes(signature); in testVectors()
/external/wycheproof/java/com/google/security/wycheproof/
DTestUtil.java56 public static byte[] hexToBytes(String hex) throws IllegalArgumentException { in hexToBytes() method in TestUtil