|
DeterministicESPAsyncWebServer 1.2.0
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Software SHA-1 implementation — no platform dependencies. More...
#include <stddef.h>#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | SHA1_DIGEST_LEN 20 |
| SHA-1 digest length in bytes. | |
Functions | |
| void | sha1 (const uint8_t *data, size_t len, uint8_t digest[SHA1_DIGEST_LEN]) |
| Compute a SHA-1 digest over an arbitrary byte buffer. | |
Software SHA-1 implementation — no platform dependencies.
Used exclusively for the WebSocket opening handshake (RFC 6455 §4.2.2). Output is always a 20-byte digest.
Definition in file sha1.h.