Crates.io | subtle-derive |
lib.rs | subtle-derive |
version | 0.1.0 |
source | src |
created_at | 2017-07-31 02:14:44.403237 |
updated_at | 2017-07-31 02:14:44.403237 |
description | Pure-Rust traits and utilities for constant-time cryptographic implementations. |
homepage | |
repository | https://github.com/isislovecruft/subtle-derive |
max_upload_size | |
id | 25739 |
size | 3,239 |
Procedural macros for deriving subtle trait implementations.
This code has not yet received sufficient peer review by other qualified cryptographers to be considered in any way, shape, or form, safe. Further, this library does not provide much in the way of assurance against deliberate misuse. Instead, it is a low-level library, mostly of bit-flipping tricks, intended for other cryptographers who would like to implement their own constant-time libraries. (For an example usage of this library, please see curve25519-dalek and ed25519-dalek.)
USE AT YOUR OWN RISK
Extensive documentation is available here.
To install, add the following to the dependencies section of your project's
Cargo.toml
:
subtle-derive = "^0.1"
Then, in your library or executable source, add:
#[macro_use]
extern crate subtle_derive