17 Commits

Author SHA1 Message Date
Sladuca
356c7cd925 fmt 2022-08-26 16:10:44 -04:00
Sladuca
8aa3ed0997 cleaner witness extension 2022-08-26 16:10:34 -04:00
qope
2191296639 Change visibility of ECDSASecretKeyTarget and ECDSAPublicKeyTarget's fields 2022-08-22 19:46:44 +09:00
Daniel Lubarov
2fd5fbbe01 Change from_biguint's behavior with extension fields
These appear to be unused for extension fields, so we're free to change the mapping without breaking anything.

As the TODO says, the mapping that's currently implemented doesn't seem natural or useful. It seems more natural to treat the `BigUint` as a base field element, potentially in a non-canonical form.
2022-08-19 09:21:10 -07:00
Daniel Lubarov
faa75178a2 MIT + Apache2 licenses 2022-08-15 07:43:00 -07:00
wborgeaud
bbc2ff27ab Fix minor bug where constant_affine_point is called on zero 2022-07-23 09:18:41 +02:00
Daniel Lubarov
3346d3f902
field_types -> types (#583)
* `field_types` -> `types`

Here too, I think "field" is usually clear from context, e.g. in `use plonky2::field::types::Field;`.

* fixes

* fmt
2022-06-27 12:24:09 -07:00
Daniel Lubarov
410e03349c
extension_field -> extension (#581)
It seems redundant in most contexts, e.g. `use plonky2::field::extension_field::Extendable;`. One could import `extension_field`, but it's not that common in Rust, and `field::extension` is now about as short.
2022-06-27 07:18:21 -07:00
Jacqueline Nabaglo
db56fe39be
Fix Clippy on main (#554) 2022-06-02 14:04:34 -07:00
wborgeaud
d484b6237a plonky2_u32 -> u32 2022-04-07 08:44:54 +02:00
wborgeaud
b58d5d6747 Move u32 stuff to plonky2_u32 crate 2022-04-06 08:50:45 +02:00
wborgeaud
9b65825572 Comments 2022-03-28 14:24:29 +02:00
wborgeaud
ddd5192489 Move secret_to_public to a ECDSASecretKey method 2022-03-18 08:04:40 +01:00
wborgeaud
c472afe12e Merge branch 'main' into glv
# Conflicts:
#	ecdsa/src/curve/ecdsa.rs
#	plonky2/src/gadgets/ecdsa.rs
2022-03-18 07:19:28 +01:00
wborgeaud
786c1eafcf Minor 2022-03-16 05:44:02 +01:00
wborgeaud
534ee7d637 Add untracked files 2022-03-16 05:39:45 +01:00
wborgeaud
2e5c2e8984 Add ecdsa module 2022-03-15 16:55:08 +01:00