Skip to content

Commit

Permalink
Add test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
yycen committed Aug 11, 2023
1 parent 20893b4 commit 8fb7bef
Show file tree
Hide file tree
Showing 12 changed files with 1,104 additions and 0 deletions.
121 changes: 121 additions & 0 deletions test/_ecdsa_fixtures/keygen_data_0.json

Large diffs are not rendered by default.

121 changes: 121 additions & 0 deletions test/_ecdsa_fixtures/keygen_data_1.json

Large diffs are not rendered by default.

121 changes: 121 additions & 0 deletions test/_ecdsa_fixtures/keygen_data_2.json

Large diffs are not rendered by default.

121 changes: 121 additions & 0 deletions test/_ecdsa_fixtures/keygen_data_3.json

Large diffs are not rendered by default.

121 changes: 121 additions & 0 deletions test/_ecdsa_fixtures/keygen_data_4.json

Large diffs are not rendered by default.

121 changes: 121 additions & 0 deletions test/_ecdsa_fixtures/keygen_data_5.json

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions test/_eddsa_fixtures/keygen_data_0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"Xi": 5406360208987295528490577421473056907184623132328707373166369025262217735647,
"ShareID": 38201780132073037710507769557482659757872279387242720274630910227944460086538,
"Ks": [
38201780132073037710507769557482659757872279387242720274630910227944460086538,
38201780132073037710507769557482659757872279387242720274630910227944460086539,
38201780132073037710507769557482659757872279387242720274630910227944460086540,
38201780132073037710507769557482659757872279387242720274630910227944460086541,
38201780132073037710507769557482659757872279387242720274630910227944460086542,
38201780132073037710507769557482659757872279387242720274630910227944460086543
],
"BigXj": [
{
"Curve": "ed25519",
"Coords": [
47794364797902700065170424206840940079092404796452817408378876995075182404314,
33486353290412327943405069158287111325987047909915004786973183783458150061520
]
},
{
"Curve": "ed25519",
"Coords": [
12799904272118983250568358237535724872369227587802754832208431782489714602861,
404635931533117079322035853505646701052033333168133742974241300494242482983
]
},
{
"Curve": "ed25519",
"Coords": [
11355235416858910457388268968714070151735518186319202513833450075627527715025,
16671744139443090546412586806137526607508332171881872046908991643130433409831
]
},
{
"Curve": "ed25519",
"Coords": [
8192015469252029655786511499533680340091093795467820048474768987533803432267,
32667156980713256835384821291189006768130310596972176889146101896452134886768
]
},
{
"Curve": "ed25519",
"Coords": [
37756528290740255614365495740003676112614112864637411892349149489484357055768,
39999504355089031013368692020157194310486854671809933163082306556933955660498
]
},
{
"Curve": "ed25519",
"Coords": [
13594786450783675103261841401593592915476727223531276679092762654283719177112,
14585523230617712521647247552972042534538103593646070642807661963703968985927
]
}
],
"EDDSAPub": {
"Curve": "ed25519",
"Coords": [
33619987094559509524443278485343500879057750430809437204166985731514658457173,
17563537583772219426649014830297178316168400919675927392330596337260816582523
]
}
}
63 changes: 63 additions & 0 deletions test/_eddsa_fixtures/keygen_data_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"Xi": 6510184190105826869472888447823493814584457321425627477355566756212431215418,
"ShareID": 38201780132073037710507769557482659757872279387242720274630910227944460086539,
"Ks": [
38201780132073037710507769557482659757872279387242720274630910227944460086538,
38201780132073037710507769557482659757872279387242720274630910227944460086539,
38201780132073037710507769557482659757872279387242720274630910227944460086540,
38201780132073037710507769557482659757872279387242720274630910227944460086541,
38201780132073037710507769557482659757872279387242720274630910227944460086542,
38201780132073037710507769557482659757872279387242720274630910227944460086543
],
"BigXj": [
{
"Curve": "ed25519",
"Coords": [
47794364797902700065170424206840940079092404796452817408378876995075182404314,
33486353290412327943405069158287111325987047909915004786973183783458150061520
]
},
{
"Curve": "ed25519",
"Coords": [
12799904272118983250568358237535724872369227587802754832208431782489714602861,
404635931533117079322035853505646701052033333168133742974241300494242482983
]
},
{
"Curve": "ed25519",
"Coords": [
11355235416858910457388268968714070151735518186319202513833450075627527715025,
16671744139443090546412586806137526607508332171881872046908991643130433409831
]
},
{
"Curve": "ed25519",
"Coords": [
8192015469252029655786511499533680340091093795467820048474768987533803432267,
32667156980713256835384821291189006768130310596972176889146101896452134886768
]
},
{
"Curve": "ed25519",
"Coords": [
37756528290740255614365495740003676112614112864637411892349149489484357055768,
39999504355089031013368692020157194310486854671809933163082306556933955660498
]
},
{
"Curve": "ed25519",
"Coords": [
13594786450783675103261841401593592915476727223531276679092762654283719177112,
14585523230617712521647247552972042534538103593646070642807661963703968985927
]
}
],
"EDDSAPub": {
"Curve": "ed25519",
"Coords": [
33619987094559509524443278485343500879057750430809437204166985731514658457173,
17563537583772219426649014830297178316168400919675927392330596337260816582523
]
}
}
63 changes: 63 additions & 0 deletions test/_eddsa_fixtures/keygen_data_2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"Xi": 5625920684445908967672123671930316076947209208788132263278349428191910858789,
"ShareID": 38201780132073037710507769557482659757872279387242720274630910227944460086540,
"Ks": [
38201780132073037710507769557482659757872279387242720274630910227944460086538,
38201780132073037710507769557482659757872279387242720274630910227944460086539,
38201780132073037710507769557482659757872279387242720274630910227944460086540,
38201780132073037710507769557482659757872279387242720274630910227944460086541,
38201780132073037710507769557482659757872279387242720274630910227944460086542,
38201780132073037710507769557482659757872279387242720274630910227944460086543
],
"BigXj": [
{
"Curve": "ed25519",
"Coords": [
47794364797902700065170424206840940079092404796452817408378876995075182404314,
33486353290412327943405069158287111325987047909915004786973183783458150061520
]
},
{
"Curve": "ed25519",
"Coords": [
12799904272118983250568358237535724872369227587802754832208431782489714602861,
404635931533117079322035853505646701052033333168133742974241300494242482983
]
},
{
"Curve": "ed25519",
"Coords": [
11355235416858910457388268968714070151735518186319202513833450075627527715025,
16671744139443090546412586806137526607508332171881872046908991643130433409831
]
},
{
"Curve": "ed25519",
"Coords": [
8192015469252029655786511499533680340091093795467820048474768987533803432267,
32667156980713256835384821291189006768130310596972176889146101896452134886768
]
},
{
"Curve": "ed25519",
"Coords": [
37756528290740255614365495740003676112614112864637411892349149489484357055768,
39999504355089031013368692020157194310486854671809933163082306556933955660498
]
},
{
"Curve": "ed25519",
"Coords": [
13594786450783675103261841401593592915476727223531276679092762654283719177112,
14585523230617712521647247552972042534538103593646070642807661963703968985927
]
}
],
"EDDSAPub": {
"Curve": "ed25519",
"Coords": [
33619987094559509524443278485343500879057750430809437204166985731514658457173,
17563537583772219426649014830297178316168400919675927392330596337260816582523
]
}
}
63 changes: 63 additions & 0 deletions test/_eddsa_fixtures/keygen_data_3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"Xi": 3249457573216584720380197990382761148964405639672510208546205536916241001280,
"ShareID": 38201780132073037710507769557482659757872279387242720274630910227944460086541,
"Ks": [
38201780132073037710507769557482659757872279387242720274630910227944460086538,
38201780132073037710507769557482659757872279387242720274630910227944460086539,
38201780132073037710507769557482659757872279387242720274630910227944460086540,
38201780132073037710507769557482659757872279387242720274630910227944460086541,
38201780132073037710507769557482659757872279387242720274630910227944460086542,
38201780132073037710507769557482659757872279387242720274630910227944460086543
],
"BigXj": [
{
"Curve": "ed25519",
"Coords": [
47794364797902700065170424206840940079092404796452817408378876995075182404314,
33486353290412327943405069158287111325987047909915004786973183783458150061520
]
},
{
"Curve": "ed25519",
"Coords": [
12799904272118983250568358237535724872369227587802754832208431782489714602861,
404635931533117079322035853505646701052033333168133742974241300494242482983
]
},
{
"Curve": "ed25519",
"Coords": [
11355235416858910457388268968714070151735518186319202513833450075627527715025,
16671744139443090546412586806137526607508332171881872046908991643130433409831
]
},
{
"Curve": "ed25519",
"Coords": [
8192015469252029655786511499533680340091093795467820048474768987533803432267,
32667156980713256835384821291189006768130310596972176889146101896452134886768
]
},
{
"Curve": "ed25519",
"Coords": [
37756528290740255614365495740003676112614112864637411892349149489484357055768,
39999504355089031013368692020157194310486854671809933163082306556933955660498
]
},
{
"Curve": "ed25519",
"Coords": [
13594786450783675103261841401593592915476727223531276679092762654283719177112,
14585523230617712521647247552972042534538103593646070642807661963703968985927
]
}
],
"EDDSAPub": {
"Curve": "ed25519",
"Coords": [
33619987094559509524443278485343500879057750430809437204166985731514658457173,
17563537583772219426649014830297178316168400919675927392330596337260816582523
]
}
}
63 changes: 63 additions & 0 deletions test/_eddsa_fixtures/keygen_data_4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"Xi": 7113688314959159238862212862813060726184689818714957396772574516386460229400,
"ShareID": 38201780132073037710507769557482659757872279387242720274630910227944460086542,
"Ks": [
38201780132073037710507769557482659757872279387242720274630910227944460086538,
38201780132073037710507769557482659757872279387242720274630910227944460086539,
38201780132073037710507769557482659757872279387242720274630910227944460086540,
38201780132073037710507769557482659757872279387242720274630910227944460086541,
38201780132073037710507769557482659757872279387242720274630910227944460086542,
38201780132073037710507769557482659757872279387242720274630910227944460086543
],
"BigXj": [
{
"Curve": "ed25519",
"Coords": [
47794364797902700065170424206840940079092404796452817408378876995075182404314,
33486353290412327943405069158287111325987047909915004786973183783458150061520
]
},
{
"Curve": "ed25519",
"Coords": [
12799904272118983250568358237535724872369227587802754832208431782489714602861,
404635931533117079322035853505646701052033333168133742974241300494242482983
]
},
{
"Curve": "ed25519",
"Coords": [
11355235416858910457388268968714070151735518186319202513833450075627527715025,
16671744139443090546412586806137526607508332171881872046908991643130433409831
]
},
{
"Curve": "ed25519",
"Coords": [
8192015469252029655786511499533680340091093795467820048474768987533803432267,
32667156980713256835384821291189006768130310596972176889146101896452134886768
]
},
{
"Curve": "ed25519",
"Coords": [
37756528290740255614365495740003676112614112864637411892349149489484357055768,
39999504355089031013368692020157194310486854671809933163082306556933955660498
]
},
{
"Curve": "ed25519",
"Coords": [
13594786450783675103261841401593592915476727223531276679092762654283719177112,
14585523230617712521647247552972042534538103593646070642807661963703968985927
]
}
],
"EDDSAPub": {
"Curve": "ed25519",
"Coords": [
33619987094559509524443278485343500879057750430809437204166985731514658457173,
17563537583772219426649014830297178316168400919675927392330596337260816582523
]
}
}
63 changes: 63 additions & 0 deletions test/_eddsa_fixtures/keygen_data_5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"Xi": 3240489636218150992463710059724463781585355872411947093565042985747244376691,
"ShareID": 38201780132073037710507769557482659757872279387242720274630910227944460086543,
"Ks": [
38201780132073037710507769557482659757872279387242720274630910227944460086538,
38201780132073037710507769557482659757872279387242720274630910227944460086539,
38201780132073037710507769557482659757872279387242720274630910227944460086540,
38201780132073037710507769557482659757872279387242720274630910227944460086541,
38201780132073037710507769557482659757872279387242720274630910227944460086542,
38201780132073037710507769557482659757872279387242720274630910227944460086543
],
"BigXj": [
{
"Curve": "ed25519",
"Coords": [
47794364797902700065170424206840940079092404796452817408378876995075182404314,
33486353290412327943405069158287111325987047909915004786973183783458150061520
]
},
{
"Curve": "ed25519",
"Coords": [
12799904272118983250568358237535724872369227587802754832208431782489714602861,
404635931533117079322035853505646701052033333168133742974241300494242482983
]
},
{
"Curve": "ed25519",
"Coords": [
11355235416858910457388268968714070151735518186319202513833450075627527715025,
16671744139443090546412586806137526607508332171881872046908991643130433409831
]
},
{
"Curve": "ed25519",
"Coords": [
8192015469252029655786511499533680340091093795467820048474768987533803432267,
32667156980713256835384821291189006768130310596972176889146101896452134886768
]
},
{
"Curve": "ed25519",
"Coords": [
37756528290740255614365495740003676112614112864637411892349149489484357055768,
39999504355089031013368692020157194310486854671809933163082306556933955660498
]
},
{
"Curve": "ed25519",
"Coords": [
13594786450783675103261841401593592915476727223531276679092762654283719177112,
14585523230617712521647247552972042534538103593646070642807661963703968985927
]
}
],
"EDDSAPub": {
"Curve": "ed25519",
"Coords": [
33619987094559509524443278485343500879057750430809437204166985731514658457173,
17563537583772219426649014830297178316168400919675927392330596337260816582523
]
}
}

0 comments on commit 8fb7bef

Please sign in to comment.