Pratyush Mishra
33a9da08f8
Switch to `stable` cargo formatting options
5 years ago
Pratyush Mishra
b1913a9ca7
Change default `to_bits` and `to_bytes` functions to the safe versions
5 years ago
dependabot-preview[bot]
9ca5a94f2e
Update digest requirement from 0.7 to 0.8 ( #141 )
* Update `digest` and `blake2` requirement from 0.7 to 0.8
Updates the requirements on [digest](https://github.com/RustCrypto/traits ) to permit the latest version.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/digest_v0.7.2...digest-v0.8.1 )
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
5 years ago
Pratyush Mishra
0df0a15e1b
Blake PRF & R1CS Boolean Refactor ( #132 )
* refactor(r1cs-std/boolean): expose enforcing value less than functionality
* fix(r1cs-std/boolean): ensure num_bits is calculated correctly from the arg
* feat(primitives/blake2s): allow creating Blake2s with custom params
5 years ago
Pratyush Mishra
8bf042a029
Refactor `algebra` API, split into `algebra` and `algebra-core`. ( #100 )
5 years ago
Marek Kotewicz
d4896ade47
crypto-primitives no-std ( #96 )
5 years ago
ValarDragon
5e57ac5621
Fix blake2s table alighnments
5 years ago
François Garillot
10c6e85c1a
Remove a few unnecessary `.into_iter()` explicit calls, and some cloning.
See https://rust-lang.github.io/rust-clippy/master/#explicit_into_iter_loop
5 years ago
Kobi Gurkan
fb87c421e7
Runs cargo fmt
5 years ago
Pratyush Mishra
a244e719d1
Initial commit to extract crypto-primitives to new crate
5 years ago