Phase 1.1: SMB3 encryption module (AES-CTR + HMAC)
- 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:
Vendored
+1
@@ -24,6 +24,7 @@ md4 = "0.10"
|
||||
aes = "0.8"
|
||||
cmac = "0.7"
|
||||
rc4 = "0.2"
|
||||
ctr = "0.9" # AES-CTR for SMB3 encryption (simplified approach)
|
||||
|
||||
[features]
|
||||
default = ["localfs"]
|
||||
|
||||
Reference in New Issue
Block a user