mirror of
https://github.com/luxfi/tss.git
synced 2026-10-30 15:14:51 +00:00
* Add modProof in ECDSA-keygen * Reduce test param to reduce github workflow load * Add test fixtures * Fix EDDSA keygen example * Restore test fixtures * Compress modproof * use warning instead of fatal in logger to prevent panic * Add more checks in range proof * Regenerate preparams for older version * Reset test params and regenerate fixtures * Update ecdsa-resharing with Paillier key proofs * Add a switch to optional turn off Pai key proofs * Update README for caution of preparams updated * add: ecdsa proof session byte --------- Co-authored-by: ycen <[email protected]> Co-authored-by: ZhAnGeek <[email protected]>
107 lines
20 KiB
JSON
107 lines
20 KiB
JSON
{
|
|
"PaillierSK": {
|
|
"N": 21505960474634451313164479453847246698949068816168543450757887402781638444470085463014709362627652554915905319404707097558936051290374460876928738652082570278593089424429424860613076608894979923762290356343173648507348492292368062802168911752824853129719568062188174453668131066706292448200533705323966142811976260936406546600112652090553738417255733994944221554428167638466246670287061019896463881779810197390238307556892485807795138448959345532929528137209046373349550262355661974463926686395148775662060236988349400478971416621513539908477667503550115870803074998306032371456267566517610267867391193312424397935929,
|
|
"LambdaN": 10752980237317225656582239726923623349474534408084271725378943701390819222235042731507354681313826277457952659702353548779468025645187230438464369326041285139296544712214712430306538304447489961881145178171586824253674246146184031401084455876412426564859784031094087226834065533353146224100266852661983071405841009806066377556363073246749711470669165019696231902877884780913836332354683627070599850615352747373967268175605638682997172469714109771448131783193870242315301315250229103155846998372468463602427490952881430803570477256250706776089292559939188573801844886050618595015608293574001360336821185472476925563642,
|
|
"PhiN": 21505960474634451313164479453847246698949068816168543450757887402781638444470085463014709362627652554915905319404707097558936051290374460876928738652082570278593089424429424860613076608894979923762290356343173648507348492292368062802168911752824853129719568062188174453668131066706292448200533705323966142811682019612132755112726146493499422941338330039392463805755769561827672664709367254141199701230705494747934536351211277365994344939428219542896263566387740484630602630500458206311693996744936927204854981905762861607140954512501413552178585119878377147603689772101237190031216587148002720673642370944953851127284,
|
|
"P": 135350838307960257887337158821773449178953711379177117359015513540391289755315134832276760618216543327963109761712067613269505433440747687880030354506739527233631716724697521173335989032180031336807107200570956811703022411478868437314661062648778515879021174080716096058754325767045869446778292179625314996503,
|
|
"Q": 158890485965831229499168438232542026738450244172580631313382563098182715822378630922987419930888159314340661443969140828531288076090378302153234216314566361485315915130506246978896700618031817120398147882015582060127439697533257918984421321022960207320364052124079085366296653602561677746970530187845231812143
|
|
},
|
|
"NTildei": 22979378405138893589556133897521754683725883868866200124855036635451629318130978502381364148180090802113404290988890710862982965215323041776178270890557477521858892737028622171038670089616608354902721183960978083779850093600290031995183687729693685221986115197995396115379213021683786733329612441286209467155931087319154615773299643384467163395079212511182788668809520330816917834693871112365384301753056859879036141250397887546537837356226101620007886380291232478721279115321079877121757818532329118011682430897866452653899829996834157870634757693124417404439069108796004756126487268680259509658734527559041787231993,
|
|
"H1i": 11181628178709225486839172762330742659423724114653226835819397085381257304105257566937592702765853135360490266257083192830870077666275960663723976086310235934350572650480643691450656438652769853018111519504498965737440967647717818784480763727200258889702626069322469743838822112397983393755250519010298110374742466783922925487057158527359106287066137656141433380846258646250390469229071336860949790965072334352962521185854509550842351266605524163986806331802767702307634084162000820507840777885400805512071448246749124225768822589052733208381949931869152348048701648349767479285228581634453249080578720203097097514457,
|
|
"H2i": 11624783050789373146135145081851167787144912685550655481254753886486876945039110175782945406523699017594888407389014880101840909734903251718897005090801524812985842948051908677768943122267838594824514706829210878634123695856103833890298708489700110861686115821849284312876390414092087922712380944749991516509300532655840012200292315982914838173353675847647411050340787544373391445319951232858137394531780600427092367231102522845204917484802409447548360146964783744378214393625590646132406343132441415352603518333034984771651345199420810327304168670235976704426708270671344968176457707557409261114405916868900751036145,
|
|
"Alpha": 16240540962261166004211970670812971351480203151037237582769828801814689525653208090910663340159713344814790831486977215754908287497313853309804006226093506601752934119941709910453812455423784202324364228489440854102131033285288331999985864329846570322740304539785450985749381916050412115349790862491262399788251446971690344814332203163069600100340564179945886153017458386787068823782780403673848142124799383400779585915079517483545276218709468874820194872973213460799414555908836840291102289352318644049681699355227143818533468279900814783675013067347821048414318605018045347020498434873018402652391925998151906681941,
|
|
"Beta": 1723486697459218047345604944772577398595639174446372449733469017724037824646478073064036284409738447924923034349448915684865600027347429475331153769234544742762414746360506319339234569983871611652069442411059465102055257649507600765942646810180088097484550429298851479894694459800203980598253964419400048854156356200276777683732373765075415376989469613023233067835757787743964029401819512542611693471394988936548362080624781089282229422881682692850815018172571782677656491615083411197752197777949430384797246039266880644209517450862071108122536325302378370382044491103427488921489419539584033950495975894166924830598,
|
|
"P": 69497403900123055294512695371047987091100944784074526174548213609978119582884267995733221177643872461269822394244331609122728065030878548482603080986500743257678469453891586349369737631257188634428830962126742079718576995795162060648624476811816692784132596469903818449790670542178059258561916780466601681803,
|
|
"Q": 82662722330474726002641887846339461045747814112775706988763403904216639639472599582628541320325221413967353610050290850627993655720017622068669883265061738024090693419531380792968916424065879550143820413896195191562138594863014885149637306127518260357308690216048155754633897361170932639172413877671942265399,
|
|
"Xi": 55538075200338111200259293729261221540075119582900623624784541200756428158033,
|
|
"ShareID": 59857031556462284717113645237935722663924232558699039874171440941840562677327,
|
|
"Ks": [
|
|
59857031556462284717113645237935722663924232558699039874171440941840562677323,
|
|
59857031556462284717113645237935722663924232558699039874171440941840562677324,
|
|
59857031556462284717113645237935722663924232558699039874171440941840562677325,
|
|
59857031556462284717113645237935722663924232558699039874171440941840562677326,
|
|
59857031556462284717113645237935722663924232558699039874171440941840562677327
|
|
],
|
|
"NTildej": [
|
|
25107490776052945575790163886980744121852075793230702092031092910315419013111724585107741342302647097816029689069156500419649067226989207335403141846585589456214707140363806918024254341805807847344462552372749802373561411623464018306841140152736878126807643286464707464144491205717529334857128642937311664356950670200785184493082292988908234459722618881044613550904554507333793627844968327344517418351075665978629614435510466378211576459017353838583039397930178040557511540818370302033808216608330168909665648805527673068950251148153088673193641290377199021831923470431364077200419352774733381328839199321622201645277,
|
|
25347321253130040165669198464747637594561084543160875890419030859255281770152898118930416834987900972848102624649324216864737441361174703716495863609322476087408028387965233238285802668149470294745292681572931725456001393301305606431470624857854001369500295623909754190673037775702216922020351830224578270444039819022050738946522292544390839130641700344286132805509002888252787493089063466842186838763536749516490621525613122365080892293964923531037888659136998882617232588657938236946761539565880695421135081565601958037809654399412376843665230604400657963765839300124472222517361299084266084873325229770349534163801,
|
|
21292308023632581181198289513256444712308177801737936647775817904740223548406904422170044682275257431431315028868812996459652895591102638516259762883465973519952131280804384814232387700680465986308431924126707276653911414520068641511680988816011871501850341616042836704357314055609697319128691732749390230733118584785117859207288385865822542643892497962395263780902218346962474333143560514409678469862250207440675303576178809488957082804485944446225032956319749038833642485681946267959990181650810435723731755627693490958402541015772649403218387116342415453965710612578891122860080475980560084488514089712934013739781,
|
|
30862742439593241585708940738147962226366718050501165321237842572436669411737554224118298772517486812375362296405238805912443683584456437953738131350045938787466841040220797401584428446174730486886913719857484102733725336155131475996004306581440515141136345274453183481082707684162136893963291137234740111704738897973555849945611157507740799100242851006495725457213328987753002399448999330977114104566617308036743409045315165685308303262653843118404666538923863063081603256452671995759383632696290823794779551389200638930288120410329395673124242908818519519330118489440718827371013019585524024323106350150372893461689,
|
|
22979378405138893589556133897521754683725883868866200124855036635451629318130978502381364148180090802113404290988890710862982965215323041776178270890557477521858892737028622171038670089616608354902721183960978083779850093600290031995183687729693685221986115197995396115379213021683786733329612441286209467155931087319154615773299643384467163395079212511182788668809520330816917834693871112365384301753056859879036141250397887546537837356226101620007886380291232478721279115321079877121757818532329118011682430897866452653899829996834157870634757693124417404439069108796004756126487268680259509658734527559041787231993
|
|
],
|
|
"H1j": [
|
|
947268510305326446073634507724913447936734171636912400557401318775427643035322780043344044871778218536295489345747992085537349997385753459769909944243608187249295932620582767525243046024431872134558350124222211815956076009495579000118546531817489783543950708796804986346442485595844139040615169351977594594085460608932273701244091036215057114383266995365365226626217411088112095883376367775475107954293975266374705057036496941779873360807750450088301028537780564210964889218799820623451941121168857520561736570209171665676631521362739174866629364755585577716299287494251706261472512421959632149833106509542229972234,
|
|
3880611998802971481733631912608098494196262778323132826239497201888814778206565779038508295122457059564658474446013387570155222804192995563846151508944721213706421845709980882611956739258515443677158361364276786837940404625680574358803765552923094221476122072037719326145018613827892918963555625064867923347247217043400958580189757825375746004023039968242295816205605839011845166061436412284630990719600784460170159747697580968014664501419463157750169639809058771175198577548493272625218114926414363501638734650889306046401503137104184980837461670247903219705017626260602184962369771097797399062562513353217770565531,
|
|
10831225843690707396172531846155417775408096606230693395561759792282094678514600816663347869748948927505461627250570771469119140533266318664691242702922064589002187370016461932692821183944924214028723777910582605988927471997349297521445102656640882914313554019001846714781268540993241638422699989309757114468372538565383360692272346876551928106077801669528247179220120217249637229522616724754257258083101113512544707361337883525289735840725085893321825199206160881032044949147621462286088226618153585859120352649591156109044603116965314576319186213041333237791389005373191075396808136402252420638572954706343475908070,
|
|
7379047495513012741768052948709028575585555485999633742902872635999567523931496397934138722681164927896829567152505037328183413349521525062101059035871423959216606865846805649228889409341121623645276995775466833580910793875325853108618331288089921648034916011339650914136927737993536151052450142994995957064434847339676185441357826456108823451579572271337009853306909251138234707237745952438799718674765118984490163866366131359672038740868456547662412411582409607895270049993194846640187000629665900662666631953358892682510778724505052220510687061629914270273761091793976303803161711621832014373503323366016634630406,
|
|
11181628178709225486839172762330742659423724114653226835819397085381257304105257566937592702765853135360490266257083192830870077666275960663723976086310235934350572650480643691450656438652769853018111519504498965737440967647717818784480763727200258889702626069322469743838822112397983393755250519010298110374742466783922925487057158527359106287066137656141433380846258646250390469229071336860949790965072334352962521185854509550842351266605524163986806331802767702307634084162000820507840777885400805512071448246749124225768822589052733208381949931869152348048701648349767479285228581634453249080578720203097097514457
|
|
],
|
|
"H2j": [
|
|
369382535766024782757053511943484023707590301248858510505619543451105355366349475321600848828578055383112252081262740450957242693258711711573898608872557215737850380375149487180022863563616178163440683814662347260503803753150609907077552201623376131096249150783552367189222999632342102603491398593162398739317344334427947844029843540621897547082716967267285286086227255034044222917612280937408214149645699005643727644027239999997789724357422423935120674874708262799420509411969660535187315093553065000790565517535769427338692918882249946664488170641583406635227373502217028982923125561321182147198392699754510926843,
|
|
15969079226966183502382475788401338523488393107499291032002044296474627394217596503568693748659928310923714663501210832583018731196547300812154979725769686288361401778491755680431944887852103221593745623856378860738388368922715577130878948380171217565406616753411777571011139446871620361320986832525400727639941640937364793530207582464684574638726091525574744197708378588020682070096454926012197394347212926657909811288708691651092564968341401161265195710381753419063864921935963903871011102644256286369641306466313805437318014970058871604639507243703932226939038829663830985880788590281053591951619664726739953671018,
|
|
4991965837400033768069871541004261063135140339060316531025599789490182217840042887067892359235887756385798984623237629620830856274859128458536333773291056510054624668039972342087961925191332459597054733496082441434562377800869508105363637144128472861641912914050632826421706717769073047295100882343425757237060029497292934794235607113222710491355298594636899811931946648047811854321545995037508110462735244536402582555614331492107887985617810756386029525697146027973237905139754077084275404126435090136074550061845235250362605148173730041087342012184590101575852114035899339078096801167678750962125251280492197772961,
|
|
23064781826724373162059309790268929175652024853806919970585039362565178134882146726172590403276064143405780341854075186376431326467367967581674319153076910116152907650926195389275015857432169732825486479963071595528043281158690951801576413614814760292960443710324174730418861380180819802157714395735784311928236401433597447641321165573011917942945482934111736905171027083754748263370419119297225245442731766002872688005764140266867116940180286239156118891196076208004108028110204585118322786319227036687507415330523815192275901354672284703528348057050369197376684323825935099945673108591425248965307506340817771591441,
|
|
11624783050789373146135145081851167787144912685550655481254753886486876945039110175782945406523699017594888407389014880101840909734903251718897005090801524812985842948051908677768943122267838594824514706829210878634123695856103833890298708489700110861686115821849284312876390414092087922712380944749991516509300532655840012200292315982914838173353675847647411050340787544373391445319951232858137394531780600427092367231102522845204917484802409447548360146964783744378214393625590646132406343132441415352603518333034984771651345199420810327304168670235976704426708270671344968176457707557409261114405916868900751036145
|
|
],
|
|
"BigXj": [
|
|
{
|
|
"Curve": "secp256k1",
|
|
"Coords": [
|
|
95225479287625109140551300097635441933915975782583911515343531112654602880814,
|
|
113745830257261593369068705146261698861441809650110061237310141136031506190085
|
|
]
|
|
},
|
|
{
|
|
"Curve": "secp256k1",
|
|
"Coords": [
|
|
19909020077923456087962021369246692987785610885502332606764981730113023110067,
|
|
60076350170225224442893367050676875983156697199114782416705437692213004111433
|
|
]
|
|
},
|
|
{
|
|
"Curve": "secp256k1",
|
|
"Coords": [
|
|
15656029217860558075932288367874977299995954233140419375302609508233656030817,
|
|
88293512119423239639079954683198441748713533855873639211876694257553830935691
|
|
]
|
|
},
|
|
{
|
|
"Curve": "secp256k1",
|
|
"Coords": [
|
|
15825259379483050804368543653451724857970141958098760943464945060863314262898,
|
|
46510254063758718632499733093297318465018983961512441577134679077369278627011
|
|
]
|
|
},
|
|
{
|
|
"Curve": "secp256k1",
|
|
"Coords": [
|
|
101163968142129288084264305494084191253074413300747651525777392366080313581620,
|
|
19458713537429380315587854195885123660811710862685360770347430223563133437479
|
|
]
|
|
}
|
|
],
|
|
"PaillierPKs": [
|
|
{
|
|
"N": 26862170591381186117144639121800907711621441110694985906073099493104224258631997616337459884349048315436649598594766212786190249139720542986841637789367089751895746802368064104115662988051298443105665522549043623368088781757399812306242052676963161647378421463432813771675598887217547787422261194939872523185392600641669797286300834348740665304662829760721139573070204170902129262797162145018079946053388917283347495995703735479819366865064178966988962612678607190805087224162314010583832802161588455461100682306289046720947974174001828045869589748392310605782826097558345479795972515955139600004112610785604729710757
|
|
},
|
|
{
|
|
"N": 28569426937909813160816852590974326182398707183206563780157489308279811863376093908221211903705518704565348072663191903836343635499091979154072341420741676813730020871016039693403607409462919125031372066954550208350129974140220983698064393340951930706962427015297577648437601064168848334164842111410896962654571826800302294766234904003147622246551178854009373086133349568572584906962173774282191211244583738166117722131851467394725949126097483624199330170392292115956857647929895014719727669500452359666570376448590229755339126098108084513655351630004806845329610086536348250655270492083872210115099541350980087869489
|
|
},
|
|
{
|
|
"N": 24206147216197161168800749713794253097360175090858672931928135053300720098263302199858364218289609440982336278990382306871237304598903324389321581163067390799950591531027240968685694116269131503639449889176152844762069948482523881916749982047987022468266212702666839762407435492828573898843940379718086699114362935636941751781265771147161683942488081675636897258681038605775448214108367751993197065197897191643383564344845162403884453232776839031251175853763144050201714908798915379664014184087913029794762586324582687266708240565299184055542301695610690632283322864399949456272972805575542427101734659832898527078677
|
|
},
|
|
{
|
|
"N": 27422133357851370316963785322815189604726575748114057717984837411771756070272482926958898758576215271907291562151935508777240048370919087691109363558754627052939183040039501310348824807217194423462067796268979252972390229592512803802105741520833681021737552492269574490364955499455488503619050939812934483556240372784852668293634144857453177818024665828049715609921864852313661181061967825839048394234894185931968992541576874445544364635775263264674967563604397356712492758200667296917972566268326712277912968541425534456091226445588857731271210711997226828598037017820056231841183710665446107873358077925757871906777
|
|
},
|
|
{
|
|
"N": 21505960474634451313164479453847246698949068816168543450757887402781638444470085463014709362627652554915905319404707097558936051290374460876928738652082570278593089424429424860613076608894979923762290356343173648507348492292368062802168911752824853129719568062188174453668131066706292448200533705323966142811976260936406546600112652090553738417255733994944221554428167638466246670287061019896463881779810197390238307556892485807795138448959345532929528137209046373349550262355661974463926686395148775662060236988349400478971416621513539908477667503550115870803074998306032371456267566517610267867391193312424397935929
|
|
}
|
|
],
|
|
"ECDSAPub": {
|
|
"Curve": "secp256k1",
|
|
"Coords": [
|
|
76266489189895419469020567248501927603989841769205411177925179985114092514949,
|
|
17959638069442050620236663888410692330316152082152911789514411031446499229348
|
|
]
|
|
}
|
|
} |