| // Copyright lowRISC contributors. |
| // Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| // SPDX-License-Identifier: Apache-2.0 |
| [ |
| { |
| n: 3919162083251336642192351633496794302906580049305958557825324787533417409605498101297744080400761708754127615674387464957050269715215460661988862529942195641601345415998612890165854958868912498995039303965539250636107298107906018039697492340113189528704093261917535477387912687645681287158280999405195685013478316016729453249699919486972825814208744849057579058208795830526650969689715081258225179091390399359165968356694039551817393579598142883691818504645034525843928486946396891911634073335629842187291997061008395201203347714484318317568035729866329656808409610860098227328315174770135915141428848738799949002969896019327557159173208029656252391222794180804307187606432231242598622065212528903143978330564946752723308541365922594950661806715185639890087540364605693812899104684486289491979677067704307736645409662937527003146213085012948980391732148401702398671137464488539585288726432817869637127204432521484227725175631 |
| e: 65537 |
| msg: 36022907861361583406434051941 |
| msg_len: 12 |
| valid: true |
| comment: Hardcoded test with valid signature |
| signature: 3449614258750271941309794904394896049012127589074713026134150726694801087914074400281367887865413113905483112337872577002517034357216210570940633550666673815631289187500318093468393095635669895301236734663722213136337362810513344399497703498779754149241728189717468716045115291335932459333220908268142975570104133887395199065730132414974596429846825641691302032639752456633155805686102144233281332324476667016566319814322381577182925339353059965787782031597646874308826549596393440947797874341388450608996678559884965874308273715345079314377673915419808615475500145586821669788710941625607440127886218104272996703403449709136203712204705651402835149394983147776525654435458020698461954436497261779368370973178939720845780781645422771441930987219195263526148083943058260237040557225458041582226004020445348806872622829416563213713466125252213966584370285694743932587935030697204316910675902620968978986440418206832408722345259 |
| } |
| { |
| n: 3919162083251336642192351633496794302906580049305958557825324787533417409605498101297744080400761708754127615674387464957050269715215460661988862529942195641601345415998612890165854958868912498995039303965539250636107298107906018039697492340113189528704093261917535477387912687645681287158280999405195685013478316016729453249699919486972825814208744849057579058208795830526650969689715081258225179091390399359165968356694039551817393579598142883691818504645034525843928486946396891911634073335629842187291997061008395201203347714484318317568035729866329656808409610860098227328315174770135915141428848738799949002969896019327557159173208029656252391222794180804307187606432231242598622065212528903143978330564946752723308541365922594950661806715185639890087540364605693812899104684486289491979677067704307736645409662937527003146213085012948980391732148401702398671137464488539585288726432817869637127204432521484227725175631 |
| e: 65537 |
| msg: 36022907861361583406434051941 |
| msg_len: 12 |
| valid: false |
| comment: Hardcoded test with invalid signature |
| signature: 0 |
| } |
| { |
| n: 4773504016956487163121469526785923996895426427713617415288018655003800146112559029055833227660385566825345363958290309748057515267351489172254322699892961757873181451131221505508882574613460656346467705024328485611055458034953250891191284188859006201479983787553671160797304464534207223199757269688370995568121280736276410648901391992061325850502887244702024362462038747218157554083299777465811245160523926741879187912585793143274699471153140703099552617816760112011368764552593412952844563775240764292432865540301214987284372802095653942677343707079235585355228771046582413904992941419275992969248096102549277483941929516279726216170780615912775647988377903057401103257805886902936421618698562177981157012354240971248430902579083294719598759659689957424983572847341544509023418439169151251350269981889860280279574923077454331683344300152652760471476371061258054645742582078180012289539574829181295424285308549042757886634189 |
| e: 65537 |
| msg: 88736981025128964911130358671162297067209091808532575792028275657708270810240 |
| msg_len: 32 |
| valid: false |
| comment: Hardcoded test with invalid signature (signature > n; specifically, the signature is the valid signature + n) |
| signature: 5098698285581919362742515855638520351817881438717870562547465020346455987833046755007409055367654934604774968808364097652122497485189417888979860730643330356995265326911347187531646163571815589201301466736157882076593651483268023007837381568221570299380875057541823011224797979449066182481776914454026053032579378570510775054036731232193430247058236930114622611150288264662092987067768340918541564715898423335728207247939437692140743372945829016377656219759165935355571036062667719162066865243185534028727961136621730151733774211926257871105230009311685889186656110894902701734950153062306857430268630778452621112714484365312187262509342943124709476378085559776124943941334691934585457288014542291649182018344611070426198712853890637345955808238532935463906034008517960901073143479139087558623235393738610934375006127460985609738482199527728078305119887223787078891508378530754668899262638291731510486041335733214218273449932 |
| } |
| ] |