Home
last modified time | relevance | path

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

/external/chromium_org/content/child/webcrypto/test/
Dtest_helpers.cc528 std::string key_hex; in ImportExportJwkSymmetricKey() local
533 key_hex = "3f1e7cd4f6f8543f6b1e16002e688623"; in ImportExportJwkSymmetricKey()
536 key_hex = in ImportExportJwkSymmetricKey()
540 key_hex = in ImportExportJwkSymmetricKey()
545 key_hex = in ImportExportJwkSymmetricKey()
555 HexStringToBytes(key_hex), import_algorithm, usages); in ImportExportJwkSymmetricKey()
560 EXPECT_TRUE(VerifySecretJwk(json, jwk_alg, key_hex, usages)); in ImportExportJwkSymmetricKey()
580 EXPECT_BYTES_EQ_HEX(key_hex, key_raw_out); in ImportExportJwkSymmetricKey()
Drsa_oaep_unittest.cc406 const std::string key_hex = "000102030405060708090A0B0C0D0E0F"; in TEST() local
411 ImportSecretKeyFromRaw(HexStringToBytes(key_hex), in TEST()
432 EXPECT_BYTES_EQ_HEX(key_hex, decrypted_key); in TEST()
450 EXPECT_BYTES_EQ_HEX(key_hex, raw_key); in TEST()
524 const std::string key_hex = "000102030405060708090a0b0c0d0e0f"; in TEST() local
529 ImportSecretKeyFromRaw(HexStringToBytes(key_hex), in TEST()
551 decrypted_jwk, "A128CBC", key_hex, blink::WebCryptoKeyUsageEncrypt)); in TEST()
569 EXPECT_BYTES_EQ_HEX(key_hex, raw_key); in TEST()
Daes_cbc_unittest.cc35 const std::string key_hex = "2b7e151628aed2a6abf7158809cf4f3c"; in GetTestAesCbcKey() local
37 HexStringToBytes(key_hex), in GetTestAesCbcKey()
45 EXPECT_BYTES_EQ_HEX(key_hex, raw_key); in GetTestAesCbcKey()
/external/chromium_org/crypto/
Dhkdf_unittest.cc18 const char* key_hex; member
60 ASSERT_TRUE(base::HexStringToBytes(test.key_hex, &data)); in TEST()
/external/wpa_supplicant_8/hostapd/
Dhostapd_cli.c545 char key_hex[2 * 64 + 1]; in hostapd_cli_cmd_wps_config() local
561 key_hex[0] = '\0'; in hostapd_cli_cmd_wps_config()
566 os_snprintf(&key_hex[i * 2], 3, "%02x", in hostapd_cli_cmd_wps_config()
573 ssid_hex, argv[1], argv[2], key_hex); in hostapd_cli_cmd_wps_config()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.h25 const char *key_hex; member
Dwpa_cli.c871 char key_hex[2 * 64 + 1]; in wpa_cli_cmd_wps_reg() local
881 key_hex[0] = '\0'; in wpa_cli_cmd_wps_reg()
886 os_snprintf(&key_hex[i * 2], 3, "%02x", in wpa_cli_cmd_wps_reg()
894 key_hex); in wpa_cli_cmd_wps_reg()
1000 char key_hex[2 * 64 + 1]; in wpa_cli_cmd_wps_er_config() local
1010 key_hex[0] = '\0'; in wpa_cli_cmd_wps_er_config()
1015 os_snprintf(&key_hex[i * 2], 3, "%02x", in wpa_cli_cmd_wps_er_config()
1023 key_hex); in wpa_cli_cmd_wps_er_config()
Dwps_supplicant.c1255 settings->encr, settings->key_hex); in wpas_wps_start_reg()
1942 settings->encr == NULL || settings->key_hex == NULL) in wpas_wps_er_config()
1952 len = os_strlen(settings->key_hex); in wpas_wps_er_config()
1954 hexstr2bin(settings->key_hex, cred.key, len / 2)) in wpas_wps_er_config()
Dctrl_iface.c1270 ap.key_hex = new_key; in wpa_supplicant_ctrl_iface_wps_reg()
1417 ap.key_hex = new_key; in wpa_supplicant_ctrl_iface_wps_er_config()