Searched refs:args_map (Results 1 – 8 of 8) sorted by relevance
/external/boringssl/src/tool/ |
D | client.cc | 229 std::map<std::string, std::string> args_map, in DoConnection() argument 232 if (args_map.count("-http-tunnel") != 0) { in DoConnection() 233 if (!Connect(&sock, args_map["-http-tunnel"]) || in DoConnection() 234 !DoHTTPTunnel(sock, args_map["-connect"])) { in DoConnection() 237 } else if (!Connect(&sock, args_map["-connect"])) { in DoConnection() 241 if (args_map.count("-starttls") != 0) { in DoConnection() 242 const std::string& starttls = args_map["-starttls"]; in DoConnection() 256 if (args_map.count("-server-name") != 0) { in DoConnection() 257 SSL_set_tlsext_host_name(ssl.get(), args_map["-server-name"].c_str()); in DoConnection() 260 if (args_map.count("-session-in") != 0) { in DoConnection() [all …]
|
D | server.cc | 211 std::map<std::string, std::string> args_map; in Server() local 213 if (!ParseKeyValueArguments(&args_map, args, kArguments)) { in Server() 231 if (args_map.count("-key") != 0) { in Server() 232 std::string key = args_map["-key"]; in Server() 239 args_map.count("-cert") != 0 ? args_map["-cert"] : key; in Server() 264 if (args_map.count("-cipher") != 0 && in Server() 265 !SSL_CTX_set_strict_cipher_list(ctx.get(), args_map["-cipher"].c_str())) { in Server() 270 if (args_map.count("-curves") != 0 && in Server() 271 !SSL_CTX_set1_curves_list(ctx.get(), args_map["-curves"].c_str())) { in Server() 277 if (args_map.count("-max-version") != 0 && in Server() [all …]
|
D | sign.cc | 32 std::map<std::string, std::string> args_map; in Sign() local 33 if (!ParseKeyValueArguments(&args_map, args, kArguments)) { in Sign() 40 if (!bio || !BIO_read_filename(bio.get(), args_map["-key"].c_str())) { in Sign() 50 if (args_map.count("-digest")) { in Sign() 51 md = EVP_get_digestbyname(args_map["-digest"].c_str()); in Sign() 54 args_map["-digest"].c_str()); in Sign()
|
D | generate_ed25519.cc | 53 std::map<std::string, std::string> args_map; in GenerateEd25519Key() local 55 if (!ParseKeyValueArguments(&args_map, args, kArguments)) { in GenerateEd25519Key() 63 return WriteToFile(args_map["-out-public"], public_key, sizeof(public_key)) && in GenerateEd25519Key() 64 WriteToFile(args_map["-out-private"], private_key, in GenerateEd25519Key()
|
D | pkcs12.cc | 60 std::map<std::string, std::string> args_map; in DoPKCS12() local 62 if (!ParseKeyValueArguments(&args_map, args, kArguments) || in DoPKCS12() 63 args_map["-dump"].empty()) { in DoPKCS12() 68 int fd = BORINGSSL_OPEN(args_map["-dump"].c_str(), O_RDONLY); in DoPKCS12()
|
D | genrsa.cc | 35 std::map<std::string, std::string> args_map; in GenerateRSAKey() local 37 if (!ParseKeyValueArguments(&args_map, args, kArguments)) { in GenerateRSAKey() 43 if (!GetUnsigned(&bits, "-bits", 2048, args_map)) { in GenerateRSAKey()
|
D | rand.cc | 55 std::map<std::string, std::string> args_map; in Rand() local 56 if (!ParseKeyValueArguments(&args_map, args_copy, kArguments)) { in Rand() 61 hex = args_map.count("-hex") > 0; in Rand()
|
D | speed.cc | 859 std::map<std::string, std::string> args_map; in Speed() local 860 if (!ParseKeyValueArguments(&args_map, args, kArguments)) { in Speed() 866 if (args_map.count("-filter") != 0) { in Speed() 867 selected = args_map["-filter"]; in Speed() 870 if (args_map.count("-timeout") != 0) { in Speed() 871 g_timeout_seconds = atoi(args_map["-timeout"].c_str()); in Speed() 874 if (args_map.count("-chunks") != 0) { in Speed() 876 const char *start = args_map["-chunks"].data(); in Speed() 877 const char *end = start + args_map["-chunks"].size(); in Speed()
|