Home
last modified time | relevance | path

Searched refs:EncodeHex (Results 1 – 17 of 17) sorted by relevance

/external/boringssl/src/fipstools/
Dcavp_tdes_test.cc134 printf("KEYs = %s\r\n", EncodeHex(keys.data(), keys.size()).c_str()); in TestKAT()
137 EncodeHex(key1.data(), key1.size()).c_str(), in TestKAT()
138 EncodeHex(key2.data(), key2.size()).c_str(), in TestKAT()
139 EncodeHex(key3.data(), key3.size()).c_str()); in TestKAT()
142 printf("IV = %s\r\n", EncodeHex(iv.data(), iv.size()).c_str()); in TestKAT()
145 EncodeHex(in.data(), in.size()).c_str()); in TestKAT()
147 EncodeHex(result.data(), result.size()).c_str()); in TestKAT()
268 EncodeHex(key1.data(), key1.size()).c_str(), in TestMCT()
269 EncodeHex(key2.data(), key2.size()).c_str(), in TestMCT()
270 EncodeHex(key3.data(), key3.size()).c_str()); in TestMCT()
[all …]
Dcavp_rsa2_keygen_test.cc71 EncodeHex(e_bytes.data(), e_bytes.size()).c_str(), in TestRSA2KeyGen()
72 EncodeHex(p_bytes.data(), p_bytes.size()).c_str(), in TestRSA2KeyGen()
73 EncodeHex(q_bytes.data(), q_bytes.size()).c_str(), in TestRSA2KeyGen()
74 EncodeHex(n_bytes.data(), n_bytes.size()).c_str(), in TestRSA2KeyGen()
75 EncodeHex(d_bytes.data(), d_bytes.size()).c_str()); in TestRSA2KeyGen()
Dcavp_ecdsa2_siggen_test.cc86 EncodeHex(qx_bytes.data(), qx_bytes.size()).c_str(), in TestECDSA2SigGenImpl()
87 EncodeHex(qy_bytes.data(), qy_bytes.size()).c_str(), in TestECDSA2SigGenImpl()
88 EncodeHex(r_bytes.data(), r_bytes.size()).c_str(), in TestECDSA2SigGenImpl()
89 EncodeHex(s_bytes.data(), s_bytes.size()).c_str()); in TestECDSA2SigGenImpl()
Dcavp_aes_test.cc51 EncodeHex(key.data(), key.size()).c_str()); in MonteCarlo()
53 printf("IV = %s\r\n", EncodeHex(iv.data(), iv.size()).c_str()); in MonteCarlo()
56 EncodeHex(in.data(), in.size()).c_str()); in MonteCarlo()
92 EncodeHex(result.data(), result.size()).c_str()); in MonteCarlo()
168 EncodeHex(result.data(), result.size()).c_str()); in TestCipher()
Dcavp_ecdsa2_keypair_test.cc72 EncodeHex(d_bytes.data(), d_bytes.size()).c_str(), in TestECDSA2KeyPair()
73 EncodeHex(qx_bytes.data(), qx_bytes.size()).c_str(), in TestECDSA2KeyPair()
74 EncodeHex(qy_bytes.data(), qy_bytes.size()).c_str()); in TestECDSA2KeyPair()
Dcavp_rsa2_siggen_test.cc71 EncodeHex(n_bytes.data(), n_bytes.size()).c_str(), in TestRSA2SigGen()
72 EncodeHex(e_bytes.data(), e_bytes.size()).c_str()); in TestRSA2SigGen()
101 EncodeHex(sig.data(), sig_len).c_str()); in TestRSA2SigGen()
Dcavp_aes_gcm_test.cc78 printf("CT = %s\r\n", EncodeHex(ct.data(), ct.size()).c_str()); in TestAEADEncrypt()
79 printf("Tag = %s\r\n\r\n", EncodeHex(tag.data(), tag.size()).c_str()); in TestAEADEncrypt()
120 printf("PT = %s\r\n\r\n", EncodeHex(pt.data(), pt.size()).c_str()); in TestAEADDecrypt()
Dcavp_tlskdf_test.cc95 EncodeHex(master_secret, sizeof(master_secret)).c_str(), in TestTLSKDF()
96 EncodeHex(key_block.data(), key_block.size()).c_str()); in TestTLSKDF()
Dcavp_kas_test.cc114 EncodeHex(digest, digest_len).c_str(), ok ? 'P' : 'F'); in TestKAS()
129 EncodeHex(digest, digest_len).c_str()); in TestKAS()
Dcavp_sha_test.cc72 printf("MD = %s\r\n\r\n", EncodeHex(out.data(), out.size()).c_str()); in TestSHA()
Dcavp_hmac_test.cc82 printf("Mac = %s\r\n\r\n", EncodeHex(out, t_len).c_str()); in TestHMAC()
Dcavp_keywrap_test.cc87 EncodeHex(result.data(), result.size()).c_str()); in TestCipher()
Dcavp_test_util.h28 std::string EncodeHex(const uint8_t *in, size_t in_len);
Dcavp_sha_monte_test.cc77 printf("MD = %s\r\n\r\n", EncodeHex(out.data(), out.size()).c_str()); in TestSHAMonte()
Dcavp_ctr_drbg_test.cc85 EncodeHex(out.data(), out.size()).c_str()); in TestCTRDRBG()
Dcavp_test_util.cc23 std::string EncodeHex(const uint8_t *in, size_t in_len) { in EncodeHex() function
/external/boringssl/src/crypto/test/
Dfile_test.cc337 static std::string EncodeHex(const uint8_t *in, size_t in_len) { in EncodeHex() function
355 std::string expected_hex = EncodeHex(expected, expected_len); in ExpectBytesEqual()
356 std::string actual_hex = EncodeHex(actual, actual_len); in ExpectBytesEqual()