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