Expand description
Idiomatic Rust bindings for P256-Cortex-M4
in the spirit of p256
.
On platforms other than Cortex-M4 and Cortex-M33, the implementation from p256
is re-used,
with the same (simplified) API.
If this fallback is not desired, deactivate the non-cortex-m4-fallback
feature.
Structs§
- Error
- Errors.
- Keypair
- NIST P-256 keypair.
- Public
Key - NIST P-256 public key.
- Secret
Key - NIST P-256 secret key.
- Shared
Secret - Outcome of ECDH key agreement.
- Signature
- NIST P-256 signature.
Functions§
- sha256
prehash
- Convenience function, calculates SHA256 hash digest of a slice of bytes.
Type Aliases§
- Result
- Result type.