Api usage bearssl usage for running a ssl/tls client or server is described on the bearssl web site. The bearssl source archive also comes with sample code. For an overview of the ssl/tls api, see the bearssl web site. The br_tls_* constants correspond to the standard cipher suites and their values in the iana registry.