Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup hw #646

Closed
wants to merge 74 commits into from
Closed

Cleanup hw #646

wants to merge 74 commits into from

Conversation

bunnie
Copy link

@bunnie bunnie commented Mar 25, 2024

Patches related to betrusted-io/xous-core#516

...unsuccessful tho. Rust features are hard.
catch the case that the 14th limb overflows into the 15th at the
final carry propagate step
it doesn't happen, i think there is a property of the math
that makes us safe but i can't reason about what it is.
a simple loop that does factorial.
hacky implementation, but it'll let us do a performance benchmark
Note: breaks for anyone's build environment but mine!
builds clealy as a test crate, without any dependency on
xous proper for configurations that don't involve xous.
minimizing the mount of data movement speeds up operations by
about 2x
remove const generics so we don't affect their mininum rust version
requirement
kotval and others added 28 commits February 8, 2024 14:20
porting this in a manner similar to that used by the sha2 crate,
removing the explicit Xous dependency link.

see PR for discussion of issues
and also make the internal functions use the same conventions
This function should be able to be enabled by feature
selection.
needed for software fallback
this will trigger software fallback
this falls back to fiat-crypto primitives if the hw engine
is unavailable.
@bunnie bunnie closed this Mar 25, 2024
@bunnie
Copy link
Author

bunnie commented Mar 25, 2024

ugh sorry, github defaults to your main branch when I try to make a pull request to my own fork, and I keep forgetting to set the pulldown to my own fork. Sorry about the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants