pub fn algorithm_for_dialect(
dialect: Dialect,
gmac_negotiated: bool,
) -> SigningAlgorithmExpand description
Select the appropriate signing algorithm for a dialect.
For SMB 3.1.1, gmac_negotiated indicates whether the peer negotiated
AES-256-GMAC via SMB2_SIGNING_CAPABILITIES. When false, SMB 3.1.1
falls back to AES-128-CMAC.