/external/boringssl/src/fipstools/ |
D | cavp_tdes_test.cc | 134 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 …]
|
D | cavp_rsa2_keygen_test.cc | 71 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()
|
D | cavp_ecdsa2_siggen_test.cc | 86 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()
|
D | cavp_aes_test.cc | 51 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()
|
D | cavp_ecdsa2_keypair_test.cc | 72 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()
|
D | cavp_rsa2_siggen_test.cc | 71 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()
|
D | cavp_aes_gcm_test.cc | 78 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()
|
D | cavp_tlskdf_test.cc | 95 EncodeHex(master_secret, sizeof(master_secret)).c_str(), in TestTLSKDF() 96 EncodeHex(key_block.data(), key_block.size()).c_str()); in TestTLSKDF()
|
D | cavp_kas_test.cc | 114 EncodeHex(digest, digest_len).c_str(), ok ? 'P' : 'F'); in TestKAS() 129 EncodeHex(digest, digest_len).c_str()); in TestKAS()
|
D | cavp_sha_test.cc | 72 printf("MD = %s\r\n\r\n", EncodeHex(out.data(), out.size()).c_str()); in TestSHA()
|
D | cavp_hmac_test.cc | 82 printf("Mac = %s\r\n\r\n", EncodeHex(out, t_len).c_str()); in TestHMAC()
|
D | cavp_keywrap_test.cc | 87 EncodeHex(result.data(), result.size()).c_str()); in TestCipher()
|
D | cavp_test_util.h | 28 std::string EncodeHex(const uint8_t *in, size_t in_len);
|
D | cavp_sha_monte_test.cc | 77 printf("MD = %s\r\n\r\n", EncodeHex(out.data(), out.size()).c_str()); in TestSHAMonte()
|
D | cavp_ctr_drbg_test.cc | 85 EncodeHex(out.data(), out.size()).c_str()); in TestCTRDRBG()
|
D | cavp_test_util.cc | 23 std::string EncodeHex(const uint8_t *in, size_t in_len) { in EncodeHex() function
|
/external/boringssl/src/crypto/test/ |
D | file_test.cc | 337 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()
|