Michael Hamburg
|
dc3deb8c81
|
Don't use vector arithmetic in generic arch_32
|
7 years ago |
Michael Hamburg
|
b55ac5ebd1
|
Ristretto for Ed448
|
7 years ago |
Michael Hamburg
|
03ba02f90d
|
more ristretto
|
7 years ago |
Michael Hamburg
|
b295ef7669
|
rename decaf_sponge_* apis to decaf_sha3_*. Also reverse order on decaf_sponge_hash to make it the same as decaf_shake*_hash and decaf_sha3*_hash
|
7 years ago |
Michael Hamburg
|
ff1208c269
|
simpler ristretto
|
7 years ago |
Michael Hamburg
|
dd193a3ec5
|
ristretto work
|
7 years ago |
Michael Hamburg
|
b29565fdfd
|
fix assertion on x25519/x448(0), thanks Olivier Cheron
|
7 years ago |
Michael Hamburg
|
1c8b8cb77d
|
fix warning due to MACRO?4:3 in elligator.c
|
7 years ago |
Michael Hamburg
|
0a6e968275
|
Revise LICENSE.txt to reflect current state of source. Still MIT licensed, but I think there is no longer any Stanford code.
|
7 years ago |
Michael Hamburg
|
3d5962c330
|
fix two warnings pointed out by Sofia Celi
|
7 years ago |
Michael Hamburg
|
4e809c79cf
|
ok so the cpuid problem was an fPIC issue. Hopefully this fixes it...
|
7 years ago |
Michael Hamburg
|
cdb0ce047d
|
avoid warning for uninitialized entropy; change asm cpuid to look more like cpuid.h in the vain hope that this will compile better
|
7 years ago |
Michael Hamburg
|
17a77a5820
|
replace default -mavx2 -mbmi2 with -march=native
|
7 years ago |
Mike Hamburg
|
513e646081
|
restore declaration of deisogenize which was causing build failure in gcc
|
7 years ago |
Michael Hamburg
|
c6a1cd8db6
|
better test
|
7 years ago |
Michael Hamburg
|
a4c02cc759
|
better test
|
7 years ago |
Michael Hamburg
|
72484a054f
|
test to make sure bug is gone
|
7 years ago |
Michael Hamburg
|
488e2548bd
|
fix(?! needs testing) a critical bug in SHAKE XOF: the state would never transition to SQUEEZING, resulting in incorrect outputs
|
7 years ago |
Michael Hamburg
|
b86b9648c3
|
decaffeination in with test cases
|
7 years ago |
Michael Hamburg
|
acff03b3c7
|
eddsa_to_decaf_opt working
|
7 years ago |
Michael Hamburg
|
7691fb1380
|
eddsa_to_decaf_opt working
|
7 years ago |
Michael Hamburg
|
b423ac359c
|
working on decaffeinating ed25519
|
7 years ago |
Michael Hamburg
|
92b2cb464a
|
sha3 functions can now return an error (likely to be ignored) if output length is to large. Also add shake###_output
|
7 years ago |
Michael Hamburg
|
aee921fc55
|
fix a bug in the test scripts, thanks Johan Pascal
|
7 years ago |
Michael Hamburg
|
dd9bcf2355
|
remove dynamic throw lists, since theyre deprecated
|
7 years ago |
Michael Hamburg
|
5717005809
|
dont look for immintrin on GCC pre-4.4. Also dont build with -maes; need to autoconfig other flags
|
7 years ago |
Michael Hamburg
|
51e3296fd5
|
aligned(32) -> VECTOR_ALIGNED internally; still need (32) in interfaces, at least for now, because the library might have been compiled with eg avx2 but the caller might be compiled without
|
7 years ago |
Michael Hamburg
|
e69e00269f
|
rename publicly-visible macros to DECAF_ namespace
|
7 years ago |
Michael Hamburg
|
ec4ece08f0
|
add decaf_edXXX_convert_public_key_to_xXXX; thanks Johan Pascal
|
7 years ago |
Michael Hamburg
|
6e2ce5201f
|
internal VECTOR_ALIGNED instead of __attribute((aligned(32))), thanks Olivier
|
7 years ago |
Michael Hamburg
|
beba37006a
|
deprecated macros, thanks Olivier Chéron and Tomi Ollila
|
7 years ago |
Michael Hamburg
|
f22d082756
|
fix? register allocation on x86-64
|
7 years ago |
Michael Hamburg
|
20c37ec77f
|
Merge branch 'master' into decaf
|
7 years ago |
Michael Hamburg
|
a81ab9bc0d
|
Merge branch 'decaf' into curve25519-work
|
7 years ago |
Michael Hamburg
|
9ca05bc0fa
|
separate warnflags for c,c++
|
7 years ago |
Michael Hamburg
|
35f7e2ccf8
|
gen_code now actually generates the code
|
7 years ago |
Michael Hamburg
|
aef9fd8677
|
add DEFAULT_SOURCE in word.h
|
7 years ago |
Michael Hamburg
|
bd2a516210
|
generator should now be python3 clean
|
7 years ago |
Michael Hamburg
|
42a969202c
|
add _DEFAULT_SOURCE for more modern glibc
|
7 years ago |
Michael Hamburg
|
4a13ad4b8b
|
unroll loops in arch_32/f_impl.c except on -Os
|
7 years ago |
Michael Hamburg
|
bb1eef3712
|
tear out STROBE. Probably will re-introduce later
|
7 years ago |
Michael Hamburg
|
4caefd358b
|
oops also in test_ct
|
7 years ago |
Michael Hamburg
|
af606fb195
|
x448 generate_key -> derive_public_key to match ed448 nomenclature
|
7 years ago |
John-Mark Gurney
|
c0297e395e
|
fix tab/space issue..
|
8 years ago |
John-Mark Gurney
|
065e3eaabf
|
add setup.py... this builds the library and copies it over to the
build dir so it will get installed... Also update the library finding
code to look in the modules install directory.
|
8 years ago |
John-Mark Gurney
|
84b7976f04
|
add an ignore to ignore the *.pyc files..
|
8 years ago |
John-Mark Gurney
|
9a253cb310
|
remove id
|
8 years ago |
John-Mark Gurney
|
849cbd0ff2
|
add python wrapper for libdecaf for ed448 curves. curve 25519
is not yet supported, but should be simple to add.
Installation is not supported yet as the library make file does not
support an install target.
|
8 years ago |
Mike Hamburg
|
b8f6e3d007
|
change x86-64 non-BMI2 asm constraints for gcc compat; thanks Olivier Cheron
|
8 years ago |
Michael Hamburg
|
9e3702bb85
|
fix ticket #1
|
8 years ago |