Isis Lovecruft
e852e97d2d
Bump curve25519-dalek version to 2.1.2.
2021-01-08 03:25:44 +00:00
Isis Lovecruft
ab5af2e47c
Whitespace fixes for 3267a5d merge.
...
(cherry picked from commit 77ec974212 )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-08 00:40:00 +00:00
root
5ba95b13e4
errata and basepoint_odd_lookup_table test for better understanding
...
(cherry picked from commit 2d0c5323cb )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-08 00:39:46 +00:00
root
4b268a9d7e
errata and basepoint_odd_lookup_table test for better understanding
...
(cherry picked from commit 8da05f7e90 )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-08 00:39:20 +00:00
root
87a5ed78b7
errata for comment
...
(cherry picked from commit f6015c66c2 )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-08 00:38:20 +00:00
root
3b79d0fbc4
errata for vpmuludq
...
(cherry picked from commit fa849e014c )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-08 00:38:11 +00:00
Isis Lovecruft
77ec974212
Whitespace fixes for 3267a5d merge.
2021-01-08 00:33:37 +00:00
Isis Lovecruft
3267a5d75d
Merge remote-tracking branch '3for/comment-fix' into develop
2021-01-08 00:27:34 +00:00
Stephane Raux
4269b39f13
Make crate feature alloc work with stable Rust
...
`println!` was removed in the test as the corresponding test for `u32` does not have it.
(cherry picked from commit 608f8cd594 )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-07 23:30:42 +00:00
Isis Lovecruft
8500cd3c2f
Merge remote-tracking branch 'stephaneyfx/alloc-with-stable-rust' into develop
2021-01-07 23:24:57 +00:00
Isis Lovecruft
0f07443c2d
Bump curve25519-dalek to 2.1.1.
2021-01-07 22:21:37 +00:00
Isis Lovecruft
bb889e478d
Remove deprecated feature flags from .travis.yml.
...
(cherry picked from commit 7e320cd1d9 )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-07 22:12:24 +00:00
Isis Lovecruft
d00d4a5a9a
Fix CHANGELOG so that we can note backported patches.
...
(cherry picked from commit 64099e9adf )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-07 22:12:12 +00:00
Henry de Valence
e6d8afc352
Add link to Cargo.toml with explanation of packed_simd renaming
...
(cherry picked from commit 45f3f53351 )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-07 22:10:10 +00:00
Markus Zoppelt
dd71df6ea0
adjusted dependency entry like to pick up latest pick up the latest packed_simd crate under an alternative name.
...
see also: https://github.com/rust-lang/packed_simd/issues/303#issuecomment-701361161
(cherry picked from commit f27923bf8c )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-07 22:09:49 +00:00
Markus Zoppelt
6ffc8ddefd
bumped packed_simd to 0.3.4. resolves #333
...
(cherry picked from commit c2e394dd04 )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-07 22:09:26 +00:00
Isis Lovecruft
2e543e73d9
Merge branch 'master' into develop
2021-01-07 22:05:35 +00:00
Isis Lovecruft
3b44ed82dd
Merge branch 'release/3.0.1'
2021-01-07 22:05:26 +00:00
Isis Lovecruft
7e320cd1d9
Remove deprecated feature flags from .travis.yml.
2021-01-07 21:51:21 +00:00
Isis Lovecruft
64099e9adf
Fix CHANGELOG so that we can note backported patches.
2021-01-07 21:31:57 +00:00
Isis Lovecruft
e47a180991
Bump curve25519-dalek to 3.0.1.
2021-01-07 21:29:17 +00:00
François Garillot
8aa1458941
Implements an Elligator2 map for Curve25519
...
This implementation:
- is agnostic on the hash used to pick a field element, even though SHA512 is commonly used,
- follows https://tools.ietf.org/id/draft-irtf-cfrg-hash-to-curve-10.html closely
- tests the outputs of the function using libsignal's implementation.
2020-10-21 17:38:22 -04:00
Stephane Raux
608f8cd594
Make crate feature alloc work with stable Rust
...
`println!` was removed in the test as the corresponding test for `u32` does not have it.
2020-10-20 18:15:00 -07:00
Henry de Valence
a787300ba1
Merge pull request #334 from MarkusZoppelt/fix-packed_simd-AMD
...
bumped packed_simd to 0.3.4
2020-09-30 12:52:15 -07:00
Henry de Valence
45f3f53351
Add link to Cargo.toml with explanation of packed_simd renaming
2020-09-30 12:01:43 -07:00
Markus Zoppelt
f27923bf8c
adjusted dependency entry like to pick up latest pick up the latest packed_simd crate under an alternative name.
...
see also: https://github.com/rust-lang/packed_simd/issues/303#issuecomment-701361161
2020-09-30 15:17:18 +02:00
Markus Zoppelt
c2e394dd04
bumped packed_simd to 0.3.4. resolves #333
2020-09-30 12:59:10 +02:00
bunnie
2a1aaa72e8
leave a breadcrumb for the next work to do
2020-08-21 02:31:37 +08:00
bunnie
eb45d338ee
mods to get hardware integration to actually work.
2020-08-21 01:37:10 +08:00
bunnie
247c8ca2b7
add full montgomery scalar multiply implementation in hardware
2020-08-21 00:07:54 +08:00
bunnie
9c3d34345c
add hardware acceleration to differential point add and double
...
hacky implementation, but it'll let us do a performance benchmark
2020-08-20 15:47:02 +08:00
Henry de Valence
fb01f65761
Merge branch 'master' into develop
2020-08-17 18:22:21 -07:00
Henry de Valence
b307c155c9
Merge branch 'release/3.0.0'
2020-08-17 18:21:42 -07:00
Henry de Valence
6d96eb7796
Bump version to 3.0.0.
2020-08-17 18:20:26 -07:00
Henry de Valence
c68b30fe13
Merge pull request #330 from isislovecruft/fix/move-coc
...
Move CoC section from CONTRIBUTING.md to new file.
2020-08-17 18:12:00 -07:00
Henry de Valence
2ee61938ee
Merge pull request #327 from huitseeker/digests-0.9
...
Update sha2, digest to 0.9
2020-08-17 18:11:32 -07:00
Isis Lovecruft
91a0faea35
Move CoC section from CONTRIBUTING.md to new file.
...
This helps Github's UI show that we have one and autolink to it.
2020-08-18 00:44:52 +00:00
bunnie
a2835635e7
add test for BRZ instruction
...
a simple loop that does factorial.
2020-08-15 05:51:21 +08:00
bunnie
ee8e719b06
add test case to exercise the re-overflow corner case
...
it doesn't happen, i think there is a property of the math
that makes us safe but i can't reason about what it is.
2020-08-14 18:21:56 +08:00
bunnie
2d3e37495d
increase number of random multiply vectors
2020-08-14 14:42:26 +08:00
bunnie
f61a91c6b6
add some more rigorous test cases
...
catch the case that the 14th limb overflows into the 15th at the
final carry propagate step
2020-08-14 02:29:10 +08:00
bunnie
6e6ac6ade4
add multiply vectors
2020-08-13 04:46:51 +08:00
bunnie
616801bd4c
add test is not working
2020-08-10 18:32:46 +08:00
bunnie
c8bd4211f6
edit test to include normalization after add
2020-08-08 02:11:00 +08:00
bunnie
8091a73b80
try to turn off "std" inclusion for the assembler crate
...
...unsuccessful tho. Rust features are hard.
2020-08-07 23:39:02 +08:00
bunnie
f29aad18da
add a rule to ignore the .bin outputs that are test vectors
2020-08-07 23:13:38 +08:00
bunnie
8545f381d7
add project settings
2020-08-07 23:13:09 +08:00
bunnie
11131146be
add test vector generation infrastructure for engine25519
2020-08-07 23:12:05 +08:00
isis agora lovecruft
5038fcf50a
Merge pull request #308 from isislovecruft/fix/pippenger-typo
...
Fix typo of Pippenger's name.
2020-07-01 01:14:10 +00:00
François Garillot
6afd8ff212
Update sha2, digest to 0.9
2020-06-15 07:16:04 -04:00