#include "net/ssl/ssl_cipher_suite_names.h"
#include <ostream>
#include "base/notreached.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "net/ssl/ssl_connection_status_flags.h"
#include "third_party/boringssl/src/include/openssl/ssl.h"
namespace net {
namespace {
int ObsoleteSSLStatusForProtocol(int ssl_version) { … }
int ObsoleteSSLStatusForCipherSuite(uint16_t cipher_suite) { … }
int ObsoleteSSLStatusForSignature(uint16_t signature_algorithm) { … }
}
void SSLCipherSuiteToStrings(const char** key_exchange_str,
const char** cipher_str,
const char** mac_str,
bool* is_aead,
bool* is_tls13,
uint16_t cipher_suite) { … }
void SSLVersionToString(const char** name, int ssl_version) { … }
bool ParseSSLCipherString(const std::string& cipher_string,
uint16_t* cipher_suite) { … }
int ObsoleteSSLStatus(int connection_status, uint16_t signature_algorithm) { … }
bool IsTLSCipherSuiteAllowedByHTTP2(uint16_t cipher_suite) { … }
}