ycrypto / p256-cortex-m4 Goto Github PK
View Code? Open in Web Editor NEWFast NIST P256 signatures for Cortex-M4 microcontrollers
Home Page: https://ycrypto.github.io/p256-cortex-m4
Fast NIST P256 signatures for Cortex-M4 microcontrollers
Home Page: https://ycrypto.github.io/p256-cortex-m4
unsafe
refers to memory safety, not generally "dangerous" APIs. I don't think it should be use for this kind of use cases. For example, neither the secrecy or untrusted use unsafe this way.
To warn against exporting the secret key, I'd recommend removing unsafe
and renaming it to subtle_to_bytes
or something similar.
From my understanding EcDSA does not necessarily expect the hash output to be exactly the size of a scalar. If it is larger, it is instead truncated.
Would be good to add e.g. http://point-at-infinity.org/ecc/nisttv analogous to RustCrypto/elliptic-curves#570.
Or really as much of https://github.com/RustCrypto/elliptic-curves/tree/master/p256/src/test_vectors as applicable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.