Mike Hamburg
|
f0581de246
|
clean up some stuff
|
9 years ago |
Mike Hamburg
|
9bbeb61b1f
|
protocol examples
|
9 years ago |
Mike Hamburg
|
6665bb497e
|
begin Strobe instance
|
9 years ago |
Mike Hamburg
|
a6b94cb600
|
begin work on strobe
|
9 years ago |
Mike Hamburg
|
3fe31a7e9a
|
get rid of std::string
|
9 years ago |
Mike Hamburg
|
2eb89045d5
|
using SecureBuffer instead of std::string (todo change documentation; remove ptr+len?
|
9 years ago |
Mike Hamburg
|
ba92a551d4
|
initialize point/scalar from rng; still needs work
|
9 years ago |
Mike Hamburg
|
172477e76a
|
working on shake C++ wrapper
|
9 years ago |
Mike Hamburg
|
3c2152abea
|
point validation in hxx
|
9 years ago |
Mike Hamburg
|
cf26bc48cf
|
fix a 32-bit cleanness issue in decaf_fast; allow NOINIT constructors in hxx
|
9 years ago |
Mike Hamburg
|
f62092f285
|
fix *= etc bugs in C++ wrapper
|
9 years ago |
Mike Hamburg
|
18e7c31691
|
more tests and benchmarks
|
9 years ago |
Mike Hamburg
|
59ab6ce535
|
working on c++ benchmark
|
9 years ago |
Mike Hamburg
|
f7324fa927
|
fix bug in decaf_fast double scalar mul. progressing in tests and documentation
|
9 years ago |
Mike Hamburg
|
faeb1fb092
|
decaf tests coming online
|
9 years ago |
Mike Hamburg
|
2dacf20e3e
|
add scalar invert; unopt and opt; tests. It might be faster with dedicated montsqr and/or blinded egcd, but this is good enough for now
|
9 years ago |
Michael Hamburg
|
59ed8f566c
|
change gf to a struct so that its alignment works on earlier clang
|
9 years ago |
Mike Hamburg
|
746b050584
|
optimizing and cleanup; there is still a perf regression in decaf_fast but it is now smaller, and there isnt as big a space regression due to more careful noinline
|
9 years ago |
Mike Hamburg
|
be0b5b8325
|
fix some mul/sqr-after-add bugs on arch_neon_experimental. Deprecate arch_neon because the experiment seems to be a success anyway
|
9 years ago |
Mike Hamburg
|
93491671fa
|
gcc cleanliness
|
9 years ago |
Mike Hamburg
|
a5834af9fc
|
test is in and passing; slightly simplified so far but nothing major
|
9 years ago |
Michael Hamburg
|
543df14916
|
decaf direct scalarmul montgomery version coded but WRONG
|
10 years ago |
Michael Hamburg
|
e84fd3f1fd
|
define experimental direct_scalarmul, which can be implemented as monty ladder (at least for comparison purposes at the beginning)
|
10 years ago |
Michael Hamburg
|
ae24f96e09
|
copying existing decaf impl to "fast" version. not that fast yet, but uses native field mul code. Also rework precomputed tables to be agnostic of underlying impl
|
10 years ago |
Michael Hamburg
|
4eb8567730
|
decaf signatures, but they dont work yet
|
10 years ago |
Michael Hamburg
|
608eb2e065
|
Begin work on decaf_crypto. Have an ECDH analog now. Add decaf_bzero. Remove a bunch of testing from bench.c.
|
10 years ago |
Mike Hamburg
|
b274e35d9a
|
Add "precomputed" API to decaf. It doesnt actually precompute in the mini decaf impl, but it passes tests.
|
10 years ago |
Michael Hamburg
|
ade8246a3d
|
bench shake; API_VIS on shake
|
10 years ago |
Michael Hamburg
|
f4c76b7487
|
SHAKE and SHA3 instances (experimental) based on code from David Leon Gil. Tested by hand but needs automatic KAT. I might also want to include Keyak or some similar duplex construction eventually.
|
10 years ago |
Mike Hamburg
|
994812cf14
|
differentiate curve
|
10 years ago |
Mike Hamburg
|
c50e8e8bf1
|
decaf is now 32-bit clean
|
10 years ago |
Michael Hamburg
|
26cff2228d
|
fix decaf decode identity
|
10 years ago |
Mike Hamburg
|
bcf7c88da8
|
fix another couple undeclared / misnamed function bugs
|
10 years ago |
Michael Hamburg
|
06be9ef253
|
decaf double and double-scalarmul, but needs to be tested
|
10 years ago |
Michael Hamburg
|
d4f4d0ed60
|
ready for prime time?
|
10 years ago |
Michael Hamburg
|
83c59a645a
|
decaf scalars work
|
10 years ago |
Michael Hamburg
|
0dc21dd9d7
|
negation properties for elligator
|
10 years ago |
Michael Hamburg
|
dc1e4edc24
|
decaf elligator
|
10 years ago |
Mike Hamburg
|
b3f7d97977
|
decaf scalarmul signed w=2 working. Surprisingly only twice as slow as Goldilocks
|
10 years ago |
Michael Hamburg
|
ffb44b4c94
|
decaf tuning and simplification
|
10 years ago |
Michael Hamburg
|
07906ec1a4
|
testing for decaf
|
10 years ago |
Michael Hamburg
|
3988b1ad7f
|
decaf first cut
|
10 years ago |
Mike Hamburg
|
e251453d15
|
simple extended form is in. Probably simplify it more...
|
10 years ago |
Mike Hamburg
|
812163ff60
|
decaf uses high bit instead of low bit
|
10 years ago |
Michael Hamburg
|
4333b7c1f1
|
pass pathological decaf test cases!
|
10 years ago |
Michael Hamburg
|
12a5d0890c
|
decaf seems to work for monty; needs more testing, negative testing. Now should match sage script exactly.
|
10 years ago |
Michael Hamburg
|
4f27b22a1d
|
decaf ladder is "correct", but not yet serializing to decaf
|
10 years ago |
Mike Hamburg
|
26c04d14ca
|
another test issue found by scan-build
|
10 years ago |
Mike Hamburg
|
89165c7021
|
fix test issue found by scan-build
|
10 years ago |
Mike Hamburg
|
a59228c69c
|
const** related fixes for gcc
|
10 years ago |