Phase 1.1: SMB3 encryption module (AES-CTR + HMAC)
Some checks failed
Test / test (push) Has been cancelled
Test / build (push) Has been cancelled

- Add encryption.rs with Smb3Encryption struct
- Implement AES-128-CTR + HMAC-SHA256 (simplified approach)
- Add TransformHeader struct for SMB2 TRANSFORM_HEADER
- 3 unit tests pass (encrypt/decrypt roundtrip + signature verification)
- Total: ~180 lines of code
This commit is contained in:
Warren
2026-06-22 02:20:59 +08:00
parent 097521b35d
commit 104e7f5f9c
8 changed files with 323 additions and 7 deletions

View File

@@ -0,0 +1,6 @@
{
"created_at": 1782062629,
"expires_at": 1813598629,
"fingerprint": "YhvUXPPA1xlmnfJ9H0axfLsV5wve9QMiRQ2eFarT/D4=",
"key_type": "ed25519"
}