Searched refs:args_map (Results 1 – 7 of 7) sorted by relevance
/external/boringssl/src/tool/ |
D | client.cc | 195 std::map<std::string, std::string> args_map, in DoConnection() argument 198 if (!Connect(&sock, args_map["-connect"])) { in DoConnection() 202 if (args_map.count("-starttls") != 0) { in DoConnection() 203 const std::string& starttls = args_map["-starttls"]; in DoConnection() 217 if (args_map.count("-server-name") != 0) { in DoConnection() 218 SSL_set_tlsext_host_name(ssl.get(), args_map["-server-name"].c_str()); in DoConnection() 221 if (args_map.count("-session-in") != 0) { in DoConnection() 222 bssl::UniquePtr<BIO> in(BIO_new_file(args_map["-session-in"].c_str(), in DoConnection() 263 std::map<std::string, std::string> args_map; in Client() local 265 if (!ParseKeyValueArguments(&args_map, args, kArguments)) { in Client() [all …]
|
D | server.cc | 152 std::map<std::string, std::string> args_map; in Server() local 154 if (!ParseKeyValueArguments(&args_map, args, kArguments)) { in Server() 163 if (args_map.count("-key") != 0) { in Server() 164 std::string key_file = args_map["-key"]; in Server() 193 if (args_map.count("-cipher") != 0 && in Server() 194 !SSL_CTX_set_strict_cipher_list(ctx.get(), args_map["-cipher"].c_str())) { in Server() 200 if (args_map.count("-max-version") != 0 && in Server() 201 !VersionFromString(&max_version, args_map["-max-version"])) { in Server() 203 args_map["-max-version"].c_str()); in Server() 211 if (args_map.count("-min-version") != 0) { in Server() [all …]
|
D | genrsa.cc | 39 std::map<std::string, std::string> args_map; in GenerateRSAKey() local 41 if (!ParseKeyValueArguments(&args_map, args, kArguments)) { in GenerateRSAKey() 47 if (!GetUnsigned(&bits, "-bits", 2048, args_map) || in GenerateRSAKey() 48 !GetUnsigned(&nprimes, "-nprimes", 2, args_map)) { in GenerateRSAKey()
|
D | generate_ed25519.cc | 61 std::map<std::string, std::string> args_map; in GenerateEd25519Key() local 63 if (!ParseKeyValueArguments(&args_map, args, kArguments)) { in GenerateEd25519Key() 71 return WriteToFile(args_map["-out-public"], public_key, sizeof(public_key)) && in GenerateEd25519Key() 72 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 | 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 | 596 std::map<std::string, std::string> args_map; in Speed() local 597 if (!ParseKeyValueArguments(&args_map, args, kArguments)) { in Speed() 603 if (args_map.count("-filter") != 0) { in Speed() 604 selected = args_map["-filter"]; in Speed() 607 if (args_map.count("-timeout") != 0) { in Speed() 608 g_timeout_seconds = atoi(args_map["-timeout"].c_str()); in Speed()
|