Home
last modified time | relevance | path

Searched refs:hex2str (Results 1 – 11 of 11) sorted by relevance

/system/keymaster/tests/
Dhkdf_test.cpp62 const string key = hex2str(test.key_hex); in TEST()
63 const string salt = hex2str(test.salt_hex); in TEST()
64 const string info = hex2str(test.info_hex); in TEST()
65 const string expected = hex2str(test.output_hex); in TEST()
Dwrapped_key_test.cpp32 string test_wrapped_key = hex2str(
42 string test_tag = hex2str("94CD97F58DE55B737B60B3AD127B1C59");
43 string test_iv = hex2str("D796B02C370F1FA4CC0124F1");
45 hex2str("78421A8124D7960B4CBFC8F4F16B421B3511A3D29CFB329C3CCD90724FD9E8E440"
54 hex2str("CCD540855F833A5E1480BFD2D36FAF3AEEE15DF5BEABE2691BC82DDE2A7AA910");
Dkdf2_test.cpp69 const string key = hex2str(test.key_hex); in TEST()
70 const string info = hex2str(test.info_hex); in TEST()
71 const string expected_output = hex2str(test.expected_output_hex); in TEST()
Dkdf1_test.cpp45 const string key = hex2str(test.key_hex); in TEST()
46 const string expected_output = hex2str(test.expected_output_hex); in TEST()
Dnist_curve_key_exchange_test.cpp86 string peer_public_key = hex2str(kInvalidPublicKeys[0]); in TEST()
186 string private_key = hex2str(test.my_private_key); in TEST()
187 string shared_secret = hex2str(test.shared_secret); in TEST()
200 string peer_public_key = hex2str(test.peer_public_key); in TEST()
Dhmac_test.cpp66 const string key = hex2str(test.key); in TEST()
Dckdf_test.cpp74 string bytes = hex2str(hex); in hex2span()
Dandroid_keymaster_test.cpp1815 string wrapped_key = hex2str(
1825 string wrapped_key_masked = hex2str(
1835 string wrapping_key = hex2str(
1864 hex2str("0000000000000000000000000000000000000000000000000000000000000000");
1865 string masking_key = hex2str("D796B02C370F1FA4CC0124F14EC8CBEBE987E825246265050F399A51FD477DFC");
2719 const string key = hex2str(test.key); in TEST_P()
2720 const string nonce = hex2str(test.nonce); in TEST_P()
2721 const string plaintext = hex2str(test.plaintext); in TEST_P()
2722 const string ciphertext = hex2str(test.ciphertext); in TEST_P()
3645 hex2str(test.key), hex2str(test.iv), hex2str(test.input), in TEST_P()
[all …]
Dandroid_keymaster_test_utils.h46 std::string hex2str(std::string);
Dandroid_keymaster_test_utils.cpp133 string hex2str(string a) { in hex2str() function
/system/core/libnetutils/
Ddhcpclient.c237 static void hex2str(char *buf, size_t buf_size, const unsigned char *array, int len) in hex2str() function
279 hex2str(buf, sizeof(buf), msg->chaddr, c); in dump_dhcp_msg()
328 hex2str(buf, sizeof(buf), &x[2], optsz); in dump_dhcp_msg()