fix issues related to early-data
3 files changed
tree: 0416c165e3c88baca254ae15f0459ae66a72a46a
  1. deps/
  2. include/
  3. lib/
  4. picotls.xcodeproj/
  5. t/
  6. .clang-format
  7. .gitmodules
  8. .travis.yml
  9. CMakeLists.txt
  10. README.md
README.md

picotls

Picotls is a TLS 1.3 implementation written in C.

At the moment, the library implements Draft 17 of the specification (1-RTT ECDH + server-certificate + AES128-GCM only).

Primary goal of the project is to create a fast, tiny TLS 1.3 implementation that can be used with the HTTP/2 protocol stack and possibly the upcoming QUIC stack of the H2O HTTP/2 server.

The library only implements the communication protocol. Cryptographic operations are delegated to OpenSSL using callbacks. It would be easy to write binding to other crypto engines.

How to

Build using cmake:

% cmake
% make
% make check

Run the test server (at 127.0.0.1:8443):

% ./cli -c /path/to/certificate.pem -k /path/to/private-key.pem  127.0.0.1 8443

Connect to the test server:

% ./cli 127.0.0.1 8443

License

MIT