drbg_cavs_data_hash.c 380 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387
  1. /*
  2. * Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
  3. *
  4. * Licensed under the OpenSSL license (the "License"). You may not use
  5. * this file except in compliance with the License. You can obtain a copy
  6. * in the file LICENSE in the source distribution or at
  7. * https://www.openssl.org/source/license.html
  8. */
  9. /*
  10. * Small subset of DRBG test vectors from:
  11. * https://csrc.nist.gov/projects/cryptographic-algorithm-validation-program/
  12. * The index in the names given below (e.g- kat1680)- refers to the CAVS index.
  13. */
  14. #include <openssl/obj_mac.h>
  15. #include "internal/nelem.h"
  16. #include "drbg_cavs_data.h"
  17. static const unsigned char kat1_nor_entropyin[] = {
  18. 0x13, 0x6c, 0xf1, 0xc1, 0x74, 0xe5, 0xa0, 0x9f, 0x66, 0xb9, 0x62, 0xd9,
  19. 0x94, 0x39, 0x65, 0x25,
  20. };
  21. static const unsigned char kat1_nor_nonce[] = {
  22. 0xff, 0xf1, 0xc6, 0x64, 0x5f, 0x19, 0x23, 0x1f,
  23. };
  24. static const unsigned char kat1_nor_persstr[] = {0};
  25. static const unsigned char kat1_nor_addin0[] = {0};
  26. static const unsigned char kat1_nor_addin1[] = {0};
  27. static const unsigned char kat1_nor_retbytes[] = {
  28. 0x0e, 0x28, 0x13, 0x0f, 0xa5, 0xca, 0x11, 0xed, 0xd3, 0x29, 0x3c, 0xa2,
  29. 0x6f, 0xdb, 0x8a, 0xe1, 0x81, 0x06, 0x11, 0xf7, 0x87, 0x15, 0x08, 0x2e,
  30. 0xd3, 0x84, 0x1e, 0x74, 0x86, 0xf1, 0x66, 0x77, 0xb2, 0x8e, 0x33, 0xff,
  31. 0xe0, 0xb9, 0x3d, 0x98, 0xba, 0x57, 0xba, 0x35, 0x8c, 0x13, 0x43, 0xab,
  32. 0x2a, 0x26, 0xb4, 0xeb, 0x79, 0x40, 0xf5, 0xbc, 0x63, 0x93, 0x84, 0x64,
  33. 0x1e, 0xe8, 0x0a, 0x25, 0x14, 0x03, 0x31, 0x07, 0x62, 0x68, 0xbd, 0x1c,
  34. 0xe7, 0x02, 0xad, 0x53, 0x4d, 0xda, 0x0e, 0xd8,
  35. };
  36. static const struct drbg_kat_no_reseed kat1_nor_t = {
  37. 0, kat1_nor_entropyin, kat1_nor_nonce, kat1_nor_persstr,
  38. kat1_nor_addin0, kat1_nor_addin1, kat1_nor_retbytes
  39. };
  40. static const struct drbg_kat kat1_nor = {
  41. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat1_nor_t
  42. };
  43. static const unsigned char kat2_nor_entropyin[] = {
  44. 0xdf, 0xed, 0x69, 0xb0, 0x89, 0x02, 0xfc, 0xfb, 0x79, 0x5d, 0x5d, 0x35,
  45. 0xdb, 0xe2, 0x3f, 0x6b,
  46. };
  47. static const unsigned char kat2_nor_nonce[] = {
  48. 0x37, 0x25, 0x8e, 0x82, 0x04, 0x32, 0xe3, 0x92,
  49. };
  50. static const unsigned char kat2_nor_persstr[] = {0};
  51. static const unsigned char kat2_nor_addin0[] = {0};
  52. static const unsigned char kat2_nor_addin1[] = {0};
  53. static const unsigned char kat2_nor_retbytes[] = {
  54. 0xad, 0xcb, 0x8e, 0x2c, 0xbb, 0xc5, 0x95, 0x7d, 0x53, 0x8a, 0x20, 0xdb,
  55. 0x18, 0xb5, 0xe7, 0xfe, 0x35, 0x0a, 0x90, 0xa2, 0x01, 0x35, 0x9f, 0xab,
  56. 0x9e, 0x0f, 0x15, 0x4c, 0x53, 0xaa, 0x14, 0x6b, 0xc6, 0xaf, 0x1f, 0xcc,
  57. 0x7f, 0xf8, 0xf3, 0x30, 0xb8, 0xd9, 0xf3, 0xd7, 0xb0, 0x38, 0x48, 0x8b,
  58. 0xa6, 0x27, 0xe6, 0xfa, 0x21, 0xd0, 0x14, 0x73, 0x77, 0xb1, 0x34, 0x04,
  59. 0x22, 0xb2, 0x26, 0x34, 0xb4, 0x12, 0xda, 0xc6, 0x9a, 0xc8, 0x2c, 0x35,
  60. 0xb5, 0xfb, 0x41, 0x1a, 0x4e, 0x42, 0xa1, 0x33,
  61. };
  62. static const struct drbg_kat_no_reseed kat2_nor_t = {
  63. 1, kat2_nor_entropyin, kat2_nor_nonce, kat2_nor_persstr,
  64. kat2_nor_addin0, kat2_nor_addin1, kat2_nor_retbytes
  65. };
  66. static const struct drbg_kat kat2_nor = {
  67. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat2_nor_t
  68. };
  69. static const unsigned char kat3_nor_entropyin[] = {
  70. 0xf3, 0x2e, 0x36, 0xff, 0x80, 0x98, 0xf9, 0x32, 0x03, 0x5c, 0xae, 0x42,
  71. 0x9c, 0x0e, 0xce, 0x72,
  72. };
  73. static const unsigned char kat3_nor_nonce[] = {
  74. 0x55, 0x52, 0xce, 0xb1, 0x82, 0x32, 0x4b, 0x49,
  75. };
  76. static const unsigned char kat3_nor_persstr[] = {0};
  77. static const unsigned char kat3_nor_addin0[] = {0};
  78. static const unsigned char kat3_nor_addin1[] = {0};
  79. static const unsigned char kat3_nor_retbytes[] = {
  80. 0xba, 0xc9, 0x4b, 0xc1, 0x79, 0x7b, 0x20, 0x9b, 0x8e, 0x57, 0x67, 0x09,
  81. 0xd6, 0x8d, 0x92, 0xa9, 0x4a, 0xa8, 0xa5, 0xf4, 0x14, 0xfe, 0xee, 0x3e,
  82. 0x87, 0xd2, 0xf2, 0x1f, 0xcb, 0x59, 0x39, 0x31, 0x4b, 0x1b, 0x47, 0x11,
  83. 0x27, 0x40, 0x77, 0xe7, 0x94, 0xe8, 0xe3, 0x85, 0xa2, 0x8f, 0xab, 0xb5,
  84. 0xb4, 0x90, 0x81, 0xef, 0x14, 0xcb, 0x13, 0x96, 0xcb, 0x12, 0x54, 0x2f,
  85. 0xd1, 0xb4, 0x8c, 0x2a, 0xd4, 0xdf, 0x98, 0xf7, 0x4b, 0xf0, 0x83, 0x46,
  86. 0xf0, 0xa2, 0x9f, 0xf7, 0x08, 0x8d, 0xcb, 0xfe,
  87. };
  88. static const struct drbg_kat_no_reseed kat3_nor_t = {
  89. 2, kat3_nor_entropyin, kat3_nor_nonce, kat3_nor_persstr,
  90. kat3_nor_addin0, kat3_nor_addin1, kat3_nor_retbytes
  91. };
  92. static const struct drbg_kat kat3_nor = {
  93. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat3_nor_t
  94. };
  95. static const unsigned char kat4_nor_entropyin[] = {
  96. 0x21, 0x3e, 0x90, 0x22, 0x89, 0x8a, 0xa0, 0x5c, 0x7a, 0x6a, 0x01, 0xa4,
  97. 0xb8, 0xd3, 0x43, 0xcc,
  98. };
  99. static const unsigned char kat4_nor_nonce[] = {
  100. 0x7b, 0x69, 0x81, 0xd7, 0xe1, 0x6c, 0x98, 0x80,
  101. };
  102. static const unsigned char kat4_nor_persstr[] = {0};
  103. static const unsigned char kat4_nor_addin0[] = {0};
  104. static const unsigned char kat4_nor_addin1[] = {0};
  105. static const unsigned char kat4_nor_retbytes[] = {
  106. 0xa7, 0x49, 0x06, 0x34, 0x0d, 0x75, 0x14, 0xdb, 0x5b, 0x44, 0x86, 0x01,
  107. 0x70, 0xa5, 0xe0, 0x73, 0x3c, 0x67, 0xd3, 0xce, 0x7e, 0x51, 0xbd, 0x32,
  108. 0xb0, 0x49, 0x80, 0x0d, 0x8e, 0x3c, 0x36, 0xc8, 0x45, 0x56, 0x00, 0x84,
  109. 0xde, 0xcc, 0x79, 0xe6, 0xf7, 0xb4, 0xd6, 0xf2, 0xf1, 0x27, 0x59, 0x2e,
  110. 0x64, 0x58, 0x91, 0x79, 0x2d, 0x0f, 0x56, 0x2b, 0x67, 0xbc, 0x8a, 0x1f,
  111. 0x63, 0xaa, 0x14, 0x9d, 0x84, 0x9d, 0xe1, 0xfe, 0x03, 0x28, 0x25, 0xf3,
  112. 0xa5, 0xd4, 0x6f, 0xe3, 0x70, 0x50, 0x24, 0xeb,
  113. };
  114. static const struct drbg_kat_no_reseed kat4_nor_t = {
  115. 3, kat4_nor_entropyin, kat4_nor_nonce, kat4_nor_persstr,
  116. kat4_nor_addin0, kat4_nor_addin1, kat4_nor_retbytes
  117. };
  118. static const struct drbg_kat kat4_nor = {
  119. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat4_nor_t
  120. };
  121. static const unsigned char kat5_nor_entropyin[] = {
  122. 0x09, 0x1b, 0xa7, 0x85, 0xfa, 0xc4, 0x66, 0xb4, 0x85, 0x1e, 0xa2, 0xdc,
  123. 0xa8, 0xb3, 0x8b, 0xcd,
  124. };
  125. static const unsigned char kat5_nor_nonce[] = {
  126. 0x90, 0x12, 0xcb, 0xb0, 0xf9, 0xb5, 0x9c, 0xac,
  127. };
  128. static const unsigned char kat5_nor_persstr[] = {0};
  129. static const unsigned char kat5_nor_addin0[] = {0};
  130. static const unsigned char kat5_nor_addin1[] = {0};
  131. static const unsigned char kat5_nor_retbytes[] = {
  132. 0x39, 0x9a, 0xe6, 0x1f, 0xe5, 0x31, 0x44, 0x8c, 0x82, 0x06, 0xd7, 0xac,
  133. 0x12, 0x7b, 0x6a, 0x44, 0x86, 0xad, 0xae, 0xbe, 0xff, 0x35, 0x67, 0xb6,
  134. 0xbc, 0xd0, 0xf5, 0x54, 0xb8, 0x2a, 0x6a, 0xa6, 0x33, 0x7f, 0x73, 0x11,
  135. 0x46, 0x59, 0x46, 0x91, 0x22, 0x83, 0xdc, 0x3f, 0xb0, 0x5c, 0xf8, 0x9a,
  136. 0x74, 0xad, 0x0a, 0x18, 0x51, 0xc5, 0xa2, 0x00, 0x26, 0xca, 0x99, 0x0f,
  137. 0x11, 0x84, 0xa8, 0xa9, 0x97, 0x8a, 0xad, 0x2e, 0x0c, 0x40, 0xb6, 0xc4,
  138. 0xe3, 0x57, 0x1b, 0xfa, 0x0f, 0x14, 0x43, 0x29,
  139. };
  140. static const struct drbg_kat_no_reseed kat5_nor_t = {
  141. 4, kat5_nor_entropyin, kat5_nor_nonce, kat5_nor_persstr,
  142. kat5_nor_addin0, kat5_nor_addin1, kat5_nor_retbytes
  143. };
  144. static const struct drbg_kat kat5_nor = {
  145. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat5_nor_t
  146. };
  147. static const unsigned char kat6_nor_entropyin[] = {
  148. 0xff, 0x07, 0x6a, 0x63, 0x0f, 0x39, 0xbd, 0x94, 0xd0, 0x7e, 0x88, 0xd0,
  149. 0x23, 0x2d, 0xd5, 0x6e,
  150. };
  151. static const unsigned char kat6_nor_nonce[] = {
  152. 0xf5, 0x1a, 0x8c, 0x5d, 0x4c, 0xd4, 0x13, 0x1f,
  153. };
  154. static const unsigned char kat6_nor_persstr[] = {0};
  155. static const unsigned char kat6_nor_addin0[] = {0};
  156. static const unsigned char kat6_nor_addin1[] = {0};
  157. static const unsigned char kat6_nor_retbytes[] = {
  158. 0x99, 0x1d, 0x77, 0xb5, 0x15, 0xbb, 0x73, 0xde, 0xc2, 0x22, 0x6c, 0x24,
  159. 0x86, 0xe6, 0x34, 0xd6, 0x53, 0x1a, 0xaa, 0x6c, 0xef, 0x9f, 0x64, 0x6f,
  160. 0xba, 0x5f, 0xdd, 0x02, 0x10, 0x83, 0x4c, 0x73, 0x0b, 0x7f, 0x2f, 0xa1,
  161. 0x10, 0xab, 0x06, 0x1c, 0xfb, 0xb0, 0x8a, 0x95, 0xb3, 0x69, 0x4b, 0x62,
  162. 0xe8, 0x1d, 0x0c, 0x6b, 0x82, 0xcf, 0x29, 0x4e, 0xa6, 0x2f, 0xde, 0xc0,
  163. 0x94, 0xc3, 0xed, 0x78, 0x34, 0xfb, 0xf9, 0xb8, 0x76, 0xf1, 0xa6, 0x3a,
  164. 0x58, 0x3e, 0x2e, 0xa4, 0x2a, 0x58, 0xff, 0x74,
  165. };
  166. static const struct drbg_kat_no_reseed kat6_nor_t = {
  167. 5, kat6_nor_entropyin, kat6_nor_nonce, kat6_nor_persstr,
  168. kat6_nor_addin0, kat6_nor_addin1, kat6_nor_retbytes
  169. };
  170. static const struct drbg_kat kat6_nor = {
  171. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat6_nor_t
  172. };
  173. static const unsigned char kat7_nor_entropyin[] = {
  174. 0x0f, 0x67, 0x9e, 0x66, 0x2f, 0x08, 0x19, 0x7e, 0x76, 0x45, 0x76, 0x39,
  175. 0x19, 0xba, 0x08, 0xe8,
  176. };
  177. static const unsigned char kat7_nor_nonce[] = {
  178. 0x18, 0x7e, 0x82, 0xeb, 0x84, 0x4b, 0x32, 0xc2,
  179. };
  180. static const unsigned char kat7_nor_persstr[] = {0};
  181. static const unsigned char kat7_nor_addin0[] = {0};
  182. static const unsigned char kat7_nor_addin1[] = {0};
  183. static const unsigned char kat7_nor_retbytes[] = {
  184. 0xff, 0x63, 0x9c, 0x15, 0xf8, 0x73, 0xd3, 0x50, 0xf1, 0x77, 0x8f, 0x1e,
  185. 0x9e, 0xa0, 0xa5, 0x61, 0x4e, 0xb2, 0x60, 0xac, 0x45, 0x3f, 0x5c, 0x57,
  186. 0x30, 0xbb, 0x0b, 0xe9, 0x07, 0x2a, 0x01, 0x3f, 0x15, 0x96, 0xae, 0x26,
  187. 0x6c, 0xc0, 0x9f, 0xf1, 0xc8, 0xa7, 0xfe, 0x52, 0x0e, 0xbd, 0x40, 0x69,
  188. 0x24, 0x8d, 0x86, 0xea, 0x36, 0xde, 0x43, 0x58, 0x0c, 0xd0, 0x7c, 0xce,
  189. 0xf1, 0xec, 0x8b, 0x6f, 0xe1, 0x6c, 0x2a, 0x50, 0x04, 0x24, 0xab, 0xe6,
  190. 0x57, 0x65, 0xc4, 0x18, 0x91, 0x97, 0x2d, 0xc9,
  191. };
  192. static const struct drbg_kat_no_reseed kat7_nor_t = {
  193. 6, kat7_nor_entropyin, kat7_nor_nonce, kat7_nor_persstr,
  194. kat7_nor_addin0, kat7_nor_addin1, kat7_nor_retbytes
  195. };
  196. static const struct drbg_kat kat7_nor = {
  197. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat7_nor_t
  198. };
  199. static const unsigned char kat8_nor_entropyin[] = {
  200. 0xc4, 0x48, 0x62, 0x40, 0x35, 0xdf, 0x3b, 0x16, 0x8a, 0xf3, 0x97, 0x55,
  201. 0xb9, 0x52, 0xf0, 0xef,
  202. };
  203. static const unsigned char kat8_nor_nonce[] = {
  204. 0x6c, 0x32, 0xbd, 0x9d, 0xd5, 0x34, 0x7f, 0x3c,
  205. };
  206. static const unsigned char kat8_nor_persstr[] = {0};
  207. static const unsigned char kat8_nor_addin0[] = {0};
  208. static const unsigned char kat8_nor_addin1[] = {0};
  209. static const unsigned char kat8_nor_retbytes[] = {
  210. 0x3b, 0xb7, 0x25, 0x63, 0x37, 0x45, 0xc3, 0x0a, 0x3c, 0xfe, 0x9f, 0xeb,
  211. 0x05, 0x29, 0x53, 0x2a, 0x65, 0x36, 0x8b, 0x65, 0xd2, 0xe7, 0xfb, 0x99,
  212. 0x0d, 0x6b, 0xa2, 0xf9, 0xbb, 0xbb, 0xb8, 0xcd, 0x66, 0xec, 0x1a, 0xf5,
  213. 0x30, 0x61, 0x4f, 0xe3, 0x9b, 0x7a, 0xd5, 0x5b, 0x2a, 0x62, 0x91, 0x79,
  214. 0x17, 0x41, 0xf7, 0xe7, 0x61, 0x16, 0xda, 0x1e, 0xbf, 0xed, 0x65, 0x8e,
  215. 0xc5, 0x5a, 0x86, 0x29, 0x47, 0x67, 0x16, 0x82, 0xd2, 0x87, 0xc0, 0xf6,
  216. 0xe8, 0xce, 0xab, 0xd5, 0x0c, 0x4c, 0x37, 0x59,
  217. };
  218. static const struct drbg_kat_no_reseed kat8_nor_t = {
  219. 7, kat8_nor_entropyin, kat8_nor_nonce, kat8_nor_persstr,
  220. kat8_nor_addin0, kat8_nor_addin1, kat8_nor_retbytes
  221. };
  222. static const struct drbg_kat kat8_nor = {
  223. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat8_nor_t
  224. };
  225. static const unsigned char kat9_nor_entropyin[] = {
  226. 0xef, 0xd2, 0x56, 0x11, 0x48, 0xbf, 0xad, 0x41, 0x59, 0x5b, 0xe9, 0x69,
  227. 0xc3, 0xf0, 0x21, 0xfe,
  228. };
  229. static const unsigned char kat9_nor_nonce[] = {
  230. 0x7c, 0x72, 0x33, 0xe9, 0xe0, 0x6f, 0xa1, 0x89,
  231. };
  232. static const unsigned char kat9_nor_persstr[] = {0};
  233. static const unsigned char kat9_nor_addin0[] = {0};
  234. static const unsigned char kat9_nor_addin1[] = {0};
  235. static const unsigned char kat9_nor_retbytes[] = {
  236. 0xd9, 0xb6, 0xb5, 0xb0, 0xaa, 0x26, 0xa0, 0x1d, 0xe1, 0x52, 0xce, 0xd9,
  237. 0x4a, 0x83, 0xbb, 0xb6, 0xaf, 0xfd, 0xb9, 0x15, 0xe4, 0x88, 0xa0, 0x4b,
  238. 0x64, 0x22, 0x11, 0xf8, 0xe3, 0xb8, 0x8d, 0x89, 0xf5, 0x9d, 0x92, 0xf9,
  239. 0xf4, 0xfc, 0xd8, 0x99, 0x89, 0x07, 0xbf, 0x14, 0x8b, 0xc5, 0x8f, 0x30,
  240. 0x11, 0x5c, 0x8f, 0xff, 0x85, 0xc5, 0x57, 0x13, 0x54, 0x5f, 0xe7, 0x75,
  241. 0x82, 0xd9, 0x06, 0x75, 0x8d, 0xb2, 0x0a, 0xe7, 0x53, 0x7f, 0x3d, 0xa6,
  242. 0xf9, 0xa8, 0xc9, 0x94, 0xfa, 0x2d, 0x01, 0xb5,
  243. };
  244. static const struct drbg_kat_no_reseed kat9_nor_t = {
  245. 8, kat9_nor_entropyin, kat9_nor_nonce, kat9_nor_persstr,
  246. kat9_nor_addin0, kat9_nor_addin1, kat9_nor_retbytes
  247. };
  248. static const struct drbg_kat kat9_nor = {
  249. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat9_nor_t
  250. };
  251. static const unsigned char kat10_nor_entropyin[] = {
  252. 0xa1, 0x3e, 0xd8, 0xf6, 0x04, 0xac, 0x03, 0x46, 0xc2, 0xac, 0x27, 0x01,
  253. 0x29, 0xbb, 0x35, 0x78,
  254. };
  255. static const unsigned char kat10_nor_nonce[] = {
  256. 0x9c, 0xa5, 0xf6, 0x2c, 0x4d, 0x09, 0xde, 0x87,
  257. };
  258. static const unsigned char kat10_nor_persstr[] = {0};
  259. static const unsigned char kat10_nor_addin0[] = {0};
  260. static const unsigned char kat10_nor_addin1[] = {0};
  261. static const unsigned char kat10_nor_retbytes[] = {
  262. 0x6c, 0xf7, 0x0e, 0x27, 0xa9, 0x79, 0x3c, 0x14, 0xeb, 0xae, 0x73, 0xb6,
  263. 0x53, 0x79, 0x8c, 0x15, 0xe1, 0x4e, 0x6c, 0xb9, 0xb8, 0x54, 0x34, 0x9e,
  264. 0x42, 0xd8, 0x80, 0x1d, 0x49, 0x36, 0x4d, 0x77, 0x88, 0x68, 0x6f, 0x89,
  265. 0xc6, 0xea, 0x2d, 0xb7, 0xf0, 0x38, 0xdd, 0x42, 0x43, 0x2d, 0xd7, 0x44,
  266. 0xbb, 0xc9, 0x1e, 0x1f, 0xcd, 0xaf, 0x6e, 0xee, 0x2e, 0x76, 0x32, 0x5d,
  267. 0xb7, 0x29, 0xfd, 0x3a, 0x99, 0xb9, 0x6c, 0xd6, 0x38, 0xc4, 0xa8, 0x92,
  268. 0x35, 0x16, 0xfa, 0x04, 0xfd, 0x90, 0xea, 0xc5,
  269. };
  270. static const struct drbg_kat_no_reseed kat10_nor_t = {
  271. 9, kat10_nor_entropyin, kat10_nor_nonce, kat10_nor_persstr,
  272. kat10_nor_addin0, kat10_nor_addin1, kat10_nor_retbytes
  273. };
  274. static const struct drbg_kat kat10_nor = {
  275. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat10_nor_t
  276. };
  277. static const unsigned char kat11_nor_entropyin[] = {
  278. 0xdf, 0xe6, 0xeb, 0xca, 0x43, 0xec, 0x46, 0xb8, 0xaa, 0xc3, 0x53, 0x33,
  279. 0xdd, 0xc4, 0x7d, 0x44,
  280. };
  281. static const unsigned char kat11_nor_nonce[] = {
  282. 0x5d, 0x03, 0xcb, 0xac, 0xd4, 0x4d, 0xb1, 0x69,
  283. };
  284. static const unsigned char kat11_nor_persstr[] = {0};
  285. static const unsigned char kat11_nor_addin0[] = {0};
  286. static const unsigned char kat11_nor_addin1[] = {0};
  287. static const unsigned char kat11_nor_retbytes[] = {
  288. 0x1c, 0x1d, 0x75, 0x6b, 0x6d, 0x5d, 0x47, 0x5e, 0xe3, 0x93, 0x19, 0x39,
  289. 0x92, 0x00, 0xb7, 0xf8, 0x64, 0x11, 0x24, 0x54, 0xbf, 0x03, 0xcc, 0x61,
  290. 0xf6, 0x85, 0x6c, 0x5d, 0x42, 0x07, 0xb1, 0xcd, 0x97, 0x92, 0xc0, 0x84,
  291. 0x1a, 0xb3, 0xb5, 0x67, 0x30, 0xab, 0x26, 0xd9, 0x5c, 0x36, 0x0c, 0xc0,
  292. 0x2a, 0xc4, 0x61, 0x1e, 0xf4, 0x7f, 0x80, 0xd6, 0x65, 0xff, 0xb8, 0x32,
  293. 0x7e, 0x10, 0x3f, 0xef, 0x24, 0x6b, 0xf9, 0x3a, 0x2a, 0x10, 0x38, 0xb2,
  294. 0xbe, 0xda, 0x9a, 0x8a, 0x6d, 0x21, 0xc4, 0x15,
  295. };
  296. static const struct drbg_kat_no_reseed kat11_nor_t = {
  297. 10, kat11_nor_entropyin, kat11_nor_nonce, kat11_nor_persstr,
  298. kat11_nor_addin0, kat11_nor_addin1, kat11_nor_retbytes
  299. };
  300. static const struct drbg_kat kat11_nor = {
  301. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat11_nor_t
  302. };
  303. static const unsigned char kat12_nor_entropyin[] = {
  304. 0x48, 0xe5, 0xfb, 0xd1, 0xac, 0xc6, 0x01, 0xe0, 0x2d, 0x81, 0xce, 0x03,
  305. 0x0f, 0x10, 0x01, 0x55,
  306. };
  307. static const unsigned char kat12_nor_nonce[] = {
  308. 0xa0, 0xfc, 0x82, 0xd8, 0xe6, 0x92, 0xe6, 0x9b,
  309. };
  310. static const unsigned char kat12_nor_persstr[] = {0};
  311. static const unsigned char kat12_nor_addin0[] = {0};
  312. static const unsigned char kat12_nor_addin1[] = {0};
  313. static const unsigned char kat12_nor_retbytes[] = {
  314. 0x9e, 0xea, 0x52, 0x5c, 0xa5, 0x72, 0x09, 0x5b, 0x4d, 0x0b, 0x96, 0x7c,
  315. 0xa8, 0xfc, 0xc5, 0xda, 0xe6, 0xec, 0x32, 0x6a, 0x0b, 0x9b, 0xb6, 0x3c,
  316. 0x4a, 0x7f, 0x08, 0xd1, 0xda, 0xd4, 0xa5, 0xd2, 0x1c, 0x15, 0xcf, 0x4b,
  317. 0x8d, 0xf9, 0xeb, 0x8a, 0xd2, 0x60, 0x37, 0xd9, 0xdc, 0xe9, 0xa7, 0x84,
  318. 0x8a, 0xf5, 0xee, 0x8e, 0x30, 0x49, 0x3d, 0xea, 0x7b, 0xe2, 0xb1, 0xf1,
  319. 0xff, 0xe8, 0xc4, 0x17, 0x1c, 0x13, 0x11, 0xac, 0xf9, 0x82, 0x1c, 0x06,
  320. 0x61, 0x48, 0x38, 0xae, 0x2b, 0x8a, 0xb7, 0xb2,
  321. };
  322. static const struct drbg_kat_no_reseed kat12_nor_t = {
  323. 11, kat12_nor_entropyin, kat12_nor_nonce, kat12_nor_persstr,
  324. kat12_nor_addin0, kat12_nor_addin1, kat12_nor_retbytes
  325. };
  326. static const struct drbg_kat kat12_nor = {
  327. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat12_nor_t
  328. };
  329. static const unsigned char kat13_nor_entropyin[] = {
  330. 0xdc, 0x8c, 0x36, 0x9f, 0x6f, 0x65, 0x9c, 0xf7, 0x60, 0x71, 0x0b, 0x1a,
  331. 0x69, 0xa5, 0x47, 0xcf,
  332. };
  333. static const unsigned char kat13_nor_nonce[] = {
  334. 0x45, 0x84, 0x7c, 0xf4, 0x8b, 0x89, 0xb3, 0xc9,
  335. };
  336. static const unsigned char kat13_nor_persstr[] = {0};
  337. static const unsigned char kat13_nor_addin0[] = {0};
  338. static const unsigned char kat13_nor_addin1[] = {0};
  339. static const unsigned char kat13_nor_retbytes[] = {
  340. 0xf8, 0x45, 0x62, 0xc1, 0x5d, 0x3a, 0x35, 0x74, 0xa2, 0x7d, 0x3e, 0xd8,
  341. 0x99, 0x1f, 0x17, 0xb8, 0xe7, 0xd3, 0xb7, 0x4a, 0x06, 0x50, 0xd6, 0xdc,
  342. 0x32, 0x8d, 0x94, 0x7a, 0x98, 0x42, 0x57, 0xcf, 0x22, 0xf9, 0xf6, 0xef,
  343. 0x5f, 0x5f, 0xb2, 0x08, 0x0e, 0x59, 0xd6, 0x5f, 0x6f, 0x2c, 0xa9, 0x96,
  344. 0xb7, 0xb1, 0x51, 0xd7, 0xb7, 0x9b, 0xc9, 0x8c, 0xc7, 0x1e, 0x50, 0x42,
  345. 0xa1, 0x0b, 0xc4, 0xb9, 0x33, 0xfa, 0x5c, 0xa2, 0x73, 0x1b, 0xfc, 0x5c,
  346. 0xc6, 0xb0, 0xb7, 0xca, 0x25, 0xe6, 0x41, 0x6b,
  347. };
  348. static const struct drbg_kat_no_reseed kat13_nor_t = {
  349. 12, kat13_nor_entropyin, kat13_nor_nonce, kat13_nor_persstr,
  350. kat13_nor_addin0, kat13_nor_addin1, kat13_nor_retbytes
  351. };
  352. static const struct drbg_kat kat13_nor = {
  353. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat13_nor_t
  354. };
  355. static const unsigned char kat14_nor_entropyin[] = {
  356. 0x4e, 0x8b, 0x4b, 0x1e, 0x2f, 0x6a, 0x9f, 0xe8, 0xab, 0xb5, 0x6f, 0x71,
  357. 0x6b, 0xc8, 0x94, 0xb8,
  358. };
  359. static const unsigned char kat14_nor_nonce[] = {
  360. 0x38, 0x56, 0x5e, 0x90, 0xcd, 0x13, 0x1e, 0x3f,
  361. };
  362. static const unsigned char kat14_nor_persstr[] = {0};
  363. static const unsigned char kat14_nor_addin0[] = {0};
  364. static const unsigned char kat14_nor_addin1[] = {0};
  365. static const unsigned char kat14_nor_retbytes[] = {
  366. 0xe0, 0x46, 0x05, 0x0e, 0xd2, 0xa1, 0x4a, 0x56, 0x4d, 0xc6, 0x9b, 0x7e,
  367. 0x4a, 0xa8, 0x9a, 0x99, 0x8a, 0x0d, 0xc7, 0x32, 0x5a, 0x05, 0xe4, 0x66,
  368. 0x6b, 0x0c, 0xf6, 0x11, 0x88, 0x5f, 0x63, 0x91, 0xd9, 0x8c, 0x31, 0xd8,
  369. 0xe2, 0x52, 0x7e, 0xa2, 0x96, 0x79, 0x1d, 0x0c, 0x8f, 0x34, 0x52, 0x2c,
  370. 0xed, 0x84, 0x21, 0x7b, 0xae, 0x3e, 0xac, 0x5e, 0xb8, 0x73, 0x2c, 0xbc,
  371. 0x4a, 0xf0, 0x71, 0x69, 0xe2, 0x5f, 0x9f, 0xb6, 0xda, 0x45, 0x88, 0xe0,
  372. 0x19, 0x96, 0x9d, 0x79, 0xfc, 0xcc, 0xd5, 0xf7,
  373. };
  374. static const struct drbg_kat_no_reseed kat14_nor_t = {
  375. 13, kat14_nor_entropyin, kat14_nor_nonce, kat14_nor_persstr,
  376. kat14_nor_addin0, kat14_nor_addin1, kat14_nor_retbytes
  377. };
  378. static const struct drbg_kat kat14_nor = {
  379. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat14_nor_t
  380. };
  381. static const unsigned char kat15_nor_entropyin[] = {
  382. 0x6f, 0xe9, 0x59, 0x7b, 0x59, 0x90, 0x3b, 0x1a, 0xf4, 0x01, 0x2a, 0x15,
  383. 0x36, 0x8a, 0xf7, 0xb1,
  384. };
  385. static const unsigned char kat15_nor_nonce[] = {
  386. 0xfd, 0x3e, 0x84, 0xb3, 0xa9, 0x6c, 0xaa, 0xff,
  387. };
  388. static const unsigned char kat15_nor_persstr[] = {0};
  389. static const unsigned char kat15_nor_addin0[] = {0};
  390. static const unsigned char kat15_nor_addin1[] = {0};
  391. static const unsigned char kat15_nor_retbytes[] = {
  392. 0x1e, 0xee, 0x4c, 0x78, 0x64, 0x76, 0xd4, 0x88, 0xe5, 0x8d, 0x0e, 0x06,
  393. 0x5b, 0xb0, 0x25, 0xdb, 0x54, 0x87, 0x87, 0xfa, 0xfb, 0xe7, 0x57, 0xf2,
  394. 0x9e, 0xe2, 0xbd, 0x47, 0x81, 0xcf, 0x69, 0x21, 0x60, 0x91, 0xba, 0x2b,
  395. 0x68, 0x91, 0x9b, 0x54, 0xad, 0x30, 0x70, 0xac, 0x72, 0xa2, 0x34, 0x23,
  396. 0x20, 0xeb, 0x1e, 0x69, 0x7b, 0x91, 0x15, 0xac, 0xbe, 0x07, 0xe1, 0x94,
  397. 0xd0, 0x60, 0x56, 0x2e, 0x4d, 0x0f, 0xd9, 0x66, 0xab, 0x29, 0xe2, 0xc5,
  398. 0xe5, 0x60, 0x57, 0x4b, 0x2d, 0xac, 0x04, 0xce,
  399. };
  400. static const struct drbg_kat_no_reseed kat15_nor_t = {
  401. 14, kat15_nor_entropyin, kat15_nor_nonce, kat15_nor_persstr,
  402. kat15_nor_addin0, kat15_nor_addin1, kat15_nor_retbytes
  403. };
  404. static const struct drbg_kat kat15_nor = {
  405. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat15_nor_t
  406. };
  407. static const unsigned char kat16_nor_entropyin[] = {
  408. 0xc3, 0xef, 0x82, 0xce, 0x24, 0x1f, 0x02, 0xe4, 0x29, 0x8b, 0x11, 0x8c,
  409. 0xa4, 0xf1, 0x62, 0x25,
  410. };
  411. static const unsigned char kat16_nor_nonce[] = {
  412. 0x15, 0xe3, 0x2a, 0xbb, 0xae, 0x6b, 0x74, 0x33,
  413. };
  414. static const unsigned char kat16_nor_persstr[] = {0};
  415. static const unsigned char kat16_nor_addin0[] = {
  416. 0x2b, 0x79, 0x00, 0x52, 0xf0, 0x9b, 0x36, 0x4d, 0x4a, 0x82, 0x67, 0xa0,
  417. 0xa7, 0xde, 0x63, 0xb8,
  418. };
  419. static const unsigned char kat16_nor_addin1[] = {
  420. 0x2e, 0xe0, 0x81, 0x9a, 0x67, 0x1d, 0x07, 0xb5, 0x08, 0x5c, 0xc4, 0x6a,
  421. 0xa0, 0xe6, 0x1b, 0x56,
  422. };
  423. static const unsigned char kat16_nor_retbytes[] = {
  424. 0x58, 0x25, 0xfa, 0x1d, 0x1d, 0xc3, 0x3c, 0x64, 0xcd, 0xc8, 0x69, 0x06,
  425. 0x82, 0xef, 0xf0, 0x60, 0x39, 0xe7, 0x95, 0x08, 0xc3, 0xaf, 0x48, 0xe8,
  426. 0x80, 0xf8, 0x22, 0x7d, 0x5f, 0x9a, 0xaa, 0x14, 0xb3, 0xbc, 0x76, 0xba,
  427. 0xee, 0x47, 0x7e, 0xbb, 0xb5, 0xc4, 0x55, 0x47, 0x13, 0x41, 0x79, 0x22,
  428. 0x32, 0x57, 0x52, 0x5e, 0x8f, 0x3a, 0xfe, 0xfb, 0x78, 0xb5, 0x9d, 0xa0,
  429. 0x32, 0xf1, 0x00, 0x6d, 0x74, 0xc9, 0x83, 0x13, 0x75, 0xa6, 0x77, 0xea,
  430. 0xb3, 0x23, 0x9c, 0x94, 0xeb, 0xe3, 0xf7, 0xfa,
  431. };
  432. static const struct drbg_kat_no_reseed kat16_nor_t = {
  433. 0, kat16_nor_entropyin, kat16_nor_nonce, kat16_nor_persstr,
  434. kat16_nor_addin0, kat16_nor_addin1, kat16_nor_retbytes
  435. };
  436. static const struct drbg_kat kat16_nor = {
  437. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat16_nor_t
  438. };
  439. static const unsigned char kat17_nor_entropyin[] = {
  440. 0x4b, 0xa7, 0x07, 0x43, 0xac, 0xcd, 0x43, 0x19, 0xe1, 0x1d, 0xe0, 0x46,
  441. 0x1d, 0x9a, 0x37, 0xaa,
  442. };
  443. static const unsigned char kat17_nor_nonce[] = {
  444. 0x84, 0x5e, 0x4a, 0x96, 0x46, 0x2f, 0xb1, 0x6a,
  445. };
  446. static const unsigned char kat17_nor_persstr[] = {0};
  447. static const unsigned char kat17_nor_addin0[] = {
  448. 0xc7, 0xde, 0xec, 0x6c, 0xb5, 0x04, 0x9c, 0x34, 0xc8, 0xbe, 0x42, 0x37,
  449. 0x5a, 0xfe, 0xc6, 0xf0,
  450. };
  451. static const unsigned char kat17_nor_addin1[] = {
  452. 0x37, 0xaf, 0x84, 0x11, 0x08, 0x5b, 0x41, 0xd8, 0x8e, 0xcf, 0x89, 0x9f,
  453. 0xf2, 0xbb, 0x13, 0x25,
  454. };
  455. static const unsigned char kat17_nor_retbytes[] = {
  456. 0x7b, 0x6d, 0xac, 0xba, 0x0f, 0x66, 0xf2, 0xa1, 0x20, 0x71, 0xf9, 0xda,
  457. 0x43, 0xf7, 0x5a, 0x61, 0x24, 0x0d, 0xf7, 0x5a, 0x47, 0xdd, 0xa1, 0x6f,
  458. 0x47, 0x4e, 0xd2, 0xcf, 0x03, 0x08, 0xf5, 0x07, 0x94, 0xbf, 0x01, 0x7c,
  459. 0xc6, 0xe6, 0xf0, 0x18, 0xfa, 0x9f, 0xa1, 0x50, 0x07, 0x48, 0xf7, 0xe0,
  460. 0xb3, 0x6e, 0x62, 0xc6, 0x2a, 0x8d, 0xc4, 0x27, 0xf5, 0x8c, 0x1f, 0x2c,
  461. 0x5a, 0xed, 0x10, 0xa4, 0x72, 0x6d, 0x88, 0x6c, 0xa1, 0x23, 0x25, 0xef,
  462. 0x0c, 0x56, 0x6d, 0x5b, 0xc9, 0xa0, 0x4e, 0xcf,
  463. };
  464. static const struct drbg_kat_no_reseed kat17_nor_t = {
  465. 1, kat17_nor_entropyin, kat17_nor_nonce, kat17_nor_persstr,
  466. kat17_nor_addin0, kat17_nor_addin1, kat17_nor_retbytes
  467. };
  468. static const struct drbg_kat kat17_nor = {
  469. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat17_nor_t
  470. };
  471. static const unsigned char kat18_nor_entropyin[] = {
  472. 0xac, 0x3c, 0xd0, 0xea, 0x3d, 0x26, 0x19, 0x7c, 0xc9, 0x37, 0x9b, 0x82,
  473. 0xbd, 0x82, 0x89, 0xff,
  474. };
  475. static const unsigned char kat18_nor_nonce[] = {
  476. 0xe3, 0x63, 0xff, 0x61, 0x74, 0x1a, 0xab, 0x5e,
  477. };
  478. static const unsigned char kat18_nor_persstr[] = {0};
  479. static const unsigned char kat18_nor_addin0[] = {
  480. 0xc7, 0xc3, 0x0f, 0x2a, 0x6e, 0x50, 0x0b, 0x0b, 0xf9, 0x46, 0xd0, 0x21,
  481. 0x93, 0x2b, 0xb1, 0x24,
  482. };
  483. static const unsigned char kat18_nor_addin1[] = {
  484. 0xbc, 0xb4, 0x0c, 0x37, 0x3a, 0x4a, 0x9b, 0xe6, 0x06, 0x79, 0x0e, 0x55,
  485. 0x17, 0x37, 0xf0, 0x6c,
  486. };
  487. static const unsigned char kat18_nor_retbytes[] = {
  488. 0x15, 0xf4, 0x9e, 0x79, 0x14, 0xfe, 0x0b, 0xce, 0x03, 0x9b, 0x99, 0x06,
  489. 0x0c, 0xc3, 0x72, 0xce, 0xb4, 0x53, 0x28, 0x29, 0x46, 0x57, 0x9a, 0x47,
  490. 0xd9, 0xbf, 0xb6, 0x1c, 0x5a, 0xed, 0x7a, 0x4d, 0xa0, 0xdc, 0x77, 0xbe,
  491. 0x7e, 0x7b, 0xc3, 0x3b, 0x63, 0xd6, 0x50, 0xf2, 0x84, 0x90, 0xd9, 0x2f,
  492. 0xb5, 0x87, 0x25, 0xd5, 0x19, 0xfa, 0xd9, 0x44, 0x92, 0xf7, 0x12, 0xbd,
  493. 0x81, 0x93, 0xd0, 0x94, 0xc8, 0x65, 0xcc, 0xbd, 0x41, 0x96, 0x25, 0xd5,
  494. 0xd2, 0x7e, 0x24, 0x9b, 0x1c, 0xc5, 0x55, 0xcc,
  495. };
  496. static const struct drbg_kat_no_reseed kat18_nor_t = {
  497. 2, kat18_nor_entropyin, kat18_nor_nonce, kat18_nor_persstr,
  498. kat18_nor_addin0, kat18_nor_addin1, kat18_nor_retbytes
  499. };
  500. static const struct drbg_kat kat18_nor = {
  501. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat18_nor_t
  502. };
  503. static const unsigned char kat19_nor_entropyin[] = {
  504. 0xeb, 0x51, 0xfe, 0x7b, 0xd7, 0x24, 0x74, 0x65, 0x99, 0x47, 0xb0, 0xed,
  505. 0x51, 0x09, 0xbe, 0x38,
  506. };
  507. static const unsigned char kat19_nor_nonce[] = {
  508. 0x0a, 0x2a, 0xff, 0x93, 0xbf, 0xcc, 0x07, 0x22,
  509. };
  510. static const unsigned char kat19_nor_persstr[] = {0};
  511. static const unsigned char kat19_nor_addin0[] = {
  512. 0x94, 0xf6, 0x17, 0x3e, 0xd7, 0xc3, 0x6a, 0x63, 0xc4, 0xa9, 0x5c, 0x91,
  513. 0x4d, 0x07, 0x42, 0xb7,
  514. };
  515. static const unsigned char kat19_nor_addin1[] = {
  516. 0x6b, 0x11, 0x98, 0x91, 0x48, 0xcb, 0x86, 0x04, 0x07, 0xa3, 0x67, 0x5a,
  517. 0x33, 0x79, 0x89, 0x69,
  518. };
  519. static const unsigned char kat19_nor_retbytes[] = {
  520. 0xa6, 0x79, 0xa0, 0x8a, 0x10, 0x0e, 0xcc, 0x52, 0x50, 0xc3, 0x3b, 0x9b,
  521. 0x1d, 0xcd, 0x9e, 0x20, 0x46, 0x9b, 0x30, 0x31, 0x6d, 0x0e, 0x0e, 0x47,
  522. 0x80, 0xff, 0xe1, 0x5c, 0x06, 0xc9, 0x9c, 0x04, 0x40, 0xf7, 0xdb, 0xf0,
  523. 0x46, 0x21, 0x21, 0x5d, 0x3d, 0x50, 0x81, 0x20, 0x1d, 0x4a, 0x10, 0x41,
  524. 0x6a, 0x91, 0x38, 0x78, 0x2c, 0x56, 0x92, 0xed, 0x9e, 0xae, 0xdc, 0x99,
  525. 0xc7, 0xcc, 0xfb, 0x09, 0xab, 0x08, 0x49, 0x38, 0x11, 0x50, 0x14, 0x5d,
  526. 0xc0, 0xe5, 0x5a, 0x8f, 0xa8, 0x89, 0x80, 0x68,
  527. };
  528. static const struct drbg_kat_no_reseed kat19_nor_t = {
  529. 3, kat19_nor_entropyin, kat19_nor_nonce, kat19_nor_persstr,
  530. kat19_nor_addin0, kat19_nor_addin1, kat19_nor_retbytes
  531. };
  532. static const struct drbg_kat kat19_nor = {
  533. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat19_nor_t
  534. };
  535. static const unsigned char kat20_nor_entropyin[] = {
  536. 0x9c, 0xdb, 0x91, 0xa2, 0x1b, 0x4f, 0xdc, 0xc4, 0x10, 0xf9, 0x60, 0xce,
  537. 0xb7, 0xac, 0x8e, 0xc8,
  538. };
  539. static const unsigned char kat20_nor_nonce[] = {
  540. 0x9d, 0x01, 0xf7, 0x3a, 0xe1, 0x68, 0xed, 0x6e,
  541. };
  542. static const unsigned char kat20_nor_persstr[] = {0};
  543. static const unsigned char kat20_nor_addin0[] = {
  544. 0xe1, 0xeb, 0x4b, 0xb2, 0xd0, 0x80, 0xb1, 0xd3, 0xe9, 0x5b, 0xc0, 0x42,
  545. 0xac, 0xe9, 0x4c, 0x68,
  546. };
  547. static const unsigned char kat20_nor_addin1[] = {
  548. 0x06, 0x2d, 0xc8, 0x66, 0xf4, 0x14, 0xb9, 0x51, 0xe3, 0xf6, 0x1a, 0xa7,
  549. 0xfe, 0x6d, 0x1f, 0xfe,
  550. };
  551. static const unsigned char kat20_nor_retbytes[] = {
  552. 0xbf, 0xb0, 0x07, 0x7e, 0x99, 0x5f, 0x49, 0xc4, 0x03, 0xdc, 0x38, 0x29,
  553. 0x7e, 0xe4, 0x7b, 0x41, 0x93, 0x88, 0x64, 0xd7, 0x34, 0xb2, 0xe7, 0xb7,
  554. 0x94, 0xe9, 0xbb, 0xf4, 0x61, 0xa2, 0xa4, 0xa4, 0x5f, 0x36, 0x4d, 0x82,
  555. 0xa6, 0x6b, 0x37, 0x30, 0xbc, 0x5c, 0x99, 0x02, 0xd7, 0xb5, 0x99, 0x9f,
  556. 0x74, 0x55, 0x4e, 0x59, 0xe4, 0x54, 0xd6, 0x58, 0xa8, 0x6d, 0x48, 0x13,
  557. 0xb5, 0xe7, 0x60, 0x9e, 0x03, 0xbc, 0x75, 0x0c, 0x38, 0xcd, 0x52, 0xb3,
  558. 0x66, 0x76, 0x05, 0x7e, 0xd8, 0x0b, 0xfd, 0x41,
  559. };
  560. static const struct drbg_kat_no_reseed kat20_nor_t = {
  561. 4, kat20_nor_entropyin, kat20_nor_nonce, kat20_nor_persstr,
  562. kat20_nor_addin0, kat20_nor_addin1, kat20_nor_retbytes
  563. };
  564. static const struct drbg_kat kat20_nor = {
  565. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat20_nor_t
  566. };
  567. static const unsigned char kat21_nor_entropyin[] = {
  568. 0x7d, 0xd2, 0xff, 0xfc, 0x51, 0x45, 0x6d, 0xd4, 0x72, 0x60, 0x39, 0x5d,
  569. 0xdc, 0xa6, 0x0c, 0x8f,
  570. };
  571. static const unsigned char kat21_nor_nonce[] = {
  572. 0x63, 0x1e, 0x5b, 0x0c, 0xe8, 0x4e, 0x36, 0x52,
  573. };
  574. static const unsigned char kat21_nor_persstr[] = {0};
  575. static const unsigned char kat21_nor_addin0[] = {
  576. 0xcf, 0xc3, 0xab, 0x0a, 0x51, 0xc3, 0xb0, 0xad, 0xb3, 0x20, 0xfb, 0xa6,
  577. 0x11, 0x2a, 0xc8, 0x56,
  578. };
  579. static const unsigned char kat21_nor_addin1[] = {
  580. 0xf5, 0xaa, 0xae, 0x47, 0xc8, 0x23, 0xc0, 0x4e, 0x69, 0x60, 0xdc, 0xc2,
  581. 0x05, 0xfd, 0x77, 0xa3,
  582. };
  583. static const unsigned char kat21_nor_retbytes[] = {
  584. 0xc6, 0x11, 0x8f, 0x46, 0x89, 0xc7, 0xfc, 0xcd, 0x5a, 0xeb, 0x46, 0x87,
  585. 0x75, 0x80, 0x7d, 0x39, 0x63, 0x1f, 0x5b, 0x31, 0x5f, 0x0c, 0x83, 0xb5,
  586. 0xd9, 0x6f, 0xa6, 0xc2, 0xeb, 0xc0, 0xf9, 0x5e, 0xf4, 0x41, 0x4e, 0xfe,
  587. 0x1c, 0x99, 0xce, 0x71, 0xe6, 0x2c, 0x46, 0x17, 0xdd, 0x1c, 0xc9, 0x57,
  588. 0x77, 0xdd, 0xda, 0xa8, 0x25, 0x8d, 0x06, 0x5b, 0xf3, 0xaf, 0x2a, 0xdc,
  589. 0x67, 0x9d, 0xd3, 0xd1, 0x9d, 0x23, 0xce, 0xd6, 0xe2, 0xb4, 0xb4, 0x7c,
  590. 0x85, 0x65, 0x76, 0xf9, 0x69, 0x7a, 0x5f, 0x42,
  591. };
  592. static const struct drbg_kat_no_reseed kat21_nor_t = {
  593. 5, kat21_nor_entropyin, kat21_nor_nonce, kat21_nor_persstr,
  594. kat21_nor_addin0, kat21_nor_addin1, kat21_nor_retbytes
  595. };
  596. static const struct drbg_kat kat21_nor = {
  597. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat21_nor_t
  598. };
  599. static const unsigned char kat22_nor_entropyin[] = {
  600. 0x74, 0x91, 0xcd, 0x16, 0x5d, 0xe8, 0x4b, 0xe1, 0xce, 0x94, 0xf0, 0xbc,
  601. 0x28, 0xb7, 0xa0, 0x1c,
  602. };
  603. static const unsigned char kat22_nor_nonce[] = {
  604. 0x7d, 0xe5, 0xf3, 0x7f, 0xbd, 0x77, 0x75, 0x26,
  605. };
  606. static const unsigned char kat22_nor_persstr[] = {0};
  607. static const unsigned char kat22_nor_addin0[] = {
  608. 0x2c, 0x2e, 0xb1, 0x93, 0x19, 0x7b, 0xe1, 0x1f, 0xd9, 0x6c, 0x6b, 0x4f,
  609. 0x8a, 0x56, 0x74, 0x8e,
  610. };
  611. static const unsigned char kat22_nor_addin1[] = {
  612. 0x41, 0x1d, 0x9f, 0x71, 0xe0, 0xf9, 0x7e, 0x94, 0x06, 0x50, 0xf4, 0xca,
  613. 0x99, 0x9f, 0xde, 0x5c,
  614. };
  615. static const unsigned char kat22_nor_retbytes[] = {
  616. 0xdf, 0xd1, 0x5d, 0x00, 0xe3, 0x69, 0x3e, 0x89, 0xef, 0xff, 0xed, 0xd2,
  617. 0x87, 0xaf, 0x2f, 0x6f, 0x33, 0x00, 0x4c, 0xb4, 0x2b, 0x16, 0xb3, 0x8b,
  618. 0x41, 0xa3, 0x93, 0x54, 0x81, 0x90, 0xf8, 0x41, 0xdb, 0xca, 0xdd, 0xf6,
  619. 0x7c, 0x41, 0x0b, 0x79, 0xa9, 0xcf, 0x10, 0x4a, 0xd1, 0x80, 0x5e, 0x89,
  620. 0xe2, 0xc1, 0xa4, 0x1a, 0x24, 0x05, 0x36, 0x14, 0xd6, 0x7e, 0x95, 0x67,
  621. 0xc1, 0xac, 0x98, 0x9d, 0xb3, 0x3d, 0x79, 0x2d, 0x80, 0x24, 0x55, 0xb1,
  622. 0x7b, 0x17, 0x4a, 0xdb, 0xc9, 0xde, 0xd7, 0xb4,
  623. };
  624. static const struct drbg_kat_no_reseed kat22_nor_t = {
  625. 6, kat22_nor_entropyin, kat22_nor_nonce, kat22_nor_persstr,
  626. kat22_nor_addin0, kat22_nor_addin1, kat22_nor_retbytes
  627. };
  628. static const struct drbg_kat kat22_nor = {
  629. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat22_nor_t
  630. };
  631. static const unsigned char kat23_nor_entropyin[] = {
  632. 0x14, 0x98, 0x67, 0x34, 0xe4, 0x19, 0xb6, 0x47, 0xda, 0x59, 0xba, 0xd3,
  633. 0x86, 0xa1, 0x6c, 0xf9,
  634. };
  635. static const unsigned char kat23_nor_nonce[] = {
  636. 0xc3, 0x7c, 0x9b, 0xf5, 0xa4, 0x36, 0x51, 0x23,
  637. };
  638. static const unsigned char kat23_nor_persstr[] = {0};
  639. static const unsigned char kat23_nor_addin0[] = {
  640. 0x58, 0xbb, 0x48, 0x58, 0x52, 0xa8, 0x67, 0xeb, 0x55, 0x6c, 0x53, 0xe9,
  641. 0x04, 0xc5, 0x59, 0x39,
  642. };
  643. static const unsigned char kat23_nor_addin1[] = {
  644. 0x92, 0xfd, 0x0b, 0x39, 0xdb, 0x4f, 0x98, 0x26, 0x03, 0x99, 0xd5, 0xc1,
  645. 0x2d, 0x74, 0x4a, 0xd3,
  646. };
  647. static const unsigned char kat23_nor_retbytes[] = {
  648. 0x81, 0xc7, 0x50, 0x9f, 0xd3, 0xaa, 0x29, 0xf7, 0x9e, 0x6c, 0xe6, 0x03,
  649. 0x7e, 0xd4, 0x80, 0x03, 0x17, 0xb7, 0x4a, 0x6e, 0xab, 0x5c, 0x8e, 0xe1,
  650. 0x52, 0x05, 0xd2, 0x92, 0xbd, 0xab, 0x76, 0xd7, 0xba, 0xe6, 0x2c, 0xb2,
  651. 0xc2, 0x6c, 0x6b, 0xb9, 0x5d, 0x66, 0xbc, 0x8d, 0x3b, 0x27, 0x0e, 0x89,
  652. 0xf9, 0xe6, 0x1b, 0x62, 0x81, 0x8e, 0xbe, 0x27, 0xff, 0xe4, 0x9f, 0x3e,
  653. 0xb8, 0x6e, 0xe5, 0xfc, 0xd4, 0x92, 0xb7, 0xee, 0x03, 0xdd, 0xca, 0x6d,
  654. 0xd3, 0x33, 0xa3, 0xd9, 0x33, 0x4f, 0xe2, 0xda,
  655. };
  656. static const struct drbg_kat_no_reseed kat23_nor_t = {
  657. 7, kat23_nor_entropyin, kat23_nor_nonce, kat23_nor_persstr,
  658. kat23_nor_addin0, kat23_nor_addin1, kat23_nor_retbytes
  659. };
  660. static const struct drbg_kat kat23_nor = {
  661. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat23_nor_t
  662. };
  663. static const unsigned char kat24_nor_entropyin[] = {
  664. 0x29, 0x87, 0x24, 0x60, 0xa7, 0xf1, 0x3c, 0x18, 0xe6, 0x80, 0x67, 0xa0,
  665. 0xfb, 0x8d, 0xd6, 0xc2,
  666. };
  667. static const unsigned char kat24_nor_nonce[] = {
  668. 0x7d, 0x62, 0xe2, 0x0a, 0xa7, 0x1a, 0x94, 0x5b,
  669. };
  670. static const unsigned char kat24_nor_persstr[] = {0};
  671. static const unsigned char kat24_nor_addin0[] = {
  672. 0xeb, 0xd9, 0x87, 0xbd, 0x55, 0x1b, 0x35, 0x4b, 0xdd, 0xc1, 0x74, 0x14,
  673. 0xa2, 0x6e, 0x1f, 0x08,
  674. };
  675. static const unsigned char kat24_nor_addin1[] = {
  676. 0xc2, 0xc0, 0xe5, 0x3e, 0x61, 0x45, 0x1a, 0xe1, 0x7f, 0xf6, 0xa9, 0x0c,
  677. 0x49, 0xb4, 0x66, 0xd7,
  678. };
  679. static const unsigned char kat24_nor_retbytes[] = {
  680. 0x95, 0x60, 0x98, 0x22, 0x20, 0x32, 0x63, 0xf9, 0x2a, 0x40, 0x95, 0x5a,
  681. 0x56, 0x19, 0x24, 0x0e, 0x74, 0x09, 0x13, 0x63, 0x34, 0xe3, 0x1b, 0x95,
  682. 0x63, 0x68, 0xb4, 0x9b, 0xb8, 0x55, 0x06, 0x51, 0x72, 0xde, 0x37, 0x18,
  683. 0xc4, 0x04, 0x83, 0x87, 0x1b, 0x45, 0x5d, 0x8e, 0x25, 0xf4, 0x34, 0x23,
  684. 0xb9, 0x91, 0xb3, 0xaa, 0x9b, 0xcf, 0x0e, 0x27, 0xb4, 0x50, 0x9b, 0x45,
  685. 0xd8, 0xf7, 0x98, 0x3b, 0xc0, 0x54, 0xed, 0x5f, 0xf1, 0x99, 0x9f, 0xbb,
  686. 0x75, 0xf9, 0xe9, 0x1b, 0xfe, 0xab, 0x8a, 0x6e,
  687. };
  688. static const struct drbg_kat_no_reseed kat24_nor_t = {
  689. 8, kat24_nor_entropyin, kat24_nor_nonce, kat24_nor_persstr,
  690. kat24_nor_addin0, kat24_nor_addin1, kat24_nor_retbytes
  691. };
  692. static const struct drbg_kat kat24_nor = {
  693. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat24_nor_t
  694. };
  695. static const unsigned char kat25_nor_entropyin[] = {
  696. 0xbb, 0x0a, 0x1f, 0x9b, 0x84, 0x74, 0x1b, 0x55, 0x38, 0x4b, 0x89, 0xc0,
  697. 0x55, 0xd5, 0x02, 0x72,
  698. };
  699. static const unsigned char kat25_nor_nonce[] = {
  700. 0x25, 0x86, 0xdf, 0xe6, 0x30, 0x6d, 0xb7, 0x3d,
  701. };
  702. static const unsigned char kat25_nor_persstr[] = {0};
  703. static const unsigned char kat25_nor_addin0[] = {
  704. 0xbc, 0xf6, 0xee, 0x1e, 0xac, 0x1d, 0x2d, 0x3a, 0x7b, 0x96, 0x05, 0x00,
  705. 0xf8, 0x0c, 0x53, 0x28,
  706. };
  707. static const unsigned char kat25_nor_addin1[] = {
  708. 0x54, 0x3f, 0xea, 0x55, 0x15, 0xec, 0x0e, 0xa5, 0xd2, 0x5d, 0x01, 0x9b,
  709. 0xce, 0x97, 0x39, 0x09,
  710. };
  711. static const unsigned char kat25_nor_retbytes[] = {
  712. 0x9d, 0x88, 0x97, 0x0a, 0x80, 0x76, 0x40, 0x1f, 0xc1, 0x32, 0xec, 0xff,
  713. 0x78, 0x2a, 0x2f, 0x68, 0x17, 0xe4, 0x82, 0x9f, 0x6e, 0x87, 0x41, 0x72,
  714. 0xab, 0x3b, 0x99, 0x1f, 0x46, 0xff, 0x53, 0x19, 0x98, 0x7d, 0xd6, 0xae,
  715. 0x53, 0x9f, 0xc2, 0xa3, 0x65, 0x7f, 0x00, 0x48, 0x0c, 0x7b, 0xb5, 0xe7,
  716. 0xdd, 0x6d, 0x1a, 0x12, 0x96, 0x9e, 0x81, 0xa3, 0x87, 0xa9, 0xae, 0x43,
  717. 0xab, 0x9c, 0x0d, 0x28, 0x26, 0x44, 0x8c, 0x6c, 0xa9, 0xe9, 0xbf, 0x9a,
  718. 0xe0, 0x82, 0x1a, 0x35, 0xc4, 0xe2, 0xf0, 0xbd,
  719. };
  720. static const struct drbg_kat_no_reseed kat25_nor_t = {
  721. 9, kat25_nor_entropyin, kat25_nor_nonce, kat25_nor_persstr,
  722. kat25_nor_addin0, kat25_nor_addin1, kat25_nor_retbytes
  723. };
  724. static const struct drbg_kat kat25_nor = {
  725. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat25_nor_t
  726. };
  727. static const unsigned char kat26_nor_entropyin[] = {
  728. 0xb9, 0xde, 0x65, 0x31, 0x31, 0x2e, 0x4c, 0x7c, 0x6f, 0x49, 0x2f, 0x94,
  729. 0x3d, 0x74, 0xc2, 0xc3,
  730. };
  731. static const unsigned char kat26_nor_nonce[] = {
  732. 0xae, 0x15, 0xbd, 0xf3, 0xcd, 0x20, 0x86, 0xdc,
  733. };
  734. static const unsigned char kat26_nor_persstr[] = {0};
  735. static const unsigned char kat26_nor_addin0[] = {
  736. 0xf4, 0x03, 0x54, 0x91, 0x8f, 0x58, 0x78, 0xcc, 0xb0, 0x2e, 0x38, 0x29,
  737. 0x89, 0x30, 0x35, 0xf5,
  738. };
  739. static const unsigned char kat26_nor_addin1[] = {
  740. 0xdf, 0x58, 0x7b, 0x08, 0x22, 0xe6, 0x49, 0x18, 0xc2, 0xf4, 0x90, 0x3a,
  741. 0x0f, 0x3e, 0x2e, 0x3b,
  742. };
  743. static const unsigned char kat26_nor_retbytes[] = {
  744. 0xa7, 0xab, 0x93, 0xcd, 0x9f, 0xfe, 0x24, 0x6d, 0xd4, 0xe3, 0xdc, 0x55,
  745. 0xba, 0x94, 0x6e, 0xb2, 0x15, 0x1d, 0x03, 0xd0, 0xdd, 0x2b, 0x6a, 0x81,
  746. 0x2f, 0x8e, 0x3a, 0x2d, 0xb1, 0x9c, 0x78, 0x10, 0xfb, 0xf2, 0xb9, 0x51,
  747. 0x34, 0x13, 0x14, 0x15, 0x62, 0xaa, 0xd7, 0xe5, 0x7f, 0x8d, 0xdf, 0x74,
  748. 0x25, 0x70, 0x2f, 0x6c, 0x19, 0x76, 0xdf, 0xcd, 0x82, 0x1a, 0x71, 0x58,
  749. 0x68, 0xcb, 0x6d, 0x43, 0x6a, 0xcf, 0x97, 0x08, 0x48, 0x1b, 0xfa, 0x09,
  750. 0x54, 0x54, 0xc8, 0xc6, 0xb8, 0x1d, 0xe6, 0x2b,
  751. };
  752. static const struct drbg_kat_no_reseed kat26_nor_t = {
  753. 10, kat26_nor_entropyin, kat26_nor_nonce, kat26_nor_persstr,
  754. kat26_nor_addin0, kat26_nor_addin1, kat26_nor_retbytes
  755. };
  756. static const struct drbg_kat kat26_nor = {
  757. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat26_nor_t
  758. };
  759. static const unsigned char kat27_nor_entropyin[] = {
  760. 0x70, 0xfd, 0xd3, 0x7d, 0x38, 0x64, 0xbe, 0x69, 0x92, 0xfb, 0xdb, 0x78,
  761. 0x55, 0x64, 0x9f, 0xcc,
  762. };
  763. static const unsigned char kat27_nor_nonce[] = {
  764. 0x9f, 0x6d, 0x99, 0x4d, 0x1c, 0xdd, 0x27, 0x0b,
  765. };
  766. static const unsigned char kat27_nor_persstr[] = {0};
  767. static const unsigned char kat27_nor_addin0[] = {
  768. 0x9e, 0x5a, 0x48, 0xc9, 0xb3, 0x42, 0x89, 0xdc, 0xce, 0x94, 0x7c, 0x37,
  769. 0xcf, 0x1a, 0x8d, 0xb7,
  770. };
  771. static const unsigned char kat27_nor_addin1[] = {
  772. 0xa2, 0x3d, 0xd5, 0x8b, 0xf5, 0xfd, 0x18, 0x7f, 0xc2, 0xa0, 0x63, 0x62,
  773. 0x24, 0x38, 0x8a, 0x3f,
  774. };
  775. static const unsigned char kat27_nor_retbytes[] = {
  776. 0xbb, 0x89, 0xab, 0x58, 0x54, 0xed, 0xe9, 0x2a, 0xb6, 0x76, 0x6d, 0xb2,
  777. 0xdb, 0x04, 0xa7, 0x8c, 0xd0, 0x31, 0x92, 0xba, 0x64, 0xf9, 0x57, 0x77,
  778. 0x9d, 0x6a, 0x23, 0x22, 0x1e, 0xdb, 0xe8, 0x6c, 0x1a, 0xb7, 0x6d, 0xdd,
  779. 0x1a, 0xf7, 0x40, 0x66, 0x88, 0xfb, 0xeb, 0xb8, 0xad, 0x37, 0x7b, 0xb4,
  780. 0x99, 0xf6, 0x6e, 0xc9, 0x67, 0x27, 0x05, 0xd2, 0xfe, 0x30, 0xe8, 0xa2,
  781. 0xd5, 0xee, 0xd9, 0xb5, 0xda, 0x5c, 0x2c, 0x2f, 0xd1, 0xe0, 0x59, 0xd0,
  782. 0x6c, 0x84, 0xe3, 0xa4, 0xd0, 0x46, 0xfc, 0x66,
  783. };
  784. static const struct drbg_kat_no_reseed kat27_nor_t = {
  785. 11, kat27_nor_entropyin, kat27_nor_nonce, kat27_nor_persstr,
  786. kat27_nor_addin0, kat27_nor_addin1, kat27_nor_retbytes
  787. };
  788. static const struct drbg_kat kat27_nor = {
  789. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat27_nor_t
  790. };
  791. static const unsigned char kat28_nor_entropyin[] = {
  792. 0x0e, 0x18, 0x34, 0xca, 0x71, 0x8e, 0x2e, 0xc8, 0x9d, 0xf6, 0x6f, 0x76,
  793. 0x7e, 0x31, 0x01, 0x8b,
  794. };
  795. static const unsigned char kat28_nor_nonce[] = {
  796. 0xb9, 0x77, 0x57, 0xad, 0xf5, 0x15, 0x8e, 0x82,
  797. };
  798. static const unsigned char kat28_nor_persstr[] = {0};
  799. static const unsigned char kat28_nor_addin0[] = {
  800. 0x1b, 0x8f, 0x11, 0x5d, 0xc9, 0x37, 0x54, 0x00, 0x21, 0x2e, 0x50, 0x33,
  801. 0x76, 0xa9, 0x0f, 0x6b,
  802. };
  803. static const unsigned char kat28_nor_addin1[] = {
  804. 0xb7, 0xb8, 0xa7, 0x4d, 0x1d, 0xb1, 0xec, 0xb6, 0x6c, 0x8a, 0x7f, 0x82,
  805. 0xec, 0x55, 0xec, 0x13,
  806. };
  807. static const unsigned char kat28_nor_retbytes[] = {
  808. 0xa5, 0x5d, 0x54, 0xfa, 0x57, 0xaa, 0x36, 0x45, 0x6c, 0x64, 0xed, 0xf2,
  809. 0xa4, 0xbf, 0xc3, 0xa0, 0x45, 0x8d, 0x20, 0xc0, 0x0b, 0xd1, 0x9b, 0x5d,
  810. 0xc9, 0x71, 0x64, 0x7e, 0xb4, 0x6d, 0x28, 0x24, 0x66, 0xc5, 0xad, 0xe2,
  811. 0x64, 0x03, 0xf3, 0x7a, 0xf1, 0x90, 0x6e, 0x57, 0x55, 0x0b, 0xd4, 0x1e,
  812. 0xd4, 0xe8, 0x84, 0x8b, 0x48, 0x5a, 0x12, 0x20, 0x50, 0xc7, 0x1e, 0xc1,
  813. 0xc5, 0x9a, 0x28, 0x39, 0x9f, 0xf0, 0x70, 0x97, 0xab, 0x28, 0x49, 0xcb,
  814. 0x01, 0x65, 0xfe, 0x6f, 0xa5, 0x77, 0xf0, 0x32,
  815. };
  816. static const struct drbg_kat_no_reseed kat28_nor_t = {
  817. 12, kat28_nor_entropyin, kat28_nor_nonce, kat28_nor_persstr,
  818. kat28_nor_addin0, kat28_nor_addin1, kat28_nor_retbytes
  819. };
  820. static const struct drbg_kat kat28_nor = {
  821. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat28_nor_t
  822. };
  823. static const unsigned char kat29_nor_entropyin[] = {
  824. 0x49, 0x66, 0x6d, 0x8b, 0x26, 0xcf, 0x63, 0x0f, 0x37, 0xea, 0xb9, 0x08,
  825. 0x9e, 0xab, 0xba, 0xe2,
  826. };
  827. static const unsigned char kat29_nor_nonce[] = {
  828. 0x85, 0xea, 0xd7, 0x58, 0xfa, 0x67, 0xa2, 0x9a,
  829. };
  830. static const unsigned char kat29_nor_persstr[] = {0};
  831. static const unsigned char kat29_nor_addin0[] = {
  832. 0x77, 0x02, 0xe3, 0x97, 0xa4, 0x47, 0x47, 0x2d, 0xf6, 0xab, 0xa9, 0xb3,
  833. 0x22, 0x36, 0x8a, 0xee,
  834. };
  835. static const unsigned char kat29_nor_addin1[] = {
  836. 0xd1, 0xaf, 0xea, 0x4c, 0x22, 0x36, 0x93, 0x33, 0xa7, 0xb0, 0x82, 0x99,
  837. 0xae, 0x3d, 0x44, 0xb1,
  838. };
  839. static const unsigned char kat29_nor_retbytes[] = {
  840. 0x63, 0x85, 0x4c, 0x32, 0xa5, 0x80, 0x54, 0xe7, 0xdd, 0xb0, 0xc0, 0xc3,
  841. 0x9b, 0x8e, 0x54, 0xa9, 0xde, 0x6d, 0xf4, 0xa9, 0xd8, 0xb6, 0x32, 0x44,
  842. 0x52, 0xcf, 0x9d, 0x02, 0x23, 0x19, 0xf6, 0xb7, 0xe3, 0x0c, 0x7f, 0x6c,
  843. 0x75, 0x01, 0x9a, 0x0f, 0x37, 0xb7, 0x4b, 0x8d, 0x1c, 0xb1, 0x9b, 0x0d,
  844. 0xd2, 0x81, 0x4d, 0xe6, 0xb3, 0x66, 0x8f, 0xc7, 0x9c, 0x34, 0x22, 0x2f,
  845. 0xff, 0xaf, 0xba, 0xca, 0x94, 0x89, 0x41, 0x3d, 0x0e, 0x29, 0xf8, 0xb6,
  846. 0x2d, 0x75, 0x94, 0x27, 0x43, 0x71, 0xdd, 0x90,
  847. };
  848. static const struct drbg_kat_no_reseed kat29_nor_t = {
  849. 13, kat29_nor_entropyin, kat29_nor_nonce, kat29_nor_persstr,
  850. kat29_nor_addin0, kat29_nor_addin1, kat29_nor_retbytes
  851. };
  852. static const struct drbg_kat kat29_nor = {
  853. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat29_nor_t
  854. };
  855. static const unsigned char kat30_nor_entropyin[] = {
  856. 0xa3, 0xa0, 0xcf, 0xee, 0x0a, 0x1f, 0xcc, 0x88, 0x55, 0x83, 0x61, 0x5d,
  857. 0x2d, 0x4b, 0x59, 0x52,
  858. };
  859. static const unsigned char kat30_nor_nonce[] = {
  860. 0xe7, 0xde, 0x2c, 0x6f, 0xfb, 0xf1, 0xfc, 0xa0,
  861. };
  862. static const unsigned char kat30_nor_persstr[] = {0};
  863. static const unsigned char kat30_nor_addin0[] = {
  864. 0x93, 0xdc, 0x42, 0x4b, 0xd0, 0xd2, 0x66, 0x87, 0x96, 0x01, 0x74, 0x5a,
  865. 0x23, 0x31, 0x71, 0x41,
  866. };
  867. static const unsigned char kat30_nor_addin1[] = {
  868. 0xa1, 0x73, 0x21, 0x01, 0x5d, 0x32, 0x7c, 0x5d, 0xc0, 0xbc, 0x1e, 0x13,
  869. 0x0a, 0xad, 0x81, 0xee,
  870. };
  871. static const unsigned char kat30_nor_retbytes[] = {
  872. 0xf6, 0x82, 0x83, 0x4b, 0x5b, 0x49, 0x2e, 0x09, 0xff, 0x8e, 0x0f, 0x2c,
  873. 0x80, 0x68, 0x3b, 0x03, 0x2a, 0x3b, 0x26, 0x2d, 0x16, 0xbc, 0x60, 0x9c,
  874. 0x55, 0x0d, 0xc0, 0xe7, 0x4a, 0x4b, 0x7d, 0x8e, 0xbc, 0x0e, 0x3b, 0x8f,
  875. 0x2c, 0x99, 0x70, 0xd9, 0x0a, 0xec, 0x9a, 0x82, 0x49, 0x7d, 0xde, 0xd2,
  876. 0x04, 0x22, 0xb1, 0x7b, 0x9e, 0x3c, 0xc3, 0xbc, 0xa7, 0x71, 0xcb, 0xe7,
  877. 0x17, 0xdd, 0xae, 0xd5, 0xa7, 0xa6, 0xae, 0x26, 0x01, 0xc7, 0xf7, 0x65,
  878. 0xea, 0xa7, 0x19, 0xb7, 0x16, 0x24, 0xe8, 0x3b,
  879. };
  880. static const struct drbg_kat_no_reseed kat30_nor_t = {
  881. 14, kat30_nor_entropyin, kat30_nor_nonce, kat30_nor_persstr,
  882. kat30_nor_addin0, kat30_nor_addin1, kat30_nor_retbytes
  883. };
  884. static const struct drbg_kat kat30_nor = {
  885. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat30_nor_t
  886. };
  887. static const unsigned char kat31_nor_entropyin[] = {
  888. 0xf7, 0xe3, 0x16, 0xb1, 0x31, 0x17, 0xdc, 0xc1, 0x8c, 0x44, 0x07, 0xb6,
  889. 0xa5, 0xcd, 0xc5, 0xd8,
  890. };
  891. static const unsigned char kat31_nor_nonce[] = {
  892. 0xb8, 0x0d, 0xde, 0xe7, 0x5c, 0xf3, 0x9a, 0x48,
  893. };
  894. static const unsigned char kat31_nor_persstr[] = {
  895. 0x81, 0x6c, 0xb1, 0x37, 0xef, 0x64, 0xf9, 0xdf, 0x71, 0xa3, 0xb3, 0xa0,
  896. 0xb3, 0xaa, 0xf9, 0xb1,
  897. };
  898. static const unsigned char kat31_nor_addin0[] = {0};
  899. static const unsigned char kat31_nor_addin1[] = {0};
  900. static const unsigned char kat31_nor_retbytes[] = {
  901. 0xbe, 0x88, 0x85, 0x85, 0xd9, 0x5d, 0x95, 0x26, 0x9f, 0x00, 0x2a, 0xbd,
  902. 0x8b, 0x1e, 0x33, 0xb2, 0xcb, 0x66, 0x7a, 0x96, 0xd3, 0xbe, 0x6d, 0x20,
  903. 0xd7, 0x84, 0xb1, 0xbb, 0xc6, 0x63, 0x93, 0x47, 0x83, 0x7d, 0x01, 0xd4,
  904. 0xb9, 0x5e, 0xed, 0x81, 0x37, 0xcf, 0x29, 0xfe, 0x72, 0x4c, 0xfe, 0xdf,
  905. 0x8b, 0x23, 0xf9, 0x25, 0x84, 0x80, 0xbe, 0x35, 0x0c, 0x34, 0x07, 0x97,
  906. 0x3c, 0x59, 0xa9, 0xd7, 0xf3, 0xa6, 0x58, 0x5b, 0x3c, 0x0e, 0x36, 0xa3,
  907. 0x6c, 0x62, 0x34, 0xd6, 0x88, 0x52, 0xac, 0xaf,
  908. };
  909. static const struct drbg_kat_no_reseed kat31_nor_t = {
  910. 0, kat31_nor_entropyin, kat31_nor_nonce, kat31_nor_persstr,
  911. kat31_nor_addin0, kat31_nor_addin1, kat31_nor_retbytes
  912. };
  913. static const struct drbg_kat kat31_nor = {
  914. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat31_nor_t
  915. };
  916. static const unsigned char kat32_nor_entropyin[] = {
  917. 0x03, 0x3f, 0x1e, 0x32, 0x61, 0x2f, 0xd1, 0x19, 0x74, 0xc6, 0x99, 0x2b,
  918. 0xe2, 0x8b, 0x00, 0x9d,
  919. };
  920. static const unsigned char kat32_nor_nonce[] = {
  921. 0x6b, 0x52, 0x8c, 0x9d, 0x2a, 0xcc, 0xd0, 0xaf,
  922. };
  923. static const unsigned char kat32_nor_persstr[] = {
  924. 0x1b, 0x1d, 0xef, 0xb5, 0x46, 0x20, 0x6d, 0x55, 0x5c, 0x55, 0xbf, 0x23,
  925. 0xa7, 0xfe, 0xfd, 0x10,
  926. };
  927. static const unsigned char kat32_nor_addin0[] = {0};
  928. static const unsigned char kat32_nor_addin1[] = {0};
  929. static const unsigned char kat32_nor_retbytes[] = {
  930. 0xf1, 0xe0, 0x12, 0xc3, 0x3a, 0x6f, 0x2a, 0x5f, 0x06, 0xf0, 0x0e, 0xca,
  931. 0xe9, 0x97, 0xe4, 0xd6, 0xc4, 0x8b, 0x3e, 0x5b, 0x76, 0x9c, 0x05, 0x89,
  932. 0x51, 0xe3, 0xcb, 0x3c, 0xd1, 0xae, 0x07, 0x94, 0x16, 0x5b, 0x54, 0xd9,
  933. 0x0f, 0x0d, 0xf6, 0x6a, 0x40, 0x02, 0x59, 0x56, 0xeb, 0x76, 0xa6, 0x15,
  934. 0x0a, 0x85, 0x0c, 0xec, 0x48, 0xc2, 0x49, 0x7d, 0x2d, 0x58, 0x61, 0x29,
  935. 0x68, 0x77, 0xe6, 0x27, 0xdf, 0x2f, 0x06, 0x4d, 0x3d, 0x7c, 0x12, 0xf9,
  936. 0x69, 0x2d, 0x65, 0x7f, 0x4e, 0xea, 0x70, 0x86,
  937. };
  938. static const struct drbg_kat_no_reseed kat32_nor_t = {
  939. 1, kat32_nor_entropyin, kat32_nor_nonce, kat32_nor_persstr,
  940. kat32_nor_addin0, kat32_nor_addin1, kat32_nor_retbytes
  941. };
  942. static const struct drbg_kat kat32_nor = {
  943. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat32_nor_t
  944. };
  945. static const unsigned char kat33_nor_entropyin[] = {
  946. 0xb2, 0x07, 0xab, 0x84, 0x0b, 0x35, 0x7a, 0xe0, 0xf8, 0x4d, 0x84, 0xfd,
  947. 0x91, 0xfe, 0x9d, 0xb2,
  948. };
  949. static const unsigned char kat33_nor_nonce[] = {
  950. 0x6a, 0xd6, 0xf6, 0x7b, 0x65, 0x4f, 0x8c, 0x1d,
  951. };
  952. static const unsigned char kat33_nor_persstr[] = {
  953. 0x80, 0xe0, 0x29, 0x0e, 0x51, 0xb6, 0x7e, 0x7a, 0x5f, 0x26, 0xb1, 0x51,
  954. 0x71, 0x7c, 0x11, 0xc4,
  955. };
  956. static const unsigned char kat33_nor_addin0[] = {0};
  957. static const unsigned char kat33_nor_addin1[] = {0};
  958. static const unsigned char kat33_nor_retbytes[] = {
  959. 0xb1, 0x50, 0x05, 0x33, 0x48, 0x3e, 0x00, 0x7f, 0x92, 0x21, 0x66, 0x3f,
  960. 0x00, 0xe3, 0x74, 0x5b, 0x15, 0x1b, 0x80, 0x85, 0x22, 0x9d, 0xf0, 0x5e,
  961. 0x90, 0xad, 0x6e, 0x1b, 0x4f, 0x28, 0x6c, 0x11, 0x65, 0x6b, 0xcd, 0x13,
  962. 0xec, 0x28, 0x0c, 0xb9, 0x20, 0x75, 0xb5, 0x0c, 0x17, 0xf4, 0xcc, 0x9b,
  963. 0xf4, 0xa0, 0x7d, 0x66, 0x1c, 0xfe, 0x17, 0x51, 0x8e, 0xc5, 0xd2, 0x64,
  964. 0x93, 0x18, 0xb9, 0x58, 0x7d, 0xb8, 0x8e, 0x09, 0x3e, 0x98, 0x1f, 0xc5,
  965. 0x16, 0x74, 0xc9, 0x89, 0x30, 0x44, 0xac, 0x7d,
  966. };
  967. static const struct drbg_kat_no_reseed kat33_nor_t = {
  968. 2, kat33_nor_entropyin, kat33_nor_nonce, kat33_nor_persstr,
  969. kat33_nor_addin0, kat33_nor_addin1, kat33_nor_retbytes
  970. };
  971. static const struct drbg_kat kat33_nor = {
  972. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat33_nor_t
  973. };
  974. static const unsigned char kat34_nor_entropyin[] = {
  975. 0xd8, 0x89, 0x57, 0xfb, 0xca, 0x97, 0xba, 0x8a, 0x2e, 0x73, 0xeb, 0x64,
  976. 0xa3, 0x8e, 0xf3, 0x1c,
  977. };
  978. static const unsigned char kat34_nor_nonce[] = {
  979. 0x3e, 0x07, 0xa9, 0x17, 0xc1, 0x11, 0xc5, 0xf4,
  980. };
  981. static const unsigned char kat34_nor_persstr[] = {
  982. 0x70, 0x86, 0x0b, 0xe0, 0x05, 0xc1, 0xdd, 0x2b, 0xf3, 0x22, 0x74, 0x40,
  983. 0x40, 0xe2, 0xb7, 0x02,
  984. };
  985. static const unsigned char kat34_nor_addin0[] = {0};
  986. static const unsigned char kat34_nor_addin1[] = {0};
  987. static const unsigned char kat34_nor_retbytes[] = {
  988. 0xd7, 0xa9, 0xf9, 0xc6, 0xac, 0x7b, 0x5a, 0xb8, 0xe0, 0x6e, 0xf7, 0x07,
  989. 0x62, 0x68, 0x88, 0x62, 0x8a, 0x3f, 0xa9, 0xcc, 0x86, 0x38, 0x5a, 0xb5,
  990. 0x6e, 0x39, 0x90, 0x1e, 0x8b, 0x72, 0x0b, 0x93, 0x2c, 0x5c, 0x77, 0x98,
  991. 0x0a, 0x96, 0x7f, 0x38, 0xed, 0xb9, 0x5f, 0x19, 0xb3, 0xc0, 0xf8, 0xe9,
  992. 0x5e, 0x0b, 0xfd, 0xc8, 0xfb, 0x40, 0x47, 0x71, 0xf0, 0x53, 0xda, 0x5f,
  993. 0x96, 0xe7, 0x9d, 0x52, 0x94, 0x5c, 0xb4, 0x27, 0x79, 0x81, 0xa9, 0x78,
  994. 0xce, 0xe8, 0x0d, 0x84, 0xb2, 0x86, 0xe1, 0xb6,
  995. };
  996. static const struct drbg_kat_no_reseed kat34_nor_t = {
  997. 3, kat34_nor_entropyin, kat34_nor_nonce, kat34_nor_persstr,
  998. kat34_nor_addin0, kat34_nor_addin1, kat34_nor_retbytes
  999. };
  1000. static const struct drbg_kat kat34_nor = {
  1001. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat34_nor_t
  1002. };
  1003. static const unsigned char kat35_nor_entropyin[] = {
  1004. 0x0a, 0x4c, 0x59, 0x0e, 0xbc, 0xef, 0x05, 0x56, 0xaf, 0x98, 0x11, 0xb6,
  1005. 0x46, 0x2b, 0x92, 0xd6,
  1006. };
  1007. static const unsigned char kat35_nor_nonce[] = {
  1008. 0x23, 0x8d, 0x39, 0x5f, 0x8d, 0x29, 0x52, 0x05,
  1009. };
  1010. static const unsigned char kat35_nor_persstr[] = {
  1011. 0x3d, 0xf3, 0xdd, 0xb4, 0xcb, 0x22, 0xe2, 0xa6, 0xcc, 0xd6, 0x85, 0xf0,
  1012. 0x94, 0x07, 0x8a, 0x12,
  1013. };
  1014. static const unsigned char kat35_nor_addin0[] = {0};
  1015. static const unsigned char kat35_nor_addin1[] = {0};
  1016. static const unsigned char kat35_nor_retbytes[] = {
  1017. 0x22, 0xdf, 0xbc, 0x94, 0x62, 0xcf, 0xf9, 0x4c, 0x26, 0xd6, 0x07, 0x3c,
  1018. 0xe1, 0x09, 0x49, 0xfb, 0x5c, 0xd5, 0x3c, 0x60, 0x55, 0xd7, 0x27, 0xb1,
  1019. 0xbe, 0x79, 0x8c, 0x5b, 0x1d, 0x01, 0x8f, 0x73, 0x21, 0x39, 0xe7, 0x4f,
  1020. 0xd7, 0xdf, 0x60, 0x42, 0x24, 0x42, 0x3a, 0x2c, 0xba, 0x88, 0xdf, 0xe9,
  1021. 0x8a, 0xf8, 0x8f, 0x99, 0x77, 0xb7, 0xd7, 0x9f, 0xff, 0x08, 0xfc, 0x6c,
  1022. 0xde, 0xfc, 0xad, 0x3a, 0xc7, 0x40, 0x84, 0xba, 0xb8, 0xaf, 0x04, 0xc5,
  1023. 0xfd, 0xab, 0xc9, 0x43, 0xd5, 0x1e, 0xda, 0x0a,
  1024. };
  1025. static const struct drbg_kat_no_reseed kat35_nor_t = {
  1026. 4, kat35_nor_entropyin, kat35_nor_nonce, kat35_nor_persstr,
  1027. kat35_nor_addin0, kat35_nor_addin1, kat35_nor_retbytes
  1028. };
  1029. static const struct drbg_kat kat35_nor = {
  1030. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat35_nor_t
  1031. };
  1032. static const unsigned char kat36_nor_entropyin[] = {
  1033. 0xf8, 0xd9, 0x70, 0x58, 0x29, 0xd4, 0x90, 0x8e, 0x43, 0xd0, 0xfb, 0x62,
  1034. 0xf7, 0x2b, 0x12, 0x0a,
  1035. };
  1036. static const unsigned char kat36_nor_nonce[] = {
  1037. 0x34, 0x96, 0x18, 0xdc, 0xe5, 0x51, 0xe7, 0xc3,
  1038. };
  1039. static const unsigned char kat36_nor_persstr[] = {
  1040. 0x05, 0x4d, 0x18, 0xec, 0x3b, 0x0f, 0x5a, 0xfc, 0x46, 0xf9, 0x7b, 0xbc,
  1041. 0x0c, 0x58, 0x21, 0xe1,
  1042. };
  1043. static const unsigned char kat36_nor_addin0[] = {0};
  1044. static const unsigned char kat36_nor_addin1[] = {0};
  1045. static const unsigned char kat36_nor_retbytes[] = {
  1046. 0xa4, 0x3c, 0x01, 0xfe, 0x30, 0xb0, 0x1d, 0xd1, 0x46, 0x8e, 0x4c, 0x81,
  1047. 0xf9, 0xa6, 0xb0, 0x4f, 0x8c, 0x34, 0xf9, 0x04, 0xb2, 0x1e, 0x5d, 0xbe,
  1048. 0x18, 0x90, 0x77, 0x8c, 0x13, 0xf5, 0xb3, 0x6a, 0x66, 0x48, 0x37, 0xb9,
  1049. 0x8a, 0x1b, 0xb0, 0xf5, 0x33, 0x65, 0x3d, 0x6a, 0xc7, 0xe5, 0x37, 0xa6,
  1050. 0xa0, 0xc5, 0xc8, 0x79, 0xba, 0xf4, 0x58, 0x15, 0xec, 0xae, 0xe6, 0xb0,
  1051. 0x3a, 0x67, 0x7b, 0x2d, 0xc5, 0xcc, 0x12, 0x04, 0x2f, 0x7c, 0xa1, 0x61,
  1052. 0xbf, 0x90, 0xb2, 0xa7, 0x3c, 0xf4, 0x1d, 0x23,
  1053. };
  1054. static const struct drbg_kat_no_reseed kat36_nor_t = {
  1055. 5, kat36_nor_entropyin, kat36_nor_nonce, kat36_nor_persstr,
  1056. kat36_nor_addin0, kat36_nor_addin1, kat36_nor_retbytes
  1057. };
  1058. static const struct drbg_kat kat36_nor = {
  1059. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat36_nor_t
  1060. };
  1061. static const unsigned char kat37_nor_entropyin[] = {
  1062. 0x53, 0xe0, 0x93, 0x05, 0x5d, 0x91, 0x2f, 0x7f, 0xe9, 0x6f, 0x0b, 0xcc,
  1063. 0xc4, 0x61, 0x65, 0xc8,
  1064. };
  1065. static const unsigned char kat37_nor_nonce[] = {
  1066. 0x80, 0xf5, 0x97, 0x7f, 0x22, 0xa0, 0x96, 0xb1,
  1067. };
  1068. static const unsigned char kat37_nor_persstr[] = {
  1069. 0x92, 0xad, 0x83, 0x18, 0x7b, 0x24, 0x74, 0x8e, 0xd7, 0x7b, 0x36, 0x31,
  1070. 0x39, 0x17, 0xe9, 0x80,
  1071. };
  1072. static const unsigned char kat37_nor_addin0[] = {0};
  1073. static const unsigned char kat37_nor_addin1[] = {0};
  1074. static const unsigned char kat37_nor_retbytes[] = {
  1075. 0xe9, 0x59, 0x37, 0xe3, 0x4e, 0x5e, 0x0c, 0x54, 0x7a, 0xeb, 0x0e, 0x8d,
  1076. 0xbe, 0x3c, 0xb9, 0xba, 0x5f, 0x82, 0x39, 0x78, 0xe3, 0xa4, 0x22, 0x55,
  1077. 0xa0, 0x80, 0x3d, 0x09, 0x6b, 0xea, 0x9c, 0xd2, 0x2f, 0x38, 0x7b, 0x4d,
  1078. 0x96, 0x7e, 0xc6, 0xc6, 0xd5, 0xa6, 0x6d, 0x62, 0xf4, 0x5a, 0x83, 0x76,
  1079. 0x73, 0xc5, 0x86, 0x35, 0x1d, 0x75, 0x33, 0x47, 0x2d, 0x3b, 0xd4, 0xfa,
  1080. 0x14, 0x9d, 0x26, 0xe1, 0x5e, 0xba, 0xe9, 0x10, 0x71, 0x46, 0xb9, 0x92,
  1081. 0x19, 0xd4, 0xfa, 0xed, 0x13, 0x80, 0xa8, 0x1b,
  1082. };
  1083. static const struct drbg_kat_no_reseed kat37_nor_t = {
  1084. 6, kat37_nor_entropyin, kat37_nor_nonce, kat37_nor_persstr,
  1085. kat37_nor_addin0, kat37_nor_addin1, kat37_nor_retbytes
  1086. };
  1087. static const struct drbg_kat kat37_nor = {
  1088. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat37_nor_t
  1089. };
  1090. static const unsigned char kat38_nor_entropyin[] = {
  1091. 0xca, 0xcb, 0x0b, 0xf9, 0x34, 0xe4, 0x27, 0xbc, 0xcd, 0x07, 0xa6, 0xed,
  1092. 0x85, 0xd5, 0x51, 0xe1,
  1093. };
  1094. static const unsigned char kat38_nor_nonce[] = {
  1095. 0xbc, 0x16, 0x67, 0x6c, 0x43, 0x86, 0xff, 0xa4,
  1096. };
  1097. static const unsigned char kat38_nor_persstr[] = {
  1098. 0x5f, 0xd3, 0xb0, 0x5b, 0xea, 0xab, 0x79, 0x95, 0x37, 0x09, 0xed, 0x3c,
  1099. 0x60, 0xe7, 0x12, 0x30,
  1100. };
  1101. static const unsigned char kat38_nor_addin0[] = {0};
  1102. static const unsigned char kat38_nor_addin1[] = {0};
  1103. static const unsigned char kat38_nor_retbytes[] = {
  1104. 0x60, 0xec, 0xf6, 0xd8, 0x9a, 0xe6, 0x3b, 0x0c, 0xa3, 0xc3, 0x95, 0xec,
  1105. 0xba, 0x93, 0xfa, 0x16, 0x77, 0x76, 0xdd, 0x46, 0xfa, 0x20, 0x18, 0xf1,
  1106. 0x1b, 0x5d, 0x4c, 0xfb, 0x29, 0xce, 0x1f, 0xb1, 0x9d, 0x14, 0xca, 0x7c,
  1107. 0xe8, 0x88, 0x7c, 0x5b, 0x19, 0x5b, 0xd1, 0xbc, 0x0d, 0xf4, 0x73, 0x50,
  1108. 0x5d, 0x4b, 0x0e, 0x69, 0xa7, 0xbb, 0x54, 0xff, 0x31, 0xc4, 0xb4, 0x8f,
  1109. 0xd0, 0x6b, 0xbc, 0x78, 0x3b, 0xfa, 0x85, 0xc8, 0x71, 0x5a, 0xef, 0x86,
  1110. 0xfd, 0xee, 0xca, 0x52, 0x12, 0xa1, 0x2b, 0xac,
  1111. };
  1112. static const struct drbg_kat_no_reseed kat38_nor_t = {
  1113. 7, kat38_nor_entropyin, kat38_nor_nonce, kat38_nor_persstr,
  1114. kat38_nor_addin0, kat38_nor_addin1, kat38_nor_retbytes
  1115. };
  1116. static const struct drbg_kat kat38_nor = {
  1117. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat38_nor_t
  1118. };
  1119. static const unsigned char kat39_nor_entropyin[] = {
  1120. 0xb9, 0xb6, 0x6a, 0xea, 0x1e, 0x07, 0xb6, 0x0b, 0x30, 0xfd, 0x32, 0xff,
  1121. 0x2c, 0xdc, 0xba, 0x61,
  1122. };
  1123. static const unsigned char kat39_nor_nonce[] = {
  1124. 0x9b, 0x49, 0x7b, 0xed, 0x54, 0x94, 0x5c, 0x93,
  1125. };
  1126. static const unsigned char kat39_nor_persstr[] = {
  1127. 0xed, 0xde, 0x3a, 0xe3, 0x95, 0x78, 0xea, 0x81, 0x9f, 0x67, 0xb3, 0x8e,
  1128. 0x55, 0x2b, 0xe3, 0xb8,
  1129. };
  1130. static const unsigned char kat39_nor_addin0[] = {0};
  1131. static const unsigned char kat39_nor_addin1[] = {0};
  1132. static const unsigned char kat39_nor_retbytes[] = {
  1133. 0x7d, 0xfb, 0x2c, 0xfa, 0x07, 0x47, 0x07, 0x1c, 0x97, 0xf1, 0x1a, 0x4d,
  1134. 0xda, 0x37, 0x80, 0xf3, 0xca, 0xd2, 0x0b, 0x1c, 0x59, 0x8d, 0x3e, 0x74,
  1135. 0xb2, 0xa9, 0x0f, 0xd3, 0x9f, 0xf6, 0xb6, 0x59, 0x01, 0x2c, 0xac, 0xbf,
  1136. 0x60, 0x4b, 0x27, 0x07, 0x62, 0xbf, 0x50, 0x08, 0xa9, 0xf7, 0x79, 0xac,
  1137. 0xbf, 0xb2, 0xc4, 0xb1, 0x60, 0xd4, 0x22, 0x85, 0xd6, 0x3e, 0x5a, 0x90,
  1138. 0x19, 0x62, 0x63, 0x61, 0xbb, 0xd9, 0x8b, 0xfa, 0xd1, 0x48, 0xcc, 0x81,
  1139. 0x42, 0x6c, 0xec, 0xbc, 0x07, 0x6e, 0x92, 0x6f,
  1140. };
  1141. static const struct drbg_kat_no_reseed kat39_nor_t = {
  1142. 8, kat39_nor_entropyin, kat39_nor_nonce, kat39_nor_persstr,
  1143. kat39_nor_addin0, kat39_nor_addin1, kat39_nor_retbytes
  1144. };
  1145. static const struct drbg_kat kat39_nor = {
  1146. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat39_nor_t
  1147. };
  1148. static const unsigned char kat40_nor_entropyin[] = {
  1149. 0x81, 0x1b, 0xd6, 0x4f, 0xa9, 0x15, 0xfa, 0xdf, 0x72, 0xc1, 0x14, 0xb7,
  1150. 0xb9, 0xa3, 0xcd, 0x40,
  1151. };
  1152. static const unsigned char kat40_nor_nonce[] = {
  1153. 0x88, 0x70, 0x42, 0x0e, 0x78, 0xb3, 0x3a, 0xf8,
  1154. };
  1155. static const unsigned char kat40_nor_persstr[] = {
  1156. 0xe0, 0xdc, 0xc2, 0x80, 0x4e, 0xd0, 0x7b, 0x8f, 0x4e, 0xee, 0xa4, 0xe4,
  1157. 0x02, 0x68, 0x44, 0x3b,
  1158. };
  1159. static const unsigned char kat40_nor_addin0[] = {0};
  1160. static const unsigned char kat40_nor_addin1[] = {0};
  1161. static const unsigned char kat40_nor_retbytes[] = {
  1162. 0x7f, 0x4d, 0xbd, 0xaa, 0xce, 0xdc, 0xce, 0x57, 0x6b, 0xdf, 0xa0, 0x3a,
  1163. 0x80, 0xc3, 0x86, 0x1c, 0xb5, 0x2d, 0x8b, 0x14, 0xa6, 0xf6, 0x3e, 0x03,
  1164. 0x48, 0x68, 0xdc, 0x3f, 0xde, 0xbb, 0x5f, 0x2c, 0xd1, 0xae, 0x57, 0x90,
  1165. 0xb7, 0x55, 0xca, 0x61, 0x7c, 0x91, 0x71, 0x4b, 0xe9, 0x29, 0x02, 0xd0,
  1166. 0x08, 0x8a, 0x60, 0xd2, 0x50, 0x11, 0x23, 0x94, 0x5d, 0x53, 0x3e, 0xbc,
  1167. 0x8b, 0x9a, 0x13, 0xfc, 0x81, 0xb6, 0xcf, 0x22, 0xcc, 0x0d, 0xca, 0x1c,
  1168. 0x86, 0xf2, 0x8a, 0xa5, 0xbf, 0x38, 0xa6, 0xfa,
  1169. };
  1170. static const struct drbg_kat_no_reseed kat40_nor_t = {
  1171. 9, kat40_nor_entropyin, kat40_nor_nonce, kat40_nor_persstr,
  1172. kat40_nor_addin0, kat40_nor_addin1, kat40_nor_retbytes
  1173. };
  1174. static const struct drbg_kat kat40_nor = {
  1175. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat40_nor_t
  1176. };
  1177. static const unsigned char kat41_nor_entropyin[] = {
  1178. 0x37, 0x5a, 0xde, 0x01, 0x2a, 0xae, 0xfb, 0x48, 0x0d, 0xd9, 0xe0, 0x1d,
  1179. 0xca, 0xc6, 0xb0, 0x9d,
  1180. };
  1181. static const unsigned char kat41_nor_nonce[] = {
  1182. 0x4b, 0x52, 0x18, 0xc5, 0x85, 0x46, 0x4f, 0xa1,
  1183. };
  1184. static const unsigned char kat41_nor_persstr[] = {
  1185. 0x1d, 0x04, 0xbe, 0xea, 0xf7, 0x92, 0xcf, 0x33, 0x60, 0x13, 0xf6, 0xdf,
  1186. 0xec, 0xf8, 0xbf, 0x37,
  1187. };
  1188. static const unsigned char kat41_nor_addin0[] = {0};
  1189. static const unsigned char kat41_nor_addin1[] = {0};
  1190. static const unsigned char kat41_nor_retbytes[] = {
  1191. 0xea, 0xbf, 0xcd, 0xfc, 0x39, 0x6b, 0x5e, 0x9c, 0x10, 0xe0, 0x9b, 0x45,
  1192. 0xaa, 0x0f, 0xe9, 0x78, 0x55, 0x8a, 0xaf, 0x8a, 0x13, 0xc4, 0xce, 0x7c,
  1193. 0xdc, 0xba, 0xb0, 0x21, 0x68, 0x82, 0xd3, 0x95, 0x55, 0xb3, 0x69, 0xc6,
  1194. 0x8e, 0x62, 0x48, 0x4d, 0x1c, 0xcd, 0x51, 0xfd, 0xcc, 0x4c, 0xb6, 0x1b,
  1195. 0x22, 0xa0, 0x12, 0x01, 0x47, 0xe6, 0x68, 0x6c, 0x26, 0x3c, 0x32, 0xf6,
  1196. 0x62, 0x33, 0x27, 0x3a, 0x30, 0x11, 0xda, 0xd2, 0x42, 0x8d, 0x4d, 0x6f,
  1197. 0x5e, 0x9e, 0x20, 0xb9, 0xef, 0x64, 0x74, 0xe4,
  1198. };
  1199. static const struct drbg_kat_no_reseed kat41_nor_t = {
  1200. 10, kat41_nor_entropyin, kat41_nor_nonce, kat41_nor_persstr,
  1201. kat41_nor_addin0, kat41_nor_addin1, kat41_nor_retbytes
  1202. };
  1203. static const struct drbg_kat kat41_nor = {
  1204. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat41_nor_t
  1205. };
  1206. static const unsigned char kat42_nor_entropyin[] = {
  1207. 0x86, 0xe5, 0x9a, 0x04, 0x69, 0x83, 0x7c, 0x69, 0xff, 0xec, 0xa5, 0x66,
  1208. 0x65, 0x6f, 0x02, 0x54,
  1209. };
  1210. static const unsigned char kat42_nor_nonce[] = {
  1211. 0x67, 0x7e, 0x6c, 0xb3, 0x13, 0xa3, 0x4a, 0x19,
  1212. };
  1213. static const unsigned char kat42_nor_persstr[] = {
  1214. 0x38, 0x09, 0x01, 0x3d, 0x72, 0xfc, 0x55, 0x99, 0x01, 0xca, 0x1b, 0x06,
  1215. 0xbe, 0x58, 0x78, 0xf8,
  1216. };
  1217. static const unsigned char kat42_nor_addin0[] = {0};
  1218. static const unsigned char kat42_nor_addin1[] = {0};
  1219. static const unsigned char kat42_nor_retbytes[] = {
  1220. 0x8f, 0xa6, 0x23, 0x14, 0xbf, 0x1a, 0x1f, 0xf5, 0x84, 0x31, 0x79, 0x96,
  1221. 0xa1, 0x3a, 0x64, 0x80, 0x06, 0x95, 0x8f, 0xe8, 0xcd, 0x52, 0x63, 0xc6,
  1222. 0x1a, 0x2c, 0x68, 0x94, 0x19, 0x35, 0x8d, 0xc3, 0x56, 0xf3, 0x4e, 0x1b,
  1223. 0x19, 0x81, 0xaa, 0x8f, 0x4d, 0x18, 0x99, 0xa5, 0x1f, 0xed, 0x1a, 0x9c,
  1224. 0xfc, 0x8d, 0xb7, 0xe8, 0x4b, 0x73, 0x50, 0x63, 0x77, 0xcd, 0x12, 0x36,
  1225. 0x6b, 0xbc, 0x14, 0x40, 0x32, 0x1e, 0xf1, 0xd6, 0x4a, 0x0a, 0x6e, 0xb0,
  1226. 0xff, 0xe2, 0x54, 0x00, 0xeb, 0x82, 0xa7, 0xac,
  1227. };
  1228. static const struct drbg_kat_no_reseed kat42_nor_t = {
  1229. 11, kat42_nor_entropyin, kat42_nor_nonce, kat42_nor_persstr,
  1230. kat42_nor_addin0, kat42_nor_addin1, kat42_nor_retbytes
  1231. };
  1232. static const struct drbg_kat kat42_nor = {
  1233. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat42_nor_t
  1234. };
  1235. static const unsigned char kat43_nor_entropyin[] = {
  1236. 0x66, 0xd1, 0xab, 0x7b, 0x31, 0x15, 0x24, 0x93, 0x61, 0xdb, 0x41, 0x48,
  1237. 0x25, 0x38, 0xd1, 0x42,
  1238. };
  1239. static const unsigned char kat43_nor_nonce[] = {
  1240. 0xa1, 0x7c, 0xbb, 0xde, 0x72, 0x00, 0xd2, 0xbe,
  1241. };
  1242. static const unsigned char kat43_nor_persstr[] = {
  1243. 0xaa, 0xd7, 0xb6, 0xa9, 0xde, 0x71, 0x7a, 0xcc, 0x17, 0xfa, 0x7c, 0xed,
  1244. 0xc2, 0x85, 0x8e, 0xa9,
  1245. };
  1246. static const unsigned char kat43_nor_addin0[] = {0};
  1247. static const unsigned char kat43_nor_addin1[] = {0};
  1248. static const unsigned char kat43_nor_retbytes[] = {
  1249. 0x18, 0xe3, 0xfa, 0x3d, 0x86, 0x1a, 0xb8, 0x10, 0xe4, 0xfc, 0xd0, 0x52,
  1250. 0x06, 0xb3, 0xec, 0x49, 0x87, 0xc1, 0x60, 0x00, 0xf6, 0xa8, 0x4a, 0x28,
  1251. 0xe2, 0xe8, 0x93, 0x87, 0xb4, 0x01, 0x0c, 0x84, 0x0f, 0x79, 0x64, 0x84,
  1252. 0xd4, 0x73, 0x0c, 0x5b, 0x3a, 0x46, 0xe3, 0x7c, 0x99, 0xe5, 0xe1, 0xea,
  1253. 0x02, 0xa6, 0xd1, 0x53, 0xd5, 0x0e, 0x97, 0x19, 0xe0, 0x41, 0x9e, 0x58,
  1254. 0xe9, 0xf6, 0x25, 0x4b, 0xa3, 0xb9, 0xca, 0x80, 0xbb, 0x1b, 0x27, 0xf7,
  1255. 0x0a, 0x05, 0xc9, 0x44, 0xcb, 0xbf, 0x9e, 0x89,
  1256. };
  1257. static const struct drbg_kat_no_reseed kat43_nor_t = {
  1258. 12, kat43_nor_entropyin, kat43_nor_nonce, kat43_nor_persstr,
  1259. kat43_nor_addin0, kat43_nor_addin1, kat43_nor_retbytes
  1260. };
  1261. static const struct drbg_kat kat43_nor = {
  1262. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat43_nor_t
  1263. };
  1264. static const unsigned char kat44_nor_entropyin[] = {
  1265. 0x61, 0x49, 0x06, 0x0c, 0x71, 0xc6, 0xd6, 0xfa, 0xc0, 0xd3, 0x08, 0x83,
  1266. 0x69, 0xa9, 0x62, 0x8e,
  1267. };
  1268. static const unsigned char kat44_nor_nonce[] = {
  1269. 0x6a, 0x97, 0xf8, 0x19, 0x9b, 0x36, 0xb3, 0xca,
  1270. };
  1271. static const unsigned char kat44_nor_persstr[] = {
  1272. 0x23, 0x1c, 0x6f, 0x78, 0x38, 0x8f, 0xb6, 0x3c, 0xfe, 0x94, 0x22, 0xde,
  1273. 0xd4, 0x1c, 0xaa, 0x7a,
  1274. };
  1275. static const unsigned char kat44_nor_addin0[] = {0};
  1276. static const unsigned char kat44_nor_addin1[] = {0};
  1277. static const unsigned char kat44_nor_retbytes[] = {
  1278. 0x9d, 0x7c, 0xea, 0x99, 0x27, 0xe5, 0xe9, 0x55, 0x2d, 0xe9, 0xda, 0x9a,
  1279. 0x8c, 0x29, 0x1b, 0x94, 0x00, 0xe3, 0x8f, 0xb3, 0x2c, 0x30, 0xdc, 0x33,
  1280. 0x4f, 0x57, 0x2b, 0xac, 0xe0, 0x72, 0x81, 0x5b, 0xcc, 0x48, 0x06, 0xfc,
  1281. 0x07, 0x7b, 0x7a, 0xe6, 0xe4, 0xc8, 0x2e, 0xd9, 0xa8, 0x0b, 0x28, 0x1f,
  1282. 0xe1, 0x86, 0x81, 0x8c, 0x38, 0xbc, 0x1d, 0x0f, 0x16, 0xce, 0x05, 0xee,
  1283. 0x64, 0x44, 0x50, 0xd2, 0x0d, 0xe5, 0xec, 0xdb, 0xa5, 0x75, 0xe4, 0x36,
  1284. 0xac, 0xb8, 0x52, 0x62, 0x30, 0xcd, 0x8b, 0xce,
  1285. };
  1286. static const struct drbg_kat_no_reseed kat44_nor_t = {
  1287. 13, kat44_nor_entropyin, kat44_nor_nonce, kat44_nor_persstr,
  1288. kat44_nor_addin0, kat44_nor_addin1, kat44_nor_retbytes
  1289. };
  1290. static const struct drbg_kat kat44_nor = {
  1291. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat44_nor_t
  1292. };
  1293. static const unsigned char kat45_nor_entropyin[] = {
  1294. 0xf3, 0x68, 0xb8, 0x15, 0x01, 0x33, 0x8a, 0x3c, 0xca, 0x94, 0x83, 0x53,
  1295. 0xfe, 0x16, 0x97, 0x0d,
  1296. };
  1297. static const unsigned char kat45_nor_nonce[] = {
  1298. 0xfa, 0x9a, 0xda, 0xe9, 0x24, 0x41, 0x71, 0x50,
  1299. };
  1300. static const unsigned char kat45_nor_persstr[] = {
  1301. 0xdb, 0xad, 0x22, 0xc3, 0x89, 0xc5, 0x27, 0x71, 0x5d, 0x21, 0xa5, 0xbd,
  1302. 0xf3, 0x8c, 0x1f, 0xad,
  1303. };
  1304. static const unsigned char kat45_nor_addin0[] = {0};
  1305. static const unsigned char kat45_nor_addin1[] = {0};
  1306. static const unsigned char kat45_nor_retbytes[] = {
  1307. 0xa1, 0x8d, 0x57, 0xe6, 0x72, 0x21, 0x89, 0x56, 0xe6, 0xc8, 0xcb, 0x99,
  1308. 0x01, 0xd0, 0x28, 0x88, 0xf3, 0x58, 0x71, 0x77, 0xc3, 0xe1, 0x1e, 0x1a,
  1309. 0x99, 0xea, 0x72, 0x37, 0x03, 0x47, 0xb9, 0x53, 0xa9, 0xf1, 0x22, 0xc9,
  1310. 0x44, 0x6d, 0xfa, 0x10, 0x97, 0x23, 0xb2, 0x7f, 0x36, 0xfb, 0xf1, 0x5e,
  1311. 0xdf, 0x10, 0x3a, 0x56, 0x74, 0x1c, 0x24, 0x96, 0x85, 0x92, 0x47, 0x9c,
  1312. 0xfe, 0x30, 0xbc, 0x00, 0x53, 0xfa, 0x7b, 0x98, 0x18, 0xe9, 0xde, 0xbc,
  1313. 0xc4, 0x94, 0xdb, 0x64, 0xd1, 0x5d, 0x03, 0x8b,
  1314. };
  1315. static const struct drbg_kat_no_reseed kat45_nor_t = {
  1316. 14, kat45_nor_entropyin, kat45_nor_nonce, kat45_nor_persstr,
  1317. kat45_nor_addin0, kat45_nor_addin1, kat45_nor_retbytes
  1318. };
  1319. static const struct drbg_kat kat45_nor = {
  1320. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat45_nor_t
  1321. };
  1322. static const unsigned char kat46_nor_entropyin[] = {
  1323. 0x64, 0x66, 0xe1, 0x79, 0x9a, 0x68, 0x01, 0x23, 0x79, 0x63, 0x1b, 0x3a,
  1324. 0xae, 0x41, 0xf5, 0x9b,
  1325. };
  1326. static const unsigned char kat46_nor_nonce[] = {
  1327. 0x6b, 0x0c, 0x61, 0x26, 0x9f, 0x67, 0xc5, 0x76,
  1328. };
  1329. static const unsigned char kat46_nor_persstr[] = {
  1330. 0xcc, 0x93, 0x6b, 0x87, 0xc8, 0xc8, 0xc1, 0xab, 0x85, 0xdd, 0xe0, 0xad,
  1331. 0x2e, 0x92, 0x42, 0xb4,
  1332. };
  1333. static const unsigned char kat46_nor_addin0[] = {
  1334. 0xd1, 0x03, 0x3a, 0xc5, 0x53, 0xef, 0x08, 0xf2, 0x2f, 0xd3, 0x8f, 0x12,
  1335. 0xb4, 0x9b, 0x45, 0xbc,
  1336. };
  1337. static const unsigned char kat46_nor_addin1[] = {
  1338. 0xf0, 0x04, 0xba, 0x01, 0xf5, 0x14, 0x55, 0x43, 0x0d, 0x84, 0x36, 0x2e,
  1339. 0x37, 0x6e, 0xb7, 0x75,
  1340. };
  1341. static const unsigned char kat46_nor_retbytes[] = {
  1342. 0x5d, 0x67, 0x5d, 0x1e, 0x92, 0x49, 0x09, 0x52, 0x70, 0x3c, 0x19, 0x41,
  1343. 0x94, 0xe1, 0xb0, 0x61, 0xb6, 0xec, 0x4e, 0x21, 0x9d, 0xc2, 0xe1, 0xed,
  1344. 0xaa, 0x89, 0x1e, 0xf2, 0xd1, 0xb7, 0xed, 0x05, 0x0a, 0x06, 0x34, 0x2d,
  1345. 0x3c, 0x09, 0x50, 0x11, 0xeb, 0x33, 0x9f, 0x19, 0x85, 0x19, 0x77, 0x9b,
  1346. 0x01, 0xab, 0x1a, 0x58, 0x0b, 0xd2, 0xe3, 0x4d, 0x6c, 0xf4, 0xe4, 0x7c,
  1347. 0x1b, 0xef, 0xe0, 0xc7, 0xdc, 0x37, 0xb4, 0xaa, 0xfb, 0x31, 0x12, 0x8f,
  1348. 0xa3, 0x96, 0x26, 0x7f, 0x37, 0x32, 0x09, 0x5a,
  1349. };
  1350. static const struct drbg_kat_no_reseed kat46_nor_t = {
  1351. 0, kat46_nor_entropyin, kat46_nor_nonce, kat46_nor_persstr,
  1352. kat46_nor_addin0, kat46_nor_addin1, kat46_nor_retbytes
  1353. };
  1354. static const struct drbg_kat kat46_nor = {
  1355. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat46_nor_t
  1356. };
  1357. static const unsigned char kat47_nor_entropyin[] = {
  1358. 0x7e, 0xd2, 0x84, 0xc8, 0x59, 0x6b, 0x6f, 0x01, 0x07, 0xde, 0x3b, 0x4b,
  1359. 0x95, 0xcd, 0x91, 0x14,
  1360. };
  1361. static const unsigned char kat47_nor_nonce[] = {
  1362. 0x69, 0x11, 0x6c, 0x8a, 0x07, 0x3b, 0xf4, 0xf4,
  1363. };
  1364. static const unsigned char kat47_nor_persstr[] = {
  1365. 0xaf, 0x66, 0x8e, 0xb6, 0x5b, 0x0f, 0x4d, 0xf2, 0xed, 0x49, 0xb3, 0x7c,
  1366. 0x84, 0x2b, 0x27, 0x2e,
  1367. };
  1368. static const unsigned char kat47_nor_addin0[] = {
  1369. 0xf0, 0xdd, 0xc4, 0x59, 0x22, 0x36, 0x3f, 0x40, 0x27, 0x1e, 0x7a, 0x01,
  1370. 0xed, 0x67, 0xba, 0x84,
  1371. };
  1372. static const unsigned char kat47_nor_addin1[] = {
  1373. 0xc2, 0xda, 0x95, 0xcb, 0xfe, 0xfd, 0x2a, 0xc7, 0x39, 0x5c, 0xf9, 0x89,
  1374. 0x71, 0x1c, 0x13, 0x50,
  1375. };
  1376. static const unsigned char kat47_nor_retbytes[] = {
  1377. 0x30, 0x6f, 0x55, 0x30, 0x77, 0x03, 0x4e, 0xc2, 0xa8, 0x6a, 0x64, 0xcd,
  1378. 0xf3, 0x43, 0x87, 0xc5, 0x97, 0x69, 0xaa, 0xe1, 0x49, 0xd8, 0xcd, 0xb0,
  1379. 0x04, 0x1a, 0x5c, 0x2e, 0x6d, 0xf9, 0xdd, 0x1e, 0x00, 0xef, 0x08, 0x98,
  1380. 0x17, 0x9d, 0x6c, 0x6b, 0xf0, 0x2b, 0x2c, 0x42, 0xb4, 0xa8, 0x98, 0xf4,
  1381. 0x8c, 0xdd, 0x9b, 0xa4, 0xad, 0x2b, 0x99, 0xfb, 0x13, 0x3c, 0x5a, 0xce,
  1382. 0x42, 0x49, 0xa6, 0x7b, 0xc3, 0x0e, 0x64, 0x52, 0x49, 0x5c, 0x18, 0x62,
  1383. 0x44, 0xdc, 0x5a, 0xc6, 0x92, 0x8b, 0x1f, 0xf3,
  1384. };
  1385. static const struct drbg_kat_no_reseed kat47_nor_t = {
  1386. 1, kat47_nor_entropyin, kat47_nor_nonce, kat47_nor_persstr,
  1387. kat47_nor_addin0, kat47_nor_addin1, kat47_nor_retbytes
  1388. };
  1389. static const struct drbg_kat kat47_nor = {
  1390. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat47_nor_t
  1391. };
  1392. static const unsigned char kat48_nor_entropyin[] = {
  1393. 0x48, 0xfe, 0xfe, 0x99, 0x7c, 0xef, 0x3b, 0xa2, 0xb7, 0x3e, 0x76, 0xaa,
  1394. 0xf0, 0x03, 0x59, 0x0a,
  1395. };
  1396. static const unsigned char kat48_nor_nonce[] = {
  1397. 0x19, 0xdb, 0x21, 0xe0, 0xd0, 0x5d, 0x99, 0xb9,
  1398. };
  1399. static const unsigned char kat48_nor_persstr[] = {
  1400. 0xd8, 0x17, 0x59, 0xf6, 0xa2, 0x89, 0x2c, 0x5b, 0x2d, 0x51, 0xb8, 0x5f,
  1401. 0x94, 0xd8, 0x98, 0x72,
  1402. };
  1403. static const unsigned char kat48_nor_addin0[] = {
  1404. 0x70, 0x08, 0x42, 0x84, 0x15, 0x73, 0xe6, 0xae, 0xfc, 0x1f, 0xcf, 0x20,
  1405. 0xaa, 0x87, 0x74, 0x16,
  1406. };
  1407. static const unsigned char kat48_nor_addin1[] = {
  1408. 0xa9, 0x1e, 0xfe, 0x14, 0x15, 0xec, 0xfe, 0xe7, 0x1d, 0xf0, 0x68, 0xa1,
  1409. 0x6b, 0xaf, 0x03, 0x4d,
  1410. };
  1411. static const unsigned char kat48_nor_retbytes[] = {
  1412. 0xe6, 0xbe, 0xd7, 0x8b, 0xe0, 0x92, 0x15, 0xd9, 0xd1, 0xbe, 0xb0, 0xb8,
  1413. 0xb0, 0x88, 0x9e, 0x67, 0x79, 0x62, 0xa6, 0x1b, 0xf9, 0x01, 0xdf, 0x09,
  1414. 0xad, 0x8e, 0x36, 0xce, 0xec, 0x05, 0x25, 0x88, 0xb5, 0x7c, 0xdd, 0x44,
  1415. 0x5c, 0xe5, 0xa2, 0xc5, 0x7f, 0xd4, 0x0b, 0x74, 0x32, 0x86, 0x0f, 0xa3,
  1416. 0xc1, 0xc9, 0x78, 0x47, 0xd7, 0x90, 0xab, 0xd5, 0xd7, 0x04, 0xee, 0xfc,
  1417. 0x12, 0xff, 0x16, 0x36, 0xa6, 0xc9, 0x99, 0xc4, 0xda, 0xe9, 0x40, 0x0a,
  1418. 0x7c, 0x96, 0x8e, 0x84, 0xbc, 0x7e, 0xc3, 0xe6,
  1419. };
  1420. static const struct drbg_kat_no_reseed kat48_nor_t = {
  1421. 2, kat48_nor_entropyin, kat48_nor_nonce, kat48_nor_persstr,
  1422. kat48_nor_addin0, kat48_nor_addin1, kat48_nor_retbytes
  1423. };
  1424. static const struct drbg_kat kat48_nor = {
  1425. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat48_nor_t
  1426. };
  1427. static const unsigned char kat49_nor_entropyin[] = {
  1428. 0x31, 0xc4, 0x90, 0x0e, 0x6e, 0x37, 0x25, 0x0a, 0x80, 0xdb, 0x3b, 0x59,
  1429. 0xcb, 0xaa, 0x10, 0xee,
  1430. };
  1431. static const unsigned char kat49_nor_nonce[] = {
  1432. 0x8e, 0x19, 0x4c, 0x49, 0x4a, 0x41, 0x9d, 0x9e,
  1433. };
  1434. static const unsigned char kat49_nor_persstr[] = {
  1435. 0x12, 0x16, 0x74, 0x89, 0x8e, 0x64, 0x77, 0x5d, 0x34, 0x4f, 0x02, 0x2e,
  1436. 0xa6, 0x92, 0xd9, 0xe7,
  1437. };
  1438. static const unsigned char kat49_nor_addin0[] = {
  1439. 0x06, 0x62, 0x0c, 0x19, 0x98, 0xde, 0x33, 0x31, 0xb9, 0x2f, 0x24, 0x09,
  1440. 0xe8, 0x63, 0x58, 0x61,
  1441. };
  1442. static const unsigned char kat49_nor_addin1[] = {
  1443. 0xe0, 0xbc, 0x04, 0x53, 0x44, 0xe4, 0x59, 0x27, 0x36, 0x4b, 0x27, 0xd9,
  1444. 0xfc, 0xa2, 0xc5, 0x3f,
  1445. };
  1446. static const unsigned char kat49_nor_retbytes[] = {
  1447. 0x1b, 0x6e, 0x68, 0xec, 0x91, 0xba, 0x97, 0x08, 0x56, 0x2a, 0xaf, 0x2c,
  1448. 0xe6, 0xe3, 0xb4, 0x99, 0xf4, 0x2a, 0x1b, 0x72, 0xb1, 0x4e, 0x5c, 0x20,
  1449. 0xa8, 0x8e, 0x37, 0x3b, 0x85, 0xcb, 0xff, 0xc9, 0x24, 0xda, 0x24, 0xb4,
  1450. 0xc0, 0x88, 0x36, 0xb7, 0xa8, 0x49, 0x27, 0x06, 0x4e, 0xb0, 0xcc, 0x82,
  1451. 0x4f, 0x2d, 0xfa, 0x0f, 0x5a, 0xa8, 0xd4, 0x80, 0xcb, 0xbf, 0x7c, 0xa7,
  1452. 0x50, 0x8d, 0x96, 0x37, 0x0d, 0x92, 0xa5, 0x9f, 0x81, 0x37, 0xea, 0x39,
  1453. 0x16, 0x7a, 0x37, 0xda, 0x7f, 0x75, 0xc8, 0x9b,
  1454. };
  1455. static const struct drbg_kat_no_reseed kat49_nor_t = {
  1456. 3, kat49_nor_entropyin, kat49_nor_nonce, kat49_nor_persstr,
  1457. kat49_nor_addin0, kat49_nor_addin1, kat49_nor_retbytes
  1458. };
  1459. static const struct drbg_kat kat49_nor = {
  1460. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat49_nor_t
  1461. };
  1462. static const unsigned char kat50_nor_entropyin[] = {
  1463. 0xe8, 0xb4, 0x1a, 0x5a, 0xf5, 0xc4, 0x51, 0x52, 0x82, 0xf3, 0x07, 0x86,
  1464. 0x88, 0xbe, 0x48, 0xa2,
  1465. };
  1466. static const unsigned char kat50_nor_nonce[] = {
  1467. 0x4c, 0x3b, 0x5a, 0x55, 0x9c, 0xec, 0xa5, 0x1d,
  1468. };
  1469. static const unsigned char kat50_nor_persstr[] = {
  1470. 0xcf, 0x1a, 0xd8, 0xf0, 0x83, 0x98, 0x17, 0x06, 0x1b, 0xa5, 0x34, 0xe0,
  1471. 0x04, 0xf6, 0x13, 0x11,
  1472. };
  1473. static const unsigned char kat50_nor_addin0[] = {
  1474. 0x3c, 0x78, 0x3a, 0xa5, 0xe0, 0x96, 0xf5, 0x30, 0x5d, 0x84, 0xaa, 0xef,
  1475. 0x0d, 0xe0, 0x86, 0x5e,
  1476. };
  1477. static const unsigned char kat50_nor_addin1[] = {
  1478. 0x62, 0x27, 0x1e, 0x83, 0x41, 0x72, 0x5f, 0xad, 0xfc, 0x41, 0xef, 0x13,
  1479. 0x64, 0x92, 0xc6, 0xb3,
  1480. };
  1481. static const unsigned char kat50_nor_retbytes[] = {
  1482. 0x48, 0xa1, 0x17, 0x29, 0xd1, 0x98, 0xf9, 0x08, 0x26, 0x90, 0x65, 0xbc,
  1483. 0x85, 0x2d, 0x06, 0x2b, 0x93, 0x32, 0x04, 0x75, 0x35, 0xc0, 0x4d, 0x8c,
  1484. 0x0a, 0xd0, 0xb6, 0xb9, 0x9e, 0x9a, 0x90, 0xe6, 0x86, 0xdf, 0xca, 0x34,
  1485. 0x4d, 0xf6, 0x8c, 0x7b, 0xb7, 0x2e, 0xcb, 0xc7, 0x39, 0x63, 0x45, 0x19,
  1486. 0x07, 0x7f, 0xa6, 0xf1, 0xf0, 0x0e, 0x8d, 0xf4, 0xe3, 0x71, 0x2c, 0xfa,
  1487. 0x79, 0xef, 0x4d, 0x2d, 0x7e, 0x95, 0x00, 0x85, 0x99, 0x4b, 0xd5, 0x53,
  1488. 0x50, 0x2f, 0x67, 0x3f, 0x8f, 0xfe, 0xc1, 0x7a,
  1489. };
  1490. static const struct drbg_kat_no_reseed kat50_nor_t = {
  1491. 4, kat50_nor_entropyin, kat50_nor_nonce, kat50_nor_persstr,
  1492. kat50_nor_addin0, kat50_nor_addin1, kat50_nor_retbytes
  1493. };
  1494. static const struct drbg_kat kat50_nor = {
  1495. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat50_nor_t
  1496. };
  1497. static const unsigned char kat51_nor_entropyin[] = {
  1498. 0xe9, 0x00, 0xd8, 0xf9, 0x80, 0x3f, 0x7f, 0xde, 0xb4, 0xfe, 0x52, 0x22,
  1499. 0xd9, 0x9c, 0xe8, 0xb5,
  1500. };
  1501. static const unsigned char kat51_nor_nonce[] = {
  1502. 0xa5, 0x41, 0x2a, 0x73, 0xd5, 0x9f, 0xfd, 0x2f,
  1503. };
  1504. static const unsigned char kat51_nor_persstr[] = {
  1505. 0x10, 0x52, 0x3f, 0x20, 0xa6, 0x90, 0x46, 0x5f, 0x73, 0x39, 0xf6, 0x6f,
  1506. 0x8d, 0x91, 0xf9, 0xaf,
  1507. };
  1508. static const unsigned char kat51_nor_addin0[] = {
  1509. 0x75, 0x4f, 0xb2, 0xb6, 0x2c, 0xe1, 0x79, 0x1c, 0x0a, 0x17, 0x31, 0xec,
  1510. 0xa8, 0xd0, 0x06, 0xdc,
  1511. };
  1512. static const unsigned char kat51_nor_addin1[] = {
  1513. 0x66, 0xa8, 0xfa, 0x07, 0x27, 0xf4, 0xf8, 0x80, 0xaf, 0xd4, 0x00, 0x65,
  1514. 0x74, 0xa5, 0x1b, 0xd8,
  1515. };
  1516. static const unsigned char kat51_nor_retbytes[] = {
  1517. 0xa7, 0x2c, 0x09, 0xf2, 0x3d, 0xe8, 0xcd, 0xab, 0x9d, 0x60, 0x67, 0xb8,
  1518. 0xee, 0x0d, 0xbc, 0xbb, 0xa9, 0x73, 0x06, 0xad, 0x71, 0x18, 0x60, 0xf7,
  1519. 0x95, 0x8d, 0x4c, 0x58, 0x89, 0xe6, 0x15, 0x49, 0xe3, 0x0f, 0xea, 0x41,
  1520. 0x5a, 0xbc, 0xb6, 0x21, 0x1d, 0x0e, 0xbd, 0xdd, 0x27, 0xda, 0x0c, 0xa1,
  1521. 0x10, 0x4a, 0x4c, 0x58, 0x54, 0x86, 0xea, 0x49, 0x5e, 0xde, 0xa8, 0x72,
  1522. 0x57, 0xd2, 0xb7, 0x54, 0x62, 0x50, 0x45, 0x38, 0xf2, 0x1d, 0x18, 0x03,
  1523. 0xf2, 0x67, 0x91, 0x28, 0xf8, 0xfd, 0xab, 0x7a,
  1524. };
  1525. static const struct drbg_kat_no_reseed kat51_nor_t = {
  1526. 5, kat51_nor_entropyin, kat51_nor_nonce, kat51_nor_persstr,
  1527. kat51_nor_addin0, kat51_nor_addin1, kat51_nor_retbytes
  1528. };
  1529. static const struct drbg_kat kat51_nor = {
  1530. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat51_nor_t
  1531. };
  1532. static const unsigned char kat52_nor_entropyin[] = {
  1533. 0x39, 0x5b, 0x1d, 0xa9, 0x17, 0x18, 0x83, 0x71, 0xad, 0xbb, 0x0d, 0x50,
  1534. 0x27, 0xdf, 0xc2, 0xd8,
  1535. };
  1536. static const unsigned char kat52_nor_nonce[] = {
  1537. 0x77, 0x39, 0xdd, 0x16, 0x0f, 0x53, 0xbf, 0x02,
  1538. };
  1539. static const unsigned char kat52_nor_persstr[] = {
  1540. 0x3e, 0x86, 0x4c, 0x12, 0x87, 0xdc, 0x15, 0xee, 0x2c, 0x58, 0x5f, 0xae,
  1541. 0xd1, 0x22, 0x26, 0xc5,
  1542. };
  1543. static const unsigned char kat52_nor_addin0[] = {
  1544. 0xb4, 0x06, 0xd8, 0xb8, 0x9f, 0x3d, 0x60, 0x25, 0x60, 0x25, 0x7f, 0xa4,
  1545. 0x76, 0x03, 0x16, 0xe1,
  1546. };
  1547. static const unsigned char kat52_nor_addin1[] = {
  1548. 0x94, 0xb7, 0x2e, 0x35, 0x5f, 0xd1, 0x2a, 0x08, 0x34, 0xcd, 0x24, 0x48,
  1549. 0xf4, 0x34, 0x3d, 0x16,
  1550. };
  1551. static const unsigned char kat52_nor_retbytes[] = {
  1552. 0xe0, 0xa3, 0xa7, 0xc3, 0x6b, 0x94, 0x61, 0xa0, 0x3f, 0x75, 0x35, 0x6e,
  1553. 0x58, 0x8b, 0x64, 0x34, 0xc1, 0xea, 0x08, 0xd9, 0x16, 0x83, 0x58, 0xc8,
  1554. 0x28, 0x7e, 0x7a, 0x3d, 0x99, 0xfc, 0x15, 0x53, 0x0e, 0x15, 0x61, 0xd3,
  1555. 0x12, 0xc7, 0x41, 0xdf, 0x9e, 0x8f, 0xac, 0x58, 0x29, 0x9e, 0xbd, 0xe1,
  1556. 0x8f, 0xc9, 0x0a, 0xd8, 0xa9, 0x52, 0xc8, 0x98, 0x4e, 0xf3, 0x1d, 0xcd,
  1557. 0xc9, 0xa6, 0x02, 0x3d, 0x5e, 0xdb, 0x4b, 0xc3, 0x93, 0xb3, 0x79, 0xfe,
  1558. 0xb9, 0xa9, 0x18, 0x89, 0x8d, 0x8c, 0x46, 0x8e,
  1559. };
  1560. static const struct drbg_kat_no_reseed kat52_nor_t = {
  1561. 6, kat52_nor_entropyin, kat52_nor_nonce, kat52_nor_persstr,
  1562. kat52_nor_addin0, kat52_nor_addin1, kat52_nor_retbytes
  1563. };
  1564. static const struct drbg_kat kat52_nor = {
  1565. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat52_nor_t
  1566. };
  1567. static const unsigned char kat53_nor_entropyin[] = {
  1568. 0x0a, 0xcd, 0x1d, 0xa3, 0xcf, 0xeb, 0xd6, 0xc6, 0x6d, 0x4f, 0x2a, 0xc3,
  1569. 0x6a, 0xec, 0x6d, 0xee,
  1570. };
  1571. static const unsigned char kat53_nor_nonce[] = {
  1572. 0xfb, 0xa4, 0xc2, 0x00, 0xff, 0x69, 0x1b, 0xcc,
  1573. };
  1574. static const unsigned char kat53_nor_persstr[] = {
  1575. 0x6a, 0xfc, 0xa0, 0x03, 0x4d, 0xbc, 0xf6, 0x32, 0xc8, 0x15, 0xe3, 0x3e,
  1576. 0x69, 0xf7, 0x33, 0x40,
  1577. };
  1578. static const unsigned char kat53_nor_addin0[] = {
  1579. 0x0f, 0x3d, 0xea, 0xdd, 0xdf, 0x2c, 0x53, 0xbf, 0xee, 0xdb, 0x47, 0xfe,
  1580. 0xd1, 0x0c, 0xf4, 0xe3,
  1581. };
  1582. static const unsigned char kat53_nor_addin1[] = {
  1583. 0x32, 0x6e, 0xd6, 0x10, 0xfe, 0x03, 0x8f, 0x5f, 0x16, 0x8c, 0xf7, 0xee,
  1584. 0x4a, 0x1e, 0xf3, 0x8e,
  1585. };
  1586. static const unsigned char kat53_nor_retbytes[] = {
  1587. 0xa6, 0x5e, 0xf7, 0x22, 0xc9, 0x17, 0x21, 0xba, 0xf5, 0xe6, 0x09, 0xea,
  1588. 0x12, 0x9a, 0x32, 0x11, 0xd0, 0x5c, 0x53, 0x67, 0x7a, 0x57, 0x6a, 0xc5,
  1589. 0x55, 0x2e, 0x0d, 0x03, 0x2c, 0xa1, 0x72, 0x28, 0xa1, 0xa6, 0xce, 0xdc,
  1590. 0x41, 0xa0, 0x6e, 0x5a, 0xdd, 0x7d, 0x9c, 0x44, 0xc4, 0x11, 0x10, 0xaf,
  1591. 0xdf, 0x5f, 0xa2, 0x7f, 0x9c, 0xd4, 0xb4, 0xfd, 0x1b, 0x65, 0xc7, 0xa3,
  1592. 0x46, 0xc3, 0x9f, 0xc3, 0xc2, 0x2d, 0x1e, 0x04, 0x2e, 0x39, 0x6a, 0xe1,
  1593. 0x96, 0x28, 0xb2, 0xee, 0x4f, 0x3c, 0xb5, 0xd9,
  1594. };
  1595. static const struct drbg_kat_no_reseed kat53_nor_t = {
  1596. 7, kat53_nor_entropyin, kat53_nor_nonce, kat53_nor_persstr,
  1597. kat53_nor_addin0, kat53_nor_addin1, kat53_nor_retbytes
  1598. };
  1599. static const struct drbg_kat kat53_nor = {
  1600. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat53_nor_t
  1601. };
  1602. static const unsigned char kat54_nor_entropyin[] = {
  1603. 0xe9, 0x49, 0x29, 0x67, 0xa0, 0x6e, 0x84, 0xc8, 0x0b, 0xd0, 0x49, 0xfe,
  1604. 0x9f, 0x2d, 0x08, 0xa7,
  1605. };
  1606. static const unsigned char kat54_nor_nonce[] = {
  1607. 0x28, 0x7d, 0x30, 0xdc, 0x97, 0x2f, 0xfc, 0x8c,
  1608. };
  1609. static const unsigned char kat54_nor_persstr[] = {
  1610. 0xfa, 0x60, 0xa8, 0x94, 0xd9, 0x95, 0x5f, 0xd1, 0x4d, 0x36, 0x8a, 0xef,
  1611. 0xcb, 0xe5, 0x0e, 0x67,
  1612. };
  1613. static const unsigned char kat54_nor_addin0[] = {
  1614. 0xba, 0xe9, 0xd7, 0x92, 0xa1, 0xd6, 0x67, 0xfa, 0xdb, 0xee, 0xfe, 0x98,
  1615. 0xd6, 0x45, 0x78, 0x0e,
  1616. };
  1617. static const unsigned char kat54_nor_addin1[] = {
  1618. 0x41, 0x82, 0x02, 0x16, 0x0d, 0x92, 0xcb, 0x59, 0xd1, 0xe7, 0x37, 0x88,
  1619. 0x38, 0x64, 0x3c, 0x1e,
  1620. };
  1621. static const unsigned char kat54_nor_retbytes[] = {
  1622. 0xa6, 0xdb, 0xef, 0xea, 0xf6, 0xf8, 0x59, 0xd7, 0xac, 0x41, 0x37, 0xaf,
  1623. 0x79, 0x8c, 0xaa, 0x8f, 0xbb, 0x4f, 0xa2, 0xfb, 0xe4, 0x96, 0x98, 0x6c,
  1624. 0xdc, 0x8c, 0x86, 0xba, 0xbc, 0x72, 0xb1, 0x65, 0x5e, 0x98, 0xe5, 0x2c,
  1625. 0x40, 0xf6, 0x66, 0x81, 0xc4, 0xd4, 0xcb, 0x13, 0x19, 0xb3, 0xcf, 0xa9,
  1626. 0x7d, 0xa7, 0x33, 0x33, 0x10, 0x9c, 0xe4, 0x14, 0xce, 0x41, 0xc9, 0x3b,
  1627. 0x1e, 0x62, 0x76, 0x7f, 0xd2, 0x6a, 0x75, 0x7e, 0xb8, 0x2d, 0xce, 0x2d,
  1628. 0x44, 0x54, 0xf8, 0xe9, 0xdf, 0xfb, 0x79, 0x1f,
  1629. };
  1630. static const struct drbg_kat_no_reseed kat54_nor_t = {
  1631. 8, kat54_nor_entropyin, kat54_nor_nonce, kat54_nor_persstr,
  1632. kat54_nor_addin0, kat54_nor_addin1, kat54_nor_retbytes
  1633. };
  1634. static const struct drbg_kat kat54_nor = {
  1635. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat54_nor_t
  1636. };
  1637. static const unsigned char kat55_nor_entropyin[] = {
  1638. 0x3a, 0x65, 0x5b, 0x77, 0x52, 0x7c, 0x15, 0x24, 0xaa, 0x13, 0xc7, 0x1a,
  1639. 0x3d, 0x9e, 0x19, 0x16,
  1640. };
  1641. static const unsigned char kat55_nor_nonce[] = {
  1642. 0x66, 0x12, 0xc7, 0x46, 0xe4, 0xbc, 0xc0, 0xef,
  1643. };
  1644. static const unsigned char kat55_nor_persstr[] = {
  1645. 0x8a, 0x1c, 0x40, 0x2e, 0x8a, 0xbc, 0x71, 0xff, 0x11, 0xd7, 0xe4, 0x73,
  1646. 0x8f, 0x14, 0xb0, 0x0f,
  1647. };
  1648. static const unsigned char kat55_nor_addin0[] = {
  1649. 0x39, 0xaf, 0x3c, 0xe9, 0x9e, 0xb8, 0xe9, 0xea, 0x59, 0x64, 0x31, 0x0c,
  1650. 0x27, 0xc5, 0x06, 0x73,
  1651. };
  1652. static const unsigned char kat55_nor_addin1[] = {
  1653. 0xb3, 0x35, 0x3b, 0xf5, 0x22, 0xfd, 0xf8, 0xca, 0x87, 0xe8, 0x40, 0x66,
  1654. 0x5d, 0xb7, 0x3a, 0x1e,
  1655. };
  1656. static const unsigned char kat55_nor_retbytes[] = {
  1657. 0x2b, 0xe2, 0x93, 0x38, 0xc9, 0x15, 0xbd, 0x42, 0x39, 0x7d, 0x73, 0x90,
  1658. 0x7d, 0x70, 0xf5, 0xd9, 0x5b, 0xa9, 0xbf, 0xf4, 0x99, 0xd1, 0x1f, 0x7a,
  1659. 0x27, 0x39, 0x9d, 0xb6, 0x64, 0x70, 0xe2, 0x65, 0x98, 0xcd, 0xac, 0xb5,
  1660. 0xab, 0x06, 0xd1, 0xd1, 0x37, 0x57, 0x04, 0x3c, 0x8d, 0xbf, 0x56, 0xa0,
  1661. 0x5d, 0x30, 0x39, 0x2c, 0xc3, 0xb2, 0x1f, 0x42, 0x10, 0xcc, 0x14, 0x16,
  1662. 0x52, 0xea, 0x42, 0xb0, 0x2e, 0x4b, 0x95, 0x7c, 0x84, 0x6e, 0xfd, 0x21,
  1663. 0x4a, 0x4b, 0xe0, 0xf0, 0x15, 0xb5, 0x14, 0xd0,
  1664. };
  1665. static const struct drbg_kat_no_reseed kat55_nor_t = {
  1666. 9, kat55_nor_entropyin, kat55_nor_nonce, kat55_nor_persstr,
  1667. kat55_nor_addin0, kat55_nor_addin1, kat55_nor_retbytes
  1668. };
  1669. static const struct drbg_kat kat55_nor = {
  1670. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat55_nor_t
  1671. };
  1672. static const unsigned char kat56_nor_entropyin[] = {
  1673. 0x12, 0x42, 0x0e, 0xb0, 0x2f, 0xd4, 0x38, 0x32, 0x63, 0x81, 0x49, 0x68,
  1674. 0xdc, 0xf6, 0x07, 0x91,
  1675. };
  1676. static const unsigned char kat56_nor_nonce[] = {
  1677. 0x37, 0x7a, 0x3f, 0xca, 0xa2, 0x67, 0x0b, 0x8b,
  1678. };
  1679. static const unsigned char kat56_nor_persstr[] = {
  1680. 0x4e, 0xfc, 0x59, 0x26, 0xbd, 0x99, 0x9a, 0xd4, 0x6c, 0x30, 0xe9, 0xbc,
  1681. 0x72, 0x96, 0xb2, 0xba,
  1682. };
  1683. static const unsigned char kat56_nor_addin0[] = {
  1684. 0x5c, 0x68, 0xc0, 0xf0, 0x79, 0x11, 0x04, 0x76, 0xc1, 0x48, 0x77, 0xc5,
  1685. 0xfd, 0xed, 0x2b, 0x7f,
  1686. };
  1687. static const unsigned char kat56_nor_addin1[] = {
  1688. 0x3f, 0x17, 0x47, 0xb2, 0xa6, 0x4b, 0xb3, 0x71, 0xeb, 0x56, 0x6a, 0x02,
  1689. 0x04, 0xc8, 0x2e, 0x7b,
  1690. };
  1691. static const unsigned char kat56_nor_retbytes[] = {
  1692. 0x1d, 0x73, 0x39, 0x29, 0x28, 0x43, 0x8d, 0xa9, 0xe9, 0xf7, 0xa2, 0x8f,
  1693. 0xff, 0x33, 0x32, 0x74, 0x6f, 0x7f, 0xf9, 0x05, 0x58, 0xc9, 0x87, 0x38,
  1694. 0x33, 0x05, 0xc8, 0xdb, 0x81, 0x75, 0xc9, 0x01, 0x2d, 0xeb, 0xda, 0xf7,
  1695. 0x36, 0x59, 0xfd, 0xb4, 0xc4, 0x04, 0x17, 0xb5, 0xd8, 0xda, 0xa4, 0xfe,
  1696. 0xf8, 0xb4, 0x26, 0x96, 0x35, 0x9f, 0x05, 0x58, 0x45, 0x42, 0xd1, 0x47,
  1697. 0x21, 0xd6, 0x8f, 0x8c, 0xa7, 0x80, 0x7b, 0x75, 0x1d, 0x64, 0x9e, 0xf2,
  1698. 0x4e, 0xb4, 0x29, 0x46, 0xc1, 0xc5, 0x00, 0x3c,
  1699. };
  1700. static const struct drbg_kat_no_reseed kat56_nor_t = {
  1701. 10, kat56_nor_entropyin, kat56_nor_nonce, kat56_nor_persstr,
  1702. kat56_nor_addin0, kat56_nor_addin1, kat56_nor_retbytes
  1703. };
  1704. static const struct drbg_kat kat56_nor = {
  1705. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat56_nor_t
  1706. };
  1707. static const unsigned char kat57_nor_entropyin[] = {
  1708. 0x84, 0x7b, 0x94, 0xcb, 0xbf, 0xf8, 0xbc, 0xe7, 0x09, 0x53, 0x0a, 0xa0,
  1709. 0x19, 0xd1, 0x02, 0x81,
  1710. };
  1711. static const unsigned char kat57_nor_nonce[] = {
  1712. 0xf1, 0x26, 0x6d, 0x65, 0x2c, 0x32, 0x7a, 0xa5,
  1713. };
  1714. static const unsigned char kat57_nor_persstr[] = {
  1715. 0xaf, 0x28, 0xaf, 0x29, 0x7a, 0xb2, 0x98, 0xa8, 0x38, 0x61, 0x6f, 0x1f,
  1716. 0xdd, 0xe1, 0xce, 0xed,
  1717. };
  1718. static const unsigned char kat57_nor_addin0[] = {
  1719. 0x09, 0x33, 0x4c, 0xe2, 0x3d, 0xf4, 0xcf, 0x76, 0x29, 0x79, 0x4a, 0xc0,
  1720. 0x16, 0xd4, 0xab, 0x61,
  1721. };
  1722. static const unsigned char kat57_nor_addin1[] = {
  1723. 0x59, 0x2f, 0x2a, 0x1f, 0x07, 0x5a, 0xe6, 0x9f, 0x31, 0x08, 0x27, 0xd1,
  1724. 0x5e, 0xb2, 0xd6, 0xc9,
  1725. };
  1726. static const unsigned char kat57_nor_retbytes[] = {
  1727. 0x00, 0x35, 0x68, 0x4b, 0x66, 0xbd, 0x9e, 0x73, 0xcb, 0x23, 0xfb, 0x04,
  1728. 0xfd, 0x47, 0xc4, 0xe1, 0xf3, 0x54, 0x67, 0x03, 0x1a, 0xcf, 0x05, 0xdc,
  1729. 0xd9, 0x77, 0x1a, 0x81, 0x93, 0x18, 0x0d, 0x7c, 0x69, 0xbf, 0x87, 0x52,
  1730. 0x1a, 0x1d, 0xf1, 0x9b, 0xf8, 0x47, 0xc6, 0x59, 0xa6, 0xc4, 0xcd, 0xbc,
  1731. 0x0c, 0x21, 0xe2, 0xb9, 0xcb, 0x26, 0x03, 0x4c, 0xcc, 0xb9, 0x02, 0x56,
  1732. 0x3d, 0x16, 0xc6, 0x3f, 0x39, 0x31, 0x4d, 0x8c, 0xb5, 0x95, 0x04, 0x87,
  1733. 0xbc, 0x37, 0x8f, 0x77, 0x5b, 0x8c, 0xfd, 0x8f,
  1734. };
  1735. static const struct drbg_kat_no_reseed kat57_nor_t = {
  1736. 11, kat57_nor_entropyin, kat57_nor_nonce, kat57_nor_persstr,
  1737. kat57_nor_addin0, kat57_nor_addin1, kat57_nor_retbytes
  1738. };
  1739. static const struct drbg_kat kat57_nor = {
  1740. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat57_nor_t
  1741. };
  1742. static const unsigned char kat58_nor_entropyin[] = {
  1743. 0x3d, 0xaf, 0x9f, 0x11, 0x0b, 0xfe, 0x02, 0xbb, 0x4b, 0x1c, 0xad, 0xb6,
  1744. 0x1f, 0x79, 0xda, 0x85,
  1745. };
  1746. static const unsigned char kat58_nor_nonce[] = {
  1747. 0x1a, 0x0e, 0x5f, 0x88, 0xd5, 0x0f, 0xd8, 0x6e,
  1748. };
  1749. static const unsigned char kat58_nor_persstr[] = {
  1750. 0x16, 0xb3, 0x20, 0xd8, 0xbf, 0x28, 0xc7, 0x26, 0x42, 0xaa, 0x32, 0xd4,
  1751. 0xd9, 0x79, 0x8c, 0x4b,
  1752. };
  1753. static const unsigned char kat58_nor_addin0[] = {
  1754. 0x15, 0x3a, 0xb4, 0x30, 0xf0, 0x75, 0x06, 0x59, 0xfd, 0xff, 0xa6, 0xf9,
  1755. 0x8c, 0x6e, 0xa9, 0xf6,
  1756. };
  1757. static const unsigned char kat58_nor_addin1[] = {
  1758. 0x7e, 0xb0, 0xd6, 0x25, 0x9b, 0x23, 0x7b, 0x7c, 0x38, 0x72, 0x8f, 0xe7,
  1759. 0x64, 0x9e, 0x64, 0x3f,
  1760. };
  1761. static const unsigned char kat58_nor_retbytes[] = {
  1762. 0x92, 0xd0, 0x66, 0xeb, 0x16, 0xcb, 0x87, 0x53, 0x63, 0x08, 0x88, 0xe4,
  1763. 0x40, 0x18, 0x59, 0x28, 0x80, 0xc6, 0x25, 0x35, 0x76, 0x53, 0x1d, 0x90,
  1764. 0xd0, 0x42, 0xd1, 0xbe, 0x96, 0x71, 0xc1, 0xb7, 0x8c, 0xb8, 0x42, 0x61,
  1765. 0xb5, 0xce, 0x0b, 0x12, 0xf3, 0xfc, 0x1e, 0x12, 0xa8, 0x8f, 0x97, 0x99,
  1766. 0xcb, 0xa1, 0xa8, 0xa0, 0x5b, 0x1c, 0xb0, 0xc5, 0x89, 0x25, 0xa7, 0x91,
  1767. 0x3a, 0xb2, 0x74, 0xf8, 0x75, 0xcc, 0x71, 0xc4, 0x74, 0x03, 0xfb, 0x24,
  1768. 0x2f, 0x85, 0xae, 0x85, 0x8e, 0xc5, 0x85, 0x05,
  1769. };
  1770. static const struct drbg_kat_no_reseed kat58_nor_t = {
  1771. 12, kat58_nor_entropyin, kat58_nor_nonce, kat58_nor_persstr,
  1772. kat58_nor_addin0, kat58_nor_addin1, kat58_nor_retbytes
  1773. };
  1774. static const struct drbg_kat kat58_nor = {
  1775. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat58_nor_t
  1776. };
  1777. static const unsigned char kat59_nor_entropyin[] = {
  1778. 0xdd, 0x71, 0x99, 0x3a, 0xb8, 0xd7, 0xf4, 0xde, 0x58, 0xf4, 0xa9, 0x4a,
  1779. 0xec, 0xb0, 0x96, 0x2a,
  1780. };
  1781. static const unsigned char kat59_nor_nonce[] = {
  1782. 0xb6, 0x17, 0xbe, 0x93, 0x44, 0x50, 0x43, 0x1b,
  1783. };
  1784. static const unsigned char kat59_nor_persstr[] = {
  1785. 0x84, 0xc6, 0x95, 0xd8, 0x3b, 0xc7, 0xd5, 0xef, 0x90, 0x2a, 0x58, 0x3b,
  1786. 0xd7, 0x99, 0xf2, 0xb8,
  1787. };
  1788. static const unsigned char kat59_nor_addin0[] = {
  1789. 0x13, 0xee, 0x6c, 0xce, 0xd4, 0x02, 0xef, 0x8c, 0x85, 0x43, 0xec, 0x3a,
  1790. 0xc1, 0x6a, 0x38, 0xc6,
  1791. };
  1792. static const unsigned char kat59_nor_addin1[] = {
  1793. 0x9d, 0x0a, 0x0f, 0xc6, 0x78, 0x84, 0x98, 0x60, 0x32, 0x05, 0x68, 0xf9,
  1794. 0xb1, 0x90, 0x53, 0xf9,
  1795. };
  1796. static const unsigned char kat59_nor_retbytes[] = {
  1797. 0xfb, 0xda, 0x06, 0x0b, 0xd0, 0xd0, 0x0b, 0x0c, 0x31, 0xc8, 0xcd, 0x13,
  1798. 0x50, 0x7c, 0x36, 0x57, 0x9e, 0x6a, 0xf5, 0xe1, 0x56, 0xc9, 0x6b, 0xd8,
  1799. 0x60, 0x64, 0x6b, 0x83, 0xe8, 0x1c, 0x24, 0x37, 0xf6, 0x36, 0xde, 0xba,
  1800. 0x7b, 0x2e, 0xf6, 0xe5, 0x95, 0x8f, 0xb3, 0xda, 0xe2, 0x65, 0x93, 0x44,
  1801. 0x76, 0xa6, 0x54, 0x99, 0x0d, 0x08, 0x92, 0x6d, 0xee, 0xde, 0xcf, 0x1e,
  1802. 0x43, 0xa4, 0x1f, 0xfb, 0x61, 0xbc, 0xad, 0x56, 0x0d, 0xcb, 0xce, 0x85,
  1803. 0x8c, 0x6a, 0xc3, 0xf7, 0x48, 0x95, 0x56, 0x60,
  1804. };
  1805. static const struct drbg_kat_no_reseed kat59_nor_t = {
  1806. 13, kat59_nor_entropyin, kat59_nor_nonce, kat59_nor_persstr,
  1807. kat59_nor_addin0, kat59_nor_addin1, kat59_nor_retbytes
  1808. };
  1809. static const struct drbg_kat kat59_nor = {
  1810. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat59_nor_t
  1811. };
  1812. static const unsigned char kat60_nor_entropyin[] = {
  1813. 0xd7, 0x7f, 0xf8, 0x6d, 0x65, 0x3f, 0x38, 0x97, 0x53, 0x22, 0xd0, 0xb7,
  1814. 0xf1, 0xc0, 0x2b, 0x6b,
  1815. };
  1816. static const unsigned char kat60_nor_nonce[] = {
  1817. 0x4b, 0x2d, 0x2a, 0x31, 0xb1, 0x36, 0x7c, 0x86,
  1818. };
  1819. static const unsigned char kat60_nor_persstr[] = {
  1820. 0x84, 0x21, 0x08, 0xe0, 0x74, 0xfd, 0xea, 0x38, 0x7c, 0xfe, 0x71, 0x52,
  1821. 0x6e, 0xaa, 0xc9, 0xb4,
  1822. };
  1823. static const unsigned char kat60_nor_addin0[] = {
  1824. 0xe4, 0x88, 0xe1, 0x6f, 0x48, 0xc6, 0x1d, 0xd2, 0x15, 0x2a, 0xfe, 0x92,
  1825. 0x5e, 0xce, 0xee, 0x92,
  1826. };
  1827. static const unsigned char kat60_nor_addin1[] = {
  1828. 0x12, 0xc6, 0x92, 0xab, 0xd9, 0x0a, 0xb4, 0x85, 0xf4, 0xd9, 0x49, 0x96,
  1829. 0x80, 0xa6, 0x89, 0x3f,
  1830. };
  1831. static const unsigned char kat60_nor_retbytes[] = {
  1832. 0x8b, 0xa0, 0x46, 0x17, 0xa1, 0x35, 0xd8, 0xab, 0xe0, 0xc3, 0xc0, 0xa1,
  1833. 0x70, 0xe7, 0x47, 0x2e, 0x7e, 0xd7, 0x50, 0xea, 0xc7, 0x06, 0xe5, 0xc3,
  1834. 0xed, 0x83, 0x05, 0xd6, 0xf6, 0xf8, 0xa1, 0xa5, 0x3e, 0x0c, 0x52, 0xd4,
  1835. 0x85, 0x3b, 0x21, 0xab, 0x89, 0x51, 0xe8, 0x09, 0x70, 0xb4, 0x26, 0x00,
  1836. 0x8a, 0xe1, 0x19, 0x52, 0xff, 0x36, 0x48, 0x17, 0xb6, 0x85, 0x6e, 0xf0,
  1837. 0x81, 0x08, 0x60, 0xdc, 0x65, 0xfa, 0xea, 0x48, 0x7b, 0x5d, 0x7c, 0x3f,
  1838. 0x3d, 0x63, 0xfd, 0x44, 0x37, 0x56, 0xd2, 0xa8,
  1839. };
  1840. static const struct drbg_kat_no_reseed kat60_nor_t = {
  1841. 14, kat60_nor_entropyin, kat60_nor_nonce, kat60_nor_persstr,
  1842. kat60_nor_addin0, kat60_nor_addin1, kat60_nor_retbytes
  1843. };
  1844. static const struct drbg_kat kat60_nor = {
  1845. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat60_nor_t
  1846. };
  1847. static const unsigned char kat61_nor_entropyin[] = {
  1848. 0x66, 0xb3, 0xc7, 0x8f, 0xa8, 0xc8, 0x6d, 0xd8, 0x91, 0xaa, 0xb0, 0xe5,
  1849. 0x3f, 0x36, 0x06, 0xde,
  1850. };
  1851. static const unsigned char kat61_nor_nonce[] = {
  1852. 0x84, 0x14, 0x2c, 0x2d, 0x1f, 0x1c, 0xda, 0x88,
  1853. };
  1854. static const unsigned char kat61_nor_persstr[] = {0};
  1855. static const unsigned char kat61_nor_addin0[] = {0};
  1856. static const unsigned char kat61_nor_addin1[] = {0};
  1857. static const unsigned char kat61_nor_retbytes[] = {
  1858. 0xe6, 0x0d, 0x83, 0xed, 0x6b, 0xbe, 0x75, 0x35, 0x1f, 0x2f, 0xbd, 0x35,
  1859. 0x6a, 0x4b, 0xc8, 0x90, 0x4b, 0x97, 0x0d, 0x45, 0x98, 0x2e, 0xde, 0xb8,
  1860. 0x98, 0xd0, 0xf2, 0xe6, 0xf4, 0x70, 0x7f, 0xaf, 0x49, 0x74, 0x71, 0xc3,
  1861. 0xdf, 0x74, 0x60, 0x78, 0x3e, 0x4b, 0xef, 0xf0, 0x01, 0x5d, 0x23, 0xd8,
  1862. 0xc7, 0xba, 0x27, 0x0b, 0x6f, 0x56, 0x2c, 0x4a, 0x7b, 0x76, 0xc0, 0x69,
  1863. 0x0b, 0x26, 0x09, 0xad, 0xe3, 0xfe, 0x37, 0x2b, 0x53, 0xf1, 0xc5, 0xff,
  1864. 0x4d, 0x5f, 0x0d, 0xd9, 0xa3, 0x96, 0x68, 0x25,
  1865. };
  1866. static const struct drbg_kat_no_reseed kat61_nor_t = {
  1867. 0, kat61_nor_entropyin, kat61_nor_nonce, kat61_nor_persstr,
  1868. kat61_nor_addin0, kat61_nor_addin1, kat61_nor_retbytes
  1869. };
  1870. static const struct drbg_kat kat61_nor = {
  1871. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat61_nor_t
  1872. };
  1873. static const unsigned char kat62_nor_entropyin[] = {
  1874. 0x22, 0xbf, 0x7d, 0x4b, 0x28, 0xe0, 0xb0, 0xcd, 0x26, 0x3c, 0x11, 0x4e,
  1875. 0x59, 0x4c, 0xe5, 0xa1,
  1876. };
  1877. static const unsigned char kat62_nor_nonce[] = {
  1878. 0x20, 0x9e, 0xab, 0x89, 0x79, 0xe7, 0xb5, 0x9a,
  1879. };
  1880. static const unsigned char kat62_nor_persstr[] = {0};
  1881. static const unsigned char kat62_nor_addin0[] = {0};
  1882. static const unsigned char kat62_nor_addin1[] = {0};
  1883. static const unsigned char kat62_nor_retbytes[] = {
  1884. 0x4c, 0xa3, 0xbb, 0x37, 0xcf, 0x63, 0xc5, 0x89, 0xed, 0xfd, 0x06, 0x2a,
  1885. 0xbd, 0x77, 0x11, 0x65, 0x42, 0xb5, 0xb7, 0x53, 0xc3, 0xcd, 0xca, 0x97,
  1886. 0x49, 0x7e, 0xb6, 0xe1, 0x3b, 0xea, 0xed, 0xde, 0x8c, 0x43, 0xbe, 0xed,
  1887. 0xbc, 0xf9, 0xa7, 0x2c, 0xc8, 0x71, 0x50, 0x70, 0xcb, 0xdd, 0xf0, 0xf6,
  1888. 0xdd, 0xc6, 0x14, 0x69, 0x71, 0xb2, 0x2c, 0xcd, 0xb1, 0xe3, 0xc9, 0xee,
  1889. 0x73, 0x0d, 0xa1, 0xb2, 0x12, 0x6b, 0xff, 0x2c, 0x3c, 0xb0, 0xef, 0xab,
  1890. 0xc8, 0x71, 0xfe, 0xa4, 0x94, 0x70, 0xa7, 0xcb,
  1891. };
  1892. static const struct drbg_kat_no_reseed kat62_nor_t = {
  1893. 1, kat62_nor_entropyin, kat62_nor_nonce, kat62_nor_persstr,
  1894. kat62_nor_addin0, kat62_nor_addin1, kat62_nor_retbytes
  1895. };
  1896. static const struct drbg_kat kat62_nor = {
  1897. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat62_nor_t
  1898. };
  1899. static const unsigned char kat63_nor_entropyin[] = {
  1900. 0x20, 0x80, 0x7f, 0x2c, 0x0e, 0x86, 0x55, 0x14, 0xf6, 0xfc, 0xdb, 0xbb,
  1901. 0xaa, 0xc5, 0x98, 0x95,
  1902. };
  1903. static const unsigned char kat63_nor_nonce[] = {
  1904. 0xe6, 0x0b, 0xaa, 0x00, 0x3c, 0x2c, 0x18, 0xd5,
  1905. };
  1906. static const unsigned char kat63_nor_persstr[] = {0};
  1907. static const unsigned char kat63_nor_addin0[] = {0};
  1908. static const unsigned char kat63_nor_addin1[] = {0};
  1909. static const unsigned char kat63_nor_retbytes[] = {
  1910. 0xff, 0x89, 0x7d, 0x95, 0x7d, 0x8b, 0xe8, 0x63, 0x91, 0x54, 0x61, 0x29,
  1911. 0xce, 0x6c, 0x98, 0xdd, 0xc4, 0x38, 0x06, 0x78, 0x4c, 0x24, 0xa0, 0xd3,
  1912. 0xcb, 0x30, 0x80, 0xe9, 0xea, 0xc3, 0xc2, 0x06, 0x05, 0xff, 0x6d, 0x1c,
  1913. 0xaa, 0x24, 0xbd, 0x03, 0x8d, 0x8b, 0x68, 0x3f, 0x07, 0xb2, 0x4f, 0x38,
  1914. 0x46, 0xac, 0xa8, 0x23, 0x65, 0x81, 0xb4, 0xc4, 0xd0, 0x4e, 0xb8, 0xb8,
  1915. 0x70, 0x20, 0xc0, 0x7b, 0x55, 0x88, 0x83, 0x47, 0xa2, 0x63, 0x82, 0xd6,
  1916. 0x2f, 0x9d, 0x10, 0xd4, 0x12, 0x1a, 0x21, 0xc9,
  1917. };
  1918. static const struct drbg_kat_no_reseed kat63_nor_t = {
  1919. 2, kat63_nor_entropyin, kat63_nor_nonce, kat63_nor_persstr,
  1920. kat63_nor_addin0, kat63_nor_addin1, kat63_nor_retbytes
  1921. };
  1922. static const struct drbg_kat kat63_nor = {
  1923. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat63_nor_t
  1924. };
  1925. static const unsigned char kat64_nor_entropyin[] = {
  1926. 0xbe, 0x8d, 0x9f, 0xec, 0x6b, 0x80, 0x91, 0x4c, 0x70, 0xa9, 0xc2, 0x8e,
  1927. 0xa6, 0xbf, 0xe7, 0xc4,
  1928. };
  1929. static const unsigned char kat64_nor_nonce[] = {
  1930. 0xd6, 0xf7, 0xda, 0x93, 0xc2, 0x69, 0x33, 0x41,
  1931. };
  1932. static const unsigned char kat64_nor_persstr[] = {0};
  1933. static const unsigned char kat64_nor_addin0[] = {0};
  1934. static const unsigned char kat64_nor_addin1[] = {0};
  1935. static const unsigned char kat64_nor_retbytes[] = {
  1936. 0x7a, 0xab, 0x1f, 0x40, 0x8b, 0x87, 0x1a, 0x49, 0x4b, 0x9d, 0xf4, 0x22,
  1937. 0x08, 0xd8, 0x3b, 0xfe, 0xf1, 0xba, 0x64, 0x76, 0xa5, 0x1c, 0xc2, 0xf3,
  1938. 0xb7, 0x08, 0x96, 0x81, 0x6b, 0x1c, 0x1e, 0x41, 0x0d, 0x50, 0x6a, 0xac,
  1939. 0xd3, 0xe1, 0xf8, 0x91, 0x6d, 0xc8, 0xbe, 0x0b, 0xce, 0x42, 0xf9, 0x86,
  1940. 0xf6, 0x7b, 0xd2, 0xf9, 0xf0, 0x23, 0x95, 0xfb, 0xa1, 0xff, 0xe4, 0x99,
  1941. 0xe5, 0xee, 0xf7, 0x0b, 0x3b, 0xf7, 0x43, 0xf5, 0x19, 0xfd, 0x8c, 0xa1,
  1942. 0xdb, 0x69, 0x4f, 0x89, 0x70, 0xf8, 0x24, 0x21,
  1943. };
  1944. static const struct drbg_kat_no_reseed kat64_nor_t = {
  1945. 3, kat64_nor_entropyin, kat64_nor_nonce, kat64_nor_persstr,
  1946. kat64_nor_addin0, kat64_nor_addin1, kat64_nor_retbytes
  1947. };
  1948. static const struct drbg_kat kat64_nor = {
  1949. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat64_nor_t
  1950. };
  1951. static const unsigned char kat65_nor_entropyin[] = {
  1952. 0x29, 0x58, 0x12, 0x8d, 0xf4, 0x64, 0x9e, 0x1a, 0xe1, 0xf0, 0xdd, 0x5d,
  1953. 0xd3, 0x74, 0x0c, 0xe9,
  1954. };
  1955. static const unsigned char kat65_nor_nonce[] = {
  1956. 0x18, 0x1c, 0xe1, 0x94, 0xbb, 0x3a, 0xa4, 0xec,
  1957. };
  1958. static const unsigned char kat65_nor_persstr[] = {0};
  1959. static const unsigned char kat65_nor_addin0[] = {0};
  1960. static const unsigned char kat65_nor_addin1[] = {0};
  1961. static const unsigned char kat65_nor_retbytes[] = {
  1962. 0xb7, 0xcd, 0xa6, 0xec, 0x47, 0xed, 0x3f, 0xf8, 0xda, 0xfb, 0x78, 0xed,
  1963. 0x04, 0xfc, 0x5c, 0x0e, 0xc2, 0xd6, 0xcc, 0xb1, 0x86, 0x94, 0x22, 0x66,
  1964. 0x5d, 0xc4, 0xbd, 0xf9, 0x84, 0x25, 0x96, 0xee, 0xe0, 0x0f, 0xd5, 0x93,
  1965. 0x4d, 0xc1, 0x7c, 0xbb, 0x17, 0xc5, 0x7f, 0xb9, 0x70, 0xce, 0x9a, 0x9b,
  1966. 0xdf, 0xdc, 0xa7, 0x5a, 0xaa, 0xa4, 0x26, 0x3a, 0x87, 0x5a, 0x2e, 0xd0,
  1967. 0x12, 0xb6, 0xd5, 0x60, 0x49, 0xf1, 0x3b, 0x51, 0xe2, 0xa4, 0x4a, 0xcb,
  1968. 0x37, 0xf9, 0x22, 0xf8, 0xd1, 0x3a, 0x4d, 0x19,
  1969. };
  1970. static const struct drbg_kat_no_reseed kat65_nor_t = {
  1971. 4, kat65_nor_entropyin, kat65_nor_nonce, kat65_nor_persstr,
  1972. kat65_nor_addin0, kat65_nor_addin1, kat65_nor_retbytes
  1973. };
  1974. static const struct drbg_kat kat65_nor = {
  1975. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat65_nor_t
  1976. };
  1977. static const unsigned char kat66_nor_entropyin[] = {
  1978. 0x91, 0xea, 0xff, 0xb7, 0xb6, 0x3f, 0x5d, 0xba, 0x78, 0x24, 0xd5, 0x62,
  1979. 0xf8, 0x63, 0xb0, 0x53,
  1980. };
  1981. static const unsigned char kat66_nor_nonce[] = {
  1982. 0xfe, 0x53, 0x0c, 0xa5, 0xb6, 0xe3, 0x24, 0x3f,
  1983. };
  1984. static const unsigned char kat66_nor_persstr[] = {0};
  1985. static const unsigned char kat66_nor_addin0[] = {0};
  1986. static const unsigned char kat66_nor_addin1[] = {0};
  1987. static const unsigned char kat66_nor_retbytes[] = {
  1988. 0xea, 0x37, 0x08, 0xf5, 0x6e, 0x3a, 0x51, 0x5b, 0x5e, 0xef, 0x9e, 0x36,
  1989. 0x1c, 0x4e, 0x0a, 0x8c, 0x38, 0x5f, 0x38, 0xc1, 0x7e, 0x82, 0x16, 0xf4,
  1990. 0x2a, 0x2d, 0xb5, 0x8e, 0x4c, 0xe5, 0xb4, 0x8c, 0x75, 0x21, 0xb2, 0xff,
  1991. 0xdf, 0xe2, 0xe0, 0xbe, 0x55, 0xd4, 0x30, 0x15, 0x0b, 0x6a, 0x21, 0x21,
  1992. 0xde, 0x11, 0xca, 0x71, 0x97, 0x16, 0x7e, 0xc0, 0xd3, 0xbd, 0x63, 0x83,
  1993. 0xbe, 0x4b, 0x3b, 0x47, 0xd9, 0xc5, 0x7f, 0xc2, 0x24, 0x08, 0x8d, 0x05,
  1994. 0x01, 0x14, 0x75, 0x71, 0x15, 0xee, 0xe0, 0x02,
  1995. };
  1996. static const struct drbg_kat_no_reseed kat66_nor_t = {
  1997. 5, kat66_nor_entropyin, kat66_nor_nonce, kat66_nor_persstr,
  1998. kat66_nor_addin0, kat66_nor_addin1, kat66_nor_retbytes
  1999. };
  2000. static const struct drbg_kat kat66_nor = {
  2001. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat66_nor_t
  2002. };
  2003. static const unsigned char kat67_nor_entropyin[] = {
  2004. 0x22, 0xc8, 0x9c, 0x67, 0x1b, 0x47, 0x80, 0x15, 0xca, 0xe3, 0xda, 0x53,
  2005. 0x03, 0x56, 0x85, 0x2d,
  2006. };
  2007. static const unsigned char kat67_nor_nonce[] = {
  2008. 0x96, 0x32, 0xeb, 0xd1, 0x3a, 0xc4, 0x06, 0xd6,
  2009. };
  2010. static const unsigned char kat67_nor_persstr[] = {0};
  2011. static const unsigned char kat67_nor_addin0[] = {0};
  2012. static const unsigned char kat67_nor_addin1[] = {0};
  2013. static const unsigned char kat67_nor_retbytes[] = {
  2014. 0x86, 0x1a, 0xec, 0x24, 0x88, 0xdf, 0x56, 0xea, 0x7f, 0x0b, 0xc4, 0xbd,
  2015. 0x14, 0x2c, 0x91, 0x62, 0xce, 0x6a, 0x64, 0xb7, 0x39, 0x12, 0xd9, 0x49,
  2016. 0x81, 0xb7, 0x15, 0xaa, 0x14, 0xdd, 0x1f, 0xd6, 0x49, 0xad, 0x1d, 0x86,
  2017. 0xfc, 0x4a, 0x53, 0x65, 0xc2, 0x30, 0x7d, 0x9f, 0x67, 0x71, 0xdd, 0xfd,
  2018. 0xb7, 0x2d, 0x6d, 0x89, 0xd9, 0x8a, 0x10, 0x34, 0x1e, 0x44, 0x05, 0x62,
  2019. 0xc7, 0x61, 0xc9, 0xab, 0x11, 0x90, 0x52, 0x9b, 0xf7, 0x21, 0xdb, 0x2a,
  2020. 0xc0, 0xd0, 0x0c, 0xfb, 0x61, 0x8e, 0x34, 0xa5,
  2021. };
  2022. static const struct drbg_kat_no_reseed kat67_nor_t = {
  2023. 6, kat67_nor_entropyin, kat67_nor_nonce, kat67_nor_persstr,
  2024. kat67_nor_addin0, kat67_nor_addin1, kat67_nor_retbytes
  2025. };
  2026. static const struct drbg_kat kat67_nor = {
  2027. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat67_nor_t
  2028. };
  2029. static const unsigned char kat68_nor_entropyin[] = {
  2030. 0xed, 0xa4, 0xdd, 0x91, 0x7f, 0xd7, 0x76, 0x5a, 0x8b, 0x10, 0x2e, 0x83,
  2031. 0x1c, 0x39, 0x38, 0x4b,
  2032. };
  2033. static const unsigned char kat68_nor_nonce[] = {
  2034. 0x25, 0x5d, 0x24, 0x8c, 0xdb, 0xa3, 0xcf, 0x78,
  2035. };
  2036. static const unsigned char kat68_nor_persstr[] = {0};
  2037. static const unsigned char kat68_nor_addin0[] = {0};
  2038. static const unsigned char kat68_nor_addin1[] = {0};
  2039. static const unsigned char kat68_nor_retbytes[] = {
  2040. 0x83, 0x26, 0x3f, 0xec, 0x6c, 0x1c, 0x70, 0xcb, 0xc0, 0x88, 0xe1, 0x3d,
  2041. 0xde, 0x4d, 0xe3, 0x1f, 0x14, 0x2d, 0x7d, 0x20, 0x42, 0x45, 0x7d, 0x79,
  2042. 0xf0, 0xc0, 0x33, 0xf0, 0xd7, 0x90, 0x62, 0x1f, 0x75, 0x82, 0x3c, 0x55,
  2043. 0xe4, 0x1e, 0x9a, 0x44, 0x61, 0xad, 0x7c, 0xcd, 0xdf, 0x52, 0x37, 0x73,
  2044. 0x40, 0xd5, 0x1f, 0x72, 0x7b, 0x0f, 0x9b, 0x81, 0x2d, 0x15, 0x10, 0x36,
  2045. 0xcf, 0xa6, 0x86, 0xbc, 0x28, 0xaf, 0xea, 0xae, 0x99, 0x5e, 0x13, 0x0a,
  2046. 0x1e, 0xe0, 0xdd, 0x11, 0x10, 0x4e, 0x5a, 0xb1,
  2047. };
  2048. static const struct drbg_kat_no_reseed kat68_nor_t = {
  2049. 7, kat68_nor_entropyin, kat68_nor_nonce, kat68_nor_persstr,
  2050. kat68_nor_addin0, kat68_nor_addin1, kat68_nor_retbytes
  2051. };
  2052. static const struct drbg_kat kat68_nor = {
  2053. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat68_nor_t
  2054. };
  2055. static const unsigned char kat69_nor_entropyin[] = {
  2056. 0x4e, 0xf4, 0x97, 0x80, 0x78, 0xec, 0x29, 0x82, 0x06, 0x36, 0xbb, 0x17,
  2057. 0x7f, 0xfb, 0x4b, 0x2f,
  2058. };
  2059. static const unsigned char kat69_nor_nonce[] = {
  2060. 0xe4, 0xc9, 0xc3, 0x45, 0xce, 0xdf, 0xc1, 0x23,
  2061. };
  2062. static const unsigned char kat69_nor_persstr[] = {0};
  2063. static const unsigned char kat69_nor_addin0[] = {0};
  2064. static const unsigned char kat69_nor_addin1[] = {0};
  2065. static const unsigned char kat69_nor_retbytes[] = {
  2066. 0x22, 0xc7, 0xec, 0xa6, 0x33, 0xda, 0xb4, 0x83, 0x68, 0x81, 0x39, 0x39,
  2067. 0x7a, 0x2c, 0xd8, 0xc4, 0x26, 0x50, 0x6f, 0x60, 0xdd, 0xe1, 0xbf, 0xe5,
  2068. 0xe4, 0xe7, 0x99, 0x99, 0x90, 0x87, 0xf7, 0xf2, 0x04, 0x6f, 0x7d, 0x8e,
  2069. 0x04, 0x06, 0x17, 0x9d, 0x48, 0x59, 0xff, 0x61, 0x9d, 0x70, 0xce, 0x6d,
  2070. 0xb7, 0x57, 0x3e, 0xc4, 0xa2, 0x08, 0x5c, 0x48, 0x24, 0xd7, 0xe8, 0x2d,
  2071. 0x4f, 0xef, 0xa6, 0xfa, 0x43, 0xcf, 0xe2, 0x3b, 0x24, 0x5d, 0xab, 0x95,
  2072. 0xc6, 0x24, 0x86, 0x6a, 0x72, 0xc1, 0x67, 0xa0,
  2073. };
  2074. static const struct drbg_kat_no_reseed kat69_nor_t = {
  2075. 8, kat69_nor_entropyin, kat69_nor_nonce, kat69_nor_persstr,
  2076. kat69_nor_addin0, kat69_nor_addin1, kat69_nor_retbytes
  2077. };
  2078. static const struct drbg_kat kat69_nor = {
  2079. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat69_nor_t
  2080. };
  2081. static const unsigned char kat70_nor_entropyin[] = {
  2082. 0xa2, 0x68, 0x07, 0x50, 0xd8, 0x73, 0x1c, 0xd0, 0x93, 0xd6, 0x28, 0x4f,
  2083. 0x57, 0x04, 0x66, 0xad,
  2084. };
  2085. static const unsigned char kat70_nor_nonce[] = {
  2086. 0x76, 0x58, 0xf3, 0x00, 0x66, 0x6b, 0x66, 0xd2,
  2087. };
  2088. static const unsigned char kat70_nor_persstr[] = {0};
  2089. static const unsigned char kat70_nor_addin0[] = {0};
  2090. static const unsigned char kat70_nor_addin1[] = {0};
  2091. static const unsigned char kat70_nor_retbytes[] = {
  2092. 0xda, 0x6c, 0xdf, 0x35, 0x48, 0xef, 0x1a, 0xe5, 0x95, 0x58, 0x14, 0xe3,
  2093. 0x6c, 0x73, 0xb7, 0xae, 0xaf, 0x5b, 0x4d, 0x53, 0x3b, 0x03, 0x7a, 0xfc,
  2094. 0xe4, 0x9b, 0xf7, 0x2b, 0xf0, 0x41, 0x6c, 0x91, 0x18, 0x25, 0xae, 0x05,
  2095. 0xfd, 0x97, 0xcc, 0x5f, 0xed, 0x23, 0x01, 0xcb, 0xfb, 0x20, 0x54, 0x5a,
  2096. 0x20, 0xd5, 0x60, 0x96, 0xaa, 0x47, 0x4a, 0x39, 0xb3, 0xda, 0xbf, 0xc8,
  2097. 0x88, 0xa8, 0xa6, 0x5e, 0xf3, 0x23, 0x0e, 0x69, 0xf2, 0xce, 0x5b, 0x0d,
  2098. 0x7d, 0x30, 0x73, 0x8f, 0x70, 0x8d, 0x5f, 0x58,
  2099. };
  2100. static const struct drbg_kat_no_reseed kat70_nor_t = {
  2101. 9, kat70_nor_entropyin, kat70_nor_nonce, kat70_nor_persstr,
  2102. kat70_nor_addin0, kat70_nor_addin1, kat70_nor_retbytes
  2103. };
  2104. static const struct drbg_kat kat70_nor = {
  2105. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat70_nor_t
  2106. };
  2107. static const unsigned char kat71_nor_entropyin[] = {
  2108. 0x23, 0x8f, 0x4a, 0x64, 0xdb, 0x2c, 0xd8, 0xd1, 0x40, 0xf9, 0xfb, 0xfd,
  2109. 0xea, 0x10, 0x23, 0x38,
  2110. };
  2111. static const unsigned char kat71_nor_nonce[] = {
  2112. 0xb1, 0x9a, 0xf3, 0xbc, 0x12, 0x55, 0x2f, 0xbb,
  2113. };
  2114. static const unsigned char kat71_nor_persstr[] = {0};
  2115. static const unsigned char kat71_nor_addin0[] = {0};
  2116. static const unsigned char kat71_nor_addin1[] = {0};
  2117. static const unsigned char kat71_nor_retbytes[] = {
  2118. 0x27, 0xce, 0x1e, 0xfb, 0x77, 0xdf, 0x4a, 0x84, 0x8f, 0x0e, 0xb7, 0x24,
  2119. 0x51, 0xc0, 0x77, 0x1f, 0x08, 0xb8, 0x0f, 0x45, 0xe2, 0x90, 0x09, 0x1f,
  2120. 0x8c, 0x38, 0x52, 0xfd, 0xa0, 0xb7, 0x1b, 0x28, 0x1d, 0x01, 0xa0, 0x70,
  2121. 0xb3, 0x80, 0xda, 0xf7, 0xef, 0xa9, 0x46, 0x97, 0x80, 0x6d, 0x3d, 0x13,
  2122. 0x8e, 0x94, 0x51, 0x13, 0x00, 0x2a, 0x62, 0x84, 0x83, 0xdd, 0x7e, 0x34,
  2123. 0x1c, 0x7a, 0x9a, 0x6f, 0x83, 0x6d, 0x99, 0x57, 0x7b, 0x39, 0xfb, 0x0f,
  2124. 0x9a, 0x73, 0x2f, 0x14, 0x45, 0x95, 0x95, 0xfc,
  2125. };
  2126. static const struct drbg_kat_no_reseed kat71_nor_t = {
  2127. 10, kat71_nor_entropyin, kat71_nor_nonce, kat71_nor_persstr,
  2128. kat71_nor_addin0, kat71_nor_addin1, kat71_nor_retbytes
  2129. };
  2130. static const struct drbg_kat kat71_nor = {
  2131. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat71_nor_t
  2132. };
  2133. static const unsigned char kat72_nor_entropyin[] = {
  2134. 0x1a, 0x3a, 0x03, 0x33, 0x34, 0x0f, 0x1d, 0x67, 0xdd, 0xa7, 0x15, 0x28,
  2135. 0x5b, 0xbf, 0xb6, 0x17,
  2136. };
  2137. static const unsigned char kat72_nor_nonce[] = {
  2138. 0x37, 0x4b, 0x8f, 0x8b, 0xe9, 0xf2, 0x82, 0x0e,
  2139. };
  2140. static const unsigned char kat72_nor_persstr[] = {0};
  2141. static const unsigned char kat72_nor_addin0[] = {0};
  2142. static const unsigned char kat72_nor_addin1[] = {0};
  2143. static const unsigned char kat72_nor_retbytes[] = {
  2144. 0xf2, 0x8c, 0xd9, 0x13, 0x65, 0xd0, 0x2d, 0x20, 0x4f, 0xa7, 0x1f, 0xe8,
  2145. 0x6e, 0xe4, 0x0f, 0xb0, 0x5f, 0x47, 0x78, 0x64, 0xbe, 0x55, 0x6f, 0x2e,
  2146. 0x8e, 0x0f, 0x21, 0x2d, 0xcb, 0x1e, 0xd9, 0x8e, 0xf5, 0x9a, 0xdd, 0xe4,
  2147. 0x85, 0xcb, 0x28, 0xaf, 0xee, 0x97, 0xac, 0x44, 0xa7, 0x89, 0x62, 0x65,
  2148. 0x50, 0xd5, 0x33, 0xe6, 0xcb, 0x8a, 0x13, 0xe0, 0xcd, 0x03, 0x9a, 0x7d,
  2149. 0x56, 0xf2, 0x70, 0xb8, 0x92, 0xdf, 0x74, 0x2c, 0x49, 0x9f, 0x5c, 0x60,
  2150. 0x9e, 0xf7, 0x44, 0x54, 0xf1, 0xa8, 0xcb, 0xf5,
  2151. };
  2152. static const struct drbg_kat_no_reseed kat72_nor_t = {
  2153. 11, kat72_nor_entropyin, kat72_nor_nonce, kat72_nor_persstr,
  2154. kat72_nor_addin0, kat72_nor_addin1, kat72_nor_retbytes
  2155. };
  2156. static const struct drbg_kat kat72_nor = {
  2157. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat72_nor_t
  2158. };
  2159. static const unsigned char kat73_nor_entropyin[] = {
  2160. 0xd6, 0x22, 0xc4, 0x7e, 0x98, 0x38, 0xe0, 0xfc, 0xd8, 0xbf, 0xb2, 0x09,
  2161. 0xf4, 0x2a, 0x3c, 0x29,
  2162. };
  2163. static const unsigned char kat73_nor_nonce[] = {
  2164. 0xb2, 0x9b, 0xba, 0x7c, 0xfe, 0xba, 0x90, 0xcc,
  2165. };
  2166. static const unsigned char kat73_nor_persstr[] = {0};
  2167. static const unsigned char kat73_nor_addin0[] = {0};
  2168. static const unsigned char kat73_nor_addin1[] = {0};
  2169. static const unsigned char kat73_nor_retbytes[] = {
  2170. 0x93, 0x40, 0xbb, 0x46, 0x92, 0xe5, 0x27, 0x92, 0x69, 0x3e, 0x8e, 0xdc,
  2171. 0x0c, 0x28, 0x83, 0xf5, 0x4f, 0x8b, 0x93, 0x94, 0x2a, 0xe3, 0x6f, 0x06,
  2172. 0xd5, 0x53, 0x29, 0x64, 0xf1, 0xf9, 0xb5, 0x81, 0xc0, 0x2a, 0x86, 0xb9,
  2173. 0x52, 0x05, 0x66, 0xf5, 0xf7, 0x96, 0xe3, 0xcb, 0x21, 0x94, 0x85, 0x3e,
  2174. 0xd9, 0xec, 0x18, 0xb6, 0x93, 0xbc, 0x7a, 0xc9, 0xa8, 0x3c, 0x0f, 0x8d,
  2175. 0xb8, 0x96, 0xd9, 0x3f, 0xa2, 0x09, 0x53, 0xd4, 0x59, 0xaf, 0xe4, 0x43,
  2176. 0xb6, 0x3d, 0x12, 0x41, 0xd0, 0xb4, 0x7c, 0xc1,
  2177. };
  2178. static const struct drbg_kat_no_reseed kat73_nor_t = {
  2179. 12, kat73_nor_entropyin, kat73_nor_nonce, kat73_nor_persstr,
  2180. kat73_nor_addin0, kat73_nor_addin1, kat73_nor_retbytes
  2181. };
  2182. static const struct drbg_kat kat73_nor = {
  2183. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat73_nor_t
  2184. };
  2185. static const unsigned char kat74_nor_entropyin[] = {
  2186. 0xb5, 0x4f, 0xa4, 0xfb, 0xef, 0xc6, 0x3f, 0x96, 0xa4, 0x50, 0x70, 0xdb,
  2187. 0xa6, 0x69, 0xc3, 0xfa,
  2188. };
  2189. static const unsigned char kat74_nor_nonce[] = {
  2190. 0xdc, 0x9b, 0xb5, 0xe0, 0x14, 0xdf, 0x5f, 0x2b,
  2191. };
  2192. static const unsigned char kat74_nor_persstr[] = {0};
  2193. static const unsigned char kat74_nor_addin0[] = {0};
  2194. static const unsigned char kat74_nor_addin1[] = {0};
  2195. static const unsigned char kat74_nor_retbytes[] = {
  2196. 0x07, 0x45, 0x2a, 0xa8, 0x5d, 0x24, 0x16, 0xbb, 0x09, 0x1b, 0x9c, 0xc8,
  2197. 0xf4, 0x9a, 0xdd, 0x2d, 0xc8, 0x97, 0x46, 0x59, 0x98, 0x78, 0x2a, 0x01,
  2198. 0xe6, 0x28, 0xe9, 0xfe, 0xd6, 0xf0, 0xf1, 0x85, 0xfd, 0x5d, 0x41, 0x2d,
  2199. 0xc4, 0x06, 0x25, 0xde, 0xc7, 0x10, 0xeb, 0xf2, 0x67, 0x29, 0xd0, 0x34,
  2200. 0x6c, 0x34, 0x4e, 0xf2, 0xb1, 0xd3, 0xd4, 0x2a, 0x9a, 0xd6, 0x0f, 0x05,
  2201. 0x38, 0x64, 0x13, 0xe4, 0x09, 0x78, 0xd2, 0x06, 0xcf, 0x3f, 0xc8, 0xec,
  2202. 0xf4, 0x09, 0x50, 0xa2, 0x80, 0xe4, 0x47, 0x7c,
  2203. };
  2204. static const struct drbg_kat_no_reseed kat74_nor_t = {
  2205. 13, kat74_nor_entropyin, kat74_nor_nonce, kat74_nor_persstr,
  2206. kat74_nor_addin0, kat74_nor_addin1, kat74_nor_retbytes
  2207. };
  2208. static const struct drbg_kat kat74_nor = {
  2209. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat74_nor_t
  2210. };
  2211. static const unsigned char kat75_nor_entropyin[] = {
  2212. 0xce, 0xb3, 0x54, 0x44, 0x4d, 0x1a, 0x29, 0xc0, 0xc3, 0xe8, 0xa1, 0xcc,
  2213. 0x24, 0xd0, 0x28, 0x46,
  2214. };
  2215. static const unsigned char kat75_nor_nonce[] = {
  2216. 0x86, 0xd3, 0xfd, 0x9f, 0xc5, 0x1f, 0x8b, 0x19,
  2217. };
  2218. static const unsigned char kat75_nor_persstr[] = {0};
  2219. static const unsigned char kat75_nor_addin0[] = {0};
  2220. static const unsigned char kat75_nor_addin1[] = {0};
  2221. static const unsigned char kat75_nor_retbytes[] = {
  2222. 0x6f, 0x90, 0xad, 0x61, 0x19, 0x87, 0xa3, 0x7b, 0xac, 0x54, 0xbe, 0xa0,
  2223. 0x78, 0x2a, 0xc7, 0x82, 0x15, 0xb7, 0xd1, 0x7e, 0xcd, 0xd3, 0x99, 0x1a,
  2224. 0x81, 0xa3, 0x6d, 0x0e, 0x26, 0x3c, 0x6f, 0x0d, 0xda, 0x2c, 0x10, 0x2c,
  2225. 0xfb, 0xa5, 0x6b, 0x26, 0xc7, 0xb7, 0x4b, 0x5d, 0xd2, 0x54, 0x8b, 0xe9,
  2226. 0xbc, 0x81, 0xc7, 0x95, 0x8e, 0x9d, 0x19, 0x82, 0x15, 0x83, 0xc6, 0xf3,
  2227. 0x88, 0x13, 0x2b, 0x9e, 0x19, 0xae, 0x76, 0x09, 0xad, 0xd9, 0xa2, 0x96,
  2228. 0xc1, 0xe9, 0x2d, 0x66, 0xa2, 0xef, 0x54, 0x64,
  2229. };
  2230. static const struct drbg_kat_no_reseed kat75_nor_t = {
  2231. 14, kat75_nor_entropyin, kat75_nor_nonce, kat75_nor_persstr,
  2232. kat75_nor_addin0, kat75_nor_addin1, kat75_nor_retbytes
  2233. };
  2234. static const struct drbg_kat kat75_nor = {
  2235. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat75_nor_t
  2236. };
  2237. static const unsigned char kat76_nor_entropyin[] = {
  2238. 0xea, 0x97, 0xce, 0xcb, 0xca, 0xa4, 0xed, 0x7d, 0xa1, 0x3b, 0xec, 0xfe,
  2239. 0xda, 0x62, 0x05, 0xb4,
  2240. };
  2241. static const unsigned char kat76_nor_nonce[] = {
  2242. 0x59, 0x31, 0x5c, 0xd4, 0x61, 0x66, 0x3f, 0xe0,
  2243. };
  2244. static const unsigned char kat76_nor_persstr[] = {0};
  2245. static const unsigned char kat76_nor_addin0[] = {
  2246. 0x2b, 0x4b, 0xc4, 0x95, 0xeb, 0x17, 0x1e, 0x88, 0xbd, 0x9f, 0x63, 0x42,
  2247. 0x70, 0x80, 0xfa, 0x75,
  2248. };
  2249. static const unsigned char kat76_nor_addin1[] = {
  2250. 0xda, 0xc9, 0x7b, 0xb5, 0x11, 0x6f, 0x63, 0xbd, 0xb7, 0x2f, 0x29, 0xf4,
  2251. 0x6d, 0x38, 0xe5, 0x7c,
  2252. };
  2253. static const unsigned char kat76_nor_retbytes[] = {
  2254. 0xd7, 0x53, 0x6d, 0xab, 0x2b, 0x3b, 0x6c, 0x71, 0x86, 0x44, 0x3d, 0xe2,
  2255. 0xa7, 0xc6, 0x9e, 0x69, 0x65, 0xa0, 0x9c, 0xa8, 0xc7, 0x0f, 0x5d, 0xa0,
  2256. 0x69, 0xea, 0xa9, 0xd1, 0xb9, 0xff, 0xb2, 0x71, 0x4b, 0xda, 0x75, 0x1e,
  2257. 0x47, 0x9d, 0x83, 0x7f, 0x7d, 0xe4, 0xc8, 0xc9, 0x7b, 0xc8, 0xc1, 0x49,
  2258. 0x25, 0x79, 0x5f, 0xf1, 0x98, 0x3a, 0xf7, 0x1f, 0x04, 0x2d, 0xf3, 0xc8,
  2259. 0x73, 0xe8, 0xc4, 0x00, 0x81, 0xb9, 0xa4, 0x20, 0x53, 0xd4, 0x21, 0x53,
  2260. 0xdd, 0x16, 0x80, 0xbb, 0x2e, 0x8a, 0x45, 0x56,
  2261. };
  2262. static const struct drbg_kat_no_reseed kat76_nor_t = {
  2263. 0, kat76_nor_entropyin, kat76_nor_nonce, kat76_nor_persstr,
  2264. kat76_nor_addin0, kat76_nor_addin1, kat76_nor_retbytes
  2265. };
  2266. static const struct drbg_kat kat76_nor = {
  2267. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat76_nor_t
  2268. };
  2269. static const unsigned char kat77_nor_entropyin[] = {
  2270. 0xbe, 0x8b, 0xb1, 0x86, 0xbd, 0x76, 0xc6, 0xe3, 0xc2, 0xaa, 0x01, 0x67,
  2271. 0x85, 0xef, 0x0c, 0x94,
  2272. };
  2273. static const unsigned char kat77_nor_nonce[] = {
  2274. 0x0c, 0xdf, 0x98, 0x0a, 0x92, 0x49, 0x18, 0x0d,
  2275. };
  2276. static const unsigned char kat77_nor_persstr[] = {0};
  2277. static const unsigned char kat77_nor_addin0[] = {
  2278. 0x57, 0x62, 0xc6, 0x47, 0x8f, 0x21, 0x3d, 0xf4, 0x41, 0x18, 0xa8, 0x72,
  2279. 0xa7, 0x61, 0x62, 0x3a,
  2280. };
  2281. static const unsigned char kat77_nor_addin1[] = {
  2282. 0x98, 0x44, 0x75, 0xdb, 0x54, 0x03, 0xd4, 0xac, 0xf7, 0x1b, 0xad, 0x13,
  2283. 0x56, 0x72, 0x28, 0xc6,
  2284. };
  2285. static const unsigned char kat77_nor_retbytes[] = {
  2286. 0x15, 0x19, 0xc0, 0x13, 0x2b, 0xec, 0x98, 0x81, 0xf8, 0x03, 0xfe, 0xe1,
  2287. 0x6f, 0xcc, 0xf0, 0x4d, 0xb1, 0x1d, 0xa7, 0x10, 0x57, 0xa8, 0x83, 0xfe,
  2288. 0x26, 0x8d, 0x3c, 0x12, 0x0e, 0x41, 0xb6, 0xef, 0x86, 0x30, 0xa1, 0x91,
  2289. 0xad, 0xc2, 0xc9, 0xa4, 0x18, 0x33, 0x03, 0x96, 0x6f, 0x6f, 0x81, 0x5a,
  2290. 0x1c, 0xbc, 0xfd, 0xc2, 0x2e, 0xdc, 0x1f, 0x95, 0xbc, 0x82, 0x07, 0x6a,
  2291. 0xb5, 0x26, 0x1e, 0x8e, 0xa7, 0x49, 0x66, 0x0d, 0xd3, 0xa8, 0xf1, 0x07,
  2292. 0x72, 0x01, 0x28, 0x4a, 0x75, 0x29, 0x70, 0xa5,
  2293. };
  2294. static const struct drbg_kat_no_reseed kat77_nor_t = {
  2295. 1, kat77_nor_entropyin, kat77_nor_nonce, kat77_nor_persstr,
  2296. kat77_nor_addin0, kat77_nor_addin1, kat77_nor_retbytes
  2297. };
  2298. static const struct drbg_kat kat77_nor = {
  2299. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat77_nor_t
  2300. };
  2301. static const unsigned char kat78_nor_entropyin[] = {
  2302. 0x8c, 0x3f, 0x3c, 0x3a, 0xd8, 0x5d, 0x8d, 0xbf, 0x0b, 0x75, 0x57, 0x14,
  2303. 0x47, 0x7b, 0x45, 0x6c,
  2304. };
  2305. static const unsigned char kat78_nor_nonce[] = {
  2306. 0x69, 0x62, 0x8b, 0xcc, 0x65, 0xbb, 0x13, 0x28,
  2307. };
  2308. static const unsigned char kat78_nor_persstr[] = {0};
  2309. static const unsigned char kat78_nor_addin0[] = {
  2310. 0x5d, 0x85, 0xf4, 0x40, 0x86, 0x24, 0x69, 0x2f, 0x0d, 0x02, 0x58, 0xda,
  2311. 0xde, 0xb7, 0x0e, 0x16,
  2312. };
  2313. static const unsigned char kat78_nor_addin1[] = {
  2314. 0x4f, 0x94, 0x3e, 0x04, 0x3d, 0xd2, 0x24, 0xdb, 0x1a, 0x14, 0x4f, 0xf7,
  2315. 0x4f, 0xe9, 0x13, 0xad,
  2316. };
  2317. static const unsigned char kat78_nor_retbytes[] = {
  2318. 0x1e, 0x39, 0x68, 0x7f, 0x18, 0xb0, 0x8f, 0x56, 0xbc, 0xe6, 0xc2, 0x02,
  2319. 0x2e, 0x5a, 0x7d, 0xe1, 0xb0, 0x4c, 0xed, 0x77, 0x16, 0x30, 0xef, 0xeb,
  2320. 0x32, 0xb6, 0xc4, 0xa1, 0x25, 0xba, 0x83, 0xec, 0xed, 0x08, 0x08, 0x4c,
  2321. 0x9a, 0xd1, 0x79, 0xc6, 0x26, 0xce, 0x93, 0x07, 0x04, 0xa0, 0x60, 0xb2,
  2322. 0x5d, 0x15, 0xbe, 0x03, 0x2e, 0x15, 0xee, 0x67, 0x69, 0x52, 0x80, 0xda,
  2323. 0xc2, 0xe2, 0xb3, 0x86, 0x4a, 0xd3, 0x08, 0xbb, 0x54, 0xf9, 0xb6, 0x0b,
  2324. 0x0f, 0x1b, 0xd9, 0x21, 0x2e, 0x03, 0x21, 0xe1,
  2325. };
  2326. static const struct drbg_kat_no_reseed kat78_nor_t = {
  2327. 2, kat78_nor_entropyin, kat78_nor_nonce, kat78_nor_persstr,
  2328. kat78_nor_addin0, kat78_nor_addin1, kat78_nor_retbytes
  2329. };
  2330. static const struct drbg_kat kat78_nor = {
  2331. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat78_nor_t
  2332. };
  2333. static const unsigned char kat79_nor_entropyin[] = {
  2334. 0x5f, 0x5a, 0x57, 0xc0, 0xe7, 0x83, 0x90, 0xba, 0x0e, 0x9a, 0xa6, 0x07,
  2335. 0x31, 0x02, 0xa5, 0x63,
  2336. };
  2337. static const unsigned char kat79_nor_nonce[] = {
  2338. 0x46, 0x78, 0x27, 0x5a, 0x8b, 0x8d, 0xfc, 0xbd,
  2339. };
  2340. static const unsigned char kat79_nor_persstr[] = {0};
  2341. static const unsigned char kat79_nor_addin0[] = {
  2342. 0x1e, 0x45, 0x7c, 0xd7, 0x04, 0x84, 0xf7, 0x64, 0xfd, 0x44, 0x92, 0x1e,
  2343. 0xdd, 0x93, 0x1a, 0x93,
  2344. };
  2345. static const unsigned char kat79_nor_addin1[] = {
  2346. 0xc3, 0xdc, 0x45, 0xc2, 0x20, 0xb7, 0xbc, 0x21, 0xb3, 0x18, 0x05, 0x3f,
  2347. 0x36, 0x29, 0xf5, 0x6d,
  2348. };
  2349. static const unsigned char kat79_nor_retbytes[] = {
  2350. 0x1f, 0x58, 0x2c, 0xec, 0x88, 0xd7, 0x1a, 0xcd, 0xc1, 0x54, 0x4a, 0x89,
  2351. 0x91, 0x86, 0x28, 0xe9, 0xab, 0xb9, 0xf5, 0x8b, 0x8f, 0xf8, 0xb9, 0x62,
  2352. 0x59, 0xdf, 0x55, 0xbb, 0x1f, 0xa2, 0xb5, 0xa7, 0x52, 0x9c, 0x0e, 0x79,
  2353. 0x0e, 0xac, 0xea, 0xa8, 0xf4, 0xa8, 0x1f, 0x86, 0x22, 0x69, 0x8e, 0xbf,
  2354. 0xb2, 0xdb, 0x9d, 0xa2, 0x55, 0xa3, 0xf2, 0xb4, 0x51, 0x56, 0xa4, 0x21,
  2355. 0x9f, 0x6d, 0xea, 0x24, 0x98, 0xd8, 0xdf, 0xff, 0x59, 0x9a, 0x2d, 0x0c,
  2356. 0x0b, 0xc8, 0xf0, 0xfb, 0x22, 0x0d, 0xc6, 0xd5,
  2357. };
  2358. static const struct drbg_kat_no_reseed kat79_nor_t = {
  2359. 3, kat79_nor_entropyin, kat79_nor_nonce, kat79_nor_persstr,
  2360. kat79_nor_addin0, kat79_nor_addin1, kat79_nor_retbytes
  2361. };
  2362. static const struct drbg_kat kat79_nor = {
  2363. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat79_nor_t
  2364. };
  2365. static const unsigned char kat80_nor_entropyin[] = {
  2366. 0x90, 0xad, 0xa5, 0x5b, 0xf6, 0xde, 0xf3, 0x9b, 0xf8, 0xf6, 0x16, 0x99,
  2367. 0xe7, 0xc4, 0x58, 0x34,
  2368. };
  2369. static const unsigned char kat80_nor_nonce[] = {
  2370. 0xf0, 0x34, 0xdb, 0x6d, 0x32, 0x51, 0xb3, 0xea,
  2371. };
  2372. static const unsigned char kat80_nor_persstr[] = {0};
  2373. static const unsigned char kat80_nor_addin0[] = {
  2374. 0xe5, 0xf1, 0x58, 0x80, 0x93, 0x5a, 0xe7, 0x75, 0xfa, 0xc2, 0xc1, 0x5d,
  2375. 0xe2, 0x0a, 0x32, 0xa9,
  2376. };
  2377. static const unsigned char kat80_nor_addin1[] = {
  2378. 0xbf, 0xf5, 0x26, 0xe1, 0x08, 0xb7, 0x81, 0x8d, 0x5a, 0x30, 0xe9, 0xb0,
  2379. 0x62, 0x6a, 0x87, 0x94,
  2380. };
  2381. static const unsigned char kat80_nor_retbytes[] = {
  2382. 0x78, 0x79, 0x38, 0x71, 0xb3, 0xd2, 0x96, 0x67, 0xce, 0xdd, 0x43, 0x96,
  2383. 0x38, 0x90, 0x70, 0xc8, 0xae, 0xdf, 0x11, 0x5a, 0x0c, 0xbf, 0x3a, 0x4a,
  2384. 0xd2, 0xeb, 0xa1, 0xc3, 0xbc, 0xa0, 0x58, 0xf8, 0xc3, 0xde, 0xc4, 0xe2,
  2385. 0x3c, 0x63, 0x53, 0xff, 0x50, 0x16, 0x14, 0xea, 0x37, 0x67, 0x83, 0xe9,
  2386. 0xec, 0xd8, 0x39, 0x69, 0x10, 0xf0, 0x4f, 0xb7, 0x00, 0x5f, 0xb9, 0xf2,
  2387. 0x79, 0xea, 0xbd, 0x1b, 0x26, 0x20, 0x62, 0x64, 0x99, 0xcd, 0x77, 0x02,
  2388. 0xf4, 0x1e, 0x78, 0x1f, 0xd3, 0x41, 0x3d, 0x7a,
  2389. };
  2390. static const struct drbg_kat_no_reseed kat80_nor_t = {
  2391. 4, kat80_nor_entropyin, kat80_nor_nonce, kat80_nor_persstr,
  2392. kat80_nor_addin0, kat80_nor_addin1, kat80_nor_retbytes
  2393. };
  2394. static const struct drbg_kat kat80_nor = {
  2395. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat80_nor_t
  2396. };
  2397. static const unsigned char kat81_nor_entropyin[] = {
  2398. 0x46, 0x7d, 0x32, 0x15, 0x3d, 0x45, 0x03, 0x25, 0x5b, 0xfa, 0xbb, 0xbb,
  2399. 0xe4, 0x45, 0xb3, 0x88,
  2400. };
  2401. static const unsigned char kat81_nor_nonce[] = {
  2402. 0x18, 0x2b, 0x13, 0x92, 0x2f, 0xa8, 0x6d, 0x97,
  2403. };
  2404. static const unsigned char kat81_nor_persstr[] = {0};
  2405. static const unsigned char kat81_nor_addin0[] = {
  2406. 0x84, 0xe9, 0x61, 0x47, 0x21, 0x25, 0xdf, 0x37, 0x39, 0x6b, 0xe2, 0xd8,
  2407. 0xf4, 0x18, 0x7a, 0x9d,
  2408. };
  2409. static const unsigned char kat81_nor_addin1[] = {
  2410. 0x12, 0x32, 0x64, 0x4a, 0xaa, 0xb0, 0xb9, 0xa6, 0x61, 0xfa, 0x2a, 0xef,
  2411. 0x59, 0x76, 0xde, 0xe7,
  2412. };
  2413. static const unsigned char kat81_nor_retbytes[] = {
  2414. 0x20, 0x4a, 0xb4, 0x9a, 0x98, 0x3d, 0xbd, 0xda, 0x27, 0xbc, 0xd1, 0xa0,
  2415. 0xb8, 0x3d, 0xcd, 0x23, 0x33, 0x87, 0x7d, 0x6d, 0xb6, 0x7d, 0x6c, 0x31,
  2416. 0x0d, 0x49, 0x2c, 0x18, 0x27, 0x27, 0x4e, 0x34, 0x22, 0x6e, 0xfa, 0x02,
  2417. 0x88, 0x70, 0xc5, 0xc1, 0x25, 0x65, 0x6d, 0xdd, 0xaa, 0x77, 0xba, 0xbc,
  2418. 0x47, 0xdb, 0x6b, 0xda, 0xfa, 0x3c, 0x2f, 0xad, 0xe1, 0x2d, 0x8e, 0xc5,
  2419. 0xf3, 0xc8, 0xb8, 0x1f, 0x81, 0xb1, 0xe9, 0xee, 0xf3, 0x8f, 0x33, 0xcd,
  2420. 0x84, 0x02, 0x34, 0xd3, 0x97, 0x67, 0xa9, 0x7e,
  2421. };
  2422. static const struct drbg_kat_no_reseed kat81_nor_t = {
  2423. 5, kat81_nor_entropyin, kat81_nor_nonce, kat81_nor_persstr,
  2424. kat81_nor_addin0, kat81_nor_addin1, kat81_nor_retbytes
  2425. };
  2426. static const struct drbg_kat kat81_nor = {
  2427. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat81_nor_t
  2428. };
  2429. static const unsigned char kat82_nor_entropyin[] = {
  2430. 0x1d, 0x22, 0xfa, 0x6c, 0xda, 0x79, 0x05, 0x3b, 0x68, 0xbb, 0x6b, 0xa9,
  2431. 0x8b, 0x98, 0x5a, 0x52,
  2432. };
  2433. static const unsigned char kat82_nor_nonce[] = {
  2434. 0x2f, 0x7d, 0x01, 0xa0, 0xfb, 0x26, 0x14, 0x5a,
  2435. };
  2436. static const unsigned char kat82_nor_persstr[] = {0};
  2437. static const unsigned char kat82_nor_addin0[] = {
  2438. 0x6b, 0x78, 0x6c, 0xe4, 0x3d, 0xa7, 0x7a, 0x58, 0xa5, 0x31, 0xfb, 0xac,
  2439. 0x74, 0x93, 0xec, 0x2e,
  2440. };
  2441. static const unsigned char kat82_nor_addin1[] = {
  2442. 0x91, 0x7b, 0x22, 0x0b, 0x80, 0x97, 0x93, 0xa4, 0x19, 0x38, 0x27, 0xe4,
  2443. 0xfb, 0xf0, 0xdb, 0x70,
  2444. };
  2445. static const unsigned char kat82_nor_retbytes[] = {
  2446. 0xbf, 0xdc, 0x3c, 0x80, 0x06, 0x81, 0xac, 0xb5, 0x33, 0x7b, 0xd3, 0xad,
  2447. 0x90, 0x4e, 0x26, 0xfa, 0xe6, 0x17, 0x4c, 0x3e, 0x57, 0x65, 0x79, 0xc4,
  2448. 0x95, 0xcc, 0xce, 0x73, 0xec, 0xab, 0xd5, 0x4a, 0x5e, 0x14, 0xe6, 0xa8,
  2449. 0x98, 0x0f, 0x6e, 0x8f, 0xb2, 0xce, 0xe6, 0x21, 0x34, 0x30, 0x92, 0xd0,
  2450. 0x45, 0x59, 0x45, 0x1e, 0xe5, 0xe1, 0x6d, 0xee, 0xcb, 0xaf, 0x57, 0xd1,
  2451. 0xbc, 0x4c, 0xb5, 0x08, 0x7b, 0x32, 0x91, 0x94, 0x1e, 0xf7, 0xe6, 0xc6,
  2452. 0xf5, 0x11, 0xa8, 0x69, 0xee, 0x2d, 0x57, 0xee,
  2453. };
  2454. static const struct drbg_kat_no_reseed kat82_nor_t = {
  2455. 6, kat82_nor_entropyin, kat82_nor_nonce, kat82_nor_persstr,
  2456. kat82_nor_addin0, kat82_nor_addin1, kat82_nor_retbytes
  2457. };
  2458. static const struct drbg_kat kat82_nor = {
  2459. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat82_nor_t
  2460. };
  2461. static const unsigned char kat83_nor_entropyin[] = {
  2462. 0x54, 0xb5, 0xfd, 0xd7, 0xdd, 0x2e, 0x7e, 0x1c, 0x4f, 0x09, 0xa6, 0x11,
  2463. 0x8e, 0x4e, 0x60, 0xeb,
  2464. };
  2465. static const unsigned char kat83_nor_nonce[] = {
  2466. 0x81, 0x62, 0x37, 0x9c, 0x2b, 0x3d, 0xd9, 0x7f,
  2467. };
  2468. static const unsigned char kat83_nor_persstr[] = {0};
  2469. static const unsigned char kat83_nor_addin0[] = {
  2470. 0xb2, 0xed, 0x50, 0x78, 0xe1, 0x76, 0x44, 0x7a, 0x17, 0x98, 0x6e, 0x98,
  2471. 0xf9, 0x82, 0x7a, 0x43,
  2472. };
  2473. static const unsigned char kat83_nor_addin1[] = {
  2474. 0x5e, 0x6a, 0x48, 0x3c, 0xc9, 0xf2, 0x3e, 0x5c, 0x9d, 0x96, 0x95, 0x2b,
  2475. 0xa7, 0xcf, 0x10, 0x5e,
  2476. };
  2477. static const unsigned char kat83_nor_retbytes[] = {
  2478. 0x86, 0x7e, 0xc6, 0xf9, 0x25, 0xc5, 0x22, 0x7c, 0x74, 0x83, 0x67, 0x8b,
  2479. 0x4b, 0x09, 0x85, 0xf9, 0x02, 0xf1, 0xfd, 0x87, 0xf2, 0x2e, 0xda, 0xe2,
  2480. 0xa5, 0xad, 0xaf, 0x85, 0xcc, 0x77, 0x1b, 0x16, 0x40, 0x8e, 0xd6, 0x46,
  2481. 0x77, 0x8d, 0x87, 0x24, 0x37, 0x0b, 0xdb, 0x01, 0x37, 0xa8, 0x72, 0xb7,
  2482. 0x69, 0x94, 0xe8, 0x74, 0xde, 0x7f, 0xc2, 0xe7, 0x24, 0xde, 0x16, 0xf5,
  2483. 0xa0, 0x7d, 0xc9, 0x49, 0xd1, 0xc3, 0xbc, 0x9e, 0x73, 0xa4, 0xa0, 0xc2,
  2484. 0x99, 0x05, 0xc2, 0xb1, 0xcd, 0x99, 0xdf, 0x48,
  2485. };
  2486. static const struct drbg_kat_no_reseed kat83_nor_t = {
  2487. 7, kat83_nor_entropyin, kat83_nor_nonce, kat83_nor_persstr,
  2488. kat83_nor_addin0, kat83_nor_addin1, kat83_nor_retbytes
  2489. };
  2490. static const struct drbg_kat kat83_nor = {
  2491. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat83_nor_t
  2492. };
  2493. static const unsigned char kat84_nor_entropyin[] = {
  2494. 0xbb, 0x20, 0x61, 0x7c, 0xc0, 0xf7, 0xed, 0x8e, 0xf1, 0x29, 0xa7, 0xa0,
  2495. 0xe4, 0x78, 0x4c, 0x58,
  2496. };
  2497. static const unsigned char kat84_nor_nonce[] = {
  2498. 0xcb, 0x3b, 0x83, 0xd6, 0x13, 0xcc, 0x85, 0xdc,
  2499. };
  2500. static const unsigned char kat84_nor_persstr[] = {0};
  2501. static const unsigned char kat84_nor_addin0[] = {
  2502. 0xb1, 0x41, 0x9e, 0x3d, 0xbf, 0x91, 0xe1, 0x55, 0xcd, 0x32, 0x07, 0xea,
  2503. 0xd5, 0x28, 0xb2, 0x3d,
  2504. };
  2505. static const unsigned char kat84_nor_addin1[] = {
  2506. 0x9d, 0x54, 0x88, 0xca, 0x66, 0x4c, 0x2b, 0x19, 0x79, 0x48, 0x9a, 0x4c,
  2507. 0xf7, 0x42, 0x0e, 0x8d,
  2508. };
  2509. static const unsigned char kat84_nor_retbytes[] = {
  2510. 0x97, 0xee, 0x02, 0xe3, 0x86, 0xb0, 0x1b, 0x92, 0x9b, 0xde, 0x52, 0x2e,
  2511. 0x5f, 0x19, 0x8c, 0x85, 0xed, 0x03, 0x10, 0x25, 0xf4, 0xfd, 0x3f, 0x80,
  2512. 0x5c, 0x8a, 0xce, 0xab, 0x9d, 0x43, 0x28, 0x6f, 0x7e, 0xc7, 0x14, 0x22,
  2513. 0x82, 0x8b, 0x42, 0x70, 0x06, 0xd0, 0x35, 0xdf, 0x49, 0x4b, 0x86, 0xfb,
  2514. 0x9e, 0x71, 0x09, 0x01, 0x65, 0x18, 0x97, 0x18, 0x7e, 0x1c, 0xde, 0xa5,
  2515. 0xa6, 0x49, 0x41, 0x8c, 0x87, 0x24, 0xf0, 0xe6, 0x41, 0x26, 0x9a, 0x03,
  2516. 0x12, 0x72, 0x52, 0xb2, 0x9d, 0x79, 0x49, 0x4e,
  2517. };
  2518. static const struct drbg_kat_no_reseed kat84_nor_t = {
  2519. 8, kat84_nor_entropyin, kat84_nor_nonce, kat84_nor_persstr,
  2520. kat84_nor_addin0, kat84_nor_addin1, kat84_nor_retbytes
  2521. };
  2522. static const struct drbg_kat kat84_nor = {
  2523. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat84_nor_t
  2524. };
  2525. static const unsigned char kat85_nor_entropyin[] = {
  2526. 0xe9, 0xae, 0x7f, 0xab, 0x36, 0xe1, 0x64, 0x42, 0xfc, 0x6f, 0x88, 0xb7,
  2527. 0xd8, 0x90, 0xd7, 0x3d,
  2528. };
  2529. static const unsigned char kat85_nor_nonce[] = {
  2530. 0x37, 0xf7, 0x21, 0xf2, 0xb2, 0x27, 0xf1, 0x72,
  2531. };
  2532. static const unsigned char kat85_nor_persstr[] = {0};
  2533. static const unsigned char kat85_nor_addin0[] = {
  2534. 0x63, 0xf9, 0x2e, 0xc7, 0x0f, 0x47, 0x45, 0x8c, 0xa0, 0x38, 0x8a, 0xcb,
  2535. 0x1d, 0xc5, 0x51, 0xd2,
  2536. };
  2537. static const unsigned char kat85_nor_addin1[] = {
  2538. 0x85, 0x33, 0x11, 0xc7, 0x50, 0x63, 0xad, 0xa9, 0x9d, 0x25, 0xba, 0xa6,
  2539. 0x48, 0x4f, 0xc9, 0x53,
  2540. };
  2541. static const unsigned char kat85_nor_retbytes[] = {
  2542. 0x2c, 0xa7, 0x94, 0x59, 0xfa, 0x30, 0x12, 0x19, 0x88, 0x12, 0x13, 0xcd,
  2543. 0x3e, 0x0c, 0x14, 0xcb, 0x00, 0x4d, 0x12, 0xe1, 0xb0, 0xc7, 0x76, 0xfd,
  2544. 0x4f, 0x06, 0x32, 0xf9, 0x16, 0x73, 0xcb, 0x67, 0xa6, 0x65, 0x22, 0xfb,
  2545. 0x72, 0x4b, 0xe1, 0x21, 0xf8, 0xb4, 0x6c, 0xfb, 0xd1, 0x22, 0xcf, 0xd2,
  2546. 0xb1, 0x6d, 0x36, 0xf2, 0x7d, 0x17, 0x35, 0xe5, 0xf1, 0x73, 0x2a, 0xca,
  2547. 0xe8, 0x5b, 0xf2, 0x0f, 0xb4, 0xb5, 0x5c, 0x53, 0xbd, 0xc9, 0x30, 0x90,
  2548. 0x62, 0xa6, 0x64, 0x9f, 0xb5, 0x0f, 0xbc, 0xb2,
  2549. };
  2550. static const struct drbg_kat_no_reseed kat85_nor_t = {
  2551. 9, kat85_nor_entropyin, kat85_nor_nonce, kat85_nor_persstr,
  2552. kat85_nor_addin0, kat85_nor_addin1, kat85_nor_retbytes
  2553. };
  2554. static const struct drbg_kat kat85_nor = {
  2555. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat85_nor_t
  2556. };
  2557. static const unsigned char kat86_nor_entropyin[] = {
  2558. 0xef, 0x8b, 0x69, 0xc2, 0x11, 0x3d, 0x3e, 0x83, 0x87, 0x50, 0x0b, 0x8e,
  2559. 0x91, 0xe6, 0xd0, 0x77,
  2560. };
  2561. static const unsigned char kat86_nor_nonce[] = {
  2562. 0xa4, 0xb2, 0x5b, 0xcb, 0xe9, 0x2a, 0x9e, 0x5a,
  2563. };
  2564. static const unsigned char kat86_nor_persstr[] = {0};
  2565. static const unsigned char kat86_nor_addin0[] = {
  2566. 0x3a, 0x42, 0x62, 0x11, 0xe7, 0x6c, 0x02, 0x46, 0xcf, 0x25, 0x82, 0xa0,
  2567. 0x7e, 0x5c, 0xa6, 0x81,
  2568. };
  2569. static const unsigned char kat86_nor_addin1[] = {
  2570. 0xd8, 0x72, 0x1b, 0x09, 0xb2, 0x40, 0x48, 0x67, 0x61, 0xee, 0x0c, 0x67,
  2571. 0x0e, 0x5a, 0xf4, 0x73,
  2572. };
  2573. static const unsigned char kat86_nor_retbytes[] = {
  2574. 0x05, 0x5e, 0x5f, 0x05, 0x8b, 0x05, 0x43, 0x77, 0x83, 0x0b, 0xa4, 0xc7,
  2575. 0x31, 0x61, 0x7f, 0x9a, 0xcf, 0x16, 0x4f, 0xc5, 0xe2, 0x51, 0x74, 0x23,
  2576. 0x4e, 0x05, 0x20, 0x95, 0x41, 0x0b, 0x91, 0x24, 0x36, 0x66, 0xef, 0x57,
  2577. 0x33, 0x53, 0x29, 0x90, 0x89, 0x43, 0xc6, 0xd8, 0x8c, 0xfc, 0x00, 0xee,
  2578. 0x3f, 0x0d, 0xc0, 0x00, 0x23, 0xec, 0x32, 0xcf, 0xc4, 0x90, 0xe8, 0x2c,
  2579. 0xfb, 0xf4, 0x35, 0xe3, 0x88, 0x94, 0x98, 0x15, 0xdf, 0xc0, 0x05, 0xfc,
  2580. 0x03, 0x93, 0xd1, 0xd5, 0xef, 0xf7, 0xfd, 0xcf,
  2581. };
  2582. static const struct drbg_kat_no_reseed kat86_nor_t = {
  2583. 10, kat86_nor_entropyin, kat86_nor_nonce, kat86_nor_persstr,
  2584. kat86_nor_addin0, kat86_nor_addin1, kat86_nor_retbytes
  2585. };
  2586. static const struct drbg_kat kat86_nor = {
  2587. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat86_nor_t
  2588. };
  2589. static const unsigned char kat87_nor_entropyin[] = {
  2590. 0x1c, 0x98, 0x41, 0x2f, 0x62, 0xd9, 0x22, 0x0e, 0xbd, 0x84, 0x1b, 0x37,
  2591. 0x91, 0x28, 0xb1, 0x89,
  2592. };
  2593. static const unsigned char kat87_nor_nonce[] = {
  2594. 0xe1, 0xbe, 0x24, 0x32, 0x43, 0x1e, 0x83, 0xeb,
  2595. };
  2596. static const unsigned char kat87_nor_persstr[] = {0};
  2597. static const unsigned char kat87_nor_addin0[] = {
  2598. 0x6b, 0x43, 0xfe, 0x77, 0x0e, 0x72, 0x49, 0x7c, 0x13, 0x68, 0x5a, 0xa5,
  2599. 0x58, 0x72, 0x7f, 0x2d,
  2600. };
  2601. static const unsigned char kat87_nor_addin1[] = {
  2602. 0x96, 0x82, 0xfa, 0x8b, 0x49, 0x8d, 0x85, 0x3f, 0x3b, 0x43, 0x64, 0x98,
  2603. 0xaa, 0x68, 0x35, 0x8b,
  2604. };
  2605. static const unsigned char kat87_nor_retbytes[] = {
  2606. 0xca, 0x10, 0x79, 0xd6, 0x86, 0x75, 0x4c, 0x55, 0x38, 0x82, 0xab, 0x96,
  2607. 0x3d, 0xbd, 0x43, 0xa9, 0x53, 0xbc, 0x76, 0xbc, 0x77, 0x9b, 0x94, 0x5c,
  2608. 0xf3, 0x80, 0xac, 0x6d, 0x38, 0xd2, 0x12, 0x44, 0xa1, 0xbc, 0x14, 0x63,
  2609. 0x20, 0x21, 0x40, 0x41, 0xbb, 0xb5, 0x56, 0x04, 0x39, 0xfa, 0xb9, 0x97,
  2610. 0x21, 0xcc, 0xdc, 0xa6, 0x4f, 0x79, 0xb5, 0x57, 0xf6, 0xcd, 0x1e, 0x05,
  2611. 0x1c, 0x6b, 0x41, 0xd3, 0xa3, 0xbb, 0x86, 0x7c, 0xae, 0xdb, 0x45, 0x75,
  2612. 0x74, 0x9c, 0x5c, 0xd4, 0x51, 0xb6, 0x95, 0xe3,
  2613. };
  2614. static const struct drbg_kat_no_reseed kat87_nor_t = {
  2615. 11, kat87_nor_entropyin, kat87_nor_nonce, kat87_nor_persstr,
  2616. kat87_nor_addin0, kat87_nor_addin1, kat87_nor_retbytes
  2617. };
  2618. static const struct drbg_kat kat87_nor = {
  2619. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat87_nor_t
  2620. };
  2621. static const unsigned char kat88_nor_entropyin[] = {
  2622. 0xd7, 0xf7, 0x5f, 0x88, 0x96, 0xce, 0xcb, 0xd6, 0x49, 0x27, 0x32, 0x0d,
  2623. 0xbb, 0xe7, 0xa7, 0x1c,
  2624. };
  2625. static const unsigned char kat88_nor_nonce[] = {
  2626. 0xbb, 0x0e, 0x49, 0xae, 0x3b, 0x40, 0xe2, 0x8b,
  2627. };
  2628. static const unsigned char kat88_nor_persstr[] = {0};
  2629. static const unsigned char kat88_nor_addin0[] = {
  2630. 0xcd, 0xd3, 0x5d, 0x76, 0xe4, 0xdc, 0xec, 0xea, 0xe9, 0x18, 0xa3, 0xf5,
  2631. 0x8d, 0xc1, 0x1a, 0xe2,
  2632. };
  2633. static const unsigned char kat88_nor_addin1[] = {
  2634. 0xef, 0xdd, 0xd6, 0x12, 0x1e, 0x3f, 0x27, 0x66, 0x5e, 0x0e, 0x58, 0x5b,
  2635. 0x03, 0x5f, 0x77, 0x1f,
  2636. };
  2637. static const unsigned char kat88_nor_retbytes[] = {
  2638. 0x23, 0x6b, 0xf7, 0x25, 0x59, 0xc4, 0x8b, 0xa0, 0xea, 0x7d, 0x0d, 0x8a,
  2639. 0x6c, 0x76, 0xe0, 0x6d, 0xbf, 0x96, 0x6a, 0xf7, 0xcc, 0x29, 0xb1, 0x68,
  2640. 0xfd, 0x79, 0x8a, 0xec, 0xbb, 0x00, 0xdd, 0xda, 0x6e, 0x82, 0xcf, 0x03,
  2641. 0xd4, 0x30, 0xe0, 0x83, 0xcb, 0x4f, 0xe4, 0x2a, 0x9e, 0xb5, 0x47, 0xe2,
  2642. 0xc8, 0x2a, 0xd0, 0xdd, 0x62, 0x88, 0x2c, 0x17, 0x31, 0xde, 0x37, 0xe8,
  2643. 0x87, 0x44, 0x19, 0xe8, 0x96, 0xa4, 0xa5, 0x3e, 0x44, 0x8e, 0x98, 0xa0,
  2644. 0xb3, 0x08, 0x87, 0xa7, 0xfc, 0x8e, 0x50, 0xb5,
  2645. };
  2646. static const struct drbg_kat_no_reseed kat88_nor_t = {
  2647. 12, kat88_nor_entropyin, kat88_nor_nonce, kat88_nor_persstr,
  2648. kat88_nor_addin0, kat88_nor_addin1, kat88_nor_retbytes
  2649. };
  2650. static const struct drbg_kat kat88_nor = {
  2651. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat88_nor_t
  2652. };
  2653. static const unsigned char kat89_nor_entropyin[] = {
  2654. 0x40, 0x84, 0xb0, 0x5f, 0xd6, 0x2d, 0xa1, 0x89, 0x02, 0x45, 0xed, 0x6b,
  2655. 0xcc, 0xe6, 0xcd, 0x72,
  2656. };
  2657. static const unsigned char kat89_nor_nonce[] = {
  2658. 0xcf, 0xc3, 0x62, 0xec, 0x0d, 0xbf, 0x23, 0xe0,
  2659. };
  2660. static const unsigned char kat89_nor_persstr[] = {0};
  2661. static const unsigned char kat89_nor_addin0[] = {
  2662. 0xa5, 0x29, 0x2a, 0x17, 0x23, 0x39, 0xa4, 0x29, 0x1f, 0xb3, 0x0b, 0x9a,
  2663. 0x33, 0x25, 0xaa, 0x97,
  2664. };
  2665. static const unsigned char kat89_nor_addin1[] = {
  2666. 0xea, 0xe3, 0xdd, 0x07, 0x3e, 0xdc, 0xf8, 0x4c, 0xaa, 0xc2, 0xf6, 0x16,
  2667. 0x19, 0x73, 0xdd, 0xaa,
  2668. };
  2669. static const unsigned char kat89_nor_retbytes[] = {
  2670. 0xb0, 0x30, 0x97, 0x4c, 0xd3, 0xf0, 0xa2, 0x12, 0x51, 0x82, 0x1b, 0xe6,
  2671. 0x5a, 0x0a, 0x2c, 0x9d, 0x8b, 0xaa, 0xca, 0xaa, 0x06, 0x80, 0x4b, 0x6e,
  2672. 0x74, 0xbf, 0xe0, 0x0b, 0xa0, 0x69, 0x1a, 0x05, 0x52, 0x11, 0xac, 0xbd,
  2673. 0xeb, 0x2f, 0xa7, 0xda, 0x96, 0x41, 0xab, 0x4f, 0x8b, 0xbf, 0x74, 0xab,
  2674. 0x30, 0x32, 0xa9, 0x8f, 0x24, 0x17, 0x69, 0x7f, 0xbd, 0xf8, 0x0d, 0x74,
  2675. 0x88, 0x77, 0x52, 0x07, 0x26, 0x59, 0xf8, 0x17, 0xf1, 0x68, 0x17, 0x53,
  2676. 0x41, 0xdd, 0xef, 0x5b, 0x6e, 0xfd, 0x9f, 0xb6,
  2677. };
  2678. static const struct drbg_kat_no_reseed kat89_nor_t = {
  2679. 13, kat89_nor_entropyin, kat89_nor_nonce, kat89_nor_persstr,
  2680. kat89_nor_addin0, kat89_nor_addin1, kat89_nor_retbytes
  2681. };
  2682. static const struct drbg_kat kat89_nor = {
  2683. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat89_nor_t
  2684. };
  2685. static const unsigned char kat90_nor_entropyin[] = {
  2686. 0x46, 0xeb, 0xaf, 0x3f, 0xb0, 0x58, 0x3f, 0xc5, 0xb8, 0x01, 0x3e, 0x14,
  2687. 0x58, 0x4c, 0xe7, 0x17,
  2688. };
  2689. static const unsigned char kat90_nor_nonce[] = {
  2690. 0xd5, 0xd6, 0x8f, 0x69, 0x56, 0x7c, 0xb2, 0x90,
  2691. };
  2692. static const unsigned char kat90_nor_persstr[] = {0};
  2693. static const unsigned char kat90_nor_addin0[] = {
  2694. 0x32, 0xd0, 0x9b, 0x60, 0x4a, 0x65, 0xdc, 0x8d, 0xaa, 0x35, 0xcd, 0xc3,
  2695. 0x41, 0x41, 0xb7, 0x51,
  2696. };
  2697. static const unsigned char kat90_nor_addin1[] = {
  2698. 0xb8, 0x18, 0x6a, 0x29, 0x4c, 0x78, 0x24, 0xb7, 0xc5, 0x50, 0xc1, 0x05,
  2699. 0x4b, 0xad, 0xec, 0x00,
  2700. };
  2701. static const unsigned char kat90_nor_retbytes[] = {
  2702. 0xae, 0x9a, 0x09, 0x1c, 0xfa, 0xfb, 0xf0, 0xe7, 0x4c, 0x2b, 0xe8, 0xad,
  2703. 0x4b, 0x98, 0x4e, 0x82, 0x4a, 0x24, 0xe6, 0x5b, 0xa7, 0x61, 0x0b, 0x0f,
  2704. 0x3a, 0xb1, 0x75, 0x0e, 0x2f, 0x12, 0xde, 0x16, 0x20, 0xdb, 0x6b, 0xb8,
  2705. 0xc4, 0x93, 0xb3, 0xd8, 0xb0, 0x6a, 0xb7, 0x8e, 0x69, 0xcf, 0x2d, 0xff,
  2706. 0xd7, 0x3d, 0x43, 0x22, 0xa6, 0x7e, 0xe7, 0x72, 0x5a, 0xad, 0x84, 0xfb,
  2707. 0x45, 0x8b, 0x8f, 0x26, 0xcf, 0x04, 0x84, 0x68, 0x50, 0x20, 0x2e, 0x53,
  2708. 0xc8, 0x74, 0x21, 0x32, 0x21, 0xe7, 0x61, 0xe5,
  2709. };
  2710. static const struct drbg_kat_no_reseed kat90_nor_t = {
  2711. 14, kat90_nor_entropyin, kat90_nor_nonce, kat90_nor_persstr,
  2712. kat90_nor_addin0, kat90_nor_addin1, kat90_nor_retbytes
  2713. };
  2714. static const struct drbg_kat kat90_nor = {
  2715. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat90_nor_t
  2716. };
  2717. static const unsigned char kat91_nor_entropyin[] = {
  2718. 0xf0, 0xfd, 0x21, 0x99, 0xc6, 0x25, 0x26, 0x28, 0x63, 0x99, 0x76, 0x62,
  2719. 0x8c, 0xb7, 0x1c, 0x39,
  2720. };
  2721. static const unsigned char kat91_nor_nonce[] = {
  2722. 0xe2, 0xda, 0xeb, 0xbc, 0x0c, 0xe7, 0xa1, 0x83,
  2723. };
  2724. static const unsigned char kat91_nor_persstr[] = {
  2725. 0x5f, 0xa5, 0xee, 0xe4, 0xf3, 0x6f, 0x5d, 0x42, 0xf5, 0x93, 0xc5, 0x7d,
  2726. 0xe8, 0x75, 0x43, 0xab,
  2727. };
  2728. static const unsigned char kat91_nor_addin0[] = {0};
  2729. static const unsigned char kat91_nor_addin1[] = {0};
  2730. static const unsigned char kat91_nor_retbytes[] = {
  2731. 0x3e, 0x1a, 0x75, 0xdf, 0x86, 0x12, 0xb4, 0x0e, 0xce, 0xad, 0xe7, 0xa8,
  2732. 0xc7, 0x3f, 0x0c, 0x11, 0xca, 0x40, 0x46, 0xa3, 0xa1, 0x3e, 0x15, 0x9a,
  2733. 0xf3, 0xfb, 0x9b, 0x96, 0x9f, 0x38, 0x99, 0x4f, 0xd1, 0xbf, 0x68, 0x96,
  2734. 0xa2, 0x68, 0x12, 0x55, 0x55, 0x93, 0x4a, 0xee, 0xa0, 0x14, 0x5a, 0x8a,
  2735. 0x83, 0xa7, 0x80, 0xf2, 0xd7, 0x1c, 0x12, 0x68, 0x9c, 0xaa, 0x9f, 0xae,
  2736. 0xc6, 0xd0, 0xd1, 0x98, 0x75, 0x8d, 0x4a, 0x06, 0x64, 0x25, 0x0b, 0xd4,
  2737. 0xd8, 0x9f, 0xe9, 0x61, 0x4a, 0xdc, 0xa3, 0xe3,
  2738. };
  2739. static const struct drbg_kat_no_reseed kat91_nor_t = {
  2740. 0, kat91_nor_entropyin, kat91_nor_nonce, kat91_nor_persstr,
  2741. kat91_nor_addin0, kat91_nor_addin1, kat91_nor_retbytes
  2742. };
  2743. static const struct drbg_kat kat91_nor = {
  2744. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat91_nor_t
  2745. };
  2746. static const unsigned char kat92_nor_entropyin[] = {
  2747. 0x75, 0xb8, 0xf6, 0x6d, 0xb0, 0x2e, 0x8a, 0x39, 0xd4, 0x8f, 0xf6, 0xbd,
  2748. 0xb8, 0x64, 0x39, 0x2a,
  2749. };
  2750. static const unsigned char kat92_nor_nonce[] = {
  2751. 0x19, 0x88, 0x3b, 0xc6, 0x81, 0x29, 0x39, 0x91,
  2752. };
  2753. static const unsigned char kat92_nor_persstr[] = {
  2754. 0x1c, 0x5f, 0x89, 0x0d, 0xcf, 0x7c, 0x4c, 0x81, 0xfb, 0xe5, 0x9f, 0x12,
  2755. 0xdf, 0xa4, 0x87, 0xbf,
  2756. };
  2757. static const unsigned char kat92_nor_addin0[] = {0};
  2758. static const unsigned char kat92_nor_addin1[] = {0};
  2759. static const unsigned char kat92_nor_retbytes[] = {
  2760. 0x9a, 0x4d, 0x78, 0xb6, 0xee, 0x54, 0xbc, 0x20, 0x04, 0x88, 0xfb, 0xc5,
  2761. 0x22, 0xd9, 0x67, 0xc6, 0xe3, 0x97, 0xb1, 0x2f, 0x29, 0xde, 0xdd, 0x2a,
  2762. 0x44, 0xb4, 0xc2, 0xd2, 0xa5, 0xe0, 0xc5, 0xde, 0x7d, 0x19, 0xa5, 0xcd,
  2763. 0x77, 0x8f, 0xb0, 0xa0, 0xcb, 0xe1, 0xd9, 0x89, 0x38, 0x65, 0xa3, 0x78,
  2764. 0x38, 0x0d, 0x12, 0xb0, 0x58, 0x2c, 0x35, 0xbe, 0xfe, 0xba, 0xa1, 0x35,
  2765. 0xda, 0x44, 0xdc, 0x08, 0x40, 0x31, 0x65, 0xa0, 0x01, 0xbb, 0x31, 0x80,
  2766. 0xcf, 0xa5, 0x64, 0x49, 0x92, 0x11, 0x2f, 0x26,
  2767. };
  2768. static const struct drbg_kat_no_reseed kat92_nor_t = {
  2769. 1, kat92_nor_entropyin, kat92_nor_nonce, kat92_nor_persstr,
  2770. kat92_nor_addin0, kat92_nor_addin1, kat92_nor_retbytes
  2771. };
  2772. static const struct drbg_kat kat92_nor = {
  2773. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat92_nor_t
  2774. };
  2775. static const unsigned char kat93_nor_entropyin[] = {
  2776. 0x8d, 0xdc, 0x1d, 0x1a, 0xa7, 0x3c, 0x79, 0x75, 0x02, 0xf9, 0x71, 0xbb,
  2777. 0xd5, 0x9e, 0xfe, 0xc6,
  2778. };
  2779. static const unsigned char kat93_nor_nonce[] = {
  2780. 0xe5, 0xb5, 0x4a, 0x7a, 0xf7, 0x6f, 0xb1, 0x20,
  2781. };
  2782. static const unsigned char kat93_nor_persstr[] = {
  2783. 0x37, 0xec, 0x27, 0x25, 0x34, 0x7b, 0x49, 0x08, 0xab, 0xe8, 0xf6, 0x9e,
  2784. 0x22, 0x83, 0x6d, 0x4b,
  2785. };
  2786. static const unsigned char kat93_nor_addin0[] = {0};
  2787. static const unsigned char kat93_nor_addin1[] = {0};
  2788. static const unsigned char kat93_nor_retbytes[] = {
  2789. 0xbd, 0x96, 0x54, 0x9e, 0xd8, 0xc0, 0x94, 0xbb, 0x04, 0x38, 0x70, 0x42,
  2790. 0x4d, 0x38, 0xa7, 0x14, 0x79, 0xe4, 0x4a, 0x3f, 0x47, 0xe9, 0x2e, 0xc0,
  2791. 0x10, 0xa1, 0x01, 0x8a, 0xd5, 0xee, 0xaf, 0xe8, 0x32, 0xfd, 0xa5, 0x41,
  2792. 0x55, 0x39, 0x48, 0xc9, 0x75, 0x54, 0x0a, 0xd8, 0xe7, 0x3a, 0xcb, 0x36,
  2793. 0x48, 0x68, 0x14, 0x95, 0x04, 0xdf, 0x35, 0x74, 0xa0, 0x4b, 0x1c, 0x34,
  2794. 0xfe, 0x7b, 0xd7, 0x00, 0x92, 0x11, 0xc2, 0x7f, 0x30, 0xcd, 0x34, 0xc1,
  2795. 0xfd, 0xd4, 0x10, 0xb8, 0x32, 0x01, 0x94, 0x7a,
  2796. };
  2797. static const struct drbg_kat_no_reseed kat93_nor_t = {
  2798. 2, kat93_nor_entropyin, kat93_nor_nonce, kat93_nor_persstr,
  2799. kat93_nor_addin0, kat93_nor_addin1, kat93_nor_retbytes
  2800. };
  2801. static const struct drbg_kat kat93_nor = {
  2802. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat93_nor_t
  2803. };
  2804. static const unsigned char kat94_nor_entropyin[] = {
  2805. 0x3c, 0x03, 0x46, 0x41, 0x29, 0xb1, 0x3d, 0x93, 0xe4, 0xbc, 0x07, 0xf5,
  2806. 0x73, 0x1a, 0x59, 0xb6,
  2807. };
  2808. static const unsigned char kat94_nor_nonce[] = {
  2809. 0x5f, 0xfe, 0xa1, 0x2f, 0xd5, 0xf6, 0x2d, 0xcc,
  2810. };
  2811. static const unsigned char kat94_nor_persstr[] = {
  2812. 0x58, 0x82, 0x04, 0xa0, 0x22, 0x72, 0x7a, 0xfa, 0x3f, 0x94, 0xce, 0xb7,
  2813. 0xbb, 0x8e, 0xdf, 0xbb,
  2814. };
  2815. static const unsigned char kat94_nor_addin0[] = {0};
  2816. static const unsigned char kat94_nor_addin1[] = {0};
  2817. static const unsigned char kat94_nor_retbytes[] = {
  2818. 0x17, 0xa2, 0xfb, 0x65, 0xd6, 0x6d, 0x8a, 0x7f, 0x31, 0x92, 0x46, 0x38,
  2819. 0xa9, 0x44, 0x51, 0x36, 0xca, 0x6e, 0x5b, 0xdc, 0x35, 0x99, 0xa5, 0x50,
  2820. 0x1f, 0xfe, 0x97, 0x62, 0x89, 0x29, 0x7b, 0xe9, 0xee, 0x00, 0x28, 0x21,
  2821. 0x59, 0x01, 0xb4, 0xdf, 0xe6, 0x64, 0x30, 0xfc, 0xa4, 0xb0, 0xe4, 0xc8,
  2822. 0xf0, 0xe0, 0xc7, 0x4d, 0x98, 0x69, 0xb5, 0x8c, 0x7b, 0x67, 0xb5, 0xfa,
  2823. 0xc5, 0x60, 0x34, 0x9f, 0x2c, 0x60, 0x31, 0x8c, 0x79, 0xa7, 0xf3, 0xc1,
  2824. 0x43, 0xc5, 0xf6, 0x1c, 0xaa, 0x37, 0x14, 0xe5,
  2825. };
  2826. static const struct drbg_kat_no_reseed kat94_nor_t = {
  2827. 3, kat94_nor_entropyin, kat94_nor_nonce, kat94_nor_persstr,
  2828. kat94_nor_addin0, kat94_nor_addin1, kat94_nor_retbytes
  2829. };
  2830. static const struct drbg_kat kat94_nor = {
  2831. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat94_nor_t
  2832. };
  2833. static const unsigned char kat95_nor_entropyin[] = {
  2834. 0x05, 0xb1, 0x7d, 0x99, 0x62, 0xee, 0x6b, 0xa8, 0xcf, 0xd6, 0xf5, 0xe8,
  2835. 0x49, 0xb8, 0x45, 0x7b,
  2836. };
  2837. static const unsigned char kat95_nor_nonce[] = {
  2838. 0xf6, 0xd7, 0xa5, 0xae, 0xa8, 0x8a, 0x24, 0xbe,
  2839. };
  2840. static const unsigned char kat95_nor_persstr[] = {
  2841. 0x13, 0xd9, 0xc6, 0x0d, 0xe4, 0xb0, 0x4f, 0xc6, 0x3d, 0x07, 0x48, 0x5d,
  2842. 0x0e, 0xb2, 0x33, 0x7b,
  2843. };
  2844. static const unsigned char kat95_nor_addin0[] = {0};
  2845. static const unsigned char kat95_nor_addin1[] = {0};
  2846. static const unsigned char kat95_nor_retbytes[] = {
  2847. 0x80, 0xa2, 0x96, 0xe2, 0x08, 0x23, 0x24, 0xe1, 0xd7, 0xa8, 0x50, 0xab,
  2848. 0xb5, 0xee, 0xc2, 0x36, 0x94, 0xae, 0x69, 0x53, 0x45, 0xd5, 0x7f, 0x07,
  2849. 0xf3, 0xbc, 0x46, 0xc4, 0x2e, 0x5d, 0x80, 0x12, 0xb3, 0x7d, 0xad, 0xad,
  2850. 0xac, 0xa5, 0xf1, 0xfc, 0xb0, 0x08, 0x8c, 0x59, 0x00, 0x50, 0x58, 0x9e,
  2851. 0x5b, 0x10, 0xf8, 0xbf, 0xd9, 0x67, 0x22, 0xec, 0x0c, 0x56, 0x7b, 0x90,
  2852. 0xbe, 0xa5, 0x65, 0xed, 0xbe, 0xdd, 0x41, 0x5b, 0xab, 0x2f, 0xa6, 0x30,
  2853. 0xd9, 0x47, 0x38, 0xc4, 0x44, 0xdb, 0x14, 0xdc,
  2854. };
  2855. static const struct drbg_kat_no_reseed kat95_nor_t = {
  2856. 4, kat95_nor_entropyin, kat95_nor_nonce, kat95_nor_persstr,
  2857. kat95_nor_addin0, kat95_nor_addin1, kat95_nor_retbytes
  2858. };
  2859. static const struct drbg_kat kat95_nor = {
  2860. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat95_nor_t
  2861. };
  2862. static const unsigned char kat96_nor_entropyin[] = {
  2863. 0xe5, 0x36, 0xcf, 0x01, 0x38, 0x56, 0x6d, 0x88, 0x52, 0x55, 0x65, 0xc6,
  2864. 0xb6, 0xcd, 0x2f, 0x86,
  2865. };
  2866. static const unsigned char kat96_nor_nonce[] = {
  2867. 0xd0, 0x48, 0xa5, 0x18, 0x56, 0x90, 0x27, 0xf9,
  2868. };
  2869. static const unsigned char kat96_nor_persstr[] = {
  2870. 0x68, 0xe2, 0x28, 0x6e, 0xd4, 0x68, 0x33, 0x3e, 0xe2, 0x7c, 0x57, 0x34,
  2871. 0x53, 0x56, 0x99, 0x94,
  2872. };
  2873. static const unsigned char kat96_nor_addin0[] = {0};
  2874. static const unsigned char kat96_nor_addin1[] = {0};
  2875. static const unsigned char kat96_nor_retbytes[] = {
  2876. 0x61, 0x53, 0x84, 0xd1, 0x98, 0x2f, 0x75, 0xf8, 0xe8, 0xc0, 0x08, 0xfd,
  2877. 0x65, 0x6b, 0x3b, 0xe0, 0x95, 0xdc, 0x6a, 0x1b, 0x15, 0x72, 0x5c, 0xdc,
  2878. 0x22, 0x06, 0xab, 0xb5, 0xb0, 0xe7, 0xd7, 0x25, 0x14, 0xee, 0x4f, 0x47,
  2879. 0x7d, 0x12, 0x0a, 0x4b, 0x1f, 0xa8, 0x1c, 0x40, 0xec, 0x88, 0xbc, 0x7c,
  2880. 0xb4, 0x04, 0x8d, 0xf8, 0x3c, 0x94, 0xc7, 0xb2, 0xb6, 0xf7, 0xfd, 0x91,
  2881. 0x6f, 0xfc, 0x17, 0x67, 0x81, 0x51, 0x7d, 0x4d, 0xec, 0xb9, 0xb8, 0xab,
  2882. 0xe5, 0x3c, 0x22, 0x89, 0xdb, 0x4b, 0x41, 0xef,
  2883. };
  2884. static const struct drbg_kat_no_reseed kat96_nor_t = {
  2885. 5, kat96_nor_entropyin, kat96_nor_nonce, kat96_nor_persstr,
  2886. kat96_nor_addin0, kat96_nor_addin1, kat96_nor_retbytes
  2887. };
  2888. static const struct drbg_kat kat96_nor = {
  2889. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat96_nor_t
  2890. };
  2891. static const unsigned char kat97_nor_entropyin[] = {
  2892. 0x0f, 0x48, 0xee, 0xcd, 0x99, 0x13, 0xb7, 0x10, 0x4f, 0xf8, 0xb8, 0x80,
  2893. 0x0a, 0x2b, 0x13, 0x16,
  2894. };
  2895. static const unsigned char kat97_nor_nonce[] = {
  2896. 0x6d, 0xe0, 0x36, 0xfe, 0x5a, 0x20, 0x1b, 0x5f,
  2897. };
  2898. static const unsigned char kat97_nor_persstr[] = {
  2899. 0xd0, 0x0c, 0x23, 0x70, 0x30, 0xad, 0xba, 0x87, 0x4e, 0x1e, 0x6b, 0xcb,
  2900. 0xcf, 0x2a, 0x47, 0xbf,
  2901. };
  2902. static const unsigned char kat97_nor_addin0[] = {0};
  2903. static const unsigned char kat97_nor_addin1[] = {0};
  2904. static const unsigned char kat97_nor_retbytes[] = {
  2905. 0x36, 0xb7, 0x65, 0x62, 0xae, 0x5d, 0xc3, 0x05, 0x45, 0xe6, 0xce, 0x14,
  2906. 0xdd, 0xbc, 0xe1, 0x23, 0x30, 0xf1, 0xcf, 0xea, 0x88, 0x22, 0x7b, 0x8e,
  2907. 0xc1, 0x16, 0x54, 0xe6, 0x2b, 0x4e, 0x81, 0x06, 0x3a, 0x55, 0x74, 0x75,
  2908. 0x81, 0x63, 0xf4, 0x47, 0x8a, 0x28, 0x38, 0xaf, 0x25, 0x83, 0xec, 0xe2,
  2909. 0xe6, 0x9b, 0xfb, 0xf1, 0x45, 0x0f, 0x12, 0xac, 0x6e, 0x37, 0xa6, 0x94,
  2910. 0x8e, 0x7e, 0xc3, 0x67, 0x16, 0xdb, 0x22, 0xc4, 0x05, 0x65, 0xb1, 0xa1,
  2911. 0x6a, 0x4b, 0x06, 0xe2, 0x66, 0x59, 0xc3, 0x4f,
  2912. };
  2913. static const struct drbg_kat_no_reseed kat97_nor_t = {
  2914. 6, kat97_nor_entropyin, kat97_nor_nonce, kat97_nor_persstr,
  2915. kat97_nor_addin0, kat97_nor_addin1, kat97_nor_retbytes
  2916. };
  2917. static const struct drbg_kat kat97_nor = {
  2918. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat97_nor_t
  2919. };
  2920. static const unsigned char kat98_nor_entropyin[] = {
  2921. 0x66, 0x29, 0x30, 0xe8, 0xba, 0xe1, 0x4d, 0x3b, 0xe8, 0x7d, 0x96, 0x54,
  2922. 0x63, 0x5a, 0x20, 0x22,
  2923. };
  2924. static const unsigned char kat98_nor_nonce[] = {
  2925. 0x38, 0x36, 0xf4, 0xd7, 0xa5, 0x08, 0x59, 0x5d,
  2926. };
  2927. static const unsigned char kat98_nor_persstr[] = {
  2928. 0x74, 0x60, 0xd1, 0x6d, 0xa0, 0x1d, 0xfe, 0x50, 0x48, 0x70, 0xde, 0x63,
  2929. 0xbd, 0x4c, 0xf6, 0x0c,
  2930. };
  2931. static const unsigned char kat98_nor_addin0[] = {0};
  2932. static const unsigned char kat98_nor_addin1[] = {0};
  2933. static const unsigned char kat98_nor_retbytes[] = {
  2934. 0xc9, 0x9b, 0x9c, 0xea, 0x7f, 0x76, 0x10, 0xd5, 0x46, 0x32, 0xd3, 0x9b,
  2935. 0x45, 0x75, 0x25, 0xdf, 0xf4, 0xf0, 0x1c, 0x57, 0x98, 0x9f, 0x50, 0x94,
  2936. 0x9d, 0x18, 0x57, 0x99, 0x8f, 0x4a, 0xae, 0x14, 0xaa, 0xc5, 0x7a, 0x1c,
  2937. 0xc7, 0xad, 0x51, 0x38, 0xe9, 0x70, 0xca, 0x67, 0x8a, 0x7d, 0x4c, 0xbd,
  2938. 0x42, 0xc9, 0xd9, 0x61, 0xf1, 0x5b, 0x45, 0x66, 0x5d, 0xda, 0x08, 0xab,
  2939. 0x2c, 0xb1, 0xea, 0xff, 0x68, 0x90, 0xc7, 0xb6, 0x26, 0x84, 0xe2, 0x94,
  2940. 0xf6, 0xb3, 0x7f, 0x89, 0xf1, 0x11, 0x98, 0x35,
  2941. };
  2942. static const struct drbg_kat_no_reseed kat98_nor_t = {
  2943. 7, kat98_nor_entropyin, kat98_nor_nonce, kat98_nor_persstr,
  2944. kat98_nor_addin0, kat98_nor_addin1, kat98_nor_retbytes
  2945. };
  2946. static const struct drbg_kat kat98_nor = {
  2947. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat98_nor_t
  2948. };
  2949. static const unsigned char kat99_nor_entropyin[] = {
  2950. 0x3e, 0xf0, 0x96, 0xac, 0x9e, 0x72, 0xa9, 0x61, 0xf5, 0x68, 0x90, 0xf4,
  2951. 0xb5, 0x23, 0xf9, 0x5f,
  2952. };
  2953. static const unsigned char kat99_nor_nonce[] = {
  2954. 0x1c, 0x10, 0x04, 0x01, 0xa4, 0x94, 0x02, 0xcb,
  2955. };
  2956. static const unsigned char kat99_nor_persstr[] = {
  2957. 0xe2, 0x2d, 0x6f, 0x4b, 0x7f, 0xa5, 0x04, 0x63, 0xdb, 0x12, 0x13, 0x80,
  2958. 0x44, 0xcc, 0xfd, 0x37,
  2959. };
  2960. static const unsigned char kat99_nor_addin0[] = {0};
  2961. static const unsigned char kat99_nor_addin1[] = {0};
  2962. static const unsigned char kat99_nor_retbytes[] = {
  2963. 0x41, 0x38, 0x09, 0x17, 0x74, 0xbb, 0xf3, 0x94, 0xd9, 0x0b, 0x33, 0xc1,
  2964. 0xb6, 0x60, 0x17, 0xd8, 0x42, 0xc7, 0xc5, 0xe7, 0x22, 0x1f, 0x57, 0xf5,
  2965. 0x5e, 0xf0, 0xd6, 0x0d, 0xa4, 0x39, 0x8c, 0x50, 0xc7, 0xd2, 0xec, 0x98,
  2966. 0x13, 0x17, 0x76, 0x73, 0xb9, 0xf3, 0x36, 0xa0, 0xb8, 0x5a, 0x25, 0xf8,
  2967. 0x8e, 0x21, 0x56, 0xea, 0x5f, 0xb2, 0x25, 0x0b, 0x95, 0xeb, 0xc8, 0x79,
  2968. 0xa5, 0xac, 0x58, 0x58, 0x4a, 0xf8, 0x09, 0x4c, 0x31, 0xd7, 0x71, 0x83,
  2969. 0x5e, 0x26, 0x24, 0xd1, 0x1d, 0xb5, 0x01, 0x18,
  2970. };
  2971. static const struct drbg_kat_no_reseed kat99_nor_t = {
  2972. 8, kat99_nor_entropyin, kat99_nor_nonce, kat99_nor_persstr,
  2973. kat99_nor_addin0, kat99_nor_addin1, kat99_nor_retbytes
  2974. };
  2975. static const struct drbg_kat kat99_nor = {
  2976. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat99_nor_t
  2977. };
  2978. static const unsigned char kat100_nor_entropyin[] = {
  2979. 0xa3, 0x00, 0x92, 0xb4, 0xf4, 0x81, 0xc7, 0x4e, 0xfa, 0x85, 0xa2, 0x83,
  2980. 0x6a, 0x92, 0xdc, 0x2b,
  2981. };
  2982. static const unsigned char kat100_nor_nonce[] = {
  2983. 0xcd, 0x22, 0xe3, 0xe3, 0xe7, 0x02, 0x1c, 0x08,
  2984. };
  2985. static const unsigned char kat100_nor_persstr[] = {
  2986. 0x86, 0x02, 0xbf, 0x58, 0x9c, 0xf6, 0x70, 0xe6, 0xba, 0x78, 0x7b, 0x32,
  2987. 0x15, 0x3b, 0x2d, 0x3a,
  2988. };
  2989. static const unsigned char kat100_nor_addin0[] = {0};
  2990. static const unsigned char kat100_nor_addin1[] = {0};
  2991. static const unsigned char kat100_nor_retbytes[] = {
  2992. 0x67, 0x8f, 0x1b, 0xce, 0xdb, 0xc8, 0x5c, 0x20, 0x02, 0xe0, 0x4c, 0xf7,
  2993. 0x8b, 0xa8, 0xa8, 0x9e, 0x7b, 0x1d, 0x56, 0xfe, 0xe4, 0x20, 0xd2, 0x15,
  2994. 0xa0, 0xfb, 0xf3, 0x3e, 0x30, 0x1d, 0xe3, 0xf0, 0x75, 0xac, 0xde, 0xb3,
  2995. 0x36, 0x3b, 0x3c, 0x6c, 0x5d, 0x73, 0xed, 0x1d, 0x5a, 0x28, 0x43, 0x75,
  2996. 0xfc, 0x3b, 0x8b, 0x4c, 0x73, 0xa2, 0x74, 0x05, 0xd7, 0x57, 0x03, 0xea,
  2997. 0x6b, 0xd9, 0xb2, 0x95, 0x14, 0x8b, 0xa9, 0xb7, 0x03, 0x63, 0x9c, 0xff,
  2998. 0xee, 0x9b, 0x37, 0x80, 0x82, 0x31, 0x89, 0x40,
  2999. };
  3000. static const struct drbg_kat_no_reseed kat100_nor_t = {
  3001. 9, kat100_nor_entropyin, kat100_nor_nonce, kat100_nor_persstr,
  3002. kat100_nor_addin0, kat100_nor_addin1, kat100_nor_retbytes
  3003. };
  3004. static const struct drbg_kat kat100_nor = {
  3005. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat100_nor_t
  3006. };
  3007. static const unsigned char kat101_nor_entropyin[] = {
  3008. 0x25, 0x16, 0xc2, 0x2a, 0xa5, 0xae, 0xcf, 0xb0, 0x65, 0x94, 0xdb, 0x80,
  3009. 0x39, 0xfb, 0xab, 0x26,
  3010. };
  3011. static const unsigned char kat101_nor_nonce[] = {
  3012. 0x2b, 0x52, 0xac, 0x33, 0x99, 0xc0, 0xd7, 0xb4,
  3013. };
  3014. static const unsigned char kat101_nor_persstr[] = {
  3015. 0xed, 0x8c, 0xdb, 0xd1, 0x0a, 0x1f, 0xc7, 0xc4, 0x28, 0x0f, 0x39, 0x9a,
  3016. 0x93, 0xb8, 0xe4, 0x7a,
  3017. };
  3018. static const unsigned char kat101_nor_addin0[] = {0};
  3019. static const unsigned char kat101_nor_addin1[] = {0};
  3020. static const unsigned char kat101_nor_retbytes[] = {
  3021. 0xb9, 0x26, 0xbd, 0xf4, 0x38, 0xc6, 0xe3, 0x06, 0xa9, 0xac, 0x00, 0x84,
  3022. 0x29, 0x4c, 0x1a, 0x97, 0xef, 0x13, 0x68, 0xe1, 0x06, 0x24, 0x4e, 0xdd,
  3023. 0x40, 0x66, 0x24, 0x8a, 0x20, 0xd4, 0xf8, 0xd6, 0x01, 0xe4, 0x35, 0x83,
  3024. 0xb6, 0x82, 0xaf, 0xed, 0x51, 0x89, 0xf5, 0x1b, 0x6f, 0x06, 0xae, 0x00,
  3025. 0x44, 0x14, 0xcc, 0x66, 0x8c, 0x08, 0x2f, 0x88, 0x45, 0xa7, 0x07, 0x5e,
  3026. 0x5d, 0x39, 0x23, 0x15, 0x8f, 0xdd, 0x83, 0x77, 0xd1, 0x73, 0x51, 0xb9,
  3027. 0xd9, 0x24, 0xc8, 0xb8, 0xf3, 0x8b, 0xea, 0x4d,
  3028. };
  3029. static const struct drbg_kat_no_reseed kat101_nor_t = {
  3030. 10, kat101_nor_entropyin, kat101_nor_nonce, kat101_nor_persstr,
  3031. kat101_nor_addin0, kat101_nor_addin1, kat101_nor_retbytes
  3032. };
  3033. static const struct drbg_kat kat101_nor = {
  3034. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat101_nor_t
  3035. };
  3036. static const unsigned char kat102_nor_entropyin[] = {
  3037. 0x35, 0xed, 0xf0, 0x13, 0xd8, 0x0e, 0xec, 0x2d, 0x3b, 0x78, 0x57, 0x26,
  3038. 0x62, 0x9e, 0xe0, 0x74,
  3039. };
  3040. static const unsigned char kat102_nor_nonce[] = {
  3041. 0x14, 0x9c, 0x12, 0x60, 0xbd, 0x2b, 0x1d, 0x9c,
  3042. };
  3043. static const unsigned char kat102_nor_persstr[] = {
  3044. 0x92, 0x12, 0xa9, 0x5a, 0x4c, 0xf0, 0x85, 0x5e, 0x3e, 0xe8, 0xc5, 0x25,
  3045. 0x79, 0x14, 0xea, 0x36,
  3046. };
  3047. static const unsigned char kat102_nor_addin0[] = {0};
  3048. static const unsigned char kat102_nor_addin1[] = {0};
  3049. static const unsigned char kat102_nor_retbytes[] = {
  3050. 0x91, 0x0b, 0xfa, 0x60, 0x25, 0x83, 0xb1, 0xfa, 0x5c, 0x05, 0x91, 0x8d,
  3051. 0x34, 0x53, 0xac, 0x7e, 0xfc, 0x16, 0x30, 0x40, 0xcd, 0x34, 0x5f, 0xdd,
  3052. 0x2b, 0x5b, 0x34, 0x2d, 0x0d, 0xd6, 0xf4, 0x2e, 0xb2, 0xf8, 0x47, 0x93,
  3053. 0x27, 0x12, 0xcf, 0x12, 0x19, 0xae, 0x29, 0x76, 0x65, 0x32, 0xab, 0x16,
  3054. 0xe6, 0xd8, 0x11, 0x2c, 0xd6, 0xfe, 0xac, 0x56, 0x9f, 0x3e, 0x99, 0x42,
  3055. 0xc0, 0x45, 0x0b, 0x9f, 0xcc, 0xa2, 0x2c, 0xb9, 0x50, 0x4b, 0x28, 0x90,
  3056. 0x94, 0xc9, 0x6d, 0x5d, 0x1a, 0x7f, 0x7c, 0x3b,
  3057. };
  3058. static const struct drbg_kat_no_reseed kat102_nor_t = {
  3059. 11, kat102_nor_entropyin, kat102_nor_nonce, kat102_nor_persstr,
  3060. kat102_nor_addin0, kat102_nor_addin1, kat102_nor_retbytes
  3061. };
  3062. static const struct drbg_kat kat102_nor = {
  3063. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat102_nor_t
  3064. };
  3065. static const unsigned char kat103_nor_entropyin[] = {
  3066. 0x88, 0xeb, 0xea, 0x4a, 0xd8, 0x8d, 0x9e, 0x35, 0x18, 0x7c, 0xc7, 0x05,
  3067. 0x03, 0xd7, 0x73, 0xf5,
  3068. };
  3069. static const unsigned char kat103_nor_nonce[] = {
  3070. 0x53, 0xad, 0x0f, 0x40, 0xfa, 0xcc, 0x3f, 0x98,
  3071. };
  3072. static const unsigned char kat103_nor_persstr[] = {
  3073. 0x80, 0x95, 0xd8, 0xab, 0x6b, 0x61, 0x7f, 0xa1, 0xd1, 0x15, 0xd1, 0xbf,
  3074. 0xe5, 0x17, 0xf4, 0xef,
  3075. };
  3076. static const unsigned char kat103_nor_addin0[] = {0};
  3077. static const unsigned char kat103_nor_addin1[] = {0};
  3078. static const unsigned char kat103_nor_retbytes[] = {
  3079. 0x25, 0x6c, 0x83, 0x77, 0x81, 0xfa, 0x60, 0xcd, 0x1f, 0x77, 0x5d, 0xb1,
  3080. 0xd4, 0xd7, 0xb7, 0x65, 0xad, 0xbb, 0x3b, 0xb5, 0xda, 0xcc, 0x17, 0x16,
  3081. 0xd3, 0x9e, 0xfd, 0x71, 0x8f, 0x8e, 0x99, 0x95, 0x66, 0xf0, 0x9c, 0xeb,
  3082. 0xc1, 0xd8, 0xd0, 0x38, 0xc6, 0x3a, 0x31, 0x92, 0xd6, 0xab, 0xab, 0xf5,
  3083. 0xb3, 0xeb, 0x38, 0xf8, 0x79, 0x56, 0x62, 0xbe, 0x59, 0x4e, 0x63, 0x58,
  3084. 0x9d, 0x7a, 0xdc, 0xe5, 0x78, 0x84, 0xab, 0x62, 0xdc, 0x40, 0x99, 0xc4,
  3085. 0x9c, 0x1d, 0x25, 0xe8, 0x8a, 0x99, 0x28, 0x3f,
  3086. };
  3087. static const struct drbg_kat_no_reseed kat103_nor_t = {
  3088. 12, kat103_nor_entropyin, kat103_nor_nonce, kat103_nor_persstr,
  3089. kat103_nor_addin0, kat103_nor_addin1, kat103_nor_retbytes
  3090. };
  3091. static const struct drbg_kat kat103_nor = {
  3092. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat103_nor_t
  3093. };
  3094. static const unsigned char kat104_nor_entropyin[] = {
  3095. 0x7e, 0x9d, 0x7f, 0x2d, 0x74, 0x9f, 0xd4, 0x46, 0x74, 0x71, 0x4d, 0x0f,
  3096. 0x6b, 0x09, 0x8b, 0x47,
  3097. };
  3098. static const unsigned char kat104_nor_nonce[] = {
  3099. 0x29, 0x70, 0xb7, 0x16, 0xb2, 0x11, 0x68, 0x95,
  3100. };
  3101. static const unsigned char kat104_nor_persstr[] = {
  3102. 0x57, 0xac, 0xd2, 0x52, 0x0d, 0x9e, 0xbf, 0xb7, 0x62, 0xb7, 0x59, 0xb9,
  3103. 0x98, 0xfe, 0x5f, 0x36,
  3104. };
  3105. static const unsigned char kat104_nor_addin0[] = {0};
  3106. static const unsigned char kat104_nor_addin1[] = {0};
  3107. static const unsigned char kat104_nor_retbytes[] = {
  3108. 0xea, 0x84, 0x63, 0x03, 0xd9, 0xe1, 0xac, 0x84, 0x69, 0xfe, 0xd0, 0x16,
  3109. 0x3d, 0xeb, 0x49, 0xc6, 0xd6, 0xf6, 0x9d, 0xa2, 0x44, 0x3d, 0xd3, 0x1b,
  3110. 0x66, 0xc7, 0x28, 0x55, 0xac, 0x30, 0xe7, 0xc0, 0x2e, 0x06, 0x55, 0x8d,
  3111. 0x78, 0xe7, 0x33, 0xd9, 0xf5, 0xa0, 0xf6, 0xe5, 0x27, 0x63, 0x63, 0x9c,
  3112. 0xc2, 0xb8, 0xc4, 0xc0, 0xe0, 0x5b, 0x8c, 0x69, 0xf6, 0xa3, 0xdd, 0x84,
  3113. 0x06, 0x39, 0x97, 0x66, 0x3e, 0xd5, 0xf4, 0xe6, 0x90, 0xdd, 0xbb, 0x86,
  3114. 0x42, 0x38, 0x0f, 0x8e, 0x8c, 0x9a, 0xa8, 0xa2,
  3115. };
  3116. static const struct drbg_kat_no_reseed kat104_nor_t = {
  3117. 13, kat104_nor_entropyin, kat104_nor_nonce, kat104_nor_persstr,
  3118. kat104_nor_addin0, kat104_nor_addin1, kat104_nor_retbytes
  3119. };
  3120. static const struct drbg_kat kat104_nor = {
  3121. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat104_nor_t
  3122. };
  3123. static const unsigned char kat105_nor_entropyin[] = {
  3124. 0xd2, 0x0b, 0x5e, 0xd7, 0x01, 0x18, 0xec, 0xfe, 0xb2, 0xdc, 0xfe, 0x8c,
  3125. 0xfd, 0x7e, 0x6b, 0x6e,
  3126. };
  3127. static const unsigned char kat105_nor_nonce[] = {
  3128. 0x83, 0x68, 0xee, 0x0e, 0x29, 0xd3, 0x5c, 0x67,
  3129. };
  3130. static const unsigned char kat105_nor_persstr[] = {
  3131. 0xf1, 0x89, 0xa8, 0x0d, 0x56, 0x19, 0xf5, 0x3c, 0xce, 0x87, 0x8e, 0xd5,
  3132. 0x75, 0x22, 0xa4, 0x68,
  3133. };
  3134. static const unsigned char kat105_nor_addin0[] = {0};
  3135. static const unsigned char kat105_nor_addin1[] = {0};
  3136. static const unsigned char kat105_nor_retbytes[] = {
  3137. 0xae, 0xac, 0x59, 0x33, 0x06, 0x5c, 0x33, 0xce, 0x2a, 0xce, 0x25, 0x31,
  3138. 0xa1, 0x93, 0xe3, 0x67, 0xf7, 0x3c, 0x83, 0xfc, 0x32, 0x8f, 0x61, 0xee,
  3139. 0x26, 0x27, 0xf6, 0xf3, 0x84, 0x19, 0x14, 0xc6, 0xb8, 0xa3, 0xff, 0x76,
  3140. 0x7f, 0x96, 0xb3, 0xc3, 0xb6, 0x85, 0xba, 0xc9, 0x31, 0xaf, 0x9e, 0xc1,
  3141. 0x0c, 0x6f, 0x3e, 0xfe, 0x25, 0xb5, 0x10, 0x9b, 0xb6, 0x47, 0xb1, 0x20,
  3142. 0xe3, 0xa3, 0xf6, 0x97, 0x1a, 0x4e, 0xc4, 0x1f, 0x4e, 0xf0, 0xc7, 0xa9,
  3143. 0x00, 0xfd, 0xb0, 0x9d, 0x7f, 0xf3, 0xb2, 0x47,
  3144. };
  3145. static const struct drbg_kat_no_reseed kat105_nor_t = {
  3146. 14, kat105_nor_entropyin, kat105_nor_nonce, kat105_nor_persstr,
  3147. kat105_nor_addin0, kat105_nor_addin1, kat105_nor_retbytes
  3148. };
  3149. static const struct drbg_kat kat105_nor = {
  3150. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat105_nor_t
  3151. };
  3152. static const unsigned char kat106_nor_entropyin[] = {
  3153. 0xef, 0x3e, 0xb1, 0xe6, 0x3f, 0x98, 0x78, 0xd6, 0x29, 0x84, 0x87, 0x67,
  3154. 0x12, 0xe7, 0x6e, 0x56,
  3155. };
  3156. static const unsigned char kat106_nor_nonce[] = {
  3157. 0xf9, 0x59, 0xd3, 0x16, 0x50, 0x36, 0x4e, 0x70,
  3158. };
  3159. static const unsigned char kat106_nor_persstr[] = {
  3160. 0xfc, 0xfe, 0x42, 0xc0, 0xc6, 0x5b, 0xbd, 0xc4, 0xa2, 0x9e, 0xb0, 0xb5,
  3161. 0x98, 0x35, 0x3e, 0x17,
  3162. };
  3163. static const unsigned char kat106_nor_addin0[] = {
  3164. 0xd2, 0x18, 0xda, 0x50, 0x1f, 0xa0, 0x9b, 0x43, 0xed, 0x8e, 0x2f, 0xb8,
  3165. 0xc3, 0xec, 0xc5, 0x64,
  3166. };
  3167. static const unsigned char kat106_nor_addin1[] = {
  3168. 0x24, 0x79, 0xf4, 0x33, 0x0a, 0xf9, 0x91, 0x0d, 0x74, 0x08, 0x40, 0x46,
  3169. 0x90, 0xd8, 0xeb, 0x93,
  3170. };
  3171. static const unsigned char kat106_nor_retbytes[] = {
  3172. 0x5d, 0xe8, 0x1d, 0x92, 0xcd, 0xdd, 0xb3, 0xec, 0x23, 0x60, 0x37, 0xf4,
  3173. 0xdc, 0x80, 0xd6, 0xc7, 0x78, 0xca, 0x72, 0xe1, 0x28, 0x41, 0x1a, 0x64,
  3174. 0x68, 0x9f, 0x26, 0xa2, 0x43, 0xfb, 0x2b, 0x6f, 0xc5, 0x44, 0x11, 0xee,
  3175. 0x9f, 0x41, 0x7b, 0x1e, 0x11, 0x37, 0x60, 0x13, 0x9a, 0xe4, 0xb2, 0xf8,
  3176. 0x0d, 0x74, 0x75, 0xb6, 0x66, 0xaf, 0x16, 0xf8, 0x7b, 0xad, 0xc5, 0x8e,
  3177. 0x53, 0x04, 0x6e, 0xe6, 0x05, 0xae, 0x96, 0x06, 0xba, 0x97, 0x43, 0xc5,
  3178. 0xe5, 0x7a, 0x69, 0x59, 0xbe, 0xbe, 0xb3, 0xa8,
  3179. };
  3180. static const struct drbg_kat_no_reseed kat106_nor_t = {
  3181. 0, kat106_nor_entropyin, kat106_nor_nonce, kat106_nor_persstr,
  3182. kat106_nor_addin0, kat106_nor_addin1, kat106_nor_retbytes
  3183. };
  3184. static const struct drbg_kat kat106_nor = {
  3185. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat106_nor_t
  3186. };
  3187. static const unsigned char kat107_nor_entropyin[] = {
  3188. 0x74, 0x80, 0xaf, 0xff, 0x27, 0x4e, 0x31, 0x88, 0xc6, 0xc6, 0x86, 0x28,
  3189. 0xfc, 0x31, 0x5c, 0x0b,
  3190. };
  3191. static const unsigned char kat107_nor_nonce[] = {
  3192. 0xfd, 0x5e, 0xbb, 0xed, 0xaa, 0xdb, 0x6a, 0xe4,
  3193. };
  3194. static const unsigned char kat107_nor_persstr[] = {
  3195. 0x1c, 0xab, 0x57, 0x35, 0xb2, 0x49, 0xe5, 0x50, 0xff, 0x36, 0x09, 0xef,
  3196. 0xe8, 0x9d, 0xbc, 0x9e,
  3197. };
  3198. static const unsigned char kat107_nor_addin0[] = {
  3199. 0x83, 0x4e, 0xa3, 0xf1, 0x5f, 0x77, 0x3e, 0x6d, 0x9c, 0x27, 0xfa, 0x78,
  3200. 0x7a, 0xa6, 0x58, 0x86,
  3201. };
  3202. static const unsigned char kat107_nor_addin1[] = {
  3203. 0x85, 0xcb, 0x35, 0xd2, 0xe7, 0xcc, 0xef, 0x7d, 0x22, 0xe1, 0x63, 0x85,
  3204. 0x54, 0x22, 0x89, 0x12,
  3205. };
  3206. static const unsigned char kat107_nor_retbytes[] = {
  3207. 0xf8, 0xb0, 0x50, 0x22, 0x4e, 0xe8, 0x90, 0xde, 0xfa, 0xf9, 0xaa, 0x7d,
  3208. 0xc5, 0x0b, 0x0e, 0x3a, 0xda, 0xcc, 0x51, 0xf5, 0xd2, 0xb5, 0x4f, 0xbd,
  3209. 0x1c, 0xf9, 0x95, 0x25, 0x68, 0x18, 0x76, 0xd2, 0x1e, 0x5c, 0x45, 0x27,
  3210. 0x1f, 0x8a, 0x8e, 0x9e, 0xf8, 0x98, 0x70, 0xe5, 0x21, 0x42, 0xa7, 0xf9,
  3211. 0x90, 0xaf, 0xd4, 0x86, 0x89, 0x59, 0x12, 0xc3, 0xd4, 0x56, 0xdb, 0xc1,
  3212. 0x3e, 0x89, 0xb2, 0x86, 0x38, 0xe9, 0xa3, 0x13, 0x0e, 0x80, 0x8d, 0xdb,
  3213. 0xae, 0x96, 0xde, 0x74, 0xb3, 0xdc, 0x16, 0x17,
  3214. };
  3215. static const struct drbg_kat_no_reseed kat107_nor_t = {
  3216. 1, kat107_nor_entropyin, kat107_nor_nonce, kat107_nor_persstr,
  3217. kat107_nor_addin0, kat107_nor_addin1, kat107_nor_retbytes
  3218. };
  3219. static const struct drbg_kat kat107_nor = {
  3220. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat107_nor_t
  3221. };
  3222. static const unsigned char kat108_nor_entropyin[] = {
  3223. 0x72, 0x66, 0xe7, 0xe0, 0xa7, 0xad, 0x02, 0x52, 0xd2, 0x7b, 0x82, 0xa0,
  3224. 0x28, 0x98, 0x58, 0xd4,
  3225. };
  3226. static const unsigned char kat108_nor_nonce[] = {
  3227. 0xb0, 0x2a, 0xa9, 0x20, 0x33, 0xb4, 0x04, 0x5b,
  3228. };
  3229. static const unsigned char kat108_nor_persstr[] = {
  3230. 0xd0, 0xd2, 0x24, 0x78, 0xc0, 0x69, 0xde, 0xda, 0x19, 0x7e, 0x73, 0x51,
  3231. 0xed, 0xfd, 0x6a, 0x0c,
  3232. };
  3233. static const unsigned char kat108_nor_addin0[] = {
  3234. 0x36, 0x99, 0x12, 0x64, 0xcb, 0xc2, 0x17, 0x1d, 0x2e, 0x3f, 0xc9, 0x56,
  3235. 0xc2, 0xd8, 0x1f, 0x57,
  3236. };
  3237. static const unsigned char kat108_nor_addin1[] = {
  3238. 0xe4, 0xe2, 0xe9, 0x76, 0xbf, 0x83, 0x36, 0x95, 0xe0, 0xbb, 0xae, 0xa1,
  3239. 0xd9, 0x2b, 0xed, 0x7b,
  3240. };
  3241. static const unsigned char kat108_nor_retbytes[] = {
  3242. 0x06, 0xc9, 0xff, 0x2a, 0x14, 0x8a, 0x9b, 0x5f, 0x08, 0x0f, 0xd0, 0xfd,
  3243. 0x77, 0x42, 0xde, 0xe9, 0x1e, 0x5f, 0x1b, 0x4b, 0xff, 0x6f, 0xc4, 0xad,
  3244. 0x27, 0x46, 0x38, 0xac, 0xa0, 0x7e, 0x9e, 0xeb, 0xc2, 0x2d, 0x48, 0x47,
  3245. 0x33, 0xc8, 0x27, 0xb6, 0x1f, 0x47, 0xc6, 0xd0, 0xc4, 0x4b, 0x33, 0xdd,
  3246. 0xbb, 0xec, 0x1f, 0x2a, 0xb3, 0xad, 0x00, 0x42, 0xdd, 0x50, 0x1a, 0xee,
  3247. 0xe2, 0xc9, 0x19, 0xaf, 0x26, 0x63, 0x51, 0xe2, 0xf0, 0x70, 0xce, 0xe6,
  3248. 0xe7, 0x28, 0x8c, 0x30, 0x6b, 0x8f, 0x84, 0xd3,
  3249. };
  3250. static const struct drbg_kat_no_reseed kat108_nor_t = {
  3251. 2, kat108_nor_entropyin, kat108_nor_nonce, kat108_nor_persstr,
  3252. kat108_nor_addin0, kat108_nor_addin1, kat108_nor_retbytes
  3253. };
  3254. static const struct drbg_kat kat108_nor = {
  3255. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat108_nor_t
  3256. };
  3257. static const unsigned char kat109_nor_entropyin[] = {
  3258. 0x7c, 0x6c, 0x0d, 0x59, 0x1b, 0x81, 0xbd, 0x60, 0x16, 0x02, 0xf1, 0xf3,
  3259. 0xbe, 0x60, 0xa0, 0x53,
  3260. };
  3261. static const unsigned char kat109_nor_nonce[] = {
  3262. 0x84, 0xe2, 0xd7, 0xb9, 0xd8, 0x0a, 0xf9, 0xe2,
  3263. };
  3264. static const unsigned char kat109_nor_persstr[] = {
  3265. 0xe9, 0x6d, 0x18, 0x31, 0x21, 0x23, 0x9b, 0xa3, 0x50, 0x56, 0x26, 0x4e,
  3266. 0x73, 0xed, 0xbe, 0x79,
  3267. };
  3268. static const unsigned char kat109_nor_addin0[] = {
  3269. 0x67, 0x3f, 0x40, 0x9a, 0x0e, 0x13, 0x3c, 0x6f, 0x37, 0xf2, 0xf3, 0xc3,
  3270. 0xa3, 0x0e, 0xf0, 0xdc,
  3271. };
  3272. static const unsigned char kat109_nor_addin1[] = {
  3273. 0xc2, 0x68, 0x10, 0x12, 0x11, 0x61, 0xf3, 0xe0, 0x8c, 0x85, 0x4c, 0x29,
  3274. 0x9a, 0x3c, 0x5b, 0x45,
  3275. };
  3276. static const unsigned char kat109_nor_retbytes[] = {
  3277. 0x7b, 0x1c, 0x78, 0x4c, 0xce, 0x23, 0x8d, 0xa7, 0x65, 0x18, 0x4c, 0x6f,
  3278. 0xc0, 0x3f, 0x2b, 0xf5, 0x82, 0xd2, 0x65, 0x2c, 0x5b, 0x76, 0x3d, 0x42,
  3279. 0x5b, 0x5b, 0xe9, 0x32, 0xbd, 0x3d, 0x75, 0x65, 0xaa, 0xd0, 0x1e, 0xb9,
  3280. 0x02, 0x13, 0xd0, 0x0f, 0xd1, 0xd3, 0x8c, 0x59, 0xdf, 0xb3, 0xd5, 0xcd,
  3281. 0x92, 0xcf, 0x8a, 0x0b, 0x67, 0x6d, 0xe1, 0xc1, 0x13, 0xd7, 0xc5, 0x67,
  3282. 0xac, 0x92, 0xb8, 0x52, 0x85, 0x12, 0x10, 0xb6, 0x20, 0x7e, 0x48, 0x4f,
  3283. 0xdf, 0x4a, 0x3a, 0x62, 0x44, 0xa2, 0xff, 0xae,
  3284. };
  3285. static const struct drbg_kat_no_reseed kat109_nor_t = {
  3286. 3, kat109_nor_entropyin, kat109_nor_nonce, kat109_nor_persstr,
  3287. kat109_nor_addin0, kat109_nor_addin1, kat109_nor_retbytes
  3288. };
  3289. static const struct drbg_kat kat109_nor = {
  3290. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat109_nor_t
  3291. };
  3292. static const unsigned char kat110_nor_entropyin[] = {
  3293. 0x5f, 0x6a, 0xd5, 0xae, 0xfc, 0xc3, 0x9b, 0x33, 0x19, 0xaa, 0x7e, 0xda,
  3294. 0xbd, 0x5c, 0x3b, 0x5b,
  3295. };
  3296. static const unsigned char kat110_nor_nonce[] = {
  3297. 0xdc, 0xbe, 0xe7, 0x5d, 0xb3, 0x07, 0xb6, 0xf5,
  3298. };
  3299. static const unsigned char kat110_nor_persstr[] = {
  3300. 0x6b, 0xc3, 0xfb, 0x02, 0x3c, 0x6f, 0xd9, 0xce, 0xb6, 0x5e, 0xac, 0xce,
  3301. 0xaa, 0x5c, 0x4e, 0x76,
  3302. };
  3303. static const unsigned char kat110_nor_addin0[] = {
  3304. 0x8e, 0x9b, 0xa1, 0xa1, 0xf6, 0xa7, 0x31, 0x5b, 0x7b, 0x5c, 0x55, 0x7a,
  3305. 0xb0, 0x0c, 0x68, 0xd7,
  3306. };
  3307. static const unsigned char kat110_nor_addin1[] = {
  3308. 0xe5, 0x4b, 0xfb, 0xf4, 0x41, 0x51, 0x04, 0xe4, 0x76, 0xcc, 0x9f, 0x37,
  3309. 0xc5, 0x0e, 0xde, 0xa7,
  3310. };
  3311. static const unsigned char kat110_nor_retbytes[] = {
  3312. 0x33, 0x71, 0x86, 0x66, 0x66, 0xc2, 0xca, 0xbf, 0x02, 0x8f, 0x88, 0x8a,
  3313. 0xb1, 0x2b, 0x6a, 0xec, 0xe4, 0x3a, 0x7b, 0x20, 0x21, 0xd8, 0x09, 0x8e,
  3314. 0xcc, 0x42, 0x3c, 0x3e, 0x72, 0x60, 0x0b, 0xf4, 0x9a, 0xed, 0xc7, 0x1d,
  3315. 0x24, 0xda, 0x4c, 0x7d, 0x99, 0x2a, 0x7c, 0xe1, 0x58, 0x96, 0xf7, 0xae,
  3316. 0x11, 0xb3, 0x24, 0xfe, 0xc9, 0x3d, 0x76, 0x15, 0x0b, 0x13, 0x89, 0x2b,
  3317. 0x00, 0xe9, 0x11, 0x02, 0x6a, 0xc8, 0xe3, 0x54, 0x3b, 0xbb, 0xd0, 0xca,
  3318. 0xf1, 0x99, 0x6d, 0x9e, 0x07, 0xb0, 0x49, 0xb4,
  3319. };
  3320. static const struct drbg_kat_no_reseed kat110_nor_t = {
  3321. 4, kat110_nor_entropyin, kat110_nor_nonce, kat110_nor_persstr,
  3322. kat110_nor_addin0, kat110_nor_addin1, kat110_nor_retbytes
  3323. };
  3324. static const struct drbg_kat kat110_nor = {
  3325. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat110_nor_t
  3326. };
  3327. static const unsigned char kat111_nor_entropyin[] = {
  3328. 0x7f, 0x26, 0x7c, 0x4c, 0xb0, 0x7d, 0x85, 0xba, 0xc0, 0x61, 0x4d, 0xdd,
  3329. 0xd4, 0xd8, 0x9d, 0x80,
  3330. };
  3331. static const unsigned char kat111_nor_nonce[] = {
  3332. 0xd8, 0x19, 0xac, 0x8c, 0x6b, 0x43, 0xfd, 0x61,
  3333. };
  3334. static const unsigned char kat111_nor_persstr[] = {
  3335. 0x61, 0x7d, 0x25, 0x87, 0x40, 0xd8, 0xab, 0x7c, 0xb2, 0xc6, 0x32, 0xb6,
  3336. 0x37, 0x2e, 0xf3, 0xae,
  3337. };
  3338. static const unsigned char kat111_nor_addin0[] = {
  3339. 0x3a, 0x29, 0x9f, 0xd0, 0x7e, 0x86, 0x11, 0xe1, 0xc3, 0xbb, 0xff, 0xac,
  3340. 0x00, 0x1a, 0xdb, 0x2c,
  3341. };
  3342. static const unsigned char kat111_nor_addin1[] = {
  3343. 0x94, 0xf5, 0xbf, 0xb5, 0x3e, 0x32, 0x03, 0xb2, 0x12, 0xbf, 0xfd, 0x88,
  3344. 0x69, 0x5c, 0xfb, 0x58,
  3345. };
  3346. static const unsigned char kat111_nor_retbytes[] = {
  3347. 0x46, 0x8b, 0xed, 0xcb, 0xb2, 0xf9, 0xc6, 0xde, 0xb8, 0x14, 0x18, 0x88,
  3348. 0xa7, 0x58, 0xbd, 0x79, 0x31, 0xef, 0x12, 0x8d, 0xe4, 0xe6, 0x78, 0xbe,
  3349. 0x99, 0x85, 0x29, 0x8c, 0x26, 0x64, 0xd3, 0x39, 0x99, 0xd6, 0x83, 0x42,
  3350. 0xa0, 0x74, 0x7a, 0xcf, 0x18, 0xdf, 0xfc, 0xab, 0xc3, 0x2a, 0x0c, 0x09,
  3351. 0xce, 0x7c, 0x65, 0x22, 0x67, 0x3b, 0x67, 0x39, 0xef, 0xe6, 0x6c, 0xc2,
  3352. 0x5b, 0x28, 0xc0, 0x6e, 0x86, 0x77, 0xab, 0x3c, 0x6f, 0x1e, 0x38, 0x40,
  3353. 0x85, 0x2d, 0x24, 0x5e, 0x05, 0x53, 0xca, 0x47,
  3354. };
  3355. static const struct drbg_kat_no_reseed kat111_nor_t = {
  3356. 5, kat111_nor_entropyin, kat111_nor_nonce, kat111_nor_persstr,
  3357. kat111_nor_addin0, kat111_nor_addin1, kat111_nor_retbytes
  3358. };
  3359. static const struct drbg_kat kat111_nor = {
  3360. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat111_nor_t
  3361. };
  3362. static const unsigned char kat112_nor_entropyin[] = {
  3363. 0x85, 0x89, 0x23, 0xf0, 0x5c, 0x1a, 0x1a, 0x93, 0x70, 0xc4, 0x95, 0xfc,
  3364. 0x84, 0x02, 0x58, 0x9d,
  3365. };
  3366. static const unsigned char kat112_nor_nonce[] = {
  3367. 0xa8, 0x8f, 0x68, 0x8f, 0x22, 0xe8, 0xbd, 0x53,
  3368. };
  3369. static const unsigned char kat112_nor_persstr[] = {
  3370. 0x4c, 0xc6, 0x8f, 0x42, 0x20, 0x6a, 0xfd, 0x82, 0x60, 0x8d, 0xdf, 0x9f,
  3371. 0x18, 0x50, 0x73, 0x98,
  3372. };
  3373. static const unsigned char kat112_nor_addin0[] = {
  3374. 0x46, 0x70, 0x63, 0x1a, 0x5d, 0x2f, 0xbd, 0x86, 0xf5, 0x84, 0x87, 0x60,
  3375. 0x3b, 0x88, 0x00, 0x65,
  3376. };
  3377. static const unsigned char kat112_nor_addin1[] = {
  3378. 0x34, 0xf7, 0xb4, 0xc9, 0x2b, 0xa1, 0xaa, 0x90, 0x0f, 0x7b, 0xc6, 0x76,
  3379. 0xc2, 0x8f, 0x42, 0x83,
  3380. };
  3381. static const unsigned char kat112_nor_retbytes[] = {
  3382. 0xa3, 0x91, 0xbb, 0x3c, 0x2f, 0x2c, 0xbd, 0xe7, 0xda, 0xbd, 0x18, 0xa7,
  3383. 0x2b, 0x4e, 0x29, 0xb3, 0xb5, 0xc1, 0x1d, 0x07, 0xc5, 0xc7, 0x7a, 0x6b,
  3384. 0x34, 0xe9, 0x30, 0xf2, 0x80, 0x4d, 0x3a, 0xbd, 0x5a, 0xf4, 0x5f, 0x41,
  3385. 0x02, 0xad, 0x1e, 0x41, 0xda, 0x51, 0x25, 0x72, 0xed, 0x94, 0xd9, 0xd3,
  3386. 0x31, 0x7a, 0xc9, 0xc7, 0x6b, 0xd5, 0x6a, 0x0f, 0x10, 0xff, 0x10, 0xca,
  3387. 0x7a, 0x8b, 0xeb, 0x59, 0x2d, 0xc3, 0xc8, 0xa0, 0x17, 0x03, 0x0b, 0x0b,
  3388. 0x19, 0x0a, 0x7a, 0xbd, 0x50, 0x6e, 0xa5, 0x9b,
  3389. };
  3390. static const struct drbg_kat_no_reseed kat112_nor_t = {
  3391. 6, kat112_nor_entropyin, kat112_nor_nonce, kat112_nor_persstr,
  3392. kat112_nor_addin0, kat112_nor_addin1, kat112_nor_retbytes
  3393. };
  3394. static const struct drbg_kat kat112_nor = {
  3395. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat112_nor_t
  3396. };
  3397. static const unsigned char kat113_nor_entropyin[] = {
  3398. 0x31, 0x7d, 0xdf, 0xb1, 0xa0, 0x1b, 0xb0, 0xe1, 0x47, 0xea, 0xae, 0xd3,
  3399. 0x75, 0x99, 0x97, 0x30,
  3400. };
  3401. static const unsigned char kat113_nor_nonce[] = {
  3402. 0xd7, 0xc5, 0xa2, 0x7e, 0xbd, 0x92, 0x09, 0xee,
  3403. };
  3404. static const unsigned char kat113_nor_persstr[] = {
  3405. 0x8d, 0x53, 0x5a, 0x8d, 0x76, 0x04, 0x22, 0x33, 0xe4, 0xb2, 0xbc, 0xf6,
  3406. 0xae, 0x3a, 0x71, 0x42,
  3407. };
  3408. static const unsigned char kat113_nor_addin0[] = {
  3409. 0xb9, 0x86, 0x56, 0x84, 0x60, 0xca, 0xf3, 0x6f, 0x3e, 0x83, 0xcd, 0x27,
  3410. 0xd7, 0x9f, 0xcb, 0x69,
  3411. };
  3412. static const unsigned char kat113_nor_addin1[] = {
  3413. 0x1a, 0x4b, 0xe6, 0x76, 0x6a, 0x58, 0x99, 0xa2, 0x1b, 0xea, 0x32, 0x87,
  3414. 0xfa, 0x21, 0xcd, 0x88,
  3415. };
  3416. static const unsigned char kat113_nor_retbytes[] = {
  3417. 0x3e, 0x1c, 0x68, 0x8b, 0xb6, 0xb6, 0x80, 0x50, 0x20, 0x61, 0x51, 0x4b,
  3418. 0x59, 0xae, 0x90, 0x80, 0x9d, 0xfc, 0x72, 0x18, 0x2f, 0x54, 0xf0, 0xe8,
  3419. 0x37, 0x7f, 0xf5, 0x0d, 0xb2, 0xa8, 0x60, 0x82, 0xf9, 0x9e, 0x9f, 0x4c,
  3420. 0x9e, 0xac, 0x9e, 0x3c, 0x5f, 0x06, 0xee, 0xc4, 0x9d, 0x9e, 0x51, 0x43,
  3421. 0x40, 0x28, 0xbe, 0x4e, 0x08, 0xf7, 0x06, 0x34, 0xb1, 0x33, 0x9d, 0xb7,
  3422. 0x03, 0xbf, 0xc8, 0x48, 0xeb, 0xc6, 0x60, 0xa0, 0x6a, 0xb8, 0x44, 0x04,
  3423. 0x09, 0xed, 0x1e, 0xf4, 0x17, 0x55, 0x84, 0xcc,
  3424. };
  3425. static const struct drbg_kat_no_reseed kat113_nor_t = {
  3426. 7, kat113_nor_entropyin, kat113_nor_nonce, kat113_nor_persstr,
  3427. kat113_nor_addin0, kat113_nor_addin1, kat113_nor_retbytes
  3428. };
  3429. static const struct drbg_kat kat113_nor = {
  3430. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat113_nor_t
  3431. };
  3432. static const unsigned char kat114_nor_entropyin[] = {
  3433. 0xe3, 0xdd, 0x2e, 0x76, 0x7f, 0x52, 0x05, 0xb6, 0xd0, 0xc4, 0x90, 0x8d,
  3434. 0x46, 0x5c, 0xd2, 0xa0,
  3435. };
  3436. static const unsigned char kat114_nor_nonce[] = {
  3437. 0x4e, 0x35, 0x6c, 0x17, 0x17, 0x09, 0xce, 0xfe,
  3438. };
  3439. static const unsigned char kat114_nor_persstr[] = {
  3440. 0xeb, 0x84, 0xe2, 0xe5, 0xb2, 0x20, 0x88, 0x82, 0xd3, 0x72, 0xf2, 0x66,
  3441. 0xbd, 0x1b, 0x5b, 0xa1,
  3442. };
  3443. static const unsigned char kat114_nor_addin0[] = {
  3444. 0x83, 0x18, 0x68, 0xd3, 0x0c, 0x12, 0xad, 0x5a, 0x81, 0xe3, 0x9f, 0x74,
  3445. 0xed, 0xa9, 0xf8, 0x7e,
  3446. };
  3447. static const unsigned char kat114_nor_addin1[] = {
  3448. 0x0e, 0x34, 0x96, 0x0f, 0x94, 0x69, 0xe2, 0x3e, 0xd4, 0xfa, 0x28, 0x5e,
  3449. 0xdd, 0x6b, 0x83, 0x71,
  3450. };
  3451. static const unsigned char kat114_nor_retbytes[] = {
  3452. 0xe4, 0x7b, 0x96, 0xa3, 0x06, 0xa4, 0x07, 0x9a, 0x1a, 0x79, 0xe7, 0xe8,
  3453. 0xe9, 0x3d, 0x8a, 0x5e, 0x2f, 0x96, 0xfd, 0x99, 0x5a, 0x02, 0xbe, 0x29,
  3454. 0xc4, 0xc3, 0x6f, 0x98, 0x0f, 0x23, 0x42, 0xaa, 0x94, 0x99, 0x67, 0xa3,
  3455. 0xa4, 0xf3, 0x12, 0xa7, 0x02, 0x08, 0x1e, 0xf7, 0xbd, 0x95, 0x91, 0x25,
  3456. 0x28, 0x74, 0x11, 0xf9, 0x6c, 0xe6, 0x47, 0xb9, 0x1b, 0x56, 0xee, 0x93,
  3457. 0x2e, 0x55, 0x54, 0xd4, 0x55, 0x70, 0x3f, 0xaa, 0x6a, 0xbe, 0x41, 0x09,
  3458. 0x43, 0x63, 0x35, 0xc4, 0xd2, 0x31, 0x2b, 0x77,
  3459. };
  3460. static const struct drbg_kat_no_reseed kat114_nor_t = {
  3461. 8, kat114_nor_entropyin, kat114_nor_nonce, kat114_nor_persstr,
  3462. kat114_nor_addin0, kat114_nor_addin1, kat114_nor_retbytes
  3463. };
  3464. static const struct drbg_kat kat114_nor = {
  3465. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat114_nor_t
  3466. };
  3467. static const unsigned char kat115_nor_entropyin[] = {
  3468. 0xcb, 0xff, 0x42, 0xd1, 0x36, 0x1f, 0xa6, 0xcf, 0x28, 0x3e, 0xa3, 0x0f,
  3469. 0x49, 0xf8, 0x5a, 0xbd,
  3470. };
  3471. static const unsigned char kat115_nor_nonce[] = {
  3472. 0x82, 0x41, 0x8a, 0x77, 0x8a, 0xea, 0xfc, 0xcc,
  3473. };
  3474. static const unsigned char kat115_nor_persstr[] = {
  3475. 0x93, 0xde, 0x97, 0x31, 0xc0, 0xc7, 0x18, 0x07, 0x98, 0x46, 0x81, 0x69,
  3476. 0x9a, 0x78, 0x27, 0x98,
  3477. };
  3478. static const unsigned char kat115_nor_addin0[] = {
  3479. 0x7d, 0x11, 0xeb, 0xed, 0xcc, 0x74, 0xe2, 0x49, 0xb2, 0x7a, 0xb3, 0x09,
  3480. 0x87, 0x53, 0x97, 0x92,
  3481. };
  3482. static const unsigned char kat115_nor_addin1[] = {
  3483. 0xdd, 0x2c, 0x36, 0x32, 0xf5, 0x73, 0xeb, 0xdb, 0xbd, 0xb5, 0x62, 0x2c,
  3484. 0x04, 0xb3, 0x1d, 0xdc,
  3485. };
  3486. static const unsigned char kat115_nor_retbytes[] = {
  3487. 0x12, 0xaf, 0xcb, 0x02, 0x3c, 0x29, 0x79, 0x5c, 0x6b, 0x3d, 0xee, 0xb6,
  3488. 0x55, 0x8d, 0x59, 0xc7, 0xa0, 0x73, 0x9d, 0x49, 0x9c, 0x41, 0x35, 0xc3,
  3489. 0x7f, 0xf3, 0xdc, 0xd0, 0x02, 0x2c, 0x75, 0x15, 0xb1, 0xf8, 0x77, 0x7c,
  3490. 0x1f, 0x2e, 0xbb, 0x49, 0x32, 0x2f, 0x5d, 0xfd, 0xf9, 0xea, 0x14, 0x15,
  3491. 0x1d, 0x20, 0x86, 0x9b, 0x5c, 0xa1, 0x45, 0xfe, 0xec, 0x0d, 0xcf, 0xf8,
  3492. 0x42, 0x93, 0xed, 0x31, 0x55, 0x77, 0x44, 0xcc, 0x74, 0xea, 0xc3, 0xb1,
  3493. 0x5c, 0xf4, 0x50, 0xd1, 0x9d, 0x11, 0x36, 0xf8,
  3494. };
  3495. static const struct drbg_kat_no_reseed kat115_nor_t = {
  3496. 9, kat115_nor_entropyin, kat115_nor_nonce, kat115_nor_persstr,
  3497. kat115_nor_addin0, kat115_nor_addin1, kat115_nor_retbytes
  3498. };
  3499. static const struct drbg_kat kat115_nor = {
  3500. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat115_nor_t
  3501. };
  3502. static const unsigned char kat116_nor_entropyin[] = {
  3503. 0x9c, 0x50, 0x1a, 0x22, 0x07, 0xd4, 0x16, 0xc0, 0x84, 0xf8, 0xc6, 0xba,
  3504. 0x02, 0x2a, 0x7a, 0x35,
  3505. };
  3506. static const unsigned char kat116_nor_nonce[] = {
  3507. 0xcb, 0x44, 0x76, 0x7d, 0xe7, 0x04, 0x29, 0x09,
  3508. };
  3509. static const unsigned char kat116_nor_persstr[] = {
  3510. 0xf3, 0x23, 0x2c, 0xa9, 0xde, 0xf8, 0x3f, 0xbb, 0x54, 0x5e, 0x2c, 0xba,
  3511. 0xf8, 0x0b, 0xc8, 0x06,
  3512. };
  3513. static const unsigned char kat116_nor_addin0[] = {
  3514. 0xf4, 0xf6, 0x76, 0x89, 0x06, 0x34, 0xe1, 0x31, 0xd0, 0x37, 0x50, 0xe9,
  3515. 0x3b, 0x25, 0xfa, 0xe8,
  3516. };
  3517. static const unsigned char kat116_nor_addin1[] = {
  3518. 0x48, 0xbb, 0xaa, 0xd1, 0x91, 0xbd, 0xc7, 0x77, 0x93, 0x74, 0x44, 0xbd,
  3519. 0x23, 0x34, 0xda, 0xcf,
  3520. };
  3521. static const unsigned char kat116_nor_retbytes[] = {
  3522. 0x20, 0x02, 0x17, 0xf9, 0x15, 0x1c, 0x70, 0x28, 0x40, 0xd9, 0xfc, 0xd1,
  3523. 0x3d, 0xc3, 0x0b, 0x99, 0x3f, 0x1d, 0xda, 0xb2, 0x29, 0x17, 0x91, 0xa9,
  3524. 0x2e, 0xe5, 0x62, 0xe5, 0x2a, 0xbc, 0xd5, 0x35, 0x8a, 0xff, 0x1a, 0xb2,
  3525. 0x4e, 0x63, 0xf7, 0xdd, 0x1a, 0xf2, 0x70, 0xfd, 0x1e, 0x3e, 0x58, 0xc4,
  3526. 0xd4, 0x00, 0x25, 0x22, 0x53, 0xa8, 0x0d, 0x7e, 0xb0, 0x50, 0x1e, 0x4a,
  3527. 0x41, 0x13, 0xc0, 0x6d, 0x94, 0x5b, 0xce, 0x64, 0x0b, 0x77, 0x5a, 0xd6,
  3528. 0x57, 0xba, 0xd1, 0x05, 0xaf, 0x60, 0x28, 0x0d,
  3529. };
  3530. static const struct drbg_kat_no_reseed kat116_nor_t = {
  3531. 10, kat116_nor_entropyin, kat116_nor_nonce, kat116_nor_persstr,
  3532. kat116_nor_addin0, kat116_nor_addin1, kat116_nor_retbytes
  3533. };
  3534. static const struct drbg_kat kat116_nor = {
  3535. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat116_nor_t
  3536. };
  3537. static const unsigned char kat117_nor_entropyin[] = {
  3538. 0xa8, 0xc6, 0x88, 0x26, 0xec, 0x82, 0x54, 0xbe, 0xf2, 0x45, 0x17, 0xad,
  3539. 0xc8, 0x96, 0x2f, 0x0b,
  3540. };
  3541. static const unsigned char kat117_nor_nonce[] = {
  3542. 0xbd, 0x51, 0x4b, 0xfa, 0x52, 0xbc, 0xf8, 0x49,
  3543. };
  3544. static const unsigned char kat117_nor_persstr[] = {
  3545. 0x00, 0x07, 0x2c, 0x1d, 0x2e, 0x76, 0x70, 0xbd, 0x38, 0xf7, 0xe4, 0x09,
  3546. 0x3d, 0x89, 0x4b, 0x51,
  3547. };
  3548. static const unsigned char kat117_nor_addin0[] = {
  3549. 0x35, 0x1a, 0xf5, 0x5b, 0x61, 0x24, 0x9d, 0xba, 0xe6, 0x0a, 0xde, 0xe7,
  3550. 0x15, 0x6c, 0xfe, 0x40,
  3551. };
  3552. static const unsigned char kat117_nor_addin1[] = {
  3553. 0x02, 0xd9, 0x97, 0xaa, 0xe4, 0x80, 0x47, 0xee, 0xad, 0x33, 0x3c, 0x64,
  3554. 0x0a, 0x10, 0x95, 0x8d,
  3555. };
  3556. static const unsigned char kat117_nor_retbytes[] = {
  3557. 0x9e, 0x3d, 0xce, 0xa0, 0x56, 0x2a, 0x8c, 0x76, 0xa5, 0x69, 0xab, 0xcf,
  3558. 0xc8, 0x05, 0xa1, 0x78, 0x82, 0x5d, 0x8d, 0xe5, 0xd7, 0xeb, 0xcc, 0xaf,
  3559. 0x48, 0x74, 0x7a, 0x68, 0xd5, 0xe5, 0x48, 0x07, 0x06, 0xef, 0x6a, 0xcc,
  3560. 0x5f, 0xe5, 0xe0, 0xe2, 0x4c, 0xa9, 0x36, 0x2a, 0xb2, 0x3d, 0xf8, 0x4c,
  3561. 0xa6, 0x29, 0x87, 0x6b, 0x23, 0xbf, 0x4b, 0xbb, 0xe9, 0xee, 0xfe, 0x58,
  3562. 0xc9, 0x36, 0x76, 0xb4, 0x7c, 0x58, 0x2c, 0x1a, 0x71, 0x81, 0xf5, 0x05,
  3563. 0x74, 0x95, 0xe8, 0x3d, 0x30, 0xef, 0x98, 0x44,
  3564. };
  3565. static const struct drbg_kat_no_reseed kat117_nor_t = {
  3566. 11, kat117_nor_entropyin, kat117_nor_nonce, kat117_nor_persstr,
  3567. kat117_nor_addin0, kat117_nor_addin1, kat117_nor_retbytes
  3568. };
  3569. static const struct drbg_kat kat117_nor = {
  3570. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat117_nor_t
  3571. };
  3572. static const unsigned char kat118_nor_entropyin[] = {
  3573. 0x0e, 0x57, 0x9b, 0xc1, 0x1f, 0x69, 0xb1, 0xd1, 0x06, 0xe9, 0x2c, 0x0a,
  3574. 0x31, 0x83, 0x3a, 0xac,
  3575. };
  3576. static const unsigned char kat118_nor_nonce[] = {
  3577. 0x85, 0x57, 0xf8, 0x0c, 0x6f, 0x1e, 0xa3, 0x49,
  3578. };
  3579. static const unsigned char kat118_nor_persstr[] = {
  3580. 0xc6, 0xf3, 0x84, 0x8b, 0x26, 0xfd, 0xb4, 0xb4, 0x40, 0x2b, 0x4f, 0x95,
  3581. 0x16, 0xe7, 0x11, 0x45,
  3582. };
  3583. static const unsigned char kat118_nor_addin0[] = {
  3584. 0x1a, 0x06, 0x8f, 0x37, 0xe9, 0xc4, 0xa7, 0xa1, 0x55, 0xb8, 0xb7, 0x3e,
  3585. 0xb3, 0x1a, 0x72, 0x6f,
  3586. };
  3587. static const unsigned char kat118_nor_addin1[] = {
  3588. 0x8c, 0x35, 0x97, 0xd2, 0x3d, 0xa6, 0xcd, 0x67, 0x2b, 0x6e, 0xc8, 0x73,
  3589. 0xaa, 0xc9, 0x50, 0x2f,
  3590. };
  3591. static const unsigned char kat118_nor_retbytes[] = {
  3592. 0xdd, 0x60, 0x5d, 0x5f, 0x8b, 0x19, 0x31, 0x96, 0xad, 0x84, 0x30, 0x72,
  3593. 0x76, 0x8f, 0x87, 0x27, 0x59, 0x4c, 0x2c, 0x4e, 0x74, 0x1d, 0x22, 0x0c,
  3594. 0xb5, 0xd4, 0xe7, 0xd7, 0x00, 0x1b, 0x93, 0xce, 0xd7, 0x34, 0xf1, 0xa3,
  3595. 0xad, 0x26, 0x3b, 0xdb, 0xf2, 0x03, 0xfe, 0x5f, 0xbb, 0x07, 0xe6, 0x2a,
  3596. 0xf4, 0x56, 0xf9, 0xef, 0x4b, 0xfd, 0x93, 0xd0, 0xc4, 0xf6, 0xa7, 0x52,
  3597. 0x3a, 0xc8, 0x4b, 0x80, 0x88, 0xda, 0x6c, 0x57, 0x86, 0xc5, 0x2c, 0x64,
  3598. 0x89, 0x02, 0xb9, 0x72, 0xd0, 0x78, 0x1c, 0x15,
  3599. };
  3600. static const struct drbg_kat_no_reseed kat118_nor_t = {
  3601. 12, kat118_nor_entropyin, kat118_nor_nonce, kat118_nor_persstr,
  3602. kat118_nor_addin0, kat118_nor_addin1, kat118_nor_retbytes
  3603. };
  3604. static const struct drbg_kat kat118_nor = {
  3605. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat118_nor_t
  3606. };
  3607. static const unsigned char kat119_nor_entropyin[] = {
  3608. 0x06, 0xdd, 0xcf, 0xcd, 0x7c, 0x11, 0xf7, 0xca, 0xd4, 0x9e, 0x83, 0x29,
  3609. 0x0c, 0xcf, 0xe3, 0x20,
  3610. };
  3611. static const unsigned char kat119_nor_nonce[] = {
  3612. 0xbd, 0xd6, 0xf8, 0xb1, 0x9d, 0xda, 0xee, 0x6c,
  3613. };
  3614. static const unsigned char kat119_nor_persstr[] = {
  3615. 0xc4, 0x73, 0xd3, 0xe0, 0x77, 0x89, 0x27, 0x66, 0x5f, 0x2e, 0x36, 0x18,
  3616. 0x7b, 0xd8, 0xe8, 0xa0,
  3617. };
  3618. static const unsigned char kat119_nor_addin0[] = {
  3619. 0xd6, 0x46, 0x31, 0x60, 0x60, 0x5f, 0x3d, 0x40, 0x34, 0x4a, 0xe8, 0xfe,
  3620. 0x8d, 0x5b, 0x7c, 0x5e,
  3621. };
  3622. static const unsigned char kat119_nor_addin1[] = {
  3623. 0xeb, 0xba, 0xb9, 0xe5, 0xe4, 0xd8, 0x42, 0x27, 0xe8, 0xca, 0xbe, 0x8b,
  3624. 0xca, 0xac, 0x77, 0x11,
  3625. };
  3626. static const unsigned char kat119_nor_retbytes[] = {
  3627. 0x0e, 0x57, 0x83, 0x6e, 0x98, 0x29, 0x9c, 0x46, 0x80, 0xbd, 0x28, 0xfb,
  3628. 0x26, 0xca, 0x84, 0x80, 0x70, 0xad, 0x83, 0xe9, 0x99, 0x1f, 0x7d, 0x93,
  3629. 0x4c, 0x31, 0xe0, 0xae, 0x17, 0xf3, 0x2c, 0xd5, 0x91, 0xd4, 0xf2, 0xee,
  3630. 0xf1, 0x4b, 0x2e, 0xaf, 0x95, 0xb2, 0x7e, 0x3b, 0x1c, 0x75, 0xe9, 0xa0,
  3631. 0x49, 0x6a, 0x6d, 0xec, 0xea, 0xe8, 0xfe, 0xd5, 0x98, 0x2d, 0x03, 0xa0,
  3632. 0xba, 0xf8, 0x61, 0xee, 0x93, 0x24, 0xfc, 0x6e, 0x75, 0x09, 0x3c, 0x79,
  3633. 0x53, 0x46, 0x19, 0x18, 0xa6, 0x08, 0x45, 0x0b,
  3634. };
  3635. static const struct drbg_kat_no_reseed kat119_nor_t = {
  3636. 13, kat119_nor_entropyin, kat119_nor_nonce, kat119_nor_persstr,
  3637. kat119_nor_addin0, kat119_nor_addin1, kat119_nor_retbytes
  3638. };
  3639. static const struct drbg_kat kat119_nor = {
  3640. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat119_nor_t
  3641. };
  3642. static const unsigned char kat120_nor_entropyin[] = {
  3643. 0x03, 0xd3, 0x89, 0xe9, 0xa0, 0xfc, 0x11, 0x0d, 0x17, 0x3a, 0xdb, 0x2c,
  3644. 0xeb, 0x33, 0x58, 0xba,
  3645. };
  3646. static const unsigned char kat120_nor_nonce[] = {
  3647. 0x8b, 0x32, 0x55, 0x99, 0x29, 0x7c, 0x0d, 0x47,
  3648. };
  3649. static const unsigned char kat120_nor_persstr[] = {
  3650. 0xab, 0x25, 0xbe, 0xf8, 0xd0, 0x09, 0x7b, 0xbd, 0x42, 0xd5, 0x53, 0x16,
  3651. 0xaf, 0x32, 0x1b, 0xac,
  3652. };
  3653. static const unsigned char kat120_nor_addin0[] = {
  3654. 0xaf, 0x57, 0x8f, 0xbb, 0xb8, 0xa8, 0x30, 0x94, 0x7e, 0x9b, 0x4e, 0x2c,
  3655. 0x9e, 0x72, 0x93, 0x36,
  3656. };
  3657. static const unsigned char kat120_nor_addin1[] = {
  3658. 0x5a, 0x69, 0x86, 0x4c, 0xa3, 0x9d, 0xa1, 0xba, 0x47, 0x19, 0xdf, 0xe1,
  3659. 0xdc, 0x85, 0x0a, 0x4a,
  3660. };
  3661. static const unsigned char kat120_nor_retbytes[] = {
  3662. 0x8b, 0x84, 0x6f, 0x03, 0xcb, 0x66, 0xf7, 0xe4, 0x9f, 0xdd, 0xdf, 0x7c,
  3663. 0xc4, 0x49, 0xa5, 0xf3, 0xf6, 0xcc, 0xdc, 0x17, 0xae, 0x7e, 0x22, 0x65,
  3664. 0xa5, 0xd0, 0xe3, 0x9e, 0xa1, 0x0f, 0xc3, 0xe6, 0xcf, 0xfe, 0xfc, 0x04,
  3665. 0x14, 0x7b, 0x77, 0x3a, 0x15, 0x84, 0xe4, 0x29, 0xfe, 0x99, 0xe8, 0x85,
  3666. 0xf2, 0x78, 0xaf, 0xf7, 0x4a, 0x49, 0xd8, 0xc8, 0x42, 0xe7, 0xcc, 0xd8,
  3667. 0x70, 0xf1, 0x33, 0x06, 0x92, 0xfc, 0x9c, 0x48, 0x36, 0xda, 0xc5, 0x04,
  3668. 0x6c, 0x54, 0x4b, 0xe7, 0x46, 0x52, 0xda, 0x26,
  3669. };
  3670. static const struct drbg_kat_no_reseed kat120_nor_t = {
  3671. 14, kat120_nor_entropyin, kat120_nor_nonce, kat120_nor_persstr,
  3672. kat120_nor_addin0, kat120_nor_addin1, kat120_nor_retbytes
  3673. };
  3674. static const struct drbg_kat kat120_nor = {
  3675. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat120_nor_t
  3676. };
  3677. static const unsigned char kat121_nor_entropyin[] = {
  3678. 0xac, 0x1f, 0x51, 0xd4, 0x3f, 0xaf, 0xea, 0x51, 0x94, 0x53, 0xea, 0xca,
  3679. 0x3e, 0xbb, 0x2f, 0x95,
  3680. };
  3681. static const unsigned char kat121_nor_nonce[] = {
  3682. 0xa6, 0x66, 0x6f, 0xe2, 0x6d, 0x87, 0x02, 0xc1,
  3683. };
  3684. static const unsigned char kat121_nor_persstr[] = {0};
  3685. static const unsigned char kat121_nor_addin0[] = {0};
  3686. static const unsigned char kat121_nor_addin1[] = {0};
  3687. static const unsigned char kat121_nor_retbytes[] = {
  3688. 0x3e, 0xa6, 0x9d, 0xff, 0x9d, 0x56, 0x33, 0x69, 0x9d, 0x27, 0xfb, 0x4b,
  3689. 0xab, 0x4c, 0xa9, 0x72, 0x53, 0x6d, 0xae, 0xf1, 0x5d, 0xe5, 0x84, 0x42,
  3690. 0x73, 0x84, 0xd6, 0x6f, 0x00, 0x31, 0x2c, 0x31, 0xa2, 0x1e, 0xf0, 0x2d,
  3691. 0x88, 0xec, 0x9c, 0xa7, 0x95, 0x83, 0xb6, 0x9f, 0xca, 0x77, 0x6e, 0x2f,
  3692. 0x67, 0xfc, 0x6a, 0x9a, 0x1c, 0xa2, 0xc5, 0x19, 0x31, 0x7d, 0x25, 0x23,
  3693. 0x79, 0x3d, 0xec, 0x48, 0xe1, 0x1c, 0xde, 0xe2, 0x8b, 0x1f, 0xc6, 0x10,
  3694. 0x02, 0x4b, 0x03, 0xbc, 0x23, 0x46, 0x19, 0xba,
  3695. };
  3696. static const struct drbg_kat_no_reseed kat121_nor_t = {
  3697. 0, kat121_nor_entropyin, kat121_nor_nonce, kat121_nor_persstr,
  3698. kat121_nor_addin0, kat121_nor_addin1, kat121_nor_retbytes
  3699. };
  3700. static const struct drbg_kat kat121_nor = {
  3701. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat121_nor_t
  3702. };
  3703. static const unsigned char kat122_nor_entropyin[] = {
  3704. 0xbd, 0x67, 0x68, 0x78, 0x8f, 0x02, 0xe8, 0x4a, 0x2f, 0xc3, 0x58, 0x0a,
  3705. 0x87, 0xb4, 0x69, 0xfa,
  3706. };
  3707. static const unsigned char kat122_nor_nonce[] = {
  3708. 0xe2, 0x6b, 0x8c, 0x9c, 0x4b, 0xc6, 0x12, 0x8a,
  3709. };
  3710. static const unsigned char kat122_nor_persstr[] = {0};
  3711. static const unsigned char kat122_nor_addin0[] = {0};
  3712. static const unsigned char kat122_nor_addin1[] = {0};
  3713. static const unsigned char kat122_nor_retbytes[] = {
  3714. 0xd4, 0xe9, 0x00, 0xb0, 0xa6, 0xed, 0x2c, 0x88, 0xca, 0x0b, 0x28, 0xee,
  3715. 0x92, 0x12, 0xfa, 0xf0, 0x65, 0x7d, 0x28, 0xd7, 0xa5, 0x3d, 0x39, 0x3f,
  3716. 0x04, 0x75, 0xc4, 0x3c, 0xe5, 0xf0, 0xf2, 0x20, 0x7a, 0x3f, 0x18, 0xcd,
  3717. 0xea, 0x08, 0xd9, 0x6a, 0x2a, 0x53, 0x36, 0x47, 0xa6, 0x90, 0x05, 0xb6,
  3718. 0x75, 0x75, 0x8c, 0x93, 0x18, 0xa8, 0x34, 0x09, 0x79, 0xc4, 0xe1, 0xd0,
  3719. 0xbb, 0x46, 0x04, 0x0e, 0x3f, 0x65, 0x6a, 0x48, 0x62, 0xd4, 0xdb, 0xfd,
  3720. 0x07, 0x80, 0xca, 0xe9, 0xba, 0xa4, 0xab, 0x5a,
  3721. };
  3722. static const struct drbg_kat_no_reseed kat122_nor_t = {
  3723. 1, kat122_nor_entropyin, kat122_nor_nonce, kat122_nor_persstr,
  3724. kat122_nor_addin0, kat122_nor_addin1, kat122_nor_retbytes
  3725. };
  3726. static const struct drbg_kat kat122_nor = {
  3727. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat122_nor_t
  3728. };
  3729. static const unsigned char kat123_nor_entropyin[] = {
  3730. 0x51, 0x4c, 0xb0, 0x5a, 0xf1, 0x92, 0xb0, 0xb0, 0x44, 0x35, 0xe2, 0x1a,
  3731. 0x13, 0xde, 0x0a, 0x2b,
  3732. };
  3733. static const unsigned char kat123_nor_nonce[] = {
  3734. 0x27, 0x8c, 0x9a, 0x83, 0xac, 0xbd, 0xda, 0xff,
  3735. };
  3736. static const unsigned char kat123_nor_persstr[] = {0};
  3737. static const unsigned char kat123_nor_addin0[] = {0};
  3738. static const unsigned char kat123_nor_addin1[] = {0};
  3739. static const unsigned char kat123_nor_retbytes[] = {
  3740. 0x31, 0xf8, 0x64, 0x41, 0x7a, 0xc2, 0x79, 0x92, 0x78, 0x8b, 0xcd, 0x5e,
  3741. 0x07, 0xff, 0xf7, 0x88, 0x6e, 0x96, 0x9d, 0x06, 0xe7, 0x47, 0xfa, 0x5c,
  3742. 0x73, 0xa4, 0x8a, 0x19, 0x4a, 0x54, 0xf6, 0x12, 0x32, 0x7a, 0xec, 0xc3,
  3743. 0x12, 0x7b, 0x1e, 0x41, 0x0a, 0x5d, 0x3f, 0x56, 0x4a, 0xa5, 0x6b, 0x97,
  3744. 0x83, 0x50, 0xe9, 0x3e, 0x2b, 0x98, 0x8b, 0x99, 0xa6, 0xd3, 0x1c, 0xb0,
  3745. 0xfd, 0x8b, 0x74, 0x06, 0xaa, 0xa2, 0xda, 0xaa, 0x5a, 0x9e, 0xd6, 0x6f,
  3746. 0xb7, 0x46, 0xe3, 0xa5, 0x8c, 0xc3, 0x61, 0x4c,
  3747. };
  3748. static const struct drbg_kat_no_reseed kat123_nor_t = {
  3749. 2, kat123_nor_entropyin, kat123_nor_nonce, kat123_nor_persstr,
  3750. kat123_nor_addin0, kat123_nor_addin1, kat123_nor_retbytes
  3751. };
  3752. static const struct drbg_kat kat123_nor = {
  3753. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat123_nor_t
  3754. };
  3755. static const unsigned char kat124_nor_entropyin[] = {
  3756. 0x8a, 0x08, 0x99, 0xc4, 0x65, 0x94, 0x9b, 0x49, 0x99, 0x61, 0x9c, 0x06,
  3757. 0x08, 0x69, 0x97, 0xe6,
  3758. };
  3759. static const unsigned char kat124_nor_nonce[] = {
  3760. 0xe1, 0xad, 0x18, 0xe1, 0x76, 0x45, 0xdf, 0x1c,
  3761. };
  3762. static const unsigned char kat124_nor_persstr[] = {0};
  3763. static const unsigned char kat124_nor_addin0[] = {0};
  3764. static const unsigned char kat124_nor_addin1[] = {0};
  3765. static const unsigned char kat124_nor_retbytes[] = {
  3766. 0x39, 0xde, 0x5b, 0x2b, 0x5d, 0xff, 0x4a, 0xad, 0x99, 0xcd, 0xfa, 0xbc,
  3767. 0xac, 0x9d, 0x7b, 0x3c, 0x0d, 0x0f, 0x9f, 0xed, 0xb1, 0xc1, 0xf0, 0x37,
  3768. 0x04, 0xb3, 0xb5, 0xbb, 0xd8, 0xc8, 0xea, 0x2c, 0xbd, 0x75, 0x9b, 0x4e,
  3769. 0x66, 0x8d, 0x12, 0x70, 0x85, 0x50, 0xba, 0xd5, 0xd5, 0xd3, 0x15, 0xac,
  3770. 0xec, 0x8c, 0x0a, 0xb9, 0x52, 0xbf, 0x2a, 0xc8, 0x69, 0x58, 0x6a, 0xaa,
  3771. 0x27, 0x86, 0x3d, 0x68, 0xd9, 0x18, 0x39, 0x60, 0xd5, 0x08, 0x13, 0x3e,
  3772. 0x4a, 0xdb, 0x9c, 0x8a, 0xf3, 0xe4, 0x1f, 0x53,
  3773. };
  3774. static const struct drbg_kat_no_reseed kat124_nor_t = {
  3775. 3, kat124_nor_entropyin, kat124_nor_nonce, kat124_nor_persstr,
  3776. kat124_nor_addin0, kat124_nor_addin1, kat124_nor_retbytes
  3777. };
  3778. static const struct drbg_kat kat124_nor = {
  3779. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat124_nor_t
  3780. };
  3781. static const unsigned char kat125_nor_entropyin[] = {
  3782. 0x5d, 0xd1, 0xda, 0x78, 0x87, 0x75, 0xb4, 0xa3, 0x06, 0x69, 0xb9, 0x2a,
  3783. 0x1c, 0x99, 0x2e, 0xba,
  3784. };
  3785. static const unsigned char kat125_nor_nonce[] = {
  3786. 0xb4, 0x3a, 0xa4, 0x1b, 0x02, 0xeb, 0x42, 0xcf,
  3787. };
  3788. static const unsigned char kat125_nor_persstr[] = {0};
  3789. static const unsigned char kat125_nor_addin0[] = {0};
  3790. static const unsigned char kat125_nor_addin1[] = {0};
  3791. static const unsigned char kat125_nor_retbytes[] = {
  3792. 0x8a, 0x45, 0x62, 0xf7, 0x66, 0x21, 0x61, 0x00, 0x04, 0xf4, 0x01, 0xfe,
  3793. 0x72, 0xf5, 0xd1, 0x40, 0x6d, 0xbe, 0x6a, 0xda, 0xeb, 0xd9, 0x26, 0xc2,
  3794. 0x06, 0x5f, 0x57, 0x46, 0x6b, 0xd7, 0x88, 0x30, 0x6b, 0x20, 0xd1, 0x3c,
  3795. 0x16, 0xd1, 0xe7, 0x62, 0x7c, 0xdb, 0x20, 0x0c, 0x25, 0x81, 0xeb, 0x23,
  3796. 0xb0, 0x2d, 0x58, 0x8d, 0xc4, 0xe5, 0x25, 0x1d, 0x61, 0x05, 0x62, 0xa0,
  3797. 0x84, 0xc1, 0x89, 0x40, 0xf2, 0xf4, 0xd5, 0xec, 0x30, 0x6c, 0x6e, 0xee,
  3798. 0x83, 0xee, 0x25, 0x7b, 0x93, 0xa7, 0x49, 0xd8,
  3799. };
  3800. static const struct drbg_kat_no_reseed kat125_nor_t = {
  3801. 4, kat125_nor_entropyin, kat125_nor_nonce, kat125_nor_persstr,
  3802. kat125_nor_addin0, kat125_nor_addin1, kat125_nor_retbytes
  3803. };
  3804. static const struct drbg_kat kat125_nor = {
  3805. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat125_nor_t
  3806. };
  3807. static const unsigned char kat126_nor_entropyin[] = {
  3808. 0x7c, 0x46, 0x37, 0xdc, 0x79, 0xe2, 0x9f, 0x7b, 0x85, 0x7f, 0x65, 0x70,
  3809. 0x0d, 0x6f, 0xa8, 0x91,
  3810. };
  3811. static const unsigned char kat126_nor_nonce[] = {
  3812. 0x8a, 0xb3, 0x67, 0x89, 0xa6, 0x8a, 0x4a, 0x94,
  3813. };
  3814. static const unsigned char kat126_nor_persstr[] = {0};
  3815. static const unsigned char kat126_nor_addin0[] = {0};
  3816. static const unsigned char kat126_nor_addin1[] = {0};
  3817. static const unsigned char kat126_nor_retbytes[] = {
  3818. 0x4d, 0xfd, 0x7b, 0xde, 0xe8, 0x96, 0x6c, 0x26, 0x03, 0x31, 0xad, 0xc8,
  3819. 0xa1, 0x76, 0x3b, 0xd4, 0xd1, 0x5b, 0xa7, 0x13, 0xd5, 0xce, 0x7e, 0x29,
  3820. 0x1d, 0x27, 0x43, 0x87, 0xd5, 0x9a, 0x98, 0x02, 0x8b, 0x36, 0x75, 0xc5,
  3821. 0xa5, 0x8c, 0x23, 0x7d, 0x8f, 0x40, 0x63, 0x8b, 0xfe, 0x48, 0x92, 0xa1,
  3822. 0x6c, 0x6f, 0x76, 0xe9, 0x2e, 0x8b, 0x43, 0x35, 0xf2, 0x8a, 0x93, 0xef,
  3823. 0x41, 0x01, 0x8e, 0x60, 0x22, 0xa9, 0x07, 0x2e, 0xef, 0x6c, 0xf0, 0xaa,
  3824. 0x83, 0x3d, 0x80, 0xf0, 0x56, 0xa8, 0x89, 0x8a,
  3825. };
  3826. static const struct drbg_kat_no_reseed kat126_nor_t = {
  3827. 5, kat126_nor_entropyin, kat126_nor_nonce, kat126_nor_persstr,
  3828. kat126_nor_addin0, kat126_nor_addin1, kat126_nor_retbytes
  3829. };
  3830. static const struct drbg_kat kat126_nor = {
  3831. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat126_nor_t
  3832. };
  3833. static const unsigned char kat127_nor_entropyin[] = {
  3834. 0x46, 0xf1, 0x5e, 0x71, 0x1d, 0xdd, 0x17, 0x2e, 0xd9, 0x94, 0x69, 0xa9,
  3835. 0xd1, 0x75, 0x80, 0x11,
  3836. };
  3837. static const unsigned char kat127_nor_nonce[] = {
  3838. 0xb2, 0x2c, 0x68, 0x5b, 0xd5, 0x46, 0x35, 0x21,
  3839. };
  3840. static const unsigned char kat127_nor_persstr[] = {0};
  3841. static const unsigned char kat127_nor_addin0[] = {0};
  3842. static const unsigned char kat127_nor_addin1[] = {0};
  3843. static const unsigned char kat127_nor_retbytes[] = {
  3844. 0xb2, 0xb0, 0x0d, 0x3e, 0xf6, 0xa9, 0xec, 0x8a, 0x8c, 0xcd, 0x82, 0x7f,
  3845. 0x82, 0x8f, 0xd5, 0x65, 0x56, 0xea, 0x3d, 0xbd, 0xc4, 0x7a, 0x73, 0xa3,
  3846. 0x15, 0xf0, 0x72, 0x53, 0xd6, 0x6e, 0x14, 0xf8, 0xfa, 0x02, 0x0e, 0x5b,
  3847. 0xf0, 0x25, 0xc7, 0xad, 0xc5, 0xf0, 0xb8, 0x1b, 0x2c, 0xd9, 0x92, 0x93,
  3848. 0x0e, 0x43, 0xe4, 0xb4, 0xe2, 0xd8, 0xdf, 0xb9, 0x26, 0xfc, 0x38, 0x7f,
  3849. 0x9f, 0xa9, 0x8c, 0x58, 0xf2, 0x9f, 0x26, 0x7d, 0xe1, 0xa8, 0x23, 0x5c,
  3850. 0x53, 0x27, 0xae, 0x85, 0x48, 0x6f, 0xa3, 0xba,
  3851. };
  3852. static const struct drbg_kat_no_reseed kat127_nor_t = {
  3853. 6, kat127_nor_entropyin, kat127_nor_nonce, kat127_nor_persstr,
  3854. kat127_nor_addin0, kat127_nor_addin1, kat127_nor_retbytes
  3855. };
  3856. static const struct drbg_kat kat127_nor = {
  3857. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat127_nor_t
  3858. };
  3859. static const unsigned char kat128_nor_entropyin[] = {
  3860. 0x89, 0x48, 0x66, 0x09, 0xb2, 0x1f, 0x4a, 0x77, 0xd4, 0x49, 0x03, 0x30,
  3861. 0x92, 0x38, 0xcd, 0x10,
  3862. };
  3863. static const unsigned char kat128_nor_nonce[] = {
  3864. 0x2c, 0x65, 0xe5, 0x7d, 0xc6, 0x2b, 0x71, 0x82,
  3865. };
  3866. static const unsigned char kat128_nor_persstr[] = {0};
  3867. static const unsigned char kat128_nor_addin0[] = {0};
  3868. static const unsigned char kat128_nor_addin1[] = {0};
  3869. static const unsigned char kat128_nor_retbytes[] = {
  3870. 0x04, 0x4e, 0xb7, 0x22, 0xca, 0xf8, 0x5f, 0x4a, 0xa4, 0x58, 0x64, 0x59,
  3871. 0x92, 0x5f, 0x77, 0x68, 0xa5, 0x95, 0x67, 0x40, 0x92, 0xf5, 0x59, 0xf0,
  3872. 0x4d, 0x78, 0xef, 0x6d, 0x94, 0xdb, 0x38, 0x2b, 0xb1, 0xeb, 0xbb, 0x7b,
  3873. 0x9e, 0x10, 0xba, 0x28, 0x89, 0x6e, 0x84, 0xfa, 0x54, 0xb1, 0x00, 0x71,
  3874. 0x5f, 0x6d, 0xe5, 0xd9, 0xc3, 0x13, 0x83, 0x23, 0x38, 0x30, 0x7c, 0xd4,
  3875. 0x80, 0xe7, 0xca, 0xa5, 0xb9, 0x58, 0xd3, 0x9f, 0x48, 0x99, 0xef, 0x8f,
  3876. 0x1e, 0x09, 0x26, 0xe9, 0xf9, 0xde, 0x96, 0x42,
  3877. };
  3878. static const struct drbg_kat_no_reseed kat128_nor_t = {
  3879. 7, kat128_nor_entropyin, kat128_nor_nonce, kat128_nor_persstr,
  3880. kat128_nor_addin0, kat128_nor_addin1, kat128_nor_retbytes
  3881. };
  3882. static const struct drbg_kat kat128_nor = {
  3883. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat128_nor_t
  3884. };
  3885. static const unsigned char kat129_nor_entropyin[] = {
  3886. 0xf1, 0x32, 0x23, 0x28, 0xdf, 0xf8, 0xc7, 0x33, 0x0d, 0x74, 0x08, 0x31,
  3887. 0x5f, 0x74, 0x76, 0xad,
  3888. };
  3889. static const unsigned char kat129_nor_nonce[] = {
  3890. 0x30, 0x26, 0xa9, 0x60, 0x7b, 0xc8, 0xd5, 0xa7,
  3891. };
  3892. static const unsigned char kat129_nor_persstr[] = {0};
  3893. static const unsigned char kat129_nor_addin0[] = {0};
  3894. static const unsigned char kat129_nor_addin1[] = {0};
  3895. static const unsigned char kat129_nor_retbytes[] = {
  3896. 0xb5, 0xfc, 0x47, 0x2a, 0x4a, 0x35, 0xd5, 0x9a, 0x0f, 0x29, 0x8e, 0xa5,
  3897. 0xfc, 0x14, 0x46, 0xd1, 0x50, 0x82, 0x0f, 0x8c, 0x78, 0x08, 0x85, 0x11,
  3898. 0xa4, 0x53, 0x97, 0xf4, 0x7f, 0xce, 0x79, 0xbd, 0xf5, 0xfd, 0x62, 0xaf,
  3899. 0x96, 0xe7, 0xd9, 0x7a, 0x83, 0xef, 0x50, 0x54, 0x59, 0xaa, 0xdd, 0x81,
  3900. 0xc2, 0x44, 0xbb, 0xe4, 0x70, 0x41, 0x96, 0xbd, 0x1f, 0x31, 0x24, 0xf6,
  3901. 0xd4, 0x21, 0xf7, 0xa8, 0x2b, 0xcf, 0x8b, 0xe4, 0x0e, 0x54, 0x60, 0xf0,
  3902. 0xf7, 0x4e, 0x6c, 0xa8, 0xec, 0x39, 0xd7, 0xa3,
  3903. };
  3904. static const struct drbg_kat_no_reseed kat129_nor_t = {
  3905. 8, kat129_nor_entropyin, kat129_nor_nonce, kat129_nor_persstr,
  3906. kat129_nor_addin0, kat129_nor_addin1, kat129_nor_retbytes
  3907. };
  3908. static const struct drbg_kat kat129_nor = {
  3909. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat129_nor_t
  3910. };
  3911. static const unsigned char kat130_nor_entropyin[] = {
  3912. 0x0c, 0xad, 0xd9, 0xc2, 0x73, 0x60, 0xad, 0x9c, 0xf3, 0xde, 0x96, 0xb6,
  3913. 0x20, 0x56, 0xf6, 0xc4,
  3914. };
  3915. static const unsigned char kat130_nor_nonce[] = {
  3916. 0xb2, 0xeb, 0x6a, 0x83, 0x95, 0x74, 0xc0, 0x19,
  3917. };
  3918. static const unsigned char kat130_nor_persstr[] = {0};
  3919. static const unsigned char kat130_nor_addin0[] = {0};
  3920. static const unsigned char kat130_nor_addin1[] = {0};
  3921. static const unsigned char kat130_nor_retbytes[] = {
  3922. 0xd2, 0x8a, 0x38, 0xeb, 0xc8, 0xae, 0xbf, 0xc4, 0x1d, 0x58, 0x11, 0x6d,
  3923. 0xf3, 0x6a, 0x35, 0x33, 0xc4, 0x8c, 0x87, 0x7b, 0xb8, 0x99, 0x2c, 0x30,
  3924. 0xea, 0x17, 0xb4, 0x6b, 0xa2, 0x94, 0x59, 0x67, 0xc8, 0x17, 0x8a, 0x50,
  3925. 0x0f, 0x27, 0x11, 0x97, 0xc6, 0x7e, 0x87, 0x66, 0xbb, 0x55, 0x2d, 0xf5,
  3926. 0x97, 0x0f, 0x07, 0xa7, 0x6a, 0x4d, 0x8e, 0x57, 0xfd, 0x64, 0x67, 0xb4,
  3927. 0x14, 0x84, 0x39, 0xdc, 0x16, 0x3c, 0xf7, 0x00, 0x78, 0x1c, 0x7b, 0xd8,
  3928. 0x1c, 0x1d, 0x1b, 0x2f, 0xc3, 0x84, 0x85, 0x10,
  3929. };
  3930. static const struct drbg_kat_no_reseed kat130_nor_t = {
  3931. 9, kat130_nor_entropyin, kat130_nor_nonce, kat130_nor_persstr,
  3932. kat130_nor_addin0, kat130_nor_addin1, kat130_nor_retbytes
  3933. };
  3934. static const struct drbg_kat kat130_nor = {
  3935. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat130_nor_t
  3936. };
  3937. static const unsigned char kat131_nor_entropyin[] = {
  3938. 0x12, 0xc2, 0xb4, 0x95, 0xcf, 0xa5, 0x5a, 0x44, 0x82, 0xdc, 0xee, 0x03,
  3939. 0x59, 0x23, 0xe8, 0x5e,
  3940. };
  3941. static const unsigned char kat131_nor_nonce[] = {
  3942. 0xcb, 0x5b, 0x88, 0x62, 0x2d, 0x93, 0x35, 0x89,
  3943. };
  3944. static const unsigned char kat131_nor_persstr[] = {0};
  3945. static const unsigned char kat131_nor_addin0[] = {0};
  3946. static const unsigned char kat131_nor_addin1[] = {0};
  3947. static const unsigned char kat131_nor_retbytes[] = {
  3948. 0x70, 0x75, 0x31, 0x2c, 0x4d, 0xc2, 0x1e, 0x54, 0xa2, 0xa8, 0x33, 0x46,
  3949. 0xee, 0x8d, 0x37, 0x10, 0xa2, 0xec, 0xeb, 0x34, 0xc0, 0x2d, 0xcd, 0xab,
  3950. 0x38, 0x17, 0xf8, 0xa6, 0x82, 0xcc, 0x0b, 0x1b, 0xf7, 0xb1, 0xc7, 0x77,
  3951. 0xcb, 0xd2, 0xaf, 0x1e, 0x45, 0x4f, 0xf4, 0x71, 0x12, 0x9a, 0x94, 0x05,
  3952. 0x9a, 0x25, 0x3c, 0x82, 0x95, 0x5b, 0x5a, 0xd9, 0x19, 0x63, 0x72, 0xd1,
  3953. 0xc9, 0x34, 0x16, 0x50, 0x0a, 0x65, 0xf9, 0x62, 0x15, 0x1a, 0x32, 0xc6,
  3954. 0x3b, 0xc6, 0xbc, 0x6b, 0x84, 0x43, 0xac, 0x9f,
  3955. };
  3956. static const struct drbg_kat_no_reseed kat131_nor_t = {
  3957. 10, kat131_nor_entropyin, kat131_nor_nonce, kat131_nor_persstr,
  3958. kat131_nor_addin0, kat131_nor_addin1, kat131_nor_retbytes
  3959. };
  3960. static const struct drbg_kat kat131_nor = {
  3961. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat131_nor_t
  3962. };
  3963. static const unsigned char kat132_nor_entropyin[] = {
  3964. 0x2f, 0xea, 0x96, 0x91, 0xd8, 0x25, 0x87, 0x63, 0xd5, 0xd0, 0xe8, 0x69,
  3965. 0x54, 0xcf, 0xd8, 0xda,
  3966. };
  3967. static const unsigned char kat132_nor_nonce[] = {
  3968. 0x3e, 0xf7, 0x1a, 0x30, 0x17, 0xee, 0xf2, 0x5a,
  3969. };
  3970. static const unsigned char kat132_nor_persstr[] = {0};
  3971. static const unsigned char kat132_nor_addin0[] = {0};
  3972. static const unsigned char kat132_nor_addin1[] = {0};
  3973. static const unsigned char kat132_nor_retbytes[] = {
  3974. 0x59, 0x56, 0xec, 0x9a, 0x16, 0xbc, 0x61, 0xb8, 0x4b, 0xc0, 0x01, 0x4e,
  3975. 0xee, 0x2f, 0x56, 0x15, 0xcc, 0x25, 0x90, 0x08, 0xba, 0xb2, 0x3a, 0xd6,
  3976. 0xa0, 0x0f, 0xf7, 0xe3, 0x66, 0x87, 0xe0, 0xf6, 0xee, 0x90, 0xea, 0x4b,
  3977. 0x90, 0xb3, 0xc7, 0xa9, 0xe9, 0x0c, 0x8f, 0x9d, 0x84, 0x4c, 0x91, 0x5b,
  3978. 0x4c, 0xaa, 0xea, 0x7c, 0x15, 0x8b, 0x0e, 0x91, 0x64, 0xd9, 0x8d, 0x2e,
  3979. 0x95, 0x31, 0xf0, 0x2f, 0x5d, 0xcb, 0x36, 0xa8, 0x4b, 0xeb, 0xcd, 0xbd,
  3980. 0x7b, 0x7a, 0x91, 0xa7, 0xf8, 0xe1, 0x35, 0x38,
  3981. };
  3982. static const struct drbg_kat_no_reseed kat132_nor_t = {
  3983. 11, kat132_nor_entropyin, kat132_nor_nonce, kat132_nor_persstr,
  3984. kat132_nor_addin0, kat132_nor_addin1, kat132_nor_retbytes
  3985. };
  3986. static const struct drbg_kat kat132_nor = {
  3987. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat132_nor_t
  3988. };
  3989. static const unsigned char kat133_nor_entropyin[] = {
  3990. 0x62, 0x4a, 0xb7, 0x6f, 0x32, 0x91, 0xda, 0x22, 0xfa, 0x54, 0xd4, 0x90,
  3991. 0x31, 0xfe, 0x02, 0xfc,
  3992. };
  3993. static const unsigned char kat133_nor_nonce[] = {
  3994. 0xd4, 0x01, 0xec, 0x34, 0xa7, 0xe4, 0xff, 0x2f,
  3995. };
  3996. static const unsigned char kat133_nor_persstr[] = {0};
  3997. static const unsigned char kat133_nor_addin0[] = {0};
  3998. static const unsigned char kat133_nor_addin1[] = {0};
  3999. static const unsigned char kat133_nor_retbytes[] = {
  4000. 0x8b, 0x86, 0x2d, 0x9b, 0xa4, 0xad, 0xaf, 0xd1, 0x7a, 0x45, 0x8c, 0x58,
  4001. 0x5d, 0x87, 0x06, 0xf1, 0x13, 0x2a, 0xee, 0xd8, 0xaa, 0x11, 0x9d, 0xda,
  4002. 0xf4, 0x41, 0x2a, 0x4a, 0x57, 0x16, 0xad, 0x44, 0x2c, 0x97, 0x4f, 0x6f,
  4003. 0xb3, 0x67, 0xba, 0xe7, 0x6f, 0xe0, 0xf3, 0x3f, 0x84, 0xd3, 0x11, 0x78,
  4004. 0x87, 0xac, 0x45, 0x92, 0xdf, 0xbc, 0x85, 0x99, 0x83, 0x9b, 0x8e, 0x43,
  4005. 0x6f, 0xb2, 0x26, 0x32, 0xfe, 0x43, 0xa8, 0xaa, 0x77, 0xff, 0xd8, 0x6d,
  4006. 0x09, 0xb4, 0xb3, 0x78, 0xa3, 0x9c, 0x61, 0x37,
  4007. };
  4008. static const struct drbg_kat_no_reseed kat133_nor_t = {
  4009. 12, kat133_nor_entropyin, kat133_nor_nonce, kat133_nor_persstr,
  4010. kat133_nor_addin0, kat133_nor_addin1, kat133_nor_retbytes
  4011. };
  4012. static const struct drbg_kat kat133_nor = {
  4013. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat133_nor_t
  4014. };
  4015. static const unsigned char kat134_nor_entropyin[] = {
  4016. 0x1d, 0xa2, 0xef, 0x22, 0x7c, 0xb7, 0x8d, 0xb7, 0x7f, 0xfa, 0x87, 0x2e,
  4017. 0x40, 0x76, 0x24, 0xc3,
  4018. };
  4019. static const unsigned char kat134_nor_nonce[] = {
  4020. 0x3c, 0x17, 0xde, 0x55, 0x28, 0x3f, 0xe6, 0x6a,
  4021. };
  4022. static const unsigned char kat134_nor_persstr[] = {0};
  4023. static const unsigned char kat134_nor_addin0[] = {0};
  4024. static const unsigned char kat134_nor_addin1[] = {0};
  4025. static const unsigned char kat134_nor_retbytes[] = {
  4026. 0x68, 0x2a, 0x99, 0x1f, 0xe8, 0x36, 0xc3, 0x2b, 0x61, 0x13, 0x40, 0xe6,
  4027. 0x98, 0xc4, 0x83, 0x01, 0xc4, 0xc0, 0xb1, 0x4a, 0x22, 0x1f, 0x2f, 0x75,
  4028. 0xe3, 0x7e, 0x68, 0xb4, 0xdb, 0x4c, 0xf9, 0xa2, 0x6a, 0x46, 0x5a, 0x8b,
  4029. 0xbe, 0x55, 0x58, 0x9a, 0x8a, 0x5d, 0x00, 0x60, 0x93, 0x91, 0x7c, 0xe8,
  4030. 0x59, 0xf9, 0x3b, 0x0f, 0x01, 0x6d, 0x43, 0xe2, 0xee, 0xb4, 0xed, 0x73,
  4031. 0x9a, 0x77, 0xe6, 0x5f, 0xa5, 0xc0, 0x88, 0x06, 0xce, 0x7a, 0x89, 0xd3,
  4032. 0x05, 0x40, 0x5a, 0x72, 0x0e, 0x29, 0x6d, 0x25,
  4033. };
  4034. static const struct drbg_kat_no_reseed kat134_nor_t = {
  4035. 13, kat134_nor_entropyin, kat134_nor_nonce, kat134_nor_persstr,
  4036. kat134_nor_addin0, kat134_nor_addin1, kat134_nor_retbytes
  4037. };
  4038. static const struct drbg_kat kat134_nor = {
  4039. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat134_nor_t
  4040. };
  4041. static const unsigned char kat135_nor_entropyin[] = {
  4042. 0xb7, 0xdd, 0xb8, 0x2f, 0x56, 0x64, 0x83, 0x4b, 0x4f, 0xb1, 0x77, 0x78,
  4043. 0xd2, 0x2e, 0x62, 0xf2,
  4044. };
  4045. static const unsigned char kat135_nor_nonce[] = {
  4046. 0x52, 0x46, 0x19, 0x24, 0xbe, 0xca, 0xb1, 0x75,
  4047. };
  4048. static const unsigned char kat135_nor_persstr[] = {0};
  4049. static const unsigned char kat135_nor_addin0[] = {0};
  4050. static const unsigned char kat135_nor_addin1[] = {0};
  4051. static const unsigned char kat135_nor_retbytes[] = {
  4052. 0x87, 0x35, 0xd0, 0x6e, 0x26, 0x81, 0x4e, 0xe5, 0x4b, 0x5d, 0xac, 0xa4,
  4053. 0xe1, 0xda, 0x3e, 0x32, 0x1a, 0x5a, 0x19, 0xb0, 0x62, 0xec, 0x0c, 0x3a,
  4054. 0xfb, 0xe3, 0xb1, 0x6f, 0x23, 0x33, 0x2a, 0x68, 0x7f, 0xad, 0xb2, 0x9e,
  4055. 0x65, 0x20, 0x81, 0x30, 0xc3, 0xd6, 0x67, 0xc0, 0x75, 0x66, 0x0f, 0xf7,
  4056. 0x0a, 0xea, 0x96, 0x43, 0x0f, 0xee, 0x25, 0x4c, 0x47, 0x26, 0x86, 0xb8,
  4057. 0xe8, 0x2c, 0xa3, 0x59, 0xa5, 0x7b, 0xbd, 0xc3, 0x00, 0x4b, 0xb3, 0xeb,
  4058. 0x64, 0x1c, 0x1f, 0x97, 0xe4, 0xb1, 0x9e, 0x02,
  4059. };
  4060. static const struct drbg_kat_no_reseed kat135_nor_t = {
  4061. 14, kat135_nor_entropyin, kat135_nor_nonce, kat135_nor_persstr,
  4062. kat135_nor_addin0, kat135_nor_addin1, kat135_nor_retbytes
  4063. };
  4064. static const struct drbg_kat kat135_nor = {
  4065. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat135_nor_t
  4066. };
  4067. static const unsigned char kat136_nor_entropyin[] = {
  4068. 0x21, 0xb6, 0x80, 0x8c, 0x0f, 0xc5, 0x9e, 0xcd, 0x92, 0x5e, 0xbe, 0x35,
  4069. 0xdd, 0xfe, 0xce, 0x08,
  4070. };
  4071. static const unsigned char kat136_nor_nonce[] = {
  4072. 0x09, 0xdd, 0x03, 0xcc, 0xac, 0x54, 0x85, 0xdf,
  4073. };
  4074. static const unsigned char kat136_nor_persstr[] = {0};
  4075. static const unsigned char kat136_nor_addin0[] = {
  4076. 0x22, 0x72, 0xf1, 0x97, 0x6f, 0x14, 0x65, 0xa0, 0x7f, 0xfd, 0x72, 0xae,
  4077. 0x25, 0x0e, 0x20, 0x0d,
  4078. };
  4079. static const unsigned char kat136_nor_addin1[] = {
  4080. 0x0b, 0x2e, 0x00, 0x90, 0xa2, 0x1a, 0xc3, 0x72, 0xc9, 0x4c, 0xe8, 0x9a,
  4081. 0x2c, 0xfb, 0xc5, 0xf0,
  4082. };
  4083. static const unsigned char kat136_nor_retbytes[] = {
  4084. 0x16, 0x59, 0x15, 0xd1, 0xba, 0x81, 0xeb, 0x3f, 0x0b, 0x02, 0x13, 0xb0,
  4085. 0x58, 0xe5, 0x28, 0x26, 0x5d, 0x29, 0x0c, 0x14, 0xd3, 0x0b, 0x53, 0x2a,
  4086. 0x7f, 0x3c, 0xf1, 0xc3, 0x94, 0x1a, 0x73, 0xef, 0x5f, 0xe3, 0x7c, 0x87,
  4087. 0x2d, 0x72, 0x41, 0xb1, 0x54, 0x45, 0x48, 0xa2, 0x3e, 0x92, 0x30, 0xcc,
  4088. 0x7f, 0x21, 0x15, 0xd3, 0xbb, 0x44, 0xa3, 0x0d, 0x1a, 0x34, 0xea, 0x93,
  4089. 0xbb, 0x5f, 0xed, 0x30, 0x5f, 0x95, 0xad, 0x7d, 0x4c, 0x3b, 0xe5, 0xef,
  4090. 0xed, 0xe5, 0xa8, 0x9e, 0xdf, 0x97, 0x55, 0x7e,
  4091. };
  4092. static const struct drbg_kat_no_reseed kat136_nor_t = {
  4093. 0, kat136_nor_entropyin, kat136_nor_nonce, kat136_nor_persstr,
  4094. kat136_nor_addin0, kat136_nor_addin1, kat136_nor_retbytes
  4095. };
  4096. static const struct drbg_kat kat136_nor = {
  4097. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat136_nor_t
  4098. };
  4099. static const unsigned char kat137_nor_entropyin[] = {
  4100. 0x38, 0x13, 0xf3, 0x76, 0xf4, 0xfd, 0x1c, 0x6d, 0x73, 0xf3, 0xe1, 0x60,
  4101. 0xd4, 0xf9, 0x98, 0xe9,
  4102. };
  4103. static const unsigned char kat137_nor_nonce[] = {
  4104. 0x95, 0x42, 0x85, 0x69, 0x74, 0x2d, 0x38, 0x7a,
  4105. };
  4106. static const unsigned char kat137_nor_persstr[] = {0};
  4107. static const unsigned char kat137_nor_addin0[] = {
  4108. 0x64, 0xa7, 0x33, 0xe7, 0x74, 0x59, 0x6f, 0xf4, 0x8d, 0xed, 0x12, 0x9b,
  4109. 0x04, 0xd9, 0x28, 0x5a,
  4110. };
  4111. static const unsigned char kat137_nor_addin1[] = {
  4112. 0x5b, 0x12, 0xc6, 0x91, 0x5e, 0x0b, 0x86, 0x99, 0x8b, 0x00, 0xed, 0x29,
  4113. 0x0b, 0x90, 0x1a, 0x30,
  4114. };
  4115. static const unsigned char kat137_nor_retbytes[] = {
  4116. 0x62, 0x24, 0xb1, 0xea, 0x5d, 0x09, 0x72, 0x90, 0xa6, 0x03, 0xb7, 0x2f,
  4117. 0xdb, 0x2a, 0x94, 0xdc, 0xd8, 0x55, 0xfc, 0x70, 0x2f, 0x9e, 0x7f, 0x0c,
  4118. 0x1f, 0x4d, 0x57, 0xfa, 0x1b, 0x64, 0xe2, 0x0f, 0x66, 0x0b, 0xeb, 0x61,
  4119. 0x20, 0xf6, 0xd6, 0xee, 0x24, 0x76, 0x5b, 0x50, 0x67, 0x4f, 0x1e, 0x61,
  4120. 0x2b, 0xb2, 0x91, 0x59, 0xd0, 0x99, 0x34, 0xba, 0x18, 0x40, 0x33, 0x28,
  4121. 0xed, 0xf8, 0x2f, 0x35, 0x30, 0x29, 0x1e, 0x61, 0x72, 0xbc, 0x4b, 0x7e,
  4122. 0x76, 0xe7, 0xda, 0x5d, 0xb0, 0xe6, 0xcf, 0xcd,
  4123. };
  4124. static const struct drbg_kat_no_reseed kat137_nor_t = {
  4125. 1, kat137_nor_entropyin, kat137_nor_nonce, kat137_nor_persstr,
  4126. kat137_nor_addin0, kat137_nor_addin1, kat137_nor_retbytes
  4127. };
  4128. static const struct drbg_kat kat137_nor = {
  4129. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat137_nor_t
  4130. };
  4131. static const unsigned char kat138_nor_entropyin[] = {
  4132. 0xe7, 0x50, 0x04, 0xf4, 0x1a, 0xe0, 0x7d, 0xb8, 0xec, 0xef, 0xca, 0x47,
  4133. 0x88, 0x8e, 0xc1, 0x14,
  4134. };
  4135. static const unsigned char kat138_nor_nonce[] = {
  4136. 0x1c, 0x1d, 0x86, 0x98, 0x0d, 0x1d, 0xad, 0x6c,
  4137. };
  4138. static const unsigned char kat138_nor_persstr[] = {0};
  4139. static const unsigned char kat138_nor_addin0[] = {
  4140. 0xfe, 0x3a, 0x34, 0x1a, 0x5c, 0x8f, 0xaf, 0xf3, 0x15, 0x59, 0x79, 0x3f,
  4141. 0x3d, 0xd9, 0xb4, 0x3f,
  4142. };
  4143. static const unsigned char kat138_nor_addin1[] = {
  4144. 0x95, 0xee, 0x78, 0x2a, 0xc0, 0xac, 0x3e, 0xa4, 0xd2, 0xc5, 0x14, 0x8f,
  4145. 0x3b, 0x37, 0x74, 0x7f,
  4146. };
  4147. static const unsigned char kat138_nor_retbytes[] = {
  4148. 0xbf, 0x50, 0x6d, 0xd7, 0x0b, 0x76, 0xc9, 0x54, 0x1a, 0x06, 0x3b, 0x8c,
  4149. 0xc4, 0xaa, 0x6f, 0x93, 0xb5, 0x54, 0x9d, 0x71, 0xdf, 0x89, 0x98, 0x23,
  4150. 0xc9, 0xb6, 0x9c, 0x47, 0xd3, 0x0a, 0x77, 0xc4, 0xcd, 0x6f, 0x4e, 0x50,
  4151. 0x65, 0x4c, 0x49, 0x55, 0xa8, 0xe5, 0x58, 0x1e, 0x43, 0xbe, 0x2c, 0xf4,
  4152. 0x6a, 0x52, 0x89, 0x56, 0x0a, 0xcf, 0x00, 0x0b, 0xf5, 0x44, 0x30, 0xa1,
  4153. 0x94, 0x9b, 0x52, 0x43, 0xe9, 0xa7, 0x99, 0xdb, 0x3c, 0xb0, 0x86, 0xf0,
  4154. 0x8e, 0x6e, 0x1e, 0x34, 0xe5, 0x4d, 0x32, 0x08,
  4155. };
  4156. static const struct drbg_kat_no_reseed kat138_nor_t = {
  4157. 2, kat138_nor_entropyin, kat138_nor_nonce, kat138_nor_persstr,
  4158. kat138_nor_addin0, kat138_nor_addin1, kat138_nor_retbytes
  4159. };
  4160. static const struct drbg_kat kat138_nor = {
  4161. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat138_nor_t
  4162. };
  4163. static const unsigned char kat139_nor_entropyin[] = {
  4164. 0x78, 0x64, 0x71, 0x92, 0x8f, 0xf5, 0x58, 0xa2, 0x93, 0xf4, 0xa3, 0x66,
  4165. 0x86, 0x61, 0x18, 0x72,
  4166. };
  4167. static const unsigned char kat139_nor_nonce[] = {
  4168. 0xdc, 0x41, 0x93, 0x0c, 0x51, 0x63, 0xbc, 0x77,
  4169. };
  4170. static const unsigned char kat139_nor_persstr[] = {0};
  4171. static const unsigned char kat139_nor_addin0[] = {
  4172. 0xfc, 0xfc, 0x99, 0xf0, 0x5f, 0xe9, 0xa0, 0x58, 0xc0, 0x47, 0xdc, 0x03,
  4173. 0xc0, 0x17, 0x1c, 0x6f,
  4174. };
  4175. static const unsigned char kat139_nor_addin1[] = {
  4176. 0xeb, 0xa3, 0xd9, 0x77, 0x42, 0x43, 0xa2, 0x73, 0xee, 0xd0, 0x91, 0xd5,
  4177. 0x44, 0x4a, 0x7b, 0xa2,
  4178. };
  4179. static const unsigned char kat139_nor_retbytes[] = {
  4180. 0x5e, 0xb1, 0x33, 0xf8, 0xf1, 0xef, 0x9d, 0x76, 0x4c, 0xe4, 0x50, 0xd6,
  4181. 0xd2, 0xbe, 0xda, 0xb3, 0xdb, 0xc8, 0x2f, 0x5a, 0x95, 0x6b, 0xe5, 0x7a,
  4182. 0xc4, 0x08, 0xd6, 0xba, 0x92, 0x51, 0xe6, 0x42, 0xbd, 0xa0, 0xbb, 0xcd,
  4183. 0x92, 0x0e, 0xfe, 0xe3, 0x2b, 0xbe, 0x77, 0xc3, 0xab, 0xe8, 0x45, 0xb4,
  4184. 0xaa, 0x0c, 0xb2, 0xdd, 0x45, 0x0e, 0x97, 0x10, 0x8c, 0xa2, 0xa9, 0xa0,
  4185. 0xe8, 0xfa, 0x9b, 0x3c, 0x4a, 0xdd, 0xc2, 0x0b, 0xdb, 0x2a, 0xb5, 0xd7,
  4186. 0x6a, 0x5a, 0x4e, 0xee, 0x3e, 0x01, 0x57, 0x93,
  4187. };
  4188. static const struct drbg_kat_no_reseed kat139_nor_t = {
  4189. 3, kat139_nor_entropyin, kat139_nor_nonce, kat139_nor_persstr,
  4190. kat139_nor_addin0, kat139_nor_addin1, kat139_nor_retbytes
  4191. };
  4192. static const struct drbg_kat kat139_nor = {
  4193. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat139_nor_t
  4194. };
  4195. static const unsigned char kat140_nor_entropyin[] = {
  4196. 0x51, 0x35, 0x9d, 0xd9, 0x2b, 0xf3, 0xb8, 0xc4, 0x32, 0xd3, 0x28, 0xaa,
  4197. 0x4a, 0x6c, 0xe8, 0xda,
  4198. };
  4199. static const unsigned char kat140_nor_nonce[] = {
  4200. 0xf8, 0x44, 0xb3, 0x4b, 0xab, 0xf2, 0xbc, 0x9b,
  4201. };
  4202. static const unsigned char kat140_nor_persstr[] = {0};
  4203. static const unsigned char kat140_nor_addin0[] = {
  4204. 0x59, 0x3b, 0x02, 0x5d, 0x32, 0x78, 0xc3, 0x2b, 0x26, 0x97, 0x07, 0x61,
  4205. 0x95, 0x88, 0x8e, 0xbf,
  4206. };
  4207. static const unsigned char kat140_nor_addin1[] = {
  4208. 0xae, 0x23, 0xf5, 0x1e, 0xbb, 0x06, 0xf5, 0x17, 0xcd, 0x5c, 0xcd, 0x2b,
  4209. 0x86, 0xca, 0xfd, 0x28,
  4210. };
  4211. static const unsigned char kat140_nor_retbytes[] = {
  4212. 0x1d, 0x9f, 0xe2, 0x8a, 0x9d, 0x69, 0x5d, 0x14, 0x20, 0x0d, 0x19, 0x36,
  4213. 0x36, 0x93, 0x3c, 0x94, 0xac, 0x11, 0x8f, 0x2e, 0xc3, 0x3c, 0x16, 0xa8,
  4214. 0xa6, 0x71, 0xf9, 0xc1, 0xef, 0x47, 0x4b, 0x5b, 0xcf, 0xb1, 0x8e, 0x99,
  4215. 0xd2, 0x9b, 0xa6, 0xd5, 0x5c, 0x1a, 0x07, 0xea, 0x42, 0x95, 0x8b, 0x5f,
  4216. 0xf6, 0x46, 0x85, 0x17, 0x2c, 0xd7, 0xde, 0x24, 0xfa, 0xf0, 0x65, 0x10,
  4217. 0xd5, 0xb9, 0xf7, 0xc8, 0x4c, 0xf8, 0x95, 0x5a, 0xf6, 0x70, 0x7b, 0x93,
  4218. 0x21, 0x69, 0x23, 0x36, 0xdf, 0xed, 0xf2, 0xec,
  4219. };
  4220. static const struct drbg_kat_no_reseed kat140_nor_t = {
  4221. 4, kat140_nor_entropyin, kat140_nor_nonce, kat140_nor_persstr,
  4222. kat140_nor_addin0, kat140_nor_addin1, kat140_nor_retbytes
  4223. };
  4224. static const struct drbg_kat kat140_nor = {
  4225. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat140_nor_t
  4226. };
  4227. static const unsigned char kat141_nor_entropyin[] = {
  4228. 0x56, 0x72, 0xab, 0x20, 0xf6, 0x67, 0xe5, 0x91, 0x8a, 0x80, 0x87, 0x68,
  4229. 0x1c, 0x18, 0x7d, 0xac,
  4230. };
  4231. static const unsigned char kat141_nor_nonce[] = {
  4232. 0xa9, 0xb4, 0x2c, 0xfb, 0x74, 0xcc, 0xce, 0xaa,
  4233. };
  4234. static const unsigned char kat141_nor_persstr[] = {0};
  4235. static const unsigned char kat141_nor_addin0[] = {
  4236. 0x6f, 0x4d, 0x34, 0xdd, 0x4c, 0xc4, 0x1d, 0x01, 0x5d, 0x00, 0x26, 0x30,
  4237. 0xa5, 0x7b, 0x5d, 0xa5,
  4238. };
  4239. static const unsigned char kat141_nor_addin1[] = {
  4240. 0xd5, 0x71, 0xf6, 0xf4, 0xc1, 0x20, 0x0b, 0x61, 0x94, 0x83, 0xb6, 0x91,
  4241. 0x66, 0xa5, 0x9c, 0xdc,
  4242. };
  4243. static const unsigned char kat141_nor_retbytes[] = {
  4244. 0x6c, 0x43, 0x69, 0x29, 0x0d, 0x51, 0x7d, 0x40, 0x97, 0x26, 0x0f, 0x88,
  4245. 0x61, 0x8c, 0x36, 0x6a, 0x85, 0x53, 0x51, 0xbf, 0x5e, 0x78, 0xab, 0xcb,
  4246. 0xb2, 0x33, 0x21, 0xf5, 0xf0, 0xf2, 0xda, 0x59, 0x2b, 0x21, 0x02, 0x4f,
  4247. 0xc7, 0xe9, 0xb2, 0x7d, 0x76, 0x8e, 0x84, 0x1e, 0x8d, 0x77, 0x8d, 0x43,
  4248. 0x67, 0xa0, 0xfa, 0xca, 0x95, 0x9a, 0x2c, 0x9b, 0x96, 0xbd, 0x2f, 0x25,
  4249. 0x6f, 0xbd, 0xd3, 0x45, 0xab, 0x9c, 0xdd, 0x5b, 0x03, 0x5b, 0xdd, 0x7a,
  4250. 0xc3, 0xc5, 0xd3, 0x56, 0xbc, 0x1e, 0xd8, 0xe4,
  4251. };
  4252. static const struct drbg_kat_no_reseed kat141_nor_t = {
  4253. 5, kat141_nor_entropyin, kat141_nor_nonce, kat141_nor_persstr,
  4254. kat141_nor_addin0, kat141_nor_addin1, kat141_nor_retbytes
  4255. };
  4256. static const struct drbg_kat kat141_nor = {
  4257. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat141_nor_t
  4258. };
  4259. static const unsigned char kat142_nor_entropyin[] = {
  4260. 0xb6, 0x5b, 0xc4, 0xcf, 0xa1, 0x15, 0xbc, 0xdd, 0x15, 0x73, 0x0e, 0xf5,
  4261. 0xf7, 0xb3, 0xd7, 0xb1,
  4262. };
  4263. static const unsigned char kat142_nor_nonce[] = {
  4264. 0x57, 0x7f, 0x9b, 0xe9, 0x0f, 0x62, 0x5e, 0xde,
  4265. };
  4266. static const unsigned char kat142_nor_persstr[] = {0};
  4267. static const unsigned char kat142_nor_addin0[] = {
  4268. 0x9e, 0x76, 0xda, 0xe1, 0xd2, 0xf6, 0x8f, 0x69, 0x93, 0xe5, 0x31, 0xe6,
  4269. 0x13, 0xf6, 0x22, 0x63,
  4270. };
  4271. static const unsigned char kat142_nor_addin1[] = {
  4272. 0x16, 0xa5, 0xfc, 0x59, 0x9f, 0x9d, 0x94, 0xe2, 0xd3, 0x71, 0x7c, 0xf7,
  4273. 0x75, 0x51, 0xd4, 0x7e,
  4274. };
  4275. static const unsigned char kat142_nor_retbytes[] = {
  4276. 0x33, 0xe0, 0x9a, 0x71, 0x0a, 0xb4, 0x10, 0x34, 0xd1, 0x6b, 0xb1, 0x36,
  4277. 0x9e, 0x2b, 0xc1, 0x57, 0xf3, 0x33, 0xa3, 0xba, 0x6d, 0xfc, 0x73, 0x00,
  4278. 0xf6, 0xfe, 0x60, 0x0c, 0x52, 0x45, 0xb0, 0x43, 0xc5, 0x91, 0x8d, 0xba,
  4279. 0x6b, 0xd3, 0xbc, 0xa6, 0xaf, 0xcf, 0xff, 0x33, 0x25, 0xad, 0xab, 0xe5,
  4280. 0x50, 0x88, 0x4f, 0x80, 0xb0, 0x72, 0x39, 0x68, 0x4b, 0xd2, 0xd8, 0xf9,
  4281. 0xd5, 0x58, 0xf5, 0x8b, 0x52, 0x08, 0x28, 0x06, 0x7e, 0xe9, 0x0f, 0x47,
  4282. 0xb3, 0x09, 0x54, 0xa2, 0x67, 0x6c, 0x5c, 0xec,
  4283. };
  4284. static const struct drbg_kat_no_reseed kat142_nor_t = {
  4285. 6, kat142_nor_entropyin, kat142_nor_nonce, kat142_nor_persstr,
  4286. kat142_nor_addin0, kat142_nor_addin1, kat142_nor_retbytes
  4287. };
  4288. static const struct drbg_kat kat142_nor = {
  4289. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat142_nor_t
  4290. };
  4291. static const unsigned char kat143_nor_entropyin[] = {
  4292. 0x56, 0x39, 0xff, 0xf8, 0xa2, 0x3a, 0xe7, 0xc5, 0x1b, 0xce, 0x07, 0x44,
  4293. 0xcc, 0x69, 0xe5, 0x34,
  4294. };
  4295. static const unsigned char kat143_nor_nonce[] = {
  4296. 0xc6, 0xd5, 0x63, 0x2f, 0xd6, 0x89, 0x9d, 0xa2,
  4297. };
  4298. static const unsigned char kat143_nor_persstr[] = {0};
  4299. static const unsigned char kat143_nor_addin0[] = {
  4300. 0xab, 0xce, 0x9c, 0x7f, 0xb0, 0x0d, 0x7e, 0x48, 0x01, 0x65, 0x1f, 0x89,
  4301. 0xd5, 0xbd, 0x47, 0xea,
  4302. };
  4303. static const unsigned char kat143_nor_addin1[] = {
  4304. 0x1d, 0xa0, 0x83, 0x32, 0x02, 0xc8, 0x2d, 0xa9, 0x71, 0xe8, 0x19, 0x8e,
  4305. 0xe7, 0xaa, 0x0b, 0x90,
  4306. };
  4307. static const unsigned char kat143_nor_retbytes[] = {
  4308. 0x7c, 0x0a, 0x23, 0x05, 0xe5, 0x23, 0x3e, 0xde, 0xed, 0xa4, 0x21, 0x90,
  4309. 0x6d, 0x85, 0x28, 0x42, 0x6c, 0xcc, 0x45, 0x5c, 0xcd, 0xc2, 0x8f, 0x30,
  4310. 0xdf, 0x3b, 0x31, 0xad, 0x8b, 0xec, 0x99, 0x0b, 0xfc, 0x28, 0x3f, 0xe5,
  4311. 0xff, 0xba, 0xba, 0x93, 0xb8, 0x80, 0xf9, 0xa0, 0x17, 0x24, 0x68, 0x4c,
  4312. 0xe8, 0xe7, 0x24, 0x2a, 0x26, 0xc3, 0xe9, 0xb1, 0xa9, 0xd2, 0x3a, 0x14,
  4313. 0xa4, 0x81, 0xe5, 0xd3, 0xc7, 0x56, 0x12, 0xc6, 0xbe, 0x27, 0x63, 0x36,
  4314. 0x1a, 0x74, 0x9e, 0x8e, 0xce, 0x57, 0xf7, 0xf5,
  4315. };
  4316. static const struct drbg_kat_no_reseed kat143_nor_t = {
  4317. 7, kat143_nor_entropyin, kat143_nor_nonce, kat143_nor_persstr,
  4318. kat143_nor_addin0, kat143_nor_addin1, kat143_nor_retbytes
  4319. };
  4320. static const struct drbg_kat kat143_nor = {
  4321. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat143_nor_t
  4322. };
  4323. static const unsigned char kat144_nor_entropyin[] = {
  4324. 0xb0, 0x39, 0xd4, 0xad, 0xad, 0x57, 0x68, 0x0a, 0xd2, 0xa0, 0xf7, 0x43,
  4325. 0xa5, 0x06, 0x33, 0xa0,
  4326. };
  4327. static const unsigned char kat144_nor_nonce[] = {
  4328. 0x0a, 0x47, 0x2b, 0xdd, 0x9f, 0x6e, 0x2b, 0xea,
  4329. };
  4330. static const unsigned char kat144_nor_persstr[] = {0};
  4331. static const unsigned char kat144_nor_addin0[] = {
  4332. 0xc5, 0x39, 0x24, 0x1e, 0xe0, 0x59, 0x44, 0xed, 0x08, 0x74, 0xea, 0xf3,
  4333. 0xaa, 0xbf, 0x34, 0x2a,
  4334. };
  4335. static const unsigned char kat144_nor_addin1[] = {
  4336. 0xe9, 0x7f, 0x92, 0xe5, 0x6c, 0xde, 0x35, 0x0d, 0x19, 0x01, 0x20, 0x69,
  4337. 0x03, 0x60, 0x5f, 0x66,
  4338. };
  4339. static const unsigned char kat144_nor_retbytes[] = {
  4340. 0x22, 0x83, 0x61, 0xa8, 0xb6, 0x11, 0x3e, 0xed, 0x3d, 0x84, 0xed, 0x46,
  4341. 0xa0, 0x57, 0x31, 0x34, 0xc7, 0x0d, 0x2d, 0x5a, 0x18, 0x7a, 0x35, 0xb4,
  4342. 0x59, 0x9f, 0x2b, 0xf1, 0x82, 0x03, 0x09, 0xe7, 0x21, 0x1d, 0xea, 0x34,
  4343. 0xd3, 0x3a, 0x62, 0xdf, 0xa7, 0x42, 0xa2, 0x16, 0x75, 0x2a, 0x9e, 0x57,
  4344. 0xf3, 0x3a, 0x60, 0x4b, 0xe3, 0xe8, 0x8e, 0xa0, 0xf1, 0x5f, 0x5d, 0x91,
  4345. 0x6d, 0x72, 0x66, 0x46, 0x73, 0xd8, 0x86, 0x10, 0x4a, 0x7b, 0x6c, 0x39,
  4346. 0x04, 0xaf, 0x6d, 0x65, 0x63, 0xe0, 0x57, 0x61,
  4347. };
  4348. static const struct drbg_kat_no_reseed kat144_nor_t = {
  4349. 8, kat144_nor_entropyin, kat144_nor_nonce, kat144_nor_persstr,
  4350. kat144_nor_addin0, kat144_nor_addin1, kat144_nor_retbytes
  4351. };
  4352. static const struct drbg_kat kat144_nor = {
  4353. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat144_nor_t
  4354. };
  4355. static const unsigned char kat145_nor_entropyin[] = {
  4356. 0x71, 0xe7, 0xd5, 0xb1, 0x84, 0x57, 0x07, 0xeb, 0xbe, 0xd4, 0x71, 0xbc,
  4357. 0x66, 0x3b, 0x85, 0x17,
  4358. };
  4359. static const unsigned char kat145_nor_nonce[] = {
  4360. 0x42, 0x50, 0x3f, 0xc9, 0x49, 0x68, 0x64, 0xa8,
  4361. };
  4362. static const unsigned char kat145_nor_persstr[] = {0};
  4363. static const unsigned char kat145_nor_addin0[] = {
  4364. 0x59, 0xea, 0x5d, 0xc5, 0x5e, 0x22, 0xe0, 0x34, 0xf1, 0xed, 0x46, 0xd1,
  4365. 0x73, 0x9f, 0x1d, 0x33,
  4366. };
  4367. static const unsigned char kat145_nor_addin1[] = {
  4368. 0xd9, 0x7a, 0xf0, 0x12, 0x77, 0x04, 0x33, 0x95, 0xdb, 0xef, 0x3a, 0x0e,
  4369. 0xac, 0xd6, 0x16, 0x3d,
  4370. };
  4371. static const unsigned char kat145_nor_retbytes[] = {
  4372. 0xd6, 0xc5, 0xca, 0xd4, 0xaf, 0x95, 0x48, 0x34, 0x28, 0x49, 0x7f, 0x0f,
  4373. 0xf0, 0xd8, 0xa3, 0x0f, 0x67, 0x37, 0x87, 0xf4, 0x4f, 0xfc, 0xb9, 0xbf,
  4374. 0x55, 0xc1, 0xed, 0x39, 0xfa, 0x41, 0xe3, 0xf5, 0x38, 0x49, 0xda, 0x76,
  4375. 0xfa, 0xa5, 0x37, 0x7e, 0xaa, 0x83, 0x2c, 0x83, 0x5e, 0xea, 0x20, 0x02,
  4376. 0x26, 0xf5, 0xf3, 0xf0, 0x57, 0x5d, 0x67, 0x51, 0x48, 0x20, 0x02, 0x43,
  4377. 0x39, 0xe2, 0x48, 0xb0, 0x91, 0x11, 0x19, 0x5c, 0x0b, 0xb7, 0x14, 0x8f,
  4378. 0xac, 0xf3, 0x10, 0xb5, 0x93, 0x94, 0x72, 0x56,
  4379. };
  4380. static const struct drbg_kat_no_reseed kat145_nor_t = {
  4381. 9, kat145_nor_entropyin, kat145_nor_nonce, kat145_nor_persstr,
  4382. kat145_nor_addin0, kat145_nor_addin1, kat145_nor_retbytes
  4383. };
  4384. static const struct drbg_kat kat145_nor = {
  4385. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat145_nor_t
  4386. };
  4387. static const unsigned char kat146_nor_entropyin[] = {
  4388. 0xef, 0x32, 0x52, 0x65, 0xd5, 0xaf, 0x25, 0xd2, 0x55, 0x78, 0x4e, 0x10,
  4389. 0x9b, 0x20, 0xb7, 0x61,
  4390. };
  4391. static const unsigned char kat146_nor_nonce[] = {
  4392. 0x52, 0xf6, 0xfa, 0xa7, 0xf3, 0x7c, 0x7d, 0xf2,
  4393. };
  4394. static const unsigned char kat146_nor_persstr[] = {0};
  4395. static const unsigned char kat146_nor_addin0[] = {
  4396. 0x77, 0x09, 0xe2, 0x20, 0xf0, 0x67, 0xba, 0x16, 0x1c, 0xd3, 0x61, 0x63,
  4397. 0x95, 0x80, 0xc4, 0x2e,
  4398. };
  4399. static const unsigned char kat146_nor_addin1[] = {
  4400. 0xed, 0x6a, 0xcb, 0x90, 0x2f, 0x1d, 0x02, 0x66, 0xc1, 0x4f, 0x29, 0x93,
  4401. 0xbd, 0xb7, 0x7f, 0xf9,
  4402. };
  4403. static const unsigned char kat146_nor_retbytes[] = {
  4404. 0x3b, 0x8b, 0xc3, 0xe1, 0xca, 0xb6, 0x7f, 0x41, 0x84, 0x1f, 0x74, 0xb0,
  4405. 0xd2, 0x0b, 0x87, 0xb9, 0x54, 0x83, 0xbe, 0x53, 0xda, 0x22, 0x9f, 0xe3,
  4406. 0x4b, 0x47, 0x15, 0x1d, 0x2a, 0xc2, 0x80, 0x8c, 0xeb, 0x6e, 0x50, 0xda,
  4407. 0x6c, 0xff, 0xfb, 0x14, 0xb5, 0x5d, 0x0f, 0x3b, 0x84, 0x66, 0x76, 0x61,
  4408. 0x21, 0x30, 0xa7, 0x01, 0x19, 0x15, 0xb9, 0x46, 0xdf, 0x67, 0x18, 0x95,
  4409. 0x14, 0xb6, 0x9c, 0x11, 0x51, 0x4c, 0x06, 0xce, 0x27, 0x1d, 0xc3, 0x70,
  4410. 0xf1, 0x36, 0xf6, 0xc5, 0x08, 0x9f, 0x8c, 0x6d,
  4411. };
  4412. static const struct drbg_kat_no_reseed kat146_nor_t = {
  4413. 10, kat146_nor_entropyin, kat146_nor_nonce, kat146_nor_persstr,
  4414. kat146_nor_addin0, kat146_nor_addin1, kat146_nor_retbytes
  4415. };
  4416. static const struct drbg_kat kat146_nor = {
  4417. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat146_nor_t
  4418. };
  4419. static const unsigned char kat147_nor_entropyin[] = {
  4420. 0x80, 0xda, 0x5b, 0x7e, 0x53, 0x16, 0xc9, 0x9a, 0xe6, 0xa2, 0x1e, 0xcf,
  4421. 0xe2, 0xe0, 0x13, 0xb0,
  4422. };
  4423. static const unsigned char kat147_nor_nonce[] = {
  4424. 0x28, 0xdc, 0xd7, 0x15, 0x91, 0xa7, 0x64, 0xb5,
  4425. };
  4426. static const unsigned char kat147_nor_persstr[] = {0};
  4427. static const unsigned char kat147_nor_addin0[] = {
  4428. 0x39, 0xa1, 0x65, 0x63, 0x0c, 0x5d, 0xbf, 0x4e, 0xcc, 0x53, 0xf8, 0xdd,
  4429. 0x82, 0x5d, 0x98, 0x2a,
  4430. };
  4431. static const unsigned char kat147_nor_addin1[] = {
  4432. 0x57, 0x6a, 0xfb, 0xba, 0x4f, 0x94, 0x08, 0x05, 0x09, 0x38, 0xb8, 0xd2,
  4433. 0x04, 0xa8, 0xb1, 0xf6,
  4434. };
  4435. static const unsigned char kat147_nor_retbytes[] = {
  4436. 0x9d, 0x0b, 0x9b, 0x54, 0xb9, 0xa2, 0xcb, 0x61, 0x86, 0xd4, 0x3b, 0x12,
  4437. 0x82, 0xfd, 0x21, 0x4a, 0x00, 0xcb, 0x41, 0x39, 0x04, 0x02, 0x3b, 0x48,
  4438. 0x20, 0x08, 0x4f, 0x36, 0xa0, 0xf0, 0xe5, 0x08, 0x88, 0xcb, 0x8b, 0x33,
  4439. 0xf6, 0x73, 0x15, 0x55, 0x59, 0x5e, 0xa5, 0xb2, 0x05, 0x21, 0xf1, 0x8d,
  4440. 0x1e, 0x94, 0xaa, 0x8e, 0xab, 0xaf, 0xcf, 0x16, 0x86, 0xcd, 0xc8, 0x50,
  4441. 0x96, 0x59, 0x11, 0x16, 0x6f, 0x94, 0x11, 0x50, 0x13, 0xe7, 0x8d, 0x85,
  4442. 0x80, 0x4a, 0x63, 0x4c, 0xf0, 0x7a, 0x3d, 0x55,
  4443. };
  4444. static const struct drbg_kat_no_reseed kat147_nor_t = {
  4445. 11, kat147_nor_entropyin, kat147_nor_nonce, kat147_nor_persstr,
  4446. kat147_nor_addin0, kat147_nor_addin1, kat147_nor_retbytes
  4447. };
  4448. static const struct drbg_kat kat147_nor = {
  4449. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat147_nor_t
  4450. };
  4451. static const unsigned char kat148_nor_entropyin[] = {
  4452. 0xd7, 0x49, 0x21, 0xd6, 0xdf, 0xa6, 0x9d, 0x7a, 0x73, 0x86, 0x10, 0x16,
  4453. 0xcf, 0x15, 0x5c, 0xbb,
  4454. };
  4455. static const unsigned char kat148_nor_nonce[] = {
  4456. 0x3e, 0x49, 0x48, 0x39, 0x02, 0x08, 0x60, 0x04,
  4457. };
  4458. static const unsigned char kat148_nor_persstr[] = {0};
  4459. static const unsigned char kat148_nor_addin0[] = {
  4460. 0x48, 0x39, 0xcd, 0x93, 0x86, 0xe6, 0x82, 0x98, 0xaa, 0x27, 0x4b, 0x83,
  4461. 0xf5, 0xae, 0x91, 0x34,
  4462. };
  4463. static const unsigned char kat148_nor_addin1[] = {
  4464. 0xc0, 0x8d, 0x03, 0xf6, 0x5e, 0xea, 0xbd, 0xe5, 0xc9, 0xbf, 0x72, 0x30,
  4465. 0xa5, 0xa3, 0xbf, 0x91,
  4466. };
  4467. static const unsigned char kat148_nor_retbytes[] = {
  4468. 0x17, 0x2b, 0x29, 0xd4, 0x6e, 0x9a, 0xcd, 0x26, 0xc0, 0xa3, 0x82, 0x71,
  4469. 0xad, 0xaf, 0x92, 0x6e, 0x4e, 0xce, 0x48, 0x03, 0xf2, 0x13, 0xab, 0xd6,
  4470. 0xa1, 0x06, 0x5b, 0x8f, 0xe3, 0x14, 0x27, 0xf1, 0xf5, 0xbc, 0xac, 0x78,
  4471. 0xf2, 0xf2, 0x15, 0x6e, 0x78, 0x11, 0xe9, 0xc5, 0xc9, 0x84, 0xf9, 0x7a,
  4472. 0xef, 0xfa, 0xa4, 0x51, 0x9d, 0xae, 0xd0, 0x67, 0xff, 0xa1, 0x97, 0x59,
  4473. 0x45, 0x89, 0x74, 0x60, 0x54, 0x8f, 0x78, 0xb6, 0x73, 0x70, 0xd3, 0x32,
  4474. 0xaf, 0x3a, 0xf1, 0xf9, 0xa1, 0x2d, 0xdc, 0x22,
  4475. };
  4476. static const struct drbg_kat_no_reseed kat148_nor_t = {
  4477. 12, kat148_nor_entropyin, kat148_nor_nonce, kat148_nor_persstr,
  4478. kat148_nor_addin0, kat148_nor_addin1, kat148_nor_retbytes
  4479. };
  4480. static const struct drbg_kat kat148_nor = {
  4481. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat148_nor_t
  4482. };
  4483. static const unsigned char kat149_nor_entropyin[] = {
  4484. 0xd4, 0xa2, 0xf2, 0xde, 0xd0, 0x1a, 0xe7, 0xa5, 0xc3, 0x3b, 0x09, 0xf6,
  4485. 0x38, 0xf9, 0xae, 0x5c,
  4486. };
  4487. static const unsigned char kat149_nor_nonce[] = {
  4488. 0xee, 0xab, 0x2a, 0xc9, 0x71, 0xbc, 0x8f, 0x6b,
  4489. };
  4490. static const unsigned char kat149_nor_persstr[] = {0};
  4491. static const unsigned char kat149_nor_addin0[] = {
  4492. 0xc3, 0xe7, 0x27, 0xb3, 0xce, 0x8c, 0xf2, 0x20, 0x0d, 0xfc, 0x06, 0x7d,
  4493. 0x13, 0xc8, 0x02, 0x18,
  4494. };
  4495. static const unsigned char kat149_nor_addin1[] = {
  4496. 0x6d, 0x4c, 0x88, 0x9b, 0x91, 0x60, 0x38, 0x90, 0x45, 0x82, 0x77, 0xb9,
  4497. 0xfc, 0xc5, 0x7a, 0xa8,
  4498. };
  4499. static const unsigned char kat149_nor_retbytes[] = {
  4500. 0x9d, 0xef, 0xb2, 0x3c, 0x7c, 0xbf, 0x32, 0xe2, 0xf8, 0x95, 0xd8, 0xbe,
  4501. 0x3c, 0xcd, 0x9b, 0x0c, 0x6f, 0x2d, 0x6c, 0xdd, 0x3d, 0xb0, 0xaa, 0xd9,
  4502. 0xa3, 0xa5, 0xf2, 0xf6, 0x18, 0x9a, 0x44, 0x17, 0x58, 0xbf, 0x1a, 0x62,
  4503. 0x23, 0x13, 0xa9, 0xad, 0x7d, 0xa7, 0xd2, 0x95, 0x36, 0x4e, 0xf8, 0x57,
  4504. 0x90, 0x1e, 0x22, 0x29, 0xe7, 0x31, 0x5b, 0x06, 0xc7, 0x55, 0x98, 0xc9,
  4505. 0xce, 0x6d, 0xb2, 0x6a, 0x96, 0x6c, 0x3d, 0xfa, 0x49, 0xdf, 0x45, 0x51,
  4506. 0x4b, 0xdf, 0x46, 0x12, 0x5c, 0x62, 0x28, 0x66,
  4507. };
  4508. static const struct drbg_kat_no_reseed kat149_nor_t = {
  4509. 13, kat149_nor_entropyin, kat149_nor_nonce, kat149_nor_persstr,
  4510. kat149_nor_addin0, kat149_nor_addin1, kat149_nor_retbytes
  4511. };
  4512. static const struct drbg_kat kat149_nor = {
  4513. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat149_nor_t
  4514. };
  4515. static const unsigned char kat150_nor_entropyin[] = {
  4516. 0xbf, 0x76, 0x41, 0x51, 0x13, 0x65, 0x97, 0xee, 0xf9, 0xc1, 0xa7, 0xcc,
  4517. 0xff, 0x0f, 0x34, 0x5f,
  4518. };
  4519. static const unsigned char kat150_nor_nonce[] = {
  4520. 0x29, 0xf9, 0x05, 0x9f, 0x90, 0x81, 0x6c, 0x57,
  4521. };
  4522. static const unsigned char kat150_nor_persstr[] = {0};
  4523. static const unsigned char kat150_nor_addin0[] = {
  4524. 0x77, 0x25, 0xef, 0x70, 0x59, 0x2c, 0x36, 0x2d, 0x70, 0xb0, 0x88, 0xed,
  4525. 0x63, 0x9f, 0x9d, 0x9b,
  4526. };
  4527. static const unsigned char kat150_nor_addin1[] = {
  4528. 0x5a, 0xb2, 0xe0, 0x06, 0x7c, 0x3b, 0x38, 0x4e, 0x55, 0xa7, 0x84, 0x92,
  4529. 0xf0, 0xf6, 0xed, 0x44,
  4530. };
  4531. static const unsigned char kat150_nor_retbytes[] = {
  4532. 0xca, 0x09, 0x5d, 0xa3, 0x9d, 0x9c, 0x21, 0xd7, 0xda, 0x07, 0x3d, 0x9c,
  4533. 0x95, 0xd2, 0xe4, 0x15, 0x50, 0x3b, 0x33, 0xc3, 0x27, 0xd7, 0x39, 0xf1,
  4534. 0x83, 0x8b, 0xbe, 0xa4, 0xfc, 0x6f, 0x02, 0x54, 0xfd, 0xaf, 0x8e, 0xf6,
  4535. 0x15, 0x2e, 0x92, 0x63, 0xf4, 0x6b, 0x86, 0x4f, 0x39, 0xc7, 0x10, 0x4d,
  4536. 0x1d, 0x33, 0x7d, 0x99, 0xfe, 0xe5, 0x88, 0x06, 0x11, 0x52, 0xe6, 0x23,
  4537. 0xd7, 0xe0, 0x0a, 0x27, 0xe0, 0x3b, 0x5d, 0x16, 0xfe, 0x6e, 0x54, 0x34,
  4538. 0x53, 0xa3, 0x1d, 0x4d, 0xaf, 0xed, 0xa3, 0xb5,
  4539. };
  4540. static const struct drbg_kat_no_reseed kat150_nor_t = {
  4541. 14, kat150_nor_entropyin, kat150_nor_nonce, kat150_nor_persstr,
  4542. kat150_nor_addin0, kat150_nor_addin1, kat150_nor_retbytes
  4543. };
  4544. static const struct drbg_kat kat150_nor = {
  4545. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat150_nor_t
  4546. };
  4547. static const unsigned char kat151_nor_entropyin[] = {
  4548. 0x91, 0xd9, 0x9c, 0x51, 0x1c, 0x2f, 0x19, 0x67, 0xd3, 0x1d, 0x20, 0xb3,
  4549. 0x13, 0xe5, 0x38, 0x2d,
  4550. };
  4551. static const unsigned char kat151_nor_nonce[] = {
  4552. 0x1e, 0xaf, 0x7f, 0x1d, 0x0a, 0xa3, 0x6a, 0x19,
  4553. };
  4554. static const unsigned char kat151_nor_persstr[] = {
  4555. 0x31, 0xe6, 0xb0, 0x4d, 0x73, 0xb1, 0xa9, 0x70, 0xfd, 0x3d, 0xcd, 0x8f,
  4556. 0x08, 0x9e, 0x44, 0x02,
  4557. };
  4558. static const unsigned char kat151_nor_addin0[] = {0};
  4559. static const unsigned char kat151_nor_addin1[] = {0};
  4560. static const unsigned char kat151_nor_retbytes[] = {
  4561. 0x1c, 0x95, 0xfb, 0x98, 0x5c, 0xf1, 0x7c, 0xb9, 0xcf, 0x0b, 0xcd, 0x53,
  4562. 0x95, 0x99, 0x72, 0xc8, 0xfd, 0x4b, 0xbc, 0x72, 0x5b, 0x2e, 0xcc, 0x8e,
  4563. 0xe8, 0x43, 0xd5, 0x5e, 0x49, 0x4b, 0xc7, 0x68, 0x4d, 0x17, 0x65, 0x93,
  4564. 0x1c, 0x17, 0x3a, 0x83, 0x8d, 0xc7, 0xb4, 0x34, 0x4c, 0xdc, 0x14, 0x58,
  4565. 0x64, 0x09, 0x06, 0x6d, 0x4f, 0x1d, 0x54, 0xac, 0x21, 0x4e, 0xcb, 0xe5,
  4566. 0xbd, 0x13, 0x9c, 0x65, 0xab, 0xe1, 0x99, 0x52, 0x5f, 0xa8, 0xff, 0xbe,
  4567. 0xf5, 0x93, 0x04, 0xe4, 0x7b, 0xaa, 0xc9, 0xa9,
  4568. };
  4569. static const struct drbg_kat_no_reseed kat151_nor_t = {
  4570. 0, kat151_nor_entropyin, kat151_nor_nonce, kat151_nor_persstr,
  4571. kat151_nor_addin0, kat151_nor_addin1, kat151_nor_retbytes
  4572. };
  4573. static const struct drbg_kat kat151_nor = {
  4574. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat151_nor_t
  4575. };
  4576. static const unsigned char kat152_nor_entropyin[] = {
  4577. 0xe6, 0x77, 0x28, 0x1e, 0x87, 0x1c, 0x28, 0xd6, 0x31, 0xb2, 0x36, 0x11,
  4578. 0x07, 0x24, 0x0c, 0x22,
  4579. };
  4580. static const unsigned char kat152_nor_nonce[] = {
  4581. 0x87, 0x46, 0x89, 0x67, 0xe4, 0x55, 0xd2, 0xda,
  4582. };
  4583. static const unsigned char kat152_nor_persstr[] = {
  4584. 0x11, 0x4b, 0xa9, 0x2f, 0x79, 0x45, 0x18, 0x01, 0x5c, 0x06, 0x7f, 0x7c,
  4585. 0x35, 0x8c, 0x40, 0x41,
  4586. };
  4587. static const unsigned char kat152_nor_addin0[] = {0};
  4588. static const unsigned char kat152_nor_addin1[] = {0};
  4589. static const unsigned char kat152_nor_retbytes[] = {
  4590. 0x59, 0x58, 0x4f, 0xf0, 0x0c, 0x44, 0xa0, 0xdb, 0xd1, 0x5c, 0x1f, 0x35,
  4591. 0xe0, 0x50, 0xc1, 0x84, 0xe8, 0xd5, 0x87, 0xe8, 0x85, 0x9c, 0xb0, 0x61,
  4592. 0xc8, 0x40, 0x9c, 0x45, 0x4b, 0x95, 0x39, 0x24, 0xf5, 0xe6, 0xee, 0x1f,
  4593. 0xee, 0x4d, 0x76, 0x34, 0x62, 0xdd, 0x6a, 0x29, 0xa6, 0xcb, 0xe4, 0xa3,
  4594. 0x73, 0x97, 0x4c, 0x01, 0xd6, 0x88, 0xee, 0x57, 0x28, 0xcf, 0x71, 0x2b,
  4595. 0xcd, 0xc8, 0x2c, 0xb0, 0xad, 0x15, 0x41, 0x92, 0x29, 0xb8, 0xcd, 0x11,
  4596. 0x4a, 0xc7, 0x85, 0x1e, 0x37, 0xa3, 0xd7, 0xb2,
  4597. };
  4598. static const struct drbg_kat_no_reseed kat152_nor_t = {
  4599. 1, kat152_nor_entropyin, kat152_nor_nonce, kat152_nor_persstr,
  4600. kat152_nor_addin0, kat152_nor_addin1, kat152_nor_retbytes
  4601. };
  4602. static const struct drbg_kat kat152_nor = {
  4603. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat152_nor_t
  4604. };
  4605. static const unsigned char kat153_nor_entropyin[] = {
  4606. 0xbd, 0x48, 0x31, 0xa8, 0x52, 0x79, 0xfd, 0x76, 0x7c, 0xaf, 0xf4, 0x4b,
  4607. 0xa2, 0x60, 0x53, 0xae,
  4608. };
  4609. static const unsigned char kat153_nor_nonce[] = {
  4610. 0x9e, 0x56, 0xa8, 0x08, 0x71, 0x18, 0x27, 0xf6,
  4611. };
  4612. static const unsigned char kat153_nor_persstr[] = {
  4613. 0x69, 0xe0, 0xfe, 0x7b, 0x80, 0x4c, 0x65, 0xbb, 0x8c, 0x7b, 0xa8, 0x9a,
  4614. 0x8b, 0x4c, 0x7c, 0x6a,
  4615. };
  4616. static const unsigned char kat153_nor_addin0[] = {0};
  4617. static const unsigned char kat153_nor_addin1[] = {0};
  4618. static const unsigned char kat153_nor_retbytes[] = {
  4619. 0x7d, 0x1f, 0xe8, 0xc9, 0xde, 0x79, 0x61, 0x1d, 0x57, 0xb5, 0x12, 0x97,
  4620. 0xcf, 0x1b, 0x23, 0x04, 0x59, 0x15, 0x04, 0xa0, 0x46, 0x94, 0xe6, 0x0e,
  4621. 0x21, 0xfd, 0xd7, 0x0f, 0x3d, 0x78, 0x2d, 0x17, 0xae, 0xa3, 0x51, 0x73,
  4622. 0xef, 0xa3, 0x0e, 0xf2, 0xf2, 0x35, 0x89, 0x4d, 0x69, 0x6f, 0x1a, 0x15,
  4623. 0x0b, 0xfe, 0x03, 0x96, 0x27, 0x1f, 0xd8, 0xcb, 0xa0, 0x62, 0x82, 0x35,
  4624. 0x80, 0xa9, 0xe1, 0xde, 0x8e, 0x32, 0xd9, 0x62, 0xbd, 0xcb, 0x4b, 0x4f,
  4625. 0x47, 0xb9, 0x42, 0xfc, 0x39, 0x84, 0x9a, 0xbf,
  4626. };
  4627. static const struct drbg_kat_no_reseed kat153_nor_t = {
  4628. 2, kat153_nor_entropyin, kat153_nor_nonce, kat153_nor_persstr,
  4629. kat153_nor_addin0, kat153_nor_addin1, kat153_nor_retbytes
  4630. };
  4631. static const struct drbg_kat kat153_nor = {
  4632. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat153_nor_t
  4633. };
  4634. static const unsigned char kat154_nor_entropyin[] = {
  4635. 0x46, 0xbd, 0xab, 0x81, 0x1f, 0x76, 0xb7, 0x52, 0x55, 0x1a, 0x2b, 0x11,
  4636. 0xb7, 0x08, 0x96, 0x3e,
  4637. };
  4638. static const unsigned char kat154_nor_nonce[] = {
  4639. 0x8b, 0xe4, 0xfc, 0x15, 0x9f, 0xdb, 0x75, 0x15,
  4640. };
  4641. static const unsigned char kat154_nor_persstr[] = {
  4642. 0xbc, 0x4f, 0x4d, 0x95, 0x92, 0x7b, 0x1a, 0xa6, 0x66, 0x79, 0x1c, 0x4a,
  4643. 0xa8, 0x18, 0x70, 0x0f,
  4644. };
  4645. static const unsigned char kat154_nor_addin0[] = {0};
  4646. static const unsigned char kat154_nor_addin1[] = {0};
  4647. static const unsigned char kat154_nor_retbytes[] = {
  4648. 0xc5, 0x35, 0x85, 0x9c, 0xef, 0x07, 0x49, 0x16, 0xf7, 0xa3, 0x78, 0x55,
  4649. 0x37, 0x28, 0x5b, 0xe3, 0x85, 0x89, 0x38, 0x22, 0xa9, 0x53, 0xfd, 0x41,
  4650. 0xab, 0xa6, 0x00, 0xf5, 0x6d, 0x80, 0xe6, 0xef, 0xe2, 0x95, 0x2f, 0x92,
  4651. 0xec, 0xe5, 0xcb, 0xec, 0x15, 0xb2, 0xb0, 0x3a, 0x22, 0x90, 0x80, 0xde,
  4652. 0x98, 0xc6, 0xeb, 0xda, 0x74, 0x1f, 0x19, 0xd3, 0x55, 0x70, 0x15, 0xa9,
  4653. 0x0e, 0xe0, 0xb2, 0xa0, 0xde, 0x9c, 0x0e, 0xb6, 0x4c, 0x8b, 0x8a, 0xf6,
  4654. 0xdc, 0xcf, 0x8f, 0x74, 0xe7, 0xca, 0x1c, 0x1f,
  4655. };
  4656. static const struct drbg_kat_no_reseed kat154_nor_t = {
  4657. 3, kat154_nor_entropyin, kat154_nor_nonce, kat154_nor_persstr,
  4658. kat154_nor_addin0, kat154_nor_addin1, kat154_nor_retbytes
  4659. };
  4660. static const struct drbg_kat kat154_nor = {
  4661. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat154_nor_t
  4662. };
  4663. static const unsigned char kat155_nor_entropyin[] = {
  4664. 0x67, 0x01, 0x13, 0x8a, 0x46, 0xb1, 0x48, 0xa2, 0x68, 0x88, 0x79, 0x98,
  4665. 0x9a, 0xb4, 0xda, 0x96,
  4666. };
  4667. static const unsigned char kat155_nor_nonce[] = {
  4668. 0x1b, 0xbd, 0x5c, 0x7f, 0x09, 0x55, 0x34, 0xcc,
  4669. };
  4670. static const unsigned char kat155_nor_persstr[] = {
  4671. 0xce, 0xd0, 0x4a, 0x25, 0xa8, 0xbd, 0xed, 0xbd, 0xbb, 0x28, 0x53, 0x43,
  4672. 0x76, 0xbb, 0x24, 0x14,
  4673. };
  4674. static const unsigned char kat155_nor_addin0[] = {0};
  4675. static const unsigned char kat155_nor_addin1[] = {0};
  4676. static const unsigned char kat155_nor_retbytes[] = {
  4677. 0xb4, 0xc2, 0xf0, 0xe9, 0x89, 0xbd, 0x85, 0x8e, 0xd1, 0x60, 0x37, 0xf8,
  4678. 0x34, 0x45, 0x57, 0xb0, 0xcb, 0x35, 0xd0, 0x44, 0x19, 0x1d, 0x68, 0x0c,
  4679. 0xb1, 0xaf, 0xcd, 0x2d, 0x85, 0x63, 0x68, 0x6a, 0x92, 0xfd, 0xff, 0x5e,
  4680. 0x13, 0x31, 0xfd, 0x3f, 0xc8, 0x7d, 0x14, 0xf3, 0xba, 0x10, 0xeb, 0x14,
  4681. 0xee, 0x6b, 0x16, 0xd6, 0x48, 0x18, 0x13, 0x92, 0x33, 0x5c, 0x0e, 0xe4,
  4682. 0xc2, 0xab, 0x27, 0x58, 0x81, 0xbb, 0xa3, 0x6c, 0x55, 0x3d, 0x34, 0x81,
  4683. 0x0b, 0x8c, 0x68, 0x9a, 0xad, 0x01, 0x73, 0x43,
  4684. };
  4685. static const struct drbg_kat_no_reseed kat155_nor_t = {
  4686. 4, kat155_nor_entropyin, kat155_nor_nonce, kat155_nor_persstr,
  4687. kat155_nor_addin0, kat155_nor_addin1, kat155_nor_retbytes
  4688. };
  4689. static const struct drbg_kat kat155_nor = {
  4690. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat155_nor_t
  4691. };
  4692. static const unsigned char kat156_nor_entropyin[] = {
  4693. 0x9d, 0xf8, 0x20, 0x29, 0x7b, 0xc0, 0x01, 0x6d, 0x24, 0x6a, 0x93, 0xcb,
  4694. 0x64, 0x19, 0x20, 0x73,
  4695. };
  4696. static const unsigned char kat156_nor_nonce[] = {
  4697. 0xf2, 0xdc, 0xff, 0x78, 0xc9, 0x0a, 0x15, 0xa7,
  4698. };
  4699. static const unsigned char kat156_nor_persstr[] = {
  4700. 0x70, 0x59, 0x43, 0x3f, 0x58, 0x64, 0x6f, 0x57, 0x94, 0xcc, 0xf1, 0x71,
  4701. 0xca, 0x18, 0x8a, 0x95,
  4702. };
  4703. static const unsigned char kat156_nor_addin0[] = {0};
  4704. static const unsigned char kat156_nor_addin1[] = {0};
  4705. static const unsigned char kat156_nor_retbytes[] = {
  4706. 0x06, 0xa5, 0xc6, 0x1c, 0x66, 0x45, 0x03, 0x46, 0x9a, 0xf0, 0xff, 0x67,
  4707. 0x14, 0xae, 0x87, 0xe8, 0xa7, 0x69, 0x96, 0xc3, 0x5d, 0x80, 0xd4, 0x5b,
  4708. 0x02, 0x08, 0xbb, 0x26, 0x73, 0x5b, 0x9e, 0x46, 0x30, 0xea, 0xcf, 0x50,
  4709. 0xcf, 0x62, 0xff, 0x35, 0x30, 0x21, 0x4e, 0x8d, 0xed, 0xbe, 0x42, 0x40,
  4710. 0x84, 0x86, 0x38, 0xeb, 0x41, 0x78, 0x3f, 0x8d, 0x1d, 0x3e, 0xfa, 0x63,
  4711. 0x99, 0xbc, 0x1d, 0x95, 0x54, 0xf5, 0xb5, 0xa3, 0x86, 0x08, 0x24, 0x98,
  4712. 0xa3, 0x3f, 0x8e, 0xa4, 0xfa, 0x53, 0x09, 0xf1,
  4713. };
  4714. static const struct drbg_kat_no_reseed kat156_nor_t = {
  4715. 5, kat156_nor_entropyin, kat156_nor_nonce, kat156_nor_persstr,
  4716. kat156_nor_addin0, kat156_nor_addin1, kat156_nor_retbytes
  4717. };
  4718. static const struct drbg_kat kat156_nor = {
  4719. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat156_nor_t
  4720. };
  4721. static const unsigned char kat157_nor_entropyin[] = {
  4722. 0x24, 0x4c, 0xc3, 0xba, 0xa0, 0x00, 0xaf, 0xa7, 0xd5, 0x47, 0x51, 0x17,
  4723. 0x70, 0x16, 0x5f, 0x70,
  4724. };
  4725. static const unsigned char kat157_nor_nonce[] = {
  4726. 0xc5, 0x83, 0x94, 0x2d, 0x88, 0x88, 0x28, 0xff,
  4727. };
  4728. static const unsigned char kat157_nor_persstr[] = {
  4729. 0x53, 0xab, 0x8f, 0x3e, 0x39, 0x26, 0x96, 0xff, 0xb6, 0xb0, 0x6f, 0x45,
  4730. 0xaf, 0x12, 0x56, 0x56,
  4731. };
  4732. static const unsigned char kat157_nor_addin0[] = {0};
  4733. static const unsigned char kat157_nor_addin1[] = {0};
  4734. static const unsigned char kat157_nor_retbytes[] = {
  4735. 0x67, 0xd1, 0x73, 0x5a, 0x4c, 0xd3, 0x7b, 0xe6, 0x7e, 0x68, 0x2e, 0xe5,
  4736. 0xa3, 0xc9, 0x9a, 0xba, 0x13, 0x8b, 0x74, 0x88, 0x7b, 0x90, 0xc8, 0x29,
  4737. 0x1e, 0x9e, 0x4e, 0x71, 0x56, 0xc7, 0x86, 0xef, 0x56, 0x26, 0xec, 0xb2,
  4738. 0x42, 0x0e, 0x47, 0xd6, 0x4b, 0x6a, 0x04, 0x4f, 0xac, 0x95, 0x1d, 0xdb,
  4739. 0x30, 0x2d, 0x18, 0x4c, 0x5a, 0xe0, 0x1f, 0x03, 0xc4, 0x2e, 0xcf, 0x63,
  4740. 0x3a, 0x1e, 0x53, 0x9f, 0xcd, 0xb4, 0xf9, 0x26, 0xa4, 0x72, 0xc4, 0x8d,
  4741. 0xd8, 0xce, 0x30, 0x91, 0x4c, 0xc2, 0x29, 0xd4,
  4742. };
  4743. static const struct drbg_kat_no_reseed kat157_nor_t = {
  4744. 6, kat157_nor_entropyin, kat157_nor_nonce, kat157_nor_persstr,
  4745. kat157_nor_addin0, kat157_nor_addin1, kat157_nor_retbytes
  4746. };
  4747. static const struct drbg_kat kat157_nor = {
  4748. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat157_nor_t
  4749. };
  4750. static const unsigned char kat158_nor_entropyin[] = {
  4751. 0xd8, 0x99, 0x7d, 0x36, 0xed, 0x9d, 0x8d, 0x50, 0xa1, 0x90, 0xed, 0x4f,
  4752. 0xf8, 0x16, 0x0a, 0xcf,
  4753. };
  4754. static const unsigned char kat158_nor_nonce[] = {
  4755. 0xd9, 0xb4, 0xad, 0xd5, 0xce, 0x5a, 0x28, 0xb9,
  4756. };
  4757. static const unsigned char kat158_nor_persstr[] = {
  4758. 0xfd, 0x9f, 0x0c, 0xfd, 0xb8, 0x0e, 0xe5, 0x81, 0xe8, 0x36, 0x76, 0xcf,
  4759. 0xc4, 0xfa, 0x09, 0xd7,
  4760. };
  4761. static const unsigned char kat158_nor_addin0[] = {0};
  4762. static const unsigned char kat158_nor_addin1[] = {0};
  4763. static const unsigned char kat158_nor_retbytes[] = {
  4764. 0x68, 0x50, 0xdb, 0x84, 0xa8, 0x68, 0xeb, 0x1f, 0x0d, 0xe7, 0x5a, 0x38,
  4765. 0x81, 0xa4, 0xec, 0x79, 0xa1, 0x15, 0x6f, 0x30, 0xb8, 0x61, 0x8c, 0xa1,
  4766. 0x6e, 0x55, 0x17, 0x5a, 0xb6, 0xf8, 0x40, 0x93, 0x2d, 0x21, 0xa3, 0x40,
  4767. 0xd9, 0x46, 0x5f, 0xa1, 0x2a, 0x58, 0x7c, 0xff, 0x1f, 0x87, 0x86, 0x27,
  4768. 0xaa, 0xd2, 0xe9, 0xc8, 0x27, 0x84, 0xf6, 0x50, 0xdf, 0xca, 0xbd, 0x12,
  4769. 0xb3, 0x6c, 0xdb, 0x1b, 0x10, 0xa2, 0xd1, 0x75, 0x1d, 0x97, 0x56, 0xb5,
  4770. 0xe2, 0x89, 0xe8, 0xaa, 0x7d, 0x23, 0x02, 0xeb,
  4771. };
  4772. static const struct drbg_kat_no_reseed kat158_nor_t = {
  4773. 7, kat158_nor_entropyin, kat158_nor_nonce, kat158_nor_persstr,
  4774. kat158_nor_addin0, kat158_nor_addin1, kat158_nor_retbytes
  4775. };
  4776. static const struct drbg_kat kat158_nor = {
  4777. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat158_nor_t
  4778. };
  4779. static const unsigned char kat159_nor_entropyin[] = {
  4780. 0x02, 0x85, 0xda, 0x43, 0x1e, 0xd1, 0xc6, 0x18, 0x07, 0x8e, 0x1b, 0x4e,
  4781. 0xd9, 0xef, 0xfc, 0xa4,
  4782. };
  4783. static const unsigned char kat159_nor_nonce[] = {
  4784. 0xf1, 0x0a, 0x22, 0xcf, 0x4a, 0xdb, 0x6c, 0x3f,
  4785. };
  4786. static const unsigned char kat159_nor_persstr[] = {
  4787. 0x07, 0x3b, 0x53, 0x7b, 0x35, 0xc6, 0xa4, 0x97, 0xe4, 0x78, 0x51, 0x6e,
  4788. 0xd7, 0x97, 0x83, 0xee,
  4789. };
  4790. static const unsigned char kat159_nor_addin0[] = {0};
  4791. static const unsigned char kat159_nor_addin1[] = {0};
  4792. static const unsigned char kat159_nor_retbytes[] = {
  4793. 0x12, 0xf8, 0xf3, 0x57, 0x63, 0x3b, 0x5c, 0x76, 0x96, 0x65, 0xc3, 0x33,
  4794. 0xb9, 0x75, 0xa8, 0x1e, 0xd9, 0x7f, 0x94, 0x0f, 0x50, 0x09, 0x4b, 0xda,
  4795. 0xb1, 0xe2, 0x78, 0x12, 0x63, 0x56, 0xf9, 0xf9, 0xda, 0xb2, 0x1a, 0x2f,
  4796. 0xea, 0x61, 0xa0, 0xf4, 0x91, 0x14, 0x39, 0x78, 0x89, 0x42, 0x38, 0xc0,
  4797. 0x4c, 0xf4, 0x95, 0x6a, 0xe8, 0xff, 0xab, 0xad, 0xb6, 0xab, 0xf0, 0xac,
  4798. 0x4e, 0xfe, 0xf7, 0x6d, 0x5a, 0x58, 0x1e, 0xd7, 0x97, 0x94, 0x8c, 0x66,
  4799. 0x72, 0x00, 0x8a, 0x89, 0x73, 0xe9, 0x75, 0x67,
  4800. };
  4801. static const struct drbg_kat_no_reseed kat159_nor_t = {
  4802. 8, kat159_nor_entropyin, kat159_nor_nonce, kat159_nor_persstr,
  4803. kat159_nor_addin0, kat159_nor_addin1, kat159_nor_retbytes
  4804. };
  4805. static const struct drbg_kat kat159_nor = {
  4806. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat159_nor_t
  4807. };
  4808. static const unsigned char kat160_nor_entropyin[] = {
  4809. 0xd6, 0xb7, 0x35, 0xfd, 0xa7, 0x41, 0x9f, 0x43, 0x23, 0x1d, 0x90, 0x51,
  4810. 0xd7, 0x35, 0x41, 0xf6,
  4811. };
  4812. static const unsigned char kat160_nor_nonce[] = {
  4813. 0x7e, 0x09, 0x5b, 0x38, 0xbe, 0x8e, 0xc5, 0x49,
  4814. };
  4815. static const unsigned char kat160_nor_persstr[] = {
  4816. 0x27, 0x87, 0x2a, 0xf7, 0x30, 0xf3, 0xab, 0x90, 0xa3, 0xa5, 0x20, 0xe3,
  4817. 0x24, 0xc9, 0x08, 0xa0,
  4818. };
  4819. static const unsigned char kat160_nor_addin0[] = {0};
  4820. static const unsigned char kat160_nor_addin1[] = {0};
  4821. static const unsigned char kat160_nor_retbytes[] = {
  4822. 0xf6, 0x84, 0x24, 0x8e, 0x03, 0x9a, 0x99, 0x19, 0x77, 0x3e, 0x17, 0x80,
  4823. 0x86, 0xde, 0xb5, 0x58, 0x10, 0x52, 0xee, 0x66, 0xec, 0x06, 0x23, 0x6a,
  4824. 0x49, 0x72, 0xe4, 0x45, 0x9a, 0xe1, 0x6f, 0x7d, 0x5d, 0xe6, 0x6c, 0x74,
  4825. 0x23, 0x18, 0x9f, 0x12, 0xe1, 0xc9, 0xa1, 0x05, 0xd1, 0xfb, 0x15, 0x00,
  4826. 0x01, 0x0e, 0xb2, 0x80, 0xf3, 0x46, 0xb4, 0x5d, 0x96, 0xac, 0x90, 0x38,
  4827. 0x9f, 0xf5, 0x17, 0x4c, 0xc0, 0x09, 0x11, 0xec, 0x3a, 0x89, 0x72, 0xed,
  4828. 0x02, 0x8f, 0x74, 0xeb, 0xa8, 0x34, 0x77, 0x32,
  4829. };
  4830. static const struct drbg_kat_no_reseed kat160_nor_t = {
  4831. 9, kat160_nor_entropyin, kat160_nor_nonce, kat160_nor_persstr,
  4832. kat160_nor_addin0, kat160_nor_addin1, kat160_nor_retbytes
  4833. };
  4834. static const struct drbg_kat kat160_nor = {
  4835. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat160_nor_t
  4836. };
  4837. static const unsigned char kat161_nor_entropyin[] = {
  4838. 0x87, 0x06, 0xde, 0xce, 0x8a, 0x59, 0x5f, 0x0c, 0x48, 0x85, 0xc1, 0x46,
  4839. 0x95, 0xff, 0x29, 0xd9,
  4840. };
  4841. static const unsigned char kat161_nor_nonce[] = {
  4842. 0x96, 0x58, 0x7c, 0x6f, 0x34, 0xd2, 0x9e, 0x6f,
  4843. };
  4844. static const unsigned char kat161_nor_persstr[] = {
  4845. 0xbd, 0x77, 0x0a, 0x8f, 0x31, 0xf7, 0x84, 0x82, 0xb2, 0xca, 0x2e, 0x1e,
  4846. 0x4b, 0x24, 0xb3, 0x3b,
  4847. };
  4848. static const unsigned char kat161_nor_addin0[] = {0};
  4849. static const unsigned char kat161_nor_addin1[] = {0};
  4850. static const unsigned char kat161_nor_retbytes[] = {
  4851. 0x4d, 0x30, 0x52, 0x3f, 0xc5, 0x74, 0xd6, 0x35, 0x2b, 0xad, 0xa3, 0xd2,
  4852. 0x56, 0x71, 0x78, 0xc7, 0x02, 0x80, 0x5a, 0xde, 0xef, 0x69, 0xbd, 0x68,
  4853. 0x20, 0xed, 0x97, 0x14, 0x6b, 0xb3, 0x0d, 0x09, 0xc1, 0x6f, 0xff, 0x50,
  4854. 0x20, 0x89, 0xa9, 0x0f, 0x9c, 0x99, 0x36, 0x86, 0xc7, 0x2c, 0x40, 0x18,
  4855. 0x25, 0xa8, 0x3f, 0x09, 0x4e, 0x81, 0x52, 0xaf, 0x22, 0x1d, 0x71, 0xd5,
  4856. 0x5e, 0x68, 0x82, 0xa1, 0x0f, 0x4d, 0x17, 0xaa, 0x08, 0xdf, 0xbe, 0x54,
  4857. 0xb2, 0x63, 0xd2, 0xba, 0xae, 0x0b, 0x83, 0xd4,
  4858. };
  4859. static const struct drbg_kat_no_reseed kat161_nor_t = {
  4860. 10, kat161_nor_entropyin, kat161_nor_nonce, kat161_nor_persstr,
  4861. kat161_nor_addin0, kat161_nor_addin1, kat161_nor_retbytes
  4862. };
  4863. static const struct drbg_kat kat161_nor = {
  4864. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat161_nor_t
  4865. };
  4866. static const unsigned char kat162_nor_entropyin[] = {
  4867. 0x32, 0x52, 0x6f, 0x30, 0xf3, 0x61, 0xbc, 0xd4, 0xdf, 0x58, 0x02, 0x72,
  4868. 0x44, 0x42, 0xb0, 0x1d,
  4869. };
  4870. static const unsigned char kat162_nor_nonce[] = {
  4871. 0x19, 0x29, 0xdf, 0xb1, 0x7d, 0x50, 0x04, 0x42,
  4872. };
  4873. static const unsigned char kat162_nor_persstr[] = {
  4874. 0xf9, 0x45, 0xc1, 0xe2, 0xea, 0xbc, 0x43, 0x51, 0x93, 0x13, 0x46, 0x28,
  4875. 0xbc, 0x8c, 0x03, 0xe1,
  4876. };
  4877. static const unsigned char kat162_nor_addin0[] = {0};
  4878. static const unsigned char kat162_nor_addin1[] = {0};
  4879. static const unsigned char kat162_nor_retbytes[] = {
  4880. 0xe8, 0x96, 0x26, 0x54, 0x57, 0xd9, 0x25, 0x1f, 0x40, 0x62, 0xa1, 0x4f,
  4881. 0x08, 0xd1, 0x6a, 0xe5, 0xc4, 0xff, 0x37, 0x0b, 0x46, 0x75, 0xf2, 0x0f,
  4882. 0xed, 0x95, 0x11, 0xea, 0xd9, 0x99, 0xa5, 0xe4, 0xab, 0x70, 0x94, 0xba,
  4883. 0x66, 0x78, 0xe6, 0x9a, 0xbc, 0x7a, 0x95, 0x91, 0x66, 0x76, 0x28, 0x0c,
  4884. 0x7f, 0x78, 0xcf, 0xbe, 0xd7, 0xdf, 0xce, 0xa4, 0x64, 0x93, 0xf5, 0x76,
  4885. 0x34, 0xe9, 0x3d, 0xd1, 0x87, 0x00, 0x60, 0x7e, 0x1e, 0x19, 0xb7, 0x8a,
  4886. 0x57, 0xd1, 0xe4, 0x7b, 0xa0, 0x79, 0xe4, 0x05,
  4887. };
  4888. static const struct drbg_kat_no_reseed kat162_nor_t = {
  4889. 11, kat162_nor_entropyin, kat162_nor_nonce, kat162_nor_persstr,
  4890. kat162_nor_addin0, kat162_nor_addin1, kat162_nor_retbytes
  4891. };
  4892. static const struct drbg_kat kat162_nor = {
  4893. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat162_nor_t
  4894. };
  4895. static const unsigned char kat163_nor_entropyin[] = {
  4896. 0x87, 0x4b, 0x0d, 0xd4, 0x2d, 0x1d, 0xdf, 0xb3, 0xd3, 0x83, 0x52, 0x71,
  4897. 0xf5, 0x73, 0x16, 0x29,
  4898. };
  4899. static const unsigned char kat163_nor_nonce[] = {
  4900. 0x87, 0xb6, 0xc8, 0x9e, 0xda, 0x28, 0x47, 0x8a,
  4901. };
  4902. static const unsigned char kat163_nor_persstr[] = {
  4903. 0x7d, 0x5b, 0x80, 0x24, 0x74, 0x11, 0xc0, 0x67, 0x79, 0x7d, 0xfc, 0x10,
  4904. 0xc1, 0x66, 0x87, 0x75,
  4905. };
  4906. static const unsigned char kat163_nor_addin0[] = {0};
  4907. static const unsigned char kat163_nor_addin1[] = {0};
  4908. static const unsigned char kat163_nor_retbytes[] = {
  4909. 0x69, 0x97, 0x23, 0x85, 0x9d, 0x25, 0xab, 0x75, 0x9a, 0x9b, 0x8b, 0x37,
  4910. 0x28, 0xa6, 0x7b, 0xf6, 0x39, 0xe0, 0x2b, 0x80, 0x5d, 0x5e, 0xa7, 0xb6,
  4911. 0xe6, 0xd6, 0x14, 0xec, 0x29, 0x72, 0x8b, 0x68, 0xd6, 0xd9, 0xed, 0x29,
  4912. 0xa9, 0x3a, 0xb1, 0xf1, 0xc6, 0x24, 0xd3, 0xf2, 0xd5, 0xca, 0x18, 0x26,
  4913. 0xcd, 0x09, 0xcc, 0x1c, 0x55, 0x55, 0x60, 0x45, 0x37, 0x56, 0x7f, 0xa6,
  4914. 0xfd, 0xb1, 0xf6, 0x62, 0x2d, 0x29, 0xf2, 0xd8, 0x1d, 0x1d, 0xd7, 0xc2,
  4915. 0x31, 0x79, 0xd7, 0x5c, 0x43, 0xd7, 0x2f, 0x06,
  4916. };
  4917. static const struct drbg_kat_no_reseed kat163_nor_t = {
  4918. 12, kat163_nor_entropyin, kat163_nor_nonce, kat163_nor_persstr,
  4919. kat163_nor_addin0, kat163_nor_addin1, kat163_nor_retbytes
  4920. };
  4921. static const struct drbg_kat kat163_nor = {
  4922. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat163_nor_t
  4923. };
  4924. static const unsigned char kat164_nor_entropyin[] = {
  4925. 0x51, 0x62, 0x63, 0x6e, 0x7b, 0x1a, 0x5c, 0xf9, 0xb1, 0xc1, 0x4d, 0x72,
  4926. 0x3b, 0xb3, 0xee, 0xb9,
  4927. };
  4928. static const unsigned char kat164_nor_nonce[] = {
  4929. 0x21, 0xe5, 0xb1, 0x77, 0xf1, 0x19, 0xc4, 0x77,
  4930. };
  4931. static const unsigned char kat164_nor_persstr[] = {
  4932. 0x65, 0x13, 0x31, 0x8d, 0x80, 0x21, 0x85, 0x46, 0x38, 0x5c, 0x2a, 0xfc,
  4933. 0x56, 0xe4, 0x11, 0x6d,
  4934. };
  4935. static const unsigned char kat164_nor_addin0[] = {0};
  4936. static const unsigned char kat164_nor_addin1[] = {0};
  4937. static const unsigned char kat164_nor_retbytes[] = {
  4938. 0xc2, 0x95, 0xe6, 0x51, 0x5a, 0xbf, 0x25, 0x98, 0x12, 0x27, 0x52, 0xb2,
  4939. 0x4b, 0x4b, 0xb1, 0x49, 0x3d, 0x82, 0x1e, 0x6b, 0xb1, 0x95, 0x61, 0xc2,
  4940. 0x69, 0x0d, 0xfb, 0xc0, 0x61, 0x19, 0xc8, 0x65, 0x39, 0xc0, 0xd2, 0x10,
  4941. 0x02, 0xd2, 0x44, 0x84, 0x74, 0x76, 0x2d, 0x60, 0x75, 0x1b, 0xa8, 0xa5,
  4942. 0x81, 0x65, 0xf6, 0x6f, 0xca, 0xf6, 0x34, 0x2d, 0xcd, 0x4e, 0x46, 0x83,
  4943. 0x63, 0x46, 0x2f, 0x94, 0x14, 0x9d, 0xa6, 0x63, 0x6c, 0x54, 0x8f, 0xe5,
  4944. 0xb9, 0xf2, 0xaa, 0xd1, 0x38, 0xa5, 0x4a, 0x43,
  4945. };
  4946. static const struct drbg_kat_no_reseed kat164_nor_t = {
  4947. 13, kat164_nor_entropyin, kat164_nor_nonce, kat164_nor_persstr,
  4948. kat164_nor_addin0, kat164_nor_addin1, kat164_nor_retbytes
  4949. };
  4950. static const struct drbg_kat kat164_nor = {
  4951. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat164_nor_t
  4952. };
  4953. static const unsigned char kat165_nor_entropyin[] = {
  4954. 0xf8, 0xa1, 0x56, 0x6d, 0x14, 0xff, 0xf9, 0x2e, 0x8d, 0xe3, 0x79, 0xd1,
  4955. 0x68, 0xff, 0x3c, 0xfa,
  4956. };
  4957. static const unsigned char kat165_nor_nonce[] = {
  4958. 0x4e, 0x83, 0x8a, 0x12, 0x4e, 0x4b, 0x53, 0xdf,
  4959. };
  4960. static const unsigned char kat165_nor_persstr[] = {
  4961. 0x16, 0x3e, 0x39, 0x3b, 0x29, 0x0a, 0x4d, 0x39, 0x0a, 0xb0, 0xbe, 0xb3,
  4962. 0x92, 0xf5, 0x2d, 0x26,
  4963. };
  4964. static const unsigned char kat165_nor_addin0[] = {0};
  4965. static const unsigned char kat165_nor_addin1[] = {0};
  4966. static const unsigned char kat165_nor_retbytes[] = {
  4967. 0x76, 0x23, 0x4a, 0xfc, 0x29, 0x6e, 0xa3, 0x6a, 0x44, 0x25, 0x4f, 0x99,
  4968. 0x9a, 0xc3, 0x1f, 0xca, 0x25, 0x8a, 0x24, 0x42, 0x7c, 0xf4, 0xbf, 0xe2,
  4969. 0xc5, 0x44, 0x95, 0xfc, 0x41, 0x47, 0x8e, 0xc4, 0xa0, 0x0b, 0x54, 0x06,
  4970. 0x59, 0xb3, 0xb9, 0x46, 0x1c, 0xc6, 0x18, 0x8b, 0xc1, 0xf5, 0x7c, 0x19,
  4971. 0xae, 0x41, 0x4b, 0xd1, 0x8a, 0xa8, 0x1e, 0xca, 0x7b, 0x9d, 0x76, 0x5a,
  4972. 0x78, 0x4f, 0x0e, 0xf2, 0x43, 0x35, 0xe4, 0x6c, 0x2c, 0x77, 0xb8, 0xdc,
  4973. 0x91, 0x5f, 0x5d, 0x12, 0xc2, 0x6b, 0xc6, 0x53,
  4974. };
  4975. static const struct drbg_kat_no_reseed kat165_nor_t = {
  4976. 14, kat165_nor_entropyin, kat165_nor_nonce, kat165_nor_persstr,
  4977. kat165_nor_addin0, kat165_nor_addin1, kat165_nor_retbytes
  4978. };
  4979. static const struct drbg_kat kat165_nor = {
  4980. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat165_nor_t
  4981. };
  4982. static const unsigned char kat166_nor_entropyin[] = {
  4983. 0x5e, 0x05, 0x66, 0xb6, 0x60, 0x63, 0x1b, 0x94, 0xbf, 0xa0, 0x96, 0xb3,
  4984. 0x22, 0x5d, 0x59, 0xe3,
  4985. };
  4986. static const unsigned char kat166_nor_nonce[] = {
  4987. 0x81, 0x2b, 0xba, 0x14, 0x29, 0x37, 0x56, 0x2d,
  4988. };
  4989. static const unsigned char kat166_nor_persstr[] = {
  4990. 0x08, 0xe8, 0x3a, 0x8e, 0x3d, 0x50, 0xe5, 0x0d, 0xb2, 0xb0, 0xbe, 0x92,
  4991. 0xf2, 0x36, 0xf7, 0x86,
  4992. };
  4993. static const unsigned char kat166_nor_addin0[] = {
  4994. 0x49, 0x6b, 0x30, 0xce, 0xb7, 0xef, 0x9e, 0xbe, 0x9d, 0x44, 0x9d, 0x12,
  4995. 0x4d, 0x22, 0x02, 0xa6,
  4996. };
  4997. static const unsigned char kat166_nor_addin1[] = {
  4998. 0x2d, 0xf0, 0xb0, 0x3d, 0xd0, 0xec, 0xec, 0xd2, 0x05, 0x52, 0xfb, 0xfd,
  4999. 0x33, 0x18, 0x8d, 0x4f,
  5000. };
  5001. static const unsigned char kat166_nor_retbytes[] = {
  5002. 0x48, 0x1e, 0x35, 0x58, 0xc5, 0x0c, 0xb6, 0x69, 0x16, 0x44, 0x48, 0x00,
  5003. 0x1d, 0xaa, 0x1d, 0x56, 0x3c, 0x52, 0xaf, 0xe1, 0x4a, 0x92, 0xb5, 0x8d,
  5004. 0xbf, 0xa6, 0x12, 0xf0, 0xec, 0xd9, 0x4e, 0x2e, 0x64, 0x23, 0x40, 0xa3,
  5005. 0x90, 0x70, 0x28, 0xfe, 0xcc, 0x21, 0x40, 0x87, 0xab, 0xef, 0xe3, 0xb6,
  5006. 0x5c, 0x8f, 0xc2, 0xe0, 0x25, 0x5f, 0x52, 0x0c, 0x85, 0xbf, 0x62, 0xf0,
  5007. 0x2a, 0x7e, 0x18, 0x79, 0x69, 0x50, 0xf4, 0xfd, 0xd4, 0xa4, 0x08, 0xbe,
  5008. 0xc6, 0x92, 0x4e, 0xa5, 0x02, 0x36, 0x05, 0x90,
  5009. };
  5010. static const struct drbg_kat_no_reseed kat166_nor_t = {
  5011. 0, kat166_nor_entropyin, kat166_nor_nonce, kat166_nor_persstr,
  5012. kat166_nor_addin0, kat166_nor_addin1, kat166_nor_retbytes
  5013. };
  5014. static const struct drbg_kat kat166_nor = {
  5015. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat166_nor_t
  5016. };
  5017. static const unsigned char kat167_nor_entropyin[] = {
  5018. 0xf9, 0xbd, 0x51, 0x0f, 0x8a, 0xb8, 0x9e, 0xe8, 0x45, 0x10, 0x69, 0xf3,
  5019. 0xf9, 0xc0, 0x1c, 0xb0,
  5020. };
  5021. static const unsigned char kat167_nor_nonce[] = {
  5022. 0xa4, 0x22, 0xdf, 0xa0, 0xb0, 0x62, 0x1e, 0xa0,
  5023. };
  5024. static const unsigned char kat167_nor_persstr[] = {
  5025. 0x94, 0xb4, 0xb3, 0xcf, 0x14, 0x53, 0x45, 0x7f, 0xd5, 0x8e, 0xdc, 0xf4,
  5026. 0xae, 0xaf, 0x4c, 0x4c,
  5027. };
  5028. static const unsigned char kat167_nor_addin0[] = {
  5029. 0x30, 0x66, 0xbd, 0xe4, 0xe2, 0x6c, 0x14, 0xda, 0x64, 0x9f, 0xc0, 0xcb,
  5030. 0x71, 0x4b, 0x7e, 0x20,
  5031. };
  5032. static const unsigned char kat167_nor_addin1[] = {
  5033. 0x40, 0x54, 0x4e, 0x97, 0x2e, 0x9a, 0x7b, 0xc2, 0x27, 0xc8, 0x7f, 0xeb,
  5034. 0x19, 0x3a, 0x85, 0xeb,
  5035. };
  5036. static const unsigned char kat167_nor_retbytes[] = {
  5037. 0x44, 0xf9, 0x71, 0x34, 0x7a, 0xbb, 0x13, 0xb4, 0x50, 0x30, 0xef, 0x60,
  5038. 0x03, 0xac, 0x15, 0x4e, 0x07, 0x6e, 0x6e, 0xf4, 0x9e, 0xc5, 0x84, 0x9d,
  5039. 0x80, 0xf0, 0x92, 0x65, 0x07, 0x01, 0x55, 0x9c, 0x41, 0xcf, 0x6e, 0xeb,
  5040. 0x02, 0xe8, 0xd8, 0xe3, 0x19, 0xa5, 0xb7, 0x56, 0x95, 0x01, 0x4d, 0xb8,
  5041. 0x95, 0xde, 0x56, 0xdb, 0x11, 0x21, 0x79, 0x8f, 0x8e, 0x68, 0x1e, 0x6f,
  5042. 0x4a, 0x3e, 0xc6, 0x6e, 0x85, 0x3f, 0x01, 0x3b, 0x01, 0x78, 0x59, 0xd1,
  5043. 0xc7, 0x6d, 0x34, 0x8c, 0x0e, 0xe7, 0x26, 0x65,
  5044. };
  5045. static const struct drbg_kat_no_reseed kat167_nor_t = {
  5046. 1, kat167_nor_entropyin, kat167_nor_nonce, kat167_nor_persstr,
  5047. kat167_nor_addin0, kat167_nor_addin1, kat167_nor_retbytes
  5048. };
  5049. static const struct drbg_kat kat167_nor = {
  5050. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat167_nor_t
  5051. };
  5052. static const unsigned char kat168_nor_entropyin[] = {
  5053. 0x10, 0x5d, 0x33, 0xd2, 0x36, 0x2b, 0x87, 0xad, 0x3e, 0xe5, 0x1f, 0xd7,
  5054. 0xac, 0x74, 0xb7, 0x56,
  5055. };
  5056. static const unsigned char kat168_nor_nonce[] = {
  5057. 0xcf, 0xa2, 0x0f, 0x0e, 0x56, 0x6d, 0xc5, 0xc7,
  5058. };
  5059. static const unsigned char kat168_nor_persstr[] = {
  5060. 0x76, 0x4c, 0x28, 0xee, 0x81, 0x33, 0x6a, 0xed, 0xca, 0x87, 0x2c, 0xe2,
  5061. 0x66, 0xd5, 0x63, 0x13,
  5062. };
  5063. static const unsigned char kat168_nor_addin0[] = {
  5064. 0x12, 0xcc, 0xa7, 0x0d, 0xcf, 0x8b, 0xee, 0x7f, 0xcb, 0x19, 0x89, 0x49,
  5065. 0x83, 0x9b, 0x14, 0x40,
  5066. };
  5067. static const unsigned char kat168_nor_addin1[] = {
  5068. 0x11, 0x4b, 0xc1, 0x7e, 0x43, 0x91, 0xcc, 0x4f, 0xe8, 0xcd, 0x45, 0x15,
  5069. 0xc2, 0xeb, 0x05, 0xa9,
  5070. };
  5071. static const unsigned char kat168_nor_retbytes[] = {
  5072. 0x00, 0xdb, 0x80, 0x05, 0xe9, 0xc9, 0x19, 0x1c, 0x5c, 0xb1, 0xc8, 0x9f,
  5073. 0x79, 0xfe, 0x13, 0xa0, 0xe9, 0xb5, 0xb4, 0xe1, 0x0b, 0x4c, 0xc7, 0x72,
  5074. 0xc8, 0xad, 0x9f, 0x86, 0xd5, 0x7b, 0xb0, 0xf4, 0x3e, 0xc8, 0xa4, 0xb8,
  5075. 0x75, 0xa5, 0xd4, 0x25, 0x75, 0xb9, 0x1d, 0x6e, 0x52, 0x77, 0xb1, 0x82,
  5076. 0x75, 0xac, 0x76, 0x93, 0x25, 0xaf, 0x3f, 0xaf, 0xfb, 0xff, 0x6a, 0x9d,
  5077. 0x66, 0xf6, 0x85, 0x00, 0xa0, 0x7f, 0xae, 0xe8, 0x22, 0xd0, 0x8e, 0xd8,
  5078. 0xde, 0x79, 0x0b, 0xc5, 0x1c, 0xea, 0x80, 0xa9,
  5079. };
  5080. static const struct drbg_kat_no_reseed kat168_nor_t = {
  5081. 2, kat168_nor_entropyin, kat168_nor_nonce, kat168_nor_persstr,
  5082. kat168_nor_addin0, kat168_nor_addin1, kat168_nor_retbytes
  5083. };
  5084. static const struct drbg_kat kat168_nor = {
  5085. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat168_nor_t
  5086. };
  5087. static const unsigned char kat169_nor_entropyin[] = {
  5088. 0x5f, 0x21, 0xe9, 0x6d, 0x25, 0xa5, 0x4e, 0xc1, 0xdb, 0xa7, 0x3e, 0x67,
  5089. 0xb2, 0x20, 0x2d, 0xab,
  5090. };
  5091. static const unsigned char kat169_nor_nonce[] = {
  5092. 0xb8, 0xfd, 0x43, 0x45, 0xdc, 0x8e, 0xb0, 0x83,
  5093. };
  5094. static const unsigned char kat169_nor_persstr[] = {
  5095. 0x40, 0x92, 0xd3, 0x5f, 0xe7, 0x46, 0x09, 0xeb, 0x54, 0x0b, 0xfb, 0xc1,
  5096. 0x8f, 0x07, 0x88, 0xc6,
  5097. };
  5098. static const unsigned char kat169_nor_addin0[] = {
  5099. 0x2b, 0xcb, 0xc4, 0xa0, 0x21, 0x88, 0x4d, 0xb4, 0x10, 0xb7, 0xd2, 0x3a,
  5100. 0x35, 0x16, 0x29, 0x24,
  5101. };
  5102. static const unsigned char kat169_nor_addin1[] = {
  5103. 0x74, 0x20, 0xff, 0x1f, 0xbc, 0xf8, 0x33, 0xdb, 0x6a, 0xff, 0xfa, 0x4c,
  5104. 0x0f, 0x8b, 0xd0, 0xf8,
  5105. };
  5106. static const unsigned char kat169_nor_retbytes[] = {
  5107. 0x6f, 0x43, 0x3e, 0x45, 0x9b, 0x9a, 0xdc, 0xa5, 0xc7, 0x36, 0x93, 0xc5,
  5108. 0x86, 0xe9, 0xd3, 0x71, 0x83, 0xb9, 0xf8, 0xc4, 0x46, 0x38, 0x05, 0xcf,
  5109. 0x2b, 0x78, 0x4f, 0xcd, 0x8b, 0x9e, 0x67, 0x71, 0xf5, 0x3b, 0x6f, 0x8d,
  5110. 0xd8, 0xa9, 0x8e, 0x04, 0x76, 0x17, 0x33, 0x3c, 0xd2, 0x6e, 0xa7, 0xb7,
  5111. 0x6b, 0x2c, 0x7e, 0xfd, 0xc1, 0xcc, 0x2c, 0xcb, 0x88, 0x58, 0x77, 0x7f,
  5112. 0x64, 0x67, 0xb2, 0x22, 0xc5, 0x1e, 0xab, 0x14, 0xbc, 0x0d, 0x74, 0xc6,
  5113. 0x2a, 0xf7, 0x35, 0x82, 0x0e, 0xca, 0x54, 0xce,
  5114. };
  5115. static const struct drbg_kat_no_reseed kat169_nor_t = {
  5116. 3, kat169_nor_entropyin, kat169_nor_nonce, kat169_nor_persstr,
  5117. kat169_nor_addin0, kat169_nor_addin1, kat169_nor_retbytes
  5118. };
  5119. static const struct drbg_kat kat169_nor = {
  5120. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat169_nor_t
  5121. };
  5122. static const unsigned char kat170_nor_entropyin[] = {
  5123. 0xdb, 0x01, 0x94, 0x2b, 0x1e, 0x18, 0x9b, 0x29, 0x81, 0x40, 0x7d, 0xdf,
  5124. 0xb8, 0x4b, 0x30, 0x81,
  5125. };
  5126. static const unsigned char kat170_nor_nonce[] = {
  5127. 0x3f, 0xbe, 0x77, 0x68, 0xdc, 0xd6, 0x48, 0x70,
  5128. };
  5129. static const unsigned char kat170_nor_persstr[] = {
  5130. 0xeb, 0xa9, 0xf4, 0x97, 0x4b, 0x3c, 0xe7, 0xbf, 0x67, 0x57, 0x7f, 0xdb,
  5131. 0xb6, 0x91, 0x60, 0xad,
  5132. };
  5133. static const unsigned char kat170_nor_addin0[] = {
  5134. 0xf9, 0xf8, 0x5d, 0xc7, 0x36, 0x2a, 0x00, 0x95, 0x10, 0x95, 0x5f, 0x90,
  5135. 0x00, 0x42, 0x35, 0x56,
  5136. };
  5137. static const unsigned char kat170_nor_addin1[] = {
  5138. 0x7b, 0xd4, 0xf4, 0xd1, 0x30, 0xa5, 0xd6, 0x1b, 0xe1, 0x9e, 0xdc, 0xa0,
  5139. 0x70, 0x78, 0xe2, 0x8d,
  5140. };
  5141. static const unsigned char kat170_nor_retbytes[] = {
  5142. 0x57, 0xa4, 0xb0, 0xe9, 0x81, 0x76, 0x2f, 0x6b, 0xc6, 0xa9, 0x80, 0xb6,
  5143. 0x93, 0xa6, 0xe1, 0xda, 0xc8, 0x5c, 0xe3, 0x44, 0xe9, 0x8f, 0x63, 0xde,
  5144. 0x34, 0x5d, 0x34, 0x27, 0xd9, 0x8c, 0x4c, 0xcc, 0x00, 0x89, 0x2c, 0x6b,
  5145. 0x3e, 0xf7, 0x35, 0xbc, 0x27, 0x3f, 0x68, 0x57, 0x02, 0x1a, 0x1f, 0x2b,
  5146. 0x81, 0xbe, 0x7d, 0x60, 0xc2, 0x2e, 0x60, 0x04, 0x2f, 0xad, 0x87, 0x50,
  5147. 0x89, 0x4f, 0x77, 0xfe, 0x64, 0xbf, 0x25, 0x31, 0x2f, 0x15, 0x0f, 0xfe,
  5148. 0xe6, 0x12, 0x1b, 0x13, 0x45, 0x1a, 0xeb, 0xed,
  5149. };
  5150. static const struct drbg_kat_no_reseed kat170_nor_t = {
  5151. 4, kat170_nor_entropyin, kat170_nor_nonce, kat170_nor_persstr,
  5152. kat170_nor_addin0, kat170_nor_addin1, kat170_nor_retbytes
  5153. };
  5154. static const struct drbg_kat kat170_nor = {
  5155. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat170_nor_t
  5156. };
  5157. static const unsigned char kat171_nor_entropyin[] = {
  5158. 0x33, 0x75, 0xf0, 0x34, 0x06, 0x9c, 0x25, 0x69, 0xe6, 0x4d, 0x71, 0x8a,
  5159. 0x4d, 0xeb, 0x98, 0x74,
  5160. };
  5161. static const unsigned char kat171_nor_nonce[] = {
  5162. 0x58, 0xcf, 0x63, 0x12, 0x2c, 0x30, 0xc5, 0xf5,
  5163. };
  5164. static const unsigned char kat171_nor_persstr[] = {
  5165. 0x47, 0x65, 0x14, 0x2d, 0xa0, 0x16, 0x13, 0x78, 0x45, 0x83, 0xcf, 0xe5,
  5166. 0x9c, 0x5b, 0x9d, 0xdf,
  5167. };
  5168. static const unsigned char kat171_nor_addin0[] = {
  5169. 0x47, 0xdc, 0x67, 0x57, 0xcb, 0xce, 0x93, 0x86, 0x86, 0x78, 0x08, 0xb2,
  5170. 0x4f, 0x32, 0x78, 0xfa,
  5171. };
  5172. static const unsigned char kat171_nor_addin1[] = {
  5173. 0x20, 0x49, 0x63, 0x11, 0xbf, 0xad, 0x06, 0xcc, 0xd3, 0x46, 0x0c, 0x93,
  5174. 0x11, 0x07, 0xad, 0x87,
  5175. };
  5176. static const unsigned char kat171_nor_retbytes[] = {
  5177. 0xf5, 0x99, 0xcb, 0xbb, 0xf0, 0xd9, 0x3c, 0x9e, 0x30, 0x15, 0x1d, 0xd0,
  5178. 0x86, 0x89, 0x83, 0x8d, 0x41, 0x32, 0xe4, 0xd8, 0x3b, 0xd3, 0x80, 0x63,
  5179. 0xda, 0x1d, 0x84, 0x57, 0x66, 0xf4, 0xc3, 0x7b, 0x00, 0xbb, 0xd5, 0x60,
  5180. 0xb7, 0x83, 0x62, 0x68, 0x7c, 0xdf, 0x7d, 0x67, 0x43, 0x37, 0xd2, 0x03,
  5181. 0xa3, 0x34, 0x67, 0x22, 0x6d, 0x35, 0xcb, 0xdb, 0x6f, 0xc9, 0x24, 0xc9,
  5182. 0xb9, 0x66, 0xf9, 0xdf, 0x19, 0x96, 0x6f, 0x59, 0xf5, 0xf5, 0x7c, 0x9f,
  5183. 0x3b, 0x46, 0xe3, 0x06, 0x5e, 0xc8, 0xb6, 0x52,
  5184. };
  5185. static const struct drbg_kat_no_reseed kat171_nor_t = {
  5186. 5, kat171_nor_entropyin, kat171_nor_nonce, kat171_nor_persstr,
  5187. kat171_nor_addin0, kat171_nor_addin1, kat171_nor_retbytes
  5188. };
  5189. static const struct drbg_kat kat171_nor = {
  5190. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat171_nor_t
  5191. };
  5192. static const unsigned char kat172_nor_entropyin[] = {
  5193. 0x62, 0x9b, 0x62, 0x13, 0x1d, 0x5a, 0xf0, 0x4f, 0xe2, 0xe1, 0xf3, 0x77,
  5194. 0xc6, 0xfe, 0x7d, 0x01,
  5195. };
  5196. static const unsigned char kat172_nor_nonce[] = {
  5197. 0xca, 0xeb, 0x88, 0x81, 0x84, 0x52, 0x6f, 0x97,
  5198. };
  5199. static const unsigned char kat172_nor_persstr[] = {
  5200. 0xe9, 0x6e, 0x5c, 0xa5, 0x45, 0x5d, 0x7a, 0x26, 0x94, 0x1b, 0xd9, 0x93,
  5201. 0xe4, 0x80, 0xe6, 0x4e,
  5202. };
  5203. static const unsigned char kat172_nor_addin0[] = {
  5204. 0x0d, 0xd7, 0x0e, 0x0d, 0x02, 0x98, 0x47, 0x67, 0x29, 0x37, 0x58, 0x48,
  5205. 0x56, 0x19, 0xa3, 0x18,
  5206. };
  5207. static const unsigned char kat172_nor_addin1[] = {
  5208. 0x1b, 0x34, 0x05, 0xea, 0xa9, 0x84, 0x08, 0x01, 0x4e, 0x6b, 0x14, 0xf0,
  5209. 0x80, 0xb4, 0xb7, 0x40,
  5210. };
  5211. static const unsigned char kat172_nor_retbytes[] = {
  5212. 0x9c, 0xf2, 0x02, 0xd4, 0xd4, 0x9e, 0x74, 0x4a, 0xe4, 0xcf, 0xf5, 0x04,
  5213. 0x90, 0x49, 0x91, 0xe4, 0xd8, 0xad, 0x96, 0x12, 0xd6, 0x4d, 0xa8, 0xea,
  5214. 0x03, 0xba, 0x02, 0x3f, 0x54, 0xf4, 0xcc, 0x49, 0x59, 0x8d, 0x2f, 0x80,
  5215. 0x15, 0xb2, 0xc8, 0xbe, 0x84, 0x00, 0xb4, 0xa3, 0xd9, 0xb4, 0x4d, 0xda,
  5216. 0x53, 0x2b, 0x3e, 0x72, 0x4e, 0x27, 0xdd, 0x57, 0x44, 0xf8, 0xf3, 0xc7,
  5217. 0xd9, 0x9a, 0x33, 0x67, 0x09, 0x99, 0xb1, 0x1d, 0x40, 0x3d, 0x69, 0x4c,
  5218. 0x95, 0xcb, 0x7e, 0x06, 0xa8, 0xa0, 0xe0, 0xb4,
  5219. };
  5220. static const struct drbg_kat_no_reseed kat172_nor_t = {
  5221. 6, kat172_nor_entropyin, kat172_nor_nonce, kat172_nor_persstr,
  5222. kat172_nor_addin0, kat172_nor_addin1, kat172_nor_retbytes
  5223. };
  5224. static const struct drbg_kat kat172_nor = {
  5225. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat172_nor_t
  5226. };
  5227. static const unsigned char kat173_nor_entropyin[] = {
  5228. 0x1e, 0x46, 0xcc, 0xc7, 0xb6, 0x2a, 0x7a, 0x19, 0x95, 0x8d, 0x65, 0xcb,
  5229. 0x6d, 0x20, 0xc1, 0x06,
  5230. };
  5231. static const unsigned char kat173_nor_nonce[] = {
  5232. 0x68, 0x0b, 0xb7, 0xfa, 0x43, 0xb0, 0xdb, 0x4a,
  5233. };
  5234. static const unsigned char kat173_nor_persstr[] = {
  5235. 0x2e, 0x38, 0xeb, 0x08, 0x3f, 0xc5, 0xdb, 0x45, 0x98, 0x57, 0x6d, 0xae,
  5236. 0x95, 0xa0, 0x93, 0xb2,
  5237. };
  5238. static const unsigned char kat173_nor_addin0[] = {
  5239. 0x95, 0xb3, 0x64, 0x9a, 0xcf, 0xe5, 0x15, 0x8e, 0xf8, 0x09, 0x06, 0xc4,
  5240. 0x1a, 0xe7, 0x48, 0x7f,
  5241. };
  5242. static const unsigned char kat173_nor_addin1[] = {
  5243. 0x03, 0xa9, 0x0d, 0xc9, 0x38, 0x65, 0x0d, 0x30, 0xbe, 0x53, 0xcd, 0x72,
  5244. 0xc2, 0x69, 0x07, 0x14,
  5245. };
  5246. static const unsigned char kat173_nor_retbytes[] = {
  5247. 0x05, 0x49, 0x5f, 0x39, 0x99, 0x3c, 0x97, 0xe1, 0xf8, 0x4f, 0xae, 0xe2,
  5248. 0x05, 0x82, 0x64, 0xb1, 0xc2, 0x5b, 0x3e, 0xf6, 0x1f, 0x59, 0xeb, 0xa1,
  5249. 0x83, 0x2f, 0xa6, 0xaf, 0x8c, 0x11, 0xe2, 0x1b, 0xa3, 0xd4, 0xd3, 0x8c,
  5250. 0x25, 0x7a, 0x46, 0xef, 0xaa, 0xc7, 0x94, 0x2a, 0x58, 0x2b, 0x17, 0x27,
  5251. 0x7f, 0xec, 0x6b, 0x3a, 0x9a, 0x95, 0x4e, 0x3f, 0x32, 0x3c, 0x9a, 0x2a,
  5252. 0x9f, 0x8f, 0xa9, 0xf9, 0x0b, 0x1f, 0x47, 0xfb, 0xee, 0xc6, 0xd1, 0x06,
  5253. 0x98, 0x33, 0x7c, 0x18, 0x7e, 0x5b, 0x82, 0xc8,
  5254. };
  5255. static const struct drbg_kat_no_reseed kat173_nor_t = {
  5256. 7, kat173_nor_entropyin, kat173_nor_nonce, kat173_nor_persstr,
  5257. kat173_nor_addin0, kat173_nor_addin1, kat173_nor_retbytes
  5258. };
  5259. static const struct drbg_kat kat173_nor = {
  5260. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat173_nor_t
  5261. };
  5262. static const unsigned char kat174_nor_entropyin[] = {
  5263. 0x21, 0x95, 0x2d, 0xb3, 0x3e, 0xbd, 0xf9, 0xae, 0x6a, 0x78, 0x5f, 0x6a,
  5264. 0xf9, 0x80, 0x91, 0x54,
  5265. };
  5266. static const unsigned char kat174_nor_nonce[] = {
  5267. 0x72, 0x2e, 0xe3, 0x82, 0xe4, 0xa0, 0x4a, 0xe5,
  5268. };
  5269. static const unsigned char kat174_nor_persstr[] = {
  5270. 0xb9, 0x91, 0xbf, 0x9e, 0xb7, 0xcc, 0xa7, 0x6f, 0x25, 0xf4, 0x5e, 0x1d,
  5271. 0x0e, 0x0e, 0x96, 0xff,
  5272. };
  5273. static const unsigned char kat174_nor_addin0[] = {
  5274. 0xa8, 0xd8, 0xb6, 0xee, 0x7b, 0xe5, 0x2c, 0xb0, 0x41, 0x4c, 0x55, 0xa3,
  5275. 0x8f, 0x6a, 0xd7, 0x4c,
  5276. };
  5277. static const unsigned char kat174_nor_addin1[] = {
  5278. 0x7f, 0x5c, 0x64, 0xce, 0x33, 0x73, 0xc1, 0x54, 0x37, 0x6f, 0x4f, 0x18,
  5279. 0x9b, 0x11, 0xe6, 0xfe,
  5280. };
  5281. static const unsigned char kat174_nor_retbytes[] = {
  5282. 0x33, 0xbc, 0x2a, 0x75, 0x99, 0xb4, 0xa2, 0xdb, 0x6f, 0x0d, 0xd1, 0x89,
  5283. 0x6e, 0x40, 0xdc, 0xf6, 0x12, 0xb6, 0x26, 0x91, 0x95, 0xe8, 0x1b, 0x20,
  5284. 0xc4, 0x84, 0x2c, 0xda, 0x27, 0x22, 0x7f, 0xd9, 0xe7, 0x49, 0x11, 0xd5,
  5285. 0x50, 0x4f, 0xc3, 0x4c, 0xa0, 0xd8, 0x58, 0x41, 0x2b, 0x50, 0x82, 0xcc,
  5286. 0xe2, 0xc0, 0x7d, 0x37, 0x7e, 0xa4, 0xea, 0xa7, 0xe8, 0x78, 0x22, 0x94,
  5287. 0x60, 0xac, 0x2f, 0xb5, 0xad, 0xf2, 0x41, 0xb2, 0x92, 0xde, 0xc3, 0x1a,
  5288. 0xeb, 0xfa, 0x44, 0x34, 0xee, 0xff, 0x38, 0x08,
  5289. };
  5290. static const struct drbg_kat_no_reseed kat174_nor_t = {
  5291. 8, kat174_nor_entropyin, kat174_nor_nonce, kat174_nor_persstr,
  5292. kat174_nor_addin0, kat174_nor_addin1, kat174_nor_retbytes
  5293. };
  5294. static const struct drbg_kat kat174_nor = {
  5295. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat174_nor_t
  5296. };
  5297. static const unsigned char kat175_nor_entropyin[] = {
  5298. 0xf0, 0x81, 0xdd, 0x93, 0x2d, 0x9f, 0x5e, 0x53, 0xd9, 0xee, 0xe9, 0x80,
  5299. 0x7d, 0xb5, 0x8f, 0xcd,
  5300. };
  5301. static const unsigned char kat175_nor_nonce[] = {
  5302. 0x92, 0xf0, 0x27, 0xb1, 0x5c, 0xa5, 0x86, 0x6f,
  5303. };
  5304. static const unsigned char kat175_nor_persstr[] = {
  5305. 0x3c, 0xab, 0xd9, 0xfd, 0x3d, 0xe7, 0xe1, 0x96, 0xe1, 0x80, 0x3f, 0x36,
  5306. 0x19, 0xa3, 0xd0, 0x48,
  5307. };
  5308. static const unsigned char kat175_nor_addin0[] = {
  5309. 0x5a, 0xea, 0x80, 0x4f, 0x52, 0x50, 0x07, 0x5d, 0x54, 0x27, 0xde, 0x0e,
  5310. 0x73, 0xdf, 0x42, 0xda,
  5311. };
  5312. static const unsigned char kat175_nor_addin1[] = {
  5313. 0xed, 0xdc, 0x6c, 0x24, 0x28, 0x13, 0x84, 0x1e, 0xd7, 0xac, 0x48, 0x3e,
  5314. 0xb6, 0xcb, 0xab, 0x67,
  5315. };
  5316. static const unsigned char kat175_nor_retbytes[] = {
  5317. 0xbe, 0x50, 0x36, 0xd8, 0xf7, 0x9f, 0xc9, 0xc1, 0x02, 0x9c, 0x3f, 0x9e,
  5318. 0x42, 0xf1, 0x04, 0x53, 0x43, 0xdf, 0xca, 0x9e, 0xff, 0x6b, 0x74, 0xf6,
  5319. 0xac, 0x0b, 0x96, 0x66, 0xb4, 0xdf, 0x71, 0x51, 0xeb, 0xd1, 0x3f, 0xd0,
  5320. 0x52, 0xcc, 0x8b, 0xb9, 0xbc, 0x7b, 0x1c, 0xe6, 0xfc, 0xe0, 0xf2, 0x74,
  5321. 0x9f, 0x31, 0x3d, 0xf7, 0xb9, 0xd0, 0x6c, 0xeb, 0xf3, 0xf6, 0xaa, 0x93,
  5322. 0x62, 0x70, 0x03, 0x2e, 0x8e, 0x0d, 0xec, 0x34, 0x05, 0xee, 0x24, 0x6b,
  5323. 0x80, 0x82, 0x68, 0x50, 0xa1, 0x22, 0x89, 0x00,
  5324. };
  5325. static const struct drbg_kat_no_reseed kat175_nor_t = {
  5326. 9, kat175_nor_entropyin, kat175_nor_nonce, kat175_nor_persstr,
  5327. kat175_nor_addin0, kat175_nor_addin1, kat175_nor_retbytes
  5328. };
  5329. static const struct drbg_kat kat175_nor = {
  5330. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat175_nor_t
  5331. };
  5332. static const unsigned char kat176_nor_entropyin[] = {
  5333. 0x9e, 0xb9, 0x08, 0xf5, 0x09, 0xc7, 0x7c, 0x0a, 0xc9, 0x53, 0x56, 0x04,
  5334. 0x93, 0xf4, 0xdc, 0x28,
  5335. };
  5336. static const unsigned char kat176_nor_nonce[] = {
  5337. 0x1a, 0xeb, 0xf6, 0x9b, 0x03, 0xde, 0x5c, 0xf8,
  5338. };
  5339. static const unsigned char kat176_nor_persstr[] = {
  5340. 0xa7, 0xf0, 0x1f, 0x55, 0xfe, 0x0e, 0x6b, 0x6d, 0x73, 0x1f, 0x38, 0x7c,
  5341. 0xaf, 0x95, 0xd0, 0x45,
  5342. };
  5343. static const unsigned char kat176_nor_addin0[] = {
  5344. 0x5d, 0xca, 0x6d, 0x75, 0x18, 0x3f, 0x30, 0x92, 0xa1, 0x8c, 0x8d, 0xfd,
  5345. 0x95, 0x0f, 0xdf, 0x98,
  5346. };
  5347. static const unsigned char kat176_nor_addin1[] = {
  5348. 0x50, 0xeb, 0x0c, 0xc7, 0x6a, 0xa3, 0x8e, 0x31, 0xb8, 0x7e, 0x7c, 0xd8,
  5349. 0xdf, 0x95, 0x0f, 0x08,
  5350. };
  5351. static const unsigned char kat176_nor_retbytes[] = {
  5352. 0xba, 0x52, 0xcb, 0xdb, 0x84, 0x5f, 0x5e, 0xe8, 0x64, 0xfc, 0x1c, 0x17,
  5353. 0xc6, 0xbd, 0x0a, 0x68, 0x43, 0x9a, 0x7e, 0xee, 0x70, 0x27, 0xfe, 0xf5,
  5354. 0xa8, 0x08, 0x3b, 0x2e, 0x01, 0x46, 0xc6, 0x04, 0x64, 0x24, 0x65, 0x27,
  5355. 0xd5, 0x2a, 0xe5, 0x9f, 0xf5, 0x58, 0x0f, 0x33, 0x6b, 0x94, 0x59, 0x4f,
  5356. 0x5a, 0xa9, 0x33, 0xc3, 0xf7, 0x57, 0x44, 0xc7, 0x67, 0x84, 0xdf, 0x97,
  5357. 0x83, 0xbd, 0xc9, 0x1d, 0x13, 0x0e, 0x29, 0x65, 0x8f, 0xb2, 0x72, 0x04,
  5358. 0x5e, 0x95, 0x37, 0x94, 0xae, 0x9b, 0xb3, 0x16,
  5359. };
  5360. static const struct drbg_kat_no_reseed kat176_nor_t = {
  5361. 10, kat176_nor_entropyin, kat176_nor_nonce, kat176_nor_persstr,
  5362. kat176_nor_addin0, kat176_nor_addin1, kat176_nor_retbytes
  5363. };
  5364. static const struct drbg_kat kat176_nor = {
  5365. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat176_nor_t
  5366. };
  5367. static const unsigned char kat177_nor_entropyin[] = {
  5368. 0xf8, 0xcf, 0x96, 0x2f, 0x6e, 0x58, 0x39, 0x70, 0x02, 0x7d, 0x42, 0x63,
  5369. 0xf3, 0xf8, 0xb9, 0x36,
  5370. };
  5371. static const unsigned char kat177_nor_nonce[] = {
  5372. 0x0c, 0xc2, 0x39, 0xa1, 0xfe, 0x97, 0x50, 0xc7,
  5373. };
  5374. static const unsigned char kat177_nor_persstr[] = {
  5375. 0xc9, 0x25, 0x1c, 0x51, 0x9d, 0x55, 0x26, 0xd6, 0x88, 0x2f, 0x1b, 0x23,
  5376. 0x5f, 0xb9, 0xb9, 0x44,
  5377. };
  5378. static const unsigned char kat177_nor_addin0[] = {
  5379. 0x97, 0x52, 0xb7, 0xe4, 0x4c, 0x67, 0xda, 0x39, 0x0d, 0x4e, 0xd5, 0xe8,
  5380. 0xb9, 0x58, 0x17, 0xcb,
  5381. };
  5382. static const unsigned char kat177_nor_addin1[] = {
  5383. 0xd1, 0x8d, 0x46, 0x05, 0x12, 0x74, 0x7b, 0x63, 0x86, 0x52, 0xfd, 0x4d,
  5384. 0x45, 0x7b, 0xbc, 0xe9,
  5385. };
  5386. static const unsigned char kat177_nor_retbytes[] = {
  5387. 0x5a, 0x7e, 0x2a, 0xc6, 0x6b, 0x5f, 0xb1, 0x2b, 0x3e, 0xee, 0x1b, 0x6a,
  5388. 0xad, 0x4b, 0x34, 0xe2, 0x43, 0x9c, 0x53, 0x22, 0x9e, 0x6f, 0x2a, 0x10,
  5389. 0xa9, 0x20, 0x69, 0xf8, 0x03, 0x45, 0x62, 0xd1, 0x12, 0x5a, 0x70, 0x77,
  5390. 0x66, 0x93, 0x6b, 0x6e, 0x9c, 0x65, 0x51, 0xd7, 0xc8, 0xc0, 0x27, 0x75,
  5391. 0xa5, 0x72, 0x18, 0x81, 0xf1, 0x2a, 0x28, 0xe1, 0xd6, 0x3c, 0x18, 0xe4,
  5392. 0xa7, 0x86, 0x92, 0x32, 0x51, 0x19, 0x89, 0xc7, 0x9c, 0x5a, 0x8d, 0x3c,
  5393. 0xb1, 0xd4, 0xcb, 0x36, 0xea, 0x92, 0x1c, 0x78,
  5394. };
  5395. static const struct drbg_kat_no_reseed kat177_nor_t = {
  5396. 11, kat177_nor_entropyin, kat177_nor_nonce, kat177_nor_persstr,
  5397. kat177_nor_addin0, kat177_nor_addin1, kat177_nor_retbytes
  5398. };
  5399. static const struct drbg_kat kat177_nor = {
  5400. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat177_nor_t
  5401. };
  5402. static const unsigned char kat178_nor_entropyin[] = {
  5403. 0x55, 0xe3, 0x11, 0xa2, 0x3e, 0x87, 0x2b, 0xa9, 0x06, 0xbf, 0x06, 0x03,
  5404. 0x88, 0xe6, 0x0a, 0xe5,
  5405. };
  5406. static const unsigned char kat178_nor_nonce[] = {
  5407. 0x59, 0x72, 0xe7, 0xae, 0xb9, 0xf7, 0x53, 0x44,
  5408. };
  5409. static const unsigned char kat178_nor_persstr[] = {
  5410. 0xbe, 0x3f, 0x6e, 0x93, 0x23, 0x39, 0xc5, 0xb9, 0xf7, 0x1b, 0x87, 0xe7,
  5411. 0x2f, 0xf4, 0xda, 0xb1,
  5412. };
  5413. static const unsigned char kat178_nor_addin0[] = {
  5414. 0xfa, 0xb4, 0x6e, 0x39, 0x1e, 0x2c, 0x5f, 0x30, 0xb3, 0x72, 0x98, 0x64,
  5415. 0x3b, 0xc5, 0x5d, 0x50,
  5416. };
  5417. static const unsigned char kat178_nor_addin1[] = {
  5418. 0xcf, 0x4e, 0x54, 0x83, 0xcf, 0xd7, 0x94, 0xf0, 0x32, 0x69, 0xe2, 0x89,
  5419. 0xf2, 0xb4, 0xc0, 0x8c,
  5420. };
  5421. static const unsigned char kat178_nor_retbytes[] = {
  5422. 0x64, 0x8e, 0xc7, 0x77, 0x3f, 0x8c, 0x66, 0x4f, 0x3d, 0x7f, 0xb2, 0x79,
  5423. 0xb5, 0x1c, 0x5b, 0x9a, 0x3d, 0x9b, 0x06, 0x7d, 0x6a, 0xa5, 0x4e, 0x93,
  5424. 0xc9, 0xbb, 0x9a, 0x89, 0x2d, 0xa9, 0x1f, 0xad, 0x4a, 0x30, 0xe8, 0xe4,
  5425. 0xc5, 0x86, 0x6d, 0xda, 0xbd, 0x2b, 0xb4, 0x4b, 0x24, 0x3d, 0x7a, 0x3a,
  5426. 0x00, 0xaf, 0xfe, 0xc9, 0xef, 0xb7, 0x25, 0xc9, 0x51, 0x86, 0x2f, 0xf9,
  5427. 0x18, 0x43, 0x92, 0xdf, 0xd6, 0x26, 0xe7, 0x11, 0xe0, 0xa3, 0x84, 0x0d,
  5428. 0xb8, 0x49, 0xb1, 0xe3, 0xb0, 0x1b, 0x4f, 0xa4,
  5429. };
  5430. static const struct drbg_kat_no_reseed kat178_nor_t = {
  5431. 12, kat178_nor_entropyin, kat178_nor_nonce, kat178_nor_persstr,
  5432. kat178_nor_addin0, kat178_nor_addin1, kat178_nor_retbytes
  5433. };
  5434. static const struct drbg_kat kat178_nor = {
  5435. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat178_nor_t
  5436. };
  5437. static const unsigned char kat179_nor_entropyin[] = {
  5438. 0x4a, 0x98, 0x9e, 0x6b, 0xc3, 0x7b, 0x91, 0x57, 0xfe, 0xfe, 0x67, 0x89,
  5439. 0xaf, 0xf2, 0x30, 0xf3,
  5440. };
  5441. static const unsigned char kat179_nor_nonce[] = {
  5442. 0x7e, 0x5e, 0xe2, 0x46, 0x79, 0x8d, 0xd7, 0xbd,
  5443. };
  5444. static const unsigned char kat179_nor_persstr[] = {
  5445. 0xa7, 0xf5, 0xaf, 0x48, 0xda, 0x67, 0x7d, 0x67, 0x21, 0xd1, 0x1e, 0x28,
  5446. 0x4f, 0xb1, 0xff, 0xef,
  5447. };
  5448. static const unsigned char kat179_nor_addin0[] = {
  5449. 0x33, 0x51, 0x00, 0x20, 0x30, 0xee, 0xa1, 0x00, 0xc8, 0x48, 0x40, 0x74,
  5450. 0x8b, 0x0a, 0x3d, 0x4d,
  5451. };
  5452. static const unsigned char kat179_nor_addin1[] = {
  5453. 0xac, 0xd3, 0x2c, 0x8d, 0x51, 0x51, 0x09, 0xe9, 0x0d, 0xfe, 0x1b, 0xd9,
  5454. 0xe6, 0xb3, 0x26, 0xbd,
  5455. };
  5456. static const unsigned char kat179_nor_retbytes[] = {
  5457. 0xa7, 0x7b, 0xd7, 0xdc, 0x39, 0x86, 0xb4, 0x31, 0x36, 0x60, 0x6a, 0x20,
  5458. 0x9d, 0x60, 0x0a, 0xd9, 0x00, 0x68, 0xb5, 0x67, 0xa5, 0xe3, 0xa2, 0xf7,
  5459. 0x5e, 0x61, 0xb2, 0x74, 0x8e, 0x26, 0x5e, 0x50, 0x0f, 0xc7, 0xed, 0x49,
  5460. 0x2b, 0x8c, 0xdd, 0xe3, 0x9a, 0x6b, 0x0a, 0x87, 0xad, 0x4d, 0xd0, 0x05,
  5461. 0x29, 0xfa, 0x7f, 0xeb, 0x46, 0x35, 0xe3, 0x15, 0xb7, 0x11, 0x6e, 0x1c,
  5462. 0xe6, 0x25, 0x1a, 0x80, 0x6c, 0x7c, 0x87, 0x1f, 0x7c, 0xcc, 0x44, 0x75,
  5463. 0xe3, 0x32, 0x05, 0x4e, 0xf8, 0x12, 0xc6, 0x31,
  5464. };
  5465. static const struct drbg_kat_no_reseed kat179_nor_t = {
  5466. 13, kat179_nor_entropyin, kat179_nor_nonce, kat179_nor_persstr,
  5467. kat179_nor_addin0, kat179_nor_addin1, kat179_nor_retbytes
  5468. };
  5469. static const struct drbg_kat kat179_nor = {
  5470. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat179_nor_t
  5471. };
  5472. static const unsigned char kat180_nor_entropyin[] = {
  5473. 0x75, 0xdd, 0xc6, 0xb5, 0x8a, 0x06, 0xa0, 0xfe, 0xb2, 0x0b, 0x70, 0x3a,
  5474. 0xb6, 0xdd, 0x6d, 0xa0,
  5475. };
  5476. static const unsigned char kat180_nor_nonce[] = {
  5477. 0x52, 0x71, 0x30, 0xcd, 0xe5, 0x21, 0x4f, 0x55,
  5478. };
  5479. static const unsigned char kat180_nor_persstr[] = {
  5480. 0x3a, 0x2f, 0xa9, 0xc3, 0xb1, 0x33, 0x97, 0xed, 0x8e, 0xbd, 0xf5, 0x7d,
  5481. 0x1e, 0xfc, 0x1c, 0x97,
  5482. };
  5483. static const unsigned char kat180_nor_addin0[] = {
  5484. 0x27, 0x48, 0x6f, 0x8d, 0xae, 0x1b, 0x36, 0x46, 0x26, 0x39, 0xff, 0x7e,
  5485. 0xee, 0x86, 0x9a, 0x29,
  5486. };
  5487. static const unsigned char kat180_nor_addin1[] = {
  5488. 0xd1, 0xbf, 0xc7, 0xea, 0xbd, 0x8e, 0xdd, 0xf6, 0x22, 0x29, 0x70, 0x12,
  5489. 0x16, 0x9f, 0x35, 0x1b,
  5490. };
  5491. static const unsigned char kat180_nor_retbytes[] = {
  5492. 0x4c, 0x89, 0x3c, 0x3d, 0x1e, 0xd3, 0xa1, 0x90, 0xfa, 0x88, 0xe1, 0x59,
  5493. 0xd6, 0xc9, 0x9f, 0x26, 0xa0, 0x2f, 0xb5, 0xfc, 0xcb, 0x98, 0xbd, 0xef,
  5494. 0x9f, 0xe4, 0x3f, 0x1f, 0x49, 0x2f, 0x49, 0x01, 0x09, 0x22, 0x4b, 0xa6,
  5495. 0xc3, 0x17, 0xdb, 0x95, 0x69, 0xf6, 0x18, 0x98, 0x44, 0x09, 0xf2, 0xfb,
  5496. 0x3d, 0xb0, 0xb1, 0xe2, 0xcd, 0x4b, 0x95, 0x74, 0x6f, 0x15, 0x9c, 0xca,
  5497. 0x76, 0xf1, 0x20, 0x4f, 0x6d, 0x2a, 0x4c, 0x45, 0x5c, 0x54, 0x7a, 0x39,
  5498. 0xa5, 0xf7, 0x9f, 0xec, 0x95, 0xc8, 0xf4, 0xcd,
  5499. };
  5500. static const struct drbg_kat_no_reseed kat180_nor_t = {
  5501. 14, kat180_nor_entropyin, kat180_nor_nonce, kat180_nor_persstr,
  5502. kat180_nor_addin0, kat180_nor_addin1, kat180_nor_retbytes
  5503. };
  5504. static const struct drbg_kat kat180_nor = {
  5505. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat180_nor_t
  5506. };
  5507. static const unsigned char kat181_nor_entropyin[] = {
  5508. 0x4c, 0x2f, 0xbe, 0xa1, 0x66, 0xf7, 0x92, 0x0a, 0xf0, 0xf0, 0x52, 0x1e,
  5509. 0x22, 0x48, 0x72, 0x66,
  5510. };
  5511. static const unsigned char kat181_nor_nonce[] = {
  5512. 0xef, 0x58, 0xd3, 0x98, 0x07, 0xd5, 0x88, 0xd8,
  5513. };
  5514. static const unsigned char kat181_nor_persstr[] = {0};
  5515. static const unsigned char kat181_nor_addin0[] = {0};
  5516. static const unsigned char kat181_nor_addin1[] = {0};
  5517. static const unsigned char kat181_nor_retbytes[] = {
  5518. 0x54, 0xd8, 0xc2, 0x26, 0x6c, 0x0f, 0xa6, 0x61, 0x3e, 0x76, 0x76, 0x88,
  5519. 0x56, 0x88, 0x3d, 0xa0, 0xbd, 0xcd, 0x0d, 0x66, 0x21, 0x40, 0x7e, 0x85,
  5520. 0x99, 0x45, 0x1e, 0x28, 0x59, 0xb5, 0xd0, 0xb5, 0x6e, 0x58, 0x80, 0x89,
  5521. 0xe3, 0x9e, 0x22, 0x9d, 0xdf, 0x84, 0xf3, 0x26, 0x7b, 0xa5, 0xac, 0xde,
  5522. 0x53, 0x9e, 0x5c, 0x0e, 0x4d, 0x33, 0xaa, 0x51, 0xe1, 0x8e, 0x07, 0x58,
  5523. 0xe7, 0xb5, 0x2a, 0x24, 0x0d, 0x39, 0x94, 0xa7, 0x7e, 0xdc, 0x4b, 0xd8,
  5524. 0xd3, 0xc2, 0x54, 0xbe, 0xdb, 0xbe, 0x27, 0xf1,
  5525. };
  5526. static const struct drbg_kat_no_reseed kat181_nor_t = {
  5527. 0, kat181_nor_entropyin, kat181_nor_nonce, kat181_nor_persstr,
  5528. kat181_nor_addin0, kat181_nor_addin1, kat181_nor_retbytes
  5529. };
  5530. static const struct drbg_kat kat181_nor = {
  5531. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat181_nor_t
  5532. };
  5533. static const unsigned char kat182_nor_entropyin[] = {
  5534. 0x5d, 0x83, 0x9a, 0xd9, 0xed, 0xa9, 0x31, 0x02, 0x19, 0x01, 0xb2, 0x62,
  5535. 0xe4, 0x8f, 0xfc, 0x81,
  5536. };
  5537. static const unsigned char kat182_nor_nonce[] = {
  5538. 0xef, 0xbe, 0xe0, 0xdc, 0xb5, 0x60, 0x10, 0x86,
  5539. };
  5540. static const unsigned char kat182_nor_persstr[] = {0};
  5541. static const unsigned char kat182_nor_addin0[] = {0};
  5542. static const unsigned char kat182_nor_addin1[] = {0};
  5543. static const unsigned char kat182_nor_retbytes[] = {
  5544. 0xde, 0x5d, 0x11, 0x98, 0xd1, 0xda, 0x55, 0x80, 0x60, 0x56, 0xd7, 0x95,
  5545. 0x79, 0x40, 0x9f, 0xe7, 0x24, 0x15, 0xd1, 0x81, 0x14, 0x8d, 0xb8, 0x27,
  5546. 0x3b, 0x0c, 0xba, 0x1e, 0x9f, 0xf0, 0xa8, 0xf4, 0x55, 0x20, 0x47, 0xde,
  5547. 0xd2, 0xf5, 0x65, 0xe6, 0xff, 0x70, 0x35, 0xed, 0x42, 0x04, 0x78, 0xeb,
  5548. 0xbd, 0x8e, 0x4f, 0x0e, 0x30, 0x1d, 0xe8, 0xa5, 0xb5, 0x58, 0xf2, 0x37,
  5549. 0x3a, 0x57, 0x70, 0x8e, 0x05, 0xf0, 0x01, 0x77, 0x48, 0xc4, 0x0f, 0x7b,
  5550. 0xbd, 0xa2, 0xd2, 0x97, 0xbe, 0x23, 0xcf, 0xdb,
  5551. };
  5552. static const struct drbg_kat_no_reseed kat182_nor_t = {
  5553. 1, kat182_nor_entropyin, kat182_nor_nonce, kat182_nor_persstr,
  5554. kat182_nor_addin0, kat182_nor_addin1, kat182_nor_retbytes
  5555. };
  5556. static const struct drbg_kat kat182_nor = {
  5557. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat182_nor_t
  5558. };
  5559. static const unsigned char kat183_nor_entropyin[] = {
  5560. 0x80, 0x31, 0x71, 0xf0, 0x67, 0x59, 0x50, 0x3e, 0x5a, 0xca, 0x87, 0xee,
  5561. 0x10, 0xd3, 0x7f, 0xbe,
  5562. };
  5563. static const unsigned char kat183_nor_nonce[] = {
  5564. 0xdf, 0x19, 0x52, 0x7d, 0xf6, 0xda, 0x46, 0x6b,
  5565. };
  5566. static const unsigned char kat183_nor_persstr[] = {0};
  5567. static const unsigned char kat183_nor_addin0[] = {0};
  5568. static const unsigned char kat183_nor_addin1[] = {0};
  5569. static const unsigned char kat183_nor_retbytes[] = {
  5570. 0x8f, 0x71, 0xd3, 0x5e, 0x91, 0x48, 0x0b, 0x19, 0x31, 0x17, 0x4d, 0x08,
  5571. 0x0c, 0x90, 0x5a, 0xbb, 0xa4, 0xe1, 0x17, 0x94, 0x76, 0xa3, 0x5e, 0xaf,
  5572. 0xfb, 0x18, 0xdf, 0x53, 0x8b, 0x39, 0x7d, 0x45, 0xde, 0xcc, 0x4a, 0x4c,
  5573. 0x9f, 0xbe, 0xe8, 0xe8, 0xb7, 0x49, 0x11, 0xe7, 0xe3, 0x79, 0xd6, 0x7c,
  5574. 0xad, 0x77, 0x87, 0x36, 0x71, 0x24, 0x8c, 0x65, 0xc2, 0x1c, 0x7f, 0x93,
  5575. 0xd9, 0xc2, 0x11, 0x62, 0x84, 0xe7, 0x95, 0xe9, 0x41, 0xc8, 0xef, 0xaf,
  5576. 0x2d, 0xe0, 0xd1, 0x47, 0x4e, 0x81, 0xe7, 0x0d,
  5577. };
  5578. static const struct drbg_kat_no_reseed kat183_nor_t = {
  5579. 2, kat183_nor_entropyin, kat183_nor_nonce, kat183_nor_persstr,
  5580. kat183_nor_addin0, kat183_nor_addin1, kat183_nor_retbytes
  5581. };
  5582. static const struct drbg_kat kat183_nor = {
  5583. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat183_nor_t
  5584. };
  5585. static const unsigned char kat184_nor_entropyin[] = {
  5586. 0xbe, 0xb3, 0x3d, 0x42, 0xe9, 0xbe, 0x57, 0x3b, 0xd9, 0xe1, 0xc9, 0xe1,
  5587. 0xd6, 0xaf, 0xf4, 0x4d,
  5588. };
  5589. static const unsigned char kat184_nor_nonce[] = {
  5590. 0xe4, 0x2f, 0x6b, 0x81, 0x77, 0xfc, 0x41, 0x7d,
  5591. };
  5592. static const unsigned char kat184_nor_persstr[] = {0};
  5593. static const unsigned char kat184_nor_addin0[] = {0};
  5594. static const unsigned char kat184_nor_addin1[] = {0};
  5595. static const unsigned char kat184_nor_retbytes[] = {
  5596. 0xdf, 0xca, 0xc4, 0x39, 0x73, 0x8b, 0x84, 0xd0, 0x38, 0x18, 0x56, 0x8b,
  5597. 0x2b, 0xb9, 0xd7, 0x1a, 0x0f, 0x52, 0xf0, 0xb9, 0x62, 0xd9, 0x3d, 0x91,
  5598. 0x3e, 0x2b, 0x90, 0x9a, 0xb4, 0x64, 0xa3, 0x78, 0xe0, 0x03, 0x64, 0x0c,
  5599. 0xa3, 0xad, 0xdb, 0x46, 0xf1, 0xf4, 0x60, 0x75, 0x43, 0xf2, 0x98, 0x5f,
  5600. 0x56, 0x1f, 0xc4, 0xde, 0xf4, 0x08, 0xb4, 0x7f, 0xca, 0xf8, 0x38, 0xe2,
  5601. 0x54, 0x68, 0xfc, 0x97, 0xdb, 0xcf, 0x05, 0x7e, 0xdd, 0x51, 0xd8, 0x8c,
  5602. 0x34, 0x2c, 0x81, 0xd6, 0xce, 0x92, 0xb0, 0x20,
  5603. };
  5604. static const struct drbg_kat_no_reseed kat184_nor_t = {
  5605. 3, kat184_nor_entropyin, kat184_nor_nonce, kat184_nor_persstr,
  5606. kat184_nor_addin0, kat184_nor_addin1, kat184_nor_retbytes
  5607. };
  5608. static const struct drbg_kat kat184_nor = {
  5609. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat184_nor_t
  5610. };
  5611. static const unsigned char kat185_nor_entropyin[] = {
  5612. 0x6b, 0xd4, 0x9c, 0xb7, 0xc8, 0xac, 0x1d, 0x6a, 0x04, 0xdb, 0x64, 0x2d,
  5613. 0x8b, 0x46, 0x2e, 0xe7,
  5614. };
  5615. static const unsigned char kat185_nor_nonce[] = {
  5616. 0x73, 0xe7, 0xca, 0xdf, 0x29, 0xbe, 0x5f, 0x35,
  5617. };
  5618. static const unsigned char kat185_nor_persstr[] = {0};
  5619. static const unsigned char kat185_nor_addin0[] = {0};
  5620. static const unsigned char kat185_nor_addin1[] = {0};
  5621. static const unsigned char kat185_nor_retbytes[] = {
  5622. 0xaa, 0x51, 0x57, 0xbd, 0xe2, 0xc8, 0x33, 0x2f, 0x7e, 0xde, 0x49, 0xb6,
  5623. 0xfd, 0x59, 0x0d, 0x90, 0xdc, 0xb6, 0x37, 0xaa, 0x2c, 0x62, 0x27, 0x2d,
  5624. 0x72, 0x1f, 0x0f, 0x80, 0xba, 0x8f, 0xa8, 0x3f, 0x61, 0x6b, 0x90, 0x1d,
  5625. 0xff, 0xe3, 0xb9, 0xe2, 0x36, 0x00, 0x3a, 0xd0, 0x1a, 0x95, 0x9d, 0x95,
  5626. 0xbf, 0xfb, 0x1e, 0x24, 0xf1, 0x8c, 0xb4, 0x44, 0x5d, 0x4b, 0x64, 0xae,
  5627. 0x2b, 0x5d, 0x1e, 0x78, 0xfd, 0x0b, 0x58, 0x30, 0xfa, 0x4a, 0xec, 0x73,
  5628. 0xee, 0x18, 0x9f, 0x17, 0xbe, 0xd7, 0x9b, 0x80,
  5629. };
  5630. static const struct drbg_kat_no_reseed kat185_nor_t = {
  5631. 4, kat185_nor_entropyin, kat185_nor_nonce, kat185_nor_persstr,
  5632. kat185_nor_addin0, kat185_nor_addin1, kat185_nor_retbytes
  5633. };
  5634. static const struct drbg_kat kat185_nor = {
  5635. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat185_nor_t
  5636. };
  5637. static const unsigned char kat186_nor_entropyin[] = {
  5638. 0x93, 0x06, 0xeb, 0x88, 0xe8, 0xa6, 0x27, 0x44, 0xff, 0x5d, 0xd0, 0x1d,
  5639. 0x92, 0xe5, 0xfc, 0x4e,
  5640. };
  5641. static const unsigned char kat186_nor_nonce[] = {
  5642. 0x58, 0x2d, 0xe6, 0x2d, 0x3c, 0x45, 0xe9, 0xc6,
  5643. };
  5644. static const unsigned char kat186_nor_persstr[] = {0};
  5645. static const unsigned char kat186_nor_addin0[] = {0};
  5646. static const unsigned char kat186_nor_addin1[] = {0};
  5647. static const unsigned char kat186_nor_retbytes[] = {
  5648. 0xb7, 0x37, 0x14, 0xfb, 0x42, 0xe9, 0x16, 0x20, 0xd1, 0xb8, 0x1a, 0x80,
  5649. 0xa4, 0x16, 0xf5, 0x23, 0x9e, 0xd3, 0x85, 0x6e, 0x4f, 0x73, 0x20, 0xfc,
  5650. 0x57, 0x26, 0xa6, 0x32, 0x07, 0x70, 0x77, 0x10, 0x80, 0x3e, 0xa3, 0xfe,
  5651. 0x11, 0x81, 0x3e, 0x6b, 0xb7, 0xd5, 0xc2, 0xb9, 0x56, 0x5e, 0xaf, 0x05,
  5652. 0x9d, 0x8f, 0x33, 0x84, 0xf6, 0xdd, 0x1d, 0x83, 0xf6, 0x91, 0x7f, 0xf3,
  5653. 0xef, 0xcf, 0x92, 0x90, 0xe3, 0x47, 0x52, 0x92, 0x3e, 0x54, 0x77, 0x4a,
  5654. 0x10, 0x3d, 0x0a, 0x51, 0x35, 0xef, 0x2f, 0xdf,
  5655. };
  5656. static const struct drbg_kat_no_reseed kat186_nor_t = {
  5657. 5, kat186_nor_entropyin, kat186_nor_nonce, kat186_nor_persstr,
  5658. kat186_nor_addin0, kat186_nor_addin1, kat186_nor_retbytes
  5659. };
  5660. static const struct drbg_kat kat186_nor = {
  5661. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat186_nor_t
  5662. };
  5663. static const unsigned char kat187_nor_entropyin[] = {
  5664. 0x02, 0x83, 0x59, 0x2b, 0x01, 0xb7, 0xd9, 0x32, 0xdd, 0x79, 0xbe, 0x81,
  5665. 0x5a, 0x32, 0x58, 0x41,
  5666. };
  5667. static const unsigned char kat187_nor_nonce[] = {
  5668. 0x4f, 0xcf, 0x02, 0xc7, 0x76, 0x4c, 0x5a, 0x3b,
  5669. };
  5670. static const unsigned char kat187_nor_persstr[] = {0};
  5671. static const unsigned char kat187_nor_addin0[] = {0};
  5672. static const unsigned char kat187_nor_addin1[] = {0};
  5673. static const unsigned char kat187_nor_retbytes[] = {
  5674. 0x24, 0x70, 0xde, 0x1f, 0xf9, 0x0f, 0xd8, 0x4c, 0x4e, 0x17, 0xea, 0xc1,
  5675. 0xdc, 0xff, 0x65, 0x63, 0x47, 0x99, 0x71, 0x6a, 0xa0, 0xd0, 0x27, 0xa3,
  5676. 0xa9, 0xab, 0xdf, 0x92, 0xae, 0x95, 0x6a, 0x18, 0xab, 0xe8, 0xb2, 0x37,
  5677. 0x42, 0xbb, 0xf8, 0x31, 0x7a, 0xec, 0xe6, 0xa6, 0xd1, 0xad, 0x2e, 0x00,
  5678. 0x41, 0xfb, 0x11, 0x2b, 0x7c, 0x85, 0x71, 0x50, 0xf3, 0x37, 0xa1, 0x59,
  5679. 0x27, 0x09, 0x5f, 0x0a, 0x9e, 0x8c, 0xaa, 0x42, 0xb3, 0x47, 0xc6, 0x5e,
  5680. 0x75, 0x0b, 0x07, 0x37, 0xb0, 0xa7, 0x02, 0x41,
  5681. };
  5682. static const struct drbg_kat_no_reseed kat187_nor_t = {
  5683. 6, kat187_nor_entropyin, kat187_nor_nonce, kat187_nor_persstr,
  5684. kat187_nor_addin0, kat187_nor_addin1, kat187_nor_retbytes
  5685. };
  5686. static const struct drbg_kat kat187_nor = {
  5687. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat187_nor_t
  5688. };
  5689. static const unsigned char kat188_nor_entropyin[] = {
  5690. 0xd1, 0xb8, 0x1f, 0xb4, 0x14, 0xd0, 0xc0, 0x70, 0xee, 0x84, 0x69, 0xb1,
  5691. 0x90, 0xc3, 0x32, 0x79,
  5692. };
  5693. static const unsigned char kat188_nor_nonce[] = {
  5694. 0x43, 0xf7, 0x2e, 0x66, 0x35, 0x8b, 0x29, 0xe1,
  5695. };
  5696. static const unsigned char kat188_nor_persstr[] = {0};
  5697. static const unsigned char kat188_nor_addin0[] = {0};
  5698. static const unsigned char kat188_nor_addin1[] = {0};
  5699. static const unsigned char kat188_nor_retbytes[] = {
  5700. 0xca, 0xad, 0x46, 0x38, 0xfb, 0x82, 0xe6, 0x19, 0x66, 0x5a, 0x30, 0x0c,
  5701. 0xfa, 0x2f, 0x88, 0x23, 0x4e, 0xb6, 0x5d, 0x41, 0x4b, 0x9d, 0x1e, 0xc9,
  5702. 0xf9, 0xcb, 0xee, 0x94, 0x29, 0x62, 0x63, 0x93, 0x36, 0x6c, 0x81, 0x48,
  5703. 0xbe, 0x55, 0xb2, 0x38, 0xc0, 0x8f, 0xf4, 0x89, 0x35, 0x73, 0x8c, 0xa6,
  5704. 0xe8, 0x40, 0xcc, 0xe0, 0x24, 0xa5, 0x80, 0x5d, 0xe9, 0x21, 0x46, 0x40,
  5705. 0x89, 0x93, 0x54, 0x73, 0x80, 0xcf, 0x53, 0xbe, 0x7c, 0x6e, 0x45, 0x5d,
  5706. 0xac, 0xed, 0x82, 0x0f, 0xc8, 0xfb, 0x34, 0xe4,
  5707. };
  5708. static const struct drbg_kat_no_reseed kat188_nor_t = {
  5709. 7, kat188_nor_entropyin, kat188_nor_nonce, kat188_nor_persstr,
  5710. kat188_nor_addin0, kat188_nor_addin1, kat188_nor_retbytes
  5711. };
  5712. static const struct drbg_kat kat188_nor = {
  5713. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat188_nor_t
  5714. };
  5715. static const unsigned char kat189_nor_entropyin[] = {
  5716. 0x61, 0x23, 0xec, 0x40, 0xc4, 0x2f, 0x3b, 0xed, 0x9c, 0xd1, 0x78, 0xd4,
  5717. 0x00, 0x4e, 0xe9, 0x1f,
  5718. };
  5719. static const unsigned char kat189_nor_nonce[] = {
  5720. 0x02, 0x64, 0x71, 0x2f, 0x52, 0xed, 0xb2, 0x3d,
  5721. };
  5722. static const unsigned char kat189_nor_persstr[] = {0};
  5723. static const unsigned char kat189_nor_addin0[] = {0};
  5724. static const unsigned char kat189_nor_addin1[] = {0};
  5725. static const unsigned char kat189_nor_retbytes[] = {
  5726. 0xd5, 0x8b, 0x3f, 0x09, 0x1a, 0x96, 0x7c, 0xa1, 0x3b, 0x55, 0x46, 0x3e,
  5727. 0x85, 0x29, 0x04, 0x5d, 0x60, 0xa6, 0x0b, 0x96, 0x02, 0xf4, 0x3e, 0xe7,
  5728. 0xbe, 0xe0, 0x75, 0x47, 0x1e, 0xef, 0x83, 0x82, 0x3b, 0x2d, 0x54, 0x0b,
  5729. 0x3e, 0xce, 0x6d, 0x63, 0x7e, 0x11, 0x53, 0x57, 0x9e, 0x2c, 0x17, 0x9e,
  5730. 0xc1, 0x55, 0x25, 0x0a, 0x18, 0xc3, 0xae, 0x46, 0x49, 0x0c, 0x61, 0xe4,
  5731. 0x64, 0x31, 0x43, 0x46, 0x4d, 0xce, 0xe9, 0x4c, 0x88, 0xc2, 0xaf, 0xb4,
  5732. 0x1b, 0x7d, 0x51, 0x6f, 0x65, 0xf2, 0x15, 0xfc,
  5733. };
  5734. static const struct drbg_kat_no_reseed kat189_nor_t = {
  5735. 8, kat189_nor_entropyin, kat189_nor_nonce, kat189_nor_persstr,
  5736. kat189_nor_addin0, kat189_nor_addin1, kat189_nor_retbytes
  5737. };
  5738. static const struct drbg_kat kat189_nor = {
  5739. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat189_nor_t
  5740. };
  5741. static const unsigned char kat190_nor_entropyin[] = {
  5742. 0xb1, 0xe6, 0x32, 0x84, 0x94, 0x27, 0xbe, 0xc0, 0x28, 0x97, 0x71, 0x8c,
  5743. 0x3d, 0xf8, 0x86, 0x5b,
  5744. };
  5745. static const unsigned char kat190_nor_nonce[] = {
  5746. 0xc8, 0xc1, 0xc6, 0x4b, 0xfd, 0x80, 0xbe, 0x1f,
  5747. };
  5748. static const unsigned char kat190_nor_persstr[] = {0};
  5749. static const unsigned char kat190_nor_addin0[] = {0};
  5750. static const unsigned char kat190_nor_addin1[] = {0};
  5751. static const unsigned char kat190_nor_retbytes[] = {
  5752. 0x49, 0x85, 0x77, 0x77, 0x45, 0xc4, 0xfb, 0x29, 0xd0, 0x19, 0x67, 0x57,
  5753. 0x09, 0x37, 0xda, 0x62, 0xa6, 0xc6, 0x44, 0x88, 0x1a, 0x4f, 0xd0, 0x3e,
  5754. 0x14, 0x03, 0x99, 0x2a, 0x6a, 0x86, 0xdb, 0xeb, 0x98, 0x44, 0x28, 0x52,
  5755. 0x72, 0x88, 0x44, 0x42, 0x9d, 0xad, 0xba, 0xb4, 0x34, 0xa0, 0xb0, 0x35,
  5756. 0x94, 0xc8, 0xd6, 0xae, 0x41, 0xfc, 0x2b, 0x4a, 0x9c, 0xed, 0x5f, 0x63,
  5757. 0xb4, 0xec, 0xd8, 0xd4, 0x06, 0x4f, 0x80, 0xac, 0xd3, 0xef, 0x50, 0x91,
  5758. 0x0c, 0x9d, 0x84, 0xa0, 0x29, 0x0c, 0x26, 0x15,
  5759. };
  5760. static const struct drbg_kat_no_reseed kat190_nor_t = {
  5761. 9, kat190_nor_entropyin, kat190_nor_nonce, kat190_nor_persstr,
  5762. kat190_nor_addin0, kat190_nor_addin1, kat190_nor_retbytes
  5763. };
  5764. static const struct drbg_kat kat190_nor = {
  5765. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat190_nor_t
  5766. };
  5767. static const unsigned char kat191_nor_entropyin[] = {
  5768. 0xf6, 0xb7, 0x32, 0xcd, 0x0a, 0xa7, 0x20, 0x0a, 0xee, 0x67, 0x84, 0x55,
  5769. 0x2d, 0x0c, 0x38, 0xaf,
  5770. };
  5771. static const unsigned char kat191_nor_nonce[] = {
  5772. 0x2d, 0x69, 0xa6, 0x00, 0xa4, 0x26, 0x74, 0xac,
  5773. };
  5774. static const unsigned char kat191_nor_persstr[] = {0};
  5775. static const unsigned char kat191_nor_addin0[] = {0};
  5776. static const unsigned char kat191_nor_addin1[] = {0};
  5777. static const unsigned char kat191_nor_retbytes[] = {
  5778. 0x47, 0xe9, 0x73, 0x8a, 0x0d, 0x0e, 0x09, 0xba, 0x78, 0x6d, 0x5c, 0x9d,
  5779. 0x0a, 0x14, 0x47, 0x26, 0x79, 0x43, 0x2a, 0xaa, 0x36, 0x3b, 0xce, 0xb1,
  5780. 0x2b, 0xca, 0x2d, 0x85, 0x24, 0x8d, 0x61, 0xcf, 0xb2, 0xe4, 0xb7, 0x12,
  5781. 0xea, 0x4c, 0xce, 0xfa, 0x14, 0x82, 0x02, 0x27, 0xdb, 0x3a, 0x31, 0xf0,
  5782. 0x63, 0xe9, 0x8c, 0x40, 0xac, 0x21, 0xbb, 0xbf, 0xae, 0x3d, 0x63, 0x26,
  5783. 0xc2, 0xfd, 0x59, 0x04, 0x6d, 0x88, 0x64, 0x97, 0x6b, 0xcd, 0x51, 0x78,
  5784. 0x27, 0x50, 0x33, 0x62, 0x42, 0x97, 0x48, 0xbb,
  5785. };
  5786. static const struct drbg_kat_no_reseed kat191_nor_t = {
  5787. 10, kat191_nor_entropyin, kat191_nor_nonce, kat191_nor_persstr,
  5788. kat191_nor_addin0, kat191_nor_addin1, kat191_nor_retbytes
  5789. };
  5790. static const struct drbg_kat kat191_nor = {
  5791. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat191_nor_t
  5792. };
  5793. static const unsigned char kat192_nor_entropyin[] = {
  5794. 0x49, 0xc4, 0x94, 0x01, 0x3b, 0xbe, 0x33, 0x20, 0x85, 0x9f, 0xcc, 0x0c,
  5795. 0xf7, 0x3c, 0xd4, 0x72,
  5796. };
  5797. static const unsigned char kat192_nor_nonce[] = {
  5798. 0x83, 0xf1, 0x4a, 0x32, 0x41, 0x9c, 0xda, 0xe2,
  5799. };
  5800. static const unsigned char kat192_nor_persstr[] = {0};
  5801. static const unsigned char kat192_nor_addin0[] = {0};
  5802. static const unsigned char kat192_nor_addin1[] = {0};
  5803. static const unsigned char kat192_nor_retbytes[] = {
  5804. 0xb1, 0xf3, 0xaa, 0x9a, 0x90, 0x44, 0x0b, 0x35, 0xcc, 0xb7, 0x97, 0xf7,
  5805. 0xe0, 0xb7, 0xb4, 0xb7, 0x07, 0x15, 0x79, 0x6f, 0x32, 0x04, 0x39, 0x93,
  5806. 0x7b, 0x5e, 0x7c, 0xc6, 0x9c, 0xea, 0xc6, 0x69, 0x1d, 0x3c, 0xc2, 0x62,
  5807. 0xba, 0xb3, 0x57, 0x08, 0xac, 0x84, 0x5d, 0x9c, 0x44, 0xc5, 0x0a, 0x0d,
  5808. 0x45, 0xe2, 0x94, 0x01, 0xe5, 0x2b, 0xe4, 0x22, 0x46, 0x0e, 0x0c, 0x0f,
  5809. 0x6b, 0x98, 0x3d, 0xad, 0x6d, 0x5e, 0x61, 0xf7, 0xf6, 0x92, 0x9d, 0x88,
  5810. 0x1f, 0x43, 0x03, 0x48, 0xbf, 0x16, 0xde, 0x94,
  5811. };
  5812. static const struct drbg_kat_no_reseed kat192_nor_t = {
  5813. 11, kat192_nor_entropyin, kat192_nor_nonce, kat192_nor_persstr,
  5814. kat192_nor_addin0, kat192_nor_addin1, kat192_nor_retbytes
  5815. };
  5816. static const struct drbg_kat kat192_nor = {
  5817. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat192_nor_t
  5818. };
  5819. static const unsigned char kat193_nor_entropyin[] = {
  5820. 0x49, 0x8c, 0x61, 0x22, 0x3b, 0xfa, 0xa5, 0x33, 0xda, 0x30, 0x7e, 0x7f,
  5821. 0xd7, 0x9b, 0x77, 0x6e,
  5822. };
  5823. static const unsigned char kat193_nor_nonce[] = {
  5824. 0xb3, 0x62, 0xd9, 0x06, 0x63, 0xb1, 0xc9, 0x21,
  5825. };
  5826. static const unsigned char kat193_nor_persstr[] = {0};
  5827. static const unsigned char kat193_nor_addin0[] = {0};
  5828. static const unsigned char kat193_nor_addin1[] = {0};
  5829. static const unsigned char kat193_nor_retbytes[] = {
  5830. 0x80, 0xa2, 0xa0, 0xf2, 0x82, 0x29, 0x85, 0x42, 0x84, 0x71, 0xba, 0xc8,
  5831. 0xc5, 0xc4, 0x6c, 0xd5, 0xdb, 0xee, 0x0f, 0x9f, 0xb9, 0x1d, 0x08, 0xb9,
  5832. 0xed, 0x69, 0xa5, 0x57, 0x70, 0x01, 0x34, 0x73, 0x87, 0x52, 0x31, 0x0e,
  5833. 0xef, 0xc2, 0x3a, 0xce, 0x02, 0x1f, 0xbc, 0xb8, 0x2c, 0xc6, 0x70, 0x96,
  5834. 0xb5, 0x8a, 0xae, 0x14, 0x46, 0x36, 0x07, 0xa5, 0x07, 0x70, 0x72, 0xea,
  5835. 0x74, 0xaf, 0x4b, 0xfd, 0xe6, 0x8e, 0xe9, 0x1f, 0x89, 0x23, 0x1b, 0xd3,
  5836. 0xba, 0xfa, 0xea, 0xaa, 0xd1, 0x40, 0x6b, 0x39,
  5837. };
  5838. static const struct drbg_kat_no_reseed kat193_nor_t = {
  5839. 12, kat193_nor_entropyin, kat193_nor_nonce, kat193_nor_persstr,
  5840. kat193_nor_addin0, kat193_nor_addin1, kat193_nor_retbytes
  5841. };
  5842. static const struct drbg_kat kat193_nor = {
  5843. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat193_nor_t
  5844. };
  5845. static const unsigned char kat194_nor_entropyin[] = {
  5846. 0x33, 0xf7, 0x24, 0x71, 0x7a, 0xef, 0xf4, 0x85, 0x54, 0x3a, 0xd0, 0xd5,
  5847. 0xc7, 0x70, 0x33, 0x56,
  5848. };
  5849. static const unsigned char kat194_nor_nonce[] = {
  5850. 0xac, 0x45, 0x58, 0xa2, 0x2a, 0xae, 0xfc, 0x9d,
  5851. };
  5852. static const unsigned char kat194_nor_persstr[] = {0};
  5853. static const unsigned char kat194_nor_addin0[] = {0};
  5854. static const unsigned char kat194_nor_addin1[] = {0};
  5855. static const unsigned char kat194_nor_retbytes[] = {
  5856. 0x81, 0x0b, 0xe2, 0xed, 0x84, 0xcb, 0x7b, 0xc2, 0x05, 0xf6, 0xba, 0x6d,
  5857. 0xd6, 0x91, 0x18, 0x6e, 0x45, 0x4d, 0xa0, 0x73, 0x95, 0x5c, 0xe6, 0xe5,
  5858. 0x4f, 0x9b, 0x94, 0x54, 0x45, 0xae, 0x69, 0x8a, 0x3d, 0x47, 0x47, 0xc9,
  5859. 0x73, 0x05, 0x2a, 0xa1, 0xcc, 0x7e, 0x21, 0x22, 0x08, 0xec, 0xd4, 0xcc,
  5860. 0x58, 0xb2, 0xf3, 0x0f, 0xf6, 0xc4, 0xf2, 0xac, 0xdc, 0xab, 0xc3, 0x72,
  5861. 0x7e, 0x86, 0x65, 0xf5, 0x5d, 0xe7, 0x96, 0x2f, 0x6f, 0xcb, 0xbe, 0xb4,
  5862. 0x06, 0x86, 0x99, 0x24, 0xc6, 0x16, 0x6a, 0xc2,
  5863. };
  5864. static const struct drbg_kat_no_reseed kat194_nor_t = {
  5865. 13, kat194_nor_entropyin, kat194_nor_nonce, kat194_nor_persstr,
  5866. kat194_nor_addin0, kat194_nor_addin1, kat194_nor_retbytes
  5867. };
  5868. static const struct drbg_kat kat194_nor = {
  5869. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat194_nor_t
  5870. };
  5871. static const unsigned char kat195_nor_entropyin[] = {
  5872. 0xf4, 0x84, 0xb9, 0x22, 0xf4, 0x92, 0xd1, 0x9b, 0x58, 0x40, 0x7c, 0x24,
  5873. 0x2a, 0xb9, 0x0e, 0x76,
  5874. };
  5875. static const unsigned char kat195_nor_nonce[] = {
  5876. 0x89, 0x52, 0xa0, 0xa4, 0xb6, 0x66, 0xb0, 0xc8,
  5877. };
  5878. static const unsigned char kat195_nor_persstr[] = {0};
  5879. static const unsigned char kat195_nor_addin0[] = {0};
  5880. static const unsigned char kat195_nor_addin1[] = {0};
  5881. static const unsigned char kat195_nor_retbytes[] = {
  5882. 0x2d, 0x77, 0x23, 0x5f, 0xa2, 0x73, 0xca, 0xb3, 0xc1, 0xbb, 0x17, 0x6d,
  5883. 0x44, 0x81, 0x7c, 0xc2, 0x53, 0x00, 0xb3, 0xf0, 0x17, 0x2a, 0x0b, 0x5a,
  5884. 0xaa, 0x66, 0xb2, 0x82, 0xc0, 0x15, 0xd4, 0x26, 0xed, 0xec, 0x5f, 0x1e,
  5885. 0xbb, 0xfc, 0x02, 0x69, 0x95, 0x6b, 0x85, 0x99, 0x41, 0x67, 0x99, 0x2a,
  5886. 0x71, 0x00, 0x25, 0x86, 0x92, 0x3e, 0xa2, 0x34, 0xbe, 0x6c, 0x5d, 0xf0,
  5887. 0x9f, 0x47, 0xd8, 0x91, 0x32, 0xe4, 0x40, 0x82, 0x7b, 0x89, 0xf7, 0xff,
  5888. 0x97, 0xe0, 0x32, 0xb3, 0xf7, 0x4f, 0xe3, 0x2f,
  5889. };
  5890. static const struct drbg_kat_no_reseed kat195_nor_t = {
  5891. 14, kat195_nor_entropyin, kat195_nor_nonce, kat195_nor_persstr,
  5892. kat195_nor_addin0, kat195_nor_addin1, kat195_nor_retbytes
  5893. };
  5894. static const struct drbg_kat kat195_nor = {
  5895. NO_RESEED, NA, NID_sha1, 16, 8, 0, 0, 80, &kat195_nor_t
  5896. };
  5897. static const unsigned char kat196_nor_entropyin[] = {
  5898. 0x9e, 0x13, 0xa5, 0x7f, 0xb4, 0x3d, 0xdc, 0xd0, 0x69, 0xfc, 0x83, 0x80,
  5899. 0xb8, 0x18, 0xf2, 0xae,
  5900. };
  5901. static const unsigned char kat196_nor_nonce[] = {
  5902. 0xfd, 0x09, 0x58, 0x60, 0x67, 0xe5, 0xd9, 0x2c,
  5903. };
  5904. static const unsigned char kat196_nor_persstr[] = {0};
  5905. static const unsigned char kat196_nor_addin0[] = {
  5906. 0xb2, 0x25, 0x7b, 0xa7, 0x7d, 0x8a, 0xf7, 0x5d, 0x23, 0xb8, 0x0c, 0x9a,
  5907. 0x9c, 0xe7, 0x46, 0x30,
  5908. };
  5909. static const unsigned char kat196_nor_addin1[] = {
  5910. 0x79, 0x77, 0x52, 0x10, 0xd7, 0x49, 0x66, 0x2d, 0x6a, 0x5e, 0xa2, 0xb2,
  5911. 0xbb, 0xbf, 0x35, 0x30,
  5912. };
  5913. static const unsigned char kat196_nor_retbytes[] = {
  5914. 0x78, 0xa4, 0x95, 0x79, 0x78, 0x45, 0x0a, 0x7f, 0x8a, 0xd0, 0x0f, 0x3c,
  5915. 0x3b, 0x4e, 0x21, 0x87, 0x6f, 0x5a, 0x82, 0x8c, 0xc6, 0x0c, 0xd8, 0xea,
  5916. 0xf4, 0x88, 0xea, 0xeb, 0x1b, 0x96, 0x40, 0xbf, 0x49, 0x3a, 0x9c, 0xed,
  5917. 0xa1, 0xd3, 0xc7, 0x68, 0x43, 0x4d, 0xeb, 0x20, 0x18, 0x3b, 0x7c, 0x0e,
  5918. 0xc8, 0xe7, 0xd7, 0x51, 0xba, 0x90, 0x11, 0xe3, 0x48, 0x95, 0x63, 0xc7,
  5919. 0x95, 0xb6, 0x78, 0xbe, 0x5e, 0xa1, 0x36, 0x18, 0xbc, 0xc3, 0xba, 0x54,
  5920. 0xfe, 0x59, 0x44, 0x53, 0xc9, 0x5c, 0x88, 0x8b,
  5921. };
  5922. static const struct drbg_kat_no_reseed kat196_nor_t = {
  5923. 0, kat196_nor_entropyin, kat196_nor_nonce, kat196_nor_persstr,
  5924. kat196_nor_addin0, kat196_nor_addin1, kat196_nor_retbytes
  5925. };
  5926. static const struct drbg_kat kat196_nor = {
  5927. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat196_nor_t
  5928. };
  5929. static const unsigned char kat197_nor_entropyin[] = {
  5930. 0xa4, 0xe8, 0x62, 0x18, 0xfb, 0xeb, 0xac, 0x79, 0xa3, 0x1b, 0x3a, 0xcf,
  5931. 0x2a, 0xd3, 0xc6, 0xea,
  5932. };
  5933. static const unsigned char kat197_nor_nonce[] = {
  5934. 0xea, 0x2a, 0xec, 0x42, 0x3f, 0x4d, 0xcf, 0x62,
  5935. };
  5936. static const unsigned char kat197_nor_persstr[] = {0};
  5937. static const unsigned char kat197_nor_addin0[] = {
  5938. 0x00, 0x27, 0x7c, 0x54, 0xa4, 0x9f, 0x8d, 0x71, 0xd3, 0x24, 0xc4, 0xf6,
  5939. 0xd7, 0x53, 0xab, 0x8b,
  5940. };
  5941. static const unsigned char kat197_nor_addin1[] = {
  5942. 0x8b, 0x56, 0xdd, 0x32, 0xe1, 0x4f, 0xe6, 0x06, 0x89, 0x8f, 0x8f, 0xeb,
  5943. 0x4b, 0x5e, 0x05, 0xd6,
  5944. };
  5945. static const unsigned char kat197_nor_retbytes[] = {
  5946. 0xc9, 0x31, 0x06, 0x94, 0xbb, 0xea, 0x39, 0x92, 0x11, 0xec, 0x91, 0xd4,
  5947. 0x1c, 0x60, 0xf3, 0x23, 0x13, 0xfc, 0xa2, 0x8a, 0xe5, 0xed, 0xdc, 0x77,
  5948. 0x2e, 0x98, 0xd8, 0xf5, 0x92, 0x78, 0x64, 0xad, 0x69, 0xf7, 0x18, 0x00,
  5949. 0xd9, 0x33, 0x1e, 0xa4, 0xe5, 0x31, 0xe3, 0xbb, 0x83, 0x56, 0xc6, 0xba,
  5950. 0x93, 0x65, 0xac, 0x76, 0xb7, 0x8c, 0x40, 0xff, 0x28, 0xd0, 0xba, 0xd4,
  5951. 0xa1, 0x44, 0xb8, 0xd7, 0x4f, 0xe4, 0x56, 0x6e, 0x8d, 0xcf, 0xf0, 0x46,
  5952. 0xdc, 0xca, 0xa9, 0x38, 0xae, 0xdb, 0xb2, 0x90,
  5953. };
  5954. static const struct drbg_kat_no_reseed kat197_nor_t = {
  5955. 1, kat197_nor_entropyin, kat197_nor_nonce, kat197_nor_persstr,
  5956. kat197_nor_addin0, kat197_nor_addin1, kat197_nor_retbytes
  5957. };
  5958. static const struct drbg_kat kat197_nor = {
  5959. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat197_nor_t
  5960. };
  5961. static const unsigned char kat198_nor_entropyin[] = {
  5962. 0xb1, 0x3f, 0x24, 0x09, 0xb5, 0xbc, 0x41, 0x51, 0xca, 0x70, 0x37, 0xf7,
  5963. 0xde, 0x83, 0x52, 0x61,
  5964. };
  5965. static const unsigned char kat198_nor_nonce[] = {
  5966. 0x2f, 0x7a, 0xe4, 0x58, 0xde, 0xda, 0x5e, 0x41,
  5967. };
  5968. static const unsigned char kat198_nor_persstr[] = {0};
  5969. static const unsigned char kat198_nor_addin0[] = {
  5970. 0xb2, 0x4f, 0x34, 0x9c, 0x35, 0x7a, 0x53, 0xb3, 0x42, 0xeb, 0xe5, 0x31,
  5971. 0xe1, 0xa0, 0x40, 0x13,
  5972. };
  5973. static const unsigned char kat198_nor_addin1[] = {
  5974. 0xe8, 0xa5, 0xc6, 0x54, 0x74, 0xa2, 0x7d, 0x2f, 0xd5, 0x0f, 0x6e, 0x6b,
  5975. 0xd0, 0x3c, 0xc2, 0x7a,
  5976. };
  5977. static const unsigned char kat198_nor_retbytes[] = {
  5978. 0xb7, 0xd3, 0x33, 0x78, 0x34, 0xf2, 0xe2, 0x23, 0x57, 0x03, 0x00, 0xf1,
  5979. 0x6b, 0x9b, 0x5a, 0x1d, 0x1d, 0x7f, 0xda, 0x5e, 0xb5, 0xbe, 0x14, 0xb8,
  5980. 0x90, 0x66, 0xdd, 0x9b, 0xe3, 0x9b, 0xab, 0xda, 0xe4, 0x1a, 0xfd, 0xf5,
  5981. 0x75, 0x89, 0xe4, 0xc9, 0xec, 0x06, 0x2d, 0xc0, 0xab, 0x0d, 0x62, 0x95,
  5982. 0x45, 0x8f, 0xe0, 0x83, 0xdf, 0xa6, 0xc5, 0x51, 0x47, 0xa1, 0x35, 0x65,
  5983. 0x62, 0x8d, 0x59, 0x6c, 0x91, 0x3e, 0x28, 0xa8, 0x27, 0x00, 0xd8, 0x9a,
  5984. 0x8b, 0xbe, 0x22, 0x6d, 0x33, 0xe0, 0x8e, 0x8b,
  5985. };
  5986. static const struct drbg_kat_no_reseed kat198_nor_t = {
  5987. 2, kat198_nor_entropyin, kat198_nor_nonce, kat198_nor_persstr,
  5988. kat198_nor_addin0, kat198_nor_addin1, kat198_nor_retbytes
  5989. };
  5990. static const struct drbg_kat kat198_nor = {
  5991. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat198_nor_t
  5992. };
  5993. static const unsigned char kat199_nor_entropyin[] = {
  5994. 0x70, 0xc7, 0x3c, 0x77, 0x62, 0x32, 0xd1, 0x4f, 0x09, 0xdc, 0x1f, 0x84,
  5995. 0xaf, 0xad, 0xea, 0xb4,
  5996. };
  5997. static const unsigned char kat199_nor_nonce[] = {
  5998. 0x39, 0xd4, 0x59, 0xb1, 0xa3, 0x61, 0x74, 0x0d,
  5999. };
  6000. static const unsigned char kat199_nor_persstr[] = {0};
  6001. static const unsigned char kat199_nor_addin0[] = {
  6002. 0x67, 0x9f, 0x2f, 0xf0, 0xaa, 0xf5, 0x1a, 0x1e, 0x69, 0xac, 0x27, 0x48,
  6003. 0x0d, 0x57, 0x69, 0x32,
  6004. };
  6005. static const unsigned char kat199_nor_addin1[] = {
  6006. 0x27, 0xd4, 0x92, 0x0d, 0xfd, 0x26, 0x83, 0xb6, 0x6a, 0x42, 0xad, 0x3d,
  6007. 0x32, 0x07, 0x15, 0x47,
  6008. };
  6009. static const unsigned char kat199_nor_retbytes[] = {
  6010. 0xbb, 0x8e, 0x50, 0x08, 0xc1, 0x1c, 0x4d, 0x6e, 0x4c, 0x63, 0x99, 0x6f,
  6011. 0x1e, 0x50, 0xed, 0xf4, 0x80, 0xbd, 0x15, 0x5f, 0xd0, 0x46, 0x68, 0x65,
  6012. 0x2e, 0xee, 0xd6, 0xa8, 0x71, 0xde, 0x7c, 0x86, 0x05, 0xf2, 0x17, 0xfa,
  6013. 0x79, 0x42, 0xe0, 0x3f, 0x3c, 0xc2, 0xb8, 0xbd, 0x1c, 0xa1, 0x8d, 0x6d,
  6014. 0xde, 0xf7, 0x3e, 0xd9, 0xec, 0x00, 0x72, 0x03, 0x6a, 0x34, 0x16, 0x10,
  6015. 0x2c, 0x60, 0xf8, 0x3d, 0xeb, 0xeb, 0xac, 0xff, 0xe9, 0xfd, 0xeb, 0xe2,
  6016. 0xa4, 0x78, 0xc2, 0xc7, 0xca, 0x68, 0xab, 0xb6,
  6017. };
  6018. static const struct drbg_kat_no_reseed kat199_nor_t = {
  6019. 3, kat199_nor_entropyin, kat199_nor_nonce, kat199_nor_persstr,
  6020. kat199_nor_addin0, kat199_nor_addin1, kat199_nor_retbytes
  6021. };
  6022. static const struct drbg_kat kat199_nor = {
  6023. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat199_nor_t
  6024. };
  6025. static const unsigned char kat200_nor_entropyin[] = {
  6026. 0xb8, 0x38, 0xbb, 0x13, 0x6a, 0xd9, 0xb6, 0xf2, 0xb7, 0x91, 0x3f, 0xf4,
  6027. 0x1a, 0xf9, 0xaf, 0x40,
  6028. };
  6029. static const unsigned char kat200_nor_nonce[] = {
  6030. 0x43, 0xcc, 0xad, 0x7a, 0x42, 0x27, 0xad, 0x7c,
  6031. };
  6032. static const unsigned char kat200_nor_persstr[] = {0};
  6033. static const unsigned char kat200_nor_addin0[] = {
  6034. 0x09, 0xdb, 0x57, 0x81, 0x70, 0x51, 0xcc, 0x2e, 0x19, 0x80, 0x6d, 0x18,
  6035. 0xb0, 0xa9, 0x08, 0x4f,
  6036. };
  6037. static const unsigned char kat200_nor_addin1[] = {
  6038. 0xf8, 0xeb, 0xc3, 0x54, 0x4a, 0x5c, 0xd5, 0x6e, 0x0b, 0x61, 0x36, 0xc9,
  6039. 0xc3, 0x42, 0x84, 0x99,
  6040. };
  6041. static const unsigned char kat200_nor_retbytes[] = {
  6042. 0x20, 0x60, 0xe3, 0x92, 0x27, 0x28, 0x70, 0x3c, 0x94, 0x7e, 0x0d, 0x7d,
  6043. 0x94, 0x37, 0x4e, 0x97, 0x41, 0xf4, 0x33, 0xca, 0x24, 0x4c, 0x6c, 0xd3,
  6044. 0x96, 0xdb, 0x88, 0x4a, 0xa4, 0x1f, 0x6a, 0x75, 0xd8, 0x34, 0xfe, 0x76,
  6045. 0x3c, 0x8c, 0x87, 0x3a, 0x96, 0x0f, 0xf3, 0x01, 0x58, 0x6c, 0x87, 0x01,
  6046. 0x27, 0x21, 0xd8, 0xbe, 0x1b, 0xc0, 0x22, 0x68, 0x84, 0xc2, 0x35, 0x32,
  6047. 0x1b, 0x81, 0x8e, 0xc1, 0x95, 0x94, 0x0d, 0xcb, 0x5c, 0x21, 0xbf, 0xe9,
  6048. 0x59, 0x36, 0xec, 0x2f, 0xe4, 0xa5, 0xde, 0xef,
  6049. };
  6050. static const struct drbg_kat_no_reseed kat200_nor_t = {
  6051. 4, kat200_nor_entropyin, kat200_nor_nonce, kat200_nor_persstr,
  6052. kat200_nor_addin0, kat200_nor_addin1, kat200_nor_retbytes
  6053. };
  6054. static const struct drbg_kat kat200_nor = {
  6055. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat200_nor_t
  6056. };
  6057. static const unsigned char kat201_nor_entropyin[] = {
  6058. 0xe4, 0xf6, 0x9f, 0x55, 0x8d, 0xbb, 0xcf, 0x15, 0x76, 0x8e, 0x21, 0xe2,
  6059. 0x76, 0xc7, 0x38, 0x1c,
  6060. };
  6061. static const unsigned char kat201_nor_nonce[] = {
  6062. 0x6d, 0x14, 0xd8, 0xcd, 0xc6, 0xbb, 0xe6, 0xbb,
  6063. };
  6064. static const unsigned char kat201_nor_persstr[] = {0};
  6065. static const unsigned char kat201_nor_addin0[] = {
  6066. 0xdb, 0xf7, 0x65, 0xff, 0x20, 0x4e, 0xe3, 0x2c, 0x53, 0x82, 0xa3, 0x9d,
  6067. 0xd6, 0xaf, 0xf8, 0x70,
  6068. };
  6069. static const unsigned char kat201_nor_addin1[] = {
  6070. 0x4f, 0xa9, 0x01, 0x68, 0xa5, 0xa0, 0x07, 0x30, 0x90, 0xe4, 0xd4, 0xaf,
  6071. 0x43, 0x2c, 0x39, 0xa4,
  6072. };
  6073. static const unsigned char kat201_nor_retbytes[] = {
  6074. 0xe6, 0x54, 0x01, 0xce, 0x0e, 0xc9, 0xf0, 0xd2, 0x47, 0xd5, 0x0c, 0xff,
  6075. 0x3a, 0xd0, 0x70, 0xbb, 0x1f, 0x3c, 0x9f, 0x9e, 0x81, 0xe7, 0x23, 0x7c,
  6076. 0xa0, 0x53, 0x9b, 0x82, 0xe4, 0xc4, 0xd3, 0x62, 0x98, 0x3b, 0xb5, 0xad,
  6077. 0xc3, 0xd2, 0xd9, 0x8d, 0xbc, 0x9a, 0x21, 0xa3, 0x35, 0x1e, 0x17, 0xfd,
  6078. 0x78, 0x90, 0xef, 0x8f, 0xef, 0x72, 0x68, 0xf5, 0xc0, 0x03, 0x1f, 0xd4,
  6079. 0x9d, 0xf5, 0x63, 0xab, 0x67, 0x71, 0x93, 0x9d, 0xd2, 0xbc, 0xd6, 0xd6,
  6080. 0x5c, 0x30, 0x74, 0x85, 0xc0, 0xce, 0x1a, 0xf5,
  6081. };
  6082. static const struct drbg_kat_no_reseed kat201_nor_t = {
  6083. 5, kat201_nor_entropyin, kat201_nor_nonce, kat201_nor_persstr,
  6084. kat201_nor_addin0, kat201_nor_addin1, kat201_nor_retbytes
  6085. };
  6086. static const struct drbg_kat kat201_nor = {
  6087. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat201_nor_t
  6088. };
  6089. static const unsigned char kat202_nor_entropyin[] = {
  6090. 0xd7, 0xa3, 0x2b, 0x55, 0x97, 0xd9, 0x99, 0x4f, 0xca, 0xdd, 0x9d, 0x94,
  6091. 0x56, 0x55, 0x23, 0xa8,
  6092. };
  6093. static const unsigned char kat202_nor_nonce[] = {
  6094. 0x5f, 0x47, 0x25, 0x4c, 0x88, 0xb7, 0x10, 0x55,
  6095. };
  6096. static const unsigned char kat202_nor_persstr[] = {0};
  6097. static const unsigned char kat202_nor_addin0[] = {
  6098. 0x1e, 0xbf, 0xd0, 0xd0, 0xa1, 0x3f, 0xfb, 0x06, 0xdd, 0x3b, 0xc3, 0x19,
  6099. 0x2f, 0x55, 0xb2, 0xc6,
  6100. };
  6101. static const unsigned char kat202_nor_addin1[] = {
  6102. 0x80, 0x4f, 0xc1, 0x77, 0x2a, 0xb3, 0x93, 0xc7, 0x4d, 0x7c, 0xca, 0x2e,
  6103. 0x56, 0x6e, 0xf7, 0x0f,
  6104. };
  6105. static const unsigned char kat202_nor_retbytes[] = {
  6106. 0xeb, 0x26, 0x9c, 0x0f, 0x2d, 0x02, 0xab, 0x44, 0x48, 0xf5, 0x1e, 0x04,
  6107. 0x21, 0xdf, 0x97, 0x01, 0xf2, 0x7e, 0x9d, 0xa7, 0x7e, 0x75, 0xb2, 0xe7,
  6108. 0x60, 0x3c, 0xf4, 0x21, 0x52, 0xa8, 0xed, 0xc5, 0xfc, 0x29, 0x2f, 0xa9,
  6109. 0xd4, 0x04, 0x6b, 0x22, 0xf7, 0x84, 0x2b, 0xfa, 0x80, 0xd4, 0xa0, 0x33,
  6110. 0x4c, 0x79, 0xe0, 0xc8, 0x38, 0x9a, 0x9c, 0xcd, 0x94, 0xf3, 0x4b, 0x9c,
  6111. 0x6a, 0x18, 0x8b, 0x09, 0x99, 0x6b, 0xd6, 0xd1, 0xe0, 0xeb, 0xe7, 0x25,
  6112. 0x39, 0xf6, 0xa2, 0x5a, 0x5c, 0xc7, 0x06, 0xf5,
  6113. };
  6114. static const struct drbg_kat_no_reseed kat202_nor_t = {
  6115. 6, kat202_nor_entropyin, kat202_nor_nonce, kat202_nor_persstr,
  6116. kat202_nor_addin0, kat202_nor_addin1, kat202_nor_retbytes
  6117. };
  6118. static const struct drbg_kat kat202_nor = {
  6119. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat202_nor_t
  6120. };
  6121. static const unsigned char kat203_nor_entropyin[] = {
  6122. 0xb6, 0x80, 0x1a, 0xb7, 0x28, 0x56, 0x2a, 0xcb, 0xd7, 0x1a, 0x2e, 0x21,
  6123. 0x57, 0xea, 0xa5, 0xb1,
  6124. };
  6125. static const unsigned char kat203_nor_nonce[] = {
  6126. 0x2e, 0xf6, 0x9d, 0x68, 0xe4, 0x0b, 0x3d, 0x82,
  6127. };
  6128. static const unsigned char kat203_nor_persstr[] = {0};
  6129. static const unsigned char kat203_nor_addin0[] = {
  6130. 0x9b, 0xab, 0x4d, 0xe8, 0x29, 0x5a, 0x5e, 0xe6, 0xe1, 0x5c, 0xc4, 0x96,
  6131. 0x2f, 0x08, 0x96, 0x31,
  6132. };
  6133. static const unsigned char kat203_nor_addin1[] = {
  6134. 0xaa, 0xaa, 0x36, 0x77, 0x01, 0x55, 0x28, 0x19, 0xc4, 0xa2, 0x33, 0x16,
  6135. 0x65, 0xbb, 0xf0, 0x61,
  6136. };
  6137. static const unsigned char kat203_nor_retbytes[] = {
  6138. 0x09, 0x1e, 0xdf, 0xd8, 0x89, 0x48, 0xe7, 0x49, 0xb6, 0xab, 0xa6, 0xdd,
  6139. 0x70, 0x07, 0x7c, 0x88, 0xf1, 0xea, 0x29, 0x7b, 0xce, 0xdc, 0xd9, 0xe1,
  6140. 0xf0, 0xda, 0x80, 0xe5, 0x3e, 0xc1, 0x51, 0x7f, 0x08, 0x78, 0x6f, 0x2e,
  6141. 0x86, 0x45, 0x17, 0xa2, 0x75, 0x4c, 0x5c, 0xd1, 0x50, 0x08, 0xd6, 0xc0,
  6142. 0x3a, 0xb9, 0xff, 0x2d, 0x05, 0x88, 0x80, 0x86, 0x9d, 0x8b, 0x82, 0x47,
  6143. 0xbe, 0x79, 0xa0, 0x11, 0x33, 0xc5, 0x56, 0xa5, 0x15, 0xfd, 0xe2, 0xb2,
  6144. 0x11, 0x92, 0x69, 0xc7, 0xde, 0x06, 0xb4, 0x73,
  6145. };
  6146. static const struct drbg_kat_no_reseed kat203_nor_t = {
  6147. 7, kat203_nor_entropyin, kat203_nor_nonce, kat203_nor_persstr,
  6148. kat203_nor_addin0, kat203_nor_addin1, kat203_nor_retbytes
  6149. };
  6150. static const struct drbg_kat kat203_nor = {
  6151. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat203_nor_t
  6152. };
  6153. static const unsigned char kat204_nor_entropyin[] = {
  6154. 0xee, 0x5a, 0xff, 0xe5, 0xe3, 0x15, 0xdb, 0x84, 0xf7, 0x1a, 0x22, 0x0b,
  6155. 0x31, 0x58, 0x88, 0xbb,
  6156. };
  6157. static const unsigned char kat204_nor_nonce[] = {
  6158. 0xf5, 0xe5, 0xf7, 0xaa, 0x35, 0xea, 0xe6, 0x29,
  6159. };
  6160. static const unsigned char kat204_nor_persstr[] = {0};
  6161. static const unsigned char kat204_nor_addin0[] = {
  6162. 0x6d, 0x3e, 0x8f, 0xd6, 0x87, 0x0d, 0x2f, 0xcb, 0x22, 0x38, 0x1c, 0x19,
  6163. 0x58, 0xe3, 0x87, 0x5e,
  6164. };
  6165. static const unsigned char kat204_nor_addin1[] = {
  6166. 0x8a, 0x3a, 0x40, 0x93, 0xfe, 0x50, 0x0f, 0xea, 0xa1, 0xf7, 0xe2, 0xde,
  6167. 0x9f, 0xc5, 0x6b, 0xc0,
  6168. };
  6169. static const unsigned char kat204_nor_retbytes[] = {
  6170. 0x27, 0xe7, 0x9a, 0x6d, 0xe3, 0xb9, 0x99, 0x71, 0x18, 0x2e, 0xab, 0x73,
  6171. 0xe3, 0x21, 0x68, 0x3e, 0x2a, 0x60, 0x1d, 0xee, 0x46, 0x31, 0x45, 0x31,
  6172. 0xef, 0x8a, 0x04, 0x00, 0x03, 0x7b, 0x1a, 0x66, 0x0e, 0x2c, 0xf0, 0x75,
  6173. 0x9d, 0xf0, 0xf6, 0xd2, 0xaf, 0xca, 0x9a, 0x0d, 0xec, 0x50, 0x2b, 0x46,
  6174. 0x6d, 0x95, 0xaf, 0xec, 0x52, 0xb8, 0x97, 0x41, 0x24, 0x2d, 0xad, 0xa5,
  6175. 0x20, 0x28, 0x06, 0xec, 0xe7, 0x39, 0x96, 0xdf, 0x88, 0xf3, 0x5b, 0xf7,
  6176. 0xc6, 0x86, 0xa0, 0xf6, 0x97, 0x32, 0xfa, 0x9e,
  6177. };
  6178. static const struct drbg_kat_no_reseed kat204_nor_t = {
  6179. 8, kat204_nor_entropyin, kat204_nor_nonce, kat204_nor_persstr,
  6180. kat204_nor_addin0, kat204_nor_addin1, kat204_nor_retbytes
  6181. };
  6182. static const struct drbg_kat kat204_nor = {
  6183. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat204_nor_t
  6184. };
  6185. static const unsigned char kat205_nor_entropyin[] = {
  6186. 0x28, 0xf1, 0x5b, 0x1e, 0xcf, 0x1e, 0x8f, 0xbe, 0xb4, 0xeb, 0xb2, 0x43,
  6187. 0xe8, 0x6e, 0x51, 0x0e,
  6188. };
  6189. static const unsigned char kat205_nor_nonce[] = {
  6190. 0xa1, 0x49, 0x01, 0x1c, 0xa0, 0x96, 0x2b, 0x79,
  6191. };
  6192. static const unsigned char kat205_nor_persstr[] = {0};
  6193. static const unsigned char kat205_nor_addin0[] = {
  6194. 0xc5, 0x44, 0x25, 0xd4, 0x3b, 0x1e, 0x66, 0x35, 0x46, 0x7c, 0x51, 0x58,
  6195. 0xab, 0x57, 0x05, 0x96,
  6196. };
  6197. static const unsigned char kat205_nor_addin1[] = {
  6198. 0x79, 0x4c, 0x9b, 0x26, 0x04, 0xba, 0x24, 0x02, 0xa4, 0x76, 0x38, 0xdc,
  6199. 0x73, 0x60, 0xac, 0x29,
  6200. };
  6201. static const unsigned char kat205_nor_retbytes[] = {
  6202. 0x48, 0x71, 0x19, 0xe5, 0xdb, 0x7e, 0x5b, 0x6e, 0x57, 0x92, 0xac, 0x25,
  6203. 0xeb, 0xc0, 0x55, 0xe9, 0x1b, 0xa8, 0x27, 0xcd, 0x69, 0x5b, 0x5b, 0x0f,
  6204. 0x95, 0x91, 0x85, 0xd9, 0xbb, 0x62, 0xe2, 0x7a, 0x8f, 0x6c, 0x81, 0x4a,
  6205. 0xfc, 0x39, 0xb2, 0x6f, 0x94, 0x87, 0x87, 0x07, 0xae, 0x2d, 0x67, 0xd0,
  6206. 0x18, 0x77, 0xea, 0x26, 0x7f, 0xcc, 0x55, 0xd5, 0xdf, 0x83, 0xb2, 0xd8,
  6207. 0x09, 0x9a, 0x09, 0x3e, 0x95, 0x2a, 0x43, 0xc5, 0xd8, 0xde, 0x99, 0x25,
  6208. 0xe5, 0xa0, 0xbb, 0xda, 0xfd, 0x81, 0x37, 0x00,
  6209. };
  6210. static const struct drbg_kat_no_reseed kat205_nor_t = {
  6211. 9, kat205_nor_entropyin, kat205_nor_nonce, kat205_nor_persstr,
  6212. kat205_nor_addin0, kat205_nor_addin1, kat205_nor_retbytes
  6213. };
  6214. static const struct drbg_kat kat205_nor = {
  6215. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat205_nor_t
  6216. };
  6217. static const unsigned char kat206_nor_entropyin[] = {
  6218. 0xae, 0x23, 0xad, 0xa4, 0x5b, 0xa1, 0xc1, 0xc4, 0x91, 0x18, 0x53, 0x11,
  6219. 0xaa, 0x99, 0x4b, 0x18,
  6220. };
  6221. static const unsigned char kat206_nor_nonce[] = {
  6222. 0x03, 0xa1, 0x57, 0xc7, 0xa7, 0x4a, 0x20, 0xd2,
  6223. };
  6224. static const unsigned char kat206_nor_persstr[] = {0};
  6225. static const unsigned char kat206_nor_addin0[] = {
  6226. 0x09, 0xf3, 0x7d, 0x8e, 0x0c, 0xe2, 0x3d, 0x2e, 0xd9, 0xa8, 0x20, 0xc4,
  6227. 0x1c, 0x9c, 0x06, 0xee,
  6228. };
  6229. static const unsigned char kat206_nor_addin1[] = {
  6230. 0xf3, 0x8d, 0xd1, 0x6e, 0x2f, 0xa8, 0xd5, 0x2c, 0x17, 0x08, 0xfc, 0x38,
  6231. 0x69, 0xbd, 0x9a, 0x09,
  6232. };
  6233. static const unsigned char kat206_nor_retbytes[] = {
  6234. 0xd4, 0x5f, 0x27, 0xd9, 0x1e, 0x07, 0x7b, 0x9f, 0xa0, 0x60, 0xc6, 0xa7,
  6235. 0xd7, 0x07, 0xc0, 0x7c, 0x0e, 0xa3, 0xcb, 0xdb, 0x80, 0x19, 0x4f, 0x08,
  6236. 0xfe, 0xa6, 0x4d, 0x31, 0x77, 0x15, 0xce, 0xf7, 0x6d, 0xc8, 0x8f, 0xef,
  6237. 0x48, 0x35, 0x6c, 0x1c, 0xf9, 0xf9, 0x9e, 0x56, 0x44, 0xe6, 0xc5, 0x87,
  6238. 0x2e, 0x79, 0x37, 0xdc, 0x1e, 0x2c, 0x9f, 0xfe, 0x0d, 0xfa, 0xa8, 0x7e,
  6239. 0x42, 0x51, 0x08, 0xd9, 0x7f, 0x65, 0x16, 0x6a, 0xc2, 0xc1, 0x10, 0xed,
  6240. 0x0c, 0xd0, 0x7f, 0xac, 0xba, 0x77, 0x36, 0x73,
  6241. };
  6242. static const struct drbg_kat_no_reseed kat206_nor_t = {
  6243. 10, kat206_nor_entropyin, kat206_nor_nonce, kat206_nor_persstr,
  6244. kat206_nor_addin0, kat206_nor_addin1, kat206_nor_retbytes
  6245. };
  6246. static const struct drbg_kat kat206_nor = {
  6247. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat206_nor_t
  6248. };
  6249. static const unsigned char kat207_nor_entropyin[] = {
  6250. 0xb0, 0x05, 0x0c, 0xbc, 0x41, 0x2b, 0x31, 0x22, 0xd8, 0x91, 0x5b, 0x79,
  6251. 0x53, 0x21, 0x61, 0x4c,
  6252. };
  6253. static const unsigned char kat207_nor_nonce[] = {
  6254. 0xa0, 0x98, 0xbf, 0xa0, 0x17, 0xd5, 0xee, 0xb4,
  6255. };
  6256. static const unsigned char kat207_nor_persstr[] = {0};
  6257. static const unsigned char kat207_nor_addin0[] = {
  6258. 0x75, 0x81, 0x6d, 0x4a, 0xd2, 0x58, 0x1f, 0x92, 0xbc, 0xe5, 0xe6, 0x79,
  6259. 0xbb, 0xcf, 0xff, 0x53,
  6260. };
  6261. static const unsigned char kat207_nor_addin1[] = {
  6262. 0x7d, 0x40, 0xde, 0x16, 0x2b, 0x81, 0x21, 0x31, 0x91, 0x54, 0x08, 0xf9,
  6263. 0x79, 0xbf, 0x1a, 0xc8,
  6264. };
  6265. static const unsigned char kat207_nor_retbytes[] = {
  6266. 0x74, 0xcf, 0x8c, 0x5d, 0x35, 0xdc, 0xfc, 0xf4, 0x72, 0xf0, 0x84, 0x2b,
  6267. 0x46, 0x5f, 0xdd, 0x13, 0x6f, 0x12, 0xb4, 0x05, 0xee, 0x35, 0x6e, 0xf4,
  6268. 0x80, 0x94, 0x3e, 0x70, 0x4c, 0xbb, 0x12, 0xa8, 0xf5, 0x68, 0xd7, 0xe1,
  6269. 0xc1, 0x31, 0xe2, 0x91, 0xa4, 0xe8, 0x2a, 0x01, 0x8b, 0x66, 0x7b, 0xb5,
  6270. 0xc8, 0x12, 0x74, 0x55, 0x14, 0xc9, 0x02, 0xe7, 0x13, 0xc9, 0x35, 0x26,
  6271. 0x53, 0x69, 0x6e, 0xe0, 0x7d, 0xf6, 0xa5, 0x52, 0x59, 0x8d, 0x04, 0x73,
  6272. 0x46, 0x0b, 0xb3, 0x8f, 0xe1, 0xd6, 0x02, 0xc8,
  6273. };
  6274. static const struct drbg_kat_no_reseed kat207_nor_t = {
  6275. 11, kat207_nor_entropyin, kat207_nor_nonce, kat207_nor_persstr,
  6276. kat207_nor_addin0, kat207_nor_addin1, kat207_nor_retbytes
  6277. };
  6278. static const struct drbg_kat kat207_nor = {
  6279. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat207_nor_t
  6280. };
  6281. static const unsigned char kat208_nor_entropyin[] = {
  6282. 0xfa, 0xab, 0x57, 0xf3, 0x12, 0x39, 0xc2, 0x2e, 0x88, 0x08, 0xc2, 0x46,
  6283. 0x59, 0x6c, 0x1f, 0x5b,
  6284. };
  6285. static const unsigned char kat208_nor_nonce[] = {
  6286. 0x03, 0x87, 0xf1, 0x63, 0x65, 0x43, 0xa6, 0x61,
  6287. };
  6288. static const unsigned char kat208_nor_persstr[] = {0};
  6289. static const unsigned char kat208_nor_addin0[] = {
  6290. 0xd1, 0xb1, 0xea, 0xc5, 0x81, 0x01, 0xb5, 0x60, 0x82, 0xf6, 0xcf, 0x3f,
  6291. 0x03, 0xba, 0x3e, 0x6b,
  6292. };
  6293. static const unsigned char kat208_nor_addin1[] = {
  6294. 0x13, 0xb0, 0xb5, 0xba, 0xad, 0x29, 0x9e, 0x76, 0xc7, 0x32, 0xdd, 0x79,
  6295. 0x87, 0x8b, 0x7e, 0x4a,
  6296. };
  6297. static const unsigned char kat208_nor_retbytes[] = {
  6298. 0x1a, 0x72, 0x30, 0xd1, 0x4e, 0xda, 0x7f, 0x2f, 0x96, 0xe3, 0x0e, 0x9b,
  6299. 0x60, 0x13, 0x7b, 0xa3, 0x3a, 0xa4, 0xc5, 0xbe, 0x04, 0x72, 0x88, 0x04,
  6300. 0x37, 0xbc, 0xc6, 0x1c, 0xa8, 0x2d, 0x1e, 0x08, 0x28, 0x91, 0x8b, 0x40,
  6301. 0x62, 0xff, 0x7d, 0xee, 0x89, 0x12, 0x8a, 0x48, 0xed, 0x87, 0xac, 0x60,
  6302. 0x65, 0x70, 0x51, 0xe0, 0xee, 0xb4, 0xcb, 0xf3, 0x72, 0xa2, 0x4b, 0xef,
  6303. 0xff, 0x4d, 0x6e, 0x22, 0xe7, 0x3d, 0x3d, 0xfb, 0x34, 0xd5, 0x9d, 0x21,
  6304. 0x3e, 0x05, 0xcc, 0x09, 0x9d, 0x48, 0xbb, 0xda,
  6305. };
  6306. static const struct drbg_kat_no_reseed kat208_nor_t = {
  6307. 12, kat208_nor_entropyin, kat208_nor_nonce, kat208_nor_persstr,
  6308. kat208_nor_addin0, kat208_nor_addin1, kat208_nor_retbytes
  6309. };
  6310. static const struct drbg_kat kat208_nor = {
  6311. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat208_nor_t
  6312. };
  6313. static const unsigned char kat209_nor_entropyin[] = {
  6314. 0x93, 0xd7, 0x71, 0xd0, 0x7a, 0xe9, 0x8d, 0x78, 0x7f, 0xdb, 0x78, 0x7f,
  6315. 0x30, 0xab, 0xd7, 0xd4,
  6316. };
  6317. static const unsigned char kat209_nor_nonce[] = {
  6318. 0x38, 0x0d, 0x74, 0x3d, 0xcf, 0x70, 0xa7, 0x8f,
  6319. };
  6320. static const unsigned char kat209_nor_persstr[] = {0};
  6321. static const unsigned char kat209_nor_addin0[] = {
  6322. 0xe8, 0xb4, 0xb8, 0x33, 0xd8, 0x65, 0x73, 0x64, 0xb8, 0xea, 0x4a, 0x67,
  6323. 0x04, 0xfb, 0x73, 0x2f,
  6324. };
  6325. static const unsigned char kat209_nor_addin1[] = {
  6326. 0x61, 0x58, 0x53, 0xa9, 0xe6, 0xe5, 0x9b, 0xe8, 0x35, 0x3c, 0xb2, 0x3e,
  6327. 0xd9, 0xb0, 0x68, 0xc0,
  6328. };
  6329. static const unsigned char kat209_nor_retbytes[] = {
  6330. 0x2a, 0xea, 0x25, 0x55, 0xd2, 0x58, 0x35, 0xce, 0xb3, 0x42, 0x5f, 0x58,
  6331. 0x4b, 0xa1, 0x1f, 0x20, 0xf2, 0x37, 0xe0, 0xa6, 0xaf, 0x2f, 0x55, 0x4b,
  6332. 0x38, 0x24, 0x11, 0xec, 0xb0, 0xff, 0xa8, 0xd6, 0xd5, 0x50, 0x4b, 0x65,
  6333. 0x44, 0x67, 0xba, 0x34, 0xa0, 0x43, 0x6d, 0xae, 0x4a, 0x9d, 0x48, 0x3f,
  6334. 0x6f, 0x58, 0xa5, 0x2d, 0x73, 0x84, 0x45, 0x86, 0xbc, 0xe2, 0xd1, 0x40,
  6335. 0x6f, 0x4d, 0x5f, 0x9b, 0x87, 0x8c, 0x4d, 0x14, 0x60, 0xef, 0x9c, 0x97,
  6336. 0x4c, 0xac, 0x1c, 0xe0, 0xeb, 0xe8, 0x62, 0x7d,
  6337. };
  6338. static const struct drbg_kat_no_reseed kat209_nor_t = {
  6339. 13, kat209_nor_entropyin, kat209_nor_nonce, kat209_nor_persstr,
  6340. kat209_nor_addin0, kat209_nor_addin1, kat209_nor_retbytes
  6341. };
  6342. static const struct drbg_kat kat209_nor = {
  6343. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat209_nor_t
  6344. };
  6345. static const unsigned char kat210_nor_entropyin[] = {
  6346. 0x7d, 0x7b, 0x1c, 0x32, 0x5e, 0x98, 0x43, 0xc3, 0xd2, 0x77, 0x0e, 0xfd,
  6347. 0x5e, 0x13, 0x4f, 0xe7,
  6348. };
  6349. static const unsigned char kat210_nor_nonce[] = {
  6350. 0x9d, 0xac, 0x46, 0xa2, 0xda, 0x81, 0x03, 0x0f,
  6351. };
  6352. static const unsigned char kat210_nor_persstr[] = {0};
  6353. static const unsigned char kat210_nor_addin0[] = {
  6354. 0x9e, 0x3e, 0xa6, 0xea, 0xc1, 0x20, 0xd6, 0x63, 0xe3, 0x30, 0xd2, 0x82,
  6355. 0xca, 0x9b, 0x9d, 0x7c,
  6356. };
  6357. static const unsigned char kat210_nor_addin1[] = {
  6358. 0xb8, 0xd7, 0x1f, 0xce, 0x77, 0x79, 0xa9, 0x90, 0x6b, 0x97, 0x90, 0xcd,
  6359. 0x1d, 0x4e, 0x48, 0xd5,
  6360. };
  6361. static const unsigned char kat210_nor_retbytes[] = {
  6362. 0x63, 0xd2, 0x8a, 0x30, 0x0a, 0x32, 0x9c, 0xa2, 0x02, 0xb9, 0x84, 0x98,
  6363. 0xc9, 0xf4, 0x69, 0x12, 0x62, 0x0b, 0xc8, 0x5c, 0x24, 0x6f, 0x03, 0x4d,
  6364. 0xca, 0x41, 0x86, 0xcd, 0x9b, 0x0e, 0x08, 0x10, 0xa3, 0x63, 0x78, 0x58,
  6365. 0x78, 0xef, 0xfd, 0xe9, 0x0a, 0xec, 0x8c, 0xb5, 0x84, 0x86, 0x25, 0x24,
  6366. 0xee, 0xbf, 0x94, 0x0c, 0x44, 0xfe, 0xd2, 0x1c, 0xb5, 0x80, 0xd4, 0x11,
  6367. 0x5f, 0x3e, 0x0d, 0xda, 0x07, 0xe0, 0xe4, 0xa6, 0x66, 0x89, 0xc2, 0xff,
  6368. 0x3e, 0x9b, 0x87, 0xed, 0xfa, 0xa4, 0xd0, 0x51,
  6369. };
  6370. static const struct drbg_kat_no_reseed kat210_nor_t = {
  6371. 14, kat210_nor_entropyin, kat210_nor_nonce, kat210_nor_persstr,
  6372. kat210_nor_addin0, kat210_nor_addin1, kat210_nor_retbytes
  6373. };
  6374. static const struct drbg_kat kat210_nor = {
  6375. NO_RESEED, NA, NID_sha1, 16, 8, 0, 16, 80, &kat210_nor_t
  6376. };
  6377. static const unsigned char kat211_nor_entropyin[] = {
  6378. 0xe4, 0xba, 0xc9, 0x55, 0xa3, 0xe8, 0x20, 0xe5, 0x89, 0x51, 0x94, 0xe2,
  6379. 0xc1, 0x3e, 0xf9, 0xac,
  6380. };
  6381. static const unsigned char kat211_nor_nonce[] = {
  6382. 0x8f, 0x4d, 0x17, 0x7d, 0xa6, 0x5e, 0xd4, 0x8e,
  6383. };
  6384. static const unsigned char kat211_nor_persstr[] = {
  6385. 0x06, 0xc4, 0xc6, 0x01, 0x14, 0x5a, 0x9d, 0x13, 0x7a, 0x49, 0x0c, 0x7b,
  6386. 0xcd, 0x22, 0xf4, 0x1e,
  6387. };
  6388. static const unsigned char kat211_nor_addin0[] = {0};
  6389. static const unsigned char kat211_nor_addin1[] = {0};
  6390. static const unsigned char kat211_nor_retbytes[] = {
  6391. 0xe9, 0x67, 0xd2, 0xfa, 0x24, 0x78, 0x77, 0x53, 0x42, 0xec, 0x5c, 0xa1,
  6392. 0x53, 0xe5, 0xcb, 0x13, 0xc6, 0x61, 0x34, 0xd4, 0xe1, 0x7a, 0x89, 0xcf,
  6393. 0x62, 0x9d, 0x78, 0x45, 0xf8, 0xce, 0x26, 0x83, 0x32, 0xa0, 0x4f, 0x0d,
  6394. 0x7e, 0x22, 0x82, 0x36, 0x8f, 0x40, 0x33, 0x99, 0x4f, 0x20, 0xbc, 0xbc,
  6395. 0x7d, 0x43, 0x97, 0xd5, 0xfa, 0xcc, 0x44, 0x88, 0x42, 0xb1, 0xe9, 0x24,
  6396. 0x6c, 0x24, 0xa6, 0x8e, 0x02, 0x9f, 0xff, 0x99, 0xe9, 0x08, 0x53, 0xbb,
  6397. 0x19, 0xb7, 0xe6, 0xfc, 0x9f, 0x29, 0xe4, 0xb0,
  6398. };
  6399. static const struct drbg_kat_no_reseed kat211_nor_t = {
  6400. 0, kat211_nor_entropyin, kat211_nor_nonce, kat211_nor_persstr,
  6401. kat211_nor_addin0, kat211_nor_addin1, kat211_nor_retbytes
  6402. };
  6403. static const struct drbg_kat kat211_nor = {
  6404. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat211_nor_t
  6405. };
  6406. static const unsigned char kat212_nor_entropyin[] = {
  6407. 0x2e, 0x95, 0x18, 0xf7, 0x53, 0xf5, 0x9a, 0x4a, 0x53, 0xfd, 0xac, 0x88,
  6408. 0xaf, 0x18, 0x7d, 0xac,
  6409. };
  6410. static const unsigned char kat212_nor_nonce[] = {
  6411. 0x9b, 0x92, 0x6c, 0x22, 0x3a, 0xd3, 0xef, 0xb0,
  6412. };
  6413. static const unsigned char kat212_nor_persstr[] = {
  6414. 0xbc, 0xa0, 0x5f, 0xfd, 0xbc, 0x7d, 0x8b, 0x92, 0x8c, 0x79, 0x79, 0xc0,
  6415. 0x83, 0xd6, 0x57, 0x84,
  6416. };
  6417. static const unsigned char kat212_nor_addin0[] = {0};
  6418. static const unsigned char kat212_nor_addin1[] = {0};
  6419. static const unsigned char kat212_nor_retbytes[] = {
  6420. 0x05, 0x5f, 0xbe, 0x1d, 0x5e, 0x27, 0x60, 0x68, 0xf7, 0x88, 0x30, 0x94,
  6421. 0xc3, 0xdf, 0x67, 0x9d, 0xa1, 0xbf, 0xcf, 0x38, 0x56, 0x2e, 0xbb, 0xff,
  6422. 0x64, 0x45, 0x6c, 0x2e, 0xd4, 0xfb, 0x03, 0x98, 0x5b, 0xdd, 0xfb, 0x35,
  6423. 0x21, 0x22, 0xad, 0xbb, 0x0b, 0xdd, 0x92, 0x67, 0x2d, 0x45, 0x4f, 0x7d,
  6424. 0xb5, 0x16, 0x20, 0x9c, 0xfa, 0xfe, 0x28, 0x9b, 0xd2, 0x8b, 0xdb, 0xc5,
  6425. 0x0b, 0xc2, 0x2f, 0x03, 0x91, 0x2e, 0xa6, 0x94, 0xad, 0x2f, 0xe1, 0xc9,
  6426. 0xf2, 0xd5, 0x7e, 0xd3, 0x98, 0x93, 0xe8, 0x01,
  6427. };
  6428. static const struct drbg_kat_no_reseed kat212_nor_t = {
  6429. 1, kat212_nor_entropyin, kat212_nor_nonce, kat212_nor_persstr,
  6430. kat212_nor_addin0, kat212_nor_addin1, kat212_nor_retbytes
  6431. };
  6432. static const struct drbg_kat kat212_nor = {
  6433. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat212_nor_t
  6434. };
  6435. static const unsigned char kat213_nor_entropyin[] = {
  6436. 0x29, 0x9f, 0xb6, 0x49, 0xae, 0x00, 0x2b, 0x0b, 0xd2, 0x9f, 0x23, 0xfb,
  6437. 0xeb, 0x22, 0x1f, 0x08,
  6438. };
  6439. static const unsigned char kat213_nor_nonce[] = {
  6440. 0x61, 0x40, 0xec, 0x1a, 0x58, 0x99, 0xeb, 0xab,
  6441. };
  6442. static const unsigned char kat213_nor_persstr[] = {
  6443. 0xac, 0xd2, 0x16, 0x0d, 0x08, 0x85, 0x32, 0xe0, 0x58, 0x8a, 0x88, 0x8c,
  6444. 0x5d, 0xba, 0x86, 0x3b,
  6445. };
  6446. static const unsigned char kat213_nor_addin0[] = {0};
  6447. static const unsigned char kat213_nor_addin1[] = {0};
  6448. static const unsigned char kat213_nor_retbytes[] = {
  6449. 0x16, 0x30, 0xfc, 0xb4, 0x82, 0x95, 0x6b, 0x0f, 0x9a, 0x1f, 0x2c, 0x24,
  6450. 0x8d, 0x06, 0xd8, 0x06, 0x96, 0x69, 0xab, 0x2c, 0x90, 0xaa, 0x39, 0x0d,
  6451. 0xa6, 0x36, 0x95, 0x49, 0x45, 0x31, 0x26, 0x07, 0xd6, 0x45, 0xa6, 0xae,
  6452. 0x86, 0x4c, 0x3e, 0x3f, 0x82, 0x3e, 0x2a, 0xac, 0x90, 0x00, 0x75, 0x72,
  6453. 0x85, 0x48, 0xd7, 0x84, 0xac, 0xa3, 0x51, 0xf1, 0xf0, 0x98, 0xfb, 0x40,
  6454. 0x1f, 0xd7, 0xe4, 0x14, 0x1e, 0x2a, 0x37, 0x4c, 0x8f, 0x25, 0x2b, 0xd7,
  6455. 0x2a, 0xa8, 0xf5, 0x5d, 0xc0, 0x14, 0xa6, 0x8c,
  6456. };
  6457. static const struct drbg_kat_no_reseed kat213_nor_t = {
  6458. 2, kat213_nor_entropyin, kat213_nor_nonce, kat213_nor_persstr,
  6459. kat213_nor_addin0, kat213_nor_addin1, kat213_nor_retbytes
  6460. };
  6461. static const struct drbg_kat kat213_nor = {
  6462. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat213_nor_t
  6463. };
  6464. static const unsigned char kat214_nor_entropyin[] = {
  6465. 0xbf, 0x95, 0x08, 0x82, 0x8a, 0x6d, 0xf3, 0x9c, 0xe1, 0x95, 0x7a, 0xc5,
  6466. 0x3a, 0x21, 0x6a, 0xe8,
  6467. };
  6468. static const unsigned char kat214_nor_nonce[] = {
  6469. 0x6c, 0xf3, 0x0f, 0x32, 0x88, 0x51, 0x2f, 0x8c,
  6470. };
  6471. static const unsigned char kat214_nor_persstr[] = {
  6472. 0x13, 0x3f, 0x95, 0x81, 0x6e, 0x48, 0xf9, 0xc5, 0x7b, 0x5e, 0xdb, 0xb2,
  6473. 0x2c, 0x6f, 0xf9, 0x7e,
  6474. };
  6475. static const unsigned char kat214_nor_addin0[] = {0};
  6476. static const unsigned char kat214_nor_addin1[] = {0};
  6477. static const unsigned char kat214_nor_retbytes[] = {
  6478. 0x47, 0x83, 0x99, 0xdb, 0xad, 0x14, 0xa5, 0x99, 0x02, 0x7c, 0x8d, 0xc6,
  6479. 0xbf, 0xd7, 0x9d, 0x26, 0xed, 0x36, 0x99, 0x7d, 0xe4, 0x88, 0xde, 0x51,
  6480. 0xb5, 0x66, 0x71, 0xd1, 0xc1, 0xa3, 0xfe, 0xd8, 0x30, 0x75, 0xfe, 0x3b,
  6481. 0x5c, 0x93, 0x0c, 0x5a, 0x0f, 0xeb, 0x42, 0x57, 0x53, 0x17, 0xe8, 0xc6,
  6482. 0x49, 0x56, 0x20, 0x7b, 0x62, 0x41, 0x48, 0x96, 0xf5, 0x99, 0x16, 0x4e,
  6483. 0x5d, 0xa7, 0xaf, 0xa6, 0x9d, 0x07, 0x87, 0x4b, 0xf1, 0x68, 0x99, 0x2b,
  6484. 0xba, 0x0a, 0x9f, 0x98, 0x42, 0xfd, 0x1d, 0x21,
  6485. };
  6486. static const struct drbg_kat_no_reseed kat214_nor_t = {
  6487. 3, kat214_nor_entropyin, kat214_nor_nonce, kat214_nor_persstr,
  6488. kat214_nor_addin0, kat214_nor_addin1, kat214_nor_retbytes
  6489. };
  6490. static const struct drbg_kat kat214_nor = {
  6491. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat214_nor_t
  6492. };
  6493. static const unsigned char kat215_nor_entropyin[] = {
  6494. 0x15, 0xff, 0x59, 0xf0, 0x7c, 0x18, 0xab, 0x87, 0x83, 0x36, 0xde, 0xe5,
  6495. 0x4d, 0xcb, 0x47, 0xa4,
  6496. };
  6497. static const unsigned char kat215_nor_nonce[] = {
  6498. 0x39, 0x63, 0x76, 0xc4, 0x8a, 0x1c, 0xe3, 0x43,
  6499. };
  6500. static const unsigned char kat215_nor_persstr[] = {
  6501. 0x92, 0x4d, 0xda, 0xc1, 0x4f, 0x96, 0x11, 0xca, 0x3f, 0x81, 0x71, 0x20,
  6502. 0x21, 0xc7, 0xf7, 0xda,
  6503. };
  6504. static const unsigned char kat215_nor_addin0[] = {0};
  6505. static const unsigned char kat215_nor_addin1[] = {0};
  6506. static const unsigned char kat215_nor_retbytes[] = {
  6507. 0x76, 0xbe, 0x3c, 0x7f, 0x88, 0x6a, 0xb3, 0x8c, 0x1f, 0x98, 0x2c, 0xd6,
  6508. 0x8e, 0x0a, 0x2c, 0x44, 0x85, 0xcf, 0x69, 0x62, 0x7d, 0x67, 0x01, 0x59,
  6509. 0x67, 0x3b, 0x9f, 0x31, 0x85, 0xde, 0x19, 0x0f, 0xb8, 0xdf, 0x92, 0xe5,
  6510. 0x16, 0x43, 0xc6, 0x61, 0xee, 0x84, 0xfa, 0xf9, 0x1e, 0x4a, 0xe7, 0xec,
  6511. 0x26, 0x78, 0x8d, 0xf4, 0x76, 0x72, 0xa1, 0xe3, 0xc4, 0x83, 0xdd, 0x28,
  6512. 0xdc, 0xf4, 0x88, 0x41, 0xc9, 0xf9, 0x10, 0xfb, 0x0d, 0x46, 0xdd, 0xda,
  6513. 0x6f, 0x16, 0x79, 0x1a, 0xfb, 0xa7, 0x3a, 0x83,
  6514. };
  6515. static const struct drbg_kat_no_reseed kat215_nor_t = {
  6516. 4, kat215_nor_entropyin, kat215_nor_nonce, kat215_nor_persstr,
  6517. kat215_nor_addin0, kat215_nor_addin1, kat215_nor_retbytes
  6518. };
  6519. static const struct drbg_kat kat215_nor = {
  6520. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat215_nor_t
  6521. };
  6522. static const unsigned char kat216_nor_entropyin[] = {
  6523. 0xdc, 0x5f, 0xd0, 0xfc, 0xab, 0x49, 0x0b, 0x8a, 0xec, 0x8d, 0xb1, 0x21,
  6524. 0x54, 0x3e, 0x75, 0x0c,
  6525. };
  6526. static const unsigned char kat216_nor_nonce[] = {
  6527. 0xb0, 0xae, 0x04, 0xcc, 0xe1, 0x4b, 0x1d, 0x5d,
  6528. };
  6529. static const unsigned char kat216_nor_persstr[] = {
  6530. 0x15, 0x9d, 0x87, 0x27, 0x5d, 0xde, 0x2e, 0x35, 0x6f, 0xa8, 0x1d, 0x69,
  6531. 0x3c, 0x51, 0x71, 0xd7,
  6532. };
  6533. static const unsigned char kat216_nor_addin0[] = {0};
  6534. static const unsigned char kat216_nor_addin1[] = {0};
  6535. static const unsigned char kat216_nor_retbytes[] = {
  6536. 0xba, 0xc7, 0xc6, 0xc0, 0xfc, 0xde, 0x77, 0x84, 0xf5, 0x61, 0xf6, 0x6b,
  6537. 0x07, 0xa1, 0x24, 0x22, 0xa3, 0xc7, 0x45, 0xd0, 0xef, 0x4d, 0x17, 0x43,
  6538. 0x3a, 0xe0, 0xe1, 0x6a, 0x02, 0xe0, 0x8d, 0x8c, 0xdb, 0xe0, 0xed, 0x5a,
  6539. 0x96, 0x89, 0x64, 0xff, 0x0a, 0xa9, 0xdd, 0xdd, 0x9a, 0xbd, 0x5c, 0x55,
  6540. 0x90, 0x4a, 0xd7, 0xda, 0x95, 0xf9, 0xca, 0x6f, 0x74, 0x5f, 0x0f, 0xfe,
  6541. 0x4b, 0xe0, 0xa0, 0xa8, 0x80, 0xdc, 0xee, 0x0a, 0x63, 0x1d, 0x34, 0x92,
  6542. 0xc9, 0x9f, 0x6c, 0xc5, 0xe0, 0x54, 0x57, 0xc9,
  6543. };
  6544. static const struct drbg_kat_no_reseed kat216_nor_t = {
  6545. 5, kat216_nor_entropyin, kat216_nor_nonce, kat216_nor_persstr,
  6546. kat216_nor_addin0, kat216_nor_addin1, kat216_nor_retbytes
  6547. };
  6548. static const struct drbg_kat kat216_nor = {
  6549. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat216_nor_t
  6550. };
  6551. static const unsigned char kat217_nor_entropyin[] = {
  6552. 0xec, 0xa5, 0x9e, 0xe3, 0x14, 0xb9, 0x59, 0x8f, 0x2b, 0x9a, 0x79, 0xb2,
  6553. 0x2b, 0xb7, 0x91, 0xd4,
  6554. };
  6555. static const unsigned char kat217_nor_nonce[] = {
  6556. 0x83, 0x82, 0xba, 0x70, 0xec, 0xce, 0x35, 0x9f,
  6557. };
  6558. static const unsigned char kat217_nor_persstr[] = {
  6559. 0x82, 0x1d, 0xe6, 0x3a, 0xbd, 0x7c, 0xcf, 0x3f, 0x74, 0xdc, 0x9e, 0x99,
  6560. 0xa5, 0xf6, 0xe3, 0x98,
  6561. };
  6562. static const unsigned char kat217_nor_addin0[] = {0};
  6563. static const unsigned char kat217_nor_addin1[] = {0};
  6564. static const unsigned char kat217_nor_retbytes[] = {
  6565. 0x1f, 0x35, 0x09, 0x7f, 0x7c, 0x08, 0x06, 0xa6, 0xfa, 0x93, 0x99, 0xda,
  6566. 0x1c, 0x45, 0xe8, 0xea, 0xa0, 0x7c, 0x6b, 0x1c, 0x8f, 0xc3, 0xda, 0xd9,
  6567. 0x66, 0x67, 0xde, 0x01, 0xa3, 0x13, 0x93, 0x8e, 0x37, 0x64, 0x90, 0xe2,
  6568. 0x14, 0x20, 0x7f, 0x79, 0xe1, 0x0c, 0x24, 0x34, 0x38, 0x02, 0x87, 0xb5,
  6569. 0xf7, 0x2c, 0x67, 0xb9, 0x14, 0x7a, 0x8f, 0x56, 0x82, 0xcd, 0xaa, 0x04,
  6570. 0x1a, 0xbb, 0x7b, 0xf3, 0x24, 0x46, 0x4f, 0x58, 0x9c, 0x06, 0xaf, 0xe1,
  6571. 0xaa, 0xdb, 0xd4, 0x74, 0xaa, 0x51, 0x49, 0x7d,
  6572. };
  6573. static const struct drbg_kat_no_reseed kat217_nor_t = {
  6574. 6, kat217_nor_entropyin, kat217_nor_nonce, kat217_nor_persstr,
  6575. kat217_nor_addin0, kat217_nor_addin1, kat217_nor_retbytes
  6576. };
  6577. static const struct drbg_kat kat217_nor = {
  6578. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat217_nor_t
  6579. };
  6580. static const unsigned char kat218_nor_entropyin[] = {
  6581. 0x24, 0x3d, 0xec, 0x1c, 0x74, 0xb6, 0xda, 0xf7, 0x5c, 0x94, 0x81, 0xde,
  6582. 0x3a, 0xcc, 0xb3, 0x94,
  6583. };
  6584. static const unsigned char kat218_nor_nonce[] = {
  6585. 0x63, 0xa8, 0x36, 0x1f, 0x5b, 0x8c, 0x9c, 0x0e,
  6586. };
  6587. static const unsigned char kat218_nor_persstr[] = {
  6588. 0x79, 0xc6, 0x0f, 0x83, 0xc9, 0x26, 0x6b, 0x48, 0xe3, 0x51, 0x64, 0x8c,
  6589. 0x99, 0x1c, 0xf4, 0xd5,
  6590. };
  6591. static const unsigned char kat218_nor_addin0[] = {0};
  6592. static const unsigned char kat218_nor_addin1[] = {0};
  6593. static const unsigned char kat218_nor_retbytes[] = {
  6594. 0xa8, 0x5f, 0x1e, 0x42, 0xf6, 0xb7, 0x3b, 0x34, 0xfb, 0x63, 0xe5, 0x62,
  6595. 0x30, 0x47, 0xd2, 0xa1, 0x6e, 0x9e, 0x03, 0xb9, 0xab, 0x8b, 0x2b, 0xd0,
  6596. 0x35, 0x66, 0x9b, 0x7e, 0xdf, 0x18, 0xa7, 0x1f, 0x7e, 0xe9, 0x6d, 0xe8,
  6597. 0x5f, 0x8b, 0x2c, 0xea, 0xfb, 0xe1, 0x34, 0x7e, 0x91, 0x94, 0xb3, 0xa6,
  6598. 0x2d, 0xf8, 0xee, 0x5e, 0x06, 0x9b, 0x8d, 0x1f, 0x61, 0x9c, 0x20, 0x50,
  6599. 0xfc, 0xf9, 0xd2, 0xdb, 0x10, 0x10, 0xa4, 0x93, 0xe9, 0xc0, 0xd3, 0x6f,
  6600. 0x46, 0xfb, 0x98, 0x40, 0x60, 0x83, 0xf3, 0x35,
  6601. };
  6602. static const struct drbg_kat_no_reseed kat218_nor_t = {
  6603. 7, kat218_nor_entropyin, kat218_nor_nonce, kat218_nor_persstr,
  6604. kat218_nor_addin0, kat218_nor_addin1, kat218_nor_retbytes
  6605. };
  6606. static const struct drbg_kat kat218_nor = {
  6607. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat218_nor_t
  6608. };
  6609. static const unsigned char kat219_nor_entropyin[] = {
  6610. 0x7f, 0xb9, 0x05, 0xa5, 0x59, 0x8e, 0x31, 0x33, 0xd3, 0xc4, 0x74, 0x89,
  6611. 0xb1, 0x1e, 0xaa, 0x17,
  6612. };
  6613. static const unsigned char kat219_nor_nonce[] = {
  6614. 0x91, 0x8c, 0xf0, 0xf9, 0x15, 0x2b, 0x62, 0x94,
  6615. };
  6616. static const unsigned char kat219_nor_persstr[] = {
  6617. 0x28, 0x15, 0x18, 0x77, 0x28, 0x79, 0x0a, 0x95, 0xbb, 0x6d, 0x22, 0xd7,
  6618. 0xb0, 0x92, 0xd2, 0xc4,
  6619. };
  6620. static const unsigned char kat219_nor_addin0[] = {0};
  6621. static const unsigned char kat219_nor_addin1[] = {0};
  6622. static const unsigned char kat219_nor_retbytes[] = {
  6623. 0x15, 0x56, 0xa1, 0x82, 0x04, 0x57, 0x06, 0xd3, 0xc8, 0x60, 0xf2, 0x43,
  6624. 0x2e, 0xc0, 0xbb, 0xe9, 0x68, 0x95, 0x5e, 0xbd, 0x52, 0x8c, 0x2e, 0x8f,
  6625. 0xbc, 0xc5, 0xc1, 0x04, 0xbe, 0x88, 0x9c, 0x7b, 0x76, 0xff, 0x91, 0x35,
  6626. 0x0e, 0xe5, 0xba, 0x69, 0x08, 0xc7, 0xfc, 0x18, 0xf8, 0xb1, 0x1a, 0xfd,
  6627. 0x9b, 0xb9, 0x05, 0x72, 0x81, 0xe4, 0x62, 0xf5, 0x35, 0x0f, 0xd6, 0x78,
  6628. 0xe5, 0xd8, 0x72, 0xdf, 0x19, 0x91, 0x01, 0x77, 0x17, 0x19, 0x7c, 0x21,
  6629. 0xb1, 0x37, 0x4b, 0x79, 0xf6, 0xf7, 0xfe, 0xbb,
  6630. };
  6631. static const struct drbg_kat_no_reseed kat219_nor_t = {
  6632. 8, kat219_nor_entropyin, kat219_nor_nonce, kat219_nor_persstr,
  6633. kat219_nor_addin0, kat219_nor_addin1, kat219_nor_retbytes
  6634. };
  6635. static const struct drbg_kat kat219_nor = {
  6636. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat219_nor_t
  6637. };
  6638. static const unsigned char kat220_nor_entropyin[] = {
  6639. 0x01, 0xfb, 0x28, 0xbf, 0xa4, 0x03, 0xa7, 0x19, 0xe1, 0xae, 0x11, 0xf6,
  6640. 0x1a, 0xae, 0x03, 0x5e,
  6641. };
  6642. static const unsigned char kat220_nor_nonce[] = {
  6643. 0x27, 0x03, 0x6c, 0xd4, 0x15, 0x8f, 0x1b, 0x7b,
  6644. };
  6645. static const unsigned char kat220_nor_persstr[] = {
  6646. 0x6e, 0x18, 0x17, 0x55, 0x16, 0x81, 0x69, 0xba, 0x43, 0xc2, 0x69, 0xaf,
  6647. 0x58, 0xec, 0x40, 0xfe,
  6648. };
  6649. static const unsigned char kat220_nor_addin0[] = {0};
  6650. static const unsigned char kat220_nor_addin1[] = {0};
  6651. static const unsigned char kat220_nor_retbytes[] = {
  6652. 0x1d, 0xe8, 0x3d, 0x60, 0xa0, 0xe3, 0x6f, 0x7f, 0x4f, 0x7e, 0xdc, 0xe0,
  6653. 0x30, 0x77, 0xbc, 0x92, 0x68, 0xda, 0x4d, 0x64, 0xed, 0xd2, 0x48, 0x59,
  6654. 0xd2, 0x1a, 0x19, 0x0c, 0x06, 0xa0, 0x9a, 0xa3, 0xa5, 0xc7, 0x91, 0x11,
  6655. 0x6b, 0xa1, 0x2e, 0x2a, 0x13, 0xff, 0xa5, 0xe1, 0x90, 0xd1, 0x33, 0x8b,
  6656. 0x8f, 0x65, 0x5a, 0x8d, 0x98, 0x22, 0xb8, 0x4d, 0x86, 0x50, 0x95, 0x8b,
  6657. 0xba, 0x81, 0x9b, 0xf9, 0xb4, 0x12, 0x92, 0xbf, 0x5d, 0x66, 0xb4, 0x9a,
  6658. 0xc6, 0xcc, 0xc0, 0x2b, 0x9d, 0xfd, 0x39, 0xa8,
  6659. };
  6660. static const struct drbg_kat_no_reseed kat220_nor_t = {
  6661. 9, kat220_nor_entropyin, kat220_nor_nonce, kat220_nor_persstr,
  6662. kat220_nor_addin0, kat220_nor_addin1, kat220_nor_retbytes
  6663. };
  6664. static const struct drbg_kat kat220_nor = {
  6665. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat220_nor_t
  6666. };
  6667. static const unsigned char kat221_nor_entropyin[] = {
  6668. 0x96, 0x49, 0x46, 0x5c, 0x60, 0x87, 0x9b, 0x37, 0x25, 0xb9, 0x2a, 0xad,
  6669. 0x1f, 0xa4, 0x10, 0x77,
  6670. };
  6671. static const unsigned char kat221_nor_nonce[] = {
  6672. 0x8e, 0x35, 0xb2, 0x87, 0xbc, 0x32, 0xc2, 0x73,
  6673. };
  6674. static const unsigned char kat221_nor_persstr[] = {
  6675. 0x36, 0x1f, 0xf9, 0x96, 0x34, 0xed, 0x95, 0x41, 0xe7, 0x10, 0xb9, 0x51,
  6676. 0xb0, 0x10, 0x5c, 0xd3,
  6677. };
  6678. static const unsigned char kat221_nor_addin0[] = {0};
  6679. static const unsigned char kat221_nor_addin1[] = {0};
  6680. static const unsigned char kat221_nor_retbytes[] = {
  6681. 0x02, 0x11, 0xe8, 0x08, 0x3c, 0x45, 0x76, 0xa8, 0x15, 0xab, 0x2d, 0x68,
  6682. 0xf1, 0xc4, 0xae, 0x89, 0x79, 0x19, 0x8d, 0x8e, 0x44, 0xa5, 0xd1, 0x4f,
  6683. 0x80, 0x98, 0x76, 0x95, 0xa3, 0x97, 0xcf, 0x71, 0xd2, 0x57, 0xed, 0xec,
  6684. 0x3a, 0x32, 0xbc, 0xcb, 0x2e, 0x29, 0x3c, 0x59, 0x17, 0x3f, 0xce, 0x4a,
  6685. 0x1f, 0x97, 0x5e, 0x4e, 0x91, 0x11, 0xca, 0xdf, 0xab, 0x18, 0xcf, 0xa0,
  6686. 0xbf, 0x5f, 0x39, 0x2e, 0x4e, 0x14, 0x4c, 0x48, 0x27, 0x9d, 0xa5, 0x63,
  6687. 0xba, 0xc9, 0xd0, 0x3d, 0xdf, 0x0c, 0x73, 0x57,
  6688. };
  6689. static const struct drbg_kat_no_reseed kat221_nor_t = {
  6690. 10, kat221_nor_entropyin, kat221_nor_nonce, kat221_nor_persstr,
  6691. kat221_nor_addin0, kat221_nor_addin1, kat221_nor_retbytes
  6692. };
  6693. static const struct drbg_kat kat221_nor = {
  6694. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat221_nor_t
  6695. };
  6696. static const unsigned char kat222_nor_entropyin[] = {
  6697. 0xb3, 0x3d, 0xca, 0x3f, 0xc1, 0x04, 0xae, 0x07, 0x2a, 0x78, 0x1e, 0xcc,
  6698. 0x2d, 0xc4, 0xaa, 0x35,
  6699. };
  6700. static const unsigned char kat222_nor_nonce[] = {
  6701. 0x92, 0xd9, 0x74, 0xf0, 0x27, 0x81, 0x11, 0xa6,
  6702. };
  6703. static const unsigned char kat222_nor_persstr[] = {
  6704. 0xf2, 0x71, 0x50, 0x0a, 0x57, 0xf6, 0xd0, 0xfa, 0x65, 0x3e, 0x2a, 0x97,
  6705. 0x61, 0xa5, 0x11, 0x8e,
  6706. };
  6707. static const unsigned char kat222_nor_addin0[] = {0};
  6708. static const unsigned char kat222_nor_addin1[] = {0};
  6709. static const unsigned char kat222_nor_retbytes[] = {
  6710. 0xc4, 0x71, 0x04, 0x46, 0x78, 0xd3, 0xbf, 0xca, 0x70, 0xb7, 0xc0, 0x97,
  6711. 0x9d, 0x82, 0xd0, 0xd3, 0xd7, 0xc7, 0xef, 0xac, 0xf8, 0x78, 0xff, 0x6e,
  6712. 0x1d, 0x30, 0xf0, 0xf8, 0xff, 0x48, 0xaf, 0xf4, 0xd6, 0x39, 0xfb, 0x18,
  6713. 0x9a, 0xcd, 0xab, 0x5b, 0x3c, 0x31, 0x82, 0x6c, 0x96, 0x0f, 0x44, 0x40,
  6714. 0x73, 0x14, 0x7d, 0x8a, 0x6c, 0x8e, 0xd5, 0x08, 0x18, 0x8f, 0x48, 0xc9,
  6715. 0x5f, 0x40, 0x1d, 0x00, 0x2e, 0xe5, 0xdd, 0x86, 0x6f, 0x0c, 0x4b, 0x05,
  6716. 0xd0, 0xac, 0xc4, 0x84, 0x0c, 0x6b, 0xec, 0xf2,
  6717. };
  6718. static const struct drbg_kat_no_reseed kat222_nor_t = {
  6719. 11, kat222_nor_entropyin, kat222_nor_nonce, kat222_nor_persstr,
  6720. kat222_nor_addin0, kat222_nor_addin1, kat222_nor_retbytes
  6721. };
  6722. static const struct drbg_kat kat222_nor = {
  6723. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat222_nor_t
  6724. };
  6725. static const unsigned char kat223_nor_entropyin[] = {
  6726. 0xbf, 0x2d, 0x50, 0xd2, 0x9b, 0x73, 0x37, 0xe7, 0x1c, 0xe1, 0x29, 0xae,
  6727. 0x8f, 0x86, 0x11, 0xf1,
  6728. };
  6729. static const unsigned char kat223_nor_nonce[] = {
  6730. 0x3c, 0xff, 0xbf, 0x94, 0xc8, 0x46, 0x2d, 0xf7,
  6731. };
  6732. static const unsigned char kat223_nor_persstr[] = {
  6733. 0x52, 0x63, 0xf5, 0xb6, 0xea, 0xf9, 0x12, 0x2c, 0x2b, 0x57, 0xc5, 0x63,
  6734. 0xaa, 0xc6, 0x58, 0x3c,
  6735. };
  6736. static const unsigned char kat223_nor_addin0[] = {0};
  6737. static const unsigned char kat223_nor_addin1[] = {0};
  6738. static const unsigned char kat223_nor_retbytes[] = {
  6739. 0x1a, 0xce, 0x79, 0xcb, 0x19, 0x71, 0x9f, 0x58, 0xf3, 0x20, 0xbb, 0x68,
  6740. 0xe5, 0xaa, 0x53, 0x1e, 0xbf, 0x59, 0x56, 0xbb, 0x23, 0x07, 0xdc, 0x09,
  6741. 0xcf, 0x9a, 0xb5, 0x44, 0xbf, 0xae, 0x36, 0x30, 0x1a, 0x90, 0x84, 0x45,
  6742. 0xe4, 0x19, 0x5f, 0x33, 0x4e, 0x62, 0x87, 0xc9, 0x0f, 0xf8, 0xa8, 0xc5,
  6743. 0x79, 0xf4, 0x33, 0x7f, 0x88, 0xcc, 0xf9, 0x09, 0x5c, 0xe2, 0x31, 0x68,
  6744. 0x70, 0x29, 0x59, 0xa8, 0x21, 0xca, 0x7a, 0x92, 0xef, 0xb0, 0xaa, 0x74,
  6745. 0x8c, 0xd2, 0x52, 0x29, 0x8a, 0x59, 0xee, 0x96,
  6746. };
  6747. static const struct drbg_kat_no_reseed kat223_nor_t = {
  6748. 12, kat223_nor_entropyin, kat223_nor_nonce, kat223_nor_persstr,
  6749. kat223_nor_addin0, kat223_nor_addin1, kat223_nor_retbytes
  6750. };
  6751. static const struct drbg_kat kat223_nor = {
  6752. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat223_nor_t
  6753. };
  6754. static const unsigned char kat224_nor_entropyin[] = {
  6755. 0xa2, 0xc7, 0x60, 0x04, 0xf5, 0x22, 0x92, 0xae, 0x30, 0x74, 0x4b, 0x3b,
  6756. 0xb7, 0xb9, 0x74, 0x6a,
  6757. };
  6758. static const unsigned char kat224_nor_nonce[] = {
  6759. 0xa2, 0x6e, 0x98, 0x09, 0x0c, 0x9c, 0x4e, 0x16,
  6760. };
  6761. static const unsigned char kat224_nor_persstr[] = {
  6762. 0xdf, 0xff, 0xad, 0xa1, 0x52, 0xeb, 0xc2, 0xc6, 0xe2, 0xdd, 0x71, 0x21,
  6763. 0xd5, 0x84, 0x4e, 0xa0,
  6764. };
  6765. static const unsigned char kat224_nor_addin0[] = {0};
  6766. static const unsigned char kat224_nor_addin1[] = {0};
  6767. static const unsigned char kat224_nor_retbytes[] = {
  6768. 0x67, 0x5e, 0xd1, 0xb8, 0xa2, 0x8f, 0x8f, 0x00, 0xc3, 0xb6, 0xef, 0xd9,
  6769. 0x27, 0x6d, 0xaf, 0x5c, 0xfb, 0xff, 0x95, 0xfd, 0x59, 0x2c, 0xe8, 0xc9,
  6770. 0x4c, 0x4b, 0x5d, 0xc9, 0x79, 0x3b, 0x67, 0xeb, 0x2d, 0x9c, 0xa3, 0x7a,
  6771. 0xa9, 0xc0, 0xb6, 0x0e, 0xc5, 0xc9, 0xa2, 0xa5, 0x68, 0x39, 0x70, 0x88,
  6772. 0x09, 0x59, 0x48, 0x94, 0xcb, 0x7a, 0xdc, 0xf6, 0xc9, 0xce, 0xe7, 0x94,
  6773. 0x47, 0x1d, 0xba, 0x01, 0xd6, 0xeb, 0xa2, 0xd1, 0xa6, 0x31, 0x62, 0x4b,
  6774. 0x6d, 0x0c, 0x36, 0x80, 0x4f, 0xaf, 0x6a, 0x60,
  6775. };
  6776. static const struct drbg_kat_no_reseed kat224_nor_t = {
  6777. 13, kat224_nor_entropyin, kat224_nor_nonce, kat224_nor_persstr,
  6778. kat224_nor_addin0, kat224_nor_addin1, kat224_nor_retbytes
  6779. };
  6780. static const struct drbg_kat kat224_nor = {
  6781. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat224_nor_t
  6782. };
  6783. static const unsigned char kat225_nor_entropyin[] = {
  6784. 0x4a, 0x1b, 0x6e, 0x50, 0xd2, 0x85, 0x48, 0x66, 0xe1, 0xc1, 0xdd, 0xb6,
  6785. 0x53, 0x77, 0xba, 0xca,
  6786. };
  6787. static const unsigned char kat225_nor_nonce[] = {
  6788. 0x72, 0x39, 0xf9, 0x2b, 0x63, 0xfb, 0x3d, 0xbe,
  6789. };
  6790. static const unsigned char kat225_nor_persstr[] = {
  6791. 0x8d, 0x2e, 0x2c, 0xa3, 0x98, 0x5b, 0xd2, 0x53, 0x8a, 0x71, 0xf0, 0x2c,
  6792. 0xc3, 0xeb, 0x55, 0x68,
  6793. };
  6794. static const unsigned char kat225_nor_addin0[] = {0};
  6795. static const unsigned char kat225_nor_addin1[] = {0};
  6796. static const unsigned char kat225_nor_retbytes[] = {
  6797. 0x0e, 0x4c, 0xb3, 0x28, 0xc0, 0x3f, 0xaa, 0xed, 0xbe, 0xc7, 0x21, 0x57,
  6798. 0x25, 0x85, 0x10, 0x69, 0xbc, 0xea, 0xe4, 0x33, 0x2d, 0xe6, 0xa7, 0x0e,
  6799. 0x35, 0x21, 0xdd, 0x06, 0x5f, 0x2f, 0x79, 0x23, 0x48, 0x59, 0x69, 0x57,
  6800. 0x1e, 0xbd, 0x7f, 0x24, 0xbe, 0x46, 0x0f, 0xd9, 0x01, 0xc6, 0xb3, 0xe3,
  6801. 0x56, 0xda, 0x6e, 0xe5, 0x26, 0x2e, 0xf2, 0xd7, 0x6a, 0xd1, 0x4e, 0xb0,
  6802. 0xf6, 0x97, 0xf8, 0xfb, 0x92, 0xaf, 0x2f, 0x46, 0x63, 0x01, 0x98, 0xc5,
  6803. 0xf7, 0x01, 0x88, 0x60, 0x88, 0x61, 0x47, 0xb3,
  6804. };
  6805. static const struct drbg_kat_no_reseed kat225_nor_t = {
  6806. 14, kat225_nor_entropyin, kat225_nor_nonce, kat225_nor_persstr,
  6807. kat225_nor_addin0, kat225_nor_addin1, kat225_nor_retbytes
  6808. };
  6809. static const struct drbg_kat kat225_nor = {
  6810. NO_RESEED, NA, NID_sha1, 16, 8, 16, 0, 80, &kat225_nor_t
  6811. };
  6812. static const unsigned char kat226_nor_entropyin[] = {
  6813. 0x1b, 0x28, 0x27, 0xae, 0x51, 0x82, 0x4e, 0x1f, 0x68, 0xa4, 0x81, 0x16,
  6814. 0xdf, 0xb2, 0xe3, 0x43,
  6815. };
  6816. static const unsigned char kat226_nor_nonce[] = {
  6817. 0xb9, 0xea, 0xc1, 0xb9, 0x47, 0xad, 0x0f, 0x4c,
  6818. };
  6819. static const unsigned char kat226_nor_persstr[] = {
  6820. 0x51, 0xfc, 0x5e, 0x48, 0x5d, 0x8c, 0xd0, 0x82, 0x09, 0xc9, 0x89, 0x48,
  6821. 0x21, 0xa2, 0xa6, 0xb6,
  6822. };
  6823. static const unsigned char kat226_nor_addin0[] = {
  6824. 0x39, 0xa5, 0x27, 0x48, 0xbd, 0xbc, 0x7f, 0xe0, 0xff, 0x45, 0x45, 0xf0,
  6825. 0x17, 0x99, 0x49, 0xe6,
  6826. };
  6827. static const unsigned char kat226_nor_addin1[] = {
  6828. 0x4d, 0x1a, 0x77, 0x4a, 0x70, 0x74, 0x38, 0xbf, 0x46, 0xe6, 0x90, 0x9a,
  6829. 0xff, 0x87, 0x41, 0x89,
  6830. };
  6831. static const unsigned char kat226_nor_retbytes[] = {
  6832. 0x90, 0x0d, 0x58, 0x58, 0x48, 0x38, 0x8e, 0x45, 0x2f, 0xde, 0x77, 0x71,
  6833. 0x40, 0x8c, 0x52, 0x92, 0x64, 0x5d, 0xf4, 0x62, 0x38, 0x9b, 0xbd, 0xbb,
  6834. 0x29, 0xcd, 0x1e, 0x2a, 0xb4, 0xf2, 0x28, 0x74, 0x68, 0xee, 0xfa, 0x08,
  6835. 0xb7, 0xb3, 0xbb, 0x69, 0xc2, 0x64, 0x53, 0xbd, 0x47, 0xab, 0xdb, 0x91,
  6836. 0xba, 0x58, 0x2a, 0xe2, 0x7b, 0xb9, 0xd5, 0x24, 0x3f, 0x98, 0x3f, 0xef,
  6837. 0xc6, 0x2b, 0xc1, 0x86, 0x58, 0x47, 0x99, 0x96, 0x33, 0x14, 0xd0, 0xf5,
  6838. 0x64, 0xef, 0x36, 0xbe, 0x63, 0x8b, 0x1a, 0x64,
  6839. };
  6840. static const struct drbg_kat_no_reseed kat226_nor_t = {
  6841. 0, kat226_nor_entropyin, kat226_nor_nonce, kat226_nor_persstr,
  6842. kat226_nor_addin0, kat226_nor_addin1, kat226_nor_retbytes
  6843. };
  6844. static const struct drbg_kat kat226_nor = {
  6845. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat226_nor_t
  6846. };
  6847. static const unsigned char kat227_nor_entropyin[] = {
  6848. 0x0f, 0x3b, 0x65, 0xbb, 0x13, 0xf1, 0xac, 0xb3, 0x17, 0x2b, 0xe7, 0x2e,
  6849. 0xde, 0xa5, 0x24, 0x7c,
  6850. };
  6851. static const unsigned char kat227_nor_nonce[] = {
  6852. 0x35, 0x22, 0xf2, 0xcb, 0xac, 0x34, 0x23, 0x8b,
  6853. };
  6854. static const unsigned char kat227_nor_persstr[] = {
  6855. 0xd8, 0x92, 0xf6, 0x5f, 0x19, 0x49, 0xd2, 0x80, 0xee, 0xcb, 0x29, 0x52,
  6856. 0x76, 0xb9, 0xc6, 0x9f,
  6857. };
  6858. static const unsigned char kat227_nor_addin0[] = {
  6859. 0x37, 0x2c, 0x1f, 0x00, 0xa4, 0x62, 0xa5, 0x35, 0xc4, 0x7a, 0x77, 0x1b,
  6860. 0x8e, 0x26, 0x53, 0x58,
  6861. };
  6862. static const unsigned char kat227_nor_addin1[] = {
  6863. 0x30, 0x62, 0x26, 0x8c, 0x61, 0x09, 0xe9, 0x2e, 0x96, 0x4a, 0x65, 0x5b,
  6864. 0xbe, 0x3f, 0x93, 0x80,
  6865. };
  6866. static const unsigned char kat227_nor_retbytes[] = {
  6867. 0xb7, 0xbb, 0x52, 0x38, 0x4c, 0xa0, 0xe6, 0x07, 0xa9, 0x86, 0xab, 0xac,
  6868. 0x17, 0x5e, 0xc2, 0x72, 0xdd, 0xaf, 0x05, 0x30, 0xf2, 0x41, 0xbd, 0xa6,
  6869. 0xea, 0x7b, 0x54, 0xb4, 0x24, 0x56, 0x56, 0x9e, 0xcc, 0xc0, 0x25, 0xca,
  6870. 0x66, 0x93, 0x6f, 0x2b, 0xac, 0xae, 0xe6, 0xdf, 0x8c, 0x93, 0xf7, 0xc1,
  6871. 0x3a, 0x89, 0xbf, 0x30, 0x32, 0xb8, 0x17, 0x46, 0x44, 0x25, 0xf3, 0x24,
  6872. 0xba, 0x17, 0x63, 0xad, 0xa7, 0x1d, 0x2d, 0x83, 0x46, 0x6c, 0x4f, 0x69,
  6873. 0x31, 0x62, 0x64, 0x82, 0x23, 0x8f, 0xf2, 0x1b,
  6874. };
  6875. static const struct drbg_kat_no_reseed kat227_nor_t = {
  6876. 1, kat227_nor_entropyin, kat227_nor_nonce, kat227_nor_persstr,
  6877. kat227_nor_addin0, kat227_nor_addin1, kat227_nor_retbytes
  6878. };
  6879. static const struct drbg_kat kat227_nor = {
  6880. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat227_nor_t
  6881. };
  6882. static const unsigned char kat228_nor_entropyin[] = {
  6883. 0xd7, 0x9c, 0x74, 0xc2, 0x3e, 0x2e, 0x01, 0x6f, 0x64, 0xbf, 0xa3, 0xad,
  6884. 0x5b, 0x35, 0x19, 0x72,
  6885. };
  6886. static const unsigned char kat228_nor_nonce[] = {
  6887. 0x5e, 0xfc, 0x54, 0xf3, 0x23, 0xf2, 0x08, 0x3c,
  6888. };
  6889. static const unsigned char kat228_nor_persstr[] = {
  6890. 0x08, 0xe3, 0x1c, 0x36, 0xe9, 0x29, 0x6c, 0x6c, 0xc2, 0xa9, 0x6f, 0x2f,
  6891. 0xd5, 0x39, 0xae, 0x5f,
  6892. };
  6893. static const unsigned char kat228_nor_addin0[] = {
  6894. 0x80, 0x54, 0x04, 0x91, 0xeb, 0x6a, 0x5b, 0x39, 0xb0, 0x79, 0x72, 0x6a,
  6895. 0x2d, 0x2e, 0x6e, 0xd7,
  6896. };
  6897. static const unsigned char kat228_nor_addin1[] = {
  6898. 0x57, 0xd4, 0x92, 0xf0, 0xb0, 0x98, 0xcc, 0xd5, 0x81, 0x0f, 0x9a, 0x6b,
  6899. 0xc9, 0xf7, 0x92, 0x13,
  6900. };
  6901. static const unsigned char kat228_nor_retbytes[] = {
  6902. 0x40, 0xa1, 0xa6, 0xf1, 0x3f, 0x9e, 0x2c, 0x2b, 0x20, 0xe4, 0xbe, 0x32,
  6903. 0xe5, 0x16, 0x21, 0x55, 0x16, 0x54, 0x03, 0xe9, 0x2a, 0xb8, 0xe4, 0xd5,
  6904. 0x51, 0x7b, 0x44, 0xad, 0x6d, 0x24, 0xe0, 0xf7, 0xe5, 0x1a, 0x97, 0x0b,
  6905. 0x46, 0x9a, 0xdb, 0x6d, 0xdb, 0x98, 0x70, 0xc1, 0x19, 0x55, 0x74, 0x6e,
  6906. 0x28, 0x06, 0x67, 0x18, 0x5c, 0x5a, 0x5e, 0xb1, 0xc7, 0x21, 0x86, 0x3c,
  6907. 0x22, 0xb2, 0x60, 0xc2, 0xc0, 0x07, 0x80, 0x02, 0x0e, 0x6a, 0x66, 0xe6,
  6908. 0x53, 0x1d, 0xc7, 0x14, 0xe8, 0x83, 0xbc, 0x01,
  6909. };
  6910. static const struct drbg_kat_no_reseed kat228_nor_t = {
  6911. 2, kat228_nor_entropyin, kat228_nor_nonce, kat228_nor_persstr,
  6912. kat228_nor_addin0, kat228_nor_addin1, kat228_nor_retbytes
  6913. };
  6914. static const struct drbg_kat kat228_nor = {
  6915. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat228_nor_t
  6916. };
  6917. static const unsigned char kat229_nor_entropyin[] = {
  6918. 0xda, 0x8b, 0x8c, 0x8a, 0x28, 0x5d, 0xed, 0xce, 0x25, 0x2e, 0x10, 0xeb,
  6919. 0x80, 0x3e, 0x9b, 0x90,
  6920. };
  6921. static const unsigned char kat229_nor_nonce[] = {
  6922. 0x47, 0x7b, 0x9d, 0x7b, 0xb8, 0xf0, 0x76, 0xaf,
  6923. };
  6924. static const unsigned char kat229_nor_persstr[] = {
  6925. 0xb7, 0xa6, 0xed, 0xb7, 0xad, 0x25, 0x10, 0x07, 0xc2, 0x8b, 0x2d, 0x33,
  6926. 0x30, 0xe7, 0xc6, 0x6b,
  6927. };
  6928. static const unsigned char kat229_nor_addin0[] = {
  6929. 0x26, 0x71, 0x08, 0x1c, 0x7c, 0xf3, 0xb2, 0x0a, 0x65, 0x44, 0x4c, 0x3e,
  6930. 0xd4, 0x95, 0xa8, 0xd4,
  6931. };
  6932. static const unsigned char kat229_nor_addin1[] = {
  6933. 0xe3, 0x1b, 0x86, 0x8c, 0xfe, 0x28, 0x24, 0x13, 0x5d, 0x15, 0x32, 0xf8,
  6934. 0x82, 0x31, 0x22, 0xe4,
  6935. };
  6936. static const unsigned char kat229_nor_retbytes[] = {
  6937. 0x60, 0x25, 0x99, 0xed, 0xee, 0xb4, 0xc8, 0x6b, 0xaf, 0x94, 0x79, 0xd4,
  6938. 0xb7, 0x45, 0xbd, 0x0f, 0x39, 0x29, 0x9d, 0x2b, 0x80, 0x84, 0xf1, 0xf6,
  6939. 0xdf, 0x9f, 0x48, 0xee, 0xcd, 0x08, 0xde, 0xa9, 0x8a, 0x81, 0x37, 0x73,
  6940. 0x2f, 0x08, 0xae, 0x83, 0xc6, 0x1b, 0x73, 0xae, 0x5a, 0xf0, 0x95, 0xed,
  6941. 0xf7, 0xca, 0xf1, 0x12, 0xd9, 0x89, 0x01, 0x62, 0x24, 0x32, 0xb4, 0xf8,
  6942. 0xd8, 0x8f, 0x2e, 0x65, 0x61, 0x24, 0x56, 0x52, 0xef, 0x94, 0xb3, 0x27,
  6943. 0xfa, 0xf9, 0xce, 0x09, 0x0f, 0x79, 0x06, 0x8f,
  6944. };
  6945. static const struct drbg_kat_no_reseed kat229_nor_t = {
  6946. 3, kat229_nor_entropyin, kat229_nor_nonce, kat229_nor_persstr,
  6947. kat229_nor_addin0, kat229_nor_addin1, kat229_nor_retbytes
  6948. };
  6949. static const struct drbg_kat kat229_nor = {
  6950. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat229_nor_t
  6951. };
  6952. static const unsigned char kat230_nor_entropyin[] = {
  6953. 0x4c, 0x49, 0xcf, 0xf5, 0x51, 0xdb, 0x41, 0xe6, 0x01, 0xbd, 0x14, 0x00,
  6954. 0x5c, 0x90, 0x90, 0xa6,
  6955. };
  6956. static const unsigned char kat230_nor_nonce[] = {
  6957. 0x7e, 0x9b, 0xf1, 0x33, 0x9d, 0x18, 0xcb, 0x6c,
  6958. };
  6959. static const unsigned char kat230_nor_persstr[] = {
  6960. 0xb8, 0x34, 0xac, 0x33, 0xcd, 0x97, 0xa9, 0xb5, 0x06, 0x59, 0x3e, 0xd5,
  6961. 0x97, 0x09, 0xe2, 0x13,
  6962. };
  6963. static const unsigned char kat230_nor_addin0[] = {
  6964. 0x85, 0x64, 0x98, 0x37, 0xdb, 0x26, 0x91, 0x04, 0xef, 0x6a, 0x97, 0x67,
  6965. 0x38, 0xa1, 0x71, 0xa8,
  6966. };
  6967. static const unsigned char kat230_nor_addin1[] = {
  6968. 0x59, 0x82, 0x38, 0xe9, 0x01, 0x89, 0xd1, 0xe9, 0x23, 0xae, 0x39, 0xee,
  6969. 0x5e, 0x7e, 0xc2, 0xd8,
  6970. };
  6971. static const unsigned char kat230_nor_retbytes[] = {
  6972. 0x4c, 0x28, 0x99, 0x1d, 0x91, 0x98, 0x49, 0x41, 0xd1, 0x26, 0xad, 0xd7,
  6973. 0x4b, 0x46, 0x3a, 0x8c, 0x31, 0xc8, 0xe0, 0xb6, 0x6d, 0x12, 0xe6, 0x64,
  6974. 0x02, 0x16, 0x71, 0x23, 0x4d, 0x49, 0x46, 0xcd, 0x3e, 0x55, 0xf1, 0x4d,
  6975. 0x22, 0x50, 0x66, 0x23, 0x16, 0x5b, 0xa9, 0xd2, 0x2c, 0x6a, 0x7f, 0x11,
  6976. 0xff, 0x2a, 0x12, 0xc6, 0x26, 0x74, 0x6f, 0x73, 0x9d, 0x70, 0xc9, 0x71,
  6977. 0xd4, 0xd4, 0x7f, 0x22, 0x97, 0x6a, 0x0e, 0x8d, 0x06, 0xb9, 0x36, 0x61,
  6978. 0x35, 0x0b, 0x43, 0xc6, 0xb2, 0x75, 0x4a, 0x89,
  6979. };
  6980. static const struct drbg_kat_no_reseed kat230_nor_t = {
  6981. 4, kat230_nor_entropyin, kat230_nor_nonce, kat230_nor_persstr,
  6982. kat230_nor_addin0, kat230_nor_addin1, kat230_nor_retbytes
  6983. };
  6984. static const struct drbg_kat kat230_nor = {
  6985. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat230_nor_t
  6986. };
  6987. static const unsigned char kat231_nor_entropyin[] = {
  6988. 0x65, 0xa0, 0x8a, 0x98, 0xf1, 0xb6, 0x32, 0xbe, 0xda, 0x76, 0x1c, 0x07,
  6989. 0x8d, 0x4a, 0x19, 0x5b,
  6990. };
  6991. static const unsigned char kat231_nor_nonce[] = {
  6992. 0xb9, 0x3a, 0x7d, 0x1a, 0x2f, 0x85, 0x9c, 0xc9,
  6993. };
  6994. static const unsigned char kat231_nor_persstr[] = {
  6995. 0x38, 0xbf, 0x8e, 0x9d, 0xb8, 0x45, 0xfb, 0x9e, 0xe4, 0xa4, 0xa5, 0x0f,
  6996. 0x6a, 0x14, 0xeb, 0x9e,
  6997. };
  6998. static const unsigned char kat231_nor_addin0[] = {
  6999. 0x86, 0x5a, 0x17, 0xd8, 0xb9, 0xf7, 0xf9, 0x5a, 0x4b, 0x08, 0xbf, 0x94,
  7000. 0xbd, 0xa2, 0x68, 0xa7,
  7001. };
  7002. static const unsigned char kat231_nor_addin1[] = {
  7003. 0x7f, 0x18, 0x18, 0x2a, 0x36, 0xa6, 0xcf, 0x72, 0x40, 0x33, 0x7c, 0x4f,
  7004. 0xbb, 0x5e, 0x4e, 0x72,
  7005. };
  7006. static const unsigned char kat231_nor_retbytes[] = {
  7007. 0x30, 0xe2, 0x42, 0x71, 0xf4, 0x13, 0x59, 0x6f, 0x8c, 0xb0, 0xf3, 0xd3,
  7008. 0x7c, 0xb5, 0xd3, 0x3f, 0xa5, 0xf1, 0xab, 0xeb, 0x08, 0xe5, 0x33, 0x1c,
  7009. 0xe6, 0x90, 0x1b, 0xdb, 0xc1, 0xb8, 0xde, 0x42, 0xac, 0x12, 0xe4, 0x9b,
  7010. 0xc0, 0x50, 0xeb, 0xcf, 0xf0, 0x0b, 0x42, 0xb3, 0x94, 0xcd, 0xe6, 0xbe,
  7011. 0xf0, 0x99, 0x3f, 0x00, 0x2f, 0x18, 0xc0, 0xe6, 0x8a, 0xed, 0xff, 0x96,
  7012. 0x96, 0x70, 0xf3, 0x12, 0xb9, 0xcd, 0xd8, 0x35, 0x9f, 0xaf, 0x3e, 0x0c,
  7013. 0x4d, 0xe2, 0x4e, 0xf9, 0xdb, 0x61, 0x3c, 0x98,
  7014. };
  7015. static const struct drbg_kat_no_reseed kat231_nor_t = {
  7016. 5, kat231_nor_entropyin, kat231_nor_nonce, kat231_nor_persstr,
  7017. kat231_nor_addin0, kat231_nor_addin1, kat231_nor_retbytes
  7018. };
  7019. static const struct drbg_kat kat231_nor = {
  7020. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat231_nor_t
  7021. };
  7022. static const unsigned char kat232_nor_entropyin[] = {
  7023. 0x70, 0x82, 0x70, 0x84, 0xcc, 0x1f, 0x48, 0x31, 0x7e, 0x1c, 0x95, 0xf2,
  7024. 0x55, 0x83, 0x7a, 0x3c,
  7025. };
  7026. static const unsigned char kat232_nor_nonce[] = {
  7027. 0x76, 0x5f, 0xba, 0xf6, 0xd0, 0x35, 0xab, 0xb7,
  7028. };
  7029. static const unsigned char kat232_nor_persstr[] = {
  7030. 0xa5, 0xb8, 0x04, 0x29, 0x62, 0x06, 0xcf, 0x3a, 0x78, 0x93, 0x78, 0x08,
  7031. 0x65, 0x64, 0x33, 0x30,
  7032. };
  7033. static const unsigned char kat232_nor_addin0[] = {
  7034. 0xbd, 0x67, 0xfb, 0xd0, 0xce, 0xa2, 0x25, 0x28, 0x2d, 0xbb, 0xde, 0x85,
  7035. 0xf9, 0xd8, 0x53, 0x24,
  7036. };
  7037. static const unsigned char kat232_nor_addin1[] = {
  7038. 0x55, 0xb5, 0xb4, 0x15, 0xcc, 0xb0, 0x31, 0xf6, 0xca, 0x34, 0xc9, 0xd7,
  7039. 0x71, 0x3b, 0xce, 0xd6,
  7040. };
  7041. static const unsigned char kat232_nor_retbytes[] = {
  7042. 0x2b, 0x85, 0x40, 0xe3, 0x7c, 0x31, 0x8a, 0xfa, 0x95, 0xfc, 0x1e, 0x8d,
  7043. 0x08, 0xb8, 0xd9, 0xeb, 0xf9, 0xe2, 0xb9, 0x10, 0xf2, 0x2d, 0xde, 0xb5,
  7044. 0xfb, 0xae, 0x43, 0x27, 0xd3, 0x7c, 0xd9, 0x87, 0x24, 0xdc, 0x95, 0xbf,
  7045. 0x36, 0x7e, 0x6e, 0x90, 0x19, 0x66, 0x39, 0xbd, 0x21, 0x32, 0x3d, 0x11,
  7046. 0x12, 0x78, 0xca, 0x16, 0x66, 0x65, 0x8a, 0xc1, 0xe5, 0x5c, 0x7c, 0x93,
  7047. 0x0f, 0x85, 0xe7, 0x73, 0xd3, 0x7d, 0xcf, 0xaf, 0x59, 0x11, 0x51, 0xff,
  7048. 0xec, 0x27, 0x29, 0xe3, 0x6e, 0xc5, 0xfc, 0x4e,
  7049. };
  7050. static const struct drbg_kat_no_reseed kat232_nor_t = {
  7051. 6, kat232_nor_entropyin, kat232_nor_nonce, kat232_nor_persstr,
  7052. kat232_nor_addin0, kat232_nor_addin1, kat232_nor_retbytes
  7053. };
  7054. static const struct drbg_kat kat232_nor = {
  7055. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat232_nor_t
  7056. };
  7057. static const unsigned char kat233_nor_entropyin[] = {
  7058. 0x39, 0xe7, 0x94, 0xb3, 0xb9, 0x56, 0x57, 0x4a, 0xdc, 0x9f, 0xa5, 0x40,
  7059. 0x01, 0xb2, 0xba, 0xd5,
  7060. };
  7061. static const unsigned char kat233_nor_nonce[] = {
  7062. 0xfc, 0x25, 0x1a, 0x9c, 0xa8, 0x1c, 0x02, 0x9b,
  7063. };
  7064. static const unsigned char kat233_nor_persstr[] = {
  7065. 0x7b, 0x56, 0x4f, 0x15, 0x15, 0x46, 0x1f, 0xa9, 0xef, 0x73, 0x52, 0xa8,
  7066. 0x9f, 0xfc, 0xb9, 0x8e,
  7067. };
  7068. static const unsigned char kat233_nor_addin0[] = {
  7069. 0x24, 0x9b, 0x0a, 0xfd, 0xa2, 0x3f, 0x95, 0xf4, 0x5c, 0xb5, 0x11, 0x16,
  7070. 0x92, 0x33, 0x59, 0xe7,
  7071. };
  7072. static const unsigned char kat233_nor_addin1[] = {
  7073. 0x18, 0xb4, 0x25, 0x58, 0x45, 0xcd, 0x8b, 0x2f, 0x3e, 0xcd, 0x84, 0xf2,
  7074. 0x70, 0x8d, 0x6a, 0x91,
  7075. };
  7076. static const unsigned char kat233_nor_retbytes[] = {
  7077. 0xd5, 0x36, 0x7e, 0x18, 0x62, 0x59, 0xb8, 0x90, 0x0a, 0x4c, 0xc2, 0xd0,
  7078. 0x8d, 0xe8, 0xbb, 0x86, 0x50, 0x3d, 0x23, 0xd8, 0x26, 0x42, 0x52, 0xdd,
  7079. 0x73, 0xff, 0x9d, 0x21, 0xce, 0x9c, 0xb5, 0xb4, 0x65, 0x67, 0x62, 0x69,
  7080. 0x80, 0x8b, 0x47, 0x7b, 0x4b, 0x24, 0xa7, 0x23, 0x1e, 0x5c, 0x8e, 0x31,
  7081. 0xbf, 0x3a, 0x5d, 0x1d, 0x96, 0x44, 0x4e, 0x8f, 0xe1, 0x28, 0xcc, 0x71,
  7082. 0x40, 0x21, 0x3d, 0xa6, 0x70, 0x62, 0x66, 0x0b, 0xa4, 0x90, 0xb8, 0xe6,
  7083. 0xab, 0xee, 0xeb, 0x33, 0x81, 0x01, 0x8f, 0x0b,
  7084. };
  7085. static const struct drbg_kat_no_reseed kat233_nor_t = {
  7086. 7, kat233_nor_entropyin, kat233_nor_nonce, kat233_nor_persstr,
  7087. kat233_nor_addin0, kat233_nor_addin1, kat233_nor_retbytes
  7088. };
  7089. static const struct drbg_kat kat233_nor = {
  7090. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat233_nor_t
  7091. };
  7092. static const unsigned char kat234_nor_entropyin[] = {
  7093. 0x0e, 0x54, 0xfd, 0x93, 0x17, 0x32, 0x45, 0x39, 0xb5, 0xf8, 0x7d, 0xda,
  7094. 0x8c, 0x5f, 0xee, 0xe2,
  7095. };
  7096. static const unsigned char kat234_nor_nonce[] = {
  7097. 0xf6, 0x6c, 0xeb, 0xa0, 0x13, 0x4d, 0x13, 0x92,
  7098. };
  7099. static const unsigned char kat234_nor_persstr[] = {
  7100. 0x83, 0xca, 0x30, 0x99, 0xc4, 0xfd, 0x95, 0x6d, 0x69, 0xde, 0x1d, 0xa9,
  7101. 0xdd, 0x2d, 0xae, 0x70,
  7102. };
  7103. static const unsigned char kat234_nor_addin0[] = {
  7104. 0x60, 0x44, 0x60, 0x20, 0x1a, 0xdb, 0xa7, 0x56, 0x0a, 0x9b, 0x7f, 0xcb,
  7105. 0xb2, 0xda, 0xb3, 0x45,
  7106. };
  7107. static const unsigned char kat234_nor_addin1[] = {
  7108. 0x91, 0x1e, 0xe9, 0xcf, 0xba, 0xb9, 0xd8, 0xab, 0x26, 0x13, 0x15, 0x93,
  7109. 0xb9, 0xa9, 0x74, 0xb8,
  7110. };
  7111. static const unsigned char kat234_nor_retbytes[] = {
  7112. 0x55, 0x98, 0x42, 0x4e, 0x63, 0xe7, 0x44, 0x29, 0x43, 0x1a, 0xd9, 0xa0,
  7113. 0x7d, 0xf0, 0x27, 0x04, 0x75, 0x4f, 0xfb, 0x9b, 0x30, 0x4d, 0x28, 0x93,
  7114. 0xd0, 0x2e, 0xc6, 0xb4, 0x5f, 0x33, 0x5c, 0xf0, 0x66, 0x3e, 0x86, 0x52,
  7115. 0x03, 0xcf, 0x2f, 0x10, 0x6c, 0x1a, 0x94, 0x72, 0xe6, 0x0c, 0x0c, 0x06,
  7116. 0x31, 0xa9, 0x6f, 0xd3, 0x85, 0x62, 0x55, 0xac, 0x01, 0xdd, 0xb9, 0x4c,
  7117. 0x7d, 0x0a, 0x23, 0x5d, 0xa6, 0x04, 0xe4, 0x6c, 0x19, 0xde, 0xcf, 0xd0,
  7118. 0x08, 0x34, 0xa4, 0x63, 0xea, 0x27, 0x06, 0x57,
  7119. };
  7120. static const struct drbg_kat_no_reseed kat234_nor_t = {
  7121. 8, kat234_nor_entropyin, kat234_nor_nonce, kat234_nor_persstr,
  7122. kat234_nor_addin0, kat234_nor_addin1, kat234_nor_retbytes
  7123. };
  7124. static const struct drbg_kat kat234_nor = {
  7125. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat234_nor_t
  7126. };
  7127. static const unsigned char kat235_nor_entropyin[] = {
  7128. 0x6b, 0x95, 0xce, 0x60, 0xfb, 0xde, 0x0b, 0x7a, 0x1c, 0x08, 0x4e, 0xe9,
  7129. 0xc4, 0xc0, 0xef, 0x3a,
  7130. };
  7131. static const unsigned char kat235_nor_nonce[] = {
  7132. 0xbc, 0x55, 0xd0, 0xd7, 0x3d, 0xf2, 0x01, 0x6c,
  7133. };
  7134. static const unsigned char kat235_nor_persstr[] = {
  7135. 0x54, 0xd5, 0x95, 0x2c, 0x46, 0xfc, 0xcb, 0x8b, 0xdd, 0xa8, 0xde, 0xc9,
  7136. 0xfe, 0x0f, 0x44, 0x20,
  7137. };
  7138. static const unsigned char kat235_nor_addin0[] = {
  7139. 0xee, 0xfa, 0x1d, 0x45, 0x0f, 0x09, 0x44, 0x5e, 0x37, 0x2f, 0x30, 0xc8,
  7140. 0xe7, 0xd0, 0xf3, 0x06,
  7141. };
  7142. static const unsigned char kat235_nor_addin1[] = {
  7143. 0x16, 0x0a, 0xde, 0x5d, 0x9d, 0x4d, 0xfd, 0xce, 0x0e, 0x04, 0x45, 0x67,
  7144. 0xa8, 0xba, 0xc0, 0x02,
  7145. };
  7146. static const unsigned char kat235_nor_retbytes[] = {
  7147. 0x2a, 0x7d, 0x8d, 0x1d, 0x24, 0x8e, 0xdd, 0x67, 0xb8, 0x0b, 0x63, 0x6c,
  7148. 0x22, 0xb5, 0xca, 0x69, 0xe9, 0x04, 0xce, 0xfc, 0xa3, 0x40, 0xbd, 0x85,
  7149. 0x86, 0xd1, 0x79, 0x55, 0xc8, 0x2d, 0x77, 0x29, 0xbb, 0x24, 0x3b, 0x2c,
  7150. 0x17, 0x15, 0x07, 0x4d, 0x85, 0x65, 0x97, 0x40, 0x6b, 0x86, 0xb9, 0x25,
  7151. 0x81, 0x87, 0x24, 0x23, 0x70, 0x41, 0x12, 0x7e, 0x67, 0x28, 0xfe, 0x30,
  7152. 0x80, 0xa4, 0x3f, 0x69, 0x55, 0x01, 0x9e, 0x10, 0xa0, 0xe9, 0xb4, 0xb6,
  7153. 0x5e, 0x1d, 0xe6, 0x55, 0xd2, 0x62, 0x11, 0x60,
  7154. };
  7155. static const struct drbg_kat_no_reseed kat235_nor_t = {
  7156. 9, kat235_nor_entropyin, kat235_nor_nonce, kat235_nor_persstr,
  7157. kat235_nor_addin0, kat235_nor_addin1, kat235_nor_retbytes
  7158. };
  7159. static const struct drbg_kat kat235_nor = {
  7160. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat235_nor_t
  7161. };
  7162. static const unsigned char kat236_nor_entropyin[] = {
  7163. 0x83, 0x99, 0x83, 0x66, 0xce, 0x3e, 0x12, 0x20, 0x2f, 0x20, 0xaf, 0x4c,
  7164. 0x35, 0x56, 0x79, 0xf5,
  7165. };
  7166. static const unsigned char kat236_nor_nonce[] = {
  7167. 0x4d, 0xb8, 0x3f, 0x88, 0x5f, 0xcd, 0x68, 0x19,
  7168. };
  7169. static const unsigned char kat236_nor_persstr[] = {
  7170. 0x6e, 0x69, 0xe4, 0xad, 0x38, 0x71, 0x9f, 0x5a, 0x36, 0xf6, 0x24, 0xe3,
  7171. 0x76, 0x6f, 0xfe, 0xa0,
  7172. };
  7173. static const unsigned char kat236_nor_addin0[] = {
  7174. 0x4e, 0xd8, 0xec, 0xc9, 0xa4, 0x9f, 0xde, 0xe2, 0x86, 0x35, 0x5b, 0x49,
  7175. 0x4a, 0xf8, 0x6d, 0x9b,
  7176. };
  7177. static const unsigned char kat236_nor_addin1[] = {
  7178. 0xc1, 0xe7, 0x9f, 0xea, 0xcb, 0x75, 0x75, 0x24, 0x43, 0x42, 0xe0, 0x18,
  7179. 0x3d, 0x25, 0x45, 0x6c,
  7180. };
  7181. static const unsigned char kat236_nor_retbytes[] = {
  7182. 0xba, 0x1b, 0x0c, 0x90, 0x8e, 0x30, 0x15, 0xbb, 0xd8, 0x05, 0xdf, 0xfc,
  7183. 0x80, 0x3b, 0xfa, 0x93, 0xf1, 0x30, 0x6d, 0x30, 0xdc, 0x7f, 0x05, 0xd2,
  7184. 0xd4, 0xe7, 0x5d, 0x30, 0x63, 0x37, 0x1b, 0x94, 0x7e, 0xd7, 0xec, 0x98,
  7185. 0xc2, 0x4c, 0x9e, 0x2d, 0xe4, 0x3b, 0x37, 0x22, 0x0f, 0x85, 0xaf, 0x7d,
  7186. 0x4a, 0xd2, 0x63, 0x88, 0x94, 0x86, 0x93, 0x35, 0x8d, 0xa2, 0x3b, 0xde,
  7187. 0xe6, 0xf2, 0x25, 0xe8, 0x77, 0x69, 0x05, 0xda, 0x1c, 0x24, 0xb0, 0xf9,
  7188. 0x61, 0x25, 0xc0, 0x81, 0xa9, 0x0c, 0xe7, 0xcb,
  7189. };
  7190. static const struct drbg_kat_no_reseed kat236_nor_t = {
  7191. 10, kat236_nor_entropyin, kat236_nor_nonce, kat236_nor_persstr,
  7192. kat236_nor_addin0, kat236_nor_addin1, kat236_nor_retbytes
  7193. };
  7194. static const struct drbg_kat kat236_nor = {
  7195. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat236_nor_t
  7196. };
  7197. static const unsigned char kat237_nor_entropyin[] = {
  7198. 0x2a, 0x40, 0x08, 0x08, 0xe0, 0x3c, 0xed, 0x38, 0x42, 0xba, 0x1e, 0xb3,
  7199. 0xf1, 0x57, 0x5f, 0xe6,
  7200. };
  7201. static const unsigned char kat237_nor_nonce[] = {
  7202. 0xc6, 0xb9, 0xb8, 0xc3, 0x33, 0x06, 0x3c, 0x4e,
  7203. };
  7204. static const unsigned char kat237_nor_persstr[] = {
  7205. 0x44, 0x24, 0xf5, 0x3b, 0x70, 0xa4, 0xf4, 0x87, 0x30, 0xf8, 0x12, 0xb3,
  7206. 0xcf, 0xcf, 0x53, 0x9c,
  7207. };
  7208. static const unsigned char kat237_nor_addin0[] = {
  7209. 0x66, 0x5c, 0x17, 0x18, 0xa4, 0x88, 0x18, 0x6e, 0x3f, 0x7d, 0x0b, 0xb6,
  7210. 0x96, 0x76, 0x2a, 0xa6,
  7211. };
  7212. static const unsigned char kat237_nor_addin1[] = {
  7213. 0xb6, 0xd1, 0x3e, 0xbd, 0x72, 0x09, 0x43, 0x7e, 0xa5, 0xfa, 0xba, 0x33,
  7214. 0x81, 0x4b, 0x2c, 0x74,
  7215. };
  7216. static const unsigned char kat237_nor_retbytes[] = {
  7217. 0x2d, 0xc7, 0xa9, 0x54, 0xff, 0x43, 0x9e, 0xc8, 0x10, 0x8b, 0x06, 0x49,
  7218. 0xac, 0xd3, 0xc5, 0xd8, 0xb2, 0xe2, 0x8c, 0x88, 0x04, 0xcc, 0x9d, 0x24,
  7219. 0x9a, 0xca, 0xfe, 0xdc, 0x0e, 0xf8, 0x1a, 0xab, 0x1c, 0xae, 0xc3, 0x56,
  7220. 0xcc, 0x50, 0xc4, 0x3b, 0x70, 0xc1, 0xfe, 0x4d, 0xc1, 0x17, 0x29, 0x0b,
  7221. 0xb0, 0x64, 0x85, 0x88, 0xbf, 0xe8, 0x4c, 0x9b, 0x83, 0x96, 0x40, 0xc1,
  7222. 0x50, 0x34, 0x38, 0x76, 0x5c, 0xed, 0xb0, 0xe5, 0x89, 0xcd, 0x13, 0xfc,
  7223. 0x8c, 0xd8, 0x0b, 0xd9, 0x6a, 0xd1, 0x9c, 0x6f,
  7224. };
  7225. static const struct drbg_kat_no_reseed kat237_nor_t = {
  7226. 11, kat237_nor_entropyin, kat237_nor_nonce, kat237_nor_persstr,
  7227. kat237_nor_addin0, kat237_nor_addin1, kat237_nor_retbytes
  7228. };
  7229. static const struct drbg_kat kat237_nor = {
  7230. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat237_nor_t
  7231. };
  7232. static const unsigned char kat238_nor_entropyin[] = {
  7233. 0x6f, 0x7a, 0x7d, 0x94, 0xdc, 0xe0, 0x25, 0x90, 0xe7, 0x90, 0xb9, 0x71,
  7234. 0xaf, 0x9d, 0x42, 0x95,
  7235. };
  7236. static const unsigned char kat238_nor_nonce[] = {
  7237. 0xd7, 0x42, 0xb2, 0xe7, 0xe6, 0x10, 0x00, 0x44,
  7238. };
  7239. static const unsigned char kat238_nor_persstr[] = {
  7240. 0xb9, 0xdb, 0x42, 0x70, 0x26, 0x23, 0xc7, 0x50, 0xb8, 0xa5, 0x6f, 0x87,
  7241. 0xe9, 0xb8, 0x6c, 0xe3,
  7242. };
  7243. static const unsigned char kat238_nor_addin0[] = {
  7244. 0xd8, 0xaa, 0x16, 0x60, 0x02, 0x63, 0x46, 0xb6, 0x4c, 0x73, 0x04, 0x2c,
  7245. 0xcd, 0x7b, 0xe9, 0x11,
  7246. };
  7247. static const unsigned char kat238_nor_addin1[] = {
  7248. 0xb8, 0x42, 0xd8, 0x10, 0x5b, 0x29, 0xdc, 0xdd, 0x49, 0x3b, 0x37, 0x1b,
  7249. 0xfe, 0x5f, 0xd9, 0xd9,
  7250. };
  7251. static const unsigned char kat238_nor_retbytes[] = {
  7252. 0x5e, 0xb0, 0x08, 0xc4, 0xe9, 0xbd, 0xab, 0x61, 0x16, 0x28, 0xff, 0x58,
  7253. 0x74, 0x11, 0xa8, 0x26, 0x2c, 0x27, 0x58, 0x95, 0x81, 0x03, 0xbd, 0x26,
  7254. 0x6a, 0xa1, 0xaf, 0x38, 0x6e, 0xbc, 0x70, 0x48, 0x24, 0x81, 0xdc, 0x8d,
  7255. 0xd6, 0xa2, 0x53, 0x22, 0x2e, 0x34, 0x44, 0x4b, 0xe4, 0x5a, 0x6a, 0xa2,
  7256. 0x31, 0x11, 0x99, 0x87, 0x37, 0x9b, 0xd7, 0xff, 0xc4, 0x3f, 0x7a, 0x4a,
  7257. 0xb7, 0x93, 0xd1, 0xfe, 0x90, 0x85, 0x52, 0x64, 0xf1, 0xf9, 0x47, 0x33,
  7258. 0xe4, 0x24, 0xdd, 0x97, 0x38, 0x7a, 0x18, 0x0a,
  7259. };
  7260. static const struct drbg_kat_no_reseed kat238_nor_t = {
  7261. 12, kat238_nor_entropyin, kat238_nor_nonce, kat238_nor_persstr,
  7262. kat238_nor_addin0, kat238_nor_addin1, kat238_nor_retbytes
  7263. };
  7264. static const struct drbg_kat kat238_nor = {
  7265. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat238_nor_t
  7266. };
  7267. static const unsigned char kat239_nor_entropyin[] = {
  7268. 0x5c, 0x6a, 0xed, 0x6f, 0x74, 0xcc, 0x30, 0x2e, 0x86, 0xc5, 0x04, 0xf0,
  7269. 0x58, 0x6c, 0xdc, 0xbd,
  7270. };
  7271. static const unsigned char kat239_nor_nonce[] = {
  7272. 0xe7, 0xcc, 0x8c, 0xd4, 0x4f, 0x6d, 0xac, 0xe7,
  7273. };
  7274. static const unsigned char kat239_nor_persstr[] = {
  7275. 0x77, 0x11, 0x41, 0xd9, 0x42, 0x65, 0x8f, 0xe4, 0xd6, 0x58, 0xf4, 0xa8,
  7276. 0xaf, 0x0d, 0xc4, 0x71,
  7277. };
  7278. static const unsigned char kat239_nor_addin0[] = {
  7279. 0x5d, 0x7a, 0x91, 0xe1, 0x8f, 0x88, 0xbd, 0x50, 0x9a, 0x6a, 0x0d, 0x59,
  7280. 0x0e, 0x71, 0xc7, 0x61,
  7281. };
  7282. static const unsigned char kat239_nor_addin1[] = {
  7283. 0xd4, 0x6b, 0x57, 0xfa, 0x51, 0xa4, 0x21, 0xe2, 0x5a, 0xed, 0xf1, 0x11,
  7284. 0x15, 0x7d, 0xb8, 0xb9,
  7285. };
  7286. static const unsigned char kat239_nor_retbytes[] = {
  7287. 0xad, 0x1a, 0xda, 0x8c, 0xe7, 0x90, 0x45, 0xcb, 0x24, 0x74, 0x83, 0x78,
  7288. 0xb4, 0xc4, 0x62, 0x9d, 0xd9, 0x08, 0x05, 0x83, 0x77, 0x50, 0x24, 0x36,
  7289. 0xe6, 0xde, 0x51, 0xb8, 0xdb, 0xbd, 0x70, 0xd7, 0x21, 0xe8, 0x04, 0x95,
  7290. 0x5a, 0x1e, 0xcb, 0x02, 0xf8, 0xb1, 0x1d, 0x1d, 0x44, 0xd9, 0xf5, 0x01,
  7291. 0x18, 0x08, 0xc5, 0x6a, 0x6a, 0xfe, 0x94, 0xc7, 0x7c, 0x15, 0x31, 0x9d,
  7292. 0x8e, 0x1f, 0x48, 0xc5, 0x02, 0x34, 0xd1, 0x32, 0x28, 0xfb, 0xc8, 0x4e,
  7293. 0x13, 0xb4, 0x44, 0x0e, 0xac, 0xf4, 0xcd, 0x21,
  7294. };
  7295. static const struct drbg_kat_no_reseed kat239_nor_t = {
  7296. 13, kat239_nor_entropyin, kat239_nor_nonce, kat239_nor_persstr,
  7297. kat239_nor_addin0, kat239_nor_addin1, kat239_nor_retbytes
  7298. };
  7299. static const struct drbg_kat kat239_nor = {
  7300. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat239_nor_t
  7301. };
  7302. static const unsigned char kat240_nor_entropyin[] = {
  7303. 0xb3, 0x0e, 0xd3, 0x21, 0xb4, 0x60, 0x9c, 0x2c, 0x1b, 0x51, 0x23, 0x59,
  7304. 0x63, 0x95, 0x8e, 0xa5,
  7305. };
  7306. static const unsigned char kat240_nor_nonce[] = {
  7307. 0x5b, 0xf9, 0xbc, 0x2f, 0xee, 0x57, 0x5e, 0xb4,
  7308. };
  7309. static const unsigned char kat240_nor_persstr[] = {
  7310. 0x8f, 0xbd, 0x86, 0xda, 0x07, 0x24, 0x35, 0x5a, 0x40, 0x59, 0xf6, 0xac,
  7311. 0x78, 0xfe, 0x63, 0x42,
  7312. };
  7313. static const unsigned char kat240_nor_addin0[] = {
  7314. 0xfc, 0x54, 0xb5, 0x33, 0x9b, 0x37, 0xeb, 0x68, 0x89, 0xcf, 0xd7, 0xc1,
  7315. 0x85, 0x07, 0x0b, 0xd0,
  7316. };
  7317. static const unsigned char kat240_nor_addin1[] = {
  7318. 0xf6, 0xa7, 0x83, 0xd6, 0xd4, 0x2e, 0x5a, 0xd5, 0xab, 0xb0, 0xa9, 0x96,
  7319. 0xbd, 0xdf, 0xa0, 0x4c,
  7320. };
  7321. static const unsigned char kat240_nor_retbytes[] = {
  7322. 0x68, 0x3f, 0xaa, 0x73, 0x2c, 0x45, 0x51, 0x60, 0x4c, 0x88, 0x65, 0xb5,
  7323. 0xf7, 0x77, 0x57, 0x1c, 0x7d, 0x3c, 0xf1, 0xa6, 0x01, 0x24, 0xc5, 0x9b,
  7324. 0x91, 0x28, 0x3d, 0xa0, 0xcd, 0xa9, 0xb2, 0x17, 0x61, 0xd1, 0xc1, 0x7c,
  7325. 0x81, 0x85, 0x69, 0x58, 0xc6, 0xd5, 0x90, 0x43, 0x6c, 0x73, 0x59, 0x4b,
  7326. 0xb3, 0x6f, 0x46, 0xc2, 0xf8, 0x92, 0x37, 0xd8, 0xc7, 0xa7, 0xdd, 0xd2,
  7327. 0xc5, 0x83, 0x94, 0xc9, 0x83, 0xf8, 0xf6, 0xc0, 0x00, 0xd7, 0x75, 0x66,
  7328. 0xf2, 0xa1, 0xd8, 0x9b, 0xac, 0x05, 0x4b, 0xdb,
  7329. };
  7330. static const struct drbg_kat_no_reseed kat240_nor_t = {
  7331. 14, kat240_nor_entropyin, kat240_nor_nonce, kat240_nor_persstr,
  7332. kat240_nor_addin0, kat240_nor_addin1, kat240_nor_retbytes
  7333. };
  7334. static const struct drbg_kat kat240_nor = {
  7335. NO_RESEED, NA, NID_sha1, 16, 8, 16, 16, 80, &kat240_nor_t
  7336. };
  7337. static const unsigned char kat480_nor_entropyin[] = {
  7338. 0x63, 0xb6, 0x77, 0x16, 0x61, 0xab, 0x68, 0x98, 0x09, 0xcc, 0xc5, 0xe5,
  7339. 0x59, 0x1b, 0xd1, 0x74, 0x39, 0x21, 0xd6, 0xed, 0x1e, 0x1d, 0xdd, 0x01,
  7340. };
  7341. static const unsigned char kat480_nor_nonce[] = {
  7342. 0xb6, 0x34, 0xe9, 0x89, 0xec, 0x3b, 0xd5, 0xb5, 0x97, 0x77, 0xb2, 0x7d,
  7343. };
  7344. static const unsigned char kat480_nor_persstr[] = {
  7345. 0x82, 0x2d, 0xe3, 0x95, 0x2f, 0xf3, 0x6c, 0xf2, 0xd4, 0xe4, 0x02, 0x7c,
  7346. 0x12, 0xc4, 0xf7, 0xcd, 0x66, 0x5c, 0x08, 0xd9, 0x29, 0x59, 0x1b, 0x21,
  7347. };
  7348. static const unsigned char kat480_nor_addin0[] = {
  7349. 0xe5, 0xc6, 0x33, 0xca, 0x50, 0xdc, 0xd8, 0x3e, 0x0a, 0x34, 0xd3, 0x97,
  7350. 0xdf, 0x53, 0xf6, 0xd7, 0xa6, 0xf7, 0x17, 0x0a, 0x3f, 0x81, 0xf0, 0xe6,
  7351. };
  7352. static const unsigned char kat480_nor_addin1[] = {
  7353. 0x5f, 0x0b, 0xeb, 0x5a, 0x2d, 0x29, 0x68, 0xe8, 0x3b, 0xa8, 0x7c, 0x92,
  7354. 0xbf, 0xa4, 0x20, 0xfd, 0x6e, 0x85, 0x26, 0xfb, 0xbf, 0xde, 0xa1, 0x28,
  7355. };
  7356. static const unsigned char kat480_nor_retbytes[] = {
  7357. 0x8b, 0xec, 0x11, 0xdf, 0x10, 0x22, 0xaa, 0x50, 0xd9, 0x5d, 0xae, 0xaf,
  7358. 0x23, 0xd7, 0x8d, 0x6e, 0xe4, 0x5c, 0x43, 0xc5, 0x76, 0x8b, 0x90, 0x18,
  7359. 0x1e, 0x10, 0x6c, 0x7d, 0xf8, 0xff, 0x33, 0x3d, 0x7c, 0xb8, 0x7c, 0xa1,
  7360. 0xab, 0x83, 0xf8, 0x74, 0x23, 0x70, 0xdb, 0x1c, 0x8c, 0x0c, 0x0c, 0x22,
  7361. 0xf1, 0x41, 0xff, 0x4d, 0xe3, 0x3a, 0xe8, 0xbd, 0xb1, 0x4f, 0xee, 0x7e,
  7362. 0x6c, 0x06, 0x98, 0x19, 0x32, 0x06, 0x29, 0xc6, 0x6d, 0x94, 0xc7, 0xc9,
  7363. 0x7f, 0xf5, 0x29, 0x30, 0xa3, 0xc1, 0xdc, 0xd5, 0x01, 0xb6, 0x0f, 0x0f,
  7364. 0x84, 0xbd, 0xa4, 0x72, 0x0e, 0xe1, 0x87, 0xae, 0x85, 0x8a, 0x6e, 0x06,
  7365. 0x83, 0x26, 0xed, 0xa5, 0x80, 0x97, 0x16, 0xe3, 0x66, 0xd1, 0xb6, 0x08,
  7366. 0xc6, 0x1b, 0x01, 0x00,
  7367. };
  7368. static const struct drbg_kat_no_reseed kat480_nor_t = {
  7369. 14, kat480_nor_entropyin, kat480_nor_nonce, kat480_nor_persstr,
  7370. kat480_nor_addin0, kat480_nor_addin1, kat480_nor_retbytes
  7371. };
  7372. static const struct drbg_kat kat480_nor = {
  7373. NO_RESEED, NA, NID_sha224, 24, 12, 24, 24, 112, &kat480_nor_t
  7374. };
  7375. static const unsigned char kat720_nor_entropyin[] = {
  7376. 0x70, 0x8f, 0x5c, 0x7e, 0x10, 0xd5, 0x6c, 0x30, 0x45, 0x6e, 0x9e, 0x3f,
  7377. 0x58, 0x69, 0xa9, 0x5a, 0x05, 0x1c, 0xf7, 0xcf, 0x10, 0x77, 0x08, 0xc4,
  7378. 0x0c, 0xcc, 0xb8, 0x01, 0xa3, 0xa7, 0x63, 0x6d,
  7379. };
  7380. static const unsigned char kat720_nor_nonce[] = {
  7381. 0xba, 0xc7, 0x55, 0xe7, 0x01, 0xb1, 0xfd, 0xd1, 0x70, 0xdc, 0x92, 0xeb,
  7382. 0x0f, 0x12, 0xbd, 0x4b,
  7383. };
  7384. static const unsigned char kat720_nor_persstr[] = {
  7385. 0xf1, 0xdb, 0x3a, 0xcd, 0x73, 0x91, 0x4a, 0x62, 0xbc, 0xa9, 0xa5, 0xce,
  7386. 0x34, 0x97, 0xb1, 0xb4, 0xda, 0x12, 0xb2, 0x9c, 0xee, 0x7d, 0xc4, 0x78,
  7387. 0x1d, 0x7c, 0xad, 0xdf, 0x67, 0xe4, 0x5f, 0x2c,
  7388. };
  7389. static const unsigned char kat720_nor_addin0[] = {
  7390. 0x22, 0x85, 0x22, 0xe5, 0x8e, 0x65, 0xd5, 0x0d, 0xfd, 0x17, 0x6e, 0x8f,
  7391. 0xf1, 0x74, 0x9f, 0xaa, 0x70, 0xfc, 0x2c, 0x82, 0xed, 0xa2, 0x5b, 0x07,
  7392. 0x48, 0xdd, 0xc5, 0xd4, 0x1f, 0xd7, 0x1b, 0xe5,
  7393. };
  7394. static const unsigned char kat720_nor_addin1[] = {
  7395. 0x7a, 0xf6, 0x0c, 0x47, 0xb4, 0xcd, 0x14, 0x6a, 0x39, 0x88, 0x7c, 0x9b,
  7396. 0x81, 0x2a, 0x1d, 0xd8, 0x14, 0xd7, 0x4c, 0x39, 0x86, 0x09, 0xbb, 0xbf,
  7397. 0xb5, 0x7e, 0x73, 0xda, 0x9c, 0xaf, 0xf5, 0x7a,
  7398. };
  7399. static const unsigned char kat720_nor_retbytes[] = {
  7400. 0x95, 0x28, 0xc8, 0x8f, 0x0a, 0xea, 0x3f, 0xc0, 0x3b, 0xb8, 0xa9, 0x06,
  7401. 0x1e, 0x15, 0x9a, 0x06, 0xd7, 0x8a, 0x2a, 0x65, 0x44, 0x08, 0x80, 0x8a,
  7402. 0xa4, 0xd0, 0xe7, 0x3a, 0xb1, 0xa5, 0x1e, 0x5a, 0xa8, 0x5e, 0x8b, 0xca,
  7403. 0xe7, 0x2d, 0x34, 0x78, 0x4f, 0xf6, 0xf5, 0x13, 0x19, 0x3e, 0x18, 0x3d,
  7404. 0x55, 0x6d, 0xda, 0xc5, 0x67, 0x53, 0x14, 0xf2, 0xb5, 0xcf, 0xe3, 0x92,
  7405. 0xd1, 0x52, 0x60, 0x56, 0xaf, 0xe3, 0x2d, 0x7c, 0x03, 0xe0, 0x9b, 0xa2,
  7406. 0xbd, 0xf3, 0xb1, 0x0e, 0x22, 0x8b, 0x0f, 0x60, 0x0a, 0x61, 0xcc, 0xcd,
  7407. 0x9e, 0x7b, 0xf1, 0x4d, 0xcc, 0xf1, 0x3b, 0x16, 0xa8, 0x38, 0xe6, 0x09,
  7408. 0x09, 0x78, 0x53, 0x07, 0xe6, 0x90, 0x5d, 0x51, 0x0d, 0x98, 0x88, 0xea,
  7409. 0xab, 0x16, 0x9f, 0xa6, 0x01, 0x55, 0x8f, 0xc9, 0x52, 0xaa, 0x85, 0x59,
  7410. 0xd2, 0x70, 0xec, 0xd3, 0x86, 0xd7, 0xfb, 0xd7,
  7411. };
  7412. static const struct drbg_kat_no_reseed kat720_nor_t = {
  7413. 14, kat720_nor_entropyin, kat720_nor_nonce, kat720_nor_persstr,
  7414. kat720_nor_addin0, kat720_nor_addin1, kat720_nor_retbytes
  7415. };
  7416. static const struct drbg_kat kat720_nor = {
  7417. NO_RESEED, NA, NID_sha256, 32, 16, 32, 32, 128, &kat720_nor_t
  7418. };
  7419. static const unsigned char kat960_nor_entropyin[] = {
  7420. 0x16, 0x1b, 0xef, 0x11, 0x9a, 0xf7, 0x36, 0xfd, 0x23, 0xe1, 0x88, 0xa2,
  7421. 0x27, 0xaa, 0xe7, 0x6e, 0xdd, 0x0f, 0xe6, 0x54, 0xf9, 0xf5, 0x83, 0xd7,
  7422. 0x5d, 0x77, 0xa3, 0x76, 0x4b, 0xb8, 0x47, 0x9f,
  7423. };
  7424. static const unsigned char kat960_nor_nonce[] = {
  7425. 0xc6, 0xe1, 0x4c, 0x68, 0x30, 0x9c, 0xa8, 0x47, 0x88, 0xad, 0x9f, 0x15,
  7426. 0xd5, 0xf0, 0xa9, 0x0a,
  7427. };
  7428. static const unsigned char kat960_nor_persstr[] = {
  7429. 0x8b, 0x20, 0x39, 0xa6, 0xd4, 0xb9, 0x09, 0x90, 0x6a, 0x87, 0x94, 0xdf,
  7430. 0x59, 0x95, 0xfe, 0x9e, 0xa9, 0x77, 0xc5, 0xa1, 0xa3, 0x09, 0x82, 0x01,
  7431. 0x5a, 0xad, 0xf9, 0x37, 0xc8, 0x63, 0xcf, 0xac,
  7432. };
  7433. static const unsigned char kat960_nor_addin0[] = {
  7434. 0x23, 0xe4, 0xe6, 0xb0, 0xe0, 0xc1, 0xb2, 0x8a, 0x6f, 0x97, 0x31, 0xf8,
  7435. 0xb0, 0x99, 0x60, 0xce, 0x7a, 0xda, 0xc1, 0x75, 0x27, 0xb3, 0xbb, 0xac,
  7436. 0xa7, 0xc8, 0x11, 0xda, 0xea, 0x4b, 0x1c, 0xf5,
  7437. };
  7438. static const unsigned char kat960_nor_addin1[] = {
  7439. 0xdc, 0x7f, 0xac, 0x6a, 0xed, 0xed, 0x9e, 0x17, 0xb5, 0xbb, 0x5e, 0x2b,
  7440. 0xca, 0xd9, 0x42, 0x4d, 0x42, 0xdc, 0x07, 0xe8, 0x09, 0xda, 0x59, 0xd5,
  7441. 0x2c, 0xae, 0xcb, 0xa6, 0xe7, 0x5c, 0xa4, 0x57,
  7442. };
  7443. static const unsigned char kat960_nor_retbytes[] = {
  7444. 0x5a, 0x42, 0xb3, 0x5c, 0xf1, 0xb7, 0x2d, 0x25, 0x20, 0xd9, 0x27, 0x19,
  7445. 0xa9, 0x4e, 0xf1, 0xa7, 0xca, 0x5b, 0x6d, 0x6c, 0x7e, 0xef, 0x2d, 0xe2,
  7446. 0x5c, 0x8e, 0xa4, 0x4c, 0x1f, 0xc3, 0xa9, 0xa5, 0xff, 0x21, 0x28, 0xf4,
  7447. 0x7b, 0xbe, 0x58, 0x08, 0x4a, 0x0c, 0x7a, 0x3f, 0xc7, 0x90, 0x62, 0x6e,
  7448. 0xff, 0x56, 0x66, 0xb4, 0xc1, 0xe6, 0x8f, 0xb2, 0xf5, 0x3d, 0xe3, 0x37,
  7449. 0x0b, 0x29, 0xc3, 0x98, 0xd5, 0x06, 0x7b, 0x25, 0x5f, 0x5f, 0x7f, 0x29,
  7450. 0xfd, 0xb0, 0xf8, 0xbc, 0x25, 0x6e, 0xe3, 0xaf, 0xbe, 0x78, 0xa3, 0x39,
  7451. 0x81, 0x62, 0x68, 0x37, 0xc5, 0x5f, 0x98, 0x1e, 0x56, 0xeb, 0x2e, 0x1b,
  7452. 0xdd, 0x89, 0xca, 0x08, 0x1e, 0x48, 0xf6, 0xda, 0x7c, 0xe6, 0x57, 0x6f,
  7453. 0xbd, 0x37, 0xdb, 0xd5, 0x7a, 0x3f, 0x41, 0xcf, 0x41, 0x0c, 0xb3, 0x75,
  7454. 0x61, 0x4a, 0xf2, 0x39, 0xf2, 0xe1, 0x02, 0x18, 0xe7, 0x77, 0xfb, 0x97,
  7455. 0xa5, 0x5d, 0x9c, 0xc7, 0x32, 0x43, 0x88, 0x2b, 0x8d, 0x8d, 0x2a, 0x2c,
  7456. 0x81, 0x2f, 0xbd, 0xea, 0xae, 0xd9, 0x0b, 0x5b, 0xd7, 0x1a, 0x27, 0x4b,
  7457. 0x4b, 0x17, 0x1c, 0xd7, 0xe6, 0x61, 0x91, 0x2c, 0x9b, 0x3d, 0xe1, 0x71,
  7458. 0x4a, 0x3f, 0xe4, 0x93, 0x1d, 0x8f, 0xc7, 0xcb, 0x1c, 0x9f, 0x64, 0xf4,
  7459. 0xe3, 0x7d, 0x4e, 0x5d, 0xbc, 0x31, 0x60, 0x2d, 0x2f, 0x86, 0x99, 0xe0,
  7460. };
  7461. static const struct drbg_kat_no_reseed kat960_nor_t = {
  7462. 14, kat960_nor_entropyin, kat960_nor_nonce, kat960_nor_persstr,
  7463. kat960_nor_addin0, kat960_nor_addin1, kat960_nor_retbytes
  7464. };
  7465. static const struct drbg_kat kat960_nor = {
  7466. NO_RESEED, NA, NID_sha384, 32, 16, 32, 32, 192, &kat960_nor_t
  7467. };
  7468. static const unsigned char kat1200_nor_entropyin[] = {
  7469. 0xb1, 0x48, 0xb3, 0x17, 0xa2, 0x68, 0x62, 0x8f, 0x04, 0xc9, 0xa8, 0x7a,
  7470. 0x0a, 0xc5, 0xf9, 0x14, 0x98, 0xb8, 0x02, 0x0f, 0x4e, 0x48, 0x35, 0x72,
  7471. 0x0c, 0x1a, 0x3c, 0xc0, 0x7b, 0x05, 0x0f, 0xa2,
  7472. };
  7473. static const unsigned char kat1200_nor_nonce[] = {
  7474. 0x2f, 0x35, 0xe5, 0xb6, 0x22, 0xae, 0xef, 0xe7, 0x56, 0x05, 0xc2, 0x27,
  7475. 0x4e, 0xc8, 0xc6, 0x96,
  7476. };
  7477. static const unsigned char kat1200_nor_persstr[] = {
  7478. 0xfc, 0x52, 0x7a, 0x2f, 0x16, 0xb5, 0x3c, 0x51, 0x3f, 0x94, 0x85, 0x5b,
  7479. 0x35, 0xce, 0xa6, 0x09, 0x0c, 0x30, 0x3d, 0xcc, 0x64, 0x2e, 0x98, 0xed,
  7480. 0x5f, 0x32, 0x3a, 0xba, 0x0f, 0x35, 0xfa, 0x27,
  7481. };
  7482. static const unsigned char kat1200_nor_addin0[] = {
  7483. 0x2c, 0xc9, 0xf1, 0x37, 0xfc, 0xd8, 0xc2, 0xd5, 0x26, 0xd7, 0x00, 0x93,
  7484. 0xfe, 0x11, 0xf9, 0x0a, 0x0a, 0x36, 0xbc, 0x97, 0x64, 0xa4, 0xc5, 0x60,
  7485. 0x90, 0x72, 0xe1, 0x81, 0xa2, 0x49, 0x45, 0x16,
  7486. };
  7487. static const unsigned char kat1200_nor_addin1[] = {
  7488. 0xe4, 0x03, 0x61, 0x24, 0x5b, 0x91, 0x88, 0x0e, 0x30, 0x8f, 0xb7, 0x77,
  7489. 0xc2, 0x8b, 0xbf, 0xae, 0xa5, 0x98, 0x2e, 0x45, 0xfe, 0xcb, 0x77, 0x57,
  7490. 0xbb, 0x1c, 0x9d, 0xe2, 0xdf, 0x9d, 0xc6, 0x12,
  7491. };
  7492. static const unsigned char kat1200_nor_retbytes[] = {
  7493. 0x66, 0xad, 0x04, 0x8b, 0x4d, 0x2d, 0x00, 0x32, 0x23, 0xc6, 0x4d, 0xd9,
  7494. 0x82, 0x7c, 0xc2, 0x2e, 0xd3, 0xec, 0x8f, 0xcb, 0x61, 0x20, 0x9d, 0x19,
  7495. 0x96, 0x19, 0x17, 0x75, 0x92, 0xe9, 0xb8, 0x92, 0x26, 0xbe, 0x30, 0xb1,
  7496. 0x93, 0x0b, 0xdd, 0x74, 0x9f, 0x30, 0xed, 0x09, 0xda, 0x52, 0xab, 0xaa,
  7497. 0x2e, 0x59, 0x9a, 0xfa, 0xf9, 0x19, 0x03, 0xe7, 0xa2, 0xb5, 0x9f, 0xfb,
  7498. 0x8f, 0xd4, 0x70, 0xe6, 0x60, 0x44, 0x85, 0xa2, 0x7c, 0x20, 0x0d, 0x37,
  7499. 0x5f, 0xef, 0xf6, 0x21, 0x11, 0x85, 0x95, 0xa7, 0xa3, 0x05, 0x7b, 0x7e,
  7500. 0x31, 0xea, 0xdc, 0x06, 0x87, 0xb1, 0x00, 0x8c, 0x3c, 0xb2, 0xc7, 0x43,
  7501. 0x5a, 0x57, 0x04, 0xb1, 0xa1, 0xa6, 0xa3, 0x48, 0x7d, 0x60, 0xfd, 0x14,
  7502. 0x79, 0x3c, 0x31, 0x48, 0x6a, 0xf7, 0x65, 0xce, 0x2c, 0xe1, 0x82, 0xde,
  7503. 0x88, 0x11, 0x24, 0x45, 0xdd, 0x5f, 0xf1, 0x1b, 0x25, 0x6c, 0xfd, 0xa0,
  7504. 0x70, 0x18, 0xb9, 0x5f, 0x97, 0xed, 0xba, 0xb4, 0xe4, 0xc3, 0x9c, 0xa0,
  7505. 0x97, 0xc4, 0x2f, 0x9d, 0xce, 0x80, 0xcd, 0x3f, 0x32, 0x67, 0x7f, 0x3c,
  7506. 0x22, 0x4a, 0x86, 0xb3, 0x15, 0xd0, 0x2e, 0x37, 0x7d, 0xca, 0x8f, 0x37,
  7507. 0x85, 0xe9, 0x74, 0x8f, 0xfd, 0xbe, 0x3f, 0xca, 0xa3, 0xb0, 0xc6, 0xbf,
  7508. 0x00, 0x1b, 0x63, 0xb5, 0x74, 0x26, 0x83, 0x63, 0x58, 0xe9, 0xb3, 0x15,
  7509. 0xc6, 0x71, 0x8e, 0x0b, 0x74, 0xfb, 0x82, 0xb9, 0xbf, 0x3d, 0xf7, 0x00,
  7510. 0xa6, 0x41, 0xab, 0x94, 0x11, 0xd1, 0xb9, 0xfb, 0xa4, 0x23, 0x09, 0xa8,
  7511. 0x4b, 0xef, 0x67, 0xa1, 0x42, 0x04, 0xf3, 0x16, 0x0e, 0xd1, 0x6a, 0x54,
  7512. 0x97, 0xfe, 0x21, 0x1a, 0xa1, 0xf5, 0xd3, 0xae, 0x4b, 0x85, 0x8b, 0x6d,
  7513. 0x44, 0x5f, 0x1d, 0x09, 0x45, 0x43, 0xd0, 0x10, 0x7c, 0xe0, 0x4e, 0xf1,
  7514. 0xd1, 0xba, 0x33, 0xab,
  7515. };
  7516. static const struct drbg_kat_no_reseed kat1200_nor_t = {
  7517. 14, kat1200_nor_entropyin, kat1200_nor_nonce, kat1200_nor_persstr,
  7518. kat1200_nor_addin0, kat1200_nor_addin1, kat1200_nor_retbytes
  7519. };
  7520. static const struct drbg_kat kat1200_nor = {
  7521. NO_RESEED, NA, NID_sha512, 32, 16, 32, 32, 256, &kat1200_nor_t
  7522. };
  7523. static const unsigned char kat1440_nor_entropyin[] = {
  7524. 0x55, 0x86, 0xa1, 0x84, 0x3e, 0x05, 0x8e, 0x09, 0x64, 0xb7, 0x64, 0x45,
  7525. 0xf6, 0x1a, 0xe4, 0xbe, 0x69, 0x71, 0xcf, 0xfa, 0xcc, 0x05, 0xed, 0xfa,
  7526. };
  7527. static const unsigned char kat1440_nor_nonce[] = {
  7528. 0x31, 0x43, 0x32, 0x4d, 0x2f, 0x3c, 0x14, 0xf6, 0x06, 0x9d, 0xb0, 0xdd,
  7529. };
  7530. static const unsigned char kat1440_nor_persstr[] = {
  7531. 0x57, 0xd8, 0xbf, 0x22, 0xe4, 0x1c, 0x7b, 0xa6, 0xe7, 0xbc, 0xbb, 0xef,
  7532. 0xf5, 0x77, 0x45, 0x11, 0x44, 0x5f, 0x07, 0x0d, 0xa4, 0x08, 0x3b, 0x14,
  7533. };
  7534. static const unsigned char kat1440_nor_addin0[] = {
  7535. 0x1b, 0x87, 0x25, 0x44, 0x7e, 0xc5, 0x39, 0xea, 0x4a, 0x13, 0xc4, 0x7b,
  7536. 0x32, 0x3f, 0x1d, 0x6f, 0x43, 0x5b, 0xa7, 0xe6, 0x24, 0xdc, 0xf5, 0xaf,
  7537. };
  7538. static const unsigned char kat1440_nor_addin1[] = {
  7539. 0x86, 0xd3, 0x0a, 0xf4, 0x0a, 0x7a, 0x39, 0x57, 0x64, 0xb8, 0xb6, 0x9f,
  7540. 0x26, 0x56, 0x95, 0x4c, 0x7c, 0x3f, 0x1c, 0x30, 0xb2, 0xb7, 0x03, 0xb0,
  7541. };
  7542. static const unsigned char kat1440_nor_retbytes[] = {
  7543. 0x2f, 0xb2, 0xf2, 0x4b, 0x2c, 0x38, 0xf2, 0x17, 0x23, 0x2d, 0xc2, 0x2e,
  7544. 0xcc, 0x73, 0x80, 0xb8, 0x24, 0x0b, 0x05, 0xd2, 0xc7, 0xbc, 0x0e, 0x3d,
  7545. 0xfd, 0xad, 0x26, 0x8c, 0x8c, 0x10, 0x91, 0x2a, 0x92, 0x59, 0x5d, 0x70,
  7546. 0xdd, 0x98, 0xe7, 0xec, 0xdb, 0xdc, 0x6d, 0x7b, 0xce, 0x6c, 0x72, 0xcd,
  7547. 0xeb, 0xd7, 0xe1, 0x21, 0xd7, 0x5d, 0xe8, 0xb6, 0x79, 0x5b, 0x66, 0x0b,
  7548. 0xe9, 0x09, 0x6a, 0x1f, 0x24, 0xa9, 0x7e, 0x9c, 0x53, 0x44, 0xc3, 0x5f,
  7549. 0x04, 0x45, 0x1d, 0xbd, 0x8d, 0x98, 0x08, 0xc7, 0xa8, 0x4c, 0x6f, 0xba,
  7550. 0xfa, 0xb6, 0xd0, 0x60, 0x02, 0x64, 0x90, 0xd4, 0x92, 0x06, 0x0f, 0x05,
  7551. 0x2f, 0xbf, 0x21, 0xa3, 0xbf, 0xa2, 0xa8, 0xe4, 0xa4, 0x0d, 0xb5, 0x86,
  7552. 0x72, 0xca, 0x52, 0xce,
  7553. };
  7554. static const struct drbg_kat_no_reseed kat1440_nor_t = {
  7555. 14, kat1440_nor_entropyin, kat1440_nor_nonce, kat1440_nor_persstr,
  7556. kat1440_nor_addin0, kat1440_nor_addin1, kat1440_nor_retbytes
  7557. };
  7558. static const struct drbg_kat kat1440_nor = {
  7559. NO_RESEED, NA, NID_sha512_224, 24, 12, 24, 24, 112, &kat1440_nor_t
  7560. };
  7561. static const unsigned char kat1680_nor_entropyin[] = {
  7562. 0x1b, 0xeb, 0xff, 0x7d, 0x14, 0x50, 0xb3, 0xbb, 0xa8, 0xeb, 0x89, 0xee,
  7563. 0x19, 0x8f, 0x53, 0x83, 0xa5, 0xe9, 0xd9, 0xfc, 0x7b, 0x35, 0xc0, 0x82,
  7564. 0x13, 0x7f, 0x44, 0xb1, 0x52, 0x3f, 0xda, 0xde,
  7565. };
  7566. static const unsigned char kat1680_nor_nonce[] = {
  7567. 0x96, 0xa4, 0x10, 0x18, 0x57, 0xa3, 0x90, 0x4d, 0xd6, 0xeb, 0xd1, 0x01,
  7568. 0xe7, 0x3c, 0x9d, 0x5f,
  7569. };
  7570. static const unsigned char kat1680_nor_persstr[] = {
  7571. 0x32, 0x78, 0xe5, 0xa6, 0xfd, 0x03, 0xd3, 0xf7, 0xbb, 0x31, 0x51, 0x16,
  7572. 0xb7, 0xd1, 0x72, 0x01, 0x06, 0xe7, 0x7d, 0xef, 0xa3, 0xa8, 0x2a, 0x2c,
  7573. 0x68, 0x1d, 0x6d, 0x91, 0xa6, 0xeb, 0x17, 0x2c,
  7574. };
  7575. static const unsigned char kat1680_nor_addin0[] = {
  7576. 0x95, 0xf4, 0xb7, 0x87, 0x1a, 0x64, 0x1c, 0x5c, 0xc4, 0xf8, 0xdd, 0xb8,
  7577. 0xcb, 0xd9, 0x87, 0xd3, 0xb0, 0x93, 0x5c, 0xb2, 0xf5, 0x5c, 0x77, 0xce,
  7578. 0x34, 0x03, 0x56, 0x33, 0xc8, 0x5c, 0x85, 0xcc,
  7579. };
  7580. static const unsigned char kat1680_nor_addin1[] = {
  7581. 0xb4, 0x94, 0xe2, 0xaf, 0x5b, 0x70, 0x8a, 0xc3, 0x06, 0x72, 0xb8, 0xce,
  7582. 0x57, 0xe7, 0x20, 0x40, 0xe8, 0x23, 0x3c, 0x53, 0x80, 0x01, 0xa3, 0x48,
  7583. 0xe2, 0xcb, 0xa9, 0x8a, 0x8c, 0xd1, 0x2a, 0xcb,
  7584. };
  7585. static const unsigned char kat1680_nor_retbytes[] = {
  7586. 0xc7, 0x31, 0xcc, 0x7b, 0x21, 0xc4, 0x27, 0x30, 0xbd, 0x3c, 0xca, 0x61,
  7587. 0xfc, 0x52, 0x50, 0xb5, 0x07, 0xad, 0x08, 0xb2, 0x4a, 0xc4, 0x71, 0xd5,
  7588. 0x26, 0xf2, 0x21, 0x7f, 0x15, 0xdc, 0x4d, 0x1f, 0xea, 0x85, 0xb5, 0x7e,
  7589. 0xa9, 0xcf, 0x6b, 0x3d, 0xe9, 0xf6, 0x50, 0xdf, 0x82, 0x26, 0x32, 0x6f,
  7590. 0x8d, 0xa0, 0xa7, 0x66, 0xc6, 0xd3, 0xd9, 0xab, 0x77, 0x13, 0x93, 0x8d,
  7591. 0x29, 0xd9, 0xd3, 0x3a, 0xe2, 0xff, 0xad, 0x65, 0x82, 0x10, 0x75, 0x12,
  7592. 0x86, 0x89, 0x65, 0x27, 0x50, 0x4e, 0xa2, 0x3d, 0x6e, 0x4d, 0xaf, 0xa1,
  7593. 0x0f, 0x6e, 0x62, 0x6a, 0x8b, 0x1e, 0x4b, 0x38, 0x6d, 0x2a, 0x27, 0xae,
  7594. 0x12, 0xcd, 0x8c, 0xeb, 0x1f, 0x50, 0x24, 0x41, 0x8b, 0x70, 0xc0, 0x05,
  7595. 0xb3, 0x5f, 0x2c, 0x89, 0x8a, 0x0f, 0xae, 0xf7, 0x4e, 0xb5, 0x60, 0x44,
  7596. 0x40, 0x79, 0x30, 0xdc, 0x1c, 0xf7, 0x3f, 0x70,
  7597. };
  7598. static const struct drbg_kat_no_reseed kat1680_nor_t = {
  7599. 14, kat1680_nor_entropyin, kat1680_nor_nonce, kat1680_nor_persstr,
  7600. kat1680_nor_addin0, kat1680_nor_addin1, kat1680_nor_retbytes
  7601. };
  7602. static const struct drbg_kat kat1680_nor = {
  7603. NO_RESEED, NA, NID_sha512_256, 32, 16, 32, 32, 128, &kat1680_nor_t
  7604. };
  7605. /* ------------------------------------------------------------------------ */
  7606. static const unsigned char kat240_prt_entropyin[] = {
  7607. 0x25, 0xa6, 0xd2, 0x6c, 0x8a, 0x9d, 0x73, 0xfb, 0x1a, 0x4c, 0xba, 0x5e,
  7608. 0x39, 0x48, 0xda, 0xef,
  7609. };
  7610. static const unsigned char kat240_prt_nonce[] = {
  7611. 0xe7, 0xda, 0xfc, 0xd8, 0x1a, 0xc1, 0xae, 0xba,
  7612. };
  7613. static const unsigned char kat240_prt_persstr[] = {
  7614. 0xa8, 0xb8, 0x2f, 0xc8, 0xe8, 0x87, 0x46, 0x15, 0x8f, 0xd4, 0x01, 0x0a,
  7615. 0x1d, 0x3d, 0x97, 0xe0,
  7616. };
  7617. static const unsigned char kat240_prt_entropyinpr0[] = {
  7618. 0x57, 0xa5, 0x71, 0x72, 0xab, 0x86, 0xfc, 0x29, 0x00, 0x4b, 0x9d, 0x41,
  7619. 0x2a, 0x97, 0x01, 0xf1,
  7620. };
  7621. static const unsigned char kat240_prt_entropyinpr1[] = {
  7622. 0x7b, 0x55, 0x8b, 0x48, 0xf3, 0xc8, 0x91, 0xa7, 0x7f, 0xed, 0x29, 0x38,
  7623. 0x81, 0x77, 0x51, 0x18,
  7624. };
  7625. static const unsigned char kat240_prt_addin0[] = {
  7626. 0x6e, 0xcf, 0x52, 0xf9, 0x5b, 0x44, 0x43, 0xec, 0x8a, 0xc5, 0x2f, 0xae,
  7627. 0x74, 0xe1, 0x93, 0x29,
  7628. };
  7629. static const unsigned char kat240_prt_addin1[] = {
  7630. 0xb0, 0x71, 0x98, 0xa4, 0x9b, 0xc8, 0x54, 0xcf, 0xc9, 0xd6, 0xd7, 0x46,
  7631. 0x6f, 0xe2, 0x49, 0x48,
  7632. };
  7633. static const unsigned char kat240_prt_retbytes[] = {
  7634. 0x87, 0x8d, 0x26, 0xfb, 0x57, 0x58, 0x9d, 0x42, 0x49, 0x7b, 0x86, 0x95,
  7635. 0x64, 0xa1, 0xda, 0xc5, 0xad, 0xf1, 0xb8, 0x36, 0x15, 0xf9, 0xab, 0x9f,
  7636. 0xc3, 0x0b, 0x51, 0x40, 0xf7, 0x9e, 0x3b, 0x7f, 0x52, 0x5f, 0x1e, 0xff,
  7637. 0x2e, 0x68, 0x00, 0x28, 0x01, 0x93, 0x9a, 0xa0, 0x72, 0x84, 0x32, 0xef,
  7638. 0xad, 0x82, 0x9b, 0x5b, 0x12, 0x49, 0x14, 0x04, 0xfb, 0x50, 0xf2, 0x58,
  7639. 0x4a, 0x3b, 0xde, 0xa8, 0x78, 0x5e, 0x79, 0x39, 0x05, 0x01, 0x97, 0x87,
  7640. 0x04, 0xa6, 0x67, 0xec, 0x5d, 0x04, 0xda, 0x56,
  7641. };
  7642. static const struct drbg_kat_pr_true kat240_prt_t = {
  7643. 14, kat240_prt_entropyin, kat240_prt_nonce, kat240_prt_persstr,
  7644. kat240_prt_entropyinpr0, kat240_prt_addin0, kat240_prt_entropyinpr1,
  7645. kat240_prt_addin1, kat240_prt_retbytes
  7646. };
  7647. static const struct drbg_kat kat240_prt = {
  7648. PR_TRUE, NA, NID_sha1, 16, 8, 16, 16, 80, &kat240_prt_t
  7649. };
  7650. static const unsigned char kat480_prt_entropyin[] = {
  7651. 0xdb, 0x97, 0x7c, 0x5b, 0x3a, 0x1e, 0x79, 0x61, 0xe6, 0x4d, 0x99, 0x66,
  7652. 0x65, 0x16, 0xfe, 0x56, 0x12, 0xb1, 0x51, 0x95, 0x6e, 0xc5, 0x1a, 0xdd,
  7653. };
  7654. static const unsigned char kat480_prt_nonce[] = {
  7655. 0x05, 0xfa, 0x09, 0x36, 0xe2, 0x83, 0x6c, 0xd2, 0xe8, 0xe4, 0xcc, 0xe9,
  7656. };
  7657. static const unsigned char kat480_prt_persstr[] = {
  7658. 0x4e, 0x8c, 0x5f, 0xfc, 0x09, 0x98, 0xb2, 0x69, 0x64, 0xab, 0x2b, 0x42,
  7659. 0xcf, 0x21, 0x3d, 0x1c, 0x43, 0x17, 0x94, 0xbc, 0x40, 0x74, 0x76, 0x17,
  7660. };
  7661. static const unsigned char kat480_prt_entropyinpr0[] = {
  7662. 0x16, 0xda, 0x81, 0x89, 0x74, 0xeb, 0x93, 0x58, 0x0d, 0xb3, 0x0f, 0x40,
  7663. 0x0c, 0xff, 0x3e, 0xe1, 0xa3, 0xaf, 0x01, 0xe1, 0x21, 0xe3, 0xcd, 0xb4,
  7664. };
  7665. static const unsigned char kat480_prt_entropyinpr1[] = {
  7666. 0x72, 0xf6, 0x4b, 0xe9, 0x11, 0xcb, 0xa5, 0x05, 0x6b, 0xc9, 0x1f, 0x26,
  7667. 0xbd, 0x33, 0x5d, 0x59, 0xc6, 0x30, 0x14, 0x22, 0x79, 0x59, 0xb0, 0xb8,
  7668. };
  7669. static const unsigned char kat480_prt_addin0[] = {
  7670. 0xe4, 0xeb, 0xa0, 0x0e, 0x64, 0xd2, 0x78, 0x54, 0xc0, 0x6d, 0xcd, 0x0a,
  7671. 0xa2, 0xcd, 0x45, 0xb4, 0x7b, 0x7f, 0xa2, 0xcd, 0x77, 0xa7, 0xa1, 0x46,
  7672. };
  7673. static const unsigned char kat480_prt_addin1[] = {
  7674. 0x11, 0x11, 0x6d, 0x24, 0x80, 0x29, 0x8a, 0x90, 0x91, 0x43, 0x7a, 0x49,
  7675. 0xc6, 0x0b, 0x9d, 0x0a, 0x9d, 0x4c, 0xda, 0x4f, 0xa8, 0x5f, 0x09, 0x5e,
  7676. };
  7677. static const unsigned char kat480_prt_retbytes[] = {
  7678. 0x39, 0x70, 0x77, 0x5a, 0xeb, 0x3d, 0xe4, 0x1b, 0x7b, 0xf1, 0x37, 0xd5,
  7679. 0xf5, 0xff, 0xb9, 0xb7, 0x36, 0x76, 0x01, 0x21, 0x3b, 0xb5, 0xf1, 0xfe,
  7680. 0x07, 0xca, 0x60, 0x9b, 0x6d, 0x3b, 0xed, 0x56, 0xd2, 0x67, 0xa9, 0x14,
  7681. 0xc2, 0xd9, 0x79, 0x3e, 0xf9, 0x90, 0x7b, 0xc1, 0x7f, 0x1d, 0x0c, 0x5d,
  7682. 0x01, 0x1d, 0x9b, 0xe4, 0x56, 0x5e, 0x01, 0xdd, 0xc2, 0x7e, 0xb2, 0xe9,
  7683. 0xa0, 0x3e, 0x37, 0xf0, 0x82, 0x4a, 0x5d, 0x32, 0xd3, 0x4b, 0x94, 0xeb,
  7684. 0x64, 0xf7, 0x11, 0x4a, 0x5c, 0xce, 0x46, 0x3d, 0xad, 0x0c, 0xdf, 0x5e,
  7685. 0x89, 0xe5, 0xf3, 0x37, 0xec, 0xea, 0x10, 0xe3, 0x39, 0x3e, 0x2b, 0x6c,
  7686. 0xa6, 0x1e, 0x5d, 0x33, 0xc2, 0x94, 0xbf, 0x90, 0x8b, 0xf7, 0x98, 0x7c,
  7687. 0xc9, 0xe8, 0x08, 0xa0,
  7688. };
  7689. static const struct drbg_kat_pr_true kat480_prt_t = {
  7690. 14, kat480_prt_entropyin, kat480_prt_nonce, kat480_prt_persstr,
  7691. kat480_prt_entropyinpr0, kat480_prt_addin0, kat480_prt_entropyinpr1,
  7692. kat480_prt_addin1, kat480_prt_retbytes
  7693. };
  7694. static const struct drbg_kat kat480_prt = {
  7695. PR_TRUE, NA, NID_sha224, 24, 12, 24, 24, 112, &kat480_prt_t
  7696. };
  7697. static const unsigned char kat720_prt_entropyin[] = {
  7698. 0x06, 0x6d, 0xc8, 0xce, 0x75, 0xb2, 0x89, 0x66, 0xa6, 0x85, 0x16, 0x3f,
  7699. 0xe2, 0xa4, 0xd4, 0x27, 0xfb, 0xdb, 0x61, 0x66, 0x50, 0x61, 0x6b, 0xa2,
  7700. 0x82, 0xfc, 0x33, 0x2b, 0x4e, 0x6f, 0x12, 0x20,
  7701. };
  7702. static const unsigned char kat720_prt_nonce[] = {
  7703. 0x55, 0x9f, 0x7c, 0x64, 0x89, 0x70, 0x83, 0xec, 0x2d, 0x73, 0x70, 0xd9,
  7704. 0xf0, 0xe5, 0x07, 0x1f,
  7705. };
  7706. static const unsigned char kat720_prt_persstr[] = {
  7707. 0x88, 0x6f, 0x54, 0x9a, 0xad, 0x1a, 0xc6, 0x3d, 0x18, 0xcb, 0xcc, 0x66,
  7708. 0x85, 0xda, 0xa2, 0xc2, 0xf7, 0x9e, 0xb0, 0x89, 0x4c, 0xb4, 0xae, 0xf1,
  7709. 0xac, 0x54, 0x4f, 0xce, 0x57, 0xf1, 0x5e, 0x11,
  7710. };
  7711. static const unsigned char kat720_prt_entropyinpr0[] = {
  7712. 0xff, 0x80, 0xb7, 0xd2, 0x6a, 0x05, 0xbc, 0x8a, 0x7a, 0xbe, 0x53, 0x28,
  7713. 0x6b, 0x0e, 0xeb, 0x73, 0x3b, 0x71, 0x5a, 0x20, 0x5b, 0xfa, 0x4f, 0xf6,
  7714. 0x37, 0x03, 0xde, 0xad, 0xb6, 0xea, 0x0e, 0xf4,
  7715. };
  7716. static const unsigned char kat720_prt_entropyinpr1[] = {
  7717. 0xc7, 0x38, 0x32, 0x53, 0x46, 0x81, 0xed, 0xe3, 0x7e, 0x03, 0x84, 0x6d,
  7718. 0x3c, 0x84, 0x17, 0x67, 0x29, 0x7d, 0x24, 0x6c, 0x68, 0x92, 0x41, 0xd2,
  7719. 0xe7, 0x75, 0xbe, 0x7e, 0xc9, 0x96, 0x29, 0x3d,
  7720. };
  7721. static const unsigned char kat720_prt_addin0[] = {
  7722. 0xb7, 0x21, 0x5f, 0x14, 0xac, 0x7b, 0xaf, 0xd0, 0xa9, 0x17, 0x72, 0xba,
  7723. 0x22, 0xf7, 0x19, 0xaf, 0xbd, 0x20, 0xb3, 0x11, 0x63, 0x6c, 0x2b, 0x1e,
  7724. 0x83, 0xe4, 0xa8, 0x23, 0x35, 0x3f, 0xc6, 0xea,
  7725. };
  7726. static const unsigned char kat720_prt_addin1[] = {
  7727. 0xce, 0xd3, 0x1f, 0x7e, 0x0d, 0xae, 0x5b, 0xb5, 0xc0, 0x43, 0xe2, 0x46,
  7728. 0xb2, 0x94, 0x73, 0xe2, 0xfd, 0x39, 0x51, 0x2e, 0xad, 0x45, 0x69, 0xee,
  7729. 0xe3, 0xe3, 0x80, 0x33, 0x14, 0xab, 0xa7, 0xa3,
  7730. };
  7731. static const unsigned char kat720_prt_retbytes[] = {
  7732. 0x60, 0xc2, 0x34, 0xcf, 0xaf, 0xb4, 0x68, 0x03, 0x3b, 0xf1, 0x95, 0xe5,
  7733. 0x78, 0xce, 0x26, 0x6e, 0x14, 0x65, 0x32, 0x6a, 0x96, 0xa9, 0xe0, 0x3f,
  7734. 0x8b, 0x89, 0x36, 0x70, 0xef, 0x62, 0x75, 0x4d, 0x5e, 0x80, 0xd5, 0x53,
  7735. 0xa1, 0xf8, 0x49, 0x50, 0x20, 0x8b, 0x93, 0x43, 0x07, 0x9f, 0x2e, 0xf8,
  7736. 0x56, 0xe9, 0xc5, 0x70, 0x61, 0x85, 0x97, 0xb5, 0xdc, 0x82, 0xa2, 0xda,
  7737. 0xea, 0xa3, 0xfd, 0x9b, 0x2f, 0xd2, 0xa0, 0xd7, 0x1b, 0xc6, 0x29, 0x35,
  7738. 0xcc, 0xb8, 0x3d, 0xa0, 0x67, 0x98, 0x05, 0xa0, 0xe3, 0x1e, 0xfe, 0xe4,
  7739. 0xf0, 0xe5, 0x13, 0xb0, 0x83, 0x17, 0xfa, 0xca, 0x93, 0x5e, 0x38, 0x29,
  7740. 0x48, 0xd2, 0x72, 0xdb, 0x76, 0x3e, 0x6d, 0xf3, 0x25, 0x10, 0xff, 0x1b,
  7741. 0x99, 0xff, 0xf8, 0xc6, 0x0e, 0xb0, 0xdd, 0x29, 0x2e, 0xbc, 0xbb, 0xc8,
  7742. 0x0a, 0x01, 0x6e, 0xd3, 0xb0, 0x0e, 0x4e, 0xab,
  7743. };
  7744. static const struct drbg_kat_pr_true kat720_prt_t = {
  7745. 14, kat720_prt_entropyin, kat720_prt_nonce, kat720_prt_persstr,
  7746. kat720_prt_entropyinpr0, kat720_prt_addin0, kat720_prt_entropyinpr1,
  7747. kat720_prt_addin1, kat720_prt_retbytes
  7748. };
  7749. static const struct drbg_kat kat720_prt = {
  7750. PR_TRUE, NA, NID_sha256, 32, 16, 32, 32, 128, &kat720_prt_t
  7751. };
  7752. static const unsigned char kat960_prt_entropyin[] = {
  7753. 0x37, 0xea, 0x89, 0xa5, 0xe1, 0x21, 0xd1, 0x26, 0x4b, 0xf5, 0xce, 0x89,
  7754. 0x23, 0x3b, 0x09, 0x02, 0x0d, 0xda, 0xeb, 0xf9, 0xb2, 0x7e, 0xc3, 0xec,
  7755. 0x8a, 0xfd, 0xd9, 0x72, 0x14, 0x9a, 0x48, 0x72,
  7756. };
  7757. static const unsigned char kat960_prt_nonce[] = {
  7758. 0x17, 0x22, 0x32, 0x8f, 0xa7, 0xe1, 0x34, 0x56, 0x5d, 0xdf, 0x01, 0x45,
  7759. 0x02, 0x3d, 0x6a, 0xaa,
  7760. };
  7761. static const unsigned char kat960_prt_persstr[] = {
  7762. 0xe2, 0x19, 0x12, 0xd5, 0x2c, 0xfb, 0x63, 0x14, 0x2b, 0xaa, 0xf0, 0x04,
  7763. 0x6a, 0x7f, 0x85, 0xf1, 0x9e, 0x61, 0xfa, 0xd7, 0x9d, 0x65, 0x16, 0xcd,
  7764. 0xcc, 0xf6, 0xb0, 0x59, 0x9c, 0x9b, 0xf4, 0x9f,
  7765. };
  7766. static const unsigned char kat960_prt_entropyinpr0[] = {
  7767. 0x91, 0xe3, 0x42, 0xca, 0x93, 0x54, 0x42, 0x6c, 0x25, 0xe8, 0xe6, 0x56,
  7768. 0x2d, 0xfd, 0x3c, 0xbf, 0x52, 0xa9, 0xc4, 0x02, 0x8c, 0xa6, 0x1a, 0xae,
  7769. 0x26, 0x3f, 0x1d, 0x09, 0x15, 0xe9, 0x16, 0xfa,
  7770. };
  7771. static const unsigned char kat960_prt_entropyinpr1[] = {
  7772. 0x42, 0x85, 0x0d, 0x17, 0x28, 0xf7, 0x14, 0xd9, 0x44, 0xbc, 0x67, 0x85,
  7773. 0x0f, 0xa6, 0xdb, 0x4a, 0x7c, 0xc2, 0xe0, 0xf7, 0x3f, 0x5c, 0xa0, 0x44,
  7774. 0xd6, 0x34, 0xd7, 0xc7, 0x15, 0x73, 0x71, 0xd2,
  7775. };
  7776. static const unsigned char kat960_prt_addin0[] = {
  7777. 0x0d, 0xc5, 0x4c, 0xe0, 0x8f, 0xf3, 0x47, 0x11, 0xab, 0x0b, 0x78, 0xfb,
  7778. 0x70, 0xcd, 0xb4, 0x11, 0x8a, 0x4f, 0x3f, 0x58, 0xa8, 0xf7, 0xdd, 0x83,
  7779. 0xdc, 0x4f, 0xc7, 0x74, 0x4e, 0xe1, 0x81, 0xb6,
  7780. };
  7781. static const unsigned char kat960_prt_addin1[] = {
  7782. 0xaf, 0xc8, 0xc5, 0x30, 0xd9, 0x10, 0xa2, 0x25, 0x73, 0xe0, 0xee, 0xc2,
  7783. 0xc1, 0xa6, 0x75, 0x9a, 0x94, 0xac, 0x38, 0xd0, 0x7b, 0x52, 0xd4, 0x69,
  7784. 0x38, 0xb5, 0x9c, 0xb2, 0x40, 0xeb, 0xb0, 0x03,
  7785. };
  7786. static const unsigned char kat960_prt_retbytes[] = {
  7787. 0x1f, 0x8c, 0x8a, 0xd0, 0xa0, 0xad, 0x62, 0x55, 0x1d, 0xca, 0x84, 0x75,
  7788. 0x31, 0xf0, 0x9b, 0x86, 0x5d, 0xbe, 0x97, 0xb2, 0x7a, 0xe1, 0x5d, 0x94,
  7789. 0xef, 0x1c, 0xc6, 0xa9, 0x28, 0x07, 0x76, 0x66, 0x20, 0x4c, 0x1e, 0x90,
  7790. 0x0a, 0x46, 0x88, 0xe9, 0xb3, 0x13, 0x96, 0x93, 0x18, 0x5b, 0xa6, 0xf8,
  7791. 0x63, 0x66, 0x5d, 0x80, 0x74, 0x1f, 0xa6, 0x25, 0x14, 0x40, 0x96, 0x3b,
  7792. 0x89, 0xcc, 0x35, 0x47, 0xb3, 0x78, 0x1c, 0x71, 0xa5, 0xec, 0xcf, 0x48,
  7793. 0x60, 0xc2, 0x89, 0x88, 0x2c, 0x42, 0xd2, 0x23, 0xdd, 0xa3, 0xb8, 0xc3,
  7794. 0x0d, 0x63, 0x88, 0xf8, 0xd2, 0xab, 0x9e, 0x19, 0x47, 0xe0, 0x33, 0x0d,
  7795. 0xe4, 0x28, 0xce, 0xdd, 0x06, 0xde, 0x65, 0x06, 0xaa, 0xd1, 0x97, 0xa1,
  7796. 0x07, 0x00, 0xc6, 0xeb, 0x4d, 0x34, 0x18, 0x5a, 0x27, 0x75, 0x1c, 0x83,
  7797. 0xb4, 0x64, 0x79, 0xc6, 0x5b, 0x4f, 0x34, 0xe7, 0xf0, 0x90, 0x78, 0x97,
  7798. 0xc0, 0xad, 0xcf, 0xe0, 0xaf, 0xd6, 0x7c, 0x89, 0x4a, 0xa1, 0x49, 0x1a,
  7799. 0xe4, 0xda, 0x29, 0xac, 0x1d, 0x47, 0xe9, 0x46, 0x08, 0x94, 0x4a, 0x67,
  7800. 0xc1, 0xa4, 0xe4, 0x75, 0x4e, 0xa1, 0x69, 0x2b, 0x79, 0xd6, 0x78, 0x70,
  7801. 0xef, 0x78, 0xb6, 0xda, 0xae, 0xe4, 0xcd, 0x46, 0x00, 0xbd, 0x1e, 0xea,
  7802. 0xc1, 0xd6, 0x7f, 0x81, 0xee, 0xd7, 0x3e, 0x8a, 0x54, 0x8c, 0x20, 0x67,
  7803. };
  7804. static const struct drbg_kat_pr_true kat960_prt_t = {
  7805. 14, kat960_prt_entropyin, kat960_prt_nonce, kat960_prt_persstr,
  7806. kat960_prt_entropyinpr0, kat960_prt_addin0, kat960_prt_entropyinpr1,
  7807. kat960_prt_addin1, kat960_prt_retbytes
  7808. };
  7809. static const struct drbg_kat kat960_prt = {
  7810. PR_TRUE, NA, NID_sha384, 32, 16, 32, 32, 192, &kat960_prt_t
  7811. };
  7812. static const unsigned char kat1200_prt_entropyin[] = {
  7813. 0x19, 0xff, 0x49, 0x7e, 0x90, 0x6d, 0x08, 0x11, 0xa0, 0xb7, 0xf7, 0x75,
  7814. 0x86, 0x18, 0xaf, 0xab, 0x44, 0xfc, 0xe8, 0xed, 0x35, 0x38, 0xab, 0xfd,
  7815. 0x10, 0x1c, 0x58, 0x6a, 0x9c, 0xea, 0xf6, 0x2d,
  7816. };
  7817. static const unsigned char kat1200_prt_nonce[] = {
  7818. 0x49, 0x80, 0xcb, 0x99, 0x83, 0x87, 0x0a, 0x35, 0xd8, 0x00, 0xff, 0xf9,
  7819. 0x32, 0x78, 0x40, 0xc5,
  7820. };
  7821. static const unsigned char kat1200_prt_persstr[] = {
  7822. 0x2e, 0x34, 0xbe, 0xa4, 0xc1, 0x28, 0x43, 0x4a, 0xa2, 0x85, 0x9c, 0xc3,
  7823. 0x39, 0x13, 0x71, 0x6b, 0xc8, 0x05, 0xa1, 0x83, 0xbb, 0x17, 0x62, 0xfc,
  7824. 0x3a, 0xb5, 0x44, 0x89, 0xd9, 0xbd, 0x1c, 0x56,
  7825. };
  7826. static const unsigned char kat1200_prt_entropyinpr0[] = {
  7827. 0xbe, 0x45, 0xca, 0x98, 0x78, 0x24, 0x7b, 0x00, 0x8e, 0x5d, 0xe8, 0xc5,
  7828. 0x88, 0xb6, 0xcb, 0x84, 0x04, 0x8c, 0x0d, 0x90, 0x35, 0x7d, 0xbd, 0xfc,
  7829. 0x98, 0xe9, 0xe2, 0x87, 0x91, 0x2f, 0xdb, 0x33,
  7830. };
  7831. static const unsigned char kat1200_prt_entropyinpr1[] = {
  7832. 0xb8, 0x71, 0x61, 0x1f, 0x8f, 0xcb, 0x8c, 0x86, 0x0a, 0x72, 0xc4, 0xfd,
  7833. 0x40, 0x6d, 0x49, 0x39, 0x33, 0x5a, 0x03, 0x1e, 0x0d, 0xe9, 0xf2, 0xd4,
  7834. 0x36, 0xd4, 0x73, 0x6b, 0x6b, 0x06, 0x0c, 0x2d,
  7835. };
  7836. static const unsigned char kat1200_prt_addin0[] = {
  7837. 0x47, 0xdd, 0x5c, 0x72, 0xea, 0x44, 0xdb, 0xf1, 0xd2, 0x35, 0x04, 0x0b,
  7838. 0x18, 0xa8, 0x21, 0xc2, 0x0f, 0xb4, 0x0b, 0x88, 0xc0, 0x39, 0x1a, 0x5c,
  7839. 0x16, 0x3f, 0x9c, 0x90, 0x2f, 0x6c, 0x6e, 0xb7,
  7840. };
  7841. static const unsigned char kat1200_prt_addin1[] = {
  7842. 0xcf, 0x20, 0x40, 0xe9, 0x04, 0x6a, 0x69, 0xdd, 0x96, 0x38, 0xde, 0x94,
  7843. 0x1f, 0x00, 0x90, 0xb7, 0x53, 0x5c, 0x51, 0xcf, 0xa9, 0xf1, 0xc7, 0xbb,
  7844. 0x2a, 0x56, 0xa3, 0x32, 0x32, 0x69, 0x43, 0xd3,
  7845. };
  7846. static const unsigned char kat1200_prt_retbytes[] = {
  7847. 0x2d, 0x99, 0x0f, 0x0d, 0xe4, 0x3d, 0x3a, 0x4b, 0x29, 0x30, 0x54, 0x2c,
  7848. 0x27, 0xad, 0x27, 0x45, 0x8e, 0x88, 0x65, 0xca, 0x6b, 0x8f, 0x27, 0xfd,
  7849. 0x7a, 0x96, 0x9c, 0xf4, 0xe2, 0xa0, 0x32, 0x3e, 0x38, 0xfe, 0x6f, 0x50,
  7850. 0x5a, 0x2d, 0xba, 0x48, 0x8e, 0xa6, 0xb0, 0x43, 0x65, 0x20, 0x9c, 0x6d,
  7851. 0xb7, 0x86, 0xcb, 0xbf, 0x0a, 0x7c, 0x73, 0xb4, 0xfd, 0x56, 0xd2, 0x49,
  7852. 0x87, 0x71, 0x9d, 0xb0, 0xfd, 0xba, 0x1a, 0x3f, 0x07, 0x14, 0x95, 0x21,
  7853. 0xdc, 0xf5, 0xb7, 0x75, 0x9c, 0x61, 0x0d, 0xa2, 0x2d, 0x15, 0x10, 0x57,
  7854. 0xac, 0xef, 0xe7, 0x0d, 0xf1, 0xcc, 0xae, 0xb6, 0x7a, 0x97, 0x51, 0x59,
  7855. 0xb8, 0x99, 0x6a, 0xca, 0x93, 0xd7, 0xa4, 0x80, 0x96, 0x92, 0x6d, 0xb4,
  7856. 0x38, 0x1b, 0xbc, 0xe4, 0x81, 0x27, 0x7d, 0x7a, 0xb2, 0x7c, 0xbc, 0x03,
  7857. 0x88, 0xf0, 0xb7, 0xce, 0xdb, 0xbf, 0xb8, 0x42, 0x1c, 0xb1, 0xdc, 0x5f,
  7858. 0x2a, 0x9c, 0x67, 0x7f, 0x62, 0xac, 0xf9, 0x6a, 0xb2, 0x5e, 0x7e, 0x40,
  7859. 0x6c, 0xe8, 0x2f, 0x5b, 0x96, 0xbc, 0xb4, 0x71, 0xaf, 0xbd, 0xf4, 0xb3,
  7860. 0xf5, 0xa6, 0xfb, 0xcb, 0x8d, 0xa4, 0x5d, 0x22, 0x58, 0xe3, 0x50, 0xe7,
  7861. 0x7d, 0x46, 0x33, 0xb0, 0xc1, 0xda, 0x69, 0x16, 0x62, 0xdd, 0x86, 0x99,
  7862. 0x09, 0xdc, 0xfd, 0x7c, 0x8e, 0xd0, 0xf5, 0x4b, 0xa7, 0xaf, 0x0f, 0x9c,
  7863. 0x03, 0x8e, 0xb3, 0x2d, 0x32, 0xb7, 0x05, 0xe5, 0x1b, 0x35, 0xbb, 0x3c,
  7864. 0x2e, 0xef, 0xf0, 0x10, 0xbb, 0x47, 0xee, 0x32, 0x6c, 0x23, 0x18, 0xb5,
  7865. 0xbc, 0xda, 0x96, 0x3c, 0x2d, 0xad, 0x41, 0x9c, 0x59, 0x23, 0xe3, 0x68,
  7866. 0xd9, 0xb2, 0x8f, 0x25, 0xb0, 0x48, 0xa8, 0x7b, 0xdb, 0xa0, 0xa9, 0x0d,
  7867. 0x98, 0xc2, 0x4c, 0x81, 0xb6, 0xdb, 0xde, 0x0f, 0x58, 0x05, 0x4a, 0x41,
  7868. 0xa8, 0x29, 0x3a, 0x65,
  7869. };
  7870. static const struct drbg_kat_pr_true kat1200_prt_t = {
  7871. 14, kat1200_prt_entropyin, kat1200_prt_nonce, kat1200_prt_persstr,
  7872. kat1200_prt_entropyinpr0, kat1200_prt_addin0, kat1200_prt_entropyinpr1,
  7873. kat1200_prt_addin1, kat1200_prt_retbytes
  7874. };
  7875. static const struct drbg_kat kat1200_prt = {
  7876. PR_TRUE, NA, NID_sha512, 32, 16, 32, 32, 256, &kat1200_prt_t
  7877. };
  7878. static const unsigned char kat1440_prt_entropyin[] = {
  7879. 0xb7, 0xb8, 0x4c, 0x20, 0x4a, 0x15, 0x2f, 0x6a, 0x01, 0x4d, 0x10, 0xd8,
  7880. 0x1e, 0x70, 0x86, 0x9a, 0xd2, 0xeb, 0x4f, 0x7a, 0x7e, 0x7e, 0xdc, 0x18,
  7881. };
  7882. static const unsigned char kat1440_prt_nonce[] = {
  7883. 0x6b, 0x44, 0xc0, 0x33, 0xfb, 0x82, 0xd3, 0x60, 0x59, 0x8d, 0xee, 0x68,
  7884. };
  7885. static const unsigned char kat1440_prt_persstr[] = {
  7886. 0x75, 0x32, 0xcb, 0x6b, 0xfb, 0xbf, 0xbe, 0xbd, 0x4d, 0x4c, 0x7a, 0xf9,
  7887. 0xad, 0x89, 0x0a, 0x50, 0xcb, 0xe8, 0x20, 0x2c, 0x38, 0x80, 0xf8, 0x9c,
  7888. };
  7889. static const unsigned char kat1440_prt_entropyinpr0[] = {
  7890. 0xc0, 0x77, 0xb4, 0xc2, 0xce, 0xff, 0xa7, 0x88, 0x7a, 0xf9, 0x09, 0xa6,
  7891. 0xf1, 0xea, 0x46, 0xed, 0xc7, 0x3e, 0x02, 0x05, 0xdf, 0x68, 0x53, 0x7c,
  7892. };
  7893. static const unsigned char kat1440_prt_entropyinpr1[] = {
  7894. 0xaa, 0x9b, 0x3d, 0xba, 0x73, 0x76, 0xb0, 0xa2, 0x1d, 0x34, 0xee, 0x6a,
  7895. 0xc8, 0x93, 0x9a, 0x62, 0x5d, 0xbf, 0xec, 0x17, 0x2a, 0x10, 0x8c, 0x4c,
  7896. };
  7897. static const unsigned char kat1440_prt_addin0[] = {
  7898. 0x5f, 0xc8, 0x2b, 0x7c, 0x36, 0x8e, 0x0e, 0xe3, 0x45, 0xb6, 0x03, 0xc3,
  7899. 0x6a, 0xb1, 0xbb, 0x86, 0x3a, 0xd1, 0x44, 0x6e, 0x61, 0xfe, 0x6a, 0xf2,
  7900. };
  7901. static const unsigned char kat1440_prt_addin1[] = {
  7902. 0xa0, 0x0a, 0xa1, 0x2c, 0x4a, 0x26, 0x03, 0x0b, 0x79, 0x89, 0x7e, 0x04,
  7903. 0xd0, 0x17, 0x1b, 0xbc, 0xe1, 0xcd, 0x72, 0x57, 0xe0, 0xcc, 0xe3, 0x79,
  7904. };
  7905. static const unsigned char kat1440_prt_retbytes[] = {
  7906. 0x54, 0xfb, 0x77, 0x8f, 0xcf, 0xc5, 0x54, 0x9e, 0x19, 0x02, 0x71, 0xdc,
  7907. 0x12, 0x38, 0x9f, 0x42, 0xea, 0x81, 0x28, 0xdf, 0x55, 0xe6, 0x19, 0x3e,
  7908. 0x03, 0x07, 0x38, 0x88, 0xb4, 0xbe, 0x31, 0xe2, 0xd7, 0xa7, 0x88, 0x45,
  7909. 0xc4, 0x73, 0x62, 0xc4, 0xe9, 0x6b, 0x41, 0xfc, 0xe5, 0x03, 0xfb, 0x97,
  7910. 0x0f, 0x91, 0x76, 0xbd, 0xb9, 0xb5, 0xd6, 0x64, 0xc3, 0x86, 0x89, 0x8a,
  7911. 0x0e, 0x44, 0xff, 0xe1, 0x2f, 0x94, 0x80, 0x69, 0x9b, 0x7d, 0x56, 0x6d,
  7912. 0x69, 0x7a, 0x4f, 0x52, 0x02, 0x68, 0xf6, 0x2e, 0x46, 0x03, 0x59, 0xa3,
  7913. 0x9d, 0x09, 0x1f, 0x4c, 0x37, 0x2a, 0xd3, 0x3e, 0xf0, 0xee, 0xf5, 0x86,
  7914. 0x22, 0xf4, 0x88, 0xc9, 0x34, 0x8a, 0xb5, 0xfd, 0x69, 0x3d, 0x4e, 0xde,
  7915. 0xce, 0x79, 0x4b, 0x12,
  7916. };
  7917. static const struct drbg_kat_pr_true kat1440_prt_t = {
  7918. 14, kat1440_prt_entropyin, kat1440_prt_nonce, kat1440_prt_persstr,
  7919. kat1440_prt_entropyinpr0, kat1440_prt_addin0, kat1440_prt_entropyinpr1,
  7920. kat1440_prt_addin1, kat1440_prt_retbytes
  7921. };
  7922. static const struct drbg_kat kat1440_prt = {
  7923. PR_TRUE, NA, NID_sha512_224, 24, 12, 24, 24, 112, &kat1440_prt_t
  7924. };
  7925. static const unsigned char kat1680_prt_entropyin[] = {
  7926. 0x29, 0xe3, 0xfa, 0xcd, 0x8f, 0x0d, 0xb5, 0x25, 0xdd, 0x97, 0x17, 0x9f,
  7927. 0xba, 0x20, 0x04, 0x78, 0x2c, 0xc7, 0x45, 0xc8, 0xdc, 0xc8, 0x60, 0xc3,
  7928. 0x45, 0x8d, 0x7b, 0xf7, 0x70, 0xe1, 0x80, 0x28,
  7929. };
  7930. static const unsigned char kat1680_prt_nonce[] = {
  7931. 0xa9, 0x6e, 0x20, 0x37, 0x82, 0xea, 0x56, 0xf0, 0xb9, 0xdb, 0x55, 0x88,
  7932. 0xb3, 0xea, 0x70, 0x2b,
  7933. };
  7934. static const unsigned char kat1680_prt_persstr[] = {
  7935. 0xe6, 0xb5, 0xc4, 0x0e, 0x32, 0x0a, 0x97, 0x07, 0x18, 0x5a, 0x05, 0xee,
  7936. 0x91, 0xae, 0x73, 0x85, 0xe7, 0xca, 0x2e, 0x81, 0xf7, 0xbf, 0x65, 0xee,
  7937. 0xd6, 0xf9, 0x31, 0x3a, 0x95, 0x9e, 0x5d, 0xd7,
  7938. };
  7939. static const unsigned char kat1680_prt_entropyinpr0[] = {
  7940. 0xff, 0x68, 0xae, 0x1f, 0xfa, 0xac, 0xe1, 0xf0, 0xe8, 0x29, 0x98, 0x31,
  7941. 0x84, 0x6e, 0x1e, 0x83, 0x79, 0xf9, 0xf9, 0x69, 0x6a, 0xa3, 0x2c, 0x76,
  7942. 0x2c, 0x56, 0xaa, 0xd2, 0xdb, 0x58, 0x60, 0x25,
  7943. };
  7944. static const unsigned char kat1680_prt_entropyinpr1[] = {
  7945. 0xf6, 0xf2, 0x29, 0x6c, 0x12, 0x20, 0xee, 0xc3, 0xb6, 0x81, 0xff, 0xe7,
  7946. 0xdb, 0x9b, 0xf8, 0x83, 0xbf, 0x2a, 0x87, 0x13, 0x23, 0x87, 0x05, 0xb9,
  7947. 0x48, 0x14, 0x7f, 0xd7, 0xfc, 0x5e, 0x52, 0x06,
  7948. };
  7949. static const unsigned char kat1680_prt_addin0[] = {
  7950. 0xe7, 0x8d, 0xcf, 0x5e, 0x29, 0xa8, 0x39, 0x3e, 0x83, 0xe8, 0x6d, 0xae,
  7951. 0xf0, 0x1d, 0x2a, 0xd7, 0x4b, 0x22, 0xee, 0xe0, 0x93, 0xd9, 0x46, 0x8b,
  7952. 0xfa, 0xa0, 0xe8, 0xa1, 0xb8, 0x36, 0x44, 0x95,
  7953. };
  7954. static const unsigned char kat1680_prt_addin1[] = {
  7955. 0x9d, 0x06, 0x7e, 0x72, 0xf6, 0x31, 0x0a, 0x0c, 0xb7, 0xe9, 0xeb, 0x2e,
  7956. 0xf7, 0xb0, 0x2e, 0x1b, 0x8b, 0x9b, 0xf8, 0x0c, 0x51, 0xa7, 0x93, 0x3a,
  7957. 0x5a, 0xa6, 0x9f, 0x13, 0x52, 0x9f, 0xf8, 0x49,
  7958. };
  7959. static const unsigned char kat1680_prt_retbytes[] = {
  7960. 0x6a, 0xf6, 0x89, 0xce, 0xc6, 0x2a, 0x63, 0x34, 0x92, 0xf6, 0xe2, 0x4b,
  7961. 0x75, 0x4d, 0x38, 0xdd, 0x6a, 0xb0, 0xb5, 0x56, 0xe9, 0x18, 0x02, 0xd7,
  7962. 0x2f, 0x14, 0xdc, 0x8c, 0x0e, 0x9f, 0xf5, 0x0d, 0xf7, 0x28, 0xb4, 0xe7,
  7963. 0x99, 0xa0, 0x36, 0xc3, 0xc4, 0x86, 0x30, 0xbe, 0x11, 0x6c, 0x8d, 0x6f,
  7964. 0x19, 0x1f, 0x30, 0x82, 0x1b, 0x4b, 0x8c, 0x74, 0xd7, 0x16, 0xe8, 0xa8,
  7965. 0x24, 0xd6, 0xc4, 0x1b, 0x81, 0xcc, 0xc2, 0x0c, 0xd0, 0x21, 0x57, 0x12,
  7966. 0xaa, 0xab, 0x7e, 0x1b, 0x92, 0x66, 0xc1, 0x41, 0xac, 0x66, 0xa5, 0xbb,
  7967. 0xb2, 0xe5, 0x00, 0x45, 0x5a, 0xbc, 0xbe, 0xa3, 0x91, 0x8f, 0x9f, 0xcb,
  7968. 0x4c, 0x22, 0x0b, 0xb5, 0xa9, 0xbf, 0x78, 0x15, 0xcb, 0xd2, 0x43, 0x5b,
  7969. 0x67, 0xcc, 0xf6, 0x3f, 0x89, 0x89, 0xcb, 0xc8, 0x63, 0x6e, 0xe8, 0x14,
  7970. 0x09, 0xdb, 0xc2, 0x3a, 0xf9, 0x1f, 0x16, 0xd2,
  7971. };
  7972. static const struct drbg_kat_pr_true kat1680_prt_t = {
  7973. 14, kat1680_prt_entropyin, kat1680_prt_nonce, kat1680_prt_persstr,
  7974. kat1680_prt_entropyinpr0, kat1680_prt_addin0, kat1680_prt_entropyinpr1,
  7975. kat1680_prt_addin1, kat1680_prt_retbytes
  7976. };
  7977. static const struct drbg_kat kat1680_prt = {
  7978. PR_TRUE, NA, NID_sha512_256, 32, 16, 32, 32, 128, &kat1680_prt_t
  7979. };
  7980. /* -------------------------------------------------------------------------- */
  7981. static const unsigned char kat1_prf_entropyin[] = {
  7982. 0x16, 0x10, 0xb8, 0x28, 0xcc, 0xd2, 0x7d, 0xe0, 0x8c, 0xee, 0xa0, 0x32,
  7983. 0xa2, 0x0e, 0x92, 0x08,
  7984. };
  7985. static const unsigned char kat1_prf_nonce[] = {
  7986. 0x49, 0x2c, 0xf1, 0x70, 0x92, 0x42, 0xf6, 0xb5,
  7987. };
  7988. static const unsigned char kat1_prf_persstr[] = {0};
  7989. static const unsigned char kat1_prf_entropyin_reseed[] = {
  7990. 0x72, 0xd2, 0x8c, 0x90, 0x8e, 0xda, 0xf9, 0xa4, 0xd1, 0xe5, 0x26, 0xd8,
  7991. 0xf2, 0xde, 0xd5, 0x44,
  7992. };
  7993. static const unsigned char kat1_prf_addin_reseed[] = {0};
  7994. static const unsigned char kat1_prf_addin0[] = {0};
  7995. static const unsigned char kat1_prf_addin1[] = {0};
  7996. static const unsigned char kat1_prf_retbytes[] = {
  7997. 0x56, 0xf3, 0x3d, 0x4f, 0xdb, 0xb9, 0xa5, 0xb6, 0x4d, 0x26, 0x23, 0x44,
  7998. 0x97, 0xe9, 0xdc, 0xb8, 0x77, 0x98, 0xc6, 0x8d, 0x08, 0xf7, 0xc4, 0x11,
  7999. 0x99, 0xd4, 0xbd, 0xdf, 0x97, 0xeb, 0xbf, 0x6c, 0xb5, 0x55, 0x0e, 0x5d,
  8000. 0x14, 0x9f, 0xf4, 0xd5, 0xbd, 0x0f, 0x05, 0xf2, 0x5a, 0x69, 0x88, 0xc1,
  8001. 0x74, 0x36, 0x39, 0x62, 0x27, 0x18, 0x4a, 0xf8, 0x4a, 0x56, 0x43, 0x35,
  8002. 0x65, 0x8e, 0x2f, 0x85, 0x72, 0xbe, 0xa3, 0x33, 0xee, 0xe2, 0xab, 0xff,
  8003. 0x22, 0xff, 0xa6, 0xde, 0x3e, 0x22, 0xac, 0xa2,
  8004. };
  8005. static const struct drbg_kat_pr_false kat1_prf_t = {
  8006. 0, kat1_prf_entropyin, kat1_prf_nonce, kat1_prf_persstr,
  8007. kat1_prf_entropyin_reseed, kat1_prf_addin_reseed,
  8008. kat1_prf_addin0, kat1_prf_addin1, kat1_prf_retbytes
  8009. };
  8010. static const struct drbg_kat kat1_prf = {
  8011. PR_FALSE, NA, NID_sha1, 16, 8, 0, 0, 80, &kat1_prf_t
  8012. };
  8013. static const unsigned char kat1680_prf_entropyin[] = {
  8014. 0x5c, 0x15, 0x82, 0xc1, 0x31, 0x34, 0xbd, 0x98, 0x4b, 0xa6, 0xc2, 0x7d,
  8015. 0x32, 0xbd, 0xf3, 0xfa, 0x18, 0x47, 0xc6, 0xf9, 0xc3, 0x7f, 0x9a, 0x5c,
  8016. 0xb3, 0x15, 0xca, 0xba, 0xc9, 0xc8, 0xf2, 0xa6,
  8017. };
  8018. static const unsigned char kat1680_prf_nonce[] = {
  8019. 0x5e, 0x3e, 0xba, 0xe1, 0xc1, 0xb1, 0x15, 0x07, 0xe0, 0xce, 0x8c, 0xe6,
  8020. 0x80, 0x65, 0x75, 0x18,
  8021. };
  8022. static const unsigned char kat1680_prf_persstr[] = {
  8023. 0x26, 0x1f, 0x0f, 0xa2, 0xfc, 0x41, 0xd2, 0x03, 0x63, 0xb0, 0x97, 0x5c,
  8024. 0x58, 0xbd, 0x79, 0x54, 0x8c, 0x13, 0x3a, 0x66, 0xe8, 0xed, 0xd7, 0xc4,
  8025. 0x40, 0xb7, 0xf6, 0x9d, 0x37, 0xb0, 0x32, 0x32,
  8026. };
  8027. static const unsigned char kat1680_prf_entropyin_reseed[] = {
  8028. 0xda, 0x39, 0x0d, 0xbb, 0x19, 0x77, 0xa8, 0x98, 0x30, 0xcf, 0xd0, 0x28,
  8029. 0x27, 0xec, 0xf2, 0x49, 0xaf, 0x17, 0xba, 0xf6, 0x81, 0x29, 0x61, 0xf7,
  8030. 0x15, 0x79, 0xb0, 0xbb, 0x07, 0x79, 0x53, 0x7c,
  8031. };
  8032. static const unsigned char kat1680_prf_addin_reseed[] = {
  8033. 0xf3, 0xe9, 0x21, 0x0b, 0x23, 0x57, 0x96, 0x85, 0x8e, 0x81, 0x88, 0x20,
  8034. 0x2c, 0x66, 0xe7, 0xe0, 0x15, 0xc6, 0x97, 0x6d, 0x4f, 0x68, 0x72, 0xb0,
  8035. 0xc5, 0x6b, 0x80, 0xf3, 0x4b, 0x1e, 0xc4, 0x4a,
  8036. };
  8037. static const unsigned char kat1680_prf_addin0[] = {
  8038. 0x9a, 0xb2, 0x99, 0x96, 0x3b, 0xc9, 0x6b, 0x27, 0xd5, 0xe8, 0x06, 0xf1,
  8039. 0x05, 0xb9, 0x30, 0xf4, 0x9d, 0x4a, 0x27, 0x0e, 0xc9, 0xb9, 0x8d, 0x13,
  8040. 0xff, 0x43, 0x8e, 0xa9, 0xc5, 0x8f, 0x5b, 0x3d,
  8041. };
  8042. static const unsigned char kat1680_prf_addin1[] = {
  8043. 0x9e, 0x08, 0xae, 0xcc, 0xed, 0xd8, 0xae, 0x05, 0xea, 0xfb, 0xbf, 0xaf,
  8044. 0xd8, 0x79, 0x0a, 0x3e, 0x39, 0x81, 0xd8, 0x5c, 0x74, 0x3f, 0x5e, 0x6d,
  8045. 0xa1, 0x8a, 0xc4, 0xf0, 0x41, 0xb9, 0xe6, 0x27,
  8046. };
  8047. static const unsigned char kat1680_prf_retbytes[] = {
  8048. 0x51, 0x8c, 0xa2, 0x7a, 0xfa, 0xb1, 0xb5, 0x8f, 0xfa, 0x9e, 0x9d, 0x04,
  8049. 0xdd, 0x7b, 0xb7, 0xbf, 0xc4, 0x11, 0x9a, 0x29, 0x9e, 0x08, 0x72, 0x7d,
  8050. 0x8c, 0xf8, 0x99, 0x9d, 0xc4, 0x40, 0x04, 0x0f, 0x62, 0x14, 0x24, 0x6c,
  8051. 0x56, 0xbe, 0xfb, 0x2f, 0xbb, 0xc4, 0x78, 0x4c, 0x96, 0x79, 0x94, 0x59,
  8052. 0xcf, 0xac, 0x77, 0x88, 0x3a, 0x7b, 0x1f, 0xb2, 0x7b, 0xb8, 0xd9, 0xc9,
  8053. 0x09, 0xc7, 0xe6, 0x2f, 0x01, 0x1c, 0xbb, 0x5c, 0x53, 0x32, 0xd7, 0x80,
  8054. 0xfc, 0xc5, 0x00, 0x59, 0x3c, 0x2a, 0x70, 0x67, 0x41, 0x1f, 0x24, 0x67,
  8055. 0x72, 0xd8, 0x22, 0xb4, 0xd6, 0xda, 0xc3, 0x93, 0xc6, 0xb4, 0x82, 0x0b,
  8056. 0xcb, 0x6c, 0xdc, 0x26, 0x59, 0xbe, 0x54, 0x34, 0xcf, 0xfb, 0xd5, 0x35,
  8057. 0xd5, 0x13, 0x05, 0x75, 0x70, 0x7b, 0x94, 0x35, 0x8d, 0x15, 0xb0, 0x88,
  8058. 0xbc, 0x46, 0x37, 0xa8, 0x3a, 0x97, 0xf7, 0x8f,
  8059. };
  8060. static const struct drbg_kat_pr_false kat1680_prf_t = {
  8061. 14, kat1680_prf_entropyin, kat1680_prf_nonce, kat1680_prf_persstr,
  8062. kat1680_prf_entropyin_reseed, kat1680_prf_addin_reseed,
  8063. kat1680_prf_addin0, kat1680_prf_addin1, kat1680_prf_retbytes
  8064. };
  8065. static const struct drbg_kat kat1680_prf = {
  8066. PR_FALSE, NA, NID_sha512_256, 32, 16, 32, 32, 128, &kat1680_prf_t
  8067. };
  8068. /* -------------------------------------------------------------------------- */
  8069. const struct drbg_kat *drbg_hash_test[] = {
  8070. &kat1_nor, &kat2_nor, &kat3_nor, &kat4_nor, &kat5_nor,
  8071. &kat6_nor, &kat7_nor, &kat8_nor, &kat9_nor, &kat10_nor,
  8072. &kat11_nor, &kat12_nor, &kat13_nor, &kat14_nor, &kat15_nor,
  8073. &kat16_nor, &kat17_nor, &kat18_nor, &kat19_nor, &kat20_nor,
  8074. &kat21_nor, &kat22_nor, &kat23_nor, &kat24_nor, &kat25_nor,
  8075. &kat26_nor, &kat27_nor, &kat28_nor, &kat29_nor, &kat30_nor,
  8076. &kat31_nor, &kat32_nor, &kat33_nor, &kat34_nor, &kat35_nor,
  8077. &kat36_nor, &kat37_nor, &kat38_nor, &kat39_nor, &kat40_nor,
  8078. &kat41_nor, &kat42_nor, &kat43_nor, &kat44_nor, &kat45_nor,
  8079. &kat46_nor, &kat47_nor, &kat48_nor, &kat49_nor, &kat50_nor,
  8080. &kat51_nor, &kat52_nor, &kat53_nor, &kat54_nor, &kat55_nor,
  8081. &kat56_nor, &kat57_nor, &kat58_nor, &kat59_nor, &kat60_nor,
  8082. &kat61_nor, &kat62_nor, &kat63_nor, &kat64_nor, &kat65_nor,
  8083. &kat66_nor, &kat67_nor, &kat68_nor, &kat69_nor, &kat70_nor,
  8084. &kat71_nor, &kat72_nor, &kat73_nor, &kat74_nor, &kat75_nor,
  8085. &kat76_nor, &kat77_nor, &kat78_nor, &kat79_nor, &kat80_nor,
  8086. &kat81_nor, &kat82_nor, &kat83_nor, &kat84_nor, &kat85_nor,
  8087. &kat86_nor, &kat87_nor, &kat88_nor, &kat89_nor, &kat90_nor,
  8088. &kat91_nor, &kat92_nor, &kat93_nor, &kat94_nor, &kat95_nor,
  8089. &kat96_nor, &kat97_nor, &kat98_nor, &kat99_nor, &kat100_nor,
  8090. &kat101_nor, &kat102_nor, &kat103_nor, &kat104_nor, &kat105_nor,
  8091. &kat106_nor, &kat107_nor, &kat108_nor, &kat109_nor, &kat110_nor,
  8092. &kat111_nor, &kat112_nor, &kat113_nor, &kat114_nor, &kat115_nor,
  8093. &kat116_nor, &kat117_nor, &kat118_nor, &kat119_nor, &kat120_nor,
  8094. &kat121_nor, &kat122_nor, &kat123_nor, &kat124_nor, &kat125_nor,
  8095. &kat126_nor, &kat127_nor, &kat128_nor, &kat129_nor, &kat130_nor,
  8096. &kat131_nor, &kat132_nor, &kat133_nor, &kat134_nor, &kat135_nor,
  8097. &kat136_nor, &kat137_nor, &kat138_nor, &kat139_nor, &kat140_nor,
  8098. &kat141_nor, &kat142_nor, &kat143_nor, &kat144_nor, &kat145_nor,
  8099. &kat146_nor, &kat147_nor, &kat148_nor, &kat149_nor, &kat150_nor,
  8100. &kat151_nor, &kat152_nor, &kat153_nor, &kat154_nor, &kat155_nor,
  8101. &kat156_nor, &kat157_nor, &kat158_nor, &kat159_nor, &kat160_nor,
  8102. &kat161_nor, &kat162_nor, &kat163_nor, &kat164_nor, &kat165_nor,
  8103. &kat166_nor, &kat167_nor, &kat168_nor, &kat169_nor, &kat170_nor,
  8104. &kat171_nor, &kat172_nor, &kat173_nor, &kat174_nor, &kat175_nor,
  8105. &kat176_nor, &kat177_nor, &kat178_nor, &kat179_nor, &kat180_nor,
  8106. &kat181_nor, &kat182_nor, &kat183_nor, &kat184_nor, &kat185_nor,
  8107. &kat186_nor, &kat187_nor, &kat188_nor, &kat189_nor, &kat190_nor,
  8108. &kat191_nor, &kat192_nor, &kat193_nor, &kat194_nor, &kat195_nor,
  8109. &kat196_nor, &kat197_nor, &kat198_nor, &kat199_nor, &kat200_nor,
  8110. &kat201_nor, &kat202_nor, &kat203_nor, &kat204_nor, &kat205_nor,
  8111. &kat206_nor, &kat207_nor, &kat208_nor, &kat209_nor, &kat210_nor,
  8112. &kat211_nor, &kat212_nor, &kat213_nor, &kat214_nor, &kat215_nor,
  8113. &kat216_nor, &kat217_nor, &kat218_nor, &kat219_nor, &kat220_nor,
  8114. &kat221_nor, &kat222_nor, &kat223_nor, &kat224_nor, &kat225_nor,
  8115. &kat226_nor, &kat227_nor, &kat228_nor, &kat229_nor, &kat230_nor,
  8116. &kat231_nor, &kat232_nor, &kat233_nor, &kat234_nor, &kat235_nor,
  8117. &kat236_nor, &kat237_nor, &kat238_nor, &kat239_nor, &kat240_nor,
  8118. &kat480_nor, &kat720_nor, &kat960_nor, &kat1200_nor, &kat1440_nor,
  8119. &kat1680_nor,
  8120. &kat240_prt, &kat480_prt, &kat720_prt, &kat960_prt, &kat1200_prt,
  8121. &kat1440_prt, &kat1680_prt, &kat1_prf, &kat1680_prf
  8122. };
  8123. const size_t drbg_hash_nelem = OSSL_NELEM(drbg_hash_test);