DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
smb_md.h File Reference

MD4 (RFC 1320), MD5 (RFC 1321), and HMAC-MD5 (RFC 2104) - the legacy digests NTLM needs, for the SMB2 client (DETWS_ENABLE_SMB). Not used anywhere else in the library. More...

#include "ServerConfig.h"

Go to the source code of this file.

Detailed Description

MD4 (RFC 1320), MD5 (RFC 1321), and HMAC-MD5 (RFC 2104) - the legacy digests NTLM needs, for the SMB2 client (DETWS_ENABLE_SMB). Not used anywhere else in the library.

NTLMv2 (MS-NLMP) builds on these: the NT hash is MD4(UTF-16LE(password)); the NTLMv2 response and the session key are HMAC-MD5 chains. MD4/MD5 are cryptographically broken and are included ONLY because SMB/NTLM requires them on the wire - do not use them for anything security-new. Zero heap, streaming; verified against the RFC test vectors (see test_smb_crypto).

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file smb_md.h.