Crate p256_cortex_m4[][src]

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.

PublicKey

NIST P-256 public key.

SecretKey

NIST P-256 secret key.

SharedSecret

Outcome of ECDH key agreement.

Signature

NIST P-256 signature.

Functions

sha256prehash

Convenience function, calculates SHA256 hash digest of a slice of bytes.

Type Definitions

Result

Result type.