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