mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
remove trailing whitespace on loader
This commit is contained in:
parent
7d9874e522
commit
221972e955
2 changed files with 3 additions and 3 deletions
|
|
@ -76,7 +76,7 @@ impl ExtendedPoint {
|
|||
// (Y1 X1 T1 Z1) -- uses vpshufd (1c latency @ 1/c)
|
||||
let mut tmp0 = self.0.shuffle(Shuffle::BADC);
|
||||
|
||||
// (X1+Y1 X1+Y1 X1+Y1 X1+Y1) -- can use vpinserti128
|
||||
// (X1+Y1 X1+Y1 X1+Y1 X1+Y1) -- can use vpinserti128
|
||||
let mut tmp1 = (self.0 + tmp0).shuffle(Shuffle::ABAB);
|
||||
|
||||
// (X1 Y1 Z1 X1+Y1)
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ mod ed25519_benches {
|
|||
let keypair: Keypair = Keypair::generate(&mut csprng);
|
||||
let expanded: ExpandedSecretKey = (&keypair.secret).into();
|
||||
let msg: &[u8] = b"";
|
||||
|
||||
|
||||
c.bench_function("Ed25519 signing with an expanded secret key", move |b| {
|
||||
b.iter(| | expanded.sign(msg, &keypair.public))
|
||||
});
|
||||
|
|
@ -51,7 +51,7 @@ mod ed25519_benches {
|
|||
let keypair: Keypair = Keypair::generate(&mut csprng);
|
||||
let msg: &[u8] = b"";
|
||||
let sig: Signature = keypair.sign(msg);
|
||||
|
||||
|
||||
c.bench_function("Ed25519 signature verification", move |b| {
|
||||
b.iter(| | keypair.verify(msg, &sig))
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue