You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add HMAC-SHA512 sign / verify to Hashers/HmacWrapper.cs, mirroring the SHA-256 methods.
Tests: NIST CAVP HMAC vectors (the L=64 blocks) through the downloaded-vector harness, plus round-trip and tamper tests.
Implementation notes (cas-dotnet-sdk conventions, see CLAUDE.md)
Bump the cas-core-lib submodule to the cas-core-lib release that contains the exports, and commit the regenerated cas-dotnet-sdk/generated/NativeMethods.g.cs (the PR workflows fail if it is stale).
Wrapper class (plus result types under Types/) that marshals through NativePin / NativeByteBuffer and frees every returned buffer in a finally (or with the matching free_<struct>).
Keep secrets in byte[] / Span<byte>, never string; clear them with CryptographicOperations.ZeroMemory after use and pin them while they cross the FFI.
Errors surface through CasErrorHandler / CasException; add a CasErrorCode member for any new cas-core-lib error code.
Add a usage sample to docs/EXAMPLES.md and a benchmark class under cas-dotnet-sdk-benchmarks/Benchmarks/.
Acceptance criteria
CI green on Linux, Windows and macOS (--locked builds).
PR title follows Conventional Commits. Don't bump the version or edit CHANGELOG.md by hand; release-please does that.
Activity