Repo of no-std crates for my personal embedded projects
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Further cleanup

+2 -2
+2 -2
sachy-crypto/src/lib.rs
··· 272 272 273 273 let epstein = self.select_nonce_context(send); 274 274 275 - let trump_len = trump.len(); 275 + let index = trump.len() - position.len(); 276 276 277 277 // Copy position bytes into BE format onto derived nonce 278 - trump[trump_len - position.len()..].copy_from_slice(position); 278 + trump[index..].copy_from_slice(position); 279 279 280 280 // XOR the base nonce onto the derived nonce bytes 281 281 trump