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": 24206147216197161168800749713794253097360175090858672931928135053300720098263302199858364218289609440982336278990382306871237304598903324389321581163067390799950591531027240968685694116269131503639449889176152844762069948482523881916749982047987022468266212702666839762407435492828573898843940379718086699114362935636941751781265771147161683942488081675636897258681038605775448214108367751993197065197897191643383564344845162403884453232776839031251175853763144050201714908798915379664014184087913029794762586324582687266708240565299184055542301695610690632283322864399949456272972805575542427101734659832898527078677,
|
|
"LambdaN": 12103073608098580584400374856897126548680087545429336465964067526650360049131651099929182109144804720491168139495191153435618652299451662194660790581533695399975295765513620484342847058134565751819724944588076422381034974241261940958374991023993511234133106351333419881203717746414286949421970189859043349557024310086219410477072748318487742739042777792072287595135146879759069811629897245323954026052320936771957200007617646395169281432170783039473463063929011840852856768971615621594157956524540453364109564204089902134439307707012750590999769391124192112406139571469549041961432228411468903953868707176804446220918,
|
|
"PhiN": 24206147216197161168800749713794253097360175090858672931928135053300720098263302199858364218289609440982336278990382306871237304598903324389321581163067390799950591531027240968685694116269131503639449889176152844762069948482523881916749982047987022468266212702666839762407435492828573898843940379718086699114048620172438820954145496636975485478085555584144575190270293759518139623259794490647908052104641873543914400015235292790338562864341566078946926127858023681705713537943231243188315913049080906728219128408179804268878615414025501181999538782248384224812279142939098083922864456822937807907737414353608892441836,
|
|
"P": 179347946090591232979004413467496114724106046225268285989836604667382648146344194469177416555876441903499128428642839375190430980577227664241391921790897322284182306801422645287586317496796904441090376224911593079648968209876923078326921963018765802933604070645734447691803536882758254809782260398835871487663,
|
|
"Q": 134967518412339594141270096718702349678420045267053782420908241589925942702229066876111596537378876195970035900967030238355459387858045288062857804114223046211819064054261491188111953542035218625453081691491289918180656941396759795215840950343540604537439650815116924658304811869846364384214985080453763149179
|
|
},
|
|
"NTildei": 21292308023632581181198289513256444712308177801737936647775817904740223548406904422170044682275257431431315028868812996459652895591102638516259762883465973519952131280804384814232387700680465986308431924126707276653911414520068641511680988816011871501850341616042836704357314055609697319128691732749390230733118584785117859207288385865822542643892497962395263780902218346962474333143560514409678469862250207440675303576178809488957082804485944446225032956319749038833642485681946267959990181650810435723731755627693490958402541015772649403218387116342415453965710612578891122860080475980560084488514089712934013739781,
|
|
"H1i": 10831225843690707396172531846155417775408096606230693395561759792282094678514600816663347869748948927505461627250570771469119140533266318664691242702922064589002187370016461932692821183944924214028723777910582605988927471997349297521445102656640882914313554019001846714781268540993241638422699989309757114468372538565383360692272346876551928106077801669528247179220120217249637229522616724754257258083101113512544707361337883525289735840725085893321825199206160881032044949147621462286088226618153585859120352649591156109044603116965314576319186213041333237791389005373191075396808136402252420638572954706343475908070,
|
|
"H2i": 4991965837400033768069871541004261063135140339060316531025599789490182217840042887067892359235887756385798984623237629620830856274859128458536333773291056510054624668039972342087961925191332459597054733496082441434562377800869508105363637144128472861641912914050632826421706717769073047295100882343425757237060029497292934794235607113222710491355298594636899811931946648047811854321545995037508110462735244536402582555614331492107887985617810756386029525697146027973237905139754077084275404126435090136074550061845235250362605148173730041087342012184590101575852114035899339078096801167678750962125251280492197772961,
|
|
"Alpha": 12467492105857811088598302265413624870073963876683904115549792420718244667761381421662233615179766169159301747248171001794324121204205514721429411527556422474730559769416341734269127480499195450639280845254825411204958752546880935506192531533720763834591807162931020700005834118949784903275082231197821697666438147146351494072123177022074937176886845914902073137041551203992966070392159928400957103356072574222408552466272801416682546062655619490834257111523501863902732635107221589080095740033399178826436203367881462984740273038927833790029236756977691739321073706751435418243818216736984796273413201551593241377745,
|
|
"Beta": 3092900433075562857730870820153450098596803035900780910921649947445993103830332321974327778125342409105586526032316509076255129195987441893584663089182631340709377726700826265326534446647512383669109999128575227820698317763796087420267115770338098171394186245601090936193819697220860084235631876618972161796183290283437286083205410206306343632327839214997496752240852724669373936278550652726231441900252091569385961205860343319878986257063348059860099745005755756686589281908205169093609472515987160341040392705054879831617033293887998222621876114828567467692369732362792302927316059137471591649253327901378732843111,
|
|
"P": 74729784971772398429529650577831893381748271883890759436992442977820668409070982447343050413507330989104807520612734716141235130908592245155908358608877871002264282164414418683122667727977065469038707348970011499327641988120347830292987877895400315533431826053732774970762953513006237872470250023861544322019,
|
|
"Q": 71230995886296547844286770147735054870849465379812954762983713904489759233350383164729814676282726841672841443277930887612560071405593846902336747858766127875795287445507639632096218873801296532878661675646715168843741383193429019420970355899846985062779107421621481264788608899327914283807067035047912995689,
|
|
"Xi": 9402118216258077893650330587582519725761707076837026476585485684614098285800,
|
|
"ShareID": 59857031556462284717113645237935722663924232558699039874171440941840562677325,
|
|
"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
|
|
]
|
|
}
|
|
} |