1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib
Andy Green ddb94d4e27 genaes: generic AES layer independent of tls library
Although RSA can be used directly for signing / JWS
on large chunks of data since it's only operating on
the hash, when JWE support arrives, which allows bulk
encryption, it's going to be mandatory to support
secondary AES ciphers to use on the bulk data.

This adds generic support for all AES modes that OpenSSL
and mbedTLS have in common, works on both mbedTLS and
OpenSSL the same, and adds unit tests for each mode
in api-test-gencrypto, to run in CI.
2018-12-27 06:45:31 +08:00
..
core genaes: generic AES layer independent of tls library 2018-12-27 06:45:31 +08:00
event-libs clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
jose genaes: generic AES layer independent of tls library 2018-12-27 06:45:31 +08:00
misc JOSE: refactor and prepare for JWE 2018-12-27 06:45:31 +08:00
plat windows: proposed fix for CANCELLED 2018-12-07 21:13:19 +08:00
roles role: raw-proxy 2018-12-01 11:05:59 +08:00
tls genaes: generic AES layer independent of tls library 2018-12-27 06:45:31 +08:00
README.md JOSE: refactor and prepare for JWE 2018-12-27 06:45:31 +08:00

Library sources layout

Code that goes in the libwebsockets library itself lives down ./lib

Path Sources
lib/core Core lws code related to generic fd and wsi servicing and management
lib/event-libs Code containing optional event-lib specific adaptations
lib/jose JOSE / JWS / JWK / JWE implementations
lib/misc Code for various mostly optional miscellaneous features
lib/plat Platform-specific adaptation code
lib/roles Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
lib/tls Code supporting the various TLS libraries
libwebsockets.h Public API header for the whole of lws