mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
Merge branch 'swap-opt' of github.com:betrusted-io/xous-core into swap-opt
This commit is contained in:
commit
8901e4ace8
3 changed files with 22 additions and 20 deletions
|
|
@ -1,20 +0,0 @@
|
||||||
[alias]
|
|
||||||
xtask = "run --package xtask --"
|
|
||||||
|
|
||||||
# [net]
|
|
||||||
# offline = true # do not access the network
|
|
||||||
|
|
||||||
[build]
|
|
||||||
rustflags = ["--cfg", "crossbeam_no_atomic_64"]
|
|
||||||
|
|
||||||
# [target.riscv32imac-unknown-xous-elf]
|
|
||||||
# linker = "/usr/bin/mold"
|
|
||||||
# rustflags = [
|
|
||||||
# "-C", "linker-flavor=ld",
|
|
||||||
# "-C", "relocation-model=pic",
|
|
||||||
# "-C", "link-arg=-shared",
|
|
||||||
# "--cfg", "crossbeam_no_atomic_64"
|
|
||||||
# ]
|
|
||||||
|
|
||||||
[target.riscv32imac-unknown-xous-elf]
|
|
||||||
rustflags = ["--cfg", 'curve25519_dalek_backend="u32e_backend"']
|
|
||||||
1
.cargo/config
Symbolic link
1
.cargo/config
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
config.toml
|
||||||
20
.cargo/config.toml
Normal file
20
.cargo/config.toml
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
[alias]
|
||||||
|
xtask = "run --package xtask --"
|
||||||
|
|
||||||
|
# [net]
|
||||||
|
# offline = true # do not access the network
|
||||||
|
|
||||||
|
[build]
|
||||||
|
rustflags = ["--cfg", "crossbeam_no_atomic_64"]
|
||||||
|
|
||||||
|
# [target.riscv32imac-unknown-xous-elf]
|
||||||
|
# linker = "/usr/bin/mold"
|
||||||
|
# rustflags = [
|
||||||
|
# "-C", "linker-flavor=ld",
|
||||||
|
# "-C", "relocation-model=pic",
|
||||||
|
# "-C", "link-arg=-shared",
|
||||||
|
# "--cfg", "crossbeam_no_atomic_64"
|
||||||
|
# ]
|
||||||
|
|
||||||
|
[target.riscv32imac-unknown-xous-elf]
|
||||||
|
rustflags = ["--cfg", 'curve25519_dalek_backend="u32e_backend"']
|
||||||
|
|
@ -388,6 +388,7 @@ pub trait VartimePrecomputedMultiscalarMul: Sized {
|
||||||
/// This trait is only for debugging/testing, since it should be
|
/// This trait is only for debugging/testing, since it should be
|
||||||
/// impossible for a `curve25519-dalek` user to construct an invalid
|
/// impossible for a `curve25519-dalek` user to construct an invalid
|
||||||
/// point.
|
/// point.
|
||||||
|
#[allow(dead_code)]
|
||||||
pub(crate) trait ValidityCheck {
|
pub(crate) trait ValidityCheck {
|
||||||
/// Checks whether the point is on the curve. Not CT.
|
/// Checks whether the point is on the curve. Not CT.
|
||||||
fn is_valid(&self) -> bool;
|
fn is_valid(&self) -> bool;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue