Crate trezor_crypto_lib
source · [−]Expand description
A dalek cryptography based reproduction of the ed25519-donna API
See:
- https://github.com/ryankurte/rust-dalek-donna
Modules
FFI bindings derived from ed25519-dalek headers
Helpers to ensure ABI compatibility for use when testing
Functions
Scalar multiplication using the provided basepoint
Perform scalar multiplication of e
over the edwards curve point
Derives a public key from a private key
Generate a public key using the expanded (sk + sk_ext) form of the secret key
Generate random bytes using the system RNG
Signs a message using the provided secret key
Generate a signature using the expanded (sk + sk_ext) form of the secret key.
Verifies a signed message
Batch verify signatures, valid[i] == 1 for valid, 0 otherwise