fix(chans): declare HMAC helpers with external linkage #1028
Reference in New Issue
Block a user
Delete Branch "agent/bittle/chans-hmac-review"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source declaration correction
CHANSVm incorrectly declares NETGetSHA1Interface and NETHMACInit/Update/GetDigest as static without definitions in the translation unit. Declare them extern, matching the actual external implementations and original object bindings. No context storage, prototype-width, header or linking-configuration changes.
Independent parent verification
Existing opaque caller context reserves 0xD0 bytes; exact callee layout uses0xC0. Storage is untouched. Opaque/named struct declarations remain separate, so this fixes external linkage only, not complete shared-prototype compatibility. No decompilation percentage gain claimed.
Base:
ce2130f867Tested tree:
9edcb7a3fdDOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
No merge performed or requested by this author.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.