|
libwebsockets
Lightweight C library for HTML5 websockets
|
Macros | |
| #define | LWS_GENHASH_LARGEST 64 |
Lws provides generic hash / digest accessors that abstract the ones provided by whatever tls library you are linking against.
It lets you use the same code if you build against mbedtls or OpenSSL for example.
| #define LWS_GENHASH_LARGEST 64 |
#include <include/libwebsockets/lws-genhash.h>
Definition at line 61 of file lws-genhash.h.
| enum lws_genhash_types |
#include <include/libwebsockets/lws-genhash.h>
| Enumerator | |
|---|---|
| LWS_GENHASH_TYPE_UNKNOWN | |
| LWS_GENHASH_TYPE_MD5 | |
| LWS_GENHASH_TYPE_SHA1 | |
| LWS_GENHASH_TYPE_SHA256 | |
| LWS_GENHASH_TYPE_SHA384 | |
| LWS_GENHASH_TYPE_SHA512 | |
Definition at line 44 of file lws-genhash.h.
| enum lws_genhmac_types |
#include <include/libwebsockets/lws-genhash.h>
| Enumerator | |
|---|---|
| LWS_GENHMAC_TYPE_UNKNOWN | |
| LWS_GENHMAC_TYPE_SHA1 | |
| LWS_GENHMAC_TYPE_SHA256 | |
| LWS_GENHMAC_TYPE_SHA384 | |
| LWS_GENHMAC_TYPE_SHA512 | |
Definition at line 53 of file lws-genhash.h.