pub(crate) fn check_pad<B: Static<usize>>( bit: B, values: &[u8; 256], input: &[u8], ) -> Result<usize, usize>