2021-06-24 19:31:26 +00:00
|
|
|
#ifndef COSMOPOLITAN_THIRD_PARTY_MBEDTLS_IANA_H_
|
|
|
|
#define COSMOPOLITAN_THIRD_PARTY_MBEDTLS_IANA_H_
|
2022-03-18 09:33:37 +00:00
|
|
|
#include "third_party/mbedtls/ssl.h"
|
2021-06-24 19:31:26 +00:00
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
|
|
|
bool IsCipherSuiteGood(uint16_t);
|
|
|
|
const char *GetCipherSuiteName(uint16_t);
|
2023-07-07 17:00:49 +00:00
|
|
|
const char *DescribeMbedtlsErrorCode(int);
|
2021-06-24 19:31:26 +00:00
|
|
|
const char *GetAlertDescription(unsigned char);
|
2023-09-06 10:54:42 +00:00
|
|
|
char *FormatSslClientCiphers(const mbedtls_ssl_context *) __wur;
|
2023-07-07 17:00:49 +00:00
|
|
|
const char *DescribeSslClientHandshakeError(const mbedtls_ssl_context *, int);
|
2021-06-24 19:31:26 +00:00
|
|
|
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* COSMOPOLITAN_THIRD_PARTY_MBEDTLS_IANA_H_ */
|