perf(ssh): Remove ChaCha20-Poly1305 algorithm (AES-GCM already achieves 100 MB/s)

This commit is contained in:
Warren
2026-06-19 23:36:47 +08:00
parent 5f61ebd328
commit 00767c1d26
5 changed files with 212 additions and 4 deletions
+3
View File
@@ -59,6 +59,9 @@ aes = "0.8"
ctr = "0.9"
cipher = "0.4"
aes-gcm = "0.10" # Phase 1: AES-256-GCM AEAD(性能优化)
chacha20 = "0.9" # Phase 5: ChaCha20 stream cipher(OpenSSH chacha20-poly1305)
poly1305 = "0.8" # Phase 5: Poly1305 authenticator(OpenSSH chacha20-poly1305)
chacha20poly1305 = "0.10" # Phase 5: ChaCha20-Poly1305 AEAD(备用)
nix = { version = "0.29", features = ["poll", "fs"] } # Phase 14: OpenSSH风格的poll()和非阻塞I/O(fs feature包含fcntl)
rusty-s3 = "0.10" # S3 API 签名(AWS Signature V4)
ureq = "2.12" # 輕量同步 HTTP 客戶端