diff --git a/ssh-key/src/signature.rs b/ssh-key/src/signature.rs index 3770e1f..50f0668 100644 --- a/ssh-key/src/signature.rs +++ b/ssh-key/src/signature.rs @@ -519,6 +519,7 @@ impl_signature_for_curve!(p256, "p256", NistP256, 32); impl_signature_for_curve!(p384, "p384", NistP384, 48); impl_signature_for_curve!(p521, "p521", NistP521, 66); +/// Build a generic sized object from a `u8` iterator, with leading zero padding #[cfg(any(feature = "p256", feature = "p384", feature = "p521"))] fn zero_pad_field_bytes + Copy>(m: Mpint) -> Option { use core::mem::size_of;