Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
597 commits
Select commit Hold shift + click to select a range
5e1c3fc
[doc] modify how to build GMP
herumi Oct 20, 2020
776fab5
mulSmallUnit supports 12
herumi Oct 21, 2020
34fdf9a
add addCTProj
herumi Oct 21, 2020
ad59c9e
test addCTProj for Zero
herumi Oct 25, 2020
2497535
check FreeBSD in commom.mk
herumi Oct 27, 2020
8e98639
default build without GMP
herumi Oct 27, 2020
04a5034
Merge remote-tracking branch 'origin/dev' into master
herumi Oct 27, 2020
9f97f25
Revert "default build without GMP"
herumi Oct 27, 2020
95b32ec
modify condition for DUMP_JIT
herumi Oct 27, 2020
b32aecd
v1.26
herumi Oct 27, 2020
3af5eaa
[she] add decWithZkpDec
herumi Nov 5, 2020
0704eb8
[she] add decWithZkpDec C api
herumi Nov 5, 2020
2420cee
[she] algo of decWithZkpDec
herumi Nov 6, 2020
17f3e80
fix macro condition
herumi Nov 10, 2020
cb16b0a
v1.27
herumi Nov 10, 2020
702b390
mcl.js contains mcl.wasm
herumi Nov 10, 2020
edc48bc
[she] add makeHash for ZKP
herumi Nov 22, 2020
467fa05
[she] makeHash supports C++03
herumi Nov 22, 2020
28af4a6
add llvm-IR for easy build
herumi Nov 24, 2020
5fd1dc6
[java] mk files for android
herumi Nov 24, 2020
48253e7
[she] add ZKP of dec(c)=0 for CipherTextGT
herumi Nov 30, 2020
d0da379
[she] refactor makeHash
herumi Dec 2, 2020
b0abe61
support m1 mac
herumi Dec 14, 2020
250f7bd
v1.28
herumi Dec 14, 2020
b9e6a9c
Merge remote-tracking branch 'origin/m1-mac'
herumi Dec 14, 2020
54cf1ca
reduce benchmark time
herumi Dec 14, 2020
4407af6
update doc
herumi Dec 14, 2020
27f51cb
update zkp for dec(c) = 0
herumi Dec 18, 2020
58836c5
[she] add decWithZkpDec for CipherGT
herumi Dec 18, 2020
3374bec
[she] fix size of sheZkpDec
herumi Dec 18, 2020
0d12384
[she] move PublicKey::verify to Aux::verify
herumi Dec 18, 2020
5cd31b6
[she] add test of ZkpDecGT
herumi Dec 18, 2020
8ecd8cf
avoid computing in MCL_DUMP_JIT
herumi Dec 19, 2020
700751e
v1.29
herumi Dec 20, 2020
5fd72f0
[she] add desc of decWithZkpDec
herumi Dec 25, 2020
5129230
remove entry mcl-wasm in Makefile
herumi Dec 27, 2020
081db6d
mov she-wasm entry in Makefile to she-wasm
herumi Dec 27, 2020
5ea94c2
Add Fr.setLittleEndianMod to JNI
gallmann-ubique Jan 12, 2021
1b08a14
Add G1.isValidOrder() to JNI
gallmann-ubique Jan 12, 2021
1b8b3fc
Merge branch 'gallmann-ubique-feature/jni-extensions'
herumi Jan 13, 2021
7fb2ee5
Add Fr.setHash() to JNI
gallmann-ubique Jan 13, 2021
69f1435
Merge branch 'gallmann-ubique-feature/jni-extensions'
herumi Jan 14, 2021
df853a5
add sample of Fr::sub
herumi Jan 15, 2021
1912889
sample/pairing.exe shows values
herumi Jan 15, 2021
8befb75
sample/pairing.exe uses Fr::setHashOf
herumi Jan 15, 2021
ee1eef3
remove one adox in Fp::mul
herumi Jan 21, 2021
c50b061
adcx -> adc
herumi Jan 21, 2021
758b1df
tweet a loop
herumi Jan 21, 2021
106082b
clear top bit
herumi Jan 22, 2021
0731c98
remove unnecessary add
herumi Jan 24, 2021
addd488
tweat mulAdd
herumi Jan 24, 2021
6030ded
reorder registers
herumi Jan 24, 2021
340389a
keep rip+pL_
herumi Jan 24, 2021
184cada
tweat montgomery6_1
herumi Jan 24, 2021
4e0e7c9
Merge pull request #96 from herumi/dev
herumi Jan 24, 2021
70e8b3f
refactor montgomery6_1
herumi Jan 26, 2021
f71698f
optimize FpDbl::mod
herumi Jan 26, 2021
802d04a
Merge pull request #97 from herumi/dev
herumi Jan 27, 2021
6fcddcf
v1.30
herumi Jan 28, 2021
8b1bd27
fix : call setOrder in init for isValidOrder
herumi Jan 28, 2021
c1bcf31
v1.31
herumi Jan 28, 2021
8d64a0c
test of wasm
herumi Feb 2, 2021
a31bde3
add mulT
herumi Feb 2, 2021
a3dd0f8
add karatsuba
herumi Feb 2, 2021
32b1f2f
test N = 8, 12
herumi Feb 2, 2021
7dae2ec
add montT
herumi Feb 2, 2021
e61e56a
add test of mont12
herumi Feb 3, 2021
f2f39fa
fix comment
herumi Feb 3, 2021
a7728b2
add sqrT
herumi Feb 3, 2021
a3293c2
add sqrT
herumi Feb 3, 2021
c346f74
add modT
herumi Feb 4, 2021
dc8964d
add sqrMont
herumi Feb 4, 2021
215106e
replace bool to unit32_t
herumi Feb 5, 2021
908fa76
Merge branch 'dev'
herumi Feb 5, 2021
769ca10
disable log
herumi Feb 5, 2021
c0be1e9
rename low_funct.hpp to low_func_wasm.hpp
herumi Feb 7, 2021
5415598
replace bool to uint32_t
herumi Feb 7, 2021
c0d6565
remove unused code
herumi Feb 7, 2021
2378fd2
a little optimization of portable mulUnit
herumi Feb 7, 2021
b730448
Merge branch 'dev'
herumi Feb 8, 2021
64be787
reduce one wrapper of mulPre for wasm
herumi Feb 8, 2021
ebbb5cf
remove fpDbl_sqrPreA_
herumi Feb 8, 2021
52a9f4d
remove mulPreC
herumi Feb 8, 2021
6afa976
rename local template function
herumi Feb 8, 2021
19616e1
Merge branch 'dev'
herumi Feb 8, 2021
3be1f32
v1.32
herumi Feb 8, 2021
b4abccd
fix : disable bmi2 for old cpus
herumi Feb 8, 2021
c08437c
v1.33
herumi Feb 8, 2021
9a3add8
use adcx instead of adc
herumi Feb 9, 2021
28c8a0b
field extension supposes non-fullbit
herumi Feb 10, 2021
bcf5961
add mul2
herumi Feb 10, 2021
40343a4
add mul2
herumi Feb 11, 2021
630abea
add Fp2::mul2
herumi Feb 11, 2021
744176a
use mul2
herumi Feb 11, 2021
4c56c8e
remove unnecessary comments
herumi Feb 12, 2021
46fc61d
enable mul2Test for isFullBit
herumi Feb 12, 2021
27cc37c
Merge branch 'dev'
herumi Feb 12, 2021
d960faa
[go] strict check of the length in Deserialize
herumi Feb 12, 2021
6612374
[go] define const for SetMapToMode
herumi Feb 13, 2021
d33f8c6
[go] add SetBigEndianMode
herumi Feb 13, 2021
b06f7f6
[go] add testMapToG1
herumi Feb 13, 2021
49b27dd
Merge branch 'dev'
herumi Feb 13, 2021
3f65ce2
move ecdsa code to ecdsa-wasm
herumi Feb 14, 2021
4b5869f
refactor Fp6::mul
herumi Feb 15, 2021
91a2ecf
add testABCD
herumi Feb 15, 2021
1018345
add cmake option MCL_STATIC_LIB
herumi Feb 16, 2021
f9d7d40
fp_tower assumes p < W/4
herumi Feb 16, 2021
3423988
use no-throw-version
herumi Feb 16, 2021
6b5a64c
a little optimize Fp6::mul
herumi Feb 16, 2021
ae5b3a7
_
herumi Feb 16, 2021
ed74c3b
use mul2 in Fp6::mul
herumi Feb 16, 2021
9f1df6d
use mul2
herumi Feb 16, 2021
0c2babc
remove unused code
herumi Feb 16, 2021
8ffb9f4
Merge branch 'dev'
herumi Feb 16, 2021
2852262
Merge branch 'staticlib'
herumi Feb 16, 2021
988b1c6
v1.34
herumi Feb 16, 2021
b46aa28
a little optimize Fp6::sqr
herumi Feb 17, 2021
371399a
optimize Fp2Dbl::mul_xi
herumi Feb 17, 2021
8bd785d
fix test of Fp2Dbl::mul_xi
herumi Feb 17, 2021
a7f2f65
fix generic fp2Dbl_mul_xi
herumi Feb 17, 2021
d2b2ad8
use llvm-add instead of C for Mul2
herumi Feb 17, 2021
b19156b
disable bench in debug mode
herumi Feb 18, 2021
b226409
prepare for fp2Dbl_{mul,sqr}Pre
herumi Feb 18, 2021
ed8dc12
Merge branch 'dev'
herumi Feb 18, 2021
7c04215
add -fPIC to cmake
herumi Feb 18, 2021
d3d1504
change build status to travis-ci.com
herumi Feb 18, 2021
765ca7b
under refactoring fp_add
herumi Feb 19, 2021
acd4ef5
under refactoring fp_add
herumi Feb 19, 2021
d59dd09
remove unused code
herumi Feb 19, 2021
aa6b6d0
refactor fp_add
herumi Feb 19, 2021
1fbb857
fp_sub without jmp
herumi Feb 20, 2021
6ff8b16
refactor Fp2::sub
herumi Feb 20, 2021
022d37f
factor Fp2Dbl::sub
herumi Feb 21, 2021
b566c3a
refactor FpDbl2::mul_xi
herumi Feb 21, 2021
fd26ac6
reduce memory access in Fp2::mul
herumi Feb 21, 2021
194057f
use mov_mm
herumi Feb 21, 2021
0785143
Merge pull request #101 from herumi/dev
herumi Feb 21, 2021
bf703d6
enable Fp2Dbl_mulPre
herumi Feb 22, 2021
fcc57b1
unify fp2_mul and fp2Dbl_mupPre
herumi Feb 22, 2021
5dc683f
enable Fp2Dbl::sqrPre
herumi Feb 23, 2021
7813e6a
remove old fp_sub
herumi Feb 23, 2021
f248a91
tweat Fp2Dbl::subSpecial
herumi Feb 23, 2021
847e976
remove unused code
herumi Feb 23, 2021
e261605
check it later
herumi Feb 23, 2021
5f4559c
Merge branch 'dev'
herumi Feb 23, 2021
35a39d2
v1.35
herumi Feb 23, 2021
0d01560
a little optimize Fp6::inv
herumi Feb 24, 2021
5d703a9
update Fp12::inv
herumi Feb 24, 2021
285b445
move Fp6::mul
herumi Feb 24, 2021
bc4ed30
fast Fp4::sqrPre
herumi Feb 25, 2021
6f5801b
clean
herumi Feb 25, 2021
66c2852
fast 256-bit Fp::mod
herumi Feb 25, 2021
35db3f9
use fqrPre + mod for N = 4
herumi Feb 25, 2021
a314e6a
remove unused code
herumi Feb 25, 2021
95f2d4a
check undefined label
herumi Feb 26, 2021
5cad43b
make mulPre, sqrPre for mul/sqr
herumi Feb 26, 2021
b7a47dc
try mulPre + mod but it is slower
herumi Feb 26, 2021
e1fc81a
fast Fp::sqrPre
herumi Feb 26, 2021
70e9032
define fp_sqrPreL
herumi Feb 26, 2021
00ee0e8
skip bench2 in debug
herumi Feb 26, 2021
9c7b1ad
Merge branch 'dev'
herumi Feb 26, 2021
4fb3fec
v1.36
herumi Feb 26, 2021
952638e
use Fp::mul2 for ec
herumi Feb 27, 2021
050a577
look prime behavior
herumi Feb 28, 2021
62b67cf
add mulSmall
herumi Mar 1, 2021
2d55524
init smallModp
herumi Mar 2, 2021
f52743f
add Fp::mul9
herumi Mar 2, 2021
ef3643f
use github action
herumi Mar 3, 2021
dbd58cc
add test_go
herumi Mar 3, 2021
8752e27
remove warning of gmp_util
herumi Mar 3, 2021
98fc193
use -O3 instead of -Ofast
herumi Mar 3, 2021
7bfe60c
Merge branch 'dev'
herumi Mar 3, 2021
1317ddc
[java] add test to main.yml
herumi Mar 8, 2021
fd4b408
[ci] show dmesg if error
herumi Mar 8, 2021
922a935
fix crash on haswell
herumi Mar 8, 2021
f52f466
remove warnings
herumi Mar 8, 2021
01c81c6
ci test on haswell
herumi Mar 8, 2021
7d0087d
fix main.yml
herumi Mar 8, 2021
b28f608
ci test of bn_test with DEBUG=1
herumi Mar 8, 2021
e974e3e
Merge branch 'dev'
herumi Mar 8, 2021
b91dbed
disable ci test by sde
herumi Mar 8, 2021
48349a1
fix: small errors
0xflotus Mar 9, 2021
f3c3961
Merge pull request #107 from 0xflotus/patch-1
herumi Mar 10, 2021
4eb4b2b
[python] add makefile
herumi Mar 10, 2021
317934b
fix test
herumi Mar 10, 2021
e6cc402
[python] LD_LIBRARY_PATH is necessary for linux
herumi Mar 10, 2021
94c59af
Merge branch 'dev'
herumi Mar 11, 2021
f4afd32
v1.37
herumi Mar 11, 2021
a06bfd3
[java] add JAVA_INC_DIR
herumi Mar 12, 2021
f5fbc3e
split montRed to w/wo NF
herumi Mar 12, 2021
6d38eee
disable montRedNF after updating asm
herumi Mar 12, 2021
9b5da40
disable test_go in main.yml
herumi Mar 12, 2021
ac580a1
[java] specify libmcl.a to build
herumi Mar 12, 2021
6bdaec0
[java] disable NIST_P521 test
herumi Mar 12, 2021
ec661dc
set MCL_MAX_BIT_SIZE=512 and so disable test of NIST_P521
herumi Mar 12, 2021
63d2707
note for MCL_MAX_BIT_SIZE
herumi Mar 12, 2021
78392e2
[java] add make clean before test
herumi Mar 12, 2021
1335112
bench of llvm
herumi Mar 13, 2021
a9eef7f
_
herumi Mar 13, 2021
570396e
use textbook mul for N = 8
herumi Mar 13, 2021
9325c34
[cs] add missing functions, some arithmetic operator overloads, stati…
UndeadRat22 Mar 14, 2021
33643b9
[llvm] add pack and split
herumi Mar 14, 2021
2e39b86
remove tests for small p
herumi Mar 15, 2021
414204f
reduce supporting bitSize
herumi Mar 15, 2021
b965c2c
reduced base.ll
herumi Mar 15, 2021
89a0e35
update x86-64 asm
herumi Mar 15, 2021
f50e57c
update x86-64mac asm
herumi Mar 15, 2021
6d8a7d9
enable montRedNF
herumi Mar 15, 2021
36e08dc
asm/aarch64 generated by clang-4.0.0
herumi Mar 15, 2021
266d201
llvm_test supports 32bit
herumi Mar 15, 2021
8047bfe
arm.s generated by clang-11
herumi Mar 15, 2021
f01790b
x86 asm generated by llvm-11
herumi Mar 15, 2021
014ecdd
use montRed for sqrMont
herumi Mar 15, 2021
2fc942b
Merge branch 'dev'
herumi Mar 15, 2021
fad6e7b
set CFLAGS/LDFLAGS only if necessary
herumi Mar 15, 2021
301051d
update doc
herumi Mar 15, 2021
b8b5c37
v1.38
herumi Mar 15, 2021
c4451d9
[skip ci] disable ffi/java test
herumi Mar 15, 2021
d9ef1cf
Merge branch 'feature/cs-additions' of https://github.com/UndeadRat22…
herumi Mar 15, 2021
43df0c3
Merge branch 'UndeadRat22-feature/cs-additions' into dev
herumi Mar 15, 2021
c2d843e
[cs] fix correct value of test for mapToG1
herumi Mar 15, 2021
9ee8206
[cs] add MulVec for G1
herumi Mar 15, 2021
67cea40
[cs] add MulVec for G2
herumi Mar 15, 2021
24e72ab
Merge commit '67cea40'
herumi Mar 19, 2021
1564151
use MCL_SIZEOF_UNIT intead of CYBOZU_OS_BIT
herumi Mar 19, 2021
6b2d38e
v1.39
herumi Mar 19, 2021
5221e86
simplify generic add
herumi Mar 20, 2021
2a82e25
[cs] add some arithmetic operator overloads for g2, static factory, f…
UndeadRat22 Mar 20, 2021
d91c0fc
[wasm] reduce cast operation
herumi Mar 23, 2021
2895287
Merge branch 'feature/cs-additions' of https://github.com/UndeadRat22…
herumi Mar 24, 2021
aa3e88e
[cs] check that default value is zero
herumi Mar 24, 2021
19aad60
[cs] remove unnecessary set
herumi Mar 24, 2021
1456a13
[cs] rename variables
herumi Mar 24, 2021
c76f208
Merge branch 'dev'
herumi Mar 24, 2021
c41e9e4
disable JIT unless both mulx and adox are supported
herumi Mar 24, 2021
ea8c103
test by valgrind
herumi Mar 24, 2021
05213a0
remove dmesg in main.yml
herumi Mar 24, 2021
daea66e
Merge branch 'dev'
herumi Mar 24, 2021
e939911
v1.40
herumi Mar 24, 2021
de14882
[skip ci][java] add Fr::inv and Fp::inv
herumi Mar 26, 2021
65c8d5f
add test for Lagrange
herumi Mar 26, 2021
b389732
[cs][skip cs] pass test of Fr::Recover
herumi Mar 26, 2021
5a24245
[cs][skip cs] add G1, G2::Recover/Share
herumi Mar 27, 2021
3fc2ca7
Merge branch 'cs_tmp'
herumi Mar 27, 2021
e15ab2a
[doc][skip cs] about C#
herumi Mar 27, 2021
5304c1f
remove unused header
herumi Apr 3, 2021
3f9cce8
don't use exception in xbyak
herumi Apr 3, 2021
c4a3560
remove non-mulx-code in jit
herumi Apr 10, 2021
d32e456
add sample of g1only she
herumi Apr 14, 2021
0c1e26a
Merge remote-tracking branch 'upstream/master'
gupadhyaya Apr 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: test
on: [push]

jobs:
build:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: lscpu
- run: sudo apt install valgrind
- run: make bin/pairing.exe -j4
- run: valgrind bin/pairing.exe
- run: make clean
# - run: wget https://software.intel.com/content/dam/develop/external/us/en/documents/downloads/sde-external-8.63.0-2021-01-18-lin.tar.bz2
# - run: bzip2 -dc sde-external-8.63.0-2021-01-18-lin.tar.bz2 | tar xvf -
# - run: make bin/bn_test.exe DEBUG=1 -j4
# - run: sde-external-8.63.0-2021-01-18-lin/sde64 -hsw -- bin/bn_test.exe
- run: make test_ci DEBUG=1 -j4
- run: make clean
- run: make test_ci DEBUG=1 -j4 CXX=clang++
- run: make clean
# - run: make test_go
# - run: sudo apt install openjdk-8-jdk
# - run: make -C ffi/java test JAVA_INC=-I/usr/lib/jvm/java-8-openjdk-amd64/include
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ GTAGS
*.exe
*.swp
.cvsignore
build/
external/
Testing/
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

Loading