Suppress non_snake_case warning for RFC 4253 notation (K, H, X)
Some checks failed
Test / test (push) Has been cancelled
Test / build (push) Has been cancelled

This commit is contained in:
Warren
2026-06-20 21:10:28 +08:00
parent dbca6e6d35
commit 914eacb230

View File

@@ -178,6 +178,7 @@ impl SessionKeys {
/// RFC 4253密钥派生函数参考 OpenSSH kex.c: derive_key()
/// 公式Key = HASH(K || H || X || session_id)
/// ⭐⭐⭐⭐⭐ Phase 8.3: 支持 AES-128 key_len (16 bytes)
#[allow(non_snake_case)] // RFC 4253 notation: K, H, X
fn derive_key_rfc4253(
K_mpint: &[u8],
H: &[u8],