Home
last modified time | relevance | path

Searched refs:args_map (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/tool/
Dclient.cc117 std::map<std::string, std::string> args_map; in Client() local
119 if (!ParseKeyValueArguments(&args_map, args, kArguments)) { in Client()
136 if (args_map.count("-cipher") != 0 && in Client()
137 !SSL_CTX_set_cipher_list(ctx.get(), args_map["-cipher"].c_str())) { in Client()
142 if (args_map.count("-max-version") != 0) { in Client()
144 if (!VersionFromString(&version, args_map["-max-version"])) { in Client()
146 args_map["-max-version"].c_str()); in Client()
152 if (args_map.count("-min-version") != 0) { in Client()
154 if (!VersionFromString(&version, args_map["-min-version"])) { in Client()
156 args_map["-min-version"].c_str()); in Client()
[all …]
Dserver.cc47 std::map<std::string, std::string> args_map; in Server() local
49 if (!ParseKeyValueArguments(&args_map, args, kArguments)) { in Server()
59 if (args_map.count("-key") != 0) { in Server()
60 key_file = args_map["-key"]; in Server()
71 if (args_map.count("-cipher") != 0 && in Server()
72 !SSL_CTX_set_cipher_list(ctx, args_map["-cipher"].c_str())) { in Server()
78 if (!Accept(&sock, args_map["-accept"])) { in Server()
Dpkcs12.cc59 std::map<std::string, std::string> args_map; in DoPKCS12() local
61 if (!ParseKeyValueArguments(&args_map, args, kArguments) || in DoPKCS12()
62 args_map["-dump"].empty()) { in DoPKCS12()
67 int fd = open(args_map["-dump"].c_str(), O_RDONLY); in DoPKCS12()
Drand.cc54 std::map<std::string, std::string> args_map; in Rand() local
55 if (!ParseKeyValueArguments(&args_map, args_copy, kArguments)) { in Rand()
60 hex = args_map.count("-hex") > 0; in Rand()