drbg_cavs_data_ctr.c 339 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769
  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. * 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. 0x89, 0x0e, 0xb0, 0x67, 0xac, 0xf7, 0x38, 0x2e, 0xff, 0x80, 0xb0, 0xc7,
  19. 0x3b, 0xc8, 0x72, 0xc6,
  20. };
  21. static const unsigned char kat1_nor_nonce[] = {
  22. 0xaa, 0xd4, 0x71, 0xef, 0x3e, 0xf1, 0xd2, 0x03,
  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. 0xa5, 0x51, 0x4e, 0xd7, 0x09, 0x5f, 0x64, 0xf3, 0xd0, 0xd3, 0xa5, 0x76,
  29. 0x03, 0x94, 0xab, 0x42, 0x06, 0x2f, 0x37, 0x3a, 0x25, 0x07, 0x2a, 0x6e,
  30. 0xa6, 0xbc, 0xfd, 0x84, 0x89, 0xe9, 0x4a, 0xf6, 0xcf, 0x18, 0x65, 0x9f,
  31. 0xea, 0x22, 0xed, 0x1c, 0xa0, 0xa9, 0xe3, 0x3f, 0x71, 0x8b, 0x11, 0x5e,
  32. 0xe5, 0x36, 0xb1, 0x28, 0x09, 0xc3, 0x1b, 0x72, 0xb0, 0x8d, 0xdd, 0x8b,
  33. 0xe1, 0x91, 0x0f, 0xa3,
  34. };
  35. static const struct drbg_kat_no_reseed kat1_nor_t = {
  36. 0, kat1_nor_entropyin, kat1_nor_nonce, kat1_nor_persstr,
  37. kat1_nor_addin0, kat1_nor_addin1, kat1_nor_retbytes
  38. };
  39. static const struct drbg_kat kat1_nor = {
  40. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat1_nor_t
  41. };
  42. static const unsigned char kat2_nor_entropyin[] = {
  43. 0xc4, 0x7b, 0xe8, 0xe8, 0x21, 0x9a, 0x5a, 0x87, 0xc9, 0x40, 0x64, 0xa5,
  44. 0x12, 0x08, 0x9f, 0x2b,
  45. };
  46. static const unsigned char kat2_nor_nonce[] = {
  47. 0xf2, 0xa2, 0x3e, 0x63, 0x6a, 0xee, 0x75, 0xc6,
  48. };
  49. static const unsigned char kat2_nor_persstr[] = {0};
  50. static const unsigned char kat2_nor_addin0[] = {0};
  51. static const unsigned char kat2_nor_addin1[] = {0};
  52. static const unsigned char kat2_nor_retbytes[] = {
  53. 0x5a, 0x16, 0x50, 0xbb, 0x6d, 0x6a, 0x16, 0xf6, 0x04, 0x05, 0x91, 0xd5,
  54. 0x6a, 0xbc, 0xd5, 0xdd, 0x3d, 0xb8, 0x77, 0x2a, 0x9c, 0x75, 0xc4, 0x4d,
  55. 0x9f, 0xc6, 0x4d, 0x51, 0xb7, 0x33, 0xd4, 0xa6, 0x75, 0x9b, 0xd5, 0xa6,
  56. 0x4e, 0xc4, 0x23, 0x1a, 0x24, 0xe6, 0x62, 0xfd, 0xd4, 0x7c, 0x82, 0xdb,
  57. 0x63, 0xb2, 0x00, 0xda, 0xf8, 0xd0, 0x98, 0x56, 0x0e, 0xb5, 0xba, 0x7b,
  58. 0xf3, 0xf9, 0xab, 0xf7,
  59. };
  60. static const struct drbg_kat_no_reseed kat2_nor_t = {
  61. 1, kat2_nor_entropyin, kat2_nor_nonce, kat2_nor_persstr,
  62. kat2_nor_addin0, kat2_nor_addin1, kat2_nor_retbytes
  63. };
  64. static const struct drbg_kat kat2_nor = {
  65. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat2_nor_t
  66. };
  67. static const unsigned char kat3_nor_entropyin[] = {
  68. 0x13, 0x0b, 0x8c, 0x3d, 0x2d, 0x7b, 0x6e, 0x02, 0xc4, 0x10, 0xb4, 0x16,
  69. 0x8e, 0x12, 0x2c, 0x38,
  70. };
  71. static const unsigned char kat3_nor_nonce[] = {
  72. 0x79, 0xa6, 0x74, 0xc5, 0xb2, 0xc5, 0x1a, 0xa9,
  73. };
  74. static const unsigned char kat3_nor_persstr[] = {0};
  75. static const unsigned char kat3_nor_addin0[] = {0};
  76. static const unsigned char kat3_nor_addin1[] = {0};
  77. static const unsigned char kat3_nor_retbytes[] = {
  78. 0x57, 0xe8, 0xa1, 0xe5, 0x78, 0xed, 0xe1, 0xc6, 0x68, 0x79, 0xc4, 0x30,
  79. 0xdf, 0x72, 0x64, 0x35, 0xd5, 0x1a, 0x36, 0x9a, 0x0f, 0xe5, 0x9a, 0x03,
  80. 0x58, 0xd1, 0xde, 0x35, 0x2d, 0x42, 0x80, 0xfd, 0x7b, 0x22, 0x5f, 0x5f,
  81. 0x38, 0x6a, 0x4f, 0xcf, 0x12, 0xf7, 0x27, 0x94, 0xad, 0x0f, 0x37, 0x57,
  82. 0xfb, 0x25, 0xde, 0xba, 0x3c, 0x75, 0x12, 0xce, 0x4d, 0x37, 0x33, 0xc7,
  83. 0xee, 0x06, 0x70, 0x43,
  84. };
  85. static const struct drbg_kat_no_reseed kat3_nor_t = {
  86. 2, kat3_nor_entropyin, kat3_nor_nonce, kat3_nor_persstr,
  87. kat3_nor_addin0, kat3_nor_addin1, kat3_nor_retbytes
  88. };
  89. static const struct drbg_kat kat3_nor = {
  90. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat3_nor_t
  91. };
  92. static const unsigned char kat4_nor_entropyin[] = {
  93. 0x04, 0xd2, 0x41, 0x45, 0x28, 0x76, 0x64, 0xf6, 0x76, 0x2b, 0x5d, 0x2a,
  94. 0x10, 0x2a, 0xc6, 0x03,
  95. };
  96. static const unsigned char kat4_nor_nonce[] = {
  97. 0xec, 0xac, 0x63, 0xe1, 0x21, 0x7e, 0xe3, 0x35,
  98. };
  99. static const unsigned char kat4_nor_persstr[] = {0};
  100. static const unsigned char kat4_nor_addin0[] = {0};
  101. static const unsigned char kat4_nor_addin1[] = {0};
  102. static const unsigned char kat4_nor_retbytes[] = {
  103. 0xfa, 0x5e, 0x74, 0x6d, 0xec, 0xd6, 0x80, 0x1e, 0xb7, 0x08, 0x3b, 0x6f,
  104. 0x0e, 0x72, 0x43, 0x2e, 0x1f, 0xd4, 0x24, 0x31, 0x04, 0xf7, 0x48, 0xd0,
  105. 0xf1, 0x90, 0x83, 0x92, 0x3b, 0x95, 0x55, 0x68, 0x8f, 0x43, 0x14, 0x6d,
  106. 0x5a, 0xce, 0xa9, 0x62, 0xda, 0x01, 0x23, 0x1d, 0x9e, 0x5f, 0xaf, 0xf0,
  107. 0xe8, 0x1f, 0x3d, 0x39, 0x4a, 0xce, 0x3a, 0x34, 0x54, 0x53, 0x6d, 0x72,
  108. 0x65, 0x75, 0x04, 0x1f,
  109. };
  110. static const struct drbg_kat_no_reseed kat4_nor_t = {
  111. 3, kat4_nor_entropyin, kat4_nor_nonce, kat4_nor_persstr,
  112. kat4_nor_addin0, kat4_nor_addin1, kat4_nor_retbytes
  113. };
  114. static const struct drbg_kat kat4_nor = {
  115. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat4_nor_t
  116. };
  117. static const unsigned char kat5_nor_entropyin[] = {
  118. 0xae, 0xde, 0x4e, 0x61, 0x35, 0x56, 0xb1, 0xd5, 0xa3, 0x0f, 0xce, 0x26,
  119. 0x1f, 0xbb, 0x82, 0x0c,
  120. };
  121. static const unsigned char kat5_nor_nonce[] = {
  122. 0x39, 0xac, 0xba, 0x03, 0xc5, 0xf1, 0x0a, 0xf4,
  123. };
  124. static const unsigned char kat5_nor_persstr[] = {0};
  125. static const unsigned char kat5_nor_addin0[] = {0};
  126. static const unsigned char kat5_nor_addin1[] = {0};
  127. static const unsigned char kat5_nor_retbytes[] = {
  128. 0x23, 0x2c, 0x44, 0xb8, 0x19, 0xb8, 0x8f, 0x1a, 0xeb, 0x83, 0xf2, 0x03,
  129. 0x4f, 0x84, 0x2d, 0x5a, 0x00, 0xf0, 0x30, 0x15, 0x05, 0xd2, 0xaa, 0x69,
  130. 0xaa, 0xec, 0xb3, 0xcb, 0x14, 0xbc, 0xb1, 0x58, 0x75, 0xe0, 0xfd, 0x60,
  131. 0x07, 0x1a, 0x80, 0xf6, 0x26, 0x2d, 0xce, 0xbc, 0xf4, 0x1a, 0x0e, 0x14,
  132. 0x76, 0xd9, 0x6f, 0x40, 0x97, 0x12, 0xd8, 0x28, 0xae, 0x31, 0x3a, 0x9d,
  133. 0x28, 0xec, 0x2d, 0xee,
  134. };
  135. static const struct drbg_kat_no_reseed kat5_nor_t = {
  136. 4, kat5_nor_entropyin, kat5_nor_nonce, kat5_nor_persstr,
  137. kat5_nor_addin0, kat5_nor_addin1, kat5_nor_retbytes
  138. };
  139. static const struct drbg_kat kat5_nor = {
  140. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat5_nor_t
  141. };
  142. static const unsigned char kat6_nor_entropyin[] = {
  143. 0x9f, 0x90, 0x54, 0x1c, 0x10, 0xd4, 0xb7, 0xc0, 0x89, 0xfe, 0x68, 0x8e,
  144. 0xa3, 0xef, 0x4f, 0xc6,
  145. };
  146. static const unsigned char kat6_nor_nonce[] = {
  147. 0x1e, 0xac, 0x1c, 0x22, 0x03, 0x6e, 0x2b, 0x22,
  148. };
  149. static const unsigned char kat6_nor_persstr[] = {0};
  150. static const unsigned char kat6_nor_addin0[] = {0};
  151. static const unsigned char kat6_nor_addin1[] = {0};
  152. static const unsigned char kat6_nor_retbytes[] = {
  153. 0x71, 0xaf, 0x3f, 0xdf, 0x67, 0x34, 0x04, 0x16, 0x3b, 0x06, 0x73, 0x7e,
  154. 0x0f, 0x39, 0x91, 0x5f, 0xae, 0xc2, 0x18, 0x21, 0x81, 0x6c, 0x31, 0x42,
  155. 0xe8, 0x0a, 0x50, 0x3c, 0x70, 0xcb, 0x2e, 0xdd, 0x46, 0x8c, 0x3f, 0x03,
  156. 0xcb, 0x1f, 0x8a, 0x2f, 0x92, 0x48, 0x63, 0x5b, 0x63, 0xd7, 0xb8, 0xf1,
  157. 0x9e, 0x9e, 0x11, 0xca, 0xf0, 0xab, 0x0c, 0x3d, 0x2f, 0xf9, 0xc7, 0x13,
  158. 0x21, 0xca, 0xc1, 0x54,
  159. };
  160. static const struct drbg_kat_no_reseed kat6_nor_t = {
  161. 5, kat6_nor_entropyin, kat6_nor_nonce, kat6_nor_persstr,
  162. kat6_nor_addin0, kat6_nor_addin1, kat6_nor_retbytes
  163. };
  164. static const struct drbg_kat kat6_nor = {
  165. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat6_nor_t
  166. };
  167. static const unsigned char kat7_nor_entropyin[] = {
  168. 0x3b, 0x8a, 0x18, 0x1c, 0xea, 0x83, 0x90, 0xd5, 0xd7, 0xa4, 0xe6, 0x51,
  169. 0x5c, 0xf9, 0x2e, 0x3e,
  170. };
  171. static const unsigned char kat7_nor_nonce[] = {
  172. 0x37, 0xf4, 0xd1, 0x74, 0x87, 0x14, 0x34, 0x5b,
  173. };
  174. static const unsigned char kat7_nor_persstr[] = {0};
  175. static const unsigned char kat7_nor_addin0[] = {0};
  176. static const unsigned char kat7_nor_addin1[] = {0};
  177. static const unsigned char kat7_nor_retbytes[] = {
  178. 0xd6, 0xfd, 0x0f, 0xfb, 0x10, 0x85, 0x0e, 0xb6, 0xeb, 0x70, 0x50, 0xe6,
  179. 0x1e, 0xac, 0x00, 0xd4, 0x72, 0xf6, 0x5c, 0xd3, 0xd9, 0x35, 0x08, 0x14,
  180. 0x77, 0xfe, 0x44, 0xaa, 0x85, 0x69, 0x4e, 0x12, 0x0a, 0xb5, 0xa1, 0xca,
  181. 0x1f, 0xa1, 0x98, 0xaf, 0x76, 0xdf, 0xa8, 0xd0, 0xab, 0xdf, 0x53, 0xe8,
  182. 0x5a, 0xa8, 0xc8, 0x7f, 0xed, 0x0a, 0x8c, 0x24, 0x16, 0x39, 0x43, 0xb9,
  183. 0x6d, 0x80, 0xaa, 0xfb,
  184. };
  185. static const struct drbg_kat_no_reseed kat7_nor_t = {
  186. 6, kat7_nor_entropyin, kat7_nor_nonce, kat7_nor_persstr,
  187. kat7_nor_addin0, kat7_nor_addin1, kat7_nor_retbytes
  188. };
  189. static const struct drbg_kat kat7_nor = {
  190. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat7_nor_t
  191. };
  192. static const unsigned char kat8_nor_entropyin[] = {
  193. 0x85, 0x4c, 0xaa, 0x2a, 0x74, 0xf3, 0xf4, 0x3b, 0x6a, 0xbd, 0x80, 0x6d,
  194. 0x67, 0x48, 0xed, 0x80,
  195. };
  196. static const unsigned char kat8_nor_nonce[] = {
  197. 0x0c, 0xbd, 0x13, 0x72, 0xbe, 0xb6, 0x27, 0x36,
  198. };
  199. static const unsigned char kat8_nor_persstr[] = {0};
  200. static const unsigned char kat8_nor_addin0[] = {0};
  201. static const unsigned char kat8_nor_addin1[] = {0};
  202. static const unsigned char kat8_nor_retbytes[] = {
  203. 0x46, 0x53, 0x40, 0x28, 0x16, 0x5f, 0xfe, 0x28, 0x45, 0xa9, 0x72, 0x62,
  204. 0x7e, 0x67, 0xe1, 0x53, 0x51, 0x0c, 0xa1, 0x88, 0x0e, 0x6a, 0x3a, 0xd3,
  205. 0x1f, 0xde, 0xe7, 0x1f, 0xf2, 0x40, 0xd3, 0x27, 0x86, 0x24, 0xb3, 0x1f,
  206. 0x2d, 0x38, 0x6d, 0x7b, 0x22, 0x28, 0xce, 0xd6, 0x24, 0xa4, 0x2e, 0x7a,
  207. 0x3b, 0x07, 0x48, 0x0b, 0x23, 0x23, 0x16, 0x6c, 0x18, 0xd1, 0xac, 0x0f,
  208. 0x60, 0x00, 0x2e, 0xc4,
  209. };
  210. static const struct drbg_kat_no_reseed kat8_nor_t = {
  211. 7, kat8_nor_entropyin, kat8_nor_nonce, kat8_nor_persstr,
  212. kat8_nor_addin0, kat8_nor_addin1, kat8_nor_retbytes
  213. };
  214. static const struct drbg_kat kat8_nor = {
  215. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat8_nor_t
  216. };
  217. static const unsigned char kat9_nor_entropyin[] = {
  218. 0x87, 0xe1, 0xc5, 0x32, 0x99, 0x7f, 0x57, 0xa3, 0x5c, 0x28, 0x6d, 0xe8,
  219. 0x64, 0xbf, 0xf2, 0x64,
  220. };
  221. static const unsigned char kat9_nor_nonce[] = {
  222. 0xa3, 0x9e, 0x98, 0xdb, 0x6c, 0x10, 0x78, 0x7f,
  223. };
  224. static const unsigned char kat9_nor_persstr[] = {0};
  225. static const unsigned char kat9_nor_addin0[] = {0};
  226. static const unsigned char kat9_nor_addin1[] = {0};
  227. static const unsigned char kat9_nor_retbytes[] = {
  228. 0x2c, 0x14, 0x7e, 0x24, 0x11, 0x9a, 0xd8, 0xd4, 0xb2, 0xed, 0x61, 0xc1,
  229. 0x53, 0xd0, 0x50, 0xc9, 0x24, 0xff, 0x59, 0x75, 0x15, 0xf1, 0x17, 0x3a,
  230. 0x3d, 0xf4, 0x4b, 0x2c, 0x84, 0x28, 0xef, 0x89, 0x0e, 0xb9, 0xde, 0xf3,
  231. 0xe4, 0x78, 0x04, 0xb2, 0xfd, 0x9b, 0x35, 0x7f, 0xe1, 0x3f, 0x8a, 0x3e,
  232. 0x10, 0xc8, 0x67, 0x0a, 0xf9, 0xdf, 0x2d, 0x6c, 0x96, 0xfb, 0xb2, 0xb8,
  233. 0xcb, 0x2d, 0xd6, 0xb0,
  234. };
  235. static const struct drbg_kat_no_reseed kat9_nor_t = {
  236. 8, kat9_nor_entropyin, kat9_nor_nonce, kat9_nor_persstr,
  237. kat9_nor_addin0, kat9_nor_addin1, kat9_nor_retbytes
  238. };
  239. static const struct drbg_kat kat9_nor = {
  240. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat9_nor_t
  241. };
  242. static const unsigned char kat10_nor_entropyin[] = {
  243. 0x2f, 0xc6, 0x23, 0x42, 0x90, 0x29, 0xc9, 0x6e, 0xde, 0xf6, 0x16, 0x62,
  244. 0x47, 0xb0, 0x8c, 0xb0,
  245. };
  246. static const unsigned char kat10_nor_nonce[] = {
  247. 0x99, 0x82, 0x66, 0x33, 0x55, 0x58, 0x27, 0x88,
  248. };
  249. static const unsigned char kat10_nor_persstr[] = {0};
  250. static const unsigned char kat10_nor_addin0[] = {0};
  251. static const unsigned char kat10_nor_addin1[] = {0};
  252. static const unsigned char kat10_nor_retbytes[] = {
  253. 0x55, 0x96, 0xcb, 0x16, 0xf3, 0xbe, 0x85, 0x52, 0xc1, 0xe5, 0xc1, 0x64,
  254. 0xd5, 0x40, 0xcb, 0x1f, 0xaf, 0x4b, 0xea, 0x87, 0x33, 0xb6, 0x0a, 0x8a,
  255. 0xd0, 0xc4, 0x06, 0x26, 0x25, 0x65, 0x48, 0xc7, 0xaa, 0x96, 0xd1, 0xd2,
  256. 0x72, 0x9d, 0x26, 0xf0, 0x08, 0x73, 0x1f, 0xc3, 0x93, 0x07, 0xbe, 0x5b,
  257. 0xcd, 0x20, 0x81, 0xc6, 0x9e, 0x31, 0x4e, 0x0c, 0x73, 0xe3, 0xd0, 0xfd,
  258. 0x1d, 0x90, 0x58, 0x28,
  259. };
  260. static const struct drbg_kat_no_reseed kat10_nor_t = {
  261. 9, kat10_nor_entropyin, kat10_nor_nonce, kat10_nor_persstr,
  262. kat10_nor_addin0, kat10_nor_addin1, kat10_nor_retbytes
  263. };
  264. static const struct drbg_kat kat10_nor = {
  265. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat10_nor_t
  266. };
  267. static const unsigned char kat11_nor_entropyin[] = {
  268. 0x98, 0xab, 0x8b, 0x4e, 0xaf, 0xab, 0x6e, 0x53, 0x6f, 0x78, 0x45, 0xab,
  269. 0xec, 0x13, 0x78, 0x08,
  270. };
  271. static const unsigned char kat11_nor_nonce[] = {
  272. 0xdb, 0xa9, 0x44, 0xc9, 0x8b, 0x31, 0x1d, 0x8e,
  273. };
  274. static const unsigned char kat11_nor_persstr[] = {0};
  275. static const unsigned char kat11_nor_addin0[] = {0};
  276. static const unsigned char kat11_nor_addin1[] = {0};
  277. static const unsigned char kat11_nor_retbytes[] = {
  278. 0x86, 0xee, 0xd3, 0xa9, 0xfa, 0x53, 0x45, 0x2f, 0xb1, 0x1d, 0xba, 0x9c,
  279. 0xac, 0x8e, 0x44, 0x02, 0x52, 0x29, 0x28, 0xf2, 0x70, 0x5a, 0x5e, 0x58,
  280. 0x2f, 0x4d, 0x00, 0xeb, 0x8f, 0xed, 0x81, 0x8e, 0x62, 0x9c, 0x72, 0xa6,
  281. 0xa7, 0x79, 0xbe, 0xb4, 0xed, 0x9a, 0x23, 0x93, 0x68, 0x23, 0x3c, 0xbf,
  282. 0xcf, 0x55, 0x68, 0x5d, 0xbf, 0x2d, 0xe3, 0x4a, 0xb5, 0x89, 0x20, 0xcf,
  283. 0xac, 0xa4, 0xaa, 0xfe,
  284. };
  285. static const struct drbg_kat_no_reseed kat11_nor_t = {
  286. 10, kat11_nor_entropyin, kat11_nor_nonce, kat11_nor_persstr,
  287. kat11_nor_addin0, kat11_nor_addin1, kat11_nor_retbytes
  288. };
  289. static const struct drbg_kat kat11_nor = {
  290. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat11_nor_t
  291. };
  292. static const unsigned char kat12_nor_entropyin[] = {
  293. 0x7d, 0xcf, 0x4f, 0xa7, 0x31, 0x13, 0x9c, 0x5b, 0xb6, 0x44, 0x2f, 0xed,
  294. 0x91, 0xe8, 0x9f, 0x68,
  295. };
  296. static const unsigned char kat12_nor_nonce[] = {
  297. 0xff, 0xd9, 0x4f, 0xe2, 0x1a, 0x80, 0x8b, 0x15,
  298. };
  299. static const unsigned char kat12_nor_persstr[] = {0};
  300. static const unsigned char kat12_nor_addin0[] = {0};
  301. static const unsigned char kat12_nor_addin1[] = {0};
  302. static const unsigned char kat12_nor_retbytes[] = {
  303. 0x8e, 0xca, 0x20, 0xe3, 0x1c, 0x98, 0x39, 0xb7, 0x41, 0xaa, 0xa9, 0xbf,
  304. 0x6c, 0xee, 0xe2, 0x24, 0xd3, 0x21, 0x26, 0xb3, 0x19, 0x6e, 0xef, 0x3e,
  305. 0xcd, 0x34, 0x3d, 0x41, 0x4d, 0x32, 0x33, 0xb9, 0xfd, 0x0e, 0xa0, 0xed,
  306. 0x1b, 0xc7, 0x70, 0x0c, 0x88, 0xcd, 0x7c, 0x88, 0xd3, 0xc0, 0x76, 0x13,
  307. 0xc4, 0x2c, 0xd1, 0xf9, 0x09, 0xfe, 0xd8, 0xc6, 0xa7, 0x08, 0xd0, 0x5d,
  308. 0x6b, 0x68, 0xfb, 0x2e,
  309. };
  310. static const struct drbg_kat_no_reseed kat12_nor_t = {
  311. 11, kat12_nor_entropyin, kat12_nor_nonce, kat12_nor_persstr,
  312. kat12_nor_addin0, kat12_nor_addin1, kat12_nor_retbytes
  313. };
  314. static const struct drbg_kat kat12_nor = {
  315. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat12_nor_t
  316. };
  317. static const unsigned char kat13_nor_entropyin[] = {
  318. 0x51, 0x9c, 0x6e, 0xfe, 0xde, 0xd2, 0xa1, 0x10, 0xac, 0x41, 0x83, 0x9a,
  319. 0x8b, 0x8a, 0xbf, 0xce,
  320. };
  321. static const unsigned char kat13_nor_nonce[] = {
  322. 0x81, 0xd9, 0x5e, 0xdc, 0x06, 0xdd, 0xe6, 0xb3,
  323. };
  324. static const unsigned char kat13_nor_persstr[] = {0};
  325. static const unsigned char kat13_nor_addin0[] = {0};
  326. static const unsigned char kat13_nor_addin1[] = {0};
  327. static const unsigned char kat13_nor_retbytes[] = {
  328. 0x39, 0xcd, 0xd1, 0x0e, 0x49, 0xe0, 0x35, 0x81, 0xe3, 0x81, 0x1d, 0xdd,
  329. 0x07, 0xd9, 0xd0, 0xac, 0xc3, 0x40, 0x85, 0xa1, 0x2c, 0x1c, 0x6b, 0x87,
  330. 0xa7, 0x63, 0x86, 0xe9, 0x70, 0x32, 0xdc, 0x01, 0xf5, 0x23, 0xf6, 0x32,
  331. 0xec, 0x95, 0x0d, 0x04, 0x34, 0xc2, 0x59, 0x37, 0xe4, 0x32, 0xd9, 0x85,
  332. 0x54, 0x59, 0x9a, 0x85, 0x5d, 0xb9, 0xad, 0xf5, 0x8b, 0x9e, 0x04, 0x59,
  333. 0x7a, 0x21, 0xd0, 0x0d,
  334. };
  335. static const struct drbg_kat_no_reseed kat13_nor_t = {
  336. 12, kat13_nor_entropyin, kat13_nor_nonce, kat13_nor_persstr,
  337. kat13_nor_addin0, kat13_nor_addin1, kat13_nor_retbytes
  338. };
  339. static const struct drbg_kat kat13_nor = {
  340. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat13_nor_t
  341. };
  342. static const unsigned char kat14_nor_entropyin[] = {
  343. 0x80, 0xc1, 0x9e, 0xea, 0xad, 0x1a, 0x58, 0x37, 0x94, 0x66, 0xaf, 0xae,
  344. 0x1d, 0x80, 0x87, 0x6d,
  345. };
  346. static const unsigned char kat14_nor_nonce[] = {
  347. 0xd9, 0xa2, 0x09, 0x3f, 0x11, 0x89, 0x2b, 0x82,
  348. };
  349. static const unsigned char kat14_nor_persstr[] = {0};
  350. static const unsigned char kat14_nor_addin0[] = {0};
  351. static const unsigned char kat14_nor_addin1[] = {0};
  352. static const unsigned char kat14_nor_retbytes[] = {
  353. 0xce, 0xc5, 0x1b, 0x98, 0x5e, 0xc9, 0x7b, 0x18, 0xee, 0x8e, 0xad, 0x36,
  354. 0x15, 0x7b, 0xea, 0xf9, 0x6f, 0x12, 0x9f, 0x28, 0x28, 0x08, 0x89, 0xec,
  355. 0x87, 0x3c, 0x27, 0xb5, 0x62, 0x71, 0x98, 0xc5, 0x85, 0xa6, 0xad, 0x21,
  356. 0xae, 0x23, 0xa9, 0x59, 0xc9, 0xfa, 0x49, 0xd9, 0x85, 0xaf, 0x0d, 0xf4,
  357. 0x02, 0x8f, 0xdf, 0x1f, 0x51, 0xd8, 0x2e, 0x8f, 0x2b, 0x3f, 0x02, 0x88,
  358. 0x53, 0xf1, 0x4e, 0x8f,
  359. };
  360. static const struct drbg_kat_no_reseed kat14_nor_t = {
  361. 13, kat14_nor_entropyin, kat14_nor_nonce, kat14_nor_persstr,
  362. kat14_nor_addin0, kat14_nor_addin1, kat14_nor_retbytes
  363. };
  364. static const struct drbg_kat kat14_nor = {
  365. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat14_nor_t
  366. };
  367. static const unsigned char kat15_nor_entropyin[] = {
  368. 0xb7, 0x7b, 0xd2, 0x2e, 0xfe, 0xb7, 0x71, 0x58, 0x6d, 0x51, 0x6f, 0x58,
  369. 0x21, 0x92, 0xa3, 0x11,
  370. };
  371. static const unsigned char kat15_nor_nonce[] = {
  372. 0xa6, 0x99, 0xf4, 0x2a, 0x49, 0x81, 0xfe, 0xfc,
  373. };
  374. static const unsigned char kat15_nor_persstr[] = {0};
  375. static const unsigned char kat15_nor_addin0[] = {0};
  376. static const unsigned char kat15_nor_addin1[] = {0};
  377. static const unsigned char kat15_nor_retbytes[] = {
  378. 0x7f, 0xf0, 0xab, 0xea, 0xff, 0xc6, 0xec, 0x92, 0x3c, 0xeb, 0xd9, 0x10,
  379. 0xf5, 0x93, 0x7b, 0xf1, 0x4f, 0xc5, 0x2d, 0x2a, 0x74, 0x25, 0x83, 0x88,
  380. 0xc7, 0x6c, 0x1b, 0xc9, 0xe6, 0x35, 0xad, 0xf1, 0x75, 0x85, 0x8f, 0x0a,
  381. 0x55, 0x87, 0x7e, 0x7e, 0x9f, 0x5f, 0x86, 0x7d, 0x00, 0xb9, 0xb1, 0x36,
  382. 0x3d, 0xde, 0x46, 0x28, 0x8a, 0x6f, 0xff, 0x53, 0x21, 0xf4, 0x69, 0x44,
  383. 0x5a, 0xad, 0x41, 0x98,
  384. };
  385. static const struct drbg_kat_no_reseed kat15_nor_t = {
  386. 14, kat15_nor_entropyin, kat15_nor_nonce, kat15_nor_persstr,
  387. kat15_nor_addin0, kat15_nor_addin1, kat15_nor_retbytes
  388. };
  389. static const struct drbg_kat kat15_nor = {
  390. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat15_nor_t
  391. };
  392. static const unsigned char kat16_nor_entropyin[] = {
  393. 0xb4, 0x08, 0xce, 0xfb, 0x5b, 0xc7, 0x15, 0x7d, 0x3f, 0x26, 0xcb, 0x95,
  394. 0xa8, 0xb1, 0xd7, 0xac,
  395. };
  396. static const unsigned char kat16_nor_nonce[] = {
  397. 0x02, 0x6c, 0x76, 0x8f, 0xd5, 0x77, 0xb9, 0x2a,
  398. };
  399. static const unsigned char kat16_nor_persstr[] = {0};
  400. static const unsigned char kat16_nor_addin0[] = {
  401. 0x57, 0x37, 0xef, 0x81, 0xde, 0xe3, 0x65, 0xb6, 0xda, 0xdb, 0x3f, 0xee,
  402. 0xbf, 0x5d, 0x10, 0x84,
  403. };
  404. static const unsigned char kat16_nor_addin1[] = {
  405. 0x33, 0x68, 0xa5, 0x16, 0xb3, 0x43, 0x1a, 0x3d, 0xaa, 0xa6, 0x0d, 0xc8,
  406. 0x74, 0x3c, 0x82, 0x97,
  407. };
  408. static const unsigned char kat16_nor_retbytes[] = {
  409. 0x4e, 0x90, 0x9e, 0xbb, 0x24, 0x14, 0x7a, 0x00, 0x04, 0x06, 0x3a, 0x5e,
  410. 0x47, 0xee, 0x04, 0x4f, 0xea, 0xd6, 0x10, 0xd6, 0x23, 0x24, 0xbd, 0x0f,
  411. 0x96, 0x3f, 0x75, 0x6f, 0xb9, 0x13, 0x61, 0xe8, 0xb8, 0x7e, 0x3a, 0x76,
  412. 0xa3, 0x98, 0x14, 0x3f, 0xe8, 0x81, 0x30, 0xfe, 0x1b, 0x54, 0x7b, 0x66,
  413. 0x1a, 0x64, 0x80, 0xc7, 0x11, 0xb7, 0x39, 0xf1, 0x8a, 0x9d, 0xf3, 0xae,
  414. 0x51, 0xd4, 0x1b, 0xc9,
  415. };
  416. static const struct drbg_kat_no_reseed kat16_nor_t = {
  417. 0, kat16_nor_entropyin, kat16_nor_nonce, kat16_nor_persstr,
  418. kat16_nor_addin0, kat16_nor_addin1, kat16_nor_retbytes
  419. };
  420. static const struct drbg_kat kat16_nor = {
  421. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat16_nor_t
  422. };
  423. static const unsigned char kat17_nor_entropyin[] = {
  424. 0x71, 0xbd, 0xce, 0x35, 0x42, 0x7d, 0x20, 0xbf, 0x58, 0xcf, 0x17, 0x74,
  425. 0xce, 0x72, 0xd8, 0x33,
  426. };
  427. static const unsigned char kat17_nor_nonce[] = {
  428. 0x34, 0x50, 0x2d, 0x8f, 0x5b, 0x14, 0xc4, 0xdd,
  429. };
  430. static const unsigned char kat17_nor_persstr[] = {0};
  431. static const unsigned char kat17_nor_addin0[] = {
  432. 0x66, 0xef, 0x42, 0xd6, 0x9a, 0x8c, 0x3d, 0x6d, 0x4a, 0x9e, 0x95, 0xa6,
  433. 0x91, 0x4d, 0x81, 0x56,
  434. };
  435. static const unsigned char kat17_nor_addin1[] = {
  436. 0xe3, 0x18, 0x83, 0xd9, 0x4b, 0x5e, 0xc4, 0xcc, 0xaa, 0x61, 0x2f, 0xbb,
  437. 0x4a, 0x55, 0xd1, 0xc6,
  438. };
  439. static const unsigned char kat17_nor_retbytes[] = {
  440. 0x97, 0x33, 0xe8, 0x20, 0x12, 0xe2, 0x7b, 0xa1, 0x46, 0x8f, 0xf2, 0x34,
  441. 0xb3, 0xc9, 0xb6, 0x6b, 0x20, 0xb2, 0x4f, 0xee, 0x27, 0xd8, 0x0b, 0x21,
  442. 0x8c, 0xff, 0x63, 0x73, 0x69, 0x29, 0xfb, 0xf3, 0x85, 0xcd, 0x88, 0x8e,
  443. 0x43, 0x2c, 0x71, 0x8b, 0xa2, 0x55, 0xd2, 0x0f, 0x1d, 0x7f, 0xe3, 0xe1,
  444. 0x2a, 0xa3, 0xe9, 0x2c, 0x25, 0x89, 0xc7, 0x14, 0x52, 0x99, 0x56, 0xcc,
  445. 0xc3, 0xdf, 0xb3, 0x81,
  446. };
  447. static const struct drbg_kat_no_reseed kat17_nor_t = {
  448. 1, kat17_nor_entropyin, kat17_nor_nonce, kat17_nor_persstr,
  449. kat17_nor_addin0, kat17_nor_addin1, kat17_nor_retbytes
  450. };
  451. static const struct drbg_kat kat17_nor = {
  452. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat17_nor_t
  453. };
  454. static const unsigned char kat18_nor_entropyin[] = {
  455. 0x9c, 0x0e, 0x4a, 0xea, 0xfc, 0x35, 0x7f, 0xf8, 0xe3, 0xf5, 0x40, 0xa4,
  456. 0x55, 0x67, 0x8d, 0x7e,
  457. };
  458. static const unsigned char kat18_nor_nonce[] = {
  459. 0xef, 0xd8, 0x3d, 0xc5, 0xc5, 0x31, 0xd1, 0x67,
  460. };
  461. static const unsigned char kat18_nor_persstr[] = {0};
  462. static const unsigned char kat18_nor_addin0[] = {
  463. 0x58, 0xa1, 0x18, 0x14, 0x08, 0x1c, 0x1c, 0x35, 0xaf, 0x89, 0x88, 0xf1,
  464. 0x31, 0x40, 0xf6, 0xcc,
  465. };
  466. static const unsigned char kat18_nor_addin1[] = {
  467. 0x19, 0x19, 0x22, 0x70, 0xd6, 0x1a, 0x43, 0x26, 0x4a, 0x30, 0xba, 0x9e,
  468. 0xbc, 0x72, 0x8a, 0x5b,
  469. };
  470. static const unsigned char kat18_nor_retbytes[] = {
  471. 0x1e, 0xff, 0x1c, 0xf6, 0xb5, 0x75, 0x31, 0x55, 0x90, 0x70, 0x38, 0x82,
  472. 0x35, 0x9b, 0x6a, 0xdb, 0x3c, 0x21, 0xeb, 0xcf, 0xda, 0x5d, 0x3b, 0x5d,
  473. 0x6e, 0x88, 0xac, 0xab, 0x6e, 0x87, 0x9e, 0x0a, 0x6f, 0x75, 0x37, 0x5c,
  474. 0x02, 0xd1, 0xd3, 0xfb, 0xae, 0x94, 0x3c, 0x34, 0x43, 0xe3, 0x9c, 0x29,
  475. 0x9b, 0x80, 0xe2, 0x41, 0xcd, 0x36, 0x5d, 0x4a, 0xf8, 0xcd, 0x1a, 0xd5,
  476. 0xd9, 0xd5, 0x4c, 0x58,
  477. };
  478. static const struct drbg_kat_no_reseed kat18_nor_t = {
  479. 2, kat18_nor_entropyin, kat18_nor_nonce, kat18_nor_persstr,
  480. kat18_nor_addin0, kat18_nor_addin1, kat18_nor_retbytes
  481. };
  482. static const struct drbg_kat kat18_nor = {
  483. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat18_nor_t
  484. };
  485. static const unsigned char kat19_nor_entropyin[] = {
  486. 0x95, 0x07, 0x01, 0x9b, 0x1f, 0xe8, 0x79, 0x84, 0xbe, 0xc1, 0xd0, 0x9c,
  487. 0xec, 0xcf, 0x36, 0x35,
  488. };
  489. static const unsigned char kat19_nor_nonce[] = {
  490. 0x47, 0x58, 0x62, 0x74, 0xfa, 0x75, 0x3e, 0x0d,
  491. };
  492. static const unsigned char kat19_nor_persstr[] = {0};
  493. static const unsigned char kat19_nor_addin0[] = {
  494. 0xf1, 0x7d, 0xe4, 0xce, 0xef, 0x9f, 0x2f, 0x23, 0x42, 0x20, 0xcb, 0x71,
  495. 0xd8, 0xce, 0xb7, 0x0d,
  496. };
  497. static const unsigned char kat19_nor_addin1[] = {
  498. 0x99, 0xd4, 0x8d, 0x9c, 0xe2, 0xfe, 0x76, 0xdc, 0xb8, 0xd0, 0x5f, 0xa4,
  499. 0xec, 0x07, 0x1a, 0xec,
  500. };
  501. static const unsigned char kat19_nor_retbytes[] = {
  502. 0x25, 0xa0, 0xd1, 0x67, 0x8e, 0x25, 0xb1, 0x94, 0x39, 0xd8, 0x33, 0x4c,
  503. 0xa9, 0x02, 0xdb, 0x63, 0x47, 0xa9, 0xa4, 0x2b, 0x86, 0xf3, 0x54, 0xb9,
  504. 0xe0, 0xb3, 0xc4, 0xf4, 0xe8, 0xba, 0x9d, 0x19, 0x2a, 0x5d, 0x76, 0x5a,
  505. 0xae, 0x5f, 0x4c, 0x5a, 0x74, 0xa0, 0x17, 0x7d, 0x3e, 0xb6, 0x13, 0x70,
  506. 0x62, 0xe6, 0xd9, 0x8b, 0x65, 0x18, 0x22, 0x26, 0x5b, 0xfe, 0xfc, 0x92,
  507. 0x9a, 0x39, 0x69, 0xdd,
  508. };
  509. static const struct drbg_kat_no_reseed kat19_nor_t = {
  510. 3, kat19_nor_entropyin, kat19_nor_nonce, kat19_nor_persstr,
  511. kat19_nor_addin0, kat19_nor_addin1, kat19_nor_retbytes
  512. };
  513. static const struct drbg_kat kat19_nor = {
  514. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat19_nor_t
  515. };
  516. static const unsigned char kat20_nor_entropyin[] = {
  517. 0x12, 0xe8, 0xb3, 0xda, 0x3a, 0x3b, 0x3e, 0x77, 0x3a, 0xfc, 0x23, 0x05,
  518. 0xbd, 0xa8, 0x6d, 0xb6,
  519. };
  520. static const unsigned char kat20_nor_nonce[] = {
  521. 0xc4, 0x9f, 0x26, 0x1a, 0x9a, 0xb9, 0xd9, 0xf8,
  522. };
  523. static const unsigned char kat20_nor_persstr[] = {0};
  524. static const unsigned char kat20_nor_addin0[] = {
  525. 0x86, 0xb6, 0x38, 0x52, 0x41, 0x96, 0x15, 0x9d, 0xea, 0x01, 0x76, 0xe5,
  526. 0x46, 0x2a, 0xe6, 0x5c,
  527. };
  528. static const unsigned char kat20_nor_addin1[] = {
  529. 0x5e, 0xad, 0xb7, 0x67, 0x72, 0xbe, 0x3c, 0xe8, 0x47, 0xaf, 0x6b, 0x77,
  530. 0x94, 0xe0, 0x02, 0xe3,
  531. };
  532. static const unsigned char kat20_nor_retbytes[] = {
  533. 0x1b, 0xbf, 0x85, 0xe0, 0x2c, 0x1f, 0xc0, 0x4b, 0xea, 0x5f, 0xc4, 0x7f,
  534. 0x23, 0x6a, 0x07, 0x1c, 0x13, 0xf8, 0xf5, 0x2e, 0xb1, 0x13, 0xcb, 0x83,
  535. 0xc4, 0x15, 0x2a, 0xc8, 0x32, 0x62, 0x7a, 0xbb, 0xa6, 0xec, 0xde, 0xc1,
  536. 0x7a, 0x9f, 0xf0, 0x30, 0x5b, 0x7a, 0x49, 0x81, 0x79, 0x83, 0xfa, 0x5b,
  537. 0x66, 0x51, 0x45, 0xe7, 0xba, 0x9a, 0x5d, 0xf5, 0x72, 0x26, 0xec, 0xcf,
  538. 0xc1, 0x64, 0xe3, 0xbb,
  539. };
  540. static const struct drbg_kat_no_reseed kat20_nor_t = {
  541. 4, kat20_nor_entropyin, kat20_nor_nonce, kat20_nor_persstr,
  542. kat20_nor_addin0, kat20_nor_addin1, kat20_nor_retbytes
  543. };
  544. static const struct drbg_kat kat20_nor = {
  545. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat20_nor_t
  546. };
  547. static const unsigned char kat21_nor_entropyin[] = {
  548. 0xb6, 0x08, 0xb1, 0x49, 0xcf, 0x44, 0xfe, 0x06, 0x06, 0x13, 0xb1, 0x66,
  549. 0x1d, 0xa0, 0xdf, 0x63,
  550. };
  551. static const unsigned char kat21_nor_nonce[] = {
  552. 0x95, 0x17, 0xc9, 0x93, 0xf1, 0x50, 0x34, 0x77,
  553. };
  554. static const unsigned char kat21_nor_persstr[] = {0};
  555. static const unsigned char kat21_nor_addin0[] = {
  556. 0x55, 0x9c, 0xb8, 0x12, 0xc3, 0x75, 0x8b, 0x2b, 0x31, 0x9d, 0xd9, 0xf5,
  557. 0x76, 0x8e, 0x8d, 0x3d,
  558. };
  559. static const unsigned char kat21_nor_addin1[] = {
  560. 0xc9, 0xaf, 0x98, 0x7e, 0xfc, 0xe4, 0x70, 0x0f, 0xa9, 0xc8, 0xeb, 0xb9,
  561. 0xfe, 0xcf, 0x00, 0xda,
  562. };
  563. static const unsigned char kat21_nor_retbytes[] = {
  564. 0x5b, 0x48, 0x13, 0x4d, 0xc7, 0xe6, 0x58, 0x9f, 0x1b, 0x40, 0x2c, 0xf5,
  565. 0xc4, 0xf6, 0xe3, 0xa3, 0xeb, 0xfd, 0xa8, 0x26, 0x72, 0x50, 0xe8, 0xe8,
  566. 0x11, 0xec, 0x05, 0x98, 0x6f, 0xf2, 0x1c, 0x78, 0xa1, 0x69, 0x30, 0xa8,
  567. 0xe0, 0x81, 0x03, 0x07, 0x76, 0x08, 0xc0, 0x6f, 0xa5, 0xe2, 0xa0, 0x48,
  568. 0xe8, 0x5d, 0xd6, 0xf3, 0x95, 0xce, 0xe2, 0x01, 0xd3, 0xcd, 0xe6, 0x35,
  569. 0xe1, 0x7e, 0x20, 0x3e,
  570. };
  571. static const struct drbg_kat_no_reseed kat21_nor_t = {
  572. 5, kat21_nor_entropyin, kat21_nor_nonce, kat21_nor_persstr,
  573. kat21_nor_addin0, kat21_nor_addin1, kat21_nor_retbytes
  574. };
  575. static const struct drbg_kat kat21_nor = {
  576. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat21_nor_t
  577. };
  578. static const unsigned char kat22_nor_entropyin[] = {
  579. 0xe9, 0x2f, 0xd0, 0x7a, 0x09, 0xf2, 0xbc, 0xcb, 0x43, 0x42, 0x4c, 0x57,
  580. 0x57, 0x73, 0xb0, 0xf0,
  581. };
  582. static const unsigned char kat22_nor_nonce[] = {
  583. 0xb4, 0xe3, 0xca, 0x71, 0xae, 0x15, 0xa0, 0x36,
  584. };
  585. static const unsigned char kat22_nor_persstr[] = {0};
  586. static const unsigned char kat22_nor_addin0[] = {
  587. 0xe1, 0xb4, 0xb0, 0x40, 0x13, 0xdc, 0x12, 0x18, 0x8c, 0x62, 0x3d, 0x10,
  588. 0x11, 0xd4, 0x08, 0xf1,
  589. };
  590. static const unsigned char kat22_nor_addin1[] = {
  591. 0x79, 0x56, 0xbf, 0x5b, 0x16, 0x58, 0x0b, 0x3e, 0x72, 0x0a, 0x81, 0x33,
  592. 0x3e, 0xae, 0x24, 0x83,
  593. };
  594. static const unsigned char kat22_nor_retbytes[] = {
  595. 0x21, 0xa4, 0x67, 0x22, 0x42, 0x46, 0x56, 0x37, 0x0c, 0x47, 0x5b, 0x69,
  596. 0xa1, 0xfb, 0xc7, 0x0c, 0x8c, 0xbf, 0x44, 0x2d, 0xc2, 0xbc, 0x28, 0xe0,
  597. 0xab, 0x34, 0xbb, 0x6f, 0xfe, 0xd0, 0x6d, 0x10, 0xf4, 0x90, 0xdf, 0x7e,
  598. 0x78, 0x7c, 0x12, 0xb6, 0x52, 0xd2, 0x19, 0xa5, 0x77, 0x30, 0x6f, 0x04,
  599. 0xa9, 0xc8, 0x78, 0xb6, 0xcf, 0xdf, 0xf4, 0x3e, 0x13, 0x55, 0xc4, 0xd1,
  600. 0x10, 0xfb, 0x0f, 0xb2,
  601. };
  602. static const struct drbg_kat_no_reseed kat22_nor_t = {
  603. 6, kat22_nor_entropyin, kat22_nor_nonce, kat22_nor_persstr,
  604. kat22_nor_addin0, kat22_nor_addin1, kat22_nor_retbytes
  605. };
  606. static const struct drbg_kat kat22_nor = {
  607. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat22_nor_t
  608. };
  609. static const unsigned char kat23_nor_entropyin[] = {
  610. 0xde, 0x0b, 0x4e, 0xa1, 0xa4, 0x40, 0xce, 0x68, 0x0e, 0xd0, 0x04, 0xcf,
  611. 0x64, 0xaf, 0xbe, 0x0f,
  612. };
  613. static const unsigned char kat23_nor_nonce[] = {
  614. 0xab, 0xb3, 0x1a, 0x3a, 0xb1, 0x5e, 0xd4, 0x49,
  615. };
  616. static const unsigned char kat23_nor_persstr[] = {0};
  617. static const unsigned char kat23_nor_addin0[] = {
  618. 0x45, 0xe7, 0x10, 0x10, 0x0c, 0xad, 0x00, 0xf3, 0xd2, 0x93, 0xdb, 0x75,
  619. 0x5e, 0xe1, 0x99, 0x0d,
  620. };
  621. static const unsigned char kat23_nor_addin1[] = {
  622. 0xb9, 0x11, 0xc9, 0xa4, 0x38, 0x9e, 0x71, 0x67, 0x98, 0x2a, 0x51, 0x24,
  623. 0x8e, 0xe2, 0x93, 0x7e,
  624. };
  625. static const unsigned char kat23_nor_retbytes[] = {
  626. 0x01, 0xc3, 0xaf, 0x83, 0x55, 0x7c, 0x63, 0x2d, 0xd8, 0x22, 0x83, 0x3f,
  627. 0x18, 0xe5, 0x48, 0xfb, 0x60, 0x36, 0xe9, 0xcc, 0xac, 0xc3, 0xb4, 0x33,
  628. 0xc5, 0xa7, 0x00, 0x79, 0x39, 0x93, 0x30, 0x89, 0x16, 0x22, 0x0e, 0x5a,
  629. 0x74, 0x16, 0x39, 0x86, 0x1c, 0x2f, 0x17, 0x71, 0x9b, 0x32, 0x51, 0x22,
  630. 0x06, 0xe3, 0x6e, 0x94, 0x7b, 0x28, 0x60, 0x07, 0x3b, 0x11, 0x3c, 0xcd,
  631. 0xa3, 0xfe, 0x31, 0x68,
  632. };
  633. static const struct drbg_kat_no_reseed kat23_nor_t = {
  634. 7, kat23_nor_entropyin, kat23_nor_nonce, kat23_nor_persstr,
  635. kat23_nor_addin0, kat23_nor_addin1, kat23_nor_retbytes
  636. };
  637. static const struct drbg_kat kat23_nor = {
  638. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat23_nor_t
  639. };
  640. static const unsigned char kat24_nor_entropyin[] = {
  641. 0x72, 0x27, 0xe1, 0x1c, 0xfc, 0x1a, 0x6b, 0x84, 0xb4, 0x0e, 0xca, 0x24,
  642. 0xe7, 0x7f, 0x8c, 0x64,
  643. };
  644. static const unsigned char kat24_nor_nonce[] = {
  645. 0xab, 0x7e, 0x9f, 0xc4, 0x5e, 0x58, 0x63, 0xfb,
  646. };
  647. static const unsigned char kat24_nor_persstr[] = {0};
  648. static const unsigned char kat24_nor_addin0[] = {
  649. 0xca, 0xeb, 0xb3, 0xcd, 0x32, 0xc9, 0xd3, 0xe1, 0xf5, 0xd3, 0x8f, 0x8b,
  650. 0xdd, 0x89, 0x58, 0x7d,
  651. };
  652. static const unsigned char kat24_nor_addin1[] = {
  653. 0x31, 0x38, 0x09, 0x26, 0xb8, 0x60, 0x80, 0x06, 0xb7, 0xc7, 0x93, 0x61,
  654. 0xf0, 0xf9, 0x1d, 0x5e,
  655. };
  656. static const unsigned char kat24_nor_retbytes[] = {
  657. 0x3a, 0xd7, 0xb9, 0x32, 0x59, 0xc6, 0xd0, 0xfd, 0xb5, 0x14, 0x27, 0x7a,
  658. 0xe9, 0x95, 0x01, 0x22, 0xfb, 0x97, 0x11, 0x33, 0x74, 0x2d, 0xe8, 0xe5,
  659. 0x17, 0xdd, 0x22, 0x69, 0xdd, 0x5a, 0x3c, 0x25, 0x7e, 0x3d, 0x10, 0x6b,
  660. 0x55, 0x56, 0x60, 0xcf, 0xdd, 0x6a, 0x92, 0xc2, 0xcd, 0xdf, 0x1e, 0x53,
  661. 0xc4, 0x94, 0x5e, 0xd7, 0x72, 0xee, 0x30, 0x38, 0x04, 0xd0, 0x56, 0xf2,
  662. 0x42, 0xbf, 0x53, 0x99,
  663. };
  664. static const struct drbg_kat_no_reseed kat24_nor_t = {
  665. 8, kat24_nor_entropyin, kat24_nor_nonce, kat24_nor_persstr,
  666. kat24_nor_addin0, kat24_nor_addin1, kat24_nor_retbytes
  667. };
  668. static const struct drbg_kat kat24_nor = {
  669. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat24_nor_t
  670. };
  671. static const unsigned char kat25_nor_entropyin[] = {
  672. 0x3b, 0x9e, 0xe2, 0x0c, 0x82, 0x42, 0xb3, 0xf3, 0x58, 0xdb, 0xe8, 0xea,
  673. 0x58, 0x9e, 0x6e, 0x7c,
  674. };
  675. static const unsigned char kat25_nor_nonce[] = {
  676. 0xb1, 0xdc, 0x3a, 0x47, 0x03, 0x68, 0x52, 0x15,
  677. };
  678. static const unsigned char kat25_nor_persstr[] = {0};
  679. static const unsigned char kat25_nor_addin0[] = {
  680. 0x47, 0x33, 0x34, 0x47, 0x86, 0x73, 0xe7, 0xb4, 0xa4, 0x3e, 0x9a, 0xe6,
  681. 0xa8, 0xac, 0x98, 0xbf,
  682. };
  683. static const unsigned char kat25_nor_addin1[] = {
  684. 0x06, 0x1f, 0xe4, 0x45, 0x5a, 0x17, 0x08, 0x74, 0x98, 0xfe, 0x20, 0x9c,
  685. 0x2c, 0xba, 0x7a, 0x91,
  686. };
  687. static const unsigned char kat25_nor_retbytes[] = {
  688. 0x8e, 0x50, 0x62, 0xb1, 0xfb, 0x29, 0x05, 0xc1, 0x57, 0xc5, 0x26, 0xfa,
  689. 0x5f, 0x67, 0xcc, 0x99, 0xc6, 0xd7, 0x08, 0x0a, 0x3d, 0x31, 0x42, 0xfa,
  690. 0x37, 0xc2, 0x09, 0xcf, 0x53, 0x4a, 0xf1, 0x6a, 0x9a, 0x2f, 0x28, 0x61,
  691. 0xb8, 0x94, 0xea, 0x84, 0xa3, 0x73, 0xd4, 0xa8, 0x04, 0xc3, 0xdc, 0xd5,
  692. 0x1f, 0xcc, 0x09, 0xdd, 0x0f, 0x5b, 0x39, 0x45, 0x69, 0x7a, 0xac, 0xd0,
  693. 0xb8, 0xf3, 0xea, 0xfd,
  694. };
  695. static const struct drbg_kat_no_reseed kat25_nor_t = {
  696. 9, kat25_nor_entropyin, kat25_nor_nonce, kat25_nor_persstr,
  697. kat25_nor_addin0, kat25_nor_addin1, kat25_nor_retbytes
  698. };
  699. static const struct drbg_kat kat25_nor = {
  700. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat25_nor_t
  701. };
  702. static const unsigned char kat26_nor_entropyin[] = {
  703. 0x8f, 0xf7, 0x57, 0xb2, 0x11, 0x69, 0xb3, 0xfd, 0x6e, 0x88, 0x00, 0xaa,
  704. 0xc0, 0xe3, 0xc4, 0x1f,
  705. };
  706. static const unsigned char kat26_nor_nonce[] = {
  707. 0x49, 0x4d, 0x42, 0x51, 0xe8, 0x88, 0x15, 0xb4,
  708. };
  709. static const unsigned char kat26_nor_persstr[] = {0};
  710. static const unsigned char kat26_nor_addin0[] = {
  711. 0xe0, 0x19, 0x9f, 0xb9, 0xf0, 0xf0, 0xa1, 0xa8, 0xdd, 0x9d, 0x19, 0xd1,
  712. 0x43, 0x68, 0xfa, 0x1e,
  713. };
  714. static const unsigned char kat26_nor_addin1[] = {
  715. 0x21, 0x91, 0xab, 0xe7, 0x24, 0x41, 0x28, 0x56, 0x36, 0xc1, 0x1b, 0xde,
  716. 0xe9, 0x83, 0xed, 0x8c,
  717. };
  718. static const unsigned char kat26_nor_retbytes[] = {
  719. 0x06, 0x75, 0xb2, 0x25, 0x4b, 0x71, 0x31, 0x8e, 0xb3, 0xa3, 0x60, 0x4d,
  720. 0x7b, 0x6d, 0x77, 0x80, 0x6c, 0xd7, 0xdf, 0x32, 0x5c, 0x7c, 0xe8, 0x9e,
  721. 0x16, 0xd3, 0xbd, 0x56, 0x16, 0xb0, 0xfa, 0xec, 0x33, 0x0c, 0xfe, 0x6b,
  722. 0x84, 0xb6, 0x87, 0x61, 0xad, 0xf7, 0x0c, 0xc1, 0x4e, 0x46, 0x25, 0x3e,
  723. 0x11, 0x55, 0x72, 0xc1, 0xa4, 0xac, 0xbb, 0xae, 0xee, 0x1a, 0xd6, 0x81,
  724. 0xb5, 0x38, 0xd6, 0xc9,
  725. };
  726. static const struct drbg_kat_no_reseed kat26_nor_t = {
  727. 10, kat26_nor_entropyin, kat26_nor_nonce, kat26_nor_persstr,
  728. kat26_nor_addin0, kat26_nor_addin1, kat26_nor_retbytes
  729. };
  730. static const struct drbg_kat kat26_nor = {
  731. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat26_nor_t
  732. };
  733. static const unsigned char kat27_nor_entropyin[] = {
  734. 0x46, 0x0c, 0x0a, 0x1e, 0x92, 0x9b, 0x75, 0x18, 0xdb, 0xcf, 0x44, 0xe4,
  735. 0xe7, 0xee, 0x4d, 0x83,
  736. };
  737. static const unsigned char kat27_nor_nonce[] = {
  738. 0x88, 0x65, 0xd5, 0x01, 0x53, 0x48, 0x25, 0x9e,
  739. };
  740. static const unsigned char kat27_nor_persstr[] = {0};
  741. static const unsigned char kat27_nor_addin0[] = {
  742. 0xf9, 0x32, 0x78, 0x91, 0x40, 0xa0, 0xa7, 0x6f, 0x07, 0xb2, 0x5b, 0x5f,
  743. 0x8e, 0x1d, 0x00, 0xdc,
  744. };
  745. static const unsigned char kat27_nor_addin1[] = {
  746. 0xe6, 0x44, 0x6a, 0xe2, 0xc6, 0x62, 0x66, 0x73, 0xe1, 0x8e, 0x37, 0x3d,
  747. 0xeb, 0x12, 0xbd, 0x26,
  748. };
  749. static const unsigned char kat27_nor_retbytes[] = {
  750. 0xc5, 0xde, 0x2e, 0x1a, 0x2a, 0xa7, 0x0a, 0x28, 0xac, 0xe6, 0x8e, 0x62,
  751. 0x0c, 0x94, 0xb8, 0x88, 0xa0, 0x7b, 0x07, 0x80, 0xb3, 0x14, 0x38, 0xc5,
  752. 0xe1, 0x1c, 0x5d, 0x76, 0xdf, 0xd6, 0x15, 0xf4, 0x1d, 0x4b, 0xa3, 0x24,
  753. 0xd2, 0x2c, 0x12, 0xfe, 0xe3, 0x8f, 0x58, 0x93, 0x5d, 0xad, 0x35, 0xe0,
  754. 0x0f, 0xe6, 0xa6, 0xe6, 0x11, 0x86, 0xc7, 0x88, 0x1c, 0x30, 0x6e, 0x96,
  755. 0x31, 0xcc, 0x15, 0xec,
  756. };
  757. static const struct drbg_kat_no_reseed kat27_nor_t = {
  758. 11, kat27_nor_entropyin, kat27_nor_nonce, kat27_nor_persstr,
  759. kat27_nor_addin0, kat27_nor_addin1, kat27_nor_retbytes
  760. };
  761. static const struct drbg_kat kat27_nor = {
  762. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat27_nor_t
  763. };
  764. static const unsigned char kat28_nor_entropyin[] = {
  765. 0xb2, 0xda, 0x44, 0xbc, 0x3b, 0xe2, 0xd1, 0x7a, 0x9a, 0xc2, 0x08, 0x80,
  766. 0x85, 0xe9, 0x26, 0xf8,
  767. };
  768. static const unsigned char kat28_nor_nonce[] = {
  769. 0x04, 0xbe, 0x54, 0x49, 0x35, 0x26, 0xc5, 0x78,
  770. };
  771. static const unsigned char kat28_nor_persstr[] = {0};
  772. static const unsigned char kat28_nor_addin0[] = {
  773. 0x67, 0xbe, 0x89, 0x19, 0x59, 0x65, 0xcd, 0x7d, 0xc9, 0x84, 0x27, 0x1b,
  774. 0x49, 0x7d, 0x61, 0x90,
  775. };
  776. static const unsigned char kat28_nor_addin1[] = {
  777. 0xc9, 0x95, 0x6b, 0x00, 0x4b, 0x0c, 0x26, 0xb3, 0xf6, 0x57, 0xc6, 0xc1,
  778. 0x55, 0xd3, 0x60, 0xcc,
  779. };
  780. static const unsigned char kat28_nor_retbytes[] = {
  781. 0xc7, 0x74, 0x56, 0x62, 0x19, 0x48, 0xf6, 0x08, 0x38, 0xe3, 0x77, 0x9a,
  782. 0x14, 0x60, 0x63, 0x22, 0x52, 0x96, 0xda, 0x38, 0x18, 0x0e, 0x2c, 0x4c,
  783. 0x58, 0x35, 0xea, 0x27, 0xb2, 0x84, 0x24, 0xa8, 0x83, 0x1c, 0xee, 0x8c,
  784. 0x8d, 0xf7, 0x39, 0xa2, 0xb1, 0x73, 0xb3, 0x7b, 0xe2, 0xc0, 0x2b, 0xff,
  785. 0x38, 0xe0, 0xb3, 0x67, 0xd4, 0x82, 0xfb, 0x76, 0x54, 0x5f, 0xb3, 0xc9,
  786. 0x8d, 0x82, 0xb6, 0xe7,
  787. };
  788. static const struct drbg_kat_no_reseed kat28_nor_t = {
  789. 12, kat28_nor_entropyin, kat28_nor_nonce, kat28_nor_persstr,
  790. kat28_nor_addin0, kat28_nor_addin1, kat28_nor_retbytes
  791. };
  792. static const struct drbg_kat kat28_nor = {
  793. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat28_nor_t
  794. };
  795. static const unsigned char kat29_nor_entropyin[] = {
  796. 0xf1, 0x77, 0xbc, 0x8a, 0xf7, 0x5c, 0x49, 0xe1, 0xd3, 0x79, 0xb5, 0x72,
  797. 0x26, 0x92, 0xbb, 0x3f,
  798. };
  799. static const unsigned char kat29_nor_nonce[] = {
  800. 0xd8, 0xb5, 0xfb, 0xdc, 0x5d, 0xa7, 0xea, 0x7b,
  801. };
  802. static const unsigned char kat29_nor_persstr[] = {0};
  803. static const unsigned char kat29_nor_addin0[] = {
  804. 0x37, 0x41, 0x94, 0x38, 0x35, 0x54, 0xa4, 0x21, 0x41, 0x0a, 0xf5, 0xde,
  805. 0x2f, 0xc2, 0xec, 0x82,
  806. };
  807. static const unsigned char kat29_nor_addin1[] = {
  808. 0x00, 0x0b, 0xe9, 0xac, 0x8e, 0x4b, 0x0c, 0xd1, 0x24, 0x5d, 0x7b, 0x7d,
  809. 0xbf, 0x8d, 0x87, 0x4f,
  810. };
  811. static const unsigned char kat29_nor_retbytes[] = {
  812. 0xb4, 0xa0, 0x0c, 0xd6, 0xe5, 0xf4, 0x7e, 0xa8, 0x7b, 0x12, 0x07, 0xc3,
  813. 0xa2, 0x18, 0xd8, 0x98, 0x8d, 0x4c, 0xb7, 0xed, 0x52, 0xb1, 0x4b, 0x79,
  814. 0xbb, 0xa5, 0x6a, 0xa7, 0xe5, 0x7e, 0x63, 0x64, 0x05, 0x70, 0x25, 0xab,
  815. 0x8f, 0x60, 0xd9, 0x7b, 0x84, 0x71, 0x7b, 0xbf, 0x25, 0x58, 0xdd, 0x43,
  816. 0x1f, 0x4b, 0xc3, 0x8c, 0xf1, 0xf6, 0x1e, 0xc0, 0xe7, 0xc2, 0xb4, 0xae,
  817. 0xb5, 0x4b, 0x2f, 0xaa,
  818. };
  819. static const struct drbg_kat_no_reseed kat29_nor_t = {
  820. 13, kat29_nor_entropyin, kat29_nor_nonce, kat29_nor_persstr,
  821. kat29_nor_addin0, kat29_nor_addin1, kat29_nor_retbytes
  822. };
  823. static const struct drbg_kat kat29_nor = {
  824. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat29_nor_t
  825. };
  826. static const unsigned char kat30_nor_entropyin[] = {
  827. 0x52, 0x6b, 0xc8, 0xb7, 0x97, 0xad, 0x67, 0xeb, 0x9b, 0x11, 0xbb, 0x5d,
  828. 0x17, 0x32, 0x00, 0x87,
  829. };
  830. static const unsigned char kat30_nor_nonce[] = {
  831. 0x64, 0x7b, 0xd2, 0x32, 0xad, 0x4d, 0x13, 0x00,
  832. };
  833. static const unsigned char kat30_nor_persstr[] = {0};
  834. static const unsigned char kat30_nor_addin0[] = {
  835. 0x58, 0xc8, 0xbf, 0x95, 0x0f, 0xab, 0x02, 0x71, 0x19, 0xee, 0x4a, 0x59,
  836. 0x27, 0x27, 0xaa, 0x02,
  837. };
  838. static const unsigned char kat30_nor_addin1[] = {
  839. 0x25, 0x39, 0xe1, 0x23, 0x92, 0x6b, 0x74, 0xab, 0x23, 0x41, 0x4d, 0x63,
  840. 0x50, 0xb8, 0x92, 0x87,
  841. };
  842. static const unsigned char kat30_nor_retbytes[] = {
  843. 0x35, 0x9c, 0x56, 0x08, 0x34, 0xbb, 0xeb, 0xdb, 0x41, 0x34, 0xcc, 0x3e,
  844. 0x66, 0xbc, 0x06, 0x95, 0xce, 0xfd, 0xb4, 0xfe, 0x56, 0x63, 0x75, 0x2b,
  845. 0x6e, 0xba, 0x97, 0x4c, 0x4b, 0x85, 0x92, 0x4a, 0x01, 0xdc, 0xd4, 0xea,
  846. 0x3e, 0xd7, 0x7f, 0x2a, 0xf3, 0x95, 0x7b, 0x87, 0x51, 0xf7, 0x37, 0x15,
  847. 0x74, 0xbb, 0x8b, 0x09, 0x0b, 0xc0, 0xd5, 0x12, 0xc1, 0x57, 0xc6, 0x55,
  848. 0x9c, 0x16, 0xd0, 0xfd,
  849. };
  850. static const struct drbg_kat_no_reseed kat30_nor_t = {
  851. 14, kat30_nor_entropyin, kat30_nor_nonce, kat30_nor_persstr,
  852. kat30_nor_addin0, kat30_nor_addin1, kat30_nor_retbytes
  853. };
  854. static const struct drbg_kat kat30_nor = {
  855. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat30_nor_t
  856. };
  857. static const unsigned char kat31_nor_entropyin[] = {
  858. 0xe1, 0x0b, 0xc2, 0x8a, 0x0b, 0xfd, 0xdf, 0xe9, 0x3e, 0x7f, 0x51, 0x86,
  859. 0xe0, 0xca, 0x0b, 0x3b,
  860. };
  861. static const unsigned char kat31_nor_nonce[] = {
  862. 0x9f, 0xf4, 0x77, 0xc1, 0x86, 0x73, 0x84, 0x0d,
  863. };
  864. static const unsigned char kat31_nor_persstr[] = {
  865. 0xc9, 0x80, 0xde, 0xdf, 0x98, 0x82, 0xed, 0x44, 0x64, 0xa6, 0x74, 0x96,
  866. 0x78, 0x68, 0xf1, 0x43,
  867. };
  868. static const unsigned char kat31_nor_addin0[] = {0};
  869. static const unsigned char kat31_nor_addin1[] = {0};
  870. static const unsigned char kat31_nor_retbytes[] = {
  871. 0x35, 0xb0, 0x0d, 0xf6, 0x26, 0x9b, 0x66, 0x41, 0xfd, 0x4c, 0xcb, 0x35,
  872. 0x4d, 0x56, 0xd8, 0x51, 0xde, 0x7a, 0x77, 0x52, 0x7e, 0x03, 0x4d, 0x60,
  873. 0xc9, 0xe1, 0xa9, 0xe1, 0x52, 0x5a, 0x30, 0xed, 0x36, 0x1f, 0xde, 0xd8,
  874. 0x9d, 0x3d, 0xcc, 0xb9, 0x78, 0xd4, 0xe7, 0xa9, 0xe1, 0x00, 0xeb, 0xf6,
  875. 0x30, 0x62, 0x73, 0x5b, 0x52, 0x83, 0x1c, 0x6f, 0x0a, 0x1d, 0x3e, 0x1b,
  876. 0xdc, 0x5e, 0xbc, 0x72,
  877. };
  878. static const struct drbg_kat_no_reseed kat31_nor_t = {
  879. 0, kat31_nor_entropyin, kat31_nor_nonce, kat31_nor_persstr,
  880. kat31_nor_addin0, kat31_nor_addin1, kat31_nor_retbytes
  881. };
  882. static const struct drbg_kat kat31_nor = {
  883. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat31_nor_t
  884. };
  885. static const unsigned char kat32_nor_entropyin[] = {
  886. 0xca, 0x4b, 0x1e, 0xfa, 0x75, 0xbd, 0x69, 0x36, 0x38, 0x73, 0xb8, 0xf9,
  887. 0xdb, 0x4d, 0x35, 0x0e,
  888. };
  889. static const unsigned char kat32_nor_nonce[] = {
  890. 0x47, 0xbf, 0x6c, 0x37, 0x72, 0xfd, 0xf7, 0xa9,
  891. };
  892. static const unsigned char kat32_nor_persstr[] = {
  893. 0xeb, 0xaa, 0x60, 0x2c, 0x4d, 0xbe, 0x33, 0xff, 0x1b, 0xef, 0xbf, 0x0a,
  894. 0x0b, 0xc6, 0x97, 0x54,
  895. };
  896. static const unsigned char kat32_nor_addin0[] = {0};
  897. static const unsigned char kat32_nor_addin1[] = {0};
  898. static const unsigned char kat32_nor_retbytes[] = {
  899. 0x59, 0xc3, 0x19, 0x79, 0x1b, 0xb1, 0xf3, 0x0e, 0xe9, 0x34, 0xae, 0x6e,
  900. 0x8b, 0x1f, 0xad, 0x1f, 0x74, 0xca, 0x25, 0x45, 0x68, 0xb8, 0x7f, 0x75,
  901. 0x12, 0xf8, 0xf2, 0xab, 0x4c, 0x23, 0x01, 0x03, 0x05, 0xe1, 0x70, 0xee,
  902. 0x75, 0xd8, 0xcb, 0xeb, 0x23, 0x4c, 0x7a, 0x23, 0x6e, 0x12, 0x27, 0xdb,
  903. 0x6f, 0x7a, 0xac, 0x3c, 0x44, 0xb7, 0x87, 0x4b, 0x65, 0x56, 0x74, 0x45,
  904. 0x34, 0x30, 0x0c, 0x3d,
  905. };
  906. static const struct drbg_kat_no_reseed kat32_nor_t = {
  907. 1, kat32_nor_entropyin, kat32_nor_nonce, kat32_nor_persstr,
  908. kat32_nor_addin0, kat32_nor_addin1, kat32_nor_retbytes
  909. };
  910. static const struct drbg_kat kat32_nor = {
  911. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat32_nor_t
  912. };
  913. static const unsigned char kat33_nor_entropyin[] = {
  914. 0x35, 0x19, 0x49, 0x15, 0x74, 0x71, 0x9d, 0xdb, 0x1f, 0x51, 0xb5, 0xf5,
  915. 0x9e, 0x21, 0xad, 0x3d,
  916. };
  917. static const unsigned char kat33_nor_nonce[] = {
  918. 0xef, 0x1d, 0xbe, 0xae, 0x79, 0xf0, 0x89, 0x8b,
  919. };
  920. static const unsigned char kat33_nor_persstr[] = {
  921. 0x7f, 0xdc, 0x21, 0xe3, 0x53, 0x24, 0x9e, 0x93, 0xdf, 0x98, 0xf2, 0x91,
  922. 0x02, 0xb9, 0xac, 0xec,
  923. };
  924. static const unsigned char kat33_nor_addin0[] = {0};
  925. static const unsigned char kat33_nor_addin1[] = {0};
  926. static const unsigned char kat33_nor_retbytes[] = {
  927. 0x19, 0x2c, 0x71, 0x85, 0x74, 0x47, 0xaf, 0x82, 0x01, 0x37, 0x06, 0xb8,
  928. 0xeb, 0x00, 0x8f, 0x8e, 0x2c, 0x2e, 0xb3, 0x99, 0x4a, 0x23, 0x8c, 0xf7,
  929. 0x39, 0xe1, 0x74, 0x60, 0xfe, 0x84, 0xef, 0x71, 0xca, 0x43, 0x7e, 0x8a,
  930. 0xcb, 0xb8, 0xd9, 0xd2, 0x88, 0x07, 0xc4, 0x7a, 0x5f, 0x03, 0x44, 0x42,
  931. 0xaa, 0xf3, 0xc2, 0xf3, 0xe7, 0xde, 0xbe, 0x53, 0x1b, 0xc3, 0x59, 0x60,
  932. 0x56, 0x68, 0x58, 0x48,
  933. };
  934. static const struct drbg_kat_no_reseed kat33_nor_t = {
  935. 2, kat33_nor_entropyin, kat33_nor_nonce, kat33_nor_persstr,
  936. kat33_nor_addin0, kat33_nor_addin1, kat33_nor_retbytes
  937. };
  938. static const struct drbg_kat kat33_nor = {
  939. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat33_nor_t
  940. };
  941. static const unsigned char kat34_nor_entropyin[] = {
  942. 0x68, 0xed, 0xc1, 0xc7, 0xf0, 0x4f, 0xa2, 0x2f, 0x75, 0x1b, 0x91, 0x8b,
  943. 0x01, 0x6b, 0xbf, 0xb5,
  944. };
  945. static const unsigned char kat34_nor_nonce[] = {
  946. 0xa9, 0xb6, 0x7a, 0x39, 0x58, 0xf2, 0x02, 0xf0,
  947. };
  948. static const unsigned char kat34_nor_persstr[] = {
  949. 0x9d, 0x6f, 0xbb, 0x02, 0x0e, 0x3d, 0x99, 0xd1, 0x95, 0xff, 0x46, 0x9f,
  950. 0x0a, 0xc0, 0xb8, 0xca,
  951. };
  952. static const unsigned char kat34_nor_addin0[] = {0};
  953. static const unsigned char kat34_nor_addin1[] = {0};
  954. static const unsigned char kat34_nor_retbytes[] = {
  955. 0xd9, 0x02, 0x89, 0xb1, 0xb6, 0x76, 0x3a, 0x76, 0x90, 0xfc, 0xb5, 0xd6,
  956. 0x7c, 0x81, 0xc2, 0x03, 0xa1, 0xcf, 0xb0, 0x88, 0x71, 0xb9, 0x4a, 0xf6,
  957. 0x51, 0xc4, 0xcd, 0x7e, 0xc2, 0xfa, 0x4b, 0x9d, 0x47, 0xc8, 0xe5, 0xfc,
  958. 0xc9, 0x9a, 0xff, 0xc2, 0x21, 0x43, 0xb6, 0x12, 0x70, 0x18, 0xe9, 0xe2,
  959. 0xc0, 0x91, 0x4f, 0x9d, 0x47, 0xa5, 0xa3, 0x0b, 0x26, 0xe7, 0x4d, 0xdc,
  960. 0x31, 0xa4, 0x48, 0x42,
  961. };
  962. static const struct drbg_kat_no_reseed kat34_nor_t = {
  963. 3, kat34_nor_entropyin, kat34_nor_nonce, kat34_nor_persstr,
  964. kat34_nor_addin0, kat34_nor_addin1, kat34_nor_retbytes
  965. };
  966. static const struct drbg_kat kat34_nor = {
  967. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat34_nor_t
  968. };
  969. static const unsigned char kat35_nor_entropyin[] = {
  970. 0x8e, 0x6b, 0xaf, 0x81, 0xa3, 0xf9, 0xe7, 0x32, 0xef, 0xb9, 0x65, 0xaf,
  971. 0xa5, 0x9e, 0x71, 0xee,
  972. };
  973. static const unsigned char kat35_nor_nonce[] = {
  974. 0x9a, 0x40, 0x36, 0xfe, 0x7f, 0xf2, 0x25, 0xb8,
  975. };
  976. static const unsigned char kat35_nor_persstr[] = {
  977. 0xc5, 0x7e, 0x42, 0xad, 0x7a, 0xef, 0x53, 0x77, 0xfc, 0x4c, 0xd6, 0x20,
  978. 0xd6, 0x31, 0xb0, 0x61,
  979. };
  980. static const unsigned char kat35_nor_addin0[] = {0};
  981. static const unsigned char kat35_nor_addin1[] = {0};
  982. static const unsigned char kat35_nor_retbytes[] = {
  983. 0x71, 0x39, 0xa2, 0xd6, 0x74, 0xee, 0xfe, 0x54, 0x08, 0x7a, 0x2d, 0xd5,
  984. 0xf4, 0x97, 0xf5, 0xa1, 0xcb, 0x44, 0x44, 0x72, 0xe3, 0x64, 0x04, 0x5c,
  985. 0xb9, 0x20, 0x2b, 0xce, 0x24, 0x58, 0x1b, 0x4b, 0x1b, 0x80, 0x3f, 0xa5,
  986. 0xf4, 0xa9, 0xac, 0x6d, 0x66, 0x37, 0xbd, 0xd9, 0x06, 0xaf, 0x3d, 0x8f,
  987. 0x49, 0xb5, 0xb8, 0x0f, 0x44, 0xcd, 0x16, 0xee, 0x5b, 0x1a, 0xe3, 0xbf,
  988. 0x51, 0xb5, 0x98, 0xba,
  989. };
  990. static const struct drbg_kat_no_reseed kat35_nor_t = {
  991. 4, kat35_nor_entropyin, kat35_nor_nonce, kat35_nor_persstr,
  992. kat35_nor_addin0, kat35_nor_addin1, kat35_nor_retbytes
  993. };
  994. static const struct drbg_kat kat35_nor = {
  995. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat35_nor_t
  996. };
  997. static const unsigned char kat36_nor_entropyin[] = {
  998. 0xf8, 0x99, 0x2f, 0x34, 0x0f, 0x90, 0xc8, 0xd8, 0x16, 0xb4, 0xbd, 0x8b,
  999. 0x43, 0x5d, 0xa0, 0x35,
  1000. };
  1001. static const unsigned char kat36_nor_nonce[] = {
  1002. 0xfc, 0xf9, 0x44, 0x00, 0x6f, 0x29, 0x27, 0x98,
  1003. };
  1004. static const unsigned char kat36_nor_persstr[] = {
  1005. 0x56, 0x32, 0x23, 0x5e, 0x85, 0x2c, 0x07, 0x40, 0x09, 0xb4, 0x97, 0xed,
  1006. 0xa4, 0x38, 0xa1, 0x6f,
  1007. };
  1008. static const unsigned char kat36_nor_addin0[] = {0};
  1009. static const unsigned char kat36_nor_addin1[] = {0};
  1010. static const unsigned char kat36_nor_retbytes[] = {
  1011. 0x9e, 0xab, 0x55, 0xfa, 0x4b, 0x2c, 0x1c, 0xfa, 0xc6, 0x3d, 0x4d, 0xe4,
  1012. 0x7a, 0xa8, 0xf5, 0x9f, 0x78, 0x5e, 0xe4, 0x90, 0xda, 0x44, 0xce, 0xe3,
  1013. 0x0f, 0x91, 0x61, 0xe9, 0x3a, 0xfc, 0x46, 0x1d, 0xad, 0x0e, 0x7f, 0x4a,
  1014. 0x06, 0x4e, 0x92, 0xef, 0xd6, 0x00, 0x89, 0x16, 0xc2, 0x2f, 0x83, 0x64,
  1015. 0xc1, 0x90, 0x46, 0x7a, 0xde, 0x12, 0xab, 0x4e, 0x18, 0xb1, 0xf3, 0x9c,
  1016. 0xe1, 0x8b, 0x35, 0x8a,
  1017. };
  1018. static const struct drbg_kat_no_reseed kat36_nor_t = {
  1019. 5, kat36_nor_entropyin, kat36_nor_nonce, kat36_nor_persstr,
  1020. kat36_nor_addin0, kat36_nor_addin1, kat36_nor_retbytes
  1021. };
  1022. static const struct drbg_kat kat36_nor = {
  1023. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat36_nor_t
  1024. };
  1025. static const unsigned char kat37_nor_entropyin[] = {
  1026. 0x07, 0x43, 0x8f, 0x83, 0x53, 0xb7, 0xb0, 0x67, 0x42, 0x18, 0x31, 0x9e,
  1027. 0x29, 0x54, 0x0b, 0xca,
  1028. };
  1029. static const unsigned char kat37_nor_nonce[] = {
  1030. 0x41, 0x14, 0x77, 0x63, 0x6a, 0x50, 0x0c, 0x62,
  1031. };
  1032. static const unsigned char kat37_nor_persstr[] = {
  1033. 0xcf, 0x36, 0xf2, 0xaa, 0x72, 0xf2, 0xf3, 0x5e, 0x33, 0x5e, 0x65, 0xcf,
  1034. 0xd1, 0x7e, 0x2d, 0x3d,
  1035. };
  1036. static const unsigned char kat37_nor_addin0[] = {0};
  1037. static const unsigned char kat37_nor_addin1[] = {0};
  1038. static const unsigned char kat37_nor_retbytes[] = {
  1039. 0x6c, 0xfa, 0xcf, 0xe4, 0x7a, 0xcf, 0x8f, 0x61, 0xd8, 0xaf, 0x3e, 0xd4,
  1040. 0xfb, 0xac, 0xef, 0x5c, 0xd7, 0x41, 0xac, 0x2f, 0x16, 0x5e, 0x15, 0xbd,
  1041. 0xaa, 0xb1, 0xd0, 0x30, 0xc6, 0x85, 0x67, 0x83, 0x7e, 0xf3, 0xda, 0x1e,
  1042. 0xc8, 0x3d, 0xa0, 0x42, 0x3c, 0xa3, 0x42, 0x4c, 0xf2, 0x93, 0xf6, 0x1f,
  1043. 0x71, 0x75, 0xfb, 0xa8, 0xe9, 0x1e, 0x5f, 0xdc, 0x8b, 0x39, 0x55, 0x77,
  1044. 0x73, 0x61, 0xd6, 0x90,
  1045. };
  1046. static const struct drbg_kat_no_reseed kat37_nor_t = {
  1047. 6, kat37_nor_entropyin, kat37_nor_nonce, kat37_nor_persstr,
  1048. kat37_nor_addin0, kat37_nor_addin1, kat37_nor_retbytes
  1049. };
  1050. static const struct drbg_kat kat37_nor = {
  1051. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat37_nor_t
  1052. };
  1053. static const unsigned char kat38_nor_entropyin[] = {
  1054. 0x8e, 0x93, 0x73, 0x5c, 0x34, 0xae, 0x0c, 0x5e, 0xa5, 0x21, 0x3d, 0x83,
  1055. 0xa8, 0xda, 0x80, 0x45,
  1056. };
  1057. static const unsigned char kat38_nor_nonce[] = {
  1058. 0x2a, 0x0b, 0x27, 0x9a, 0x9d, 0x67, 0x78, 0x38,
  1059. };
  1060. static const unsigned char kat38_nor_persstr[] = {
  1061. 0x14, 0xf4, 0x52, 0x66, 0x52, 0x4a, 0x81, 0x52, 0x85, 0x7a, 0x83, 0x31,
  1062. 0x6a, 0x17, 0x75, 0x85,
  1063. };
  1064. static const unsigned char kat38_nor_addin0[] = {0};
  1065. static const unsigned char kat38_nor_addin1[] = {0};
  1066. static const unsigned char kat38_nor_retbytes[] = {
  1067. 0xe0, 0x0c, 0xb8, 0x63, 0x6f, 0x96, 0x02, 0xc3, 0x30, 0x21, 0xa8, 0x2a,
  1068. 0x7f, 0x9d, 0xc9, 0xc7, 0x4e, 0xd3, 0x43, 0x5b, 0x34, 0x89, 0x7d, 0x6e,
  1069. 0xfd, 0x8c, 0x05, 0xf1, 0x77, 0xe8, 0x55, 0x6a, 0x44, 0x3b, 0xd1, 0x8c,
  1070. 0x20, 0xa5, 0x57, 0xb9, 0xbd, 0xc4, 0x17, 0xe8, 0x99, 0x85, 0x06, 0x48,
  1071. 0x50, 0x91, 0xd6, 0xbc, 0x91, 0x8e, 0x9c, 0xbf, 0xfb, 0xb8, 0x5c, 0x62,
  1072. 0x0f, 0x74, 0xc6, 0xec,
  1073. };
  1074. static const struct drbg_kat_no_reseed kat38_nor_t = {
  1075. 7, kat38_nor_entropyin, kat38_nor_nonce, kat38_nor_persstr,
  1076. kat38_nor_addin0, kat38_nor_addin1, kat38_nor_retbytes
  1077. };
  1078. static const struct drbg_kat kat38_nor = {
  1079. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat38_nor_t
  1080. };
  1081. static const unsigned char kat39_nor_entropyin[] = {
  1082. 0xec, 0x6b, 0x87, 0xe9, 0xe0, 0x3f, 0x44, 0xf9, 0x19, 0xe4, 0x0e, 0x1d,
  1083. 0xac, 0x02, 0xf8, 0x73,
  1084. };
  1085. static const unsigned char kat39_nor_nonce[] = {
  1086. 0x5e, 0x9a, 0xc5, 0x09, 0x0a, 0x5e, 0x28, 0x97,
  1087. };
  1088. static const unsigned char kat39_nor_persstr[] = {
  1089. 0x0d, 0x9b, 0xa4, 0x62, 0xbf, 0x16, 0x6f, 0x3b, 0x36, 0x6a, 0x2a, 0xdf,
  1090. 0x55, 0xd2, 0x76, 0x45,
  1091. };
  1092. static const unsigned char kat39_nor_addin0[] = {0};
  1093. static const unsigned char kat39_nor_addin1[] = {0};
  1094. static const unsigned char kat39_nor_retbytes[] = {
  1095. 0xec, 0x37, 0xac, 0xbd, 0xdf, 0xb0, 0x41, 0xe4, 0x24, 0x9c, 0x1c, 0xb9,
  1096. 0x83, 0x3a, 0x31, 0xfc, 0x6f, 0xbd, 0xaa, 0x66, 0x58, 0xe4, 0xb7, 0x48,
  1097. 0xc0, 0xeb, 0xf6, 0xab, 0x54, 0xa3, 0xb9, 0xc0, 0xf6, 0x2d, 0x7c, 0x89,
  1098. 0xdb, 0xb2, 0x1d, 0x1d, 0xe1, 0x33, 0x15, 0xcb, 0xae, 0x2f, 0xf4, 0xf5,
  1099. 0x46, 0x24, 0x91, 0x32, 0x1f, 0xbe, 0x04, 0xb4, 0x14, 0xfb, 0xa2, 0x80,
  1100. 0x7e, 0xd9, 0x14, 0xee,
  1101. };
  1102. static const struct drbg_kat_no_reseed kat39_nor_t = {
  1103. 8, kat39_nor_entropyin, kat39_nor_nonce, kat39_nor_persstr,
  1104. kat39_nor_addin0, kat39_nor_addin1, kat39_nor_retbytes
  1105. };
  1106. static const struct drbg_kat kat39_nor = {
  1107. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat39_nor_t
  1108. };
  1109. static const unsigned char kat40_nor_entropyin[] = {
  1110. 0x9d, 0x28, 0x2f, 0x5a, 0x0c, 0x15, 0xa6, 0x53, 0x04, 0x73, 0x10, 0xb5,
  1111. 0x62, 0x7d, 0x8f, 0xa2,
  1112. };
  1113. static const unsigned char kat40_nor_nonce[] = {
  1114. 0x55, 0x22, 0xc4, 0x2f, 0x4b, 0xb0, 0x76, 0xdc,
  1115. };
  1116. static const unsigned char kat40_nor_persstr[] = {
  1117. 0x84, 0x6b, 0x2e, 0x17, 0xb0, 0x62, 0xc4, 0xc7, 0xc5, 0x61, 0x94, 0x3b,
  1118. 0x5d, 0x97, 0x56, 0x5d,
  1119. };
  1120. static const unsigned char kat40_nor_addin0[] = {0};
  1121. static const unsigned char kat40_nor_addin1[] = {0};
  1122. static const unsigned char kat40_nor_retbytes[] = {
  1123. 0x45, 0xf6, 0x0e, 0x1b, 0xa9, 0x81, 0xaf, 0x7f, 0x52, 0xef, 0x49, 0x39,
  1124. 0xc0, 0xbb, 0x0b, 0xdb, 0x6f, 0xe4, 0x6f, 0x37, 0x2c, 0xc6, 0x48, 0x06,
  1125. 0x4b, 0xbd, 0x3a, 0x0a, 0x2b, 0x85, 0xc0, 0x23, 0x91, 0xb2, 0x97, 0x92,
  1126. 0xcc, 0x88, 0x05, 0xbb, 0x5d, 0x45, 0x3e, 0xe2, 0x90, 0xcd, 0x1b, 0x9c,
  1127. 0x9f, 0x8f, 0x20, 0xb0, 0x91, 0x16, 0xaf, 0x1f, 0xd5, 0xec, 0xea, 0xe8,
  1128. 0x0d, 0x03, 0x58, 0xd8,
  1129. };
  1130. static const struct drbg_kat_no_reseed kat40_nor_t = {
  1131. 9, kat40_nor_entropyin, kat40_nor_nonce, kat40_nor_persstr,
  1132. kat40_nor_addin0, kat40_nor_addin1, kat40_nor_retbytes
  1133. };
  1134. static const struct drbg_kat kat40_nor = {
  1135. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat40_nor_t
  1136. };
  1137. static const unsigned char kat41_nor_entropyin[] = {
  1138. 0x83, 0x82, 0x7c, 0x08, 0x52, 0x4b, 0x54, 0xe8, 0x0f, 0x60, 0xe1, 0x86,
  1139. 0xcf, 0xce, 0x36, 0xdb,
  1140. };
  1141. static const unsigned char kat41_nor_nonce[] = {
  1142. 0x17, 0x7e, 0x5c, 0x00, 0xf7, 0x85, 0xa6, 0xf9,
  1143. };
  1144. static const unsigned char kat41_nor_persstr[] = {
  1145. 0x71, 0x75, 0xa2, 0xc2, 0x2e, 0xab, 0x4d, 0x0b, 0x1a, 0x65, 0xfd, 0xad,
  1146. 0xed, 0x35, 0x6a, 0xeb,
  1147. };
  1148. static const unsigned char kat41_nor_addin0[] = {0};
  1149. static const unsigned char kat41_nor_addin1[] = {0};
  1150. static const unsigned char kat41_nor_retbytes[] = {
  1151. 0x84, 0x24, 0xe7, 0x6c, 0x73, 0x6c, 0x03, 0x09, 0x42, 0x3c, 0xf4, 0x8d,
  1152. 0xc1, 0x05, 0xfe, 0xef, 0x22, 0x8d, 0xd4, 0x7b, 0xfd, 0x8d, 0x33, 0x80,
  1153. 0x19, 0x50, 0xd2, 0x10, 0x2d, 0x5d, 0xba, 0xfb, 0x51, 0xe1, 0xa8, 0x5b,
  1154. 0x4a, 0x97, 0x1e, 0x4f, 0x0b, 0x9d, 0x52, 0x65, 0x69, 0x73, 0xdb, 0x45,
  1155. 0x5b, 0x28, 0x6f, 0x58, 0x8c, 0xa6, 0x1d, 0x15, 0x99, 0xc4, 0xec, 0x60,
  1156. 0xdd, 0x80, 0xbe, 0x98,
  1157. };
  1158. static const struct drbg_kat_no_reseed kat41_nor_t = {
  1159. 10, kat41_nor_entropyin, kat41_nor_nonce, kat41_nor_persstr,
  1160. kat41_nor_addin0, kat41_nor_addin1, kat41_nor_retbytes
  1161. };
  1162. static const struct drbg_kat kat41_nor = {
  1163. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat41_nor_t
  1164. };
  1165. static const unsigned char kat42_nor_entropyin[] = {
  1166. 0x9f, 0x32, 0x13, 0xa2, 0xd6, 0xfe, 0x5f, 0x3d, 0xfa, 0xf0, 0xe4, 0xed,
  1167. 0x29, 0x2e, 0x0f, 0x2a,
  1168. };
  1169. static const unsigned char kat42_nor_nonce[] = {
  1170. 0xf9, 0xc0, 0x55, 0x3b, 0x18, 0xb2, 0x1c, 0xc3,
  1171. };
  1172. static const unsigned char kat42_nor_persstr[] = {
  1173. 0x21, 0x73, 0xd3, 0x9b, 0x37, 0x55, 0x04, 0x19, 0x11, 0x98, 0x9f, 0x89,
  1174. 0xf1, 0xe9, 0x5d, 0x3e,
  1175. };
  1176. static const unsigned char kat42_nor_addin0[] = {0};
  1177. static const unsigned char kat42_nor_addin1[] = {0};
  1178. static const unsigned char kat42_nor_retbytes[] = {
  1179. 0x10, 0x45, 0xf7, 0xb5, 0x36, 0xda, 0xb4, 0xde, 0x01, 0x54, 0x48, 0xac,
  1180. 0x47, 0x66, 0x18, 0x8a, 0x36, 0x7b, 0xb6, 0x93, 0x97, 0x91, 0x3d, 0xfd,
  1181. 0x3d, 0x5b, 0xbf, 0x83, 0xf1, 0xbb, 0xac, 0x73, 0x23, 0x2d, 0x47, 0x64,
  1182. 0x4e, 0x5a, 0x9c, 0x16, 0x99, 0x60, 0x58, 0x1e, 0x4a, 0xd5, 0xed, 0x26,
  1183. 0x95, 0x36, 0x0b, 0x94, 0xf4, 0x20, 0x9c, 0x77, 0xd7, 0x69, 0x40, 0x16,
  1184. 0xb4, 0xb3, 0x97, 0xc2,
  1185. };
  1186. static const struct drbg_kat_no_reseed kat42_nor_t = {
  1187. 11, kat42_nor_entropyin, kat42_nor_nonce, kat42_nor_persstr,
  1188. kat42_nor_addin0, kat42_nor_addin1, kat42_nor_retbytes
  1189. };
  1190. static const struct drbg_kat kat42_nor = {
  1191. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat42_nor_t
  1192. };
  1193. static const unsigned char kat43_nor_entropyin[] = {
  1194. 0xfb, 0xc8, 0x19, 0x90, 0x74, 0xa7, 0x6f, 0x23, 0x68, 0x86, 0x36, 0xae,
  1195. 0x31, 0x14, 0x28, 0x1e,
  1196. };
  1197. static const unsigned char kat43_nor_nonce[] = {
  1198. 0xeb, 0xc2, 0x2e, 0x95, 0xdd, 0xae, 0xb6, 0xfc,
  1199. };
  1200. static const unsigned char kat43_nor_persstr[] = {
  1201. 0x71, 0xfb, 0xd5, 0x9f, 0x88, 0xfc, 0x99, 0xa9, 0xb6, 0x07, 0x00, 0x27,
  1202. 0xe7, 0x35, 0x41, 0xc2,
  1203. };
  1204. static const unsigned char kat43_nor_addin0[] = {0};
  1205. static const unsigned char kat43_nor_addin1[] = {0};
  1206. static const unsigned char kat43_nor_retbytes[] = {
  1207. 0x87, 0x25, 0x66, 0xa7, 0x00, 0x47, 0x98, 0xe0, 0x06, 0x97, 0xbd, 0xb3,
  1208. 0x3a, 0xf1, 0xee, 0x7a, 0x07, 0x6e, 0x9f, 0xd2, 0x89, 0xaf, 0x83, 0xaf,
  1209. 0xcb, 0x10, 0xa0, 0x25, 0x2b, 0xb5, 0xc1, 0x06, 0xc8, 0xdd, 0x20, 0xd7,
  1210. 0x7c, 0x85, 0x9f, 0x14, 0x01, 0x11, 0x8c, 0x24, 0xf5, 0xa8, 0x96, 0x8f,
  1211. 0x11, 0xfa, 0x9f, 0x77, 0x78, 0xc2, 0x80, 0x31, 0x89, 0xc8, 0xda, 0x87,
  1212. 0xe6, 0x49, 0x45, 0xc8,
  1213. };
  1214. static const struct drbg_kat_no_reseed kat43_nor_t = {
  1215. 12, kat43_nor_entropyin, kat43_nor_nonce, kat43_nor_persstr,
  1216. kat43_nor_addin0, kat43_nor_addin1, kat43_nor_retbytes
  1217. };
  1218. static const struct drbg_kat kat43_nor = {
  1219. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat43_nor_t
  1220. };
  1221. static const unsigned char kat44_nor_entropyin[] = {
  1222. 0x43, 0xf4, 0xd0, 0x89, 0x06, 0x0c, 0x90, 0x7f, 0x38, 0x76, 0x05, 0x1f,
  1223. 0xd5, 0xe3, 0x6f, 0x74,
  1224. };
  1225. static const unsigned char kat44_nor_nonce[] = {
  1226. 0x45, 0x71, 0xe6, 0x61, 0x5b, 0xa3, 0xbb, 0xce,
  1227. };
  1228. static const unsigned char kat44_nor_persstr[] = {
  1229. 0xfc, 0x90, 0x57, 0x74, 0x9b, 0xa4, 0x37, 0xd8, 0xfb, 0xe9, 0xf8, 0x1d,
  1230. 0x29, 0xdf, 0x5e, 0xf1,
  1231. };
  1232. static const unsigned char kat44_nor_addin0[] = {0};
  1233. static const unsigned char kat44_nor_addin1[] = {0};
  1234. static const unsigned char kat44_nor_retbytes[] = {
  1235. 0x90, 0x78, 0xf1, 0xbc, 0x92, 0x91, 0x0e, 0xbc, 0xf8, 0xe3, 0x17, 0x57,
  1236. 0xb6, 0x24, 0xbd, 0x23, 0xdb, 0xcd, 0x74, 0xf9, 0xca, 0x70, 0xff, 0x1c,
  1237. 0x6f, 0x2b, 0x21, 0xd8, 0x59, 0xa4, 0xe8, 0xa4, 0xe9, 0x96, 0x3e, 0xf1,
  1238. 0x32, 0xa0, 0x25, 0xb3, 0xae, 0x28, 0x5b, 0x43, 0xa6, 0x96, 0x98, 0x90,
  1239. 0x0d, 0x4f, 0x8a, 0x30, 0xbb, 0x5e, 0x99, 0x29, 0x0e, 0x45, 0x04, 0x16,
  1240. 0x19, 0x97, 0xa8, 0x37,
  1241. };
  1242. static const struct drbg_kat_no_reseed kat44_nor_t = {
  1243. 13, kat44_nor_entropyin, kat44_nor_nonce, kat44_nor_persstr,
  1244. kat44_nor_addin0, kat44_nor_addin1, kat44_nor_retbytes
  1245. };
  1246. static const struct drbg_kat kat44_nor = {
  1247. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat44_nor_t
  1248. };
  1249. static const unsigned char kat45_nor_entropyin[] = {
  1250. 0x0e, 0xe3, 0x8e, 0xa2, 0x9d, 0x71, 0x95, 0x00, 0x3e, 0x2b, 0x94, 0x2a,
  1251. 0xbf, 0x13, 0x48, 0xfc,
  1252. };
  1253. static const unsigned char kat45_nor_nonce[] = {
  1254. 0x80, 0xa7, 0x5c, 0x77, 0xce, 0xff, 0x54, 0xe4,
  1255. };
  1256. static const unsigned char kat45_nor_persstr[] = {
  1257. 0x83, 0x8e, 0xae, 0xbc, 0x98, 0x2c, 0xaa, 0x15, 0x62, 0xc3, 0x06, 0x4c,
  1258. 0xce, 0x42, 0xe5, 0x1e,
  1259. };
  1260. static const unsigned char kat45_nor_addin0[] = {0};
  1261. static const unsigned char kat45_nor_addin1[] = {0};
  1262. static const unsigned char kat45_nor_retbytes[] = {
  1263. 0x66, 0x29, 0x1b, 0x86, 0x85, 0xe9, 0x7c, 0x76, 0xe2, 0x21, 0x6d, 0x70,
  1264. 0x8b, 0x40, 0x70, 0x22, 0x68, 0x4b, 0x28, 0x29, 0x1f, 0x3d, 0xc7, 0x1b,
  1265. 0x5d, 0x60, 0xde, 0x14, 0x3f, 0x5f, 0xdf, 0x0b, 0xb0, 0x7a, 0xe9, 0xd7,
  1266. 0x52, 0x44, 0x56, 0xc4, 0xdf, 0xd0, 0x89, 0xea, 0x88, 0xde, 0x86, 0xdd,
  1267. 0xfa, 0x1d, 0x48, 0xca, 0x54, 0x2f, 0x00, 0xfa, 0x58, 0x6d, 0xa7, 0xa6,
  1268. 0x02, 0x7d, 0x83, 0x7b,
  1269. };
  1270. static const struct drbg_kat_no_reseed kat45_nor_t = {
  1271. 14, kat45_nor_entropyin, kat45_nor_nonce, kat45_nor_persstr,
  1272. kat45_nor_addin0, kat45_nor_addin1, kat45_nor_retbytes
  1273. };
  1274. static const struct drbg_kat kat45_nor = {
  1275. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat45_nor_t
  1276. };
  1277. static const unsigned char kat46_nor_entropyin[] = {
  1278. 0xca, 0xe4, 0x8d, 0xd8, 0x0d, 0x29, 0x81, 0x03, 0xef, 0x1e, 0xc0, 0xbf,
  1279. 0x1b, 0xb9, 0x62, 0x70,
  1280. };
  1281. static const unsigned char kat46_nor_nonce[] = {
  1282. 0xd8, 0x27, 0xf9, 0x16, 0x13, 0xe0, 0xb4, 0x7f,
  1283. };
  1284. static const unsigned char kat46_nor_persstr[] = {
  1285. 0xcc, 0x92, 0x8f, 0x3d, 0x2d, 0xf3, 0x1a, 0x29, 0xf4, 0xe4, 0x44, 0xf3,
  1286. 0xdf, 0x08, 0xbe, 0x21,
  1287. };
  1288. static const unsigned char kat46_nor_addin0[] = {
  1289. 0x7e, 0xaa, 0x1b, 0xbe, 0xc7, 0x93, 0x93, 0xa7, 0xf4, 0xa8, 0x22, 0x7b,
  1290. 0x69, 0x1e, 0xcb, 0x68,
  1291. };
  1292. static const unsigned char kat46_nor_addin1[] = {
  1293. 0x68, 0x69, 0xc6, 0xc7, 0xb9, 0xe6, 0x65, 0x3b, 0x39, 0x77, 0xf0, 0x78,
  1294. 0x9e, 0x94, 0x47, 0x8a,
  1295. };
  1296. static const unsigned char kat46_nor_retbytes[] = {
  1297. 0x92, 0x01, 0x32, 0xcd, 0x28, 0x46, 0x95, 0xb8, 0x68, 0xb5, 0xbc, 0x4b,
  1298. 0x70, 0x3a, 0xfe, 0xa4, 0xd9, 0x96, 0x62, 0x4a, 0x8f, 0x57, 0xe9, 0xfb,
  1299. 0xf5, 0xe7, 0x93, 0xb5, 0x09, 0xcb, 0x15, 0xb4, 0xbe, 0xaf, 0x70, 0x2d,
  1300. 0xac, 0x28, 0x71, 0x2d, 0x24, 0x9a, 0xe7, 0x50, 0x90, 0xa9, 0x1f, 0xd3,
  1301. 0x57, 0x75, 0x29, 0x4b, 0xf2, 0x4d, 0xde, 0xbf, 0xd2, 0x4e, 0x45, 0xd1,
  1302. 0x3f, 0x4a, 0x17, 0x48,
  1303. };
  1304. static const struct drbg_kat_no_reseed kat46_nor_t = {
  1305. 0, kat46_nor_entropyin, kat46_nor_nonce, kat46_nor_persstr,
  1306. kat46_nor_addin0, kat46_nor_addin1, kat46_nor_retbytes
  1307. };
  1308. static const struct drbg_kat kat46_nor = {
  1309. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat46_nor_t
  1310. };
  1311. static const unsigned char kat47_nor_entropyin[] = {
  1312. 0xc0, 0x70, 0x1f, 0x92, 0x50, 0x75, 0x8f, 0xcd, 0xf2, 0xbe, 0x73, 0x98,
  1313. 0x80, 0xdb, 0x66, 0xeb,
  1314. };
  1315. static const unsigned char kat47_nor_nonce[] = {
  1316. 0x14, 0x68, 0xb4, 0xa5, 0x87, 0x9c, 0x2d, 0xa6,
  1317. };
  1318. static const unsigned char kat47_nor_persstr[] = {
  1319. 0x80, 0x08, 0xae, 0xe8, 0xe9, 0x69, 0x40, 0xc5, 0x08, 0x73, 0xc7, 0x9f,
  1320. 0x8e, 0xcf, 0xe0, 0x02,
  1321. };
  1322. static const unsigned char kat47_nor_addin0[] = {
  1323. 0xf9, 0x01, 0xf8, 0x16, 0x7a, 0x1d, 0xff, 0xde, 0x8e, 0x3c, 0x83, 0xe2,
  1324. 0x44, 0x85, 0xe7, 0xfe,
  1325. };
  1326. static const unsigned char kat47_nor_addin1[] = {
  1327. 0x17, 0x1c, 0x09, 0x38, 0xc2, 0x38, 0x9f, 0x97, 0x87, 0x60, 0x55, 0xb4,
  1328. 0x82, 0x16, 0x62, 0x7f,
  1329. };
  1330. static const unsigned char kat47_nor_retbytes[] = {
  1331. 0x97, 0xc0, 0xc0, 0xe5, 0xa0, 0xcc, 0xf2, 0x4f, 0x33, 0x63, 0x48, 0x8a,
  1332. 0xdb, 0x13, 0x0a, 0x35, 0x89, 0xbf, 0x80, 0x65, 0x62, 0xee, 0x13, 0x95,
  1333. 0x7c, 0x33, 0xd3, 0x7d, 0xf4, 0x07, 0x77, 0x7a, 0x2b, 0x65, 0x0b, 0x5f,
  1334. 0x45, 0x5c, 0x13, 0xf1, 0x90, 0x77, 0x7f, 0xc5, 0x04, 0x3f, 0xcc, 0x1a,
  1335. 0x38, 0xf8, 0xcd, 0x1b, 0xbb, 0xd5, 0x57, 0xd1, 0x4a, 0x4c, 0x2e, 0x8a,
  1336. 0x2b, 0x49, 0x1e, 0x5c,
  1337. };
  1338. static const struct drbg_kat_no_reseed kat47_nor_t = {
  1339. 1, kat47_nor_entropyin, kat47_nor_nonce, kat47_nor_persstr,
  1340. kat47_nor_addin0, kat47_nor_addin1, kat47_nor_retbytes
  1341. };
  1342. static const struct drbg_kat kat47_nor = {
  1343. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat47_nor_t
  1344. };
  1345. static const unsigned char kat48_nor_entropyin[] = {
  1346. 0x6b, 0x98, 0x53, 0x2d, 0x67, 0x8f, 0xd2, 0x79, 0xcf, 0x73, 0x7c, 0x58,
  1347. 0x15, 0x0c, 0xe5, 0x89,
  1348. };
  1349. static const unsigned char kat48_nor_nonce[] = {
  1350. 0xca, 0x55, 0x45, 0x07, 0x3d, 0x54, 0x9d, 0x06,
  1351. };
  1352. static const unsigned char kat48_nor_persstr[] = {
  1353. 0x80, 0x90, 0x8a, 0xc1, 0x34, 0xe0, 0xcd, 0x23, 0xef, 0x7e, 0x31, 0x85,
  1354. 0x48, 0xf9, 0x21, 0x91,
  1355. };
  1356. static const unsigned char kat48_nor_addin0[] = {
  1357. 0x53, 0x79, 0x0d, 0xa9, 0x09, 0xbf, 0xde, 0xed, 0xaa, 0xfd, 0x99, 0x61,
  1358. 0x9f, 0x3f, 0x46, 0x1b,
  1359. };
  1360. static const unsigned char kat48_nor_addin1[] = {
  1361. 0xc7, 0xa5, 0x87, 0x77, 0xd1, 0xfb, 0xd1, 0x55, 0x3e, 0x95, 0x46, 0xc8,
  1362. 0x3e, 0x40, 0x9f, 0xc2,
  1363. };
  1364. static const unsigned char kat48_nor_retbytes[] = {
  1365. 0xd9, 0x84, 0xa2, 0x40, 0x58, 0x87, 0x39, 0x02, 0x27, 0x94, 0x09, 0x59,
  1366. 0xe4, 0x9f, 0x94, 0x4e, 0x49, 0x04, 0xc4, 0xf0, 0x46, 0x7f, 0xf2, 0x4d,
  1367. 0x87, 0x64, 0xdb, 0x91, 0x53, 0x0a, 0x1e, 0x59, 0x65, 0x68, 0x84, 0x72,
  1368. 0xfa, 0xc1, 0x31, 0xbe, 0xa0, 0x55, 0xc7, 0x15, 0x12, 0x27, 0xe2, 0xfc,
  1369. 0xb0, 0xda, 0xd9, 0x65, 0x5e, 0xc3, 0xac, 0x22, 0xcd, 0x7d, 0xff, 0x72,
  1370. 0xf6, 0xc7, 0x4a, 0xa0,
  1371. };
  1372. static const struct drbg_kat_no_reseed kat48_nor_t = {
  1373. 2, kat48_nor_entropyin, kat48_nor_nonce, kat48_nor_persstr,
  1374. kat48_nor_addin0, kat48_nor_addin1, kat48_nor_retbytes
  1375. };
  1376. static const struct drbg_kat kat48_nor = {
  1377. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat48_nor_t
  1378. };
  1379. static const unsigned char kat49_nor_entropyin[] = {
  1380. 0x97, 0x51, 0x6e, 0x48, 0xd9, 0x10, 0x37, 0x2a, 0x3f, 0x1f, 0xb4, 0xaa,
  1381. 0x7a, 0xe4, 0x93, 0x0f,
  1382. };
  1383. static const unsigned char kat49_nor_nonce[] = {
  1384. 0xbb, 0xa3, 0x0b, 0x3d, 0xeb, 0x19, 0x33, 0x89,
  1385. };
  1386. static const unsigned char kat49_nor_persstr[] = {
  1387. 0x8c, 0x0e, 0x3e, 0x71, 0xc8, 0x20, 0x1a, 0x77, 0x10, 0x55, 0x19, 0xdf,
  1388. 0xfa, 0x89, 0xc1, 0xaa,
  1389. };
  1390. static const unsigned char kat49_nor_addin0[] = {
  1391. 0x0a, 0x18, 0x78, 0x7e, 0x46, 0x50, 0xfa, 0x02, 0x49, 0xf7, 0x79, 0x62,
  1392. 0xac, 0x15, 0x8c, 0x63,
  1393. };
  1394. static const unsigned char kat49_nor_addin1[] = {
  1395. 0x2f, 0xb1, 0x92, 0x31, 0x4c, 0x3e, 0x07, 0xf9, 0x63, 0xfb, 0xa3, 0x4d,
  1396. 0x8d, 0xfc, 0x8c, 0x9c,
  1397. };
  1398. static const unsigned char kat49_nor_retbytes[] = {
  1399. 0xd7, 0xb7, 0x3e, 0x44, 0x9a, 0xed, 0x8f, 0x0a, 0x06, 0x93, 0x84, 0x83,
  1400. 0xe8, 0x78, 0x11, 0x04, 0x9b, 0x4a, 0xcf, 0xe5, 0x1c, 0xa5, 0x55, 0xf1,
  1401. 0xee, 0x97, 0x86, 0xe3, 0x3f, 0xce, 0x90, 0x69, 0x7d, 0xb6, 0x8d, 0x2d,
  1402. 0xc6, 0x36, 0x1c, 0x94, 0x2c, 0xf6, 0x7d, 0x89, 0x26, 0x19, 0x49, 0x7e,
  1403. 0x96, 0x19, 0x43, 0x32, 0xae, 0x32, 0xa6, 0x35, 0xcf, 0x35, 0x5b, 0xbc,
  1404. 0x3c, 0x66, 0x79, 0x55,
  1405. };
  1406. static const struct drbg_kat_no_reseed kat49_nor_t = {
  1407. 3, kat49_nor_entropyin, kat49_nor_nonce, kat49_nor_persstr,
  1408. kat49_nor_addin0, kat49_nor_addin1, kat49_nor_retbytes
  1409. };
  1410. static const struct drbg_kat kat49_nor = {
  1411. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat49_nor_t
  1412. };
  1413. static const unsigned char kat50_nor_entropyin[] = {
  1414. 0x62, 0xce, 0xf3, 0x5a, 0x51, 0x8e, 0xf6, 0x52, 0x0b, 0x6e, 0xdb, 0x1a,
  1415. 0xa9, 0xa2, 0x14, 0x96,
  1416. };
  1417. static const unsigned char kat50_nor_nonce[] = {
  1418. 0x2b, 0x98, 0xe2, 0x69, 0xf5, 0x1f, 0xb3, 0xba,
  1419. };
  1420. static const unsigned char kat50_nor_persstr[] = {
  1421. 0x89, 0xa6, 0xc9, 0x11, 0x27, 0x13, 0xd0, 0xd1, 0x96, 0xc8, 0xe0, 0x26,
  1422. 0x60, 0xa2, 0x51, 0x31,
  1423. };
  1424. static const unsigned char kat50_nor_addin0[] = {
  1425. 0x35, 0xed, 0xb8, 0x77, 0x01, 0xcb, 0x50, 0x01, 0x43, 0x4d, 0xb1, 0x85,
  1426. 0x7b, 0xf9, 0x8e, 0xfb,
  1427. };
  1428. static const unsigned char kat50_nor_addin1[] = {
  1429. 0xa9, 0xfa, 0x53, 0xb5, 0xd3, 0x03, 0x2e, 0x4b, 0xe6, 0x0d, 0xcd, 0xb1,
  1430. 0xe9, 0x4b, 0x4f, 0x50,
  1431. };
  1432. static const unsigned char kat50_nor_retbytes[] = {
  1433. 0xde, 0x8b, 0x77, 0x0b, 0x3e, 0xd4, 0x33, 0x15, 0xab, 0x7e, 0x83, 0x31,
  1434. 0xe2, 0xdf, 0x12, 0xcb, 0x9a, 0xbe, 0xb3, 0xf6, 0xb1, 0x4c, 0x45, 0x7a,
  1435. 0x30, 0x4b, 0xcd, 0x1d, 0xf7, 0x30, 0xdb, 0x52, 0xd4, 0xb4, 0x02, 0xf7,
  1436. 0x8b, 0x80, 0x54, 0x59, 0x65, 0xfc, 0x5a, 0x83, 0xdd, 0xf9, 0x99, 0x63,
  1437. 0xaa, 0xb5, 0xe1, 0xb3, 0x79, 0x24, 0x57, 0xdf, 0x4b, 0xf9, 0x27, 0xb6,
  1438. 0x6a, 0x4d, 0x67, 0x45,
  1439. };
  1440. static const struct drbg_kat_no_reseed kat50_nor_t = {
  1441. 4, kat50_nor_entropyin, kat50_nor_nonce, kat50_nor_persstr,
  1442. kat50_nor_addin0, kat50_nor_addin1, kat50_nor_retbytes
  1443. };
  1444. static const struct drbg_kat kat50_nor = {
  1445. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat50_nor_t
  1446. };
  1447. static const unsigned char kat51_nor_entropyin[] = {
  1448. 0xc0, 0x2a, 0xf7, 0x05, 0xf6, 0x99, 0xc3, 0xa7, 0xf5, 0xe2, 0xbb, 0x9b,
  1449. 0x14, 0xc7, 0xce, 0xa7,
  1450. };
  1451. static const unsigned char kat51_nor_nonce[] = {
  1452. 0xeb, 0x24, 0x6b, 0x26, 0xa3, 0xa0, 0xa1, 0x0b,
  1453. };
  1454. static const unsigned char kat51_nor_persstr[] = {
  1455. 0x07, 0xdf, 0x3d, 0x3d, 0x48, 0x6b, 0xbe, 0x68, 0x19, 0x04, 0x40, 0x94,
  1456. 0xc9, 0x15, 0x89, 0x99,
  1457. };
  1458. static const unsigned char kat51_nor_addin0[] = {
  1459. 0xf4, 0x9d, 0x27, 0x9f, 0x04, 0x81, 0x5d, 0x98, 0x30, 0x92, 0xb6, 0xb5,
  1460. 0xfe, 0x4f, 0x10, 0xf7,
  1461. };
  1462. static const unsigned char kat51_nor_addin1[] = {
  1463. 0xd7, 0x66, 0x07, 0x00, 0x64, 0xdf, 0xe2, 0x03, 0xb2, 0xa3, 0x9d, 0x1b,
  1464. 0x24, 0x75, 0x84, 0x10,
  1465. };
  1466. static const unsigned char kat51_nor_retbytes[] = {
  1467. 0xdd, 0xbb, 0x48, 0x8c, 0x6b, 0x6f, 0x0f, 0x9c, 0xb7, 0x05, 0xa3, 0xc5,
  1468. 0xab, 0x13, 0xc3, 0x17, 0x6f, 0x86, 0x7b, 0x12, 0x0c, 0x29, 0xdb, 0x37,
  1469. 0xf7, 0x9c, 0x00, 0x23, 0x8a, 0x77, 0xa0, 0x41, 0x45, 0x04, 0xd3, 0x28,
  1470. 0x93, 0xa0, 0x8c, 0x7e, 0x99, 0xc2, 0xb1, 0xa8, 0x8d, 0x50, 0x92, 0x2e,
  1471. 0x52, 0xb0, 0xdf, 0x56, 0x0b, 0x75, 0x3a, 0xdd, 0x48, 0x60, 0x4c, 0xaa,
  1472. 0xbb, 0xb9, 0x75, 0x2f,
  1473. };
  1474. static const struct drbg_kat_no_reseed kat51_nor_t = {
  1475. 5, kat51_nor_entropyin, kat51_nor_nonce, kat51_nor_persstr,
  1476. kat51_nor_addin0, kat51_nor_addin1, kat51_nor_retbytes
  1477. };
  1478. static const struct drbg_kat kat51_nor = {
  1479. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat51_nor_t
  1480. };
  1481. static const unsigned char kat52_nor_entropyin[] = {
  1482. 0x56, 0x6f, 0xc3, 0x38, 0x98, 0x5a, 0x8f, 0xc8, 0x67, 0xda, 0xbe, 0x24,
  1483. 0xf7, 0xf9, 0x09, 0x7d,
  1484. };
  1485. static const unsigned char kat52_nor_nonce[] = {
  1486. 0xdb, 0xf7, 0x1d, 0x79, 0x17, 0xe0, 0xb1, 0x51,
  1487. };
  1488. static const unsigned char kat52_nor_persstr[] = {
  1489. 0x66, 0x56, 0x94, 0x18, 0x17, 0xa6, 0x15, 0xe2, 0x9f, 0x62, 0xbd, 0x4f,
  1490. 0x1d, 0x93, 0xcb, 0x11,
  1491. };
  1492. static const unsigned char kat52_nor_addin0[] = {
  1493. 0xa2, 0x74, 0xbe, 0x52, 0x97, 0x46, 0xbd, 0x0b, 0x6a, 0x58, 0x73, 0xdc,
  1494. 0x3c, 0x1d, 0xae, 0xbc,
  1495. };
  1496. static const unsigned char kat52_nor_addin1[] = {
  1497. 0x4e, 0x23, 0xfa, 0x29, 0xd2, 0x6b, 0x1f, 0xe9, 0x2b, 0xb4, 0x2b, 0x3e,
  1498. 0x9f, 0x2b, 0x4c, 0x08,
  1499. };
  1500. static const unsigned char kat52_nor_retbytes[] = {
  1501. 0xb5, 0xda, 0x60, 0xb8, 0x70, 0x22, 0x6a, 0x48, 0xb2, 0xb9, 0xb5, 0xd9,
  1502. 0xa9, 0x46, 0x49, 0x54, 0xa8, 0xdb, 0x0d, 0x3e, 0x5f, 0xb3, 0x06, 0x3c,
  1503. 0x80, 0xe6, 0x75, 0x19, 0x7d, 0xc5, 0x84, 0x07, 0xb4, 0xc0, 0x40, 0x9c,
  1504. 0xd0, 0x69, 0x75, 0xed, 0xa8, 0xaf, 0xe6, 0x66, 0x7a, 0xa0, 0xd7, 0x9e,
  1505. 0xcf, 0x55, 0x5e, 0x23, 0x8f, 0x83, 0x42, 0x4f, 0x13, 0x08, 0x19, 0x20,
  1506. 0x0c, 0x24, 0x4a, 0x77,
  1507. };
  1508. static const struct drbg_kat_no_reseed kat52_nor_t = {
  1509. 6, kat52_nor_entropyin, kat52_nor_nonce, kat52_nor_persstr,
  1510. kat52_nor_addin0, kat52_nor_addin1, kat52_nor_retbytes
  1511. };
  1512. static const struct drbg_kat kat52_nor = {
  1513. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat52_nor_t
  1514. };
  1515. static const unsigned char kat53_nor_entropyin[] = {
  1516. 0x67, 0x43, 0xbc, 0x12, 0x2a, 0xaa, 0x13, 0x4f, 0x82, 0xac, 0x8c, 0x78,
  1517. 0xcc, 0x0b, 0x64, 0xe7,
  1518. };
  1519. static const unsigned char kat53_nor_nonce[] = {
  1520. 0x2d, 0xc3, 0x2e, 0x4f, 0x3b, 0xba, 0x5a, 0x20,
  1521. };
  1522. static const unsigned char kat53_nor_persstr[] = {
  1523. 0xb8, 0x07, 0x7f, 0x23, 0xa9, 0x08, 0xc4, 0x25, 0x92, 0xc1, 0x3b, 0x63,
  1524. 0x89, 0x09, 0x98, 0xd0,
  1525. };
  1526. static const unsigned char kat53_nor_addin0[] = {
  1527. 0xd6, 0x83, 0x74, 0xf5, 0x8c, 0xe2, 0x5b, 0xd8, 0xe9, 0x5f, 0xe0, 0x6d,
  1528. 0xe8, 0xa9, 0x50, 0xa1,
  1529. };
  1530. static const unsigned char kat53_nor_addin1[] = {
  1531. 0x07, 0xb7, 0xab, 0x9c, 0x32, 0xa9, 0x78, 0x30, 0xa0, 0x0e, 0xd9, 0x89,
  1532. 0x5e, 0x3b, 0xbe, 0x19,
  1533. };
  1534. static const unsigned char kat53_nor_retbytes[] = {
  1535. 0xfe, 0x82, 0x7f, 0x53, 0x07, 0x6d, 0xf3, 0x08, 0x47, 0xd0, 0xfb, 0x0f,
  1536. 0x55, 0xa2, 0xcd, 0x63, 0x81, 0xca, 0x0e, 0x79, 0xe6, 0x81, 0x62, 0x1f,
  1537. 0x49, 0xf3, 0x1e, 0x48, 0x11, 0xe9, 0xa6, 0x4c, 0x57, 0xc0, 0x99, 0x4f,
  1538. 0x18, 0x0c, 0x31, 0x1a, 0x40, 0x44, 0x40, 0xf2, 0x77, 0xfa, 0x62, 0xe0,
  1539. 0xf9, 0x9c, 0x6f, 0x5c, 0x7b, 0x88, 0xbe, 0xe2, 0x07, 0xfc, 0xa9, 0x92,
  1540. 0x6b, 0xfc, 0x9e, 0x46,
  1541. };
  1542. static const struct drbg_kat_no_reseed kat53_nor_t = {
  1543. 7, kat53_nor_entropyin, kat53_nor_nonce, kat53_nor_persstr,
  1544. kat53_nor_addin0, kat53_nor_addin1, kat53_nor_retbytes
  1545. };
  1546. static const struct drbg_kat kat53_nor = {
  1547. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat53_nor_t
  1548. };
  1549. static const unsigned char kat54_nor_entropyin[] = {
  1550. 0xf2, 0xad, 0xdf, 0x01, 0x67, 0xa1, 0x6d, 0xa3, 0x8d, 0x2f, 0xd7, 0x92,
  1551. 0xa7, 0x18, 0x9c, 0x06,
  1552. };
  1553. static const unsigned char kat54_nor_nonce[] = {
  1554. 0x2b, 0x50, 0xd8, 0xcc, 0x7f, 0x71, 0x40, 0x1c,
  1555. };
  1556. static const unsigned char kat54_nor_persstr[] = {
  1557. 0xb9, 0x17, 0xa5, 0x4c, 0x13, 0xd5, 0x8c, 0xb6, 0xad, 0x47, 0xc8, 0xfa,
  1558. 0xf6, 0xf9, 0xa7, 0xf5,
  1559. };
  1560. static const unsigned char kat54_nor_addin0[] = {
  1561. 0xcf, 0x2e, 0x78, 0x5a, 0x06, 0xbc, 0x5e, 0xb7, 0x1e, 0x3b, 0x52, 0x4f,
  1562. 0x11, 0x72, 0xc7, 0x55,
  1563. };
  1564. static const unsigned char kat54_nor_addin1[] = {
  1565. 0xc9, 0xa7, 0x53, 0xa9, 0xce, 0xdd, 0xd7, 0x5d, 0x1a, 0x62, 0x6d, 0xa7,
  1566. 0x27, 0x95, 0xa3, 0xc6,
  1567. };
  1568. static const unsigned char kat54_nor_retbytes[] = {
  1569. 0xe2, 0xaa, 0xf1, 0x1c, 0x20, 0xde, 0x2b, 0xaf, 0x89, 0x23, 0x04, 0x1d,
  1570. 0x83, 0x8f, 0x4a, 0xcb, 0x38, 0xe2, 0x22, 0xd3, 0x06, 0xb9, 0x7c, 0x97,
  1571. 0xbf, 0xe5, 0x46, 0x61, 0x7b, 0x3d, 0x8d, 0x92, 0xe4, 0x0c, 0xaa, 0x2e,
  1572. 0xdc, 0xac, 0x7a, 0x2f, 0xb0, 0x64, 0x3e, 0xd5, 0x7d, 0x47, 0xa9, 0x0a,
  1573. 0x11, 0x64, 0x10, 0x44, 0xb6, 0xc6, 0xa7, 0xdf, 0x42, 0x4d, 0xbd, 0xa2,
  1574. 0xb4, 0x5f, 0x0d, 0xf9,
  1575. };
  1576. static const struct drbg_kat_no_reseed kat54_nor_t = {
  1577. 8, kat54_nor_entropyin, kat54_nor_nonce, kat54_nor_persstr,
  1578. kat54_nor_addin0, kat54_nor_addin1, kat54_nor_retbytes
  1579. };
  1580. static const struct drbg_kat kat54_nor = {
  1581. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat54_nor_t
  1582. };
  1583. static const unsigned char kat55_nor_entropyin[] = {
  1584. 0xca, 0x23, 0x34, 0x58, 0xf6, 0x6b, 0x26, 0xf2, 0xc1, 0x35, 0x7a, 0xef,
  1585. 0xce, 0xb6, 0x79, 0xef,
  1586. };
  1587. static const unsigned char kat55_nor_nonce[] = {
  1588. 0xfe, 0x13, 0x64, 0x04, 0xad, 0x7a, 0x49, 0xe7,
  1589. };
  1590. static const unsigned char kat55_nor_persstr[] = {
  1591. 0x26, 0x83, 0xdc, 0x31, 0x3b, 0xc0, 0xbb, 0x93, 0xeb, 0xb4, 0x6b, 0xbb,
  1592. 0x55, 0x3f, 0x58, 0x75,
  1593. };
  1594. static const unsigned char kat55_nor_addin0[] = {
  1595. 0xf7, 0x8a, 0xb1, 0xf4, 0x52, 0x6f, 0x0f, 0xa5, 0xcb, 0x75, 0x43, 0xd1,
  1596. 0x46, 0x43, 0xfe, 0xb5,
  1597. };
  1598. static const unsigned char kat55_nor_addin1[] = {
  1599. 0x40, 0xb9, 0x26, 0x32, 0x4c, 0xc2, 0x94, 0x3a, 0xca, 0x83, 0x7f, 0x69,
  1600. 0x0d, 0x0b, 0xcd, 0xa4,
  1601. };
  1602. static const unsigned char kat55_nor_retbytes[] = {
  1603. 0x37, 0x24, 0xd0, 0xe5, 0x80, 0xe9, 0x0d, 0x4e, 0xf3, 0x2e, 0x5f, 0x8a,
  1604. 0x5b, 0xb5, 0x62, 0x25, 0xa9, 0x13, 0xf2, 0x10, 0xb7, 0x6d, 0x5a, 0x78,
  1605. 0xfd, 0x8e, 0xf2, 0x5d, 0x6e, 0xec, 0x9f, 0xf1, 0x47, 0x11, 0xd6, 0xdb,
  1606. 0x80, 0xe1, 0xe8, 0x11, 0x42, 0xa5, 0x60, 0x75, 0x34, 0xa7, 0x25, 0xd2,
  1607. 0x78, 0x5c, 0x8e, 0x3e, 0x4a, 0x48, 0xa5, 0x94, 0xb0, 0xd9, 0x1b, 0xc9,
  1608. 0x32, 0x82, 0x7b, 0xd7,
  1609. };
  1610. static const struct drbg_kat_no_reseed kat55_nor_t = {
  1611. 9, kat55_nor_entropyin, kat55_nor_nonce, kat55_nor_persstr,
  1612. kat55_nor_addin0, kat55_nor_addin1, kat55_nor_retbytes
  1613. };
  1614. static const struct drbg_kat kat55_nor = {
  1615. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat55_nor_t
  1616. };
  1617. static const unsigned char kat56_nor_entropyin[] = {
  1618. 0x2b, 0x52, 0x1d, 0xc4, 0x03, 0x12, 0x9f, 0xd9, 0xed, 0x0b, 0xe9, 0xf5,
  1619. 0xfd, 0xe0, 0x66, 0x17,
  1620. };
  1621. static const unsigned char kat56_nor_nonce[] = {
  1622. 0xf0, 0xdf, 0xa0, 0x1e, 0x09, 0x9b, 0x95, 0xa1,
  1623. };
  1624. static const unsigned char kat56_nor_persstr[] = {
  1625. 0xfe, 0x85, 0x8d, 0x59, 0xd7, 0x34, 0xf6, 0x0f, 0x71, 0xa3, 0x87, 0x55,
  1626. 0x3c, 0xca, 0x46, 0xff,
  1627. };
  1628. static const unsigned char kat56_nor_addin0[] = {
  1629. 0x6f, 0xba, 0x8d, 0x06, 0xff, 0x43, 0x30, 0x07, 0xbd, 0x7d, 0x15, 0x56,
  1630. 0x9a, 0xf3, 0xd0, 0x69,
  1631. };
  1632. static const unsigned char kat56_nor_addin1[] = {
  1633. 0x80, 0xb0, 0xc1, 0x1f, 0x18, 0xb5, 0x92, 0x3a, 0x89, 0xf0, 0xfe, 0x23,
  1634. 0x77, 0x6d, 0x39, 0x05,
  1635. };
  1636. static const unsigned char kat56_nor_retbytes[] = {
  1637. 0x41, 0x73, 0x88, 0xde, 0xe9, 0x08, 0x4f, 0x58, 0x8d, 0x0a, 0xdb, 0x5e,
  1638. 0x5d, 0x1b, 0x54, 0x6b, 0x12, 0x55, 0xcd, 0xf5, 0x9d, 0x69, 0x95, 0x7a,
  1639. 0xe6, 0x87, 0xc7, 0x82, 0x2b, 0x93, 0x5c, 0xe0, 0x29, 0x30, 0x6c, 0x02,
  1640. 0x50, 0xd4, 0x69, 0x83, 0x9c, 0x7d, 0xf9, 0xd3, 0xd0, 0x8e, 0xc8, 0xc5,
  1641. 0x0a, 0x66, 0x7a, 0xf1, 0x0d, 0x8d, 0x5b, 0x00, 0x73, 0x02, 0xa6, 0xe8,
  1642. 0x7b, 0x4e, 0x7f, 0x2c,
  1643. };
  1644. static const struct drbg_kat_no_reseed kat56_nor_t = {
  1645. 10, kat56_nor_entropyin, kat56_nor_nonce, kat56_nor_persstr,
  1646. kat56_nor_addin0, kat56_nor_addin1, kat56_nor_retbytes
  1647. };
  1648. static const struct drbg_kat kat56_nor = {
  1649. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat56_nor_t
  1650. };
  1651. static const unsigned char kat57_nor_entropyin[] = {
  1652. 0xd0, 0x50, 0x2b, 0x78, 0xf7, 0xaa, 0x6f, 0xa1, 0xd8, 0x88, 0x42, 0x1d,
  1653. 0x70, 0x2c, 0xad, 0xd1,
  1654. };
  1655. static const unsigned char kat57_nor_nonce[] = {
  1656. 0x4b, 0x37, 0xb8, 0x96, 0x59, 0x69, 0xea, 0x8d,
  1657. };
  1658. static const unsigned char kat57_nor_persstr[] = {
  1659. 0x56, 0xbd, 0x43, 0x1f, 0x04, 0x88, 0xfe, 0x6d, 0x7b, 0xa3, 0x83, 0x6e,
  1660. 0x5c, 0x8c, 0x7a, 0xa9,
  1661. };
  1662. static const unsigned char kat57_nor_addin0[] = {
  1663. 0x26, 0x92, 0x5d, 0xbc, 0xbe, 0xd7, 0x33, 0xbe, 0x2a, 0x5e, 0x76, 0x49,
  1664. 0xc8, 0x76, 0xa0, 0xf8,
  1665. };
  1666. static const unsigned char kat57_nor_addin1[] = {
  1667. 0x9c, 0x70, 0x35, 0x2d, 0x4f, 0x9c, 0x88, 0x0e, 0x76, 0xd4, 0x68, 0x08,
  1668. 0x38, 0xdd, 0x0d, 0xea,
  1669. };
  1670. static const unsigned char kat57_nor_retbytes[] = {
  1671. 0x65, 0x00, 0x24, 0x2c, 0x35, 0x88, 0xb4, 0x52, 0x30, 0x7b, 0x2a, 0x06,
  1672. 0x34, 0x90, 0x0e, 0x75, 0x6a, 0x3d, 0x26, 0x19, 0xfc, 0x2a, 0xdf, 0x10,
  1673. 0x77, 0x69, 0x22, 0xb0, 0x06, 0x61, 0x7e, 0xe8, 0x81, 0x82, 0x83, 0x66,
  1674. 0xac, 0x52, 0x7f, 0xad, 0xa0, 0x01, 0x86, 0xbc, 0x8b, 0xfd, 0x6b, 0xee,
  1675. 0x66, 0xd6, 0x38, 0x03, 0x5a, 0xaf, 0xff, 0xbc, 0x83, 0x32, 0xa5, 0x4c,
  1676. 0xa1, 0x7d, 0xf1, 0x6f,
  1677. };
  1678. static const struct drbg_kat_no_reseed kat57_nor_t = {
  1679. 11, kat57_nor_entropyin, kat57_nor_nonce, kat57_nor_persstr,
  1680. kat57_nor_addin0, kat57_nor_addin1, kat57_nor_retbytes
  1681. };
  1682. static const struct drbg_kat kat57_nor = {
  1683. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat57_nor_t
  1684. };
  1685. static const unsigned char kat58_nor_entropyin[] = {
  1686. 0xa3, 0xb9, 0x5f, 0x32, 0x01, 0xfa, 0x01, 0x01, 0x07, 0x57, 0x30, 0x74,
  1687. 0xb1, 0x19, 0x9b, 0xc0,
  1688. };
  1689. static const unsigned char kat58_nor_nonce[] = {
  1690. 0x60, 0x30, 0xe5, 0xb6, 0x13, 0x47, 0xb0, 0xe2,
  1691. };
  1692. static const unsigned char kat58_nor_persstr[] = {
  1693. 0x9e, 0x77, 0x85, 0x46, 0xd4, 0x5f, 0x17, 0x93, 0xa1, 0x1d, 0x80, 0xa0,
  1694. 0x2e, 0x4c, 0xa3, 0xc3,
  1695. };
  1696. static const unsigned char kat58_nor_addin0[] = {
  1697. 0xe5, 0x07, 0x33, 0x61, 0x98, 0x25, 0x31, 0x37, 0xa5, 0x55, 0xe8, 0xc1,
  1698. 0x18, 0xa1, 0x2d, 0x2f,
  1699. };
  1700. static const unsigned char kat58_nor_addin1[] = {
  1701. 0xe5, 0xce, 0xea, 0xcb, 0xb5, 0x22, 0xf5, 0xde, 0x81, 0x78, 0x9c, 0x32,
  1702. 0xcb, 0xcd, 0xef, 0x30,
  1703. };
  1704. static const unsigned char kat58_nor_retbytes[] = {
  1705. 0x4a, 0xd1, 0x8e, 0xa0, 0x83, 0x7f, 0x06, 0x3e, 0x9f, 0xbf, 0x6c, 0x72,
  1706. 0xd1, 0xaf, 0x6f, 0x77, 0x96, 0x41, 0xf4, 0xe1, 0x1c, 0x40, 0x0d, 0x95,
  1707. 0xcb, 0x2b, 0xa4, 0x22, 0x99, 0xa9, 0x66, 0x48, 0xe0, 0x59, 0xe1, 0xa6,
  1708. 0x3f, 0x7c, 0x03, 0x79, 0x25, 0x44, 0x89, 0xc7, 0xcb, 0xff, 0xfb, 0x22,
  1709. 0x11, 0x84, 0x57, 0x18, 0xc5, 0x26, 0x00, 0xc9, 0xe8, 0x58, 0x49, 0xd6,
  1710. 0xe0, 0x95, 0x1f, 0x7b,
  1711. };
  1712. static const struct drbg_kat_no_reseed kat58_nor_t = {
  1713. 12, kat58_nor_entropyin, kat58_nor_nonce, kat58_nor_persstr,
  1714. kat58_nor_addin0, kat58_nor_addin1, kat58_nor_retbytes
  1715. };
  1716. static const struct drbg_kat kat58_nor = {
  1717. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat58_nor_t
  1718. };
  1719. static const unsigned char kat59_nor_entropyin[] = {
  1720. 0x88, 0x18, 0xbe, 0x7e, 0x8e, 0x81, 0x5b, 0xca, 0x0c, 0xb5, 0xa0, 0x14,
  1721. 0x4d, 0x44, 0xb6, 0x72,
  1722. };
  1723. static const unsigned char kat59_nor_nonce[] = {
  1724. 0x12, 0x2b, 0x14, 0x8c, 0xa1, 0xaa, 0xba, 0x60,
  1725. };
  1726. static const unsigned char kat59_nor_persstr[] = {
  1727. 0x90, 0x6d, 0xc3, 0x0b, 0x39, 0x54, 0x27, 0x38, 0x56, 0x73, 0x26, 0x13,
  1728. 0x66, 0xf5, 0xe9, 0xa8,
  1729. };
  1730. static const unsigned char kat59_nor_addin0[] = {
  1731. 0x56, 0xee, 0x67, 0xff, 0x14, 0x66, 0xce, 0xed, 0xd7, 0x28, 0x1d, 0x73,
  1732. 0xf3, 0x9c, 0x6c, 0x85,
  1733. };
  1734. static const unsigned char kat59_nor_addin1[] = {
  1735. 0x82, 0xe4, 0xa6, 0xed, 0xb0, 0x78, 0x00, 0x79, 0xfa, 0xee, 0x25, 0x8e,
  1736. 0xd1, 0x13, 0x7e, 0xcf,
  1737. };
  1738. static const unsigned char kat59_nor_retbytes[] = {
  1739. 0x88, 0x55, 0xad, 0x03, 0xe3, 0x87, 0x27, 0xd0, 0x49, 0xe8, 0x55, 0x8e,
  1740. 0xcc, 0x66, 0x3b, 0x8c, 0x89, 0xcb, 0x5b, 0xd1, 0x38, 0xac, 0x34, 0x9c,
  1741. 0x6e, 0x5f, 0x78, 0x41, 0x70, 0xc5, 0x07, 0x69, 0xc8, 0xc9, 0x7b, 0x09,
  1742. 0x4d, 0xfa, 0x07, 0x52, 0xd0, 0x65, 0x53, 0x1d, 0xa4, 0x00, 0x85, 0x81,
  1743. 0x7c, 0xcb, 0x08, 0xf2, 0xb9, 0x4c, 0xbb, 0xba, 0xe7, 0x59, 0x8c, 0x96,
  1744. 0x3e, 0x3a, 0xd6, 0xd1,
  1745. };
  1746. static const struct drbg_kat_no_reseed kat59_nor_t = {
  1747. 13, kat59_nor_entropyin, kat59_nor_nonce, kat59_nor_persstr,
  1748. kat59_nor_addin0, kat59_nor_addin1, kat59_nor_retbytes
  1749. };
  1750. static const struct drbg_kat kat59_nor = {
  1751. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat59_nor_t
  1752. };
  1753. static const unsigned char kat60_nor_entropyin[] = {
  1754. 0x00, 0x90, 0xdc, 0xb9, 0x1f, 0x02, 0x70, 0xf6, 0x58, 0x20, 0x7d, 0x49,
  1755. 0xa7, 0x47, 0x38, 0xe2,
  1756. };
  1757. static const unsigned char kat60_nor_nonce[] = {
  1758. 0x9d, 0x18, 0xae, 0xa2, 0x68, 0x4e, 0xe2, 0xb7,
  1759. };
  1760. static const unsigned char kat60_nor_persstr[] = {
  1761. 0x64, 0xa8, 0x18, 0x57, 0xce, 0x29, 0xf0, 0xd2, 0xa8, 0x51, 0x03, 0x00,
  1762. 0xb0, 0xa3, 0xfa, 0xc0,
  1763. };
  1764. static const unsigned char kat60_nor_addin0[] = {
  1765. 0xcd, 0x7f, 0x89, 0xf8, 0xd5, 0x46, 0x8e, 0xae, 0x8b, 0xca, 0x31, 0x4f,
  1766. 0xd9, 0xf2, 0x5b, 0x23,
  1767. };
  1768. static const unsigned char kat60_nor_addin1[] = {
  1769. 0x94, 0x9b, 0x94, 0x41, 0x7f, 0xb4, 0x2b, 0xbc, 0x7c, 0xdb, 0x3f, 0x53,
  1770. 0xa0, 0x55, 0x80, 0x19,
  1771. };
  1772. static const unsigned char kat60_nor_retbytes[] = {
  1773. 0x63, 0xd3, 0xe9, 0x19, 0x88, 0x1f, 0x87, 0xd6, 0x9c, 0xba, 0xdc, 0xb6,
  1774. 0x78, 0x9e, 0x0b, 0x8f, 0x2e, 0x49, 0xf4, 0xc9, 0xd0, 0xe3, 0xba, 0x1e,
  1775. 0x4a, 0x59, 0x16, 0x2a, 0xf7, 0x18, 0xbc, 0x40, 0xdd, 0x67, 0x3e, 0xae,
  1776. 0x8f, 0x48, 0xfd, 0x27, 0x82, 0xe0, 0x6c, 0xde, 0xc5, 0x63, 0x2a, 0x4b,
  1777. 0x2e, 0x60, 0x65, 0x5c, 0xba, 0x75, 0xaf, 0xaf, 0x4c, 0x12, 0xa6, 0x74,
  1778. 0xee, 0xe4, 0xd3, 0xfc,
  1779. };
  1780. static const struct drbg_kat_no_reseed kat60_nor_t = {
  1781. 14, kat60_nor_entropyin, kat60_nor_nonce, kat60_nor_persstr,
  1782. kat60_nor_addin0, kat60_nor_addin1, kat60_nor_retbytes
  1783. };
  1784. static const struct drbg_kat kat60_nor = {
  1785. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat60_nor_t
  1786. };
  1787. static const unsigned char kat61_nor_entropyin[] = {
  1788. 0x2d, 0x2a, 0xb5, 0x64, 0x20, 0x29, 0x18, 0xc4, 0xef, 0x5b, 0x10, 0x2d,
  1789. 0xda, 0x38, 0x5a, 0x18,
  1790. };
  1791. static const unsigned char kat61_nor_nonce[] = {
  1792. 0x25, 0x91, 0x95, 0x26, 0x9e, 0xc1, 0x1a, 0xf6,
  1793. };
  1794. static const unsigned char kat61_nor_persstr[] = {0};
  1795. static const unsigned char kat61_nor_addin0[] = {0};
  1796. static const unsigned char kat61_nor_addin1[] = {0};
  1797. static const unsigned char kat61_nor_retbytes[] = {
  1798. 0x2c, 0x5c, 0xd7, 0x9e, 0xd8, 0x76, 0x22, 0xa9, 0x1b, 0x86, 0x54, 0xc8,
  1799. 0x90, 0x3d, 0x85, 0x22, 0x42, 0xcd, 0x49, 0xcb, 0x5d, 0xf2, 0xd4, 0xb4,
  1800. 0x15, 0x05, 0x84, 0x30, 0x1c, 0x59, 0xf0, 0x1f, 0xd9, 0x5a, 0x70, 0x2a,
  1801. 0xc1, 0x57, 0xc8, 0x4c, 0xc1, 0x5f, 0x42, 0xc8, 0x21, 0x13, 0x35, 0x67,
  1802. 0x2d, 0x8c, 0xe1, 0x29, 0x1e, 0xf9, 0xb1, 0xde, 0xf7, 0x81, 0x49, 0xa0,
  1803. 0x4f, 0xa2, 0x69, 0x7c,
  1804. };
  1805. static const struct drbg_kat_no_reseed kat61_nor_t = {
  1806. 0, kat61_nor_entropyin, kat61_nor_nonce, kat61_nor_persstr,
  1807. kat61_nor_addin0, kat61_nor_addin1, kat61_nor_retbytes
  1808. };
  1809. static const struct drbg_kat kat61_nor = {
  1810. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat61_nor_t
  1811. };
  1812. static const unsigned char kat62_nor_entropyin[] = {
  1813. 0xa0, 0x16, 0x46, 0x3d, 0xbb, 0x49, 0x99, 0x90, 0xcb, 0xcd, 0xa4, 0x50,
  1814. 0x46, 0xd8, 0xf3, 0x37,
  1815. };
  1816. static const unsigned char kat62_nor_nonce[] = {
  1817. 0x24, 0x9d, 0x02, 0xde, 0x2d, 0xcf, 0x3e, 0x57,
  1818. };
  1819. static const unsigned char kat62_nor_persstr[] = {0};
  1820. static const unsigned char kat62_nor_addin0[] = {0};
  1821. static const unsigned char kat62_nor_addin1[] = {0};
  1822. static const unsigned char kat62_nor_retbytes[] = {
  1823. 0x35, 0xb8, 0x1f, 0xb9, 0x42, 0x41, 0xf4, 0xc9, 0x31, 0x9a, 0x7f, 0x16,
  1824. 0xb4, 0x42, 0x49, 0x52, 0x52, 0xdb, 0x4c, 0x98, 0x48, 0x60, 0xd0, 0x35,
  1825. 0xf6, 0xc4, 0x54, 0x03, 0xf9, 0x74, 0xf5, 0x34, 0xfa, 0x93, 0xb2, 0x1b,
  1826. 0x6b, 0x89, 0x44, 0x1b, 0xe0, 0x7c, 0x5c, 0x29, 0x31, 0x7f, 0x86, 0x8d,
  1827. 0xc9, 0xab, 0x5c, 0x18, 0x37, 0x74, 0x37, 0xfa, 0xdb, 0x4d, 0x85, 0x7e,
  1828. 0xe0, 0x92, 0xf9, 0x23,
  1829. };
  1830. static const struct drbg_kat_no_reseed kat62_nor_t = {
  1831. 1, kat62_nor_entropyin, kat62_nor_nonce, kat62_nor_persstr,
  1832. kat62_nor_addin0, kat62_nor_addin1, kat62_nor_retbytes
  1833. };
  1834. static const struct drbg_kat kat62_nor = {
  1835. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat62_nor_t
  1836. };
  1837. static const unsigned char kat63_nor_entropyin[] = {
  1838. 0x1e, 0x38, 0x20, 0xc4, 0x6e, 0x50, 0xb7, 0xcb, 0xc5, 0x8b, 0x05, 0xaa,
  1839. 0x72, 0x24, 0x27, 0xa8,
  1840. };
  1841. static const unsigned char kat63_nor_nonce[] = {
  1842. 0xfe, 0x0f, 0x40, 0x01, 0x4e, 0xb3, 0x27, 0x9f,
  1843. };
  1844. static const unsigned char kat63_nor_persstr[] = {0};
  1845. static const unsigned char kat63_nor_addin0[] = {0};
  1846. static const unsigned char kat63_nor_addin1[] = {0};
  1847. static const unsigned char kat63_nor_retbytes[] = {
  1848. 0x18, 0x53, 0x0b, 0x9d, 0xe8, 0x89, 0xd8, 0xad, 0x3f, 0x41, 0xd5, 0x39,
  1849. 0x79, 0x6c, 0x2a, 0x95, 0xd6, 0x82, 0xfb, 0x02, 0x6d, 0xf7, 0xca, 0x09,
  1850. 0x4a, 0xf4, 0xab, 0x23, 0x95, 0x29, 0x2e, 0x6f, 0xcd, 0xb1, 0x75, 0xba,
  1851. 0x25, 0x7d, 0x61, 0x27, 0x9d, 0xa4, 0xd0, 0xfc, 0x78, 0xfd, 0xf8, 0xa4,
  1852. 0xeb, 0x46, 0xa0, 0xe2, 0xd7, 0x54, 0xf5, 0xf8, 0xf0, 0x9e, 0xcb, 0x15,
  1853. 0x7c, 0x8a, 0x58, 0xa1,
  1854. };
  1855. static const struct drbg_kat_no_reseed kat63_nor_t = {
  1856. 2, kat63_nor_entropyin, kat63_nor_nonce, kat63_nor_persstr,
  1857. kat63_nor_addin0, kat63_nor_addin1, kat63_nor_retbytes
  1858. };
  1859. static const struct drbg_kat kat63_nor = {
  1860. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat63_nor_t
  1861. };
  1862. static const unsigned char kat64_nor_entropyin[] = {
  1863. 0x3b, 0x02, 0xc5, 0xa4, 0x74, 0x67, 0x96, 0x48, 0xe2, 0xfe, 0x09, 0x0a,
  1864. 0x13, 0xbe, 0x04, 0x1c,
  1865. };
  1866. static const unsigned char kat64_nor_nonce[] = {
  1867. 0x71, 0xed, 0x5a, 0xa0, 0x78, 0xb8, 0x3a, 0x7b,
  1868. };
  1869. static const unsigned char kat64_nor_persstr[] = {0};
  1870. static const unsigned char kat64_nor_addin0[] = {0};
  1871. static const unsigned char kat64_nor_addin1[] = {0};
  1872. static const unsigned char kat64_nor_retbytes[] = {
  1873. 0xe8, 0xe2, 0xe5, 0xd8, 0xbd, 0x99, 0x29, 0xe4, 0xe1, 0x67, 0x5c, 0x84,
  1874. 0x61, 0x45, 0x7c, 0xab, 0x06, 0x33, 0xd8, 0x3f, 0x9b, 0xd2, 0x43, 0xbc,
  1875. 0x58, 0x29, 0x37, 0xc2, 0xb9, 0x61, 0xb7, 0x1c, 0x11, 0x85, 0x6f, 0x83,
  1876. 0x6c, 0x37, 0x32, 0x9d, 0x3f, 0xa8, 0x63, 0x76, 0xee, 0xc9, 0x71, 0x39,
  1877. 0x10, 0x4d, 0xe5, 0x32, 0x60, 0xe1, 0x22, 0xcb, 0x2b, 0x6d, 0x82, 0x4e,
  1878. 0x21, 0xe7, 0x5c, 0xe7,
  1879. };
  1880. static const struct drbg_kat_no_reseed kat64_nor_t = {
  1881. 3, kat64_nor_entropyin, kat64_nor_nonce, kat64_nor_persstr,
  1882. kat64_nor_addin0, kat64_nor_addin1, kat64_nor_retbytes
  1883. };
  1884. static const struct drbg_kat kat64_nor = {
  1885. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat64_nor_t
  1886. };
  1887. static const unsigned char kat65_nor_entropyin[] = {
  1888. 0x05, 0x0c, 0x48, 0xab, 0x8a, 0x05, 0xff, 0x69, 0x0b, 0x62, 0xe3, 0x7d,
  1889. 0x9b, 0x21, 0xf2, 0xfa,
  1890. };
  1891. static const unsigned char kat65_nor_nonce[] = {
  1892. 0xf7, 0x96, 0x48, 0x75, 0xbe, 0x28, 0x83, 0x53,
  1893. };
  1894. static const unsigned char kat65_nor_persstr[] = {0};
  1895. static const unsigned char kat65_nor_addin0[] = {0};
  1896. static const unsigned char kat65_nor_addin1[] = {0};
  1897. static const unsigned char kat65_nor_retbytes[] = {
  1898. 0x24, 0xcb, 0x0e, 0xdc, 0xb8, 0x9e, 0xec, 0x61, 0x76, 0x13, 0xa2, 0x7f,
  1899. 0xe3, 0xe4, 0x47, 0x5a, 0xff, 0xab, 0x49, 0x8d, 0x57, 0xbc, 0x3c, 0x4e,
  1900. 0xf8, 0x44, 0xfe, 0x19, 0xb3, 0x84, 0x13, 0x47, 0x7c, 0x1d, 0xb0, 0x40,
  1901. 0xf1, 0x67, 0x57, 0xf1, 0x85, 0x1b, 0x79, 0x9c, 0x1f, 0x26, 0x69, 0xaa,
  1902. 0x9f, 0x9c, 0x50, 0x53, 0x2e, 0xaf, 0xbe, 0x1e, 0x29, 0x48, 0xe3, 0x38,
  1903. 0xd1, 0xca, 0x4b, 0xd7,
  1904. };
  1905. static const struct drbg_kat_no_reseed kat65_nor_t = {
  1906. 4, kat65_nor_entropyin, kat65_nor_nonce, kat65_nor_persstr,
  1907. kat65_nor_addin0, kat65_nor_addin1, kat65_nor_retbytes
  1908. };
  1909. static const struct drbg_kat kat65_nor = {
  1910. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat65_nor_t
  1911. };
  1912. static const unsigned char kat66_nor_entropyin[] = {
  1913. 0xec, 0xd9, 0x9c, 0x0b, 0x49, 0x1c, 0xf6, 0xa3, 0x23, 0xbc, 0x33, 0x36,
  1914. 0x46, 0xe5, 0xc5, 0x6a,
  1915. };
  1916. static const unsigned char kat66_nor_nonce[] = {
  1917. 0xb1, 0x0a, 0x17, 0x84, 0x99, 0x5c, 0xb3, 0x4c,
  1918. };
  1919. static const unsigned char kat66_nor_persstr[] = {0};
  1920. static const unsigned char kat66_nor_addin0[] = {0};
  1921. static const unsigned char kat66_nor_addin1[] = {0};
  1922. static const unsigned char kat66_nor_retbytes[] = {
  1923. 0x65, 0x35, 0xc4, 0x8d, 0x99, 0x9a, 0x30, 0x6a, 0xcb, 0x83, 0xf7, 0xb7,
  1924. 0x20, 0xb3, 0xc3, 0x97, 0x72, 0xa4, 0x96, 0xe7, 0x5a, 0x89, 0x0f, 0x6e,
  1925. 0x14, 0xd7, 0x0a, 0x82, 0x41, 0x42, 0xa1, 0x2d, 0x01, 0xde, 0xe5, 0x52,
  1926. 0x71, 0xb8, 0x2c, 0x7b, 0x02, 0x7b, 0x94, 0x68, 0xc3, 0x09, 0xfa, 0x2d,
  1927. 0x08, 0xe9, 0x1e, 0x5e, 0x37, 0x9e, 0xb9, 0x0c, 0xf8, 0x91, 0x5c, 0xf4,
  1928. 0xcc, 0x24, 0x1b, 0x50,
  1929. };
  1930. static const struct drbg_kat_no_reseed kat66_nor_t = {
  1931. 5, kat66_nor_entropyin, kat66_nor_nonce, kat66_nor_persstr,
  1932. kat66_nor_addin0, kat66_nor_addin1, kat66_nor_retbytes
  1933. };
  1934. static const struct drbg_kat kat66_nor = {
  1935. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat66_nor_t
  1936. };
  1937. static const unsigned char kat67_nor_entropyin[] = {
  1938. 0x34, 0xae, 0xe3, 0xef, 0x35, 0xb2, 0xa1, 0xe3, 0x1c, 0x42, 0x97, 0x25,
  1939. 0xfe, 0xaa, 0x6b, 0xfd,
  1940. };
  1941. static const unsigned char kat67_nor_nonce[] = {
  1942. 0xe4, 0x36, 0x9b, 0x6a, 0xda, 0x90, 0x91, 0xed,
  1943. };
  1944. static const unsigned char kat67_nor_persstr[] = {0};
  1945. static const unsigned char kat67_nor_addin0[] = {0};
  1946. static const unsigned char kat67_nor_addin1[] = {0};
  1947. static const unsigned char kat67_nor_retbytes[] = {
  1948. 0xaf, 0x9d, 0xb4, 0xdf, 0x46, 0xac, 0x80, 0xfe, 0xca, 0xd6, 0xc3, 0xd1,
  1949. 0xd9, 0x75, 0xd2, 0xd0, 0xa6, 0x65, 0xf3, 0x1b, 0x4e, 0x3b, 0x07, 0xd9,
  1950. 0x62, 0x63, 0x22, 0x96, 0xb7, 0x60, 0x39, 0xdd, 0xca, 0xb8, 0xed, 0xde,
  1951. 0x17, 0xba, 0xd6, 0x23, 0x01, 0x31, 0x16, 0x2e, 0x59, 0xd0, 0x7d, 0xbb,
  1952. 0xd0, 0xf0, 0xb5, 0x2e, 0x5c, 0xa9, 0x3c, 0xf3, 0x7f, 0x12, 0xc0, 0x30,
  1953. 0x42, 0xbf, 0x0c, 0x82,
  1954. };
  1955. static const struct drbg_kat_no_reseed kat67_nor_t = {
  1956. 6, kat67_nor_entropyin, kat67_nor_nonce, kat67_nor_persstr,
  1957. kat67_nor_addin0, kat67_nor_addin1, kat67_nor_retbytes
  1958. };
  1959. static const struct drbg_kat kat67_nor = {
  1960. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat67_nor_t
  1961. };
  1962. static const unsigned char kat68_nor_entropyin[] = {
  1963. 0x91, 0x15, 0x64, 0x69, 0x54, 0x0c, 0x78, 0x5d, 0xf5, 0x6a, 0x10, 0xe1,
  1964. 0x6b, 0x66, 0x10, 0x7c,
  1965. };
  1966. static const unsigned char kat68_nor_nonce[] = {
  1967. 0x7e, 0x2b, 0x2a, 0x7f, 0x58, 0xf3, 0xef, 0x20,
  1968. };
  1969. static const unsigned char kat68_nor_persstr[] = {0};
  1970. static const unsigned char kat68_nor_addin0[] = {0};
  1971. static const unsigned char kat68_nor_addin1[] = {0};
  1972. static const unsigned char kat68_nor_retbytes[] = {
  1973. 0x9a, 0x76, 0x3a, 0x4c, 0x05, 0x27, 0x25, 0xe7, 0xae, 0x9d, 0x21, 0x22,
  1974. 0xa4, 0x5c, 0xd1, 0x8e, 0xa2, 0x8c, 0x58, 0x17, 0x2b, 0x87, 0xc5, 0x7e,
  1975. 0xdb, 0x9d, 0xaa, 0x32, 0xf8, 0xa2, 0x6e, 0xb9, 0x8d, 0x6b, 0x88, 0x12,
  1976. 0x09, 0x5a, 0x54, 0xcf, 0x62, 0x82, 0xc5, 0xe0, 0xfc, 0x18, 0xcd, 0x30,
  1977. 0x12, 0x44, 0x15, 0xd2, 0x67, 0xc9, 0xfc, 0x2c, 0xda, 0xe9, 0xbe, 0xed,
  1978. 0xbb, 0x86, 0x58, 0x4e,
  1979. };
  1980. static const struct drbg_kat_no_reseed kat68_nor_t = {
  1981. 7, kat68_nor_entropyin, kat68_nor_nonce, kat68_nor_persstr,
  1982. kat68_nor_addin0, kat68_nor_addin1, kat68_nor_retbytes
  1983. };
  1984. static const struct drbg_kat kat68_nor = {
  1985. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat68_nor_t
  1986. };
  1987. static const unsigned char kat69_nor_entropyin[] = {
  1988. 0xcd, 0x5d, 0xbc, 0x35, 0xd1, 0xb4, 0x43, 0x5c, 0x4c, 0x94, 0x5b, 0xaf,
  1989. 0xe4, 0xb8, 0xfc, 0x7a,
  1990. };
  1991. static const unsigned char kat69_nor_nonce[] = {
  1992. 0xaf, 0x4a, 0xcd, 0xfc, 0x81, 0x19, 0x32, 0x2c,
  1993. };
  1994. static const unsigned char kat69_nor_persstr[] = {0};
  1995. static const unsigned char kat69_nor_addin0[] = {0};
  1996. static const unsigned char kat69_nor_addin1[] = {0};
  1997. static const unsigned char kat69_nor_retbytes[] = {
  1998. 0xfe, 0x67, 0x82, 0x99, 0xf1, 0xad, 0xe1, 0x96, 0x21, 0x88, 0x02, 0x35,
  1999. 0xfa, 0x6f, 0xe2, 0xb5, 0x01, 0x84, 0xf8, 0x12, 0x43, 0x83, 0x3e, 0xbe,
  2000. 0x68, 0xc6, 0x16, 0xa9, 0x03, 0x4e, 0x23, 0xe0, 0xcc, 0x87, 0x3e, 0x8a,
  2001. 0xc4, 0xd0, 0xe3, 0x65, 0xb5, 0x24, 0xa3, 0x78, 0x32, 0xb5, 0x2d, 0x97,
  2002. 0xa8, 0x38, 0x62, 0x93, 0x24, 0x91, 0xd2, 0x64, 0x3a, 0x73, 0xe4, 0x6a,
  2003. 0x80, 0xb5, 0x14, 0x9c,
  2004. };
  2005. static const struct drbg_kat_no_reseed kat69_nor_t = {
  2006. 8, kat69_nor_entropyin, kat69_nor_nonce, kat69_nor_persstr,
  2007. kat69_nor_addin0, kat69_nor_addin1, kat69_nor_retbytes
  2008. };
  2009. static const struct drbg_kat kat69_nor = {
  2010. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat69_nor_t
  2011. };
  2012. static const unsigned char kat70_nor_entropyin[] = {
  2013. 0xd5, 0x2d, 0x11, 0x59, 0x78, 0x7b, 0xaa, 0xb2, 0x13, 0xe8, 0x79, 0x21,
  2014. 0xfd, 0x95, 0x91, 0x10,
  2015. };
  2016. static const unsigned char kat70_nor_nonce[] = {
  2017. 0x7a, 0xb3, 0x75, 0x38, 0xee, 0x02, 0x45, 0xc8,
  2018. };
  2019. static const unsigned char kat70_nor_persstr[] = {0};
  2020. static const unsigned char kat70_nor_addin0[] = {0};
  2021. static const unsigned char kat70_nor_addin1[] = {0};
  2022. static const unsigned char kat70_nor_retbytes[] = {
  2023. 0xf4, 0xd9, 0xea, 0xd3, 0x59, 0x46, 0x06, 0xac, 0x51, 0x94, 0x22, 0x15,
  2024. 0xaa, 0x0b, 0xd2, 0x9b, 0xaa, 0x7c, 0x28, 0x1e, 0x62, 0xd2, 0xbc, 0xc1,
  2025. 0xa7, 0x7f, 0x57, 0xe3, 0x59, 0x66, 0x83, 0x19, 0x9d, 0x70, 0xc0, 0x09,
  2026. 0xc0, 0x84, 0xeb, 0x36, 0x54, 0x22, 0x4e, 0xd7, 0xb0, 0x7a, 0x09, 0xb4,
  2027. 0x94, 0x48, 0x0a, 0x11, 0x3b, 0x33, 0xe0, 0x36, 0x6c, 0xb2, 0x25, 0x3e,
  2028. 0xdb, 0xb0, 0xcb, 0x5e,
  2029. };
  2030. static const struct drbg_kat_no_reseed kat70_nor_t = {
  2031. 9, kat70_nor_entropyin, kat70_nor_nonce, kat70_nor_persstr,
  2032. kat70_nor_addin0, kat70_nor_addin1, kat70_nor_retbytes
  2033. };
  2034. static const struct drbg_kat kat70_nor = {
  2035. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat70_nor_t
  2036. };
  2037. static const unsigned char kat71_nor_entropyin[] = {
  2038. 0x51, 0x10, 0xdb, 0x9d, 0x5f, 0x4f, 0xbd, 0xc0, 0x37, 0x55, 0x0e, 0x83,
  2039. 0xc2, 0xbd, 0x96, 0xfe,
  2040. };
  2041. static const unsigned char kat71_nor_nonce[] = {
  2042. 0xde, 0xe6, 0x41, 0xf9, 0x17, 0x7c, 0x9d, 0xa4,
  2043. };
  2044. static const unsigned char kat71_nor_persstr[] = {0};
  2045. static const unsigned char kat71_nor_addin0[] = {0};
  2046. static const unsigned char kat71_nor_addin1[] = {0};
  2047. static const unsigned char kat71_nor_retbytes[] = {
  2048. 0x05, 0xf8, 0xca, 0xd2, 0xd0, 0x31, 0xce, 0x6b, 0x52, 0x7e, 0xe0, 0x43,
  2049. 0xb5, 0x05, 0x6d, 0xb2, 0x0e, 0xe5, 0xca, 0x66, 0x0a, 0x95, 0xc2, 0x9b,
  2050. 0x8f, 0x8b, 0x2e, 0x43, 0xef, 0xa5, 0xc7, 0xaa, 0x62, 0x35, 0x12, 0x33,
  2051. 0xf4, 0xf1, 0x60, 0x36, 0x8c, 0x3d, 0xad, 0x4a, 0x74, 0xf4, 0x71, 0xbb,
  2052. 0x02, 0x15, 0x3f, 0x86, 0xc8, 0x7a, 0x14, 0x0a, 0x36, 0xe0, 0xf1, 0x22,
  2053. 0xc6, 0x8b, 0xa7, 0x7d,
  2054. };
  2055. static const struct drbg_kat_no_reseed kat71_nor_t = {
  2056. 10, kat71_nor_entropyin, kat71_nor_nonce, kat71_nor_persstr,
  2057. kat71_nor_addin0, kat71_nor_addin1, kat71_nor_retbytes
  2058. };
  2059. static const struct drbg_kat kat71_nor = {
  2060. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat71_nor_t
  2061. };
  2062. static const unsigned char kat72_nor_entropyin[] = {
  2063. 0x97, 0x90, 0x65, 0xbc, 0x1a, 0x1c, 0x8c, 0x82, 0x90, 0xdd, 0xe2, 0x19,
  2064. 0xf0, 0x12, 0x1a, 0xbe,
  2065. };
  2066. static const unsigned char kat72_nor_nonce[] = {
  2067. 0x59, 0x3a, 0x0e, 0x1f, 0xa9, 0x85, 0x64, 0xa3,
  2068. };
  2069. static const unsigned char kat72_nor_persstr[] = {0};
  2070. static const unsigned char kat72_nor_addin0[] = {0};
  2071. static const unsigned char kat72_nor_addin1[] = {0};
  2072. static const unsigned char kat72_nor_retbytes[] = {
  2073. 0x19, 0x9e, 0x68, 0xe5, 0xb6, 0x37, 0xa2, 0x7b, 0xe7, 0x94, 0x53, 0xd9,
  2074. 0x95, 0x3a, 0x0e, 0x52, 0x95, 0x36, 0x37, 0x4e, 0x7f, 0x63, 0xe8, 0x59,
  2075. 0x5a, 0xfe, 0x4b, 0x5d, 0x4e, 0x3b, 0xb3, 0x79, 0xc6, 0xd4, 0x62, 0xf6,
  2076. 0x43, 0x12, 0x44, 0xaf, 0x43, 0x36, 0xb1, 0x7f, 0x9d, 0xfd, 0xfe, 0xaf,
  2077. 0xa6, 0xf4, 0xff, 0xf5, 0x00, 0x4a, 0xa6, 0x5f, 0x7d, 0x6b, 0xb3, 0xb8,
  2078. 0x8a, 0xf8, 0xe9, 0xe2,
  2079. };
  2080. static const struct drbg_kat_no_reseed kat72_nor_t = {
  2081. 11, kat72_nor_entropyin, kat72_nor_nonce, kat72_nor_persstr,
  2082. kat72_nor_addin0, kat72_nor_addin1, kat72_nor_retbytes
  2083. };
  2084. static const struct drbg_kat kat72_nor = {
  2085. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat72_nor_t
  2086. };
  2087. static const unsigned char kat73_nor_entropyin[] = {
  2088. 0x89, 0xa7, 0x87, 0xbe, 0x64, 0xba, 0x33, 0x58, 0x95, 0x2f, 0x9d, 0x60,
  2089. 0x2b, 0xd8, 0xfa, 0xb4,
  2090. };
  2091. static const unsigned char kat73_nor_nonce[] = {
  2092. 0xab, 0x96, 0x1b, 0x68, 0xc6, 0x58, 0x92, 0xd3,
  2093. };
  2094. static const unsigned char kat73_nor_persstr[] = {0};
  2095. static const unsigned char kat73_nor_addin0[] = {0};
  2096. static const unsigned char kat73_nor_addin1[] = {0};
  2097. static const unsigned char kat73_nor_retbytes[] = {
  2098. 0x6e, 0x5d, 0xd2, 0xa6, 0x51, 0xf2, 0x61, 0x4f, 0xca, 0x88, 0x1f, 0x5e,
  2099. 0xdb, 0x05, 0xd5, 0xee, 0xc6, 0x12, 0x75, 0xdd, 0x05, 0xb3, 0x1f, 0xd8,
  2100. 0xa3, 0x06, 0x2f, 0xac, 0x51, 0x59, 0x60, 0xde, 0xf7, 0xb0, 0xd4, 0xdb,
  2101. 0x30, 0x4f, 0x64, 0x2b, 0x91, 0xe6, 0x40, 0x1f, 0x2a, 0x00, 0xb0, 0xfb,
  2102. 0x69, 0x3e, 0xdd, 0x73, 0x13, 0x10, 0x2f, 0x58, 0xd7, 0x33, 0x02, 0xea,
  2103. 0x8b, 0x5a, 0x9d, 0x7a,
  2104. };
  2105. static const struct drbg_kat_no_reseed kat73_nor_t = {
  2106. 12, kat73_nor_entropyin, kat73_nor_nonce, kat73_nor_persstr,
  2107. kat73_nor_addin0, kat73_nor_addin1, kat73_nor_retbytes
  2108. };
  2109. static const struct drbg_kat kat73_nor = {
  2110. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat73_nor_t
  2111. };
  2112. static const unsigned char kat74_nor_entropyin[] = {
  2113. 0x21, 0xf0, 0x2f, 0xc7, 0x5a, 0x28, 0x2d, 0x7f, 0x87, 0xca, 0xb0, 0x57,
  2114. 0x67, 0x55, 0x8e, 0x08,
  2115. };
  2116. static const unsigned char kat74_nor_nonce[] = {
  2117. 0x3b, 0x43, 0xd7, 0x7b, 0x0c, 0x64, 0x71, 0xe9,
  2118. };
  2119. static const unsigned char kat74_nor_persstr[] = {0};
  2120. static const unsigned char kat74_nor_addin0[] = {0};
  2121. static const unsigned char kat74_nor_addin1[] = {0};
  2122. static const unsigned char kat74_nor_retbytes[] = {
  2123. 0x3b, 0x87, 0x09, 0xce, 0xfe, 0x27, 0x06, 0x27, 0xeb, 0x49, 0x47, 0xf3,
  2124. 0xc7, 0x69, 0x5e, 0xed, 0x2c, 0x85, 0xcc, 0x15, 0x25, 0xbe, 0x25, 0x3f,
  2125. 0x20, 0x0a, 0x44, 0xad, 0x55, 0xf7, 0x58, 0x3e, 0x10, 0x91, 0xb8, 0x80,
  2126. 0xee, 0x16, 0xa8, 0x08, 0xe9, 0x0d, 0xc1, 0xdd, 0x5c, 0x0e, 0xd3, 0xb8,
  2127. 0xd1, 0x96, 0x40, 0x76, 0x61, 0xde, 0x80, 0x61, 0xf6, 0xa2, 0xd7, 0x8c,
  2128. 0xdc, 0x93, 0x42, 0x9d,
  2129. };
  2130. static const struct drbg_kat_no_reseed kat74_nor_t = {
  2131. 13, kat74_nor_entropyin, kat74_nor_nonce, kat74_nor_persstr,
  2132. kat74_nor_addin0, kat74_nor_addin1, kat74_nor_retbytes
  2133. };
  2134. static const struct drbg_kat kat74_nor = {
  2135. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat74_nor_t
  2136. };
  2137. static const unsigned char kat75_nor_entropyin[] = {
  2138. 0xdf, 0x5b, 0x1c, 0xd5, 0x10, 0x45, 0xc8, 0x38, 0x01, 0x53, 0x24, 0x49,
  2139. 0xd6, 0xa8, 0x7a, 0xed,
  2140. };
  2141. static const unsigned char kat75_nor_nonce[] = {
  2142. 0x8d, 0xd1, 0x72, 0xb8, 0x12, 0x86, 0xa2, 0x38,
  2143. };
  2144. static const unsigned char kat75_nor_persstr[] = {0};
  2145. static const unsigned char kat75_nor_addin0[] = {0};
  2146. static const unsigned char kat75_nor_addin1[] = {0};
  2147. static const unsigned char kat75_nor_retbytes[] = {
  2148. 0xf0, 0x17, 0x2b, 0x3a, 0x5b, 0x42, 0xea, 0xd6, 0xe6, 0x54, 0xd3, 0xab,
  2149. 0xc7, 0x8d, 0xda, 0x08, 0x78, 0x0e, 0xa4, 0x32, 0x23, 0x62, 0x57, 0x07,
  2150. 0xf8, 0xab, 0x02, 0x1b, 0xef, 0x54, 0x12, 0xdb, 0x89, 0xb0, 0x89, 0xcf,
  2151. 0x75, 0x11, 0x78, 0xeb, 0x1b, 0x97, 0xbe, 0x13, 0xf5, 0xe8, 0x3b, 0x9f,
  2152. 0x10, 0x76, 0xd0, 0xfc, 0x88, 0xe6, 0xbb, 0xd6, 0xee, 0xf1, 0xef, 0x63,
  2153. 0x55, 0xe3, 0x67, 0x2b,
  2154. };
  2155. static const struct drbg_kat_no_reseed kat75_nor_t = {
  2156. 14, kat75_nor_entropyin, kat75_nor_nonce, kat75_nor_persstr,
  2157. kat75_nor_addin0, kat75_nor_addin1, kat75_nor_retbytes
  2158. };
  2159. static const struct drbg_kat kat75_nor = {
  2160. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat75_nor_t
  2161. };
  2162. static const unsigned char kat76_nor_entropyin[] = {
  2163. 0xad, 0xf5, 0x71, 0x1f, 0x93, 0xd8, 0xc8, 0x99, 0x73, 0x49, 0x42, 0x9c,
  2164. 0xca, 0xed, 0xae, 0x0a,
  2165. };
  2166. static const unsigned char kat76_nor_nonce[] = {
  2167. 0xb2, 0x57, 0x16, 0x93, 0x1b, 0x6e, 0x3c, 0xc1,
  2168. };
  2169. static const unsigned char kat76_nor_persstr[] = {0};
  2170. static const unsigned char kat76_nor_addin0[] = {
  2171. 0xab, 0xf8, 0xcd, 0x66, 0xdd, 0x39, 0x75, 0x8b, 0x01, 0xd7, 0xdb, 0xb9,
  2172. 0x9a, 0xb1, 0x7d, 0xc3,
  2173. };
  2174. static const unsigned char kat76_nor_addin1[] = {
  2175. 0x4b, 0xe0, 0xf6, 0xb2, 0x75, 0x53, 0x77, 0xc6, 0xe8, 0x81, 0xfb, 0xb2,
  2176. 0x61, 0xb5, 0x6b, 0xeb,
  2177. };
  2178. static const unsigned char kat76_nor_retbytes[] = {
  2179. 0xd4, 0x20, 0x60, 0x4d, 0xee, 0x64, 0x67, 0x49, 0x2d, 0xb5, 0x95, 0x7c,
  2180. 0x86, 0x20, 0x7a, 0x70, 0x8f, 0xd2, 0x42, 0xed, 0x67, 0x94, 0x2a, 0xed,
  2181. 0x29, 0x94, 0x25, 0x33, 0x5c, 0x83, 0xb4, 0x14, 0x37, 0x41, 0x85, 0x82,
  2182. 0xf4, 0x1b, 0xc7, 0xfc, 0x0e, 0xf0, 0xd6, 0x92, 0x7f, 0x34, 0xd8, 0x3a,
  2183. 0xcd, 0x67, 0xc7, 0x01, 0x33, 0x64, 0x4f, 0xd7, 0x11, 0xdd, 0x5a, 0x65,
  2184. 0x73, 0x1f, 0x9f, 0x02,
  2185. };
  2186. static const struct drbg_kat_no_reseed kat76_nor_t = {
  2187. 0, kat76_nor_entropyin, kat76_nor_nonce, kat76_nor_persstr,
  2188. kat76_nor_addin0, kat76_nor_addin1, kat76_nor_retbytes
  2189. };
  2190. static const struct drbg_kat kat76_nor = {
  2191. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat76_nor_t
  2192. };
  2193. static const unsigned char kat77_nor_entropyin[] = {
  2194. 0xe9, 0x21, 0x00, 0x02, 0x07, 0x34, 0x90, 0x9d, 0x61, 0x09, 0xd2, 0x9c,
  2195. 0xf2, 0xc8, 0x98, 0xb0,
  2196. };
  2197. static const unsigned char kat77_nor_nonce[] = {
  2198. 0x91, 0xfb, 0xd9, 0xa3, 0xa8, 0xed, 0xc3, 0xa4,
  2199. };
  2200. static const unsigned char kat77_nor_persstr[] = {0};
  2201. static const unsigned char kat77_nor_addin0[] = {
  2202. 0x09, 0x80, 0xc7, 0xdb, 0xcf, 0xd0, 0xe7, 0xf7, 0x7a, 0xf8, 0x35, 0xac,
  2203. 0xc7, 0x4a, 0x4b, 0xa3,
  2204. };
  2205. static const unsigned char kat77_nor_addin1[] = {
  2206. 0x3c, 0xbf, 0x47, 0xd4, 0x66, 0x55, 0xa0, 0xce, 0x75, 0xa5, 0xd5, 0x65,
  2207. 0x28, 0x12, 0x7b, 0xc0,
  2208. };
  2209. static const unsigned char kat77_nor_retbytes[] = {
  2210. 0xe7, 0x7c, 0xcc, 0x52, 0x63, 0x62, 0x54, 0x29, 0xce, 0x7e, 0x53, 0x56,
  2211. 0x22, 0x48, 0x1d, 0x0b, 0xef, 0x47, 0x61, 0x41, 0xd1, 0xa0, 0xab, 0xfa,
  2212. 0x7f, 0x69, 0x67, 0xc1, 0x1f, 0x47, 0xf7, 0xa7, 0x0f, 0xa9, 0xbc, 0x70,
  2213. 0x59, 0x8e, 0xce, 0x3f, 0xf2, 0x83, 0xe5, 0xae, 0x04, 0xf1, 0x05, 0x35,
  2214. 0xd3, 0x49, 0xc2, 0x31, 0x34, 0x9a, 0xf8, 0x07, 0x1a, 0x22, 0x32, 0x3a,
  2215. 0x6e, 0x95, 0x10, 0x39,
  2216. };
  2217. static const struct drbg_kat_no_reseed kat77_nor_t = {
  2218. 1, kat77_nor_entropyin, kat77_nor_nonce, kat77_nor_persstr,
  2219. kat77_nor_addin0, kat77_nor_addin1, kat77_nor_retbytes
  2220. };
  2221. static const struct drbg_kat kat77_nor = {
  2222. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat77_nor_t
  2223. };
  2224. static const unsigned char kat78_nor_entropyin[] = {
  2225. 0x09, 0x2f, 0xfe, 0x74, 0x57, 0xd6, 0x17, 0x3e, 0x67, 0x13, 0xb0, 0xaf,
  2226. 0x76, 0x52, 0x1d, 0x82,
  2227. };
  2228. static const unsigned char kat78_nor_nonce[] = {
  2229. 0xd0, 0xb8, 0xca, 0xe6, 0xab, 0x9e, 0x29, 0xac,
  2230. };
  2231. static const unsigned char kat78_nor_persstr[] = {0};
  2232. static const unsigned char kat78_nor_addin0[] = {
  2233. 0xe3, 0x1a, 0xf5, 0xe1, 0x81, 0xc4, 0x34, 0x6e, 0x42, 0x3e, 0xbc, 0x1f,
  2234. 0xf9, 0xf4, 0x6d, 0xdd,
  2235. };
  2236. static const unsigned char kat78_nor_addin1[] = {
  2237. 0x02, 0xb9, 0x49, 0xd1, 0x34, 0xfc, 0x89, 0x68, 0xba, 0x51, 0x8f, 0xda,
  2238. 0x3b, 0x42, 0xc9, 0x7f,
  2239. };
  2240. static const unsigned char kat78_nor_retbytes[] = {
  2241. 0x0b, 0x64, 0xd9, 0xc6, 0x1d, 0x1f, 0x23, 0x44, 0x0c, 0xe5, 0x7d, 0xbf,
  2242. 0x46, 0x5f, 0x8c, 0x62, 0x9a, 0x9f, 0xfe, 0xdd, 0x16, 0x43, 0x99, 0xab,
  2243. 0x84, 0xfc, 0x11, 0x84, 0x66, 0xa5, 0x67, 0x9b, 0xb2, 0xd9, 0xc8, 0x05,
  2244. 0xea, 0x9d, 0x29, 0x49, 0x72, 0x61, 0xea, 0x58, 0xbd, 0x8f, 0xa4, 0x5c,
  2245. 0xf2, 0x4e, 0x21, 0x2c, 0x07, 0x7b, 0xab, 0xa4, 0xd4, 0xe5, 0x73, 0x8b,
  2246. 0xb8, 0x83, 0xc8, 0x83,
  2247. };
  2248. static const struct drbg_kat_no_reseed kat78_nor_t = {
  2249. 2, kat78_nor_entropyin, kat78_nor_nonce, kat78_nor_persstr,
  2250. kat78_nor_addin0, kat78_nor_addin1, kat78_nor_retbytes
  2251. };
  2252. static const struct drbg_kat kat78_nor = {
  2253. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat78_nor_t
  2254. };
  2255. static const unsigned char kat79_nor_entropyin[] = {
  2256. 0xa7, 0xa4, 0x78, 0x41, 0xcf, 0x1a, 0x75, 0xee, 0x96, 0x93, 0x5f, 0x52,
  2257. 0xa3, 0x32, 0x2d, 0x9d,
  2258. };
  2259. static const unsigned char kat79_nor_nonce[] = {
  2260. 0x5b, 0x48, 0xc3, 0xc3, 0x47, 0x39, 0x46, 0x56,
  2261. };
  2262. static const unsigned char kat79_nor_persstr[] = {0};
  2263. static const unsigned char kat79_nor_addin0[] = {
  2264. 0xaa, 0xc2, 0x03, 0x1f, 0x6a, 0xa4, 0x0f, 0x08, 0x75, 0x49, 0x33, 0x70,
  2265. 0x92, 0x7c, 0x7c, 0xa8,
  2266. };
  2267. static const unsigned char kat79_nor_addin1[] = {
  2268. 0x1a, 0x67, 0x44, 0xd0, 0x3f, 0xc2, 0x15, 0x12, 0x94, 0x70, 0x7c, 0x3b,
  2269. 0xce, 0xa8, 0x84, 0x02,
  2270. };
  2271. static const unsigned char kat79_nor_retbytes[] = {
  2272. 0xb4, 0x67, 0x48, 0x67, 0xcb, 0x6c, 0xd4, 0xfa, 0xde, 0x78, 0x46, 0xf4,
  2273. 0x92, 0xbd, 0x9e, 0xca, 0x69, 0xc1, 0x33, 0xf1, 0x17, 0x1c, 0xc6, 0x0b,
  2274. 0x6c, 0xd7, 0x5f, 0x22, 0xe2, 0xba, 0x7e, 0x70, 0x20, 0x7c, 0xa3, 0x8b,
  2275. 0xdc, 0xef, 0x17, 0xac, 0x15, 0xe4, 0x88, 0x49, 0xba, 0x13, 0x0d, 0x5f,
  2276. 0xb8, 0x10, 0x84, 0x4c, 0x25, 0x39, 0xfe, 0xc5, 0x19, 0xc4, 0xfa, 0x97,
  2277. 0x7f, 0xfa, 0x07, 0x38,
  2278. };
  2279. static const struct drbg_kat_no_reseed kat79_nor_t = {
  2280. 3, kat79_nor_entropyin, kat79_nor_nonce, kat79_nor_persstr,
  2281. kat79_nor_addin0, kat79_nor_addin1, kat79_nor_retbytes
  2282. };
  2283. static const struct drbg_kat kat79_nor = {
  2284. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat79_nor_t
  2285. };
  2286. static const unsigned char kat80_nor_entropyin[] = {
  2287. 0x52, 0x89, 0xc3, 0x33, 0xce, 0x1c, 0xee, 0xf5, 0x6a, 0x19, 0xa1, 0x11,
  2288. 0xe9, 0x20, 0x1a, 0x38,
  2289. };
  2290. static const unsigned char kat80_nor_nonce[] = {
  2291. 0xdb, 0xd6, 0xb7, 0x6b, 0x1f, 0xdf, 0x5d, 0x1b,
  2292. };
  2293. static const unsigned char kat80_nor_persstr[] = {0};
  2294. static const unsigned char kat80_nor_addin0[] = {
  2295. 0xf1, 0xfa, 0x6e, 0xc8, 0xca, 0xf9, 0x4f, 0x65, 0xf1, 0x2e, 0x9c, 0x0d,
  2296. 0x8f, 0x57, 0x04, 0xf6,
  2297. };
  2298. static const unsigned char kat80_nor_addin1[] = {
  2299. 0x6e, 0xb6, 0xa5, 0x57, 0xf1, 0x70, 0x18, 0x83, 0x0b, 0x5d, 0x72, 0xb6,
  2300. 0x7d, 0x32, 0x22, 0x63,
  2301. };
  2302. static const unsigned char kat80_nor_retbytes[] = {
  2303. 0x39, 0xec, 0x96, 0xbc, 0x71, 0x6e, 0x1d, 0x21, 0x48, 0x80, 0xd1, 0xf4,
  2304. 0xb8, 0xa9, 0x84, 0xbb, 0x83, 0x39, 0x94, 0x53, 0xec, 0x1e, 0xb9, 0xf3,
  2305. 0x71, 0x28, 0x2d, 0x65, 0x8e, 0x32, 0xd7, 0x39, 0xb4, 0x89, 0xf4, 0xc5,
  2306. 0xee, 0xae, 0x62, 0xa8, 0xfe, 0xe8, 0xe0, 0x84, 0xee, 0xae, 0x6d, 0x01,
  2307. 0xcc, 0xa0, 0xad, 0x80, 0xda, 0x1c, 0x53, 0x23, 0x0f, 0x8a, 0x1f, 0xaf,
  2308. 0x7c, 0x33, 0x5e, 0xdf,
  2309. };
  2310. static const struct drbg_kat_no_reseed kat80_nor_t = {
  2311. 4, kat80_nor_entropyin, kat80_nor_nonce, kat80_nor_persstr,
  2312. kat80_nor_addin0, kat80_nor_addin1, kat80_nor_retbytes
  2313. };
  2314. static const struct drbg_kat kat80_nor = {
  2315. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat80_nor_t
  2316. };
  2317. static const unsigned char kat81_nor_entropyin[] = {
  2318. 0x4f, 0x05, 0xef, 0x26, 0xc6, 0x85, 0x44, 0x4d, 0x6e, 0x65, 0xd8, 0xf2,
  2319. 0x6e, 0x0f, 0x2e, 0xf2,
  2320. };
  2321. static const unsigned char kat81_nor_nonce[] = {
  2322. 0xd0, 0xab, 0x06, 0x6c, 0x7a, 0x49, 0x03, 0xb7,
  2323. };
  2324. static const unsigned char kat81_nor_persstr[] = {0};
  2325. static const unsigned char kat81_nor_addin0[] = {
  2326. 0xd2, 0x75, 0x42, 0x60, 0x43, 0xa8, 0x2d, 0xe2, 0x0f, 0x89, 0xf1, 0xcb,
  2327. 0x2c, 0xff, 0x5c, 0x9b,
  2328. };
  2329. static const unsigned char kat81_nor_addin1[] = {
  2330. 0x02, 0xa3, 0x27, 0x63, 0xed, 0x9a, 0xab, 0x16, 0x72, 0x82, 0xd0, 0xa0,
  2331. 0x97, 0xf3, 0x10, 0x3e,
  2332. };
  2333. static const unsigned char kat81_nor_retbytes[] = {
  2334. 0xaf, 0xa2, 0xd3, 0x7c, 0xc1, 0xc7, 0x9d, 0x20, 0xa6, 0x10, 0x4d, 0x67,
  2335. 0x29, 0xfc, 0x75, 0x44, 0x36, 0x1b, 0x95, 0xd2, 0x36, 0x33, 0x48, 0x7e,
  2336. 0x8b, 0xb2, 0x82, 0xb2, 0x77, 0xe2, 0x5f, 0x8a, 0xd5, 0x31, 0x36, 0x10,
  2337. 0x9b, 0x21, 0xc3, 0x80, 0xaa, 0x05, 0xe4, 0x1d, 0xd9, 0xef, 0xd8, 0xad,
  2338. 0xf4, 0x6b, 0x7d, 0x69, 0x5b, 0xba, 0xf5, 0xb0, 0x30, 0x72, 0x16, 0xa1,
  2339. 0x94, 0xfd, 0x91, 0x28,
  2340. };
  2341. static const struct drbg_kat_no_reseed kat81_nor_t = {
  2342. 5, kat81_nor_entropyin, kat81_nor_nonce, kat81_nor_persstr,
  2343. kat81_nor_addin0, kat81_nor_addin1, kat81_nor_retbytes
  2344. };
  2345. static const struct drbg_kat kat81_nor = {
  2346. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat81_nor_t
  2347. };
  2348. static const unsigned char kat82_nor_entropyin[] = {
  2349. 0x0c, 0x2c, 0xcf, 0xd6, 0x5c, 0x23, 0xbc, 0x06, 0x93, 0xc9, 0xd4, 0x66,
  2350. 0x7a, 0x94, 0x2b, 0x42,
  2351. };
  2352. static const unsigned char kat82_nor_nonce[] = {
  2353. 0xc0, 0x8d, 0x55, 0x22, 0x8f, 0xe8, 0x4b, 0xd7,
  2354. };
  2355. static const unsigned char kat82_nor_persstr[] = {0};
  2356. static const unsigned char kat82_nor_addin0[] = {
  2357. 0xcc, 0x01, 0x7b, 0xb7, 0x96, 0x2d, 0xa6, 0xdb, 0x0f, 0x51, 0x7b, 0xe9,
  2358. 0x18, 0x3f, 0xa6, 0xf4,
  2359. };
  2360. static const unsigned char kat82_nor_addin1[] = {
  2361. 0xc4, 0x24, 0xaa, 0x0c, 0xe8, 0x4a, 0x80, 0x7a, 0x78, 0xb7, 0xb7, 0x32,
  2362. 0x11, 0x3c, 0x22, 0xa1,
  2363. };
  2364. static const unsigned char kat82_nor_retbytes[] = {
  2365. 0xcb, 0x55, 0x6f, 0x6d, 0x22, 0x3a, 0x51, 0xa2, 0x00, 0xd7, 0x35, 0xf2,
  2366. 0xf4, 0xba, 0x21, 0x7a, 0x67, 0x2e, 0xf6, 0xbc, 0x14, 0x51, 0x97, 0x6d,
  2367. 0x1d, 0x05, 0xb4, 0x4a, 0x2c, 0x0d, 0x54, 0x27, 0x8a, 0xf7, 0x47, 0x83,
  2368. 0x79, 0x22, 0xcd, 0x0b, 0x28, 0xd7, 0xaa, 0xa2, 0xa8, 0x7e, 0x23, 0x05,
  2369. 0x5e, 0x18, 0xd6, 0x7d, 0x76, 0xfa, 0x90, 0x72, 0x82, 0x94, 0xab, 0xa4,
  2370. 0xac, 0x36, 0x96, 0x5e,
  2371. };
  2372. static const struct drbg_kat_no_reseed kat82_nor_t = {
  2373. 6, kat82_nor_entropyin, kat82_nor_nonce, kat82_nor_persstr,
  2374. kat82_nor_addin0, kat82_nor_addin1, kat82_nor_retbytes
  2375. };
  2376. static const struct drbg_kat kat82_nor = {
  2377. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat82_nor_t
  2378. };
  2379. static const unsigned char kat83_nor_entropyin[] = {
  2380. 0x3b, 0x74, 0x81, 0x3e, 0xeb, 0xf5, 0xf5, 0xf2, 0xa6, 0xa5, 0xa4, 0xf3,
  2381. 0xf9, 0x07, 0xdc, 0xb8,
  2382. };
  2383. static const unsigned char kat83_nor_nonce[] = {
  2384. 0x35, 0xda, 0xa2, 0xef, 0xda, 0xd8, 0x8f, 0xb8,
  2385. };
  2386. static const unsigned char kat83_nor_persstr[] = {0};
  2387. static const unsigned char kat83_nor_addin0[] = {
  2388. 0x5e, 0x0a, 0xe3, 0x69, 0xb6, 0xe8, 0x50, 0xed, 0x30, 0xf9, 0xae, 0x64,
  2389. 0xfe, 0x10, 0x5a, 0xf3,
  2390. };
  2391. static const unsigned char kat83_nor_addin1[] = {
  2392. 0x3e, 0x69, 0x7b, 0xb2, 0xbf, 0x25, 0x85, 0x26, 0x45, 0xf2, 0xd1, 0x6f,
  2393. 0x67, 0x6f, 0x90, 0x78,
  2394. };
  2395. static const unsigned char kat83_nor_retbytes[] = {
  2396. 0x79, 0x0b, 0x1f, 0x6c, 0xcd, 0xf3, 0x52, 0xde, 0xc0, 0xe5, 0x7f, 0xa0,
  2397. 0xc7, 0x72, 0xc6, 0x4d, 0x77, 0x77, 0xe4, 0xbd, 0xb9, 0xff, 0x8a, 0x91,
  2398. 0xda, 0x01, 0x89, 0x02, 0x20, 0x3d, 0xb5, 0x82, 0xf9, 0x01, 0xc2, 0x0d,
  2399. 0xd2, 0x53, 0x61, 0xdf, 0x22, 0xe7, 0x17, 0x12, 0xa4, 0x97, 0x57, 0x8d,
  2400. 0x22, 0xee, 0xa8, 0x52, 0x46, 0xce, 0xfd, 0x42, 0x5b, 0x08, 0xf1, 0x50,
  2401. 0x74, 0x34, 0x1f, 0x39,
  2402. };
  2403. static const struct drbg_kat_no_reseed kat83_nor_t = {
  2404. 7, kat83_nor_entropyin, kat83_nor_nonce, kat83_nor_persstr,
  2405. kat83_nor_addin0, kat83_nor_addin1, kat83_nor_retbytes
  2406. };
  2407. static const struct drbg_kat kat83_nor = {
  2408. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat83_nor_t
  2409. };
  2410. static const unsigned char kat84_nor_entropyin[] = {
  2411. 0x46, 0x26, 0x07, 0xb2, 0xb7, 0x7b, 0x90, 0x3f, 0xdb, 0xd4, 0x2b, 0xf1,
  2412. 0xd7, 0x7b, 0xc8, 0x1a,
  2413. };
  2414. static const unsigned char kat84_nor_nonce[] = {
  2415. 0xb5, 0x4d, 0x43, 0x00, 0x6a, 0xde, 0x2a, 0x7c,
  2416. };
  2417. static const unsigned char kat84_nor_persstr[] = {0};
  2418. static const unsigned char kat84_nor_addin0[] = {
  2419. 0x61, 0x05, 0xc5, 0xdd, 0xed, 0xcc, 0x74, 0x46, 0x65, 0x91, 0x5e, 0xbe,
  2420. 0x48, 0xad, 0x3b, 0x54,
  2421. };
  2422. static const unsigned char kat84_nor_addin1[] = {
  2423. 0xfd, 0xde, 0xe2, 0x35, 0xc3, 0x7e, 0xd4, 0xbc, 0x21, 0xea, 0xe0, 0x8e,
  2424. 0x61, 0x53, 0x33, 0x1f,
  2425. };
  2426. static const unsigned char kat84_nor_retbytes[] = {
  2427. 0x16, 0x33, 0x9e, 0x91, 0x0e, 0xaf, 0x9b, 0xad, 0x90, 0x4a, 0x7b, 0x3f,
  2428. 0x9b, 0x2e, 0x02, 0x41, 0xd2, 0xb4, 0x66, 0x5d, 0x1f, 0x9c, 0x76, 0x55,
  2429. 0xf9, 0x21, 0x7e, 0x34, 0x25, 0x3a, 0xcc, 0x33, 0x0d, 0xfc, 0x98, 0x81,
  2430. 0x7d, 0x97, 0x81, 0x86, 0xf8, 0xad, 0x77, 0xb1, 0x0f, 0x38, 0xdd, 0x72,
  2431. 0xf4, 0x71, 0xb4, 0x61, 0x5b, 0x28, 0xf3, 0xa3, 0x9c, 0x40, 0x66, 0x23,
  2432. 0xea, 0x5d, 0x63, 0x77,
  2433. };
  2434. static const struct drbg_kat_no_reseed kat84_nor_t = {
  2435. 8, kat84_nor_entropyin, kat84_nor_nonce, kat84_nor_persstr,
  2436. kat84_nor_addin0, kat84_nor_addin1, kat84_nor_retbytes
  2437. };
  2438. static const struct drbg_kat kat84_nor = {
  2439. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat84_nor_t
  2440. };
  2441. static const unsigned char kat85_nor_entropyin[] = {
  2442. 0xba, 0x2e, 0xa9, 0x9b, 0x79, 0x2b, 0xde, 0xe8, 0xbd, 0xba, 0xf9, 0xc0,
  2443. 0x5a, 0xb7, 0xb6, 0x33,
  2444. };
  2445. static const unsigned char kat85_nor_nonce[] = {
  2446. 0x44, 0x53, 0x34, 0x46, 0x44, 0xd4, 0x34, 0xa5,
  2447. };
  2448. static const unsigned char kat85_nor_persstr[] = {0};
  2449. static const unsigned char kat85_nor_addin0[] = {
  2450. 0x81, 0x72, 0x7d, 0x30, 0xd6, 0x4a, 0xe0, 0x7f, 0xf6, 0x15, 0x69, 0xfc,
  2451. 0x7a, 0x35, 0x0c, 0xcc,
  2452. };
  2453. static const unsigned char kat85_nor_addin1[] = {
  2454. 0x65, 0x56, 0xf6, 0x2f, 0x75, 0xd5, 0x26, 0x84, 0x93, 0xcc, 0xa5, 0x12,
  2455. 0x01, 0x14, 0x93, 0x4c,
  2456. };
  2457. static const unsigned char kat85_nor_retbytes[] = {
  2458. 0x2a, 0x3b, 0x39, 0x87, 0x02, 0xbc, 0x5f, 0xff, 0xd9, 0x14, 0xf9, 0x16,
  2459. 0x72, 0xaa, 0x05, 0xbe, 0xb6, 0x87, 0x82, 0xe0, 0xa6, 0x22, 0xf6, 0x7b,
  2460. 0x21, 0x82, 0x6c, 0x23, 0x32, 0x6c, 0x50, 0x78, 0xcc, 0xda, 0x6a, 0xa3,
  2461. 0xdb, 0x01, 0x4c, 0xec, 0x56, 0xa0, 0x65, 0x63, 0x6b, 0x80, 0x57, 0xe8,
  2462. 0x12, 0xa6, 0xf4, 0xb7, 0xc6, 0xc4, 0xde, 0x6e, 0x9f, 0x06, 0xaa, 0x53,
  2463. 0x77, 0xb2, 0x8b, 0xe6,
  2464. };
  2465. static const struct drbg_kat_no_reseed kat85_nor_t = {
  2466. 9, kat85_nor_entropyin, kat85_nor_nonce, kat85_nor_persstr,
  2467. kat85_nor_addin0, kat85_nor_addin1, kat85_nor_retbytes
  2468. };
  2469. static const struct drbg_kat kat85_nor = {
  2470. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat85_nor_t
  2471. };
  2472. static const unsigned char kat86_nor_entropyin[] = {
  2473. 0x61, 0xcf, 0x4e, 0x09, 0xd9, 0xa4, 0x6a, 0xf3, 0x18, 0xc7, 0x06, 0x42,
  2474. 0x5c, 0xd3, 0x50, 0xfb,
  2475. };
  2476. static const unsigned char kat86_nor_nonce[] = {
  2477. 0x28, 0xec, 0x9c, 0x4a, 0xe9, 0x8f, 0x05, 0x74,
  2478. };
  2479. static const unsigned char kat86_nor_persstr[] = {0};
  2480. static const unsigned char kat86_nor_addin0[] = {
  2481. 0x7f, 0xc3, 0xbf, 0x8a, 0xd3, 0x3e, 0x59, 0x61, 0x74, 0x5b, 0xb2, 0xae,
  2482. 0x7c, 0x39, 0x9b, 0xa0,
  2483. };
  2484. static const unsigned char kat86_nor_addin1[] = {
  2485. 0x31, 0x35, 0x71, 0xd3, 0x0d, 0xc5, 0x90, 0x9a, 0x03, 0x38, 0x8c, 0x69,
  2486. 0x3f, 0x4e, 0xf9, 0x4c,
  2487. };
  2488. static const unsigned char kat86_nor_retbytes[] = {
  2489. 0xd2, 0x25, 0xf0, 0xc6, 0x5e, 0x9a, 0xe8, 0xc3, 0x64, 0x93, 0xb0, 0x09,
  2490. 0x47, 0x6f, 0x5a, 0x56, 0x36, 0xd4, 0x52, 0x54, 0x4c, 0xe1, 0x6b, 0x99,
  2491. 0x1c, 0x73, 0xd6, 0xea, 0xe5, 0xef, 0x5e, 0xff, 0x3b, 0x74, 0xe0, 0x03,
  2492. 0x28, 0xf8, 0x7f, 0x20, 0x30, 0xf3, 0xdf, 0x53, 0xb2, 0xfc, 0x26, 0x47,
  2493. 0xd6, 0x3a, 0x28, 0xe5, 0xc7, 0xb5, 0x83, 0x44, 0xed, 0x99, 0xc5, 0xd0,
  2494. 0xbc, 0x62, 0x93, 0xb4,
  2495. };
  2496. static const struct drbg_kat_no_reseed kat86_nor_t = {
  2497. 10, kat86_nor_entropyin, kat86_nor_nonce, kat86_nor_persstr,
  2498. kat86_nor_addin0, kat86_nor_addin1, kat86_nor_retbytes
  2499. };
  2500. static const struct drbg_kat kat86_nor = {
  2501. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat86_nor_t
  2502. };
  2503. static const unsigned char kat87_nor_entropyin[] = {
  2504. 0xdd, 0x6c, 0x7d, 0xba, 0xc4, 0xfc, 0x4c, 0x8d, 0x9c, 0x69, 0xce, 0x4d,
  2505. 0xcf, 0x43, 0xb6, 0x67,
  2506. };
  2507. static const unsigned char kat87_nor_nonce[] = {
  2508. 0x83, 0x26, 0x16, 0x1c, 0x2a, 0xac, 0x48, 0x06,
  2509. };
  2510. static const unsigned char kat87_nor_persstr[] = {0};
  2511. static const unsigned char kat87_nor_addin0[] = {
  2512. 0xcf, 0x95, 0x9f, 0x9e, 0x93, 0x89, 0x09, 0xd9, 0x5c, 0x47, 0x25, 0xdc,
  2513. 0x39, 0xd7, 0xef, 0xd7,
  2514. };
  2515. static const unsigned char kat87_nor_addin1[] = {
  2516. 0xe4, 0x37, 0xd2, 0x26, 0xc4, 0x02, 0x68, 0xcb, 0x9f, 0x63, 0x94, 0x5c,
  2517. 0xbc, 0xe5, 0x4b, 0x2d,
  2518. };
  2519. static const unsigned char kat87_nor_retbytes[] = {
  2520. 0x90, 0xdd, 0xc5, 0x3c, 0x48, 0x04, 0x1f, 0x0c, 0x45, 0x01, 0xff, 0xee,
  2521. 0x61, 0x7b, 0x3a, 0x35, 0x83, 0xcb, 0xf5, 0x1a, 0x4c, 0x45, 0xad, 0x7b,
  2522. 0xa5, 0xb3, 0xdd, 0x34, 0x65, 0xff, 0x13, 0x92, 0xbd, 0x2e, 0xb4, 0x65,
  2523. 0x1a, 0xc2, 0x2a, 0x34, 0xa0, 0xf5, 0x37, 0x72, 0x01, 0x27, 0x12, 0xf2,
  2524. 0x39, 0x31, 0xba, 0x8f, 0x0a, 0x3b, 0x74, 0xfa, 0xe0, 0xa1, 0x6b, 0xd4,
  2525. 0xa1, 0x88, 0x35, 0x13,
  2526. };
  2527. static const struct drbg_kat_no_reseed kat87_nor_t = {
  2528. 11, kat87_nor_entropyin, kat87_nor_nonce, kat87_nor_persstr,
  2529. kat87_nor_addin0, kat87_nor_addin1, kat87_nor_retbytes
  2530. };
  2531. static const struct drbg_kat kat87_nor = {
  2532. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat87_nor_t
  2533. };
  2534. static const unsigned char kat88_nor_entropyin[] = {
  2535. 0xdf, 0x4f, 0xef, 0xc1, 0xc3, 0xd4, 0x03, 0xfb, 0x17, 0x9b, 0x9b, 0x95,
  2536. 0x77, 0x53, 0x81, 0xe3,
  2537. };
  2538. static const unsigned char kat88_nor_nonce[] = {
  2539. 0xd6, 0x84, 0x83, 0xae, 0xe4, 0x2c, 0xfc, 0x00,
  2540. };
  2541. static const unsigned char kat88_nor_persstr[] = {0};
  2542. static const unsigned char kat88_nor_addin0[] = {
  2543. 0xe8, 0x77, 0xeb, 0x37, 0x51, 0xe2, 0xba, 0xfe, 0xa0, 0x33, 0xac, 0x8c,
  2544. 0xc5, 0xba, 0x66, 0xf6,
  2545. };
  2546. static const unsigned char kat88_nor_addin1[] = {
  2547. 0x79, 0x56, 0x87, 0x40, 0x22, 0xb5, 0x0a, 0xa0, 0x32, 0xba, 0xfa, 0x29,
  2548. 0xe7, 0x21, 0xf3, 0x56,
  2549. };
  2550. static const unsigned char kat88_nor_retbytes[] = {
  2551. 0x6a, 0xda, 0x06, 0x20, 0xd4, 0x29, 0xcd, 0x38, 0x75, 0x4e, 0x55, 0x9a,
  2552. 0x2e, 0xb8, 0x8c, 0x08, 0x26, 0x6c, 0xd9, 0xcb, 0xac, 0x24, 0x48, 0xb2,
  2553. 0xb8, 0xa0, 0x5d, 0x92, 0x7d, 0xa1, 0x72, 0x59, 0x19, 0x9d, 0xbc, 0xc5,
  2554. 0xeb, 0x0b, 0x7a, 0xde, 0xe6, 0x1c, 0x60, 0x74, 0xae, 0x2e, 0x7a, 0xf6,
  2555. 0xb2, 0xc9, 0xb1, 0xfd, 0x52, 0x89, 0xfb, 0xc3, 0xd9, 0xbe, 0x30, 0x85,
  2556. 0x84, 0xd0, 0xae, 0x4a,
  2557. };
  2558. static const struct drbg_kat_no_reseed kat88_nor_t = {
  2559. 12, kat88_nor_entropyin, kat88_nor_nonce, kat88_nor_persstr,
  2560. kat88_nor_addin0, kat88_nor_addin1, kat88_nor_retbytes
  2561. };
  2562. static const struct drbg_kat kat88_nor = {
  2563. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat88_nor_t
  2564. };
  2565. static const unsigned char kat89_nor_entropyin[] = {
  2566. 0x62, 0x0e, 0xa3, 0x17, 0x34, 0x4d, 0x86, 0x85, 0x8d, 0x64, 0xf6, 0xbb,
  2567. 0x05, 0xd4, 0x47, 0x97,
  2568. };
  2569. static const unsigned char kat89_nor_nonce[] = {
  2570. 0xf6, 0xdd, 0xc5, 0x84, 0x4f, 0xbd, 0x73, 0x9e,
  2571. };
  2572. static const unsigned char kat89_nor_persstr[] = {0};
  2573. static const unsigned char kat89_nor_addin0[] = {
  2574. 0x3c, 0xcf, 0xb0, 0x69, 0xef, 0x27, 0xf8, 0x64, 0xe3, 0xb7, 0x31, 0xd9,
  2575. 0x4c, 0x3f, 0x2c, 0x6c,
  2576. };
  2577. static const unsigned char kat89_nor_addin1[] = {
  2578. 0x80, 0x85, 0x7d, 0x3f, 0x59, 0x8b, 0x1b, 0x16, 0x01, 0x4e, 0x6a, 0x35,
  2579. 0x49, 0xa2, 0xd2, 0x2c,
  2580. };
  2581. static const unsigned char kat89_nor_retbytes[] = {
  2582. 0xd7, 0xa7, 0x87, 0xbe, 0xeb, 0x7e, 0xfc, 0x9c, 0x58, 0x4f, 0x93, 0x34,
  2583. 0x55, 0x33, 0xa5, 0x99, 0xed, 0x61, 0x5e, 0xb2, 0x13, 0x6b, 0x8f, 0xb8,
  2584. 0x74, 0xa7, 0xf5, 0xa7, 0x1a, 0xea, 0x98, 0xf8, 0x0c, 0x56, 0x92, 0x30,
  2585. 0x98, 0x56, 0x7a, 0xa3, 0xb4, 0xc3, 0x16, 0x96, 0x82, 0x6f, 0x08, 0x16,
  2586. 0x76, 0xa3, 0xce, 0xed, 0x1d, 0x91, 0x4c, 0x94, 0x9d, 0x54, 0x23, 0x90,
  2587. 0xb6, 0x99, 0xd3, 0xfe,
  2588. };
  2589. static const struct drbg_kat_no_reseed kat89_nor_t = {
  2590. 13, kat89_nor_entropyin, kat89_nor_nonce, kat89_nor_persstr,
  2591. kat89_nor_addin0, kat89_nor_addin1, kat89_nor_retbytes
  2592. };
  2593. static const struct drbg_kat kat89_nor = {
  2594. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat89_nor_t
  2595. };
  2596. static const unsigned char kat90_nor_entropyin[] = {
  2597. 0xd8, 0xba, 0x9d, 0x16, 0xa0, 0x07, 0x0f, 0xbd, 0xf5, 0x10, 0x9d, 0x3c,
  2598. 0x1e, 0xd8, 0x59, 0x16,
  2599. };
  2600. static const unsigned char kat90_nor_nonce[] = {
  2601. 0x29, 0xce, 0x07, 0xdd, 0xa6, 0x1b, 0x50, 0x14,
  2602. };
  2603. static const unsigned char kat90_nor_persstr[] = {0};
  2604. static const unsigned char kat90_nor_addin0[] = {
  2605. 0x16, 0x0a, 0xd7, 0x76, 0x75, 0xc6, 0x4c, 0x74, 0x87, 0xee, 0xdb, 0x34,
  2606. 0x34, 0x37, 0x00, 0xc0,
  2607. };
  2608. static const unsigned char kat90_nor_addin1[] = {
  2609. 0x16, 0x32, 0x54, 0x60, 0x58, 0xf1, 0x9e, 0xe1, 0xb8, 0x49, 0xe5, 0xd2,
  2610. 0x7e, 0x2d, 0x75, 0x5a,
  2611. };
  2612. static const unsigned char kat90_nor_retbytes[] = {
  2613. 0xe0, 0x5c, 0x62, 0xcb, 0xef, 0xaf, 0x03, 0x80, 0x43, 0xd4, 0x9c, 0x97,
  2614. 0x6b, 0xa8, 0x55, 0x21, 0xc2, 0x06, 0x71, 0xd9, 0xf8, 0x1c, 0xeb, 0xf5,
  2615. 0xa8, 0x75, 0x81, 0x65, 0x9e, 0x3d, 0x18, 0x19, 0x90, 0x8e, 0x84, 0xec,
  2616. 0x01, 0x93, 0xa5, 0x30, 0xf3, 0x10, 0xcc, 0x35, 0x44, 0xba, 0x90, 0xad,
  2617. 0x92, 0xa6, 0xc9, 0x9d, 0x3a, 0x1a, 0xf5, 0x5b, 0x5a, 0xed, 0x72, 0x87,
  2618. 0x1d, 0xb8, 0x90, 0x02,
  2619. };
  2620. static const struct drbg_kat_no_reseed kat90_nor_t = {
  2621. 14, kat90_nor_entropyin, kat90_nor_nonce, kat90_nor_persstr,
  2622. kat90_nor_addin0, kat90_nor_addin1, kat90_nor_retbytes
  2623. };
  2624. static const struct drbg_kat kat90_nor = {
  2625. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat90_nor_t
  2626. };
  2627. static const unsigned char kat91_nor_entropyin[] = {
  2628. 0x0a, 0xf1, 0x3f, 0x64, 0x59, 0x02, 0xaf, 0x49, 0xe9, 0xa7, 0xce, 0xd6,
  2629. 0xe3, 0x6a, 0x21, 0x0d,
  2630. };
  2631. static const unsigned char kat91_nor_nonce[] = {
  2632. 0xc3, 0xbf, 0xf2, 0x91, 0xa1, 0x1a, 0xc4, 0x97,
  2633. };
  2634. static const unsigned char kat91_nor_persstr[] = {
  2635. 0xe8, 0xf1, 0xd1, 0xb4, 0x73, 0x1c, 0x4d, 0x57, 0xd7, 0xea, 0xd9, 0xc2,
  2636. 0xf6, 0x00, 0xfd, 0xc6,
  2637. };
  2638. static const unsigned char kat91_nor_addin0[] = {0};
  2639. static const unsigned char kat91_nor_addin1[] = {0};
  2640. static const unsigned char kat91_nor_retbytes[] = {
  2641. 0xac, 0x6f, 0x94, 0x5a, 0x4b, 0x9f, 0xd3, 0xb4, 0x7c, 0x74, 0x37, 0x9e,
  2642. 0xb1, 0xf2, 0xa7, 0xbb, 0xed, 0xf8, 0xee, 0xc6, 0x8e, 0xfd, 0x3c, 0x7a,
  2643. 0x6c, 0xf6, 0x8c, 0x54, 0xae, 0x7a, 0x3f, 0x7b, 0xe7, 0x28, 0x0f, 0x45,
  2644. 0x9c, 0x2e, 0x0b, 0x72, 0xaf, 0xa4, 0x5c, 0xeb, 0xbe, 0xbb, 0xa1, 0x7c,
  2645. 0x86, 0x7e, 0x96, 0x11, 0xc8, 0x96, 0xa5, 0x7d, 0x51, 0x5b, 0xeb, 0x06,
  2646. 0xa7, 0xb9, 0x1f, 0x4c,
  2647. };
  2648. static const struct drbg_kat_no_reseed kat91_nor_t = {
  2649. 0, kat91_nor_entropyin, kat91_nor_nonce, kat91_nor_persstr,
  2650. kat91_nor_addin0, kat91_nor_addin1, kat91_nor_retbytes
  2651. };
  2652. static const struct drbg_kat kat91_nor = {
  2653. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat91_nor_t
  2654. };
  2655. static const unsigned char kat92_nor_entropyin[] = {
  2656. 0x0e, 0x11, 0x3f, 0x47, 0xf2, 0xfc, 0x76, 0xe8, 0x3e, 0x2d, 0x13, 0xd5,
  2657. 0x72, 0x24, 0x56, 0x08,
  2658. };
  2659. static const unsigned char kat92_nor_nonce[] = {
  2660. 0x5f, 0xf8, 0x5c, 0xc6, 0xa5, 0x34, 0xf1, 0x5a,
  2661. };
  2662. static const unsigned char kat92_nor_persstr[] = {
  2663. 0x50, 0x25, 0x06, 0x68, 0xe5, 0x9d, 0xe3, 0x5f, 0xde, 0x91, 0xe0, 0x8f,
  2664. 0xe1, 0x84, 0x84, 0xab,
  2665. };
  2666. static const unsigned char kat92_nor_addin0[] = {0};
  2667. static const unsigned char kat92_nor_addin1[] = {0};
  2668. static const unsigned char kat92_nor_retbytes[] = {
  2669. 0xdc, 0xc6, 0x4a, 0x96, 0x6a, 0x52, 0xd6, 0x00, 0x8d, 0xbe, 0x07, 0xa2,
  2670. 0x48, 0x4b, 0xca, 0xad, 0x67, 0xb2, 0x54, 0xd6, 0xf2, 0x46, 0xe4, 0x50,
  2671. 0x1d, 0x98, 0x64, 0xb6, 0x4a, 0xd8, 0xb7, 0xed, 0xf1, 0x0f, 0xdb, 0xc6,
  2672. 0xdd, 0xc4, 0x14, 0xa9, 0xb4, 0x31, 0xb0, 0x58, 0xa7, 0xee, 0x5c, 0xed,
  2673. 0x23, 0xf7, 0xa6, 0xac, 0x7e, 0xea, 0x0f, 0xe6, 0x13, 0x1c, 0x9e, 0xb7,
  2674. 0x41, 0x2e, 0x68, 0xdf,
  2675. };
  2676. static const struct drbg_kat_no_reseed kat92_nor_t = {
  2677. 1, kat92_nor_entropyin, kat92_nor_nonce, kat92_nor_persstr,
  2678. kat92_nor_addin0, kat92_nor_addin1, kat92_nor_retbytes
  2679. };
  2680. static const struct drbg_kat kat92_nor = {
  2681. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat92_nor_t
  2682. };
  2683. static const unsigned char kat93_nor_entropyin[] = {
  2684. 0x16, 0xd2, 0xa2, 0x33, 0xf0, 0x49, 0x7c, 0x75, 0x1d, 0xdd, 0x85, 0xef,
  2685. 0x7c, 0xd8, 0x62, 0xe6,
  2686. };
  2687. static const unsigned char kat93_nor_nonce[] = {
  2688. 0x7e, 0x7e, 0x1a, 0xab, 0x1b, 0x82, 0x67, 0x5d,
  2689. };
  2690. static const unsigned char kat93_nor_persstr[] = {
  2691. 0x15, 0xf8, 0x1e, 0x40, 0xa2, 0x49, 0x3b, 0x85, 0x9c, 0xce, 0xd3, 0x3c,
  2692. 0xdf, 0x7b, 0x75, 0x90,
  2693. };
  2694. static const unsigned char kat93_nor_addin0[] = {0};
  2695. static const unsigned char kat93_nor_addin1[] = {0};
  2696. static const unsigned char kat93_nor_retbytes[] = {
  2697. 0xc5, 0x20, 0x97, 0xd2, 0xd0, 0x09, 0xdc, 0xe7, 0xcb, 0xd4, 0x6d, 0x74,
  2698. 0x0d, 0xe5, 0x4d, 0x70, 0xc0, 0x73, 0x2f, 0x96, 0xfa, 0xc0, 0xbd, 0x16,
  2699. 0x9f, 0x38, 0x56, 0xe5, 0x0f, 0x9e, 0x46, 0x01, 0x67, 0x25, 0x38, 0xb2,
  2700. 0x3f, 0x37, 0x1f, 0x78, 0x0e, 0x61, 0xe8, 0x2f, 0x2d, 0xb9, 0x9e, 0xf3,
  2701. 0x83, 0x40, 0x08, 0xaa, 0xdc, 0x26, 0xc2, 0x78, 0x55, 0xa6, 0x86, 0x96,
  2702. 0xee, 0x81, 0x2c, 0x9c,
  2703. };
  2704. static const struct drbg_kat_no_reseed kat93_nor_t = {
  2705. 2, kat93_nor_entropyin, kat93_nor_nonce, kat93_nor_persstr,
  2706. kat93_nor_addin0, kat93_nor_addin1, kat93_nor_retbytes
  2707. };
  2708. static const struct drbg_kat kat93_nor = {
  2709. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat93_nor_t
  2710. };
  2711. static const unsigned char kat94_nor_entropyin[] = {
  2712. 0xea, 0x36, 0x89, 0x1e, 0x0d, 0x64, 0x26, 0x94, 0x5a, 0x6e, 0x1f, 0x33,
  2713. 0x8c, 0x86, 0xca, 0x4b,
  2714. };
  2715. static const unsigned char kat94_nor_nonce[] = {
  2716. 0x89, 0x69, 0x66, 0x60, 0x0e, 0x85, 0xd3, 0xda,
  2717. };
  2718. static const unsigned char kat94_nor_persstr[] = {
  2719. 0xb8, 0xc7, 0x01, 0xa1, 0x1e, 0x7c, 0x00, 0x8e, 0x37, 0xc2, 0x32, 0x62,
  2720. 0x7c, 0x24, 0xb6, 0xd1,
  2721. };
  2722. static const unsigned char kat94_nor_addin0[] = {0};
  2723. static const unsigned char kat94_nor_addin1[] = {0};
  2724. static const unsigned char kat94_nor_retbytes[] = {
  2725. 0x44, 0x63, 0x60, 0xf1, 0x6b, 0x1e, 0x59, 0xa8, 0x25, 0x96, 0xe6, 0x1d,
  2726. 0xf2, 0x3a, 0xf1, 0x8f, 0x5a, 0x95, 0xb7, 0xd8, 0xb7, 0xdd, 0x61, 0x72,
  2727. 0xf3, 0x57, 0x5d, 0x45, 0x25, 0x13, 0x86, 0xb0, 0x4b, 0x69, 0x78, 0x5b,
  2728. 0xa4, 0x4a, 0x75, 0xeb, 0x2a, 0x54, 0x15, 0x71, 0x3a, 0x84, 0x36, 0x5c,
  2729. 0xac, 0x81, 0xb3, 0x0d, 0xf0, 0xb4, 0x8a, 0x61, 0x09, 0x77, 0xfe, 0x69,
  2730. 0x61, 0xe7, 0xee, 0x8a,
  2731. };
  2732. static const struct drbg_kat_no_reseed kat94_nor_t = {
  2733. 3, kat94_nor_entropyin, kat94_nor_nonce, kat94_nor_persstr,
  2734. kat94_nor_addin0, kat94_nor_addin1, kat94_nor_retbytes
  2735. };
  2736. static const struct drbg_kat kat94_nor = {
  2737. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat94_nor_t
  2738. };
  2739. static const unsigned char kat95_nor_entropyin[] = {
  2740. 0x3f, 0x41, 0x38, 0xd8, 0x4d, 0x7a, 0xbd, 0x13, 0xbb, 0xe1, 0x5e, 0x18,
  2741. 0xb2, 0x92, 0xf1, 0x5f,
  2742. };
  2743. static const unsigned char kat95_nor_nonce[] = {
  2744. 0x34, 0x62, 0xe5, 0x2e, 0x82, 0xf2, 0x86, 0x53,
  2745. };
  2746. static const unsigned char kat95_nor_persstr[] = {
  2747. 0x24, 0xc5, 0x17, 0x70, 0x84, 0x95, 0x1c, 0xf5, 0x32, 0xf2, 0x43, 0x2a,
  2748. 0x18, 0x82, 0x59, 0x6f,
  2749. };
  2750. static const unsigned char kat95_nor_addin0[] = {0};
  2751. static const unsigned char kat95_nor_addin1[] = {0};
  2752. static const unsigned char kat95_nor_retbytes[] = {
  2753. 0xba, 0x2c, 0xa1, 0xe4, 0x43, 0xc7, 0x5d, 0x55, 0xc4, 0x20, 0x65, 0xba,
  2754. 0x91, 0xf7, 0x7d, 0xb5, 0xb8, 0xde, 0x6c, 0x34, 0x2b, 0x65, 0xa2, 0xc1,
  2755. 0x49, 0x44, 0x59, 0x79, 0xff, 0x26, 0x3e, 0x9d, 0x01, 0x8f, 0x56, 0x44,
  2756. 0x30, 0xfe, 0x1e, 0xdb, 0x48, 0xb4, 0x03, 0xce, 0xf2, 0x3f, 0x86, 0x0e,
  2757. 0xa2, 0x71, 0x46, 0xd8, 0x51, 0x18, 0x43, 0xe0, 0xa3, 0x9f, 0xf3, 0x37,
  2758. 0xba, 0x74, 0xd2, 0x21,
  2759. };
  2760. static const struct drbg_kat_no_reseed kat95_nor_t = {
  2761. 4, kat95_nor_entropyin, kat95_nor_nonce, kat95_nor_persstr,
  2762. kat95_nor_addin0, kat95_nor_addin1, kat95_nor_retbytes
  2763. };
  2764. static const struct drbg_kat kat95_nor = {
  2765. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat95_nor_t
  2766. };
  2767. static const unsigned char kat96_nor_entropyin[] = {
  2768. 0xa6, 0xae, 0xf8, 0x0f, 0xab, 0x61, 0xe2, 0x7e, 0xf6, 0x11, 0xb8, 0x6f,
  2769. 0x92, 0x4e, 0x97, 0x6c,
  2770. };
  2771. static const unsigned char kat96_nor_nonce[] = {
  2772. 0x74, 0x27, 0x8f, 0x50, 0x23, 0xc2, 0x55, 0x2c,
  2773. };
  2774. static const unsigned char kat96_nor_persstr[] = {
  2775. 0xa3, 0x85, 0x16, 0x79, 0xe1, 0x12, 0x94, 0x82, 0x01, 0x39, 0x6d, 0x98,
  2776. 0xd6, 0xbe, 0x5c, 0x13,
  2777. };
  2778. static const unsigned char kat96_nor_addin0[] = {0};
  2779. static const unsigned char kat96_nor_addin1[] = {0};
  2780. static const unsigned char kat96_nor_retbytes[] = {
  2781. 0x68, 0x57, 0x26, 0x82, 0x7f, 0x3d, 0x38, 0x42, 0x7d, 0x07, 0xdf, 0xcf,
  2782. 0xb6, 0x4a, 0x7f, 0x95, 0xb6, 0xf0, 0x6e, 0xf0, 0x1c, 0xed, 0x28, 0x1d,
  2783. 0xce, 0x7f, 0x41, 0x30, 0x34, 0x12, 0x36, 0x11, 0x24, 0x36, 0x2b, 0xa5,
  2784. 0x1c, 0xe8, 0xd2, 0x55, 0x2a, 0xf0, 0x54, 0xa2, 0x0f, 0xda, 0xc9, 0x4e,
  2785. 0x51, 0x69, 0x16, 0x5b, 0x71, 0x52, 0x67, 0x63, 0x8c, 0x1e, 0x0b, 0x9b,
  2786. 0x34, 0x52, 0xb5, 0xb7,
  2787. };
  2788. static const struct drbg_kat_no_reseed kat96_nor_t = {
  2789. 5, kat96_nor_entropyin, kat96_nor_nonce, kat96_nor_persstr,
  2790. kat96_nor_addin0, kat96_nor_addin1, kat96_nor_retbytes
  2791. };
  2792. static const struct drbg_kat kat96_nor = {
  2793. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat96_nor_t
  2794. };
  2795. static const unsigned char kat97_nor_entropyin[] = {
  2796. 0x01, 0x64, 0xae, 0x53, 0xe5, 0x33, 0xf2, 0xf1, 0x22, 0x2d, 0x4a, 0xa2,
  2797. 0x72, 0x76, 0x81, 0x4c,
  2798. };
  2799. static const unsigned char kat97_nor_nonce[] = {
  2800. 0x26, 0x05, 0xf5, 0x89, 0xcb, 0x1b, 0xea, 0x9c,
  2801. };
  2802. static const unsigned char kat97_nor_persstr[] = {
  2803. 0x9d, 0xe7, 0x03, 0xa5, 0xe2, 0xbb, 0xf2, 0xe5, 0x3d, 0x0f, 0xe3, 0xb5,
  2804. 0x73, 0xf5, 0x2a, 0xcf,
  2805. };
  2806. static const unsigned char kat97_nor_addin0[] = {0};
  2807. static const unsigned char kat97_nor_addin1[] = {0};
  2808. static const unsigned char kat97_nor_retbytes[] = {
  2809. 0xfd, 0x7f, 0x64, 0x62, 0x2e, 0x87, 0xde, 0x3b, 0x66, 0xe1, 0x99, 0x30,
  2810. 0xcf, 0x4c, 0xcd, 0xc3, 0xe6, 0x72, 0xf5, 0xa4, 0xde, 0xf0, 0xda, 0xdd,
  2811. 0xb3, 0x71, 0x07, 0x43, 0x0e, 0xc7, 0xf6, 0x91, 0xc6, 0x32, 0x15, 0x45,
  2812. 0x10, 0x3c, 0x2a, 0x61, 0x4d, 0x7f, 0x0f, 0x33, 0x17, 0x3b, 0xde, 0xc4,
  2813. 0x20, 0x58, 0x58, 0x22, 0xcd, 0xa8, 0xc2, 0x72, 0x20, 0x19, 0x22, 0xb6,
  2814. 0x02, 0xf5, 0xd8, 0xa7,
  2815. };
  2816. static const struct drbg_kat_no_reseed kat97_nor_t = {
  2817. 6, kat97_nor_entropyin, kat97_nor_nonce, kat97_nor_persstr,
  2818. kat97_nor_addin0, kat97_nor_addin1, kat97_nor_retbytes
  2819. };
  2820. static const struct drbg_kat kat97_nor = {
  2821. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat97_nor_t
  2822. };
  2823. static const unsigned char kat98_nor_entropyin[] = {
  2824. 0x29, 0xdc, 0x8b, 0xad, 0x50, 0x0c, 0xce, 0x29, 0x5b, 0x9e, 0x86, 0xb2,
  2825. 0x15, 0x9c, 0x6d, 0xcd,
  2826. };
  2827. static const unsigned char kat98_nor_nonce[] = {
  2828. 0xb6, 0x9a, 0x5a, 0x77, 0x69, 0x4f, 0xc4, 0xa0,
  2829. };
  2830. static const unsigned char kat98_nor_persstr[] = {
  2831. 0xc5, 0x3b, 0x13, 0xaf, 0xbf, 0x21, 0xf1, 0x7e, 0xe9, 0xf4, 0xdd, 0x7c,
  2832. 0x09, 0x93, 0xe0, 0xf9,
  2833. };
  2834. static const unsigned char kat98_nor_addin0[] = {0};
  2835. static const unsigned char kat98_nor_addin1[] = {0};
  2836. static const unsigned char kat98_nor_retbytes[] = {
  2837. 0x08, 0xc9, 0x7d, 0x63, 0x8b, 0x5d, 0x82, 0x59, 0x93, 0x10, 0x32, 0x5d,
  2838. 0x3b, 0x1e, 0x63, 0x27, 0x74, 0x1c, 0xd9, 0x18, 0x87, 0xd6, 0x58, 0xb5,
  2839. 0xd8, 0x15, 0xee, 0xed, 0x7a, 0x72, 0xab, 0x86, 0xe2, 0xfa, 0x17, 0xe9,
  2840. 0xd0, 0x13, 0xe1, 0x7a, 0x92, 0x14, 0xd6, 0x39, 0x6a, 0xc1, 0x48, 0x1f,
  2841. 0x76, 0x88, 0x30, 0xa4, 0xd8, 0xc4, 0xfc, 0x39, 0x20, 0x12, 0xe9, 0x07,
  2842. 0x64, 0x34, 0x93, 0x9f,
  2843. };
  2844. static const struct drbg_kat_no_reseed kat98_nor_t = {
  2845. 7, kat98_nor_entropyin, kat98_nor_nonce, kat98_nor_persstr,
  2846. kat98_nor_addin0, kat98_nor_addin1, kat98_nor_retbytes
  2847. };
  2848. static const struct drbg_kat kat98_nor = {
  2849. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat98_nor_t
  2850. };
  2851. static const unsigned char kat99_nor_entropyin[] = {
  2852. 0xb3, 0xae, 0xe2, 0xcf, 0x80, 0xe3, 0xd0, 0x5a, 0xed, 0xa0, 0xe0, 0x1c,
  2853. 0xf6, 0x5e, 0xa9, 0x65,
  2854. };
  2855. static const unsigned char kat99_nor_nonce[] = {
  2856. 0x24, 0xb5, 0x8b, 0x7c, 0x6a, 0x99, 0xeb, 0x2a,
  2857. };
  2858. static const unsigned char kat99_nor_persstr[] = {
  2859. 0x73, 0x44, 0x04, 0x3c, 0x84, 0x91, 0x5b, 0xcd, 0xd6, 0xd8, 0x1f, 0x3f,
  2860. 0xe2, 0x3b, 0xa2, 0x73,
  2861. };
  2862. static const unsigned char kat99_nor_addin0[] = {0};
  2863. static const unsigned char kat99_nor_addin1[] = {0};
  2864. static const unsigned char kat99_nor_retbytes[] = {
  2865. 0xbe, 0x35, 0x3c, 0xf8, 0x32, 0xe8, 0x46, 0x44, 0x4a, 0xf0, 0x01, 0x5e,
  2866. 0xd0, 0x5d, 0x54, 0xb7, 0x2c, 0x9a, 0x1a, 0x02, 0x31, 0xf2, 0xa4, 0xc4,
  2867. 0x75, 0x61, 0x17, 0x46, 0xef, 0x86, 0x10, 0x29, 0xe1, 0x88, 0x42, 0xc1,
  2868. 0xb7, 0x61, 0x48, 0xd2, 0xa3, 0xeb, 0x01, 0x74, 0xa3, 0x0c, 0xad, 0x81,
  2869. 0xb5, 0x58, 0xd0, 0xd1, 0xe0, 0x1a, 0x8c, 0x7d, 0xd5, 0x10, 0xf0, 0xb5,
  2870. 0x6f, 0x1f, 0xdd, 0xc3,
  2871. };
  2872. static const struct drbg_kat_no_reseed kat99_nor_t = {
  2873. 8, kat99_nor_entropyin, kat99_nor_nonce, kat99_nor_persstr,
  2874. kat99_nor_addin0, kat99_nor_addin1, kat99_nor_retbytes
  2875. };
  2876. static const struct drbg_kat kat99_nor = {
  2877. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat99_nor_t
  2878. };
  2879. static const unsigned char kat100_nor_entropyin[] = {
  2880. 0xa5, 0x25, 0xf6, 0x91, 0x65, 0xc4, 0x4f, 0x3a, 0x8a, 0xf8, 0x08, 0x57,
  2881. 0xa5, 0xe8, 0x74, 0xb0,
  2882. };
  2883. static const unsigned char kat100_nor_nonce[] = {
  2884. 0x0c, 0x80, 0x6a, 0x40, 0xc1, 0xdc, 0xb7, 0xcc,
  2885. };
  2886. static const unsigned char kat100_nor_persstr[] = {
  2887. 0x43, 0x12, 0xc2, 0x30, 0x9a, 0x1d, 0xfe, 0x2d, 0x9a, 0x66, 0xf5, 0xc1,
  2888. 0x8f, 0xc4, 0x0b, 0x87,
  2889. };
  2890. static const unsigned char kat100_nor_addin0[] = {0};
  2891. static const unsigned char kat100_nor_addin1[] = {0};
  2892. static const unsigned char kat100_nor_retbytes[] = {
  2893. 0xd0, 0xb4, 0x6f, 0x7e, 0x18, 0x77, 0xdb, 0x24, 0x4f, 0xf4, 0xe0, 0xae,
  2894. 0xb6, 0x4c, 0x4e, 0xfa, 0x3e, 0x8c, 0x2a, 0x86, 0x62, 0x41, 0x5c, 0xf5,
  2895. 0xba, 0x67, 0xf2, 0xdc, 0x91, 0xe8, 0x23, 0x10, 0xa6, 0xa9, 0x33, 0xc4,
  2896. 0xdf, 0x6a, 0x40, 0x2f, 0x8f, 0xae, 0x27, 0x0b, 0x22, 0x9b, 0xf2, 0x54,
  2897. 0xcd, 0x35, 0x94, 0x3a, 0x13, 0x34, 0x09, 0x79, 0x37, 0x66, 0x69, 0x11,
  2898. 0x9e, 0x0e, 0x5c, 0xf8,
  2899. };
  2900. static const struct drbg_kat_no_reseed kat100_nor_t = {
  2901. 9, kat100_nor_entropyin, kat100_nor_nonce, kat100_nor_persstr,
  2902. kat100_nor_addin0, kat100_nor_addin1, kat100_nor_retbytes
  2903. };
  2904. static const struct drbg_kat kat100_nor = {
  2905. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat100_nor_t
  2906. };
  2907. static const unsigned char kat101_nor_entropyin[] = {
  2908. 0x06, 0x08, 0xdc, 0x6c, 0x8f, 0x9f, 0x19, 0x56, 0xfb, 0xe7, 0xd5, 0xa7,
  2909. 0xc8, 0x2f, 0xd3, 0xb3,
  2910. };
  2911. static const unsigned char kat101_nor_nonce[] = {
  2912. 0x61, 0x5b, 0x62, 0xa0, 0x0d, 0x6d, 0x8d, 0x85,
  2913. };
  2914. static const unsigned char kat101_nor_persstr[] = {
  2915. 0x70, 0xdd, 0x43, 0xc1, 0x76, 0x43, 0x18, 0x17, 0x4a, 0x28, 0x57, 0xc4,
  2916. 0x20, 0xdd, 0xf4, 0x07,
  2917. };
  2918. static const unsigned char kat101_nor_addin0[] = {0};
  2919. static const unsigned char kat101_nor_addin1[] = {0};
  2920. static const unsigned char kat101_nor_retbytes[] = {
  2921. 0x71, 0xf4, 0xb5, 0xdf, 0x5b, 0xfa, 0x5f, 0xd5, 0x2c, 0xdc, 0x98, 0x51,
  2922. 0xa6, 0x33, 0xf7, 0x7e, 0xd9, 0x04, 0x58, 0xb5, 0xa2, 0x90, 0xb0, 0x4d,
  2923. 0x2f, 0x35, 0x13, 0x0d, 0x67, 0xa4, 0x2c, 0x16, 0x98, 0xac, 0x5f, 0x9b,
  2924. 0x13, 0x9a, 0x9e, 0xcf, 0x35, 0x90, 0x75, 0x5a, 0x20, 0x41, 0x60, 0xa3,
  2925. 0xa8, 0xf1, 0x7b, 0x77, 0x72, 0x66, 0x52, 0xc6, 0xdc, 0x6e, 0x9f, 0x00,
  2926. 0x96, 0x64, 0x54, 0xfd,
  2927. };
  2928. static const struct drbg_kat_no_reseed kat101_nor_t = {
  2929. 10, kat101_nor_entropyin, kat101_nor_nonce, kat101_nor_persstr,
  2930. kat101_nor_addin0, kat101_nor_addin1, kat101_nor_retbytes
  2931. };
  2932. static const struct drbg_kat kat101_nor = {
  2933. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat101_nor_t
  2934. };
  2935. static const unsigned char kat102_nor_entropyin[] = {
  2936. 0x7b, 0x39, 0x1f, 0x35, 0xdb, 0x0e, 0x53, 0xbf, 0x48, 0xee, 0x55, 0x76,
  2937. 0xb0, 0x23, 0xff, 0x90,
  2938. };
  2939. static const unsigned char kat102_nor_nonce[] = {
  2940. 0x76, 0x21, 0xaa, 0xd5, 0x32, 0x98, 0x2b, 0x23,
  2941. };
  2942. static const unsigned char kat102_nor_persstr[] = {
  2943. 0xa6, 0xe7, 0x57, 0x78, 0xb7, 0x77, 0xd0, 0x1f, 0x00, 0x62, 0x27, 0xc4,
  2944. 0x00, 0xd8, 0xff, 0x86,
  2945. };
  2946. static const unsigned char kat102_nor_addin0[] = {0};
  2947. static const unsigned char kat102_nor_addin1[] = {0};
  2948. static const unsigned char kat102_nor_retbytes[] = {
  2949. 0xd6, 0x17, 0x80, 0xb5, 0xc7, 0x81, 0x41, 0x2b, 0xf3, 0x08, 0x5e, 0xec,
  2950. 0xce, 0xe4, 0x9b, 0x99, 0x35, 0x8a, 0x18, 0x32, 0x23, 0x82, 0x8c, 0x1d,
  2951. 0x80, 0x13, 0xac, 0xe6, 0x13, 0xd8, 0x9a, 0x45, 0x04, 0xd7, 0x5b, 0xa3,
  2952. 0x09, 0xe5, 0x10, 0x58, 0x9a, 0x53, 0xb4, 0x72, 0xbd, 0x5f, 0xa1, 0xee,
  2953. 0x2a, 0x22, 0x39, 0x2b, 0x82, 0x65, 0x70, 0x7c, 0x15, 0xe3, 0x29, 0x35,
  2954. 0xbc, 0x8e, 0xfb, 0x4e,
  2955. };
  2956. static const struct drbg_kat_no_reseed kat102_nor_t = {
  2957. 11, kat102_nor_entropyin, kat102_nor_nonce, kat102_nor_persstr,
  2958. kat102_nor_addin0, kat102_nor_addin1, kat102_nor_retbytes
  2959. };
  2960. static const struct drbg_kat kat102_nor = {
  2961. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat102_nor_t
  2962. };
  2963. static const unsigned char kat103_nor_entropyin[] = {
  2964. 0x09, 0x9f, 0x1f, 0x59, 0x17, 0x07, 0xd1, 0xf9, 0xab, 0xae, 0x7e, 0x2b,
  2965. 0x65, 0xad, 0xab, 0xc3,
  2966. };
  2967. static const unsigned char kat103_nor_nonce[] = {
  2968. 0xf9, 0x0d, 0x35, 0x7a, 0x90, 0x1f, 0x11, 0x35,
  2969. };
  2970. static const unsigned char kat103_nor_persstr[] = {
  2971. 0x74, 0xb8, 0x26, 0x0c, 0xed, 0x4b, 0xbb, 0x80, 0x41, 0x77, 0x92, 0xf1,
  2972. 0x93, 0xc6, 0xf9, 0xac,
  2973. };
  2974. static const unsigned char kat103_nor_addin0[] = {0};
  2975. static const unsigned char kat103_nor_addin1[] = {0};
  2976. static const unsigned char kat103_nor_retbytes[] = {
  2977. 0x86, 0xf5, 0x06, 0x25, 0x6d, 0x29, 0x45, 0x0f, 0x16, 0x07, 0x31, 0x27,
  2978. 0x39, 0xe5, 0xa0, 0x89, 0xb6, 0xb7, 0x86, 0xfd, 0xf5, 0x21, 0x45, 0x76,
  2979. 0x9c, 0xb7, 0x0e, 0xf4, 0xee, 0xd3, 0x21, 0x09, 0xcf, 0x62, 0x36, 0x9d,
  2980. 0x7a, 0x76, 0x59, 0x55, 0x78, 0x1e, 0xae, 0x63, 0x52, 0x02, 0x75, 0x16,
  2981. 0x93, 0x68, 0x25, 0x7c, 0x6d, 0x34, 0x8e, 0xcc, 0x90, 0x0a, 0x38, 0x98,
  2982. 0x77, 0x8d, 0x9a, 0x1a,
  2983. };
  2984. static const struct drbg_kat_no_reseed kat103_nor_t = {
  2985. 12, kat103_nor_entropyin, kat103_nor_nonce, kat103_nor_persstr,
  2986. kat103_nor_addin0, kat103_nor_addin1, kat103_nor_retbytes
  2987. };
  2988. static const struct drbg_kat kat103_nor = {
  2989. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat103_nor_t
  2990. };
  2991. static const unsigned char kat104_nor_entropyin[] = {
  2992. 0xc9, 0x05, 0x9d, 0x7c, 0x01, 0x5c, 0x64, 0xf6, 0xe4, 0x1a, 0xa4, 0x92,
  2993. 0x09, 0x9f, 0x4e, 0xf0,
  2994. };
  2995. static const unsigned char kat104_nor_nonce[] = {
  2996. 0x3f, 0x6e, 0x07, 0x69, 0xce, 0xe1, 0x77, 0xc6,
  2997. };
  2998. static const unsigned char kat104_nor_persstr[] = {
  2999. 0x76, 0xc6, 0xc6, 0x61, 0x32, 0x98, 0xd9, 0x25, 0xa6, 0xc5, 0x07, 0xae,
  3000. 0x65, 0x4d, 0x6d, 0x9a,
  3001. };
  3002. static const unsigned char kat104_nor_addin0[] = {0};
  3003. static const unsigned char kat104_nor_addin1[] = {0};
  3004. static const unsigned char kat104_nor_retbytes[] = {
  3005. 0x23, 0x81, 0x11, 0xc0, 0x06, 0xe5, 0x14, 0xc0, 0x5f, 0x2a, 0xe9, 0x35,
  3006. 0xa3, 0x2d, 0xba, 0xa0, 0xb1, 0x28, 0xda, 0xa0, 0x73, 0x6e, 0x83, 0xd9,
  3007. 0x34, 0x03, 0x77, 0x6c, 0x91, 0xe4, 0x77, 0xd0, 0xd0, 0x2c, 0x4a, 0x24,
  3008. 0x87, 0x6a, 0x23, 0x29, 0xa0, 0xf1, 0x06, 0x03, 0x8d, 0x70, 0x1f, 0xed,
  3009. 0xdf, 0x02, 0x47, 0xcc, 0x75, 0x84, 0x6d, 0xd3, 0x01, 0x08, 0x29, 0x9d,
  3010. 0x84, 0x0e, 0xc4, 0xa8,
  3011. };
  3012. static const struct drbg_kat_no_reseed kat104_nor_t = {
  3013. 13, kat104_nor_entropyin, kat104_nor_nonce, kat104_nor_persstr,
  3014. kat104_nor_addin0, kat104_nor_addin1, kat104_nor_retbytes
  3015. };
  3016. static const struct drbg_kat kat104_nor = {
  3017. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat104_nor_t
  3018. };
  3019. static const unsigned char kat105_nor_entropyin[] = {
  3020. 0x98, 0xd1, 0x3c, 0x30, 0xa6, 0xda, 0xe2, 0xca, 0x76, 0xd7, 0xd6, 0x67,
  3021. 0x9f, 0x1f, 0xfb, 0xc4,
  3022. };
  3023. static const unsigned char kat105_nor_nonce[] = {
  3024. 0x49, 0x0b, 0x93, 0x9e, 0xb5, 0x56, 0xff, 0x1b,
  3025. };
  3026. static const unsigned char kat105_nor_persstr[] = {
  3027. 0x6c, 0x10, 0xa7, 0xc3, 0x0f, 0xb5, 0x34, 0xb5, 0x93, 0x4b, 0x1c, 0x29,
  3028. 0x80, 0x84, 0x94, 0xb9,
  3029. };
  3030. static const unsigned char kat105_nor_addin0[] = {0};
  3031. static const unsigned char kat105_nor_addin1[] = {0};
  3032. static const unsigned char kat105_nor_retbytes[] = {
  3033. 0xcb, 0x7d, 0xee, 0xea, 0x97, 0xbd, 0xb0, 0x3f, 0x72, 0xa0, 0x3b, 0x2d,
  3034. 0x9b, 0x5f, 0x1b, 0x33, 0x03, 0x44, 0x48, 0x6e, 0x53, 0xe0, 0x49, 0x27,
  3035. 0xc5, 0x8f, 0xb6, 0x3c, 0x97, 0x1a, 0xc9, 0x87, 0x33, 0xb0, 0x24, 0x9a,
  3036. 0x1e, 0xfa, 0x85, 0xf8, 0x8b, 0xec, 0x48, 0x18, 0xe1, 0x31, 0x10, 0x22,
  3037. 0x07, 0x76, 0xe4, 0xfd, 0xe4, 0x29, 0xe6, 0x39, 0x0a, 0xf4, 0x66, 0x71,
  3038. 0x29, 0x01, 0x18, 0x9b,
  3039. };
  3040. static const struct drbg_kat_no_reseed kat105_nor_t = {
  3041. 14, kat105_nor_entropyin, kat105_nor_nonce, kat105_nor_persstr,
  3042. kat105_nor_addin0, kat105_nor_addin1, kat105_nor_retbytes
  3043. };
  3044. static const struct drbg_kat kat105_nor = {
  3045. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat105_nor_t
  3046. };
  3047. static const unsigned char kat106_nor_entropyin[] = {
  3048. 0x25, 0xad, 0x6e, 0x73, 0x05, 0x5e, 0xcb, 0xc9, 0x49, 0xf2, 0x91, 0xf0,
  3049. 0xf7, 0x97, 0xf1, 0x7a,
  3050. };
  3051. static const unsigned char kat106_nor_nonce[] = {
  3052. 0x1f, 0x85, 0xa9, 0x2a, 0x46, 0x0a, 0x2e, 0xea,
  3053. };
  3054. static const unsigned char kat106_nor_persstr[] = {
  3055. 0x83, 0xd0, 0x4b, 0x4b, 0x15, 0x91, 0xc7, 0xba, 0xc9, 0xbc, 0xa9, 0x07,
  3056. 0xbb, 0xe9, 0xdd, 0xd4,
  3057. };
  3058. static const unsigned char kat106_nor_addin0[] = {
  3059. 0x52, 0x3c, 0x6c, 0xb0, 0xbc, 0x27, 0xd1, 0x9f, 0x8d, 0x2e, 0xbe, 0xf5,
  3060. 0x79, 0x26, 0xdd, 0xe4,
  3061. };
  3062. static const unsigned char kat106_nor_addin1[] = {
  3063. 0xd3, 0x3c, 0xd1, 0x4b, 0x5b, 0x79, 0x37, 0x38, 0x8e, 0x89, 0xec, 0xc0,
  3064. 0x80, 0x63, 0x03, 0xf0,
  3065. };
  3066. static const unsigned char kat106_nor_retbytes[] = {
  3067. 0x23, 0xd9, 0x19, 0x5e, 0x40, 0x26, 0xed, 0xf0, 0x70, 0x88, 0xb8, 0x37,
  3068. 0x62, 0x75, 0x47, 0xa0, 0xea, 0x91, 0x37, 0xed, 0x03, 0x36, 0xd7, 0x69,
  3069. 0x60, 0x15, 0xdd, 0x6f, 0x29, 0x84, 0xde, 0xdb, 0x2a, 0x20, 0x7f, 0x2e,
  3070. 0xb8, 0xa2, 0x56, 0x60, 0xa5, 0xee, 0x78, 0x11, 0x78, 0x57, 0x9a, 0x0f,
  3071. 0x23, 0x3f, 0xb6, 0xf7, 0x26, 0x03, 0x58, 0xdb, 0xfd, 0x53, 0x25, 0xc3,
  3072. 0xf8, 0xc8, 0xfe, 0x33,
  3073. };
  3074. static const struct drbg_kat_no_reseed kat106_nor_t = {
  3075. 0, kat106_nor_entropyin, kat106_nor_nonce, kat106_nor_persstr,
  3076. kat106_nor_addin0, kat106_nor_addin1, kat106_nor_retbytes
  3077. };
  3078. static const struct drbg_kat kat106_nor = {
  3079. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat106_nor_t
  3080. };
  3081. static const unsigned char kat107_nor_entropyin[] = {
  3082. 0xae, 0x33, 0x2f, 0x73, 0x39, 0x0e, 0x27, 0x75, 0x6b, 0xc9, 0x3d, 0x2b,
  3083. 0x95, 0x1b, 0x8b, 0x44,
  3084. };
  3085. static const unsigned char kat107_nor_nonce[] = {
  3086. 0xe6, 0x9f, 0xc8, 0xa1, 0x64, 0x50, 0xfb, 0x6d,
  3087. };
  3088. static const unsigned char kat107_nor_persstr[] = {
  3089. 0x5f, 0x76, 0x86, 0x3d, 0x3a, 0x20, 0x87, 0xe9, 0xcb, 0x90, 0xe1, 0x12,
  3090. 0xc1, 0x68, 0x06, 0xe2,
  3091. };
  3092. static const unsigned char kat107_nor_addin0[] = {
  3093. 0xbf, 0x6a, 0x8e, 0x05, 0x6e, 0x6c, 0x3c, 0xc1, 0xa6, 0xcb, 0xdb, 0x6b,
  3094. 0x59, 0xeb, 0xea, 0xe2,
  3095. };
  3096. static const unsigned char kat107_nor_addin1[] = {
  3097. 0xd8, 0x7a, 0xb9, 0x22, 0x4a, 0xa9, 0xcd, 0x9b, 0x5b, 0x84, 0x78, 0x35,
  3098. 0xcb, 0x0d, 0xaa, 0xc4,
  3099. };
  3100. static const unsigned char kat107_nor_retbytes[] = {
  3101. 0xe0, 0xa2, 0xdd, 0x56, 0x06, 0xa0, 0xa2, 0x61, 0x57, 0xf9, 0x21, 0x05,
  3102. 0x11, 0xbb, 0xde, 0x50, 0xc9, 0x2f, 0x34, 0xad, 0x92, 0x36, 0x3c, 0xb9,
  3103. 0x2a, 0x05, 0x20, 0x8b, 0x60, 0xb3, 0x3d, 0x21, 0xc3, 0xd6, 0xc0, 0xc6,
  3104. 0xef, 0x05, 0x4e, 0xc4, 0x09, 0xb4, 0x63, 0x0d, 0xea, 0xc4, 0xc6, 0xd1,
  3105. 0xad, 0x1b, 0x6b, 0xe7, 0x5f, 0xff, 0x27, 0xaa, 0x74, 0x94, 0x13, 0xc8,
  3106. 0xb6, 0x4c, 0xf3, 0xe1,
  3107. };
  3108. static const struct drbg_kat_no_reseed kat107_nor_t = {
  3109. 1, kat107_nor_entropyin, kat107_nor_nonce, kat107_nor_persstr,
  3110. kat107_nor_addin0, kat107_nor_addin1, kat107_nor_retbytes
  3111. };
  3112. static const struct drbg_kat kat107_nor = {
  3113. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat107_nor_t
  3114. };
  3115. static const unsigned char kat108_nor_entropyin[] = {
  3116. 0xe1, 0xa5, 0x89, 0xaf, 0xab, 0x83, 0x91, 0x69, 0x2d, 0xba, 0x52, 0x31,
  3117. 0x8a, 0xa8, 0xdc, 0x0d,
  3118. };
  3119. static const unsigned char kat108_nor_nonce[] = {
  3120. 0x22, 0xeb, 0xcf, 0x2e, 0x24, 0xa9, 0x55, 0x28,
  3121. };
  3122. static const unsigned char kat108_nor_persstr[] = {
  3123. 0x82, 0xe8, 0xc3, 0x55, 0xdb, 0xc9, 0xcd, 0x4c, 0x8d, 0x52, 0xfa, 0x45,
  3124. 0x21, 0x18, 0xf9, 0xf8,
  3125. };
  3126. static const unsigned char kat108_nor_addin0[] = {
  3127. 0xf7, 0x74, 0x57, 0xec, 0x32, 0xde, 0x66, 0x6f, 0x37, 0x0d, 0xa9, 0xe6,
  3128. 0xc2, 0x20, 0xc5, 0x80,
  3129. };
  3130. static const unsigned char kat108_nor_addin1[] = {
  3131. 0xba, 0x25, 0xaa, 0x3a, 0xb3, 0xd5, 0x0a, 0x72, 0xb6, 0xc1, 0xb4, 0x3f,
  3132. 0x30, 0xdb, 0x44, 0x55,
  3133. };
  3134. static const unsigned char kat108_nor_retbytes[] = {
  3135. 0x88, 0x59, 0x55, 0xd1, 0x27, 0xfa, 0xf4, 0xc9, 0x21, 0xc4, 0xed, 0x3f,
  3136. 0x38, 0xbc, 0x15, 0x42, 0xb9, 0x5a, 0x87, 0x83, 0x4d, 0x4d, 0x73, 0xd1,
  3137. 0x56, 0x24, 0x00, 0xa6, 0xd3, 0xaa, 0x8e, 0x6c, 0x69, 0x7b, 0x71, 0x1d,
  3138. 0x91, 0x0e, 0xec, 0xeb, 0xc9, 0xca, 0x4e, 0xc2, 0xdc, 0x17, 0xe7, 0x98,
  3139. 0x93, 0xe7, 0xf7, 0x34, 0xc4, 0x56, 0x75, 0xde, 0x47, 0x7f, 0x55, 0x45,
  3140. 0xbd, 0x94, 0xcd, 0xee,
  3141. };
  3142. static const struct drbg_kat_no_reseed kat108_nor_t = {
  3143. 2, kat108_nor_entropyin, kat108_nor_nonce, kat108_nor_persstr,
  3144. kat108_nor_addin0, kat108_nor_addin1, kat108_nor_retbytes
  3145. };
  3146. static const struct drbg_kat kat108_nor = {
  3147. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat108_nor_t
  3148. };
  3149. static const unsigned char kat109_nor_entropyin[] = {
  3150. 0x6f, 0xb7, 0x6f, 0xcd, 0x3d, 0x76, 0x2f, 0xa4, 0xc5, 0x0d, 0xe1, 0xf2,
  3151. 0x2e, 0x92, 0x76, 0x83,
  3152. };
  3153. static const unsigned char kat109_nor_nonce[] = {
  3154. 0xa5, 0xee, 0xf1, 0x2f, 0x3b, 0x3c, 0x25, 0xa3,
  3155. };
  3156. static const unsigned char kat109_nor_persstr[] = {
  3157. 0x54, 0x86, 0x7d, 0x7d, 0xc8, 0xce, 0xf5, 0x23, 0x42, 0xbb, 0xc0, 0x09,
  3158. 0x95, 0x4e, 0xfb, 0xf8,
  3159. };
  3160. static const unsigned char kat109_nor_addin0[] = {
  3161. 0xfa, 0xc5, 0x52, 0xaa, 0x87, 0x96, 0xe8, 0x85, 0x8d, 0x55, 0xae, 0x37,
  3162. 0x1a, 0x0f, 0x54, 0x8f,
  3163. };
  3164. static const unsigned char kat109_nor_addin1[] = {
  3165. 0xfe, 0xfb, 0xe9, 0xc8, 0x3c, 0x15, 0x9f, 0xcf, 0xa9, 0x2e, 0xe8, 0x18,
  3166. 0x76, 0x1d, 0x49, 0xdc,
  3167. };
  3168. static const unsigned char kat109_nor_retbytes[] = {
  3169. 0x09, 0x4f, 0x86, 0x3b, 0x88, 0xe2, 0xb5, 0x5e, 0xf4, 0x15, 0xd2, 0x68,
  3170. 0x82, 0x94, 0xc7, 0xd8, 0xd2, 0xd7, 0x76, 0xc1, 0x69, 0x16, 0x73, 0x91,
  3171. 0xdf, 0x36, 0xf8, 0x0a, 0xd8, 0xe9, 0x83, 0x3e, 0x97, 0x61, 0x6e, 0xf6,
  3172. 0xe0, 0xa4, 0x5f, 0x94, 0x0d, 0x66, 0x38, 0x30, 0x18, 0xae, 0xe8, 0x6a,
  3173. 0x48, 0x0a, 0x26, 0x51, 0xd6, 0xe2, 0xef, 0xad, 0x61, 0x5a, 0x05, 0x1f,
  3174. 0x0d, 0xca, 0x64, 0xae,
  3175. };
  3176. static const struct drbg_kat_no_reseed kat109_nor_t = {
  3177. 3, kat109_nor_entropyin, kat109_nor_nonce, kat109_nor_persstr,
  3178. kat109_nor_addin0, kat109_nor_addin1, kat109_nor_retbytes
  3179. };
  3180. static const struct drbg_kat kat109_nor = {
  3181. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat109_nor_t
  3182. };
  3183. static const unsigned char kat110_nor_entropyin[] = {
  3184. 0x5b, 0x32, 0xa3, 0x92, 0xdc, 0x66, 0x5a, 0xb5, 0x8f, 0x25, 0x98, 0xea,
  3185. 0xb0, 0x7d, 0x8e, 0x53,
  3186. };
  3187. static const unsigned char kat110_nor_nonce[] = {
  3188. 0xc6, 0xf6, 0x13, 0x10, 0x73, 0x88, 0x60, 0xf5,
  3189. };
  3190. static const unsigned char kat110_nor_persstr[] = {
  3191. 0x9f, 0x30, 0x9a, 0x68, 0x53, 0x29, 0x82, 0x16, 0x92, 0xa9, 0x73, 0x00,
  3192. 0x62, 0x0c, 0x01, 0x56,
  3193. };
  3194. static const unsigned char kat110_nor_addin0[] = {
  3195. 0x87, 0x5a, 0x4a, 0x43, 0xbd, 0xdf, 0x1a, 0x73, 0x05, 0x52, 0x6a, 0x48,
  3196. 0x8a, 0x1e, 0x0e, 0xb4,
  3197. };
  3198. static const unsigned char kat110_nor_addin1[] = {
  3199. 0x21, 0x14, 0xa7, 0xcb, 0x15, 0x49, 0x0c, 0x06, 0x3b, 0xb4, 0x66, 0x8f,
  3200. 0x36, 0x9a, 0x3d, 0x8e,
  3201. };
  3202. static const unsigned char kat110_nor_retbytes[] = {
  3203. 0x91, 0xc1, 0xf1, 0x99, 0xf6, 0x71, 0xff, 0x56, 0x8e, 0x0e, 0xce, 0x46,
  3204. 0x08, 0x87, 0x65, 0x16, 0x23, 0x22, 0xa8, 0x21, 0x60, 0x66, 0xf9, 0xa4,
  3205. 0x15, 0xd7, 0xcc, 0xd9, 0xdf, 0xe7, 0x23, 0xc5, 0x21, 0xf5, 0x7d, 0xbd,
  3206. 0x84, 0x69, 0xe3, 0x9b, 0xac, 0xda, 0xc3, 0x1e, 0x74, 0x2a, 0x2d, 0x2f,
  3207. 0xf2, 0xa3, 0x1d, 0x5a, 0x15, 0xa0, 0x1b, 0xfd, 0x32, 0xbe, 0x50, 0x28,
  3208. 0x6c, 0x73, 0x0e, 0xad,
  3209. };
  3210. static const struct drbg_kat_no_reseed kat110_nor_t = {
  3211. 4, kat110_nor_entropyin, kat110_nor_nonce, kat110_nor_persstr,
  3212. kat110_nor_addin0, kat110_nor_addin1, kat110_nor_retbytes
  3213. };
  3214. static const struct drbg_kat kat110_nor = {
  3215. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat110_nor_t
  3216. };
  3217. static const unsigned char kat111_nor_entropyin[] = {
  3218. 0x79, 0x95, 0x7c, 0x33, 0xe4, 0x5b, 0xba, 0x1c, 0x8a, 0xe6, 0x90, 0x29,
  3219. 0x07, 0x7a, 0xe3, 0x6b,
  3220. };
  3221. static const unsigned char kat111_nor_nonce[] = {
  3222. 0x5b, 0x49, 0xd8, 0xe7, 0xc1, 0x80, 0xbc, 0xb6,
  3223. };
  3224. static const unsigned char kat111_nor_persstr[] = {
  3225. 0x2a, 0xa8, 0xe7, 0x7b, 0x94, 0xfe, 0x0d, 0xdf, 0x0e, 0x57, 0x30, 0x2c,
  3226. 0x8e, 0xbd, 0xc2, 0x2a,
  3227. };
  3228. static const unsigned char kat111_nor_addin0[] = {
  3229. 0x14, 0x84, 0x4d, 0x85, 0xe5, 0x0c, 0xb1, 0xfc, 0xb4, 0xe6, 0x88, 0x7b,
  3230. 0x3f, 0xc6, 0x7f, 0x54,
  3231. };
  3232. static const unsigned char kat111_nor_addin1[] = {
  3233. 0x4c, 0x7c, 0xb0, 0x69, 0x29, 0x7c, 0x18, 0x65, 0x33, 0x94, 0xb8, 0x2b,
  3234. 0xe6, 0xa9, 0x30, 0x99,
  3235. };
  3236. static const unsigned char kat111_nor_retbytes[] = {
  3237. 0x06, 0x61, 0xe2, 0x41, 0x6e, 0x71, 0xfe, 0x49, 0x11, 0x9f, 0x96, 0x76,
  3238. 0x42, 0xfd, 0x37, 0xdd, 0xb5, 0x82, 0xa1, 0x89, 0xa8, 0x88, 0xe7, 0xd4,
  3239. 0xa2, 0xaa, 0x56, 0x27, 0x51, 0x94, 0xc8, 0xca, 0x69, 0x8f, 0xb2, 0xd6,
  3240. 0x96, 0x83, 0x4b, 0x88, 0xb5, 0x72, 0xf0, 0xfd, 0xf5, 0xba, 0xdb, 0x6b,
  3241. 0xf5, 0x8d, 0x16, 0x12, 0xd2, 0x5f, 0x5e, 0xe3, 0xf6, 0x2d, 0x33, 0xdb,
  3242. 0x9a, 0x86, 0xb0, 0x87,
  3243. };
  3244. static const struct drbg_kat_no_reseed kat111_nor_t = {
  3245. 5, kat111_nor_entropyin, kat111_nor_nonce, kat111_nor_persstr,
  3246. kat111_nor_addin0, kat111_nor_addin1, kat111_nor_retbytes
  3247. };
  3248. static const struct drbg_kat kat111_nor = {
  3249. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat111_nor_t
  3250. };
  3251. static const unsigned char kat112_nor_entropyin[] = {
  3252. 0x70, 0x50, 0x89, 0x80, 0x36, 0x2e, 0x96, 0x2a, 0xe7, 0x78, 0x45, 0x80,
  3253. 0x81, 0xcf, 0xbb, 0xe6,
  3254. };
  3255. static const unsigned char kat112_nor_nonce[] = {
  3256. 0x29, 0xcc, 0xf6, 0xed, 0xba, 0x46, 0x2d, 0xc2,
  3257. };
  3258. static const unsigned char kat112_nor_persstr[] = {
  3259. 0x48, 0xa3, 0xd8, 0xdb, 0xdc, 0x85, 0x18, 0x8a, 0xbb, 0x35, 0xb5, 0x6c,
  3260. 0x19, 0x4d, 0x60, 0x20,
  3261. };
  3262. static const unsigned char kat112_nor_addin0[] = {
  3263. 0xa8, 0x14, 0x72, 0x42, 0xe2, 0x47, 0x37, 0xfc, 0xf3, 0xb0, 0x07, 0xd2,
  3264. 0x84, 0xd6, 0x61, 0xc4,
  3265. };
  3266. static const unsigned char kat112_nor_addin1[] = {
  3267. 0x96, 0x4a, 0x9d, 0x06, 0x86, 0xd9, 0x61, 0x93, 0xfb, 0x2e, 0x4a, 0x35,
  3268. 0x14, 0x5e, 0xdc, 0xc8,
  3269. };
  3270. static const unsigned char kat112_nor_retbytes[] = {
  3271. 0xd8, 0x1b, 0xd5, 0xda, 0x60, 0xd9, 0x9d, 0x6d, 0xaa, 0xec, 0xeb, 0xc0,
  3272. 0x60, 0x65, 0x26, 0x33, 0xec, 0x14, 0xdc, 0x3b, 0x84, 0x69, 0x3b, 0xdf,
  3273. 0xf7, 0x67, 0x77, 0x1f, 0x03, 0x2b, 0xfa, 0x2e, 0x4d, 0xfa, 0xd5, 0x3e,
  3274. 0xf6, 0xd1, 0x99, 0x10, 0xbd, 0x92, 0x5d, 0xf1, 0x20, 0x9f, 0x33, 0xea,
  3275. 0x11, 0xe3, 0xf1, 0xe8, 0x37, 0xb0, 0x3e, 0x7a, 0x70, 0x03, 0x25, 0x7f,
  3276. 0xf4, 0x20, 0xa6, 0x92,
  3277. };
  3278. static const struct drbg_kat_no_reseed kat112_nor_t = {
  3279. 6, kat112_nor_entropyin, kat112_nor_nonce, kat112_nor_persstr,
  3280. kat112_nor_addin0, kat112_nor_addin1, kat112_nor_retbytes
  3281. };
  3282. static const struct drbg_kat kat112_nor = {
  3283. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat112_nor_t
  3284. };
  3285. static const unsigned char kat113_nor_entropyin[] = {
  3286. 0xb7, 0x83, 0x71, 0xba, 0xf5, 0x86, 0xc0, 0xdd, 0x05, 0x4b, 0xfd, 0x29,
  3287. 0x3f, 0xc7, 0xe8, 0xdc,
  3288. };
  3289. static const unsigned char kat113_nor_nonce[] = {
  3290. 0x11, 0x9b, 0x23, 0x2c, 0xe4, 0xca, 0xda, 0x97,
  3291. };
  3292. static const unsigned char kat113_nor_persstr[] = {
  3293. 0x3a, 0x58, 0x75, 0xb4, 0x43, 0x07, 0x3c, 0x9b, 0xf6, 0x4a, 0x0a, 0xaa,
  3294. 0xf2, 0x6b, 0xa4, 0x4f,
  3295. };
  3296. static const unsigned char kat113_nor_addin0[] = {
  3297. 0x4d, 0x2d, 0x4f, 0x16, 0xb7, 0xb7, 0xd2, 0xd2, 0xbb, 0x4d, 0x83, 0xa4,
  3298. 0x92, 0x99, 0x96, 0xb2,
  3299. };
  3300. static const unsigned char kat113_nor_addin1[] = {
  3301. 0x7d, 0x31, 0x73, 0xe0, 0x8a, 0xea, 0x4c, 0x8b, 0x6e, 0xf9, 0xe3, 0xcd,
  3302. 0x69, 0x8f, 0x9b, 0x09,
  3303. };
  3304. static const unsigned char kat113_nor_retbytes[] = {
  3305. 0xbb, 0x04, 0x86, 0x41, 0xf0, 0x36, 0xdc, 0x11, 0xb8, 0xdf, 0x8a, 0xd3,
  3306. 0xe4, 0xd5, 0xbd, 0xfc, 0x30, 0x9b, 0x2c, 0x3f, 0x22, 0xb3, 0xd2, 0xb8,
  3307. 0xac, 0xf1, 0x96, 0xd5, 0x0c, 0xd5, 0x42, 0xde, 0x13, 0xcd, 0x99, 0x97,
  3308. 0x8a, 0x92, 0x0a, 0xcb, 0xa6, 0x1d, 0xc0, 0x7c, 0x64, 0x6b, 0x48, 0x09,
  3309. 0x44, 0x79, 0xbb, 0x44, 0x17, 0xd8, 0x40, 0x9a, 0xba, 0xe3, 0xd6, 0x9e,
  3310. 0xd5, 0x2a, 0x2a, 0x3e,
  3311. };
  3312. static const struct drbg_kat_no_reseed kat113_nor_t = {
  3313. 7, kat113_nor_entropyin, kat113_nor_nonce, kat113_nor_persstr,
  3314. kat113_nor_addin0, kat113_nor_addin1, kat113_nor_retbytes
  3315. };
  3316. static const struct drbg_kat kat113_nor = {
  3317. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat113_nor_t
  3318. };
  3319. static const unsigned char kat114_nor_entropyin[] = {
  3320. 0x96, 0xbf, 0xc3, 0x47, 0xb3, 0x06, 0x80, 0x5a, 0xf8, 0x8d, 0xa0, 0x07,
  3321. 0x67, 0x5d, 0xb4, 0x7c,
  3322. };
  3323. static const unsigned char kat114_nor_nonce[] = {
  3324. 0x12, 0x95, 0x37, 0x06, 0xa0, 0x6e, 0xb5, 0x30,
  3325. };
  3326. static const unsigned char kat114_nor_persstr[] = {
  3327. 0x46, 0x73, 0x3d, 0xdd, 0xaf, 0x70, 0xe3, 0xf2, 0x07, 0x5c, 0xb8, 0x70,
  3328. 0xf4, 0x7e, 0x72, 0xdf,
  3329. };
  3330. static const unsigned char kat114_nor_addin0[] = {
  3331. 0x64, 0xf7, 0x9a, 0xd1, 0xdf, 0xa3, 0x93, 0xd3, 0x6b, 0xf5, 0xbe, 0x83,
  3332. 0x32, 0x90, 0xb6, 0x94,
  3333. };
  3334. static const unsigned char kat114_nor_addin1[] = {
  3335. 0x5d, 0x21, 0x0f, 0x12, 0x85, 0xf0, 0xfb, 0x03, 0x8a, 0x75, 0x34, 0x76,
  3336. 0xef, 0x24, 0x91, 0x79,
  3337. };
  3338. static const unsigned char kat114_nor_retbytes[] = {
  3339. 0x67, 0xb6, 0x9b, 0xa4, 0x34, 0x90, 0x3e, 0x2b, 0xbf, 0x46, 0xd3, 0xf5,
  3340. 0xe3, 0x00, 0xb9, 0xe5, 0xcf, 0x33, 0x01, 0xbe, 0xaa, 0xb7, 0xd3, 0x0b,
  3341. 0x46, 0x52, 0xed, 0x3b, 0xf6, 0x62, 0x65, 0x79, 0x50, 0x3a, 0x54, 0x4e,
  3342. 0x58, 0x23, 0x7c, 0x5e, 0x55, 0x1a, 0xd5, 0xee, 0x17, 0xb7, 0x36, 0x12,
  3343. 0x0c, 0x37, 0xa3, 0x02, 0x9b, 0xd7, 0xa1, 0x03, 0x4d, 0x4c, 0x49, 0xf6,
  3344. 0x1e, 0x04, 0x0a, 0xca,
  3345. };
  3346. static const struct drbg_kat_no_reseed kat114_nor_t = {
  3347. 8, kat114_nor_entropyin, kat114_nor_nonce, kat114_nor_persstr,
  3348. kat114_nor_addin0, kat114_nor_addin1, kat114_nor_retbytes
  3349. };
  3350. static const struct drbg_kat kat114_nor = {
  3351. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat114_nor_t
  3352. };
  3353. static const unsigned char kat115_nor_entropyin[] = {
  3354. 0x9a, 0x4c, 0x8b, 0x46, 0xa9, 0x74, 0xfb, 0xc8, 0x5e, 0x25, 0x6d, 0x1f,
  3355. 0x07, 0xcc, 0x59, 0xaa,
  3356. };
  3357. static const unsigned char kat115_nor_nonce[] = {
  3358. 0xeb, 0x8d, 0x66, 0x21, 0x02, 0x09, 0x01, 0x14,
  3359. };
  3360. static const unsigned char kat115_nor_persstr[] = {
  3361. 0xb9, 0x4b, 0x8d, 0x2a, 0x64, 0x92, 0x66, 0x64, 0x5a, 0x71, 0x5a, 0xfc,
  3362. 0xa0, 0x99, 0x5d, 0x9d,
  3363. };
  3364. static const unsigned char kat115_nor_addin0[] = {
  3365. 0xf3, 0x36, 0xe1, 0xd6, 0x2a, 0xc5, 0x68, 0xed, 0x13, 0x2e, 0xa0, 0x18,
  3366. 0x15, 0xda, 0xd5, 0x08,
  3367. };
  3368. static const unsigned char kat115_nor_addin1[] = {
  3369. 0x66, 0x76, 0x26, 0xa2, 0x3d, 0x23, 0xb7, 0x16, 0x5a, 0x6a, 0x88, 0x5d,
  3370. 0x41, 0xfa, 0x90, 0x1c,
  3371. };
  3372. static const unsigned char kat115_nor_retbytes[] = {
  3373. 0x2d, 0xf3, 0x3f, 0x7a, 0xd2, 0xc2, 0xd8, 0x6e, 0x61, 0x63, 0x3c, 0x25,
  3374. 0xa8, 0xac, 0x57, 0xb5, 0xde, 0xad, 0x88, 0x02, 0x1c, 0x93, 0xad, 0x69,
  3375. 0xba, 0x6c, 0x52, 0x27, 0x99, 0xc4, 0xbe, 0xbf, 0xda, 0x78, 0x27, 0x72,
  3376. 0xc8, 0x1e, 0x7e, 0x02, 0xd8, 0xb8, 0x82, 0x54, 0x6b, 0x24, 0x2b, 0xb2,
  3377. 0x2f, 0x31, 0x05, 0x65, 0xba, 0xc3, 0x16, 0x26, 0x9f, 0xfc, 0x80, 0x04,
  3378. 0xd5, 0x44, 0x06, 0x31,
  3379. };
  3380. static const struct drbg_kat_no_reseed kat115_nor_t = {
  3381. 9, kat115_nor_entropyin, kat115_nor_nonce, kat115_nor_persstr,
  3382. kat115_nor_addin0, kat115_nor_addin1, kat115_nor_retbytes
  3383. };
  3384. static const struct drbg_kat kat115_nor = {
  3385. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat115_nor_t
  3386. };
  3387. static const unsigned char kat116_nor_entropyin[] = {
  3388. 0xc7, 0xd6, 0x55, 0x75, 0x65, 0xa1, 0xfd, 0xe4, 0x80, 0x84, 0x1f, 0x1f,
  3389. 0x1a, 0x10, 0xf6, 0x7d,
  3390. };
  3391. static const unsigned char kat116_nor_nonce[] = {
  3392. 0x02, 0xf8, 0x47, 0x98, 0x66, 0x26, 0xbb, 0x4b,
  3393. };
  3394. static const unsigned char kat116_nor_persstr[] = {
  3395. 0x61, 0x8c, 0xac, 0x99, 0x53, 0x17, 0x91, 0x67, 0x36, 0x03, 0xa1, 0x6b,
  3396. 0x99, 0xab, 0x0e, 0x80,
  3397. };
  3398. static const unsigned char kat116_nor_addin0[] = {
  3399. 0x81, 0x0c, 0x8b, 0xe4, 0xb1, 0x80, 0x1f, 0xec, 0x75, 0x40, 0x63, 0xc2,
  3400. 0x61, 0x15, 0x66, 0x60,
  3401. };
  3402. static const unsigned char kat116_nor_addin1[] = {
  3403. 0xe2, 0x59, 0x4d, 0x34, 0xce, 0x1a, 0xd6, 0x53, 0x51, 0x28, 0x60, 0x69,
  3404. 0xeb, 0x1a, 0x63, 0x08,
  3405. };
  3406. static const unsigned char kat116_nor_retbytes[] = {
  3407. 0xa3, 0xc4, 0xd0, 0x2d, 0xa0, 0x16, 0x6f, 0xef, 0x32, 0xce, 0x69, 0x97,
  3408. 0x5d, 0xb9, 0x4d, 0x19, 0x60, 0x44, 0xe8, 0x1f, 0x59, 0x04, 0x4d, 0x22,
  3409. 0xdf, 0x84, 0x05, 0xb4, 0x68, 0xeb, 0xd5, 0xa9, 0x29, 0x97, 0xfe, 0xeb,
  3410. 0xa8, 0x2d, 0x7a, 0xdf, 0x97, 0xcc, 0xbb, 0x1a, 0x59, 0x35, 0x56, 0x26,
  3411. 0xae, 0xfa, 0xe0, 0xd4, 0x35, 0xb4, 0x03, 0xb7, 0xde, 0xb9, 0x00, 0x5b,
  3412. 0x8f, 0x5e, 0xa9, 0xa5,
  3413. };
  3414. static const struct drbg_kat_no_reseed kat116_nor_t = {
  3415. 10, kat116_nor_entropyin, kat116_nor_nonce, kat116_nor_persstr,
  3416. kat116_nor_addin0, kat116_nor_addin1, kat116_nor_retbytes
  3417. };
  3418. static const struct drbg_kat kat116_nor = {
  3419. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat116_nor_t
  3420. };
  3421. static const unsigned char kat117_nor_entropyin[] = {
  3422. 0x14, 0x0d, 0xbf, 0xf6, 0x3e, 0x70, 0x83, 0xc3, 0x08, 0x41, 0x9f, 0x86,
  3423. 0x4c, 0x09, 0x3e, 0x99,
  3424. };
  3425. static const unsigned char kat117_nor_nonce[] = {
  3426. 0xeb, 0x1c, 0x66, 0x92, 0xdb, 0x94, 0x9d, 0x5a,
  3427. };
  3428. static const unsigned char kat117_nor_persstr[] = {
  3429. 0x23, 0xd3, 0x27, 0x21, 0xf1, 0xc0, 0x3a, 0x90, 0xf3, 0x9e, 0xf0, 0x21,
  3430. 0xac, 0x88, 0x84, 0xc7,
  3431. };
  3432. static const unsigned char kat117_nor_addin0[] = {
  3433. 0xc6, 0xe3, 0x80, 0x8d, 0xb9, 0xf9, 0xda, 0x14, 0x23, 0x9a, 0xd7, 0xd7,
  3434. 0x18, 0x28, 0x6a, 0x96,
  3435. };
  3436. static const unsigned char kat117_nor_addin1[] = {
  3437. 0xa8, 0x4a, 0xaa, 0xdb, 0x7d, 0x57, 0x2a, 0x9a, 0xfc, 0xa3, 0xf7, 0x6c,
  3438. 0xed, 0xf0, 0xa4, 0xb9,
  3439. };
  3440. static const unsigned char kat117_nor_retbytes[] = {
  3441. 0x74, 0x3d, 0xf9, 0x7c, 0x2e, 0x99, 0xd9, 0x74, 0x07, 0x77, 0x72, 0xa6,
  3442. 0xfe, 0xa4, 0x03, 0x12, 0x8f, 0x41, 0xff, 0x32, 0xa9, 0x5f, 0xb4, 0xf8,
  3443. 0xb0, 0xec, 0xca, 0xa0, 0x57, 0x1c, 0xd2, 0x57, 0x8e, 0x48, 0x2c, 0xe7,
  3444. 0x09, 0x84, 0x99, 0xc4, 0xd3, 0x01, 0x5f, 0x91, 0x92, 0x35, 0x52, 0x38,
  3445. 0xc7, 0x0f, 0x8b, 0x76, 0xa5, 0x04, 0x27, 0x2a, 0x87, 0x09, 0xcd, 0x0e,
  3446. 0x2d, 0xc8, 0x2c, 0x9c,
  3447. };
  3448. static const struct drbg_kat_no_reseed kat117_nor_t = {
  3449. 11, kat117_nor_entropyin, kat117_nor_nonce, kat117_nor_persstr,
  3450. kat117_nor_addin0, kat117_nor_addin1, kat117_nor_retbytes
  3451. };
  3452. static const struct drbg_kat kat117_nor = {
  3453. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat117_nor_t
  3454. };
  3455. static const unsigned char kat118_nor_entropyin[] = {
  3456. 0x6a, 0xf3, 0x96, 0x2f, 0xd6, 0xae, 0x84, 0xde, 0xc3, 0xf8, 0x94, 0xbf,
  3457. 0x39, 0xc6, 0x46, 0x42,
  3458. };
  3459. static const unsigned char kat118_nor_nonce[] = {
  3460. 0xc0, 0x20, 0x49, 0x64, 0x61, 0xa3, 0x91, 0x61,
  3461. };
  3462. static const unsigned char kat118_nor_persstr[] = {
  3463. 0x75, 0xca, 0xef, 0xe7, 0x75, 0x20, 0x45, 0xfc, 0xb1, 0xe5, 0xfc, 0x22,
  3464. 0x7f, 0xfb, 0x94, 0x0d,
  3465. };
  3466. static const unsigned char kat118_nor_addin0[] = {
  3467. 0x16, 0x64, 0xf7, 0xcc, 0x88, 0xd0, 0x1d, 0x7f, 0x27, 0x86, 0x15, 0xc5,
  3468. 0x63, 0x09, 0x2f, 0xd6,
  3469. };
  3470. static const unsigned char kat118_nor_addin1[] = {
  3471. 0x60, 0xb7, 0xa8, 0x6b, 0xc0, 0xc8, 0xdd, 0x2b, 0xd0, 0x7a, 0xda, 0xa4,
  3472. 0xd5, 0xc2, 0x4d, 0x68,
  3473. };
  3474. static const unsigned char kat118_nor_retbytes[] = {
  3475. 0xb4, 0xed, 0xc9, 0x65, 0x0d, 0x81, 0x47, 0x17, 0x0c, 0x81, 0x52, 0x9f,
  3476. 0x2f, 0xd7, 0x33, 0x11, 0x53, 0xa6, 0x1d, 0x0d, 0x58, 0xb7, 0x6b, 0x50,
  3477. 0xbb, 0x52, 0xda, 0x0a, 0x79, 0x51, 0x64, 0xbe, 0xeb, 0xc6, 0x09, 0x32,
  3478. 0x05, 0x20, 0x32, 0x8f, 0x3d, 0x4e, 0x83, 0xcd, 0x80, 0xd0, 0xb1, 0xcb,
  3479. 0xbb, 0xfd, 0x0a, 0x84, 0xa9, 0x65, 0x10, 0x88, 0x11, 0x01, 0xfb, 0xc7,
  3480. 0x40, 0xb2, 0x81, 0x7f,
  3481. };
  3482. static const struct drbg_kat_no_reseed kat118_nor_t = {
  3483. 12, kat118_nor_entropyin, kat118_nor_nonce, kat118_nor_persstr,
  3484. kat118_nor_addin0, kat118_nor_addin1, kat118_nor_retbytes
  3485. };
  3486. static const struct drbg_kat kat118_nor = {
  3487. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat118_nor_t
  3488. };
  3489. static const unsigned char kat119_nor_entropyin[] = {
  3490. 0x36, 0xe2, 0x7a, 0xa6, 0xb3, 0x66, 0x99, 0xe9, 0x46, 0x45, 0x95, 0xa9,
  3491. 0x32, 0xcc, 0x92, 0x8e,
  3492. };
  3493. static const unsigned char kat119_nor_nonce[] = {
  3494. 0x65, 0x16, 0xbb, 0x91, 0x85, 0x66, 0xbf, 0x89,
  3495. };
  3496. static const unsigned char kat119_nor_persstr[] = {
  3497. 0x9b, 0xc6, 0x83, 0xa1, 0xf4, 0x65, 0xba, 0x0f, 0x2c, 0xe1, 0x8c, 0x8b,
  3498. 0x9c, 0x61, 0x42, 0x44,
  3499. };
  3500. static const unsigned char kat119_nor_addin0[] = {
  3501. 0x0d, 0x17, 0x5b, 0x34, 0xd8, 0xb9, 0xe2, 0x70, 0x74, 0x5a, 0x71, 0xf3,
  3502. 0x5d, 0x41, 0x6f, 0x10,
  3503. };
  3504. static const unsigned char kat119_nor_addin1[] = {
  3505. 0xa7, 0x90, 0xc8, 0x6f, 0xdf, 0x0c, 0xa8, 0x0e, 0xb3, 0xd6, 0xf7, 0x02,
  3506. 0x91, 0x6e, 0xa9, 0x9f,
  3507. };
  3508. static const unsigned char kat119_nor_retbytes[] = {
  3509. 0x34, 0xea, 0x96, 0x29, 0x62, 0x7f, 0x66, 0x84, 0xb9, 0xab, 0x85, 0xf8,
  3510. 0x16, 0x46, 0x86, 0x4d, 0xd8, 0xef, 0x3a, 0x15, 0xed, 0xc8, 0x01, 0xdc,
  3511. 0x39, 0xa7, 0x31, 0xdc, 0x9e, 0x80, 0xe6, 0x26, 0xfc, 0x8c, 0xe2, 0x1e,
  3512. 0x9b, 0x62, 0xe9, 0x48, 0x88, 0x64, 0x89, 0xd5, 0xe4, 0x43, 0x6e, 0x65,
  3513. 0x9f, 0x26, 0xbf, 0xb3, 0x43, 0x51, 0x04, 0xad, 0x9b, 0xfa, 0x0a, 0xaf,
  3514. 0xc5, 0x50, 0x69, 0x17,
  3515. };
  3516. static const struct drbg_kat_no_reseed kat119_nor_t = {
  3517. 13, kat119_nor_entropyin, kat119_nor_nonce, kat119_nor_persstr,
  3518. kat119_nor_addin0, kat119_nor_addin1, kat119_nor_retbytes
  3519. };
  3520. static const struct drbg_kat kat119_nor = {
  3521. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat119_nor_t
  3522. };
  3523. static const unsigned char kat120_nor_entropyin[] = {
  3524. 0xac, 0xa3, 0x59, 0xf1, 0x07, 0xc3, 0x24, 0x64, 0x8a, 0xd4, 0x45, 0x56,
  3525. 0x4b, 0xfa, 0xe5, 0x6d,
  3526. };
  3527. static const unsigned char kat120_nor_nonce[] = {
  3528. 0xf9, 0x5d, 0x1c, 0x8f, 0xd2, 0x66, 0xdf, 0x64,
  3529. };
  3530. static const unsigned char kat120_nor_persstr[] = {
  3531. 0xa5, 0xcf, 0xdc, 0x76, 0xc4, 0xe8, 0x49, 0xe4, 0x5d, 0x8b, 0xcc, 0x68,
  3532. 0xee, 0xb0, 0x12, 0x84,
  3533. };
  3534. static const unsigned char kat120_nor_addin0[] = {
  3535. 0x57, 0x80, 0x2c, 0xc0, 0x6e, 0xf0, 0x34, 0x4b, 0xd1, 0x4a, 0x48, 0x57,
  3536. 0xc6, 0x9f, 0x68, 0xd4,
  3537. };
  3538. static const unsigned char kat120_nor_addin1[] = {
  3539. 0x53, 0x14, 0xfc, 0xcb, 0xe4, 0x52, 0x01, 0x8f, 0xc1, 0x6e, 0x5f, 0xfb,
  3540. 0x5d, 0x90, 0xe8, 0x88,
  3541. };
  3542. static const unsigned char kat120_nor_retbytes[] = {
  3543. 0x21, 0x1d, 0x90, 0xec, 0xd7, 0xd3, 0xdd, 0xd0, 0x3f, 0x91, 0xe8, 0xa6,
  3544. 0x74, 0x40, 0x0f, 0xb1, 0x8d, 0x3f, 0xb3, 0x98, 0x86, 0xa2, 0x26, 0x2f,
  3545. 0x0e, 0x09, 0xff, 0x07, 0x5f, 0x99, 0x8d, 0x21, 0x74, 0x19, 0xf2, 0xe9,
  3546. 0x35, 0x3d, 0x45, 0xb9, 0xdf, 0x10, 0x72, 0x3e, 0xba, 0xeb, 0xcf, 0xf1,
  3547. 0xaa, 0x80, 0x24, 0xd9, 0xb0, 0x96, 0x06, 0x4d, 0x6f, 0x31, 0x83, 0x5b,
  3548. 0x75, 0xf8, 0xea, 0xa6,
  3549. };
  3550. static const struct drbg_kat_no_reseed kat120_nor_t = {
  3551. 14, kat120_nor_entropyin, kat120_nor_nonce, kat120_nor_persstr,
  3552. kat120_nor_addin0, kat120_nor_addin1, kat120_nor_retbytes
  3553. };
  3554. static const struct drbg_kat kat120_nor = {
  3555. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat120_nor_t
  3556. };
  3557. static const unsigned char kat121_nor_entropyin[] = {
  3558. 0x2e, 0x17, 0x24, 0xdb, 0x48, 0x22, 0x32, 0xa3, 0xe6, 0x1f, 0x92, 0xc1,
  3559. 0xc2, 0x66, 0xfa, 0xf8,
  3560. };
  3561. static const unsigned char kat121_nor_nonce[] = {
  3562. 0x38, 0xaa, 0x55, 0x90, 0xf6, 0xbf, 0xaa, 0x4b,
  3563. };
  3564. static const unsigned char kat121_nor_persstr[] = {0};
  3565. static const unsigned char kat121_nor_addin0[] = {0};
  3566. static const unsigned char kat121_nor_addin1[] = {0};
  3567. static const unsigned char kat121_nor_retbytes[] = {
  3568. 0x44, 0x38, 0xb4, 0x8a, 0x45, 0xfb, 0x01, 0x41, 0xe3, 0x1f, 0x0a, 0x96,
  3569. 0x24, 0xdf, 0xe6, 0xfc, 0xc2, 0xf9, 0xed, 0xc0, 0x75, 0xc0, 0xa5, 0x2b,
  3570. 0xc5, 0xfc, 0x46, 0xd8, 0x5a, 0x96, 0x6c, 0x85, 0x3f, 0xee, 0xe6, 0xaf,
  3571. 0x91, 0x32, 0x34, 0xb3, 0xf9, 0xa6, 0x79, 0xf6, 0x67, 0x89, 0x8d, 0xc1,
  3572. 0x5a, 0x24, 0xaa, 0xed, 0x89, 0xf0, 0x35, 0xbf, 0xa5, 0xda, 0x51, 0x6e,
  3573. 0x43, 0x5b, 0xba, 0xd1,
  3574. };
  3575. static const struct drbg_kat_no_reseed kat121_nor_t = {
  3576. 0, kat121_nor_entropyin, kat121_nor_nonce, kat121_nor_persstr,
  3577. kat121_nor_addin0, kat121_nor_addin1, kat121_nor_retbytes
  3578. };
  3579. static const struct drbg_kat kat121_nor = {
  3580. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat121_nor_t
  3581. };
  3582. static const unsigned char kat122_nor_entropyin[] = {
  3583. 0x22, 0x56, 0x4f, 0x77, 0xc4, 0x5b, 0x05, 0x3c, 0xdf, 0x61, 0x43, 0x3e,
  3584. 0xb9, 0x6b, 0x1d, 0x7c,
  3585. };
  3586. static const unsigned char kat122_nor_nonce[] = {
  3587. 0xcf, 0x73, 0xe6, 0x20, 0xf8, 0x51, 0x52, 0x03,
  3588. };
  3589. static const unsigned char kat122_nor_persstr[] = {0};
  3590. static const unsigned char kat122_nor_addin0[] = {0};
  3591. static const unsigned char kat122_nor_addin1[] = {0};
  3592. static const unsigned char kat122_nor_retbytes[] = {
  3593. 0xc7, 0x90, 0x8e, 0x71, 0x2c, 0x71, 0x6d, 0x1f, 0x5e, 0xd5, 0x33, 0xe1,
  3594. 0x42, 0xe7, 0x21, 0x87, 0xea, 0x77, 0xfb, 0x4f, 0x51, 0x6d, 0xc3, 0x1a,
  3595. 0xa1, 0x0a, 0x1e, 0x54, 0x9d, 0x85, 0xea, 0xdb, 0x7a, 0x46, 0x46, 0x17,
  3596. 0x04, 0x64, 0xc1, 0xf7, 0xa7, 0x52, 0xc0, 0x1a, 0x94, 0x06, 0xbe, 0x66,
  3597. 0x43, 0xee, 0x96, 0x7d, 0x04, 0x64, 0xb8, 0x4b, 0x6a, 0x08, 0xb2, 0xed,
  3598. 0x0a, 0x7a, 0xcb, 0x07,
  3599. };
  3600. static const struct drbg_kat_no_reseed kat122_nor_t = {
  3601. 1, kat122_nor_entropyin, kat122_nor_nonce, kat122_nor_persstr,
  3602. kat122_nor_addin0, kat122_nor_addin1, kat122_nor_retbytes
  3603. };
  3604. static const struct drbg_kat kat122_nor = {
  3605. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat122_nor_t
  3606. };
  3607. static const unsigned char kat123_nor_entropyin[] = {
  3608. 0x2a, 0x5b, 0x01, 0x2b, 0x09, 0x79, 0x26, 0xe8, 0xf8, 0x57, 0x0f, 0xf8,
  3609. 0x69, 0x2c, 0xc5, 0xd1,
  3610. };
  3611. static const unsigned char kat123_nor_nonce[] = {
  3612. 0xde, 0x8e, 0x07, 0x2d, 0x15, 0x81, 0xaf, 0xe6,
  3613. };
  3614. static const unsigned char kat123_nor_persstr[] = {0};
  3615. static const unsigned char kat123_nor_addin0[] = {0};
  3616. static const unsigned char kat123_nor_addin1[] = {0};
  3617. static const unsigned char kat123_nor_retbytes[] = {
  3618. 0x81, 0xf2, 0xe2, 0xc8, 0x58, 0x5e, 0x8d, 0xc4, 0x65, 0xd7, 0x8e, 0x7b,
  3619. 0x75, 0xb9, 0xf6, 0xc2, 0xbb, 0xdc, 0xde, 0x94, 0x75, 0xd4, 0x25, 0x0f,
  3620. 0xb4, 0x9e, 0x04, 0xc5, 0x6e, 0x30, 0x48, 0x9e, 0x24, 0xdf, 0x48, 0x58,
  3621. 0xf7, 0x4e, 0xd0, 0x85, 0xcb, 0xa9, 0xf9, 0x92, 0xeb, 0x7d, 0x13, 0xe4,
  3622. 0xe0, 0x64, 0xa7, 0x45, 0xf4, 0x51, 0xcb, 0x6e, 0xdf, 0xc3, 0x7c, 0x57,
  3623. 0xf3, 0x5e, 0x8d, 0x57,
  3624. };
  3625. static const struct drbg_kat_no_reseed kat123_nor_t = {
  3626. 2, kat123_nor_entropyin, kat123_nor_nonce, kat123_nor_persstr,
  3627. kat123_nor_addin0, kat123_nor_addin1, kat123_nor_retbytes
  3628. };
  3629. static const struct drbg_kat kat123_nor = {
  3630. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat123_nor_t
  3631. };
  3632. static const unsigned char kat124_nor_entropyin[] = {
  3633. 0x2c, 0x6b, 0x05, 0xd1, 0xc8, 0x6a, 0xae, 0x86, 0xa8, 0x9e, 0x81, 0x64,
  3634. 0x82, 0x98, 0x32, 0x36,
  3635. };
  3636. static const unsigned char kat124_nor_nonce[] = {
  3637. 0x33, 0x85, 0xd9, 0x29, 0xad, 0xe9, 0x96, 0xe8,
  3638. };
  3639. static const unsigned char kat124_nor_persstr[] = {0};
  3640. static const unsigned char kat124_nor_addin0[] = {0};
  3641. static const unsigned char kat124_nor_addin1[] = {0};
  3642. static const unsigned char kat124_nor_retbytes[] = {
  3643. 0x52, 0x56, 0xa6, 0x44, 0x29, 0xa5, 0x56, 0xd1, 0xa9, 0x1d, 0x58, 0x99,
  3644. 0x9c, 0x75, 0xb3, 0x6d, 0xe7, 0xcc, 0x01, 0xf7, 0x46, 0x3c, 0x4e, 0x24,
  3645. 0xaf, 0xd1, 0x5d, 0xe0, 0xa3, 0x5d, 0xcb, 0x5a, 0xda, 0x26, 0x79, 0x13,
  3646. 0x4f, 0x15, 0xf4, 0xc5, 0x1d, 0xc0, 0x6b, 0x34, 0x45, 0x4d, 0x6d, 0xca,
  3647. 0xa1, 0xd2, 0x51, 0x1c, 0x1d, 0x22, 0x6f, 0x23, 0x2f, 0x44, 0x52, 0x76,
  3648. 0x25, 0x57, 0x51, 0xe6,
  3649. };
  3650. static const struct drbg_kat_no_reseed kat124_nor_t = {
  3651. 3, kat124_nor_entropyin, kat124_nor_nonce, kat124_nor_persstr,
  3652. kat124_nor_addin0, kat124_nor_addin1, kat124_nor_retbytes
  3653. };
  3654. static const struct drbg_kat kat124_nor = {
  3655. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat124_nor_t
  3656. };
  3657. static const unsigned char kat125_nor_entropyin[] = {
  3658. 0x48, 0xba, 0xb2, 0xf8, 0x2d, 0x80, 0x59, 0x7f, 0x93, 0xad, 0xdb, 0x7e,
  3659. 0x1f, 0x0f, 0x2e, 0x72,
  3660. };
  3661. static const unsigned char kat125_nor_nonce[] = {
  3662. 0xf5, 0xf4, 0x90, 0x18, 0xe8, 0x55, 0x9b, 0x0a,
  3663. };
  3664. static const unsigned char kat125_nor_persstr[] = {0};
  3665. static const unsigned char kat125_nor_addin0[] = {0};
  3666. static const unsigned char kat125_nor_addin1[] = {0};
  3667. static const unsigned char kat125_nor_retbytes[] = {
  3668. 0xfa, 0x32, 0x3d, 0x2d, 0xae, 0x96, 0x74, 0xd8, 0x0b, 0xd2, 0xf1, 0x42,
  3669. 0x7c, 0x1c, 0x79, 0x53, 0x2b, 0x23, 0x74, 0xed, 0x1f, 0xb3, 0xa1, 0x3c,
  3670. 0x62, 0x06, 0x05, 0x04, 0x8a, 0xc5, 0x78, 0xb3, 0x07, 0x0c, 0x67, 0x48,
  3671. 0x31, 0x4e, 0x5e, 0xd1, 0xdb, 0xd3, 0xea, 0xaa, 0x64, 0x1e, 0x50, 0x5c,
  3672. 0x3d, 0x3f, 0x59, 0xfa, 0xc2, 0x5d, 0x89, 0x7b, 0xf3, 0x94, 0xdc, 0xad,
  3673. 0xb6, 0x3b, 0x7f, 0xf9,
  3674. };
  3675. static const struct drbg_kat_no_reseed kat125_nor_t = {
  3676. 4, kat125_nor_entropyin, kat125_nor_nonce, kat125_nor_persstr,
  3677. kat125_nor_addin0, kat125_nor_addin1, kat125_nor_retbytes
  3678. };
  3679. static const struct drbg_kat kat125_nor = {
  3680. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat125_nor_t
  3681. };
  3682. static const unsigned char kat126_nor_entropyin[] = {
  3683. 0xad, 0x7a, 0xff, 0x42, 0x24, 0xe9, 0x3f, 0x32, 0x35, 0x45, 0x41, 0x6a,
  3684. 0x1e, 0x56, 0x97, 0xce,
  3685. };
  3686. static const unsigned char kat126_nor_nonce[] = {
  3687. 0x9c, 0xc1, 0x2c, 0xe2, 0xed, 0x5e, 0x8d, 0x1c,
  3688. };
  3689. static const unsigned char kat126_nor_persstr[] = {0};
  3690. static const unsigned char kat126_nor_addin0[] = {0};
  3691. static const unsigned char kat126_nor_addin1[] = {0};
  3692. static const unsigned char kat126_nor_retbytes[] = {
  3693. 0x36, 0xc7, 0x22, 0x23, 0xb9, 0x24, 0x4c, 0xdb, 0x2c, 0x2c, 0x0d, 0xd5,
  3694. 0xa5, 0x97, 0x06, 0x55, 0x8e, 0x2e, 0x5a, 0x11, 0x84, 0x5c, 0xab, 0xf9,
  3695. 0x54, 0x5c, 0xd4, 0xad, 0x08, 0x15, 0x4a, 0x46, 0x70, 0x3a, 0xe7, 0x50,
  3696. 0xb7, 0xf0, 0xc4, 0xf5, 0xbb, 0x33, 0xac, 0xd3, 0xc3, 0x81, 0xe5, 0xee,
  3697. 0x4c, 0xe0, 0x99, 0x16, 0x43, 0x11, 0x44, 0xe8, 0x51, 0x5f, 0xed, 0x91,
  3698. 0x4d, 0x5c, 0x5b, 0x5e,
  3699. };
  3700. static const struct drbg_kat_no_reseed kat126_nor_t = {
  3701. 5, kat126_nor_entropyin, kat126_nor_nonce, kat126_nor_persstr,
  3702. kat126_nor_addin0, kat126_nor_addin1, kat126_nor_retbytes
  3703. };
  3704. static const struct drbg_kat kat126_nor = {
  3705. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat126_nor_t
  3706. };
  3707. static const unsigned char kat127_nor_entropyin[] = {
  3708. 0x29, 0x9c, 0x01, 0xd3, 0xa2, 0xf1, 0x32, 0x3d, 0xf7, 0x53, 0xcf, 0x14,
  3709. 0x84, 0x5e, 0x0d, 0xe5,
  3710. };
  3711. static const unsigned char kat127_nor_nonce[] = {
  3712. 0x51, 0x1e, 0x36, 0x23, 0x2a, 0x11, 0x29, 0x1d,
  3713. };
  3714. static const unsigned char kat127_nor_persstr[] = {0};
  3715. static const unsigned char kat127_nor_addin0[] = {0};
  3716. static const unsigned char kat127_nor_addin1[] = {0};
  3717. static const unsigned char kat127_nor_retbytes[] = {
  3718. 0x77, 0x09, 0xfd, 0xc6, 0x27, 0x8d, 0xb4, 0x4b, 0x21, 0xd3, 0x9a, 0x19,
  3719. 0x4b, 0x80, 0x6e, 0x48, 0xe7, 0xfe, 0x3e, 0x9a, 0xe1, 0x16, 0xe2, 0x38,
  3720. 0xc2, 0x05, 0xc2, 0xc3, 0x45, 0x98, 0x1c, 0xe8, 0x1f, 0x25, 0x57, 0x13,
  3721. 0x59, 0x7c, 0xec, 0x2b, 0x3a, 0xd3, 0x91, 0x0f, 0x2b, 0x67, 0x42, 0xae,
  3722. 0xa6, 0x64, 0x04, 0x71, 0x2d, 0xf8, 0x32, 0x8d, 0x2f, 0x2d, 0x19, 0x48,
  3723. 0x41, 0x30, 0x97, 0xdb,
  3724. };
  3725. static const struct drbg_kat_no_reseed kat127_nor_t = {
  3726. 6, kat127_nor_entropyin, kat127_nor_nonce, kat127_nor_persstr,
  3727. kat127_nor_addin0, kat127_nor_addin1, kat127_nor_retbytes
  3728. };
  3729. static const struct drbg_kat kat127_nor = {
  3730. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat127_nor_t
  3731. };
  3732. static const unsigned char kat128_nor_entropyin[] = {
  3733. 0xb6, 0xee, 0x77, 0x79, 0x99, 0x4b, 0xa8, 0xcd, 0x49, 0x0a, 0x03, 0xcf,
  3734. 0x68, 0x99, 0xb1, 0x35,
  3735. };
  3736. static const unsigned char kat128_nor_nonce[] = {
  3737. 0x66, 0xed, 0xa9, 0xb5, 0xa5, 0x4d, 0x7d, 0xed,
  3738. };
  3739. static const unsigned char kat128_nor_persstr[] = {0};
  3740. static const unsigned char kat128_nor_addin0[] = {0};
  3741. static const unsigned char kat128_nor_addin1[] = {0};
  3742. static const unsigned char kat128_nor_retbytes[] = {
  3743. 0x4e, 0x21, 0xb4, 0x8f, 0xde, 0x08, 0x22, 0x63, 0xd7, 0x6a, 0x10, 0x34,
  3744. 0xe8, 0x7a, 0x56, 0x6e, 0x1a, 0x1c, 0x9d, 0x2e, 0x1b, 0xd5, 0xc7, 0x48,
  3745. 0xe3, 0x0e, 0x1d, 0x87, 0x50, 0xf2, 0xff, 0x03, 0x93, 0x1c, 0x4b, 0xfe,
  3746. 0x19, 0x4d, 0x2d, 0xa4, 0xed, 0x1c, 0xf1, 0x53, 0x03, 0x01, 0xe5, 0xb1,
  3747. 0xab, 0xc4, 0xbd, 0x2b, 0xda, 0x7b, 0xe8, 0x92, 0x84, 0xf8, 0xc2, 0x19,
  3748. 0x36, 0x88, 0xc9, 0x82,
  3749. };
  3750. static const struct drbg_kat_no_reseed kat128_nor_t = {
  3751. 7, kat128_nor_entropyin, kat128_nor_nonce, kat128_nor_persstr,
  3752. kat128_nor_addin0, kat128_nor_addin1, kat128_nor_retbytes
  3753. };
  3754. static const struct drbg_kat kat128_nor = {
  3755. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat128_nor_t
  3756. };
  3757. static const unsigned char kat129_nor_entropyin[] = {
  3758. 0xe3, 0xcc, 0xb9, 0x91, 0xc3, 0xe1, 0xb3, 0xed, 0xa0, 0xb4, 0x0b, 0x51,
  3759. 0x42, 0xac, 0x84, 0xd3,
  3760. };
  3761. static const unsigned char kat129_nor_nonce[] = {
  3762. 0x99, 0x87, 0x57, 0xe0, 0x0d, 0xa2, 0xb9, 0xef,
  3763. };
  3764. static const unsigned char kat129_nor_persstr[] = {0};
  3765. static const unsigned char kat129_nor_addin0[] = {0};
  3766. static const unsigned char kat129_nor_addin1[] = {0};
  3767. static const unsigned char kat129_nor_retbytes[] = {
  3768. 0xd3, 0x2b, 0xc1, 0x90, 0x99, 0x8f, 0x18, 0xe9, 0xd5, 0x50, 0x9f, 0x46,
  3769. 0x02, 0x29, 0x05, 0xd0, 0x11, 0xbb, 0xec, 0x77, 0x4f, 0x05, 0x83, 0x69,
  3770. 0x1d, 0x48, 0x12, 0x43, 0x79, 0xe8, 0x1d, 0x99, 0xf0, 0xcd, 0xd4, 0x61,
  3771. 0x38, 0xbc, 0xcc, 0x47, 0xeb, 0x77, 0x3f, 0x25, 0x7a, 0x66, 0x2b, 0x79,
  3772. 0x8f, 0xab, 0x27, 0x58, 0x86, 0x94, 0x89, 0x36, 0xbc, 0xe7, 0x2d, 0xbd,
  3773. 0x2c, 0x61, 0x88, 0xac,
  3774. };
  3775. static const struct drbg_kat_no_reseed kat129_nor_t = {
  3776. 8, kat129_nor_entropyin, kat129_nor_nonce, kat129_nor_persstr,
  3777. kat129_nor_addin0, kat129_nor_addin1, kat129_nor_retbytes
  3778. };
  3779. static const struct drbg_kat kat129_nor = {
  3780. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat129_nor_t
  3781. };
  3782. static const unsigned char kat130_nor_entropyin[] = {
  3783. 0xc3, 0x4e, 0x39, 0x80, 0x41, 0xcc, 0xee, 0x23, 0x89, 0x7f, 0x7c, 0xa3,
  3784. 0x43, 0xf3, 0x56, 0x40,
  3785. };
  3786. static const unsigned char kat130_nor_nonce[] = {
  3787. 0xa2, 0x4f, 0x8e, 0xa0, 0x88, 0x6b, 0xf6, 0xbf,
  3788. };
  3789. static const unsigned char kat130_nor_persstr[] = {0};
  3790. static const unsigned char kat130_nor_addin0[] = {0};
  3791. static const unsigned char kat130_nor_addin1[] = {0};
  3792. static const unsigned char kat130_nor_retbytes[] = {
  3793. 0x5f, 0xf0, 0xda, 0xef, 0x30, 0x04, 0xc5, 0x03, 0xb8, 0x09, 0x8e, 0x3b,
  3794. 0x96, 0x8a, 0x8e, 0x32, 0x33, 0x19, 0xbe, 0x78, 0x6c, 0x7b, 0x74, 0x2a,
  3795. 0xac, 0xee, 0x35, 0x5f, 0x1a, 0x3c, 0x9d, 0xe7, 0x50, 0x61, 0x10, 0x8e,
  3796. 0x79, 0x18, 0x13, 0x61, 0xf2, 0xe3, 0x30, 0x6a, 0xf0, 0x7b, 0xcd, 0xed,
  3797. 0x10, 0xe3, 0x2d, 0xef, 0x1b, 0x7b, 0xb3, 0xe4, 0xeb, 0xc1, 0x70, 0x96,
  3798. 0xc6, 0x93, 0x30, 0x58,
  3799. };
  3800. static const struct drbg_kat_no_reseed kat130_nor_t = {
  3801. 9, kat130_nor_entropyin, kat130_nor_nonce, kat130_nor_persstr,
  3802. kat130_nor_addin0, kat130_nor_addin1, kat130_nor_retbytes
  3803. };
  3804. static const struct drbg_kat kat130_nor = {
  3805. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat130_nor_t
  3806. };
  3807. static const unsigned char kat131_nor_entropyin[] = {
  3808. 0xfc, 0x1f, 0xd2, 0x5c, 0xed, 0x5b, 0xd3, 0x0a, 0x62, 0x1c, 0xd4, 0xae,
  3809. 0x77, 0x96, 0x80, 0xad,
  3810. };
  3811. static const unsigned char kat131_nor_nonce[] = {
  3812. 0xaf, 0x17, 0xa9, 0xc9, 0x74, 0xb3, 0x6e, 0x6c,
  3813. };
  3814. static const unsigned char kat131_nor_persstr[] = {0};
  3815. static const unsigned char kat131_nor_addin0[] = {0};
  3816. static const unsigned char kat131_nor_addin1[] = {0};
  3817. static const unsigned char kat131_nor_retbytes[] = {
  3818. 0x59, 0xf9, 0x9d, 0x08, 0x57, 0x49, 0x36, 0x74, 0x78, 0x68, 0x4a, 0x5d,
  3819. 0xdc, 0x8f, 0xe1, 0x81, 0xb9, 0x7a, 0x4e, 0x67, 0xfd, 0xe5, 0xc1, 0x51,
  3820. 0xc4, 0x69, 0x6d, 0x52, 0x3d, 0x7c, 0x14, 0xb7, 0x26, 0x89, 0xa9, 0x5a,
  3821. 0x5b, 0x60, 0x92, 0xe9, 0x49, 0xdd, 0x16, 0x3b, 0xd8, 0xf9, 0xe4, 0x57,
  3822. 0x27, 0xd2, 0xb8, 0xa3, 0x1e, 0xd2, 0x88, 0xc8, 0xc6, 0x22, 0x9e, 0x8b,
  3823. 0xe6, 0x80, 0x8e, 0xc8,
  3824. };
  3825. static const struct drbg_kat_no_reseed kat131_nor_t = {
  3826. 10, kat131_nor_entropyin, kat131_nor_nonce, kat131_nor_persstr,
  3827. kat131_nor_addin0, kat131_nor_addin1, kat131_nor_retbytes
  3828. };
  3829. static const struct drbg_kat kat131_nor = {
  3830. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat131_nor_t
  3831. };
  3832. static const unsigned char kat132_nor_entropyin[] = {
  3833. 0x72, 0xc0, 0xe2, 0x3d, 0x92, 0x07, 0x0a, 0x8b, 0xab, 0x70, 0x7f, 0x65,
  3834. 0xd5, 0x95, 0x18, 0x6d,
  3835. };
  3836. static const unsigned char kat132_nor_nonce[] = {
  3837. 0x1a, 0x63, 0xdc, 0xfc, 0x52, 0xe5, 0x5c, 0x58,
  3838. };
  3839. static const unsigned char kat132_nor_persstr[] = {0};
  3840. static const unsigned char kat132_nor_addin0[] = {0};
  3841. static const unsigned char kat132_nor_addin1[] = {0};
  3842. static const unsigned char kat132_nor_retbytes[] = {
  3843. 0x49, 0xfe, 0xc2, 0x67, 0x58, 0x85, 0xd5, 0x4a, 0x4c, 0x6b, 0x10, 0x1f,
  3844. 0x29, 0x19, 0x45, 0xc7, 0x35, 0xad, 0x9c, 0x2d, 0xb5, 0x1a, 0x63, 0xb9,
  3845. 0x41, 0xbc, 0x18, 0x2e, 0xe5, 0x1f, 0xd8, 0xfd, 0x84, 0xb8, 0xc6, 0x33,
  3846. 0x7b, 0x0f, 0x77, 0xf3, 0x10, 0xca, 0x50, 0x69, 0x3b, 0x91, 0xb5, 0x90,
  3847. 0xe3, 0xef, 0x65, 0x5b, 0xe7, 0xad, 0x76, 0x21, 0xed, 0x21, 0xff, 0x39,
  3848. 0xd3, 0x29, 0x2e, 0xfd,
  3849. };
  3850. static const struct drbg_kat_no_reseed kat132_nor_t = {
  3851. 11, kat132_nor_entropyin, kat132_nor_nonce, kat132_nor_persstr,
  3852. kat132_nor_addin0, kat132_nor_addin1, kat132_nor_retbytes
  3853. };
  3854. static const struct drbg_kat kat132_nor = {
  3855. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat132_nor_t
  3856. };
  3857. static const unsigned char kat133_nor_entropyin[] = {
  3858. 0xa0, 0x90, 0x91, 0xca, 0x32, 0x80, 0xf7, 0xf5, 0x83, 0x76, 0xbf, 0x68,
  3859. 0x0d, 0xe1, 0x11, 0x92,
  3860. };
  3861. static const unsigned char kat133_nor_nonce[] = {
  3862. 0x1d, 0x08, 0xdc, 0x0d, 0x06, 0x00, 0x95, 0xb3,
  3863. };
  3864. static const unsigned char kat133_nor_persstr[] = {0};
  3865. static const unsigned char kat133_nor_addin0[] = {0};
  3866. static const unsigned char kat133_nor_addin1[] = {0};
  3867. static const unsigned char kat133_nor_retbytes[] = {
  3868. 0x0d, 0x59, 0xac, 0xa0, 0x23, 0x64, 0x7f, 0x0b, 0xf2, 0x68, 0x81, 0xd9,
  3869. 0x12, 0x6b, 0xab, 0x8c, 0x7f, 0xea, 0x92, 0x2d, 0x2b, 0x4c, 0x24, 0xf1,
  3870. 0xdc, 0xc0, 0xbf, 0xf8, 0x7a, 0x3d, 0x0d, 0x1b, 0x1d, 0xa0, 0xe8, 0x75,
  3871. 0x62, 0x6a, 0x56, 0x42, 0x61, 0x86, 0xef, 0xd0, 0x07, 0x1f, 0x5a, 0x78,
  3872. 0x9f, 0xbf, 0x35, 0xfa, 0x8b, 0xfc, 0x85, 0xaf, 0xaf, 0xd3, 0xaf, 0x6c,
  3873. 0x9c, 0x7c, 0xd0, 0x7a,
  3874. };
  3875. static const struct drbg_kat_no_reseed kat133_nor_t = {
  3876. 12, kat133_nor_entropyin, kat133_nor_nonce, kat133_nor_persstr,
  3877. kat133_nor_addin0, kat133_nor_addin1, kat133_nor_retbytes
  3878. };
  3879. static const struct drbg_kat kat133_nor = {
  3880. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat133_nor_t
  3881. };
  3882. static const unsigned char kat134_nor_entropyin[] = {
  3883. 0x8b, 0x41, 0x75, 0xd0, 0xa1, 0x95, 0x39, 0xef, 0x3d, 0x5d, 0x40, 0x84,
  3884. 0x6c, 0xb4, 0x0a, 0xb3,
  3885. };
  3886. static const unsigned char kat134_nor_nonce[] = {
  3887. 0x8c, 0x31, 0x0d, 0x43, 0x1c, 0xf0, 0x0b, 0x3e,
  3888. };
  3889. static const unsigned char kat134_nor_persstr[] = {0};
  3890. static const unsigned char kat134_nor_addin0[] = {0};
  3891. static const unsigned char kat134_nor_addin1[] = {0};
  3892. static const unsigned char kat134_nor_retbytes[] = {
  3893. 0x92, 0xb3, 0xb0, 0xe5, 0x7a, 0xe4, 0xce, 0xfc, 0x40, 0xd6, 0xe5, 0xfa,
  3894. 0x0d, 0x9f, 0xa8, 0x5c, 0x97, 0x0c, 0x2d, 0xd0, 0xcd, 0x4e, 0x04, 0xd7,
  3895. 0x27, 0x27, 0x56, 0x63, 0x4b, 0x84, 0xcc, 0x20, 0xc5, 0x36, 0x8f, 0x3a,
  3896. 0x7b, 0x3e, 0x12, 0x11, 0xc5, 0xfa, 0x2e, 0x63, 0x35, 0x43, 0x6b, 0x88,
  3897. 0x58, 0x2d, 0x04, 0x8b, 0xc7, 0x6a, 0x7c, 0x19, 0xbb, 0xfe, 0xc1, 0x35,
  3898. 0xa1, 0x05, 0x5c, 0xbd,
  3899. };
  3900. static const struct drbg_kat_no_reseed kat134_nor_t = {
  3901. 13, kat134_nor_entropyin, kat134_nor_nonce, kat134_nor_persstr,
  3902. kat134_nor_addin0, kat134_nor_addin1, kat134_nor_retbytes
  3903. };
  3904. static const struct drbg_kat kat134_nor = {
  3905. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat134_nor_t
  3906. };
  3907. static const unsigned char kat135_nor_entropyin[] = {
  3908. 0x68, 0xc8, 0x53, 0xb9, 0x12, 0x9c, 0xb2, 0x0a, 0x3d, 0xdf, 0x11, 0xe7,
  3909. 0x8a, 0x58, 0x75, 0xba,
  3910. };
  3911. static const unsigned char kat135_nor_nonce[] = {
  3912. 0xf5, 0xab, 0x54, 0x86, 0x05, 0xa5, 0x11, 0x03,
  3913. };
  3914. static const unsigned char kat135_nor_persstr[] = {0};
  3915. static const unsigned char kat135_nor_addin0[] = {0};
  3916. static const unsigned char kat135_nor_addin1[] = {0};
  3917. static const unsigned char kat135_nor_retbytes[] = {
  3918. 0x43, 0xcf, 0xb0, 0x3a, 0x51, 0xd7, 0xda, 0x40, 0xb3, 0x94, 0x68, 0x36,
  3919. 0x1c, 0x2e, 0xe0, 0x78, 0x81, 0x90, 0x75, 0x87, 0x2f, 0x4f, 0x7c, 0x5d,
  3920. 0x2b, 0x09, 0xef, 0x39, 0x91, 0x46, 0x02, 0xa7, 0x2a, 0x62, 0xc6, 0x3e,
  3921. 0x29, 0x38, 0x3f, 0xbb, 0x9e, 0x45, 0x0f, 0xb2, 0xae, 0xf3, 0x2e, 0xb9,
  3922. 0xf3, 0x70, 0xcb, 0xbc, 0x1a, 0xb4, 0x70, 0x8a, 0x5d, 0x28, 0x98, 0xdf,
  3923. 0x8a, 0xe4, 0xf6, 0x26,
  3924. };
  3925. static const struct drbg_kat_no_reseed kat135_nor_t = {
  3926. 14, kat135_nor_entropyin, kat135_nor_nonce, kat135_nor_persstr,
  3927. kat135_nor_addin0, kat135_nor_addin1, kat135_nor_retbytes
  3928. };
  3929. static const struct drbg_kat kat135_nor = {
  3930. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat135_nor_t
  3931. };
  3932. static const unsigned char kat136_nor_entropyin[] = {
  3933. 0x9b, 0xfa, 0xef, 0xb6, 0x98, 0xb1, 0xb5, 0xfc, 0xc6, 0x2d, 0xb2, 0xc1,
  3934. 0x64, 0x98, 0xc3, 0x3a,
  3935. };
  3936. static const unsigned char kat136_nor_nonce[] = {
  3937. 0x11, 0x1d, 0x86, 0x12, 0xa0, 0xf0, 0x4e, 0x2a,
  3938. };
  3939. static const unsigned char kat136_nor_persstr[] = {0};
  3940. static const unsigned char kat136_nor_addin0[] = {
  3941. 0xae, 0xdb, 0xe0, 0x28, 0x47, 0xb1, 0xb0, 0x8b, 0x6a, 0x67, 0x3b, 0xdf,
  3942. 0x25, 0xb0, 0x22, 0x4c,
  3943. };
  3944. static const unsigned char kat136_nor_addin1[] = {
  3945. 0x99, 0x01, 0xea, 0xd6, 0x2c, 0xe5, 0x65, 0x73, 0xb0, 0xf7, 0x1c, 0xd0,
  3946. 0x20, 0xfe, 0x34, 0x69,
  3947. };
  3948. static const unsigned char kat136_nor_retbytes[] = {
  3949. 0xdf, 0xf8, 0xbf, 0x2a, 0xec, 0x53, 0x1f, 0x85, 0x32, 0x60, 0x7e, 0x73,
  3950. 0x8b, 0xd7, 0x9f, 0x91, 0xd6, 0x08, 0x5c, 0xb1, 0x95, 0x68, 0xb7, 0xb0,
  3951. 0x24, 0x0c, 0xe6, 0xa6, 0xb3, 0x71, 0xa2, 0x82, 0xba, 0xfc, 0xdb, 0xa0,
  3952. 0x21, 0x37, 0xdf, 0x99, 0x05, 0x35, 0xd9, 0xeb, 0xf0, 0xba, 0x77, 0x11,
  3953. 0x77, 0x51, 0x62, 0x6b, 0x26, 0x78, 0xac, 0xa7, 0xbe, 0x4d, 0xec, 0xfd,
  3954. 0x6b, 0x9d, 0x4b, 0x38,
  3955. };
  3956. static const struct drbg_kat_no_reseed kat136_nor_t = {
  3957. 0, kat136_nor_entropyin, kat136_nor_nonce, kat136_nor_persstr,
  3958. kat136_nor_addin0, kat136_nor_addin1, kat136_nor_retbytes
  3959. };
  3960. static const struct drbg_kat kat136_nor = {
  3961. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat136_nor_t
  3962. };
  3963. static const unsigned char kat137_nor_entropyin[] = {
  3964. 0xdf, 0x99, 0x3f, 0xed, 0xd5, 0x96, 0x74, 0xa8, 0x7a, 0x15, 0x14, 0x7b,
  3965. 0x80, 0xbe, 0x37, 0xae,
  3966. };
  3967. static const unsigned char kat137_nor_nonce[] = {
  3968. 0x22, 0xb3, 0x31, 0x5a, 0xcc, 0xf1, 0xad, 0x13,
  3969. };
  3970. static const unsigned char kat137_nor_persstr[] = {0};
  3971. static const unsigned char kat137_nor_addin0[] = {
  3972. 0x9f, 0x9b, 0x94, 0x09, 0x04, 0x8a, 0x71, 0x17, 0x45, 0xc7, 0xef, 0x7a,
  3973. 0x6d, 0xdd, 0xc1, 0x7d,
  3974. };
  3975. static const unsigned char kat137_nor_addin1[] = {
  3976. 0xc5, 0x60, 0x68, 0x5b, 0xd4, 0x9c, 0x05, 0x9f, 0x04, 0x38, 0xe9, 0xdf,
  3977. 0xf6, 0x2d, 0x82, 0xd7,
  3978. };
  3979. static const unsigned char kat137_nor_retbytes[] = {
  3980. 0x04, 0xd7, 0x4f, 0xa1, 0xb6, 0x9d, 0xe6, 0x89, 0x3a, 0x47, 0xbf, 0xb0,
  3981. 0xb6, 0xae, 0x58, 0xa7, 0x98, 0x4b, 0xbb, 0x08, 0x8f, 0xce, 0x62, 0x0b,
  3982. 0x9d, 0x8e, 0xbc, 0x0b, 0x54, 0xcd, 0xdb, 0xca, 0x00, 0x45, 0xd7, 0x5d,
  3983. 0x5b, 0x04, 0x6f, 0xcd, 0x88, 0x95, 0xc1, 0x6b, 0x05, 0x13, 0xaa, 0x52,
  3984. 0x1b, 0x8d, 0x4a, 0xf2, 0x76, 0x78, 0x3d, 0x9d, 0x25, 0x77, 0xac, 0xb3,
  3985. 0x2c, 0xea, 0xdb, 0x89,
  3986. };
  3987. static const struct drbg_kat_no_reseed kat137_nor_t = {
  3988. 1, kat137_nor_entropyin, kat137_nor_nonce, kat137_nor_persstr,
  3989. kat137_nor_addin0, kat137_nor_addin1, kat137_nor_retbytes
  3990. };
  3991. static const struct drbg_kat kat137_nor = {
  3992. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat137_nor_t
  3993. };
  3994. static const unsigned char kat138_nor_entropyin[] = {
  3995. 0xdb, 0x4f, 0xae, 0x0c, 0x43, 0x02, 0xeb, 0xe8, 0x4f, 0x2a, 0x28, 0xad,
  3996. 0x98, 0x4d, 0xae, 0xc1,
  3997. };
  3998. static const unsigned char kat138_nor_nonce[] = {
  3999. 0x07, 0x9e, 0xbf, 0x0f, 0x00, 0x93, 0xcd, 0xb2,
  4000. };
  4001. static const unsigned char kat138_nor_persstr[] = {0};
  4002. static const unsigned char kat138_nor_addin0[] = {
  4003. 0x2f, 0xfb, 0x64, 0x85, 0xac, 0xe2, 0xad, 0x77, 0xd5, 0xf8, 0xad, 0xbd,
  4004. 0x09, 0xb3, 0xf3, 0x72,
  4005. };
  4006. static const unsigned char kat138_nor_addin1[] = {
  4007. 0xf4, 0xb8, 0x44, 0x74, 0x3d, 0x00, 0x65, 0xa0, 0x38, 0x98, 0x80, 0x49,
  4008. 0xf6, 0xaa, 0x53, 0xb5,
  4009. };
  4010. static const unsigned char kat138_nor_retbytes[] = {
  4011. 0xcb, 0x8e, 0x71, 0x44, 0x8f, 0xf7, 0x91, 0x1e, 0x5c, 0xae, 0xa7, 0xd5,
  4012. 0x4a, 0x12, 0x94, 0x5e, 0xd3, 0x4b, 0xea, 0x42, 0xdb, 0xb6, 0x57, 0x3b,
  4013. 0xf8, 0x42, 0x0d, 0xbb, 0x6b, 0xae, 0x6a, 0x11, 0xe0, 0x24, 0x82, 0x92,
  4014. 0xc9, 0xd9, 0x3d, 0xa3, 0x09, 0x68, 0x56, 0xe0, 0xf2, 0x94, 0x18, 0xf1,
  4015. 0xc8, 0x0d, 0x13, 0x8b, 0x34, 0x15, 0x66, 0x7b, 0xfb, 0x45, 0x6b, 0x08,
  4016. 0x9f, 0x26, 0x62, 0x1a,
  4017. };
  4018. static const struct drbg_kat_no_reseed kat138_nor_t = {
  4019. 2, kat138_nor_entropyin, kat138_nor_nonce, kat138_nor_persstr,
  4020. kat138_nor_addin0, kat138_nor_addin1, kat138_nor_retbytes
  4021. };
  4022. static const struct drbg_kat kat138_nor = {
  4023. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat138_nor_t
  4024. };
  4025. static const unsigned char kat139_nor_entropyin[] = {
  4026. 0xa4, 0x23, 0x48, 0xf1, 0xbe, 0xc0, 0x6f, 0x58, 0x36, 0xfc, 0xa0, 0x60,
  4027. 0x66, 0x14, 0x34, 0xc0,
  4028. };
  4029. static const unsigned char kat139_nor_nonce[] = {
  4030. 0x2f, 0x70, 0xf6, 0xa2, 0xe7, 0xd0, 0xb4, 0x36,
  4031. };
  4032. static const unsigned char kat139_nor_persstr[] = {0};
  4033. static const unsigned char kat139_nor_addin0[] = {
  4034. 0x54, 0x70, 0x91, 0xef, 0x85, 0xb0, 0x13, 0xf3, 0xf5, 0xdc, 0x82, 0x2a,
  4035. 0x5b, 0x3f, 0x27, 0xf9,
  4036. };
  4037. static const unsigned char kat139_nor_addin1[] = {
  4038. 0x2c, 0xa9, 0x9e, 0xe7, 0x97, 0xf4, 0xa9, 0xb1, 0x67, 0x88, 0xd2, 0x98,
  4039. 0xbb, 0xa2, 0xd1, 0x83,
  4040. };
  4041. static const unsigned char kat139_nor_retbytes[] = {
  4042. 0x4b, 0x41, 0xed, 0x62, 0x81, 0xa8, 0x1d, 0x44, 0x2a, 0x8c, 0xb0, 0x3a,
  4043. 0x81, 0x45, 0xfe, 0x78, 0x86, 0x3d, 0x25, 0xd7, 0xee, 0x70, 0xe7, 0x2d,
  4044. 0x4d, 0x3a, 0xfd, 0x51, 0x68, 0x16, 0x48, 0x76, 0xa6, 0x6b, 0x5a, 0xca,
  4045. 0x31, 0x8c, 0x9c, 0x91, 0x17, 0x23, 0x05, 0xe3, 0x88, 0xe1, 0xda, 0xc3,
  4046. 0x86, 0xcb, 0xab, 0x6d, 0x15, 0x0a, 0x39, 0x12, 0x36, 0x9c, 0x93, 0x90,
  4047. 0x08, 0x6b, 0xd7, 0x44,
  4048. };
  4049. static const struct drbg_kat_no_reseed kat139_nor_t = {
  4050. 3, kat139_nor_entropyin, kat139_nor_nonce, kat139_nor_persstr,
  4051. kat139_nor_addin0, kat139_nor_addin1, kat139_nor_retbytes
  4052. };
  4053. static const struct drbg_kat kat139_nor = {
  4054. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat139_nor_t
  4055. };
  4056. static const unsigned char kat140_nor_entropyin[] = {
  4057. 0x14, 0x83, 0xb9, 0x8e, 0x08, 0xc0, 0x40, 0x12, 0xb0, 0x3f, 0x1f, 0x61,
  4058. 0x02, 0xa2, 0x83, 0x06,
  4059. };
  4060. static const unsigned char kat140_nor_nonce[] = {
  4061. 0x89, 0xe6, 0x7c, 0xa1, 0xda, 0x05, 0xdd, 0x4f,
  4062. };
  4063. static const unsigned char kat140_nor_persstr[] = {0};
  4064. static const unsigned char kat140_nor_addin0[] = {
  4065. 0x30, 0x85, 0x9e, 0xcc, 0x30, 0x25, 0x04, 0x79, 0x30, 0xb3, 0x85, 0x3a,
  4066. 0xe6, 0x8a, 0xbd, 0xa2,
  4067. };
  4068. static const unsigned char kat140_nor_addin1[] = {
  4069. 0xf5, 0x05, 0x57, 0xf0, 0x40, 0x29, 0x28, 0x6c, 0xaf, 0xb2, 0xfc, 0xbf,
  4070. 0x14, 0x64, 0xe4, 0xe5,
  4071. };
  4072. static const unsigned char kat140_nor_retbytes[] = {
  4073. 0x45, 0xac, 0xf5, 0x2f, 0xf5, 0x69, 0xcc, 0x48, 0x15, 0x95, 0x88, 0x01,
  4074. 0x62, 0x89, 0x3b, 0x57, 0x9b, 0xe4, 0x05, 0x43, 0xc5, 0x6a, 0x94, 0xb7,
  4075. 0x18, 0x4b, 0xc9, 0x92, 0xd1, 0xdf, 0x37, 0x85, 0x18, 0xf9, 0x3f, 0xb4,
  4076. 0xd9, 0x75, 0x5d, 0x86, 0x58, 0xe9, 0x72, 0x2b, 0x34, 0x79, 0x53, 0x6b,
  4077. 0xa4, 0x83, 0x9a, 0x8e, 0xee, 0x7a, 0x65, 0x5f, 0xed, 0x88, 0x4a, 0xaf,
  4078. 0x5a, 0x55, 0x6e, 0xb7,
  4079. };
  4080. static const struct drbg_kat_no_reseed kat140_nor_t = {
  4081. 4, kat140_nor_entropyin, kat140_nor_nonce, kat140_nor_persstr,
  4082. kat140_nor_addin0, kat140_nor_addin1, kat140_nor_retbytes
  4083. };
  4084. static const struct drbg_kat kat140_nor = {
  4085. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat140_nor_t
  4086. };
  4087. static const unsigned char kat141_nor_entropyin[] = {
  4088. 0xbe, 0x9f, 0xcd, 0xd7, 0x11, 0xce, 0x1b, 0x0a, 0x3c, 0x97, 0xb1, 0xac,
  4089. 0x19, 0x79, 0x20, 0x7d,
  4090. };
  4091. static const unsigned char kat141_nor_nonce[] = {
  4092. 0xa8, 0x02, 0x94, 0xb5, 0xd6, 0x59, 0xff, 0xb4,
  4093. };
  4094. static const unsigned char kat141_nor_persstr[] = {0};
  4095. static const unsigned char kat141_nor_addin0[] = {
  4096. 0xb2, 0x0c, 0x04, 0x54, 0x6a, 0x0c, 0x6a, 0x5e, 0x6b, 0x95, 0x63, 0x7c,
  4097. 0x96, 0x0b, 0xca, 0x63,
  4098. };
  4099. static const unsigned char kat141_nor_addin1[] = {
  4100. 0x67, 0x07, 0xcc, 0x21, 0x7f, 0xb1, 0x98, 0xaf, 0x85, 0x2e, 0x06, 0xdb,
  4101. 0x14, 0x61, 0x58, 0x05,
  4102. };
  4103. static const unsigned char kat141_nor_retbytes[] = {
  4104. 0x6b, 0x62, 0x0c, 0x76, 0xf0, 0xb1, 0xa4, 0xa3, 0xd7, 0xf0, 0xf6, 0x0a,
  4105. 0x76, 0x45, 0x81, 0x1b, 0xb7, 0x9b, 0xf1, 0x84, 0x77, 0xf8, 0x5b, 0x94,
  4106. 0xf0, 0xee, 0x09, 0xe0, 0xc6, 0x8b, 0x0f, 0xdb, 0x3e, 0x11, 0xd8, 0xe5,
  4107. 0x8a, 0x34, 0xd2, 0x4f, 0xe3, 0x6e, 0x8b, 0x7e, 0xa7, 0x2a, 0x26, 0xb6,
  4108. 0xcb, 0x92, 0xd9, 0x87, 0xc5, 0x81, 0xab, 0x48, 0xe5, 0xfb, 0x8f, 0xb7,
  4109. 0x0f, 0x76, 0x5f, 0x5f,
  4110. };
  4111. static const struct drbg_kat_no_reseed kat141_nor_t = {
  4112. 5, kat141_nor_entropyin, kat141_nor_nonce, kat141_nor_persstr,
  4113. kat141_nor_addin0, kat141_nor_addin1, kat141_nor_retbytes
  4114. };
  4115. static const struct drbg_kat kat141_nor = {
  4116. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat141_nor_t
  4117. };
  4118. static const unsigned char kat142_nor_entropyin[] = {
  4119. 0xa5, 0x8e, 0xb5, 0x4d, 0x10, 0x9b, 0x51, 0x4d, 0xb3, 0x38, 0xfc, 0xce,
  4120. 0xa2, 0x8e, 0xf2, 0xea,
  4121. };
  4122. static const unsigned char kat142_nor_nonce[] = {
  4123. 0x91, 0x2d, 0x24, 0xa1, 0xd8, 0x1d, 0xe7, 0xdc,
  4124. };
  4125. static const unsigned char kat142_nor_persstr[] = {0};
  4126. static const unsigned char kat142_nor_addin0[] = {
  4127. 0x59, 0xd4, 0x59, 0xb0, 0x73, 0x52, 0x60, 0x21, 0xec, 0x45, 0x51, 0x12,
  4128. 0x56, 0xcf, 0xb3, 0x58,
  4129. };
  4130. static const unsigned char kat142_nor_addin1[] = {
  4131. 0xf7, 0x9f, 0x7e, 0x5a, 0x2a, 0x79, 0x1a, 0x39, 0xbb, 0x32, 0xb6, 0xb1,
  4132. 0x5f, 0xe0, 0x14, 0x61,
  4133. };
  4134. static const unsigned char kat142_nor_retbytes[] = {
  4135. 0xc1, 0x26, 0xd4, 0x09, 0xc2, 0x0d, 0x5d, 0x3d, 0x4c, 0x79, 0x46, 0x12,
  4136. 0x56, 0xf5, 0x40, 0x3d, 0x1c, 0xc5, 0x9b, 0xcf, 0x11, 0xa4, 0xa6, 0x16,
  4137. 0xab, 0xf0, 0x65, 0x30, 0x32, 0xe0, 0x45, 0x0a, 0x11, 0xf3, 0x2f, 0x38,
  4138. 0x16, 0xc3, 0x51, 0x91, 0x2f, 0xe8, 0xe3, 0x00, 0x84, 0xed, 0x34, 0xdb,
  4139. 0xcd, 0x0a, 0x9c, 0x95, 0xe1, 0xc0, 0x13, 0x62, 0xef, 0x61, 0x6d, 0xd2,
  4140. 0x2a, 0x13, 0x7f, 0x72,
  4141. };
  4142. static const struct drbg_kat_no_reseed kat142_nor_t = {
  4143. 6, kat142_nor_entropyin, kat142_nor_nonce, kat142_nor_persstr,
  4144. kat142_nor_addin0, kat142_nor_addin1, kat142_nor_retbytes
  4145. };
  4146. static const struct drbg_kat kat142_nor = {
  4147. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat142_nor_t
  4148. };
  4149. static const unsigned char kat143_nor_entropyin[] = {
  4150. 0xe0, 0xa5, 0xd9, 0x4d, 0x0c, 0xa9, 0x5a, 0x7b, 0x38, 0x0b, 0x99, 0x9c,
  4151. 0x69, 0xd9, 0x01, 0x1c,
  4152. };
  4153. static const unsigned char kat143_nor_nonce[] = {
  4154. 0x47, 0xcd, 0xc5, 0x5a, 0x19, 0x56, 0xaf, 0x8d,
  4155. };
  4156. static const unsigned char kat143_nor_persstr[] = {0};
  4157. static const unsigned char kat143_nor_addin0[] = {
  4158. 0xa9, 0x16, 0x84, 0xd0, 0x12, 0xdc, 0x48, 0x83, 0x0b, 0xe4, 0xcf, 0xae,
  4159. 0xe2, 0xfc, 0x88, 0x54,
  4160. };
  4161. static const unsigned char kat143_nor_addin1[] = {
  4162. 0xa0, 0x61, 0xc2, 0xb1, 0x3b, 0xf1, 0x00, 0x6d, 0x3b, 0xa2, 0xf2, 0x29,
  4163. 0x7f, 0x95, 0x4f, 0xb5,
  4164. };
  4165. static const unsigned char kat143_nor_retbytes[] = {
  4166. 0xe1, 0x36, 0xea, 0x57, 0x3d, 0x1d, 0x81, 0xec, 0xb7, 0x84, 0x2e, 0xc4,
  4167. 0x3a, 0xf0, 0xb4, 0xb9, 0x78, 0x3f, 0x3f, 0xe4, 0xb1, 0xab, 0x90, 0x24,
  4168. 0xc6, 0x2e, 0xae, 0xf0, 0x86, 0x0e, 0x81, 0x3d, 0x5a, 0x24, 0xf1, 0xa5,
  4169. 0xfa, 0xb7, 0x4b, 0x8f, 0x1f, 0x66, 0x1b, 0x50, 0x39, 0x29, 0x02, 0x56,
  4170. 0xd0, 0xe5, 0xaa, 0xa9, 0xe0, 0xfd, 0xab, 0x3a, 0x18, 0x9b, 0x2d, 0x66,
  4171. 0x95, 0x89, 0x39, 0x99,
  4172. };
  4173. static const struct drbg_kat_no_reseed kat143_nor_t = {
  4174. 7, kat143_nor_entropyin, kat143_nor_nonce, kat143_nor_persstr,
  4175. kat143_nor_addin0, kat143_nor_addin1, kat143_nor_retbytes
  4176. };
  4177. static const struct drbg_kat kat143_nor = {
  4178. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat143_nor_t
  4179. };
  4180. static const unsigned char kat144_nor_entropyin[] = {
  4181. 0x91, 0x8b, 0xda, 0x9e, 0x89, 0x72, 0x7b, 0xbd, 0x97, 0x04, 0x25, 0xc7,
  4182. 0x48, 0x3e, 0xf1, 0xaf,
  4183. };
  4184. static const unsigned char kat144_nor_nonce[] = {
  4185. 0xfc, 0x3b, 0xee, 0xec, 0x38, 0x0b, 0x02, 0xc2,
  4186. };
  4187. static const unsigned char kat144_nor_persstr[] = {0};
  4188. static const unsigned char kat144_nor_addin0[] = {
  4189. 0x6f, 0x48, 0x36, 0x73, 0xaf, 0x64, 0xbc, 0xd7, 0x4c, 0xfe, 0xff, 0x3f,
  4190. 0x98, 0xb6, 0xcd, 0x5a,
  4191. };
  4192. static const unsigned char kat144_nor_addin1[] = {
  4193. 0x15, 0xbd, 0x5e, 0xab, 0xba, 0x23, 0x2d, 0xf5, 0xa1, 0xb6, 0x03, 0xa2,
  4194. 0xfc, 0x16, 0x39, 0xc0,
  4195. };
  4196. static const unsigned char kat144_nor_retbytes[] = {
  4197. 0x43, 0x85, 0x55, 0x1a, 0x3a, 0x7d, 0xd9, 0x0d, 0x77, 0xa7, 0x65, 0xf7,
  4198. 0xcb, 0x85, 0x9d, 0x80, 0xab, 0x6a, 0xc4, 0x84, 0x8e, 0x3b, 0xd9, 0x11,
  4199. 0x01, 0xb4, 0x52, 0x32, 0x34, 0xca, 0x0f, 0x16, 0xc0, 0x6a, 0x45, 0x79,
  4200. 0xa9, 0x7e, 0xa5, 0x1d, 0xb0, 0x37, 0xfd, 0x8b, 0x8c, 0x40, 0x83, 0xcd,
  4201. 0xb6, 0xf4, 0xed, 0x97, 0x56, 0xf5, 0xa4, 0x48, 0x8b, 0xb5, 0xdf, 0xcf,
  4202. 0x7a, 0x8f, 0x8a, 0x9a,
  4203. };
  4204. static const struct drbg_kat_no_reseed kat144_nor_t = {
  4205. 8, kat144_nor_entropyin, kat144_nor_nonce, kat144_nor_persstr,
  4206. kat144_nor_addin0, kat144_nor_addin1, kat144_nor_retbytes
  4207. };
  4208. static const struct drbg_kat kat144_nor = {
  4209. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat144_nor_t
  4210. };
  4211. static const unsigned char kat145_nor_entropyin[] = {
  4212. 0xd8, 0xad, 0xd3, 0x82, 0xd4, 0xdc, 0x7a, 0x1d, 0x10, 0xd4, 0x63, 0x03,
  4213. 0x17, 0x39, 0x18, 0x01,
  4214. };
  4215. static const unsigned char kat145_nor_nonce[] = {
  4216. 0x6f, 0xc0, 0xb1, 0xa3, 0xaa, 0x2b, 0x3a, 0xdb,
  4217. };
  4218. static const unsigned char kat145_nor_persstr[] = {0};
  4219. static const unsigned char kat145_nor_addin0[] = {
  4220. 0x10, 0x1f, 0xcf, 0xd6, 0x60, 0x80, 0x75, 0xdc, 0xbb, 0xf2, 0xeb, 0xe8,
  4221. 0x32, 0xd9, 0x6b, 0x13,
  4222. };
  4223. static const unsigned char kat145_nor_addin1[] = {
  4224. 0x63, 0x2f, 0x7a, 0x11, 0xfb, 0xa9, 0x79, 0xd2, 0x97, 0x9e, 0x41, 0x7e,
  4225. 0x2d, 0xed, 0x1d, 0x30,
  4226. };
  4227. static const unsigned char kat145_nor_retbytes[] = {
  4228. 0xa6, 0xa1, 0x55, 0x95, 0xbb, 0xd8, 0x57, 0xbb, 0x62, 0x15, 0x04, 0xc8,
  4229. 0x5f, 0x03, 0x03, 0x3c, 0xe4, 0x7b, 0x5d, 0xf8, 0x62, 0x96, 0xb8, 0x0d,
  4230. 0x40, 0xd0, 0x09, 0xfe, 0x6c, 0x5e, 0x1f, 0xff, 0xf0, 0x84, 0x04, 0x56,
  4231. 0x99, 0x0a, 0x14, 0xf3, 0xa1, 0xc4, 0x9c, 0x36, 0x73, 0x7b, 0x70, 0xb6,
  4232. 0x2f, 0x40, 0x6f, 0xa3, 0xc5, 0x32, 0x95, 0x2f, 0xb2, 0x2e, 0xfc, 0x76,
  4233. 0x00, 0x9a, 0x1b, 0x1a,
  4234. };
  4235. static const struct drbg_kat_no_reseed kat145_nor_t = {
  4236. 9, kat145_nor_entropyin, kat145_nor_nonce, kat145_nor_persstr,
  4237. kat145_nor_addin0, kat145_nor_addin1, kat145_nor_retbytes
  4238. };
  4239. static const struct drbg_kat kat145_nor = {
  4240. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat145_nor_t
  4241. };
  4242. static const unsigned char kat146_nor_entropyin[] = {
  4243. 0xd1, 0x9f, 0xa3, 0x38, 0xc7, 0xbd, 0x52, 0x40, 0x74, 0x7b, 0xac, 0xab,
  4244. 0x70, 0x32, 0x8f, 0xb3,
  4245. };
  4246. static const unsigned char kat146_nor_nonce[] = {
  4247. 0x5b, 0x42, 0x82, 0x35, 0x41, 0x42, 0x83, 0xb4,
  4248. };
  4249. static const unsigned char kat146_nor_persstr[] = {0};
  4250. static const unsigned char kat146_nor_addin0[] = {
  4251. 0xf3, 0x7c, 0x9f, 0xeb, 0x90, 0xc9, 0x6a, 0x26, 0x3f, 0x41, 0xb1, 0xc4,
  4252. 0x98, 0xd5, 0xe0, 0x75,
  4253. };
  4254. static const unsigned char kat146_nor_addin1[] = {
  4255. 0xa3, 0xd8, 0x86, 0x96, 0xfc, 0x1a, 0x44, 0x70, 0x28, 0x42, 0x31, 0x71,
  4256. 0xba, 0xd4, 0x65, 0x24,
  4257. };
  4258. static const unsigned char kat146_nor_retbytes[] = {
  4259. 0x11, 0xee, 0x72, 0xb4, 0x81, 0xd5, 0x54, 0xf0, 0xfe, 0x49, 0xdc, 0x27,
  4260. 0x37, 0x46, 0x6d, 0x5f, 0x5a, 0x64, 0x76, 0xa2, 0xb5, 0xb2, 0xf9, 0x3c,
  4261. 0xd6, 0x0e, 0xe8, 0xab, 0x1b, 0xf7, 0x56, 0x3d, 0x3e, 0xbc, 0x60, 0x5e,
  4262. 0x44, 0xc3, 0x65, 0xe7, 0x86, 0x5b, 0xff, 0x31, 0xc0, 0x77, 0xd1, 0x76,
  4263. 0xd3, 0x61, 0xa4, 0x24, 0x06, 0x27, 0xde, 0xb2, 0x8a, 0xd5, 0x68, 0x50,
  4264. 0x46, 0x91, 0xf9, 0x47,
  4265. };
  4266. static const struct drbg_kat_no_reseed kat146_nor_t = {
  4267. 10, kat146_nor_entropyin, kat146_nor_nonce, kat146_nor_persstr,
  4268. kat146_nor_addin0, kat146_nor_addin1, kat146_nor_retbytes
  4269. };
  4270. static const struct drbg_kat kat146_nor = {
  4271. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat146_nor_t
  4272. };
  4273. static const unsigned char kat147_nor_entropyin[] = {
  4274. 0xc3, 0xd8, 0x2c, 0x63, 0x01, 0x41, 0x77, 0xe6, 0x2b, 0xda, 0x82, 0xdd,
  4275. 0xe9, 0x11, 0x54, 0x50,
  4276. };
  4277. static const unsigned char kat147_nor_nonce[] = {
  4278. 0x5e, 0x6f, 0x3b, 0x1c, 0x75, 0x70, 0x6f, 0x5f,
  4279. };
  4280. static const unsigned char kat147_nor_persstr[] = {0};
  4281. static const unsigned char kat147_nor_addin0[] = {
  4282. 0x72, 0xa7, 0x17, 0xc6, 0x6f, 0xb2, 0x69, 0x06, 0xd6, 0x99, 0x5d, 0x3e,
  4283. 0xec, 0xc5, 0x79, 0xd9,
  4284. };
  4285. static const unsigned char kat147_nor_addin1[] = {
  4286. 0xb1, 0xb7, 0xa9, 0xad, 0x3c, 0x64, 0x35, 0x5d, 0x5d, 0x70, 0xf0, 0x3c,
  4287. 0x7b, 0x83, 0x29, 0xb0,
  4288. };
  4289. static const unsigned char kat147_nor_retbytes[] = {
  4290. 0x34, 0xc3, 0x09, 0xf2, 0x35, 0x27, 0x09, 0xa9, 0x1f, 0x1f, 0x1a, 0x6a,
  4291. 0xfb, 0x60, 0x14, 0x66, 0xf8, 0x6d, 0xc8, 0x02, 0x2b, 0xcb, 0xfd, 0xee,
  4292. 0x09, 0x51, 0x90, 0xa8, 0x5f, 0xe1, 0xf0, 0x33, 0x2b, 0x8b, 0xab, 0x32,
  4293. 0xf4, 0x42, 0x49, 0x43, 0x00, 0x41, 0xcb, 0x0c, 0xf2, 0xc4, 0x0d, 0x9c,
  4294. 0xdd, 0x0c, 0x0d, 0xf4, 0x23, 0xe3, 0x4f, 0x2d, 0xa8, 0xd7, 0xf7, 0xb8,
  4295. 0x32, 0x94, 0x56, 0x19,
  4296. };
  4297. static const struct drbg_kat_no_reseed kat147_nor_t = {
  4298. 11, kat147_nor_entropyin, kat147_nor_nonce, kat147_nor_persstr,
  4299. kat147_nor_addin0, kat147_nor_addin1, kat147_nor_retbytes
  4300. };
  4301. static const struct drbg_kat kat147_nor = {
  4302. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat147_nor_t
  4303. };
  4304. static const unsigned char kat148_nor_entropyin[] = {
  4305. 0x1c, 0x34, 0x80, 0x46, 0x79, 0x40, 0x8c, 0x0d, 0xd1, 0xc0, 0xb0, 0xb2,
  4306. 0xcb, 0x4c, 0x0c, 0x8d,
  4307. };
  4308. static const unsigned char kat148_nor_nonce[] = {
  4309. 0x23, 0xe6, 0xd5, 0xa1, 0x31, 0x74, 0x0e, 0xc9,
  4310. };
  4311. static const unsigned char kat148_nor_persstr[] = {0};
  4312. static const unsigned char kat148_nor_addin0[] = {
  4313. 0x8b, 0x99, 0xe4, 0x48, 0x55, 0x10, 0xe7, 0xc4, 0xef, 0x31, 0x86, 0xc7,
  4314. 0x5d, 0x0f, 0x42, 0x1d,
  4315. };
  4316. static const unsigned char kat148_nor_addin1[] = {
  4317. 0xcc, 0x1e, 0xcf, 0x02, 0x3c, 0x9b, 0xea, 0xfb, 0x63, 0x48, 0x69, 0x57,
  4318. 0x32, 0x7c, 0x2b, 0xde,
  4319. };
  4320. static const unsigned char kat148_nor_retbytes[] = {
  4321. 0x7f, 0xbf, 0x33, 0xf0, 0x51, 0x08, 0x78, 0x6f, 0xe0, 0x19, 0x97, 0x14,
  4322. 0x6a, 0x27, 0xe5, 0x94, 0x68, 0x76, 0x49, 0x9a, 0x8b, 0xa5, 0x2a, 0x71,
  4323. 0x47, 0x16, 0xd9, 0x82, 0xce, 0xa2, 0x3f, 0x39, 0x2d, 0x40, 0x23, 0x4d,
  4324. 0x3e, 0x00, 0x33, 0x8d, 0x1a, 0xc8, 0x80, 0x9d, 0x43, 0xc7, 0x79, 0x42,
  4325. 0x40, 0x30, 0x19, 0x3b, 0xc6, 0x12, 0x3b, 0x70, 0x67, 0xb6, 0xa8, 0xc2,
  4326. 0xed, 0x17, 0x9a, 0x25,
  4327. };
  4328. static const struct drbg_kat_no_reseed kat148_nor_t = {
  4329. 12, kat148_nor_entropyin, kat148_nor_nonce, kat148_nor_persstr,
  4330. kat148_nor_addin0, kat148_nor_addin1, kat148_nor_retbytes
  4331. };
  4332. static const struct drbg_kat kat148_nor = {
  4333. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat148_nor_t
  4334. };
  4335. static const unsigned char kat149_nor_entropyin[] = {
  4336. 0xaa, 0x70, 0xaa, 0x9d, 0x3c, 0x0a, 0x77, 0xf8, 0x68, 0x38, 0x80, 0x5e,
  4337. 0xef, 0x34, 0x82, 0xba,
  4338. };
  4339. static const unsigned char kat149_nor_nonce[] = {
  4340. 0xcf, 0x7a, 0x0f, 0x57, 0xc7, 0xde, 0xdf, 0x50,
  4341. };
  4342. static const unsigned char kat149_nor_persstr[] = {0};
  4343. static const unsigned char kat149_nor_addin0[] = {
  4344. 0xf6, 0xd4, 0x76, 0xea, 0xe4, 0x2f, 0x02, 0xc9, 0xec, 0x21, 0x98, 0x12,
  4345. 0x29, 0xd0, 0xf9, 0x76,
  4346. };
  4347. static const unsigned char kat149_nor_addin1[] = {
  4348. 0x1a, 0xa4, 0x1e, 0xfd, 0xf1, 0x06, 0xe5, 0xa3, 0xe5, 0xd9, 0x76, 0x77,
  4349. 0x8b, 0x8f, 0x0c, 0x32,
  4350. };
  4351. static const unsigned char kat149_nor_retbytes[] = {
  4352. 0x84, 0xc1, 0xc0, 0x61, 0x9f, 0x69, 0x79, 0xe2, 0xf4, 0xd2, 0xab, 0xc6,
  4353. 0x33, 0x35, 0x42, 0xbf, 0x42, 0xfd, 0x32, 0x79, 0x14, 0x2f, 0x07, 0x1d,
  4354. 0xad, 0xb2, 0x64, 0x45, 0xfb, 0x2d, 0xe5, 0x1c, 0x4f, 0xad, 0x68, 0x1d,
  4355. 0xce, 0x89, 0x18, 0xaf, 0x3a, 0xe1, 0x64, 0x19, 0xfa, 0xfa, 0x3c, 0x55,
  4356. 0x26, 0xd8, 0xc4, 0x78, 0x59, 0x9e, 0x85, 0xee, 0x61, 0xa2, 0x73, 0x18,
  4357. 0x36, 0x05, 0x45, 0x0e,
  4358. };
  4359. static const struct drbg_kat_no_reseed kat149_nor_t = {
  4360. 13, kat149_nor_entropyin, kat149_nor_nonce, kat149_nor_persstr,
  4361. kat149_nor_addin0, kat149_nor_addin1, kat149_nor_retbytes
  4362. };
  4363. static const struct drbg_kat kat149_nor = {
  4364. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat149_nor_t
  4365. };
  4366. static const unsigned char kat150_nor_entropyin[] = {
  4367. 0x94, 0xc6, 0x97, 0x57, 0xc9, 0x75, 0xe5, 0x3c, 0xa9, 0x44, 0xcb, 0xe8,
  4368. 0xf7, 0x68, 0x6f, 0x85,
  4369. };
  4370. static const unsigned char kat150_nor_nonce[] = {
  4371. 0x6e, 0x14, 0x5c, 0xc7, 0xd7, 0x2d, 0xec, 0x57,
  4372. };
  4373. static const unsigned char kat150_nor_persstr[] = {0};
  4374. static const unsigned char kat150_nor_addin0[] = {
  4375. 0xce, 0x08, 0x94, 0x6b, 0x04, 0xfd, 0x83, 0x13, 0xdc, 0xda, 0x8c, 0xde,
  4376. 0x3b, 0x0f, 0xf9, 0xdf,
  4377. };
  4378. static const unsigned char kat150_nor_addin1[] = {
  4379. 0x9f, 0xfc, 0x93, 0x9d, 0x30, 0x5a, 0xe5, 0x86, 0xd8, 0x6a, 0x1a, 0x14,
  4380. 0x70, 0x32, 0x68, 0x0b,
  4381. };
  4382. static const unsigned char kat150_nor_retbytes[] = {
  4383. 0xb1, 0xd7, 0xb3, 0x87, 0xa9, 0xf6, 0x7b, 0x91, 0x50, 0x55, 0xe6, 0x82,
  4384. 0x98, 0xe0, 0x37, 0x73, 0xa0, 0x19, 0x75, 0x56, 0xf8, 0xd4, 0xb7, 0xe0,
  4385. 0x29, 0x52, 0x03, 0x35, 0xef, 0xdc, 0xe2, 0xac, 0xb0, 0xd4, 0xd4, 0xcd,
  4386. 0xae, 0x8a, 0xf8, 0xc0, 0x9f, 0xb5, 0x7a, 0x21, 0x5f, 0x20, 0x87, 0xab,
  4387. 0xb8, 0x4e, 0xc8, 0x5b, 0x12, 0xdc, 0x3a, 0x85, 0x3d, 0x73, 0xa4, 0xdd,
  4388. 0x11, 0x43, 0x00, 0xc5,
  4389. };
  4390. static const struct drbg_kat_no_reseed kat150_nor_t = {
  4391. 14, kat150_nor_entropyin, kat150_nor_nonce, kat150_nor_persstr,
  4392. kat150_nor_addin0, kat150_nor_addin1, kat150_nor_retbytes
  4393. };
  4394. static const struct drbg_kat kat150_nor = {
  4395. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat150_nor_t
  4396. };
  4397. static const unsigned char kat151_nor_entropyin[] = {
  4398. 0xab, 0xa3, 0x6f, 0xf7, 0xa5, 0x35, 0x37, 0x45, 0x4b, 0x5c, 0xb2, 0x68,
  4399. 0x39, 0x17, 0x15, 0x40,
  4400. };
  4401. static const unsigned char kat151_nor_nonce[] = {
  4402. 0x68, 0x71, 0xc0, 0xf5, 0x26, 0xfb, 0xcd, 0xc7,
  4403. };
  4404. static const unsigned char kat151_nor_persstr[] = {
  4405. 0xdb, 0xc4, 0x4a, 0xf4, 0x98, 0x16, 0x1f, 0x1f, 0x2a, 0xf6, 0xfc, 0xe6,
  4406. 0x6c, 0xcc, 0x30, 0xa8,
  4407. };
  4408. static const unsigned char kat151_nor_addin0[] = {0};
  4409. static const unsigned char kat151_nor_addin1[] = {0};
  4410. static const unsigned char kat151_nor_retbytes[] = {
  4411. 0xaf, 0x68, 0x6e, 0x9a, 0xaf, 0x10, 0xaa, 0xbc, 0xbb, 0x44, 0xb3, 0x74,
  4412. 0x89, 0x53, 0xad, 0x18, 0x5d, 0xbf, 0x12, 0x89, 0x8e, 0x52, 0x4d, 0x04,
  4413. 0x08, 0x61, 0x02, 0xe4, 0x5f, 0x38, 0x41, 0xc6, 0x50, 0xf6, 0x23, 0xf4,
  4414. 0x8f, 0x54, 0x2c, 0xaa, 0x14, 0x79, 0x3e, 0x4f, 0xcb, 0xbc, 0xf2, 0xe4,
  4415. 0x61, 0xbe, 0x1c, 0x01, 0xed, 0x8f, 0x1f, 0x48, 0xb9, 0x70, 0x4d, 0x79,
  4416. 0xa8, 0xeb, 0xf7, 0x9d,
  4417. };
  4418. static const struct drbg_kat_no_reseed kat151_nor_t = {
  4419. 0, kat151_nor_entropyin, kat151_nor_nonce, kat151_nor_persstr,
  4420. kat151_nor_addin0, kat151_nor_addin1, kat151_nor_retbytes
  4421. };
  4422. static const struct drbg_kat kat151_nor = {
  4423. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat151_nor_t
  4424. };
  4425. static const unsigned char kat152_nor_entropyin[] = {
  4426. 0x47, 0xaf, 0xb8, 0x3e, 0x3a, 0xda, 0x22, 0x0f, 0x7d, 0x7e, 0x63, 0x82,
  4427. 0xa8, 0xb3, 0x8c, 0xbb,
  4428. };
  4429. static const unsigned char kat152_nor_nonce[] = {
  4430. 0x7a, 0xb8, 0xae, 0x9b, 0xac, 0x8b, 0x15, 0xa5,
  4431. };
  4432. static const unsigned char kat152_nor_persstr[] = {
  4433. 0x8b, 0xec, 0x1c, 0xb2, 0xd1, 0x80, 0xb3, 0x67, 0x7c, 0xd1, 0xa8, 0x60,
  4434. 0x4b, 0x61, 0x4d, 0xbe,
  4435. };
  4436. static const unsigned char kat152_nor_addin0[] = {0};
  4437. static const unsigned char kat152_nor_addin1[] = {0};
  4438. static const unsigned char kat152_nor_retbytes[] = {
  4439. 0x90, 0xcf, 0x1d, 0x9e, 0x65, 0xd9, 0x76, 0xca, 0xce, 0x2f, 0x20, 0xe7,
  4440. 0x81, 0x47, 0xd5, 0x04, 0x0d, 0x02, 0x23, 0x7e, 0x04, 0x17, 0x3f, 0x1f,
  4441. 0x37, 0x10, 0xe5, 0x22, 0x7d, 0xcb, 0x85, 0x64, 0x68, 0x4f, 0x2e, 0xba,
  4442. 0x38, 0xe1, 0xde, 0xf7, 0x2b, 0x93, 0xbe, 0xdb, 0x44, 0x85, 0xf2, 0xb8,
  4443. 0x17, 0xee, 0x66, 0xc1, 0x89, 0x02, 0x4b, 0x2a, 0x12, 0x73, 0x65, 0xbc,
  4444. 0x83, 0x50, 0x08, 0x71,
  4445. };
  4446. static const struct drbg_kat_no_reseed kat152_nor_t = {
  4447. 1, kat152_nor_entropyin, kat152_nor_nonce, kat152_nor_persstr,
  4448. kat152_nor_addin0, kat152_nor_addin1, kat152_nor_retbytes
  4449. };
  4450. static const struct drbg_kat kat152_nor = {
  4451. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat152_nor_t
  4452. };
  4453. static const unsigned char kat153_nor_entropyin[] = {
  4454. 0xbb, 0x69, 0x93, 0xaf, 0xf4, 0x80, 0x4a, 0x87, 0xdd, 0x42, 0x59, 0x73,
  4455. 0xfd, 0xe3, 0x53, 0x11,
  4456. };
  4457. static const unsigned char kat153_nor_nonce[] = {
  4458. 0xfb, 0x14, 0x70, 0x0b, 0x33, 0x5a, 0x01, 0x46,
  4459. };
  4460. static const unsigned char kat153_nor_persstr[] = {
  4461. 0x1e, 0xb0, 0x65, 0x44, 0xca, 0xa8, 0x6e, 0x2a, 0xc4, 0x58, 0x8a, 0xa8,
  4462. 0x51, 0xe8, 0xfc, 0x0e,
  4463. };
  4464. static const unsigned char kat153_nor_addin0[] = {0};
  4465. static const unsigned char kat153_nor_addin1[] = {0};
  4466. static const unsigned char kat153_nor_retbytes[] = {
  4467. 0x4e, 0xe7, 0x27, 0x07, 0x3a, 0xba, 0xa3, 0xd7, 0x41, 0x8d, 0x6b, 0x3e,
  4468. 0x3b, 0xd4, 0x67, 0xc9, 0x28, 0x48, 0x54, 0x42, 0x3b, 0xa6, 0xd4, 0xef,
  4469. 0x02, 0xb2, 0xda, 0xbf, 0x14, 0xb9, 0xb8, 0x24, 0xb2, 0x7a, 0xda, 0x2b,
  4470. 0x4a, 0x42, 0xf7, 0xdd, 0x1c, 0xd3, 0x9d, 0xc4, 0x42, 0x0e, 0xe6, 0xe8,
  4471. 0x43, 0xfa, 0x7f, 0x2e, 0xee, 0x06, 0xbb, 0x05, 0xc6, 0x47, 0xdc, 0xc0,
  4472. 0xd6, 0x97, 0xc0, 0x09,
  4473. };
  4474. static const struct drbg_kat_no_reseed kat153_nor_t = {
  4475. 2, kat153_nor_entropyin, kat153_nor_nonce, kat153_nor_persstr,
  4476. kat153_nor_addin0, kat153_nor_addin1, kat153_nor_retbytes
  4477. };
  4478. static const struct drbg_kat kat153_nor = {
  4479. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat153_nor_t
  4480. };
  4481. static const unsigned char kat154_nor_entropyin[] = {
  4482. 0xa0, 0x5d, 0x9d, 0x84, 0xa5, 0x0d, 0xe7, 0x97, 0x01, 0xc7, 0x59, 0x59,
  4483. 0xaf, 0x26, 0xa8, 0xfa,
  4484. };
  4485. static const unsigned char kat154_nor_nonce[] = {
  4486. 0x7e, 0xde, 0x7f, 0x16, 0x30, 0xdc, 0x01, 0xf7,
  4487. };
  4488. static const unsigned char kat154_nor_persstr[] = {
  4489. 0x54, 0xf5, 0xd6, 0xe5, 0xd9, 0xb1, 0xfe, 0xb0, 0xa1, 0xc3, 0xd9, 0xa7,
  4490. 0xec, 0x81, 0xdd, 0x98,
  4491. };
  4492. static const unsigned char kat154_nor_addin0[] = {0};
  4493. static const unsigned char kat154_nor_addin1[] = {0};
  4494. static const unsigned char kat154_nor_retbytes[] = {
  4495. 0xf4, 0x7a, 0xab, 0x57, 0xdf, 0xff, 0x93, 0x1d, 0x4b, 0xfc, 0x75, 0xa0,
  4496. 0x13, 0x11, 0x86, 0xf0, 0xf5, 0xc1, 0x50, 0x5e, 0x9c, 0x6c, 0x7e, 0xb9,
  4497. 0x35, 0xe3, 0x1b, 0x49, 0xf1, 0x34, 0xef, 0xc0, 0x0e, 0x45, 0xfc, 0x96,
  4498. 0x73, 0x58, 0xee, 0xc4, 0xa9, 0x21, 0xfd, 0xa0, 0xd0, 0x53, 0x7d, 0x9e,
  4499. 0x4f, 0xb3, 0x3b, 0x26, 0x3d, 0xb8, 0xe0, 0x8e, 0x73, 0xf2, 0x1f, 0xe1,
  4500. 0x75, 0x05, 0x19, 0x6f,
  4501. };
  4502. static const struct drbg_kat_no_reseed kat154_nor_t = {
  4503. 3, kat154_nor_entropyin, kat154_nor_nonce, kat154_nor_persstr,
  4504. kat154_nor_addin0, kat154_nor_addin1, kat154_nor_retbytes
  4505. };
  4506. static const struct drbg_kat kat154_nor = {
  4507. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat154_nor_t
  4508. };
  4509. static const unsigned char kat155_nor_entropyin[] = {
  4510. 0x80, 0x7d, 0x1b, 0x10, 0x96, 0xe3, 0xd7, 0xf7, 0x89, 0x03, 0x6d, 0x64,
  4511. 0x4d, 0xfb, 0x9e, 0x8b,
  4512. };
  4513. static const unsigned char kat155_nor_nonce[] = {
  4514. 0x8c, 0xd7, 0x7f, 0x71, 0xcc, 0xd8, 0xa3, 0x22,
  4515. };
  4516. static const unsigned char kat155_nor_persstr[] = {
  4517. 0x4f, 0x72, 0x74, 0x5e, 0x2f, 0x2a, 0xa5, 0x43, 0x61, 0x89, 0xdb, 0x92,
  4518. 0x27, 0x82, 0x0e, 0x46,
  4519. };
  4520. static const unsigned char kat155_nor_addin0[] = {0};
  4521. static const unsigned char kat155_nor_addin1[] = {0};
  4522. static const unsigned char kat155_nor_retbytes[] = {
  4523. 0xff, 0x4a, 0xe0, 0x06, 0x4c, 0x25, 0xfc, 0xef, 0x07, 0x4a, 0xb3, 0x65,
  4524. 0x0e, 0xb6, 0xd3, 0x04, 0x4f, 0x86, 0x68, 0x7e, 0x6d, 0xb2, 0x26, 0x29,
  4525. 0x99, 0x2b, 0x08, 0xed, 0x07, 0x8c, 0x65, 0xd0, 0x3d, 0xaf, 0x62, 0x41,
  4526. 0xa3, 0x10, 0xe5, 0x76, 0x3c, 0x29, 0x86, 0x63, 0x84, 0x8e, 0x32, 0xd0,
  4527. 0x61, 0x4e, 0x98, 0x98, 0x9a, 0x16, 0xd3, 0x7d, 0xc1, 0x72, 0x91, 0x35,
  4528. 0xfc, 0xa5, 0xe6, 0x2e,
  4529. };
  4530. static const struct drbg_kat_no_reseed kat155_nor_t = {
  4531. 4, kat155_nor_entropyin, kat155_nor_nonce, kat155_nor_persstr,
  4532. kat155_nor_addin0, kat155_nor_addin1, kat155_nor_retbytes
  4533. };
  4534. static const struct drbg_kat kat155_nor = {
  4535. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat155_nor_t
  4536. };
  4537. static const unsigned char kat156_nor_entropyin[] = {
  4538. 0x1a, 0xbc, 0xe2, 0x1f, 0x12, 0x33, 0x68, 0xb2, 0x6c, 0x66, 0x56, 0xb0,
  4539. 0xce, 0xbc, 0x03, 0xe8,
  4540. };
  4541. static const unsigned char kat156_nor_nonce[] = {
  4542. 0x1f, 0x7a, 0x6d, 0x5b, 0xc2, 0xcb, 0x97, 0x59,
  4543. };
  4544. static const unsigned char kat156_nor_persstr[] = {
  4545. 0x00, 0xcd, 0x25, 0x9b, 0xb8, 0x7e, 0x4e, 0x6e, 0x21, 0x3e, 0xd4, 0x4e,
  4546. 0xec, 0x19, 0xd9, 0x9d,
  4547. };
  4548. static const unsigned char kat156_nor_addin0[] = {0};
  4549. static const unsigned char kat156_nor_addin1[] = {0};
  4550. static const unsigned char kat156_nor_retbytes[] = {
  4551. 0x86, 0xc0, 0x0d, 0x31, 0x81, 0xc1, 0xb6, 0x06, 0xc5, 0x1f, 0x90, 0x98,
  4552. 0x93, 0x83, 0xb4, 0xb8, 0x92, 0x2e, 0x4a, 0x19, 0x0b, 0x94, 0x01, 0x65,
  4553. 0x8f, 0x8d, 0x45, 0x13, 0x69, 0x7c, 0xa7, 0xd5, 0x84, 0xf5, 0xfc, 0xce,
  4554. 0xb3, 0x32, 0x4f, 0x62, 0x4c, 0x47, 0x81, 0xdf, 0xe5, 0x5c, 0x0d, 0xba,
  4555. 0x2d, 0x66, 0xbd, 0x85, 0x8f, 0xb6, 0x43, 0xf2, 0x3c, 0xe5, 0xd6, 0x7e,
  4556. 0x57, 0x25, 0x00, 0x07,
  4557. };
  4558. static const struct drbg_kat_no_reseed kat156_nor_t = {
  4559. 5, kat156_nor_entropyin, kat156_nor_nonce, kat156_nor_persstr,
  4560. kat156_nor_addin0, kat156_nor_addin1, kat156_nor_retbytes
  4561. };
  4562. static const struct drbg_kat kat156_nor = {
  4563. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat156_nor_t
  4564. };
  4565. static const unsigned char kat157_nor_entropyin[] = {
  4566. 0x06, 0xd5, 0xfb, 0x81, 0x4c, 0xa4, 0xb2, 0xba, 0xc9, 0xe1, 0xcf, 0xba,
  4567. 0x0f, 0x13, 0x69, 0x9d,
  4568. };
  4569. static const unsigned char kat157_nor_nonce[] = {
  4570. 0x0e, 0xa8, 0x7b, 0x9f, 0x3b, 0xb1, 0xe6, 0x29,
  4571. };
  4572. static const unsigned char kat157_nor_persstr[] = {
  4573. 0xf6, 0x36, 0x79, 0xdf, 0xa3, 0x53, 0x70, 0x3f, 0x12, 0xe7, 0x23, 0x61,
  4574. 0x73, 0xc7, 0xd3, 0x20,
  4575. };
  4576. static const unsigned char kat157_nor_addin0[] = {0};
  4577. static const unsigned char kat157_nor_addin1[] = {0};
  4578. static const unsigned char kat157_nor_retbytes[] = {
  4579. 0xe0, 0xc8, 0xff, 0x1f, 0x1d, 0x2c, 0x69, 0xaf, 0xca, 0xe0, 0xb7, 0x3b,
  4580. 0xe8, 0xb3, 0xc4, 0xc7, 0x41, 0x3f, 0x7f, 0xbc, 0xbe, 0xfc, 0x3b, 0xcf,
  4581. 0x1e, 0x68, 0x8d, 0x2a, 0x7d, 0x08, 0x49, 0xfd, 0xee, 0x60, 0xbd, 0xe9,
  4582. 0x1a, 0x0f, 0xb1, 0xa5, 0xef, 0x4b, 0xf3, 0xdf, 0xb3, 0x36, 0xb7, 0x3e,
  4583. 0xd0, 0x47, 0xdf, 0xa7, 0x74, 0x77, 0xa5, 0x1c, 0x6d, 0xee, 0x81, 0x72,
  4584. 0x63, 0xa2, 0x0c, 0x37,
  4585. };
  4586. static const struct drbg_kat_no_reseed kat157_nor_t = {
  4587. 6, kat157_nor_entropyin, kat157_nor_nonce, kat157_nor_persstr,
  4588. kat157_nor_addin0, kat157_nor_addin1, kat157_nor_retbytes
  4589. };
  4590. static const struct drbg_kat kat157_nor = {
  4591. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat157_nor_t
  4592. };
  4593. static const unsigned char kat158_nor_entropyin[] = {
  4594. 0xdd, 0x3b, 0x7c, 0xfc, 0x51, 0x8c, 0x18, 0x0c, 0xf2, 0x89, 0xf1, 0x45,
  4595. 0x25, 0x15, 0x0c, 0xa5,
  4596. };
  4597. static const unsigned char kat158_nor_nonce[] = {
  4598. 0x36, 0x94, 0x04, 0x3c, 0x71, 0xc2, 0xdd, 0xc5,
  4599. };
  4600. static const unsigned char kat158_nor_persstr[] = {
  4601. 0x3b, 0x1c, 0x08, 0xfa, 0xb6, 0x36, 0x18, 0x51, 0xd7, 0xa5, 0x18, 0xae,
  4602. 0x35, 0x5b, 0x8c, 0x9b,
  4603. };
  4604. static const unsigned char kat158_nor_addin0[] = {0};
  4605. static const unsigned char kat158_nor_addin1[] = {0};
  4606. static const unsigned char kat158_nor_retbytes[] = {
  4607. 0x59, 0x16, 0x4b, 0xac, 0x7a, 0x71, 0x4f, 0xcd, 0x5a, 0x45, 0x80, 0xfb,
  4608. 0x54, 0xed, 0x4d, 0xdf, 0x99, 0xc3, 0x9c, 0xf5, 0x9c, 0x23, 0xf8, 0x5f,
  4609. 0x6c, 0x52, 0x16, 0xf4, 0xe8, 0x9c, 0xf2, 0x8d, 0xa1, 0x59, 0x9f, 0x82,
  4610. 0x57, 0xa6, 0xaf, 0xc3, 0x02, 0xed, 0x3a, 0x1d, 0xec, 0x00, 0x3f, 0xf4,
  4611. 0x50, 0x91, 0x2c, 0x2b, 0xcd, 0x68, 0x2c, 0xd3, 0x40, 0x79, 0xcf, 0xb3,
  4612. 0xcc, 0xf2, 0x59, 0x3a,
  4613. };
  4614. static const struct drbg_kat_no_reseed kat158_nor_t = {
  4615. 7, kat158_nor_entropyin, kat158_nor_nonce, kat158_nor_persstr,
  4616. kat158_nor_addin0, kat158_nor_addin1, kat158_nor_retbytes
  4617. };
  4618. static const struct drbg_kat kat158_nor = {
  4619. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat158_nor_t
  4620. };
  4621. static const unsigned char kat159_nor_entropyin[] = {
  4622. 0xb7, 0x31, 0x4b, 0xac, 0xd0, 0xb3, 0xe9, 0xe2, 0x21, 0x4e, 0x11, 0xa4,
  4623. 0x9c, 0x4f, 0xab, 0x54,
  4624. };
  4625. static const unsigned char kat159_nor_nonce[] = {
  4626. 0x8c, 0xd5, 0x9a, 0x9c, 0x39, 0x50, 0x1c, 0x0b,
  4627. };
  4628. static const unsigned char kat159_nor_persstr[] = {
  4629. 0xb6, 0xe3, 0xa4, 0x64, 0x4f, 0xb9, 0x13, 0xa5, 0x4c, 0x89, 0x21, 0xcb,
  4630. 0xc1, 0x73, 0x72, 0x38,
  4631. };
  4632. static const unsigned char kat159_nor_addin0[] = {0};
  4633. static const unsigned char kat159_nor_addin1[] = {0};
  4634. static const unsigned char kat159_nor_retbytes[] = {
  4635. 0xe9, 0x2c, 0x97, 0xcc, 0xbb, 0xd6, 0x01, 0x31, 0x78, 0xee, 0x06, 0xd0,
  4636. 0x1a, 0xd2, 0xc9, 0xeb, 0x54, 0x64, 0xa7, 0xe3, 0x04, 0x32, 0xb9, 0x43,
  4637. 0xe0, 0xb3, 0x71, 0xf1, 0x36, 0xa9, 0x94, 0xb9, 0xf5, 0x44, 0xf3, 0x7b,
  4638. 0x60, 0x56, 0x1e, 0x10, 0x25, 0xb1, 0x2b, 0x5a, 0x15, 0xcb, 0x66, 0x1b,
  4639. 0x30, 0x1b, 0x5d, 0xd4, 0x38, 0x4b, 0x8b, 0xc0, 0x0d, 0x1d, 0x72, 0xb3,
  4640. 0xc6, 0x18, 0xf8, 0x75,
  4641. };
  4642. static const struct drbg_kat_no_reseed kat159_nor_t = {
  4643. 8, kat159_nor_entropyin, kat159_nor_nonce, kat159_nor_persstr,
  4644. kat159_nor_addin0, kat159_nor_addin1, kat159_nor_retbytes
  4645. };
  4646. static const struct drbg_kat kat159_nor = {
  4647. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat159_nor_t
  4648. };
  4649. static const unsigned char kat160_nor_entropyin[] = {
  4650. 0xd6, 0x2b, 0x1f, 0xc2, 0xb0, 0x45, 0x71, 0x8a, 0x3f, 0xe5, 0x9d, 0xfa,
  4651. 0xc4, 0xa1, 0xc0, 0x3b,
  4652. };
  4653. static const unsigned char kat160_nor_nonce[] = {
  4654. 0x41, 0x99, 0x17, 0xd5, 0x8a, 0x67, 0x56, 0xa5,
  4655. };
  4656. static const unsigned char kat160_nor_persstr[] = {
  4657. 0xf4, 0x79, 0x4b, 0xdc, 0x10, 0x9f, 0x13, 0x00, 0x4b, 0x89, 0x3b, 0x32,
  4658. 0x83, 0xc0, 0x97, 0x7e,
  4659. };
  4660. static const unsigned char kat160_nor_addin0[] = {0};
  4661. static const unsigned char kat160_nor_addin1[] = {0};
  4662. static const unsigned char kat160_nor_retbytes[] = {
  4663. 0x05, 0x42, 0xdf, 0xda, 0xb8, 0x8e, 0x34, 0x91, 0x63, 0xed, 0x9b, 0xa6,
  4664. 0x34, 0xee, 0x76, 0x25, 0x7d, 0xc9, 0x27, 0x66, 0x61, 0xcd, 0x5d, 0xd2,
  4665. 0xfa, 0xa9, 0x31, 0xbc, 0x3a, 0x2e, 0x9c, 0x2d, 0x17, 0xe5, 0x70, 0xff,
  4666. 0xa1, 0xa5, 0xf1, 0x44, 0x96, 0xf0, 0xea, 0xc3, 0x33, 0x9e, 0xfd, 0xe4,
  4667. 0x6a, 0xa4, 0x0e, 0x87, 0xf2, 0x1a, 0x98, 0x54, 0x95, 0xfd, 0xa3, 0x94,
  4668. 0xf2, 0x06, 0x6e, 0xbb,
  4669. };
  4670. static const struct drbg_kat_no_reseed kat160_nor_t = {
  4671. 9, kat160_nor_entropyin, kat160_nor_nonce, kat160_nor_persstr,
  4672. kat160_nor_addin0, kat160_nor_addin1, kat160_nor_retbytes
  4673. };
  4674. static const struct drbg_kat kat160_nor = {
  4675. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat160_nor_t
  4676. };
  4677. static const unsigned char kat161_nor_entropyin[] = {
  4678. 0x91, 0xb4, 0xaa, 0x7d, 0x56, 0x58, 0x32, 0xe9, 0x6a, 0x21, 0xd6, 0x80,
  4679. 0xa0, 0xec, 0xdb, 0x4c,
  4680. };
  4681. static const unsigned char kat161_nor_nonce[] = {
  4682. 0x06, 0x09, 0x09, 0xe2, 0xce, 0x8b, 0x2d, 0xc8,
  4683. };
  4684. static const unsigned char kat161_nor_persstr[] = {
  4685. 0x5c, 0xba, 0xce, 0xb8, 0x9c, 0x15, 0x0d, 0x22, 0x9b, 0x51, 0x6c, 0x34,
  4686. 0x93, 0x60, 0xf2, 0x7f,
  4687. };
  4688. static const unsigned char kat161_nor_addin0[] = {0};
  4689. static const unsigned char kat161_nor_addin1[] = {0};
  4690. static const unsigned char kat161_nor_retbytes[] = {
  4691. 0xc0, 0x79, 0xc2, 0x91, 0x7e, 0x8f, 0x6b, 0x84, 0xc5, 0x8e, 0x02, 0x26,
  4692. 0xad, 0x0b, 0x8a, 0x60, 0xa8, 0x7b, 0x88, 0x22, 0xa9, 0x90, 0x45, 0x9d,
  4693. 0xe2, 0x4c, 0xc6, 0x55, 0x4c, 0x7f, 0x24, 0x1a, 0xff, 0x30, 0xcd, 0xea,
  4694. 0x61, 0xa7, 0x48, 0x47, 0x0a, 0x58, 0xc9, 0x4a, 0x15, 0x0e, 0xbd, 0xdc,
  4695. 0x35, 0x5c, 0x64, 0x4d, 0xd4, 0x78, 0x6e, 0x36, 0xf1, 0x7e, 0xcf, 0xce,
  4696. 0xa7, 0x33, 0x9d, 0x42,
  4697. };
  4698. static const struct drbg_kat_no_reseed kat161_nor_t = {
  4699. 10, kat161_nor_entropyin, kat161_nor_nonce, kat161_nor_persstr,
  4700. kat161_nor_addin0, kat161_nor_addin1, kat161_nor_retbytes
  4701. };
  4702. static const struct drbg_kat kat161_nor = {
  4703. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat161_nor_t
  4704. };
  4705. static const unsigned char kat162_nor_entropyin[] = {
  4706. 0x32, 0xe1, 0x66, 0xc0, 0x93, 0x8d, 0x6d, 0xa7, 0x21, 0xcf, 0xce, 0x23,
  4707. 0x5a, 0x66, 0xa1, 0x80,
  4708. };
  4709. static const unsigned char kat162_nor_nonce[] = {
  4710. 0xeb, 0x68, 0x79, 0x96, 0xa8, 0xff, 0x63, 0x94,
  4711. };
  4712. static const unsigned char kat162_nor_persstr[] = {
  4713. 0x05, 0xb9, 0x9f, 0x8d, 0x9f, 0x10, 0x2c, 0x5f, 0xf6, 0xd0, 0xd4, 0x5c,
  4714. 0x4d, 0x68, 0x5f, 0xf8,
  4715. };
  4716. static const unsigned char kat162_nor_addin0[] = {0};
  4717. static const unsigned char kat162_nor_addin1[] = {0};
  4718. static const unsigned char kat162_nor_retbytes[] = {
  4719. 0xec, 0x5a, 0xe3, 0x97, 0x25, 0x72, 0x20, 0x45, 0x2e, 0x61, 0x05, 0xa5,
  4720. 0xa2, 0x9f, 0x56, 0xd9, 0x33, 0x21, 0x32, 0xf5, 0x33, 0x8d, 0x19, 0xe8,
  4721. 0x1a, 0xf6, 0xd3, 0x10, 0x22, 0xbb, 0x91, 0xf8, 0x7f, 0x04, 0xe4, 0x52,
  4722. 0x0d, 0x50, 0x76, 0x61, 0x43, 0xd3, 0x53, 0x3e, 0x7b, 0x9d, 0x57, 0x0a,
  4723. 0x80, 0x68, 0x84, 0xa3, 0xdf, 0xe2, 0x81, 0xe0, 0x00, 0xf7, 0x7e, 0x7b,
  4724. 0x85, 0x59, 0x44, 0x34,
  4725. };
  4726. static const struct drbg_kat_no_reseed kat162_nor_t = {
  4727. 11, kat162_nor_entropyin, kat162_nor_nonce, kat162_nor_persstr,
  4728. kat162_nor_addin0, kat162_nor_addin1, kat162_nor_retbytes
  4729. };
  4730. static const struct drbg_kat kat162_nor = {
  4731. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat162_nor_t
  4732. };
  4733. static const unsigned char kat163_nor_entropyin[] = {
  4734. 0x3a, 0x3d, 0x6a, 0xa9, 0xdb, 0x0f, 0x54, 0x0a, 0x37, 0xeb, 0x81, 0x50,
  4735. 0x9d, 0xdb, 0x65, 0x5d,
  4736. };
  4737. static const unsigned char kat163_nor_nonce[] = {
  4738. 0x1f, 0xe8, 0xc2, 0x5b, 0x27, 0xee, 0x3a, 0xbe,
  4739. };
  4740. static const unsigned char kat163_nor_persstr[] = {
  4741. 0x8e, 0x15, 0xa5, 0xad, 0x7a, 0x5f, 0x29, 0x38, 0xeb, 0xdb, 0x5c, 0x08,
  4742. 0x8b, 0xdc, 0xf3, 0x07,
  4743. };
  4744. static const unsigned char kat163_nor_addin0[] = {0};
  4745. static const unsigned char kat163_nor_addin1[] = {0};
  4746. static const unsigned char kat163_nor_retbytes[] = {
  4747. 0x8d, 0x7e, 0xae, 0xe5, 0x0e, 0x87, 0xf0, 0xbc, 0x34, 0xa4, 0x9b, 0xe9,
  4748. 0x4e, 0x7a, 0x4a, 0x64, 0xfd, 0x1e, 0xc9, 0x86, 0x1e, 0xf3, 0x34, 0x22,
  4749. 0x2f, 0xfb, 0x15, 0xaf, 0x89, 0x29, 0xf9, 0xed, 0x42, 0xfb, 0x3f, 0xa6,
  4750. 0x29, 0xd6, 0xba, 0x39, 0x70, 0x6b, 0x91, 0x93, 0xe1, 0x2b, 0xa2, 0x40,
  4751. 0x44, 0x76, 0x17, 0x7c, 0x4f, 0x69, 0xbf, 0xd1, 0x8c, 0xfe, 0x59, 0x55,
  4752. 0x5d, 0xca, 0x7c, 0x04,
  4753. };
  4754. static const struct drbg_kat_no_reseed kat163_nor_t = {
  4755. 12, kat163_nor_entropyin, kat163_nor_nonce, kat163_nor_persstr,
  4756. kat163_nor_addin0, kat163_nor_addin1, kat163_nor_retbytes
  4757. };
  4758. static const struct drbg_kat kat163_nor = {
  4759. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat163_nor_t
  4760. };
  4761. static const unsigned char kat164_nor_entropyin[] = {
  4762. 0xc0, 0x84, 0x69, 0xf8, 0x36, 0xfc, 0x12, 0x48, 0xde, 0xd4, 0xed, 0xd8,
  4763. 0xaf, 0x4d, 0x9d, 0xe8,
  4764. };
  4765. static const unsigned char kat164_nor_nonce[] = {
  4766. 0x74, 0x6e, 0xa2, 0xd7, 0x4c, 0xcc, 0xc4, 0xcd,
  4767. };
  4768. static const unsigned char kat164_nor_persstr[] = {
  4769. 0xa5, 0x18, 0x18, 0xae, 0x54, 0x37, 0x56, 0x25, 0x52, 0x65, 0x11, 0x80,
  4770. 0xf3, 0xde, 0x5d, 0xae,
  4771. };
  4772. static const unsigned char kat164_nor_addin0[] = {0};
  4773. static const unsigned char kat164_nor_addin1[] = {0};
  4774. static const unsigned char kat164_nor_retbytes[] = {
  4775. 0xa0, 0x8a, 0xee, 0xde, 0x46, 0x3f, 0xc9, 0xac, 0x48, 0x90, 0x7a, 0xb4,
  4776. 0xb0, 0xb3, 0x9d, 0x6f, 0x86, 0xa8, 0x79, 0xf4, 0x21, 0x81, 0x61, 0x41,
  4777. 0xa0, 0x52, 0xeb, 0x48, 0xd8, 0x7f, 0xf5, 0xd9, 0xb5, 0xb6, 0xcb, 0xfe,
  4778. 0xef, 0xdd, 0x8c, 0xfc, 0x17, 0x72, 0xeb, 0x62, 0x67, 0x12, 0x45, 0x3f,
  4779. 0x88, 0xec, 0x74, 0x7f, 0x6a, 0x05, 0xaf, 0x91, 0x7c, 0x9f, 0xa1, 0x61,
  4780. 0xed, 0xe1, 0x1d, 0x7f,
  4781. };
  4782. static const struct drbg_kat_no_reseed kat164_nor_t = {
  4783. 13, kat164_nor_entropyin, kat164_nor_nonce, kat164_nor_persstr,
  4784. kat164_nor_addin0, kat164_nor_addin1, kat164_nor_retbytes
  4785. };
  4786. static const struct drbg_kat kat164_nor = {
  4787. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat164_nor_t
  4788. };
  4789. static const unsigned char kat165_nor_entropyin[] = {
  4790. 0x0c, 0xe4, 0xc1, 0x82, 0x8f, 0x9c, 0x9f, 0x0a, 0xea, 0xb4, 0x95, 0x36,
  4791. 0x72, 0x23, 0x59, 0x23,
  4792. };
  4793. static const unsigned char kat165_nor_nonce[] = {
  4794. 0x46, 0x4b, 0x42, 0xc9, 0xfc, 0x5b, 0x38, 0x31,
  4795. };
  4796. static const unsigned char kat165_nor_persstr[] = {
  4797. 0x48, 0xde, 0x34, 0xd8, 0x48, 0x29, 0x8d, 0xcf, 0x3f, 0x58, 0xc5, 0x2d,
  4798. 0x96, 0xc7, 0x7b, 0xf5,
  4799. };
  4800. static const unsigned char kat165_nor_addin0[] = {0};
  4801. static const unsigned char kat165_nor_addin1[] = {0};
  4802. static const unsigned char kat165_nor_retbytes[] = {
  4803. 0xa7, 0xd3, 0x79, 0x02, 0x26, 0xf5, 0xab, 0x5b, 0x38, 0x33, 0xdc, 0xc7,
  4804. 0x63, 0xc2, 0xe9, 0xe7, 0xc5, 0xb7, 0x7d, 0x57, 0xc2, 0xfa, 0x26, 0x15,
  4805. 0x47, 0xae, 0x0e, 0x39, 0xe9, 0x78, 0x4d, 0xf2, 0x69, 0xd0, 0x8b, 0xbd,
  4806. 0x40, 0x36, 0x46, 0x2f, 0x3a, 0xcc, 0xc7, 0x1b, 0x37, 0x8b, 0x09, 0x41,
  4807. 0xe9, 0x9c, 0x32, 0x7c, 0x4a, 0x50, 0x34, 0x39, 0xa9, 0x3b, 0x4e, 0xc7,
  4808. 0xa0, 0x39, 0xa2, 0xa8,
  4809. };
  4810. static const struct drbg_kat_no_reseed kat165_nor_t = {
  4811. 14, kat165_nor_entropyin, kat165_nor_nonce, kat165_nor_persstr,
  4812. kat165_nor_addin0, kat165_nor_addin1, kat165_nor_retbytes
  4813. };
  4814. static const struct drbg_kat kat165_nor = {
  4815. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat165_nor_t
  4816. };
  4817. static const unsigned char kat166_nor_entropyin[] = {
  4818. 0x70, 0x7a, 0x43, 0x07, 0x2e, 0xac, 0xb8, 0xce, 0xa9, 0x5f, 0xb8, 0x52,
  4819. 0x1a, 0xe5, 0x16, 0x0b,
  4820. };
  4821. static const unsigned char kat166_nor_nonce[] = {
  4822. 0xfd, 0x62, 0x12, 0x13, 0x26, 0x16, 0x30, 0xad,
  4823. };
  4824. static const unsigned char kat166_nor_persstr[] = {
  4825. 0x6b, 0xf9, 0xa7, 0x2e, 0xaf, 0xe3, 0x5d, 0x58, 0x3c, 0x91, 0x5c, 0x95,
  4826. 0x25, 0x74, 0x7b, 0xa0,
  4827. };
  4828. static const unsigned char kat166_nor_addin0[] = {
  4829. 0xe3, 0xdf, 0xd6, 0x92, 0x7c, 0x4a, 0xe1, 0x03, 0x43, 0x2e, 0xb6, 0x19,
  4830. 0x63, 0x67, 0xec, 0xee,
  4831. };
  4832. static const unsigned char kat166_nor_addin1[] = {
  4833. 0xe1, 0x8c, 0xd5, 0x04, 0xe9, 0x40, 0x27, 0x53, 0x3c, 0xf3, 0x30, 0x71,
  4834. 0xca, 0x93, 0x1b, 0x60,
  4835. };
  4836. static const unsigned char kat166_nor_retbytes[] = {
  4837. 0xee, 0x46, 0x3c, 0xdc, 0x78, 0xdd, 0x25, 0x3c, 0x44, 0x66, 0xdd, 0xc2,
  4838. 0xe3, 0x5c, 0xc4, 0xa9, 0x1a, 0xf2, 0x0a, 0xd3, 0xb3, 0x39, 0x66, 0x69,
  4839. 0xce, 0xf5, 0x22, 0x1b, 0x0a, 0x9c, 0xcc, 0x5d, 0xfc, 0x72, 0x3b, 0x2f,
  4840. 0xe1, 0xe5, 0x7f, 0xa2, 0x6d, 0xd0, 0x30, 0xad, 0x0b, 0x6e, 0xa1, 0x4e,
  4841. 0xcb, 0x89, 0xf9, 0x1c, 0x4b, 0xc6, 0x93, 0x82, 0xa0, 0x1d, 0x8d, 0xfa,
  4842. 0x6f, 0x1d, 0xff, 0x8a,
  4843. };
  4844. static const struct drbg_kat_no_reseed kat166_nor_t = {
  4845. 0, kat166_nor_entropyin, kat166_nor_nonce, kat166_nor_persstr,
  4846. kat166_nor_addin0, kat166_nor_addin1, kat166_nor_retbytes
  4847. };
  4848. static const struct drbg_kat kat166_nor = {
  4849. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat166_nor_t
  4850. };
  4851. static const unsigned char kat167_nor_entropyin[] = {
  4852. 0x35, 0x67, 0xac, 0x54, 0xb9, 0x03, 0xfd, 0x5d, 0xdc, 0x57, 0x23, 0x4c,
  4853. 0x31, 0x9b, 0x14, 0x15,
  4854. };
  4855. static const unsigned char kat167_nor_nonce[] = {
  4856. 0x8f, 0x75, 0xc5, 0x6a, 0x85, 0x77, 0x21, 0x92,
  4857. };
  4858. static const unsigned char kat167_nor_persstr[] = {
  4859. 0xd1, 0xe3, 0xff, 0xed, 0x85, 0x21, 0x1c, 0x40, 0x8e, 0x31, 0xdb, 0x12,
  4860. 0xe8, 0x5b, 0x75, 0xdb,
  4861. };
  4862. static const unsigned char kat167_nor_addin0[] = {
  4863. 0xcc, 0x38, 0x84, 0x33, 0x5e, 0x19, 0x42, 0x7c, 0xaf, 0x09, 0xf0, 0x1c,
  4864. 0x63, 0x4b, 0x30, 0x8a,
  4865. };
  4866. static const unsigned char kat167_nor_addin1[] = {
  4867. 0xf7, 0x73, 0x3d, 0x02, 0x51, 0xff, 0x02, 0xaf, 0xc0, 0xe9, 0x61, 0xc1,
  4868. 0x12, 0x28, 0x84, 0xfc,
  4869. };
  4870. static const unsigned char kat167_nor_retbytes[] = {
  4871. 0x28, 0xc6, 0x9b, 0xb4, 0x98, 0x76, 0x42, 0xe5, 0xa4, 0x67, 0x93, 0x8f,
  4872. 0x52, 0xa7, 0x37, 0x14, 0xd3, 0x9a, 0xd0, 0x89, 0xee, 0x09, 0xda, 0xbe,
  4873. 0x70, 0xd6, 0x90, 0x36, 0x17, 0x8f, 0x59, 0x98, 0x18, 0x6c, 0xc6, 0x45,
  4874. 0x10, 0x0b, 0x56, 0xf9, 0x8e, 0xf4, 0x5c, 0xe3, 0x5b, 0x06, 0xf0, 0x9c,
  4875. 0x26, 0x20, 0xba, 0x68, 0x0a, 0x5a, 0x03, 0xd3, 0xd9, 0x59, 0x43, 0xed,
  4876. 0x17, 0x16, 0x0f, 0xe4,
  4877. };
  4878. static const struct drbg_kat_no_reseed kat167_nor_t = {
  4879. 1, kat167_nor_entropyin, kat167_nor_nonce, kat167_nor_persstr,
  4880. kat167_nor_addin0, kat167_nor_addin1, kat167_nor_retbytes
  4881. };
  4882. static const struct drbg_kat kat167_nor = {
  4883. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat167_nor_t
  4884. };
  4885. static const unsigned char kat168_nor_entropyin[] = {
  4886. 0x41, 0x76, 0x72, 0x58, 0xe0, 0x6e, 0x50, 0x11, 0x24, 0xf3, 0xdb, 0x8b,
  4887. 0xe4, 0x58, 0xd3, 0xbf,
  4888. };
  4889. static const unsigned char kat168_nor_nonce[] = {
  4890. 0xde, 0x8f, 0xa0, 0xa7, 0x9f, 0x1a, 0x7f, 0x0c,
  4891. };
  4892. static const unsigned char kat168_nor_persstr[] = {
  4893. 0x9d, 0xab, 0x2f, 0x46, 0xd2, 0x2d, 0x37, 0x86, 0x08, 0xe2, 0x1f, 0xc2,
  4894. 0x37, 0xe9, 0x98, 0x71,
  4895. };
  4896. static const unsigned char kat168_nor_addin0[] = {
  4897. 0xea, 0x41, 0xd1, 0x33, 0xb4, 0xf8, 0x6a, 0x35, 0x22, 0x7b, 0x76, 0x16,
  4898. 0x7f, 0x51, 0xbb, 0x5f,
  4899. };
  4900. static const unsigned char kat168_nor_addin1[] = {
  4901. 0x71, 0x61, 0xe1, 0x2c, 0x6f, 0x65, 0xc1, 0x42, 0xba, 0xf9, 0x4f, 0x1a,
  4902. 0x09, 0xe9, 0x4e, 0x22,
  4903. };
  4904. static const unsigned char kat168_nor_retbytes[] = {
  4905. 0xb3, 0x90, 0xc9, 0x52, 0x0e, 0xad, 0x28, 0x82, 0x69, 0x2a, 0x29, 0x59,
  4906. 0x3d, 0x16, 0x5c, 0x58, 0xbc, 0x66, 0x14, 0x62, 0x11, 0x2a, 0xf6, 0xd2,
  4907. 0x5a, 0x57, 0x14, 0x73, 0xe6, 0x1f, 0x1c, 0xbc, 0xd0, 0x75, 0xe3, 0xad,
  4908. 0x1c, 0xae, 0xeb, 0x51, 0xcb, 0x99, 0x28, 0x40, 0x51, 0xce, 0xa4, 0x5a,
  4909. 0x17, 0x06, 0xe9, 0x84, 0xe2, 0x7c, 0x32, 0x84, 0xfc, 0x1e, 0x87, 0xab,
  4910. 0x68, 0xa6, 0xf1, 0x46,
  4911. };
  4912. static const struct drbg_kat_no_reseed kat168_nor_t = {
  4913. 2, kat168_nor_entropyin, kat168_nor_nonce, kat168_nor_persstr,
  4914. kat168_nor_addin0, kat168_nor_addin1, kat168_nor_retbytes
  4915. };
  4916. static const struct drbg_kat kat168_nor = {
  4917. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat168_nor_t
  4918. };
  4919. static const unsigned char kat169_nor_entropyin[] = {
  4920. 0x19, 0xdb, 0x2d, 0xcd, 0xc5, 0x7d, 0xf2, 0x1e, 0x55, 0xb6, 0x56, 0x4e,
  4921. 0xae, 0x47, 0x41, 0x0b,
  4922. };
  4923. static const unsigned char kat169_nor_nonce[] = {
  4924. 0xeb, 0xec, 0x8e, 0xce, 0x62, 0xd3, 0x29, 0xb6,
  4925. };
  4926. static const unsigned char kat169_nor_persstr[] = {
  4927. 0x80, 0xba, 0xec, 0xa8, 0x2b, 0x3b, 0xa2, 0x07, 0xb9, 0xf3, 0x75, 0x08,
  4928. 0x38, 0xbd, 0xe4, 0x98,
  4929. };
  4930. static const unsigned char kat169_nor_addin0[] = {
  4931. 0x5d, 0x74, 0xcd, 0xd7, 0xbc, 0xbe, 0x7b, 0xc9, 0x48, 0xb8, 0xf1, 0x3e,
  4932. 0xfa, 0x83, 0x5a, 0xd4,
  4933. };
  4934. static const unsigned char kat169_nor_addin1[] = {
  4935. 0x17, 0xbb, 0x7c, 0xb9, 0x1b, 0x48, 0x11, 0xa5, 0xe7, 0xdb, 0x26, 0x78,
  4936. 0x4c, 0xbb, 0xc2, 0xe5,
  4937. };
  4938. static const unsigned char kat169_nor_retbytes[] = {
  4939. 0x26, 0x54, 0xd9, 0x86, 0x67, 0xf7, 0x56, 0x15, 0xfb, 0x6c, 0x74, 0xd5,
  4940. 0xb9, 0x0b, 0x62, 0x3c, 0xcc, 0xb9, 0x62, 0x49, 0xe1, 0x4e, 0x08, 0xe8,
  4941. 0x8d, 0x1c, 0xb5, 0xe0, 0x90, 0x93, 0x26, 0xb6, 0x77, 0x67, 0xa5, 0x73,
  4942. 0xe0, 0xa4, 0xd1, 0xdf, 0x05, 0x7f, 0x2d, 0xe7, 0xa4, 0x95, 0xde, 0xae,
  4943. 0xcb, 0xeb, 0x7e, 0x25, 0xe3, 0xaa, 0x82, 0xde, 0x55, 0x59, 0x08, 0xbf,
  4944. 0xe3, 0xcc, 0x6a, 0x85,
  4945. };
  4946. static const struct drbg_kat_no_reseed kat169_nor_t = {
  4947. 3, kat169_nor_entropyin, kat169_nor_nonce, kat169_nor_persstr,
  4948. kat169_nor_addin0, kat169_nor_addin1, kat169_nor_retbytes
  4949. };
  4950. static const struct drbg_kat kat169_nor = {
  4951. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat169_nor_t
  4952. };
  4953. static const unsigned char kat170_nor_entropyin[] = {
  4954. 0x64, 0xd7, 0xb4, 0x2c, 0x52, 0x64, 0x33, 0x76, 0xd8, 0xa1, 0x1b, 0x0d,
  4955. 0xa5, 0xcc, 0xa5, 0xe6,
  4956. };
  4957. static const unsigned char kat170_nor_nonce[] = {
  4958. 0x6f, 0xeb, 0x03, 0x5f, 0x39, 0x14, 0x25, 0x14,
  4959. };
  4960. static const unsigned char kat170_nor_persstr[] = {
  4961. 0x3f, 0x12, 0xa6, 0xf2, 0x40, 0x01, 0xb9, 0x8c, 0x1f, 0x24, 0xab, 0xcf,
  4962. 0xab, 0x68, 0x95, 0x08,
  4963. };
  4964. static const unsigned char kat170_nor_addin0[] = {
  4965. 0xfe, 0xe4, 0x82, 0xb1, 0xfe, 0xa0, 0x53, 0x65, 0xab, 0xa0, 0x7b, 0xc7,
  4966. 0xc3, 0x35, 0x1c, 0x6d,
  4967. };
  4968. static const unsigned char kat170_nor_addin1[] = {
  4969. 0xaf, 0x13, 0x59, 0x83, 0xab, 0x81, 0x13, 0x91, 0x45, 0x35, 0x13, 0x49,
  4970. 0x18, 0x78, 0xb5, 0xb5,
  4971. };
  4972. static const unsigned char kat170_nor_retbytes[] = {
  4973. 0x0c, 0x21, 0xf6, 0x97, 0xf1, 0xb0, 0x0d, 0x22, 0x83, 0xae, 0xe4, 0xe7,
  4974. 0xb7, 0xe1, 0x01, 0x33, 0x38, 0x6a, 0xb0, 0xab, 0xfa, 0xdb, 0x5e, 0x14,
  4975. 0xbf, 0xe5, 0xb4, 0x52, 0xa6, 0xd9, 0x17, 0x46, 0x2a, 0x7b, 0xd0, 0xed,
  4976. 0xa0, 0x6f, 0xa1, 0x41, 0xb1, 0xbc, 0x3e, 0xab, 0x4f, 0x47, 0x73, 0xa2,
  4977. 0x40, 0xbe, 0x73, 0x51, 0xe3, 0x2a, 0x1d, 0xab, 0xdd, 0xc5, 0x7b, 0xae,
  4978. 0x02, 0xd2, 0x6c, 0xd2,
  4979. };
  4980. static const struct drbg_kat_no_reseed kat170_nor_t = {
  4981. 4, kat170_nor_entropyin, kat170_nor_nonce, kat170_nor_persstr,
  4982. kat170_nor_addin0, kat170_nor_addin1, kat170_nor_retbytes
  4983. };
  4984. static const struct drbg_kat kat170_nor = {
  4985. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat170_nor_t
  4986. };
  4987. static const unsigned char kat171_nor_entropyin[] = {
  4988. 0xa5, 0x5a, 0x5a, 0x07, 0x29, 0xc3, 0x9e, 0xfb, 0xc8, 0x6c, 0xe6, 0x4d,
  4989. 0x91, 0x51, 0x03, 0x4e,
  4990. };
  4991. static const unsigned char kat171_nor_nonce[] = {
  4992. 0x10, 0xf1, 0x15, 0x57, 0x73, 0xfb, 0xcd, 0x3b,
  4993. };
  4994. static const unsigned char kat171_nor_persstr[] = {
  4995. 0x6c, 0x6f, 0x3f, 0x77, 0x80, 0x15, 0xb2, 0xd3, 0x34, 0x92, 0x2e, 0x7a,
  4996. 0x13, 0xea, 0xd6, 0xe6,
  4997. };
  4998. static const unsigned char kat171_nor_addin0[] = {
  4999. 0x84, 0x10, 0x15, 0x5a, 0x9f, 0x4d, 0x40, 0xa3, 0x29, 0x8d, 0x5b, 0x0f,
  5000. 0x42, 0xc0, 0xef, 0x46,
  5001. };
  5002. static const unsigned char kat171_nor_addin1[] = {
  5003. 0xfd, 0x91, 0x1c, 0x8b, 0xb6, 0xff, 0x14, 0xe7, 0xd7, 0x6a, 0x61, 0x1a,
  5004. 0xdd, 0xda, 0x72, 0x11,
  5005. };
  5006. static const unsigned char kat171_nor_retbytes[] = {
  5007. 0x16, 0x5f, 0x07, 0xd1, 0x4b, 0xb1, 0xb3, 0x7b, 0xd9, 0xe0, 0x94, 0x9e,
  5008. 0x7b, 0x0c, 0x0d, 0xfa, 0xdd, 0x06, 0x7a, 0xdf, 0x15, 0xb6, 0x6c, 0xb3,
  5009. 0x96, 0xe6, 0x44, 0x4b, 0xcd, 0xf1, 0x1b, 0xc2, 0x34, 0xb0, 0xd5, 0x9b,
  5010. 0x23, 0x17, 0x21, 0x4a, 0x9c, 0xde, 0x72, 0xe5, 0x32, 0xf3, 0x00, 0xc9,
  5011. 0xd0, 0x90, 0x7f, 0xf5, 0x9e, 0x62, 0x12, 0x82, 0x6a, 0x92, 0x0f, 0xd9,
  5012. 0x2b, 0x53, 0xad, 0xf7,
  5013. };
  5014. static const struct drbg_kat_no_reseed kat171_nor_t = {
  5015. 5, kat171_nor_entropyin, kat171_nor_nonce, kat171_nor_persstr,
  5016. kat171_nor_addin0, kat171_nor_addin1, kat171_nor_retbytes
  5017. };
  5018. static const struct drbg_kat kat171_nor = {
  5019. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat171_nor_t
  5020. };
  5021. static const unsigned char kat172_nor_entropyin[] = {
  5022. 0x53, 0xea, 0x1b, 0xef, 0x71, 0x12, 0xfd, 0xcb, 0x15, 0x51, 0x36, 0x16,
  5023. 0xae, 0x7e, 0x07, 0x03,
  5024. };
  5025. static const unsigned char kat172_nor_nonce[] = {
  5026. 0xca, 0xac, 0x5b, 0x2f, 0xbf, 0x5b, 0xd1, 0xb8,
  5027. };
  5028. static const unsigned char kat172_nor_persstr[] = {
  5029. 0x79, 0x04, 0x26, 0x8d, 0x84, 0x6f, 0x81, 0x41, 0xcd, 0x78, 0x3e, 0xcb,
  5030. 0xa6, 0xef, 0xc9, 0x01,
  5031. };
  5032. static const unsigned char kat172_nor_addin0[] = {
  5033. 0x03, 0x64, 0xae, 0xea, 0xf7, 0x42, 0x4c, 0x92, 0xc2, 0x61, 0x1f, 0x33,
  5034. 0x86, 0xfb, 0xe3, 0x8a,
  5035. };
  5036. static const unsigned char kat172_nor_addin1[] = {
  5037. 0x9c, 0x77, 0xd6, 0x80, 0xc5, 0xf2, 0x70, 0xae, 0xfa, 0x8a, 0x45, 0xb3,
  5038. 0xe9, 0x35, 0x53, 0x30,
  5039. };
  5040. static const unsigned char kat172_nor_retbytes[] = {
  5041. 0xe5, 0x6f, 0xa9, 0x81, 0x29, 0x23, 0x89, 0x0b, 0x94, 0x81, 0xee, 0x07,
  5042. 0x80, 0xea, 0x23, 0xb2, 0x05, 0x94, 0x7e, 0x80, 0xf3, 0xe3, 0x8f, 0x55,
  5043. 0xc2, 0x2d, 0xef, 0xce, 0x6c, 0xae, 0xa8, 0x4f, 0xd9, 0x85, 0x0f, 0x2c,
  5044. 0x50, 0x9c, 0x51, 0x48, 0xe0, 0x1c, 0xd9, 0x77, 0x34, 0x8c, 0xc8, 0xb3,
  5045. 0xcc, 0xab, 0xd3, 0xd7, 0x51, 0x5c, 0xc2, 0xca, 0x95, 0xd0, 0xbc, 0x13,
  5046. 0x48, 0xba, 0xc5, 0xc2,
  5047. };
  5048. static const struct drbg_kat_no_reseed kat172_nor_t = {
  5049. 6, kat172_nor_entropyin, kat172_nor_nonce, kat172_nor_persstr,
  5050. kat172_nor_addin0, kat172_nor_addin1, kat172_nor_retbytes
  5051. };
  5052. static const struct drbg_kat kat172_nor = {
  5053. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat172_nor_t
  5054. };
  5055. static const unsigned char kat173_nor_entropyin[] = {
  5056. 0x1f, 0xae, 0xf5, 0x93, 0x5c, 0xb8, 0x2d, 0x27, 0x08, 0x13, 0x25, 0x2c,
  5057. 0x77, 0xef, 0x3d, 0x6c,
  5058. };
  5059. static const unsigned char kat173_nor_nonce[] = {
  5060. 0x75, 0xf6, 0x8a, 0x1b, 0x65, 0x8c, 0x72, 0x77,
  5061. };
  5062. static const unsigned char kat173_nor_persstr[] = {
  5063. 0x08, 0x15, 0xfa, 0x38, 0x8d, 0xb0, 0x3a, 0x89, 0x2d, 0xf4, 0x47, 0x4f,
  5064. 0x19, 0xde, 0x31, 0xbc,
  5065. };
  5066. static const unsigned char kat173_nor_addin0[] = {
  5067. 0x9f, 0x92, 0x23, 0xae, 0x37, 0x86, 0xd3, 0x8c, 0x43, 0xe0, 0xe9, 0x2a,
  5068. 0xa1, 0xbf, 0x5e, 0x3f,
  5069. };
  5070. static const unsigned char kat173_nor_addin1[] = {
  5071. 0x4d, 0x9c, 0x28, 0xcd, 0x69, 0x4e, 0x01, 0x6f, 0xaf, 0xbd, 0xe3, 0xcb,
  5072. 0x30, 0x85, 0xb8, 0xd9,
  5073. };
  5074. static const unsigned char kat173_nor_retbytes[] = {
  5075. 0xcd, 0x69, 0x3a, 0xab, 0x02, 0xec, 0x80, 0xa0, 0x4b, 0xeb, 0xcf, 0xef,
  5076. 0x66, 0x04, 0x38, 0x4f, 0x48, 0xc8, 0xeb, 0x7d, 0x44, 0xd6, 0x91, 0xac,
  5077. 0x35, 0xfb, 0x11, 0xe1, 0x81, 0x83, 0x88, 0x4b, 0x9e, 0x35, 0xd5, 0x8e,
  5078. 0x62, 0xfc, 0x56, 0x7b, 0x9a, 0x3d, 0xa4, 0x0e, 0x3a, 0xee, 0xa7, 0x83,
  5079. 0x11, 0x5e, 0x80, 0x19, 0x22, 0x09, 0x03, 0xab, 0x55, 0x9b, 0xe9, 0x83,
  5080. 0x4c, 0x37, 0x77, 0x58,
  5081. };
  5082. static const struct drbg_kat_no_reseed kat173_nor_t = {
  5083. 7, kat173_nor_entropyin, kat173_nor_nonce, kat173_nor_persstr,
  5084. kat173_nor_addin0, kat173_nor_addin1, kat173_nor_retbytes
  5085. };
  5086. static const struct drbg_kat kat173_nor = {
  5087. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat173_nor_t
  5088. };
  5089. static const unsigned char kat174_nor_entropyin[] = {
  5090. 0x0b, 0x8c, 0x52, 0x08, 0xd9, 0x11, 0x3c, 0xbe, 0x8a, 0x31, 0xcf, 0x3d,
  5091. 0xe1, 0x43, 0x38, 0x1a,
  5092. };
  5093. static const unsigned char kat174_nor_nonce[] = {
  5094. 0x44, 0x9e, 0xbf, 0x57, 0xb8, 0x2a, 0xa5, 0xcb,
  5095. };
  5096. static const unsigned char kat174_nor_persstr[] = {
  5097. 0x7f, 0x60, 0x01, 0xd6, 0x0c, 0x31, 0xcf, 0x8a, 0x90, 0x4c, 0xb3, 0x18,
  5098. 0xcb, 0x70, 0x04, 0x7b,
  5099. };
  5100. static const unsigned char kat174_nor_addin0[] = {
  5101. 0x4f, 0xe0, 0x45, 0xed, 0xbb, 0x98, 0x16, 0x0a, 0x42, 0x63, 0x5b, 0x77,
  5102. 0x79, 0x6e, 0x8a, 0x97,
  5103. };
  5104. static const unsigned char kat174_nor_addin1[] = {
  5105. 0xd8, 0x96, 0x4e, 0x5f, 0xa8, 0x16, 0xea, 0x83, 0xd1, 0xa5, 0xab, 0xbd,
  5106. 0x15, 0x68, 0xad, 0xaa,
  5107. };
  5108. static const unsigned char kat174_nor_retbytes[] = {
  5109. 0xab, 0x1f, 0xba, 0xf1, 0x54, 0xa9, 0x07, 0x2b, 0x62, 0xc3, 0xd6, 0xbb,
  5110. 0x9d, 0x01, 0x48, 0xac, 0xe4, 0xb4, 0xcd, 0xe0, 0x8d, 0x9a, 0x71, 0x2a,
  5111. 0xa2, 0x94, 0x10, 0xab, 0x51, 0x4d, 0x03, 0xe3, 0x5d, 0xb3, 0xf4, 0x91,
  5112. 0x80, 0x66, 0x73, 0x04, 0x18, 0x33, 0xa2, 0xeb, 0xeb, 0xe8, 0x70, 0x55,
  5113. 0xf1, 0xf5, 0xfb, 0x64, 0xdd, 0x8e, 0x40, 0x8e, 0x3b, 0x99, 0x57, 0xd2,
  5114. 0x1e, 0x66, 0xca, 0xa2,
  5115. };
  5116. static const struct drbg_kat_no_reseed kat174_nor_t = {
  5117. 8, kat174_nor_entropyin, kat174_nor_nonce, kat174_nor_persstr,
  5118. kat174_nor_addin0, kat174_nor_addin1, kat174_nor_retbytes
  5119. };
  5120. static const struct drbg_kat kat174_nor = {
  5121. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat174_nor_t
  5122. };
  5123. static const unsigned char kat175_nor_entropyin[] = {
  5124. 0xae, 0x90, 0x6d, 0x89, 0x04, 0x15, 0x45, 0xc7, 0xef, 0x70, 0x71, 0xf5,
  5125. 0x3e, 0xce, 0xea, 0x52,
  5126. };
  5127. static const unsigned char kat175_nor_nonce[] = {
  5128. 0x1f, 0x4b, 0x28, 0x4c, 0x36, 0xaa, 0xe3, 0xba,
  5129. };
  5130. static const unsigned char kat175_nor_persstr[] = {
  5131. 0xb9, 0x19, 0x98, 0xc3, 0x21, 0x83, 0x00, 0x6f, 0x7d, 0xf1, 0xc5, 0xd7,
  5132. 0x1f, 0xba, 0xc5, 0x7b,
  5133. };
  5134. static const unsigned char kat175_nor_addin0[] = {
  5135. 0x86, 0x47, 0x5c, 0xa2, 0xb4, 0x84, 0xb8, 0xc6, 0xf3, 0x3b, 0x11, 0x22,
  5136. 0x8b, 0xc6, 0x65, 0x05,
  5137. };
  5138. static const unsigned char kat175_nor_addin1[] = {
  5139. 0x0c, 0x34, 0xe0, 0xea, 0xe8, 0xfa, 0x94, 0xc2, 0x6c, 0xb5, 0x11, 0xc7,
  5140. 0x9a, 0x49, 0x83, 0x3e,
  5141. };
  5142. static const unsigned char kat175_nor_retbytes[] = {
  5143. 0x89, 0xeb, 0xf1, 0x81, 0x5e, 0x2c, 0x33, 0x32, 0x59, 0xd6, 0xaa, 0xa0,
  5144. 0x07, 0xd1, 0x9c, 0xa5, 0xe0, 0x1e, 0x59, 0x87, 0x76, 0xac, 0x2a, 0xf5,
  5145. 0x5a, 0xbf, 0x78, 0xc1, 0x1b, 0x4e, 0xd7, 0x44, 0xb6, 0xde, 0x87, 0x5a,
  5146. 0x36, 0xf4, 0x52, 0xc2, 0x7a, 0xc4, 0xa0, 0xe6, 0x77, 0x93, 0x8b, 0x16,
  5147. 0x1b, 0x2c, 0x00, 0xeb, 0x06, 0x59, 0xbd, 0xf2, 0xdc, 0x42, 0x5a, 0x89,
  5148. 0xa2, 0x4a, 0xff, 0xd0,
  5149. };
  5150. static const struct drbg_kat_no_reseed kat175_nor_t = {
  5151. 9, kat175_nor_entropyin, kat175_nor_nonce, kat175_nor_persstr,
  5152. kat175_nor_addin0, kat175_nor_addin1, kat175_nor_retbytes
  5153. };
  5154. static const struct drbg_kat kat175_nor = {
  5155. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat175_nor_t
  5156. };
  5157. static const unsigned char kat176_nor_entropyin[] = {
  5158. 0x1d, 0x0e, 0x60, 0xe6, 0x80, 0x17, 0x40, 0x42, 0x1d, 0x29, 0xf6, 0x5a,
  5159. 0x60, 0x60, 0x6c, 0x1b,
  5160. };
  5161. static const unsigned char kat176_nor_nonce[] = {
  5162. 0x37, 0x03, 0x36, 0xdb, 0x08, 0x35, 0xe9, 0x1a,
  5163. };
  5164. static const unsigned char kat176_nor_persstr[] = {
  5165. 0x7a, 0x27, 0x3b, 0x4d, 0x99, 0x75, 0x35, 0x11, 0xfc, 0xf3, 0x4f, 0x3b,
  5166. 0x1b, 0xb2, 0x9e, 0x16,
  5167. };
  5168. static const unsigned char kat176_nor_addin0[] = {
  5169. 0xd6, 0x44, 0xcb, 0x46, 0xe0, 0x1c, 0x07, 0x12, 0xef, 0x9d, 0xa4, 0xed,
  5170. 0xe5, 0xca, 0x40, 0x7c,
  5171. };
  5172. static const unsigned char kat176_nor_addin1[] = {
  5173. 0x5c, 0x99, 0x05, 0x45, 0xee, 0xaf, 0x59, 0xde, 0x4d, 0x34, 0x9a, 0xe6,
  5174. 0x66, 0x1f, 0x70, 0x41,
  5175. };
  5176. static const unsigned char kat176_nor_retbytes[] = {
  5177. 0xda, 0xd5, 0x03, 0xe7, 0x20, 0x96, 0x02, 0xa8, 0x6f, 0x18, 0xd0, 0x1a,
  5178. 0x2b, 0x05, 0x15, 0xb4, 0xb3, 0xd4, 0xa4, 0xc0, 0x37, 0xaf, 0x71, 0x86,
  5179. 0xec, 0xba, 0x25, 0xdc, 0xb7, 0x81, 0xd9, 0x73, 0x11, 0x81, 0x0f, 0x98,
  5180. 0xc1, 0x7c, 0x34, 0x17, 0x30, 0x61, 0xab, 0x78, 0xec, 0xcb, 0xd4, 0x91,
  5181. 0x85, 0xcf, 0x5d, 0x4f, 0xb9, 0x1d, 0xff, 0xf4, 0xb0, 0xb6, 0x53, 0xdc,
  5182. 0x15, 0x89, 0x92, 0x29,
  5183. };
  5184. static const struct drbg_kat_no_reseed kat176_nor_t = {
  5185. 10, kat176_nor_entropyin, kat176_nor_nonce, kat176_nor_persstr,
  5186. kat176_nor_addin0, kat176_nor_addin1, kat176_nor_retbytes
  5187. };
  5188. static const struct drbg_kat kat176_nor = {
  5189. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat176_nor_t
  5190. };
  5191. static const unsigned char kat177_nor_entropyin[] = {
  5192. 0x67, 0x58, 0x85, 0x38, 0x3c, 0x6b, 0x3b, 0x00, 0x8e, 0x88, 0x49, 0x37,
  5193. 0xed, 0xa7, 0x7b, 0xe8,
  5194. };
  5195. static const unsigned char kat177_nor_nonce[] = {
  5196. 0xb9, 0x1c, 0x7c, 0x06, 0x87, 0x85, 0x32, 0xf2,
  5197. };
  5198. static const unsigned char kat177_nor_persstr[] = {
  5199. 0x12, 0xce, 0x97, 0xb4, 0x0a, 0x1b, 0xcd, 0xe5, 0x03, 0x90, 0xe3, 0x15,
  5200. 0xcd, 0x91, 0x1d, 0x53,
  5201. };
  5202. static const unsigned char kat177_nor_addin0[] = {
  5203. 0x10, 0x58, 0x43, 0x4c, 0xf9, 0xb3, 0x8f, 0xd7, 0x2a, 0x14, 0x0c, 0xf0,
  5204. 0x94, 0x24, 0x36, 0xe3,
  5205. };
  5206. static const unsigned char kat177_nor_addin1[] = {
  5207. 0x59, 0x8b, 0xf8, 0x01, 0x43, 0x39, 0x82, 0x09, 0x66, 0xd9, 0x4b, 0xe1,
  5208. 0xe2, 0xe9, 0xc8, 0x55,
  5209. };
  5210. static const unsigned char kat177_nor_retbytes[] = {
  5211. 0x45, 0x48, 0x8c, 0xa0, 0xe2, 0xf2, 0x83, 0xf1, 0x74, 0x1b, 0xcb, 0xf4,
  5212. 0x9a, 0x79, 0x36, 0x54, 0x59, 0x07, 0x52, 0x49, 0xe1, 0xc4, 0x17, 0x77,
  5213. 0xf3, 0xe0, 0x08, 0xd8, 0x02, 0x0e, 0xe1, 0xf5, 0x98, 0xac, 0xa0, 0xad,
  5214. 0x26, 0xed, 0xcd, 0x92, 0x0c, 0x85, 0x59, 0xd0, 0xea, 0xf7, 0xcc, 0x5d,
  5215. 0x5a, 0x71, 0x44, 0x37, 0xc0, 0x45, 0x81, 0xa6, 0x4c, 0x74, 0x99, 0xe5,
  5216. 0xf0, 0xbe, 0x08, 0x9c,
  5217. };
  5218. static const struct drbg_kat_no_reseed kat177_nor_t = {
  5219. 11, kat177_nor_entropyin, kat177_nor_nonce, kat177_nor_persstr,
  5220. kat177_nor_addin0, kat177_nor_addin1, kat177_nor_retbytes
  5221. };
  5222. static const struct drbg_kat kat177_nor = {
  5223. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat177_nor_t
  5224. };
  5225. static const unsigned char kat178_nor_entropyin[] = {
  5226. 0x71, 0x23, 0x93, 0xa9, 0xf4, 0xa1, 0xb0, 0xbb, 0xab, 0xf4, 0xf4, 0x96,
  5227. 0xe8, 0x17, 0x0a, 0xdc,
  5228. };
  5229. static const unsigned char kat178_nor_nonce[] = {
  5230. 0x0f, 0x59, 0x0c, 0x32, 0x39, 0xc6, 0xcf, 0x47,
  5231. };
  5232. static const unsigned char kat178_nor_persstr[] = {
  5233. 0xb7, 0x2b, 0x40, 0x97, 0xa9, 0xfb, 0x3d, 0x45, 0xbb, 0x06, 0x24, 0x15,
  5234. 0xb6, 0xf2, 0xdf, 0xb1,
  5235. };
  5236. static const unsigned char kat178_nor_addin0[] = {
  5237. 0xe2, 0x7a, 0xde, 0x7c, 0x11, 0x86, 0x56, 0x55, 0x3f, 0x06, 0xec, 0x20,
  5238. 0x19, 0x9b, 0x53, 0x70,
  5239. };
  5240. static const unsigned char kat178_nor_addin1[] = {
  5241. 0x4e, 0xb4, 0xfd, 0xa3, 0xff, 0xda, 0xd4, 0xf9, 0xdd, 0xaf, 0xd0, 0xd0,
  5242. 0xbf, 0xec, 0xd4, 0x44,
  5243. };
  5244. static const unsigned char kat178_nor_retbytes[] = {
  5245. 0x04, 0x49, 0xa8, 0x2a, 0x31, 0x7e, 0x22, 0xe5, 0xa7, 0xa6, 0x68, 0x4d,
  5246. 0x08, 0xb8, 0xf6, 0x3e, 0x02, 0xd8, 0xb9, 0x08, 0x5d, 0x61, 0x9a, 0xb5,
  5247. 0x6c, 0xde, 0x52, 0x2c, 0x86, 0x67, 0xd5, 0xf8, 0x8b, 0x2e, 0xa8, 0x83,
  5248. 0x03, 0x29, 0x49, 0x1a, 0x5e, 0xa8, 0x28, 0xe0, 0xa3, 0x66, 0xae, 0x7e,
  5249. 0x84, 0xf2, 0xcd, 0xee, 0x69, 0x8a, 0x92, 0x41, 0x18, 0x88, 0x83, 0xbe,
  5250. 0x00, 0xc5, 0x33, 0xe8,
  5251. };
  5252. static const struct drbg_kat_no_reseed kat178_nor_t = {
  5253. 12, kat178_nor_entropyin, kat178_nor_nonce, kat178_nor_persstr,
  5254. kat178_nor_addin0, kat178_nor_addin1, kat178_nor_retbytes
  5255. };
  5256. static const struct drbg_kat kat178_nor = {
  5257. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat178_nor_t
  5258. };
  5259. static const unsigned char kat179_nor_entropyin[] = {
  5260. 0x57, 0x66, 0x40, 0xf9, 0x76, 0xa6, 0x28, 0xb0, 0x9e, 0x98, 0xaf, 0x48,
  5261. 0x3b, 0x64, 0x5e, 0x56,
  5262. };
  5263. static const unsigned char kat179_nor_nonce[] = {
  5264. 0x82, 0x2e, 0x8a, 0x10, 0xdf, 0x06, 0xd0, 0xfe,
  5265. };
  5266. static const unsigned char kat179_nor_persstr[] = {
  5267. 0x6d, 0x6a, 0x6f, 0x68, 0xbb, 0x38, 0x1c, 0x29, 0x1f, 0x3f, 0xa6, 0x21,
  5268. 0xd6, 0xab, 0x64, 0xb2,
  5269. };
  5270. static const unsigned char kat179_nor_addin0[] = {
  5271. 0xb0, 0x5f, 0x14, 0xe4, 0x1f, 0x54, 0x33, 0x8c, 0x44, 0x15, 0xa5, 0xb5,
  5272. 0xc8, 0xc5, 0x61, 0x99,
  5273. };
  5274. static const unsigned char kat179_nor_addin1[] = {
  5275. 0xc6, 0x84, 0x7c, 0x9e, 0xd7, 0x4c, 0x86, 0x9a, 0xc4, 0xa5, 0x6f, 0xf2,
  5276. 0xd0, 0x95, 0x6d, 0x6b,
  5277. };
  5278. static const unsigned char kat179_nor_retbytes[] = {
  5279. 0x5c, 0x6a, 0x7e, 0x58, 0xea, 0xcf, 0xa5, 0x8d, 0xca, 0x93, 0x99, 0xa3,
  5280. 0xf9, 0xb6, 0xcb, 0x41, 0xd2, 0xbc, 0x24, 0xf6, 0x72, 0x58, 0x7d, 0xb2,
  5281. 0x29, 0xbf, 0x22, 0x20, 0xc2, 0x85, 0x13, 0x47, 0xd4, 0x7d, 0xa1, 0xca,
  5282. 0x0a, 0x6a, 0x13, 0x77, 0x96, 0x05, 0xdb, 0x90, 0xd9, 0x1a, 0x61, 0x48,
  5283. 0x88, 0x18, 0xd3, 0x3b, 0x2a, 0x4a, 0xd6, 0x74, 0x09, 0x00, 0x68, 0x5f,
  5284. 0x8e, 0xc6, 0x13, 0x6f,
  5285. };
  5286. static const struct drbg_kat_no_reseed kat179_nor_t = {
  5287. 13, kat179_nor_entropyin, kat179_nor_nonce, kat179_nor_persstr,
  5288. kat179_nor_addin0, kat179_nor_addin1, kat179_nor_retbytes
  5289. };
  5290. static const struct drbg_kat kat179_nor = {
  5291. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat179_nor_t
  5292. };
  5293. static const unsigned char kat180_nor_entropyin[] = {
  5294. 0x69, 0x65, 0x03, 0xc8, 0x48, 0x60, 0x51, 0x87, 0x84, 0xdd, 0x4c, 0x6c,
  5295. 0x31, 0x71, 0x0f, 0x43,
  5296. };
  5297. static const unsigned char kat180_nor_nonce[] = {
  5298. 0xee, 0x52, 0xc0, 0xa4, 0xcd, 0x90, 0xdf, 0x1e,
  5299. };
  5300. static const unsigned char kat180_nor_persstr[] = {
  5301. 0x9a, 0x08, 0xd6, 0xb4, 0x80, 0xef, 0x3a, 0xc2, 0x00, 0xa1, 0x30, 0x87,
  5302. 0x8d, 0x80, 0xd0, 0x79,
  5303. };
  5304. static const unsigned char kat180_nor_addin0[] = {
  5305. 0x5c, 0x51, 0x31, 0x59, 0x7b, 0xd3, 0xab, 0x02, 0x5c, 0xa0, 0x05, 0x79,
  5306. 0xc8, 0x6f, 0xfd, 0xed,
  5307. };
  5308. static const unsigned char kat180_nor_addin1[] = {
  5309. 0xa8, 0xcc, 0x33, 0xc8, 0x51, 0xee, 0x11, 0xe4, 0x70, 0x1a, 0x32, 0x19,
  5310. 0x7b, 0x61, 0x76, 0x23,
  5311. };
  5312. static const unsigned char kat180_nor_retbytes[] = {
  5313. 0x9a, 0xfd, 0xc4, 0x54, 0xf5, 0xc2, 0xce, 0x29, 0x95, 0xfc, 0x7c, 0xcf,
  5314. 0xb4, 0xe8, 0x67, 0x1a, 0x4b, 0x27, 0xdf, 0xcb, 0x1c, 0x02, 0xfe, 0xc6,
  5315. 0x07, 0xaa, 0xfc, 0x64, 0x22, 0x65, 0x70, 0x96, 0xce, 0x18, 0x14, 0x10,
  5316. 0x1b, 0x8a, 0x74, 0x3e, 0x2d, 0x4a, 0x2c, 0x4e, 0x2e, 0x8d, 0xa2, 0x57,
  5317. 0x57, 0x8d, 0xe7, 0x10, 0x54, 0x12, 0xf3, 0x52, 0xa4, 0xcd, 0x14, 0xaf,
  5318. 0x7d, 0xb0, 0xeb, 0x03,
  5319. };
  5320. static const struct drbg_kat_no_reseed kat180_nor_t = {
  5321. 14, kat180_nor_entropyin, kat180_nor_nonce, kat180_nor_persstr,
  5322. kat180_nor_addin0, kat180_nor_addin1, kat180_nor_retbytes
  5323. };
  5324. static const struct drbg_kat kat180_nor = {
  5325. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat180_nor_t
  5326. };
  5327. static const unsigned char kat181_nor_entropyin[] = {
  5328. 0x6b, 0xdf, 0x53, 0x32, 0xbd, 0xce, 0x46, 0x55, 0xd4, 0x5c, 0x2c, 0xfe,
  5329. 0xa8, 0x97, 0xb0, 0x00,
  5330. };
  5331. static const unsigned char kat181_nor_nonce[] = {
  5332. 0xe7, 0x8c, 0x55, 0x71, 0xc5, 0xf9, 0x26, 0xf9,
  5333. };
  5334. static const unsigned char kat181_nor_persstr[] = {0};
  5335. static const unsigned char kat181_nor_addin0[] = {0};
  5336. static const unsigned char kat181_nor_addin1[] = {0};
  5337. static const unsigned char kat181_nor_retbytes[] = {
  5338. 0xe0, 0x71, 0x56, 0x88, 0x76, 0x5a, 0x32, 0x85, 0xe7, 0xb7, 0xdb, 0x55,
  5339. 0x5f, 0x27, 0x79, 0x24, 0xe7, 0x17, 0x1f, 0x75, 0x41, 0xbf, 0x26, 0x12,
  5340. 0x2b, 0x13, 0xdb, 0xaa, 0xa3, 0x9f, 0x9e, 0x2b, 0x03, 0x45, 0xc6, 0x59,
  5341. 0x58, 0x3f, 0xf8, 0xc9, 0xcf, 0xd8, 0x88, 0xf1, 0xab, 0xd2, 0xf3, 0xb3,
  5342. 0x6a, 0x7c, 0x9d, 0x47, 0xc6, 0x87, 0xb0, 0x1c, 0x81, 0x9a, 0x9f, 0x98,
  5343. 0x88, 0x54, 0x2e, 0x0f,
  5344. };
  5345. static const struct drbg_kat_no_reseed kat181_nor_t = {
  5346. 0, kat181_nor_entropyin, kat181_nor_nonce, kat181_nor_persstr,
  5347. kat181_nor_addin0, kat181_nor_addin1, kat181_nor_retbytes
  5348. };
  5349. static const struct drbg_kat kat181_nor = {
  5350. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat181_nor_t
  5351. };
  5352. static const unsigned char kat182_nor_entropyin[] = {
  5353. 0xa4, 0x73, 0x7d, 0x48, 0xa8, 0x93, 0x25, 0x07, 0x85, 0x79, 0xe6, 0x49,
  5354. 0xe2, 0xfa, 0x65, 0xeb,
  5355. };
  5356. static const unsigned char kat182_nor_nonce[] = {
  5357. 0x6a, 0x79, 0x9a, 0x7a, 0x2f, 0x13, 0xe8, 0x13,
  5358. };
  5359. static const unsigned char kat182_nor_persstr[] = {0};
  5360. static const unsigned char kat182_nor_addin0[] = {0};
  5361. static const unsigned char kat182_nor_addin1[] = {0};
  5362. static const unsigned char kat182_nor_retbytes[] = {
  5363. 0x75, 0x2a, 0x91, 0x6d, 0x98, 0x05, 0x18, 0xd9, 0xe7, 0xe4, 0x75, 0x99,
  5364. 0x06, 0x6b, 0x45, 0x71, 0x46, 0x61, 0xf3, 0x41, 0x59, 0xf0, 0xc8, 0xce,
  5365. 0xa8, 0xda, 0xbd, 0x59, 0x6a, 0x06, 0x6a, 0xff, 0x7a, 0xe6, 0xc2, 0x1e,
  5366. 0x69, 0xa3, 0x56, 0xdd, 0x2e, 0xe0, 0xda, 0x55, 0x42, 0x9c, 0x67, 0x5a,
  5367. 0xa6, 0xfa, 0x09, 0x00, 0x17, 0x3f, 0x54, 0x77, 0xcd, 0x7f, 0xd6, 0x49,
  5368. 0xea, 0xe0, 0xc9, 0x9a,
  5369. };
  5370. static const struct drbg_kat_no_reseed kat182_nor_t = {
  5371. 1, kat182_nor_entropyin, kat182_nor_nonce, kat182_nor_persstr,
  5372. kat182_nor_addin0, kat182_nor_addin1, kat182_nor_retbytes
  5373. };
  5374. static const struct drbg_kat kat182_nor = {
  5375. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat182_nor_t
  5376. };
  5377. static const unsigned char kat183_nor_entropyin[] = {
  5378. 0x99, 0xb4, 0xe9, 0xe5, 0xba, 0xaa, 0x99, 0xbf, 0x8b, 0x8a, 0x0c, 0x2c,
  5379. 0xfd, 0x9a, 0x89, 0xce,
  5380. };
  5381. static const unsigned char kat183_nor_nonce[] = {
  5382. 0xf4, 0x8b, 0x31, 0x29, 0x41, 0xd3, 0x55, 0x4d,
  5383. };
  5384. static const unsigned char kat183_nor_persstr[] = {0};
  5385. static const unsigned char kat183_nor_addin0[] = {0};
  5386. static const unsigned char kat183_nor_addin1[] = {0};
  5387. static const unsigned char kat183_nor_retbytes[] = {
  5388. 0x85, 0xcf, 0x14, 0x8c, 0x65, 0xec, 0xe7, 0x52, 0x5d, 0xea, 0x96, 0x34,
  5389. 0x4d, 0xa6, 0x45, 0x11, 0x99, 0x49, 0x21, 0x85, 0xc8, 0xb8, 0xdf, 0xff,
  5390. 0x50, 0x0d, 0xdd, 0x68, 0xca, 0xab, 0x50, 0xbd, 0x74, 0x18, 0x66, 0x93,
  5391. 0x7a, 0x50, 0x1a, 0xf8, 0x76, 0xae, 0x84, 0x9b, 0x5b, 0x1b, 0x53, 0x30,
  5392. 0xde, 0x65, 0xeb, 0xf3, 0x8e, 0x9d, 0x55, 0x96, 0x93, 0xfa, 0xe8, 0x05,
  5393. 0xcc, 0xc9, 0xaa, 0xed,
  5394. };
  5395. static const struct drbg_kat_no_reseed kat183_nor_t = {
  5396. 2, kat183_nor_entropyin, kat183_nor_nonce, kat183_nor_persstr,
  5397. kat183_nor_addin0, kat183_nor_addin1, kat183_nor_retbytes
  5398. };
  5399. static const struct drbg_kat kat183_nor = {
  5400. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat183_nor_t
  5401. };
  5402. static const unsigned char kat184_nor_entropyin[] = {
  5403. 0x7c, 0x1e, 0xf8, 0x46, 0xe7, 0xf3, 0xa7, 0xcf, 0xe5, 0xc7, 0xbb, 0x47,
  5404. 0xe4, 0x6a, 0xa0, 0xe8,
  5405. };
  5406. static const unsigned char kat184_nor_nonce[] = {
  5407. 0x78, 0xeb, 0x00, 0x29, 0x55, 0xd2, 0x70, 0xd3,
  5408. };
  5409. static const unsigned char kat184_nor_persstr[] = {0};
  5410. static const unsigned char kat184_nor_addin0[] = {0};
  5411. static const unsigned char kat184_nor_addin1[] = {0};
  5412. static const unsigned char kat184_nor_retbytes[] = {
  5413. 0xb7, 0x39, 0xf9, 0x53, 0x39, 0xe8, 0x3f, 0xe8, 0xa3, 0x39, 0x16, 0x2f,
  5414. 0x1e, 0x96, 0xcc, 0x82, 0xb6, 0x7a, 0xf4, 0x17, 0x59, 0xf4, 0x83, 0x06,
  5415. 0x4e, 0x61, 0xa0, 0x39, 0x13, 0x7a, 0xf0, 0x7d, 0x93, 0x4a, 0x0e, 0xb7,
  5416. 0xca, 0x72, 0x84, 0xc1, 0x46, 0x86, 0xca, 0x04, 0x88, 0x95, 0x3e, 0xe4,
  5417. 0x40, 0xf6, 0xcd, 0x11, 0x45, 0xd0, 0x76, 0x6f, 0x4f, 0xf1, 0xc7, 0x7b,
  5418. 0x0d, 0x81, 0xd3, 0x61,
  5419. };
  5420. static const struct drbg_kat_no_reseed kat184_nor_t = {
  5421. 3, kat184_nor_entropyin, kat184_nor_nonce, kat184_nor_persstr,
  5422. kat184_nor_addin0, kat184_nor_addin1, kat184_nor_retbytes
  5423. };
  5424. static const struct drbg_kat kat184_nor = {
  5425. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat184_nor_t
  5426. };
  5427. static const unsigned char kat185_nor_entropyin[] = {
  5428. 0x6f, 0x75, 0x0f, 0xb7, 0x3f, 0xbc, 0xb6, 0xdb, 0x57, 0x50, 0x6c, 0xf2,
  5429. 0xde, 0xfa, 0xf6, 0xd4,
  5430. };
  5431. static const unsigned char kat185_nor_nonce[] = {
  5432. 0xa5, 0x2c, 0x92, 0x97, 0xe0, 0x2f, 0x42, 0x55,
  5433. };
  5434. static const unsigned char kat185_nor_persstr[] = {0};
  5435. static const unsigned char kat185_nor_addin0[] = {0};
  5436. static const unsigned char kat185_nor_addin1[] = {0};
  5437. static const unsigned char kat185_nor_retbytes[] = {
  5438. 0x0c, 0xa7, 0x48, 0xfc, 0xb3, 0xba, 0x23, 0xbd, 0x04, 0x3f, 0x48, 0x50,
  5439. 0x75, 0x85, 0x42, 0x52, 0x34, 0xec, 0x4a, 0x0f, 0x35, 0x0e, 0xfd, 0xcc,
  5440. 0x87, 0xf9, 0x06, 0x2c, 0x8a, 0xe0, 0xcf, 0x1e, 0x03, 0x3b, 0x7d, 0xf8,
  5441. 0x35, 0x7f, 0x5b, 0x0e, 0x4f, 0x7c, 0x21, 0xd4, 0xfb, 0xdc, 0xf8, 0x9c,
  5442. 0xe0, 0x19, 0x9c, 0x25, 0x79, 0x02, 0x70, 0xfe, 0x67, 0xff, 0xee, 0xc2,
  5443. 0x6c, 0xfc, 0x4d, 0x18,
  5444. };
  5445. static const struct drbg_kat_no_reseed kat185_nor_t = {
  5446. 4, kat185_nor_entropyin, kat185_nor_nonce, kat185_nor_persstr,
  5447. kat185_nor_addin0, kat185_nor_addin1, kat185_nor_retbytes
  5448. };
  5449. static const struct drbg_kat kat185_nor = {
  5450. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat185_nor_t
  5451. };
  5452. static const unsigned char kat186_nor_entropyin[] = {
  5453. 0x44, 0xb6, 0xc3, 0x9a, 0x3a, 0xf6, 0xa4, 0x73, 0x14, 0x8e, 0x32, 0xd9,
  5454. 0x79, 0x2b, 0x9e, 0xee,
  5455. };
  5456. static const unsigned char kat186_nor_nonce[] = {
  5457. 0xde, 0x44, 0xdd, 0x36, 0x00, 0x3e, 0x48, 0x22,
  5458. };
  5459. static const unsigned char kat186_nor_persstr[] = {0};
  5460. static const unsigned char kat186_nor_addin0[] = {0};
  5461. static const unsigned char kat186_nor_addin1[] = {0};
  5462. static const unsigned char kat186_nor_retbytes[] = {
  5463. 0x10, 0x12, 0x20, 0x08, 0x7c, 0xa7, 0x70, 0xe4, 0x57, 0x4f, 0xd0, 0x5b,
  5464. 0x2e, 0x88, 0x85, 0x1b, 0x48, 0x09, 0xcf, 0x21, 0xe6, 0x5e, 0xb0, 0xe3,
  5465. 0xd1, 0xec, 0xda, 0x29, 0xaa, 0xcf, 0x2d, 0x93, 0xe7, 0x5d, 0x79, 0x3b,
  5466. 0x99, 0x24, 0xae, 0xdd, 0x9b, 0x9a, 0x38, 0x84, 0x4d, 0xb4, 0x30, 0x47,
  5467. 0x0d, 0x01, 0x5d, 0xa6, 0x04, 0x18, 0x75, 0x3f, 0x2e, 0x3c, 0x6a, 0x15,
  5468. 0xf5, 0x58, 0xf4, 0xa9,
  5469. };
  5470. static const struct drbg_kat_no_reseed kat186_nor_t = {
  5471. 5, kat186_nor_entropyin, kat186_nor_nonce, kat186_nor_persstr,
  5472. kat186_nor_addin0, kat186_nor_addin1, kat186_nor_retbytes
  5473. };
  5474. static const struct drbg_kat kat186_nor = {
  5475. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat186_nor_t
  5476. };
  5477. static const unsigned char kat187_nor_entropyin[] = {
  5478. 0xe4, 0xd1, 0xff, 0x1c, 0x3c, 0xd2, 0x78, 0x49, 0xa2, 0x97, 0xe5, 0xa9,
  5479. 0x8e, 0xde, 0x08, 0x6a,
  5480. };
  5481. static const unsigned char kat187_nor_nonce[] = {
  5482. 0xf8, 0x9d, 0x58, 0xb0, 0x61, 0x7e, 0x5d, 0x10,
  5483. };
  5484. static const unsigned char kat187_nor_persstr[] = {0};
  5485. static const unsigned char kat187_nor_addin0[] = {0};
  5486. static const unsigned char kat187_nor_addin1[] = {0};
  5487. static const unsigned char kat187_nor_retbytes[] = {
  5488. 0x54, 0xc4, 0x67, 0x97, 0xa3, 0x8e, 0x11, 0xc5, 0x43, 0x47, 0x78, 0x09,
  5489. 0xd9, 0xd6, 0xed, 0x0a, 0xe4, 0x02, 0x02, 0x85, 0xed, 0xf9, 0x9e, 0x7e,
  5490. 0xc9, 0x45, 0xcf, 0xcf, 0x21, 0xdd, 0xaa, 0x6d, 0x9a, 0x71, 0x85, 0x6b,
  5491. 0xdb, 0xd6, 0x61, 0x3b, 0xf8, 0xe9, 0x7e, 0x0a, 0xf8, 0xd3, 0xc4, 0xce,
  5492. 0xdd, 0x0d, 0xfc, 0xfb, 0x47, 0x42, 0xa2, 0xef, 0x0a, 0x44, 0x3e, 0xf8,
  5493. 0x78, 0x96, 0x0e, 0x6f,
  5494. };
  5495. static const struct drbg_kat_no_reseed kat187_nor_t = {
  5496. 6, kat187_nor_entropyin, kat187_nor_nonce, kat187_nor_persstr,
  5497. kat187_nor_addin0, kat187_nor_addin1, kat187_nor_retbytes
  5498. };
  5499. static const struct drbg_kat kat187_nor = {
  5500. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat187_nor_t
  5501. };
  5502. static const unsigned char kat188_nor_entropyin[] = {
  5503. 0x15, 0x14, 0xbe, 0x70, 0x6e, 0x4c, 0x16, 0x72, 0x90, 0x55, 0x06, 0xb0,
  5504. 0xc5, 0x53, 0x47, 0xf2,
  5505. };
  5506. static const unsigned char kat188_nor_nonce[] = {
  5507. 0xad, 0x8d, 0x88, 0x9f, 0x2b, 0x91, 0xa6, 0xdd,
  5508. };
  5509. static const unsigned char kat188_nor_persstr[] = {0};
  5510. static const unsigned char kat188_nor_addin0[] = {0};
  5511. static const unsigned char kat188_nor_addin1[] = {0};
  5512. static const unsigned char kat188_nor_retbytes[] = {
  5513. 0xb3, 0x64, 0x4a, 0x6d, 0x16, 0x34, 0x0e, 0xf8, 0xb2, 0x8a, 0xd0, 0x6f,
  5514. 0x4c, 0xbf, 0xd5, 0xe7, 0x99, 0xf0, 0x80, 0xd4, 0xb2, 0xf8, 0x31, 0xfd,
  5515. 0x90, 0xb3, 0x13, 0xc8, 0x62, 0xd5, 0x76, 0x3d, 0x22, 0xb1, 0x21, 0x7f,
  5516. 0xe3, 0xd4, 0xf0, 0x7c, 0x00, 0x6a, 0x39, 0x89, 0x5d, 0x46, 0xd5, 0x24,
  5517. 0x70, 0xb3, 0xf8, 0xb7, 0x75, 0x21, 0xe1, 0x41, 0xf6, 0x8b, 0x06, 0xb5,
  5518. 0x4c, 0x38, 0x66, 0x6f,
  5519. };
  5520. static const struct drbg_kat_no_reseed kat188_nor_t = {
  5521. 7, kat188_nor_entropyin, kat188_nor_nonce, kat188_nor_persstr,
  5522. kat188_nor_addin0, kat188_nor_addin1, kat188_nor_retbytes
  5523. };
  5524. static const struct drbg_kat kat188_nor = {
  5525. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat188_nor_t
  5526. };
  5527. static const unsigned char kat189_nor_entropyin[] = {
  5528. 0x83, 0x35, 0xa4, 0x33, 0xa8, 0x0d, 0x5a, 0x3e, 0x8a, 0xb1, 0xf7, 0x38,
  5529. 0x55, 0xf9, 0x7a, 0x9b,
  5530. };
  5531. static const unsigned char kat189_nor_nonce[] = {
  5532. 0x02, 0x62, 0xb4, 0x7c, 0x2a, 0xb5, 0xfc, 0xba,
  5533. };
  5534. static const unsigned char kat189_nor_persstr[] = {0};
  5535. static const unsigned char kat189_nor_addin0[] = {0};
  5536. static const unsigned char kat189_nor_addin1[] = {0};
  5537. static const unsigned char kat189_nor_retbytes[] = {
  5538. 0x66, 0xa0, 0x3a, 0x0b, 0x3b, 0x2e, 0xf8, 0xd0, 0x4e, 0x01, 0xda, 0x6e,
  5539. 0x31, 0xbc, 0x90, 0x02, 0xeb, 0xac, 0xa9, 0x8d, 0x63, 0xfd, 0xde, 0xb0,
  5540. 0x7f, 0xa3, 0xe0, 0x65, 0x0a, 0x32, 0xe1, 0x42, 0xfc, 0xab, 0x99, 0x63,
  5541. 0xf0, 0x6b, 0xa8, 0x8c, 0xd5, 0x8b, 0xe7, 0x5a, 0x99, 0xdf, 0xa1, 0x3b,
  5542. 0x4f, 0x8f, 0xea, 0xe6, 0xf8, 0x4c, 0xe2, 0xde, 0x4d, 0x20, 0x19, 0x92,
  5543. 0x23, 0x1f, 0xf3, 0xb8,
  5544. };
  5545. static const struct drbg_kat_no_reseed kat189_nor_t = {
  5546. 8, kat189_nor_entropyin, kat189_nor_nonce, kat189_nor_persstr,
  5547. kat189_nor_addin0, kat189_nor_addin1, kat189_nor_retbytes
  5548. };
  5549. static const struct drbg_kat kat189_nor = {
  5550. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat189_nor_t
  5551. };
  5552. static const unsigned char kat190_nor_entropyin[] = {
  5553. 0x37, 0xfa, 0xeb, 0x0b, 0x3f, 0x85, 0x37, 0x2c, 0xcb, 0x44, 0x22, 0xe3,
  5554. 0x66, 0x90, 0xe9, 0x6c,
  5555. };
  5556. static const unsigned char kat190_nor_nonce[] = {
  5557. 0xda, 0x16, 0x5c, 0x92, 0xd5, 0xfa, 0xaa, 0x3a,
  5558. };
  5559. static const unsigned char kat190_nor_persstr[] = {0};
  5560. static const unsigned char kat190_nor_addin0[] = {0};
  5561. static const unsigned char kat190_nor_addin1[] = {0};
  5562. static const unsigned char kat190_nor_retbytes[] = {
  5563. 0x47, 0x75, 0x15, 0x90, 0x25, 0xd5, 0xb8, 0x82, 0xf3, 0x7c, 0x7e, 0xdb,
  5564. 0x8d, 0x89, 0xb3, 0x8a, 0xcb, 0x14, 0xa0, 0x28, 0x39, 0x80, 0x2c, 0x37,
  5565. 0x7a, 0xc4, 0x82, 0xf8, 0xc6, 0xb5, 0x9a, 0xd6, 0x9c, 0x7d, 0x67, 0x55,
  5566. 0x6b, 0xc4, 0x1c, 0xc3, 0x22, 0xd9, 0xcd, 0x75, 0x03, 0x2a, 0xf5, 0x27,
  5567. 0x15, 0xb3, 0x60, 0x2f, 0x24, 0xc2, 0xb0, 0x99, 0x84, 0x0e, 0xab, 0x00,
  5568. 0xb7, 0x42, 0x93, 0xad,
  5569. };
  5570. static const struct drbg_kat_no_reseed kat190_nor_t = {
  5571. 9, kat190_nor_entropyin, kat190_nor_nonce, kat190_nor_persstr,
  5572. kat190_nor_addin0, kat190_nor_addin1, kat190_nor_retbytes
  5573. };
  5574. static const struct drbg_kat kat190_nor = {
  5575. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat190_nor_t
  5576. };
  5577. static const unsigned char kat191_nor_entropyin[] = {
  5578. 0xb6, 0x83, 0x0f, 0x64, 0xe4, 0x73, 0x88, 0xa9, 0xc3, 0xc6, 0x4a, 0xa0,
  5579. 0xbe, 0x70, 0x84, 0x51,
  5580. };
  5581. static const unsigned char kat191_nor_nonce[] = {
  5582. 0x5c, 0xd4, 0x30, 0x34, 0xc9, 0x89, 0xda, 0x56,
  5583. };
  5584. static const unsigned char kat191_nor_persstr[] = {0};
  5585. static const unsigned char kat191_nor_addin0[] = {0};
  5586. static const unsigned char kat191_nor_addin1[] = {0};
  5587. static const unsigned char kat191_nor_retbytes[] = {
  5588. 0xe1, 0x2f, 0x1e, 0x9f, 0xd9, 0x0e, 0x4f, 0x16, 0x6a, 0x13, 0xa4, 0xd3,
  5589. 0x5f, 0x90, 0x91, 0xa9, 0x74, 0x44, 0x32, 0x91, 0xff, 0xae, 0x44, 0x02,
  5590. 0xcb, 0xcd, 0x9a, 0x24, 0x89, 0x3b, 0x77, 0x09, 0x6b, 0x0a, 0x00, 0xdb,
  5591. 0x20, 0xe4, 0x32, 0x88, 0x62, 0x61, 0x39, 0xf7, 0xc1, 0x76, 0x7f, 0x6e,
  5592. 0x7f, 0xfe, 0xe9, 0x02, 0x2d, 0xde, 0x41, 0xb4, 0x78, 0x48, 0x5e, 0xe9,
  5593. 0x12, 0x5f, 0x3e, 0xb8,
  5594. };
  5595. static const struct drbg_kat_no_reseed kat191_nor_t = {
  5596. 10, kat191_nor_entropyin, kat191_nor_nonce, kat191_nor_persstr,
  5597. kat191_nor_addin0, kat191_nor_addin1, kat191_nor_retbytes
  5598. };
  5599. static const struct drbg_kat kat191_nor = {
  5600. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat191_nor_t
  5601. };
  5602. static const unsigned char kat192_nor_entropyin[] = {
  5603. 0xf7, 0x1a, 0x01, 0xef, 0x00, 0xb3, 0xd6, 0x13, 0x46, 0x07, 0xdf, 0xc5,
  5604. 0x73, 0x25, 0xf6, 0x87,
  5605. };
  5606. static const unsigned char kat192_nor_nonce[] = {
  5607. 0x49, 0x76, 0x0a, 0xeb, 0xbc, 0x89, 0x61, 0xfe,
  5608. };
  5609. static const unsigned char kat192_nor_persstr[] = {0};
  5610. static const unsigned char kat192_nor_addin0[] = {0};
  5611. static const unsigned char kat192_nor_addin1[] = {0};
  5612. static const unsigned char kat192_nor_retbytes[] = {
  5613. 0x0f, 0x00, 0x8e, 0x60, 0xab, 0x48, 0x14, 0xcc, 0xd8, 0xd2, 0x89, 0x77,
  5614. 0x53, 0xf5, 0x8c, 0xa3, 0x58, 0xba, 0xcd, 0x3f, 0x2e, 0xfc, 0x22, 0xc0,
  5615. 0xec, 0x89, 0xa6, 0x5b, 0x0a, 0x91, 0x82, 0xf5, 0x55, 0xcc, 0x49, 0x7a,
  5616. 0xa5, 0x9a, 0xf9, 0x14, 0xbc, 0x9c, 0x65, 0xbe, 0x7c, 0x09, 0x21, 0x46,
  5617. 0xcb, 0x78, 0xfc, 0xe2, 0x40, 0xfc, 0x8f, 0xe1, 0x36, 0x72, 0x9e, 0xa7,
  5618. 0x77, 0x16, 0x44, 0x7f,
  5619. };
  5620. static const struct drbg_kat_no_reseed kat192_nor_t = {
  5621. 11, kat192_nor_entropyin, kat192_nor_nonce, kat192_nor_persstr,
  5622. kat192_nor_addin0, kat192_nor_addin1, kat192_nor_retbytes
  5623. };
  5624. static const struct drbg_kat kat192_nor = {
  5625. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat192_nor_t
  5626. };
  5627. static const unsigned char kat193_nor_entropyin[] = {
  5628. 0x79, 0x0e, 0xf8, 0xf0, 0xee, 0x6d, 0xf4, 0x80, 0xb2, 0xd4, 0x4d, 0xac,
  5629. 0x1c, 0x37, 0x61, 0x4c,
  5630. };
  5631. static const unsigned char kat193_nor_nonce[] = {
  5632. 0xd5, 0x52, 0x44, 0x4d, 0x7d, 0xc3, 0x5e, 0x5c,
  5633. };
  5634. static const unsigned char kat193_nor_persstr[] = {0};
  5635. static const unsigned char kat193_nor_addin0[] = {0};
  5636. static const unsigned char kat193_nor_addin1[] = {0};
  5637. static const unsigned char kat193_nor_retbytes[] = {
  5638. 0x2a, 0xf8, 0xe3, 0x09, 0x77, 0x55, 0x6f, 0xae, 0x7c, 0x18, 0xae, 0x12,
  5639. 0xba, 0x22, 0x01, 0xb4, 0x0d, 0xe8, 0xc0, 0x21, 0x66, 0xed, 0x94, 0xc1,
  5640. 0x41, 0x27, 0x20, 0x50, 0xdb, 0xea, 0x72, 0xf3, 0xb8, 0xf9, 0x91, 0x54,
  5641. 0x7f, 0xc0, 0xf5, 0x58, 0x36, 0x17, 0x12, 0x67, 0xd4, 0x2a, 0x53, 0xdc,
  5642. 0xfb, 0x37, 0xc1, 0x5a, 0x22, 0x76, 0x76, 0xbf, 0x21, 0x8a, 0x49, 0xd0,
  5643. 0xb7, 0x23, 0x68, 0x9c,
  5644. };
  5645. static const struct drbg_kat_no_reseed kat193_nor_t = {
  5646. 12, kat193_nor_entropyin, kat193_nor_nonce, kat193_nor_persstr,
  5647. kat193_nor_addin0, kat193_nor_addin1, kat193_nor_retbytes
  5648. };
  5649. static const struct drbg_kat kat193_nor = {
  5650. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat193_nor_t
  5651. };
  5652. static const unsigned char kat194_nor_entropyin[] = {
  5653. 0xbe, 0x19, 0x6c, 0x9c, 0xe3, 0x83, 0xc8, 0xb1, 0x01, 0xcd, 0x27, 0xa1,
  5654. 0x12, 0x91, 0x9f, 0xbc,
  5655. };
  5656. static const unsigned char kat194_nor_nonce[] = {
  5657. 0x33, 0x2e, 0xbe, 0x3d, 0x47, 0x3a, 0x3a, 0x35,
  5658. };
  5659. static const unsigned char kat194_nor_persstr[] = {0};
  5660. static const unsigned char kat194_nor_addin0[] = {0};
  5661. static const unsigned char kat194_nor_addin1[] = {0};
  5662. static const unsigned char kat194_nor_retbytes[] = {
  5663. 0x01, 0x6b, 0x05, 0xd5, 0x57, 0x77, 0x7b, 0x36, 0xa1, 0x92, 0x04, 0x0c,
  5664. 0x58, 0x0a, 0x5c, 0x51, 0x6d, 0xda, 0x11, 0x55, 0x93, 0x4a, 0xfb, 0xd9,
  5665. 0x6c, 0xc8, 0x5b, 0x6e, 0x8b, 0x00, 0x83, 0xbb, 0xda, 0x27, 0x3e, 0xa6,
  5666. 0xdb, 0x52, 0xa0, 0x58, 0x9d, 0x9d, 0xe2, 0xe5, 0x56, 0x8f, 0xfe, 0xf9,
  5667. 0xdb, 0x39, 0x50, 0x09, 0x3c, 0x4d, 0xb2, 0xe8, 0xce, 0x9c, 0x25, 0x13,
  5668. 0x08, 0x46, 0x93, 0xe4,
  5669. };
  5670. static const struct drbg_kat_no_reseed kat194_nor_t = {
  5671. 13, kat194_nor_entropyin, kat194_nor_nonce, kat194_nor_persstr,
  5672. kat194_nor_addin0, kat194_nor_addin1, kat194_nor_retbytes
  5673. };
  5674. static const struct drbg_kat kat194_nor = {
  5675. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat194_nor_t
  5676. };
  5677. static const unsigned char kat195_nor_entropyin[] = {
  5678. 0x76, 0x39, 0x61, 0x6e, 0xe5, 0xcb, 0x26, 0x9b, 0x5f, 0x54, 0x0d, 0xe1,
  5679. 0x50, 0xb4, 0x65, 0x0e,
  5680. };
  5681. static const unsigned char kat195_nor_nonce[] = {
  5682. 0x3c, 0x93, 0x3a, 0xbe, 0xd3, 0x07, 0xf6, 0xe2,
  5683. };
  5684. static const unsigned char kat195_nor_persstr[] = {0};
  5685. static const unsigned char kat195_nor_addin0[] = {0};
  5686. static const unsigned char kat195_nor_addin1[] = {0};
  5687. static const unsigned char kat195_nor_retbytes[] = {
  5688. 0x06, 0x33, 0xc9, 0xaf, 0x4d, 0x40, 0xf3, 0xc2, 0x1a, 0xd4, 0xe0, 0x78,
  5689. 0xa0, 0xc8, 0x4e, 0xe0, 0x3a, 0xd7, 0xad, 0x41, 0x0a, 0x0f, 0x7c, 0xf3,
  5690. 0xdf, 0xdf, 0xf5, 0x92, 0x0d, 0xcd, 0x39, 0x87, 0xfc, 0xec, 0xed, 0x11,
  5691. 0xa2, 0xb3, 0x8b, 0x15, 0x53, 0x5e, 0x44, 0xb5, 0x53, 0x77, 0xa8, 0xf2,
  5692. 0x0f, 0x4f, 0xe0, 0x51, 0x87, 0xf9, 0x76, 0xa2, 0x76, 0xe6, 0x4b, 0x81,
  5693. 0x3e, 0x55, 0xa8, 0xb9,
  5694. };
  5695. static const struct drbg_kat_no_reseed kat195_nor_t = {
  5696. 14, kat195_nor_entropyin, kat195_nor_nonce, kat195_nor_persstr,
  5697. kat195_nor_addin0, kat195_nor_addin1, kat195_nor_retbytes
  5698. };
  5699. static const struct drbg_kat kat195_nor = {
  5700. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat195_nor_t
  5701. };
  5702. static const unsigned char kat196_nor_entropyin[] = {
  5703. 0x8b, 0x80, 0x93, 0x6e, 0x69, 0xc6, 0x7e, 0xdb, 0x77, 0x1c, 0x28, 0xf9,
  5704. 0xb9, 0x45, 0x21, 0x24,
  5705. };
  5706. static const unsigned char kat196_nor_nonce[] = {
  5707. 0x7e, 0xe2, 0x61, 0x4e, 0xad, 0x3c, 0x12, 0x8e,
  5708. };
  5709. static const unsigned char kat196_nor_persstr[] = {0};
  5710. static const unsigned char kat196_nor_addin0[] = {
  5711. 0xfc, 0x35, 0xcb, 0xa9, 0x7a, 0x1e, 0x21, 0x1b, 0xc4, 0x20, 0xe8, 0xaf,
  5712. 0x53, 0xf8, 0xe1, 0x3c,
  5713. };
  5714. static const unsigned char kat196_nor_addin1[] = {
  5715. 0xfb, 0xa4, 0x38, 0xaa, 0xa7, 0x5a, 0x3c, 0xd4, 0xcd, 0x0c, 0xce, 0x39,
  5716. 0x9b, 0xfe, 0xc7, 0x4a,
  5717. };
  5718. static const unsigned char kat196_nor_retbytes[] = {
  5719. 0x67, 0x21, 0xcc, 0x1a, 0xda, 0x5e, 0xbc, 0x17, 0x13, 0xf7, 0x4c, 0x75,
  5720. 0x90, 0x00, 0x76, 0x56, 0x52, 0xee, 0xb5, 0xf3, 0xf9, 0xc2, 0x4f, 0xb9,
  5721. 0x34, 0x1b, 0x36, 0xa3, 0x69, 0xce, 0xc1, 0xd2, 0x7e, 0xa8, 0x0d, 0x6b,
  5722. 0x73, 0xb5, 0x60, 0x47, 0xaf, 0x07, 0x13, 0x8c, 0x5a, 0x43, 0xc9, 0x9a,
  5723. 0x87, 0x75, 0x31, 0x15, 0xc4, 0x71, 0xb8, 0x58, 0x7e, 0xa6, 0x5f, 0xa2,
  5724. 0x06, 0x5e, 0x3c, 0xe0,
  5725. };
  5726. static const struct drbg_kat_no_reseed kat196_nor_t = {
  5727. 0, kat196_nor_entropyin, kat196_nor_nonce, kat196_nor_persstr,
  5728. kat196_nor_addin0, kat196_nor_addin1, kat196_nor_retbytes
  5729. };
  5730. static const struct drbg_kat kat196_nor = {
  5731. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat196_nor_t
  5732. };
  5733. static const unsigned char kat197_nor_entropyin[] = {
  5734. 0x89, 0xce, 0x6c, 0x76, 0xbc, 0x41, 0xaa, 0x32, 0xa9, 0xc8, 0xe3, 0xe3,
  5735. 0x7d, 0x62, 0x02, 0xef,
  5736. };
  5737. static const unsigned char kat197_nor_nonce[] = {
  5738. 0xa3, 0x47, 0xf6, 0xcb, 0x64, 0xed, 0x19, 0xdd,
  5739. };
  5740. static const unsigned char kat197_nor_persstr[] = {0};
  5741. static const unsigned char kat197_nor_addin0[] = {
  5742. 0xc5, 0x03, 0xb1, 0x22, 0x95, 0x7d, 0xce, 0xc8, 0xd9, 0xeb, 0x9c, 0xc9,
  5743. 0x94, 0xb8, 0xd1, 0x22,
  5744. };
  5745. static const unsigned char kat197_nor_addin1[] = {
  5746. 0x3b, 0xb2, 0xf1, 0x19, 0x7a, 0x99, 0x58, 0x8d, 0xf3, 0x57, 0xc0, 0xd1,
  5747. 0x98, 0x6a, 0xc6, 0xed,
  5748. };
  5749. static const unsigned char kat197_nor_retbytes[] = {
  5750. 0xf0, 0xf4, 0x25, 0xb1, 0x9e, 0xb7, 0x5a, 0xea, 0x68, 0x99, 0xfa, 0xb7,
  5751. 0x61, 0x2c, 0x98, 0xa0, 0xb5, 0xc5, 0xc5, 0xa3, 0xc8, 0x61, 0x07, 0xa8,
  5752. 0xc2, 0x01, 0x62, 0x3f, 0x75, 0x99, 0x31, 0x90, 0x9a, 0xfd, 0x63, 0x41,
  5753. 0x9d, 0x1c, 0xce, 0xb8, 0x6b, 0xd4, 0xf1, 0x6e, 0x94, 0x8a, 0xef, 0x08,
  5754. 0x47, 0x61, 0x70, 0x75, 0x7b, 0xca, 0xf7, 0x98, 0x84, 0xf9, 0xc3, 0x6b,
  5755. 0xc7, 0x7e, 0x9f, 0xf9,
  5756. };
  5757. static const struct drbg_kat_no_reseed kat197_nor_t = {
  5758. 1, kat197_nor_entropyin, kat197_nor_nonce, kat197_nor_persstr,
  5759. kat197_nor_addin0, kat197_nor_addin1, kat197_nor_retbytes
  5760. };
  5761. static const struct drbg_kat kat197_nor = {
  5762. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat197_nor_t
  5763. };
  5764. static const unsigned char kat198_nor_entropyin[] = {
  5765. 0xbc, 0x51, 0x67, 0x8d, 0x1f, 0x31, 0x28, 0x65, 0x7b, 0x38, 0x84, 0x9a,
  5766. 0xe9, 0xc4, 0xbb, 0x1e,
  5767. };
  5768. static const unsigned char kat198_nor_nonce[] = {
  5769. 0xdd, 0x29, 0xd9, 0xd8, 0x3f, 0xdb, 0x5e, 0x09,
  5770. };
  5771. static const unsigned char kat198_nor_persstr[] = {0};
  5772. static const unsigned char kat198_nor_addin0[] = {
  5773. 0xd4, 0xcd, 0x00, 0x67, 0x5c, 0xfe, 0x22, 0x7d, 0xe0, 0xcb, 0xab, 0x65,
  5774. 0x11, 0x35, 0x22, 0x89,
  5775. };
  5776. static const unsigned char kat198_nor_addin1[] = {
  5777. 0x55, 0xbb, 0x93, 0x62, 0x80, 0xae, 0x46, 0xb2, 0x6d, 0x66, 0xb2, 0xf3,
  5778. 0xfe, 0xb2, 0x68, 0xd8,
  5779. };
  5780. static const unsigned char kat198_nor_retbytes[] = {
  5781. 0xe5, 0x81, 0x38, 0xb6, 0xb0, 0x23, 0x2e, 0x4d, 0x6d, 0x9e, 0xa8, 0xb6,
  5782. 0x5b, 0xd7, 0x69, 0x65, 0xcd, 0xbc, 0x58, 0x4c, 0xca, 0x2e, 0x83, 0xd4,
  5783. 0xea, 0xd9, 0x36, 0xbf, 0xb9, 0xc7, 0x9d, 0x77, 0xde, 0xc9, 0x42, 0x4f,
  5784. 0x2c, 0xf8, 0x95, 0x01, 0x1e, 0xf1, 0x03, 0x3c, 0x61, 0x9e, 0x28, 0xd1,
  5785. 0xdb, 0xa5, 0xdd, 0x3c, 0xed, 0x04, 0x42, 0x9c, 0x1b, 0xd3, 0xc0, 0x3e,
  5786. 0x5d, 0x13, 0xe2, 0xb8,
  5787. };
  5788. static const struct drbg_kat_no_reseed kat198_nor_t = {
  5789. 2, kat198_nor_entropyin, kat198_nor_nonce, kat198_nor_persstr,
  5790. kat198_nor_addin0, kat198_nor_addin1, kat198_nor_retbytes
  5791. };
  5792. static const struct drbg_kat kat198_nor = {
  5793. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat198_nor_t
  5794. };
  5795. static const unsigned char kat199_nor_entropyin[] = {
  5796. 0x06, 0x5a, 0x5d, 0x4f, 0xdb, 0x34, 0xb0, 0x8f, 0xd8, 0xef, 0xc8, 0x1f,
  5797. 0x99, 0x62, 0x69, 0xab,
  5798. };
  5799. static const unsigned char kat199_nor_nonce[] = {
  5800. 0xd5, 0xa6, 0x74, 0x7c, 0x7f, 0x8e, 0xef, 0x46,
  5801. };
  5802. static const unsigned char kat199_nor_persstr[] = {0};
  5803. static const unsigned char kat199_nor_addin0[] = {
  5804. 0x72, 0xeb, 0xd3, 0x51, 0xed, 0xc0, 0x00, 0xd8, 0x36, 0x32, 0x58, 0xa6,
  5805. 0x9f, 0x2b, 0x98, 0xcc,
  5806. };
  5807. static const unsigned char kat199_nor_addin1[] = {
  5808. 0xe5, 0xc8, 0x61, 0x21, 0x32, 0x96, 0xea, 0x2a, 0xd5, 0x09, 0x8f, 0x9b,
  5809. 0x4c, 0x50, 0x64, 0x7d,
  5810. };
  5811. static const unsigned char kat199_nor_retbytes[] = {
  5812. 0xa8, 0xea, 0x47, 0x0f, 0x17, 0xbe, 0xe5, 0x02, 0x1d, 0x49, 0xc8, 0x4b,
  5813. 0x72, 0x1e, 0x0b, 0x67, 0x47, 0x0d, 0x3b, 0xc4, 0xf9, 0x8f, 0xac, 0x68,
  5814. 0xc6, 0x74, 0x42, 0x97, 0x9d, 0x4f, 0xbc, 0xcb, 0xbc, 0xd0, 0x47, 0x7c,
  5815. 0x1e, 0x74, 0x93, 0x12, 0x6c, 0xbe, 0x16, 0x9b, 0x84, 0x44, 0x6f, 0x5f,
  5816. 0xcf, 0x66, 0x67, 0x86, 0x77, 0x5d, 0x19, 0xf3, 0x5c, 0x61, 0x52, 0x52,
  5817. 0x9a, 0x41, 0xde, 0x6d,
  5818. };
  5819. static const struct drbg_kat_no_reseed kat199_nor_t = {
  5820. 3, kat199_nor_entropyin, kat199_nor_nonce, kat199_nor_persstr,
  5821. kat199_nor_addin0, kat199_nor_addin1, kat199_nor_retbytes
  5822. };
  5823. static const struct drbg_kat kat199_nor = {
  5824. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat199_nor_t
  5825. };
  5826. static const unsigned char kat200_nor_entropyin[] = {
  5827. 0x12, 0x48, 0xed, 0x4b, 0xf6, 0x06, 0xcc, 0x65, 0x8b, 0x64, 0x1b, 0x79,
  5828. 0x58, 0x59, 0x7f, 0x5a,
  5829. };
  5830. static const unsigned char kat200_nor_nonce[] = {
  5831. 0x16, 0xc8, 0x8d, 0xea, 0x4e, 0x75, 0x3d, 0x50,
  5832. };
  5833. static const unsigned char kat200_nor_persstr[] = {0};
  5834. static const unsigned char kat200_nor_addin0[] = {
  5835. 0xfc, 0x67, 0xe7, 0x63, 0x41, 0x32, 0x02, 0xe0, 0x4c, 0x55, 0x69, 0x7e,
  5836. 0xb7, 0x54, 0x8c, 0x56,
  5837. };
  5838. static const unsigned char kat200_nor_addin1[] = {
  5839. 0x21, 0xe0, 0xe3, 0x86, 0x65, 0xec, 0xf6, 0x0f, 0xa9, 0x73, 0x0b, 0xdf,
  5840. 0x7e, 0x22, 0xcc, 0x7f,
  5841. };
  5842. static const unsigned char kat200_nor_retbytes[] = {
  5843. 0x63, 0xd9, 0xb5, 0x0d, 0xd6, 0x9e, 0xa9, 0xda, 0xc7, 0x5f, 0x48, 0xae,
  5844. 0x01, 0x2f, 0xce, 0xc2, 0x7c, 0x2e, 0x1d, 0xcf, 0xc2, 0xac, 0x2e, 0x59,
  5845. 0x24, 0x4a, 0xf4, 0xa6, 0xce, 0x9a, 0x73, 0xc4, 0xd8, 0xbd, 0xe6, 0x57,
  5846. 0x0d, 0x85, 0xee, 0x15, 0xb0, 0x8a, 0x48, 0xef, 0x47, 0x3d, 0x12, 0xdb,
  5847. 0x87, 0x1f, 0x6d, 0xf1, 0xd8, 0x14, 0x41, 0x61, 0x3d, 0xcc, 0x1e, 0xfb,
  5848. 0x20, 0x18, 0xf0, 0xc3,
  5849. };
  5850. static const struct drbg_kat_no_reseed kat200_nor_t = {
  5851. 4, kat200_nor_entropyin, kat200_nor_nonce, kat200_nor_persstr,
  5852. kat200_nor_addin0, kat200_nor_addin1, kat200_nor_retbytes
  5853. };
  5854. static const struct drbg_kat kat200_nor = {
  5855. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat200_nor_t
  5856. };
  5857. static const unsigned char kat201_nor_entropyin[] = {
  5858. 0x6f, 0xa6, 0x29, 0xd0, 0x3c, 0xb4, 0xeb, 0x53, 0x4e, 0xfa, 0x03, 0x33,
  5859. 0x4d, 0x3b, 0x1d, 0x02,
  5860. };
  5861. static const unsigned char kat201_nor_nonce[] = {
  5862. 0xd9, 0x52, 0x15, 0x3e, 0x79, 0xdf, 0x53, 0x8f,
  5863. };
  5864. static const unsigned char kat201_nor_persstr[] = {0};
  5865. static const unsigned char kat201_nor_addin0[] = {
  5866. 0x2e, 0x5c, 0x55, 0x45, 0x78, 0xa0, 0x69, 0xf5, 0xe4, 0x95, 0x9d, 0xcb,
  5867. 0x35, 0x1a, 0x29, 0x4d,
  5868. };
  5869. static const unsigned char kat201_nor_addin1[] = {
  5870. 0x2d, 0x26, 0xae, 0xaa, 0xd9, 0xcb, 0xf2, 0x53, 0xad, 0xd8, 0x68, 0x4d,
  5871. 0x29, 0xb1, 0xa6, 0x33,
  5872. };
  5873. static const unsigned char kat201_nor_retbytes[] = {
  5874. 0xf5, 0x82, 0x46, 0x31, 0x32, 0x84, 0x99, 0x02, 0x98, 0x86, 0x4a, 0x89,
  5875. 0xbf, 0xe7, 0xbe, 0x19, 0x70, 0xc0, 0x33, 0xdc, 0x16, 0x64, 0xad, 0x7f,
  5876. 0x5c, 0xd9, 0xb8, 0x12, 0xf5, 0xb7, 0xe9, 0x0f, 0x69, 0xa4, 0x9c, 0xdf,
  5877. 0xbe, 0xe0, 0xe2, 0x79, 0xf7, 0xdf, 0x1a, 0x8e, 0xd7, 0x9e, 0xca, 0x6e,
  5878. 0x68, 0x0d, 0x74, 0x0c, 0x0f, 0x2a, 0xe1, 0x2f, 0x87, 0x79, 0x8a, 0xcc,
  5879. 0x6d, 0x73, 0xd4, 0x2f,
  5880. };
  5881. static const struct drbg_kat_no_reseed kat201_nor_t = {
  5882. 5, kat201_nor_entropyin, kat201_nor_nonce, kat201_nor_persstr,
  5883. kat201_nor_addin0, kat201_nor_addin1, kat201_nor_retbytes
  5884. };
  5885. static const struct drbg_kat kat201_nor = {
  5886. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat201_nor_t
  5887. };
  5888. static const unsigned char kat202_nor_entropyin[] = {
  5889. 0xc5, 0x8e, 0xeb, 0x2e, 0x57, 0xf2, 0x95, 0xd7, 0xaf, 0x1a, 0x37, 0x67,
  5890. 0x93, 0x5b, 0x85, 0xeb,
  5891. };
  5892. static const unsigned char kat202_nor_nonce[] = {
  5893. 0x98, 0x61, 0x2b, 0x6c, 0xa0, 0x2f, 0x60, 0xe4,
  5894. };
  5895. static const unsigned char kat202_nor_persstr[] = {0};
  5896. static const unsigned char kat202_nor_addin0[] = {
  5897. 0x10, 0xe8, 0x9c, 0x27, 0x1e, 0x2b, 0x28, 0x3d, 0x69, 0xb0, 0x4a, 0xbf,
  5898. 0x6c, 0x54, 0xb1, 0xe1,
  5899. };
  5900. static const unsigned char kat202_nor_addin1[] = {
  5901. 0x20, 0x79, 0x50, 0xc2, 0x8b, 0x26, 0xec, 0x16, 0xc4, 0xf2, 0x81, 0x21,
  5902. 0x60, 0x7f, 0x4a, 0x5a,
  5903. };
  5904. static const unsigned char kat202_nor_retbytes[] = {
  5905. 0x28, 0xef, 0xf6, 0x03, 0xff, 0x0d, 0xc8, 0x39, 0xf8, 0x8f, 0x84, 0x47,
  5906. 0x33, 0xb2, 0x75, 0xbc, 0x6f, 0xda, 0x6d, 0x45, 0x46, 0xee, 0x26, 0x03,
  5907. 0x4f, 0x51, 0xf8, 0x4c, 0xe4, 0x30, 0xb0, 0x73, 0xc3, 0xda, 0x8a, 0xbf,
  5908. 0xe8, 0x2b, 0x53, 0x13, 0xba, 0x2e, 0x0f, 0x60, 0x04, 0x5b, 0x80, 0x96,
  5909. 0xb9, 0xcf, 0x31, 0x42, 0x48, 0x63, 0xe0, 0x6f, 0x72, 0xef, 0xf1, 0xba,
  5910. 0xa4, 0xb2, 0x52, 0x70,
  5911. };
  5912. static const struct drbg_kat_no_reseed kat202_nor_t = {
  5913. 6, kat202_nor_entropyin, kat202_nor_nonce, kat202_nor_persstr,
  5914. kat202_nor_addin0, kat202_nor_addin1, kat202_nor_retbytes
  5915. };
  5916. static const struct drbg_kat kat202_nor = {
  5917. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat202_nor_t
  5918. };
  5919. static const unsigned char kat203_nor_entropyin[] = {
  5920. 0x8a, 0x34, 0x5b, 0x5a, 0x5e, 0xb7, 0xd7, 0xaa, 0x70, 0x0b, 0xff, 0x26,
  5921. 0x61, 0x25, 0xed, 0xe1,
  5922. };
  5923. static const unsigned char kat203_nor_nonce[] = {
  5924. 0x00, 0xb2, 0x96, 0x37, 0x27, 0x8d, 0xa4, 0x57,
  5925. };
  5926. static const unsigned char kat203_nor_persstr[] = {0};
  5927. static const unsigned char kat203_nor_addin0[] = {
  5928. 0x44, 0x53, 0x4b, 0x92, 0xaf, 0x03, 0x81, 0x71, 0xb6, 0x7b, 0x70, 0xf4,
  5929. 0xe1, 0xd5, 0xe7, 0xf5,
  5930. };
  5931. static const unsigned char kat203_nor_addin1[] = {
  5932. 0x53, 0x14, 0x76, 0x60, 0xc0, 0xfd, 0xe5, 0xf9, 0x89, 0x34, 0x74, 0xf0,
  5933. 0x38, 0x84, 0xab, 0x14,
  5934. };
  5935. static const unsigned char kat203_nor_retbytes[] = {
  5936. 0xa6, 0xa7, 0xa5, 0x6f, 0xc3, 0x2c, 0x3d, 0x3c, 0x33, 0x06, 0xdd, 0x65,
  5937. 0x10, 0x9f, 0xf8, 0xd6, 0x80, 0x31, 0x19, 0x3b, 0xbf, 0x5b, 0x38, 0x38,
  5938. 0x0e, 0x38, 0x25, 0xdb, 0x7b, 0xef, 0x72, 0x94, 0x05, 0x14, 0x16, 0x26,
  5939. 0x37, 0x95, 0xf3, 0x34, 0xd1, 0xf8, 0x70, 0x54, 0xe9, 0x7d, 0xbb, 0x52,
  5940. 0xdd, 0x24, 0x4d, 0x52, 0x7a, 0x6f, 0xfc, 0xe0, 0x86, 0xd1, 0xad, 0x17,
  5941. 0x7b, 0xa8, 0xfb, 0x81,
  5942. };
  5943. static const struct drbg_kat_no_reseed kat203_nor_t = {
  5944. 7, kat203_nor_entropyin, kat203_nor_nonce, kat203_nor_persstr,
  5945. kat203_nor_addin0, kat203_nor_addin1, kat203_nor_retbytes
  5946. };
  5947. static const struct drbg_kat kat203_nor = {
  5948. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat203_nor_t
  5949. };
  5950. static const unsigned char kat204_nor_entropyin[] = {
  5951. 0xfe, 0x50, 0x4e, 0x06, 0x89, 0x5d, 0x34, 0x08, 0x90, 0x50, 0x9f, 0x39,
  5952. 0x8f, 0xe7, 0x08, 0x32,
  5953. };
  5954. static const unsigned char kat204_nor_nonce[] = {
  5955. 0x3b, 0x3d, 0x94, 0xb6, 0x94, 0x8f, 0x74, 0x01,
  5956. };
  5957. static const unsigned char kat204_nor_persstr[] = {0};
  5958. static const unsigned char kat204_nor_addin0[] = {
  5959. 0x64, 0x20, 0x03, 0x18, 0x1f, 0x79, 0x1c, 0xb5, 0xba, 0xce, 0xf7, 0x23,
  5960. 0xc9, 0x6c, 0xe2, 0x62,
  5961. };
  5962. static const unsigned char kat204_nor_addin1[] = {
  5963. 0x34, 0x5e, 0x8d, 0x29, 0xd5, 0xef, 0xdd, 0xc8, 0xab, 0x37, 0x83, 0x8b,
  5964. 0x18, 0x91, 0xbc, 0xd0,
  5965. };
  5966. static const unsigned char kat204_nor_retbytes[] = {
  5967. 0x45, 0x30, 0x40, 0x99, 0x14, 0x5b, 0x8e, 0x3d, 0xa8, 0x00, 0xa9, 0x2e,
  5968. 0x0f, 0x59, 0x15, 0xc8, 0x98, 0x1f, 0xb7, 0x70, 0x6a, 0x1d, 0xf0, 0xa6,
  5969. 0xc0, 0xb2, 0xad, 0x54, 0x35, 0xda, 0x19, 0xce, 0xd3, 0xac, 0xdf, 0xd5,
  5970. 0x83, 0x27, 0x95, 0x01, 0x3a, 0xfa, 0x5f, 0xf2, 0x1f, 0xf3, 0x32, 0x6a,
  5971. 0xda, 0x7d, 0x57, 0x78, 0x17, 0xf6, 0xb9, 0x4e, 0xb3, 0x5f, 0x33, 0x62,
  5972. 0x3d, 0xb4, 0x71, 0x76,
  5973. };
  5974. static const struct drbg_kat_no_reseed kat204_nor_t = {
  5975. 8, kat204_nor_entropyin, kat204_nor_nonce, kat204_nor_persstr,
  5976. kat204_nor_addin0, kat204_nor_addin1, kat204_nor_retbytes
  5977. };
  5978. static const struct drbg_kat kat204_nor = {
  5979. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat204_nor_t
  5980. };
  5981. static const unsigned char kat205_nor_entropyin[] = {
  5982. 0xe0, 0x22, 0x7d, 0xe1, 0x4d, 0x5b, 0xc6, 0xad, 0xe2, 0xa0, 0x14, 0xee,
  5983. 0x43, 0x01, 0x51, 0xb4,
  5984. };
  5985. static const unsigned char kat205_nor_nonce[] = {
  5986. 0x15, 0x37, 0xf8, 0x56, 0x16, 0x75, 0x87, 0x53,
  5987. };
  5988. static const unsigned char kat205_nor_persstr[] = {0};
  5989. static const unsigned char kat205_nor_addin0[] = {
  5990. 0x87, 0xee, 0xfe, 0xf0, 0xe0, 0xcf, 0xd9, 0x0d, 0xd2, 0x6d, 0x48, 0x33,
  5991. 0x79, 0x78, 0x7c, 0x7f,
  5992. };
  5993. static const unsigned char kat205_nor_addin1[] = {
  5994. 0x74, 0xd2, 0xff, 0xf6, 0xf2, 0x9f, 0x89, 0x2e, 0x66, 0xa9, 0xf8, 0x0b,
  5995. 0x2a, 0x5d, 0x9d, 0x20,
  5996. };
  5997. static const unsigned char kat205_nor_retbytes[] = {
  5998. 0xdd, 0xe0, 0x86, 0xce, 0xc0, 0xad, 0xd3, 0x1f, 0xb9, 0x55, 0x3d, 0x56,
  5999. 0xcc, 0x2c, 0x6b, 0x7c, 0x02, 0x2d, 0x8c, 0x87, 0xff, 0x54, 0x99, 0xfa,
  6000. 0x78, 0xa6, 0x8e, 0xeb, 0x05, 0x1c, 0xdb, 0xf8, 0x99, 0x67, 0x3b, 0x4e,
  6001. 0xd7, 0x6f, 0xe8, 0x67, 0xb7, 0x9e, 0xcf, 0x6f, 0xc1, 0xd7, 0xc6, 0xf8,
  6002. 0xf5, 0x97, 0x01, 0x31, 0x39, 0xd5, 0x28, 0xd3, 0x48, 0xca, 0x3b, 0xee,
  6003. 0x96, 0x05, 0xdd, 0x80,
  6004. };
  6005. static const struct drbg_kat_no_reseed kat205_nor_t = {
  6006. 9, kat205_nor_entropyin, kat205_nor_nonce, kat205_nor_persstr,
  6007. kat205_nor_addin0, kat205_nor_addin1, kat205_nor_retbytes
  6008. };
  6009. static const struct drbg_kat kat205_nor = {
  6010. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat205_nor_t
  6011. };
  6012. static const unsigned char kat206_nor_entropyin[] = {
  6013. 0x44, 0xb7, 0x28, 0x2f, 0x95, 0x1c, 0x59, 0x1a, 0x7a, 0x3d, 0x9f, 0xf6,
  6014. 0x96, 0x0f, 0x20, 0xb9,
  6015. };
  6016. static const unsigned char kat206_nor_nonce[] = {
  6017. 0xb7, 0x7e, 0xbe, 0x26, 0x99, 0x0c, 0xbe, 0x8c,
  6018. };
  6019. static const unsigned char kat206_nor_persstr[] = {0};
  6020. static const unsigned char kat206_nor_addin0[] = {
  6021. 0x90, 0x00, 0x58, 0x7b, 0xb1, 0x8d, 0x20, 0x1e, 0xcf, 0xd5, 0x6f, 0x30,
  6022. 0xdb, 0xa4, 0x83, 0xd2,
  6023. };
  6024. static const unsigned char kat206_nor_addin1[] = {
  6025. 0x24, 0x55, 0x23, 0x06, 0x0b, 0x0a, 0xf3, 0xe5, 0x75, 0xb1, 0x48, 0x0a,
  6026. 0xa6, 0xd8, 0xa3, 0x3b,
  6027. };
  6028. static const unsigned char kat206_nor_retbytes[] = {
  6029. 0x9f, 0x25, 0x67, 0x4a, 0xc0, 0x85, 0xa7, 0xa4, 0x87, 0xe7, 0xd7, 0x20,
  6030. 0x84, 0xd5, 0xd3, 0xc0, 0xfb, 0xd7, 0xd4, 0x18, 0x70, 0xf0, 0xf7, 0x66,
  6031. 0xd6, 0x13, 0x01, 0x59, 0x96, 0x05, 0x2e, 0xbf, 0xc6, 0xf6, 0x2e, 0x4c,
  6032. 0xf3, 0x89, 0xaf, 0x85, 0xcf, 0x12, 0x5d, 0x9d, 0x99, 0xc6, 0x49, 0xd4,
  6033. 0xe8, 0x75, 0x50, 0x79, 0xa6, 0x81, 0x7a, 0x9e, 0x81, 0x44, 0x5d, 0x1b,
  6034. 0x99, 0x4d, 0x29, 0x61,
  6035. };
  6036. static const struct drbg_kat_no_reseed kat206_nor_t = {
  6037. 10, kat206_nor_entropyin, kat206_nor_nonce, kat206_nor_persstr,
  6038. kat206_nor_addin0, kat206_nor_addin1, kat206_nor_retbytes
  6039. };
  6040. static const struct drbg_kat kat206_nor = {
  6041. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat206_nor_t
  6042. };
  6043. static const unsigned char kat207_nor_entropyin[] = {
  6044. 0x74, 0x5c, 0xa1, 0x6e, 0xbc, 0x9e, 0x1a, 0x58, 0xda, 0x81, 0x02, 0x78,
  6045. 0x88, 0x5d, 0xff, 0x33,
  6046. };
  6047. static const unsigned char kat207_nor_nonce[] = {
  6048. 0x7e, 0x11, 0xf9, 0x49, 0x86, 0x2c, 0xbc, 0xc9,
  6049. };
  6050. static const unsigned char kat207_nor_persstr[] = {0};
  6051. static const unsigned char kat207_nor_addin0[] = {
  6052. 0x4b, 0x89, 0x8e, 0xbd, 0xd3, 0x21, 0x42, 0x62, 0x78, 0x15, 0xbe, 0x10,
  6053. 0x35, 0x43, 0x56, 0x96,
  6054. };
  6055. static const unsigned char kat207_nor_addin1[] = {
  6056. 0x33, 0x0b, 0x0c, 0xe2, 0x87, 0x84, 0x2d, 0x3d, 0x71, 0x9a, 0x0c, 0xe4,
  6057. 0x15, 0x36, 0x3b, 0x77,
  6058. };
  6059. static const unsigned char kat207_nor_retbytes[] = {
  6060. 0x9c, 0x6d, 0xd7, 0x63, 0x88, 0x80, 0x65, 0x54, 0x1b, 0x1a, 0x38, 0x0c,
  6061. 0xf4, 0xf4, 0x59, 0x83, 0x9f, 0xb4, 0xf1, 0xef, 0x4f, 0x78, 0x17, 0x28,
  6062. 0x6b, 0xe4, 0x50, 0x33, 0x95, 0x7f, 0x79, 0xd1, 0x42, 0x9c, 0xfe, 0xfe,
  6063. 0xd1, 0xab, 0xd6, 0x22, 0x8b, 0x26, 0x74, 0x7e, 0x69, 0xec, 0x9b, 0x1a,
  6064. 0x02, 0x7b, 0x3a, 0x0b, 0x9a, 0x28, 0x48, 0x7e, 0x95, 0x4d, 0xda, 0x06,
  6065. 0xb7, 0xee, 0xb4, 0x54,
  6066. };
  6067. static const struct drbg_kat_no_reseed kat207_nor_t = {
  6068. 11, kat207_nor_entropyin, kat207_nor_nonce, kat207_nor_persstr,
  6069. kat207_nor_addin0, kat207_nor_addin1, kat207_nor_retbytes
  6070. };
  6071. static const struct drbg_kat kat207_nor = {
  6072. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat207_nor_t
  6073. };
  6074. static const unsigned char kat208_nor_entropyin[] = {
  6075. 0x1e, 0x54, 0x6f, 0xee, 0xba, 0xf0, 0xfe, 0xba, 0x3a, 0x07, 0xc6, 0x35,
  6076. 0xe6, 0x23, 0x5b, 0xfb,
  6077. };
  6078. static const unsigned char kat208_nor_nonce[] = {
  6079. 0x17, 0x88, 0xd9, 0xee, 0xa4, 0x44, 0xad, 0x7b,
  6080. };
  6081. static const unsigned char kat208_nor_persstr[] = {0};
  6082. static const unsigned char kat208_nor_addin0[] = {
  6083. 0x51, 0x99, 0xd4, 0xaa, 0x59, 0x30, 0x22, 0x0c, 0x27, 0x34, 0x2e, 0x1c,
  6084. 0x0b, 0x99, 0x46, 0x4f,
  6085. };
  6086. static const unsigned char kat208_nor_addin1[] = {
  6087. 0x16, 0xdd, 0x52, 0x0f, 0x00, 0x93, 0x29, 0xed, 0x7b, 0xe1, 0x4d, 0x25,
  6088. 0xe5, 0xc7, 0x91, 0x12,
  6089. };
  6090. static const unsigned char kat208_nor_retbytes[] = {
  6091. 0x34, 0xfa, 0x78, 0x30, 0x6c, 0x9e, 0xfb, 0x91, 0x2e, 0xe7, 0x8f, 0xb9,
  6092. 0x8a, 0x03, 0x54, 0x6d, 0x16, 0xc1, 0xcc, 0x9b, 0xc3, 0xb6, 0x7a, 0x04,
  6093. 0xf2, 0xa8, 0xe6, 0xfb, 0x26, 0x24, 0x14, 0xbc, 0xf3, 0xcc, 0x51, 0xd3,
  6094. 0xcf, 0x3a, 0x1a, 0x30, 0x48, 0x09, 0xf1, 0x86, 0xbd, 0x74, 0xf2, 0x09,
  6095. 0xb2, 0x42, 0x86, 0xf7, 0x71, 0x76, 0x67, 0xcc, 0x56, 0x60, 0xd3, 0xec,
  6096. 0x73, 0x2f, 0xb0, 0xd3,
  6097. };
  6098. static const struct drbg_kat_no_reseed kat208_nor_t = {
  6099. 12, kat208_nor_entropyin, kat208_nor_nonce, kat208_nor_persstr,
  6100. kat208_nor_addin0, kat208_nor_addin1, kat208_nor_retbytes
  6101. };
  6102. static const struct drbg_kat kat208_nor = {
  6103. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat208_nor_t
  6104. };
  6105. static const unsigned char kat209_nor_entropyin[] = {
  6106. 0xde, 0x1f, 0xca, 0xee, 0x63, 0x29, 0xe9, 0xac, 0x06, 0xa6, 0xdc, 0x18,
  6107. 0xa1, 0x8d, 0x14, 0x7d,
  6108. };
  6109. static const unsigned char kat209_nor_nonce[] = {
  6110. 0xe1, 0x0e, 0xa5, 0x48, 0xcc, 0x37, 0x73, 0xab,
  6111. };
  6112. static const unsigned char kat209_nor_persstr[] = {0};
  6113. static const unsigned char kat209_nor_addin0[] = {
  6114. 0x5c, 0xdd, 0xd4, 0xfd, 0x07, 0xb6, 0xac, 0x3e, 0x96, 0xb1, 0x33, 0x39,
  6115. 0xa7, 0x5f, 0x56, 0xf9,
  6116. };
  6117. static const unsigned char kat209_nor_addin1[] = {
  6118. 0x45, 0x47, 0x14, 0xbe, 0xbf, 0x96, 0x03, 0xe1, 0xcf, 0xef, 0x7b, 0x80,
  6119. 0x38, 0x37, 0x48, 0x99,
  6120. };
  6121. static const unsigned char kat209_nor_retbytes[] = {
  6122. 0x5e, 0x34, 0x83, 0x12, 0x58, 0x35, 0x24, 0x30, 0x48, 0xa5, 0x10, 0x18,
  6123. 0x4f, 0x08, 0x64, 0x87, 0xe9, 0xb0, 0x2f, 0xc0, 0xca, 0x60, 0xfb, 0x46,
  6124. 0x41, 0x6f, 0xb0, 0xcc, 0xc1, 0x3e, 0x45, 0x08, 0x1d, 0xa5, 0x96, 0x91,
  6125. 0xe3, 0x26, 0x78, 0xfc, 0xb6, 0xaa, 0xbe, 0xf5, 0x85, 0xfb, 0x49, 0x2b,
  6126. 0x19, 0x4e, 0x06, 0x17, 0x1a, 0x8d, 0x17, 0xaf, 0x85, 0x56, 0xa3, 0x6b,
  6127. 0xf4, 0x93, 0x1f, 0xf5,
  6128. };
  6129. static const struct drbg_kat_no_reseed kat209_nor_t = {
  6130. 13, kat209_nor_entropyin, kat209_nor_nonce, kat209_nor_persstr,
  6131. kat209_nor_addin0, kat209_nor_addin1, kat209_nor_retbytes
  6132. };
  6133. static const struct drbg_kat kat209_nor = {
  6134. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat209_nor_t
  6135. };
  6136. static const unsigned char kat210_nor_entropyin[] = {
  6137. 0x8b, 0x52, 0x95, 0x07, 0xbc, 0x2e, 0x8f, 0x71, 0x19, 0x34, 0xad, 0xc8,
  6138. 0x8c, 0x65, 0x30, 0xa3,
  6139. };
  6140. static const unsigned char kat210_nor_nonce[] = {
  6141. 0x72, 0x15, 0x95, 0x6b, 0x7c, 0x57, 0x4e, 0x71,
  6142. };
  6143. static const unsigned char kat210_nor_persstr[] = {0};
  6144. static const unsigned char kat210_nor_addin0[] = {
  6145. 0x1a, 0xdb, 0x1e, 0xf6, 0x33, 0x47, 0xb2, 0x1e, 0x33, 0x51, 0x8b, 0x96,
  6146. 0x2f, 0x6d, 0xb8, 0x98,
  6147. };
  6148. static const unsigned char kat210_nor_addin1[] = {
  6149. 0xd5, 0xc6, 0x9f, 0x42, 0xf3, 0x6e, 0xa2, 0x24, 0x98, 0x42, 0xb6, 0xfc,
  6150. 0x26, 0xac, 0x54, 0xfe,
  6151. };
  6152. static const unsigned char kat210_nor_retbytes[] = {
  6153. 0xc3, 0x74, 0xbd, 0xd6, 0x2c, 0xb1, 0xe4, 0x2e, 0x64, 0x84, 0x03, 0x84,
  6154. 0x3b, 0x8c, 0x06, 0xc0, 0xb3, 0x05, 0xf9, 0x45, 0x68, 0x5f, 0x72, 0xd1,
  6155. 0xbc, 0x2e, 0x42, 0x8c, 0x19, 0xdf, 0x45, 0x20, 0x18, 0xdd, 0xea, 0x81,
  6156. 0xeb, 0xe5, 0xb1, 0x5f, 0xad, 0x3b, 0xe4, 0xeb, 0x17, 0xfa, 0x2d, 0x2c,
  6157. 0xf5, 0x78, 0x36, 0xdd, 0x08, 0x09, 0x70, 0xf7, 0x16, 0xc0, 0xb2, 0x2f,
  6158. 0x72, 0x63, 0x41, 0x4a,
  6159. };
  6160. static const struct drbg_kat_no_reseed kat210_nor_t = {
  6161. 14, kat210_nor_entropyin, kat210_nor_nonce, kat210_nor_persstr,
  6162. kat210_nor_addin0, kat210_nor_addin1, kat210_nor_retbytes
  6163. };
  6164. static const struct drbg_kat kat210_nor = {
  6165. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 0, 16, 64, &kat210_nor_t
  6166. };
  6167. static const unsigned char kat211_nor_entropyin[] = {
  6168. 0xf4, 0x1f, 0x46, 0x6b, 0x32, 0x19, 0xbe, 0x21, 0x59, 0x77, 0x63, 0xfa,
  6169. 0x7b, 0x76, 0xfb, 0x40,
  6170. };
  6171. static const unsigned char kat211_nor_nonce[] = {
  6172. 0xcd, 0x93, 0xfe, 0xb9, 0x96, 0x2e, 0x81, 0xac,
  6173. };
  6174. static const unsigned char kat211_nor_persstr[] = {
  6175. 0xb5, 0x8f, 0x86, 0x9a, 0xd0, 0xaa, 0x98, 0x08, 0xf6, 0x64, 0x61, 0x37,
  6176. 0x43, 0x1d, 0x43, 0x0c,
  6177. };
  6178. static const unsigned char kat211_nor_addin0[] = {0};
  6179. static const unsigned char kat211_nor_addin1[] = {0};
  6180. static const unsigned char kat211_nor_retbytes[] = {
  6181. 0x2f, 0xb6, 0xd7, 0xec, 0xa3, 0x92, 0x67, 0x4f, 0xc7, 0x22, 0xa6, 0x19,
  6182. 0x20, 0x2e, 0x81, 0x9d, 0x0d, 0xa9, 0xd1, 0x1b, 0xc6, 0x7d, 0xb1, 0x0b,
  6183. 0xe4, 0xc1, 0x3c, 0xb9, 0x64, 0xe3, 0x0a, 0xda, 0x96, 0xdc, 0xcf, 0x0c,
  6184. 0x92, 0x2b, 0x71, 0x0a, 0xc0, 0x0d, 0xed, 0x54, 0x57, 0xfa, 0x97, 0x1b,
  6185. 0xb1, 0xc6, 0x61, 0xa0, 0x9a, 0xfa, 0x72, 0x0a, 0x58, 0x64, 0x34, 0x4b,
  6186. 0xf7, 0x7a, 0x36, 0xae,
  6187. };
  6188. static const struct drbg_kat_no_reseed kat211_nor_t = {
  6189. 0, kat211_nor_entropyin, kat211_nor_nonce, kat211_nor_persstr,
  6190. kat211_nor_addin0, kat211_nor_addin1, kat211_nor_retbytes
  6191. };
  6192. static const struct drbg_kat kat211_nor = {
  6193. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat211_nor_t
  6194. };
  6195. static const unsigned char kat212_nor_entropyin[] = {
  6196. 0x9d, 0x1b, 0x88, 0x34, 0x83, 0x2f, 0xfa, 0x13, 0x83, 0x2e, 0xb0, 0x86,
  6197. 0x04, 0x7b, 0xf3, 0xb1,
  6198. };
  6199. static const unsigned char kat212_nor_nonce[] = {
  6200. 0xd0, 0xf1, 0x5e, 0xfe, 0x86, 0x47, 0x7f, 0x75,
  6201. };
  6202. static const unsigned char kat212_nor_persstr[] = {
  6203. 0x73, 0xc9, 0x37, 0x34, 0xf6, 0xea, 0x39, 0xae, 0x04, 0xe6, 0xa4, 0xb4,
  6204. 0x97, 0x66, 0xb8, 0x20,
  6205. };
  6206. static const unsigned char kat212_nor_addin0[] = {0};
  6207. static const unsigned char kat212_nor_addin1[] = {0};
  6208. static const unsigned char kat212_nor_retbytes[] = {
  6209. 0x9f, 0xb6, 0x7d, 0x35, 0x37, 0x89, 0x40, 0xa5, 0xd7, 0x6b, 0x96, 0x3a,
  6210. 0xce, 0x4f, 0x81, 0x58, 0xe9, 0x3f, 0xe0, 0xca, 0x06, 0x4f, 0x96, 0x56,
  6211. 0xd4, 0x6d, 0xf1, 0xc1, 0x0d, 0x02, 0x5f, 0x48, 0xb3, 0x35, 0x69, 0xda,
  6212. 0x07, 0xc7, 0x7e, 0xc5, 0x12, 0x23, 0x6d, 0x08, 0xd2, 0x69, 0x97, 0xd6,
  6213. 0xb9, 0xbb, 0x69, 0x15, 0xdf, 0x63, 0x9e, 0xa8, 0x9d, 0xa9, 0x57, 0xe6,
  6214. 0x6f, 0xc2, 0x90, 0x03,
  6215. };
  6216. static const struct drbg_kat_no_reseed kat212_nor_t = {
  6217. 1, kat212_nor_entropyin, kat212_nor_nonce, kat212_nor_persstr,
  6218. kat212_nor_addin0, kat212_nor_addin1, kat212_nor_retbytes
  6219. };
  6220. static const struct drbg_kat kat212_nor = {
  6221. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat212_nor_t
  6222. };
  6223. static const unsigned char kat213_nor_entropyin[] = {
  6224. 0x29, 0x89, 0x86, 0x2a, 0x79, 0xe2, 0x55, 0x19, 0x5a, 0x24, 0x82, 0x8f,
  6225. 0xd3, 0x00, 0xeb, 0x34,
  6226. };
  6227. static const unsigned char kat213_nor_nonce[] = {
  6228. 0x30, 0xff, 0xda, 0xcb, 0x3a, 0xc7, 0xb2, 0x7b,
  6229. };
  6230. static const unsigned char kat213_nor_persstr[] = {
  6231. 0x71, 0x9b, 0x89, 0x9c, 0x9e, 0x4a, 0x5d, 0xb9, 0xe7, 0x1d, 0xfd, 0xa4,
  6232. 0x8f, 0xa6, 0x58, 0xcd,
  6233. };
  6234. static const unsigned char kat213_nor_addin0[] = {0};
  6235. static const unsigned char kat213_nor_addin1[] = {0};
  6236. static const unsigned char kat213_nor_retbytes[] = {
  6237. 0xb4, 0xf2, 0x00, 0x60, 0xea, 0x30, 0x01, 0xef, 0xdb, 0xd5, 0xcc, 0x89,
  6238. 0x83, 0x8e, 0x0a, 0x08, 0xc0, 0x9f, 0x7a, 0x6f, 0xe5, 0xbc, 0x02, 0x3c,
  6239. 0x33, 0xd1, 0x15, 0xfe, 0xdd, 0x6a, 0xe1, 0x51, 0x30, 0x74, 0x22, 0xf9,
  6240. 0x97, 0xd3, 0x2b, 0x3c, 0xea, 0xb8, 0x79, 0x95, 0x86, 0x23, 0x68, 0xc4,
  6241. 0xc3, 0xaf, 0x7a, 0xc4, 0x81, 0x58, 0x74, 0xc0, 0x08, 0x4e, 0xa1, 0xdc,
  6242. 0xec, 0x50, 0x58, 0xba,
  6243. };
  6244. static const struct drbg_kat_no_reseed kat213_nor_t = {
  6245. 2, kat213_nor_entropyin, kat213_nor_nonce, kat213_nor_persstr,
  6246. kat213_nor_addin0, kat213_nor_addin1, kat213_nor_retbytes
  6247. };
  6248. static const struct drbg_kat kat213_nor = {
  6249. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat213_nor_t
  6250. };
  6251. static const unsigned char kat214_nor_entropyin[] = {
  6252. 0x74, 0x82, 0xb2, 0xb0, 0x2a, 0x74, 0x46, 0xde, 0x58, 0x9d, 0x7e, 0x60,
  6253. 0xcf, 0x01, 0x29, 0x69,
  6254. };
  6255. static const unsigned char kat214_nor_nonce[] = {
  6256. 0x1c, 0x4b, 0xda, 0x6a, 0x57, 0xf4, 0x1f, 0xfb,
  6257. };
  6258. static const unsigned char kat214_nor_persstr[] = {
  6259. 0x52, 0x9e, 0x4e, 0x80, 0xf5, 0x01, 0xe7, 0x3e, 0xc8, 0x6e, 0xaa, 0x25,
  6260. 0x96, 0x28, 0xa1, 0x97,
  6261. };
  6262. static const unsigned char kat214_nor_addin0[] = {0};
  6263. static const unsigned char kat214_nor_addin1[] = {0};
  6264. static const unsigned char kat214_nor_retbytes[] = {
  6265. 0x74, 0x98, 0xf9, 0x17, 0x2a, 0xf7, 0xf5, 0xf2, 0x6d, 0x84, 0x77, 0x97,
  6266. 0x76, 0x8e, 0x45, 0x91, 0x70, 0xdd, 0x9e, 0xc7, 0xf4, 0x2a, 0x1f, 0xe9,
  6267. 0x79, 0xa2, 0xe4, 0xfa, 0x32, 0xa5, 0xe1, 0x24, 0xc5, 0xcb, 0x1a, 0xd4,
  6268. 0xc3, 0x94, 0xa2, 0xc2, 0x09, 0x9e, 0x8f, 0x94, 0x2e, 0xfb, 0xe5, 0x9a,
  6269. 0xf0, 0x97, 0x5b, 0x56, 0xa9, 0xaf, 0xa7, 0x74, 0x33, 0x16, 0x12, 0xad,
  6270. 0x88, 0x7b, 0x3f, 0x55,
  6271. };
  6272. static const struct drbg_kat_no_reseed kat214_nor_t = {
  6273. 3, kat214_nor_entropyin, kat214_nor_nonce, kat214_nor_persstr,
  6274. kat214_nor_addin0, kat214_nor_addin1, kat214_nor_retbytes
  6275. };
  6276. static const struct drbg_kat kat214_nor = {
  6277. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat214_nor_t
  6278. };
  6279. static const unsigned char kat215_nor_entropyin[] = {
  6280. 0x0a, 0x84, 0x05, 0x99, 0x1a, 0xeb, 0x64, 0xf3, 0xa8, 0x2d, 0x8b, 0xef,
  6281. 0x2b, 0x6c, 0x94, 0x22,
  6282. };
  6283. static const unsigned char kat215_nor_nonce[] = {
  6284. 0xa7, 0xa5, 0x8d, 0xa9, 0xb2, 0x16, 0xf7, 0xfb,
  6285. };
  6286. static const unsigned char kat215_nor_persstr[] = {
  6287. 0x68, 0xdf, 0x62, 0xfc, 0x01, 0xd3, 0xdb, 0xb0, 0x18, 0xc1, 0x63, 0xbe,
  6288. 0x34, 0x29, 0xf2, 0xaa,
  6289. };
  6290. static const unsigned char kat215_nor_addin0[] = {0};
  6291. static const unsigned char kat215_nor_addin1[] = {0};
  6292. static const unsigned char kat215_nor_retbytes[] = {
  6293. 0x7a, 0x9b, 0xa1, 0xe8, 0x25, 0x13, 0x3f, 0xf4, 0xc1, 0xd6, 0x46, 0xce,
  6294. 0x55, 0x77, 0xf3, 0x5a, 0x17, 0x84, 0xee, 0xc2, 0xc1, 0x97, 0x70, 0x90,
  6295. 0xb4, 0x8e, 0x30, 0xbd, 0x3b, 0x75, 0x06, 0xf4, 0x47, 0xee, 0x62, 0xd0,
  6296. 0x21, 0xca, 0xe1, 0x2a, 0xd2, 0x87, 0xb4, 0x17, 0xed, 0xdb, 0x9e, 0xc6,
  6297. 0x46, 0x0e, 0x3e, 0x28, 0x4a, 0xfa, 0x73, 0xb7, 0x39, 0x56, 0x4e, 0x40,
  6298. 0x73, 0xd0, 0x0e, 0x3c,
  6299. };
  6300. static const struct drbg_kat_no_reseed kat215_nor_t = {
  6301. 4, kat215_nor_entropyin, kat215_nor_nonce, kat215_nor_persstr,
  6302. kat215_nor_addin0, kat215_nor_addin1, kat215_nor_retbytes
  6303. };
  6304. static const struct drbg_kat kat215_nor = {
  6305. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat215_nor_t
  6306. };
  6307. static const unsigned char kat216_nor_entropyin[] = {
  6308. 0xc7, 0xe9, 0xf6, 0x88, 0x33, 0xb1, 0x8e, 0x03, 0x6a, 0xa1, 0xda, 0x02,
  6309. 0x5a, 0x35, 0x9e, 0xd7,
  6310. };
  6311. static const unsigned char kat216_nor_nonce[] = {
  6312. 0x99, 0xf0, 0xe4, 0x9c, 0xe8, 0x11, 0xee, 0x7e,
  6313. };
  6314. static const unsigned char kat216_nor_persstr[] = {
  6315. 0x8d, 0xe7, 0xc8, 0x6b, 0x8e, 0xc6, 0x1d, 0x6a, 0xbb, 0x52, 0xa7, 0x91,
  6316. 0x66, 0x71, 0xad, 0xb9,
  6317. };
  6318. static const unsigned char kat216_nor_addin0[] = {0};
  6319. static const unsigned char kat216_nor_addin1[] = {0};
  6320. static const unsigned char kat216_nor_retbytes[] = {
  6321. 0x14, 0x07, 0xb6, 0x81, 0x51, 0xfc, 0xb0, 0xf0, 0x8e, 0xba, 0xbc, 0x21,
  6322. 0xc6, 0xc1, 0x81, 0xac, 0x1d, 0xbf, 0x9c, 0x6f, 0xb1, 0xb2, 0xc1, 0x6e,
  6323. 0xaf, 0x1f, 0x8c, 0x49, 0x0d, 0x6f, 0x7d, 0x52, 0xd0, 0xf4, 0x21, 0x11,
  6324. 0x6a, 0x59, 0x98, 0x33, 0x0d, 0x81, 0x05, 0xf5, 0x02, 0x76, 0x17, 0xdc,
  6325. 0x94, 0xb1, 0x4c, 0x08, 0x3f, 0x49, 0xd1, 0x1c, 0x34, 0xf4, 0xf2, 0x63,
  6326. 0x02, 0x31, 0x66, 0x24,
  6327. };
  6328. static const struct drbg_kat_no_reseed kat216_nor_t = {
  6329. 5, kat216_nor_entropyin, kat216_nor_nonce, kat216_nor_persstr,
  6330. kat216_nor_addin0, kat216_nor_addin1, kat216_nor_retbytes
  6331. };
  6332. static const struct drbg_kat kat216_nor = {
  6333. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat216_nor_t
  6334. };
  6335. static const unsigned char kat217_nor_entropyin[] = {
  6336. 0xd6, 0x7e, 0xeb, 0x00, 0xa4, 0x29, 0x1a, 0x18, 0x47, 0x11, 0x84, 0xb4,
  6337. 0x31, 0x59, 0xd2, 0xbd,
  6338. };
  6339. static const unsigned char kat217_nor_nonce[] = {
  6340. 0xe4, 0xa3, 0x61, 0x49, 0x7e, 0xe1, 0x43, 0x8a,
  6341. };
  6342. static const unsigned char kat217_nor_persstr[] = {
  6343. 0xf0, 0x54, 0xad, 0xf2, 0xad, 0x38, 0x49, 0xda, 0x72, 0x72, 0xb3, 0xb3,
  6344. 0x2a, 0xe0, 0xfc, 0xab,
  6345. };
  6346. static const unsigned char kat217_nor_addin0[] = {0};
  6347. static const unsigned char kat217_nor_addin1[] = {0};
  6348. static const unsigned char kat217_nor_retbytes[] = {
  6349. 0x52, 0x45, 0xc3, 0x0a, 0x65, 0x1d, 0x98, 0x61, 0xb6, 0x36, 0xc8, 0xe8,
  6350. 0xcc, 0x8b, 0x84, 0x52, 0x46, 0xda, 0x10, 0xc1, 0x04, 0xd7, 0x81, 0x34,
  6351. 0xa8, 0x4e, 0x41, 0xfe, 0xa8, 0x0e, 0x0e, 0x73, 0x69, 0x2f, 0x84, 0x81,
  6352. 0xcd, 0x4d, 0x75, 0x0c, 0x79, 0xe3, 0x87, 0x6b, 0x9a, 0xbf, 0xa9, 0xd6,
  6353. 0x14, 0xd8, 0x68, 0x24, 0x96, 0x05, 0x61, 0x9d, 0xef, 0xef, 0x29, 0x68,
  6354. 0xfd, 0x33, 0x14, 0x1e,
  6355. };
  6356. static const struct drbg_kat_no_reseed kat217_nor_t = {
  6357. 6, kat217_nor_entropyin, kat217_nor_nonce, kat217_nor_persstr,
  6358. kat217_nor_addin0, kat217_nor_addin1, kat217_nor_retbytes
  6359. };
  6360. static const struct drbg_kat kat217_nor = {
  6361. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat217_nor_t
  6362. };
  6363. static const unsigned char kat218_nor_entropyin[] = {
  6364. 0xce, 0x08, 0xf0, 0x2b, 0xcd, 0xe4, 0x7f, 0x60, 0x30, 0x82, 0x02, 0x43,
  6365. 0xe1, 0x01, 0x38, 0x87,
  6366. };
  6367. static const unsigned char kat218_nor_nonce[] = {
  6368. 0xd1, 0xb1, 0x51, 0x30, 0xcd, 0x03, 0x8d, 0x6d,
  6369. };
  6370. static const unsigned char kat218_nor_persstr[] = {
  6371. 0xad, 0x0b, 0xcb, 0x82, 0x01, 0x16, 0x0d, 0x82, 0xf1, 0x79, 0x66, 0xd4,
  6372. 0xc7, 0xb6, 0xa4, 0xec,
  6373. };
  6374. static const unsigned char kat218_nor_addin0[] = {0};
  6375. static const unsigned char kat218_nor_addin1[] = {0};
  6376. static const unsigned char kat218_nor_retbytes[] = {
  6377. 0xf4, 0x8e, 0xd0, 0x3b, 0xdb, 0xa9, 0x31, 0x0d, 0x7f, 0xe0, 0xa5, 0xdd,
  6378. 0xdf, 0x9d, 0xf4, 0x9c, 0x0d, 0xbe, 0x07, 0xb9, 0x5b, 0xde, 0x25, 0xa0,
  6379. 0xb6, 0x6e, 0xd0, 0x1a, 0x9f, 0x7a, 0x07, 0x82, 0x0f, 0x2d, 0x7e, 0xaa,
  6380. 0x98, 0x63, 0x70, 0xa0, 0xce, 0x00, 0x01, 0x3b, 0x43, 0x31, 0xe4, 0x4b,
  6381. 0xeb, 0x30, 0x10, 0x57, 0x5a, 0xf7, 0xd6, 0x25, 0xbe, 0xd5, 0x5a, 0x59,
  6382. 0x2d, 0x97, 0x38, 0x28,
  6383. };
  6384. static const struct drbg_kat_no_reseed kat218_nor_t = {
  6385. 7, kat218_nor_entropyin, kat218_nor_nonce, kat218_nor_persstr,
  6386. kat218_nor_addin0, kat218_nor_addin1, kat218_nor_retbytes
  6387. };
  6388. static const struct drbg_kat kat218_nor = {
  6389. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat218_nor_t
  6390. };
  6391. static const unsigned char kat219_nor_entropyin[] = {
  6392. 0x8d, 0xbc, 0xda, 0xa7, 0x8a, 0xdd, 0xb2, 0x85, 0xdf, 0xdb, 0x5e, 0x41,
  6393. 0xee, 0xf6, 0x7e, 0x6f,
  6394. };
  6395. static const unsigned char kat219_nor_nonce[] = {
  6396. 0x49, 0x06, 0x2c, 0x09, 0x8b, 0x64, 0xe7, 0xf8,
  6397. };
  6398. static const unsigned char kat219_nor_persstr[] = {
  6399. 0x7d, 0xc1, 0x4e, 0x73, 0x96, 0xf6, 0x24, 0x50, 0xbe, 0xbd, 0xf2, 0xeb,
  6400. 0xf0, 0x17, 0xaa, 0xd5,
  6401. };
  6402. static const unsigned char kat219_nor_addin0[] = {0};
  6403. static const unsigned char kat219_nor_addin1[] = {0};
  6404. static const unsigned char kat219_nor_retbytes[] = {
  6405. 0x49, 0xd0, 0x3f, 0xe3, 0xb7, 0x2d, 0x44, 0xa8, 0xa1, 0xe4, 0x69, 0xd2,
  6406. 0x5a, 0x14, 0x5b, 0xa6, 0x4d, 0x61, 0x69, 0xdd, 0x94, 0x7f, 0x87, 0x93,
  6407. 0xd5, 0xef, 0x43, 0xde, 0x7b, 0x23, 0x94, 0x13, 0x70, 0x83, 0xe6, 0xe7,
  6408. 0x69, 0xbb, 0xfd, 0xe9, 0x60, 0x0c, 0x36, 0xb0, 0x32, 0xb7, 0x78, 0x65,
  6409. 0x22, 0x07, 0x0b, 0x5a, 0x65, 0xc7, 0x93, 0x92, 0x68, 0x92, 0xb9, 0xfb,
  6410. 0x0d, 0x1c, 0x1d, 0x54,
  6411. };
  6412. static const struct drbg_kat_no_reseed kat219_nor_t = {
  6413. 8, kat219_nor_entropyin, kat219_nor_nonce, kat219_nor_persstr,
  6414. kat219_nor_addin0, kat219_nor_addin1, kat219_nor_retbytes
  6415. };
  6416. static const struct drbg_kat kat219_nor = {
  6417. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat219_nor_t
  6418. };
  6419. static const unsigned char kat220_nor_entropyin[] = {
  6420. 0x0d, 0x98, 0x37, 0x0c, 0xff, 0xa0, 0xa8, 0x79, 0xfe, 0x85, 0xb5, 0xde,
  6421. 0x4e, 0x69, 0xcf, 0x7d,
  6422. };
  6423. static const unsigned char kat220_nor_nonce[] = {
  6424. 0x93, 0x50, 0xa8, 0x6b, 0x7a, 0x1b, 0xc6, 0x8a,
  6425. };
  6426. static const unsigned char kat220_nor_persstr[] = {
  6427. 0x01, 0x61, 0xb2, 0x4d, 0x1c, 0x3c, 0xa5, 0x90, 0x11, 0x7e, 0xc2, 0x9a,
  6428. 0xcc, 0x39, 0x44, 0x6f,
  6429. };
  6430. static const unsigned char kat220_nor_addin0[] = {0};
  6431. static const unsigned char kat220_nor_addin1[] = {0};
  6432. static const unsigned char kat220_nor_retbytes[] = {
  6433. 0x7c, 0xd6, 0x46, 0x84, 0x28, 0x9b, 0x43, 0xb1, 0xe5, 0x93, 0xd9, 0x4a,
  6434. 0xe9, 0x79, 0xf7, 0xfa, 0x5d, 0xe8, 0x95, 0x77, 0xf3, 0x7c, 0x7a, 0xea,
  6435. 0x0b, 0x58, 0x4d, 0x18, 0x60, 0x2c, 0x25, 0x1b, 0x1e, 0xc2, 0x5f, 0xf6,
  6436. 0x12, 0xd9, 0x7f, 0xda, 0x37, 0x84, 0xe9, 0x65, 0x59, 0x73, 0xe3, 0x1f,
  6437. 0xd4, 0xb5, 0xd1, 0xea, 0xde, 0xc6, 0x68, 0x61, 0xae, 0x2e, 0x97, 0x19,
  6438. 0xad, 0x34, 0x47, 0x30,
  6439. };
  6440. static const struct drbg_kat_no_reseed kat220_nor_t = {
  6441. 9, kat220_nor_entropyin, kat220_nor_nonce, kat220_nor_persstr,
  6442. kat220_nor_addin0, kat220_nor_addin1, kat220_nor_retbytes
  6443. };
  6444. static const struct drbg_kat kat220_nor = {
  6445. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat220_nor_t
  6446. };
  6447. static const unsigned char kat221_nor_entropyin[] = {
  6448. 0xd9, 0xb6, 0xfb, 0x62, 0xda, 0x0a, 0x02, 0x32, 0x35, 0xe7, 0xcd, 0x78,
  6449. 0x16, 0x37, 0x7c, 0xf5,
  6450. };
  6451. static const unsigned char kat221_nor_nonce[] = {
  6452. 0x1c, 0xa8, 0xc5, 0xfa, 0x5b, 0x9f, 0x8c, 0x90,
  6453. };
  6454. static const unsigned char kat221_nor_persstr[] = {
  6455. 0x17, 0xbe, 0x48, 0x85, 0xb5, 0xf9, 0x64, 0x1b, 0xf5, 0xf6, 0x89, 0xbc,
  6456. 0x97, 0x97, 0x88, 0x58,
  6457. };
  6458. static const unsigned char kat221_nor_addin0[] = {0};
  6459. static const unsigned char kat221_nor_addin1[] = {0};
  6460. static const unsigned char kat221_nor_retbytes[] = {
  6461. 0xe1, 0x1e, 0x3c, 0xa6, 0xc8, 0x32, 0xf4, 0x6f, 0xf1, 0xf9, 0x71, 0xc0,
  6462. 0x7e, 0x7b, 0x66, 0xc7, 0xd5, 0xb1, 0xb2, 0xe6, 0xec, 0x8c, 0x5f, 0xfc,
  6463. 0x77, 0x10, 0x3f, 0x0a, 0xd3, 0x08, 0x80, 0x0b, 0xb9, 0x89, 0xb9, 0xab,
  6464. 0x70, 0x10, 0x68, 0x33, 0x78, 0xa3, 0xf7, 0x81, 0x9a, 0x29, 0x7a, 0x37,
  6465. 0x65, 0x25, 0x6a, 0xc4, 0x0f, 0xb0, 0xa9, 0xcb, 0x22, 0x46, 0xae, 0xb8,
  6466. 0x5d, 0x73, 0x60, 0x1b,
  6467. };
  6468. static const struct drbg_kat_no_reseed kat221_nor_t = {
  6469. 10, kat221_nor_entropyin, kat221_nor_nonce, kat221_nor_persstr,
  6470. kat221_nor_addin0, kat221_nor_addin1, kat221_nor_retbytes
  6471. };
  6472. static const struct drbg_kat kat221_nor = {
  6473. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat221_nor_t
  6474. };
  6475. static const unsigned char kat222_nor_entropyin[] = {
  6476. 0xa7, 0x11, 0x39, 0x44, 0xfc, 0x4d, 0x4b, 0x15, 0xa9, 0x49, 0x67, 0xc8,
  6477. 0xf5, 0x65, 0x2a, 0x36,
  6478. };
  6479. static const unsigned char kat222_nor_nonce[] = {
  6480. 0xa5, 0x06, 0xb7, 0x9a, 0xfe, 0x6a, 0xf8, 0x22,
  6481. };
  6482. static const unsigned char kat222_nor_persstr[] = {
  6483. 0x91, 0x8f, 0xe4, 0xf3, 0x65, 0x25, 0x9c, 0x18, 0xeb, 0x68, 0x50, 0xfb,
  6484. 0xee, 0x40, 0x3f, 0x5e,
  6485. };
  6486. static const unsigned char kat222_nor_addin0[] = {0};
  6487. static const unsigned char kat222_nor_addin1[] = {0};
  6488. static const unsigned char kat222_nor_retbytes[] = {
  6489. 0x60, 0x76, 0xb2, 0xc0, 0xf7, 0xde, 0x1d, 0xd3, 0xe4, 0x6a, 0xdb, 0x11,
  6490. 0x61, 0xb7, 0x2a, 0x7f, 0x83, 0xb8, 0x77, 0x3f, 0xab, 0x0d, 0xcb, 0x1c,
  6491. 0x1f, 0xde, 0x25, 0xdb, 0x0d, 0x09, 0x86, 0x2a, 0xcd, 0xd3, 0x8f, 0x8d,
  6492. 0x21, 0x64, 0x90, 0x3a, 0x8e, 0x88, 0x58, 0xf8, 0xa9, 0xb6, 0x1b, 0xd7,
  6493. 0xda, 0xe3, 0xf6, 0x06, 0x68, 0xe6, 0xee, 0x26, 0x4b, 0x9f, 0xfa, 0xf5,
  6494. 0x78, 0xb5, 0x56, 0x46,
  6495. };
  6496. static const struct drbg_kat_no_reseed kat222_nor_t = {
  6497. 11, kat222_nor_entropyin, kat222_nor_nonce, kat222_nor_persstr,
  6498. kat222_nor_addin0, kat222_nor_addin1, kat222_nor_retbytes
  6499. };
  6500. static const struct drbg_kat kat222_nor = {
  6501. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat222_nor_t
  6502. };
  6503. static const unsigned char kat223_nor_entropyin[] = {
  6504. 0xac, 0xf7, 0x62, 0x38, 0x39, 0xb9, 0x4b, 0xd7, 0xa8, 0x93, 0xc2, 0x87,
  6505. 0x61, 0x6c, 0xdb, 0x6a,
  6506. };
  6507. static const unsigned char kat223_nor_nonce[] = {
  6508. 0xa1, 0xf6, 0x03, 0x9f, 0x91, 0xc1, 0x76, 0x23,
  6509. };
  6510. static const unsigned char kat223_nor_persstr[] = {
  6511. 0x5f, 0x9c, 0x69, 0xde, 0x2c, 0x32, 0x87, 0x3f, 0x67, 0x9d, 0x17, 0x68,
  6512. 0xef, 0x3c, 0x70, 0xfb,
  6513. };
  6514. static const unsigned char kat223_nor_addin0[] = {0};
  6515. static const unsigned char kat223_nor_addin1[] = {0};
  6516. static const unsigned char kat223_nor_retbytes[] = {
  6517. 0xf6, 0xab, 0xbf, 0xfd, 0x79, 0x65, 0x64, 0x94, 0x36, 0xb4, 0x8b, 0x09,
  6518. 0x20, 0x86, 0xcd, 0xf0, 0x50, 0x2f, 0x52, 0xc8, 0x7c, 0x8f, 0xdc, 0x8f,
  6519. 0x6d, 0x49, 0xf0, 0x84, 0x33, 0xa2, 0x02, 0xd8, 0xbe, 0x44, 0xf6, 0x56,
  6520. 0x2a, 0xce, 0x58, 0x0e, 0x80, 0x75, 0xf0, 0xbc, 0x67, 0x0b, 0x2e, 0x9d,
  6521. 0x95, 0x1f, 0x15, 0xf8, 0x4d, 0x82, 0xaf, 0xe6, 0xb8, 0x32, 0x76, 0x5e,
  6522. 0xca, 0xb0, 0x37, 0xee,
  6523. };
  6524. static const struct drbg_kat_no_reseed kat223_nor_t = {
  6525. 12, kat223_nor_entropyin, kat223_nor_nonce, kat223_nor_persstr,
  6526. kat223_nor_addin0, kat223_nor_addin1, kat223_nor_retbytes
  6527. };
  6528. static const struct drbg_kat kat223_nor = {
  6529. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat223_nor_t
  6530. };
  6531. static const unsigned char kat224_nor_entropyin[] = {
  6532. 0xd9, 0x0d, 0x78, 0x6e, 0x9d, 0x19, 0x62, 0x84, 0x3b, 0x02, 0x7a, 0xa0,
  6533. 0xe8, 0x59, 0x8f, 0xd4,
  6534. };
  6535. static const unsigned char kat224_nor_nonce[] = {
  6536. 0x04, 0x17, 0xf1, 0x4f, 0x96, 0xf2, 0x02, 0x9c,
  6537. };
  6538. static const unsigned char kat224_nor_persstr[] = {
  6539. 0xec, 0x5c, 0x55, 0x14, 0x5a, 0x4f, 0x95, 0x52, 0xf2, 0x51, 0xf7, 0xdf,
  6540. 0xb0, 0x17, 0xc1, 0xd4,
  6541. };
  6542. static const unsigned char kat224_nor_addin0[] = {0};
  6543. static const unsigned char kat224_nor_addin1[] = {0};
  6544. static const unsigned char kat224_nor_retbytes[] = {
  6545. 0xfe, 0x2c, 0xa4, 0x44, 0x55, 0xa5, 0xe7, 0xde, 0x70, 0x8a, 0x71, 0x0a,
  6546. 0xb6, 0x46, 0xcf, 0xcf, 0xbc, 0x87, 0xd6, 0x78, 0xb3, 0xe9, 0x41, 0x06,
  6547. 0x3f, 0xa7, 0x01, 0xda, 0xc7, 0xcb, 0x4f, 0x09, 0x53, 0xaf, 0x8f, 0xce,
  6548. 0x45, 0x8c, 0xee, 0x54, 0x9f, 0x53, 0x7f, 0xa7, 0x71, 0xb8, 0x9b, 0x04,
  6549. 0x94, 0xc0, 0xbb, 0x5c, 0xfd, 0x35, 0xbf, 0x67, 0xf4, 0xb2, 0x70, 0xd6,
  6550. 0x20, 0x5f, 0x47, 0x03,
  6551. };
  6552. static const struct drbg_kat_no_reseed kat224_nor_t = {
  6553. 13, kat224_nor_entropyin, kat224_nor_nonce, kat224_nor_persstr,
  6554. kat224_nor_addin0, kat224_nor_addin1, kat224_nor_retbytes
  6555. };
  6556. static const struct drbg_kat kat224_nor = {
  6557. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat224_nor_t
  6558. };
  6559. static const unsigned char kat225_nor_entropyin[] = {
  6560. 0x1c, 0xdb, 0x74, 0x45, 0x59, 0xa8, 0x2c, 0x62, 0xfb, 0x3b, 0x15, 0xa2,
  6561. 0xa3, 0xaa, 0xd1, 0x89,
  6562. };
  6563. static const unsigned char kat225_nor_nonce[] = {
  6564. 0x43, 0x43, 0x2c, 0xe3, 0x0a, 0xe7, 0xf9, 0x6b,
  6565. };
  6566. static const unsigned char kat225_nor_persstr[] = {
  6567. 0xf5, 0x9a, 0xd9, 0x93, 0x9f, 0xcd, 0x6c, 0x0f, 0x47, 0x8c, 0xc5, 0x08,
  6568. 0x39, 0xf8, 0xff, 0xce,
  6569. };
  6570. static const unsigned char kat225_nor_addin0[] = {0};
  6571. static const unsigned char kat225_nor_addin1[] = {0};
  6572. static const unsigned char kat225_nor_retbytes[] = {
  6573. 0x91, 0xb9, 0xeb, 0xeb, 0x92, 0x9d, 0xc6, 0x99, 0x94, 0x91, 0x22, 0x97,
  6574. 0x0b, 0x21, 0x77, 0xd5, 0xd5, 0xb7, 0x05, 0x04, 0x2d, 0x3a, 0x0d, 0x60,
  6575. 0xd7, 0xd3, 0xbb, 0x21, 0x8b, 0x7a, 0x69, 0xe1, 0xcd, 0x68, 0x64, 0xb8,
  6576. 0xa2, 0x68, 0xca, 0x78, 0xc8, 0x34, 0x23, 0x2d, 0x0c, 0xb8, 0x8f, 0x93,
  6577. 0x77, 0x30, 0x08, 0x4b, 0x1e, 0xc7, 0xd2, 0x86, 0x7f, 0xbc, 0x85, 0x0e,
  6578. 0x04, 0x05, 0x03, 0x24,
  6579. };
  6580. static const struct drbg_kat_no_reseed kat225_nor_t = {
  6581. 14, kat225_nor_entropyin, kat225_nor_nonce, kat225_nor_persstr,
  6582. kat225_nor_addin0, kat225_nor_addin1, kat225_nor_retbytes
  6583. };
  6584. static const struct drbg_kat kat225_nor = {
  6585. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 0, 64, &kat225_nor_t
  6586. };
  6587. static const unsigned char kat226_nor_entropyin[] = {
  6588. 0x71, 0xba, 0x02, 0x9a, 0x7a, 0x92, 0x39, 0x1b, 0x3f, 0x29, 0x4f, 0x2f,
  6589. 0xbf, 0x57, 0x27, 0xab,
  6590. };
  6591. static const unsigned char kat226_nor_nonce[] = {
  6592. 0xf0, 0xe9, 0x12, 0x78, 0x8f, 0x98, 0x27, 0xff,
  6593. };
  6594. static const unsigned char kat226_nor_persstr[] = {
  6595. 0x23, 0xf3, 0x69, 0x80, 0xda, 0x40, 0x16, 0x64, 0x2c, 0x81, 0x0d, 0xa2,
  6596. 0x99, 0x0a, 0xa2, 0x5e,
  6597. };
  6598. static const unsigned char kat226_nor_addin0[] = {
  6599. 0x59, 0xab, 0x41, 0xb2, 0x4e, 0xe8, 0xe2, 0x71, 0xe2, 0x53, 0xc6, 0xcc,
  6600. 0x40, 0x48, 0x7c, 0xb5,
  6601. };
  6602. static const unsigned char kat226_nor_addin1[] = {
  6603. 0x91, 0x64, 0xf0, 0x28, 0x60, 0x77, 0x3e, 0x3b, 0x96, 0xd8, 0x5b, 0x37,
  6604. 0x38, 0x38, 0x50, 0x66,
  6605. };
  6606. static const unsigned char kat226_nor_retbytes[] = {
  6607. 0xde, 0x1b, 0x8a, 0x25, 0x95, 0x89, 0x23, 0x54, 0xda, 0x47, 0xb4, 0xea,
  6608. 0xaf, 0x9d, 0xdc, 0xec, 0x64, 0xa9, 0x61, 0x01, 0x17, 0xb0, 0x5e, 0x40,
  6609. 0xd0, 0x76, 0x60, 0xa8, 0x0b, 0xcf, 0x82, 0x5e, 0xef, 0xdb, 0xd2, 0x8e,
  6610. 0x07, 0xd5, 0x96, 0x81, 0xf9, 0xe0, 0x03, 0x7b, 0xdb, 0x72, 0x5f, 0xe6,
  6611. 0xce, 0x84, 0x6d, 0x82, 0x4b, 0x3b, 0x34, 0xc2, 0xc2, 0x1a, 0x48, 0xf8,
  6612. 0x89, 0x5f, 0x9f, 0x5e,
  6613. };
  6614. static const struct drbg_kat_no_reseed kat226_nor_t = {
  6615. 0, kat226_nor_entropyin, kat226_nor_nonce, kat226_nor_persstr,
  6616. kat226_nor_addin0, kat226_nor_addin1, kat226_nor_retbytes
  6617. };
  6618. static const struct drbg_kat kat226_nor = {
  6619. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat226_nor_t
  6620. };
  6621. static const unsigned char kat227_nor_entropyin[] = {
  6622. 0x67, 0x73, 0x94, 0xf0, 0x3e, 0xac, 0xb5, 0xa1, 0x37, 0x51, 0x5f, 0xcd,
  6623. 0x3e, 0xa2, 0xbb, 0xc7,
  6624. };
  6625. static const unsigned char kat227_nor_nonce[] = {
  6626. 0x9a, 0x5c, 0x1c, 0xea, 0x26, 0xef, 0xbf, 0x76,
  6627. };
  6628. static const unsigned char kat227_nor_persstr[] = {
  6629. 0xdd, 0x73, 0xb1, 0x8e, 0xee, 0x62, 0x94, 0x34, 0x9a, 0xa6, 0x45, 0x6d,
  6630. 0xaa, 0x77, 0xd2, 0x4f,
  6631. };
  6632. static const unsigned char kat227_nor_addin0[] = {
  6633. 0xeb, 0x70, 0x19, 0x82, 0x6d, 0xb3, 0x27, 0x17, 0xa5, 0x73, 0x5e, 0xb4,
  6634. 0x07, 0x73, 0xea, 0x56,
  6635. };
  6636. static const unsigned char kat227_nor_addin1[] = {
  6637. 0xb6, 0x2d, 0xe2, 0xb4, 0xaa, 0x8d, 0x97, 0xf5, 0x26, 0xdd, 0xba, 0x44,
  6638. 0x09, 0xf5, 0xaa, 0x26,
  6639. };
  6640. static const unsigned char kat227_nor_retbytes[] = {
  6641. 0x22, 0x22, 0xa6, 0xbb, 0x0f, 0xfe, 0x14, 0xd2, 0xf7, 0x89, 0xe6, 0x4d,
  6642. 0xcd, 0xf4, 0x78, 0x51, 0xa6, 0xc3, 0xa6, 0xe1, 0xd0, 0x83, 0x7d, 0x8b,
  6643. 0x51, 0x1a, 0xa2, 0xf5, 0x6a, 0x6d, 0x08, 0x53, 0x4c, 0x97, 0xf4, 0xb1,
  6644. 0x2a, 0x77, 0x44, 0x7d, 0xb2, 0x04, 0x09, 0xd3, 0x27, 0xfc, 0x08, 0x81,
  6645. 0x62, 0xc0, 0xf2, 0xc5, 0x9f, 0xe4, 0x7e, 0x8c, 0x92, 0xae, 0x5d, 0xcd,
  6646. 0xd7, 0x38, 0xc7, 0x68,
  6647. };
  6648. static const struct drbg_kat_no_reseed kat227_nor_t = {
  6649. 1, kat227_nor_entropyin, kat227_nor_nonce, kat227_nor_persstr,
  6650. kat227_nor_addin0, kat227_nor_addin1, kat227_nor_retbytes
  6651. };
  6652. static const struct drbg_kat kat227_nor = {
  6653. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat227_nor_t
  6654. };
  6655. static const unsigned char kat228_nor_entropyin[] = {
  6656. 0x3f, 0x51, 0xf6, 0xcc, 0xf2, 0x24, 0x79, 0xed, 0x89, 0x1b, 0x89, 0x1f,
  6657. 0xc4, 0xc6, 0xb5, 0x51,
  6658. };
  6659. static const unsigned char kat228_nor_nonce[] = {
  6660. 0x19, 0xe0, 0x75, 0x4f, 0x7b, 0xfa, 0x0c, 0xef,
  6661. };
  6662. static const unsigned char kat228_nor_persstr[] = {
  6663. 0x40, 0x2a, 0x1d, 0xab, 0x45, 0x0e, 0xa9, 0x04, 0x97, 0x38, 0x78, 0x2a,
  6664. 0x93, 0x34, 0x7a, 0xff,
  6665. };
  6666. static const unsigned char kat228_nor_addin0[] = {
  6667. 0x52, 0xc9, 0x0f, 0x57, 0x1c, 0x8c, 0x63, 0xf0, 0xdc, 0xdb, 0xd4, 0xe6,
  6668. 0xc9, 0x65, 0x34, 0x78,
  6669. };
  6670. static const unsigned char kat228_nor_addin1[] = {
  6671. 0x8b, 0xe6, 0x3b, 0x5e, 0xf2, 0x12, 0x69, 0x4e, 0xdb, 0xc2, 0xc8, 0xde,
  6672. 0xc9, 0xa0, 0x58, 0x7b,
  6673. };
  6674. static const unsigned char kat228_nor_retbytes[] = {
  6675. 0x1a, 0xbf, 0xe2, 0xd7, 0x21, 0x93, 0xb6, 0xe3, 0xd9, 0xbe, 0x85, 0x10,
  6676. 0x7e, 0xce, 0x8f, 0xea, 0x5d, 0x22, 0x95, 0x68, 0x56, 0x8c, 0x93, 0xeb,
  6677. 0x5e, 0xae, 0xd4, 0x63, 0xbf, 0x2b, 0x79, 0xcf, 0xdb, 0xd0, 0x47, 0x40,
  6678. 0x2f, 0xf4, 0xe4, 0x22, 0x34, 0xc4, 0xe3, 0xe1, 0x50, 0xc1, 0xf0, 0xe8,
  6679. 0x24, 0x00, 0xf6, 0xa5, 0x9e, 0xeb, 0xd0, 0x92, 0xee, 0x73, 0xad, 0xf1,
  6680. 0xff, 0xca, 0x64, 0x94,
  6681. };
  6682. static const struct drbg_kat_no_reseed kat228_nor_t = {
  6683. 2, kat228_nor_entropyin, kat228_nor_nonce, kat228_nor_persstr,
  6684. kat228_nor_addin0, kat228_nor_addin1, kat228_nor_retbytes
  6685. };
  6686. static const struct drbg_kat kat228_nor = {
  6687. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat228_nor_t
  6688. };
  6689. static const unsigned char kat229_nor_entropyin[] = {
  6690. 0x5a, 0x01, 0xb6, 0x38, 0x31, 0x1a, 0x29, 0x6b, 0xfe, 0x1f, 0x6e, 0x18,
  6691. 0x0f, 0x24, 0x3d, 0x5b,
  6692. };
  6693. static const unsigned char kat229_nor_nonce[] = {
  6694. 0x16, 0xbb, 0x4e, 0x36, 0xfd, 0x04, 0xb0, 0x5b,
  6695. };
  6696. static const unsigned char kat229_nor_persstr[] = {
  6697. 0xd5, 0x44, 0x0a, 0x6f, 0xa4, 0xd3, 0x45, 0xcb, 0x84, 0xd5, 0x6d, 0xec,
  6698. 0xaa, 0x3d, 0xbd, 0x18,
  6699. };
  6700. static const unsigned char kat229_nor_addin0[] = {
  6701. 0xbd, 0x3e, 0x11, 0xdb, 0xb9, 0xf4, 0x0a, 0x13, 0x51, 0xc8, 0xbf, 0x7b,
  6702. 0xd8, 0x94, 0xad, 0x20,
  6703. };
  6704. static const unsigned char kat229_nor_addin1[] = {
  6705. 0xe0, 0x4a, 0x83, 0xa5, 0x18, 0x75, 0x15, 0x10, 0x4a, 0xa1, 0xe7, 0xf4,
  6706. 0x34, 0xff, 0x43, 0x36,
  6707. };
  6708. static const unsigned char kat229_nor_retbytes[] = {
  6709. 0x27, 0x28, 0xfc, 0xc1, 0xfe, 0xa7, 0xfe, 0x63, 0x5d, 0xdf, 0xed, 0x8b,
  6710. 0xb3, 0xf7, 0xca, 0x29, 0xe1, 0xcb, 0xd8, 0x51, 0x6a, 0x2b, 0x5e, 0xab,
  6711. 0xb7, 0xd0, 0x91, 0xe6, 0xe7, 0xf2, 0x04, 0x6a, 0x80, 0x77, 0xef, 0x6d,
  6712. 0x1a, 0x90, 0x16, 0x5f, 0x18, 0x9d, 0x07, 0xa8, 0x97, 0xcd, 0xfc, 0x06,
  6713. 0x88, 0x2a, 0xdb, 0x78, 0x1b, 0xe5, 0x89, 0xe0, 0xe5, 0xeb, 0x2d, 0xc9,
  6714. 0x7b, 0xe6, 0x54, 0x6b,
  6715. };
  6716. static const struct drbg_kat_no_reseed kat229_nor_t = {
  6717. 3, kat229_nor_entropyin, kat229_nor_nonce, kat229_nor_persstr,
  6718. kat229_nor_addin0, kat229_nor_addin1, kat229_nor_retbytes
  6719. };
  6720. static const struct drbg_kat kat229_nor = {
  6721. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat229_nor_t
  6722. };
  6723. static const unsigned char kat230_nor_entropyin[] = {
  6724. 0x97, 0xe4, 0x15, 0xb3, 0xca, 0x11, 0x0a, 0x80, 0x9e, 0xa6, 0x00, 0xa1,
  6725. 0x3e, 0x47, 0xaa, 0x04,
  6726. };
  6727. static const unsigned char kat230_nor_nonce[] = {
  6728. 0x12, 0x6e, 0x16, 0xdc, 0x57, 0x22, 0xa4, 0x49,
  6729. };
  6730. static const unsigned char kat230_nor_persstr[] = {
  6731. 0xa9, 0xbe, 0x38, 0xe3, 0x01, 0x19, 0x86, 0xb9, 0x04, 0x71, 0x71, 0x93,
  6732. 0xec, 0x4a, 0x7d, 0x4c,
  6733. };
  6734. static const unsigned char kat230_nor_addin0[] = {
  6735. 0x19, 0x68, 0x69, 0x92, 0x21, 0xeb, 0x8b, 0x5e, 0xd0, 0x23, 0xa5, 0xd2,
  6736. 0xd2, 0xd8, 0x12, 0x56,
  6737. };
  6738. static const unsigned char kat230_nor_addin1[] = {
  6739. 0x4b, 0x5e, 0x1b, 0xde, 0x38, 0xb2, 0xa9, 0x79, 0x3b, 0x16, 0x6d, 0x86,
  6740. 0x81, 0x6e, 0xd2, 0x31,
  6741. };
  6742. static const unsigned char kat230_nor_retbytes[] = {
  6743. 0x4b, 0xe9, 0x89, 0x89, 0xdf, 0x2f, 0xe6, 0x68, 0x7e, 0x50, 0x88, 0xe5,
  6744. 0x06, 0x98, 0x50, 0x7d, 0x91, 0x06, 0x1a, 0x8d, 0x6e, 0xb9, 0x5d, 0x66,
  6745. 0x27, 0xd2, 0xb8, 0x57, 0x25, 0x3f, 0x05, 0x3c, 0x99, 0xee, 0x79, 0x84,
  6746. 0xa4, 0x98, 0xde, 0x4d, 0xf3, 0x12, 0x44, 0x42, 0x85, 0x6f, 0x18, 0xe9,
  6747. 0x8e, 0x66, 0x41, 0xf1, 0x52, 0xcd, 0x12, 0x9b, 0xd0, 0x4e, 0x99, 0x71,
  6748. 0x09, 0x30, 0xc3, 0xe1,
  6749. };
  6750. static const struct drbg_kat_no_reseed kat230_nor_t = {
  6751. 4, kat230_nor_entropyin, kat230_nor_nonce, kat230_nor_persstr,
  6752. kat230_nor_addin0, kat230_nor_addin1, kat230_nor_retbytes
  6753. };
  6754. static const struct drbg_kat kat230_nor = {
  6755. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat230_nor_t
  6756. };
  6757. static const unsigned char kat231_nor_entropyin[] = {
  6758. 0xb6, 0xc4, 0xcd, 0x96, 0xf7, 0xfd, 0xe8, 0x3e, 0xb5, 0x71, 0x22, 0x9b,
  6759. 0x53, 0x7a, 0xcf, 0x5a,
  6760. };
  6761. static const unsigned char kat231_nor_nonce[] = {
  6762. 0x4c, 0x4e, 0x0a, 0xac, 0xb5, 0xc5, 0x28, 0xe7,
  6763. };
  6764. static const unsigned char kat231_nor_persstr[] = {
  6765. 0x5c, 0xe1, 0x09, 0x4d, 0x0d, 0x30, 0x7b, 0x41, 0xdb, 0x9b, 0xf2, 0x6d,
  6766. 0xa4, 0x1d, 0xb1, 0x00,
  6767. };
  6768. static const unsigned char kat231_nor_addin0[] = {
  6769. 0x98, 0x04, 0x7e, 0xe9, 0x87, 0x63, 0x7e, 0x45, 0x84, 0xfe, 0x7f, 0xe2,
  6770. 0x86, 0x9c, 0x84, 0x5d,
  6771. };
  6772. static const unsigned char kat231_nor_addin1[] = {
  6773. 0x17, 0x7e, 0x3c, 0x29, 0xd4, 0xfa, 0xf0, 0x43, 0x07, 0x7f, 0xbe, 0xfe,
  6774. 0x0b, 0x99, 0x4b, 0x91,
  6775. };
  6776. static const unsigned char kat231_nor_retbytes[] = {
  6777. 0x5e, 0xaf, 0x01, 0x3f, 0xd3, 0x77, 0x5a, 0x2d, 0x3e, 0x97, 0x16, 0x6d,
  6778. 0x23, 0x15, 0x3a, 0x00, 0xf1, 0x86, 0x44, 0x96, 0x3e, 0x69, 0xcb, 0x96,
  6779. 0x2a, 0x7b, 0xd2, 0xc3, 0x0a, 0xf9, 0xbd, 0x6a, 0x29, 0xd4, 0xbc, 0x70,
  6780. 0x93, 0x0a, 0x92, 0x9b, 0x92, 0x52, 0xd8, 0x08, 0xdb, 0x41, 0x0c, 0x66,
  6781. 0x41, 0x23, 0xbd, 0x69, 0xc1, 0xd0, 0xc1, 0xd4, 0xba, 0x3c, 0x7d, 0x8f,
  6782. 0xf7, 0xae, 0x00, 0xf0,
  6783. };
  6784. static const struct drbg_kat_no_reseed kat231_nor_t = {
  6785. 5, kat231_nor_entropyin, kat231_nor_nonce, kat231_nor_persstr,
  6786. kat231_nor_addin0, kat231_nor_addin1, kat231_nor_retbytes
  6787. };
  6788. static const struct drbg_kat kat231_nor = {
  6789. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat231_nor_t
  6790. };
  6791. static const unsigned char kat232_nor_entropyin[] = {
  6792. 0x2d, 0x1b, 0x80, 0x61, 0xd7, 0xd5, 0x83, 0xf8, 0x3b, 0xe5, 0x53, 0xc4,
  6793. 0x83, 0x72, 0x12, 0xa0,
  6794. };
  6795. static const unsigned char kat232_nor_nonce[] = {
  6796. 0x62, 0xa1, 0xfa, 0x74, 0x53, 0x62, 0xba, 0xce,
  6797. };
  6798. static const unsigned char kat232_nor_persstr[] = {
  6799. 0x4d, 0x97, 0x6a, 0xdd, 0x18, 0xd5, 0xe2, 0x48, 0x4f, 0x67, 0xf7, 0xc8,
  6800. 0x4c, 0xc6, 0x8b, 0x52,
  6801. };
  6802. static const unsigned char kat232_nor_addin0[] = {
  6803. 0x57, 0x64, 0xde, 0x5d, 0xb9, 0x7e, 0x22, 0x3c, 0x04, 0x4a, 0x83, 0x3f,
  6804. 0xa4, 0x2c, 0xf6, 0x29,
  6805. };
  6806. static const unsigned char kat232_nor_addin1[] = {
  6807. 0xde, 0xef, 0x8d, 0x58, 0x1f, 0x6e, 0x4f, 0x80, 0x89, 0x92, 0xfd, 0x20,
  6808. 0xc0, 0x6e, 0x10, 0x2d,
  6809. };
  6810. static const unsigned char kat232_nor_retbytes[] = {
  6811. 0xac, 0xb7, 0x8f, 0x27, 0x33, 0x50, 0xd4, 0x59, 0xc7, 0x98, 0x09, 0xd8,
  6812. 0x9b, 0x40, 0x28, 0x25, 0xbb, 0x00, 0xe3, 0x8a, 0xbd, 0x5e, 0xc1, 0x2f,
  6813. 0xea, 0xdc, 0xde, 0xf6, 0x11, 0x46, 0x84, 0xb6, 0xfc, 0xb0, 0xe1, 0x76,
  6814. 0xcb, 0xe4, 0x65, 0x91, 0x0f, 0xc2, 0x84, 0x8f, 0x0a, 0x70, 0x88, 0x44,
  6815. 0x79, 0x4c, 0x5e, 0xea, 0xfe, 0xad, 0xa7, 0x56, 0x3c, 0x38, 0xc3, 0xee,
  6816. 0x63, 0xc9, 0x7e, 0xf9,
  6817. };
  6818. static const struct drbg_kat_no_reseed kat232_nor_t = {
  6819. 6, kat232_nor_entropyin, kat232_nor_nonce, kat232_nor_persstr,
  6820. kat232_nor_addin0, kat232_nor_addin1, kat232_nor_retbytes
  6821. };
  6822. static const struct drbg_kat kat232_nor = {
  6823. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat232_nor_t
  6824. };
  6825. static const unsigned char kat233_nor_entropyin[] = {
  6826. 0xef, 0x30, 0xfd, 0x99, 0x5f, 0xf0, 0xef, 0x44, 0xcc, 0xe6, 0x07, 0x7b,
  6827. 0xb2, 0x2d, 0xe6, 0x99,
  6828. };
  6829. static const unsigned char kat233_nor_nonce[] = {
  6830. 0x85, 0xc7, 0xd6, 0x05, 0x4a, 0x57, 0x76, 0x22,
  6831. };
  6832. static const unsigned char kat233_nor_persstr[] = {
  6833. 0x5d, 0x59, 0xb3, 0xf0, 0x25, 0x00, 0x60, 0xe2, 0x20, 0x02, 0xad, 0xf7,
  6834. 0x06, 0x48, 0x6d, 0x85,
  6835. };
  6836. static const unsigned char kat233_nor_addin0[] = {
  6837. 0x79, 0x46, 0x81, 0xf7, 0x5d, 0xf9, 0xc9, 0x88, 0x30, 0x3f, 0x75, 0x1f,
  6838. 0xb7, 0xe7, 0xfb, 0xa9,
  6839. };
  6840. static const unsigned char kat233_nor_addin1[] = {
  6841. 0x7b, 0x13, 0x74, 0xc8, 0x47, 0x25, 0x37, 0xfa, 0x31, 0x11, 0xeb, 0x44,
  6842. 0xe5, 0x2a, 0xfa, 0x23,
  6843. };
  6844. static const unsigned char kat233_nor_retbytes[] = {
  6845. 0xb0, 0x49, 0x50, 0xf1, 0xa3, 0x57, 0x52, 0xc0, 0x67, 0xbc, 0xe8, 0x35,
  6846. 0x76, 0x35, 0xf4, 0x70, 0xd1, 0x0b, 0x3b, 0xae, 0x47, 0x46, 0x6f, 0xd1,
  6847. 0x16, 0x6f, 0x9f, 0xfa, 0xef, 0xbd, 0x32, 0x4b, 0x26, 0x53, 0xc7, 0xf3,
  6848. 0x0e, 0xe4, 0x84, 0x86, 0x73, 0xd7, 0x04, 0x18, 0x65, 0xd9, 0x95, 0x45,
  6849. 0x12, 0x58, 0x94, 0x92, 0x98, 0x9a, 0x00, 0xea, 0x4d, 0xa1, 0xdd, 0x28,
  6850. 0x9e, 0x87, 0x17, 0xc3,
  6851. };
  6852. static const struct drbg_kat_no_reseed kat233_nor_t = {
  6853. 7, kat233_nor_entropyin, kat233_nor_nonce, kat233_nor_persstr,
  6854. kat233_nor_addin0, kat233_nor_addin1, kat233_nor_retbytes
  6855. };
  6856. static const struct drbg_kat kat233_nor = {
  6857. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat233_nor_t
  6858. };
  6859. static const unsigned char kat234_nor_entropyin[] = {
  6860. 0xee, 0x4b, 0xde, 0x4f, 0x71, 0x2d, 0xc9, 0xfc, 0x1f, 0x2c, 0x01, 0xf1,
  6861. 0xc6, 0x08, 0x6f, 0x35,
  6862. };
  6863. static const unsigned char kat234_nor_nonce[] = {
  6864. 0xf6, 0x83, 0x7c, 0xfe, 0x53, 0xec, 0x48, 0x74,
  6865. };
  6866. static const unsigned char kat234_nor_persstr[] = {
  6867. 0xfd, 0xb8, 0xf6, 0x4d, 0x99, 0xbd, 0x71, 0x7e, 0xee, 0x3d, 0x89, 0x35,
  6868. 0x3b, 0x73, 0xc9, 0xc1,
  6869. };
  6870. static const unsigned char kat234_nor_addin0[] = {
  6871. 0x09, 0xe5, 0xba, 0x3b, 0x23, 0x89, 0x5c, 0x5d, 0xff, 0x89, 0x38, 0x2d,
  6872. 0x5e, 0x91, 0x70, 0x0d,
  6873. };
  6874. static const unsigned char kat234_nor_addin1[] = {
  6875. 0xeb, 0x1a, 0x98, 0xde, 0x89, 0x62, 0xbb, 0xc4, 0xcb, 0x75, 0xcf, 0x0b,
  6876. 0xf0, 0xf8, 0xdf, 0xa4,
  6877. };
  6878. static const unsigned char kat234_nor_retbytes[] = {
  6879. 0xaa, 0xcd, 0xee, 0x0f, 0x3d, 0x1f, 0x95, 0x5f, 0x89, 0x6d, 0x5a, 0x5a,
  6880. 0x25, 0x30, 0xfd, 0x80, 0x9a, 0x20, 0x2c, 0x92, 0x1d, 0x90, 0xa9, 0xcf,
  6881. 0x59, 0x3e, 0x03, 0x93, 0x4e, 0x07, 0xc3, 0x92, 0xcc, 0x55, 0x54, 0xf5,
  6882. 0x99, 0x21, 0xb4, 0x0c, 0xc0, 0x03, 0xfc, 0x26, 0x82, 0xca, 0xef, 0x9e,
  6883. 0x6e, 0x61, 0xee, 0x4a, 0xbf, 0x45, 0x14, 0x8e, 0x5f, 0xf3, 0xff, 0x65,
  6884. 0x87, 0x1b, 0x0d, 0x81,
  6885. };
  6886. static const struct drbg_kat_no_reseed kat234_nor_t = {
  6887. 8, kat234_nor_entropyin, kat234_nor_nonce, kat234_nor_persstr,
  6888. kat234_nor_addin0, kat234_nor_addin1, kat234_nor_retbytes
  6889. };
  6890. static const struct drbg_kat kat234_nor = {
  6891. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat234_nor_t
  6892. };
  6893. static const unsigned char kat235_nor_entropyin[] = {
  6894. 0xa6, 0xaa, 0x94, 0x5e, 0xbe, 0x19, 0x29, 0x98, 0xbe, 0x8e, 0x24, 0x7d,
  6895. 0xb9, 0x9c, 0xe7, 0xd0,
  6896. };
  6897. static const unsigned char kat235_nor_nonce[] = {
  6898. 0x7d, 0xff, 0x26, 0xe9, 0x7a, 0x0a, 0x8d, 0xba,
  6899. };
  6900. static const unsigned char kat235_nor_persstr[] = {
  6901. 0x4b, 0x6c, 0xcf, 0xac, 0x6c, 0x47, 0xfd, 0x65, 0x64, 0xbc, 0xfd, 0x94,
  6902. 0xfe, 0x9e, 0xb2, 0x8d,
  6903. };
  6904. static const unsigned char kat235_nor_addin0[] = {
  6905. 0x07, 0x83, 0x70, 0x53, 0xd2, 0x4c, 0xd0, 0xf4, 0xf4, 0x32, 0x7e, 0x97,
  6906. 0xd2, 0x9d, 0x67, 0x95,
  6907. };
  6908. static const unsigned char kat235_nor_addin1[] = {
  6909. 0x3b, 0x17, 0x2d, 0xdc, 0x8d, 0x38, 0x3b, 0x98, 0xd4, 0x08, 0x39, 0x4c,
  6910. 0x0b, 0xa1, 0x52, 0xc1,
  6911. };
  6912. static const unsigned char kat235_nor_retbytes[] = {
  6913. 0xd9, 0x0a, 0xa4, 0x22, 0xa8, 0xd2, 0xb8, 0x6e, 0x1f, 0x09, 0xde, 0x29,
  6914. 0xdd, 0x16, 0xd4, 0x60, 0x50, 0x98, 0xa4, 0x5a, 0xea, 0xbe, 0x69, 0xc6,
  6915. 0xbc, 0x8a, 0xe0, 0xc8, 0xf0, 0x1b, 0x7c, 0xc7, 0x3f, 0x88, 0x50, 0xec,
  6916. 0x0c, 0x47, 0xd6, 0x16, 0xcb, 0x6c, 0xca, 0xb7, 0x7f, 0x22, 0x07, 0x99,
  6917. 0x38, 0xed, 0x11, 0xb4, 0x8f, 0xcf, 0x3c, 0xf4, 0x6a, 0x3f, 0x64, 0x2f,
  6918. 0x05, 0xae, 0xb8, 0xb7,
  6919. };
  6920. static const struct drbg_kat_no_reseed kat235_nor_t = {
  6921. 9, kat235_nor_entropyin, kat235_nor_nonce, kat235_nor_persstr,
  6922. kat235_nor_addin0, kat235_nor_addin1, kat235_nor_retbytes
  6923. };
  6924. static const struct drbg_kat kat235_nor = {
  6925. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat235_nor_t
  6926. };
  6927. static const unsigned char kat236_nor_entropyin[] = {
  6928. 0x7e, 0xb5, 0x0f, 0x53, 0x2b, 0x00, 0x76, 0x52, 0x8e, 0x2d, 0x1f, 0x26,
  6929. 0x6b, 0x38, 0x14, 0x06,
  6930. };
  6931. static const unsigned char kat236_nor_nonce[] = {
  6932. 0x2a, 0x5e, 0x92, 0xe8, 0xfb, 0xf0, 0xe9, 0xee,
  6933. };
  6934. static const unsigned char kat236_nor_persstr[] = {
  6935. 0x7e, 0xcb, 0xfd, 0x22, 0x98, 0x87, 0x2a, 0x79, 0x34, 0xe4, 0xed, 0x61,
  6936. 0xa9, 0xf0, 0x04, 0xcd,
  6937. };
  6938. static const unsigned char kat236_nor_addin0[] = {
  6939. 0x17, 0x9f, 0xa5, 0xd2, 0xeb, 0x90, 0xd4, 0x15, 0x48, 0x19, 0x2c, 0xc7,
  6940. 0x44, 0x98, 0xbd, 0x42,
  6941. };
  6942. static const unsigned char kat236_nor_addin1[] = {
  6943. 0x92, 0xdc, 0x9d, 0x60, 0xd2, 0xe3, 0x6d, 0x4b, 0xfb, 0x97, 0x90, 0x78,
  6944. 0x3d, 0x1c, 0x58, 0x19,
  6945. };
  6946. static const unsigned char kat236_nor_retbytes[] = {
  6947. 0x9a, 0x17, 0x1b, 0x50, 0x48, 0xba, 0xf1, 0x37, 0x5c, 0x14, 0x07, 0xa8,
  6948. 0xdc, 0x1c, 0x8e, 0xda, 0x53, 0x2d, 0xf5, 0x52, 0x96, 0x77, 0x06, 0x88,
  6949. 0x4e, 0x5f, 0xe3, 0xd4, 0x67, 0x86, 0x07, 0x74, 0x48, 0xf2, 0x8f, 0x89,
  6950. 0xb3, 0x8e, 0xb7, 0x64, 0xdf, 0x7e, 0x0e, 0x3b, 0x40, 0x1a, 0xed, 0x3a,
  6951. 0x23, 0x06, 0xfa, 0x2b, 0xed, 0xe3, 0x82, 0xaa, 0xe1, 0x08, 0xe1, 0x6a,
  6952. 0xb4, 0x85, 0x69, 0x1e,
  6953. };
  6954. static const struct drbg_kat_no_reseed kat236_nor_t = {
  6955. 10, kat236_nor_entropyin, kat236_nor_nonce, kat236_nor_persstr,
  6956. kat236_nor_addin0, kat236_nor_addin1, kat236_nor_retbytes
  6957. };
  6958. static const struct drbg_kat kat236_nor = {
  6959. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat236_nor_t
  6960. };
  6961. static const unsigned char kat237_nor_entropyin[] = {
  6962. 0x7d, 0x33, 0x40, 0xa8, 0xb1, 0xe1, 0x51, 0x71, 0xee, 0x34, 0x03, 0xcc,
  6963. 0x19, 0xd3, 0xfe, 0xa9,
  6964. };
  6965. static const unsigned char kat237_nor_nonce[] = {
  6966. 0xfd, 0xe6, 0x97, 0xac, 0xc7, 0xe7, 0x2b, 0x75,
  6967. };
  6968. static const unsigned char kat237_nor_persstr[] = {
  6969. 0xa1, 0x28, 0x79, 0x71, 0x79, 0xc5, 0xca, 0xd6, 0xa9, 0xb4, 0x76, 0xff,
  6970. 0x99, 0xf9, 0x82, 0x8f,
  6971. };
  6972. static const unsigned char kat237_nor_addin0[] = {
  6973. 0x2d, 0xfa, 0x30, 0x85, 0xfa, 0x02, 0x3b, 0x53, 0x61, 0xdb, 0xa7, 0x9d,
  6974. 0x40, 0x77, 0x38, 0xbc,
  6975. };
  6976. static const unsigned char kat237_nor_addin1[] = {
  6977. 0xae, 0xf5, 0x3a, 0xf3, 0xbe, 0x89, 0x41, 0xe7, 0xd2, 0x71, 0x3c, 0x71,
  6978. 0x28, 0x41, 0xdc, 0x68,
  6979. };
  6980. static const unsigned char kat237_nor_retbytes[] = {
  6981. 0xc1, 0xf7, 0x25, 0xb2, 0x90, 0xed, 0x13, 0x10, 0xdd, 0x3f, 0x39, 0xe9,
  6982. 0x9c, 0x7a, 0x65, 0xb8, 0x01, 0xb4, 0x74, 0x2f, 0x50, 0x66, 0xb3, 0xc7,
  6983. 0x1b, 0xb4, 0x6f, 0x3d, 0xe7, 0x4d, 0xd2, 0xca, 0xae, 0xa4, 0x08, 0x21,
  6984. 0x17, 0x4f, 0x67, 0x67, 0x22, 0xdb, 0x38, 0xfe, 0xda, 0x5d, 0x10, 0x96,
  6985. 0xc7, 0x9a, 0xd1, 0xea, 0xbe, 0xff, 0x78, 0xde, 0xf0, 0x84, 0x7a, 0x24,
  6986. 0x23, 0xbb, 0x46, 0x02,
  6987. };
  6988. static const struct drbg_kat_no_reseed kat237_nor_t = {
  6989. 11, kat237_nor_entropyin, kat237_nor_nonce, kat237_nor_persstr,
  6990. kat237_nor_addin0, kat237_nor_addin1, kat237_nor_retbytes
  6991. };
  6992. static const struct drbg_kat kat237_nor = {
  6993. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat237_nor_t
  6994. };
  6995. static const unsigned char kat238_nor_entropyin[] = {
  6996. 0x05, 0x71, 0xd4, 0x1f, 0x98, 0xb7, 0x1e, 0xad, 0x41, 0x5f, 0xcb, 0x97,
  6997. 0xfd, 0x05, 0xa1, 0xf1,
  6998. };
  6999. static const unsigned char kat238_nor_nonce[] = {
  7000. 0x42, 0x16, 0x18, 0x2c, 0x09, 0x4c, 0x4b, 0x14,
  7001. };
  7002. static const unsigned char kat238_nor_persstr[] = {
  7003. 0x6b, 0xed, 0x5c, 0xc7, 0x26, 0x60, 0xf7, 0xfd, 0x4c, 0x32, 0xab, 0xe5,
  7004. 0xcb, 0x1a, 0xef, 0xed,
  7005. };
  7006. static const unsigned char kat238_nor_addin0[] = {
  7007. 0xb1, 0x98, 0x97, 0x3f, 0x68, 0x9c, 0x37, 0xeb, 0x63, 0x76, 0xa0, 0x88,
  7008. 0xa7, 0xc7, 0x3e, 0x97,
  7009. };
  7010. static const unsigned char kat238_nor_addin1[] = {
  7011. 0xdf, 0xf3, 0xa3, 0xb0, 0x72, 0x43, 0x02, 0xf8, 0x3b, 0x85, 0x4f, 0x2f,
  7012. 0xa8, 0xec, 0x34, 0x96,
  7013. };
  7014. static const unsigned char kat238_nor_retbytes[] = {
  7015. 0x66, 0x7d, 0xdb, 0x87, 0x07, 0x9b, 0x39, 0x49, 0x03, 0x0f, 0x41, 0xff,
  7016. 0x91, 0xb2, 0xec, 0x0a, 0x59, 0x8a, 0xb2, 0xd5, 0x5c, 0x99, 0xd0, 0x17,
  7017. 0xe4, 0xfc, 0x79, 0xe9, 0x4f, 0x15, 0xb4, 0x10, 0xcc, 0x29, 0x70, 0xff,
  7018. 0x01, 0x74, 0x82, 0xb2, 0x9e, 0xef, 0x2c, 0x25, 0x0a, 0x09, 0x12, 0x8a,
  7019. 0x18, 0x60, 0x5e, 0x0f, 0xa1, 0x4a, 0xcc, 0xe3, 0x7b, 0x89, 0xc4, 0x38,
  7020. 0xc8, 0x21, 0x31, 0x94,
  7021. };
  7022. static const struct drbg_kat_no_reseed kat238_nor_t = {
  7023. 12, kat238_nor_entropyin, kat238_nor_nonce, kat238_nor_persstr,
  7024. kat238_nor_addin0, kat238_nor_addin1, kat238_nor_retbytes
  7025. };
  7026. static const struct drbg_kat kat238_nor = {
  7027. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat238_nor_t
  7028. };
  7029. static const unsigned char kat239_nor_entropyin[] = {
  7030. 0x8e, 0xe3, 0xed, 0xc1, 0xc6, 0x4e, 0xa7, 0xd6, 0xf0, 0xba, 0xb9, 0x73,
  7031. 0x1e, 0x5d, 0x17, 0x62,
  7032. };
  7033. static const unsigned char kat239_nor_nonce[] = {
  7034. 0x92, 0xa1, 0x42, 0x26, 0x08, 0x7a, 0xfa, 0xfb,
  7035. };
  7036. static const unsigned char kat239_nor_persstr[] = {
  7037. 0x2a, 0x24, 0x04, 0xbe, 0xf6, 0xf7, 0x11, 0x34, 0x17, 0xdf, 0x0b, 0x18,
  7038. 0x54, 0xd8, 0x47, 0x3d,
  7039. };
  7040. static const unsigned char kat239_nor_addin0[] = {
  7041. 0xa2, 0x78, 0xe8, 0xa5, 0x0b, 0xcc, 0xd6, 0x12, 0x97, 0x4d, 0x02, 0x6e,
  7042. 0xde, 0xf7, 0x50, 0x1c,
  7043. };
  7044. static const unsigned char kat239_nor_addin1[] = {
  7045. 0xe7, 0x48, 0xf5, 0xe2, 0xf9, 0x8b, 0x48, 0x8e, 0x74, 0xb0, 0xbb, 0xd5,
  7046. 0x59, 0xb5, 0xba, 0xbc,
  7047. };
  7048. static const unsigned char kat239_nor_retbytes[] = {
  7049. 0x81, 0xec, 0xf8, 0xb7, 0xb0, 0x7c, 0x64, 0xce, 0xd1, 0xa4, 0x9b, 0x21,
  7050. 0x33, 0x54, 0x99, 0x5a, 0x7b, 0xf1, 0x68, 0xd3, 0x8a, 0x83, 0x0b, 0x15,
  7051. 0x70, 0x41, 0x4f, 0x5a, 0x20, 0x15, 0x49, 0x9e, 0x09, 0xaf, 0xf3, 0xbf,
  7052. 0x58, 0x37, 0x19, 0x88, 0x6f, 0xe9, 0x9d, 0x00, 0xe6, 0xd9, 0xeb, 0x9a,
  7053. 0x4f, 0xde, 0x29, 0xd8, 0xd9, 0x78, 0x8d, 0xd6, 0xff, 0xe2, 0x09, 0x83,
  7054. 0x9a, 0x73, 0x9c, 0xd2,
  7055. };
  7056. static const struct drbg_kat_no_reseed kat239_nor_t = {
  7057. 13, kat239_nor_entropyin, kat239_nor_nonce, kat239_nor_persstr,
  7058. kat239_nor_addin0, kat239_nor_addin1, kat239_nor_retbytes
  7059. };
  7060. static const struct drbg_kat kat239_nor = {
  7061. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat239_nor_t
  7062. };
  7063. static const unsigned char kat240_nor_entropyin[] = {
  7064. 0x06, 0x18, 0xc2, 0x88, 0x49, 0x14, 0x71, 0x22, 0x26, 0xad, 0x4e, 0x95,
  7065. 0x80, 0xc0, 0x95, 0x23,
  7066. };
  7067. static const unsigned char kat240_nor_nonce[] = {
  7068. 0x6e, 0xbc, 0x4d, 0x5d, 0xb4, 0x76, 0x7f, 0x5f,
  7069. };
  7070. static const unsigned char kat240_nor_persstr[] = {
  7071. 0x7a, 0x82, 0x50, 0xa3, 0xbc, 0xbd, 0x81, 0x54, 0xc5, 0x05, 0x8b, 0x55,
  7072. 0x1c, 0xf2, 0x20, 0x36,
  7073. };
  7074. static const unsigned char kat240_nor_addin0[] = {
  7075. 0x30, 0x26, 0x05, 0x32, 0xb5, 0x6c, 0x0f, 0x8e, 0xde, 0x9b, 0x72, 0x5c,
  7076. 0x32, 0x20, 0x8f, 0x31,
  7077. };
  7078. static const unsigned char kat240_nor_addin1[] = {
  7079. 0x1e, 0x90, 0xdc, 0x4f, 0x67, 0xc1, 0xcb, 0x2d, 0xa1, 0x2d, 0x10, 0xa0,
  7080. 0xb0, 0xfb, 0xb6, 0x26,
  7081. };
  7082. static const unsigned char kat240_nor_retbytes[] = {
  7083. 0x49, 0x93, 0x57, 0x58, 0x80, 0xd0, 0x01, 0x45, 0xc1, 0xf9, 0x67, 0xdb,
  7084. 0x25, 0xcc, 0xc8, 0xf3, 0x4c, 0xf0, 0xc6, 0x2a, 0xcc, 0xcb, 0xcf, 0xa0,
  7085. 0xe7, 0x2c, 0x89, 0xea, 0xcf, 0x9f, 0xbe, 0x56, 0x14, 0x50, 0x74, 0xe4,
  7086. 0xd4, 0x7f, 0x2b, 0x76, 0x74, 0xf4, 0xb0, 0xe0, 0x7e, 0xe3, 0xb5, 0x10,
  7087. 0x4b, 0xf7, 0xcc, 0xfe, 0xd8, 0x00, 0x1d, 0x67, 0x11, 0xc6, 0x6f, 0xda,
  7088. 0x94, 0x44, 0xfb, 0x8a,
  7089. };
  7090. static const struct drbg_kat_no_reseed kat240_nor_t = {
  7091. 14, kat240_nor_entropyin, kat240_nor_nonce, kat240_nor_persstr,
  7092. kat240_nor_addin0, kat240_nor_addin1, kat240_nor_retbytes
  7093. };
  7094. static const struct drbg_kat kat240_nor = {
  7095. NO_RESEED, USE_DF, NID_aes_128_ctr, 16, 8, 16, 16, 64, &kat240_nor_t
  7096. };
  7097. static const unsigned char kat480_nor_entropyin[] = {
  7098. 0x3d, 0x17, 0x4d, 0x98, 0xec, 0xa8, 0x0a, 0xe3, 0x9c, 0x75, 0xd2, 0x7f,
  7099. 0x97, 0xb9, 0x9e, 0x9b, 0x0f, 0x74, 0x2b, 0x32, 0xe3, 0x7b, 0x94, 0xe8,
  7100. };
  7101. static const unsigned char kat480_nor_nonce[] = {
  7102. 0xbc, 0xfc, 0x46, 0x13, 0x17, 0x5b, 0x6e, 0x35, 0x34, 0x08, 0xe2, 0x3b,
  7103. 0x85, 0x81, 0xe7, 0x05,
  7104. };
  7105. static const unsigned char kat480_nor_persstr[] = {
  7106. 0x3d, 0x0e, 0x9f, 0xa5, 0x61, 0x6f, 0xa2, 0x5a, 0x0d, 0x58, 0xdd, 0xbd,
  7107. 0xc4, 0xa6, 0xa8, 0xe5, 0x5b, 0xef, 0x05, 0x1d, 0xb6, 0xfe, 0xdc, 0x8b,
  7108. 0xe8, 0xd4, 0xc7, 0x52, 0xf1, 0xd2, 0xc9, 0x4a,
  7109. };
  7110. static const unsigned char kat480_nor_addin0[] = {
  7111. 0x87, 0x18, 0xb1, 0x5a, 0x55, 0x0f, 0x97, 0x89, 0x39, 0xf5, 0x82, 0x79,
  7112. 0xec, 0xda, 0xaf, 0xe7, 0x98, 0x0a, 0x1b, 0xbf, 0xe6, 0xb9, 0xde, 0x85,
  7113. 0xb9, 0xfe, 0x10, 0x7c, 0x72, 0xa8, 0xfe, 0x20,
  7114. };
  7115. static const unsigned char kat480_nor_addin1[] = {
  7116. 0x07, 0x88, 0x99, 0xf5, 0xa1, 0xed, 0xd1, 0xba, 0x8e, 0x10, 0xeb, 0x8e,
  7117. 0xfa, 0x2c, 0x98, 0xba, 0x17, 0x4c, 0x1b, 0xd3, 0x5a, 0x74, 0x41, 0x4c,
  7118. 0xff, 0x86, 0x23, 0x63, 0x3a, 0xc1, 0xc2, 0x5b,
  7119. };
  7120. static const unsigned char kat480_nor_retbytes[] = {
  7121. 0x74, 0xe1, 0x55, 0xa5, 0x70, 0x7e, 0xb1, 0x9b, 0x79, 0xcf, 0x7e, 0xfc,
  7122. 0xe1, 0xc4, 0x23, 0x7b, 0xac, 0x69, 0xe3, 0xf9, 0x31, 0x14, 0x11, 0xc9,
  7123. 0x2d, 0xac, 0xfd, 0x8a, 0xc9, 0x2e, 0xa1, 0x1a, 0x87, 0x87, 0xa4, 0x7b,
  7124. 0xc4, 0x4f, 0x1c, 0x29, 0x44, 0x44, 0x5b, 0x2b, 0x05, 0x27, 0xe1, 0x6a,
  7125. 0xec, 0x6c, 0x01, 0x16, 0x54, 0x82, 0xd7, 0xe3, 0xb6, 0x44, 0x37, 0x09,
  7126. 0x3b, 0x87, 0xbf, 0xbc,
  7127. };
  7128. static const struct drbg_kat_no_reseed kat480_nor_t = {
  7129. 14, kat480_nor_entropyin, kat480_nor_nonce, kat480_nor_persstr,
  7130. kat480_nor_addin0, kat480_nor_addin1, kat480_nor_retbytes
  7131. };
  7132. static const struct drbg_kat kat480_nor = {
  7133. NO_RESEED, USE_DF, NID_aes_192_ctr, 24, 16, 32, 32, 64, &kat480_nor_t
  7134. };
  7135. static const unsigned char kat720_nor_entropyin[] = {
  7136. 0x5f, 0xc1, 0xa4, 0x6b, 0x9b, 0x53, 0xe8, 0x3a, 0xdd, 0xd6, 0x16, 0x51,
  7137. 0x79, 0x32, 0xad, 0x8a, 0x84, 0xe5, 0x50, 0xa5, 0x83, 0x27, 0xee, 0x24,
  7138. 0x5a, 0xef, 0x20, 0x82, 0x64, 0xc5, 0xb9, 0x1c,
  7139. };
  7140. static const unsigned char kat720_nor_nonce[] = {
  7141. 0x9c, 0xe7, 0x4e, 0x2b, 0x3c, 0x43, 0xba, 0x1d, 0x98, 0xf7, 0xd4, 0xe8,
  7142. 0xeb, 0x5c, 0x9b, 0x3e,
  7143. };
  7144. static const unsigned char kat720_nor_persstr[] = {
  7145. 0x5f, 0xe0, 0x1c, 0x84, 0xf8, 0x24, 0xc1, 0x7e, 0x4d, 0xfb, 0xfd, 0xb7,
  7146. 0x5c, 0x32, 0x12, 0xcb, 0x2b, 0xfd, 0xf2, 0xda, 0x7c, 0x49, 0x7f, 0xeb,
  7147. 0xc0, 0x96, 0x74, 0x75, 0xeb, 0xe2, 0x91, 0xf7,
  7148. };
  7149. static const unsigned char kat720_nor_addin0[] = {
  7150. 0x84, 0x92, 0x2c, 0x03, 0x35, 0xa0, 0xea, 0xd6, 0x09, 0xe5, 0xa9, 0x2c,
  7151. 0xfc, 0x4a, 0x22, 0x5b, 0xd3, 0xc7, 0xc0, 0x1a, 0xb4, 0x58, 0x0b, 0x78,
  7152. 0x63, 0x38, 0xe1, 0xca, 0xa3, 0x62, 0x2f, 0x44,
  7153. };
  7154. static const unsigned char kat720_nor_addin1[] = {
  7155. 0x34, 0xb0, 0x34, 0xca, 0x64, 0x3b, 0xbf, 0xd2, 0xfc, 0xc5, 0x7c, 0x9b,
  7156. 0x53, 0xe0, 0xf9, 0xb3, 0xfd, 0x6a, 0x73, 0x45, 0x4f, 0x18, 0x23, 0xdf,
  7157. 0xe7, 0xb7, 0x07, 0x6e, 0xc7, 0x3f, 0xd9, 0x56,
  7158. };
  7159. static const unsigned char kat720_nor_retbytes[] = {
  7160. 0x6c, 0xaa, 0x44, 0x75, 0x18, 0x9e, 0xe0, 0x0d, 0xdc, 0x54, 0x91, 0x0f,
  7161. 0x87, 0x23, 0xb0, 0xe5, 0xb8, 0xd3, 0xd0, 0xc3, 0x21, 0xce, 0x7f, 0x2a,
  7162. 0xc7, 0x19, 0x4d, 0x13, 0x4a, 0x0a, 0x31, 0xd9, 0x6b, 0x10, 0x2d, 0xd5,
  7163. 0x8e, 0x09, 0x2e, 0x08, 0xf8, 0xa0, 0x08, 0xf0, 0x5c, 0x4f, 0x2a, 0xfb,
  7164. 0x29, 0x01, 0xc6, 0xe2, 0x95, 0x49, 0xd3, 0xa7, 0x20, 0xaa, 0x2b, 0x1d,
  7165. 0x1f, 0x46, 0x1b, 0xb9,
  7166. };
  7167. static const struct drbg_kat_no_reseed kat720_nor_t = {
  7168. 14, kat720_nor_entropyin, kat720_nor_nonce, kat720_nor_persstr,
  7169. kat720_nor_addin0, kat720_nor_addin1, kat720_nor_retbytes
  7170. };
  7171. static const struct drbg_kat kat720_nor = {
  7172. NO_RESEED, USE_DF, NID_aes_256_ctr, 32, 16, 32, 32, 64, &kat720_nor_t
  7173. };
  7174. static const unsigned char kat960_nor_entropyin[] = {
  7175. 0x22, 0x54, 0x60, 0x44, 0xdf, 0x54, 0xe2, 0xbf, 0xe7, 0x46, 0x93, 0x18,
  7176. 0xc5, 0x7c, 0x15, 0x9d, 0x0f, 0x25, 0xa5, 0x8b, 0xcf, 0x4f, 0xbe, 0x70,
  7177. 0xae, 0x21, 0x4b, 0x66, 0x9b, 0x2e, 0x63, 0x14,
  7178. };
  7179. static const unsigned char kat960_nor_nonce[] = {0};
  7180. static const unsigned char kat960_nor_persstr[] = {
  7181. 0x28, 0xcf, 0x3c, 0xa7, 0xdf, 0x24, 0xcd, 0x72, 0x70, 0x4c, 0xc7, 0x3b,
  7182. 0x4a, 0x61, 0x8c, 0xad, 0xb6, 0xac, 0x93, 0xf2, 0x16, 0x8c, 0x47, 0x9c,
  7183. 0x35, 0x8d, 0xe1, 0x90, 0x7c, 0x0a, 0x0c, 0x82,
  7184. };
  7185. static const unsigned char kat960_nor_addin0[] = {
  7186. 0x36, 0x55, 0x1e, 0xf0, 0x92, 0x32, 0xd2, 0x19, 0x95, 0x47, 0xaa, 0xef,
  7187. 0xec, 0xaa, 0xad, 0x21, 0x74, 0x43, 0xd6, 0x16, 0x43, 0x3d, 0x9d, 0x16,
  7188. 0x9b, 0xd8, 0xcd, 0x3e, 0xae, 0x7f, 0x91, 0xe2,
  7189. };
  7190. static const unsigned char kat960_nor_addin1[] = {
  7191. 0x9e, 0x57, 0xa4, 0xe9, 0x6a, 0xce, 0x48, 0x3d, 0xbc, 0x3c, 0x22, 0x6d,
  7192. 0x27, 0x23, 0xc9, 0x25, 0x80, 0x63, 0x27, 0x81, 0x40, 0xd2, 0x20, 0xc4,
  7193. 0xfd, 0x02, 0x3c, 0x77, 0xfb, 0x20, 0xb8, 0x4c,
  7194. };
  7195. static const unsigned char kat960_nor_retbytes[] = {
  7196. 0xca, 0x43, 0xdc, 0xec, 0xda, 0xb6, 0x89, 0x54, 0x9b, 0xc4, 0x49, 0x3a,
  7197. 0x38, 0xa6, 0xa0, 0x17, 0xf6, 0x04, 0x82, 0x70, 0xe5, 0xd7, 0x0d, 0x0d,
  7198. 0x75, 0x76, 0xa2, 0xab, 0x76, 0x4d, 0x92, 0x2b, 0xc3, 0x46, 0xe3, 0x0f,
  7199. 0x42, 0xdc, 0x5a, 0x73, 0xea, 0x6a, 0x21, 0x0d, 0x2e, 0xba, 0x9b, 0xee,
  7200. 0x5b, 0x5a, 0xfe, 0x3c, 0x66, 0x86, 0x7a, 0x68, 0xab, 0x3f, 0xe0, 0xd0,
  7201. 0x8f, 0x51, 0x11, 0x01,
  7202. };
  7203. static const struct drbg_kat_no_reseed kat960_nor_t = {
  7204. 14, kat960_nor_entropyin, kat960_nor_nonce, kat960_nor_persstr,
  7205. kat960_nor_addin0, kat960_nor_addin1, kat960_nor_retbytes
  7206. };
  7207. static const struct drbg_kat kat960_nor = {
  7208. NO_RESEED, NO_DF, NID_aes_128_ctr, 32, 0, 32, 32, 64, &kat960_nor_t
  7209. };
  7210. static const unsigned char kat1200_nor_entropyin[] = {
  7211. 0x52, 0x40, 0x12, 0xbf, 0xc4, 0x7b, 0xed, 0x3d, 0xa7, 0xa3, 0x54, 0x88,
  7212. 0xe8, 0x26, 0xc4, 0x2a, 0x76, 0x60, 0x7c, 0x0d, 0x98, 0x0c, 0xa0, 0x21,
  7213. 0xc9, 0xea, 0x9c, 0xe0, 0xcf, 0x6d, 0xce, 0xd5, 0xc8, 0xea, 0x0c, 0x61,
  7214. 0x77, 0x2e, 0x4d, 0x64,
  7215. };
  7216. static const unsigned char kat1200_nor_nonce[] = {0};
  7217. static const unsigned char kat1200_nor_persstr[] = {
  7218. 0x3a, 0x27, 0xc2, 0x5e, 0xb5, 0x94, 0x30, 0x28, 0xc0, 0x19, 0x96, 0xb5,
  7219. 0x76, 0x6a, 0xf3, 0x39, 0x06, 0x1b, 0xee, 0xd2, 0xc8, 0xd8, 0xe7, 0x73,
  7220. 0xfe, 0x08, 0xba, 0xde, 0x72, 0x80, 0x25, 0xd4, 0x73, 0xe2, 0x73, 0x39,
  7221. 0xb6, 0x8d, 0xe5, 0xe6,
  7222. };
  7223. static const unsigned char kat1200_nor_addin0[] = {
  7224. 0x8b, 0x98, 0x1e, 0xc9, 0xca, 0x88, 0xb1, 0x49, 0x3e, 0x7f, 0xf3, 0xb9,
  7225. 0x0c, 0x02, 0xda, 0x6f, 0x47, 0x8b, 0xfa, 0x57, 0x3f, 0x5a, 0x03, 0x54,
  7226. 0x94, 0x1d, 0xfe, 0xdb, 0x86, 0x3c, 0xa9, 0xd0, 0x5e, 0xfe, 0xa9, 0xd8,
  7227. 0x83, 0x54, 0x59, 0xad,
  7228. };
  7229. static const unsigned char kat1200_nor_addin1[] = {
  7230. 0x82, 0x9e, 0x75, 0xa5, 0x8e, 0xdd, 0x00, 0xd8, 0x62, 0x69, 0xef, 0x33,
  7231. 0x2e, 0x67, 0x44, 0x72, 0x3b, 0x28, 0x9f, 0x7d, 0xf8, 0xf1, 0xc0, 0xbb,
  7232. 0xf7, 0x02, 0x22, 0xb5, 0x42, 0xb9, 0x01, 0x4e, 0x2d, 0x0c, 0xdd, 0x6a,
  7233. 0xae, 0xc8, 0xc1, 0x94,
  7234. };
  7235. static const unsigned char kat1200_nor_retbytes[] = {
  7236. 0x8c, 0x4a, 0xa7, 0x94, 0xaf, 0x3d, 0x7d, 0x4d, 0x68, 0x40, 0x06, 0x80,
  7237. 0x8c, 0x98, 0xc1, 0x1d, 0x81, 0x46, 0xb1, 0x1f, 0xd0, 0x62, 0xc6, 0x9c,
  7238. 0xac, 0x01, 0x9f, 0x19, 0x13, 0xc4, 0x57, 0xb4, 0x9d, 0x42, 0x3b, 0x5e,
  7239. 0xc6, 0x83, 0xf1, 0x91, 0x43, 0xea, 0xb3, 0x72, 0x07, 0x9a, 0x6d, 0xf5,
  7240. 0x51, 0xfc, 0x68, 0x6d, 0x9d, 0x6f, 0x9c, 0xe5, 0xf6, 0x4e, 0xf6, 0x19,
  7241. 0x18, 0x6f, 0x81, 0x6b,
  7242. };
  7243. static const struct drbg_kat_no_reseed kat1200_nor_t = {
  7244. 14, kat1200_nor_entropyin, kat1200_nor_nonce, kat1200_nor_persstr,
  7245. kat1200_nor_addin0, kat1200_nor_addin1, kat1200_nor_retbytes
  7246. };
  7247. static const struct drbg_kat kat1200_nor = {
  7248. NO_RESEED, NO_DF, NID_aes_192_ctr, 40, 0, 40, 40, 64, &kat1200_nor_t
  7249. };
  7250. static const unsigned char kat1440_nor_entropyin[] = {
  7251. 0x65, 0x62, 0xbb, 0xb3, 0x98, 0xc0, 0x2c, 0x7d, 0xdf, 0x0b, 0xdc, 0xbf,
  7252. 0xea, 0xcd, 0x5a, 0xfe, 0x31, 0xc7, 0x75, 0xbd, 0xa5, 0x3b, 0x4c, 0xb2,
  7253. 0xa3, 0x89, 0x6a, 0x89, 0x81, 0x49, 0xbb, 0x19, 0x5f, 0xa3, 0xdd, 0x69,
  7254. 0x23, 0x7b, 0xfa, 0xbe, 0x3a, 0x4c, 0x2d, 0xae, 0xbf, 0x30, 0xdc, 0x17,
  7255. };
  7256. static const unsigned char kat1440_nor_nonce[] = {0};
  7257. static const unsigned char kat1440_nor_persstr[] = {
  7258. 0x96, 0x3e, 0x80, 0xb8, 0x4c, 0xeb, 0x20, 0x45, 0xf9, 0xb5, 0x21, 0x92,
  7259. 0x39, 0xb4, 0x21, 0x39, 0xaa, 0xc6, 0x75, 0xca, 0x0b, 0x59, 0x1b, 0x25,
  7260. 0x53, 0xe8, 0x39, 0x64, 0x7a, 0xba, 0x20, 0x84, 0x99, 0x3b, 0x07, 0x65,
  7261. 0x45, 0x6a, 0xe9, 0x07, 0xaa, 0x5d, 0x6d, 0xa3, 0x44, 0x87, 0x43, 0x2a,
  7262. };
  7263. static const unsigned char kat1440_nor_addin0[] = {
  7264. 0x59, 0xcc, 0xb9, 0x0f, 0xb7, 0xe9, 0xae, 0x3a, 0x53, 0x2f, 0x95, 0x6b,
  7265. 0xc0, 0x03, 0x8c, 0xe0, 0xae, 0x32, 0xfa, 0x71, 0x4d, 0x88, 0x36, 0xc4,
  7266. 0x78, 0x91, 0x98, 0x3a, 0xfb, 0x68, 0x2e, 0xd2, 0x33, 0x56, 0x00, 0x63,
  7267. 0x9d, 0xa1, 0xd2, 0xa9, 0xe8, 0x9a, 0x95, 0x7a, 0xbc, 0x5b, 0x3d, 0x50,
  7268. };
  7269. static const unsigned char kat1440_nor_addin1[] = {
  7270. 0x91, 0x16, 0x5e, 0x46, 0x01, 0x6f, 0x2d, 0x56, 0x19, 0xcd, 0x45, 0x49,
  7271. 0xf5, 0xac, 0x20, 0x56, 0x39, 0x6b, 0xee, 0x73, 0x16, 0xa3, 0x66, 0xec,
  7272. 0x60, 0x51, 0xf3, 0xbd, 0x26, 0x77, 0x0b, 0x3f, 0xd6, 0x3c, 0x16, 0x34,
  7273. 0x94, 0xfb, 0x7e, 0x9d, 0x32, 0x6e, 0xca, 0xd9, 0xbf, 0xc1, 0x71, 0xa8,
  7274. };
  7275. static const unsigned char kat1440_nor_retbytes[] = {
  7276. 0x87, 0xed, 0x4a, 0xef, 0x26, 0x4f, 0x2a, 0xc5, 0x45, 0x10, 0xb8, 0x3b,
  7277. 0x98, 0xf7, 0x58, 0x5a, 0xef, 0x7f, 0x38, 0x29, 0x47, 0xcb, 0x49, 0x80,
  7278. 0x37, 0x84, 0xa2, 0x7c, 0xfb, 0xbc, 0x58, 0x74, 0x56, 0x2b, 0x6d, 0x6c,
  7279. 0xb5, 0x7b, 0x75, 0x48, 0xa1, 0xbe, 0x46, 0x4a, 0xbb, 0x20, 0x28, 0xc3,
  7280. 0x44, 0x07, 0x45, 0x27, 0xe8, 0xec, 0x56, 0xad, 0x6e, 0x2b, 0x3b, 0x8f,
  7281. 0xc5, 0x6f, 0x17, 0x7c,
  7282. };
  7283. static const struct drbg_kat_no_reseed kat1440_nor_t = {
  7284. 14, kat1440_nor_entropyin, kat1440_nor_nonce, kat1440_nor_persstr,
  7285. kat1440_nor_addin0, kat1440_nor_addin1, kat1440_nor_retbytes
  7286. };
  7287. static const struct drbg_kat kat1440_nor = {
  7288. NO_RESEED, NO_DF, NID_aes_256_ctr, 48, 0, 48, 48, 64, &kat1440_nor_t
  7289. };
  7290. static const unsigned char kat1_prt_entropyin[] = {
  7291. 0x5d, 0x40, 0x41, 0x94, 0x2b, 0xcf, 0x68, 0x86, 0x4a, 0x49, 0x97, 0xd8,
  7292. 0x17, 0x1f, 0x1f, 0x9f,
  7293. };
  7294. static const unsigned char kat1_prt_nonce[] = {
  7295. 0xd4, 0xf1, 0xf4, 0xae, 0x08, 0xbc, 0xb3, 0xe1,
  7296. };
  7297. static const unsigned char kat1_prt_persstr[] = {0};
  7298. static const unsigned char kat1_prt_entropyinpr0[] = {
  7299. 0xef, 0x55, 0xa7, 0x69, 0xb7, 0xea, 0xf0, 0x3f, 0xe0, 0x82, 0x02, 0x9b,
  7300. 0xb3, 0x2a, 0x2b, 0x9d,
  7301. };
  7302. static const unsigned char kat1_prt_entropyinpr1[] = {
  7303. 0x82, 0x39, 0xe8, 0x65, 0xc0, 0xa4, 0x2e, 0x14, 0xb9, 0x64, 0xb9, 0xc0,
  7304. 0x9d, 0xe8, 0x5a, 0x20,
  7305. };
  7306. static const unsigned char kat1_prt_addin0[] = {0};
  7307. static const unsigned char kat1_prt_addin1[] = {0};
  7308. static const unsigned char kat1_prt_retbytes[] = {
  7309. 0x41, 0x55, 0x32, 0x02, 0x87, 0xee, 0xdc, 0xf7, 0xd4, 0x84, 0xc2, 0xc2,
  7310. 0xa1, 0xe2, 0xeb, 0x64, 0xb9, 0xc9, 0xce, 0x77, 0xc8, 0x72, 0x02, 0xa1,
  7311. 0xae, 0x16, 0x16, 0xc7, 0xa5, 0xcf, 0xd1, 0xc6, 0x87, 0xc7, 0xa0, 0xbf,
  7312. 0xcc, 0x85, 0xbd, 0xa4, 0x8f, 0xdd, 0x46, 0x29, 0xfd, 0x33, 0x0c, 0x22,
  7313. 0xd0, 0xa7, 0x60, 0x76, 0xf8, 0x8f, 0xc7, 0xcd, 0x04, 0x03, 0x7e, 0xe0,
  7314. 0x6b, 0x7a, 0xf6, 0x02,
  7315. };
  7316. static const struct drbg_kat_pr_true kat1_prt_t = {
  7317. 0, kat1_prt_entropyin, kat1_prt_nonce, kat1_prt_persstr,
  7318. kat1_prt_entropyinpr0, kat1_prt_addin0, kat1_prt_entropyinpr1,
  7319. kat1_prt_addin1, kat1_prt_retbytes
  7320. };
  7321. static const struct drbg_kat kat1_prt = {
  7322. PR_TRUE, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat1_prt_t
  7323. };
  7324. static const unsigned char kat1440_prt_entropyin[] = {
  7325. 0x5a, 0x6e, 0x33, 0xd1, 0x56, 0x67, 0x27, 0x28, 0x14, 0xb1, 0xb8, 0x3e,
  7326. 0x37, 0x24, 0xf9, 0x95, 0xaf, 0x0f, 0xb0, 0x5c, 0x24, 0x72, 0x03, 0xc3,
  7327. 0x4a, 0x07, 0xa6, 0x74, 0x36, 0xe7, 0xde, 0xdc, 0xd7, 0x17, 0xa2, 0x4c,
  7328. 0xa4, 0xa9, 0xd9, 0xf9, 0xd4, 0x7a, 0x6b, 0x6b, 0x84, 0xb6, 0x3b, 0x88,
  7329. };
  7330. static const unsigned char kat1440_prt_nonce[] = {0};
  7331. static const unsigned char kat1440_prt_persstr[] = {
  7332. 0xf3, 0xfe, 0x7a, 0xd7, 0xd0, 0xd6, 0xb8, 0x60, 0x93, 0x12, 0xf0, 0x49,
  7333. 0xf7, 0x5a, 0x2e, 0x9c, 0xe6, 0x43, 0xc9, 0x35, 0xd8, 0x2a, 0xce, 0x41,
  7334. 0xdb, 0xa5, 0xb0, 0xc1, 0xc9, 0x85, 0x68, 0x43, 0x28, 0xfe, 0x31, 0xc4,
  7335. 0xe7, 0x7d, 0xb6, 0x0f, 0x25, 0x14, 0x38, 0xed, 0x74, 0x83, 0xef, 0x19,
  7336. };
  7337. static const unsigned char kat1440_prt_entropyinpr0[] = {
  7338. 0xb4, 0xe1, 0x56, 0xfe, 0x5a, 0x63, 0x56, 0xcf, 0xcb, 0x2c, 0xbb, 0x79,
  7339. 0xa1, 0x81, 0xe4, 0x0a, 0x1d, 0x8f, 0xd0, 0xe1, 0x0f, 0xc4, 0x77, 0x58,
  7340. 0x93, 0xb8, 0x51, 0x32, 0xed, 0xe0, 0xca, 0x22, 0x26, 0x8e, 0xad, 0x5a,
  7341. 0x40, 0xb6, 0xde, 0x69, 0x84, 0xce, 0xe2, 0xfc, 0xa6, 0x2f, 0xdb, 0xee,
  7342. };
  7343. static const unsigned char kat1440_prt_entropyinpr1[] = {
  7344. 0xd0, 0x04, 0xfa, 0x7a, 0xe5, 0x59, 0x65, 0x6f, 0x6a, 0x8f, 0x85, 0x25,
  7345. 0xc6, 0xe5, 0x5d, 0x24, 0x5c, 0x8d, 0x7f, 0x58, 0x0c, 0xfe, 0x63, 0xba,
  7346. 0x84, 0x57, 0x5c, 0x5b, 0x6e, 0xf8, 0xbb, 0xf6, 0x13, 0x0f, 0xda, 0x8f,
  7347. 0x01, 0xfd, 0x87, 0x30, 0x79, 0x23, 0xe0, 0x63, 0x9a, 0x23, 0xf4, 0xe8,
  7348. };
  7349. static const unsigned char kat1440_prt_addin0[] = {
  7350. 0x56, 0x1d, 0x2a, 0x23, 0x52, 0xab, 0x0e, 0x73, 0xf3, 0xec, 0x11, 0x35,
  7351. 0xe4, 0xf2, 0xdd, 0x22, 0x6d, 0x5f, 0x3e, 0x4b, 0xc3, 0xc4, 0xd8, 0xc4,
  7352. 0x6d, 0xe8, 0x66, 0x44, 0x65, 0x99, 0x44, 0x6d, 0x0f, 0x15, 0x8b, 0xda,
  7353. 0x30, 0xc3, 0xee, 0xc2, 0x03, 0x3d, 0xbe, 0x09, 0x92, 0x4c, 0x94, 0xb1,
  7354. };
  7355. static const unsigned char kat1440_prt_addin1[] = {
  7356. 0x1f, 0xc6, 0x76, 0x04, 0x93, 0x0d, 0xec, 0xe4, 0x93, 0x7f, 0x2b, 0x01,
  7357. 0xaa, 0x4c, 0x44, 0xeb, 0x63, 0x70, 0xa5, 0xfb, 0xe1, 0xe1, 0x68, 0xa8,
  7358. 0x4c, 0x26, 0xfa, 0x3c, 0x6d, 0xd0, 0xfd, 0xa4, 0xe2, 0x07, 0x16, 0x96,
  7359. 0xe3, 0x24, 0x6d, 0x34, 0x85, 0xf4, 0xd5, 0xf1, 0x9c, 0x6b, 0x18, 0x53,
  7360. };
  7361. static const unsigned char kat1440_prt_retbytes[] = {
  7362. 0x65, 0xfa, 0x1b, 0x5c, 0xd3, 0xbc, 0x6f, 0x0a, 0x6a, 0x89, 0x90, 0x14,
  7363. 0xf8, 0xdd, 0x94, 0xc6, 0x24, 0xcb, 0xd6, 0xde, 0xef, 0xa5, 0x0b, 0x3f,
  7364. 0x65, 0xa1, 0x06, 0x7a, 0x1a, 0xfb, 0x95, 0x2f, 0x13, 0x4f, 0xf7, 0x33,
  7365. 0x35, 0x81, 0x84, 0x33, 0x52, 0x60, 0xd2, 0x85, 0xc1, 0x76, 0x71, 0x8f,
  7366. 0xcc, 0x58, 0xf0, 0xd2, 0x82, 0xa2, 0x48, 0x11, 0xb8, 0x60, 0x8f, 0x3d,
  7367. 0x75, 0x3d, 0xe0, 0x68,
  7368. };
  7369. static const struct drbg_kat_pr_true kat1440_prt_t = {
  7370. 14, kat1440_prt_entropyin, kat1440_prt_nonce, kat1440_prt_persstr,
  7371. kat1440_prt_entropyinpr0, kat1440_prt_addin0, kat1440_prt_entropyinpr1,
  7372. kat1440_prt_addin1, kat1440_prt_retbytes
  7373. };
  7374. static const struct drbg_kat kat1440_prt = {
  7375. PR_TRUE, NO_DF, NID_aes_256_ctr, 48, 0, 48, 48, 64, &kat1440_prt_t
  7376. };
  7377. static const unsigned char kat1_prf_entropyin[] = {
  7378. 0x0f, 0x65, 0xda, 0x13, 0xdc, 0xa4, 0x07, 0x99, 0x9d, 0x47, 0x73, 0xc2,
  7379. 0xb4, 0xa1, 0x1d, 0x85,
  7380. };
  7381. static const unsigned char kat1_prf_nonce[] = {
  7382. 0x52, 0x09, 0xe5, 0xb4, 0xed, 0x82, 0xa2, 0x34,
  7383. };
  7384. static const unsigned char kat1_prf_persstr[] = {0};
  7385. static const unsigned char kat1_prf_entropyin_reseed[] = {
  7386. 0x1d, 0xea, 0x0a, 0x12, 0xc5, 0x2b, 0xf6, 0x43, 0x39, 0xdd, 0x29, 0x1c,
  7387. 0x80, 0xd8, 0xca, 0x89,
  7388. };
  7389. static const unsigned char kat1_prf_addin_reseed[] = {0};
  7390. static const unsigned char kat1_prf_addin0[] = {0};
  7391. static const unsigned char kat1_prf_addin1[] = {0};
  7392. static const unsigned char kat1_prf_retbytes[] = {
  7393. 0x28, 0x59, 0xcc, 0x46, 0x8a, 0x76, 0xb0, 0x86, 0x61, 0xff, 0xd2, 0x3b,
  7394. 0x28, 0x54, 0x7f, 0xfd, 0x09, 0x97, 0xad, 0x52, 0x6a, 0x0f, 0x51, 0x26,
  7395. 0x1b, 0x99, 0xed, 0x3a, 0x37, 0xbd, 0x40, 0x7b, 0xf4, 0x18, 0xdb, 0xe6,
  7396. 0xc6, 0xc3, 0xe2, 0x6e, 0xd0, 0xdd, 0xef, 0xcb, 0x74, 0x74, 0xd8, 0x99,
  7397. 0xbd, 0x99, 0xf3, 0x65, 0x54, 0x27, 0x51, 0x9f, 0xc5, 0xb4, 0x05, 0x7b,
  7398. 0xca, 0xf3, 0x06, 0xd4,
  7399. };
  7400. static const struct drbg_kat_pr_false kat1_prf_t = {
  7401. 0, kat1_prf_entropyin, kat1_prf_nonce, kat1_prf_persstr,
  7402. kat1_prf_entropyin_reseed, kat1_prf_addin_reseed,
  7403. kat1_prf_addin0, kat1_prf_addin1, kat1_prf_retbytes
  7404. };
  7405. static const struct drbg_kat kat1_prf = {
  7406. PR_FALSE, USE_DF, NID_aes_128_ctr, 16, 8, 0, 0, 64, &kat1_prf_t
  7407. };
  7408. static const unsigned char kat1440_prf_entropyin[] = {
  7409. 0x88, 0x2e, 0xd0, 0x54, 0x87, 0xdc, 0xe4, 0xb4, 0xf9, 0xe5, 0x8e, 0xc4,
  7410. 0xf2, 0xda, 0x1f, 0xa5, 0xd8, 0xeb, 0xb4, 0xef, 0x9f, 0xcb, 0xf7, 0xb0,
  7411. 0xa0, 0xe1, 0x5c, 0x4d, 0xcc, 0xb8, 0xe1, 0x97, 0x88, 0xf8, 0x6d, 0xcf,
  7412. 0x28, 0x85, 0xe7, 0x1a, 0x20, 0xcb, 0xd9, 0xac, 0x10, 0xa6, 0x64, 0x8e,
  7413. };
  7414. static const unsigned char kat1440_prf_nonce[] = {0};
  7415. static const unsigned char kat1440_prf_persstr[] = {
  7416. 0x05, 0xf5, 0xbc, 0x41, 0x68, 0x7e, 0xa1, 0xe4, 0xc3, 0x4a, 0x69, 0x94,
  7417. 0x4f, 0xba, 0xe2, 0x83, 0xcf, 0xee, 0x4c, 0x42, 0xb1, 0xbb, 0xd7, 0x8f,
  7418. 0xdd, 0xb0, 0x97, 0x3d, 0x0f, 0xca, 0x94, 0x85, 0x39, 0xb6, 0x84, 0x36,
  7419. 0x58, 0xb6, 0x7c, 0x30, 0xb7, 0x31, 0x91, 0xb9, 0xa0, 0xbf, 0x29, 0x21,
  7420. };
  7421. static const unsigned char kat1440_prf_entropyin_reseed[] = {
  7422. 0xca, 0x16, 0x03, 0xd4, 0xc8, 0x71, 0x14, 0x04, 0xc7, 0xbd, 0xc1, 0x2c,
  7423. 0x7c, 0x75, 0xb2, 0x94, 0x3a, 0x4b, 0x04, 0x2e, 0xa1, 0xd2, 0xeb, 0x54,
  7424. 0x50, 0x6a, 0x68, 0x76, 0x95, 0x21, 0x57, 0xca, 0xf3, 0xb1, 0x52, 0xdc,
  7425. 0x75, 0xf2, 0x7f, 0x22, 0x13, 0x64, 0x5a, 0x14, 0x15, 0x77, 0xe8, 0xba,
  7426. };
  7427. static const unsigned char kat1440_prf_addin_reseed[] = {
  7428. 0x83, 0xcd, 0xa5, 0x33, 0x80, 0x88, 0x8d, 0x53, 0x51, 0x5e, 0x58, 0x15,
  7429. 0x4f, 0x89, 0xd5, 0x52, 0x8a, 0xb6, 0x9f, 0x31, 0xfb, 0xcf, 0xca, 0x34,
  7430. 0x98, 0x8c, 0xf0, 0x3c, 0x4c, 0xae, 0x5f, 0x60, 0xaa, 0x62, 0x91, 0xf3,
  7431. 0x2d, 0x99, 0xab, 0x2a, 0x72, 0x6b, 0x6e, 0x08, 0xd2, 0x50, 0x2c, 0xf5,
  7432. };
  7433. static const unsigned char kat1440_prf_addin0[] = {
  7434. 0x5b, 0xf5, 0xca, 0x9f, 0x96, 0x4e, 0xdd, 0x91, 0xe8, 0xef, 0x49, 0x1f,
  7435. 0xd3, 0xcd, 0x32, 0xfa, 0xf9, 0xcb, 0x9d, 0x19, 0x93, 0xd8, 0x22, 0x19,
  7436. 0x14, 0xd1, 0x75, 0x1f, 0xb0, 0xd4, 0x25, 0x2a, 0x5c, 0xa9, 0x50, 0xe2,
  7437. 0x13, 0xf0, 0x88, 0x05, 0x09, 0x00, 0xb2, 0xbd, 0x74, 0xf5, 0xe3, 0x36,
  7438. };
  7439. static const unsigned char kat1440_prf_addin1[] = {
  7440. 0xdb, 0xa2, 0x8d, 0xc1, 0xd8, 0xd6, 0x15, 0x65, 0x15, 0x47, 0x86, 0x7d,
  7441. 0x4e, 0xf4, 0x25, 0x19, 0x04, 0x5e, 0xe1, 0x63, 0x78, 0x14, 0x36, 0x85,
  7442. 0x10, 0x1d, 0xa4, 0x7a, 0x27, 0xb5, 0x54, 0x98, 0x07, 0x8e, 0x8a, 0x8f,
  7443. 0x48, 0x54, 0x05, 0x2f, 0x7c, 0xc6, 0xf5, 0xb0, 0x2e, 0x57, 0x1a, 0xe8,
  7444. };
  7445. static const unsigned char kat1440_prf_retbytes[] = {
  7446. 0x01, 0xf1, 0x19, 0x71, 0x83, 0x58, 0x19, 0xc1, 0x14, 0x8a, 0xa0, 0x79,
  7447. 0xee, 0xa0, 0x9f, 0xd5, 0xb1, 0xaa, 0x3a, 0xc6, 0xba, 0x55, 0x7a, 0xe3,
  7448. 0x31, 0x7b, 0x1a, 0x33, 0xf4, 0x50, 0x51, 0x74, 0xcf, 0x9d, 0x7e, 0x94,
  7449. 0x08, 0x21, 0xc9, 0xb0, 0xe5, 0x52, 0x7a, 0x1d, 0x3e, 0x18, 0x6a, 0x7a,
  7450. 0x83, 0xf1, 0x87, 0xc6, 0x2d, 0x32, 0x23, 0xcf, 0x59, 0x64, 0xff, 0x95,
  7451. 0x26, 0xd8, 0x48, 0x4c,
  7452. };
  7453. static const struct drbg_kat_pr_false kat1440_prf_t = {
  7454. 14, kat1440_prf_entropyin, kat1440_prf_nonce, kat1440_prf_persstr,
  7455. kat1440_prf_entropyin_reseed, kat1440_prf_addin_reseed,
  7456. kat1440_prf_addin0, kat1440_prf_addin1, kat1440_prf_retbytes
  7457. };
  7458. static const struct drbg_kat kat1440_prf = {
  7459. PR_FALSE, NO_DF, NID_aes_256_ctr, 48, 0, 48, 48, 64, &kat1440_prf_t
  7460. };
  7461. const struct drbg_kat *drbg_ctr_test[] = {
  7462. &kat1_nor, &kat2_nor, &kat3_nor, &kat4_nor, &kat5_nor,
  7463. &kat6_nor, &kat7_nor, &kat8_nor, &kat9_nor, &kat10_nor,
  7464. &kat11_nor, &kat12_nor, &kat13_nor, &kat14_nor, &kat15_nor,
  7465. &kat16_nor, &kat17_nor, &kat18_nor, &kat19_nor, &kat20_nor,
  7466. &kat21_nor, &kat22_nor, &kat23_nor, &kat24_nor, &kat25_nor,
  7467. &kat26_nor, &kat27_nor, &kat28_nor, &kat29_nor, &kat30_nor,
  7468. &kat31_nor, &kat32_nor, &kat33_nor, &kat34_nor, &kat35_nor,
  7469. &kat36_nor, &kat37_nor, &kat38_nor, &kat39_nor, &kat40_nor,
  7470. &kat41_nor, &kat42_nor, &kat43_nor, &kat44_nor, &kat45_nor,
  7471. &kat46_nor, &kat47_nor, &kat48_nor, &kat49_nor, &kat50_nor,
  7472. &kat51_nor, &kat52_nor, &kat53_nor, &kat54_nor, &kat55_nor,
  7473. &kat56_nor, &kat57_nor, &kat58_nor, &kat59_nor, &kat60_nor,
  7474. &kat61_nor, &kat62_nor, &kat63_nor, &kat64_nor, &kat65_nor,
  7475. &kat66_nor, &kat67_nor, &kat68_nor, &kat69_nor, &kat70_nor,
  7476. &kat71_nor, &kat72_nor, &kat73_nor, &kat74_nor, &kat75_nor,
  7477. &kat76_nor, &kat77_nor, &kat78_nor, &kat79_nor, &kat80_nor,
  7478. &kat81_nor, &kat82_nor, &kat83_nor, &kat84_nor, &kat85_nor,
  7479. &kat86_nor, &kat87_nor, &kat88_nor, &kat89_nor, &kat90_nor,
  7480. &kat91_nor, &kat92_nor, &kat93_nor, &kat94_nor, &kat95_nor,
  7481. &kat96_nor, &kat97_nor, &kat98_nor, &kat99_nor, &kat100_nor,
  7482. &kat101_nor, &kat102_nor, &kat103_nor, &kat104_nor, &kat105_nor,
  7483. &kat106_nor, &kat107_nor, &kat108_nor, &kat109_nor, &kat110_nor,
  7484. &kat111_nor, &kat112_nor, &kat113_nor, &kat114_nor, &kat115_nor,
  7485. &kat116_nor, &kat117_nor, &kat118_nor, &kat119_nor, &kat120_nor,
  7486. &kat121_nor, &kat122_nor, &kat123_nor, &kat124_nor, &kat125_nor,
  7487. &kat126_nor, &kat127_nor, &kat128_nor, &kat129_nor, &kat130_nor,
  7488. &kat131_nor, &kat132_nor, &kat133_nor, &kat134_nor, &kat135_nor,
  7489. &kat136_nor, &kat137_nor, &kat138_nor, &kat139_nor, &kat140_nor,
  7490. &kat141_nor, &kat142_nor, &kat143_nor, &kat144_nor, &kat145_nor,
  7491. &kat146_nor, &kat147_nor, &kat148_nor, &kat149_nor, &kat150_nor,
  7492. &kat151_nor, &kat152_nor, &kat153_nor, &kat154_nor, &kat155_nor,
  7493. &kat156_nor, &kat157_nor, &kat158_nor, &kat159_nor, &kat160_nor,
  7494. &kat161_nor, &kat162_nor, &kat163_nor, &kat164_nor, &kat165_nor,
  7495. &kat166_nor, &kat167_nor, &kat168_nor, &kat169_nor, &kat170_nor,
  7496. &kat171_nor, &kat172_nor, &kat173_nor, &kat174_nor, &kat175_nor,
  7497. &kat176_nor, &kat177_nor, &kat178_nor, &kat179_nor, &kat180_nor,
  7498. &kat181_nor, &kat182_nor, &kat183_nor, &kat184_nor, &kat185_nor,
  7499. &kat186_nor, &kat187_nor, &kat188_nor, &kat189_nor, &kat190_nor,
  7500. &kat191_nor, &kat192_nor, &kat193_nor, &kat194_nor, &kat195_nor,
  7501. &kat196_nor, &kat197_nor, &kat198_nor, &kat199_nor, &kat200_nor,
  7502. &kat201_nor, &kat202_nor, &kat203_nor, &kat204_nor, &kat205_nor,
  7503. &kat206_nor, &kat207_nor, &kat208_nor, &kat209_nor, &kat210_nor,
  7504. &kat211_nor, &kat212_nor, &kat213_nor, &kat214_nor, &kat215_nor,
  7505. &kat216_nor, &kat217_nor, &kat218_nor, &kat219_nor, &kat220_nor,
  7506. &kat221_nor, &kat222_nor, &kat223_nor, &kat224_nor, &kat225_nor,
  7507. &kat226_nor, &kat227_nor, &kat228_nor, &kat229_nor, &kat230_nor,
  7508. &kat231_nor, &kat232_nor, &kat233_nor, &kat234_nor, &kat235_nor,
  7509. &kat236_nor, &kat237_nor, &kat238_nor, &kat239_nor, &kat240_nor,
  7510. &kat480_nor, &kat720_nor, &kat960_nor, &kat1200_nor, &kat1440_nor,
  7511. &kat1_prt, &kat1440_prt, &kat1_prf, &kat1440_prf
  7512. };
  7513. const size_t drbg_ctr_nelem = OSSL_NELEM(drbg_ctr_test);