testmgr.h 1.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Algorithm testing framework and tests.
  4. *
  5. * Copyright (c) 2002 James Morris <jmorris@intercode.com.au>
  6. * Copyright (c) 2002 Jean-Francois Dive <jef@linuxbe.org>
  7. * Copyright (c) 2007 Nokia Siemens Networks
  8. * Copyright (c) 2008 Herbert Xu <herbert@gondor.apana.org.au>
  9. * Copyright (c) 2019 Google LLC
  10. *
  11. * Updated RFC4106 AES-GCM testing. Some test vectors were taken from
  12. * http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/
  13. * gcm/gcm-test-vectors.tar.gz
  14. * Authors: Aidan O'Mahony (aidan.o.mahony@intel.com)
  15. * Adrian Hoban <adrian.hoban@intel.com>
  16. * Gabriele Paoloni <gabriele.paoloni@intel.com>
  17. * Tadeusz Struk (tadeusz.struk@intel.com)
  18. * Copyright (c) 2010, Intel Corporation.
  19. */
  20. #ifndef _CRYPTO_TESTMGR_H
  21. #define _CRYPTO_TESTMGR_H
  22. #include <linux/oid_registry.h>
  23. #define MAX_IVLEN 32
  24. /*
  25. * hash_testvec: structure to describe a hash (message digest) test
  26. * @key: Pointer to key (NULL if none)
  27. * @plaintext: Pointer to source data
  28. * @digest: Pointer to expected digest
  29. * @psize: Length of source data in bytes
  30. * @ksize: Length of @key in bytes (0 if no key)
  31. * @setkey_error: Expected error from setkey()
  32. * @digest_error: Expected error from digest()
  33. */
  34. struct hash_testvec {
  35. const char *key;
  36. const char *plaintext;
  37. const char *digest;
  38. unsigned int psize;
  39. unsigned short ksize;
  40. int setkey_error;
  41. int digest_error;
  42. };
  43. /*
  44. * cipher_testvec: structure to describe a symmetric cipher test
  45. * @key: Pointer to key
  46. * @klen: Length of @key in bytes
  47. * @iv: Pointer to IV. If NULL, an all-zeroes IV is used.
  48. * @iv_out: Pointer to output IV, if applicable for the cipher.
  49. * @ptext: Pointer to plaintext
  50. * @ctext: Pointer to ciphertext
  51. * @len: Length of @ptext and @ctext in bytes
  52. * @wk: Does the test need CRYPTO_TFM_REQ_FORBID_WEAK_KEYS?
  53. * ( e.g. test needs to fail due to a weak key )
  54. * @fips_skip: Skip the test vector in FIPS mode
  55. * @generates_iv: Encryption should ignore the given IV, and output @iv_out.
  56. * Decryption takes @iv_out. Needed for AES Keywrap ("kw(aes)").
  57. * @setkey_error: Expected error from setkey()
  58. * @crypt_error: Expected error from encrypt() and decrypt()
  59. */
  60. struct cipher_testvec {
  61. const char *key;
  62. const char *iv;
  63. const char *iv_out;
  64. const char *ptext;
  65. const char *ctext;
  66. unsigned char wk; /* weak key flag */
  67. unsigned short klen;
  68. unsigned int len;
  69. bool fips_skip;
  70. bool generates_iv;
  71. int setkey_error;
  72. int crypt_error;
  73. };
  74. /*
  75. * aead_testvec: structure to describe an AEAD test
  76. * @key: Pointer to key
  77. * @iv: Pointer to IV. If NULL, an all-zeroes IV is used.
  78. * @ptext: Pointer to plaintext
  79. * @assoc: Pointer to associated data
  80. * @ctext: Pointer to the full authenticated ciphertext. For AEADs that
  81. * produce a separate "ciphertext" and "authentication tag", these
  82. * two parts are concatenated: ciphertext || tag.
  83. * @novrfy: If set, this is an inauthentic input test: only decryption is
  84. * tested, and it is expected to fail with either -EBADMSG or
  85. * @crypt_error if it is nonzero.
  86. * @wk: Does the test need CRYPTO_TFM_REQ_FORBID_WEAK_KEYS?
  87. * (e.g. setkey() needs to fail due to a weak key)
  88. * @klen: Length of @key in bytes
  89. * @plen: Length of @ptext in bytes
  90. * @alen: Length of @assoc in bytes
  91. * @clen: Length of @ctext in bytes
  92. * @setkey_error: Expected error from setkey(). If set, neither encryption nor
  93. * decryption is tested.
  94. * @setauthsize_error: Expected error from setauthsize(). If set, neither
  95. * encryption nor decryption is tested.
  96. * @crypt_error: When @novrfy=0, the expected error from encrypt(). When
  97. * @novrfy=1, an optional alternate error code that is acceptable
  98. * for decrypt() to return besides -EBADMSG.
  99. */
  100. struct aead_testvec {
  101. const char *key;
  102. const char *iv;
  103. const char *ptext;
  104. const char *assoc;
  105. const char *ctext;
  106. unsigned char novrfy;
  107. unsigned char wk;
  108. unsigned char klen;
  109. unsigned int plen;
  110. unsigned int clen;
  111. unsigned int alen;
  112. int setkey_error;
  113. int setauthsize_error;
  114. int crypt_error;
  115. };
  116. struct cprng_testvec {
  117. const char *key;
  118. const char *dt;
  119. const char *v;
  120. const char *result;
  121. unsigned char klen;
  122. unsigned short dtlen;
  123. unsigned short vlen;
  124. unsigned short rlen;
  125. unsigned short loops;
  126. };
  127. struct drbg_testvec {
  128. const unsigned char *entropy;
  129. size_t entropylen;
  130. const unsigned char *entpra;
  131. const unsigned char *entprb;
  132. size_t entprlen;
  133. const unsigned char *addtla;
  134. const unsigned char *addtlb;
  135. size_t addtllen;
  136. const unsigned char *pers;
  137. size_t perslen;
  138. const unsigned char *expected;
  139. size_t expectedlen;
  140. };
  141. struct akcipher_testvec {
  142. const unsigned char *key;
  143. const unsigned char *params;
  144. const unsigned char *m;
  145. const unsigned char *c;
  146. unsigned int key_len;
  147. unsigned int param_len;
  148. unsigned int m_size;
  149. unsigned int c_size;
  150. bool public_key_vec;
  151. bool siggen_sigver_test;
  152. enum OID algo;
  153. };
  154. struct kpp_testvec {
  155. const unsigned char *secret;
  156. const unsigned char *b_secret;
  157. const unsigned char *b_public;
  158. const unsigned char *expected_a_public;
  159. const unsigned char *expected_ss;
  160. unsigned short secret_size;
  161. unsigned short b_secret_size;
  162. unsigned short b_public_size;
  163. unsigned short expected_a_public_size;
  164. unsigned short expected_ss_size;
  165. bool genkey;
  166. };
  167. static const char zeroed_string[48];
  168. /*
  169. * RSA test vectors. Borrowed from openSSL.
  170. */
  171. static const struct akcipher_testvec rsa_tv_template[] = {
  172. {
  173. #ifndef CONFIG_CRYPTO_FIPS
  174. .key =
  175. "\x30\x81\x9A" /* sequence of 154 bytes */
  176. "\x02\x01\x01" /* version - integer of 1 byte */
  177. "\x02\x41" /* modulus - integer of 65 bytes */
  178. "\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F"
  179. "\x90\xEF\xA0\x0D\xF3\x77\x4A\x25\x9F\x2E\x62\xB4\xC5\xD9\x9C\xB5"
  180. "\xAD\xB3\x00\xA0\x28\x5E\x53\x01\x93\x0E\x0C\x70\xFB\x68\x76\x93"
  181. "\x9C\xE6\x16\xCE\x62\x4A\x11\xE0\x08\x6D\x34\x1E\xBC\xAC\xA0\xA1"
  182. "\xF5"
  183. "\x02\x01\x11" /* public key - integer of 1 byte */
  184. "\x02\x40" /* private key - integer of 64 bytes */
  185. "\x0A\x03\x37\x48\x62\x64\x87\x69\x5F\x5F\x30\xBC\x38\xB9\x8B\x44"
  186. "\xC2\xCD\x2D\xFF\x43\x40\x98\xCD\x20\xD8\xA1\x38\xD0\x90\xBF\x64"
  187. "\x79\x7C\x3F\xA7\xA2\xCD\xCB\x3C\xD1\xE0\xBD\xBA\x26\x54\xB4\xF9"
  188. "\xDF\x8E\x8A\xE5\x9D\x73\x3D\x9F\x33\xB3\x01\x62\x4A\xFD\x1D\x51"
  189. "\x02\x01\x00" /* prime1 - integer of 1 byte */
  190. "\x02\x01\x00" /* prime2 - integer of 1 byte */
  191. "\x02\x01\x00" /* exponent1 - integer of 1 byte */
  192. "\x02\x01\x00" /* exponent2 - integer of 1 byte */
  193. "\x02\x01\x00", /* coefficient - integer of 1 byte */
  194. .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
  195. .c =
  196. "\x63\x1c\xcd\x7b\xe1\x7e\xe4\xde\xc9\xa8\x89\xa1\x74\xcb\x3c\x63"
  197. "\x7d\x24\xec\x83\xc3\x15\xe4\x7f\x73\x05\x34\xd1\xec\x22\xbb\x8a"
  198. "\x5e\x32\x39\x6d\xc1\x1d\x7d\x50\x3b\x9f\x7a\xad\xf0\x2e\x25\x53"
  199. "\x9f\x6e\xbd\x4c\x55\x84\x0c\x9b\xcf\x1a\x4b\x51\x1e\x9e\x0c\x06",
  200. .key_len = 157,
  201. .m_size = 8,
  202. .c_size = 64,
  203. }, {
  204. .key =
  205. "\x30\x82\x01\x1D" /* sequence of 285 bytes */
  206. "\x02\x01\x01" /* version - integer of 1 byte */
  207. "\x02\x81\x81" /* modulus - integer of 129 bytes */
  208. "\x00\xBB\xF8\x2F\x09\x06\x82\xCE\x9C\x23\x38\xAC\x2B\x9D\xA8\x71"
  209. "\xF7\x36\x8D\x07\xEE\xD4\x10\x43\xA4\x40\xD6\xB6\xF0\x74\x54\xF5"
  210. "\x1F\xB8\xDF\xBA\xAF\x03\x5C\x02\xAB\x61\xEA\x48\xCE\xEB\x6F\xCD"
  211. "\x48\x76\xED\x52\x0D\x60\xE1\xEC\x46\x19\x71\x9D\x8A\x5B\x8B\x80"
  212. "\x7F\xAF\xB8\xE0\xA3\xDF\xC7\x37\x72\x3E\xE6\xB4\xB7\xD9\x3A\x25"
  213. "\x84\xEE\x6A\x64\x9D\x06\x09\x53\x74\x88\x34\xB2\x45\x45\x98\x39"
  214. "\x4E\xE0\xAA\xB1\x2D\x7B\x61\xA5\x1F\x52\x7A\x9A\x41\xF6\xC1\x68"
  215. "\x7F\xE2\x53\x72\x98\xCA\x2A\x8F\x59\x46\xF8\xE5\xFD\x09\x1D\xBD"
  216. "\xCB"
  217. "\x02\x01\x11" /* public key - integer of 1 byte */
  218. "\x02\x81\x81" /* private key - integer of 129 bytes */
  219. "\x00\xA5\xDA\xFC\x53\x41\xFA\xF2\x89\xC4\xB9\x88\xDB\x30\xC1\xCD"
  220. "\xF8\x3F\x31\x25\x1E\x06\x68\xB4\x27\x84\x81\x38\x01\x57\x96\x41"
  221. "\xB2\x94\x10\xB3\xC7\x99\x8D\x6B\xC4\x65\x74\x5E\x5C\x39\x26\x69"
  222. "\xD6\x87\x0D\xA2\xC0\x82\xA9\x39\xE3\x7F\xDC\xB8\x2E\xC9\x3E\xDA"
  223. "\xC9\x7F\xF3\xAD\x59\x50\xAC\xCF\xBC\x11\x1C\x76\xF1\xA9\x52\x94"
  224. "\x44\xE5\x6A\xAF\x68\xC5\x6C\x09\x2C\xD3\x8D\xC3\xBE\xF5\xD2\x0A"
  225. "\x93\x99\x26\xED\x4F\x74\xA1\x3E\xDD\xFB\xE1\xA1\xCE\xCC\x48\x94"
  226. "\xAF\x94\x28\xC2\xB7\xB8\x88\x3F\xE4\x46\x3A\x4B\xC8\x5B\x1C\xB3"
  227. "\xC1"
  228. "\x02\x01\x00" /* prime1 - integer of 1 byte */
  229. "\x02\x01\x00" /* prime2 - integer of 1 byte */
  230. "\x02\x01\x00" /* exponent1 - integer of 1 byte */
  231. "\x02\x01\x00" /* exponent2 - integer of 1 byte */
  232. "\x02\x01\x00", /* coefficient - integer of 1 byte */
  233. .key_len = 289,
  234. .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
  235. .c =
  236. "\x74\x1b\x55\xac\x47\xb5\x08\x0a\x6e\x2b\x2d\xf7\x94\xb8\x8a\x95"
  237. "\xed\xa3\x6b\xc9\x29\xee\xb2\x2c\x80\xc3\x39\x3b\x8c\x62\x45\x72"
  238. "\xc2\x7f\x74\x81\x91\x68\x44\x48\x5a\xdc\xa0\x7e\xa7\x0b\x05\x7f"
  239. "\x0e\xa0\x6c\xe5\x8f\x19\x4d\xce\x98\x47\x5f\xbd\x5f\xfe\xe5\x34"
  240. "\x59\x89\xaf\xf0\xba\x44\xd7\xf1\x1a\x50\x72\xef\x5e\x4a\xb6\xb7"
  241. "\x54\x34\xd1\xc4\x83\x09\xdf\x0f\x91\x5f\x7d\x91\x70\x2f\xd4\x13"
  242. "\xcc\x5e\xa4\x6c\xc3\x4d\x28\xef\xda\xaf\xec\x14\x92\xfc\xa3\x75"
  243. "\x13\xb4\xc1\xa1\x11\xfc\x40\x2f\x4c\x9d\xdf\x16\x76\x11\x20\x6b",
  244. .m_size = 8,
  245. .c_size = 128,
  246. }, {
  247. #endif
  248. .key =
  249. "\x30\x82\x02\x1F" /* sequence of 543 bytes */
  250. "\x02\x01\x01" /* version - integer of 1 byte */
  251. "\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
  252. "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
  253. "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
  254. "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
  255. "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
  256. "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
  257. "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
  258. "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
  259. "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
  260. "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
  261. "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
  262. "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
  263. "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
  264. "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
  265. "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
  266. "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
  267. "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
  268. "\x02\x03\x01\x00\x01" /* public key - integer of 3 bytes */
  269. "\x02\x82\x01\x00" /* private key - integer of 256 bytes */
  270. "\x52\x41\xF4\xDA\x7B\xB7\x59\x55\xCA\xD4\x2F\x0F\x3A\xCB\xA4\x0D"
  271. "\x93\x6C\xCC\x9D\xC1\xB2\xFB\xFD\xAE\x40\x31\xAC\x69\x52\x21\x92"
  272. "\xB3\x27\xDF\xEA\xEE\x2C\x82\xBB\xF7\x40\x32\xD5\x14\xC4\x94\x12"
  273. "\xEC\xB8\x1F\xCA\x59\xE3\xC1\x78\xF3\x85\xD8\x47\xA5\xD7\x02\x1A"
  274. "\x65\x79\x97\x0D\x24\xF4\xF0\x67\x6E\x75\x2D\xBF\x10\x3D\xA8\x7D"
  275. "\xEF\x7F\x60\xE4\xE6\x05\x82\x89\x5D\xDF\xC6\xD2\x6C\x07\x91\x33"
  276. "\x98\x42\xF0\x02\x00\x25\x38\xC5\x85\x69\x8A\x7D\x2F\x95\x6C\x43"
  277. "\x9A\xB8\x81\xE2\xD0\x07\x35\xAA\x05\x41\xC9\x1E\xAF\xE4\x04\x3B"
  278. "\x19\xB8\x73\xA2\xAC\x4B\x1E\x66\x48\xD8\x72\x1F\xAC\xF6\xCB\xBC"
  279. "\x90\x09\xCA\xEC\x0C\xDC\xF9\x2C\xD7\xEB\xAE\xA3\xA4\x47\xD7\x33"
  280. "\x2F\x8A\xCA\xBC\x5E\xF0\x77\xE4\x97\x98\x97\xC7\x10\x91\x7D\x2A"
  281. "\xA6\xFF\x46\x83\x97\xDE\xE9\xE2\x17\x03\x06\x14\xE2\xD7\xB1\x1D"
  282. "\x77\xAF\x51\x27\x5B\x5E\x69\xB8\x81\xE6\x11\xC5\x43\x23\x81\x04"
  283. "\x62\xFF\xE9\x46\xB8\xD8\x44\xDB\xA5\xCC\x31\x54\x34\xCE\x3E\x82"
  284. "\xD6\xBF\x7A\x0B\x64\x21\x6D\x88\x7E\x5B\x45\x12\x1E\x63\x8D\x49"
  285. "\xA7\x1D\xD9\x1E\x06\xCD\xE8\xBA\x2C\x8C\x69\x32\xEA\xBE\x60\x71"
  286. "\x02\x01\x00" /* prime1 - integer of 1 byte */
  287. "\x02\x01\x00" /* prime2 - integer of 1 byte */
  288. "\x02\x01\x00" /* exponent1 - integer of 1 byte */
  289. "\x02\x01\x00" /* exponent2 - integer of 1 byte */
  290. "\x02\x01\x00", /* coefficient - integer of 1 byte */
  291. .key_len = 547,
  292. .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
  293. .c =
  294. "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
  295. "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
  296. "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
  297. "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
  298. "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
  299. "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
  300. "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
  301. "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
  302. "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
  303. "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
  304. "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
  305. "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
  306. "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
  307. "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
  308. "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
  309. "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
  310. .m_size = 8,
  311. .c_size = 256,
  312. }, {
  313. .key =
  314. "\x30\x82\x01\x09" /* sequence of 265 bytes */
  315. "\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
  316. "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
  317. "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
  318. "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
  319. "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
  320. "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
  321. "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
  322. "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
  323. "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
  324. "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
  325. "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
  326. "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
  327. "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
  328. "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
  329. "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
  330. "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
  331. "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
  332. "\x02\x03\x01\x00\x01", /* public key - integer of 3 bytes */
  333. .key_len = 269,
  334. .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
  335. .c =
  336. "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
  337. "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
  338. "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
  339. "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
  340. "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
  341. "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
  342. "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
  343. "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
  344. "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
  345. "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
  346. "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
  347. "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
  348. "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
  349. "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
  350. "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
  351. "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
  352. .m_size = 8,
  353. .c_size = 256,
  354. .public_key_vec = true,
  355. #ifndef CONFIG_CRYPTO_FIPS
  356. }, {
  357. .key =
  358. "\x30\x82\x09\x29" /* sequence of 2345 bytes */
  359. "\x02\x01\x00" /* version integer of 1 byte */
  360. "\x02\x82\x02\x01" /* modulus - integer of 513 bytes */
  361. "\x00\xC3\x8B\x55\x7B\x73\x4D\xFF\xE9\x9B\xC6\xDC\x67\x3C\xB4\x8E"
  362. "\xA0\x86\xED\xF2\xB9\x50\x5C\x54\x5C\xBA\xE4\xA1\xB2\xA7\xAE\x2F"
  363. "\x1B\x7D\xF1\xFB\xAC\x79\xC5\xDF\x1A\x00\xC9\xB2\xC1\x61\x25\x33"
  364. "\xE6\x9C\xE9\xCF\xD6\x27\xC4\x4E\x44\x30\x44\x5E\x08\xA1\x87\x52"
  365. "\xCC\x6B\x97\x70\x8C\xBC\xA5\x06\x31\x0C\xD4\x2F\xD5\x7D\x26\x24"
  366. "\xA2\xE2\xAC\x78\xF4\x53\x14\xCE\xF7\x19\x2E\xD7\xF7\xE6\x0C\xB9"
  367. "\x56\x7F\x0B\xF1\xB1\xE2\x43\x70\xBD\x86\x1D\xA1\xCC\x2B\x19\x08"
  368. "\x76\xEF\x91\xAC\xBF\x20\x24\x0D\x38\xC0\x89\xB8\x9A\x70\xB3\x64"
  369. "\xD9\x8F\x80\x41\x10\x5B\x9F\xB1\xCB\x76\x43\x00\x21\x25\x36\xD4"
  370. "\x19\xFC\x55\x95\x10\xE4\x26\x74\x98\x2C\xD9\xBD\x0B\x2B\x04\xC2"
  371. "\xAC\x82\x38\xB4\xDD\x4C\x04\x7E\x51\x36\x40\x1E\x0B\xC4\x7C\x25"
  372. "\xDD\x4B\xB2\xE7\x20\x0A\x57\xF9\xB4\x94\xC3\x08\x33\x22\x6F\x8B"
  373. "\x48\xDB\x03\x68\x5A\x5B\xBA\xAE\xF3\xAD\xCF\xC3\x6D\xBA\xF1\x28"
  374. "\x67\x7E\x6C\x79\x07\xDE\xFC\xED\xE7\x96\xE3\x6C\xE0\x2C\x87\xF8"
  375. "\x02\x01\x28\x38\x43\x21\x53\x84\x69\x75\x78\x15\x7E\xEE\xD2\x1B"
  376. "\xB9\x23\x40\xA8\x86\x1E\x38\x83\xB2\x73\x1D\x53\xFB\x9E\x2A\x8A"
  377. "\xB2\x75\x35\x01\xC3\xC3\xC4\x94\xE8\x84\x86\x64\x81\xF4\x42\xAA"
  378. "\x3C\x0E\xD6\x4F\xBC\x0A\x09\x2D\xE7\x1B\xD4\x10\xA8\x54\xEA\x89"
  379. "\x84\x8A\xCB\xF7\x5A\x3C\xCA\x76\x08\x29\x62\xB4\x6A\x22\xDF\x14"
  380. "\x95\x71\xFD\xB6\x86\x39\xB8\x8B\xF8\x91\x7F\x38\xAA\x14\xCD\xE5"
  381. "\xF5\x1D\xC2\x6D\x53\x69\x52\x84\x7F\xA3\x1A\x5E\x26\x04\x83\x06"
  382. "\x73\x52\x56\xCF\x76\x26\xC9\xDD\x75\xD7\xFC\xF4\x69\xD8\x7B\x55"
  383. "\xB7\x68\x13\x53\xB9\xE7\x89\xC3\xE8\xD6\x6E\xA7\x6D\xEA\x81\xFD"
  384. "\xC4\xB7\x05\x5A\xB7\x41\x0A\x23\x8E\x03\x8A\x1C\xAE\xD3\x1E\xCE"
  385. "\xE3\x5E\xFC\x19\x4A\xEE\x61\x9B\x8E\xE5\xE5\xDD\x85\xF9\x41\xEC"
  386. "\x14\x53\x92\xF7\xDD\x06\x85\x02\x91\xE3\xEB\x6C\x43\x03\xB1\x36"
  387. "\x7B\x89\x5A\xA8\xEB\xFC\xD5\xA8\x35\xDC\x81\xD9\x5C\xBD\xCA\xDC"
  388. "\x9B\x98\x0B\x06\x5D\x0C\x5B\xEE\xF3\xD5\xCC\x57\xC9\x71\x2F\x90"
  389. "\x3B\x3C\xF0\x8E\x4E\x35\x48\xAE\x63\x74\xA9\xFC\x72\x75\x8E\x34"
  390. "\xA8\xF2\x1F\xEA\xDF\x3A\x37\x2D\xE5\x39\x39\xF8\x57\x58\x3C\x04"
  391. "\xFE\x87\x06\x98\xBC\x7B\xD3\x21\x36\x60\x25\x54\xA7\x3D\xFA\x91"
  392. "\xCC\xA8\x0B\x92\x8E\xB4\xF7\x06\xFF\x1E\x95\xCB\x07\x76\x97\x3B"
  393. "\x9D"
  394. "\x02\x03\x01\x00\x01" /* public key integer of 3 bytes */
  395. "\x02\x82\x02\x00" /* private key integer of 512 bytes */
  396. "\x74\xA9\xE0\x6A\x32\xB4\xCA\x85\xD9\x86\x9F\x60\x88\x7B\x40\xCC"
  397. "\xCD\x33\x91\xA8\xB6\x25\x1F\xBF\xE3\x51\x1C\x97\xB6\x2A\xD9\xB8"
  398. "\x11\x40\x19\xE3\x21\x13\xC8\xB3\x7E\xDC\xD7\x65\x40\x4C\x2D\xD6"
  399. "\xDC\xAF\x32\x6C\x96\x75\x2C\x2C\xCA\x8F\x3F\x7A\xEE\xC4\x09\xC6"
  400. "\x24\x3A\xC9\xCF\x6D\x8D\x17\x50\x94\x52\xD3\xE7\x0F\x2F\x7E\x94"
  401. "\x1F\xA0\xBE\xD9\x25\xE8\x38\x42\x7C\x27\xD2\x79\xF8\x2A\x87\x38"
  402. "\xEF\xBB\x74\x8B\xA8\x6E\x8C\x08\xC6\xC7\x4F\x0C\xBC\x79\xC6\xEF"
  403. "\x0E\xA7\x5E\xE4\xF8\x8C\x09\xC7\x5E\x37\xCC\x87\x77\xCD\xCF\xD1"
  404. "\x6D\x28\x1B\xA9\x62\xC0\xB8\x16\xA7\x8B\xF9\xBB\xCC\xB4\x15\x7F"
  405. "\x1B\x69\x03\xF2\x7B\xEB\xE5\x8C\x14\xD6\x23\x4F\x52\x6F\x18\xA6"
  406. "\x4B\x5B\x01\xAD\x35\xF9\x48\x53\xB3\x86\x35\x66\xD7\xE7\x29\xC0"
  407. "\x09\xB5\xC6\xE6\xFA\xC4\xDA\x19\xBE\xD7\x4D\x41\x14\xBE\x6F\xDF"
  408. "\x1B\xAB\xC0\xCA\x88\x07\xAC\xF1\x7D\x35\x83\x67\x28\x2D\x50\xE9"
  409. "\xCE\x27\x71\x5E\x1C\xCF\xD2\x30\x65\x79\x72\x2F\x9C\xE1\xD2\x39"
  410. "\x7F\xEF\x3B\x01\xF2\x14\x1D\xDF\xBD\x51\xD3\xA1\x53\x62\xCF\x5F"
  411. "\x79\x84\xCE\x06\x96\x69\x29\x49\x82\x1C\x71\x4A\xA1\x66\xC8\x2F"
  412. "\xFD\x7B\x96\x7B\xFC\xC4\x26\x58\xC4\xFC\x7C\xAF\xB5\xE8\x95\x83"
  413. "\x87\xCB\x46\xDE\x97\xA7\xB3\xA2\x54\x5B\xD7\xAF\xAB\xEB\xC8\xF3"
  414. "\x55\x9D\x48\x2B\x30\x9C\xDC\x26\x4B\xC2\x89\x45\x13\xB2\x01\x9A"
  415. "\xA4\x65\xC3\xEC\x24\x2D\x26\x97\xEB\x80\x8A\x9D\x03\xBC\x59\x66"
  416. "\x9E\xE2\xBB\xBB\x63\x19\x64\x93\x11\x7B\x25\x65\x30\xCD\x5B\x4B"
  417. "\x2C\xFF\xDC\x2D\x30\x87\x1F\x3C\x88\x07\xD0\xFC\x48\xCC\x05\x8A"
  418. "\xA2\xC8\x39\x3E\xD5\x51\xBC\x0A\xBE\x6D\xA8\xA0\xF6\x88\x06\x79"
  419. "\x13\xFF\x1B\x45\xDA\x54\xC9\x24\x25\x8A\x75\x0A\x26\xD1\x69\x81"
  420. "\x14\x14\xD1\x79\x7D\x8E\x76\xF2\xE0\xEB\xDD\x0F\xDE\xC2\xEC\x80"
  421. "\xD7\xDC\x16\x99\x92\xBE\xCB\x40\x0C\xCE\x7C\x3B\x46\xA2\x5B\x5D"
  422. "\x0C\x45\xEB\xE1\x00\xDE\x72\x50\xB1\xA6\x0B\x76\xC5\x8D\xFC\x82"
  423. "\x38\x6D\x99\x14\x1D\x1A\x4A\xD3\x7C\x53\xB8\x12\x46\xA2\x30\x38"
  424. "\x82\xF4\x96\x6E\x8C\xCE\x47\x0D\xAF\x0A\x3B\x45\xB7\x43\x95\x43"
  425. "\x9E\x02\x2C\x44\x07\x6D\x1F\x3C\x66\x89\x09\xB6\x1F\x06\x30\xCC"
  426. "\xAD\xCE\x7D\x9A\xDE\x3E\xFB\x6C\xE4\x58\x43\xD2\x4F\xA5\x9E\x5E"
  427. "\xA7\x7B\xAE\x3A\xF6\x7E\xD9\xDB\xD3\xF5\xC5\x41\xAF\xE6\x9C\x91"
  428. "\x02\x82\x01\x01" /* prime1 - integer of 257 bytes */
  429. "\x00\xE0\xA6\x6C\xF0\xA2\xF8\x81\x85\x36\x43\xD0\x13\x0B\x33\x8B"
  430. "\x8F\x78\x3D\xAC\xC7\x5E\x46\x6A\x7F\x05\xAE\x3E\x26\x0A\xA6\xD0"
  431. "\x51\xF3\xC8\x61\xF5\x77\x22\x48\x10\x87\x4C\xD5\xA4\xD5\xAE\x2D"
  432. "\x4E\x7A\xFE\x1C\x31\xE7\x6B\xFF\xA4\x69\x20\xF9\x2A\x0B\x99\xBE"
  433. "\x7C\x32\x68\xAD\xB0\xC6\x94\x81\x41\x75\xDC\x06\x78\x0A\xB4\xCF"
  434. "\xCD\x1B\x2D\x31\xE4\x7B\xEA\xA8\x35\x99\x75\x57\xC6\x0E\xF6\x78"
  435. "\x4F\xA0\x92\x4A\x00\x1B\xE7\x96\xF2\x5B\xFD\x2C\x0A\x0A\x13\x81"
  436. "\xAF\xCB\x59\x87\x31\xD9\x83\x65\xF2\x22\x48\xD0\x03\x67\x39\xF6"
  437. "\xFF\xA8\x36\x07\x3A\x68\xE3\x7B\xA9\x64\xFD\x9C\xF7\xB1\x3D\xBF"
  438. "\x26\x5C\xCC\x7A\xFC\xA2\x8F\x51\xD1\xE1\xE2\x3C\xEC\x06\x75\x7C"
  439. "\x34\xF9\xA9\x33\x70\x11\xAD\x5A\xDC\x5F\xCF\x50\xF6\x23\x2F\x39"
  440. "\xAC\x92\x48\x53\x4D\x01\x96\x3C\xD8\xDC\x1F\x23\x23\x78\x80\x34"
  441. "\x54\x14\x76\x8B\xB6\xBB\xFB\x88\x78\x31\x59\x28\xD2\xB1\x75\x17"
  442. "\x88\x04\x4A\x78\x62\x18\x2E\xF5\xFB\x9B\xEF\x15\xD8\x16\x47\xC6"
  443. "\x42\xB1\x02\xDA\x9E\xE3\x84\x90\xB4\x2D\xC3\xCE\x13\xC9\x12\x7D"
  444. "\x3E\xCD\x39\x39\xC9\xAD\xA1\x1A\xE6\xD5\xAD\x5A\x09\x4D\x1B\x0C"
  445. "\xAB"
  446. "\x02\x82\x01\x01" /* prime 2 - integer of 257 bytes */
  447. "\x00\xDE\xD5\x1B\xF6\xCD\x83\xB1\xC6\x47\x7E\xB9\xC0\x6B\xA9\xB8"
  448. "\x02\xF3\xAE\x40\x5D\xFC\xD3\xE5\x4E\xF1\xE3\x39\x04\x52\x84\x89"
  449. "\x40\x37\xBB\xC2\xCD\x7F\x71\x77\x17\xDF\x6A\x4C\x31\x24\x7F\xB9"
  450. "\x7E\x7F\xC8\x43\x4A\x3C\xEB\x8D\x1B\x7F\x21\x51\x67\x45\x8F\xA0"
  451. "\x36\x29\x3A\x18\x45\xA5\x32\xEC\x74\x88\x3C\x98\x5D\x67\x3B\xD7"
  452. "\x51\x1F\xE9\xAE\x09\x01\xDE\xDE\x7C\xFB\x60\xD1\xA5\x6C\xE9\x6A"
  453. "\x93\x04\x02\x3A\xBB\x67\x02\xB9\xFD\x23\xF0\x02\x2B\x49\x85\xC9"
  454. "\x5B\xE7\x4B\xDF\xA3\xF4\xEE\x59\x4C\x45\xEF\x8B\xC1\x6B\xDE\xDE"
  455. "\xBC\x1A\xFC\xD2\x76\x3F\x33\x74\xA9\x8E\xA3\x7E\x0C\xC6\xCE\x70"
  456. "\xA1\x5B\xA6\x77\xEA\x76\xEB\x18\xCE\xB9\xD7\x78\x8D\xAE\x06\xBB"
  457. "\xD3\x1F\x16\x0D\x05\xAB\x4F\xC6\x52\xC8\x6B\x36\x51\x7D\x1D\x27"
  458. "\xAF\x88\x9A\x6F\xCC\x25\x2E\x74\x06\x72\xCE\x9E\xDB\xE0\x9D\x30"
  459. "\xEF\x55\xA5\x58\x21\xA7\x42\x12\x2C\x2C\x23\x87\xC1\x0F\xE8\x51"
  460. "\xDA\x53\xDA\xFC\x05\x36\xDF\x08\x0E\x08\x36\xBE\x5C\x86\x9E\xCA"
  461. "\x68\x90\x33\x12\x0B\x14\x82\xAB\x90\x1A\xD4\x49\x32\x9C\xBD\xAA"
  462. "\xAB\x4E\x38\xF1\xEE\xED\x3D\x3F\xE8\xBD\x48\x56\xA6\x64\xEE\xC8"
  463. "\xD7"
  464. "\x02\x82\x01\x01" /* exponent 1 - integer of 257 bytes */
  465. "\x00\x96\x5E\x6F\x8F\x06\xD6\xE6\x03\x1F\x96\x76\x81\x38\xBF\x30"
  466. "\xCC\x40\x84\xAF\xD0\xE7\x06\xA5\x24\x0E\xCE\x59\xA5\x26\xFE\x0F"
  467. "\x74\xBB\x83\xC6\x26\x02\xAF\x3C\xA3\x6B\x9C\xFF\x68\x0C\xEB\x40"
  468. "\x42\x46\xCB\x2E\x5E\x2C\xF4\x3A\x32\x77\x77\xED\xAF\xBA\x02\x17"
  469. "\xE1\x93\xF0\x43\x4A\x8F\x31\x39\xEF\x72\x0F\x6B\x79\x10\x59\x84"
  470. "\xBA\x5A\x55\x7F\x0E\xDB\xEE\xEE\xD6\xA9\xB8\x44\x9F\x3A\xC6\xB9"
  471. "\x33\x3B\x5C\x90\x11\xD0\x9B\xCC\x8A\xBF\x0E\x10\x5B\x4B\xF1\x50"
  472. "\x9E\x35\xB3\xE0\x6D\x7A\x95\x9C\x38\x5D\xC0\x75\x13\xC2\x15\xA7"
  473. "\x81\xEA\xBA\xF7\x4D\x9E\x85\x9D\xF1\x7D\xBA\xD0\x45\x6F\x2A\xD0"
  474. "\x76\xC2\x28\xD0\xAD\xA7\xB5\xDC\xE3\x6A\x99\xFF\x83\x50\xB3\x75"
  475. "\x07\x14\x91\xAF\xEF\x74\xB5\x9F\x9A\xE0\xBA\xA9\x0B\x87\xF3\x85"
  476. "\x5C\x40\xB2\x0E\xA7\xFD\xC6\xED\x45\x8E\xD9\x7C\xB0\xB2\x68\xC6"
  477. "\x1D\xFD\x70\x78\x06\x41\x7F\x95\x12\x36\x9D\xE2\x58\x5D\x15\xEE"
  478. "\x41\x49\xF5\xFA\xEC\x56\x19\xA0\xE6\xE0\xB2\x40\xE1\xD9\xD0\x03"
  479. "\x22\x02\xCF\xD1\x3C\x07\x38\x65\x8F\x65\x0E\xAA\x32\xCE\x25\x05"
  480. "\x16\x73\x51\xB9\x9F\x88\x0B\xCD\x30\xF3\x97\xCC\x2B\x6B\xA4\x0E"
  481. "\x6F"
  482. "\x02\x82\x01\x00" /* exponent 2 - integer of 256 bytes */
  483. "\x2A\x5F\x3F\xB8\x08\x90\x58\x47\xA9\xE4\xB1\x11\xA3\xE7\x5B\xF4"
  484. "\x43\xBE\x08\xC3\x56\x86\x3C\x7E\x6C\x84\x96\x9C\xF9\xCB\xF6\x05"
  485. "\x5E\x13\xB8\x11\x37\x80\xAD\xF2\xBE\x2B\x0A\x5D\xF5\xE0\xCB\xB7"
  486. "\x00\x39\x66\x82\x41\x5F\x51\x2F\xBF\x56\xE8\x91\xC8\xAA\x6C\xFE"
  487. "\x9F\x8C\x4A\x7D\x43\xD2\x91\x1F\xFF\x9F\xF6\x21\x1C\xB6\x46\x55"
  488. "\x48\xCA\x38\xAB\xC1\xCD\x4D\x65\x5A\xAF\xA8\x6D\xDA\x6D\xF0\x34"
  489. "\x10\x79\x14\x0D\xFA\xA2\x8C\x17\x54\xB4\x18\xD5\x7E\x5F\x90\x50"
  490. "\x87\x84\xE7\xFB\xD7\x61\x53\x5D\xAB\x96\xC7\x6E\x7A\x42\xA0\xFC"
  491. "\x07\xED\xB7\x5F\x80\xD9\x19\xFF\xFB\xFD\x9E\xC4\x73\x31\x62\x3D"
  492. "\x6C\x9E\x15\x03\x62\xA5\x85\xCC\x19\x8E\x9D\x7F\xE3\x6D\xA8\x5D"
  493. "\x96\xF5\xAC\x78\x3D\x81\x27\xE7\x29\xF1\x29\x1D\x09\xBB\x77\x86"
  494. "\x6B\x65\x62\x88\xE1\x31\x1A\x22\xF7\xC5\xCE\x73\x65\x1C\xBE\xE7"
  495. "\x63\xD3\xD3\x14\x63\x27\xAF\x28\xF3\x23\xB6\x76\xC1\xBD\x9D\x82"
  496. "\xF4\x9B\x19\x7D\x2C\x57\xF0\xC2\x2A\x51\xAE\x95\x0D\x8C\x38\x54"
  497. "\xF5\xC6\xA0\x51\xB7\x0E\xB9\xEC\xE7\x0D\x22\xF6\x1A\xD3\xFE\x16"
  498. "\x21\x03\xB7\x0D\x85\xD3\x35\xC9\xDD\xE4\x59\x85\xBE\x7F\xA1\x75"
  499. "\x02\x82\x01\x01" /* coefficient - integer of 257 bytes */
  500. "\x00\xB9\x48\xD2\x54\x2F\x19\x54\x64\xAE\x62\x80\x61\x89\x80\xB4"
  501. "\x48\x0B\x8D\x7E\x1B\x0F\x50\x08\x82\x3F\xED\x75\x84\xB7\x13\xE4"
  502. "\xF8\x8D\xA8\xBB\x54\x21\x4C\x5A\x54\x07\x16\x4B\xB4\xA4\x9E\x30"
  503. "\xBF\x7A\x30\x1B\x39\x60\xA3\x21\x53\xFB\xB0\xDC\x0F\x7C\x2C\xFB"
  504. "\xAA\x95\x7D\x51\x39\x28\x33\x1F\x25\x31\x53\xF5\xD2\x64\x2B\xF2"
  505. "\x1E\xB3\xC0\x6A\x0B\xC9\xA4\x42\x64\x5C\xFB\x15\xA3\xE8\x4C\x3A"
  506. "\x9C\x3C\xBE\xA3\x39\x83\x23\xE3\x6D\x18\xCC\xC2\xDC\x63\x8D\xBA"
  507. "\x98\xE0\xE0\x31\x4A\x2B\x37\x9C\x4D\x6B\xF3\x9F\x51\xE4\x43\x5C"
  508. "\x83\x5F\xBF\x5C\xFE\x92\x45\x01\xAF\xF5\xC2\xF4\xB7\x56\x93\xA5"
  509. "\xF4\xAA\x67\x3C\x48\x37\xBD\x9A\x3C\xFE\xA5\x9A\xB0\xD1\x6B\x85"
  510. "\xDD\x81\xD4\xFA\xAD\x31\x83\xA8\x22\x9B\xFD\xB4\x61\xDC\x7A\x51"
  511. "\x59\x62\x10\x1B\x7E\x44\xA3\xFE\x90\x51\x5A\x3E\x02\x87\xAD\xFA"
  512. "\xDD\x0B\x1F\x3D\x35\xAF\xEE\x13\x85\x51\xA7\x42\xC0\xEE\x9E\x20"
  513. "\xE9\xD0\x29\xB2\xE4\x21\xE4\x6D\x62\xB9\xF4\x48\x4A\xD8\x46\x8E"
  514. "\x61\xA6\x2C\x5D\xDF\x8F\x97\x2B\x3A\x75\x1D\x83\x17\x6F\xC6\xB0"
  515. "\xDE\xFC\x14\x25\x06\x5A\x60\xBB\xB8\x21\x89\xD1\xEF\x57\xF1\x71"
  516. "\x3D",
  517. .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
  518. .c =
  519. "\x5c\xce\x9c\xd7\x9a\x9e\xa1\xfe\x7a\x82\x3c\x68\x27\x98\xe3\x5d"
  520. "\xd5\xd7\x07\x29\xf5\xfb\xc3\x1a\x7f\x63\x1e\x62\x31\x3b\x19\x87"
  521. "\x79\x4f\xec\x7b\xf3\xcb\xea\x9b\x95\x52\x3a\x40\xe5\x87\x7b\x72"
  522. "\xd1\x72\xc9\xfb\x54\x63\xd8\xc9\xd7\x2c\xfc\x7b\xc3\x14\x1e\xbc"
  523. "\x18\xb4\x34\xa1\xbf\x14\xb1\x37\x31\x6e\xf0\x1b\x35\x19\x54\x07"
  524. "\xf7\x99\xec\x3e\x63\xe2\xcd\x61\x28\x65\xc3\xcd\xb1\x38\x36\xa5"
  525. "\xb2\xd7\xb0\xdc\x1f\xf5\xef\x19\xc7\x53\x32\x2d\x1c\x26\xda\xe4"
  526. "\x0d\xd6\x90\x7e\x28\xd8\xdc\xe4\x61\x05\xd2\x25\x90\x01\xd3\x96"
  527. "\x6d\xa6\xcf\x58\x20\xbb\x03\xf4\x01\xbc\x79\xb9\x18\xd8\xb8\xba"
  528. "\xbd\x93\xfc\xf2\x62\x5d\x8c\x66\x1e\x0e\x84\x59\x93\xdd\xe2\x93"
  529. "\xa2\x62\x7d\x08\x82\x7a\xdd\xfc\xb8\xbc\xc5\x4f\x9c\x4e\xbf\xb4"
  530. "\xfc\xf4\xc5\x01\xe8\x00\x70\x4d\x28\x26\xcc\x2e\xfe\x0e\x58\x41"
  531. "\x8b\xec\xaf\x7c\x4b\x54\xd0\xa0\x64\xf9\x32\xf4\x2e\x47\x65\x0a"
  532. "\x67\x88\x39\x3a\xdb\xb2\xdb\x7b\xb5\xf6\x17\xa8\xd9\xc6\x5e\x28"
  533. "\x13\x82\x8a\x99\xdb\x60\x08\xa5\x23\x37\xfa\x88\x90\x31\xc8\x9d"
  534. "\x8f\xec\xfb\x85\x9f\xb1\xce\xa6\x24\x50\x46\x44\x47\xcb\x65\xd1"
  535. "\xdf\xc0\xb1\x6c\x90\x1f\x99\x8e\x4d\xd5\x9e\x31\x07\x66\x87\xdf"
  536. "\x01\xaa\x56\x3c\x71\xe0\x2b\x6f\x67\x3b\x23\xed\xc2\xbd\x03\x30"
  537. "\x79\x76\x02\x10\x10\x98\x85\x8a\xff\xfd\x0b\xda\xa5\xd9\x32\x48"
  538. "\x02\xa0\x0b\xb9\x2a\x8a\x18\xca\xc6\x8f\x3f\xbb\x16\xb2\xaa\x98"
  539. "\x27\xe3\x60\x43\xed\x15\x70\xd4\x57\x15\xfe\x19\xd4\x9b\x13\x78"
  540. "\x8a\xf7\x21\xf1\xa2\xa2\x2d\xb3\x09\xcf\x44\x91\x6e\x08\x3a\x30"
  541. "\x81\x3e\x90\x93\x8a\x67\x33\x00\x59\x54\x9a\x25\xd3\x49\x8e\x9f"
  542. "\xc1\x4b\xe5\x86\xf3\x50\x4c\xbc\xc5\xd3\xf5\x3a\x54\xe1\x36\x3f"
  543. "\xe2\x5a\xb4\x37\xc0\xeb\x70\x35\xec\xf6\xb7\xe8\x44\x3b\x7b\xf3"
  544. "\xf1\xf2\x1e\xdb\x60\x7d\xd5\xbe\xf0\x71\x34\x90\x4c\xcb\xd4\x35"
  545. "\x51\xc7\xdd\xd8\xc9\x81\xf5\x5d\x57\x46\x2c\xb1\x7b\x9b\xaa\xcb"
  546. "\xd1\x22\x25\x49\x44\xa3\xd4\x6b\x29\x7b\xd8\xb2\x07\x93\xbf\x3d"
  547. "\x52\x49\x84\x79\xef\xb8\xe5\xc4\xad\xca\xa8\xc6\xf6\xa6\x76\x70"
  548. "\x5b\x0b\xe5\x83\xc6\x0e\xef\x55\xf2\xe7\xff\x04\xea\xe6\x13\xbe"
  549. "\x40\xe1\x40\x45\x48\x66\x75\x31\xae\x35\x64\x91\x11\x6f\xda\xee"
  550. "\x26\x86\x45\x6f\x0b\xd5\x9f\x03\xb1\x65\x5b\xdb\xa4\xe4\xf9\x45",
  551. .key_len = 2349,
  552. .m_size = 8,
  553. .c_size = 512,
  554. #endif
  555. }
  556. };
  557. /*
  558. * EC-RDSA test vectors are generated by gost-engine.
  559. */
  560. static const struct akcipher_testvec ecrdsa_tv_template[] = {
  561. {
  562. .key =
  563. "\x04\x40\xd5\xa7\x77\xf9\x26\x2f\x8c\xbd\xcc\xe3\x1f\x01\x94\x05"
  564. "\x3d\x2f\xec\xb5\x00\x34\xf5\x51\x6d\x3b\x90\x4b\x23\x28\x6f\x1d"
  565. "\xc8\x36\x61\x60\x36\xec\xbb\xb4\x0b\x95\x4e\x54\x4f\x15\x21\x05"
  566. "\xd8\x52\x66\x44\x31\x7e\x5d\xc5\xd1\x26\x00\x5f\x60\xd8\xf0\xc7"
  567. "\x27\xfc",
  568. .key_len = 66,
  569. .params = /* OID_gostCPSignA */
  570. "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x01\x06\x08\x2a\x85\x03"
  571. "\x07\x01\x01\x02\x02",
  572. .param_len = 21,
  573. .c =
  574. "\x41\x32\x09\x73\xa4\xc1\x38\xd6\x63\x7d\x8b\xf7\x50\x3f\xda\x9f"
  575. "\x68\x48\xc1\x50\xe3\x42\x3a\x9b\x2b\x28\x12\x2a\xa7\xc2\x75\x31"
  576. "\x65\x77\x8c\x3c\x9e\x0d\x56\xb2\xf9\xdc\x04\x33\x3e\xb0\x9e\xf9"
  577. "\x74\x4e\x59\xb3\x83\xf2\x91\x27\xda\x5e\xc7\x33\xc0\xc1\x8f\x41",
  578. .c_size = 64,
  579. .algo = OID_gost2012PKey256,
  580. .m =
  581. "\x75\x1b\x9b\x40\x25\xb9\x96\xd2\x9b\x00\x41\xb3\x58\xbf\x23\x14"
  582. "\x79\xd2\x76\x64\xa3\xbd\x66\x10\x79\x05\x5a\x06\x42\xec\xb9\xc9",
  583. .m_size = 32,
  584. .public_key_vec = true,
  585. .siggen_sigver_test = true,
  586. },
  587. {
  588. .key =
  589. "\x04\x40\x66\x6f\xd6\xb7\x06\xd0\xf5\xa5\x6f\x69\x5c\xa5\x13\x45"
  590. "\x14\xdd\xcb\x12\x9c\x1b\xf5\x28\x64\x7a\x49\x48\x29\x14\x66\x42"
  591. "\xb8\x1b\x5c\xf9\x56\x6d\x08\x3b\xce\xbb\x62\x2f\xc2\x3c\xc5\x49"
  592. "\x93\x27\x70\x20\xcc\x79\xeb\xdc\x76\x8e\x48\x6e\x04\x96\xc3\x29"
  593. "\xa0\x73",
  594. .key_len = 66,
  595. .params = /* OID_gostCPSignB */
  596. "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x02\x06\x08\x2a\x85\x03"
  597. "\x07\x01\x01\x02\x02",
  598. .param_len = 21,
  599. .c =
  600. "\x45\x6d\x4a\x03\x1d\x5c\x0b\x17\x79\xe7\x19\xdb\xbf\x81\x9f\x82"
  601. "\xae\x06\xda\xf5\x47\x00\x05\x80\xc3\x16\x06\x9a\x8e\x7c\xb2\x8e"
  602. "\x7f\x74\xaa\xec\x6b\x7b\x7f\x8b\xc6\x0b\x10\x42\x4e\x91\x2c\xdf"
  603. "\x7b\x8b\x15\xf4\x9e\x59\x0f\xc7\xa4\x68\x2e\xce\x89\xdf\x84\xe9",
  604. .c_size = 64,
  605. .algo = OID_gost2012PKey256,
  606. .m =
  607. "\xd0\x54\x00\x27\x6a\xeb\xce\x6c\xf5\xf6\xfb\x57\x18\x18\x21\x13"
  608. "\x11\x23\x4a\x70\x43\x52\x7a\x68\x11\x65\x45\x37\xbb\x25\xb7\x40",
  609. .m_size = 32,
  610. .public_key_vec = true,
  611. .siggen_sigver_test = true,
  612. },
  613. {
  614. .key =
  615. "\x04\x40\x05\x91\xa9\x7d\xcb\x87\xdc\x98\xa1\xbf\xff\xdd\x20\x61"
  616. "\xaa\x58\x3b\x2d\x8e\x9c\x41\x9d\x4f\xc6\x23\x17\xf9\xca\x60\x65"
  617. "\xbc\x97\x97\xf6\x6b\x24\xe8\xac\xb1\xa7\x61\x29\x3c\x71\xdc\xad"
  618. "\xcb\x20\xbe\x96\xe8\xf4\x44\x2e\x49\xd5\x2c\xb9\xc9\x3b\x9c\xaa"
  619. "\xba\x15",
  620. .key_len = 66,
  621. .params = /* OID_gostCPSignC */
  622. "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x03\x06\x08\x2a\x85\x03"
  623. "\x07\x01\x01\x02\x02",
  624. .param_len = 21,
  625. .c =
  626. "\x3b\x2e\x2e\x74\x74\x47\xda\xea\x93\x90\x6a\xe2\xf5\xf5\xe6\x46"
  627. "\x11\xfc\xab\xdc\x52\xbc\x58\xdb\x45\x44\x12\x4a\xf7\xd0\xab\xc9"
  628. "\x73\xba\x64\xab\x0d\xac\x4e\x72\x10\xa8\x04\xf6\x1e\xe0\x48\x6a"
  629. "\xcd\xe8\xe3\x78\x73\x77\x82\x24\x8d\xf1\xd3\xeb\x4c\x25\x7e\xc0",
  630. .c_size = 64,
  631. .algo = OID_gost2012PKey256,
  632. .m =
  633. "\x52\x33\xf4\x3f\x7b\x5d\xcf\x20\xee\xe4\x5c\xab\x0b\x3f\x14\xd6"
  634. "\x9f\x16\xc6\x1c\xb1\x3f\x84\x41\x69\xec\x34\xfd\xf1\xf9\xa3\x39",
  635. .m_size = 32,
  636. .public_key_vec = true,
  637. .siggen_sigver_test = true,
  638. },
  639. {
  640. .key =
  641. "\x04\x81\x80\x85\x46\x8f\x16\xf8\x7a\x7e\x4a\xc3\x81\x9e\xf1\x6e"
  642. "\x94\x1e\x5d\x02\x87\xea\xfa\xa0\x0a\x17\x70\x49\x64\xad\x95\x68"
  643. "\x60\x0a\xf0\x57\x29\x41\x79\x30\x3c\x61\x69\xf2\xa6\x94\x87\x17"
  644. "\x54\xfa\x97\x2c\xe6\x1e\x0a\xbb\x55\x10\x57\xbe\xf7\xc1\x77\x2b"
  645. "\x11\x74\x0a\x50\x37\x14\x10\x2a\x45\xfc\x7a\xae\x1c\x4c\xce\x08"
  646. "\x05\xb7\xa4\x50\xc8\x3d\x39\x3d\xdc\x5c\x8f\x96\x6c\xe7\xfc\x21"
  647. "\xc3\x2d\x1e\x9f\x11\xb3\xec\x22\x18\x8a\x8c\x08\x6b\x8b\xed\xf5"
  648. "\xc5\x47\x3c\x7e\x73\x59\x44\x1e\x77\x83\x84\x52\x9e\x3b\x7d\xff"
  649. "\x9d\x86\x1a",
  650. .key_len = 131,
  651. .params = /* OID_gostTC26Sign512A */
  652. "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x01",
  653. .param_len = 13,
  654. .c =
  655. "\x92\x81\x74\x5f\x95\x48\x38\x87\xd9\x8f\x5e\xc8\x8a\xbb\x01\x4e"
  656. "\xb0\x75\x3c\x2f\xc7\x5a\x08\x4c\x68\xab\x75\x01\x32\x75\x75\xb5"
  657. "\x37\xe0\x74\x6d\x94\x84\x31\x2a\x6b\xf4\xf7\xb7\xa7\x39\x7b\x46"
  658. "\x07\xf0\x98\xbd\x33\x18\xa1\x72\xb2\x6d\x54\xe3\xde\x91\xc2\x2e"
  659. "\x4f\x6a\xf8\xb7\xec\xa8\x83\xc9\x8f\xd9\xce\x7c\x45\x06\x02\xf4"
  660. "\x4f\x21\xb5\x24\x3d\xb4\xb5\xd8\x58\x42\xbe\x2d\x29\xae\x93\xc0"
  661. "\x13\x41\x96\x35\x08\x69\xe8\x36\xc7\xd1\x83\x81\xd7\xca\xfb\xc0"
  662. "\xd2\xb7\x78\x32\x3e\x30\x1a\x1e\xce\xdc\x34\x35\xc6\xad\x68\x24",
  663. .c_size = 128,
  664. .algo = OID_gost2012PKey512,
  665. .m =
  666. "\x1f\x70\xb5\xe9\x55\x12\xd6\x88\xcc\x55\xb9\x0c\x7f\xc4\x94\xf2"
  667. "\x04\x77\x41\x12\x02\xd6\xf1\x1f\x83\x56\xe9\xd6\x5a\x6a\x72\xb9"
  668. "\x6e\x8e\x24\x2a\x84\xf1\xba\x67\xe8\xbf\xff\xc1\xd3\xde\xfb\xc6"
  669. "\xa8\xf6\x80\x01\xb9\x27\xac\xd8\x45\x96\x66\xa1\xee\x48\x08\x3f",
  670. .m_size = 64,
  671. .public_key_vec = true,
  672. .siggen_sigver_test = true,
  673. },
  674. {
  675. .key =
  676. "\x04\x81\x80\x28\xf3\x2b\x92\x04\x32\xea\x66\x20\xde\xa0\x2f\x74"
  677. "\xbf\x2d\xf7\xb5\x30\x76\xb1\xc8\xee\x38\x9f\xea\xe5\xad\xc6\xa3"
  678. "\x28\x1e\x51\x3d\x67\xa3\x41\xcc\x6b\x81\xe2\xe2\x9e\x82\xf3\x78"
  679. "\x56\xd7\x2e\xb2\xb5\xbe\xb4\x50\x21\x05\xe5\x29\x82\xef\x15\x1b"
  680. "\xc0\xd7\x30\xd6\x2f\x96\xe8\xff\x99\x4c\x25\xcf\x9a\xfc\x54\x30"
  681. "\xce\xdf\x59\xe9\xc6\x45\xce\xe4\x22\xe8\x01\xd5\xcd\x2f\xaa\x78"
  682. "\x99\xc6\x04\x1e\x6f\x4c\x25\x6a\x76\xad\xff\x48\xf3\xb3\xb4\xd6"
  683. "\x14\x5c\x2c\x0e\xea\xa2\x4b\xb9\x7e\x89\x77\x02\x3a\x29\xc8\x16"
  684. "\x8e\x78\x48",
  685. .key_len = 131,
  686. .params = /* OID_gostTC26Sign512B */
  687. "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x02",
  688. .param_len = 13,
  689. .c =
  690. "\x0a\xed\xb6\x27\xea\xa7\xa6\x7e\x2f\xc1\x02\x21\x74\xce\x27\xd2"
  691. "\xee\x8a\x92\x4d\xa9\x43\x2d\xa4\x5b\xdc\x23\x02\xfc\x3a\xf3\xb2"
  692. "\x10\x93\x0b\x40\x1b\x75\x95\x3e\x39\x41\x37\xb9\xab\x51\x09\xeb"
  693. "\xf1\xb9\x49\x58\xec\x58\xc7\xf9\x2e\xb9\xc9\x40\xf2\x00\x39\x7e"
  694. "\x3f\xde\x72\xe3\x85\x67\x06\xbe\xd8\xb8\xc1\x81\x1e\xe3\x0a\xfe"
  695. "\xce\xd3\x77\x92\x56\x8c\x58\xf9\x37\x60\x2d\xe6\x8b\x66\xa3\xdd"
  696. "\xd2\xf0\xf8\xda\x1b\x20\xbc\x9c\xec\x29\x5d\xd1\x8f\xcc\x37\xd1"
  697. "\x3b\x8d\xb7\xc1\xe0\xb8\x3b\xef\x14\x1b\x87\xbc\xc1\x03\x9a\x93",
  698. .c_size = 128,
  699. .algo = OID_gost2012PKey512,
  700. .m =
  701. "\x11\x24\x21\x27\xf2\x42\x9f\xce\x5a\xf9\x01\x70\xe0\x07\x2b\x57"
  702. "\xfb\x7d\x77\x5e\x74\x66\xe6\xa5\x40\x4c\x1a\x85\x18\xff\xd0\x63"
  703. "\xe0\x39\xd3\xd6\xe5\x17\xf8\xc3\x4b\xc6\x1c\x33\x1a\xca\xa6\x66"
  704. "\x6d\xf4\xd2\x45\xc2\x83\xa0\x42\x95\x05\x9d\x89\x8e\x0a\xca\xcc",
  705. .m_size = 64,
  706. .public_key_vec = true,
  707. .siggen_sigver_test = true,
  708. },
  709. };
  710. /*
  711. * PKCS#1 RSA test vectors. Obtained from CAVS testing.
  712. */
  713. static const struct akcipher_testvec pkcs1pad_rsa_tv_template[] = {
  714. {
  715. .key =
  716. "\x30\x82\x03\x1f\x02\x01\x00\x02\x82\x01\x01\x00\xd7\x1e\x77\x82"
  717. "\x8c\x92\x31\xe7\x69\x02\xa2\xd5\x5c\x78\xde\xa2\x0c\x8f\xfe\x28"
  718. "\x59\x31\xdf\x40\x9c\x60\x61\x06\xb9\x2f\x62\x40\x80\x76\xcb\x67"
  719. "\x4a\xb5\x59\x56\x69\x17\x07\xfa\xf9\x4c\xbd\x6c\x37\x7a\x46\x7d"
  720. "\x70\xa7\x67\x22\xb3\x4d\x7a\x94\xc3\xba\x4b\x7c\x4b\xa9\x32\x7c"
  721. "\xb7\x38\x95\x45\x64\xa4\x05\xa8\x9f\x12\x7c\x4e\xc6\xc8\x2d\x40"
  722. "\x06\x30\xf4\x60\xa6\x91\xbb\x9b\xca\x04\x79\x11\x13\x75\xf0\xae"
  723. "\xd3\x51\x89\xc5\x74\xb9\xaa\x3f\xb6\x83\xe4\x78\x6b\xcd\xf9\x5c"
  724. "\x4c\x85\xea\x52\x3b\x51\x93\xfc\x14\x6b\x33\x5d\x30\x70\xfa\x50"
  725. "\x1b\x1b\x38\x81\x13\x8d\xf7\xa5\x0c\xc0\x8e\xf9\x63\x52\x18\x4e"
  726. "\xa9\xf9\xf8\x5c\x5d\xcd\x7a\x0d\xd4\x8e\x7b\xee\x91\x7b\xad\x7d"
  727. "\xb4\x92\xd5\xab\x16\x3b\x0a\x8a\xce\x8e\xde\x47\x1a\x17\x01\x86"
  728. "\x7b\xab\x99\xf1\x4b\x0c\x3a\x0d\x82\x47\xc1\x91\x8c\xbb\x2e\x22"
  729. "\x9e\x49\x63\x6e\x02\xc1\xc9\x3a\x9b\xa5\x22\x1b\x07\x95\xd6\x10"
  730. "\x02\x50\xfd\xfd\xd1\x9b\xbe\xab\xc2\xc0\x74\xd7\xec\x00\xfb\x11"
  731. "\x71\xcb\x7a\xdc\x81\x79\x9f\x86\x68\x46\x63\x82\x4d\xb7\xf1\xe6"
  732. "\x16\x6f\x42\x63\xf4\x94\xa0\xca\x33\xcc\x75\x13\x02\x82\x01\x00"
  733. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  734. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  735. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  736. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  737. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  738. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  739. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  740. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  741. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  742. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  743. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  744. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  745. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  746. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  747. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
  748. "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x01"
  749. "\x02\x82\x01\x00\x62\xb5\x60\x31\x4f\x3f\x66\x16\xc1\x60\xac\x47"
  750. "\x2a\xff\x6b\x69\x00\x4a\xb2\x5c\xe1\x50\xb9\x18\x74\xa8\xe4\xdc"
  751. "\xa8\xec\xcd\x30\xbb\xc1\xc6\xe3\xc6\xac\x20\x2a\x3e\x5e\x8b\x12"
  752. "\xe6\x82\x08\x09\x38\x0b\xab\x7c\xb3\xcc\x9c\xce\x97\x67\xdd\xef"
  753. "\x95\x40\x4e\x92\xe2\x44\xe9\x1d\xc1\x14\xfd\xa9\xb1\xdc\x71\x9c"
  754. "\x46\x21\xbd\x58\x88\x6e\x22\x15\x56\xc1\xef\xe0\xc9\x8d\xe5\x80"
  755. "\x3e\xda\x7e\x93\x0f\x52\xf6\xf5\xc1\x91\x90\x9e\x42\x49\x4f\x8d"
  756. "\x9c\xba\x38\x83\xe9\x33\xc2\x50\x4f\xec\xc2\xf0\xa8\xb7\x6e\x28"
  757. "\x25\x56\x6b\x62\x67\xfe\x08\xf1\x56\xe5\x6f\x0e\x99\xf1\xe5\x95"
  758. "\x7b\xef\xeb\x0a\x2c\x92\x97\x57\x23\x33\x36\x07\xdd\xfb\xae\xf1"
  759. "\xb1\xd8\x33\xb7\x96\x71\x42\x36\xc5\xa4\xa9\x19\x4b\x1b\x52\x4c"
  760. "\x50\x69\x91\xf0\x0e\xfa\x80\x37\x4b\xb5\xd0\x2f\xb7\x44\x0d\xd4"
  761. "\xf8\x39\x8d\xab\x71\x67\x59\x05\x88\x3d\xeb\x48\x48\x33\x88\x4e"
  762. "\xfe\xf8\x27\x1b\xd6\x55\x60\x5e\x48\xb7\x6d\x9a\xa8\x37\xf9\x7a"
  763. "\xde\x1b\xcd\x5d\x1a\x30\xd4\xe9\x9e\x5b\x3c\x15\xf8\x9c\x1f\xda"
  764. "\xd1\x86\x48\x55\xce\x83\xee\x8e\x51\xc7\xde\x32\x12\x47\x7d\x46"
  765. "\xb8\x35\xdf\x41\x02\x01\x00\x02\x01\x00\x02\x01\x00\x02\x01\x00"
  766. "\x02\x01\x00",
  767. .key_len = 804,
  768. /*
  769. * m is SHA256 hash of following message:
  770. * "\x49\x41\xbe\x0a\x0c\xc9\xf6\x35\x51\xe4\x27\x56\x13\x71\x4b\xd0"
  771. * "\x36\x92\x84\x89\x1b\xf8\x56\x4a\x72\x61\x14\x69\x4f\x5e\x98\xa5"
  772. * "\x80\x5a\x37\x51\x1f\xd8\xf5\xb5\x63\xfc\xf4\xb1\xbb\x4d\x33\xa3"
  773. * "\x1e\xb9\x75\x8b\x9c\xda\x7e\x6d\x3a\x77\x85\xf7\xfc\x4e\xe7\x64"
  774. * "\x43\x10\x19\xa0\x59\xae\xe0\xad\x4b\xd3\xc4\x45\xf7\xb1\xc2\xc1"
  775. * "\x65\x01\x41\x39\x5b\x45\x47\xed\x2b\x51\xed\xe3\xd0\x09\x10\xd2"
  776. * "\x39\x6c\x4a\x3f\xe5\xd2\x20\xe6\xb0\x71\x7d\x5b\xed\x26\x60\xf1"
  777. * "\xb4\x73\xd1\xdb\x7d\xc4\x19\x91\xee\xf6\x32\x76\xf2\x19\x7d\xb7"
  778. */
  779. .m =
  780. "\x3e\xc8\xa1\x26\x20\x54\x44\x52\x48\x0d\xe5\x66\xf3\xb3\xf5\x04"
  781. "\xbe\x10\xa8\x48\x94\x22\x2d\xdd\xba\x7a\xb4\x76\x8d\x79\x98\x89",
  782. .m_size = 32,
  783. .c =
  784. "\xc7\xa3\x98\xeb\x43\xd1\x08\xc2\x3d\x78\x45\x04\x70\xc9\x01\xee"
  785. "\xf8\x85\x37\x7c\x0b\xf9\x19\x70\x5c\x45\x7b\x2f\x3a\x0b\xb7\x8b"
  786. "\xc4\x0d\x7b\x3a\x64\x0b\x0f\xdb\x78\xa9\x0b\xfd\x8d\x82\xa4\x86"
  787. "\x39\xbf\x21\xb8\x84\xc4\xce\x9f\xc2\xe8\xb6\x61\x46\x17\xb9\x4e"
  788. "\x0b\x57\x05\xb4\x4f\xf9\x9c\x93\x2d\x9b\xd5\x48\x1d\x80\x12\xef"
  789. "\x3a\x77\x7f\xbc\xb5\x8e\x2b\x6b\x7c\xfc\x9f\x8c\x9d\xa2\xc4\x85"
  790. "\xb0\x87\xe9\x17\x9b\xb6\x23\x62\xd2\xa9\x9f\x57\xe8\xf7\x04\x45"
  791. "\x24\x3a\x45\xeb\xeb\x6a\x08\x8e\xaf\xc8\xa0\x84\xbc\x5d\x13\x38"
  792. "\xf5\x17\x8c\xa3\x96\x9b\xa9\x38\x8d\xf0\x35\xad\x32\x8a\x72\x5b"
  793. "\xdf\x21\xab\x4b\x0e\xa8\x29\xbb\x61\x54\xbf\x05\xdb\x84\x84\xde"
  794. "\xdd\x16\x36\x31\xda\xf3\x42\x6d\x7a\x90\x22\x9b\x11\x29\xa6\xf8"
  795. "\x30\x61\xda\xd3\x8b\x54\x1e\x42\xd1\x47\x1d\x6f\xd1\xcd\x42\x0b"
  796. "\xd1\xe4\x15\x85\x7e\x08\xd6\x59\x64\x4c\x01\x34\x91\x92\x26\xe8"
  797. "\xb0\x25\x8c\xf8\xf4\xfa\x8b\xc9\x31\x33\x76\x72\xfb\x64\x92\x9f"
  798. "\xda\x62\x8d\xe1\x2a\x71\x91\x43\x40\x61\x3c\x5a\xbe\x86\xfc\x5b"
  799. "\xe6\xf9\xa9\x16\x31\x1f\xaf\x25\x6d\xc2\x4a\x23\x6e\x63\x02\xa2",
  800. .c_size = 256,
  801. .siggen_sigver_test = true,
  802. }
  803. };
  804. static const struct kpp_testvec dh_tv_template[] = {
  805. {
  806. .secret =
  807. #ifdef __LITTLE_ENDIAN
  808. "\x01\x00" /* type */
  809. "\x15\x02" /* len */
  810. "\x00\x01\x00\x00" /* key_size */
  811. "\x00\x01\x00\x00" /* p_size */
  812. "\x00\x00\x00\x00" /* q_size */
  813. "\x01\x00\x00\x00" /* g_size */
  814. #else
  815. "\x00\x01" /* type */
  816. "\x02\x15" /* len */
  817. "\x00\x00\x01\x00" /* key_size */
  818. "\x00\x00\x01\x00" /* p_size */
  819. "\x00\x00\x00\x00" /* q_size */
  820. "\x00\x00\x00\x01" /* g_size */
  821. #endif
  822. /* xa */
  823. "\x44\xc1\x48\x36\xa7\x2b\x6f\x4e\x43\x03\x68\xad\x31\x00\xda\xf3"
  824. "\x2a\x01\xa8\x32\x63\x5f\x89\x32\x1f\xdf\x4c\xa1\x6a\xbc\x10\x15"
  825. "\x90\x35\xc9\x26\x41\xdf\x7b\xaa\x56\x56\x3d\x85\x44\xb5\xc0\x8e"
  826. "\x37\x83\x06\x50\xb3\x5f\x0e\x28\x2c\xd5\x46\x15\xe3\xda\x7d\x74"
  827. "\x87\x13\x91\x4f\xd4\x2d\xf6\xc7\x5e\x14\x2c\x11\xc2\x26\xb4\x3a"
  828. "\xe3\xb2\x36\x20\x11\x3b\x22\xf2\x06\x65\x66\xe2\x57\x58\xf8\x22"
  829. "\x1a\x94\xbd\x2b\x0e\x8c\x55\xad\x61\x23\x45\x2b\x19\x1e\x63\x3a"
  830. "\x13\x61\xe3\xa0\x79\x70\x3e\x6d\x98\x32\xbc\x7f\x82\xc3\x11\xd8"
  831. "\xeb\x53\xb5\xfc\xb5\xd5\x3c\x4a\xea\x92\x3e\x01\xce\x15\x65\xd4"
  832. "\xaa\x85\xc1\x11\x90\x83\x31\x6e\xfe\xe7\x7f\x7d\xed\xab\xf9\x29"
  833. "\xf8\xc7\xf1\x68\xc6\xb7\xe4\x1f\x2f\x28\xa0\xc9\x1a\x50\x64\x29"
  834. "\x4b\x01\x6d\x1a\xda\x46\x63\x21\x07\x40\x8c\x8e\x4c\x6f\xb5\xe5"
  835. "\x12\xf3\xc2\x1b\x48\x27\x5e\x27\x01\xb1\xaa\xed\x68\x9b\x83\x18"
  836. "\x8f\xb1\xeb\x1f\x04\xd1\x3c\x79\xed\x4b\xf7\x0a\x33\xdc\xe0\xc6"
  837. "\xd8\x02\x51\x59\x00\x74\x30\x07\x4c\x2d\xac\xe4\x13\xf1\x80\xf0"
  838. "\xce\xfa\xff\xa9\xce\x29\x46\xdd\x9d\xad\xd1\xc3\xc6\x58\x1a\x63"
  839. /* p */
  840. "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
  841. "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
  842. "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
  843. "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
  844. "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
  845. "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
  846. "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
  847. "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
  848. "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
  849. "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
  850. "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
  851. "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
  852. "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
  853. "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
  854. "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
  855. "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
  856. /* g */
  857. "\x02",
  858. .b_public =
  859. "\x2a\x67\x5c\xfd\x63\x5d\xc0\x97\x0a\x8b\xa2\x1f\xf8\x8a\xcb\x54"
  860. "\xca\x2f\xd3\x49\x3f\x01\x8e\x87\xfe\xcc\x94\xa0\x3e\xd4\x26\x79"
  861. "\x9a\x94\x3c\x11\x81\x58\x5c\x60\x3d\xf5\x98\x90\x89\x64\x62\x1f"
  862. "\xbd\x05\x6d\x2b\xcd\x84\x40\x9b\x4a\x1f\xe0\x19\xf1\xca\x20\xb3"
  863. "\x4e\xa0\x4f\x15\xcc\xa5\xfe\xa5\xb4\xf5\x0b\x18\x7a\x5a\x37\xaa"
  864. "\x58\x00\x19\x7f\xe2\xa3\xd9\x1c\x44\x57\xcc\xde\x2e\xc1\x38\xea"
  865. "\xeb\xe3\x90\x40\xc4\x6c\xf7\xcd\xe9\x22\x50\x71\xf5\x7c\xdb\x37"
  866. "\x0e\x80\xc3\xed\x7e\xb1\x2b\x2f\xbe\x71\xa6\x11\xa5\x9d\xf5\x39"
  867. "\xf1\xa2\xe5\x85\xbc\x25\x91\x4e\x84\x8d\x26\x9f\x4f\xe6\x0f\xa6"
  868. "\x2b\x6b\xf9\x0d\xaf\x6f\xbb\xfa\x2d\x79\x15\x31\x57\xae\x19\x60"
  869. "\x22\x0a\xf5\xfd\x98\x0e\xbf\x5d\x49\x75\x58\x37\xbc\x7f\xf5\x21"
  870. "\x56\x1e\xd5\xb3\x50\x0b\xca\x96\xf3\xd1\x3f\xb3\x70\xa8\x6d\x63"
  871. "\x48\xfb\x3d\xd7\x29\x91\x45\xb5\x48\xcd\xb6\x78\x30\xf2\x3f\x1e"
  872. "\xd6\x22\xd6\x35\x9b\xf9\x1f\x85\xae\xab\x4b\xd7\xe0\xc7\x86\x67"
  873. "\x3f\x05\x7f\xa6\x0d\x2f\x0d\xbf\x53\x5f\x4d\x2c\x6d\x5e\x57\x40"
  874. "\x30\x3a\x23\x98\xf9\xb4\x32\xf5\x32\x83\xdd\x0b\xae\x33\x97\x2f",
  875. .expected_a_public =
  876. "\x5c\x24\xdf\xeb\x5b\x4b\xf8\xc5\xef\x39\x48\x82\xe0\x1e\x62\xee"
  877. "\x8a\xae\xdf\x93\x6c\x2b\x16\x95\x92\x16\x3f\x16\x7b\x75\x03\x85"
  878. "\xd9\xf1\x69\xc2\x14\x87\x45\xfc\xa4\x19\xf6\xf0\xa4\xf3\xec\xd4"
  879. "\x6c\x5c\x03\x3b\x94\xc2\x2f\x92\xe4\xce\xb3\xe4\x72\xe8\x17\xe6"
  880. "\x23\x7e\x00\x01\x09\x59\x13\xbf\xc1\x2f\x99\xa9\x07\xaa\x02\x23"
  881. "\x4a\xca\x39\x4f\xbc\xec\x0f\x27\x4f\x19\x93\x6c\xb9\x30\x52\xfd"
  882. "\x2b\x9d\x86\xf1\x06\x1e\xb6\x56\x27\x4a\xc9\x8a\xa7\x8a\x48\x5e"
  883. "\xb5\x60\xcb\xdf\xff\x03\x26\x10\xbf\x90\x8f\x46\x60\xeb\x9b\x9a"
  884. "\xd6\x6f\x44\x91\x03\x92\x18\x2c\x96\x5e\x40\x19\xfb\xf4\x4f\x3a"
  885. "\x02\x7b\xaf\xcc\x22\x20\x79\xb9\xf8\x9f\x8f\x85\x6b\xec\x44\xbb"
  886. "\xe6\xa8\x8e\xb1\xe8\x2c\xee\x64\xee\xf8\xbd\x00\xf3\xe2\x2b\x93"
  887. "\xcd\xe7\xc4\xdf\xc9\x19\x46\xfe\xb6\x07\x73\xc1\x8a\x64\x79\x26"
  888. "\xe7\x30\xad\x2a\xdf\xe6\x8f\x59\xf5\x81\xbf\x4a\x29\x91\xe7\xb7"
  889. "\xcf\x48\x13\x27\x75\x79\x40\xd9\xd6\x32\x52\x4e\x6a\x86\xae\x6f"
  890. "\xc2\xbf\xec\x1f\xc2\x69\xb2\xb6\x59\xe5\xa5\x17\xa4\x77\xb7\x62"
  891. "\x46\xde\xe8\xd2\x89\x78\x9a\xef\xa3\xb5\x8f\x26\xec\x80\xda\x39",
  892. .expected_ss =
  893. "\x8f\xf3\xac\xa2\xea\x22\x11\x5c\x45\x65\x1a\x77\x75\x2e\xcf\x46"
  894. "\x23\x14\x1e\x67\x53\x4d\x35\xb0\x38\x1d\x4e\xb9\x41\x9a\x21\x24"
  895. "\x6e\x9f\x40\xfe\x90\x51\xb1\x06\xa4\x7b\x87\x17\x2f\xe7\x5e\x22"
  896. "\xf0\x7b\x54\x84\x0a\xac\x0a\x90\xd2\xd7\xe8\x7f\xe7\xe3\x30\x75"
  897. "\x01\x1f\x24\x75\x56\xbe\xcc\x8d\x1e\x68\x0c\x41\x72\xd3\xfa\xbb"
  898. "\xe5\x9c\x60\xc7\x28\x77\x0c\xbe\x89\xab\x08\xd6\x21\xe7\x2e\x1a"
  899. "\x58\x7a\xca\x4f\x22\xf3\x2b\x30\xfd\xf4\x98\xc1\xa3\xf8\xf6\xcc"
  900. "\xa9\xe4\xdb\x5b\xee\xd5\x5c\x6f\x62\x4c\xd1\x1a\x02\x2a\x23\xe4"
  901. "\xb5\x57\xf3\xf9\xec\x04\x83\x54\xfe\x08\x5e\x35\xac\xfb\xa8\x09"
  902. "\x82\x32\x60\x11\xb2\x16\x62\x6b\xdf\xda\xde\x9c\xcb\x63\x44\x6c"
  903. "\x59\x26\x6a\x8f\xb0\x24\xcb\xa6\x72\x48\x1e\xeb\xe0\xe1\x09\x44"
  904. "\xdd\xee\x66\x6d\x84\xcf\xa5\xc1\xb8\x36\x74\xd3\x15\x96\xc3\xe4"
  905. "\xc6\x5a\x4d\x23\x97\x0c\x5c\xcb\xa9\xf5\x29\xc2\x0e\xff\x93\x82"
  906. "\xd3\x34\x49\xad\x64\xa6\xb1\xc0\x59\x28\x75\x60\xa7\x8a\xb0\x11"
  907. "\x56\x89\x42\x74\x11\xf5\xf6\x5e\x6f\x16\x54\x6a\xb1\x76\x4d\x50"
  908. "\x8a\x68\xc1\x5b\x82\xb9\x0d\x00\x32\x50\xed\x88\x87\x48\x92\x17",
  909. .secret_size = 533,
  910. .b_public_size = 256,
  911. .expected_a_public_size = 256,
  912. .expected_ss_size = 256,
  913. },
  914. {
  915. .secret =
  916. #ifdef __LITTLE_ENDIAN
  917. "\x01\x00" /* type */
  918. "\x15\x02" /* len */
  919. "\x00\x01\x00\x00" /* key_size */
  920. "\x00\x01\x00\x00" /* p_size */
  921. "\x00\x00\x00\x00" /* q_size */
  922. "\x01\x00\x00\x00" /* g_size */
  923. #else
  924. "\x00\x01" /* type */
  925. "\x02\x15" /* len */
  926. "\x00\x00\x01\x00" /* key_size */
  927. "\x00\x00\x01\x00" /* p_size */
  928. "\x00\x00\x00\x00" /* q_size */
  929. "\x00\x00\x00\x01" /* g_size */
  930. #endif
  931. /* xa */
  932. "\x4d\x75\xa8\x6e\xba\x23\x3a\x0c\x63\x56\xc8\xc9\x5a\xa7\xd6\x0e"
  933. "\xed\xae\x40\x78\x87\x47\x5f\xe0\xa7\x7b\xba\x84\x88\x67\x4e\xe5"
  934. "\x3c\xcc\x5c\x6a\xe7\x4a\x20\xec\xbe\xcb\xf5\x52\x62\x9f\x37\x80"
  935. "\x0c\x72\x7b\x83\x66\xa4\xf6\x7f\x95\x97\x1c\x6a\x5c\x7e\xf1\x67"
  936. "\x37\xb3\x93\x39\x3d\x0b\x55\x35\xd9\xe5\x22\x04\x9f\xf8\xc1\x04"
  937. "\xce\x13\xa5\xac\xe1\x75\x05\xd1\x2b\x53\xa2\x84\xef\xb1\x18\xf4"
  938. "\x66\xdd\xea\xe6\x24\x69\x5a\x49\xe0\x7a\xd8\xdf\x1b\xb7\xf1\x6d"
  939. "\x9b\x50\x2c\xc8\x1c\x1c\xa3\xb4\x37\xfb\x66\x3f\x67\x71\x73\xa9"
  940. "\xff\x5f\xd9\xa2\x25\x6e\x25\x1b\x26\x54\xbf\x0c\xc6\xdb\xea\x0a"
  941. "\x52\x6c\x16\x7c\x27\x68\x15\x71\x58\x73\x9d\xe6\xc2\x80\xaa\x97"
  942. "\x31\x66\xfb\xa6\xfb\xfd\xd0\x9c\x1d\xbe\x81\x48\xf5\x9a\x32\xf1"
  943. "\x69\x62\x18\x78\xae\x72\x36\xe6\x94\x27\xd1\xff\x18\x4f\x28\x6a"
  944. "\x16\xbd\x6a\x60\xee\xe5\xf9\x6d\x16\xe4\xb8\xa6\x41\x9b\x23\x7e"
  945. "\xf7\x9d\xd1\x1d\x03\x15\x66\x3a\xcf\xb6\x2c\x13\x96\x2c\x52\x21"
  946. "\xe4\x2d\x48\x7a\x8a\x5d\xb2\x88\xed\x98\x61\x79\x8b\x6a\x1e\x5f"
  947. "\xd0\x8a\x2d\x99\x5a\x2b\x0f\xbc\xef\x53\x8f\x32\xc1\xa2\x99\x26"
  948. /* p */
  949. "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
  950. "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
  951. "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
  952. "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
  953. "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
  954. "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
  955. "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
  956. "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
  957. "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
  958. "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
  959. "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
  960. "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
  961. "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
  962. "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
  963. "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
  964. "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
  965. /* g */
  966. "\x02",
  967. .b_public =
  968. "\x99\x4d\xd9\x01\x84\x8e\x4a\x5b\xb8\xa5\x64\x8c\x6c\x00\x5c\x0e"
  969. "\x1e\x1b\xee\x5d\x9f\x53\xe3\x16\x70\x01\xed\xbf\x4f\x14\x36\x6e"
  970. "\xe4\x43\x45\x43\x49\xcc\xb1\xb0\x2a\xc0\x6f\x22\x55\x42\x17\x94"
  971. "\x18\x83\xd7\x2a\x5c\x51\x54\xf8\x4e\x7c\x10\xda\x76\x68\x57\x77"
  972. "\x1e\x62\x03\x30\x04\x7b\x4c\x39\x9c\x54\x01\x54\xec\xef\xb3\x55"
  973. "\xa4\xc0\x24\x6d\x3d\xbd\xcc\x46\x5b\x00\x96\xc7\xea\x93\xd1\x3f"
  974. "\xf2\x6a\x72\xe3\xf2\xc1\x92\x24\x5b\xda\x48\x70\x2c\xa9\x59\x97"
  975. "\x19\xb1\xd6\x54\xb3\x9c\x2e\xb0\x63\x07\x9b\x5e\xac\xb5\xf2\xb1"
  976. "\x5b\xf8\xf3\xd7\x2d\x37\x9b\x68\x6c\xf8\x90\x07\xbc\x37\x9a\xa5"
  977. "\xe2\x91\x12\x25\x47\x77\xe3\x3d\xb2\x95\x69\x44\x0b\x91\x1e\xaf"
  978. "\x7c\x8c\x7c\x34\x41\x6a\xab\x60\x6e\xc6\x52\xec\x7e\x94\x0a\x37"
  979. "\xec\x98\x90\xdf\x3f\x02\xbd\x23\x52\xdd\xd9\xe5\x31\x80\x74\x25"
  980. "\xb6\xd2\xd3\xcc\xd5\xcc\x6d\xf9\x7e\x4d\x78\xab\x77\x51\xfa\x77"
  981. "\x19\x94\x49\x8c\x05\xd4\x75\xed\xd2\xb3\x64\x57\xe0\x52\x99\xc0"
  982. "\x83\xe3\xbb\x5e\x2b\xf1\xd2\xc0\xb1\x37\x36\x0b\x7c\xb5\x63\x96"
  983. "\x8e\xde\x04\x23\x11\x95\x62\x11\x9a\xce\x6f\x63\xc8\xd5\xd1\x8f",
  984. .expected_a_public =
  985. "\x90\x89\xe4\x82\xd6\x0a\xcf\x1a\xae\xce\x1b\x66\xa7\x19\x71\x18"
  986. "\x8f\x95\x4b\x5b\x80\x45\x4a\x5a\x43\x99\x4d\x37\xcf\xa3\xa7\x28"
  987. "\x9c\xc7\x73\xf1\xb2\x17\xf6\x99\xe3\x6b\x56\xcb\x3e\x35\x60\x7d"
  988. "\x65\xc7\x84\x6b\x3e\x60\xee\xcd\xd2\x70\xe7\xc9\x32\x1c\xf0\xb4"
  989. "\xf9\x52\xd9\x88\x75\xfd\x40\x2c\xa7\xbe\x19\x1c\x0a\xae\x93\xe1"
  990. "\x71\xc7\xcd\x4f\x33\x5c\x10\x7d\x39\x56\xfc\x73\x84\xb2\x67\xc3"
  991. "\x77\x26\x20\x97\x2b\xf8\x13\x43\x93\x9c\x9a\xa4\x08\xc7\x34\x83"
  992. "\xe6\x98\x61\xe7\x16\x30\x2c\xb1\xdb\x2a\xb2\xcc\xc3\x02\xa5\x3c"
  993. "\x71\x50\x14\x83\xc7\xbb\xa4\xbe\x98\x1b\xfe\xcb\x43\xe9\x97\x62"
  994. "\xd6\xf0\x8c\xcb\x1c\xba\x1e\xa8\xa6\xa6\x50\xfc\x85\x7d\x47\xbf"
  995. "\xf4\x3e\x23\xd3\x5f\xb2\x71\x3e\x40\x94\xaa\x87\x83\x2c\x6c\x8e"
  996. "\x60\xfd\xdd\xf7\xf4\x76\x03\xd3\x1d\xec\x18\x51\xa3\xf2\x44\x1a"
  997. "\x3f\xb4\x7c\x18\x0d\x68\x65\x92\x54\x0d\x2d\x81\x16\xf1\x84\x66"
  998. "\x89\x92\xd0\x1a\x5e\x1f\x42\x46\x5b\xe5\x83\x86\x80\xd9\xcd\x3a"
  999. "\x5a\x2f\xb9\x59\x9b\xe4\x43\x84\x64\xf3\x09\x1a\x0a\xa2\x64\x0f"
  1000. "\x77\x4e\x8d\x8b\xe6\x88\xd1\xfc\xaf\x8f\xdf\x1d\xbc\x31\xb3\xbd",
  1001. .expected_ss =
  1002. "\x34\xc3\x35\x14\x88\x46\x26\x23\x97\xbb\xdd\x28\x5c\x94\xf6\x47"
  1003. "\xca\xb3\x19\xaf\xca\x44\x9b\xc2\x7d\x89\xfd\x96\x14\xfd\x6d\x58"
  1004. "\xd8\xc4\x6b\x61\x2a\x0d\xf2\x36\x45\xc8\xe4\xa4\xed\x81\x53\x81"
  1005. "\x66\x1e\xe0\x5a\xb1\x78\x2d\x0b\x5c\xb4\xd1\xfc\x90\xc6\x9c\xdb"
  1006. "\x5a\x30\x0b\x14\x7d\xbe\xb3\x7d\xb1\xb2\x76\x3c\x6c\xef\x74\x6b"
  1007. "\xe7\x1f\x64\x0c\xab\x65\xe1\x76\x5c\x3d\x83\xb5\x8a\xfb\xaf\x0f"
  1008. "\xf2\x06\x14\x8f\xa0\xf6\xc1\x89\x78\xf2\xba\x72\x73\x3c\xf7\x76"
  1009. "\x21\x67\xbc\x24\x31\xb8\x09\x65\x0f\x0c\x02\x32\x4a\x98\x14\xfc"
  1010. "\x72\x2c\x25\x60\x68\x5f\x2f\x30\x1e\x5b\xf0\x3b\xd1\xa2\x87\xa0"
  1011. "\x54\xdf\xdb\xc0\xee\x0a\x0f\x47\xc9\x90\x20\x2c\xf9\xe3\x52\xad"
  1012. "\x27\x65\x8d\x54\x8d\xa8\xa1\xf3\xed\x15\xd4\x94\x28\x90\x31\x93"
  1013. "\x1b\xc0\x51\xbb\x43\x5d\x76\x3b\x1d\x2a\x71\x50\xea\x5d\x48\x94"
  1014. "\x7f\x6f\xf1\x48\xdb\x30\xe5\xae\x64\x79\xd9\x7a\xdb\xc6\xff\xd8"
  1015. "\x5e\x5a\x64\xbd\xf6\x85\x04\xe8\x28\x6a\xac\xef\xce\x19\x8e\x9a"
  1016. "\xfe\x75\xc0\x27\x69\xe3\xb3\x7b\x21\xa7\xb1\x16\xa4\x85\x23\xee"
  1017. "\xb0\x1b\x04\x6e\xbd\xab\x16\xde\xfd\x86\x6b\xa9\x95\xd7\x0b\xfd",
  1018. .secret_size = 533,
  1019. .b_public_size = 256,
  1020. .expected_a_public_size = 256,
  1021. .expected_ss_size = 256,
  1022. }
  1023. };
  1024. static const struct kpp_testvec curve25519_tv_template[] = {
  1025. {
  1026. .secret = (u8[32]){ 0x77, 0x07, 0x6d, 0x0a, 0x73, 0x18, 0xa5, 0x7d,
  1027. 0x3c, 0x16, 0xc1, 0x72, 0x51, 0xb2, 0x66, 0x45,
  1028. 0xdf, 0x4c, 0x2f, 0x87, 0xeb, 0xc0, 0x99, 0x2a,
  1029. 0xb1, 0x77, 0xfb, 0xa5, 0x1d, 0xb9, 0x2c, 0x2a },
  1030. .b_public = (u8[32]){ 0xde, 0x9e, 0xdb, 0x7d, 0x7b, 0x7d, 0xc1, 0xb4,
  1031. 0xd3, 0x5b, 0x61, 0xc2, 0xec, 0xe4, 0x35, 0x37,
  1032. 0x3f, 0x83, 0x43, 0xc8, 0x5b, 0x78, 0x67, 0x4d,
  1033. 0xad, 0xfc, 0x7e, 0x14, 0x6f, 0x88, 0x2b, 0x4f },
  1034. .expected_ss = (u8[32]){ 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
  1035. 0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
  1036. 0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
  1037. 0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42 },
  1038. .secret_size = 32,
  1039. .b_public_size = 32,
  1040. .expected_ss_size = 32,
  1041. },
  1042. {
  1043. .secret = (u8[32]){ 0x5d, 0xab, 0x08, 0x7e, 0x62, 0x4a, 0x8a, 0x4b,
  1044. 0x79, 0xe1, 0x7f, 0x8b, 0x83, 0x80, 0x0e, 0xe6,
  1045. 0x6f, 0x3b, 0xb1, 0x29, 0x26, 0x18, 0xb6, 0xfd,
  1046. 0x1c, 0x2f, 0x8b, 0x27, 0xff, 0x88, 0xe0, 0xeb },
  1047. .b_public = (u8[32]){ 0x85, 0x20, 0xf0, 0x09, 0x89, 0x30, 0xa7, 0x54,
  1048. 0x74, 0x8b, 0x7d, 0xdc, 0xb4, 0x3e, 0xf7, 0x5a,
  1049. 0x0d, 0xbf, 0x3a, 0x0d, 0x26, 0x38, 0x1a, 0xf4,
  1050. 0xeb, 0xa4, 0xa9, 0x8e, 0xaa, 0x9b, 0x4e, 0x6a },
  1051. .expected_ss = (u8[32]){ 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
  1052. 0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
  1053. 0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
  1054. 0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42 },
  1055. .secret_size = 32,
  1056. .b_public_size = 32,
  1057. .expected_ss_size = 32,
  1058. },
  1059. {
  1060. .secret = (u8[32]){ 1 },
  1061. .b_public = (u8[32]){ 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1062. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1063. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1064. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  1065. .expected_ss = (u8[32]){ 0x3c, 0x77, 0x77, 0xca, 0xf9, 0x97, 0xb2, 0x64,
  1066. 0x41, 0x60, 0x77, 0x66, 0x5b, 0x4e, 0x22, 0x9d,
  1067. 0x0b, 0x95, 0x48, 0xdc, 0x0c, 0xd8, 0x19, 0x98,
  1068. 0xdd, 0xcd, 0xc5, 0xc8, 0x53, 0x3c, 0x79, 0x7f },
  1069. .secret_size = 32,
  1070. .b_public_size = 32,
  1071. .expected_ss_size = 32,
  1072. },
  1073. {
  1074. .secret = (u8[32]){ 1 },
  1075. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1076. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1077. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1078. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  1079. .expected_ss = (u8[32]){ 0xb3, 0x2d, 0x13, 0x62, 0xc2, 0x48, 0xd6, 0x2f,
  1080. 0xe6, 0x26, 0x19, 0xcf, 0xf0, 0x4d, 0xd4, 0x3d,
  1081. 0xb7, 0x3f, 0xfc, 0x1b, 0x63, 0x08, 0xed, 0xe3,
  1082. 0x0b, 0x78, 0xd8, 0x73, 0x80, 0xf1, 0xe8, 0x34 },
  1083. .secret_size = 32,
  1084. .b_public_size = 32,
  1085. .expected_ss_size = 32,
  1086. },
  1087. {
  1088. .secret = (u8[32]){ 0xa5, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d,
  1089. 0x3b, 0x16, 0x15, 0x4b, 0x82, 0x46, 0x5e, 0xdd,
  1090. 0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc, 0x5a, 0x18,
  1091. 0x50, 0x6a, 0x22, 0x44, 0xba, 0x44, 0x9a, 0xc4 },
  1092. .b_public = (u8[32]){ 0xe6, 0xdb, 0x68, 0x67, 0x58, 0x30, 0x30, 0xdb,
  1093. 0x35, 0x94, 0xc1, 0xa4, 0x24, 0xb1, 0x5f, 0x7c,
  1094. 0x72, 0x66, 0x24, 0xec, 0x26, 0xb3, 0x35, 0x3b,
  1095. 0x10, 0xa9, 0x03, 0xa6, 0xd0, 0xab, 0x1c, 0x4c },
  1096. .expected_ss = (u8[32]){ 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90,
  1097. 0x8e, 0x94, 0xea, 0x4d, 0xf2, 0x8d, 0x08, 0x4f,
  1098. 0x32, 0xec, 0xcf, 0x03, 0x49, 0x1c, 0x71, 0xf7,
  1099. 0x54, 0xb4, 0x07, 0x55, 0x77, 0xa2, 0x85, 0x52 },
  1100. .secret_size = 32,
  1101. .b_public_size = 32,
  1102. .expected_ss_size = 32,
  1103. },
  1104. {
  1105. .secret = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0x0a, 0xff, 0xff, 0xff,
  1106. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1107. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1108. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  1109. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1110. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1111. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1112. 0xff, 0xff, 0xff, 0xff, 0x0a, 0x00, 0xfb, 0x9f },
  1113. .expected_ss = (u8[32]){ 0x77, 0x52, 0xb6, 0x18, 0xc1, 0x2d, 0x48, 0xd2,
  1114. 0xc6, 0x93, 0x46, 0x83, 0x81, 0x7c, 0xc6, 0x57,
  1115. 0xf3, 0x31, 0x03, 0x19, 0x49, 0x48, 0x20, 0x05,
  1116. 0x42, 0x2b, 0x4e, 0xae, 0x8d, 0x1d, 0x43, 0x23 },
  1117. .secret_size = 32,
  1118. .b_public_size = 32,
  1119. .expected_ss_size = 32,
  1120. },
  1121. {
  1122. .secret = (u8[32]){ 0x8e, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1123. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1124. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1125. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  1126. .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1127. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1128. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1129. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8e, 0x06 },
  1130. .expected_ss = (u8[32]){ 0x5a, 0xdf, 0xaa, 0x25, 0x86, 0x8e, 0x32, 0x3d,
  1131. 0xae, 0x49, 0x62, 0xc1, 0x01, 0x5c, 0xb3, 0x12,
  1132. 0xe1, 0xc5, 0xc7, 0x9e, 0x95, 0x3f, 0x03, 0x99,
  1133. 0xb0, 0xba, 0x16, 0x22, 0xf3, 0xb6, 0xf7, 0x0c },
  1134. .secret_size = 32,
  1135. .b_public_size = 32,
  1136. .expected_ss_size = 32,
  1137. },
  1138. /* wycheproof - normal case */
  1139. {
  1140. .secret = (u8[32]){ 0x48, 0x52, 0x83, 0x4d, 0x9d, 0x6b, 0x77, 0xda,
  1141. 0xde, 0xab, 0xaa, 0xf2, 0xe1, 0x1d, 0xca, 0x66,
  1142. 0xd1, 0x9f, 0xe7, 0x49, 0x93, 0xa7, 0xbe, 0xc3,
  1143. 0x6c, 0x6e, 0x16, 0xa0, 0x98, 0x3f, 0xea, 0xba },
  1144. .b_public = (u8[32]){ 0x9c, 0x64, 0x7d, 0x9a, 0xe5, 0x89, 0xb9, 0xf5,
  1145. 0x8f, 0xdc, 0x3c, 0xa4, 0x94, 0x7e, 0xfb, 0xc9,
  1146. 0x15, 0xc4, 0xb2, 0xe0, 0x8e, 0x74, 0x4a, 0x0e,
  1147. 0xdf, 0x46, 0x9d, 0xac, 0x59, 0xc8, 0xf8, 0x5a },
  1148. .expected_ss = (u8[32]){ 0x87, 0xb7, 0xf2, 0x12, 0xb6, 0x27, 0xf7, 0xa5,
  1149. 0x4c, 0xa5, 0xe0, 0xbc, 0xda, 0xdd, 0xd5, 0x38,
  1150. 0x9d, 0x9d, 0xe6, 0x15, 0x6c, 0xdb, 0xcf, 0x8e,
  1151. 0xbe, 0x14, 0xff, 0xbc, 0xfb, 0x43, 0x65, 0x51 },
  1152. .secret_size = 32,
  1153. .b_public_size = 32,
  1154. .expected_ss_size = 32,
  1155. },
  1156. /* wycheproof - public key on twist */
  1157. {
  1158. .secret = (u8[32]){ 0x58, 0x8c, 0x06, 0x1a, 0x50, 0x80, 0x4a, 0xc4,
  1159. 0x88, 0xad, 0x77, 0x4a, 0xc7, 0x16, 0xc3, 0xf5,
  1160. 0xba, 0x71, 0x4b, 0x27, 0x12, 0xe0, 0x48, 0x49,
  1161. 0x13, 0x79, 0xa5, 0x00, 0x21, 0x19, 0x98, 0xa8 },
  1162. .b_public = (u8[32]){ 0x63, 0xaa, 0x40, 0xc6, 0xe3, 0x83, 0x46, 0xc5,
  1163. 0xca, 0xf2, 0x3a, 0x6d, 0xf0, 0xa5, 0xe6, 0xc8,
  1164. 0x08, 0x89, 0xa0, 0x86, 0x47, 0xe5, 0x51, 0xb3,
  1165. 0x56, 0x34, 0x49, 0xbe, 0xfc, 0xfc, 0x97, 0x33 },
  1166. .expected_ss = (u8[32]){ 0xb1, 0xa7, 0x07, 0x51, 0x94, 0x95, 0xff, 0xff,
  1167. 0xb2, 0x98, 0xff, 0x94, 0x17, 0x16, 0xb0, 0x6d,
  1168. 0xfa, 0xb8, 0x7c, 0xf8, 0xd9, 0x11, 0x23, 0xfe,
  1169. 0x2b, 0xe9, 0xa2, 0x33, 0xdd, 0xa2, 0x22, 0x12 },
  1170. .secret_size = 32,
  1171. .b_public_size = 32,
  1172. .expected_ss_size = 32,
  1173. },
  1174. /* wycheproof - public key on twist */
  1175. {
  1176. .secret = (u8[32]){ 0xb0, 0x5b, 0xfd, 0x32, 0xe5, 0x53, 0x25, 0xd9,
  1177. 0xfd, 0x64, 0x8c, 0xb3, 0x02, 0x84, 0x80, 0x39,
  1178. 0x00, 0x0b, 0x39, 0x0e, 0x44, 0xd5, 0x21, 0xe5,
  1179. 0x8a, 0xab, 0x3b, 0x29, 0xa6, 0x96, 0x0b, 0xa8 },
  1180. .b_public = (u8[32]){ 0x0f, 0x83, 0xc3, 0x6f, 0xde, 0xd9, 0xd3, 0x2f,
  1181. 0xad, 0xf4, 0xef, 0xa3, 0xae, 0x93, 0xa9, 0x0b,
  1182. 0xb5, 0xcf, 0xa6, 0x68, 0x93, 0xbc, 0x41, 0x2c,
  1183. 0x43, 0xfa, 0x72, 0x87, 0xdb, 0xb9, 0x97, 0x79 },
  1184. .expected_ss = (u8[32]){ 0x67, 0xdd, 0x4a, 0x6e, 0x16, 0x55, 0x33, 0x53,
  1185. 0x4c, 0x0e, 0x3f, 0x17, 0x2e, 0x4a, 0xb8, 0x57,
  1186. 0x6b, 0xca, 0x92, 0x3a, 0x5f, 0x07, 0xb2, 0xc0,
  1187. 0x69, 0xb4, 0xc3, 0x10, 0xff, 0x2e, 0x93, 0x5b },
  1188. .secret_size = 32,
  1189. .b_public_size = 32,
  1190. .expected_ss_size = 32,
  1191. },
  1192. /* wycheproof - public key on twist */
  1193. {
  1194. .secret = (u8[32]){ 0x70, 0xe3, 0x4b, 0xcb, 0xe1, 0xf4, 0x7f, 0xbc,
  1195. 0x0f, 0xdd, 0xfd, 0x7c, 0x1e, 0x1a, 0xa5, 0x3d,
  1196. 0x57, 0xbf, 0xe0, 0xf6, 0x6d, 0x24, 0x30, 0x67,
  1197. 0xb4, 0x24, 0xbb, 0x62, 0x10, 0xbe, 0xd1, 0x9c },
  1198. .b_public = (u8[32]){ 0x0b, 0x82, 0x11, 0xa2, 0xb6, 0x04, 0x90, 0x97,
  1199. 0xf6, 0x87, 0x1c, 0x6c, 0x05, 0x2d, 0x3c, 0x5f,
  1200. 0xc1, 0xba, 0x17, 0xda, 0x9e, 0x32, 0xae, 0x45,
  1201. 0x84, 0x03, 0xb0, 0x5b, 0xb2, 0x83, 0x09, 0x2a },
  1202. .expected_ss = (u8[32]){ 0x4a, 0x06, 0x38, 0xcf, 0xaa, 0x9e, 0xf1, 0x93,
  1203. 0x3b, 0x47, 0xf8, 0x93, 0x92, 0x96, 0xa6, 0xb2,
  1204. 0x5b, 0xe5, 0x41, 0xef, 0x7f, 0x70, 0xe8, 0x44,
  1205. 0xc0, 0xbc, 0xc0, 0x0b, 0x13, 0x4d, 0xe6, 0x4a },
  1206. .secret_size = 32,
  1207. .b_public_size = 32,
  1208. .expected_ss_size = 32,
  1209. },
  1210. /* wycheproof - public key on twist */
  1211. {
  1212. .secret = (u8[32]){ 0x68, 0xc1, 0xf3, 0xa6, 0x53, 0xa4, 0xcd, 0xb1,
  1213. 0xd3, 0x7b, 0xba, 0x94, 0x73, 0x8f, 0x8b, 0x95,
  1214. 0x7a, 0x57, 0xbe, 0xb2, 0x4d, 0x64, 0x6e, 0x99,
  1215. 0x4d, 0xc2, 0x9a, 0x27, 0x6a, 0xad, 0x45, 0x8d },
  1216. .b_public = (u8[32]){ 0x34, 0x3a, 0xc2, 0x0a, 0x3b, 0x9c, 0x6a, 0x27,
  1217. 0xb1, 0x00, 0x81, 0x76, 0x50, 0x9a, 0xd3, 0x07,
  1218. 0x35, 0x85, 0x6e, 0xc1, 0xc8, 0xd8, 0xfc, 0xae,
  1219. 0x13, 0x91, 0x2d, 0x08, 0xd1, 0x52, 0xf4, 0x6c },
  1220. .expected_ss = (u8[32]){ 0x39, 0x94, 0x91, 0xfc, 0xe8, 0xdf, 0xab, 0x73,
  1221. 0xb4, 0xf9, 0xf6, 0x11, 0xde, 0x8e, 0xa0, 0xb2,
  1222. 0x7b, 0x28, 0xf8, 0x59, 0x94, 0x25, 0x0b, 0x0f,
  1223. 0x47, 0x5d, 0x58, 0x5d, 0x04, 0x2a, 0xc2, 0x07 },
  1224. .secret_size = 32,
  1225. .b_public_size = 32,
  1226. .expected_ss_size = 32,
  1227. },
  1228. /* wycheproof - public key on twist */
  1229. {
  1230. .secret = (u8[32]){ 0xd8, 0x77, 0xb2, 0x6d, 0x06, 0xdf, 0xf9, 0xd9,
  1231. 0xf7, 0xfd, 0x4c, 0x5b, 0x37, 0x69, 0xf8, 0xcd,
  1232. 0xd5, 0xb3, 0x05, 0x16, 0xa5, 0xab, 0x80, 0x6b,
  1233. 0xe3, 0x24, 0xff, 0x3e, 0xb6, 0x9e, 0xa0, 0xb2 },
  1234. .b_public = (u8[32]){ 0xfa, 0x69, 0x5f, 0xc7, 0xbe, 0x8d, 0x1b, 0xe5,
  1235. 0xbf, 0x70, 0x48, 0x98, 0xf3, 0x88, 0xc4, 0x52,
  1236. 0xba, 0xfd, 0xd3, 0xb8, 0xea, 0xe8, 0x05, 0xf8,
  1237. 0x68, 0x1a, 0x8d, 0x15, 0xc2, 0xd4, 0xe1, 0x42 },
  1238. .expected_ss = (u8[32]){ 0x2c, 0x4f, 0xe1, 0x1d, 0x49, 0x0a, 0x53, 0x86,
  1239. 0x17, 0x76, 0xb1, 0x3b, 0x43, 0x54, 0xab, 0xd4,
  1240. 0xcf, 0x5a, 0x97, 0x69, 0x9d, 0xb6, 0xe6, 0xc6,
  1241. 0x8c, 0x16, 0x26, 0xd0, 0x76, 0x62, 0xf7, 0x58 },
  1242. .secret_size = 32,
  1243. .b_public_size = 32,
  1244. .expected_ss_size = 32,
  1245. },
  1246. /* wycheproof - edge case on twist */
  1247. {
  1248. .secret = (u8[32]){ 0x38, 0xdd, 0xe9, 0xf3, 0xe7, 0xb7, 0x99, 0x04,
  1249. 0x5f, 0x9a, 0xc3, 0x79, 0x3d, 0x4a, 0x92, 0x77,
  1250. 0xda, 0xde, 0xad, 0xc4, 0x1b, 0xec, 0x02, 0x90,
  1251. 0xf8, 0x1f, 0x74, 0x4f, 0x73, 0x77, 0x5f, 0x84 },
  1252. .b_public = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1253. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1254. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1255. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  1256. .expected_ss = (u8[32]){ 0x9a, 0x2c, 0xfe, 0x84, 0xff, 0x9c, 0x4a, 0x97,
  1257. 0x39, 0x62, 0x5c, 0xae, 0x4a, 0x3b, 0x82, 0xa9,
  1258. 0x06, 0x87, 0x7a, 0x44, 0x19, 0x46, 0xf8, 0xd7,
  1259. 0xb3, 0xd7, 0x95, 0xfe, 0x8f, 0x5d, 0x16, 0x39 },
  1260. .secret_size = 32,
  1261. .b_public_size = 32,
  1262. .expected_ss_size = 32,
  1263. },
  1264. /* wycheproof - edge case on twist */
  1265. {
  1266. .secret = (u8[32]){ 0x98, 0x57, 0xa9, 0x14, 0xe3, 0xc2, 0x90, 0x36,
  1267. 0xfd, 0x9a, 0x44, 0x2b, 0xa5, 0x26, 0xb5, 0xcd,
  1268. 0xcd, 0xf2, 0x82, 0x16, 0x15, 0x3e, 0x63, 0x6c,
  1269. 0x10, 0x67, 0x7a, 0xca, 0xb6, 0xbd, 0x6a, 0xa5 },
  1270. .b_public = (u8[32]){ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1271. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1272. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1273. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  1274. .expected_ss = (u8[32]){ 0x4d, 0xa4, 0xe0, 0xaa, 0x07, 0x2c, 0x23, 0x2e,
  1275. 0xe2, 0xf0, 0xfa, 0x4e, 0x51, 0x9a, 0xe5, 0x0b,
  1276. 0x52, 0xc1, 0xed, 0xd0, 0x8a, 0x53, 0x4d, 0x4e,
  1277. 0xf3, 0x46, 0xc2, 0xe1, 0x06, 0xd2, 0x1d, 0x60 },
  1278. .secret_size = 32,
  1279. .b_public_size = 32,
  1280. .expected_ss_size = 32,
  1281. },
  1282. /* wycheproof - edge case on twist */
  1283. {
  1284. .secret = (u8[32]){ 0x48, 0xe2, 0x13, 0x0d, 0x72, 0x33, 0x05, 0xed,
  1285. 0x05, 0xe6, 0xe5, 0x89, 0x4d, 0x39, 0x8a, 0x5e,
  1286. 0x33, 0x36, 0x7a, 0x8c, 0x6a, 0xac, 0x8f, 0xcd,
  1287. 0xf0, 0xa8, 0x8e, 0x4b, 0x42, 0x82, 0x0d, 0xb7 },
  1288. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0x03, 0x00, 0x00, 0xf8, 0xff,
  1289. 0xff, 0x1f, 0x00, 0x00, 0xc0, 0xff, 0xff, 0xff,
  1290. 0x00, 0x00, 0x00, 0xfe, 0xff, 0xff, 0x07, 0x00,
  1291. 0x00, 0xf0, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00 },
  1292. .expected_ss = (u8[32]){ 0x9e, 0xd1, 0x0c, 0x53, 0x74, 0x7f, 0x64, 0x7f,
  1293. 0x82, 0xf4, 0x51, 0x25, 0xd3, 0xde, 0x15, 0xa1,
  1294. 0xe6, 0xb8, 0x24, 0x49, 0x6a, 0xb4, 0x04, 0x10,
  1295. 0xff, 0xcc, 0x3c, 0xfe, 0x95, 0x76, 0x0f, 0x3b },
  1296. .secret_size = 32,
  1297. .b_public_size = 32,
  1298. .expected_ss_size = 32,
  1299. },
  1300. /* wycheproof - edge case on twist */
  1301. {
  1302. .secret = (u8[32]){ 0x28, 0xf4, 0x10, 0x11, 0x69, 0x18, 0x51, 0xb3,
  1303. 0xa6, 0x2b, 0x64, 0x15, 0x53, 0xb3, 0x0d, 0x0d,
  1304. 0xfd, 0xdc, 0xb8, 0xff, 0xfc, 0xf5, 0x37, 0x00,
  1305. 0xa7, 0xbe, 0x2f, 0x6a, 0x87, 0x2e, 0x9f, 0xb0 },
  1306. .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0xfc, 0xff, 0xff, 0x07, 0x00,
  1307. 0x00, 0xe0, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00,
  1308. 0xff, 0xff, 0xff, 0x01, 0x00, 0x00, 0xf8, 0xff,
  1309. 0xff, 0x0f, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x7f },
  1310. .expected_ss = (u8[32]){ 0xcf, 0x72, 0xb4, 0xaa, 0x6a, 0xa1, 0xc9, 0xf8,
  1311. 0x94, 0xf4, 0x16, 0x5b, 0x86, 0x10, 0x9a, 0xa4,
  1312. 0x68, 0x51, 0x76, 0x48, 0xe1, 0xf0, 0xcc, 0x70,
  1313. 0xe1, 0xab, 0x08, 0x46, 0x01, 0x76, 0x50, 0x6b },
  1314. .secret_size = 32,
  1315. .b_public_size = 32,
  1316. .expected_ss_size = 32,
  1317. },
  1318. /* wycheproof - edge case on twist */
  1319. {
  1320. .secret = (u8[32]){ 0x18, 0xa9, 0x3b, 0x64, 0x99, 0xb9, 0xf6, 0xb3,
  1321. 0x22, 0x5c, 0xa0, 0x2f, 0xef, 0x41, 0x0e, 0x0a,
  1322. 0xde, 0xc2, 0x35, 0x32, 0x32, 0x1d, 0x2d, 0x8e,
  1323. 0xf1, 0xa6, 0xd6, 0x02, 0xa8, 0xc6, 0x5b, 0x83 },
  1324. .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
  1325. 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
  1326. 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
  1327. 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x7f },
  1328. .expected_ss = (u8[32]){ 0x5d, 0x50, 0xb6, 0x28, 0x36, 0xbb, 0x69, 0x57,
  1329. 0x94, 0x10, 0x38, 0x6c, 0xf7, 0xbb, 0x81, 0x1c,
  1330. 0x14, 0xbf, 0x85, 0xb1, 0xc7, 0xb1, 0x7e, 0x59,
  1331. 0x24, 0xc7, 0xff, 0xea, 0x91, 0xef, 0x9e, 0x12 },
  1332. .secret_size = 32,
  1333. .b_public_size = 32,
  1334. .expected_ss_size = 32,
  1335. },
  1336. /* wycheproof - edge case on twist */
  1337. {
  1338. .secret = (u8[32]){ 0xc0, 0x1d, 0x13, 0x05, 0xa1, 0x33, 0x8a, 0x1f,
  1339. 0xca, 0xc2, 0xba, 0x7e, 0x2e, 0x03, 0x2b, 0x42,
  1340. 0x7e, 0x0b, 0x04, 0x90, 0x31, 0x65, 0xac, 0xa9,
  1341. 0x57, 0xd8, 0xd0, 0x55, 0x3d, 0x87, 0x17, 0xb0 },
  1342. .b_public = (u8[32]){ 0xea, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1343. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1344. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1345. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  1346. .expected_ss = (u8[32]){ 0x19, 0x23, 0x0e, 0xb1, 0x48, 0xd5, 0xd6, 0x7c,
  1347. 0x3c, 0x22, 0xab, 0x1d, 0xae, 0xff, 0x80, 0xa5,
  1348. 0x7e, 0xae, 0x42, 0x65, 0xce, 0x28, 0x72, 0x65,
  1349. 0x7b, 0x2c, 0x80, 0x99, 0xfc, 0x69, 0x8e, 0x50 },
  1350. .secret_size = 32,
  1351. .b_public_size = 32,
  1352. .expected_ss_size = 32,
  1353. },
  1354. /* wycheproof - edge case for public key */
  1355. {
  1356. .secret = (u8[32]){ 0x38, 0x6f, 0x7f, 0x16, 0xc5, 0x07, 0x31, 0xd6,
  1357. 0x4f, 0x82, 0xe6, 0xa1, 0x70, 0xb1, 0x42, 0xa4,
  1358. 0xe3, 0x4f, 0x31, 0xfd, 0x77, 0x68, 0xfc, 0xb8,
  1359. 0x90, 0x29, 0x25, 0xe7, 0xd1, 0xe2, 0x1a, 0xbe },
  1360. .b_public = (u8[32]){ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1361. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1362. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1363. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  1364. .expected_ss = (u8[32]){ 0x0f, 0xca, 0xb5, 0xd8, 0x42, 0xa0, 0x78, 0xd7,
  1365. 0xa7, 0x1f, 0xc5, 0x9b, 0x57, 0xbf, 0xb4, 0xca,
  1366. 0x0b, 0xe6, 0x87, 0x3b, 0x49, 0xdc, 0xdb, 0x9f,
  1367. 0x44, 0xe1, 0x4a, 0xe8, 0xfb, 0xdf, 0xa5, 0x42 },
  1368. .secret_size = 32,
  1369. .b_public_size = 32,
  1370. .expected_ss_size = 32,
  1371. },
  1372. /* wycheproof - edge case for public key */
  1373. {
  1374. .secret = (u8[32]){ 0xe0, 0x23, 0xa2, 0x89, 0xbd, 0x5e, 0x90, 0xfa,
  1375. 0x28, 0x04, 0xdd, 0xc0, 0x19, 0xa0, 0x5e, 0xf3,
  1376. 0xe7, 0x9d, 0x43, 0x4b, 0xb6, 0xea, 0x2f, 0x52,
  1377. 0x2e, 0xcb, 0x64, 0x3a, 0x75, 0x29, 0x6e, 0x95 },
  1378. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
  1379. 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
  1380. 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
  1381. 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 },
  1382. .expected_ss = (u8[32]){ 0x54, 0xce, 0x8f, 0x22, 0x75, 0xc0, 0x77, 0xe3,
  1383. 0xb1, 0x30, 0x6a, 0x39, 0x39, 0xc5, 0xe0, 0x3e,
  1384. 0xef, 0x6b, 0xbb, 0x88, 0x06, 0x05, 0x44, 0x75,
  1385. 0x8d, 0x9f, 0xef, 0x59, 0xb0, 0xbc, 0x3e, 0x4f },
  1386. .secret_size = 32,
  1387. .b_public_size = 32,
  1388. .expected_ss_size = 32,
  1389. },
  1390. /* wycheproof - edge case for public key */
  1391. {
  1392. .secret = (u8[32]){ 0x68, 0xf0, 0x10, 0xd6, 0x2e, 0xe8, 0xd9, 0x26,
  1393. 0x05, 0x3a, 0x36, 0x1c, 0x3a, 0x75, 0xc6, 0xea,
  1394. 0x4e, 0xbd, 0xc8, 0x60, 0x6a, 0xb2, 0x85, 0x00,
  1395. 0x3a, 0x6f, 0x8f, 0x40, 0x76, 0xb0, 0x1e, 0x83 },
  1396. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1397. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1398. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1399. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03 },
  1400. .expected_ss = (u8[32]){ 0xf1, 0x36, 0x77, 0x5c, 0x5b, 0xeb, 0x0a, 0xf8,
  1401. 0x11, 0x0a, 0xf1, 0x0b, 0x20, 0x37, 0x23, 0x32,
  1402. 0x04, 0x3c, 0xab, 0x75, 0x24, 0x19, 0x67, 0x87,
  1403. 0x75, 0xa2, 0x23, 0xdf, 0x57, 0xc9, 0xd3, 0x0d },
  1404. .secret_size = 32,
  1405. .b_public_size = 32,
  1406. .expected_ss_size = 32,
  1407. },
  1408. /* wycheproof - edge case for public key */
  1409. {
  1410. .secret = (u8[32]){ 0x58, 0xeb, 0xcb, 0x35, 0xb0, 0xf8, 0x84, 0x5c,
  1411. 0xaf, 0x1e, 0xc6, 0x30, 0xf9, 0x65, 0x76, 0xb6,
  1412. 0x2c, 0x4b, 0x7b, 0x6c, 0x36, 0xb2, 0x9d, 0xeb,
  1413. 0x2c, 0xb0, 0x08, 0x46, 0x51, 0x75, 0x5c, 0x96 },
  1414. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xfb, 0xff,
  1415. 0xff, 0xdf, 0xff, 0xff, 0xdf, 0xff, 0xff, 0xff,
  1416. 0xfe, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xf7, 0xff,
  1417. 0xff, 0xf7, 0xff, 0xff, 0xbf, 0xff, 0xff, 0x3f },
  1418. .expected_ss = (u8[32]){ 0xbf, 0x9a, 0xff, 0xd0, 0x6b, 0x84, 0x40, 0x85,
  1419. 0x58, 0x64, 0x60, 0x96, 0x2e, 0xf2, 0x14, 0x6f,
  1420. 0xf3, 0xd4, 0x53, 0x3d, 0x94, 0x44, 0xaa, 0xb0,
  1421. 0x06, 0xeb, 0x88, 0xcc, 0x30, 0x54, 0x40, 0x7d },
  1422. .secret_size = 32,
  1423. .b_public_size = 32,
  1424. .expected_ss_size = 32,
  1425. },
  1426. /* wycheproof - edge case for public key */
  1427. {
  1428. .secret = (u8[32]){ 0x18, 0x8c, 0x4b, 0xc5, 0xb9, 0xc4, 0x4b, 0x38,
  1429. 0xbb, 0x65, 0x8b, 0x9b, 0x2a, 0xe8, 0x2d, 0x5b,
  1430. 0x01, 0x01, 0x5e, 0x09, 0x31, 0x84, 0xb1, 0x7c,
  1431. 0xb7, 0x86, 0x35, 0x03, 0xa7, 0x83, 0xe1, 0xbb },
  1432. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1433. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1434. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1435. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  1436. .expected_ss = (u8[32]){ 0xd4, 0x80, 0xde, 0x04, 0xf6, 0x99, 0xcb, 0x3b,
  1437. 0xe0, 0x68, 0x4a, 0x9c, 0xc2, 0xe3, 0x12, 0x81,
  1438. 0xea, 0x0b, 0xc5, 0xa9, 0xdc, 0xc1, 0x57, 0xd3,
  1439. 0xd2, 0x01, 0x58, 0xd4, 0x6c, 0xa5, 0x24, 0x6d },
  1440. .secret_size = 32,
  1441. .b_public_size = 32,
  1442. .expected_ss_size = 32,
  1443. },
  1444. /* wycheproof - edge case for public key */
  1445. {
  1446. .secret = (u8[32]){ 0xe0, 0x6c, 0x11, 0xbb, 0x2e, 0x13, 0xce, 0x3d,
  1447. 0xc7, 0x67, 0x3f, 0x67, 0xf5, 0x48, 0x22, 0x42,
  1448. 0x90, 0x94, 0x23, 0xa9, 0xae, 0x95, 0xee, 0x98,
  1449. 0x6a, 0x98, 0x8d, 0x98, 0xfa, 0xee, 0x23, 0xa2 },
  1450. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
  1451. 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
  1452. 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
  1453. 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f },
  1454. .expected_ss = (u8[32]){ 0x4c, 0x44, 0x01, 0xcc, 0xe6, 0xb5, 0x1e, 0x4c,
  1455. 0xb1, 0x8f, 0x27, 0x90, 0x24, 0x6c, 0x9b, 0xf9,
  1456. 0x14, 0xdb, 0x66, 0x77, 0x50, 0xa1, 0xcb, 0x89,
  1457. 0x06, 0x90, 0x92, 0xaf, 0x07, 0x29, 0x22, 0x76 },
  1458. .secret_size = 32,
  1459. .b_public_size = 32,
  1460. .expected_ss_size = 32,
  1461. },
  1462. /* wycheproof - edge case for public key */
  1463. {
  1464. .secret = (u8[32]){ 0xc0, 0x65, 0x8c, 0x46, 0xdd, 0xe1, 0x81, 0x29,
  1465. 0x29, 0x38, 0x77, 0x53, 0x5b, 0x11, 0x62, 0xb6,
  1466. 0xf9, 0xf5, 0x41, 0x4a, 0x23, 0xcf, 0x4d, 0x2c,
  1467. 0xbc, 0x14, 0x0a, 0x4d, 0x99, 0xda, 0x2b, 0x8f },
  1468. .b_public = (u8[32]){ 0xeb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1469. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1470. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1471. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  1472. .expected_ss = (u8[32]){ 0x57, 0x8b, 0xa8, 0xcc, 0x2d, 0xbd, 0xc5, 0x75,
  1473. 0xaf, 0xcf, 0x9d, 0xf2, 0xb3, 0xee, 0x61, 0x89,
  1474. 0xf5, 0x33, 0x7d, 0x68, 0x54, 0xc7, 0x9b, 0x4c,
  1475. 0xe1, 0x65, 0xea, 0x12, 0x29, 0x3b, 0x3a, 0x0f },
  1476. .secret_size = 32,
  1477. .b_public_size = 32,
  1478. .expected_ss_size = 32,
  1479. },
  1480. /* wycheproof - public key >= p */
  1481. {
  1482. .secret = (u8[32]){ 0xf0, 0x1e, 0x48, 0xda, 0xfa, 0xc9, 0xd7, 0xbc,
  1483. 0xf5, 0x89, 0xcb, 0xc3, 0x82, 0xc8, 0x78, 0xd1,
  1484. 0x8b, 0xda, 0x35, 0x50, 0x58, 0x9f, 0xfb, 0x5d,
  1485. 0x50, 0xb5, 0x23, 0xbe, 0xbe, 0x32, 0x9d, 0xae },
  1486. .b_public = (u8[32]){ 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1487. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1488. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1489. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  1490. .expected_ss = (u8[32]){ 0xbd, 0x36, 0xa0, 0x79, 0x0e, 0xb8, 0x83, 0x09,
  1491. 0x8c, 0x98, 0x8b, 0x21, 0x78, 0x67, 0x73, 0xde,
  1492. 0x0b, 0x3a, 0x4d, 0xf1, 0x62, 0x28, 0x2c, 0xf1,
  1493. 0x10, 0xde, 0x18, 0xdd, 0x48, 0x4c, 0xe7, 0x4b },
  1494. .secret_size = 32,
  1495. .b_public_size = 32,
  1496. .expected_ss_size = 32,
  1497. },
  1498. /* wycheproof - public key >= p */
  1499. {
  1500. .secret = (u8[32]){ 0x28, 0x87, 0x96, 0xbc, 0x5a, 0xff, 0x4b, 0x81,
  1501. 0xa3, 0x75, 0x01, 0x75, 0x7b, 0xc0, 0x75, 0x3a,
  1502. 0x3c, 0x21, 0x96, 0x47, 0x90, 0xd3, 0x86, 0x99,
  1503. 0x30, 0x8d, 0xeb, 0xc1, 0x7a, 0x6e, 0xaf, 0x8d },
  1504. .b_public = (u8[32]){ 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1505. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1506. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1507. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  1508. .expected_ss = (u8[32]){ 0xb4, 0xe0, 0xdd, 0x76, 0xda, 0x7b, 0x07, 0x17,
  1509. 0x28, 0xb6, 0x1f, 0x85, 0x67, 0x71, 0xaa, 0x35,
  1510. 0x6e, 0x57, 0xed, 0xa7, 0x8a, 0x5b, 0x16, 0x55,
  1511. 0xcc, 0x38, 0x20, 0xfb, 0x5f, 0x85, 0x4c, 0x5c },
  1512. .secret_size = 32,
  1513. .b_public_size = 32,
  1514. .expected_ss_size = 32,
  1515. },
  1516. /* wycheproof - public key >= p */
  1517. {
  1518. .secret = (u8[32]){ 0x98, 0xdf, 0x84, 0x5f, 0x66, 0x51, 0xbf, 0x11,
  1519. 0x38, 0x22, 0x1f, 0x11, 0x90, 0x41, 0xf7, 0x2b,
  1520. 0x6d, 0xbc, 0x3c, 0x4a, 0xce, 0x71, 0x43, 0xd9,
  1521. 0x9f, 0xd5, 0x5a, 0xd8, 0x67, 0x48, 0x0d, 0xa8 },
  1522. .b_public = (u8[32]){ 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1523. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1524. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1525. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  1526. .expected_ss = (u8[32]){ 0x6f, 0xdf, 0x6c, 0x37, 0x61, 0x1d, 0xbd, 0x53,
  1527. 0x04, 0xdc, 0x0f, 0x2e, 0xb7, 0xc9, 0x51, 0x7e,
  1528. 0xb3, 0xc5, 0x0e, 0x12, 0xfd, 0x05, 0x0a, 0xc6,
  1529. 0xde, 0xc2, 0x70, 0x71, 0xd4, 0xbf, 0xc0, 0x34 },
  1530. .secret_size = 32,
  1531. .b_public_size = 32,
  1532. .expected_ss_size = 32,
  1533. },
  1534. /* wycheproof - public key >= p */
  1535. {
  1536. .secret = (u8[32]){ 0xf0, 0x94, 0x98, 0xe4, 0x6f, 0x02, 0xf8, 0x78,
  1537. 0x82, 0x9e, 0x78, 0xb8, 0x03, 0xd3, 0x16, 0xa2,
  1538. 0xed, 0x69, 0x5d, 0x04, 0x98, 0xa0, 0x8a, 0xbd,
  1539. 0xf8, 0x27, 0x69, 0x30, 0xe2, 0x4e, 0xdc, 0xb0 },
  1540. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1541. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1542. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1543. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  1544. .expected_ss = (u8[32]){ 0x4c, 0x8f, 0xc4, 0xb1, 0xc6, 0xab, 0x88, 0xfb,
  1545. 0x21, 0xf1, 0x8f, 0x6d, 0x4c, 0x81, 0x02, 0x40,
  1546. 0xd4, 0xe9, 0x46, 0x51, 0xba, 0x44, 0xf7, 0xa2,
  1547. 0xc8, 0x63, 0xce, 0xc7, 0xdc, 0x56, 0x60, 0x2d },
  1548. .secret_size = 32,
  1549. .b_public_size = 32,
  1550. .expected_ss_size = 32,
  1551. },
  1552. /* wycheproof - public key >= p */
  1553. {
  1554. .secret = (u8[32]){ 0x18, 0x13, 0xc1, 0x0a, 0x5c, 0x7f, 0x21, 0xf9,
  1555. 0x6e, 0x17, 0xf2, 0x88, 0xc0, 0xcc, 0x37, 0x60,
  1556. 0x7c, 0x04, 0xc5, 0xf5, 0xae, 0xa2, 0xdb, 0x13,
  1557. 0x4f, 0x9e, 0x2f, 0xfc, 0x66, 0xbd, 0x9d, 0xb8 },
  1558. .b_public = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1559. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1560. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1561. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
  1562. .expected_ss = (u8[32]){ 0x1c, 0xd0, 0xb2, 0x82, 0x67, 0xdc, 0x54, 0x1c,
  1563. 0x64, 0x2d, 0x6d, 0x7d, 0xca, 0x44, 0xa8, 0xb3,
  1564. 0x8a, 0x63, 0x73, 0x6e, 0xef, 0x5c, 0x4e, 0x65,
  1565. 0x01, 0xff, 0xbb, 0xb1, 0x78, 0x0c, 0x03, 0x3c },
  1566. .secret_size = 32,
  1567. .b_public_size = 32,
  1568. .expected_ss_size = 32,
  1569. },
  1570. /* wycheproof - public key >= p */
  1571. {
  1572. .secret = (u8[32]){ 0x78, 0x57, 0xfb, 0x80, 0x86, 0x53, 0x64, 0x5a,
  1573. 0x0b, 0xeb, 0x13, 0x8a, 0x64, 0xf5, 0xf4, 0xd7,
  1574. 0x33, 0xa4, 0x5e, 0xa8, 0x4c, 0x3c, 0xda, 0x11,
  1575. 0xa9, 0xc0, 0x6f, 0x7e, 0x71, 0x39, 0x14, 0x9e },
  1576. .b_public = (u8[32]){ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1577. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1578. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1579. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
  1580. .expected_ss = (u8[32]){ 0x87, 0x55, 0xbe, 0x01, 0xc6, 0x0a, 0x7e, 0x82,
  1581. 0x5c, 0xff, 0x3e, 0x0e, 0x78, 0xcb, 0x3a, 0xa4,
  1582. 0x33, 0x38, 0x61, 0x51, 0x6a, 0xa5, 0x9b, 0x1c,
  1583. 0x51, 0xa8, 0xb2, 0xa5, 0x43, 0xdf, 0xa8, 0x22 },
  1584. .secret_size = 32,
  1585. .b_public_size = 32,
  1586. .expected_ss_size = 32,
  1587. },
  1588. /* wycheproof - public key >= p */
  1589. {
  1590. .secret = (u8[32]){ 0xe0, 0x3a, 0xa8, 0x42, 0xe2, 0xab, 0xc5, 0x6e,
  1591. 0x81, 0xe8, 0x7b, 0x8b, 0x9f, 0x41, 0x7b, 0x2a,
  1592. 0x1e, 0x59, 0x13, 0xc7, 0x23, 0xee, 0xd2, 0x8d,
  1593. 0x75, 0x2f, 0x8d, 0x47, 0xa5, 0x9f, 0x49, 0x8f },
  1594. .b_public = (u8[32]){ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1595. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1596. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1597. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
  1598. .expected_ss = (u8[32]){ 0x54, 0xc9, 0xa1, 0xed, 0x95, 0xe5, 0x46, 0xd2,
  1599. 0x78, 0x22, 0xa3, 0x60, 0x93, 0x1d, 0xda, 0x60,
  1600. 0xa1, 0xdf, 0x04, 0x9d, 0xa6, 0xf9, 0x04, 0x25,
  1601. 0x3c, 0x06, 0x12, 0xbb, 0xdc, 0x08, 0x74, 0x76 },
  1602. .secret_size = 32,
  1603. .b_public_size = 32,
  1604. .expected_ss_size = 32,
  1605. },
  1606. /* wycheproof - public key >= p */
  1607. {
  1608. .secret = (u8[32]){ 0xf8, 0xf7, 0x07, 0xb7, 0x99, 0x9b, 0x18, 0xcb,
  1609. 0x0d, 0x6b, 0x96, 0x12, 0x4f, 0x20, 0x45, 0x97,
  1610. 0x2c, 0xa2, 0x74, 0xbf, 0xc1, 0x54, 0xad, 0x0c,
  1611. 0x87, 0x03, 0x8c, 0x24, 0xc6, 0xd0, 0xd4, 0xb2 },
  1612. .b_public = (u8[32]){ 0xda, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1613. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1614. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1615. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  1616. .expected_ss = (u8[32]){ 0xcc, 0x1f, 0x40, 0xd7, 0x43, 0xcd, 0xc2, 0x23,
  1617. 0x0e, 0x10, 0x43, 0xda, 0xba, 0x8b, 0x75, 0xe8,
  1618. 0x10, 0xf1, 0xfb, 0xab, 0x7f, 0x25, 0x52, 0x69,
  1619. 0xbd, 0x9e, 0xbb, 0x29, 0xe6, 0xbf, 0x49, 0x4f },
  1620. .secret_size = 32,
  1621. .b_public_size = 32,
  1622. .expected_ss_size = 32,
  1623. },
  1624. /* wycheproof - public key >= p */
  1625. {
  1626. .secret = (u8[32]){ 0xa0, 0x34, 0xf6, 0x84, 0xfa, 0x63, 0x1e, 0x1a,
  1627. 0x34, 0x81, 0x18, 0xc1, 0xce, 0x4c, 0x98, 0x23,
  1628. 0x1f, 0x2d, 0x9e, 0xec, 0x9b, 0xa5, 0x36, 0x5b,
  1629. 0x4a, 0x05, 0xd6, 0x9a, 0x78, 0x5b, 0x07, 0x96 },
  1630. .b_public = (u8[32]){ 0xdb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1631. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1632. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1633. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  1634. .expected_ss = (u8[32]){ 0x54, 0x99, 0x8e, 0xe4, 0x3a, 0x5b, 0x00, 0x7b,
  1635. 0xf4, 0x99, 0xf0, 0x78, 0xe7, 0x36, 0x52, 0x44,
  1636. 0x00, 0xa8, 0xb5, 0xc7, 0xe9, 0xb9, 0xb4, 0x37,
  1637. 0x71, 0x74, 0x8c, 0x7c, 0xdf, 0x88, 0x04, 0x12 },
  1638. .secret_size = 32,
  1639. .b_public_size = 32,
  1640. .expected_ss_size = 32,
  1641. },
  1642. /* wycheproof - public key >= p */
  1643. {
  1644. .secret = (u8[32]){ 0x30, 0xb6, 0xc6, 0xa0, 0xf2, 0xff, 0xa6, 0x80,
  1645. 0x76, 0x8f, 0x99, 0x2b, 0xa8, 0x9e, 0x15, 0x2d,
  1646. 0x5b, 0xc9, 0x89, 0x3d, 0x38, 0xc9, 0x11, 0x9b,
  1647. 0xe4, 0xf7, 0x67, 0xbf, 0xab, 0x6e, 0x0c, 0xa5 },
  1648. .b_public = (u8[32]){ 0xdc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1649. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1650. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1651. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  1652. .expected_ss = (u8[32]){ 0xea, 0xd9, 0xb3, 0x8e, 0xfd, 0xd7, 0x23, 0x63,
  1653. 0x79, 0x34, 0xe5, 0x5a, 0xb7, 0x17, 0xa7, 0xae,
  1654. 0x09, 0xeb, 0x86, 0xa2, 0x1d, 0xc3, 0x6a, 0x3f,
  1655. 0xee, 0xb8, 0x8b, 0x75, 0x9e, 0x39, 0x1e, 0x09 },
  1656. .secret_size = 32,
  1657. .b_public_size = 32,
  1658. .expected_ss_size = 32,
  1659. },
  1660. /* wycheproof - public key >= p */
  1661. {
  1662. .secret = (u8[32]){ 0x90, 0x1b, 0x9d, 0xcf, 0x88, 0x1e, 0x01, 0xe0,
  1663. 0x27, 0x57, 0x50, 0x35, 0xd4, 0x0b, 0x43, 0xbd,
  1664. 0xc1, 0xc5, 0x24, 0x2e, 0x03, 0x08, 0x47, 0x49,
  1665. 0x5b, 0x0c, 0x72, 0x86, 0x46, 0x9b, 0x65, 0x91 },
  1666. .b_public = (u8[32]){ 0xea, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1667. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1668. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1669. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  1670. .expected_ss = (u8[32]){ 0x60, 0x2f, 0xf4, 0x07, 0x89, 0xb5, 0x4b, 0x41,
  1671. 0x80, 0x59, 0x15, 0xfe, 0x2a, 0x62, 0x21, 0xf0,
  1672. 0x7a, 0x50, 0xff, 0xc2, 0xc3, 0xfc, 0x94, 0xcf,
  1673. 0x61, 0xf1, 0x3d, 0x79, 0x04, 0xe8, 0x8e, 0x0e },
  1674. .secret_size = 32,
  1675. .b_public_size = 32,
  1676. .expected_ss_size = 32,
  1677. },
  1678. /* wycheproof - public key >= p */
  1679. {
  1680. .secret = (u8[32]){ 0x80, 0x46, 0x67, 0x7c, 0x28, 0xfd, 0x82, 0xc9,
  1681. 0xa1, 0xbd, 0xb7, 0x1a, 0x1a, 0x1a, 0x34, 0xfa,
  1682. 0xba, 0x12, 0x25, 0xe2, 0x50, 0x7f, 0xe3, 0xf5,
  1683. 0x4d, 0x10, 0xbd, 0x5b, 0x0d, 0x86, 0x5f, 0x8e },
  1684. .b_public = (u8[32]){ 0xeb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1685. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1686. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1687. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  1688. .expected_ss = (u8[32]){ 0xe0, 0x0a, 0xe8, 0xb1, 0x43, 0x47, 0x12, 0x47,
  1689. 0xba, 0x24, 0xf1, 0x2c, 0x88, 0x55, 0x36, 0xc3,
  1690. 0xcb, 0x98, 0x1b, 0x58, 0xe1, 0xe5, 0x6b, 0x2b,
  1691. 0xaf, 0x35, 0xc1, 0x2a, 0xe1, 0xf7, 0x9c, 0x26 },
  1692. .secret_size = 32,
  1693. .b_public_size = 32,
  1694. .expected_ss_size = 32,
  1695. },
  1696. /* wycheproof - public key >= p */
  1697. {
  1698. .secret = (u8[32]){ 0x60, 0x2f, 0x7e, 0x2f, 0x68, 0xa8, 0x46, 0xb8,
  1699. 0x2c, 0xc2, 0x69, 0xb1, 0xd4, 0x8e, 0x93, 0x98,
  1700. 0x86, 0xae, 0x54, 0xfd, 0x63, 0x6c, 0x1f, 0xe0,
  1701. 0x74, 0xd7, 0x10, 0x12, 0x7d, 0x47, 0x24, 0x91 },
  1702. .b_public = (u8[32]){ 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1703. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1704. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1705. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  1706. .expected_ss = (u8[32]){ 0x98, 0xcb, 0x9b, 0x50, 0xdd, 0x3f, 0xc2, 0xb0,
  1707. 0xd4, 0xf2, 0xd2, 0xbf, 0x7c, 0x5c, 0xfd, 0xd1,
  1708. 0x0c, 0x8f, 0xcd, 0x31, 0xfc, 0x40, 0xaf, 0x1a,
  1709. 0xd4, 0x4f, 0x47, 0xc1, 0x31, 0x37, 0x63, 0x62 },
  1710. .secret_size = 32,
  1711. .b_public_size = 32,
  1712. .expected_ss_size = 32,
  1713. },
  1714. /* wycheproof - public key >= p */
  1715. {
  1716. .secret = (u8[32]){ 0x60, 0x88, 0x7b, 0x3d, 0xc7, 0x24, 0x43, 0x02,
  1717. 0x6e, 0xbe, 0xdb, 0xbb, 0xb7, 0x06, 0x65, 0xf4,
  1718. 0x2b, 0x87, 0xad, 0xd1, 0x44, 0x0e, 0x77, 0x68,
  1719. 0xfb, 0xd7, 0xe8, 0xe2, 0xce, 0x5f, 0x63, 0x9d },
  1720. .b_public = (u8[32]){ 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1721. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1722. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1723. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  1724. .expected_ss = (u8[32]){ 0x38, 0xd6, 0x30, 0x4c, 0x4a, 0x7e, 0x6d, 0x9f,
  1725. 0x79, 0x59, 0x33, 0x4f, 0xb5, 0x24, 0x5b, 0xd2,
  1726. 0xc7, 0x54, 0x52, 0x5d, 0x4c, 0x91, 0xdb, 0x95,
  1727. 0x02, 0x06, 0x92, 0x62, 0x34, 0xc1, 0xf6, 0x33 },
  1728. .secret_size = 32,
  1729. .b_public_size = 32,
  1730. .expected_ss_size = 32,
  1731. },
  1732. /* wycheproof - public key >= p */
  1733. {
  1734. .secret = (u8[32]){ 0x78, 0xd3, 0x1d, 0xfa, 0x85, 0x44, 0x97, 0xd7,
  1735. 0x2d, 0x8d, 0xef, 0x8a, 0x1b, 0x7f, 0xb0, 0x06,
  1736. 0xce, 0xc2, 0xd8, 0xc4, 0x92, 0x46, 0x47, 0xc9,
  1737. 0x38, 0x14, 0xae, 0x56, 0xfa, 0xed, 0xa4, 0x95 },
  1738. .b_public = (u8[32]){ 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1739. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1740. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1741. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  1742. .expected_ss = (u8[32]){ 0x78, 0x6c, 0xd5, 0x49, 0x96, 0xf0, 0x14, 0xa5,
  1743. 0xa0, 0x31, 0xec, 0x14, 0xdb, 0x81, 0x2e, 0xd0,
  1744. 0x83, 0x55, 0x06, 0x1f, 0xdb, 0x5d, 0xe6, 0x80,
  1745. 0xa8, 0x00, 0xac, 0x52, 0x1f, 0x31, 0x8e, 0x23 },
  1746. .secret_size = 32,
  1747. .b_public_size = 32,
  1748. .expected_ss_size = 32,
  1749. },
  1750. /* wycheproof - public key >= p */
  1751. {
  1752. .secret = (u8[32]){ 0xc0, 0x4c, 0x5b, 0xae, 0xfa, 0x83, 0x02, 0xdd,
  1753. 0xde, 0xd6, 0xa4, 0xbb, 0x95, 0x77, 0x61, 0xb4,
  1754. 0xeb, 0x97, 0xae, 0xfa, 0x4f, 0xc3, 0xb8, 0x04,
  1755. 0x30, 0x85, 0xf9, 0x6a, 0x56, 0x59, 0xb3, 0xa5 },
  1756. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1757. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1758. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1759. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  1760. .expected_ss = (u8[32]){ 0x29, 0xae, 0x8b, 0xc7, 0x3e, 0x9b, 0x10, 0xa0,
  1761. 0x8b, 0x4f, 0x68, 0x1c, 0x43, 0xc3, 0xe0, 0xac,
  1762. 0x1a, 0x17, 0x1d, 0x31, 0xb3, 0x8f, 0x1a, 0x48,
  1763. 0xef, 0xba, 0x29, 0xae, 0x63, 0x9e, 0xa1, 0x34 },
  1764. .secret_size = 32,
  1765. .b_public_size = 32,
  1766. .expected_ss_size = 32,
  1767. },
  1768. /* wycheproof - RFC 7748 */
  1769. {
  1770. .secret = (u8[32]){ 0xa0, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d,
  1771. 0x3b, 0x16, 0x15, 0x4b, 0x82, 0x46, 0x5e, 0xdd,
  1772. 0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc, 0x5a, 0x18,
  1773. 0x50, 0x6a, 0x22, 0x44, 0xba, 0x44, 0x9a, 0x44 },
  1774. .b_public = (u8[32]){ 0xe6, 0xdb, 0x68, 0x67, 0x58, 0x30, 0x30, 0xdb,
  1775. 0x35, 0x94, 0xc1, 0xa4, 0x24, 0xb1, 0x5f, 0x7c,
  1776. 0x72, 0x66, 0x24, 0xec, 0x26, 0xb3, 0x35, 0x3b,
  1777. 0x10, 0xa9, 0x03, 0xa6, 0xd0, 0xab, 0x1c, 0x4c },
  1778. .expected_ss = (u8[32]){ 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90,
  1779. 0x8e, 0x94, 0xea, 0x4d, 0xf2, 0x8d, 0x08, 0x4f,
  1780. 0x32, 0xec, 0xcf, 0x03, 0x49, 0x1c, 0x71, 0xf7,
  1781. 0x54, 0xb4, 0x07, 0x55, 0x77, 0xa2, 0x85, 0x52 },
  1782. .secret_size = 32,
  1783. .b_public_size = 32,
  1784. .expected_ss_size = 32,
  1785. },
  1786. /* wycheproof - RFC 7748 */
  1787. {
  1788. .secret = (u8[32]){ 0x48, 0x66, 0xe9, 0xd4, 0xd1, 0xb4, 0x67, 0x3c,
  1789. 0x5a, 0xd2, 0x26, 0x91, 0x95, 0x7d, 0x6a, 0xf5,
  1790. 0xc1, 0x1b, 0x64, 0x21, 0xe0, 0xea, 0x01, 0xd4,
  1791. 0x2c, 0xa4, 0x16, 0x9e, 0x79, 0x18, 0xba, 0x4d },
  1792. .b_public = (u8[32]){ 0xe5, 0x21, 0x0f, 0x12, 0x78, 0x68, 0x11, 0xd3,
  1793. 0xf4, 0xb7, 0x95, 0x9d, 0x05, 0x38, 0xae, 0x2c,
  1794. 0x31, 0xdb, 0xe7, 0x10, 0x6f, 0xc0, 0x3c, 0x3e,
  1795. 0xfc, 0x4c, 0xd5, 0x49, 0xc7, 0x15, 0xa4, 0x13 },
  1796. .expected_ss = (u8[32]){ 0x95, 0xcb, 0xde, 0x94, 0x76, 0xe8, 0x90, 0x7d,
  1797. 0x7a, 0xad, 0xe4, 0x5c, 0xb4, 0xb8, 0x73, 0xf8,
  1798. 0x8b, 0x59, 0x5a, 0x68, 0x79, 0x9f, 0xa1, 0x52,
  1799. 0xe6, 0xf8, 0xf7, 0x64, 0x7a, 0xac, 0x79, 0x57 },
  1800. .secret_size = 32,
  1801. .b_public_size = 32,
  1802. .expected_ss_size = 32,
  1803. },
  1804. /* wycheproof - edge case for shared secret */
  1805. {
  1806. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  1807. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  1808. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  1809. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  1810. .b_public = (u8[32]){ 0x0a, 0xb4, 0xe7, 0x63, 0x80, 0xd8, 0x4d, 0xde,
  1811. 0x4f, 0x68, 0x33, 0xc5, 0x8f, 0x2a, 0x9f, 0xb8,
  1812. 0xf8, 0x3b, 0xb0, 0x16, 0x9b, 0x17, 0x2b, 0xe4,
  1813. 0xb6, 0xe0, 0x59, 0x28, 0x87, 0x74, 0x1a, 0x36 },
  1814. .expected_ss = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1815. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1816. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1817. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  1818. .secret_size = 32,
  1819. .b_public_size = 32,
  1820. .expected_ss_size = 32,
  1821. },
  1822. /* wycheproof - edge case for shared secret */
  1823. {
  1824. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  1825. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  1826. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  1827. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  1828. .b_public = (u8[32]){ 0x89, 0xe1, 0x0d, 0x57, 0x01, 0xb4, 0x33, 0x7d,
  1829. 0x2d, 0x03, 0x21, 0x81, 0x53, 0x8b, 0x10, 0x64,
  1830. 0xbd, 0x40, 0x84, 0x40, 0x1c, 0xec, 0xa1, 0xfd,
  1831. 0x12, 0x66, 0x3a, 0x19, 0x59, 0x38, 0x80, 0x00 },
  1832. .expected_ss = (u8[32]){ 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1833. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1834. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1835. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  1836. .secret_size = 32,
  1837. .b_public_size = 32,
  1838. .expected_ss_size = 32,
  1839. },
  1840. /* wycheproof - edge case for shared secret */
  1841. {
  1842. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  1843. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  1844. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  1845. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  1846. .b_public = (u8[32]){ 0x2b, 0x55, 0xd3, 0xaa, 0x4a, 0x8f, 0x80, 0xc8,
  1847. 0xc0, 0xb2, 0xae, 0x5f, 0x93, 0x3e, 0x85, 0xaf,
  1848. 0x49, 0xbe, 0xac, 0x36, 0xc2, 0xfa, 0x73, 0x94,
  1849. 0xba, 0xb7, 0x6c, 0x89, 0x33, 0xf8, 0xf8, 0x1d },
  1850. .expected_ss = (u8[32]){ 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1851. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1852. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  1853. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  1854. .secret_size = 32,
  1855. .b_public_size = 32,
  1856. .expected_ss_size = 32,
  1857. },
  1858. /* wycheproof - edge case for shared secret */
  1859. {
  1860. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  1861. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  1862. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  1863. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  1864. .b_public = (u8[32]){ 0x63, 0xe5, 0xb1, 0xfe, 0x96, 0x01, 0xfe, 0x84,
  1865. 0x38, 0x5d, 0x88, 0x66, 0xb0, 0x42, 0x12, 0x62,
  1866. 0xf7, 0x8f, 0xbf, 0xa5, 0xaf, 0xf9, 0x58, 0x5e,
  1867. 0x62, 0x66, 0x79, 0xb1, 0x85, 0x47, 0xd9, 0x59 },
  1868. .expected_ss = (u8[32]){ 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1869. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1870. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1871. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  1872. .secret_size = 32,
  1873. .b_public_size = 32,
  1874. .expected_ss_size = 32,
  1875. },
  1876. /* wycheproof - edge case for shared secret */
  1877. {
  1878. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  1879. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  1880. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  1881. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  1882. .b_public = (u8[32]){ 0xe4, 0x28, 0xf3, 0xda, 0xc1, 0x78, 0x09, 0xf8,
  1883. 0x27, 0xa5, 0x22, 0xce, 0x32, 0x35, 0x50, 0x58,
  1884. 0xd0, 0x73, 0x69, 0x36, 0x4a, 0xa7, 0x89, 0x02,
  1885. 0xee, 0x10, 0x13, 0x9b, 0x9f, 0x9d, 0xd6, 0x53 },
  1886. .expected_ss = (u8[32]){ 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1887. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1888. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1889. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  1890. .secret_size = 32,
  1891. .b_public_size = 32,
  1892. .expected_ss_size = 32,
  1893. },
  1894. /* wycheproof - edge case for shared secret */
  1895. {
  1896. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  1897. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  1898. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  1899. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  1900. .b_public = (u8[32]){ 0xb3, 0xb5, 0x0e, 0x3e, 0xd3, 0xa4, 0x07, 0xb9,
  1901. 0x5d, 0xe9, 0x42, 0xef, 0x74, 0x57, 0x5b, 0x5a,
  1902. 0xb8, 0xa1, 0x0c, 0x09, 0xee, 0x10, 0x35, 0x44,
  1903. 0xd6, 0x0b, 0xdf, 0xed, 0x81, 0x38, 0xab, 0x2b },
  1904. .expected_ss = (u8[32]){ 0xf9, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1905. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1906. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1907. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  1908. .secret_size = 32,
  1909. .b_public_size = 32,
  1910. .expected_ss_size = 32,
  1911. },
  1912. /* wycheproof - edge case for shared secret */
  1913. {
  1914. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  1915. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  1916. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  1917. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  1918. .b_public = (u8[32]){ 0x21, 0x3f, 0xff, 0xe9, 0x3d, 0x5e, 0xa8, 0xcd,
  1919. 0x24, 0x2e, 0x46, 0x28, 0x44, 0x02, 0x99, 0x22,
  1920. 0xc4, 0x3c, 0x77, 0xc9, 0xe3, 0xe4, 0x2f, 0x56,
  1921. 0x2f, 0x48, 0x5d, 0x24, 0xc5, 0x01, 0xa2, 0x0b },
  1922. .expected_ss = (u8[32]){ 0xf3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1923. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1924. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1925. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  1926. .secret_size = 32,
  1927. .b_public_size = 32,
  1928. .expected_ss_size = 32,
  1929. },
  1930. /* wycheproof - edge case for shared secret */
  1931. {
  1932. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  1933. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  1934. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  1935. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  1936. .b_public = (u8[32]){ 0x91, 0xb2, 0x32, 0xa1, 0x78, 0xb3, 0xcd, 0x53,
  1937. 0x09, 0x32, 0x44, 0x1e, 0x61, 0x39, 0x41, 0x8f,
  1938. 0x72, 0x17, 0x22, 0x92, 0xf1, 0xda, 0x4c, 0x18,
  1939. 0x34, 0xfc, 0x5e, 0xbf, 0xef, 0xb5, 0x1e, 0x3f },
  1940. .expected_ss = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1941. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1942. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1943. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03 },
  1944. .secret_size = 32,
  1945. .b_public_size = 32,
  1946. .expected_ss_size = 32,
  1947. },
  1948. /* wycheproof - edge case for shared secret */
  1949. {
  1950. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  1951. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  1952. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  1953. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  1954. .b_public = (u8[32]){ 0x04, 0x5c, 0x6e, 0x11, 0xc5, 0xd3, 0x32, 0x55,
  1955. 0x6c, 0x78, 0x22, 0xfe, 0x94, 0xeb, 0xf8, 0x9b,
  1956. 0x56, 0xa3, 0x87, 0x8d, 0xc2, 0x7c, 0xa0, 0x79,
  1957. 0x10, 0x30, 0x58, 0x84, 0x9f, 0xab, 0xcb, 0x4f },
  1958. .expected_ss = (u8[32]){ 0xe5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1959. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1960. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1961. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  1962. .secret_size = 32,
  1963. .b_public_size = 32,
  1964. .expected_ss_size = 32,
  1965. },
  1966. /* wycheproof - edge case for shared secret */
  1967. {
  1968. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  1969. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  1970. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  1971. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  1972. .b_public = (u8[32]){ 0x1c, 0xa2, 0x19, 0x0b, 0x71, 0x16, 0x35, 0x39,
  1973. 0x06, 0x3c, 0x35, 0x77, 0x3b, 0xda, 0x0c, 0x9c,
  1974. 0x92, 0x8e, 0x91, 0x36, 0xf0, 0x62, 0x0a, 0xeb,
  1975. 0x09, 0x3f, 0x09, 0x91, 0x97, 0xb7, 0xf7, 0x4e },
  1976. .expected_ss = (u8[32]){ 0xe3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1977. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1978. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1979. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  1980. .secret_size = 32,
  1981. .b_public_size = 32,
  1982. .expected_ss_size = 32,
  1983. },
  1984. /* wycheproof - edge case for shared secret */
  1985. {
  1986. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  1987. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  1988. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  1989. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  1990. .b_public = (u8[32]){ 0xf7, 0x6e, 0x90, 0x10, 0xac, 0x33, 0xc5, 0x04,
  1991. 0x3b, 0x2d, 0x3b, 0x76, 0xa8, 0x42, 0x17, 0x10,
  1992. 0x00, 0xc4, 0x91, 0x62, 0x22, 0xe9, 0xe8, 0x58,
  1993. 0x97, 0xa0, 0xae, 0xc7, 0xf6, 0x35, 0x0b, 0x3c },
  1994. .expected_ss = (u8[32]){ 0xdd, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1995. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1996. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  1997. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  1998. .secret_size = 32,
  1999. .b_public_size = 32,
  2000. .expected_ss_size = 32,
  2001. },
  2002. /* wycheproof - edge case for shared secret */
  2003. {
  2004. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  2005. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  2006. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  2007. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  2008. .b_public = (u8[32]){ 0xbb, 0x72, 0x68, 0x8d, 0x8f, 0x8a, 0xa7, 0xa3,
  2009. 0x9c, 0xd6, 0x06, 0x0c, 0xd5, 0xc8, 0x09, 0x3c,
  2010. 0xde, 0xc6, 0xfe, 0x34, 0x19, 0x37, 0xc3, 0x88,
  2011. 0x6a, 0x99, 0x34, 0x6c, 0xd0, 0x7f, 0xaa, 0x55 },
  2012. .expected_ss = (u8[32]){ 0xdb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  2013. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  2014. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  2015. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  2016. .secret_size = 32,
  2017. .b_public_size = 32,
  2018. .expected_ss_size = 32,
  2019. },
  2020. /* wycheproof - edge case for shared secret */
  2021. {
  2022. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  2023. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  2024. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  2025. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  2026. .b_public = (u8[32]){ 0x88, 0xfd, 0xde, 0xa1, 0x93, 0x39, 0x1c, 0x6a,
  2027. 0x59, 0x33, 0xef, 0x9b, 0x71, 0x90, 0x15, 0x49,
  2028. 0x44, 0x72, 0x05, 0xaa, 0xe9, 0xda, 0x92, 0x8a,
  2029. 0x6b, 0x91, 0xa3, 0x52, 0xba, 0x10, 0xf4, 0x1f },
  2030. .expected_ss = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  2031. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  2032. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  2033. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 },
  2034. .secret_size = 32,
  2035. .b_public_size = 32,
  2036. .expected_ss_size = 32,
  2037. },
  2038. /* wycheproof - edge case for shared secret */
  2039. {
  2040. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  2041. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  2042. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  2043. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  2044. .b_public = (u8[32]){ 0x30, 0x3b, 0x39, 0x2f, 0x15, 0x31, 0x16, 0xca,
  2045. 0xd9, 0xcc, 0x68, 0x2a, 0x00, 0xcc, 0xc4, 0x4c,
  2046. 0x95, 0xff, 0x0d, 0x3b, 0xbe, 0x56, 0x8b, 0xeb,
  2047. 0x6c, 0x4e, 0x73, 0x9b, 0xaf, 0xdc, 0x2c, 0x68 },
  2048. .expected_ss = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  2049. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  2050. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  2051. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00 },
  2052. .secret_size = 32,
  2053. .b_public_size = 32,
  2054. .expected_ss_size = 32,
  2055. },
  2056. /* wycheproof - checking for overflow */
  2057. {
  2058. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  2059. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  2060. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  2061. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  2062. .b_public = (u8[32]){ 0xfd, 0x30, 0x0a, 0xeb, 0x40, 0xe1, 0xfa, 0x58,
  2063. 0x25, 0x18, 0x41, 0x2b, 0x49, 0xb2, 0x08, 0xa7,
  2064. 0x84, 0x2b, 0x1e, 0x1f, 0x05, 0x6a, 0x04, 0x01,
  2065. 0x78, 0xea, 0x41, 0x41, 0x53, 0x4f, 0x65, 0x2d },
  2066. .expected_ss = (u8[32]){ 0xb7, 0x34, 0x10, 0x5d, 0xc2, 0x57, 0x58, 0x5d,
  2067. 0x73, 0xb5, 0x66, 0xcc, 0xb7, 0x6f, 0x06, 0x27,
  2068. 0x95, 0xcc, 0xbe, 0xc8, 0x91, 0x28, 0xe5, 0x2b,
  2069. 0x02, 0xf3, 0xe5, 0x96, 0x39, 0xf1, 0x3c, 0x46 },
  2070. .secret_size = 32,
  2071. .b_public_size = 32,
  2072. .expected_ss_size = 32,
  2073. },
  2074. /* wycheproof - checking for overflow */
  2075. {
  2076. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  2077. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  2078. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  2079. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  2080. .b_public = (u8[32]){ 0xc8, 0xef, 0x79, 0xb5, 0x14, 0xd7, 0x68, 0x26,
  2081. 0x77, 0xbc, 0x79, 0x31, 0xe0, 0x6e, 0xe5, 0xc2,
  2082. 0x7c, 0x9b, 0x39, 0x2b, 0x4a, 0xe9, 0x48, 0x44,
  2083. 0x73, 0xf5, 0x54, 0xe6, 0x67, 0x8e, 0xcc, 0x2e },
  2084. .expected_ss = (u8[32]){ 0x64, 0x7a, 0x46, 0xb6, 0xfc, 0x3f, 0x40, 0xd6,
  2085. 0x21, 0x41, 0xee, 0x3c, 0xee, 0x70, 0x6b, 0x4d,
  2086. 0x7a, 0x92, 0x71, 0x59, 0x3a, 0x7b, 0x14, 0x3e,
  2087. 0x8e, 0x2e, 0x22, 0x79, 0x88, 0x3e, 0x45, 0x50 },
  2088. .secret_size = 32,
  2089. .b_public_size = 32,
  2090. .expected_ss_size = 32,
  2091. },
  2092. /* wycheproof - checking for overflow */
  2093. {
  2094. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  2095. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  2096. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  2097. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  2098. .b_public = (u8[32]){ 0x64, 0xae, 0xac, 0x25, 0x04, 0x14, 0x48, 0x61,
  2099. 0x53, 0x2b, 0x7b, 0xbc, 0xb6, 0xc8, 0x7d, 0x67,
  2100. 0xdd, 0x4c, 0x1f, 0x07, 0xeb, 0xc2, 0xe0, 0x6e,
  2101. 0xff, 0xb9, 0x5a, 0xec, 0xc6, 0x17, 0x0b, 0x2c },
  2102. .expected_ss = (u8[32]){ 0x4f, 0xf0, 0x3d, 0x5f, 0xb4, 0x3c, 0xd8, 0x65,
  2103. 0x7a, 0x3c, 0xf3, 0x7c, 0x13, 0x8c, 0xad, 0xce,
  2104. 0xcc, 0xe5, 0x09, 0xe4, 0xeb, 0xa0, 0x89, 0xd0,
  2105. 0xef, 0x40, 0xb4, 0xe4, 0xfb, 0x94, 0x61, 0x55 },
  2106. .secret_size = 32,
  2107. .b_public_size = 32,
  2108. .expected_ss_size = 32,
  2109. },
  2110. /* wycheproof - checking for overflow */
  2111. {
  2112. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  2113. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  2114. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  2115. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  2116. .b_public = (u8[32]){ 0xbf, 0x68, 0xe3, 0x5e, 0x9b, 0xdb, 0x7e, 0xee,
  2117. 0x1b, 0x50, 0x57, 0x02, 0x21, 0x86, 0x0f, 0x5d,
  2118. 0xcd, 0xad, 0x8a, 0xcb, 0xab, 0x03, 0x1b, 0x14,
  2119. 0x97, 0x4c, 0xc4, 0x90, 0x13, 0xc4, 0x98, 0x31 },
  2120. .expected_ss = (u8[32]){ 0x21, 0xce, 0xe5, 0x2e, 0xfd, 0xbc, 0x81, 0x2e,
  2121. 0x1d, 0x02, 0x1a, 0x4a, 0xf1, 0xe1, 0xd8, 0xbc,
  2122. 0x4d, 0xb3, 0xc4, 0x00, 0xe4, 0xd2, 0xa2, 0xc5,
  2123. 0x6a, 0x39, 0x26, 0xdb, 0x4d, 0x99, 0xc6, 0x5b },
  2124. .secret_size = 32,
  2125. .b_public_size = 32,
  2126. .expected_ss_size = 32,
  2127. },
  2128. /* wycheproof - checking for overflow */
  2129. {
  2130. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  2131. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  2132. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  2133. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  2134. .b_public = (u8[32]){ 0x53, 0x47, 0xc4, 0x91, 0x33, 0x1a, 0x64, 0xb4,
  2135. 0x3d, 0xdc, 0x68, 0x30, 0x34, 0xe6, 0x77, 0xf5,
  2136. 0x3d, 0xc3, 0x2b, 0x52, 0xa5, 0x2a, 0x57, 0x7c,
  2137. 0x15, 0xa8, 0x3b, 0xf2, 0x98, 0xe9, 0x9f, 0x19 },
  2138. .expected_ss = (u8[32]){ 0x18, 0xcb, 0x89, 0xe4, 0xe2, 0x0c, 0x0c, 0x2b,
  2139. 0xd3, 0x24, 0x30, 0x52, 0x45, 0x26, 0x6c, 0x93,
  2140. 0x27, 0x69, 0x0b, 0xbe, 0x79, 0xac, 0xb8, 0x8f,
  2141. 0x5b, 0x8f, 0xb3, 0xf7, 0x4e, 0xca, 0x3e, 0x52 },
  2142. .secret_size = 32,
  2143. .b_public_size = 32,
  2144. .expected_ss_size = 32,
  2145. },
  2146. /* wycheproof - private key == -1 (mod order) */
  2147. {
  2148. .secret = (u8[32]){ 0xa0, 0x23, 0xcd, 0xd0, 0x83, 0xef, 0x5b, 0xb8,
  2149. 0x2f, 0x10, 0xd6, 0x2e, 0x59, 0xe1, 0x5a, 0x68,
  2150. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  2151. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50 },
  2152. .b_public = (u8[32]){ 0x25, 0x8e, 0x04, 0x52, 0x3b, 0x8d, 0x25, 0x3e,
  2153. 0xe6, 0x57, 0x19, 0xfc, 0x69, 0x06, 0xc6, 0x57,
  2154. 0x19, 0x2d, 0x80, 0x71, 0x7e, 0xdc, 0x82, 0x8f,
  2155. 0xa0, 0xaf, 0x21, 0x68, 0x6e, 0x2f, 0xaa, 0x75 },
  2156. .expected_ss = (u8[32]){ 0x25, 0x8e, 0x04, 0x52, 0x3b, 0x8d, 0x25, 0x3e,
  2157. 0xe6, 0x57, 0x19, 0xfc, 0x69, 0x06, 0xc6, 0x57,
  2158. 0x19, 0x2d, 0x80, 0x71, 0x7e, 0xdc, 0x82, 0x8f,
  2159. 0xa0, 0xaf, 0x21, 0x68, 0x6e, 0x2f, 0xaa, 0x75 },
  2160. .secret_size = 32,
  2161. .b_public_size = 32,
  2162. .expected_ss_size = 32,
  2163. },
  2164. /* wycheproof - private key == 1 (mod order) on twist */
  2165. {
  2166. .secret = (u8[32]){ 0x58, 0x08, 0x3d, 0xd2, 0x61, 0xad, 0x91, 0xef,
  2167. 0xf9, 0x52, 0x32, 0x2e, 0xc8, 0x24, 0xc6, 0x82,
  2168. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  2169. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x5f },
  2170. .b_public = (u8[32]){ 0x2e, 0xae, 0x5e, 0xc3, 0xdd, 0x49, 0x4e, 0x9f,
  2171. 0x2d, 0x37, 0xd2, 0x58, 0xf8, 0x73, 0xa8, 0xe6,
  2172. 0xe9, 0xd0, 0xdb, 0xd1, 0xe3, 0x83, 0xef, 0x64,
  2173. 0xd9, 0x8b, 0xb9, 0x1b, 0x3e, 0x0b, 0xe0, 0x35 },
  2174. .expected_ss = (u8[32]){ 0x2e, 0xae, 0x5e, 0xc3, 0xdd, 0x49, 0x4e, 0x9f,
  2175. 0x2d, 0x37, 0xd2, 0x58, 0xf8, 0x73, 0xa8, 0xe6,
  2176. 0xe9, 0xd0, 0xdb, 0xd1, 0xe3, 0x83, 0xef, 0x64,
  2177. 0xd9, 0x8b, 0xb9, 0x1b, 0x3e, 0x0b, 0xe0, 0x35 },
  2178. .secret_size = 32,
  2179. .b_public_size = 32,
  2180. .expected_ss_size = 32,
  2181. }
  2182. };
  2183. static const struct kpp_testvec ecdh_tv_template[] = {
  2184. {
  2185. #ifndef CONFIG_CRYPTO_FIPS
  2186. .secret =
  2187. #ifdef __LITTLE_ENDIAN
  2188. "\x02\x00" /* type */
  2189. "\x20\x00" /* len */
  2190. "\x01\x00" /* curve_id */
  2191. "\x18\x00" /* key_size */
  2192. #else
  2193. "\x00\x02" /* type */
  2194. "\x00\x20" /* len */
  2195. "\x00\x01" /* curve_id */
  2196. "\x00\x18" /* key_size */
  2197. #endif
  2198. "\xb5\x05\xb1\x71\x1e\xbf\x8c\xda"
  2199. "\x4e\x19\x1e\x62\x1f\x23\x23\x31"
  2200. "\x36\x1e\xd3\x84\x2f\xcc\x21\x72",
  2201. .b_public =
  2202. "\xc3\xba\x67\x4b\x71\xec\xd0\x76"
  2203. "\x7a\x99\x75\x64\x36\x13\x9a\x94"
  2204. "\x5d\x8b\xdc\x60\x90\x91\xfd\x3f"
  2205. "\xb0\x1f\x8a\x0a\x68\xc6\x88\x6e"
  2206. "\x83\x87\xdd\x67\x09\xf8\x8d\x96"
  2207. "\x07\xd6\xbd\x1c\xe6\x8d\x9d\x67",
  2208. .expected_a_public =
  2209. "\x1a\x04\xdb\xa5\xe1\xdd\x4e\x79"
  2210. "\xa3\xe6\xef\x0e\x5c\x80\x49\x85"
  2211. "\xfa\x78\xb4\xef\x49\xbd\x4c\x7c"
  2212. "\x22\x90\x21\x02\xf9\x1b\x81\x5d"
  2213. "\x0c\x8a\xa8\x98\xd6\x27\x69\x88"
  2214. "\x5e\xbc\x94\xd8\x15\x9e\x21\xce",
  2215. .expected_ss =
  2216. "\xf4\x57\xcc\x4f\x1f\x4e\x31\xcc"
  2217. "\xe3\x40\x60\xc8\x06\x93\xc6\x2e"
  2218. "\x99\x80\x81\x28\xaf\xc5\x51\x74",
  2219. .secret_size = 32,
  2220. .b_public_size = 48,
  2221. .expected_a_public_size = 48,
  2222. .expected_ss_size = 24
  2223. }, {
  2224. #endif
  2225. .secret =
  2226. #ifdef __LITTLE_ENDIAN
  2227. "\x02\x00" /* type */
  2228. "\x28\x00" /* len */
  2229. "\x02\x00" /* curve_id */
  2230. "\x20\x00" /* key_size */
  2231. #else
  2232. "\x00\x02" /* type */
  2233. "\x00\x28" /* len */
  2234. "\x00\x02" /* curve_id */
  2235. "\x00\x20" /* key_size */
  2236. #endif
  2237. "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
  2238. "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
  2239. "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
  2240. "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
  2241. .expected_a_public =
  2242. "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
  2243. "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
  2244. "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
  2245. "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
  2246. "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
  2247. "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
  2248. "\x6a\x02\x6e\x41\x87\x68\x38\x77"
  2249. "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
  2250. .expected_ss =
  2251. "\xea\x17\x6f\x7e\x6e\x57\x26\x38"
  2252. "\x8b\xfb\x41\xeb\xba\xc8\x6d\xa5"
  2253. "\xa8\x72\xd1\xff\xc9\x47\x3d\xaa"
  2254. "\x58\x43\x9f\x34\x0f\x8c\xf3\xc9",
  2255. .b_public =
  2256. "\xcc\xb4\xda\x74\xb1\x47\x3f\xea"
  2257. "\x6c\x70\x9e\x38\x2d\xc7\xaa\xb7"
  2258. "\x29\xb2\x47\x03\x19\xab\xdd\x34"
  2259. "\xbd\xa8\x2c\x93\xe1\xa4\x74\xd9"
  2260. "\x64\x63\xf7\x70\x20\x2f\xa4\xe6"
  2261. "\x9f\x4a\x38\xcc\xc0\x2c\x49\x2f"
  2262. "\xb1\x32\xbb\xaf\x22\x61\xda\xcb"
  2263. "\x6f\xdb\xa9\xaa\xfc\x77\x81\xf3",
  2264. .secret_size = 40,
  2265. .b_public_size = 64,
  2266. .expected_a_public_size = 64,
  2267. .expected_ss_size = 32
  2268. }, {
  2269. .secret =
  2270. #ifdef __LITTLE_ENDIAN
  2271. "\x02\x00" /* type */
  2272. "\x08\x00" /* len */
  2273. "\x02\x00" /* curve_id */
  2274. "\x00\x00", /* key_size */
  2275. #else
  2276. "\x00\x02" /* type */
  2277. "\x00\x08" /* len */
  2278. "\x00\x02" /* curve_id */
  2279. "\x00\x00", /* key_size */
  2280. #endif
  2281. .b_secret =
  2282. #ifdef __LITTLE_ENDIAN
  2283. "\x02\x00" /* type */
  2284. "\x28\x00" /* len */
  2285. "\x02\x00" /* curve_id */
  2286. "\x20\x00" /* key_size */
  2287. #else
  2288. "\x00\x02" /* type */
  2289. "\x00\x28" /* len */
  2290. "\x00\x02" /* curve_id */
  2291. "\x00\x20" /* key_size */
  2292. #endif
  2293. "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
  2294. "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
  2295. "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
  2296. "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
  2297. .b_public =
  2298. "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
  2299. "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
  2300. "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
  2301. "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
  2302. "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
  2303. "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
  2304. "\x6a\x02\x6e\x41\x87\x68\x38\x77"
  2305. "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
  2306. .secret_size = 8,
  2307. .b_secret_size = 40,
  2308. .b_public_size = 64,
  2309. .expected_a_public_size = 64,
  2310. .expected_ss_size = 32,
  2311. .genkey = true,
  2312. }
  2313. };
  2314. /*
  2315. * MD4 test vectors from RFC1320
  2316. */
  2317. static const struct hash_testvec md4_tv_template[] = {
  2318. {
  2319. .plaintext = "",
  2320. .digest = "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
  2321. "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
  2322. }, {
  2323. .plaintext = "a",
  2324. .psize = 1,
  2325. .digest = "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
  2326. "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
  2327. }, {
  2328. .plaintext = "abc",
  2329. .psize = 3,
  2330. .digest = "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
  2331. "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
  2332. }, {
  2333. .plaintext = "message digest",
  2334. .psize = 14,
  2335. .digest = "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
  2336. "\x18\x87\x48\x06\xe1\xc7\x01\x4b",
  2337. }, {
  2338. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  2339. .psize = 26,
  2340. .digest = "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
  2341. "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
  2342. }, {
  2343. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
  2344. .psize = 62,
  2345. .digest = "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
  2346. "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
  2347. }, {
  2348. .plaintext = "123456789012345678901234567890123456789012345678901234567890123"
  2349. "45678901234567890",
  2350. .psize = 80,
  2351. .digest = "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
  2352. "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
  2353. },
  2354. };
  2355. static const struct hash_testvec sha3_224_tv_template[] = {
  2356. {
  2357. .plaintext = "",
  2358. .digest = "\x6b\x4e\x03\x42\x36\x67\xdb\xb7"
  2359. "\x3b\x6e\x15\x45\x4f\x0e\xb1\xab"
  2360. "\xd4\x59\x7f\x9a\x1b\x07\x8e\x3f"
  2361. "\x5b\x5a\x6b\xc7",
  2362. }, {
  2363. .plaintext = "a",
  2364. .psize = 1,
  2365. .digest = "\x9e\x86\xff\x69\x55\x7c\xa9\x5f"
  2366. "\x40\x5f\x08\x12\x69\x68\x5b\x38"
  2367. "\xe3\xa8\x19\xb3\x09\xee\x94\x2f"
  2368. "\x48\x2b\x6a\x8b",
  2369. }, {
  2370. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
  2371. "jklmklmnlmnomnopnopq",
  2372. .psize = 56,
  2373. .digest = "\x8a\x24\x10\x8b\x15\x4a\xda\x21"
  2374. "\xc9\xfd\x55\x74\x49\x44\x79\xba"
  2375. "\x5c\x7e\x7a\xb7\x6e\xf2\x64\xea"
  2376. "\xd0\xfc\xce\x33",
  2377. }, {
  2378. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  2379. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  2380. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  2381. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  2382. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  2383. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  2384. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  2385. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  2386. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  2387. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  2388. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  2389. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  2390. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  2391. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  2392. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  2393. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  2394. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  2395. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  2396. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  2397. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  2398. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  2399. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  2400. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  2401. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  2402. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  2403. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  2404. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  2405. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  2406. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  2407. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  2408. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  2409. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  2410. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  2411. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  2412. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  2413. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  2414. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  2415. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  2416. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  2417. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  2418. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  2419. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  2420. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  2421. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  2422. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  2423. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  2424. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  2425. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  2426. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  2427. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  2428. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  2429. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  2430. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  2431. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  2432. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  2433. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  2434. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  2435. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  2436. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  2437. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  2438. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  2439. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  2440. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  2441. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  2442. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  2443. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  2444. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  2445. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  2446. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  2447. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  2448. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  2449. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  2450. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  2451. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  2452. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  2453. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  2454. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  2455. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  2456. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  2457. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  2458. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  2459. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  2460. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  2461. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  2462. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  2463. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  2464. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  2465. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  2466. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  2467. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  2468. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  2469. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  2470. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  2471. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  2472. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  2473. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  2474. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  2475. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  2476. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  2477. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  2478. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  2479. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  2480. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  2481. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  2482. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  2483. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  2484. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  2485. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  2486. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  2487. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  2488. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  2489. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  2490. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  2491. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  2492. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  2493. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  2494. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  2495. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  2496. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  2497. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  2498. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  2499. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  2500. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  2501. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  2502. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  2503. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  2504. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  2505. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  2506. .psize = 1023,
  2507. .digest = "\x7d\x0f\x2f\xb7\x65\x3b\xa7\x26"
  2508. "\xc3\x88\x20\x71\x15\x06\xe8\x2d"
  2509. "\xa3\x92\x44\xab\x3e\xe7\xff\x86"
  2510. "\xb6\x79\x10\x72",
  2511. },
  2512. };
  2513. static const struct hash_testvec sha3_256_tv_template[] = {
  2514. {
  2515. .plaintext = "",
  2516. .digest = "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
  2517. "\x51\xc1\x47\x56\xa0\x61\xd6\x62"
  2518. "\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
  2519. "\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
  2520. }, {
  2521. .plaintext = "a",
  2522. .psize = 1,
  2523. .digest = "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
  2524. "\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
  2525. "\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
  2526. "\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
  2527. }, {
  2528. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
  2529. "jklmklmnlmnomnopnopq",
  2530. .psize = 56,
  2531. .digest = "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
  2532. "\x49\x10\x03\x76\xa8\x23\x5e\x2c"
  2533. "\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
  2534. "\xdb\x32\xdd\x97\x49\x6d\x33\x76",
  2535. }, {
  2536. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  2537. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  2538. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  2539. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  2540. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  2541. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  2542. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  2543. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  2544. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  2545. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  2546. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  2547. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  2548. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  2549. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  2550. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  2551. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  2552. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  2553. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  2554. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  2555. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  2556. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  2557. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  2558. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  2559. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  2560. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  2561. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  2562. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  2563. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  2564. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  2565. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  2566. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  2567. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  2568. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  2569. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  2570. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  2571. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  2572. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  2573. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  2574. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  2575. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  2576. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  2577. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  2578. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  2579. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  2580. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  2581. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  2582. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  2583. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  2584. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  2585. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  2586. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  2587. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  2588. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  2589. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  2590. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  2591. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  2592. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  2593. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  2594. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  2595. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  2596. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  2597. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  2598. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  2599. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  2600. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  2601. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  2602. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  2603. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  2604. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  2605. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  2606. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  2607. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  2608. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  2609. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  2610. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  2611. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  2612. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  2613. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  2614. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  2615. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  2616. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  2617. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  2618. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  2619. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  2620. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  2621. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  2622. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  2623. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  2624. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  2625. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  2626. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  2627. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  2628. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  2629. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  2630. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  2631. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  2632. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  2633. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  2634. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  2635. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  2636. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  2637. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  2638. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  2639. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  2640. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  2641. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  2642. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  2643. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  2644. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  2645. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  2646. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  2647. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  2648. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  2649. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  2650. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  2651. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  2652. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  2653. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  2654. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  2655. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  2656. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  2657. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  2658. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  2659. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  2660. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  2661. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  2662. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  2663. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  2664. .psize = 1023,
  2665. .digest = "\xde\x41\x04\xbd\xda\xda\xd9\x71"
  2666. "\xf7\xfa\x80\xf5\xea\x11\x03\xb1"
  2667. "\x3b\x6a\xbc\x5f\xb9\x66\x26\xf7"
  2668. "\x8a\x97\xbb\xf2\x07\x08\x38\x30",
  2669. },
  2670. };
  2671. static const struct hash_testvec sha3_384_tv_template[] = {
  2672. {
  2673. .plaintext = "",
  2674. .digest = "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
  2675. "\x01\x10\x7d\x85\x2e\x4c\x24\x85"
  2676. "\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
  2677. "\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
  2678. "\xc3\x71\x38\x31\x26\x4a\xdb\x47"
  2679. "\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
  2680. }, {
  2681. .plaintext = "a",
  2682. .psize = 1,
  2683. .digest = "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
  2684. "\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
  2685. "\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
  2686. "\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
  2687. "\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
  2688. "\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
  2689. }, {
  2690. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
  2691. "jklmklmnlmnomnopnopq",
  2692. .psize = 56,
  2693. .digest = "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
  2694. "\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
  2695. "\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
  2696. "\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
  2697. "\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
  2698. "\x9e\xef\x51\xac\xd0\x65\x7c\x22",
  2699. }, {
  2700. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  2701. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  2702. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  2703. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  2704. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  2705. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  2706. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  2707. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  2708. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  2709. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  2710. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  2711. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  2712. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  2713. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  2714. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  2715. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  2716. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  2717. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  2718. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  2719. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  2720. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  2721. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  2722. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  2723. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  2724. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  2725. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  2726. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  2727. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  2728. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  2729. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  2730. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  2731. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  2732. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  2733. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  2734. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  2735. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  2736. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  2737. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  2738. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  2739. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  2740. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  2741. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  2742. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  2743. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  2744. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  2745. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  2746. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  2747. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  2748. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  2749. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  2750. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  2751. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  2752. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  2753. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  2754. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  2755. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  2756. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  2757. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  2758. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  2759. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  2760. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  2761. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  2762. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  2763. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  2764. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  2765. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  2766. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  2767. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  2768. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  2769. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  2770. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  2771. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  2772. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  2773. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  2774. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  2775. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  2776. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  2777. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  2778. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  2779. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  2780. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  2781. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  2782. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  2783. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  2784. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  2785. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  2786. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  2787. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  2788. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  2789. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  2790. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  2791. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  2792. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  2793. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  2794. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  2795. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  2796. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  2797. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  2798. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  2799. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  2800. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  2801. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  2802. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  2803. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  2804. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  2805. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  2806. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  2807. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  2808. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  2809. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  2810. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  2811. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  2812. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  2813. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  2814. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  2815. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  2816. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  2817. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  2818. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  2819. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  2820. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  2821. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  2822. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  2823. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  2824. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  2825. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  2826. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  2827. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  2828. .psize = 1023,
  2829. .digest = "\x1b\x19\x4d\x8f\xd5\x36\x87\x71"
  2830. "\xcf\xca\x30\x85\x9b\xc1\x25\xc7"
  2831. "\x00\xcb\x73\x8a\x8e\xd4\xfe\x2b"
  2832. "\x1a\xa2\xdc\x2e\x41\xfd\x52\x51"
  2833. "\xd2\x21\xae\x2d\xc7\xae\x8c\x40"
  2834. "\xb9\xe6\x56\x48\x03\xcd\x88\x6b",
  2835. },
  2836. };
  2837. static const struct hash_testvec sha3_512_tv_template[] = {
  2838. {
  2839. .plaintext = "",
  2840. .digest = "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
  2841. "\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
  2842. "\x97\xc9\x82\x16\x4f\xe2\x58\x59"
  2843. "\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
  2844. "\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
  2845. "\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
  2846. "\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
  2847. "\x01\x75\x85\x86\x28\x1d\xcd\x26",
  2848. }, {
  2849. .plaintext = "a",
  2850. .psize = 1,
  2851. .digest = "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
  2852. "\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
  2853. "\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
  2854. "\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
  2855. "\x3f\x4f\x93\xff\x24\x39\x35\x86"
  2856. "\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
  2857. "\x69\x42\x0c\xe5\x33\x32\x71\x2f"
  2858. "\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
  2859. }, {
  2860. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
  2861. "jklmklmnlmnomnopnopq",
  2862. .psize = 56,
  2863. .digest = "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
  2864. "\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
  2865. "\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
  2866. "\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
  2867. "\xee\x69\x1f\xbe\x0c\x98\x53\x02"
  2868. "\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
  2869. "\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
  2870. "\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
  2871. }, {
  2872. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  2873. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  2874. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  2875. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  2876. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  2877. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  2878. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  2879. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  2880. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  2881. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  2882. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  2883. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  2884. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  2885. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  2886. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  2887. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  2888. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  2889. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  2890. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  2891. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  2892. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  2893. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  2894. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  2895. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  2896. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  2897. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  2898. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  2899. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  2900. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  2901. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  2902. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  2903. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  2904. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  2905. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  2906. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  2907. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  2908. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  2909. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  2910. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  2911. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  2912. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  2913. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  2914. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  2915. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  2916. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  2917. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  2918. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  2919. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  2920. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  2921. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  2922. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  2923. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  2924. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  2925. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  2926. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  2927. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  2928. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  2929. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  2930. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  2931. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  2932. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  2933. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  2934. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  2935. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  2936. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  2937. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  2938. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  2939. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  2940. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  2941. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  2942. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  2943. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  2944. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  2945. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  2946. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  2947. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  2948. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  2949. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  2950. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  2951. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  2952. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  2953. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  2954. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  2955. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  2956. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  2957. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  2958. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  2959. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  2960. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  2961. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  2962. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  2963. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  2964. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  2965. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  2966. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  2967. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  2968. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  2969. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  2970. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  2971. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  2972. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  2973. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  2974. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  2975. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  2976. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  2977. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  2978. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  2979. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  2980. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  2981. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  2982. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  2983. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  2984. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  2985. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  2986. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  2987. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  2988. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  2989. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  2990. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  2991. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  2992. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  2993. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  2994. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  2995. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  2996. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  2997. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  2998. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  2999. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  3000. .psize = 1023,
  3001. .digest = "\x59\xda\x30\xe3\x90\xe4\x3d\xde"
  3002. "\xf0\xc6\x42\x17\xd7\xb2\x26\x47"
  3003. "\x90\x28\xa6\x84\xe8\x49\x7a\x86"
  3004. "\xd6\xb8\x9e\xf8\x07\x59\x21\x03"
  3005. "\xad\xd2\xed\x48\xa3\xb9\xa5\xf0"
  3006. "\xb3\xae\x02\x2b\xb8\xaf\xc3\x3b"
  3007. "\xd6\xb0\x8f\xcb\x76\x8b\xa7\x41"
  3008. "\x32\xc2\x8e\x50\x91\x86\x90\xfb",
  3009. },
  3010. };
  3011. /*
  3012. * MD5 test vectors from RFC1321
  3013. */
  3014. static const struct hash_testvec md5_tv_template[] = {
  3015. {
  3016. .digest = "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
  3017. "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
  3018. }, {
  3019. .plaintext = "a",
  3020. .psize = 1,
  3021. .digest = "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
  3022. "\x31\xc3\x99\xe2\x69\x77\x26\x61",
  3023. }, {
  3024. .plaintext = "abc",
  3025. .psize = 3,
  3026. .digest = "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
  3027. "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
  3028. }, {
  3029. .plaintext = "message digest",
  3030. .psize = 14,
  3031. .digest = "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
  3032. "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
  3033. }, {
  3034. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  3035. .psize = 26,
  3036. .digest = "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
  3037. "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
  3038. }, {
  3039. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
  3040. .psize = 62,
  3041. .digest = "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
  3042. "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
  3043. }, {
  3044. .plaintext = "12345678901234567890123456789012345678901234567890123456789012"
  3045. "345678901234567890",
  3046. .psize = 80,
  3047. .digest = "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
  3048. "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
  3049. }
  3050. };
  3051. /*
  3052. * RIPEMD-128 test vectors from ISO/IEC 10118-3:2004(E)
  3053. */
  3054. static const struct hash_testvec rmd128_tv_template[] = {
  3055. {
  3056. .digest = "\xcd\xf2\x62\x13\xa1\x50\xdc\x3e"
  3057. "\xcb\x61\x0f\x18\xf6\xb3\x8b\x46",
  3058. }, {
  3059. .plaintext = "a",
  3060. .psize = 1,
  3061. .digest = "\x86\xbe\x7a\xfa\x33\x9d\x0f\xc7"
  3062. "\xcf\xc7\x85\xe7\x2f\x57\x8d\x33",
  3063. }, {
  3064. .plaintext = "abc",
  3065. .psize = 3,
  3066. .digest = "\xc1\x4a\x12\x19\x9c\x66\xe4\xba"
  3067. "\x84\x63\x6b\x0f\x69\x14\x4c\x77",
  3068. }, {
  3069. .plaintext = "message digest",
  3070. .psize = 14,
  3071. .digest = "\x9e\x32\x7b\x3d\x6e\x52\x30\x62"
  3072. "\xaf\xc1\x13\x2d\x7d\xf9\xd1\xb8",
  3073. }, {
  3074. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  3075. .psize = 26,
  3076. .digest = "\xfd\x2a\xa6\x07\xf7\x1d\xc8\xf5"
  3077. "\x10\x71\x49\x22\xb3\x71\x83\x4e",
  3078. }, {
  3079. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
  3080. "fghijklmnopqrstuvwxyz0123456789",
  3081. .psize = 62,
  3082. .digest = "\xd1\xe9\x59\xeb\x17\x9c\x91\x1f"
  3083. "\xae\xa4\x62\x4c\x60\xc5\xc7\x02",
  3084. }, {
  3085. .plaintext = "1234567890123456789012345678901234567890"
  3086. "1234567890123456789012345678901234567890",
  3087. .psize = 80,
  3088. .digest = "\x3f\x45\xef\x19\x47\x32\xc2\xdb"
  3089. "\xb2\xc4\xa2\xc7\x69\x79\x5f\xa3",
  3090. }, {
  3091. .plaintext = "abcdbcdecdefdefgefghfghighij"
  3092. "hijkijkljklmklmnlmnomnopnopq",
  3093. .psize = 56,
  3094. .digest = "\xa1\xaa\x06\x89\xd0\xfa\xfa\x2d"
  3095. "\xdc\x22\xe8\x8b\x49\x13\x3a\x06",
  3096. }, {
  3097. .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
  3098. "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
  3099. "lmnopqrsmnopqrstnopqrstu",
  3100. .psize = 112,
  3101. .digest = "\xd4\xec\xc9\x13\xe1\xdf\x77\x6b"
  3102. "\xf4\x8d\xe9\xd5\x5b\x1f\x25\x46",
  3103. }, {
  3104. .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
  3105. .psize = 32,
  3106. .digest = "\x13\xfc\x13\xe8\xef\xff\x34\x7d"
  3107. "\xe1\x93\xff\x46\xdb\xac\xcf\xd4",
  3108. }
  3109. };
  3110. /*
  3111. * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
  3112. */
  3113. static const struct hash_testvec rmd160_tv_template[] = {
  3114. {
  3115. .digest = "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
  3116. "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
  3117. }, {
  3118. .plaintext = "a",
  3119. .psize = 1,
  3120. .digest = "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
  3121. "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
  3122. }, {
  3123. .plaintext = "abc",
  3124. .psize = 3,
  3125. .digest = "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
  3126. "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
  3127. }, {
  3128. .plaintext = "message digest",
  3129. .psize = 14,
  3130. .digest = "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
  3131. "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
  3132. }, {
  3133. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  3134. .psize = 26,
  3135. .digest = "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
  3136. "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
  3137. }, {
  3138. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
  3139. "fghijklmnopqrstuvwxyz0123456789",
  3140. .psize = 62,
  3141. .digest = "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
  3142. "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
  3143. }, {
  3144. .plaintext = "1234567890123456789012345678901234567890"
  3145. "1234567890123456789012345678901234567890",
  3146. .psize = 80,
  3147. .digest = "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
  3148. "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
  3149. }, {
  3150. .plaintext = "abcdbcdecdefdefgefghfghighij"
  3151. "hijkijkljklmklmnlmnomnopnopq",
  3152. .psize = 56,
  3153. .digest = "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
  3154. "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
  3155. }, {
  3156. .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
  3157. "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
  3158. "lmnopqrsmnopqrstnopqrstu",
  3159. .psize = 112,
  3160. .digest = "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
  3161. "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
  3162. }, {
  3163. .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
  3164. .psize = 32,
  3165. .digest = "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
  3166. "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
  3167. }
  3168. };
  3169. /*
  3170. * RIPEMD-256 test vectors
  3171. */
  3172. static const struct hash_testvec rmd256_tv_template[] = {
  3173. {
  3174. .digest = "\x02\xba\x4c\x4e\x5f\x8e\xcd\x18"
  3175. "\x77\xfc\x52\xd6\x4d\x30\xe3\x7a"
  3176. "\x2d\x97\x74\xfb\x1e\x5d\x02\x63"
  3177. "\x80\xae\x01\x68\xe3\xc5\x52\x2d",
  3178. }, {
  3179. .plaintext = "a",
  3180. .psize = 1,
  3181. .digest = "\xf9\x33\x3e\x45\xd8\x57\xf5\xd9"
  3182. "\x0a\x91\xba\xb7\x0a\x1e\xba\x0c"
  3183. "\xfb\x1b\xe4\xb0\x78\x3c\x9a\xcf"
  3184. "\xcd\x88\x3a\x91\x34\x69\x29\x25",
  3185. }, {
  3186. .plaintext = "abc",
  3187. .psize = 3,
  3188. .digest = "\xaf\xbd\x6e\x22\x8b\x9d\x8c\xbb"
  3189. "\xce\xf5\xca\x2d\x03\xe6\xdb\xa1"
  3190. "\x0a\xc0\xbc\x7d\xcb\xe4\x68\x0e"
  3191. "\x1e\x42\xd2\xe9\x75\x45\x9b\x65",
  3192. }, {
  3193. .plaintext = "message digest",
  3194. .psize = 14,
  3195. .digest = "\x87\xe9\x71\x75\x9a\x1c\xe4\x7a"
  3196. "\x51\x4d\x5c\x91\x4c\x39\x2c\x90"
  3197. "\x18\xc7\xc4\x6b\xc1\x44\x65\x55"
  3198. "\x4a\xfc\xdf\x54\xa5\x07\x0c\x0e",
  3199. }, {
  3200. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  3201. .psize = 26,
  3202. .digest = "\x64\x9d\x30\x34\x75\x1e\xa2\x16"
  3203. "\x77\x6b\xf9\xa1\x8a\xcc\x81\xbc"
  3204. "\x78\x96\x11\x8a\x51\x97\x96\x87"
  3205. "\x82\xdd\x1f\xd9\x7d\x8d\x51\x33",
  3206. }, {
  3207. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
  3208. "fghijklmnopqrstuvwxyz0123456789",
  3209. .psize = 62,
  3210. .digest = "\x57\x40\xa4\x08\xac\x16\xb7\x20"
  3211. "\xb8\x44\x24\xae\x93\x1c\xbb\x1f"
  3212. "\xe3\x63\xd1\xd0\xbf\x40\x17\xf1"
  3213. "\xa8\x9f\x7e\xa6\xde\x77\xa0\xb8",
  3214. }, {
  3215. .plaintext = "1234567890123456789012345678901234567890"
  3216. "1234567890123456789012345678901234567890",
  3217. .psize = 80,
  3218. .digest = "\x06\xfd\xcc\x7a\x40\x95\x48\xaa"
  3219. "\xf9\x13\x68\xc0\x6a\x62\x75\xb5"
  3220. "\x53\xe3\xf0\x99\xbf\x0e\xa4\xed"
  3221. "\xfd\x67\x78\xdf\x89\xa8\x90\xdd",
  3222. }, {
  3223. .plaintext = "abcdbcdecdefdefgefghfghighij"
  3224. "hijkijkljklmklmnlmnomnopnopq",
  3225. .psize = 56,
  3226. .digest = "\x38\x43\x04\x55\x83\xaa\xc6\xc8"
  3227. "\xc8\xd9\x12\x85\x73\xe7\xa9\x80"
  3228. "\x9a\xfb\x2a\x0f\x34\xcc\xc3\x6e"
  3229. "\xa9\xe7\x2f\x16\xf6\x36\x8e\x3f",
  3230. }
  3231. };
  3232. /*
  3233. * RIPEMD-320 test vectors
  3234. */
  3235. static const struct hash_testvec rmd320_tv_template[] = {
  3236. {
  3237. .digest = "\x22\xd6\x5d\x56\x61\x53\x6c\xdc\x75\xc1"
  3238. "\xfd\xf5\xc6\xde\x7b\x41\xb9\xf2\x73\x25"
  3239. "\xeb\xc6\x1e\x85\x57\x17\x7d\x70\x5a\x0e"
  3240. "\xc8\x80\x15\x1c\x3a\x32\xa0\x08\x99\xb8",
  3241. }, {
  3242. .plaintext = "a",
  3243. .psize = 1,
  3244. .digest = "\xce\x78\x85\x06\x38\xf9\x26\x58\xa5\xa5"
  3245. "\x85\x09\x75\x79\x92\x6d\xda\x66\x7a\x57"
  3246. "\x16\x56\x2c\xfc\xf6\xfb\xe7\x7f\x63\x54"
  3247. "\x2f\x99\xb0\x47\x05\xd6\x97\x0d\xff\x5d",
  3248. }, {
  3249. .plaintext = "abc",
  3250. .psize = 3,
  3251. .digest = "\xde\x4c\x01\xb3\x05\x4f\x89\x30\xa7\x9d"
  3252. "\x09\xae\x73\x8e\x92\x30\x1e\x5a\x17\x08"
  3253. "\x5b\xef\xfd\xc1\xb8\xd1\x16\x71\x3e\x74"
  3254. "\xf8\x2f\xa9\x42\xd6\x4c\xdb\xc4\x68\x2d",
  3255. }, {
  3256. .plaintext = "message digest",
  3257. .psize = 14,
  3258. .digest = "\x3a\x8e\x28\x50\x2e\xd4\x5d\x42\x2f\x68"
  3259. "\x84\x4f\x9d\xd3\x16\xe7\xb9\x85\x33\xfa"
  3260. "\x3f\x2a\x91\xd2\x9f\x84\xd4\x25\xc8\x8d"
  3261. "\x6b\x4e\xff\x72\x7d\xf6\x6a\x7c\x01\x97",
  3262. }, {
  3263. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  3264. .psize = 26,
  3265. .digest = "\xca\xbd\xb1\x81\x0b\x92\x47\x0a\x20\x93"
  3266. "\xaa\x6b\xce\x05\x95\x2c\x28\x34\x8c\xf4"
  3267. "\x3f\xf6\x08\x41\x97\x51\x66\xbb\x40\xed"
  3268. "\x23\x40\x04\xb8\x82\x44\x63\xe6\xb0\x09",
  3269. }, {
  3270. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
  3271. "fghijklmnopqrstuvwxyz0123456789",
  3272. .psize = 62,
  3273. .digest = "\xed\x54\x49\x40\xc8\x6d\x67\xf2\x50\xd2"
  3274. "\x32\xc3\x0b\x7b\x3e\x57\x70\xe0\xc6\x0c"
  3275. "\x8c\xb9\xa4\xca\xfe\x3b\x11\x38\x8a\xf9"
  3276. "\x92\x0e\x1b\x99\x23\x0b\x84\x3c\x86\xa4",
  3277. }, {
  3278. .plaintext = "1234567890123456789012345678901234567890"
  3279. "1234567890123456789012345678901234567890",
  3280. .psize = 80,
  3281. .digest = "\x55\x78\x88\xaf\x5f\x6d\x8e\xd6\x2a\xb6"
  3282. "\x69\x45\xc6\xd2\xa0\xa4\x7e\xcd\x53\x41"
  3283. "\xe9\x15\xeb\x8f\xea\x1d\x05\x24\x95\x5f"
  3284. "\x82\x5d\xc7\x17\xe4\xa0\x08\xab\x2d\x42",
  3285. }, {
  3286. .plaintext = "abcdbcdecdefdefgefghfghighij"
  3287. "hijkijkljklmklmnlmnomnopnopq",
  3288. .psize = 56,
  3289. .digest = "\xd0\x34\xa7\x95\x0c\xf7\x22\x02\x1b\xa4"
  3290. "\xb8\x4d\xf7\x69\xa5\xde\x20\x60\xe2\x59"
  3291. "\xdf\x4c\x9b\xb4\xa4\x26\x8c\x0e\x93\x5b"
  3292. "\xbc\x74\x70\xa9\x69\xc9\xd0\x72\xa1\xac",
  3293. }
  3294. };
  3295. static const struct hash_testvec crct10dif_tv_template[] = {
  3296. {
  3297. .plaintext = "abc",
  3298. .psize = 3,
  3299. .digest = (u8 *)(u16 []){ 0x443b },
  3300. }, {
  3301. .plaintext = "1234567890123456789012345678901234567890"
  3302. "123456789012345678901234567890123456789",
  3303. .psize = 79,
  3304. .digest = (u8 *)(u16 []){ 0x4b70 },
  3305. }, {
  3306. .plaintext = "abcdddddddddddddddddddddddddddddddddddddddd"
  3307. "ddddddddddddd",
  3308. .psize = 56,
  3309. .digest = (u8 *)(u16 []){ 0x9ce3 },
  3310. }, {
  3311. .plaintext = "1234567890123456789012345678901234567890"
  3312. "1234567890123456789012345678901234567890"
  3313. "1234567890123456789012345678901234567890"
  3314. "1234567890123456789012345678901234567890"
  3315. "1234567890123456789012345678901234567890"
  3316. "1234567890123456789012345678901234567890"
  3317. "1234567890123456789012345678901234567890"
  3318. "123456789012345678901234567890123456789",
  3319. .psize = 319,
  3320. .digest = (u8 *)(u16 []){ 0x44c6 },
  3321. }, {
  3322. .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
  3323. "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
  3324. "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
  3325. "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
  3326. "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
  3327. "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
  3328. "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
  3329. "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
  3330. "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
  3331. "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
  3332. "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
  3333. "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
  3334. "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
  3335. "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
  3336. "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
  3337. "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
  3338. "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
  3339. "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
  3340. "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
  3341. "\x58\xef\x63\xfa\x91\x05\x9c\x33"
  3342. "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
  3343. "\x19\xb0\x47\xde\x52\xe9\x80\x17"
  3344. "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
  3345. "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
  3346. "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
  3347. "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
  3348. "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
  3349. "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
  3350. "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
  3351. "\x86\x1d\x91\x28\xbf\x33\xca\x61"
  3352. "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
  3353. "\x47\xde\x75\x0c\x80\x17\xae\x22"
  3354. "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
  3355. "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
  3356. "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
  3357. "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
  3358. "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
  3359. "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
  3360. "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
  3361. "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
  3362. "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
  3363. "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
  3364. "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
  3365. "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
  3366. "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
  3367. "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
  3368. "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
  3369. "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
  3370. "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
  3371. "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
  3372. "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
  3373. "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
  3374. "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
  3375. "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
  3376. "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
  3377. "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
  3378. "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
  3379. "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
  3380. "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
  3381. "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
  3382. "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
  3383. "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
  3384. "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
  3385. "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
  3386. "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
  3387. "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
  3388. "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
  3389. "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
  3390. "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
  3391. "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
  3392. "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
  3393. "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
  3394. "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
  3395. "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
  3396. "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
  3397. "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
  3398. "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
  3399. "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
  3400. "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
  3401. "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
  3402. "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
  3403. "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
  3404. "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
  3405. "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
  3406. "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
  3407. "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
  3408. "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
  3409. "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
  3410. "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
  3411. "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
  3412. "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
  3413. "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
  3414. "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
  3415. "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
  3416. "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
  3417. "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
  3418. "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
  3419. "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
  3420. "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
  3421. "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
  3422. "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
  3423. "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
  3424. "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
  3425. "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
  3426. "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
  3427. "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
  3428. "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
  3429. "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
  3430. "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
  3431. "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
  3432. "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
  3433. "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
  3434. "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
  3435. "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
  3436. "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
  3437. "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
  3438. "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
  3439. "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
  3440. "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
  3441. "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
  3442. "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
  3443. "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
  3444. "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
  3445. "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
  3446. "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
  3447. "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
  3448. "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
  3449. "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
  3450. "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
  3451. "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
  3452. "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
  3453. "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
  3454. "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
  3455. "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
  3456. "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
  3457. "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
  3458. "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
  3459. "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
  3460. "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
  3461. "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
  3462. "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
  3463. "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
  3464. "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
  3465. "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
  3466. "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
  3467. "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
  3468. "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
  3469. "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
  3470. "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
  3471. "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
  3472. "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
  3473. "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
  3474. "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
  3475. "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
  3476. "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
  3477. "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
  3478. "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
  3479. "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
  3480. "\x47\xde\x52\xe9\x80\x17\x8b\x22"
  3481. "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
  3482. "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
  3483. "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
  3484. "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
  3485. "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
  3486. "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
  3487. "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
  3488. "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
  3489. "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
  3490. "\x75\x0c\x80\x17\xae\x22\xb9\x50"
  3491. "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
  3492. "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
  3493. "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
  3494. "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
  3495. "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
  3496. "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
  3497. "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
  3498. "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
  3499. "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
  3500. "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
  3501. "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
  3502. "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
  3503. "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
  3504. "\x48\xdf\x53\xea\x81\x18\x8c\x23"
  3505. "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
  3506. "\x09\xa0\x37\xce\x42\xd9\x70\x07"
  3507. "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
  3508. "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
  3509. "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
  3510. "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
  3511. "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
  3512. "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
  3513. "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
  3514. "\x76\x0d\x81\x18\xaf\x23\xba\x51"
  3515. "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
  3516. "\x37\xce\x65\xfc\x70\x07\x9e\x12"
  3517. "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
  3518. "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
  3519. "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
  3520. "\xff\x73\x0a\xa1\x15\xac\x43\xda"
  3521. "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
  3522. "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
  3523. "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
  3524. "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
  3525. "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
  3526. "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
  3527. "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
  3528. "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
  3529. "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
  3530. "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
  3531. "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
  3532. "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
  3533. "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
  3534. "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
  3535. "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
  3536. "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
  3537. "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
  3538. "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
  3539. "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
  3540. "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
  3541. "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
  3542. "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
  3543. "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
  3544. "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
  3545. "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
  3546. "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
  3547. "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
  3548. "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
  3549. "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
  3550. "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
  3551. "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
  3552. "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
  3553. "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
  3554. "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
  3555. "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
  3556. "\xef\x86\x1d\x91\x28\xbf\x33\xca"
  3557. "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
  3558. "\xd3\x47\xde\x75\x0c\x80\x17\xae"
  3559. "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
  3560. "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
  3561. "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
  3562. "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
  3563. "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
  3564. "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
  3565. "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
  3566. "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
  3567. "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
  3568. "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
  3569. "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
  3570. "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
  3571. "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
  3572. "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
  3573. "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
  3574. "\x67\xfe\x95\x09\xa0\x37\xce\x42"
  3575. "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
  3576. "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
  3577. "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
  3578. .psize = 2048,
  3579. .digest = (u8 *)(u16 []){ 0x23ca },
  3580. }
  3581. };
  3582. /*
  3583. * Streebog test vectors from RFC 6986 and GOST R 34.11-2012
  3584. */
  3585. static const struct hash_testvec streebog256_tv_template[] = {
  3586. { /* M1 */
  3587. .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
  3588. .psize = 63,
  3589. .digest =
  3590. "\x9d\x15\x1e\xef\xd8\x59\x0b\x89"
  3591. "\xda\xa6\xba\x6c\xb7\x4a\xf9\x27"
  3592. "\x5d\xd0\x51\x02\x6b\xb1\x49\xa4"
  3593. "\x52\xfd\x84\xe5\xe5\x7b\x55\x00",
  3594. },
  3595. { /* M2 */
  3596. .plaintext =
  3597. "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
  3598. "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
  3599. "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
  3600. "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
  3601. "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
  3602. "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
  3603. "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
  3604. "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
  3605. "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
  3606. .psize = 72,
  3607. .digest =
  3608. "\x9d\xd2\xfe\x4e\x90\x40\x9e\x5d"
  3609. "\xa8\x7f\x53\x97\x6d\x74\x05\xb0"
  3610. "\xc0\xca\xc6\x28\xfc\x66\x9a\x74"
  3611. "\x1d\x50\x06\x3c\x55\x7e\x8f\x50",
  3612. },
  3613. };
  3614. static const struct hash_testvec streebog512_tv_template[] = {
  3615. { /* M1 */
  3616. .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
  3617. .psize = 63,
  3618. .digest =
  3619. "\x1b\x54\xd0\x1a\x4a\xf5\xb9\xd5"
  3620. "\xcc\x3d\x86\xd6\x8d\x28\x54\x62"
  3621. "\xb1\x9a\xbc\x24\x75\x22\x2f\x35"
  3622. "\xc0\x85\x12\x2b\xe4\xba\x1f\xfa"
  3623. "\x00\xad\x30\xf8\x76\x7b\x3a\x82"
  3624. "\x38\x4c\x65\x74\xf0\x24\xc3\x11"
  3625. "\xe2\xa4\x81\x33\x2b\x08\xef\x7f"
  3626. "\x41\x79\x78\x91\xc1\x64\x6f\x48",
  3627. },
  3628. { /* M2 */
  3629. .plaintext =
  3630. "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
  3631. "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
  3632. "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
  3633. "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
  3634. "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
  3635. "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
  3636. "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
  3637. "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
  3638. "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
  3639. .psize = 72,
  3640. .digest =
  3641. "\x1e\x88\xe6\x22\x26\xbf\xca\x6f"
  3642. "\x99\x94\xf1\xf2\xd5\x15\x69\xe0"
  3643. "\xda\xf8\x47\x5a\x3b\x0f\xe6\x1a"
  3644. "\x53\x00\xee\xe4\x6d\x96\x13\x76"
  3645. "\x03\x5f\xe8\x35\x49\xad\xa2\xb8"
  3646. "\x62\x0f\xcd\x7c\x49\x6c\xe5\xb3"
  3647. "\x3f\x0c\xb9\xdd\xdc\x2b\x64\x60"
  3648. "\x14\x3b\x03\xda\xba\xc9\xfb\x28",
  3649. },
  3650. };
  3651. /*
  3652. * Two HMAC-Streebog test vectors from RFC 7836 and R 50.1.113-2016 A
  3653. */
  3654. static const struct hash_testvec hmac_streebog256_tv_template[] = {
  3655. {
  3656. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  3657. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  3658. "\x10\x11\x12\x13\x14\x15\x16\x17"
  3659. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  3660. .ksize = 32,
  3661. .plaintext =
  3662. "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
  3663. "\x43\x41\x45\x65\x63\x78\x01\x00",
  3664. .psize = 16,
  3665. .digest =
  3666. "\xa1\xaa\x5f\x7d\xe4\x02\xd7\xb3"
  3667. "\xd3\x23\xf2\x99\x1c\x8d\x45\x34"
  3668. "\x01\x31\x37\x01\x0a\x83\x75\x4f"
  3669. "\xd0\xaf\x6d\x7c\xd4\x92\x2e\xd9",
  3670. },
  3671. };
  3672. static const struct hash_testvec hmac_streebog512_tv_template[] = {
  3673. {
  3674. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  3675. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  3676. "\x10\x11\x12\x13\x14\x15\x16\x17"
  3677. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  3678. .ksize = 32,
  3679. .plaintext =
  3680. "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
  3681. "\x43\x41\x45\x65\x63\x78\x01\x00",
  3682. .psize = 16,
  3683. .digest =
  3684. "\xa5\x9b\xab\x22\xec\xae\x19\xc6"
  3685. "\x5f\xbd\xe6\xe5\xf4\xe9\xf5\xd8"
  3686. "\x54\x9d\x31\xf0\x37\xf9\xdf\x9b"
  3687. "\x90\x55\x00\xe1\x71\x92\x3a\x77"
  3688. "\x3d\x5f\x15\x30\xf2\xed\x7e\x96"
  3689. "\x4c\xb2\xee\xdc\x29\xe9\xad\x2f"
  3690. "\x3a\xfe\x93\xb2\x81\x4f\x79\xf5"
  3691. "\x00\x0f\xfc\x03\x66\xc2\x51\xe6",
  3692. },
  3693. };
  3694. /*
  3695. * SM2 test vectors.
  3696. */
  3697. static const struct akcipher_testvec sm2_tv_template[] = {
  3698. { /* Generated from openssl */
  3699. .key =
  3700. "\x04"
  3701. "\x8e\xa0\x33\x69\x91\x7e\x3d\xec\xad\x8e\xf0\x45\x5e\x13\x3e\x68"
  3702. "\x5b\x8c\xab\x5c\xc6\xc8\x50\xdf\x91\x00\xe0\x24\x73\x4d\x31\xf2"
  3703. "\x2e\xc0\xd5\x6b\xee\xda\x98\x93\xec\xd8\x36\xaa\xb9\xcf\x63\x82"
  3704. "\xef\xa7\x1a\x03\xed\x16\xba\x74\xb8\x8b\xf9\xe5\x70\x39\xa4\x70",
  3705. .key_len = 65,
  3706. .param_len = 0,
  3707. .c =
  3708. "\x30\x45"
  3709. "\x02\x20"
  3710. "\x70\xab\xb6\x7d\xd6\x54\x80\x64\x42\x7e\x2d\x05\x08\x36\xc9\x96"
  3711. "\x25\xc2\xbb\xff\x08\xe5\x43\x15\x5e\xf3\x06\xd9\x2b\x2f\x0a\x9f"
  3712. "\x02\x21"
  3713. "\x00"
  3714. "\xbf\x21\x5f\x7e\x5d\x3f\x1a\x4d\x8f\x84\xc2\xe9\xa6\x4c\xa4\x18"
  3715. "\xb2\xb8\x46\xf4\x32\x96\xfa\x57\xc6\x29\xd4\x89\xae\xcc\xda\xdb",
  3716. .c_size = 71,
  3717. .algo = OID_SM2_with_SM3,
  3718. .m =
  3719. "\x47\xa7\xbf\xd3\xda\xc4\x79\xee\xda\x8b\x4f\xe8\x40\x94\xd4\x32"
  3720. "\x8f\xf1\xcd\x68\x4d\xbd\x9b\x1d\xe0\xd8\x9a\x5d\xad\x85\x47\x5c",
  3721. .m_size = 32,
  3722. .public_key_vec = true,
  3723. .siggen_sigver_test = true,
  3724. },
  3725. { /* From libgcrypt */
  3726. .key =
  3727. "\x04"
  3728. "\x87\x59\x38\x9a\x34\xaa\xad\x07\xec\xf4\xe0\xc8\xc2\x65\x0a\x44"
  3729. "\x59\xc8\xd9\x26\xee\x23\x78\x32\x4e\x02\x61\xc5\x25\x38\xcb\x47"
  3730. "\x75\x28\x10\x6b\x1e\x0b\x7c\x8d\xd5\xff\x29\xa9\xc8\x6a\x89\x06"
  3731. "\x56\x56\xeb\x33\x15\x4b\xc0\x55\x60\x91\xef\x8a\xc9\xd1\x7d\x78",
  3732. .key_len = 65,
  3733. .param_len = 0,
  3734. .c =
  3735. "\x30\x44"
  3736. "\x02\x20"
  3737. "\xd9\xec\xef\xe8\x5f\xee\x3c\x59\x57\x8e\x5b\xab\xb3\x02\xe1\x42"
  3738. "\x4b\x67\x2c\x0b\x26\xb6\x51\x2c\x3e\xfc\xc6\x49\xec\xfe\x89\xe5"
  3739. "\x02\x20"
  3740. "\x43\x45\xd0\xa5\xff\xe5\x13\x27\x26\xd0\xec\x37\xad\x24\x1e\x9a"
  3741. "\x71\x9a\xa4\x89\xb0\x7e\x0f\xc4\xbb\x2d\x50\xd0\xe5\x7f\x7a\x68",
  3742. .c_size = 70,
  3743. .algo = OID_SM2_with_SM3,
  3744. .m =
  3745. "\x11\x22\x33\x44\x55\x66\x77\x88\x99\xaa\xbb\xcc\xdd\xee\xff\x00"
  3746. "\x12\x34\x56\x78\x9a\xbc\xde\xf0\x12\x34\x56\x78\x9a\xbc\xde\xf0",
  3747. .m_size = 32,
  3748. .public_key_vec = true,
  3749. .siggen_sigver_test = true,
  3750. },
  3751. };
  3752. /* Example vectors below taken from
  3753. * http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
  3754. *
  3755. * The rest taken from
  3756. * https://github.com/adamws/oscca-sm3
  3757. */
  3758. static const struct hash_testvec sm3_tv_template[] = {
  3759. {
  3760. .plaintext = "",
  3761. .psize = 0,
  3762. .digest = (u8 *)(u8 []) {
  3763. 0x1A, 0xB2, 0x1D, 0x83, 0x55, 0xCF, 0xA1, 0x7F,
  3764. 0x8e, 0x61, 0x19, 0x48, 0x31, 0xE8, 0x1A, 0x8F,
  3765. 0x22, 0xBE, 0xC8, 0xC7, 0x28, 0xFE, 0xFB, 0x74,
  3766. 0x7E, 0xD0, 0x35, 0xEB, 0x50, 0x82, 0xAA, 0x2B }
  3767. }, {
  3768. .plaintext = "a",
  3769. .psize = 1,
  3770. .digest = (u8 *)(u8 []) {
  3771. 0x62, 0x34, 0x76, 0xAC, 0x18, 0xF6, 0x5A, 0x29,
  3772. 0x09, 0xE4, 0x3C, 0x7F, 0xEC, 0x61, 0xB4, 0x9C,
  3773. 0x7E, 0x76, 0x4A, 0x91, 0xA1, 0x8C, 0xCB, 0x82,
  3774. 0xF1, 0x91, 0x7A, 0x29, 0xC8, 0x6C, 0x5E, 0x88 }
  3775. }, {
  3776. /* A.1. Example 1 */
  3777. .plaintext = "abc",
  3778. .psize = 3,
  3779. .digest = (u8 *)(u8 []) {
  3780. 0x66, 0xC7, 0xF0, 0xF4, 0x62, 0xEE, 0xED, 0xD9,
  3781. 0xD1, 0xF2, 0xD4, 0x6B, 0xDC, 0x10, 0xE4, 0xE2,
  3782. 0x41, 0x67, 0xC4, 0x87, 0x5C, 0xF2, 0xF7, 0xA2,
  3783. 0x29, 0x7D, 0xA0, 0x2B, 0x8F, 0x4B, 0xA8, 0xE0 }
  3784. }, {
  3785. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  3786. .psize = 26,
  3787. .digest = (u8 *)(u8 []) {
  3788. 0xB8, 0x0F, 0xE9, 0x7A, 0x4D, 0xA2, 0x4A, 0xFC,
  3789. 0x27, 0x75, 0x64, 0xF6, 0x6A, 0x35, 0x9E, 0xF4,
  3790. 0x40, 0x46, 0x2A, 0xD2, 0x8D, 0xCC, 0x6D, 0x63,
  3791. 0xAD, 0xB2, 0x4D, 0x5C, 0x20, 0xA6, 0x15, 0x95 }
  3792. }, {
  3793. /* A.1. Example 2 */
  3794. .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdab"
  3795. "cdabcdabcdabcdabcd",
  3796. .psize = 64,
  3797. .digest = (u8 *)(u8 []) {
  3798. 0xDE, 0xBE, 0x9F, 0xF9, 0x22, 0x75, 0xB8, 0xA1,
  3799. 0x38, 0x60, 0x48, 0x89, 0xC1, 0x8E, 0x5A, 0x4D,
  3800. 0x6F, 0xDB, 0x70, 0xE5, 0x38, 0x7E, 0x57, 0x65,
  3801. 0x29, 0x3D, 0xCB, 0xA3, 0x9C, 0x0C, 0x57, 0x32 }
  3802. }, {
  3803. .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  3804. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  3805. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  3806. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  3807. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  3808. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  3809. "abcdabcdabcdabcdabcdabcdabcdabcd",
  3810. .psize = 256,
  3811. .digest = (u8 *)(u8 []) {
  3812. 0xB9, 0x65, 0x76, 0x4C, 0x8B, 0xEB, 0xB0, 0x91,
  3813. 0xC7, 0x60, 0x2B, 0x74, 0xAF, 0xD3, 0x4E, 0xEF,
  3814. 0xB5, 0x31, 0xDC, 0xCB, 0x4E, 0x00, 0x76, 0xD9,
  3815. 0xB7, 0xCD, 0x81, 0x31, 0x99, 0xB4, 0x59, 0x71 }
  3816. }
  3817. };
  3818. /* Example vectors below taken from
  3819. * GM/T 0042-2015 Appendix D.3
  3820. */
  3821. static const struct hash_testvec hmac_sm3_tv_template[] = {
  3822. {
  3823. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  3824. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  3825. "\x11\x12\x13\x14\x15\x16\x17\x18"
  3826. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
  3827. .ksize = 32,
  3828. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
  3829. "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  3830. .psize = 112,
  3831. .digest = "\xca\x05\xe1\x44\xed\x05\xd1\x85"
  3832. "\x78\x40\xd1\xf3\x18\xa4\xa8\x66"
  3833. "\x9e\x55\x9f\xc8\x39\x1f\x41\x44"
  3834. "\x85\xbf\xdf\x7b\xb4\x08\x96\x3a",
  3835. }, {
  3836. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  3837. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  3838. "\x11\x12\x13\x14\x15\x16\x17\x18"
  3839. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  3840. "\x21\x22\x23\x24\x25",
  3841. .ksize = 37,
  3842. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  3843. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  3844. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  3845. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  3846. .psize = 50,
  3847. .digest = "\x22\x0b\xf5\x79\xde\xd5\x55\x39"
  3848. "\x3f\x01\x59\xf6\x6c\x99\x87\x78"
  3849. "\x22\xa3\xec\xf6\x10\xd1\x55\x21"
  3850. "\x54\xb4\x1d\x44\xb9\x4d\xb3\xae",
  3851. }, {
  3852. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  3853. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  3854. "\x0b\x0b\x0b\x0b\x0b\x0b",
  3855. .ksize = 32,
  3856. .plaintext = "Hi There",
  3857. .psize = 8,
  3858. .digest = "\xc0\xba\x18\xc6\x8b\x90\xc8\x8b"
  3859. "\xc0\x7d\xe7\x94\xbf\xc7\xd2\xc8"
  3860. "\xd1\x9e\xc3\x1e\xd8\x77\x3b\xc2"
  3861. "\xb3\x90\xc9\x60\x4e\x0b\xe1\x1e",
  3862. }, {
  3863. .key = "Jefe",
  3864. .ksize = 4,
  3865. .plaintext = "what do ya want for nothing?",
  3866. .psize = 28,
  3867. .digest = "\x2e\x87\xf1\xd1\x68\x62\xe6\xd9"
  3868. "\x64\xb5\x0a\x52\x00\xbf\x2b\x10"
  3869. "\xb7\x64\xfa\xa9\x68\x0a\x29\x6a"
  3870. "\x24\x05\xf2\x4b\xec\x39\xf8\x82",
  3871. },
  3872. };
  3873. /*
  3874. * SHA1 test vectors from FIPS PUB 180-1
  3875. * Long vector from CAVS 5.0
  3876. */
  3877. static const struct hash_testvec sha1_tv_template[] = {
  3878. {
  3879. .plaintext = "",
  3880. .psize = 0,
  3881. .digest = "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
  3882. "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
  3883. }, {
  3884. .plaintext = "abc",
  3885. .psize = 3,
  3886. .digest = "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
  3887. "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
  3888. }, {
  3889. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  3890. .psize = 56,
  3891. .digest = "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
  3892. "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
  3893. }, {
  3894. .plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
  3895. "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
  3896. "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
  3897. "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
  3898. "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
  3899. "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
  3900. "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
  3901. "\x72\x28\x26\xc0\x66\x86\x9e\xda"
  3902. "\xcd\x73\xb2\x54\x80\x35\x18\x58"
  3903. "\x13\xe2\x26\x34\xa9\xda\x44\x00"
  3904. "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
  3905. "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
  3906. "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
  3907. "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
  3908. "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
  3909. "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
  3910. "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
  3911. "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
  3912. "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
  3913. "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
  3914. "\x5a\x90\x11",
  3915. .psize = 163,
  3916. .digest = "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
  3917. "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
  3918. }, {
  3919. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
  3920. .psize = 64,
  3921. .digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
  3922. "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
  3923. }, {
  3924. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  3925. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  3926. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  3927. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  3928. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  3929. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  3930. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  3931. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  3932. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  3933. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  3934. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  3935. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  3936. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  3937. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  3938. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  3939. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  3940. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  3941. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  3942. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  3943. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  3944. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  3945. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  3946. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  3947. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  3948. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  3949. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  3950. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  3951. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  3952. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  3953. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  3954. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  3955. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  3956. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  3957. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  3958. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  3959. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  3960. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  3961. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  3962. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  3963. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  3964. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  3965. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  3966. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  3967. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  3968. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  3969. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  3970. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  3971. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  3972. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  3973. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  3974. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  3975. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  3976. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  3977. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  3978. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  3979. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  3980. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  3981. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  3982. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  3983. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  3984. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  3985. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  3986. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  3987. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  3988. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  3989. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  3990. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  3991. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  3992. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  3993. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  3994. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  3995. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  3996. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  3997. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  3998. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  3999. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  4000. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  4001. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  4002. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  4003. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  4004. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  4005. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  4006. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  4007. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  4008. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  4009. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  4010. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  4011. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  4012. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  4013. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  4014. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  4015. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  4016. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  4017. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  4018. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  4019. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  4020. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  4021. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  4022. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  4023. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  4024. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  4025. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  4026. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  4027. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  4028. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  4029. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  4030. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  4031. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  4032. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  4033. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  4034. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  4035. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  4036. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  4037. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  4038. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  4039. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  4040. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  4041. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  4042. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  4043. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  4044. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  4045. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  4046. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  4047. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  4048. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  4049. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  4050. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  4051. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  4052. .psize = 1023,
  4053. .digest = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
  4054. "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
  4055. "\x30\xd6\xc9\x85",
  4056. }
  4057. };
  4058. /*
  4059. * SHA224 test vectors from FIPS PUB 180-2
  4060. */
  4061. static const struct hash_testvec sha224_tv_template[] = {
  4062. {
  4063. .plaintext = "",
  4064. .psize = 0,
  4065. .digest = "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
  4066. "\x47\x61\x02\xbb\x28\x82\x34\xc4"
  4067. "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
  4068. "\xc5\xb3\xe4\x2f",
  4069. }, {
  4070. .plaintext = "abc",
  4071. .psize = 3,
  4072. .digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
  4073. "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
  4074. "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
  4075. "\xE3\x6C\x9D\xA7",
  4076. }, {
  4077. .plaintext =
  4078. "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  4079. .psize = 56,
  4080. .digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
  4081. "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
  4082. "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
  4083. "\x52\x52\x25\x25",
  4084. }, {
  4085. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
  4086. .psize = 64,
  4087. .digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
  4088. "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
  4089. "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
  4090. "\xef\x3b\xcb\x0e",
  4091. }, {
  4092. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  4093. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  4094. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  4095. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  4096. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  4097. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  4098. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  4099. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  4100. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  4101. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  4102. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  4103. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  4104. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  4105. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  4106. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  4107. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  4108. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  4109. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  4110. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  4111. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  4112. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  4113. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  4114. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  4115. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  4116. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  4117. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  4118. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  4119. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  4120. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  4121. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  4122. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  4123. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  4124. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  4125. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  4126. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  4127. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  4128. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  4129. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  4130. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  4131. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  4132. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  4133. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  4134. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  4135. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  4136. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  4137. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  4138. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  4139. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  4140. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  4141. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  4142. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  4143. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  4144. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  4145. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  4146. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  4147. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  4148. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  4149. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  4150. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  4151. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  4152. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  4153. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  4154. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  4155. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  4156. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  4157. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  4158. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  4159. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  4160. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  4161. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  4162. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  4163. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  4164. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  4165. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  4166. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  4167. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  4168. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  4169. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  4170. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  4171. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  4172. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  4173. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  4174. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  4175. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  4176. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  4177. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  4178. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  4179. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  4180. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  4181. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  4182. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  4183. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  4184. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  4185. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  4186. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  4187. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  4188. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  4189. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  4190. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  4191. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  4192. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  4193. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  4194. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  4195. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  4196. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  4197. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  4198. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  4199. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  4200. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  4201. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  4202. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  4203. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  4204. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  4205. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  4206. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  4207. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  4208. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  4209. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  4210. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  4211. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  4212. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  4213. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  4214. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  4215. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  4216. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  4217. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  4218. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  4219. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  4220. .psize = 1023,
  4221. .digest = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
  4222. "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
  4223. "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
  4224. "\xe6\xf9\x4f\xcc",
  4225. }
  4226. };
  4227. /*
  4228. * SHA256 test vectors from NIST
  4229. */
  4230. static const struct hash_testvec sha256_tv_template[] = {
  4231. {
  4232. .plaintext = "",
  4233. .psize = 0,
  4234. .digest = "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
  4235. "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
  4236. "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
  4237. "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
  4238. }, {
  4239. .plaintext = "abc",
  4240. .psize = 3,
  4241. .digest = "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
  4242. "\x41\x41\x40\xde\x5d\xae\x22\x23"
  4243. "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
  4244. "\xb4\x10\xff\x61\xf2\x00\x15\xad",
  4245. }, {
  4246. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  4247. .psize = 56,
  4248. .digest = "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
  4249. "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
  4250. "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
  4251. "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
  4252. }, {
  4253. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
  4254. .psize = 64,
  4255. .digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
  4256. "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
  4257. "\xd6\xff\x94\xa3\x72\x91\x85\x66"
  4258. "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
  4259. }, {
  4260. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  4261. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  4262. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  4263. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  4264. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  4265. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  4266. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  4267. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  4268. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  4269. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  4270. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  4271. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  4272. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  4273. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  4274. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  4275. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  4276. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  4277. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  4278. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  4279. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  4280. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  4281. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  4282. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  4283. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  4284. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  4285. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  4286. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  4287. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  4288. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  4289. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  4290. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  4291. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  4292. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  4293. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  4294. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  4295. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  4296. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  4297. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  4298. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  4299. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  4300. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  4301. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  4302. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  4303. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  4304. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  4305. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  4306. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  4307. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  4308. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  4309. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  4310. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  4311. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  4312. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  4313. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  4314. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  4315. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  4316. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  4317. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  4318. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  4319. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  4320. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  4321. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  4322. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  4323. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  4324. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  4325. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  4326. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  4327. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  4328. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  4329. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  4330. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  4331. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  4332. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  4333. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  4334. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  4335. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  4336. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  4337. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  4338. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  4339. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  4340. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  4341. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  4342. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  4343. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  4344. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  4345. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  4346. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  4347. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  4348. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  4349. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  4350. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  4351. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  4352. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  4353. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  4354. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  4355. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  4356. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  4357. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  4358. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  4359. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  4360. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  4361. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  4362. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  4363. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  4364. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  4365. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  4366. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  4367. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  4368. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  4369. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  4370. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  4371. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  4372. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  4373. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  4374. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  4375. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  4376. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  4377. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  4378. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  4379. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  4380. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  4381. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  4382. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  4383. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  4384. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  4385. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  4386. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  4387. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  4388. .psize = 1023,
  4389. .digest = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
  4390. "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
  4391. "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
  4392. "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
  4393. }
  4394. };
  4395. /*
  4396. * SHA384 test vectors from NIST and kerneli
  4397. */
  4398. static const struct hash_testvec sha384_tv_template[] = {
  4399. {
  4400. .plaintext = "",
  4401. .psize = 0,
  4402. .digest = "\x38\xb0\x60\xa7\x51\xac\x96\x38"
  4403. "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
  4404. "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
  4405. "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
  4406. "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
  4407. "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
  4408. }, {
  4409. .plaintext= "abc",
  4410. .psize = 3,
  4411. .digest = "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
  4412. "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
  4413. "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
  4414. "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
  4415. "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
  4416. "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
  4417. }, {
  4418. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  4419. .psize = 56,
  4420. .digest = "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
  4421. "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
  4422. "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
  4423. "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
  4424. "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
  4425. "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
  4426. }, {
  4427. .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
  4428. "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
  4429. .psize = 112,
  4430. .digest = "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
  4431. "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
  4432. "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
  4433. "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
  4434. "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
  4435. "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
  4436. }, {
  4437. .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
  4438. "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
  4439. .psize = 104,
  4440. .digest = "\x3d\x20\x89\x73\xab\x35\x08\xdb"
  4441. "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
  4442. "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
  4443. "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
  4444. "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
  4445. "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
  4446. }, {
  4447. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  4448. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  4449. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  4450. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  4451. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  4452. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  4453. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  4454. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  4455. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  4456. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  4457. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  4458. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  4459. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  4460. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  4461. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  4462. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  4463. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  4464. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  4465. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  4466. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  4467. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  4468. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  4469. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  4470. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  4471. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  4472. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  4473. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  4474. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  4475. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  4476. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  4477. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  4478. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  4479. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  4480. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  4481. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  4482. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  4483. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  4484. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  4485. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  4486. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  4487. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  4488. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  4489. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  4490. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  4491. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  4492. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  4493. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  4494. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  4495. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  4496. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  4497. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  4498. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  4499. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  4500. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  4501. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  4502. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  4503. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  4504. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  4505. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  4506. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  4507. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  4508. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  4509. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  4510. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  4511. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  4512. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  4513. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  4514. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  4515. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  4516. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  4517. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  4518. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  4519. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  4520. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  4521. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  4522. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  4523. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  4524. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  4525. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  4526. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  4527. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  4528. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  4529. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  4530. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  4531. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  4532. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  4533. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  4534. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  4535. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  4536. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  4537. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  4538. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  4539. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  4540. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  4541. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  4542. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  4543. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  4544. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  4545. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  4546. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  4547. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  4548. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  4549. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  4550. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  4551. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  4552. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  4553. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  4554. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  4555. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  4556. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  4557. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  4558. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  4559. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  4560. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  4561. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  4562. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  4563. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  4564. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  4565. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  4566. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  4567. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  4568. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  4569. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  4570. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  4571. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  4572. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  4573. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  4574. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  4575. .psize = 1023,
  4576. .digest = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
  4577. "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
  4578. "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
  4579. "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
  4580. "\x75\x29\x62\x83\xae\x3f\x17\xab"
  4581. "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
  4582. }
  4583. };
  4584. /*
  4585. * SHA512 test vectors from NIST and kerneli
  4586. */
  4587. static const struct hash_testvec sha512_tv_template[] = {
  4588. {
  4589. .plaintext = "",
  4590. .psize = 0,
  4591. .digest = "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
  4592. "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
  4593. "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
  4594. "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
  4595. "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
  4596. "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
  4597. "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
  4598. "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
  4599. }, {
  4600. .plaintext = "abc",
  4601. .psize = 3,
  4602. .digest = "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
  4603. "\xcc\x41\x73\x49\xae\x20\x41\x31"
  4604. "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
  4605. "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
  4606. "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
  4607. "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
  4608. "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
  4609. "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
  4610. }, {
  4611. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  4612. .psize = 56,
  4613. .digest = "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
  4614. "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
  4615. "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
  4616. "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
  4617. "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
  4618. "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
  4619. "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
  4620. "\x54\xec\x63\x12\x38\xca\x34\x45",
  4621. }, {
  4622. .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
  4623. "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
  4624. .psize = 112,
  4625. .digest = "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
  4626. "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
  4627. "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
  4628. "\x72\x99\xae\xad\xb6\x88\x90\x18"
  4629. "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
  4630. "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
  4631. "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
  4632. "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
  4633. }, {
  4634. .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
  4635. "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
  4636. .psize = 104,
  4637. .digest = "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
  4638. "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
  4639. "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
  4640. "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
  4641. "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
  4642. "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
  4643. "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
  4644. "\xed\xb4\x19\x87\x23\x28\x50\xc9",
  4645. }, {
  4646. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  4647. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  4648. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  4649. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  4650. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  4651. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  4652. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  4653. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  4654. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  4655. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  4656. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  4657. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  4658. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  4659. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  4660. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  4661. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  4662. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  4663. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  4664. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  4665. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  4666. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  4667. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  4668. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  4669. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  4670. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  4671. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  4672. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  4673. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  4674. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  4675. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  4676. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  4677. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  4678. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  4679. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  4680. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  4681. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  4682. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  4683. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  4684. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  4685. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  4686. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  4687. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  4688. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  4689. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  4690. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  4691. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  4692. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  4693. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  4694. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  4695. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  4696. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  4697. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  4698. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  4699. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  4700. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  4701. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  4702. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  4703. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  4704. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  4705. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  4706. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  4707. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  4708. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  4709. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  4710. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  4711. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  4712. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  4713. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  4714. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  4715. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  4716. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  4717. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  4718. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  4719. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  4720. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  4721. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  4722. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  4723. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  4724. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  4725. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  4726. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  4727. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  4728. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  4729. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  4730. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  4731. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  4732. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  4733. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  4734. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  4735. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  4736. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  4737. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  4738. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  4739. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  4740. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  4741. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  4742. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  4743. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  4744. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  4745. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  4746. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  4747. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  4748. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  4749. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  4750. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  4751. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  4752. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  4753. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  4754. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  4755. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  4756. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  4757. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  4758. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  4759. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  4760. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  4761. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  4762. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  4763. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  4764. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  4765. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  4766. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  4767. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  4768. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  4769. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  4770. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  4771. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  4772. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  4773. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  4774. .psize = 1023,
  4775. .digest = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
  4776. "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
  4777. "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
  4778. "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
  4779. "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
  4780. "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
  4781. "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
  4782. "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
  4783. }
  4784. };
  4785. /*
  4786. * WHIRLPOOL test vectors from Whirlpool package
  4787. * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
  4788. * submission
  4789. */
  4790. static const struct hash_testvec wp512_tv_template[] = {
  4791. {
  4792. .plaintext = "",
  4793. .psize = 0,
  4794. .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
  4795. "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
  4796. "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
  4797. "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
  4798. "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
  4799. "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
  4800. "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
  4801. "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
  4802. }, {
  4803. .plaintext = "a",
  4804. .psize = 1,
  4805. .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
  4806. "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
  4807. "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
  4808. "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
  4809. "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
  4810. "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
  4811. "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
  4812. "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
  4813. }, {
  4814. .plaintext = "abc",
  4815. .psize = 3,
  4816. .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
  4817. "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
  4818. "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
  4819. "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
  4820. "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
  4821. "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
  4822. "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
  4823. "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
  4824. }, {
  4825. .plaintext = "message digest",
  4826. .psize = 14,
  4827. .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
  4828. "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
  4829. "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
  4830. "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
  4831. "\x84\x21\x55\x76\x59\xEF\x55\xC1"
  4832. "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
  4833. "\x92\xED\x92\x00\x52\x83\x8F\x33"
  4834. "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
  4835. }, {
  4836. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  4837. .psize = 26,
  4838. .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
  4839. "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
  4840. "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
  4841. "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
  4842. "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
  4843. "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
  4844. "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
  4845. "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
  4846. }, {
  4847. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  4848. "abcdefghijklmnopqrstuvwxyz0123456789",
  4849. .psize = 62,
  4850. .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
  4851. "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
  4852. "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
  4853. "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
  4854. "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
  4855. "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
  4856. "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
  4857. "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
  4858. }, {
  4859. .plaintext = "1234567890123456789012345678901234567890"
  4860. "1234567890123456789012345678901234567890",
  4861. .psize = 80,
  4862. .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
  4863. "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
  4864. "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
  4865. "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
  4866. "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
  4867. "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
  4868. "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
  4869. "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
  4870. }, {
  4871. .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
  4872. .psize = 32,
  4873. .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
  4874. "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
  4875. "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
  4876. "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
  4877. "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
  4878. "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
  4879. "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
  4880. "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
  4881. },
  4882. };
  4883. static const struct hash_testvec wp384_tv_template[] = {
  4884. {
  4885. .plaintext = "",
  4886. .psize = 0,
  4887. .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
  4888. "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
  4889. "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
  4890. "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
  4891. "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
  4892. "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
  4893. }, {
  4894. .plaintext = "a",
  4895. .psize = 1,
  4896. .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
  4897. "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
  4898. "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
  4899. "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
  4900. "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
  4901. "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
  4902. }, {
  4903. .plaintext = "abc",
  4904. .psize = 3,
  4905. .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
  4906. "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
  4907. "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
  4908. "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
  4909. "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
  4910. "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
  4911. }, {
  4912. .plaintext = "message digest",
  4913. .psize = 14,
  4914. .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
  4915. "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
  4916. "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
  4917. "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
  4918. "\x84\x21\x55\x76\x59\xEF\x55\xC1"
  4919. "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
  4920. }, {
  4921. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  4922. .psize = 26,
  4923. .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
  4924. "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
  4925. "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
  4926. "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
  4927. "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
  4928. "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
  4929. }, {
  4930. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  4931. "abcdefghijklmnopqrstuvwxyz0123456789",
  4932. .psize = 62,
  4933. .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
  4934. "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
  4935. "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
  4936. "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
  4937. "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
  4938. "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
  4939. }, {
  4940. .plaintext = "1234567890123456789012345678901234567890"
  4941. "1234567890123456789012345678901234567890",
  4942. .psize = 80,
  4943. .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
  4944. "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
  4945. "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
  4946. "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
  4947. "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
  4948. "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
  4949. }, {
  4950. .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
  4951. .psize = 32,
  4952. .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
  4953. "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
  4954. "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
  4955. "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
  4956. "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
  4957. "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
  4958. },
  4959. };
  4960. static const struct hash_testvec wp256_tv_template[] = {
  4961. {
  4962. .plaintext = "",
  4963. .psize = 0,
  4964. .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
  4965. "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
  4966. "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
  4967. "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
  4968. }, {
  4969. .plaintext = "a",
  4970. .psize = 1,
  4971. .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
  4972. "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
  4973. "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
  4974. "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
  4975. }, {
  4976. .plaintext = "abc",
  4977. .psize = 3,
  4978. .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
  4979. "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
  4980. "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
  4981. "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
  4982. }, {
  4983. .plaintext = "message digest",
  4984. .psize = 14,
  4985. .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
  4986. "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
  4987. "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
  4988. "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
  4989. }, {
  4990. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  4991. .psize = 26,
  4992. .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
  4993. "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
  4994. "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
  4995. "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
  4996. }, {
  4997. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  4998. "abcdefghijklmnopqrstuvwxyz0123456789",
  4999. .psize = 62,
  5000. .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
  5001. "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
  5002. "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
  5003. "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
  5004. }, {
  5005. .plaintext = "1234567890123456789012345678901234567890"
  5006. "1234567890123456789012345678901234567890",
  5007. .psize = 80,
  5008. .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
  5009. "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
  5010. "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
  5011. "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
  5012. }, {
  5013. .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
  5014. .psize = 32,
  5015. .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
  5016. "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
  5017. "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
  5018. "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
  5019. },
  5020. };
  5021. /*
  5022. * TIGER test vectors from Tiger website
  5023. */
  5024. static const struct hash_testvec tgr192_tv_template[] = {
  5025. {
  5026. .plaintext = "",
  5027. .psize = 0,
  5028. .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
  5029. "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
  5030. "\xf3\x73\xde\x2d\x49\x58\x4e\x7a",
  5031. }, {
  5032. .plaintext = "abc",
  5033. .psize = 3,
  5034. .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
  5035. "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
  5036. "\x93\x5f\x7b\x95\x1c\x13\x29\x51",
  5037. }, {
  5038. .plaintext = "Tiger",
  5039. .psize = 5,
  5040. .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
  5041. "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
  5042. "\x37\x79\x0c\x11\x6f\x9d\x2b\xdf",
  5043. }, {
  5044. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
  5045. .psize = 64,
  5046. .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
  5047. "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
  5048. "\xb5\x86\x44\x50\x34\xa5\xa3\x86",
  5049. }, {
  5050. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
  5051. .psize = 64,
  5052. .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
  5053. "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
  5054. "\x57\x89\x65\x65\x97\x5f\x91\x97",
  5055. }, {
  5056. .plaintext = "Tiger - A Fast New Hash Function, "
  5057. "by Ross Anderson and Eli Biham, "
  5058. "proceedings of Fast Software Encryption 3, "
  5059. "Cambridge, 1996.",
  5060. .psize = 125,
  5061. .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
  5062. "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
  5063. "\xdd\x68\x15\x1d\x50\x39\x74\xfc",
  5064. },
  5065. };
  5066. static const struct hash_testvec tgr160_tv_template[] = {
  5067. {
  5068. .plaintext = "",
  5069. .psize = 0,
  5070. .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
  5071. "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
  5072. "\xf3\x73\xde\x2d",
  5073. }, {
  5074. .plaintext = "abc",
  5075. .psize = 3,
  5076. .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
  5077. "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
  5078. "\x93\x5f\x7b\x95",
  5079. }, {
  5080. .plaintext = "Tiger",
  5081. .psize = 5,
  5082. .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
  5083. "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
  5084. "\x37\x79\x0c\x11",
  5085. }, {
  5086. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
  5087. .psize = 64,
  5088. .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
  5089. "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
  5090. "\xb5\x86\x44\x50",
  5091. }, {
  5092. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
  5093. .psize = 64,
  5094. .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
  5095. "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
  5096. "\x57\x89\x65\x65",
  5097. }, {
  5098. .plaintext = "Tiger - A Fast New Hash Function, "
  5099. "by Ross Anderson and Eli Biham, "
  5100. "proceedings of Fast Software Encryption 3, "
  5101. "Cambridge, 1996.",
  5102. .psize = 125,
  5103. .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
  5104. "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
  5105. "\xdd\x68\x15\x1d",
  5106. },
  5107. };
  5108. static const struct hash_testvec tgr128_tv_template[] = {
  5109. {
  5110. .plaintext = "",
  5111. .psize = 0,
  5112. .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
  5113. "\x16\x16\x6e\x76\xb1\xbb\x92\x5f",
  5114. }, {
  5115. .plaintext = "abc",
  5116. .psize = 3,
  5117. .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
  5118. "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf",
  5119. }, {
  5120. .plaintext = "Tiger",
  5121. .psize = 5,
  5122. .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
  5123. "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec",
  5124. }, {
  5125. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
  5126. .psize = 64,
  5127. .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
  5128. "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e",
  5129. }, {
  5130. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
  5131. .psize = 64,
  5132. .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
  5133. "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9",
  5134. }, {
  5135. .plaintext = "Tiger - A Fast New Hash Function, "
  5136. "by Ross Anderson and Eli Biham, "
  5137. "proceedings of Fast Software Encryption 3, "
  5138. "Cambridge, 1996.",
  5139. .psize = 125,
  5140. .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
  5141. "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24",
  5142. },
  5143. };
  5144. static const struct hash_testvec ghash_tv_template[] =
  5145. {
  5146. {
  5147. .key = "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
  5148. "\xff\xca\xff\x95\xf8\x30\xf0\x61",
  5149. .ksize = 16,
  5150. .plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
  5151. "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
  5152. .psize = 16,
  5153. .digest = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
  5154. "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
  5155. }, {
  5156. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  5157. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
  5158. .ksize = 16,
  5159. .plaintext = "what do ya want for nothing?",
  5160. .psize = 28,
  5161. .digest = "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
  5162. "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
  5163. }, {
  5164. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5165. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  5166. .ksize = 16,
  5167. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5168. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5169. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5170. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  5171. .psize = 50,
  5172. .digest = "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
  5173. "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
  5174. }, {
  5175. .key = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
  5176. "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
  5177. .ksize = 16,
  5178. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5179. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5180. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5181. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  5182. .psize = 50,
  5183. .digest = "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
  5184. "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
  5185. }, {
  5186. .key = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
  5187. "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
  5188. .ksize = 16,
  5189. .plaintext = "Test With Truncation",
  5190. .psize = 20,
  5191. .digest = "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
  5192. "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
  5193. }, {
  5194. .key = "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
  5195. "\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
  5196. .ksize = 16,
  5197. .plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
  5198. "\x65\x72\x20\x4c\x61\x75\x73\x63"
  5199. "\x68\x65\x6e\x20\x75\x6e\x64\x20"
  5200. "\x53\x74\x61\x75\x6e\x65\x6e\x20"
  5201. "\x73\x65\x69\x20\x73\x74\x69\x6c"
  5202. "\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
  5203. "\x69\x6e\x20\x74\x69\x65\x66\x74"
  5204. "\x69\x65\x66\x65\x73\x20\x4c\x65"
  5205. "\x62\x65\x6e\x3b\x0a\x64\x61\x73"
  5206. "\x73\x20\x64\x75\x20\x77\x65\x69"
  5207. "\xc3\x9f\x74\x20\x77\x61\x73\x20"
  5208. "\x64\x65\x72\x20\x57\x69\x6e\x64"
  5209. "\x20\x64\x69\x72\x20\x77\x69\x6c"
  5210. "\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
  5211. "\x63\x68\x20\x64\x69\x65\x20\x42"
  5212. "\x69\x72\x6b\x65\x6e\x20\x62\x65"
  5213. "\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
  5214. "\x64\x20\x77\x65\x6e\x6e\x20\x64"
  5215. "\x69\x72\x20\x65\x69\x6e\x6d\x61"
  5216. "\x6c\x20\x64\x61\x73\x20\x53\x63"
  5217. "\x68\x77\x65\x69\x67\x65\x6e\x20"
  5218. "\x73\x70\x72\x61\x63\x68\x2c\x0a"
  5219. "\x6c\x61\x73\x73\x20\x64\x65\x69"
  5220. "\x6e\x65\x20\x53\x69\x6e\x6e\x65"
  5221. "\x20\x62\x65\x73\x69\x65\x67\x65"
  5222. "\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
  5223. "\x20\x48\x61\x75\x63\x68\x65\x20"
  5224. "\x67\x69\x62\x74\x20\x64\x69\x63"
  5225. "\x68\x2c\x20\x67\x69\x62\x20\x6e"
  5226. "\x61\x63\x68\x2c\x0a\x65\x72\x20"
  5227. "\x77\x69\x72\x64\x20\x64\x69\x63"
  5228. "\x68\x20\x6c\x69\x65\x62\x65\x6e"
  5229. "\x20\x75\x6e\x64\x20\x77\x69\x65"
  5230. "\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
  5231. "\x64\x20\x64\x61\x6e\x6e\x20\x6d"
  5232. "\x65\x69\x6e\x65\x20\x53\x65\x65"
  5233. "\x6c\x65\x20\x73\x65\x69\x74\x20"
  5234. "\x77\x65\x69\x74\x2c\x20\x73\x65"
  5235. "\x69\x20\x77\x65\x69\x74\x2c\x0a"
  5236. "\x64\x61\x73\x73\x20\x64\x69\x72"
  5237. "\x20\x64\x61\x73\x20\x4c\x65\x62"
  5238. "\x65\x6e\x20\x67\x65\x6c\x69\x6e"
  5239. "\x67\x65\x2c\x0a\x62\x72\x65\x69"
  5240. "\x74\x65\x20\x64\x69\x63\x68\x20"
  5241. "\x77\x69\x65\x20\x65\x69\x6e\x20"
  5242. "\x46\x65\x69\x65\x72\x6b\x6c\x65"
  5243. "\x69\x64\x0a\xc3\xbc\x62\x65\x72"
  5244. "\x20\x64\x69\x65\x20\x73\x69\x6e"
  5245. "\x6e\x65\x6e\x64\x65\x6e\x20\x44"
  5246. "\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
  5247. .psize = 400,
  5248. .digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
  5249. "\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
  5250. },
  5251. };
  5252. /*
  5253. * HMAC-MD5 test vectors from RFC2202
  5254. * (These need to be fixed to not use strlen).
  5255. */
  5256. static const struct hash_testvec hmac_md5_tv_template[] =
  5257. {
  5258. {
  5259. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
  5260. .ksize = 16,
  5261. .plaintext = "Hi There",
  5262. .psize = 8,
  5263. .digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
  5264. "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
  5265. }, {
  5266. .key = "Jefe",
  5267. .ksize = 4,
  5268. .plaintext = "what do ya want for nothing?",
  5269. .psize = 28,
  5270. .digest = "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
  5271. "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
  5272. }, {
  5273. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  5274. .ksize = 16,
  5275. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5276. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5277. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5278. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  5279. .psize = 50,
  5280. .digest = "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
  5281. "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
  5282. }, {
  5283. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  5284. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  5285. "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
  5286. .ksize = 25,
  5287. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5288. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5289. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5290. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  5291. .psize = 50,
  5292. .digest = "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
  5293. "\x3a\x75\x16\x47\x46\xff\xaa\x79",
  5294. }, {
  5295. .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
  5296. .ksize = 16,
  5297. .plaintext = "Test With Truncation",
  5298. .psize = 20,
  5299. .digest = "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
  5300. "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
  5301. }, {
  5302. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5303. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5304. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5305. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5306. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5307. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5308. "\xaa\xaa",
  5309. .ksize = 80,
  5310. .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
  5311. .psize = 54,
  5312. .digest = "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
  5313. "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
  5314. }, {
  5315. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5316. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5317. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5318. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5319. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5320. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5321. "\xaa\xaa",
  5322. .ksize = 80,
  5323. .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
  5324. "Block-Size Data",
  5325. .psize = 73,
  5326. .digest = "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
  5327. "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
  5328. },
  5329. };
  5330. /*
  5331. * HMAC-RIPEMD128 test vectors from RFC2286
  5332. */
  5333. static const struct hash_testvec hmac_rmd128_tv_template[] = {
  5334. {
  5335. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
  5336. .ksize = 16,
  5337. .plaintext = "Hi There",
  5338. .psize = 8,
  5339. .digest = "\xfb\xf6\x1f\x94\x92\xaa\x4b\xbf"
  5340. "\x81\xc1\x72\xe8\x4e\x07\x34\xdb",
  5341. }, {
  5342. .key = "Jefe",
  5343. .ksize = 4,
  5344. .plaintext = "what do ya want for nothing?",
  5345. .psize = 28,
  5346. .digest = "\x87\x5f\x82\x88\x62\xb6\xb3\x34"
  5347. "\xb4\x27\xc5\x5f\x9f\x7f\xf0\x9b",
  5348. }, {
  5349. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  5350. .ksize = 16,
  5351. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5352. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5353. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5354. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  5355. .psize = 50,
  5356. .digest = "\x09\xf0\xb2\x84\x6d\x2f\x54\x3d"
  5357. "\xa3\x63\xcb\xec\x8d\x62\xa3\x8d",
  5358. }, {
  5359. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  5360. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  5361. "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
  5362. .ksize = 25,
  5363. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5364. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5365. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5366. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  5367. .psize = 50,
  5368. .digest = "\xbd\xbb\xd7\xcf\x03\xe4\x4b\x5a"
  5369. "\xa6\x0a\xf8\x15\xbe\x4d\x22\x94",
  5370. }, {
  5371. .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
  5372. .ksize = 16,
  5373. .plaintext = "Test With Truncation",
  5374. .psize = 20,
  5375. .digest = "\xe7\x98\x08\xf2\x4b\x25\xfd\x03"
  5376. "\x1c\x15\x5f\x0d\x55\x1d\x9a\x3a",
  5377. }, {
  5378. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5379. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5380. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5381. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5382. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5383. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5384. "\xaa\xaa",
  5385. .ksize = 80,
  5386. .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
  5387. .psize = 54,
  5388. .digest = "\xdc\x73\x29\x28\xde\x98\x10\x4a"
  5389. "\x1f\x59\xd3\x73\xc1\x50\xac\xbb",
  5390. }, {
  5391. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5392. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5393. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5394. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5395. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5396. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5397. "\xaa\xaa",
  5398. .ksize = 80,
  5399. .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
  5400. "Block-Size Data",
  5401. .psize = 73,
  5402. .digest = "\x5c\x6b\xec\x96\x79\x3e\x16\xd4"
  5403. "\x06\x90\xc2\x37\x63\x5f\x30\xc5",
  5404. },
  5405. };
  5406. /*
  5407. * HMAC-RIPEMD160 test vectors from RFC2286
  5408. */
  5409. static const struct hash_testvec hmac_rmd160_tv_template[] = {
  5410. {
  5411. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
  5412. .ksize = 20,
  5413. .plaintext = "Hi There",
  5414. .psize = 8,
  5415. .digest = "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
  5416. "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
  5417. }, {
  5418. .key = "Jefe",
  5419. .ksize = 4,
  5420. .plaintext = "what do ya want for nothing?",
  5421. .psize = 28,
  5422. .digest = "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
  5423. "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
  5424. }, {
  5425. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  5426. .ksize = 20,
  5427. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5428. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5429. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5430. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  5431. .psize = 50,
  5432. .digest = "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
  5433. "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
  5434. }, {
  5435. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  5436. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  5437. "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
  5438. .ksize = 25,
  5439. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5440. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5441. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5442. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  5443. .psize = 50,
  5444. .digest = "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
  5445. "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
  5446. }, {
  5447. .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
  5448. .ksize = 20,
  5449. .plaintext = "Test With Truncation",
  5450. .psize = 20,
  5451. .digest = "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
  5452. "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
  5453. }, {
  5454. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5455. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5456. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5457. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5458. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5459. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5460. "\xaa\xaa",
  5461. .ksize = 80,
  5462. .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
  5463. .psize = 54,
  5464. .digest = "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
  5465. "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
  5466. }, {
  5467. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5468. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5469. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5470. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5471. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5472. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5473. "\xaa\xaa",
  5474. .ksize = 80,
  5475. .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
  5476. "Block-Size Data",
  5477. .psize = 73,
  5478. .digest = "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
  5479. "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
  5480. },
  5481. };
  5482. /*
  5483. * HMAC-SHA1 test vectors from RFC2202
  5484. */
  5485. static const struct hash_testvec hmac_sha1_tv_template[] = {
  5486. {
  5487. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
  5488. .ksize = 20,
  5489. .plaintext = "Hi There",
  5490. .psize = 8,
  5491. .digest = "\xb6\x17\x31\x86\x55\x05\x72\x64"
  5492. "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
  5493. "\x46\xbe",
  5494. }, {
  5495. .key = "Jefe",
  5496. .ksize = 4,
  5497. .plaintext = "what do ya want for nothing?",
  5498. .psize = 28,
  5499. .digest = "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
  5500. "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
  5501. }, {
  5502. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  5503. .ksize = 20,
  5504. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5505. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5506. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5507. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  5508. .psize = 50,
  5509. .digest = "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
  5510. "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
  5511. }, {
  5512. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  5513. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  5514. "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
  5515. .ksize = 25,
  5516. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5517. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5518. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5519. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  5520. .psize = 50,
  5521. .digest = "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
  5522. "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
  5523. }, {
  5524. .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
  5525. .ksize = 20,
  5526. .plaintext = "Test With Truncation",
  5527. .psize = 20,
  5528. .digest = "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
  5529. "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
  5530. }, {
  5531. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5532. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5533. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5534. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5535. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5536. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5537. "\xaa\xaa",
  5538. .ksize = 80,
  5539. .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
  5540. .psize = 54,
  5541. .digest = "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
  5542. "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
  5543. }, {
  5544. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5545. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5546. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5547. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5548. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5549. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5550. "\xaa\xaa",
  5551. .ksize = 80,
  5552. .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
  5553. "Block-Size Data",
  5554. .psize = 73,
  5555. .digest = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
  5556. "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
  5557. },
  5558. };
  5559. /*
  5560. * SHA224 HMAC test vectors from RFC4231
  5561. */
  5562. static const struct hash_testvec hmac_sha224_tv_template[] = {
  5563. {
  5564. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  5565. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  5566. "\x0b\x0b\x0b\x0b",
  5567. .ksize = 20,
  5568. /* ("Hi There") */
  5569. .plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
  5570. .psize = 8,
  5571. .digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
  5572. "\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
  5573. "\x47\xb4\xb1\x16\x99\x12\xba\x4f"
  5574. "\x53\x68\x4b\x22",
  5575. }, {
  5576. .key = "Jefe",
  5577. .ksize = 4,
  5578. /* ("what do ya want for nothing?") */
  5579. .plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
  5580. "\x79\x61\x20\x77\x61\x6e\x74\x20"
  5581. "\x66\x6f\x72\x20\x6e\x6f\x74\x68"
  5582. "\x69\x6e\x67\x3f",
  5583. .psize = 28,
  5584. .digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
  5585. "\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
  5586. "\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
  5587. "\x8f\xd0\x5e\x44",
  5588. }, {
  5589. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5590. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5591. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5592. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5593. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5594. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5595. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5596. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5597. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5598. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5599. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5600. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5601. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5602. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5603. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5604. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5605. "\xaa\xaa\xaa",
  5606. .ksize = 131,
  5607. /* ("Test Using Larger Than Block-Size Key - Hash Key First") */
  5608. .plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
  5609. "\x6e\x67\x20\x4c\x61\x72\x67\x65"
  5610. "\x72\x20\x54\x68\x61\x6e\x20\x42"
  5611. "\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
  5612. "\x65\x20\x4b\x65\x79\x20\x2d\x20"
  5613. "\x48\x61\x73\x68\x20\x4b\x65\x79"
  5614. "\x20\x46\x69\x72\x73\x74",
  5615. .psize = 54,
  5616. .digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
  5617. "\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
  5618. "\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
  5619. "\x3f\xa6\x87\x0e",
  5620. }, {
  5621. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5622. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5623. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5624. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5625. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5626. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5627. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5628. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5629. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5630. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5631. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5632. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5633. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5634. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5635. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5636. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5637. "\xaa\xaa\xaa",
  5638. .ksize = 131,
  5639. /* ("This is a test using a larger than block-size key and a")
  5640. (" larger than block-size data. The key needs to be")
  5641. (" hashed before being used by the HMAC algorithm.") */
  5642. .plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
  5643. "\x61\x20\x74\x65\x73\x74\x20\x75"
  5644. "\x73\x69\x6e\x67\x20\x61\x20\x6c"
  5645. "\x61\x72\x67\x65\x72\x20\x74\x68"
  5646. "\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
  5647. "\x2d\x73\x69\x7a\x65\x20\x6b\x65"
  5648. "\x79\x20\x61\x6e\x64\x20\x61\x20"
  5649. "\x6c\x61\x72\x67\x65\x72\x20\x74"
  5650. "\x68\x61\x6e\x20\x62\x6c\x6f\x63"
  5651. "\x6b\x2d\x73\x69\x7a\x65\x20\x64"
  5652. "\x61\x74\x61\x2e\x20\x54\x68\x65"
  5653. "\x20\x6b\x65\x79\x20\x6e\x65\x65"
  5654. "\x64\x73\x20\x74\x6f\x20\x62\x65"
  5655. "\x20\x68\x61\x73\x68\x65\x64\x20"
  5656. "\x62\x65\x66\x6f\x72\x65\x20\x62"
  5657. "\x65\x69\x6e\x67\x20\x75\x73\x65"
  5658. "\x64\x20\x62\x79\x20\x74\x68\x65"
  5659. "\x20\x48\x4d\x41\x43\x20\x61\x6c"
  5660. "\x67\x6f\x72\x69\x74\x68\x6d\x2e",
  5661. .psize = 152,
  5662. .digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
  5663. "\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
  5664. "\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
  5665. "\xf6\xf5\x65\xd1",
  5666. },
  5667. };
  5668. /*
  5669. * HMAC-SHA256 test vectors from
  5670. * draft-ietf-ipsec-ciph-sha-256-01.txt
  5671. */
  5672. static const struct hash_testvec hmac_sha256_tv_template[] = {
  5673. {
  5674. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  5675. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  5676. "\x11\x12\x13\x14\x15\x16\x17\x18"
  5677. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
  5678. .ksize = 32,
  5679. .plaintext = "abc",
  5680. .psize = 3,
  5681. .digest = "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
  5682. "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
  5683. "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
  5684. "\x92\x75\x90\x21\xcf\xab\x81\x81",
  5685. }, {
  5686. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  5687. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  5688. "\x11\x12\x13\x14\x15\x16\x17\x18"
  5689. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
  5690. .ksize = 32,
  5691. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  5692. .psize = 56,
  5693. .digest = "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
  5694. "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
  5695. "\xe6\x98\xe3\x61\x19\x42\x11\x49"
  5696. "\xea\x8c\x71\x24\x56\x69\x7d\x30",
  5697. }, {
  5698. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  5699. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  5700. "\x11\x12\x13\x14\x15\x16\x17\x18"
  5701. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
  5702. .ksize = 32,
  5703. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
  5704. "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  5705. .psize = 112,
  5706. .digest = "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
  5707. "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
  5708. "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
  5709. "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
  5710. }, {
  5711. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  5712. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  5713. "\x0b\x0b\x0b\x0b\x0b\x0b",
  5714. .ksize = 32,
  5715. .plaintext = "Hi There",
  5716. .psize = 8,
  5717. .digest = "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
  5718. "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
  5719. "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
  5720. "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
  5721. }, {
  5722. .key = "Jefe",
  5723. .ksize = 4,
  5724. .plaintext = "what do ya want for nothing?",
  5725. .psize = 28,
  5726. .digest = "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
  5727. "\x6a\x04\x24\x26\x08\x95\x75\xc7"
  5728. "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
  5729. "\x9d\xec\x58\xb9\x64\xec\x38\x43",
  5730. }, {
  5731. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5732. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5733. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  5734. .ksize = 32,
  5735. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5736. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5737. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  5738. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  5739. .psize = 50,
  5740. .digest = "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
  5741. "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
  5742. "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
  5743. "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
  5744. }, {
  5745. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  5746. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  5747. "\x11\x12\x13\x14\x15\x16\x17\x18"
  5748. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  5749. "\x21\x22\x23\x24\x25",
  5750. .ksize = 37,
  5751. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5752. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5753. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5754. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  5755. .psize = 50,
  5756. .digest = "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
  5757. "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
  5758. "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
  5759. "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
  5760. }, {
  5761. .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
  5762. "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
  5763. "\x0c\x0c\x0c\x0c\x0c\x0c",
  5764. .ksize = 32,
  5765. .plaintext = "Test With Truncation",
  5766. .psize = 20,
  5767. .digest = "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
  5768. "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
  5769. "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
  5770. "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
  5771. }, {
  5772. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5773. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5774. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5775. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5776. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5777. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5778. "\xaa\xaa",
  5779. .ksize = 80,
  5780. .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
  5781. .psize = 54,
  5782. .digest = "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
  5783. "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
  5784. "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
  5785. "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
  5786. }, {
  5787. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5788. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5789. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5790. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5791. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5792. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  5793. "\xaa\xaa",
  5794. .ksize = 80,
  5795. .plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
  5796. "One Block-Size Data",
  5797. .psize = 73,
  5798. .digest = "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
  5799. "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
  5800. "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
  5801. "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
  5802. },
  5803. };
  5804. static const struct hash_testvec aes_cmac128_tv_template[] = {
  5805. { /* From NIST Special Publication 800-38B, AES-128 */
  5806. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  5807. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  5808. .plaintext = zeroed_string,
  5809. .digest = "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
  5810. "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
  5811. .psize = 0,
  5812. .ksize = 16,
  5813. }, {
  5814. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  5815. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  5816. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  5817. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
  5818. .digest = "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
  5819. "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
  5820. .psize = 16,
  5821. .ksize = 16,
  5822. }, {
  5823. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  5824. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  5825. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  5826. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  5827. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  5828. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  5829. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
  5830. .digest = "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
  5831. "\x30\xca\x32\x61\x14\x97\xc8\x27",
  5832. .psize = 40,
  5833. .ksize = 16,
  5834. }, {
  5835. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  5836. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  5837. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  5838. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  5839. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  5840. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  5841. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  5842. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  5843. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  5844. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  5845. .digest = "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
  5846. "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
  5847. .psize = 64,
  5848. .ksize = 16,
  5849. }, { /* From NIST Special Publication 800-38B, AES-256 */
  5850. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  5851. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  5852. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  5853. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  5854. .plaintext = zeroed_string,
  5855. .digest = "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
  5856. "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
  5857. .psize = 0,
  5858. .ksize = 32,
  5859. }, {
  5860. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  5861. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  5862. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  5863. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  5864. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  5865. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  5866. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  5867. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  5868. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  5869. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  5870. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  5871. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  5872. .digest = "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
  5873. "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
  5874. .psize = 64,
  5875. .ksize = 32,
  5876. }
  5877. };
  5878. static const struct hash_testvec aes_cbcmac_tv_template[] = {
  5879. {
  5880. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  5881. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  5882. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  5883. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
  5884. .digest = "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
  5885. "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
  5886. .psize = 16,
  5887. .ksize = 16,
  5888. }, {
  5889. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  5890. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  5891. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  5892. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  5893. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  5894. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  5895. "\x30",
  5896. .digest = "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
  5897. "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
  5898. .psize = 33,
  5899. .ksize = 16,
  5900. }, {
  5901. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  5902. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  5903. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  5904. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  5905. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  5906. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  5907. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  5908. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  5909. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  5910. "\xad\x2b\x41\x7b\xe6\x6c\x37",
  5911. .digest = "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
  5912. "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
  5913. .psize = 63,
  5914. .ksize = 16,
  5915. }, {
  5916. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  5917. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  5918. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  5919. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  5920. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  5921. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  5922. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  5923. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  5924. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  5925. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  5926. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  5927. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
  5928. "\x1c",
  5929. .digest = "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
  5930. "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
  5931. .psize = 65,
  5932. .ksize = 32,
  5933. }
  5934. };
  5935. static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
  5936. /*
  5937. * From NIST Special Publication 800-38B, Three Key TDEA
  5938. * Corrected test vectors from:
  5939. * http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
  5940. */
  5941. {
  5942. .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
  5943. "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
  5944. "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
  5945. .plaintext = zeroed_string,
  5946. .digest = "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
  5947. .psize = 0,
  5948. .ksize = 24,
  5949. }, {
  5950. .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
  5951. "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
  5952. "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
  5953. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
  5954. .digest = "\x8e\x8f\x29\x31\x36\x28\x37\x97",
  5955. .psize = 8,
  5956. .ksize = 24,
  5957. }, {
  5958. .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
  5959. "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
  5960. "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
  5961. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  5962. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  5963. "\xae\x2d\x8a\x57",
  5964. .digest = "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
  5965. .psize = 20,
  5966. .ksize = 24,
  5967. }, {
  5968. .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
  5969. "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
  5970. "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
  5971. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  5972. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  5973. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  5974. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
  5975. .digest = "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
  5976. .psize = 32,
  5977. .ksize = 24,
  5978. }
  5979. };
  5980. static const struct hash_testvec aes_xcbc128_tv_template[] = {
  5981. {
  5982. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  5983. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  5984. .plaintext = zeroed_string,
  5985. .digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
  5986. "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
  5987. .psize = 0,
  5988. .ksize = 16,
  5989. }, {
  5990. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  5991. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  5992. .plaintext = "\x00\x01\x02",
  5993. .digest = "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
  5994. "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
  5995. .psize = 3,
  5996. .ksize = 16,
  5997. } , {
  5998. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  5999. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  6000. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  6001. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  6002. .digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
  6003. "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
  6004. .psize = 16,
  6005. .ksize = 16,
  6006. }, {
  6007. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  6008. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  6009. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  6010. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  6011. "\x10\x11\x12\x13",
  6012. .digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
  6013. "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
  6014. .psize = 20,
  6015. .ksize = 16,
  6016. }, {
  6017. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  6018. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  6019. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  6020. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  6021. "\x10\x11\x12\x13\x14\x15\x16\x17"
  6022. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  6023. .digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
  6024. "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
  6025. .psize = 32,
  6026. .ksize = 16,
  6027. }, {
  6028. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  6029. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  6030. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  6031. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  6032. "\x10\x11\x12\x13\x14\x15\x16\x17"
  6033. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  6034. "\x20\x21",
  6035. .digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
  6036. "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
  6037. .psize = 34,
  6038. .ksize = 16,
  6039. }
  6040. };
  6041. static const char vmac64_string1[144] = {
  6042. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  6043. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  6044. '\x01', '\x01', '\x01', '\x01', '\x02', '\x03', '\x02', '\x02',
  6045. '\x02', '\x04', '\x01', '\x07', '\x04', '\x01', '\x04', '\x03',
  6046. };
  6047. static const char vmac64_string2[144] = {
  6048. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  6049. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  6050. 'a', 'b', 'c',
  6051. };
  6052. static const char vmac64_string3[144] = {
  6053. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  6054. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  6055. 'a', 'b', 'c', 'a', 'b', 'c', 'a', 'b',
  6056. 'c', 'a', 'b', 'c', 'a', 'b', 'c', 'a',
  6057. 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c',
  6058. 'a', 'b', 'c', 'a', 'b', 'c', 'a', 'b',
  6059. 'c', 'a', 'b', 'c', 'a', 'b', 'c', 'a',
  6060. 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c',
  6061. };
  6062. static const char vmac64_string4[33] = {
  6063. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  6064. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  6065. 'b', 'c', 'e', 'f', 'i', 'j', 'l', 'm',
  6066. 'o', 'p', 'r', 's', 't', 'u', 'w', 'x',
  6067. 'z',
  6068. };
  6069. static const char vmac64_string5[143] = {
  6070. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  6071. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  6072. 'r', 'm', 'b', 't', 'c', 'o', 'l', 'k',
  6073. ']', '%', '9', '2', '7', '!', 'A',
  6074. };
  6075. static const char vmac64_string6[145] = {
  6076. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  6077. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  6078. 'p', 't', '*', '7', 'l', 'i', '!', '#',
  6079. 'w', '0', 'z', '/', '4', 'A', 'n',
  6080. };
  6081. static const struct hash_testvec vmac64_aes_tv_template[] = {
  6082. { /* draft-krovetz-vmac-01 test vector 1 */
  6083. .key = "abcdefghijklmnop",
  6084. .ksize = 16,
  6085. .plaintext = "\0\0\0\0\0\0\0\0bcdefghi",
  6086. .psize = 16,
  6087. .digest = "\x25\x76\xbe\x1c\x56\xd8\xb8\x1b",
  6088. }, { /* draft-krovetz-vmac-01 test vector 2 */
  6089. .key = "abcdefghijklmnop",
  6090. .ksize = 16,
  6091. .plaintext = "\0\0\0\0\0\0\0\0bcdefghiabc",
  6092. .psize = 19,
  6093. .digest = "\x2d\x37\x6c\xf5\xb1\x81\x3c\xe5",
  6094. }, { /* draft-krovetz-vmac-01 test vector 3 */
  6095. .key = "abcdefghijklmnop",
  6096. .ksize = 16,
  6097. .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
  6098. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
  6099. .psize = 64,
  6100. .digest = "\xe8\x42\x1f\x61\xd5\x73\xd2\x98",
  6101. }, { /* draft-krovetz-vmac-01 test vector 4 */
  6102. .key = "abcdefghijklmnop",
  6103. .ksize = 16,
  6104. .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
  6105. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  6106. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  6107. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  6108. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  6109. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  6110. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
  6111. .psize = 316,
  6112. .digest = "\x44\x92\xdf\x6c\x5c\xac\x1b\xbe",
  6113. }, {
  6114. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  6115. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  6116. .ksize = 16,
  6117. .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  6118. "\x00\x00\x00\x00\x00\x00\x00\x00",
  6119. .psize = 16,
  6120. .digest = "\x54\x7b\xa4\x77\x35\x80\x58\x07",
  6121. }, {
  6122. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  6123. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  6124. .ksize = 16,
  6125. .plaintext = vmac64_string1,
  6126. .psize = sizeof(vmac64_string1),
  6127. .digest = "\xa1\x8c\x68\xae\xd3\x3c\xf5\xce",
  6128. }, {
  6129. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  6130. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  6131. .ksize = 16,
  6132. .plaintext = vmac64_string2,
  6133. .psize = sizeof(vmac64_string2),
  6134. .digest = "\x2d\x14\xbd\x81\x73\xb0\x27\xc9",
  6135. }, {
  6136. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  6137. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  6138. .ksize = 16,
  6139. .plaintext = vmac64_string3,
  6140. .psize = sizeof(vmac64_string3),
  6141. .digest = "\x19\x0b\x47\x98\x8c\x95\x1a\x8d",
  6142. }, {
  6143. .key = "abcdefghijklmnop",
  6144. .ksize = 16,
  6145. .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  6146. "\x00\x00\x00\x00\x00\x00\x00\x00",
  6147. .psize = 16,
  6148. .digest = "\x84\x8f\x55\x9e\x26\xa1\x89\x3b",
  6149. }, {
  6150. .key = "abcdefghijklmnop",
  6151. .ksize = 16,
  6152. .plaintext = vmac64_string1,
  6153. .psize = sizeof(vmac64_string1),
  6154. .digest = "\xc2\x74\x8d\xf6\xb0\xab\x5e\xab",
  6155. }, {
  6156. .key = "abcdefghijklmnop",
  6157. .ksize = 16,
  6158. .plaintext = vmac64_string2,
  6159. .psize = sizeof(vmac64_string2),
  6160. .digest = "\xdf\x09\x7b\x3d\x42\x68\x15\x11",
  6161. }, {
  6162. .key = "abcdefghijklmnop",
  6163. .ksize = 16,
  6164. .plaintext = vmac64_string3,
  6165. .psize = sizeof(vmac64_string3),
  6166. .digest = "\xd4\xfa\x8f\xed\xe1\x8f\x32\x8b",
  6167. }, {
  6168. .key = "a09b5cd!f#07K\x00\x00\x00",
  6169. .ksize = 16,
  6170. .plaintext = vmac64_string4,
  6171. .psize = sizeof(vmac64_string4),
  6172. .digest = "\x5f\xa1\x4e\x42\xea\x0f\xa5\xab",
  6173. }, {
  6174. .key = "a09b5cd!f#07K\x00\x00\x00",
  6175. .ksize = 16,
  6176. .plaintext = vmac64_string5,
  6177. .psize = sizeof(vmac64_string5),
  6178. .digest = "\x60\x67\xe8\x1d\xbc\x98\x31\x25",
  6179. }, {
  6180. .key = "a09b5cd!f#07K\x00\x00\x00",
  6181. .ksize = 16,
  6182. .plaintext = vmac64_string6,
  6183. .psize = sizeof(vmac64_string6),
  6184. .digest = "\x41\xeb\x65\x95\x47\x9b\xae\xc4",
  6185. },
  6186. };
  6187. /*
  6188. * SHA384 HMAC test vectors from RFC4231
  6189. */
  6190. static const struct hash_testvec hmac_sha384_tv_template[] = {
  6191. {
  6192. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  6193. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  6194. "\x0b\x0b\x0b\x0b",
  6195. .ksize = 20,
  6196. .plaintext = "Hi There",
  6197. .psize = 8,
  6198. .digest = "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
  6199. "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
  6200. "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
  6201. "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
  6202. "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
  6203. "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
  6204. }, {
  6205. .key = "Jefe",
  6206. .ksize = 4,
  6207. .plaintext = "what do ya want for nothing?",
  6208. .psize = 28,
  6209. .digest = "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
  6210. "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
  6211. "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
  6212. "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
  6213. "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
  6214. "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
  6215. }, {
  6216. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6217. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6218. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6219. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6220. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6221. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6222. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6223. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6224. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6225. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6226. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6227. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6228. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6229. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6230. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6231. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6232. "\xaa\xaa\xaa",
  6233. .ksize = 131,
  6234. .plaintext = "Test Using Larger Than Block-Siz"
  6235. "e Key - Hash Key First",
  6236. .psize = 54,
  6237. .digest = "\x4e\xce\x08\x44\x85\x81\x3e\x90"
  6238. "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
  6239. "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
  6240. "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
  6241. "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
  6242. "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
  6243. }, {
  6244. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6245. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6246. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6247. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6248. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6249. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6250. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6251. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6252. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6253. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6254. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6255. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6256. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6257. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6258. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6259. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6260. "\xaa\xaa\xaa",
  6261. .ksize = 131,
  6262. .plaintext = "This is a test u"
  6263. "sing a larger th"
  6264. "an block-size ke"
  6265. "y and a larger t"
  6266. "han block-size d"
  6267. "ata. The key nee"
  6268. "ds to be hashed "
  6269. "before being use"
  6270. "d by the HMAC al"
  6271. "gorithm.",
  6272. .psize = 152,
  6273. .digest = "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
  6274. "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
  6275. "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
  6276. "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
  6277. "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
  6278. "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
  6279. },
  6280. };
  6281. /*
  6282. * SHA512 HMAC test vectors from RFC4231
  6283. */
  6284. static const struct hash_testvec hmac_sha512_tv_template[] = {
  6285. {
  6286. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  6287. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  6288. "\x0b\x0b\x0b\x0b",
  6289. .ksize = 20,
  6290. .plaintext = "Hi There",
  6291. .psize = 8,
  6292. .digest = "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
  6293. "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
  6294. "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
  6295. "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
  6296. "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
  6297. "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
  6298. "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
  6299. "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
  6300. }, {
  6301. .key = "Jefe",
  6302. .ksize = 4,
  6303. .plaintext = "what do ya want for nothing?",
  6304. .psize = 28,
  6305. .digest = "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
  6306. "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
  6307. "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
  6308. "\x10\x27\x0c\xd7\xea\x25\x05\x54"
  6309. "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
  6310. "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
  6311. "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
  6312. "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
  6313. }, {
  6314. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6315. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6316. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6317. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6318. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6319. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6320. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6321. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6322. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6323. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6324. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6325. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6326. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6327. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6328. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6329. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6330. "\xaa\xaa\xaa",
  6331. .ksize = 131,
  6332. .plaintext = "Test Using Large"
  6333. "r Than Block-Siz"
  6334. "e Key - Hash Key"
  6335. " First",
  6336. .psize = 54,
  6337. .digest = "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
  6338. "\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
  6339. "\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
  6340. "\x12\x1b\x01\x37\x83\xf8\xf3\x52"
  6341. "\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
  6342. "\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
  6343. "\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
  6344. "\x8b\x91\x5a\x98\x5d\x78\x65\x98",
  6345. }, {
  6346. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6347. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6348. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6349. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6350. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6351. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6352. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6353. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6354. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6355. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6356. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6357. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6358. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6359. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6360. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6361. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6362. "\xaa\xaa\xaa",
  6363. .ksize = 131,
  6364. .plaintext =
  6365. "This is a test u"
  6366. "sing a larger th"
  6367. "an block-size ke"
  6368. "y and a larger t"
  6369. "han block-size d"
  6370. "ata. The key nee"
  6371. "ds to be hashed "
  6372. "before being use"
  6373. "d by the HMAC al"
  6374. "gorithm.",
  6375. .psize = 152,
  6376. .digest = "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
  6377. "\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
  6378. "\xde\xbd\x71\xf8\x86\x72\x89\x86"
  6379. "\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
  6380. "\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
  6381. "\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
  6382. "\x13\x46\x76\xfb\x6d\xe0\x44\x60"
  6383. "\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
  6384. },
  6385. };
  6386. static const struct hash_testvec hmac_sha3_224_tv_template[] = {
  6387. {
  6388. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  6389. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  6390. "\x0b\x0b\x0b\x0b",
  6391. .ksize = 20,
  6392. .plaintext = "Hi There",
  6393. .psize = 8,
  6394. .digest = "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
  6395. "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
  6396. "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
  6397. "\xf3\xc8\x60\xf7",
  6398. }, {
  6399. .key = "Jefe",
  6400. .ksize = 4,
  6401. .plaintext = "what do ya want for nothing?",
  6402. .psize = 28,
  6403. .digest = "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
  6404. "\x1b\x79\x86\x34\xad\x38\x68\x11"
  6405. "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
  6406. "\xba\xce\x5e\x66",
  6407. }, {
  6408. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6409. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6410. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6411. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6412. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6413. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6414. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6415. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6416. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6417. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6418. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6419. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6420. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6421. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6422. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6423. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6424. "\xaa\xaa\xaa",
  6425. .ksize = 131,
  6426. .plaintext = "Test Using Large"
  6427. "r Than Block-Siz"
  6428. "e Key - Hash Key"
  6429. " First",
  6430. .psize = 54,
  6431. .digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
  6432. "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
  6433. "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
  6434. "\x5f\xb9\x99\x5f",
  6435. }, {
  6436. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6437. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6438. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6439. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6440. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6441. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6442. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6443. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6444. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6445. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6446. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6447. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6448. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6449. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6450. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6451. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6452. "\xaa\xaa\xaa",
  6453. .ksize = 131,
  6454. .plaintext =
  6455. "This is a test u"
  6456. "sing a larger th"
  6457. "an block-size ke"
  6458. "y and a larger t"
  6459. "han block-size d"
  6460. "ata. The key nee"
  6461. "ds to be hashed "
  6462. "before being use"
  6463. "d by the HMAC al"
  6464. "gorithm.",
  6465. .psize = 152,
  6466. .digest = "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
  6467. "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
  6468. "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
  6469. "\x29\xcd\x62\xa0",
  6470. },
  6471. };
  6472. static const struct hash_testvec hmac_sha3_256_tv_template[] = {
  6473. {
  6474. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  6475. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  6476. "\x0b\x0b\x0b\x0b",
  6477. .ksize = 20,
  6478. .plaintext = "Hi There",
  6479. .psize = 8,
  6480. .digest = "\xba\x85\x19\x23\x10\xdf\xfa\x96"
  6481. "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
  6482. "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
  6483. "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
  6484. }, {
  6485. .key = "Jefe",
  6486. .ksize = 4,
  6487. .plaintext = "what do ya want for nothing?",
  6488. .psize = 28,
  6489. .digest = "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
  6490. "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
  6491. "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
  6492. "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
  6493. }, {
  6494. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6495. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6496. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6497. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6498. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6499. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6500. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6501. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6502. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6503. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6504. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6505. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6506. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6507. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6508. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6509. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6510. "\xaa\xaa\xaa",
  6511. .ksize = 131,
  6512. .plaintext = "Test Using Large"
  6513. "r Than Block-Siz"
  6514. "e Key - Hash Key"
  6515. " First",
  6516. .psize = 54,
  6517. .digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
  6518. "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
  6519. "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
  6520. "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
  6521. }, {
  6522. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6523. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6524. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6525. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6526. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6527. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6528. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6529. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6530. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6531. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6532. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6533. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6534. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6535. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6536. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6537. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6538. "\xaa\xaa\xaa",
  6539. .ksize = 131,
  6540. .plaintext =
  6541. "This is a test u"
  6542. "sing a larger th"
  6543. "an block-size ke"
  6544. "y and a larger t"
  6545. "han block-size d"
  6546. "ata. The key nee"
  6547. "ds to be hashed "
  6548. "before being use"
  6549. "d by the HMAC al"
  6550. "gorithm.",
  6551. .psize = 152,
  6552. .digest = "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
  6553. "\x7a\xef\x87\x63\x26\x1e\x49\xad"
  6554. "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
  6555. "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
  6556. },
  6557. };
  6558. static const struct hash_testvec hmac_sha3_384_tv_template[] = {
  6559. {
  6560. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  6561. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  6562. "\x0b\x0b\x0b\x0b",
  6563. .ksize = 20,
  6564. .plaintext = "Hi There",
  6565. .psize = 8,
  6566. .digest = "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
  6567. "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
  6568. "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
  6569. "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
  6570. "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
  6571. "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
  6572. }, {
  6573. .key = "Jefe",
  6574. .ksize = 4,
  6575. .plaintext = "what do ya want for nothing?",
  6576. .psize = 28,
  6577. .digest = "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
  6578. "\x67\x64\xd2\xed\x61\x90\x3f\x21"
  6579. "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
  6580. "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
  6581. "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
  6582. "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
  6583. }, {
  6584. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6585. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6586. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6587. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6588. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6589. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6590. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6591. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6592. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6593. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6594. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6595. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6596. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6597. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6598. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6599. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6600. "\xaa\xaa\xaa",
  6601. .ksize = 131,
  6602. .plaintext = "Test Using Large"
  6603. "r Than Block-Siz"
  6604. "e Key - Hash Key"
  6605. " First",
  6606. .psize = 54,
  6607. .digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
  6608. "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
  6609. "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
  6610. "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
  6611. "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
  6612. "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
  6613. }, {
  6614. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6615. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6616. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6617. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6618. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6619. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6620. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6621. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6622. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6623. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6624. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6625. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6626. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6627. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6628. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6629. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6630. "\xaa\xaa\xaa",
  6631. .ksize = 131,
  6632. .plaintext =
  6633. "This is a test u"
  6634. "sing a larger th"
  6635. "an block-size ke"
  6636. "y and a larger t"
  6637. "han block-size d"
  6638. "ata. The key nee"
  6639. "ds to be hashed "
  6640. "before being use"
  6641. "d by the HMAC al"
  6642. "gorithm.",
  6643. .psize = 152,
  6644. .digest = "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
  6645. "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
  6646. "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
  6647. "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
  6648. "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
  6649. "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
  6650. },
  6651. };
  6652. static const struct hash_testvec hmac_sha3_512_tv_template[] = {
  6653. {
  6654. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  6655. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  6656. "\x0b\x0b\x0b\x0b",
  6657. .ksize = 20,
  6658. .plaintext = "Hi There",
  6659. .psize = 8,
  6660. .digest = "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
  6661. "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
  6662. "\xec\x15\x77\x0a\x7c\xab\xac\x53"
  6663. "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
  6664. "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
  6665. "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
  6666. "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
  6667. "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
  6668. }, {
  6669. .key = "Jefe",
  6670. .ksize = 4,
  6671. .plaintext = "what do ya want for nothing?",
  6672. .psize = 28,
  6673. .digest = "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
  6674. "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
  6675. "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
  6676. "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
  6677. "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
  6678. "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
  6679. "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
  6680. "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
  6681. }, {
  6682. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6683. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6684. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6685. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6686. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6687. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6688. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6689. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6690. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6691. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6692. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6693. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6694. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6695. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6696. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6697. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6698. "\xaa\xaa\xaa",
  6699. .ksize = 131,
  6700. .plaintext = "Test Using Large"
  6701. "r Than Block-Siz"
  6702. "e Key - Hash Key"
  6703. " First",
  6704. .psize = 54,
  6705. .digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
  6706. "\x90\xed\x69\x11\xa4\xb6\x55\x24"
  6707. "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
  6708. "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
  6709. "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
  6710. "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
  6711. "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
  6712. "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
  6713. }, {
  6714. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6715. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6716. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6717. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6718. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6719. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6720. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6721. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6722. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6723. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6724. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6725. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6726. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6727. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6728. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6729. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6730. "\xaa\xaa\xaa",
  6731. .ksize = 131,
  6732. .plaintext =
  6733. "This is a test u"
  6734. "sing a larger th"
  6735. "an block-size ke"
  6736. "y and a larger t"
  6737. "han block-size d"
  6738. "ata. The key nee"
  6739. "ds to be hashed "
  6740. "before being use"
  6741. "d by the HMAC al"
  6742. "gorithm.",
  6743. .psize = 152,
  6744. .digest = "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
  6745. "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
  6746. "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
  6747. "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
  6748. "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
  6749. "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
  6750. "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
  6751. "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
  6752. },
  6753. };
  6754. /*
  6755. * Poly1305 test vectors from RFC7539 A.3.
  6756. */
  6757. static const struct hash_testvec poly1305_tv_template[] = {
  6758. { /* Test Vector #1 */
  6759. .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  6760. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6761. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6762. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6763. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6764. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6765. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6766. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6767. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6768. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6769. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6770. "\x00\x00\x00\x00\x00\x00\x00\x00",
  6771. .psize = 96,
  6772. .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
  6773. "\x00\x00\x00\x00\x00\x00\x00\x00",
  6774. }, { /* Test Vector #2 */
  6775. .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  6776. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6777. "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
  6778. "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
  6779. "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  6780. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  6781. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  6782. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  6783. "\x64\x65\x64\x20\x62\x79\x20\x74"
  6784. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  6785. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  6786. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  6787. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  6788. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  6789. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  6790. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  6791. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  6792. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  6793. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  6794. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  6795. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  6796. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  6797. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  6798. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  6799. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  6800. "\x45\x54\x46\x20\x61\x63\x74\x69"
  6801. "\x76\x69\x74\x79\x20\x69\x73\x20"
  6802. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  6803. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  6804. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  6805. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  6806. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  6807. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  6808. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  6809. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  6810. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  6811. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  6812. "\x54\x46\x20\x73\x65\x73\x73\x69"
  6813. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  6814. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  6815. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  6816. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  6817. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  6818. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  6819. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  6820. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  6821. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  6822. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  6823. "\x20\x77\x68\x69\x63\x68\x20\x61"
  6824. "\x72\x65\x20\x61\x64\x64\x72\x65"
  6825. "\x73\x73\x65\x64\x20\x74\x6f",
  6826. .psize = 407,
  6827. .digest = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
  6828. "\xf0\xef\xca\x96\x22\x7a\x86\x3e",
  6829. }, { /* Test Vector #3 */
  6830. .plaintext = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
  6831. "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
  6832. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6833. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6834. "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  6835. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  6836. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  6837. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  6838. "\x64\x65\x64\x20\x62\x79\x20\x74"
  6839. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  6840. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  6841. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  6842. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  6843. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  6844. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  6845. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  6846. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  6847. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  6848. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  6849. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  6850. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  6851. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  6852. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  6853. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  6854. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  6855. "\x45\x54\x46\x20\x61\x63\x74\x69"
  6856. "\x76\x69\x74\x79\x20\x69\x73\x20"
  6857. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  6858. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  6859. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  6860. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  6861. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  6862. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  6863. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  6864. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  6865. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  6866. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  6867. "\x54\x46\x20\x73\x65\x73\x73\x69"
  6868. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  6869. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  6870. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  6871. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  6872. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  6873. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  6874. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  6875. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  6876. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  6877. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  6878. "\x20\x77\x68\x69\x63\x68\x20\x61"
  6879. "\x72\x65\x20\x61\x64\x64\x72\x65"
  6880. "\x73\x73\x65\x64\x20\x74\x6f",
  6881. .psize = 407,
  6882. .digest = "\xf3\x47\x7e\x7c\xd9\x54\x17\xaf"
  6883. "\x89\xa6\xb8\x79\x4c\x31\x0c\xf0",
  6884. }, { /* Test Vector #4 */
  6885. .plaintext = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  6886. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  6887. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  6888. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
  6889. "\x27\x54\x77\x61\x73\x20\x62\x72"
  6890. "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
  6891. "\x6e\x64\x20\x74\x68\x65\x20\x73"
  6892. "\x6c\x69\x74\x68\x79\x20\x74\x6f"
  6893. "\x76\x65\x73\x0a\x44\x69\x64\x20"
  6894. "\x67\x79\x72\x65\x20\x61\x6e\x64"
  6895. "\x20\x67\x69\x6d\x62\x6c\x65\x20"
  6896. "\x69\x6e\x20\x74\x68\x65\x20\x77"
  6897. "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
  6898. "\x20\x6d\x69\x6d\x73\x79\x20\x77"
  6899. "\x65\x72\x65\x20\x74\x68\x65\x20"
  6900. "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
  6901. "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
  6902. "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
  6903. "\x72\x61\x74\x68\x73\x20\x6f\x75"
  6904. "\x74\x67\x72\x61\x62\x65\x2e",
  6905. .psize = 159,
  6906. .digest = "\x45\x41\x66\x9a\x7e\xaa\xee\x61"
  6907. "\xe7\x08\xdc\x7c\xbc\xc5\xeb\x62",
  6908. }, { /* Test Vector #5 */
  6909. .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
  6910. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6911. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6912. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6913. "\xff\xff\xff\xff\xff\xff\xff\xff"
  6914. "\xff\xff\xff\xff\xff\xff\xff\xff",
  6915. .psize = 48,
  6916. .digest = "\x03\x00\x00\x00\x00\x00\x00\x00"
  6917. "\x00\x00\x00\x00\x00\x00\x00\x00",
  6918. }, { /* Test Vector #6 */
  6919. .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
  6920. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6921. "\xff\xff\xff\xff\xff\xff\xff\xff"
  6922. "\xff\xff\xff\xff\xff\xff\xff\xff"
  6923. "\x02\x00\x00\x00\x00\x00\x00\x00"
  6924. "\x00\x00\x00\x00\x00\x00\x00\x00",
  6925. .psize = 48,
  6926. .digest = "\x03\x00\x00\x00\x00\x00\x00\x00"
  6927. "\x00\x00\x00\x00\x00\x00\x00\x00",
  6928. }, { /* Test Vector #7 */
  6929. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  6930. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6931. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6932. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6933. "\xff\xff\xff\xff\xff\xff\xff\xff"
  6934. "\xff\xff\xff\xff\xff\xff\xff\xff"
  6935. "\xf0\xff\xff\xff\xff\xff\xff\xff"
  6936. "\xff\xff\xff\xff\xff\xff\xff\xff"
  6937. "\x11\x00\x00\x00\x00\x00\x00\x00"
  6938. "\x00\x00\x00\x00\x00\x00\x00\x00",
  6939. .psize = 80,
  6940. .digest = "\x05\x00\x00\x00\x00\x00\x00\x00"
  6941. "\x00\x00\x00\x00\x00\x00\x00\x00",
  6942. }, { /* Test Vector #8 */
  6943. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  6944. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6945. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6946. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6947. "\xff\xff\xff\xff\xff\xff\xff\xff"
  6948. "\xff\xff\xff\xff\xff\xff\xff\xff"
  6949. "\xfb\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  6950. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  6951. "\x01\x01\x01\x01\x01\x01\x01\x01"
  6952. "\x01\x01\x01\x01\x01\x01\x01\x01",
  6953. .psize = 80,
  6954. .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
  6955. "\x00\x00\x00\x00\x00\x00\x00\x00",
  6956. }, { /* Test Vector #9 */
  6957. .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
  6958. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6959. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6960. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6961. "\xfd\xff\xff\xff\xff\xff\xff\xff"
  6962. "\xff\xff\xff\xff\xff\xff\xff\xff",
  6963. .psize = 48,
  6964. .digest = "\xfa\xff\xff\xff\xff\xff\xff\xff"
  6965. "\xff\xff\xff\xff\xff\xff\xff\xff",
  6966. }, { /* Test Vector #10 */
  6967. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  6968. "\x04\x00\x00\x00\x00\x00\x00\x00"
  6969. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6970. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6971. "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
  6972. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6973. "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
  6974. "\x01\x00\x00\x00\x00\x00\x00\x00"
  6975. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6976. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6977. "\x01\x00\x00\x00\x00\x00\x00\x00"
  6978. "\x00\x00\x00\x00\x00\x00\x00\x00",
  6979. .psize = 96,
  6980. .digest = "\x14\x00\x00\x00\x00\x00\x00\x00"
  6981. "\x55\x00\x00\x00\x00\x00\x00\x00",
  6982. }, { /* Test Vector #11 */
  6983. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  6984. "\x04\x00\x00\x00\x00\x00\x00\x00"
  6985. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6986. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6987. "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
  6988. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6989. "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
  6990. "\x01\x00\x00\x00\x00\x00\x00\x00"
  6991. "\x00\x00\x00\x00\x00\x00\x00\x00"
  6992. "\x00\x00\x00\x00\x00\x00\x00\x00",
  6993. .psize = 80,
  6994. .digest = "\x13\x00\x00\x00\x00\x00\x00\x00"
  6995. "\x00\x00\x00\x00\x00\x00\x00\x00",
  6996. }, { /* Regression test for overflow in AVX2 implementation */
  6997. .plaintext = "\xff\xff\xff\xff\xff\xff\xff\xff"
  6998. "\xff\xff\xff\xff\xff\xff\xff\xff"
  6999. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7000. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7001. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7002. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7003. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7004. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7005. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7006. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7007. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7008. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7009. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7010. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7011. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7012. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7013. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7014. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7015. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7016. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7017. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7018. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7019. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7020. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7021. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7022. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7023. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7024. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7025. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7026. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7027. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7028. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7029. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7030. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7031. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7032. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7033. "\xff\xff\xff\xff\xff\xff\xff\xff"
  7034. "\xff\xff\xff\xff",
  7035. .psize = 300,
  7036. .digest = "\xfb\x5e\x96\xd8\x61\xd5\xc7\xc8"
  7037. "\x78\xe5\x87\xcc\x2d\x5a\x22\xe1",
  7038. }
  7039. };
  7040. /* NHPoly1305 test vectors from https://github.com/google/adiantum */
  7041. static const struct hash_testvec nhpoly1305_tv_template[] = {
  7042. {
  7043. .key = "\xd2\x5d\x4c\xdd\x8d\x2b\x7f\x7a"
  7044. "\xd9\xbe\x71\xec\xd1\x83\x52\xe3"
  7045. "\xe1\xad\xd7\x5c\x0a\x75\x9d\xec"
  7046. "\x1d\x13\x7e\x5d\x71\x07\xc9\xe4"
  7047. "\x57\x2d\x44\x68\xcf\xd8\xd6\xc5"
  7048. "\x39\x69\x7d\x32\x75\x51\x4f\x7e"
  7049. "\xb2\x4c\xc6\x90\x51\x6e\xd9\xd6"
  7050. "\xa5\x8b\x2d\xf1\x94\xf9\xf7\x5e"
  7051. "\x2c\x84\x7b\x41\x0f\x88\x50\x89"
  7052. "\x30\xd9\xa1\x38\x46\x6c\xc0\x4f"
  7053. "\xe8\xdf\xdc\x66\xab\x24\x43\x41"
  7054. "\x91\x55\x29\x65\x86\x28\x5e\x45"
  7055. "\xd5\x2d\xb7\x80\x08\x9a\xc3\xd4"
  7056. "\x9a\x77\x0a\xd4\xef\x3e\xe6\x3f"
  7057. "\x6f\x2f\x9b\x3a\x7d\x12\x1e\x80"
  7058. "\x6c\x44\xa2\x25\xe1\xf6\x60\xe9"
  7059. "\x0d\xaf\xc5\x3c\xa5\x79\xae\x64"
  7060. "\xbc\xa0\x39\xa3\x4d\x10\xe5\x4d"
  7061. "\xd5\xe7\x89\x7a\x13\xee\x06\x78"
  7062. "\xdc\xa4\xdc\x14\x27\xe6\x49\x38"
  7063. "\xd0\xe0\x45\x25\x36\xc5\xf4\x79"
  7064. "\x2e\x9a\x98\x04\xe4\x2b\x46\x52"
  7065. "\x7c\x33\xca\xe2\x56\x51\x50\xe2"
  7066. "\xa5\x9a\xae\x18\x6a\x13\xf8\xd2"
  7067. "\x21\x31\x66\x02\xe2\xda\x8d\x7e"
  7068. "\x41\x19\xb2\x61\xee\x48\x8f\xf1"
  7069. "\x65\x24\x2e\x1e\x68\xce\x05\xd9"
  7070. "\x2a\xcf\xa5\x3a\x57\xdd\x35\x91"
  7071. "\x93\x01\xca\x95\xfc\x2b\x36\x04"
  7072. "\xe6\x96\x97\x28\xf6\x31\xfe\xa3"
  7073. "\x9d\xf6\x6a\x1e\x80\x8d\xdc\xec"
  7074. "\xaf\x66\x11\x13\x02\x88\xd5\x27"
  7075. "\x33\xb4\x1a\xcd\xa3\xf6\xde\x31"
  7076. "\x8e\xc0\x0e\x6c\xd8\x5a\x97\x5e"
  7077. "\xdd\xfd\x60\x69\x38\x46\x3f\x90"
  7078. "\x5e\x97\xd3\x32\x76\xc7\x82\x49"
  7079. "\xfe\xba\x06\x5f\x2f\xa2\xfd\xff"
  7080. "\x80\x05\x40\xe4\x33\x03\xfb\x10"
  7081. "\xc0\xde\x65\x8c\xc9\x8d\x3a\x9d"
  7082. "\xb5\x7b\x36\x4b\xb5\x0c\xcf\x00"
  7083. "\x9c\x87\xe4\x49\xad\x90\xda\x4a"
  7084. "\xdd\xbd\xff\xe2\x32\x57\xd6\x78"
  7085. "\x36\x39\x6c\xd3\x5b\x9b\x88\x59"
  7086. "\x2d\xf0\x46\xe4\x13\x0e\x2b\x35"
  7087. "\x0d\x0f\x73\x8a\x4f\x26\x84\x75"
  7088. "\x88\x3c\xc5\x58\x66\x18\x1a\xb4"
  7089. "\x64\x51\x34\x27\x1b\xa4\x11\xc9"
  7090. "\x6d\x91\x8a\xfa\x32\x60\x9d\xd7"
  7091. "\x87\xe5\xaa\x43\x72\xf8\xda\xd1"
  7092. "\x48\x44\x13\x61\xdc\x8c\x76\x17"
  7093. "\x0c\x85\x4e\xf3\xdd\xa2\x42\xd2"
  7094. "\x74\xc1\x30\x1b\xeb\x35\x31\x29"
  7095. "\x5b\xd7\x4c\x94\x46\x35\xa1\x23"
  7096. "\x50\xf2\xa2\x8e\x7e\x4f\x23\x4f"
  7097. "\x51\xff\xe2\xc9\xa3\x7d\x56\x8b"
  7098. "\x41\xf2\xd0\xc5\x57\x7e\x59\xac"
  7099. "\xbb\x65\xf3\xfe\xf7\x17\xef\x63"
  7100. "\x7c\x6f\x23\xdd\x22\x8e\xed\x84"
  7101. "\x0e\x3b\x09\xb3\xf3\xf4\x8f\xcd"
  7102. "\x37\xa8\xe1\xa7\x30\xdb\xb1\xa2"
  7103. "\x9c\xa2\xdf\x34\x17\x3e\x68\x44"
  7104. "\xd0\xde\x03\x50\xd1\x48\x6b\x20"
  7105. "\xe2\x63\x45\xa5\xea\x87\xc2\x42"
  7106. "\x95\x03\x49\x05\xed\xe0\x90\x29"
  7107. "\x1a\xb8\xcf\x9b\x43\xcf\x29\x7a"
  7108. "\x63\x17\x41\x9f\xe0\xc9\x10\xfd"
  7109. "\x2c\x56\x8c\x08\x55\xb4\xa9\x27"
  7110. "\x0f\x23\xb1\x05\x6a\x12\x46\xc7"
  7111. "\xe1\xfe\x28\x93\x93\xd7\x2f\xdc"
  7112. "\x98\x30\xdb\x75\x8a\xbe\x97\x7a"
  7113. "\x02\xfb\x8c\xba\xbe\x25\x09\xbe"
  7114. "\xce\xcb\xa2\xef\x79\x4d\x0e\x9d"
  7115. "\x1b\x9d\xb6\x39\x34\x38\xfa\x07"
  7116. "\xec\xe8\xfc\x32\x85\x1d\xf7\x85"
  7117. "\x63\xc3\x3c\xc0\x02\x75\xd7\x3f"
  7118. "\xb2\x68\x60\x66\x65\x81\xc6\xb1"
  7119. "\x42\x65\x4b\x4b\x28\xd7\xc7\xaa"
  7120. "\x9b\xd2\xdc\x1b\x01\xe0\x26\x39"
  7121. "\x01\xc1\x52\x14\xd1\x3f\xb7\xe6"
  7122. "\x61\x41\xc7\x93\xd2\xa2\x67\xc6"
  7123. "\xf7\x11\xb5\xf5\xea\xdd\x19\xfb"
  7124. "\x4d\x21\x12\xd6\x7d\xf1\x10\xb0"
  7125. "\x89\x07\xc7\x5a\x52\x73\x70\x2f"
  7126. "\x32\xef\x65\x2b\x12\xb2\xf0\xf5"
  7127. "\x20\xe0\x90\x59\x7e\x64\xf1\x4c"
  7128. "\x41\xb3\xa5\x91\x08\xe6\x5e\x5f"
  7129. "\x05\x56\x76\xb4\xb0\xcd\x70\x53"
  7130. "\x10\x48\x9c\xff\xc2\x69\x55\x24"
  7131. "\x87\xef\x84\xea\xfb\xa7\xbf\xa0"
  7132. "\x91\x04\xad\x4f\x8b\x57\x54\x4b"
  7133. "\xb6\xe9\xd1\xac\x37\x2f\x1d\x2e"
  7134. "\xab\xa5\xa4\xe8\xff\xfb\xd9\x39"
  7135. "\x2f\xb7\xac\xd1\xfe\x0b\x9a\x80"
  7136. "\x0f\xb6\xf4\x36\x39\x90\x51\xe3"
  7137. "\x0a\x2f\xb6\x45\x76\x89\xcd\x61"
  7138. "\xfe\x48\x5f\x75\x1d\x13\x00\x62"
  7139. "\x80\x24\x47\xe7\xbc\x37\xd7\xe3"
  7140. "\x15\xe8\x68\x22\xaf\x80\x6f\x4b"
  7141. "\xa8\x9f\x01\x10\x48\x14\xc3\x02"
  7142. "\x52\xd2\xc7\x75\x9b\x52\x6d\x30"
  7143. "\xac\x13\x85\xc8\xf7\xa3\x58\x4b"
  7144. "\x49\xf7\x1c\x45\x55\x8c\x39\x9a"
  7145. "\x99\x6d\x97\x27\x27\xe6\xab\xdd"
  7146. "\x2c\x42\x1b\x35\xdd\x9d\x73\xbb"
  7147. "\x6c\xf3\x64\xf1\xfb\xb9\xf7\xe6"
  7148. "\x4a\x3c\xc0\x92\xc0\x2e\xb7\x1a"
  7149. "\xbe\xab\xb3\x5a\xe5\xea\xb1\x48"
  7150. "\x58\x13\x53\x90\xfd\xc3\x8e\x54"
  7151. "\xf9\x18\x16\x73\xe8\xcb\x6d\x39"
  7152. "\x0e\xd7\xe0\xfe\xb6\x9f\x43\x97"
  7153. "\xe8\xd0\x85\x56\x83\x3e\x98\x68"
  7154. "\x7f\xbd\x95\xa8\x9a\x61\x21\x8f"
  7155. "\x06\x98\x34\xa6\xc8\xd6\x1d\xf3"
  7156. "\x3d\x43\xa4\x9a\x8c\xe5\xd3\x5a"
  7157. "\x32\xa2\x04\x22\xa4\x19\x1a\x46"
  7158. "\x42\x7e\x4d\xe5\xe0\xe6\x0e\xca"
  7159. "\xd5\x58\x9d\x2c\xaf\xda\x33\x5c"
  7160. "\xb0\x79\x9e\xc9\xfc\xca\xf0\x2f"
  7161. "\xa8\xb2\x77\xeb\x7a\xa2\xdd\x37"
  7162. "\x35\x83\x07\xd6\x02\x1a\xb6\x6c"
  7163. "\x24\xe2\x59\x08\x0e\xfd\x3e\x46"
  7164. "\xec\x40\x93\xf4\x00\x26\x4f\x2a"
  7165. "\xff\x47\x2f\xeb\x02\x92\x26\x5b"
  7166. "\x53\x17\xc2\x8d\x2a\xc7\xa3\x1b"
  7167. "\xcd\xbc\xa7\xe8\xd1\x76\xe3\x80"
  7168. "\x21\xca\x5d\x3b\xe4\x9c\x8f\xa9"
  7169. "\x5b\x7f\x29\x7f\x7c\xd8\xed\x6d"
  7170. "\x8c\xb2\x86\x85\xe7\x77\xf2\x85"
  7171. "\xab\x38\xa9\x9d\xc1\x4e\xc5\x64"
  7172. "\x33\x73\x8b\x59\x03\xad\x05\xdf"
  7173. "\x25\x98\x31\xde\xef\x13\xf1\x9b"
  7174. "\x3c\x91\x9d\x7b\xb1\xfa\xe6\xbf"
  7175. "\x5b\xed\xa5\x55\xe6\xea\x6c\x74"
  7176. "\xf4\xb9\xe4\x45\x64\x72\x81\xc2"
  7177. "\x4c\x28\xd4\xcd\xac\xe2\xde\xf9"
  7178. "\xeb\x5c\xeb\x61\x60\x5a\xe5\x28",
  7179. .ksize = 1088,
  7180. .plaintext = "",
  7181. .psize = 0,
  7182. .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
  7183. "\x00\x00\x00\x00\x00\x00\x00\x00",
  7184. }, {
  7185. .key = "\x29\x21\x43\xcb\xcb\x13\x07\xde"
  7186. "\xbf\x48\xdf\x8a\x7f\xa2\x84\xde"
  7187. "\x72\x23\x9d\xf5\xf0\x07\xf2\x4c"
  7188. "\x20\x3a\x93\xb9\xcd\x5d\xfe\xcb"
  7189. "\x99\x2c\x2b\x58\xc6\x50\x5f\x94"
  7190. "\x56\xc3\x7c\x0d\x02\x3f\xb8\x5e"
  7191. "\x7b\xc0\x6c\x51\x34\x76\xc0\x0e"
  7192. "\xc6\x22\xc8\x9e\x92\xa0\x21\xc9"
  7193. "\x85\x5c\x7c\xf8\xe2\x64\x47\xc9"
  7194. "\xe4\xa2\x57\x93\xf8\xa2\x69\xcd"
  7195. "\x62\x98\x99\xf4\xd7\x7b\x14\xb1"
  7196. "\xd8\x05\xff\x04\x15\xc9\xe1\x6e"
  7197. "\x9b\xe6\x50\x6b\x0b\x3f\x22\x1f"
  7198. "\x08\xde\x0c\x5b\x08\x7e\xc6\x2f"
  7199. "\x6c\xed\xd6\xb2\x15\xa4\xb3\xf9"
  7200. "\xa7\x46\x38\x2a\xea\x69\xa5\xde"
  7201. "\x02\xc3\x96\x89\x4d\x55\x3b\xed"
  7202. "\x3d\x3a\x85\x77\xbf\x97\x45\x5c"
  7203. "\x9e\x02\x69\xe2\x1b\x68\xbe\x96"
  7204. "\xfb\x64\x6f\x0f\xf6\x06\x40\x67"
  7205. "\xfa\x04\xe3\x55\xfa\xbe\xa4\x60"
  7206. "\xef\x21\x66\x97\xe6\x9d\x5c\x1f"
  7207. "\x62\x37\xaa\x31\xde\xe4\x9c\x28"
  7208. "\x95\xe0\x22\x86\xf4\x4d\xf3\x07"
  7209. "\xfd\x5f\x3a\x54\x2c\x51\x80\x71"
  7210. "\xba\x78\x69\x5b\x65\xab\x1f\x81"
  7211. "\xed\x3b\xff\x34\xa3\xfb\xbc\x73"
  7212. "\x66\x7d\x13\x7f\xdf\x6e\xe2\xe2"
  7213. "\xeb\x4f\x6c\xda\x7d\x33\x57\xd0"
  7214. "\xd3\x7c\x95\x4f\x33\x58\x21\xc7"
  7215. "\xc0\xe5\x6f\x42\x26\xc6\x1f\x5e"
  7216. "\x85\x1b\x98\x9a\xa2\x1e\x55\x77"
  7217. "\x23\xdf\x81\x5e\x79\x55\x05\xfc"
  7218. "\xfb\xda\xee\xba\x5a\xba\xf7\x77"
  7219. "\x7f\x0e\xd3\xe1\x37\xfe\x8d\x2b"
  7220. "\xd5\x3f\xfb\xd0\xc0\x3c\x0b\x3f"
  7221. "\xcf\x3c\x14\xcf\xfb\x46\x72\x4c"
  7222. "\x1f\x39\xe2\xda\x03\x71\x6d\x23"
  7223. "\xef\x93\xcd\x39\xd9\x37\x80\x4d"
  7224. "\x65\x61\xd1\x2c\x03\xa9\x47\x72"
  7225. "\x4d\x1e\x0e\x16\x33\x0f\x21\x17"
  7226. "\xec\x92\xea\x6f\x37\x22\xa4\xd8"
  7227. "\x03\x33\x9e\xd8\x03\x69\x9a\xe8"
  7228. "\xb2\x57\xaf\x78\x99\x05\x12\xab"
  7229. "\x48\x90\x80\xf0\x12\x9b\x20\x64"
  7230. "\x7a\x1d\x47\x5f\xba\x3c\xf9\xc3"
  7231. "\x0a\x0d\x8d\xa1\xf9\x1b\x82\x13"
  7232. "\x3e\x0d\xec\x0a\x83\xc0\x65\xe1"
  7233. "\xe9\x95\xff\x97\xd6\xf2\xe4\xd5"
  7234. "\x86\xc0\x1f\x29\x27\x63\xd7\xde"
  7235. "\xb7\x0a\x07\x99\x04\x2d\xa3\x89"
  7236. "\xa2\x43\xcf\xf3\xe1\x43\xac\x4a"
  7237. "\x06\x97\xd0\x05\x4f\x87\xfa\xf9"
  7238. "\x9b\xbf\x52\x70\xbd\xbc\x6c\xf3"
  7239. "\x03\x13\x60\x41\x28\x09\xec\xcc"
  7240. "\xb1\x1a\xec\xd6\xfb\x6f\x2a\x89"
  7241. "\x5d\x0b\x53\x9c\x59\xc1\x84\x21"
  7242. "\x33\x51\x47\x19\x31\x9c\xd4\x0a"
  7243. "\x4d\x04\xec\x50\x90\x61\xbd\xbc"
  7244. "\x7e\xc8\xd9\x6c\x98\x1d\x45\x41"
  7245. "\x17\x5e\x97\x1c\xc5\xa8\xe8\xea"
  7246. "\x46\x58\x53\xf7\x17\xd5\xad\x11"
  7247. "\xc8\x54\xf5\x7a\x33\x90\xf5\x19"
  7248. "\xba\x36\xb4\xfc\x52\xa5\x72\x3d"
  7249. "\x14\xbb\x55\xa7\xe9\xe3\x12\xf7"
  7250. "\x1c\x30\xa2\x82\x03\xbf\x53\x91"
  7251. "\x2e\x60\x41\x9f\x5b\x69\x39\xf6"
  7252. "\x4d\xc8\xf8\x46\x7a\x7f\xa4\x98"
  7253. "\x36\xff\x06\xcb\xca\xe7\x33\xf2"
  7254. "\xc0\x4a\xf4\x3c\x14\x44\x5f\x6b"
  7255. "\x75\xef\x02\x36\x75\x08\x14\xfd"
  7256. "\x10\x8e\xa5\x58\xd0\x30\x46\x49"
  7257. "\xaf\x3a\xf8\x40\x3d\x35\xdb\x84"
  7258. "\x11\x2e\x97\x6a\xb7\x87\x7f\xad"
  7259. "\xf1\xfa\xa5\x63\x60\xd8\x5e\xbf"
  7260. "\x41\x78\x49\xcf\x77\xbb\x56\xbb"
  7261. "\x7d\x01\x67\x05\x22\xc8\x8f\x41"
  7262. "\xba\x81\xd2\xca\x2c\x38\xac\x76"
  7263. "\x06\xc1\x1a\xc2\xce\xac\x90\x67"
  7264. "\x57\x3e\x20\x12\x5b\xd9\x97\x58"
  7265. "\x65\x05\xb7\x04\x61\x7e\xd8\x3a"
  7266. "\xbf\x55\x3b\x13\xe9\x34\x5a\x37"
  7267. "\x36\xcb\x94\x45\xc5\x32\xb3\xa0"
  7268. "\x0c\x3e\x49\xc5\xd3\xed\xa7\xf0"
  7269. "\x1c\x69\xcc\xea\xcc\x83\xc9\x16"
  7270. "\x95\x72\x4b\xf4\x89\xd5\xb9\x10"
  7271. "\xf6\x2d\x60\x15\xea\x3c\x06\x66"
  7272. "\x9f\x82\xad\x17\xce\xd2\xa4\x48"
  7273. "\x7c\x65\xd9\xf8\x02\x4d\x9b\x4c"
  7274. "\x89\x06\x3a\x34\x85\x48\x89\x86"
  7275. "\xf9\x24\xa9\x54\x72\xdb\x44\x95"
  7276. "\xc7\x44\x1c\x19\x11\x4c\x04\xdc"
  7277. "\x13\xb9\x67\xc8\xc3\x3a\x6a\x50"
  7278. "\xfa\xd1\xfb\xe1\x88\xb6\xf1\xa3"
  7279. "\xc5\x3b\xdc\x38\x45\x16\x26\x02"
  7280. "\x3b\xb8\x8f\x8b\x58\x7d\x23\x04"
  7281. "\x50\x6b\x81\x9f\xae\x66\xac\x6f"
  7282. "\xcf\x2a\x9d\xf1\xfd\x1d\x57\x07"
  7283. "\xbe\x58\xeb\x77\x0c\xe3\xc2\x19"
  7284. "\x14\x74\x1b\x51\x1c\x4f\x41\xf3"
  7285. "\x32\x89\xb3\xe7\xde\x62\xf6\x5f"
  7286. "\xc7\x6a\x4a\x2a\x5b\x0f\x5f\x87"
  7287. "\x9c\x08\xb9\x02\x88\xc8\x29\xb7"
  7288. "\x94\x52\xfa\x52\xfe\xaa\x50\x10"
  7289. "\xba\x48\x75\x5e\x11\x1b\xe6\x39"
  7290. "\xd7\x82\x2c\x87\xf1\x1e\xa4\x38"
  7291. "\x72\x3e\x51\xe7\xd8\x3e\x5b\x7b"
  7292. "\x31\x16\x89\xba\xd6\xad\x18\x5e"
  7293. "\xba\xf8\x12\xb3\xf4\x6c\x47\x30"
  7294. "\xc0\x38\x58\xb3\x10\x8d\x58\x5d"
  7295. "\xb4\xfb\x19\x7e\x41\xc3\x66\xb8"
  7296. "\xd6\x72\x84\xe1\x1a\xc2\x71\x4c"
  7297. "\x0d\x4a\x21\x7a\xab\xa2\xc0\x36"
  7298. "\x15\xc5\xe9\x46\xd7\x29\x17\x76"
  7299. "\x5e\x47\x36\x7f\x72\x05\xa7\xcc"
  7300. "\x36\x63\xf9\x47\x7d\xe6\x07\x3c"
  7301. "\x8b\x79\x1d\x96\x61\x8d\x90\x65"
  7302. "\x7c\xf5\xeb\x4e\x6e\x09\x59\x6d"
  7303. "\x62\x50\x1b\x0f\xe0\xdc\x78\xf2"
  7304. "\x5b\x83\x1a\xa1\x11\x75\xfd\x18"
  7305. "\xd7\xe2\x8d\x65\x14\x21\xce\xbe"
  7306. "\xb5\x87\xe3\x0a\xda\x24\x0a\x64"
  7307. "\xa9\x9f\x03\x8d\x46\x5d\x24\x1a"
  7308. "\x8a\x0c\x42\x01\xca\xb1\x5f\x7c"
  7309. "\xa5\xac\x32\x4a\xb8\x07\x91\x18"
  7310. "\x6f\xb0\x71\x3c\xc9\xb1\xa8\xf8"
  7311. "\x5f\x69\xa5\xa1\xca\x9e\x7a\xaa"
  7312. "\xac\xe9\xc7\x47\x41\x75\x25\xc3"
  7313. "\x73\xe2\x0b\xdd\x6d\x52\x71\xbe"
  7314. "\xc5\xdc\xb4\xe7\x01\x26\x53\x77"
  7315. "\x86\x90\x85\x68\x6b\x7b\x03\x53"
  7316. "\xda\x52\x52\x51\x68\xc8\xf3\xec"
  7317. "\x6c\xd5\x03\x7a\xa3\x0e\xb4\x02"
  7318. "\x5f\x1a\xab\xee\xca\x67\x29\x7b"
  7319. "\xbd\x96\x59\xb3\x8b\x32\x7a\x92"
  7320. "\x9f\xd8\x25\x2b\xdf\xc0\x4c\xda",
  7321. .ksize = 1088,
  7322. .plaintext = "\xbc\xda\x81\xa8\x78\x79\x1c\xbf"
  7323. "\x77\x53\xba\x4c\x30\x5b\xb8\x33",
  7324. .psize = 16,
  7325. .digest = "\x04\xbf\x7f\x6a\xce\x72\xea\x6a"
  7326. "\x79\xdb\xb0\xc9\x60\xf6\x12\xcc",
  7327. }, {
  7328. .key = "\x2e\x77\x1e\x2c\x63\x76\x34\x3f"
  7329. "\x71\x08\x4f\x5a\xe3\x3d\x74\x56"
  7330. "\xc7\x98\x46\x52\xe5\x8a\xba\x0d"
  7331. "\x72\x41\x11\x15\x14\x72\x50\x8a"
  7332. "\xd5\xec\x60\x09\xdd\x71\xcc\xb9"
  7333. "\x59\x81\x65\x2d\x9e\x50\x18\xf3"
  7334. "\x32\xf3\xf1\xe7\x01\x82\x1c\xad"
  7335. "\x88\xa0\x21\x0c\x4b\x80\x5e\x62"
  7336. "\xfc\x81\xec\x52\xaa\xe4\xa5\x86"
  7337. "\xc2\xe6\x03\x11\xdc\x66\x09\x86"
  7338. "\x3c\x3b\xf0\x59\x0f\xb3\xf7\x44"
  7339. "\x24\xb7\x88\xc5\xfc\xc8\x77\x9f"
  7340. "\x8c\x44\xc4\x11\x55\xce\x7a\xa3"
  7341. "\xe0\xa2\xb8\xbf\xb5\x3d\x07\x2c"
  7342. "\x32\xb6\x6c\xfc\xb4\x42\x95\x95"
  7343. "\x98\x32\x81\xc4\xe7\xe2\xd9\x6a"
  7344. "\x87\xf4\xf4\x1e\x74\x7c\xb5\xcd"
  7345. "\x51\x45\x68\x38\x51\xdb\x30\x74"
  7346. "\x11\xe0\xaa\xae\x19\x8f\x15\x55"
  7347. "\xdd\x47\x4a\x35\xb9\x0c\xb4\x4e"
  7348. "\xa9\xce\x2f\xfa\x8f\xc1\x8a\x5e"
  7349. "\x5b\xec\xa5\x81\x3b\xb3\x43\x06"
  7350. "\x24\x81\xf4\x24\xe2\x21\xfa\xcb"
  7351. "\x49\xa8\xf8\xbd\x31\x4a\x5b\x2d"
  7352. "\x64\x0a\x07\xf0\x80\xc9\x0d\x81"
  7353. "\x14\x58\x54\x2b\xba\x22\x31\xba"
  7354. "\xef\x66\xc9\x49\x69\x69\x83\x0d"
  7355. "\xf2\xf9\x80\x9d\x30\x36\xfb\xe3"
  7356. "\xc0\x72\x2b\xcc\x5a\x81\x2c\x5d"
  7357. "\x3b\x5e\xf8\x2b\xd3\x14\x28\x73"
  7358. "\xf9\x1c\x70\xe6\xd8\xbb\xac\x30"
  7359. "\xf9\xd9\xa0\xe2\x33\x7c\x33\x34"
  7360. "\xa5\x6a\x77\x6d\xd5\xaf\xf4\xf3"
  7361. "\xc7\xb3\x0e\x83\x3d\xcb\x01\xcc"
  7362. "\x81\xc0\xf9\x4a\xae\x36\x92\xf7"
  7363. "\x69\x7b\x65\x01\xc3\xc8\xb8\xae"
  7364. "\x16\xd8\x30\xbb\xba\x6d\x78\x6e"
  7365. "\x0d\xf0\x7d\x84\xb7\x87\xda\x28"
  7366. "\x7a\x18\x10\x0b\x29\xec\x29\xf3"
  7367. "\xb0\x7b\xa1\x28\xbf\xbc\x2b\x2c"
  7368. "\x92\x2c\x16\xfb\x02\x39\xf9\xa6"
  7369. "\xa2\x15\x05\xa6\x72\x10\xbc\x62"
  7370. "\x4a\x6e\xb8\xb5\x5d\x59\xae\x3c"
  7371. "\x32\xd3\x68\xd7\x8e\x5a\xcd\x1b"
  7372. "\xef\xf6\xa7\x5e\x10\x51\x15\x4b"
  7373. "\x2c\xe3\xba\x70\x4f\x2c\xa0\x1c"
  7374. "\x7b\x97\xd7\xb2\xa5\x05\x17\xcc"
  7375. "\xf7\x3a\x29\x6f\xd5\x4b\xb8\x24"
  7376. "\xf4\x65\x95\x12\xc0\x86\xd1\x64"
  7377. "\x81\xdf\x46\x55\x0d\x22\x06\x77"
  7378. "\xd8\xca\x8d\xc8\x87\xc3\xfa\xb9"
  7379. "\xe1\x98\x94\xe6\x7b\xed\x65\x66"
  7380. "\x0e\xc7\x25\x15\xee\x4a\xe6\x7e"
  7381. "\xea\x1b\x58\xee\x96\xa0\x75\x9a"
  7382. "\xa3\x00\x9e\x42\xc2\x26\x20\x8c"
  7383. "\x3d\x22\x1f\x94\x3e\x74\x43\x72"
  7384. "\xe9\x1d\xa6\xa1\x6c\xa7\xb8\x03"
  7385. "\xdf\xb9\x7a\xaf\xe9\xe9\x3b\xfe"
  7386. "\xdf\x91\xc1\x01\xa8\xba\x5d\x29"
  7387. "\xa5\xe0\x98\x9b\x13\xe5\x13\x11"
  7388. "\x7c\x04\x3a\xe8\x44\x7e\x78\xfc"
  7389. "\xd6\x96\xa8\xbc\x7d\xc1\x89\x3d"
  7390. "\x75\x64\xa9\x0e\x86\x33\xfb\x73"
  7391. "\xf7\x15\xbc\x2c\x9a\x3f\x29\xce"
  7392. "\x1c\x9d\x10\x4e\x85\xe1\x77\x41"
  7393. "\x01\xe2\xbc\x88\xec\x81\xef\xc2"
  7394. "\x6a\xed\x4f\xf7\xdf\xac\x10\x71"
  7395. "\x94\xed\x71\xa4\x01\xd4\xd6\xbe"
  7396. "\xfe\x3e\xc3\x92\x6a\xf2\x2b\xb5"
  7397. "\xab\x15\x96\xb7\x88\x2c\xc2\xe1"
  7398. "\xb0\x04\x22\xe7\x3d\xa9\xc9\x7d"
  7399. "\x2c\x7c\x21\xff\x97\x86\x6b\x0c"
  7400. "\x2b\x5b\xe0\xb6\x48\x74\x8f\x24"
  7401. "\xef\x8e\xdd\x0f\x2a\x5f\xff\x33"
  7402. "\xf4\x8e\xc5\xeb\x9c\xd7\x2a\x45"
  7403. "\xf3\x50\xf1\xc0\x91\x8f\xc7\xf9"
  7404. "\x97\xc1\x3c\x9c\xf4\xed\x8a\x23"
  7405. "\x61\x5b\x40\x1a\x09\xee\x23\xa8"
  7406. "\x7c\x7a\x96\xe1\x31\x55\x3d\x12"
  7407. "\x04\x1f\x21\x78\x72\xf0\x0f\xa5"
  7408. "\x80\x58\x7c\x2f\x37\xb5\x67\x24"
  7409. "\x2f\xce\xf9\xf6\x86\x9f\xb3\x34"
  7410. "\x0c\xfe\x0a\xaf\x27\xe6\x5e\x0a"
  7411. "\x21\x44\x68\xe1\x5d\x84\x25\xae"
  7412. "\x2c\x5a\x94\x66\x9a\x3f\x0e\x5a"
  7413. "\xd0\x60\x2a\xd5\x3a\x4e\x2f\x40"
  7414. "\x87\xe9\x27\x3e\xee\x92\xe1\x07"
  7415. "\x22\x43\x52\xed\x67\x49\x13\xdd"
  7416. "\x68\xd7\x54\xc2\x76\x72\x7e\x75"
  7417. "\xaf\x24\x98\x5c\xe8\x22\xaa\x35"
  7418. "\x0f\x9a\x1c\x4c\x0b\x43\x68\x99"
  7419. "\x45\xdd\xbf\x82\xa5\x6f\x0a\xef"
  7420. "\x44\x90\x85\xe7\x57\x23\x22\x41"
  7421. "\x2e\xda\x24\x28\x65\x7f\x96\x85"
  7422. "\x9f\x4b\x0d\x43\xb9\xa8\xbd\x84"
  7423. "\xad\x0b\x09\xcc\x2c\x4a\x0c\xec"
  7424. "\x71\x58\xba\xf1\xfc\x49\x4c\xca"
  7425. "\x5c\x5d\xb2\x77\x0c\x99\xae\x1c"
  7426. "\xce\x70\x05\x5b\x73\x6b\x7c\x28"
  7427. "\x3b\xeb\x21\x3f\xa3\x71\xe1\x6a"
  7428. "\xf4\x87\xd0\xbf\x73\xaa\x0b\x0b"
  7429. "\xed\x70\xb3\xd4\xa3\xca\x76\x3a"
  7430. "\xdb\xfa\xd8\x08\x95\xec\xac\x59"
  7431. "\xd0\x79\x90\xc2\x33\x7b\xcc\x28"
  7432. "\x65\xb6\x5f\x92\xc4\xac\x23\x40"
  7433. "\xd1\x20\x44\x1f\xd7\x29\xab\x46"
  7434. "\x79\x32\xc6\x8f\x79\xe5\xaa\x2c"
  7435. "\xa6\x76\x70\x3a\x9e\x46\x3f\x8c"
  7436. "\x1a\x89\x32\x28\x61\x5c\xcf\x93"
  7437. "\x1e\xde\x9e\x98\xbe\x06\x30\x23"
  7438. "\xc4\x8b\xda\x1c\xd1\x67\x46\x93"
  7439. "\x9d\x41\xa2\x8c\x03\x22\xbd\x55"
  7440. "\x7e\x91\x51\x13\xdc\xcf\x5c\x1e"
  7441. "\xcb\x5d\xfb\x14\x16\x1a\x44\x56"
  7442. "\x27\x77\xfd\xed\x7d\xbd\xd1\x49"
  7443. "\x7f\x0d\xc3\x59\x48\x6b\x3c\x02"
  7444. "\x6b\xb5\xd0\x83\xd5\x81\x29\xe7"
  7445. "\xe0\xc9\x36\x23\x8d\x41\x33\x77"
  7446. "\xff\x5f\x54\xde\x4d\x3f\xd2\x4e"
  7447. "\xb6\x4d\xdd\x85\xf8\x9b\x20\x7d"
  7448. "\x39\x27\x68\x63\xd3\x8e\x61\x39"
  7449. "\xfa\xe1\xc3\x04\x74\x27\x5a\x34"
  7450. "\x7f\xec\x59\x2d\xc5\x6e\x54\x23"
  7451. "\xf5\x7b\x4b\xbe\x58\x2b\xf2\x81"
  7452. "\x93\x63\xcc\x13\xd9\x90\xbb\x6a"
  7453. "\x41\x03\x8d\x95\xeb\xbb\x5d\x06"
  7454. "\x38\x4c\x0e\xd6\xa9\x5b\x84\x97"
  7455. "\x3e\x64\x72\xe9\x96\x07\x0f\x73"
  7456. "\x6e\xc6\x3b\x32\xbe\xac\x13\x14"
  7457. "\xd0\x0a\x17\x5f\xb9\x9c\x3e\x34"
  7458. "\xd9\xec\xd6\x8f\x89\xbf\x1e\xd3"
  7459. "\xda\x80\xb2\x29\xff\x28\x96\xb3"
  7460. "\x46\x50\x5b\x15\x80\x97\xee\x1f"
  7461. "\x6c\xd8\xe8\xe0\xbd\x09\xe7\x20"
  7462. "\x8c\x23\x8e\xd9\xbb\x92\xfa\x82"
  7463. "\xaa\x0f\xb5\xf8\x78\x60\x11\xf0",
  7464. .ksize = 1088,
  7465. .plaintext = "\x0b\xb2\x31\x2d\xad\xfe\xce\xf9"
  7466. "\xec\x5d\x3d\x64\x5f\x3f\x75\x43"
  7467. "\x05\x5b\x97",
  7468. .psize = 19,
  7469. .digest = "\x5f\x02\xae\x65\x6c\x13\x21\x67"
  7470. "\x77\x9e\xc4\x43\x58\x68\xde\x8f",
  7471. }, {
  7472. .key = "\x65\x4d\xe3\xf8\xd2\x4c\xac\x28"
  7473. "\x68\xf5\xb3\x81\x71\x4b\xa1\xfa"
  7474. "\x04\x0e\xd3\x81\x36\xbe\x0c\x81"
  7475. "\x5e\xaf\xbc\x3a\xa4\xc0\x8e\x8b"
  7476. "\x55\x63\xd3\x52\x97\x88\xd6\x19"
  7477. "\xbc\x96\xdf\x49\xff\x04\x63\xf5"
  7478. "\x0c\x11\x13\xaa\x9e\x1f\x5a\xf7"
  7479. "\xdd\xbd\x37\x80\xc3\xd0\xbe\xa7"
  7480. "\x05\xc8\x3c\x98\x1e\x05\x3c\x84"
  7481. "\x39\x61\xc4\xed\xed\x71\x1b\xc4"
  7482. "\x74\x45\x2c\xa1\x56\x70\x97\xfd"
  7483. "\x44\x18\x07\x7d\xca\x60\x1f\x73"
  7484. "\x3b\x6d\x21\xcb\x61\x87\x70\x25"
  7485. "\x46\x21\xf1\x1f\x21\x91\x31\x2d"
  7486. "\x5d\xcc\xb7\xd1\x84\x3e\x3d\xdb"
  7487. "\x03\x53\x2a\x82\xa6\x9a\x95\xbc"
  7488. "\x1a\x1e\x0a\x5e\x07\x43\xab\x43"
  7489. "\xaf\x92\x82\x06\x91\x04\x09\xf4"
  7490. "\x17\x0a\x9a\x2c\x54\xdb\xb8\xf4"
  7491. "\xd0\xf0\x10\x66\x24\x8d\xcd\xda"
  7492. "\xfe\x0e\x45\x9d\x6f\xc4\x4e\xf4"
  7493. "\x96\xaf\x13\xdc\xa9\xd4\x8c\xc4"
  7494. "\xc8\x57\x39\x3c\xc2\xd3\x0a\x76"
  7495. "\x4a\x1f\x75\x83\x44\xc7\xd1\x39"
  7496. "\xd8\xb5\x41\xba\x73\x87\xfa\x96"
  7497. "\xc7\x18\x53\xfb\x9b\xda\xa0\x97"
  7498. "\x1d\xee\x60\x85\x9e\x14\xc3\xce"
  7499. "\xc4\x05\x29\x3b\x95\x30\xa3\xd1"
  7500. "\x9f\x82\x6a\x04\xf5\xa7\x75\x57"
  7501. "\x82\x04\xfe\x71\x51\x71\xb1\x49"
  7502. "\x50\xf8\xe0\x96\xf1\xfa\xa8\x88"
  7503. "\x3f\xa0\x86\x20\xd4\x60\x79\x59"
  7504. "\x17\x2d\xd1\x09\xf4\xec\x05\x57"
  7505. "\xcf\x62\x7e\x0e\x7e\x60\x78\xe6"
  7506. "\x08\x60\x29\xd8\xd5\x08\x1a\x24"
  7507. "\xc4\x6c\x24\xe7\x92\x08\x3d\x8a"
  7508. "\x98\x7a\xcf\x99\x0a\x65\x0e\xdc"
  7509. "\x8c\x8a\xbe\x92\x82\x91\xcc\x62"
  7510. "\x30\xb6\xf4\x3f\xc6\x8a\x7f\x12"
  7511. "\x4a\x8a\x49\xfa\x3f\x5c\xd4\x5a"
  7512. "\xa6\x82\xa3\xe6\xaa\x34\x76\xb2"
  7513. "\xab\x0a\x30\xef\x6c\x77\x58\x3f"
  7514. "\x05\x6b\xcc\x5c\xae\xdc\xd7\xb9"
  7515. "\x51\x7e\x8d\x32\x5b\x24\x25\xbe"
  7516. "\x2b\x24\x01\xcf\x80\xda\x16\xd8"
  7517. "\x90\x72\x2c\xad\x34\x8d\x0c\x74"
  7518. "\x02\xcb\xfd\xcf\x6e\xef\x97\xb5"
  7519. "\x4c\xf2\x68\xca\xde\x43\x9e\x8a"
  7520. "\xc5\x5f\x31\x7f\x14\x71\x38\xec"
  7521. "\xbd\x98\xe5\x71\xc4\xb5\xdb\xef"
  7522. "\x59\xd2\xca\xc0\xc1\x86\x75\x01"
  7523. "\xd4\x15\x0d\x6f\xa4\xf7\x7b\x37"
  7524. "\x47\xda\x18\x93\x63\xda\xbe\x9e"
  7525. "\x07\xfb\xb2\x83\xd5\xc4\x34\x55"
  7526. "\xee\x73\xa1\x42\x96\xf9\x66\x41"
  7527. "\xa4\xcc\xd2\x93\x6e\xe1\x0a\xbb"
  7528. "\xd2\xdd\x18\x23\xe6\x6b\x98\x0b"
  7529. "\x8a\x83\x59\x2c\xc3\xa6\x59\x5b"
  7530. "\x01\x22\x59\xf7\xdc\xb0\x87\x7e"
  7531. "\xdb\x7d\xf4\x71\x41\xab\xbd\xee"
  7532. "\x79\xbe\x3c\x01\x76\x0b\x2d\x0a"
  7533. "\x42\xc9\x77\x8c\xbb\x54\x95\x60"
  7534. "\x43\x2e\xe0\x17\x52\xbd\x90\xc9"
  7535. "\xc2\x2c\xdd\x90\x24\x22\x76\x40"
  7536. "\x5c\xb9\x41\xc9\xa1\xd5\xbd\xe3"
  7537. "\x44\xe0\xa4\xab\xcc\xb8\xe2\x32"
  7538. "\x02\x15\x04\x1f\x8c\xec\x5d\x14"
  7539. "\xac\x18\xaa\xef\x6e\x33\x19\x6e"
  7540. "\xde\xfe\x19\xdb\xeb\x61\xca\x18"
  7541. "\xad\xd8\x3d\xbf\x09\x11\xc7\xa5"
  7542. "\x86\x0b\x0f\xe5\x3e\xde\xe8\xd9"
  7543. "\x0a\x69\x9e\x4c\x20\xff\xf9\xc5"
  7544. "\xfa\xf8\xf3\x7f\xa5\x01\x4b\x5e"
  7545. "\x0f\xf0\x3b\x68\xf0\x46\x8c\x2a"
  7546. "\x7a\xc1\x8f\xa0\xfe\x6a\x5b\x44"
  7547. "\x70\x5c\xcc\x92\x2c\x6f\x0f\xbd"
  7548. "\x25\x3e\xb7\x8e\x73\x58\xda\xc9"
  7549. "\xa5\xaa\x9e\xf3\x9b\xfd\x37\x3e"
  7550. "\xe2\x88\xa4\x7b\xc8\x5c\xa8\x93"
  7551. "\x0e\xe7\x9a\x9c\x2e\x95\x18\x9f"
  7552. "\xc8\x45\x0c\x88\x9e\x53\x4f\x3a"
  7553. "\x76\xc1\x35\xfa\x17\xd8\xac\xa0"
  7554. "\x0c\x2d\x47\x2e\x4f\x69\x9b\xf7"
  7555. "\xd0\xb6\x96\x0c\x19\xb3\x08\x01"
  7556. "\x65\x7a\x1f\xc7\x31\x86\xdb\xc8"
  7557. "\xc1\x99\x8f\xf8\x08\x4a\x9d\x23"
  7558. "\x22\xa8\xcf\x27\x01\x01\x88\x93"
  7559. "\x9c\x86\x45\xbd\xe0\x51\xca\x52"
  7560. "\x84\xba\xfe\x03\xf7\xda\xc5\xce"
  7561. "\x3e\x77\x75\x86\xaf\x84\xc8\x05"
  7562. "\x44\x01\x0f\x02\xf3\x58\xb0\x06"
  7563. "\x5a\xd7\x12\x30\x8d\xdf\x1f\x1f"
  7564. "\x0a\xe6\xd2\xea\xf6\x3a\x7a\x99"
  7565. "\x63\xe8\xd2\xc1\x4a\x45\x8b\x40"
  7566. "\x4d\x0a\xa9\x76\x92\xb3\xda\x87"
  7567. "\x36\x33\xf0\x78\xc3\x2f\x5f\x02"
  7568. "\x1a\x6a\x2c\x32\xcd\x76\xbf\xbd"
  7569. "\x5a\x26\x20\x28\x8c\x8c\xbc\x52"
  7570. "\x3d\x0a\xc9\xcb\xab\xa4\x21\xb0"
  7571. "\x54\x40\x81\x44\xc7\xd6\x1c\x11"
  7572. "\x44\xc6\x02\x92\x14\x5a\xbf\x1a"
  7573. "\x09\x8a\x18\xad\xcd\x64\x3d\x53"
  7574. "\x4a\xb6\xa5\x1b\x57\x0e\xef\xe0"
  7575. "\x8c\x44\x5f\x7d\xbd\x6c\xfd\x60"
  7576. "\xae\x02\x24\xb6\x99\xdd\x8c\xaf"
  7577. "\x59\x39\x75\x3c\xd1\x54\x7b\x86"
  7578. "\xcc\x99\xd9\x28\x0c\xb0\x94\x62"
  7579. "\xf9\x51\xd1\x19\x96\x2d\x66\xf5"
  7580. "\x55\xcf\x9e\x59\xe2\x6b\x2c\x08"
  7581. "\xc0\x54\x48\x24\x45\xc3\x8c\x73"
  7582. "\xea\x27\x6e\x66\x7d\x1d\x0e\x6e"
  7583. "\x13\xe8\x56\x65\x3a\xb0\x81\x5c"
  7584. "\xf0\xe8\xd8\x00\x6b\xcd\x8f\xad"
  7585. "\xdd\x53\xf3\xa4\x6c\x43\xd6\x31"
  7586. "\xaf\xd2\x76\x1e\x91\x12\xdb\x3c"
  7587. "\x8c\xc2\x81\xf0\x49\xdb\xe2\x6b"
  7588. "\x76\x62\x0a\x04\xe4\xaa\x8a\x7c"
  7589. "\x08\x0b\x5d\xd0\xee\x1d\xfb\xc4"
  7590. "\x02\x75\x42\xd6\xba\xa7\x22\xa8"
  7591. "\x47\x29\xb7\x85\x6d\x93\x3a\xdb"
  7592. "\x00\x53\x0b\xa2\xeb\xf8\xfe\x01"
  7593. "\x6f\x8a\x31\xd6\x17\x05\x6f\x67"
  7594. "\x88\x95\x32\xfe\x4f\xa6\x4b\xf8"
  7595. "\x03\xe4\xcd\x9a\x18\xe8\x4e\x2d"
  7596. "\xf7\x97\x9a\x0c\x7d\x9f\x7e\x44"
  7597. "\x69\x51\xe0\x32\x6b\x62\x86\x8f"
  7598. "\xa6\x8e\x0b\x21\x96\xe5\xaf\x77"
  7599. "\xc0\x83\xdf\xa5\x0e\xd0\xa1\x04"
  7600. "\xaf\xc1\x10\xcb\x5a\x40\xe4\xe3"
  7601. "\x38\x7e\x07\xe8\x4d\xfa\xed\xc5"
  7602. "\xf0\x37\xdf\xbb\x8a\xcf\x3d\xdc"
  7603. "\x61\xd2\xc6\x2b\xff\x07\xc9\x2f"
  7604. "\x0c\x2d\x5c\x07\xa8\x35\x6a\xfc"
  7605. "\xae\x09\x03\x45\x74\x51\x4d\xc4"
  7606. "\xb8\x23\x87\x4a\x99\x27\x20\x87"
  7607. "\x62\x44\x0a\x4a\xce\x78\x47\x22",
  7608. .ksize = 1088,
  7609. .plaintext = "\x8e\xb0\x4c\xde\x9c\x4a\x04\x5a"
  7610. "\xf6\xa9\x7f\x45\x25\xa5\x7b\x3a"
  7611. "\xbc\x4d\x73\x39\x81\xb5\xbd\x3d"
  7612. "\x21\x6f\xd7\x37\x50\x3c\x7b\x28"
  7613. "\xd1\x03\x3a\x17\xed\x7b\x7c\x2a"
  7614. "\x16\xbc\xdf\x19\x89\x52\x71\x31"
  7615. "\xb6\xc0\xfd\xb5\xd3\xba\x96\x99"
  7616. "\xb6\x34\x0b\xd0\x99\x93\xfc\x1a"
  7617. "\x01\x3c\x85\xc6\x9b\x78\x5c\x8b"
  7618. "\xfe\xae\xd2\xbf\xb2\x6f\xf9\xed"
  7619. "\xc8\x25\x17\xfe\x10\x3b\x7d\xda"
  7620. "\xf4\x8d\x35\x4b\x7c\x7b\x82\xe7"
  7621. "\xc2\xb3\xee\x60\x4a\x03\x86\xc9"
  7622. "\x4e\xb5\xc4\xbe\xd2\xbd\x66\xf1"
  7623. "\x13\xf1\x09\xab\x5d\xca\x63\x1f"
  7624. "\xfc\xfb\x57\x2a\xfc\xca\x66\xd8"
  7625. "\x77\x84\x38\x23\x1d\xac\xd3\xb3"
  7626. "\x7a\xad\x4c\x70\xfa\x9c\xc9\x61"
  7627. "\xa6\x1b\xba\x33\x4b\x4e\x33\xec"
  7628. "\xa0\xa1\x64\x39\x40\x05\x1c\xc2"
  7629. "\x3f\x49\x9d\xae\xf2\xc5\xf2\xc5"
  7630. "\xfe\xe8\xf4\xc2\xf9\x96\x2d\x28"
  7631. "\x92\x30\x44\xbc\xd2\x7f\xe1\x6e"
  7632. "\x62\x02\x8f\x3d\x1c\x80\xda\x0e"
  7633. "\x6a\x90\x7e\x75\xff\xec\x3e\xc4"
  7634. "\xcd\x16\x34\x3b\x05\x6d\x4d\x20"
  7635. "\x1c\x7b\xf5\x57\x4f\xfa\x3d\xac"
  7636. "\xd0\x13\x55\xe8\xb3\xe1\x1b\x78"
  7637. "\x30\xe6\x9f\x84\xd4\x69\xd1\x08"
  7638. "\x12\x77\xa7\x4a\xbd\xc0\xf2\xd2"
  7639. "\x78\xdd\xa3\x81\x12\xcb\x6c\x14"
  7640. "\x90\x61\xe2\x84\xc6\x2b\x16\xcc"
  7641. "\x40\x99\x50\x88\x01\x09\x64\x4f"
  7642. "\x0a\x80\xbe\x61\xae\x46\xc9\x0a"
  7643. "\x5d\xe0\xfb\x72\x7a\x1a\xdd\x61"
  7644. "\x63\x20\x05\xa0\x4a\xf0\x60\x69"
  7645. "\x7f\x92\xbc\xbf\x4e\x39\x4d\xdd"
  7646. "\x74\xd1\xb7\xc0\x5a\x34\xb7\xae"
  7647. "\x76\x65\x2e\xbc\x36\xb9\x04\x95"
  7648. "\x42\xe9\x6f\xca\x78\xb3\x72\x07"
  7649. "\xa3\xba\x02\x94\x67\x4c\xb1\xd7"
  7650. "\xe9\x30\x0d\xf0\x3b\xb8\x10\x6d"
  7651. "\xea\x2b\x21\xbf\x74\x59\x82\x97"
  7652. "\x85\xaa\xf1\xd7\x54\x39\xeb\x05"
  7653. "\xbd\xf3\x40\xa0\x97\xe6\x74\xfe"
  7654. "\xb4\x82\x5b\xb1\x36\xcb\xe8\x0d"
  7655. "\xce\x14\xd9\xdf\xf1\x94\x22\xcd"
  7656. "\xd6\x00\xba\x04\x4c\x05\x0c\xc0"
  7657. "\xd1\x5a\xeb\x52\xd5\xa8\x8e\xc8"
  7658. "\x97\xa1\xaa\xc1\xea\xc1\xbe\x7c"
  7659. "\x36\xb3\x36\xa0\xc6\x76\x66\xc5"
  7660. "\xe2\xaf\xd6\x5c\xe2\xdb\x2c\xb3"
  7661. "\x6c\xb9\x99\x7f\xff\x9f\x03\x24"
  7662. "\xe1\x51\x44\x66\xd8\x0c\x5d\x7f"
  7663. "\x5c\x85\x22\x2a\xcf\x6d\x79\x28"
  7664. "\xab\x98\x01\x72\xfe\x80\x87\x5f"
  7665. "\x46\xba\xef\x81\x24\xee\xbf\xb0"
  7666. "\x24\x74\xa3\x65\x97\x12\xc4\xaf"
  7667. "\x8b\xa0\x39\xda\x8a\x7e\x74\x6e"
  7668. "\x1b\x42\xb4\x44\x37\xfc\x59\xfd"
  7669. "\x86\xed\xfb\x8c\x66\x33\xda\x63"
  7670. "\x75\xeb\xe1\xa4\x85\x4f\x50\x8f"
  7671. "\x83\x66\x0d\xd3\x37\xfa\xe6\x9c"
  7672. "\x4f\x30\x87\x35\x18\xe3\x0b\xb7"
  7673. "\x6e\x64\x54\xcd\x70\xb3\xde\x54"
  7674. "\xb7\x1d\xe6\x4c\x4d\x55\x12\x12"
  7675. "\xaf\x5f\x7f\x5e\xee\x9d\xe8\x8e"
  7676. "\x32\x9d\x4e\x75\xeb\xc6\xdd\xaa"
  7677. "\x48\x82\xa4\x3f\x3c\xd7\xd3\xa8"
  7678. "\x63\x9e\x64\xfe\xe3\x97\x00\x62"
  7679. "\xe5\x40\x5d\xc3\xad\x72\xe1\x28"
  7680. "\x18\x50\xb7\x75\xef\xcd\x23\xbf"
  7681. "\x3f\xc0\x51\x36\xf8\x41\xc3\x08"
  7682. "\xcb\xf1\x8d\x38\x34\xbd\x48\x45"
  7683. "\x75\xed\xbc\x65\x7b\xb5\x0c\x9b"
  7684. "\xd7\x67\x7d\x27\xb4\xc4\x80\xd7"
  7685. "\xa9\xb9\xc7\x4a\x97\xaa\xda\xc8"
  7686. "\x3c\x74\xcf\x36\x8f\xe4\x41\xe3"
  7687. "\xd4\xd3\x26\xa7\xf3\x23\x9d\x8f"
  7688. "\x6c\x20\x05\x32\x3e\xe0\xc3\xc8"
  7689. "\x56\x3f\xa7\x09\xb7\xfb\xc7\xf7"
  7690. "\xbe\x2a\xdd\x0f\x06\x7b\x0d\xdd"
  7691. "\xb0\xb4\x86\x17\xfd\xb9\x04\xe5"
  7692. "\xc0\x64\x5d\xad\x2a\x36\x38\xdb"
  7693. "\x24\xaf\x5b\xff\xca\xf9\x41\xe8"
  7694. "\xf9\x2f\x1e\x5e\xf9\xf5\xd5\xf2"
  7695. "\xb2\x88\xca\xc9\xa1\x31\xe2\xe8"
  7696. "\x10\x95\x65\xbf\xf1\x11\x61\x7a"
  7697. "\x30\x1a\x54\x90\xea\xd2\x30\xf6"
  7698. "\xa5\xad\x60\xf9\x4d\x84\x21\x1b"
  7699. "\xe4\x42\x22\xc8\x12\x4b\xb0\x58"
  7700. "\x3e\x9c\x2d\x32\x95\x0a\x8e\xb0"
  7701. "\x0a\x7e\x77\x2f\xe8\x97\x31\x6a"
  7702. "\xf5\x59\xb4\x26\xe6\x37\x12\xc9"
  7703. "\xcb\xa0\x58\x33\x6f\xd5\x55\x55"
  7704. "\x3c\xa1\x33\xb1\x0b\x7e\x2e\xb4"
  7705. "\x43\x2a\x84\x39\xf0\x9c\xf4\x69"
  7706. "\x4f\x1e\x79\xa6\x15\x1b\x87\xbb"
  7707. "\xdb\x9b\xe0\xf1\x0b\xba\xe3\x6e"
  7708. "\xcc\x2f\x49\x19\x22\x29\xfc\x71"
  7709. "\xbb\x77\x38\x18\x61\xaf\x85\x76"
  7710. "\xeb\xd1\x09\xcc\x86\x04\x20\x9a"
  7711. "\x66\x53\x2f\x44\x8b\xc6\xa3\xd2"
  7712. "\x5f\xc7\x79\x82\x66\xa8\x6e\x75"
  7713. "\x7d\x94\xd1\x86\x75\x0f\xa5\x4f"
  7714. "\x3c\x7a\x33\xce\xd1\x6e\x9d\x7b"
  7715. "\x1f\x91\x37\xb8\x37\x80\xfb\xe0"
  7716. "\x52\x26\xd0\x9a\xd4\x48\x02\x41"
  7717. "\x05\xe3\x5a\x94\xf1\x65\x61\x19"
  7718. "\xb8\x88\x4e\x2b\xea\xba\x8b\x58"
  7719. "\x8b\x42\x01\x00\xa8\xfe\x00\x5c"
  7720. "\xfe\x1c\xee\x31\x15\x69\xfa\xb3"
  7721. "\x9b\x5f\x22\x8e\x0d\x2c\xe3\xa5"
  7722. "\x21\xb9\x99\x8a\x8e\x94\x5a\xef"
  7723. "\x13\x3e\x99\x96\x79\x6e\xd5\x42"
  7724. "\x36\x03\xa9\xe2\xca\x65\x4e\x8a"
  7725. "\x8a\x30\xd2\x7d\x74\xe7\xf0\xaa"
  7726. "\x23\x26\xdd\xcb\x82\x39\xfc\x9d"
  7727. "\x51\x76\x21\x80\xa2\xbe\x93\x03"
  7728. "\x47\xb0\xc1\xb6\xdc\x63\xfd\x9f"
  7729. "\xca\x9d\xa5\xca\x27\x85\xe2\xd8"
  7730. "\x15\x5b\x7e\x14\x7a\xc4\x89\xcc"
  7731. "\x74\x14\x4b\x46\xd2\xce\xac\x39"
  7732. "\x6b\x6a\x5a\xa4\x0e\xe3\x7b\x15"
  7733. "\x94\x4b\x0f\x74\xcb\x0c\x7f\xa9"
  7734. "\xbe\x09\x39\xa3\xdd\x56\x5c\xc7"
  7735. "\x99\x56\x65\x39\xf4\x0b\x7d\x87"
  7736. "\xec\xaa\xe3\x4d\x22\x65\x39\x4e",
  7737. .psize = 1024,
  7738. .digest = "\x64\x3a\xbc\xc3\x3f\x74\x40\x51"
  7739. "\x6e\x56\x01\x1a\x51\xec\x36\xde",
  7740. }, {
  7741. .key = "\x1b\x82\x2e\x1b\x17\x23\xb9\x6d"
  7742. "\xdc\x9c\xda\x99\x07\xe3\x5f\xd8"
  7743. "\xd2\xf8\x43\x80\x8d\x86\x7d\x80"
  7744. "\x1a\xd0\xcc\x13\xb9\x11\x05\x3f"
  7745. "\x7e\xcf\x7e\x80\x0e\xd8\x25\x48"
  7746. "\x8b\xaa\x63\x83\x92\xd0\x72\xf5"
  7747. "\x4f\x67\x7e\x50\x18\x25\xa4\xd1"
  7748. "\xe0\x7e\x1e\xba\xd8\xa7\x6e\xdb"
  7749. "\x1a\xcc\x0d\xfe\x9f\x6d\x22\x35"
  7750. "\xe1\xe6\xe0\xa8\x7b\x9c\xb1\x66"
  7751. "\xa3\xf8\xff\x4d\x90\x84\x28\xbc"
  7752. "\xdc\x19\xc7\x91\x49\xfc\xf6\x33"
  7753. "\xc9\x6e\x65\x7f\x28\x6f\x68\x2e"
  7754. "\xdf\x1a\x75\xe9\xc2\x0c\x96\xb9"
  7755. "\x31\x22\xc4\x07\xc6\x0a\x2f\xfd"
  7756. "\x36\x06\x5f\x5c\xc5\xb1\x3a\xf4"
  7757. "\x5e\x48\xa4\x45\x2b\x88\xa7\xee"
  7758. "\xa9\x8b\x52\xcc\x99\xd9\x2f\xb8"
  7759. "\xa4\x58\x0a\x13\xeb\x71\x5a\xfa"
  7760. "\xe5\x5e\xbe\xf2\x64\xad\x75\xbc"
  7761. "\x0b\x5b\x34\x13\x3b\x23\x13\x9a"
  7762. "\x69\x30\x1e\x9a\xb8\x03\xb8\x8b"
  7763. "\x3e\x46\x18\x6d\x38\xd9\xb3\xd8"
  7764. "\xbf\xf1\xd0\x28\xe6\x51\x57\x80"
  7765. "\x5e\x99\xfb\xd0\xce\x1e\x83\xf7"
  7766. "\xe9\x07\x5a\x63\xa9\xef\xce\xa5"
  7767. "\xfb\x3f\x37\x17\xfc\x0b\x37\x0e"
  7768. "\xbb\x4b\x21\x62\xb7\x83\x0e\xa9"
  7769. "\x9e\xb0\xc4\xad\x47\xbe\x35\xe7"
  7770. "\x51\xb2\xf2\xac\x2b\x65\x7b\x48"
  7771. "\xe3\x3f\x5f\xb6\x09\x04\x0c\x58"
  7772. "\xce\x99\xa9\x15\x2f\x4e\xc1\xf2"
  7773. "\x24\x48\xc0\xd8\x6c\xd3\x76\x17"
  7774. "\x83\x5d\xe6\xe3\xfd\x01\x8e\xf7"
  7775. "\x42\xa5\x04\x29\x30\xdf\xf9\x00"
  7776. "\x4a\xdc\x71\x22\x1a\x33\x15\xb6"
  7777. "\xd7\x72\xfb\x9a\xb8\xeb\x2b\x38"
  7778. "\xea\xa8\x61\xa8\x90\x11\x9d\x73"
  7779. "\x2e\x6c\xce\x81\x54\x5a\x9f\xcd"
  7780. "\xcf\xd5\xbd\x26\x5d\x66\xdb\xfb"
  7781. "\xdc\x1e\x7c\x10\xfe\x58\x82\x10"
  7782. "\x16\x24\x01\xce\x67\x55\x51\xd1"
  7783. "\xdd\x6b\x44\xa3\x20\x8e\xa9\xa6"
  7784. "\x06\xa8\x29\x77\x6e\x00\x38\x5b"
  7785. "\xde\x4d\x58\xd8\x1f\x34\xdf\xf9"
  7786. "\x2c\xac\x3e\xad\xfb\x92\x0d\x72"
  7787. "\x39\xa4\xac\x44\x10\xc0\x43\xc4"
  7788. "\xa4\x77\x3b\xfc\xc4\x0d\x37\xd3"
  7789. "\x05\x84\xda\x53\x71\xf8\x80\xd3"
  7790. "\x34\x44\xdb\x09\xb4\x2b\x8e\xe3"
  7791. "\x00\x75\x50\x9e\x43\x22\x00\x0b"
  7792. "\x7c\x70\xab\xd4\x41\xf1\x93\xcd"
  7793. "\x25\x2d\x84\x74\xb5\xf2\x92\xcd"
  7794. "\x0a\x28\xea\x9a\x49\x02\x96\xcb"
  7795. "\x85\x9e\x2f\x33\x03\x86\x1d\xdc"
  7796. "\x1d\x31\xd5\xfc\x9d\xaa\xc5\xe9"
  7797. "\x9a\xc4\x57\xf5\x35\xed\xf4\x4b"
  7798. "\x3d\x34\xc2\x29\x13\x86\x36\x42"
  7799. "\x5d\xbf\x90\x86\x13\x77\xe5\xc3"
  7800. "\x62\xb4\xfe\x0b\x70\x39\x35\x65"
  7801. "\x02\xea\xf6\xce\x57\x0c\xbb\x74"
  7802. "\x29\xe3\xfd\x60\x90\xfd\x10\x38"
  7803. "\xd5\x4e\x86\xbd\x37\x70\xf0\x97"
  7804. "\xa6\xab\x3b\x83\x64\x52\xca\x66"
  7805. "\x2f\xf9\xa4\xca\x3a\x55\x6b\xb0"
  7806. "\xe8\x3a\x34\xdb\x9e\x48\x50\x2f"
  7807. "\x3b\xef\xfd\x08\x2d\x5f\xc1\x37"
  7808. "\x5d\xbe\x73\xe4\xd8\xe9\xac\xca"
  7809. "\x8a\xaa\x48\x7c\x5c\xf4\xa6\x96"
  7810. "\x5f\xfa\x70\xa6\xb7\x8b\x50\xcb"
  7811. "\xa6\xf5\xa9\xbd\x7b\x75\x4c\x22"
  7812. "\x0b\x19\x40\x2e\xc9\x39\x39\x32"
  7813. "\x83\x03\xa8\xa4\x98\xe6\x8e\x16"
  7814. "\xb9\xde\x08\xc5\xfc\xbf\xad\x39"
  7815. "\xa8\xc7\x93\x6c\x6f\x23\xaf\xc1"
  7816. "\xab\xe1\xdf\xbb\x39\xae\x93\x29"
  7817. "\x0e\x7d\x80\x8d\x3e\x65\xf3\xfd"
  7818. "\x96\x06\x65\x90\xa1\x28\x64\x4b"
  7819. "\x69\xf9\xa8\x84\x27\x50\xfc\x87"
  7820. "\xf7\xbf\x55\x8e\x56\x13\x58\x7b"
  7821. "\x85\xb4\x6a\x72\x0f\x40\xf1\x4f"
  7822. "\x83\x81\x1f\x76\xde\x15\x64\x7a"
  7823. "\x7a\x80\xe4\xc7\x5e\x63\x01\x91"
  7824. "\xd7\x6b\xea\x0b\x9b\xa2\x99\x3b"
  7825. "\x6c\x88\xd8\xfd\x59\x3c\x8d\x22"
  7826. "\x86\x56\xbe\xab\xa1\x37\x08\x01"
  7827. "\x50\x85\x69\x29\xee\x9f\xdf\x21"
  7828. "\x3e\x20\x20\xf5\xb0\xbb\x6b\xd0"
  7829. "\x9c\x41\x38\xec\x54\x6f\x2d\xbd"
  7830. "\x0f\xe1\xbd\xf1\x2b\x6e\x60\x56"
  7831. "\x29\xe5\x7a\x70\x1c\xe2\xfc\x97"
  7832. "\x82\x68\x67\xd9\x3d\x1f\xfb\xd8"
  7833. "\x07\x9f\xbf\x96\x74\xba\x6a\x0e"
  7834. "\x10\x48\x20\xd8\x13\x1e\xb5\x44"
  7835. "\xf2\xcc\xb1\x8b\xfb\xbb\xec\xd7"
  7836. "\x37\x70\x1f\x7c\x55\xd2\x4b\xb9"
  7837. "\xfd\x70\x5e\xa3\x91\x73\x63\x52"
  7838. "\x13\x47\x5a\x06\xfb\x01\x67\xa5"
  7839. "\xc0\xd0\x49\x19\x56\x66\x9a\x77"
  7840. "\x64\xaf\x8c\x25\x91\x52\x87\x0e"
  7841. "\x18\xf3\x5f\x97\xfd\x71\x13\xf8"
  7842. "\x05\xa5\x39\xcc\x65\xd3\xcc\x63"
  7843. "\x5b\xdb\x5f\x7e\x5f\x6e\xad\xc4"
  7844. "\xf4\xa0\xc5\xc2\x2b\x4d\x97\x38"
  7845. "\x4f\xbc\xfa\x33\x17\xb4\x47\xb9"
  7846. "\x43\x24\x15\x8d\xd2\xed\x80\x68"
  7847. "\x84\xdb\x04\x80\xca\x5e\x6a\x35"
  7848. "\x2c\x2c\xe7\xc5\x03\x5f\x54\xb0"
  7849. "\x5e\x4f\x1d\x40\x54\x3d\x78\x9a"
  7850. "\xac\xda\x80\x27\x4d\x15\x4c\x1a"
  7851. "\x6e\x80\xc9\xc4\x3b\x84\x0e\xd9"
  7852. "\x2e\x93\x01\x8c\xc3\xc8\x91\x4b"
  7853. "\xb3\xaa\x07\x04\x68\x5b\x93\xa5"
  7854. "\xe7\xc4\x9d\xe7\x07\xee\xf5\x3b"
  7855. "\x40\x89\xcc\x60\x34\x9d\xb4\x06"
  7856. "\x1b\xef\x92\xe6\xc1\x2a\x7d\x0f"
  7857. "\x81\xaa\x56\xe3\xd7\xed\xa7\xd4"
  7858. "\xa7\x3a\x49\xc4\xad\x81\x5c\x83"
  7859. "\x55\x8e\x91\x54\xb7\x7d\x65\xa5"
  7860. "\x06\x16\xd5\x9a\x16\xc1\xb0\xa2"
  7861. "\x06\xd8\x98\x47\x73\x7e\x73\xa0"
  7862. "\xb8\x23\xb1\x52\xbf\x68\x74\x5d"
  7863. "\x0b\xcb\xfa\x8c\x46\xe3\x24\xe6"
  7864. "\xab\xd4\x69\x8d\x8c\xf2\x8a\x59"
  7865. "\xbe\x48\x46\x50\x8c\x9a\xe8\xe3"
  7866. "\x31\x55\x0a\x06\xed\x4f\xf8\xb7"
  7867. "\x4f\xe3\x85\x17\x30\xbd\xd5\x20"
  7868. "\xe7\x5b\xb2\x32\xcf\x6b\x16\x44"
  7869. "\xd2\xf5\x7e\xd7\xd1\x2f\xee\x64"
  7870. "\x3e\x9d\x10\xef\x27\x35\x43\x64"
  7871. "\x67\xfb\x7a\x7b\xe0\x62\x31\x9a"
  7872. "\x4d\xdf\xa5\xab\xc0\x20\xbb\x01"
  7873. "\xe9\x7b\x54\xf1\xde\xb2\x79\x50"
  7874. "\x6c\x4b\x91\xdb\x7f\xbb\x50\xc1"
  7875. "\x55\x44\x38\x9a\xe0\x9f\xe8\x29"
  7876. "\x6f\x15\xf8\x4e\xa6\xec\xa0\x60",
  7877. .ksize = 1088,
  7878. .plaintext = "\x15\x68\x9e\x2f\xad\x15\x52\xdf"
  7879. "\xf0\x42\x62\x24\x2a\x2d\xea\xbf"
  7880. "\xc7\xf3\xb4\x1a\xf5\xed\xb2\x08"
  7881. "\x15\x60\x1c\x00\x77\xbf\x0b\x0e"
  7882. "\xb7\x2c\xcf\x32\x3a\xc7\x01\x77"
  7883. "\xef\xa6\x75\xd0\x29\xc7\x68\x20"
  7884. "\xb2\x92\x25\xbf\x12\x34\xe9\xa4"
  7885. "\xfd\x32\x7b\x3f\x7c\xbd\xa5\x02"
  7886. "\x38\x41\xde\xc9\xc1\x09\xd9\xfc"
  7887. "\x6e\x78\x22\x83\x18\xf7\x50\x8d"
  7888. "\x8f\x9c\x2d\x02\xa5\x30\xac\xff"
  7889. "\xea\x63\x2e\x80\x37\x83\xb0\x58"
  7890. "\xda\x2f\xef\x21\x55\xba\x7b\xb1"
  7891. "\xb6\xed\xf5\xd2\x4d\xaa\x8c\xa9"
  7892. "\xdd\xdb\x0f\xb4\xce\xc1\x9a\xb1"
  7893. "\xc1\xdc\xbd\xab\x86\xc2\xdf\x0b"
  7894. "\xe1\x2c\xf9\xbe\xf6\xd8\xda\x62"
  7895. "\x72\xdd\x98\x09\x52\xc0\xc4\xb6"
  7896. "\x7b\x17\x5c\xf5\xd8\x4b\x88\xd6"
  7897. "\x6b\xbf\x84\x4a\x3f\xf5\x4d\xd2"
  7898. "\x94\xe2\x9c\xff\xc7\x3c\xd9\xc8"
  7899. "\x37\x38\xbc\x8c\xf3\xe7\xb7\xd0"
  7900. "\x1d\x78\xc4\x39\x07\xc8\x5e\x79"
  7901. "\xb6\x5a\x90\x5b\x6e\x97\xc9\xd4"
  7902. "\x82\x9c\xf3\x83\x7a\xe7\x97\xfc"
  7903. "\x1d\xbb\xef\xdb\xce\xe0\x82\xad"
  7904. "\xca\x07\x6c\x54\x62\x6f\x81\xe6"
  7905. "\x7a\x5a\x96\x6e\x80\x3a\xa2\x37"
  7906. "\x6f\xc6\xa4\x29\xc3\x9e\x19\x94"
  7907. "\x9f\xb0\x3e\x38\xfb\x3c\x2b\x7d"
  7908. "\xaa\xb8\x74\xda\x54\x23\x51\x12"
  7909. "\x4b\x96\x36\x8f\x91\x4f\x19\x37"
  7910. "\x83\xc9\xdd\xc7\x1a\x32\x2d\xab"
  7911. "\xc7\x89\xe2\x07\x47\x6c\xe8\xa6"
  7912. "\x70\x6b\x8e\x0c\xda\x5c\x6a\x59"
  7913. "\x27\x33\x0e\xe1\xe1\x20\xe8\xc8"
  7914. "\xae\xdc\xd0\xe3\x6d\xa8\xa6\x06"
  7915. "\x41\xb4\xd4\xd4\xcf\x91\x3e\x06"
  7916. "\xb0\x9a\xf7\xf1\xaa\xa6\x23\x92"
  7917. "\x10\x86\xf0\x94\xd1\x7c\x2e\x07"
  7918. "\x30\xfb\xc5\xd8\xf3\x12\xa9\xe8"
  7919. "\x22\x1c\x97\x1a\xad\x96\xb0\xa1"
  7920. "\x72\x6a\x6b\xb4\xfd\xf7\xe8\xfa"
  7921. "\xe2\x74\xd8\x65\x8d\x35\x17\x4b"
  7922. "\x00\x23\x5c\x8c\x70\xad\x71\xa2"
  7923. "\xca\xc5\x6c\x59\xbf\xb4\xc0\x6d"
  7924. "\x86\x98\x3e\x19\x5a\x90\x92\xb1"
  7925. "\x66\x57\x6a\x91\x68\x7c\xbc\xf3"
  7926. "\xf1\xdb\x94\xf8\x48\xf1\x36\xd8"
  7927. "\x78\xac\x1c\xa9\xcc\xd6\x27\xba"
  7928. "\x91\x54\x22\xf5\xe6\x05\x3f\xcc"
  7929. "\xc2\x8f\x2c\x3b\x2b\xc3\x2b\x2b"
  7930. "\x3b\xb8\xb6\x29\xb7\x2f\x94\xb6"
  7931. "\x7b\xfc\x94\x3e\xd0\x7a\x41\x59"
  7932. "\x7b\x1f\x9a\x09\xa6\xed\x4a\x82"
  7933. "\x9d\x34\x1c\xbd\x4e\x1c\x3a\x66"
  7934. "\x80\x74\x0e\x9a\x4f\x55\x54\x47"
  7935. "\x16\xba\x2a\x0a\x03\x35\x99\xa3"
  7936. "\x5c\x63\x8d\xa2\x72\x8b\x17\x15"
  7937. "\x68\x39\x73\xeb\xec\xf2\xe8\xf5"
  7938. "\x95\x32\x27\xd6\xc4\xfe\xb0\x51"
  7939. "\xd5\x0c\x50\xc5\xcd\x6d\x16\xb3"
  7940. "\xa3\x1e\x95\x69\xad\x78\x95\x06"
  7941. "\xb9\x46\xf2\x6d\x24\x5a\x99\x76"
  7942. "\x73\x6a\x91\xa6\xac\x12\xe1\x28"
  7943. "\x79\xbc\x08\x4e\x97\x00\x98\x63"
  7944. "\x07\x1c\x4e\xd1\x68\xf3\xb3\x81"
  7945. "\xa8\xa6\x5f\xf1\x01\xc9\xc1\xaf"
  7946. "\x3a\x96\xf9\x9d\xb5\x5a\x5f\x8f"
  7947. "\x7e\xc1\x7e\x77\x0a\x40\xc8\x8e"
  7948. "\xfc\x0e\xed\xe1\x0d\xb0\xe5\x5e"
  7949. "\x5e\x6f\xf5\x7f\xab\x33\x7d\xcd"
  7950. "\xf0\x09\x4b\xb2\x11\x37\xdc\x65"
  7951. "\x97\x32\x62\x71\x3a\x29\x54\xb9"
  7952. "\xc7\xa4\xbf\x75\x0f\xf9\x40\xa9"
  7953. "\x8d\xd7\x8b\xa7\xe0\x9a\xbe\x15"
  7954. "\xc6\xda\xd8\x00\x14\x69\x1a\xaf"
  7955. "\x5f\x79\xc3\xf5\xbb\x6c\x2a\x9d"
  7956. "\xdd\x3c\x5f\x97\x21\xe1\x3a\x03"
  7957. "\x84\x6a\xe9\x76\x11\x1f\xd3\xd5"
  7958. "\xf0\x54\x20\x4d\xc2\x91\xc3\xa4"
  7959. "\x36\x25\xbe\x1b\x2a\x06\xb7\xf3"
  7960. "\xd1\xd0\x55\x29\x81\x4c\x83\xa3"
  7961. "\xa6\x84\x1e\x5c\xd1\xd0\x6c\x90"
  7962. "\xa4\x11\xf0\xd7\x63\x6a\x48\x05"
  7963. "\xbc\x48\x18\x53\xcd\xb0\x8d\xdb"
  7964. "\xdc\xfe\x55\x11\x5c\x51\xb3\xab"
  7965. "\xab\x63\x3e\x31\x5a\x8b\x93\x63"
  7966. "\x34\xa9\xba\x2b\x69\x1a\xc0\xe3"
  7967. "\xcb\x41\xbc\xd7\xf5\x7f\x82\x3e"
  7968. "\x01\xa3\x3c\x72\xf4\xfe\xdf\xbe"
  7969. "\xb1\x67\x17\x2b\x37\x60\x0d\xca"
  7970. "\x6f\xc3\x94\x2c\xd2\x92\x6d\x9d"
  7971. "\x75\x18\x77\xaa\x29\x38\x96\xed"
  7972. "\x0e\x20\x70\x92\xd5\xd0\xb4\x00"
  7973. "\xc0\x31\xf2\xc9\x43\x0e\x75\x1d"
  7974. "\x4b\x64\xf2\x1f\xf2\x29\x6c\x7b"
  7975. "\x7f\xec\x59\x7d\x8c\x0d\xd4\xd3"
  7976. "\xac\x53\x4c\xa3\xde\x42\x92\x95"
  7977. "\x6d\xa3\x4f\xd0\xe6\x3d\xe7\xec"
  7978. "\x7a\x4d\x68\xf1\xfe\x67\x66\x09"
  7979. "\x83\x22\xb1\x98\x43\x8c\xab\xb8"
  7980. "\x45\xe6\x6d\xdf\x5e\x50\x71\xce"
  7981. "\xf5\x4e\x40\x93\x2b\xfa\x86\x0e"
  7982. "\xe8\x30\xbd\x82\xcc\x1c\x9c\x5f"
  7983. "\xad\xfd\x08\x31\xbe\x52\xe7\xe6"
  7984. "\xf2\x06\x01\x62\x25\x15\x99\x74"
  7985. "\x33\x51\x52\x57\x3f\x57\x87\x61"
  7986. "\xb9\x7f\x29\x3d\xcd\x92\x5e\xa6"
  7987. "\x5c\x3b\xf1\xed\x5f\xeb\x82\xed"
  7988. "\x56\x7b\x61\xe7\xfd\x02\x47\x0e"
  7989. "\x2a\x15\xa4\xce\x43\x86\x9b\xe1"
  7990. "\x2b\x4c\x2a\xd9\x42\x97\xf7\x9a"
  7991. "\xe5\x47\x46\x48\xd3\x55\x6f\x4d"
  7992. "\xd9\xeb\x4b\xdd\x7b\x21\x2f\xb3"
  7993. "\xa8\x36\x28\xdf\xca\xf1\xf6\xd9"
  7994. "\x10\xf6\x1c\xfd\x2e\x0c\x27\xe0"
  7995. "\x01\xb3\xff\x6d\x47\x08\x4d\xd4"
  7996. "\x00\x25\xee\x55\x4a\xe9\xe8\x5b"
  7997. "\xd8\xf7\x56\x12\xd4\x50\xb2\xe5"
  7998. "\x51\x6f\x34\x63\x69\xd2\x4e\x96"
  7999. "\x4e\xbc\x79\xbf\x18\xae\xc6\x13"
  8000. "\x80\x92\x77\xb0\xb4\x0f\x29\x94"
  8001. "\x6f\x4c\xbb\x53\x11\x36\xc3\x9f"
  8002. "\x42\x8e\x96\x8a\x91\xc8\xe9\xfc"
  8003. "\xfe\xbf\x7c\x2d\x6f\xf9\xb8\x44"
  8004. "\x89\x1b\x09\x53\x0a\x2a\x92\xc3"
  8005. "\x54\x7a\x3a\xf9\xe2\xe4\x75\x87"
  8006. "\xa0\x5e\x4b\x03\x7a\x0d\x8a\xf4"
  8007. "\x55\x59\x94\x2b\x63\x96\x0e\xf5",
  8008. .psize = 1040,
  8009. .digest = "\xb5\xb9\x08\xb3\x24\x3e\x03\xf0"
  8010. "\xd6\x0b\x57\xbc\x0a\x6d\x89\x59",
  8011. }, {
  8012. .key = "\xf6\x34\x42\x71\x35\x52\x8b\x58"
  8013. "\x02\x3a\x8e\x4a\x8d\x41\x13\xe9"
  8014. "\x7f\xba\xb9\x55\x9d\x73\x4d\xf8"
  8015. "\x3f\x5d\x73\x15\xff\xd3\x9e\x7f"
  8016. "\x20\x2a\x6a\xa8\xd1\xf0\x8f\x12"
  8017. "\x6b\x02\xd8\x6c\xde\xba\x80\x22"
  8018. "\x19\x37\xc8\xd0\x4e\x89\x17\x7c"
  8019. "\x7c\xdd\x88\xfd\x41\xc0\x04\xb7"
  8020. "\x1d\xac\x19\xe3\x20\xc7\x16\xcf"
  8021. "\x58\xee\x1d\x7a\x61\x69\xa9\x12"
  8022. "\x4b\xef\x4f\xb6\x38\xdd\x78\xf8"
  8023. "\x28\xee\x70\x08\xc7\x7c\xcc\xc8"
  8024. "\x1e\x41\xf5\x80\x86\x70\xd0\xf0"
  8025. "\xa3\x87\x6b\x0a\x00\xd2\x41\x28"
  8026. "\x74\x26\xf1\x24\xf3\xd0\x28\x77"
  8027. "\xd7\xcd\xf6\x2d\x61\xf4\xa2\x13"
  8028. "\x77\xb4\x6f\xa0\xf4\xfb\xd6\xb5"
  8029. "\x38\x9d\x5a\x0c\x51\xaf\xad\x63"
  8030. "\x27\x67\x8c\x01\xea\x42\x1a\x66"
  8031. "\xda\x16\x7c\x3c\x30\x0c\x66\x53"
  8032. "\x1c\x88\xa4\x5c\xb2\xe3\x78\x0a"
  8033. "\x13\x05\x6d\xe2\xaf\xb3\xe4\x75"
  8034. "\x00\x99\x58\xee\x76\x09\x64\xaa"
  8035. "\xbb\x2e\xb1\x81\xec\xd8\x0e\xd3"
  8036. "\x0c\x33\x5d\xb7\x98\xef\x36\xb6"
  8037. "\xd2\x65\x69\x41\x70\x12\xdc\x25"
  8038. "\x41\x03\x99\x81\x41\x19\x62\x13"
  8039. "\xd1\x0a\x29\xc5\x8c\xe0\x4c\xf3"
  8040. "\xd6\xef\x4c\xf4\x1d\x83\x2e\x6d"
  8041. "\x8e\x14\x87\xed\x80\xe0\xaa\xd3"
  8042. "\x08\x04\x73\x1a\x84\x40\xf5\x64"
  8043. "\xbd\x61\x32\x65\x40\x42\xfb\xb0"
  8044. "\x40\xf6\x40\x8d\xc7\x7f\x14\xd0"
  8045. "\x83\x99\xaa\x36\x7e\x60\xc6\xbf"
  8046. "\x13\x8a\xf9\x21\xe4\x7e\x68\x87"
  8047. "\xf3\x33\x86\xb4\xe0\x23\x7e\x0a"
  8048. "\x21\xb1\xf5\xad\x67\x3c\x9c\x9d"
  8049. "\x09\xab\xaf\x5f\xba\xe0\xd0\x82"
  8050. "\x48\x22\x70\xb5\x6d\x53\xd6\x0e"
  8051. "\xde\x64\x92\x41\xb0\xd3\xfb\xda"
  8052. "\x21\xfe\xab\xea\x20\xc4\x03\x58"
  8053. "\x18\x2e\x7d\x2f\x03\xa9\x47\x66"
  8054. "\xdf\x7b\xa4\x6b\x34\x6b\x55\x9c"
  8055. "\x4f\xd7\x9c\x47\xfb\xa9\x42\xec"
  8056. "\x5a\x12\xfd\xfe\x76\xa0\x92\x9d"
  8057. "\xfe\x1e\x16\xdd\x24\x2a\xe4\x27"
  8058. "\xd5\xa9\xf2\x05\x4f\x83\xa2\xaf"
  8059. "\xfe\xee\x83\x7a\xad\xde\xdf\x9a"
  8060. "\x80\xd5\x81\x14\x93\x16\x7e\x46"
  8061. "\x47\xc2\x14\xef\x49\x6e\xb9\xdb"
  8062. "\x40\xe8\x06\x6f\x9c\x2a\xfd\x62"
  8063. "\x06\x46\xfd\x15\x1d\x36\x61\x6f"
  8064. "\x77\x77\x5e\x64\xce\x78\x1b\x85"
  8065. "\xbf\x50\x9a\xfd\x67\xa6\x1a\x65"
  8066. "\xad\x5b\x33\x30\xf1\x71\xaa\xd9"
  8067. "\x23\x0d\x92\x24\x5f\xae\x57\xb0"
  8068. "\x24\x37\x0a\x94\x12\xfb\xb5\xb1"
  8069. "\xd3\xb8\x1d\x12\x29\xb0\x80\x24"
  8070. "\x2d\x47\x9f\x96\x1f\x95\xf1\xb1"
  8071. "\xda\x35\xf6\x29\xe0\xe1\x23\x96"
  8072. "\xc7\xe8\x22\x9b\x7c\xac\xf9\x41"
  8073. "\x39\x01\xe5\x73\x15\x5e\x99\xec"
  8074. "\xb4\xc1\xf4\xe7\xa7\x97\x6a\xd5"
  8075. "\x90\x9a\xa0\x1d\xf3\x5a\x8b\x5f"
  8076. "\xdf\x01\x52\xa4\x93\x31\x97\xb0"
  8077. "\x93\x24\xb5\xbc\xb2\x14\x24\x98"
  8078. "\x4a\x8f\x19\x85\xc3\x2d\x0f\x74"
  8079. "\x9d\x16\x13\x80\x5e\x59\x62\x62"
  8080. "\x25\xe0\xd1\x2f\x64\xef\xba\xac"
  8081. "\xcd\x09\x07\x15\x8a\xcf\x73\xb5"
  8082. "\x8b\xc9\xd8\x24\xb0\x53\xd5\x6f"
  8083. "\xe1\x2b\x77\xb1\xc5\xe4\xa7\x0e"
  8084. "\x18\x45\xab\x36\x03\x59\xa8\xbd"
  8085. "\x43\xf0\xd8\x2c\x1a\x69\x96\xbb"
  8086. "\x13\xdf\x6c\x33\x77\xdf\x25\x34"
  8087. "\x5b\xa5\x5b\x8c\xf9\x51\x05\xd4"
  8088. "\x8b\x8b\x44\x87\x49\xfc\xa0\x8f"
  8089. "\x45\x15\x5b\x40\x42\xc4\x09\x92"
  8090. "\x98\x0c\x4d\xf4\x26\x37\x1b\x13"
  8091. "\x76\x01\x93\x8d\x4f\xe6\xed\x18"
  8092. "\xd0\x79\x7b\x3f\x44\x50\xcb\xee"
  8093. "\xf7\x4a\xc9\x9e\xe0\x96\x74\xa7"
  8094. "\xe6\x93\xb2\x53\xca\x55\xa8\xdc"
  8095. "\x1e\x68\x07\x87\xb7\x2e\xc1\x08"
  8096. "\xb2\xa4\x5b\xaf\xc6\xdb\x5c\x66"
  8097. "\x41\x1c\x51\xd9\xb0\x07\x00\x0d"
  8098. "\xf0\x4c\xdc\x93\xde\xa9\x1e\x8e"
  8099. "\xd3\x22\x62\xd8\x8b\x88\x2c\xea"
  8100. "\x5e\xf1\x6e\x14\x40\xc7\xbe\xaa"
  8101. "\x42\x28\xd0\x26\x30\x78\x01\x9b"
  8102. "\x83\x07\xbc\x94\xc7\x57\xa2\x9f"
  8103. "\x03\x07\xff\x16\xff\x3c\x6e\x48"
  8104. "\x0a\xd0\xdd\x4c\xf6\x64\x9a\xf1"
  8105. "\xcd\x30\x12\x82\x2c\x38\xd3\x26"
  8106. "\x83\xdb\xab\x3e\xc6\xf8\xe6\xfa"
  8107. "\x77\x0a\x78\x82\x75\xf8\x63\x51"
  8108. "\x59\xd0\x8d\x24\x9f\x25\xe6\xa3"
  8109. "\x4c\xbc\x34\xfc\xe3\x10\xc7\x62"
  8110. "\xd4\x23\xc8\x3d\xa7\xc6\xa6\x0a"
  8111. "\x4f\x7e\x29\x9d\x6d\xbe\xb5\xf1"
  8112. "\xdf\xa4\x53\xfa\xc0\x23\x0f\x37"
  8113. "\x84\x68\xd0\xb5\xc8\xc6\xae\xf8"
  8114. "\xb7\x8d\xb3\x16\xfe\x8f\x87\xad"
  8115. "\xd0\xc1\x08\xee\x12\x1c\x9b\x1d"
  8116. "\x90\xf8\xd1\x63\xa4\x92\x3c\xf0"
  8117. "\xc7\x34\xd8\xf1\x14\xed\xa3\xbc"
  8118. "\x17\x7e\xd4\x62\x42\x54\x57\x2c"
  8119. "\x3e\x7a\x35\x35\x17\x0f\x0b\x7f"
  8120. "\x81\xa1\x3f\xd0\xcd\xc8\x3b\x96"
  8121. "\xe9\xe0\x4a\x04\xe1\xb6\x3c\xa1"
  8122. "\xd6\xca\xc4\xbd\xb6\xb5\x95\x34"
  8123. "\x12\x9d\xc5\x96\xf2\xdf\xba\x54"
  8124. "\x76\xd1\xb2\x6b\x3b\x39\xe0\xb9"
  8125. "\x18\x62\xfb\xf7\xfc\x12\xf1\x5f"
  8126. "\x7e\xc7\xe3\x59\x4c\xa6\xc2\x3d"
  8127. "\x40\x15\xf9\xa3\x95\x64\x4c\x74"
  8128. "\x8b\x73\x77\x33\x07\xa7\x04\x1d"
  8129. "\x33\x5a\x7e\x8f\xbd\x86\x01\x4f"
  8130. "\x3e\xb9\x27\x6f\xe2\x41\xf7\x09"
  8131. "\x67\xfd\x29\x28\xc5\xe4\xf6\x18"
  8132. "\x4c\x1b\x49\xb2\x9c\x5b\xf6\x81"
  8133. "\x4f\xbb\x5c\xcc\x0b\xdf\x84\x23"
  8134. "\x58\xd6\x28\x34\x93\x3a\x25\x97"
  8135. "\xdf\xb2\xc3\x9e\x97\x38\x0b\x7d"
  8136. "\x10\xb3\x54\x35\x23\x8c\x64\xee"
  8137. "\xf0\xd8\x66\xff\x8b\x22\xd2\x5b"
  8138. "\x05\x16\x3c\x89\xf7\xb1\x75\xaf"
  8139. "\xc0\xae\x6a\x4f\x3f\xaf\x9a\xf4"
  8140. "\xf4\x9a\x24\xd9\x80\x82\xc0\x12"
  8141. "\xde\x96\xd1\xbe\x15\x0b\x8d\x6a"
  8142. "\xd7\x12\xe4\x85\x9f\x83\xc9\xc3"
  8143. "\xff\x0b\xb5\xaf\x3b\xd8\x6d\x67"
  8144. "\x81\x45\xe6\xac\xec\xc1\x7b\x16"
  8145. "\x18\x0a\xce\x4b\xc0\x2e\x76\xbc"
  8146. "\x1b\xfa\xb4\x34\xb8\xfc\x3e\xc8"
  8147. "\x5d\x90\x71\x6d\x7a\x79\xef\x06",
  8148. .ksize = 1088,
  8149. .plaintext = "\xaa\x5d\x54\xcb\xea\x1e\x46\x0f"
  8150. "\x45\x87\x70\x51\x8a\x66\x7a\x33"
  8151. "\xb4\x18\xff\xa9\x82\xf9\x45\x4b"
  8152. "\x93\xae\x2e\x7f\xab\x98\xfe\xbf"
  8153. "\x01\xee\xe5\xa0\x37\x8f\x57\xa6"
  8154. "\xb0\x76\x0d\xa4\xd6\x28\x2b\x5d"
  8155. "\xe1\x03\xd6\x1c\x6f\x34\x0d\xe7"
  8156. "\x61\x2d\x2e\xe5\xae\x5d\x47\xc7"
  8157. "\x80\x4b\x18\x8f\xa8\x99\xbc\x28"
  8158. "\xed\x1d\x9d\x86\x7d\xd7\x41\xd1"
  8159. "\xe0\x2b\xe1\x8c\x93\x2a\xa7\x80"
  8160. "\xe1\x07\xa0\xa9\x9f\x8c\x8d\x1a"
  8161. "\x55\xfc\x6b\x24\x7a\xbd\x3e\x51"
  8162. "\x68\x4b\x26\x59\xc8\xa7\x16\xd9"
  8163. "\xb9\x61\x13\xde\x8b\x63\x1c\xf6"
  8164. "\x60\x01\xfb\x08\xb3\x5b\x0a\xbf"
  8165. "\x34\x73\xda\x87\x87\x3d\x6f\x97"
  8166. "\x4a\x0c\xa3\x58\x20\xa2\xc0\x81"
  8167. "\x5b\x8c\xef\xa9\xc2\x01\x1e\x64"
  8168. "\x83\x8c\xbc\x03\xb6\xd0\x29\x9f"
  8169. "\x54\xe2\xce\x8b\xc2\x07\x85\x78"
  8170. "\x25\x38\x96\x4c\xb4\xbe\x17\x4a"
  8171. "\x65\xa6\xfa\x52\x9d\x66\x9d\x65"
  8172. "\x4a\xd1\x01\x01\xf0\xcb\x13\xcc"
  8173. "\xa5\x82\xf3\xf2\x66\xcd\x3f\x9d"
  8174. "\xd1\xaa\xe4\x67\xea\xf2\xad\x88"
  8175. "\x56\x76\xa7\x9b\x59\x3c\xb1\x5d"
  8176. "\x78\xfd\x69\x79\x74\x78\x43\x26"
  8177. "\x7b\xde\x3f\xf1\xf5\x4e\x14\xd9"
  8178. "\x15\xf5\x75\xb5\x2e\x19\xf3\x0c"
  8179. "\x48\x72\xd6\x71\x6d\x03\x6e\xaa"
  8180. "\xa7\x08\xf9\xaa\x70\xa3\x0f\x4d"
  8181. "\x12\x8a\xdd\xe3\x39\x73\x7e\xa7"
  8182. "\xea\x1f\x6d\x06\x26\x2a\xf2\xc5"
  8183. "\x52\xb4\xbf\xfd\x52\x0c\x06\x60"
  8184. "\x90\xd1\xb2\x7b\x56\xae\xac\x58"
  8185. "\x5a\x6b\x50\x2a\xf5\xe0\x30\x3c"
  8186. "\x2a\x98\x0f\x1b\x5b\x0a\x84\x6c"
  8187. "\x31\xae\x92\xe2\xd4\xbb\x7f\x59"
  8188. "\x26\x10\xb9\x89\x37\x68\x26\xbf"
  8189. "\x41\xc8\x49\xc4\x70\x35\x7d\xff"
  8190. "\x2d\x7f\xf6\x8a\x93\x68\x8c\x78"
  8191. "\x0d\x53\xce\x7d\xff\x7d\xfb\xae"
  8192. "\x13\x1b\x75\xc4\x78\xd7\x71\xd8"
  8193. "\xea\xd3\xf4\x9d\x95\x64\x8e\xb4"
  8194. "\xde\xb8\xe4\xa6\x68\xc8\xae\x73"
  8195. "\x58\xaf\xa8\xb0\x5a\x20\xde\x87"
  8196. "\x43\xb9\x0f\xe3\xad\x41\x4b\xd5"
  8197. "\xb7\xad\x16\x00\xa6\xff\xf6\x74"
  8198. "\xbf\x8c\x9f\xb3\x58\x1b\xb6\x55"
  8199. "\xa9\x90\x56\x28\xf0\xb5\x13\x4e"
  8200. "\x9e\xf7\x25\x86\xe0\x07\x7b\x98"
  8201. "\xd8\x60\x5d\x38\x95\x3c\xe4\x22"
  8202. "\x16\x2f\xb2\xa2\xaf\xe8\x90\x17"
  8203. "\xec\x11\x83\x1a\xf4\xa9\x26\xda"
  8204. "\x39\x72\xf5\x94\x61\x05\x51\xec"
  8205. "\xa8\x30\x8b\x2c\x13\xd0\x72\xac"
  8206. "\xb9\xd2\xa0\x4c\x4b\x78\xe8\x6e"
  8207. "\x04\x85\xe9\x04\x49\x82\x91\xff"
  8208. "\x89\xe5\xab\x4c\xaa\x37\x03\x12"
  8209. "\xca\x8b\x74\x10\xfd\x9e\xd9\x7b"
  8210. "\xcb\xdb\x82\x6e\xce\x2e\x33\x39"
  8211. "\xce\xd2\x84\x6e\x34\x71\x51\x6e"
  8212. "\x0d\xd6\x01\x87\xc7\xfa\x0a\xd3"
  8213. "\xad\x36\xf3\x4c\x9f\x96\x5e\x62"
  8214. "\x62\x54\xc3\x03\x78\xd6\xab\xdd"
  8215. "\x89\x73\x55\x25\x30\xf8\xa7\xe6"
  8216. "\x4f\x11\x0c\x7c\x0a\xa1\x2b\x7b"
  8217. "\x3d\x0d\xde\x81\xd4\x9d\x0b\xae"
  8218. "\xdf\x00\xf9\x4c\xb6\x90\x8e\x16"
  8219. "\xcb\x11\xc8\xd1\x2e\x73\x13\x75"
  8220. "\x75\x3e\xaa\xf5\xee\x02\xb3\x18"
  8221. "\xa6\x2d\xf5\x3b\x51\xd1\x1f\x47"
  8222. "\x6b\x2c\xdb\xc4\x10\xe0\xc8\xba"
  8223. "\x9d\xac\xb1\x9d\x75\xd5\x41\x0e"
  8224. "\x7e\xbe\x18\x5b\xa4\x1f\xf8\x22"
  8225. "\x4c\xc1\x68\xda\x6d\x51\x34\x6c"
  8226. "\x19\x59\xec\xb5\xb1\xec\xa7\x03"
  8227. "\xca\x54\x99\x63\x05\x6c\xb1\xac"
  8228. "\x9c\x31\xd6\xdb\xba\x7b\x14\x12"
  8229. "\x7a\xc3\x2f\xbf\x8d\xdc\x37\x46"
  8230. "\xdb\xd2\xbc\xd4\x2f\xab\x30\xd5"
  8231. "\xed\x34\x99\x8e\x83\x3e\xbe\x4c"
  8232. "\x86\x79\x58\xe0\x33\x8d\x9a\xb8"
  8233. "\xa9\xa6\x90\x46\xa2\x02\xb8\xdd"
  8234. "\xf5\xf9\x1a\x5c\x8c\x01\xaa\x6e"
  8235. "\xb4\x22\x12\xf5\x0c\x1b\x9b\x7a"
  8236. "\xc3\x80\xf3\x06\x00\x5f\x30\xd5"
  8237. "\x06\xdb\x7d\x82\xc2\xd4\x0b\x4c"
  8238. "\x5f\xe9\xc5\xf5\xdf\x97\x12\xbf"
  8239. "\x56\xaf\x9b\x69\xcd\xee\x30\xb4"
  8240. "\xa8\x71\xff\x3e\x7d\x73\x7a\xb4"
  8241. "\x0d\xa5\x46\x7a\xf3\xf4\x15\x87"
  8242. "\x5d\x93\x2b\x8c\x37\x64\xb5\xdd"
  8243. "\x48\xd1\xe5\x8c\xae\xd4\xf1\x76"
  8244. "\xda\xf4\xba\x9e\x25\x0e\xad\xa3"
  8245. "\x0d\x08\x7c\xa8\x82\x16\x8d\x90"
  8246. "\x56\x40\x16\x84\xe7\x22\x53\x3a"
  8247. "\x58\xbc\xb9\x8f\x33\xc8\xc2\x84"
  8248. "\x22\xe6\x0d\xe7\xb3\xdc\x5d\xdf"
  8249. "\xd7\x2a\x36\xe4\x16\x06\x07\xd2"
  8250. "\x97\x60\xb2\xf5\x5e\x14\xc9\xfd"
  8251. "\x8b\x05\xd1\xce\xee\x9a\x65\x99"
  8252. "\xb7\xae\x19\xb7\xc8\xbc\xd5\xa2"
  8253. "\x7b\x95\xe1\xcc\xba\x0d\xdc\x8a"
  8254. "\x1d\x59\x52\x50\xaa\x16\x02\x82"
  8255. "\xdf\x61\x33\x2e\x44\xce\x49\xc7"
  8256. "\xe5\xc6\x2e\x76\xcf\x80\x52\xf0"
  8257. "\x3d\x17\x34\x47\x3f\xd3\x80\x48"
  8258. "\xa2\xba\xd5\xc7\x7b\x02\x28\xdb"
  8259. "\xac\x44\xc7\x6e\x05\x5c\xc2\x79"
  8260. "\xb3\x7d\x6a\x47\x77\x66\xf1\x38"
  8261. "\xf0\xf5\x4f\x27\x1a\x31\xca\x6c"
  8262. "\x72\x95\x92\x8e\x3f\xb0\xec\x1d"
  8263. "\xc7\x2a\xff\x73\xee\xdf\x55\x80"
  8264. "\x93\xd2\xbd\x34\xd3\x9f\x00\x51"
  8265. "\xfb\x2e\x41\xba\x6c\x5a\x7c\x17"
  8266. "\x7f\xe6\x70\xac\x8d\x39\x3f\x77"
  8267. "\xe2\x23\xac\x8f\x72\x4e\xe4\x53"
  8268. "\xcc\xf1\x1b\xf1\x35\xfe\x52\xa4"
  8269. "\xd6\xb8\x40\x6b\xc1\xfd\xa0\xa1"
  8270. "\xf5\x46\x65\xc2\x50\xbb\x43\xe2"
  8271. "\xd1\x43\x28\x34\x74\xf5\x87\xa0"
  8272. "\xf2\x5e\x27\x3b\x59\x2b\x3e\x49"
  8273. "\xdf\x46\xee\xaf\x71\xd7\x32\x36"
  8274. "\xc7\x14\x0b\x58\x6e\x3e\x2d\x41"
  8275. "\xfa\x75\x66\x3a\x54\xe0\xb2\xb9"
  8276. "\xaf\xdd\x04\x80\x15\x19\x3f\x6f"
  8277. "\xce\x12\xb4\xd8\xe8\x89\x3c\x05"
  8278. "\x30\xeb\xf3\x3d\xcd\x27\xec\xdc"
  8279. "\x56\x70\x12\xcf\x78\x2b\x77\xbf"
  8280. "\x22\xf0\x1b\x17\x9c\xcc\xd6\x1b"
  8281. "\x2d\x3d\xa0\x3b\xd8\xc9\x70\xa4"
  8282. "\x7a\x3e\x07\xb9\x06\xc3\xfa\xb0"
  8283. "\x33\xee\xc1\xd8\xf6\xe0\xf0\xb2"
  8284. "\x61\x12\x69\xb0\x5f\x28\x99\xda"
  8285. "\xc3\x61\x48\xfa\x07\x16\x03\xc4"
  8286. "\xa8\xe1\x3c\xe8\x0e\x64\x15\x30"
  8287. "\xc1\x9d\x84\x2f\x73\x98\x0e\x3a"
  8288. "\xf2\x86\x21\xa4\x9e\x1d\xb5\x86"
  8289. "\x16\xdb\x2b\x9a\x06\x64\x8e\x79"
  8290. "\x8d\x76\x3e\xc3\xc2\x64\x44\xe3"
  8291. "\xda\xbc\x1a\x52\xd7\x61\x03\x65"
  8292. "\x54\x32\x77\x01\xed\x9d\x8a\x43"
  8293. "\x25\x24\xe3\xc1\xbe\xb8\x2f\xcb"
  8294. "\x89\x14\x64\xab\xf6\xa0\x6e\x02"
  8295. "\x57\xe4\x7d\xa9\x4e\x9a\x03\x36"
  8296. "\xad\xf1\xb1\xfc\x0b\xe6\x79\x51"
  8297. "\x9f\x81\x77\xc4\x14\x78\x9d\xbf"
  8298. "\xb6\xd6\xa3\x8c\xba\x0b\x26\xe7"
  8299. "\xc8\xb9\x5c\xcc\xe1\x5f\xd5\xc6"
  8300. "\xc4\xca\xc2\xa3\x45\xba\x94\x13"
  8301. "\xb2\x8f\xc3\x54\x01\x09\xe7\x8b"
  8302. "\xda\x2a\x0a\x11\x02\x43\xcb\x57"
  8303. "\xc9\xcc\xb5\x5c\xab\xc4\xec\x54"
  8304. "\x00\x06\x34\xe1\x6e\x03\x89\x7c"
  8305. "\xc6\xfb\x6a\xc7\x60\x43\xd6\xc5"
  8306. "\xb5\x68\x72\x89\x8f\x42\xc3\x74"
  8307. "\xbd\x25\xaa\x9f\x67\xb5\xdf\x26"
  8308. "\x20\xe8\xb7\x01\x3c\xe4\x77\xce"
  8309. "\xc4\x65\xa7\x23\x79\xea\x33\xc7"
  8310. "\x82\x14\x5c\x82\xf2\x4e\x3d\xf6"
  8311. "\xc6\x4a\x0e\x29\xbb\xec\x44\xcd"
  8312. "\x2f\xd1\x4f\x21\x71\xa9\xce\x0f"
  8313. "\x5c\xf2\x72\x5c\x08\x2e\x21\xd2"
  8314. "\xc3\x29\x13\xd8\xac\xc3\xda\x13"
  8315. "\x1a\x9d\xa7\x71\x1d\x27\x1d\x27"
  8316. "\x1d\xea\xab\x44\x79\xad\xe5\xeb"
  8317. "\xef\x1f\x22\x0a\x44\x4f\xcb\x87"
  8318. "\xa7\x58\x71\x0e\x66\xf8\x60\xbf"
  8319. "\x60\x74\x4a\xb4\xec\x2e\xfe\xd3"
  8320. "\xf5\xb8\xfe\x46\x08\x50\x99\x6c"
  8321. "\x66\xa5\xa8\x34\x44\xb5\xe5\xf0"
  8322. "\xdd\x2c\x67\x4e\x35\x96\x8e\x67"
  8323. "\x48\x3f\x5f\x37\x44\x60\x51\x2e"
  8324. "\x14\x91\x5e\x57\xc3\x0e\x79\x77"
  8325. "\x2f\x03\xf4\xe2\x1c\x72\xbf\x85"
  8326. "\x5d\xd3\x17\xdf\x6c\xc5\x70\x24"
  8327. "\x42\xdf\x51\x4e\x2a\xb2\xd2\x5b"
  8328. "\x9e\x69\x83\x41\x11\xfe\x73\x22"
  8329. "\xde\x8a\x9e\xd8\x8a\xfb\x20\x38"
  8330. "\xd8\x47\x6f\xd5\xed\x8f\x41\xfd"
  8331. "\x13\x7a\x18\x03\x7d\x0f\xcd\x7d"
  8332. "\xa6\x7d\x31\x9e\xf1\x8f\x30\xa3"
  8333. "\x8b\x4c\x24\xb7\xf5\x48\xd7\xd9"
  8334. "\x12\xe7\x84\x97\x5c\x31\x6d\xfb"
  8335. "\xdf\xf3\xd3\xd1\xd5\x0c\x30\x06"
  8336. "\x01\x6a\xbc\x6c\x78\x7b\xa6\x50"
  8337. "\xfa\x0f\x3c\x42\x2d\xa5\xa3\x3b"
  8338. "\xcf\x62\x50\xff\x71\x6d\xe7\xda"
  8339. "\x27\xab\xc6\x67\x16\x65\x68\x64"
  8340. "\xc7\xd5\x5f\x81\xa9\xf6\x65\xb3"
  8341. "\x5e\x43\x91\x16\xcd\x3d\x55\x37"
  8342. "\x55\xb3\xf0\x28\xc5\x54\x19\xc0"
  8343. "\xe0\xd6\x2a\x61\xd4\xc8\x72\x51"
  8344. "\xe9\xa1\x7b\x48\x21\xad\x44\x09"
  8345. "\xe4\x01\x61\x3c\x8a\x5b\xf9\xa1"
  8346. "\x6e\x1b\xdf\xc0\x04\xa8\x8b\xf2"
  8347. "\x21\xbe\x34\x7b\xfc\xa1\xcd\xc9"
  8348. "\xa9\x96\xf4\xa4\x4c\xf7\x4e\x8f"
  8349. "\x84\xcc\xd3\xa8\x92\x77\x8f\x36"
  8350. "\xe2\x2e\x8c\x33\xe8\x84\xa6\x0c"
  8351. "\x6c\x8a\xda\x14\x32\xc2\x96\xff"
  8352. "\xc6\x4a\xc2\x9b\x30\x7f\xd1\x29"
  8353. "\xc0\xd5\x78\x41\x00\x80\x80\x03"
  8354. "\x2a\xb1\xde\x26\x03\x48\x49\xee"
  8355. "\x57\x14\x76\x51\x3c\x36\x5d\x0a"
  8356. "\x5c\x9f\xe8\xd8\x53\xdb\x4f\xd4"
  8357. "\x38\xbf\x66\xc9\x75\x12\x18\x75"
  8358. "\x34\x2d\x93\x22\x96\x51\x24\x6e"
  8359. "\x4e\xd9\x30\xea\x67\xff\x92\x1c"
  8360. "\x16\x26\xe9\xb5\x33\xab\x8c\x22"
  8361. "\x47\xdb\xa0\x2c\x08\xf0\x12\x69"
  8362. "\x7e\x93\x52\xda\xa5\xe5\xca\xc1"
  8363. "\x0f\x55\x2a\xbd\x09\x30\x88\x1b"
  8364. "\x9c\xc6\x9f\xe6\xdb\xa6\x92\xeb"
  8365. "\xf4\xbd\x5c\xc4\xdb\xc6\x71\x09"
  8366. "\xab\x5e\x48\x0c\xed\x6f\xda\x8e"
  8367. "\x8d\x0c\x98\x71\x7d\x10\xd0\x9c"
  8368. "\x20\x9b\x79\x53\x26\x5d\xb9\x85"
  8369. "\x8a\x31\xb8\xc5\x1c\x97\xde\x88"
  8370. "\x61\x55\x7f\x7c\x21\x06\xea\xc4"
  8371. "\x5f\xaf\xf2\xf0\xd5\x5e\x7d\xb4"
  8372. "\x6e\xcf\xe9\xae\x1b\x0e\x11\x80"
  8373. "\xc1\x9a\x74\x7e\x52\x6f\xa0\xb7"
  8374. "\x24\xcd\x8d\x0a\x11\x40\x63\x72"
  8375. "\xfa\xe2\xc5\xb3\x94\xef\x29\xa2"
  8376. "\x1a\x23\x43\x04\x37\x55\x0d\xe9"
  8377. "\x83\xb2\x29\x51\x49\x64\xa0\xbd"
  8378. "\xde\x73\xfd\xa5\x7c\x95\x70\x62"
  8379. "\x58\xdc\xe2\xd0\xbf\x98\xf5\x8a"
  8380. "\x6a\xfd\xce\xa8\x0e\x42\x2a\xeb"
  8381. "\xd2\xff\x83\x27\x53\x5c\xa0\x6e"
  8382. "\x93\xef\xe2\xb9\x5d\x35\xd6\x98"
  8383. "\xf6\x71\x19\x7a\x54\xa1\xa7\xe8"
  8384. "\x09\xfe\xf6\x9e\xc7\xbd\x3e\x29"
  8385. "\xbd\x6b\x17\xf4\xe7\x3e\x10\x5c"
  8386. "\xc1\xd2\x59\x4f\x4b\x12\x1a\x5b"
  8387. "\x50\x80\x59\xb9\xec\x13\x66\xa8"
  8388. "\xd2\x31\x7b\x6a\x61\x22\xdd\x7d"
  8389. "\x61\xee\x87\x16\x46\x9f\xf9\xc7"
  8390. "\x41\xee\x74\xf8\xd0\x96\x2c\x76"
  8391. "\x2a\xac\x7d\x6e\x9f\x0e\x7f\x95"
  8392. "\xfe\x50\x16\xb2\x23\xca\x62\xd5"
  8393. "\x68\xcf\x07\x3f\x3f\x97\x85\x2a"
  8394. "\x0c\x25\x45\xba\xdb\x32\xcb\x83"
  8395. "\x8c\x4f\xe0\x6d\x9a\x99\xf9\xc9"
  8396. "\xda\xd4\x19\x31\xc1\x7c\x6d\xd9"
  8397. "\x9c\x56\xd3\xec\xc1\x81\x4c\xed"
  8398. "\x28\x9d\x87\xeb\x19\xd7\x1a\x4f"
  8399. "\x04\x6a\xcb\x1f\xcf\x1f\xa2\x16"
  8400. "\xfc\x2a\x0d\xa1\x14\x2d\xfa\xc5"
  8401. "\x5a\xd2\xc5\xf9\x19\x7c\x20\x1f"
  8402. "\x2d\x10\xc0\x66\x7c\xd9\x2d\xe5"
  8403. "\x88\x70\x59\xa7\x85\xd5\x2e\x7c"
  8404. "\x5c\xe3\xb7\x12\xd6\x97\x3f\x29",
  8405. .psize = 2048,
  8406. .digest = "\x37\x90\x92\xc2\xeb\x01\x87\xd9"
  8407. "\x95\xc7\x91\xc3\x17\x8b\x38\x52",
  8408. }
  8409. };
  8410. /*
  8411. * DES test vectors.
  8412. */
  8413. static const struct cipher_testvec des_tv_template[] = {
  8414. { /* From Applied Cryptography */
  8415. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  8416. .klen = 8,
  8417. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
  8418. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
  8419. .len = 8,
  8420. }, { /* Same key, different plaintext block */
  8421. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  8422. .klen = 8,
  8423. .ptext = "\x22\x33\x44\x55\x66\x77\x88\x99",
  8424. .ctext = "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
  8425. .len = 8,
  8426. }, { /* Sbox test from NBS */
  8427. .key = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
  8428. .klen = 8,
  8429. .ptext = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
  8430. .ctext = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
  8431. .len = 8,
  8432. }, { /* Three blocks */
  8433. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  8434. .klen = 8,
  8435. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
  8436. "\x22\x33\x44\x55\x66\x77\x88\x99"
  8437. "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
  8438. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
  8439. "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
  8440. "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
  8441. .len = 24,
  8442. }, { /* Weak key */
  8443. .setkey_error = -EINVAL,
  8444. .wk = 1,
  8445. .key = "\x01\x01\x01\x01\x01\x01\x01\x01",
  8446. .klen = 8,
  8447. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
  8448. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
  8449. .len = 8,
  8450. }, { /* Two blocks -- for testing encryption across pages */
  8451. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  8452. .klen = 8,
  8453. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
  8454. "\x22\x33\x44\x55\x66\x77\x88\x99",
  8455. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
  8456. "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
  8457. .len = 16,
  8458. }, {
  8459. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  8460. .klen = 8,
  8461. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
  8462. "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
  8463. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
  8464. "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
  8465. .len = 16,
  8466. }, { /* Four blocks -- for testing encryption with chunking */
  8467. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  8468. .klen = 8,
  8469. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
  8470. "\x22\x33\x44\x55\x66\x77\x88\x99"
  8471. "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
  8472. "\x22\x33\x44\x55\x66\x77\x88\x99",
  8473. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
  8474. "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
  8475. "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
  8476. "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
  8477. .len = 32,
  8478. }, { /* Generated with Crypto++ */
  8479. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
  8480. .klen = 8,
  8481. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  8482. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  8483. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  8484. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  8485. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  8486. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  8487. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  8488. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  8489. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  8490. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  8491. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  8492. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  8493. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  8494. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  8495. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  8496. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  8497. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  8498. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  8499. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  8500. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  8501. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  8502. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  8503. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  8504. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  8505. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  8506. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  8507. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  8508. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  8509. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  8510. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  8511. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
  8512. .ctext = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
  8513. "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
  8514. "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
  8515. "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
  8516. "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
  8517. "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
  8518. "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
  8519. "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
  8520. "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
  8521. "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
  8522. "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
  8523. "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
  8524. "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
  8525. "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
  8526. "\x2E\x51\x16\xCA\x09\x89\x54\x62"
  8527. "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
  8528. "\x62\xF0\x02\x58\x83\xAF\x30\x87"
  8529. "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
  8530. "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
  8531. "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
  8532. "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
  8533. "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
  8534. "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
  8535. "\xE9\x95\x61\x74\x12\xED\x07\xD7"
  8536. "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
  8537. "\x51\x96\x16\xF7\x94\x61\xB8\x87"
  8538. "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
  8539. "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
  8540. "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
  8541. "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
  8542. "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
  8543. .len = 248,
  8544. },
  8545. };
  8546. static const struct cipher_testvec des_cbc_tv_template[] = {
  8547. { /* From OpenSSL */
  8548. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  8549. .klen = 8,
  8550. .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  8551. .iv_out = "\x46\x8e\x91\x15\x78\x88\xba\x68",
  8552. .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
  8553. "\x4e\x6f\x77\x20\x69\x73\x20\x74"
  8554. "\x68\x65\x20\x74\x69\x6d\x65\x20",
  8555. .ctext = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
  8556. "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
  8557. "\x46\x8e\x91\x15\x78\x88\xba\x68",
  8558. .len = 24,
  8559. }, { /* FIPS Pub 81 */
  8560. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  8561. .klen = 8,
  8562. .iv = "\x12\x34\x56\x78\x90\xab\xcd\xef",
  8563. .iv_out = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
  8564. .ptext = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
  8565. .ctext = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
  8566. .len = 8,
  8567. }, {
  8568. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  8569. .klen = 8,
  8570. .iv = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
  8571. .iv_out = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
  8572. .ptext = "\x68\x65\x20\x74\x69\x6d\x65\x20",
  8573. .ctext = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
  8574. .len = 8,
  8575. }, {
  8576. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  8577. .klen = 8,
  8578. .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
  8579. .iv_out = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
  8580. .ptext = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
  8581. .ctext = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
  8582. .len = 8,
  8583. }, { /* Generated with Crypto++ */
  8584. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
  8585. .klen = 8,
  8586. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
  8587. .iv_out = "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
  8588. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  8589. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  8590. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  8591. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  8592. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  8593. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  8594. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  8595. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  8596. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  8597. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  8598. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  8599. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  8600. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  8601. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  8602. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  8603. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  8604. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  8605. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  8606. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  8607. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  8608. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  8609. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  8610. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  8611. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  8612. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  8613. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  8614. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  8615. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  8616. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  8617. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  8618. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
  8619. .ctext = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
  8620. "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
  8621. "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
  8622. "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
  8623. "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
  8624. "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
  8625. "\x81\x72\x74\xDE\x30\x19\x69\x49"
  8626. "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
  8627. "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
  8628. "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
  8629. "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
  8630. "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
  8631. "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
  8632. "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
  8633. "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
  8634. "\x49\x90\x88\x6A\x09\x8F\x76\x59"
  8635. "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
  8636. "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
  8637. "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
  8638. "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
  8639. "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
  8640. "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
  8641. "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
  8642. "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
  8643. "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
  8644. "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
  8645. "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
  8646. "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
  8647. "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
  8648. "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
  8649. "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
  8650. .len = 248,
  8651. },
  8652. };
  8653. static const struct cipher_testvec des_ctr_tv_template[] = {
  8654. { /* Generated with Crypto++ */
  8655. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
  8656. .klen = 8,
  8657. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  8658. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x1C",
  8659. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  8660. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  8661. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  8662. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  8663. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  8664. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  8665. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  8666. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  8667. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  8668. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  8669. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  8670. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  8671. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  8672. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  8673. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  8674. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  8675. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  8676. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  8677. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  8678. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  8679. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  8680. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  8681. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  8682. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  8683. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  8684. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  8685. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  8686. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  8687. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  8688. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  8689. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
  8690. .ctext = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
  8691. "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
  8692. "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
  8693. "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
  8694. "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
  8695. "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
  8696. "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
  8697. "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
  8698. "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
  8699. "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
  8700. "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
  8701. "\xBE\x4C\x91\x43\x22\x65\x72\x48"
  8702. "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
  8703. "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
  8704. "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
  8705. "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
  8706. "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
  8707. "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
  8708. "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
  8709. "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
  8710. "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
  8711. "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
  8712. "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
  8713. "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
  8714. "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
  8715. "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
  8716. "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
  8717. "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
  8718. "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
  8719. "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
  8720. "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
  8721. .len = 248,
  8722. }, { /* Generated with Crypto++ */
  8723. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
  8724. .klen = 8,
  8725. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
  8726. .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x66",
  8727. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  8728. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  8729. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  8730. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  8731. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  8732. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  8733. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  8734. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  8735. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  8736. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  8737. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  8738. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  8739. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  8740. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  8741. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  8742. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  8743. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  8744. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  8745. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  8746. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  8747. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  8748. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  8749. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  8750. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  8751. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  8752. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  8753. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  8754. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  8755. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  8756. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  8757. "\xC6\x2F\xBB\x24\x8D\x19\x82",
  8758. .ctext = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
  8759. "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
  8760. "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
  8761. "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
  8762. "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
  8763. "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
  8764. "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
  8765. "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
  8766. "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
  8767. "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
  8768. "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
  8769. "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
  8770. "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
  8771. "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
  8772. "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
  8773. "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
  8774. "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
  8775. "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
  8776. "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
  8777. "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
  8778. "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
  8779. "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
  8780. "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
  8781. "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
  8782. "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
  8783. "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
  8784. "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
  8785. "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
  8786. "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
  8787. "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
  8788. "\x91\x45\x05\x3E\x58\xBF\x32",
  8789. .len = 247,
  8790. },
  8791. };
  8792. static const struct cipher_testvec des3_ede_tv_template[] = {
  8793. { /* These are from openssl */
  8794. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  8795. "\x55\x55\x55\x55\x55\x55\x55\x55"
  8796. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  8797. .klen = 24,
  8798. .ptext = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
  8799. .ctext = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
  8800. .len = 8,
  8801. }, {
  8802. .key = "\x03\x52\x02\x07\x67\x20\x82\x17"
  8803. "\x86\x02\x87\x66\x59\x08\x21\x98"
  8804. "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
  8805. .klen = 24,
  8806. .ptext = "\x73\x71\x75\x69\x67\x67\x6c\x65",
  8807. .ctext = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
  8808. .len = 8,
  8809. }, {
  8810. .key = "\x10\x46\x10\x34\x89\x98\x80\x20"
  8811. "\x91\x07\xd0\x15\x89\x19\x01\x01"
  8812. "\x19\x07\x92\x10\x98\x1a\x01\x01",
  8813. .klen = 24,
  8814. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  8815. .ctext = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
  8816. .len = 8,
  8817. }, { /* Generated with Crypto++ */
  8818. .key = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
  8819. "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
  8820. "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
  8821. .klen = 24,
  8822. .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
  8823. "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
  8824. "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
  8825. "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
  8826. "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
  8827. "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
  8828. "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
  8829. "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
  8830. "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
  8831. "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
  8832. "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
  8833. "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
  8834. "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
  8835. "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
  8836. "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
  8837. "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
  8838. "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
  8839. "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
  8840. "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
  8841. "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
  8842. "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
  8843. "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
  8844. "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
  8845. "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
  8846. "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
  8847. "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
  8848. "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
  8849. "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
  8850. "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
  8851. "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
  8852. "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
  8853. "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
  8854. "\x50\x3B\x82\x15\x99\x60\xCB\x52"
  8855. "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
  8856. "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
  8857. "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
  8858. "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
  8859. "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
  8860. "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
  8861. "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
  8862. "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
  8863. "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
  8864. "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
  8865. "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
  8866. "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
  8867. "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
  8868. "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
  8869. "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
  8870. "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
  8871. "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
  8872. "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
  8873. "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
  8874. "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
  8875. "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
  8876. "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
  8877. "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
  8878. "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
  8879. "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
  8880. "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
  8881. "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
  8882. "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
  8883. "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
  8884. .ctext = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
  8885. "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
  8886. "\x81\x01\x04\x00\x76\xFA\xED\xD3"
  8887. "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
  8888. "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
  8889. "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
  8890. "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
  8891. "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
  8892. "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
  8893. "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
  8894. "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
  8895. "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
  8896. "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
  8897. "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
  8898. "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
  8899. "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
  8900. "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
  8901. "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
  8902. "\x45\x86\x50\x01\x70\x35\x99\x92"
  8903. "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
  8904. "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
  8905. "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
  8906. "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
  8907. "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
  8908. "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
  8909. "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
  8910. "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
  8911. "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
  8912. "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
  8913. "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
  8914. "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
  8915. "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
  8916. "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
  8917. "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
  8918. "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
  8919. "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
  8920. "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
  8921. "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
  8922. "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
  8923. "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
  8924. "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
  8925. "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
  8926. "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
  8927. "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
  8928. "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
  8929. "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
  8930. "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
  8931. "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
  8932. "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
  8933. "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
  8934. "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
  8935. "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
  8936. "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
  8937. "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
  8938. "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
  8939. "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
  8940. "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
  8941. "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
  8942. "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
  8943. "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
  8944. "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
  8945. "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
  8946. .len = 496,
  8947. },
  8948. };
  8949. static const struct cipher_testvec des3_ede_cbc_tv_template[] = {
  8950. { /* Generated from openssl */
  8951. .key = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  8952. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  8953. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  8954. .klen = 24,
  8955. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  8956. .iv_out = "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
  8957. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  8958. "\x53\x20\x63\x65\x65\x72\x73\x74"
  8959. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  8960. "\x20\x79\x65\x53\x72\x63\x74\x65"
  8961. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  8962. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  8963. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  8964. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  8965. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  8966. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  8967. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  8968. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  8969. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  8970. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  8971. "\x63\x65\x65\x72\x73\x74\x54\x20"
  8972. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  8973. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  8974. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  8975. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  8976. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  8977. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  8978. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  8979. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  8980. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  8981. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  8982. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  8983. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  8984. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  8985. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  8986. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  8987. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  8988. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
  8989. .len = 128,
  8990. }, { /* Generated with Crypto++ */
  8991. .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
  8992. "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
  8993. "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
  8994. .klen = 24,
  8995. .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
  8996. "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
  8997. .iv_out = "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
  8998. .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
  8999. "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
  9000. "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
  9001. "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
  9002. "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
  9003. "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
  9004. "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
  9005. "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
  9006. "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
  9007. "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
  9008. "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
  9009. "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
  9010. "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
  9011. "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
  9012. "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
  9013. "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
  9014. "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
  9015. "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
  9016. "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
  9017. "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
  9018. "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
  9019. "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
  9020. "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
  9021. "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
  9022. "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
  9023. "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
  9024. "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
  9025. "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
  9026. "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
  9027. "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
  9028. "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
  9029. "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
  9030. "\x50\x3B\x82\x15\x99\x60\xCB\x52"
  9031. "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
  9032. "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
  9033. "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
  9034. "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
  9035. "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
  9036. "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
  9037. "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
  9038. "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
  9039. "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
  9040. "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
  9041. "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
  9042. "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
  9043. "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
  9044. "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
  9045. "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
  9046. "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
  9047. "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
  9048. "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
  9049. "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
  9050. "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
  9051. "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
  9052. "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
  9053. "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
  9054. "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
  9055. "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
  9056. "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
  9057. "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
  9058. "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
  9059. "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
  9060. .ctext = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
  9061. "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
  9062. "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
  9063. "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
  9064. "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
  9065. "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
  9066. "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
  9067. "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
  9068. "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
  9069. "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
  9070. "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
  9071. "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
  9072. "\x11\x35\x61\x94\x88\x7B\x1C\x48"
  9073. "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
  9074. "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
  9075. "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
  9076. "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
  9077. "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
  9078. "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
  9079. "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
  9080. "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
  9081. "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
  9082. "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
  9083. "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
  9084. "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
  9085. "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
  9086. "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
  9087. "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
  9088. "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
  9089. "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
  9090. "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
  9091. "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
  9092. "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
  9093. "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
  9094. "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
  9095. "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
  9096. "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
  9097. "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
  9098. "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
  9099. "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
  9100. "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
  9101. "\x73\x50\x08\x56\x20\x9B\x94\x23"
  9102. "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
  9103. "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
  9104. "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
  9105. "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
  9106. "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
  9107. "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
  9108. "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
  9109. "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
  9110. "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
  9111. "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
  9112. "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
  9113. "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
  9114. "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
  9115. "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
  9116. "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
  9117. "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
  9118. "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
  9119. "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
  9120. "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
  9121. "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
  9122. .len = 496,
  9123. },
  9124. };
  9125. static const struct cipher_testvec des3_ede_ctr_tv_template[] = {
  9126. { /* Generated with Crypto++ */
  9127. .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
  9128. "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
  9129. "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
  9130. .klen = 24,
  9131. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF",
  9132. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3D",
  9133. .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
  9134. "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
  9135. "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
  9136. "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
  9137. "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
  9138. "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
  9139. "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
  9140. "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
  9141. "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
  9142. "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
  9143. "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
  9144. "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
  9145. "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
  9146. "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
  9147. "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
  9148. "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
  9149. "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
  9150. "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
  9151. "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
  9152. "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
  9153. "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
  9154. "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
  9155. "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
  9156. "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
  9157. "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
  9158. "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
  9159. "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
  9160. "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
  9161. "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
  9162. "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
  9163. "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
  9164. "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
  9165. "\x50\x3B\x82\x15\x99\x60\xCB\x52"
  9166. "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
  9167. "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
  9168. "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
  9169. "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
  9170. "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
  9171. "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
  9172. "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
  9173. "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
  9174. "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
  9175. "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
  9176. "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
  9177. "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
  9178. "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
  9179. "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
  9180. "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
  9181. "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
  9182. "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
  9183. "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
  9184. "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
  9185. "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
  9186. "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
  9187. "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
  9188. "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
  9189. "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
  9190. "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
  9191. "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
  9192. "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
  9193. "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
  9194. "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
  9195. .ctext = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
  9196. "\x19\xCD\x6F\x32\x53\x05\x22\x15"
  9197. "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
  9198. "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
  9199. "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
  9200. "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
  9201. "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
  9202. "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
  9203. "\x13\x78\xDC\x89\x12\x12\x43\xFA"
  9204. "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
  9205. "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
  9206. "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
  9207. "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
  9208. "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
  9209. "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
  9210. "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
  9211. "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
  9212. "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
  9213. "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
  9214. "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
  9215. "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
  9216. "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
  9217. "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
  9218. "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
  9219. "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
  9220. "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
  9221. "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
  9222. "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
  9223. "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
  9224. "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
  9225. "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
  9226. "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
  9227. "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
  9228. "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
  9229. "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
  9230. "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
  9231. "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
  9232. "\x83\x37\x4F\x1F\x48\x30\xED\x04"
  9233. "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
  9234. "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
  9235. "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
  9236. "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
  9237. "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
  9238. "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
  9239. "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
  9240. "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
  9241. "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
  9242. "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
  9243. "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
  9244. "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
  9245. "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
  9246. "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
  9247. "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
  9248. "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
  9249. "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
  9250. "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
  9251. "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
  9252. "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
  9253. "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
  9254. "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
  9255. "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
  9256. "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
  9257. .len = 496,
  9258. }, { /* Generated with Crypto++ */
  9259. .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
  9260. "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
  9261. "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
  9262. .klen = 24,
  9263. .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12",
  9264. .iv_out = "\xB2\xD7\x48\xED\x06\x44\xF9\x51",
  9265. .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
  9266. "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
  9267. "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
  9268. "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
  9269. "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
  9270. "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
  9271. "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
  9272. "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
  9273. "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
  9274. "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
  9275. "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
  9276. "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
  9277. "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
  9278. "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
  9279. "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
  9280. "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
  9281. "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
  9282. "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
  9283. "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
  9284. "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
  9285. "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
  9286. "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
  9287. "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
  9288. "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
  9289. "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
  9290. "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
  9291. "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
  9292. "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
  9293. "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
  9294. "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
  9295. "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
  9296. "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
  9297. "\x50\x3B\x82\x15\x99\x60\xCB\x52"
  9298. "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
  9299. "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
  9300. "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
  9301. "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
  9302. "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
  9303. "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
  9304. "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
  9305. "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
  9306. "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
  9307. "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
  9308. "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
  9309. "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
  9310. "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
  9311. "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
  9312. "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
  9313. "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
  9314. "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
  9315. "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
  9316. "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
  9317. "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
  9318. "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
  9319. "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
  9320. "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
  9321. "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
  9322. "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
  9323. "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
  9324. "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
  9325. "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
  9326. "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
  9327. "\x2E\xB1\x18",
  9328. .ctext = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
  9329. "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
  9330. "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
  9331. "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
  9332. "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
  9333. "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
  9334. "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
  9335. "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
  9336. "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
  9337. "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
  9338. "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
  9339. "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
  9340. "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
  9341. "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
  9342. "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
  9343. "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
  9344. "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
  9345. "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
  9346. "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
  9347. "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
  9348. "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
  9349. "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
  9350. "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
  9351. "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
  9352. "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
  9353. "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
  9354. "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
  9355. "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
  9356. "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
  9357. "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
  9358. "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
  9359. "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
  9360. "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
  9361. "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
  9362. "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
  9363. "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
  9364. "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
  9365. "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
  9366. "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
  9367. "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
  9368. "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
  9369. "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
  9370. "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
  9371. "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
  9372. "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
  9373. "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
  9374. "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
  9375. "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
  9376. "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
  9377. "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
  9378. "\x8A\x19\x08\xE1\x08\x48\x59\x51"
  9379. "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
  9380. "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
  9381. "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
  9382. "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
  9383. "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
  9384. "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
  9385. "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
  9386. "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
  9387. "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
  9388. "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
  9389. "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
  9390. "\xF2\x79\xD9",
  9391. .len = 499,
  9392. },
  9393. };
  9394. /*
  9395. * Blowfish test vectors.
  9396. */
  9397. static const struct cipher_testvec bf_tv_template[] = {
  9398. { /* DES test vectors from OpenSSL */
  9399. .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
  9400. .klen = 8,
  9401. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  9402. .ctext = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
  9403. .len = 8,
  9404. }, {
  9405. .key = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
  9406. .klen = 8,
  9407. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  9408. .ctext = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
  9409. .len = 8,
  9410. }, {
  9411. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
  9412. .klen = 8,
  9413. .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  9414. .ctext = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
  9415. .len = 8,
  9416. }, { /* Vary the keylength... */
  9417. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
  9418. "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
  9419. .klen = 16,
  9420. .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  9421. .ctext = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
  9422. .len = 8,
  9423. }, {
  9424. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
  9425. "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
  9426. "\x00\x11\x22\x33\x44",
  9427. .klen = 21,
  9428. .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  9429. .ctext = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
  9430. .len = 8,
  9431. }, { /* Generated with bf488 */
  9432. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
  9433. "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
  9434. "\x00\x11\x22\x33\x44\x55\x66\x77"
  9435. "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
  9436. "\x58\x40\x23\x64\x1a\xba\x61\x76"
  9437. "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
  9438. "\xff\xff\xff\xff\xff\xff\xff\xff",
  9439. .klen = 56,
  9440. .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  9441. .ctext = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
  9442. .len = 8,
  9443. }, { /* Generated with Crypto++ */
  9444. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  9445. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  9446. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  9447. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  9448. .klen = 32,
  9449. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  9450. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  9451. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  9452. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  9453. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  9454. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  9455. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  9456. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  9457. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  9458. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  9459. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  9460. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  9461. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  9462. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  9463. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  9464. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  9465. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  9466. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  9467. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  9468. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  9469. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  9470. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  9471. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  9472. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  9473. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  9474. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  9475. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  9476. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  9477. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  9478. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  9479. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  9480. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  9481. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  9482. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  9483. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  9484. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  9485. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  9486. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  9487. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  9488. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  9489. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  9490. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  9491. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  9492. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  9493. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  9494. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  9495. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  9496. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  9497. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  9498. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  9499. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  9500. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  9501. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  9502. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  9503. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  9504. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  9505. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  9506. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  9507. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  9508. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  9509. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  9510. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  9511. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
  9512. .ctext = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
  9513. "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
  9514. "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
  9515. "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
  9516. "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
  9517. "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
  9518. "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
  9519. "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
  9520. "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
  9521. "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
  9522. "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
  9523. "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
  9524. "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
  9525. "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
  9526. "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
  9527. "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
  9528. "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
  9529. "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
  9530. "\x47\x82\x98\x23\x33\x36\xBC\x1B"
  9531. "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
  9532. "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
  9533. "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
  9534. "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
  9535. "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
  9536. "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
  9537. "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
  9538. "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
  9539. "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
  9540. "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
  9541. "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
  9542. "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
  9543. "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
  9544. "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
  9545. "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
  9546. "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
  9547. "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
  9548. "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
  9549. "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
  9550. "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
  9551. "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
  9552. "\x3E\x42\x14\x49\x88\x51\xBF\x68"
  9553. "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
  9554. "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
  9555. "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
  9556. "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
  9557. "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
  9558. "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
  9559. "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
  9560. "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
  9561. "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
  9562. "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
  9563. "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
  9564. "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
  9565. "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
  9566. "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
  9567. "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
  9568. "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
  9569. "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
  9570. "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
  9571. "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
  9572. "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
  9573. "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
  9574. "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
  9575. .len = 504,
  9576. },
  9577. };
  9578. static const struct cipher_testvec bf_cbc_tv_template[] = {
  9579. { /* From OpenSSL */
  9580. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  9581. "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
  9582. .klen = 16,
  9583. .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  9584. .iv_out = "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
  9585. .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
  9586. "\x4e\x6f\x77\x20\x69\x73\x20\x74"
  9587. "\x68\x65\x20\x74\x69\x6d\x65\x20"
  9588. "\x66\x6f\x72\x20\x00\x00\x00\x00",
  9589. .ctext = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
  9590. "\x05\xb1\x56\xe2\x74\x03\x97\x93"
  9591. "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
  9592. "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
  9593. .len = 32,
  9594. }, { /* Generated with Crypto++ */
  9595. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  9596. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  9597. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  9598. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  9599. .klen = 32,
  9600. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  9601. .iv_out = "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
  9602. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  9603. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  9604. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  9605. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  9606. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  9607. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  9608. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  9609. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  9610. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  9611. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  9612. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  9613. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  9614. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  9615. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  9616. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  9617. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  9618. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  9619. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  9620. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  9621. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  9622. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  9623. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  9624. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  9625. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  9626. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  9627. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  9628. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  9629. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  9630. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  9631. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  9632. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  9633. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  9634. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  9635. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  9636. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  9637. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  9638. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  9639. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  9640. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  9641. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  9642. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  9643. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  9644. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  9645. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  9646. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  9647. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  9648. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  9649. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  9650. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  9651. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  9652. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  9653. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  9654. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  9655. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  9656. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  9657. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  9658. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  9659. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  9660. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  9661. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  9662. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  9663. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  9664. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
  9665. .ctext = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
  9666. "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
  9667. "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
  9668. "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
  9669. "\x01\x9C\x93\x63\x51\x60\x82\xD2"
  9670. "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
  9671. "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
  9672. "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
  9673. "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
  9674. "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
  9675. "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
  9676. "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
  9677. "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
  9678. "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
  9679. "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
  9680. "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
  9681. "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
  9682. "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
  9683. "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
  9684. "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
  9685. "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
  9686. "\x65\xFE\x15\x40\xD0\x62\x41\x02"
  9687. "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
  9688. "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
  9689. "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
  9690. "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
  9691. "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
  9692. "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
  9693. "\x04\xF0\x86\x08\x78\x18\x42\xE0"
  9694. "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
  9695. "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
  9696. "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
  9697. "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
  9698. "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
  9699. "\x97\x18\x92\xFF\x15\x11\xCE\xED"
  9700. "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
  9701. "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
  9702. "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
  9703. "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
  9704. "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
  9705. "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
  9706. "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
  9707. "\x43\x12\x73\x77\xDB\x91\x83\x5B"
  9708. "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
  9709. "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
  9710. "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
  9711. "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
  9712. "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
  9713. "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
  9714. "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
  9715. "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
  9716. "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
  9717. "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
  9718. "\xC5\xF8\x69\x83\x28\x84\x87\x56"
  9719. "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
  9720. "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
  9721. "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
  9722. "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
  9723. "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
  9724. "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
  9725. "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
  9726. "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
  9727. "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
  9728. .len = 504,
  9729. },
  9730. };
  9731. static const struct cipher_testvec bf_ctr_tv_template[] = {
  9732. { /* Generated with Crypto++ */
  9733. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  9734. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  9735. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  9736. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  9737. .klen = 32,
  9738. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  9739. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
  9740. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  9741. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  9742. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  9743. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  9744. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  9745. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  9746. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  9747. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  9748. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  9749. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  9750. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  9751. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  9752. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  9753. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  9754. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  9755. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  9756. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  9757. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  9758. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  9759. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  9760. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  9761. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  9762. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  9763. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  9764. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  9765. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  9766. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  9767. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  9768. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  9769. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  9770. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  9771. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  9772. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  9773. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  9774. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  9775. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  9776. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  9777. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  9778. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  9779. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  9780. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  9781. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  9782. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  9783. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  9784. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  9785. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  9786. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  9787. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  9788. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  9789. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  9790. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  9791. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  9792. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  9793. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  9794. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  9795. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  9796. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  9797. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  9798. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  9799. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  9800. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  9801. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  9802. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
  9803. .ctext = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
  9804. "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
  9805. "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
  9806. "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
  9807. "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
  9808. "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
  9809. "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
  9810. "\x97\xEB\x98\x75\xC4\x73\x45\x83"
  9811. "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
  9812. "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
  9813. "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
  9814. "\x13\xD2\x96\x68\x69\x10\x67\x0C"
  9815. "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
  9816. "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
  9817. "\x88\x09\x40\x59\xBD\x12\x64\xB5"
  9818. "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
  9819. "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
  9820. "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
  9821. "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
  9822. "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
  9823. "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
  9824. "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
  9825. "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
  9826. "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
  9827. "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
  9828. "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
  9829. "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
  9830. "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
  9831. "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
  9832. "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
  9833. "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
  9834. "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
  9835. "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
  9836. "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
  9837. "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
  9838. "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
  9839. "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
  9840. "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
  9841. "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
  9842. "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
  9843. "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
  9844. "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
  9845. "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
  9846. "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
  9847. "\x82\x63\x11\xB3\x54\x49\x00\x08"
  9848. "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
  9849. "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
  9850. "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
  9851. "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
  9852. "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
  9853. "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
  9854. "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
  9855. "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
  9856. "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
  9857. "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
  9858. "\x91\x04\x94\x99\x03\x3B\x42\x6D"
  9859. "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
  9860. "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
  9861. "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
  9862. "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
  9863. "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
  9864. "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
  9865. "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
  9866. .len = 504,
  9867. }, { /* Generated with Crypto++ */
  9868. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  9869. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  9870. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  9871. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  9872. .klen = 32,
  9873. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  9874. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
  9875. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  9876. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  9877. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  9878. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  9879. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  9880. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  9881. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  9882. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  9883. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  9884. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  9885. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  9886. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  9887. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  9888. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  9889. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  9890. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  9891. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  9892. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  9893. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  9894. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  9895. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  9896. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  9897. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  9898. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  9899. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  9900. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  9901. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  9902. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  9903. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  9904. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  9905. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  9906. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  9907. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  9908. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  9909. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  9910. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  9911. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  9912. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  9913. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  9914. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  9915. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  9916. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  9917. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  9918. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  9919. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  9920. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  9921. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  9922. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  9923. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  9924. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  9925. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  9926. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  9927. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  9928. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  9929. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  9930. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  9931. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  9932. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  9933. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  9934. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  9935. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  9936. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  9937. "\x2B\xC2\x59\xF0\x64\xFB\x92",
  9938. .ctext = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
  9939. "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
  9940. "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
  9941. "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
  9942. "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
  9943. "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
  9944. "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
  9945. "\x97\xEB\x98\x75\xC4\x73\x45\x83"
  9946. "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
  9947. "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
  9948. "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
  9949. "\x13\xD2\x96\x68\x69\x10\x67\x0C"
  9950. "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
  9951. "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
  9952. "\x88\x09\x40\x59\xBD\x12\x64\xB5"
  9953. "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
  9954. "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
  9955. "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
  9956. "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
  9957. "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
  9958. "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
  9959. "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
  9960. "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
  9961. "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
  9962. "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
  9963. "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
  9964. "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
  9965. "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
  9966. "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
  9967. "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
  9968. "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
  9969. "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
  9970. "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
  9971. "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
  9972. "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
  9973. "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
  9974. "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
  9975. "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
  9976. "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
  9977. "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
  9978. "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
  9979. "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
  9980. "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
  9981. "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
  9982. "\x82\x63\x11\xB3\x54\x49\x00\x08"
  9983. "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
  9984. "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
  9985. "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
  9986. "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
  9987. "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
  9988. "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
  9989. "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
  9990. "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
  9991. "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
  9992. "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
  9993. "\x91\x04\x94\x99\x03\x3B\x42\x6D"
  9994. "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
  9995. "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
  9996. "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
  9997. "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
  9998. "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
  9999. "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
  10000. "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
  10001. .len = 503,
  10002. }, { /* Generated with Crypto++ */
  10003. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  10004. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  10005. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  10006. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  10007. .klen = 32,
  10008. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  10009. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3C",
  10010. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  10011. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  10012. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  10013. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  10014. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  10015. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  10016. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  10017. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  10018. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  10019. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  10020. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  10021. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  10022. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  10023. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  10024. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  10025. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  10026. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  10027. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  10028. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  10029. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  10030. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  10031. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  10032. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  10033. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  10034. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  10035. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  10036. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  10037. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  10038. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  10039. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  10040. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  10041. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  10042. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  10043. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  10044. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  10045. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  10046. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  10047. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  10048. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  10049. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  10050. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  10051. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  10052. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  10053. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  10054. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  10055. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  10056. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  10057. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  10058. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  10059. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  10060. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  10061. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  10062. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  10063. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  10064. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  10065. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  10066. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  10067. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  10068. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  10069. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  10070. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  10071. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  10072. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
  10073. .ctext = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
  10074. "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
  10075. "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
  10076. "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
  10077. "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
  10078. "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
  10079. "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
  10080. "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
  10081. "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
  10082. "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
  10083. "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
  10084. "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
  10085. "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
  10086. "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
  10087. "\x0B\x82\x59\x14\x26\x67\x08\x09"
  10088. "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
  10089. "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
  10090. "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
  10091. "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
  10092. "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
  10093. "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
  10094. "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
  10095. "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
  10096. "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
  10097. "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
  10098. "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
  10099. "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
  10100. "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
  10101. "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
  10102. "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
  10103. "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
  10104. "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
  10105. "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
  10106. "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
  10107. "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
  10108. "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
  10109. "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
  10110. "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
  10111. "\xB4\x19\xD8\x19\x45\x66\x27\x02"
  10112. "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
  10113. "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
  10114. "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
  10115. "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
  10116. "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
  10117. "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
  10118. "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
  10119. "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
  10120. "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
  10121. "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
  10122. "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
  10123. "\x91\x51\x4E\x71\xF2\x98\x85\x16"
  10124. "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
  10125. "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
  10126. "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
  10127. "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
  10128. "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
  10129. "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
  10130. "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
  10131. "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
  10132. "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
  10133. "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
  10134. "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
  10135. "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
  10136. .len = 504,
  10137. },
  10138. };
  10139. /*
  10140. * Twofish test vectors.
  10141. */
  10142. static const struct cipher_testvec tf_tv_template[] = {
  10143. {
  10144. .key = zeroed_string,
  10145. .klen = 16,
  10146. .ptext = zeroed_string,
  10147. .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  10148. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
  10149. .len = 16,
  10150. }, {
  10151. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  10152. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  10153. "\x00\x11\x22\x33\x44\x55\x66\x77",
  10154. .klen = 24,
  10155. .ptext = zeroed_string,
  10156. .ctext = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
  10157. "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
  10158. .len = 16,
  10159. }, {
  10160. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  10161. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  10162. "\x00\x11\x22\x33\x44\x55\x66\x77"
  10163. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  10164. .klen = 32,
  10165. .ptext = zeroed_string,
  10166. .ctext = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
  10167. "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
  10168. .len = 16,
  10169. }, { /* Generated with Crypto++ */
  10170. .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
  10171. "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
  10172. "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
  10173. "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
  10174. .klen = 32,
  10175. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  10176. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  10177. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  10178. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  10179. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  10180. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  10181. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  10182. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  10183. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  10184. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  10185. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  10186. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  10187. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  10188. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  10189. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  10190. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  10191. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  10192. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  10193. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  10194. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  10195. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  10196. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  10197. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  10198. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  10199. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  10200. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  10201. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  10202. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  10203. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  10204. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  10205. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  10206. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  10207. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  10208. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  10209. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  10210. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  10211. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  10212. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  10213. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  10214. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  10215. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  10216. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  10217. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  10218. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  10219. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  10220. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  10221. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  10222. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  10223. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  10224. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  10225. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  10226. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  10227. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  10228. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  10229. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  10230. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  10231. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  10232. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  10233. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  10234. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  10235. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  10236. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  10237. .ctext = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
  10238. "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
  10239. "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
  10240. "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
  10241. "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
  10242. "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
  10243. "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
  10244. "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
  10245. "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
  10246. "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
  10247. "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
  10248. "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
  10249. "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
  10250. "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
  10251. "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
  10252. "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
  10253. "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
  10254. "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
  10255. "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
  10256. "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
  10257. "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
  10258. "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
  10259. "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
  10260. "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
  10261. "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
  10262. "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
  10263. "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
  10264. "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
  10265. "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
  10266. "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
  10267. "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
  10268. "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
  10269. "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
  10270. "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
  10271. "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
  10272. "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
  10273. "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
  10274. "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
  10275. "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
  10276. "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
  10277. "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
  10278. "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
  10279. "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
  10280. "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
  10281. "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
  10282. "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
  10283. "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
  10284. "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
  10285. "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
  10286. "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
  10287. "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
  10288. "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
  10289. "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
  10290. "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
  10291. "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
  10292. "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
  10293. "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
  10294. "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
  10295. "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
  10296. "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
  10297. "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
  10298. "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
  10299. .len = 496,
  10300. },
  10301. };
  10302. static const struct cipher_testvec tf_cbc_tv_template[] = {
  10303. { /* Generated with Nettle */
  10304. .key = zeroed_string,
  10305. .klen = 16,
  10306. .iv = zeroed_string,
  10307. .iv_out = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  10308. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
  10309. .ptext = zeroed_string,
  10310. .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  10311. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
  10312. .len = 16,
  10313. }, {
  10314. .key = zeroed_string,
  10315. .klen = 16,
  10316. .iv = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  10317. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
  10318. .iv_out = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
  10319. "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
  10320. .ptext = zeroed_string,
  10321. .ctext = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
  10322. "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
  10323. .len = 16,
  10324. }, {
  10325. .key = zeroed_string,
  10326. .klen = 16,
  10327. .iv = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
  10328. "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
  10329. .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
  10330. "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
  10331. .ptext = zeroed_string,
  10332. .ctext = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
  10333. "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
  10334. .len = 16,
  10335. }, {
  10336. .key = zeroed_string,
  10337. .klen = 16,
  10338. .iv = zeroed_string,
  10339. .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
  10340. "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
  10341. .ptext = zeroed_string,
  10342. .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  10343. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
  10344. "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
  10345. "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
  10346. "\x05\xef\x8c\x61\xa8\x11\x58\x26"
  10347. "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
  10348. .len = 48,
  10349. }, { /* Generated with Crypto++ */
  10350. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  10351. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  10352. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  10353. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  10354. .klen = 32,
  10355. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  10356. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  10357. .iv_out = "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
  10358. "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
  10359. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  10360. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  10361. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  10362. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  10363. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  10364. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  10365. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  10366. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  10367. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  10368. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  10369. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  10370. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  10371. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  10372. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  10373. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  10374. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  10375. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  10376. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  10377. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  10378. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  10379. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  10380. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  10381. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  10382. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  10383. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  10384. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  10385. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  10386. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  10387. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  10388. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  10389. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  10390. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  10391. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  10392. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  10393. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  10394. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  10395. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  10396. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  10397. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  10398. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  10399. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  10400. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  10401. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  10402. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  10403. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  10404. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  10405. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  10406. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  10407. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  10408. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  10409. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  10410. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  10411. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  10412. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  10413. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  10414. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  10415. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  10416. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  10417. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  10418. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  10419. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  10420. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  10421. .ctext = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
  10422. "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
  10423. "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
  10424. "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
  10425. "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
  10426. "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
  10427. "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
  10428. "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
  10429. "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
  10430. "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
  10431. "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
  10432. "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
  10433. "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
  10434. "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
  10435. "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
  10436. "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
  10437. "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
  10438. "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
  10439. "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
  10440. "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
  10441. "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
  10442. "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
  10443. "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
  10444. "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
  10445. "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
  10446. "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
  10447. "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
  10448. "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
  10449. "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
  10450. "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
  10451. "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
  10452. "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
  10453. "\x75\x42\x62\x04\x31\x1F\x95\x7C"
  10454. "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
  10455. "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
  10456. "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
  10457. "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
  10458. "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
  10459. "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
  10460. "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
  10461. "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
  10462. "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
  10463. "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
  10464. "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
  10465. "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
  10466. "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
  10467. "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
  10468. "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
  10469. "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
  10470. "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
  10471. "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
  10472. "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
  10473. "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
  10474. "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
  10475. "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
  10476. "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
  10477. "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
  10478. "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
  10479. "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
  10480. "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
  10481. "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
  10482. "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
  10483. .len = 496,
  10484. },
  10485. };
  10486. static const struct cipher_testvec tf_ctr_tv_template[] = {
  10487. { /* Generated with Crypto++ */
  10488. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  10489. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  10490. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  10491. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  10492. .klen = 32,
  10493. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  10494. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  10495. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  10496. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
  10497. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  10498. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  10499. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  10500. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  10501. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  10502. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  10503. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  10504. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  10505. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  10506. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  10507. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  10508. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  10509. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  10510. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  10511. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  10512. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  10513. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  10514. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  10515. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  10516. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  10517. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  10518. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  10519. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  10520. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  10521. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  10522. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  10523. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  10524. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  10525. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  10526. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  10527. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  10528. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  10529. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  10530. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  10531. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  10532. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  10533. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  10534. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  10535. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  10536. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  10537. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  10538. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  10539. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  10540. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  10541. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  10542. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  10543. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  10544. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  10545. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  10546. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  10547. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  10548. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  10549. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  10550. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  10551. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  10552. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  10553. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  10554. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  10555. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  10556. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  10557. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  10558. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  10559. .ctext = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
  10560. "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
  10561. "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
  10562. "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
  10563. "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
  10564. "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
  10565. "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
  10566. "\x01\x41\x21\x12\x38\xAB\x52\x4F"
  10567. "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
  10568. "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
  10569. "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
  10570. "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
  10571. "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
  10572. "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
  10573. "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
  10574. "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
  10575. "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
  10576. "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
  10577. "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
  10578. "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
  10579. "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
  10580. "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
  10581. "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
  10582. "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
  10583. "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
  10584. "\x23\x61\x48\xEA\x80\x04\x27\xAA"
  10585. "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
  10586. "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
  10587. "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
  10588. "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
  10589. "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
  10590. "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
  10591. "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
  10592. "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
  10593. "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
  10594. "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
  10595. "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
  10596. "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
  10597. "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
  10598. "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
  10599. "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
  10600. "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
  10601. "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
  10602. "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
  10603. "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
  10604. "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
  10605. "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
  10606. "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
  10607. "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
  10608. "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
  10609. "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
  10610. "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
  10611. "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
  10612. "\x11\xE9\x43\x83\x76\xAA\x53\x37"
  10613. "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
  10614. "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
  10615. "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
  10616. "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
  10617. "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
  10618. "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
  10619. "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
  10620. "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
  10621. .len = 496,
  10622. }, { /* Generated with Crypto++ */
  10623. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  10624. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  10625. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  10626. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  10627. .klen = 32,
  10628. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  10629. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  10630. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
  10631. "\x00\x00\x00\x00\x00\x00\x00\x1C",
  10632. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  10633. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  10634. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  10635. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  10636. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  10637. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  10638. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  10639. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  10640. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  10641. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  10642. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  10643. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  10644. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  10645. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  10646. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  10647. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  10648. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  10649. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  10650. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  10651. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  10652. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  10653. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  10654. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  10655. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  10656. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  10657. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  10658. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  10659. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  10660. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  10661. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  10662. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  10663. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  10664. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  10665. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  10666. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  10667. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  10668. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  10669. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  10670. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  10671. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  10672. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  10673. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  10674. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  10675. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  10676. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  10677. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  10678. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  10679. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  10680. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  10681. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  10682. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  10683. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  10684. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  10685. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  10686. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  10687. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  10688. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  10689. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  10690. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  10691. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  10692. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  10693. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  10694. .ctext = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
  10695. "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
  10696. "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
  10697. "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
  10698. "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
  10699. "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
  10700. "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
  10701. "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
  10702. "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
  10703. "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
  10704. "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
  10705. "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
  10706. "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
  10707. "\x39\x18\x09\xA4\x82\x59\x78\xE7"
  10708. "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
  10709. "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
  10710. "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
  10711. "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
  10712. "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
  10713. "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
  10714. "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
  10715. "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
  10716. "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
  10717. "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
  10718. "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
  10719. "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
  10720. "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
  10721. "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
  10722. "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
  10723. "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
  10724. "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
  10725. "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
  10726. "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
  10727. "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
  10728. "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
  10729. "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
  10730. "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
  10731. "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
  10732. "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
  10733. "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
  10734. "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
  10735. "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
  10736. "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
  10737. "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
  10738. "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
  10739. "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
  10740. "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
  10741. "\xDE\x55\x1B\x50\x14\x53\x44\x17"
  10742. "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
  10743. "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
  10744. "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
  10745. "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
  10746. "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
  10747. "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
  10748. "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
  10749. "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
  10750. "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
  10751. "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
  10752. "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
  10753. "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
  10754. "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
  10755. "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
  10756. .len = 496,
  10757. }, { /* Generated with Crypto++ */
  10758. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  10759. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  10760. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  10761. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  10762. .klen = 32,
  10763. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  10764. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  10765. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  10766. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
  10767. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  10768. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  10769. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  10770. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  10771. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  10772. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  10773. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  10774. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  10775. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  10776. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  10777. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  10778. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  10779. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  10780. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  10781. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  10782. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  10783. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  10784. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  10785. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  10786. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  10787. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  10788. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  10789. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  10790. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  10791. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  10792. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  10793. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  10794. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  10795. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  10796. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  10797. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  10798. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  10799. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  10800. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  10801. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  10802. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  10803. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  10804. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  10805. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  10806. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  10807. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  10808. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  10809. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  10810. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  10811. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  10812. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  10813. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  10814. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  10815. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  10816. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  10817. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  10818. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  10819. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  10820. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  10821. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  10822. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  10823. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  10824. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  10825. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  10826. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  10827. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  10828. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  10829. "\x2B\xC2\x59",
  10830. .ctext = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
  10831. "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
  10832. "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
  10833. "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
  10834. "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
  10835. "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
  10836. "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
  10837. "\x01\x41\x21\x12\x38\xAB\x52\x4F"
  10838. "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
  10839. "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
  10840. "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
  10841. "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
  10842. "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
  10843. "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
  10844. "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
  10845. "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
  10846. "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
  10847. "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
  10848. "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
  10849. "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
  10850. "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
  10851. "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
  10852. "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
  10853. "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
  10854. "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
  10855. "\x23\x61\x48\xEA\x80\x04\x27\xAA"
  10856. "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
  10857. "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
  10858. "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
  10859. "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
  10860. "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
  10861. "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
  10862. "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
  10863. "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
  10864. "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
  10865. "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
  10866. "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
  10867. "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
  10868. "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
  10869. "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
  10870. "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
  10871. "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
  10872. "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
  10873. "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
  10874. "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
  10875. "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
  10876. "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
  10877. "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
  10878. "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
  10879. "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
  10880. "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
  10881. "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
  10882. "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
  10883. "\x11\xE9\x43\x83\x76\xAA\x53\x37"
  10884. "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
  10885. "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
  10886. "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
  10887. "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
  10888. "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
  10889. "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
  10890. "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
  10891. "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
  10892. "\x6C\x82\x9D",
  10893. .len = 499,
  10894. },
  10895. };
  10896. static const struct cipher_testvec tf_lrw_tv_template[] = {
  10897. /* Generated from AES-LRW test vectors */
  10898. {
  10899. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  10900. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  10901. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  10902. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  10903. .klen = 32,
  10904. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  10905. "\x00\x00\x00\x00\x00\x00\x00\x01",
  10906. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  10907. "\x38\x39\x41\x42\x43\x44\x45\x46",
  10908. .ctext = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
  10909. "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
  10910. .len = 16,
  10911. }, {
  10912. .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
  10913. "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
  10914. "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
  10915. "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
  10916. .klen = 32,
  10917. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  10918. "\x00\x00\x00\x00\x00\x00\x00\x02",
  10919. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  10920. "\x38\x39\x41\x42\x43\x44\x45\x46",
  10921. .ctext = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
  10922. "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
  10923. .len = 16,
  10924. }, {
  10925. .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
  10926. "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
  10927. "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
  10928. "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
  10929. .klen = 32,
  10930. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  10931. "\x00\x00\x00\x02\x00\x00\x00\x00",
  10932. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  10933. "\x38\x39\x41\x42\x43\x44\x45\x46",
  10934. .ctext = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
  10935. "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
  10936. .len = 16,
  10937. }, {
  10938. .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
  10939. "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
  10940. "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
  10941. "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
  10942. "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
  10943. .klen = 40,
  10944. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  10945. "\x00\x00\x00\x00\x00\x00\x00\x01",
  10946. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  10947. "\x38\x39\x41\x42\x43\x44\x45\x46",
  10948. .ctext = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
  10949. "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
  10950. .len = 16,
  10951. }, {
  10952. .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
  10953. "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
  10954. "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
  10955. "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
  10956. "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
  10957. .klen = 40,
  10958. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  10959. "\x00\x00\x00\x02\x00\x00\x00\x00",
  10960. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  10961. "\x38\x39\x41\x42\x43\x44\x45\x46",
  10962. .ctext = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
  10963. "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
  10964. .len = 16,
  10965. }, {
  10966. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  10967. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  10968. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  10969. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  10970. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  10971. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  10972. .klen = 48,
  10973. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  10974. "\x00\x00\x00\x00\x00\x00\x00\x01",
  10975. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  10976. "\x38\x39\x41\x42\x43\x44\x45\x46",
  10977. .ctext = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
  10978. "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
  10979. .len = 16,
  10980. }, {
  10981. .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
  10982. "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
  10983. "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
  10984. "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
  10985. "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
  10986. "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
  10987. .klen = 48,
  10988. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  10989. "\x00\x00\x00\x02\x00\x00\x00\x00",
  10990. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  10991. "\x38\x39\x41\x42\x43\x44\x45\x46",
  10992. .ctext = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
  10993. "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
  10994. .len = 16,
  10995. }, {
  10996. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  10997. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  10998. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  10999. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  11000. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  11001. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  11002. .klen = 48,
  11003. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  11004. "\x00\x00\x00\x00\x00\x00\x00\x01",
  11005. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  11006. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  11007. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  11008. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  11009. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  11010. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  11011. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  11012. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  11013. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  11014. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  11015. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  11016. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  11017. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  11018. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  11019. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  11020. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  11021. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  11022. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  11023. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  11024. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  11025. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  11026. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  11027. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  11028. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  11029. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  11030. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  11031. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  11032. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  11033. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  11034. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  11035. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  11036. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  11037. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  11038. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  11039. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  11040. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  11041. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  11042. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  11043. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  11044. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  11045. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  11046. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  11047. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  11048. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  11049. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  11050. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  11051. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  11052. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  11053. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  11054. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  11055. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  11056. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  11057. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  11058. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  11059. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  11060. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  11061. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  11062. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  11063. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  11064. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  11065. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  11066. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  11067. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  11068. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  11069. .ctext = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
  11070. "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
  11071. "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
  11072. "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
  11073. "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
  11074. "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
  11075. "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
  11076. "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
  11077. "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
  11078. "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
  11079. "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
  11080. "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
  11081. "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
  11082. "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
  11083. "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
  11084. "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
  11085. "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
  11086. "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
  11087. "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
  11088. "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
  11089. "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
  11090. "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
  11091. "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
  11092. "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
  11093. "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
  11094. "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
  11095. "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
  11096. "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
  11097. "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
  11098. "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
  11099. "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
  11100. "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
  11101. "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
  11102. "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
  11103. "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
  11104. "\x3e\xae\x71\x90\x07\x70\x1c\x38"
  11105. "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
  11106. "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
  11107. "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
  11108. "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
  11109. "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
  11110. "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
  11111. "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
  11112. "\x93\x51\x1d\x3d\x62\x59\x83\x82"
  11113. "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
  11114. "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
  11115. "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
  11116. "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
  11117. "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
  11118. "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
  11119. "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
  11120. "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
  11121. "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
  11122. "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
  11123. "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
  11124. "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
  11125. "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
  11126. "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
  11127. "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
  11128. "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
  11129. "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
  11130. "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
  11131. "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
  11132. "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
  11133. .len = 512,
  11134. },
  11135. };
  11136. static const struct cipher_testvec tf_xts_tv_template[] = {
  11137. /* Generated from AES-XTS test vectors */
  11138. {
  11139. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  11140. "\x00\x00\x00\x00\x00\x00\x00\x00"
  11141. "\x00\x00\x00\x00\x00\x00\x00\x00"
  11142. "\x00\x00\x00\x00\x00\x00\x00\x00",
  11143. .klen = 32,
  11144. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  11145. "\x00\x00\x00\x00\x00\x00\x00\x00",
  11146. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  11147. "\x00\x00\x00\x00\x00\x00\x00\x00"
  11148. "\x00\x00\x00\x00\x00\x00\x00\x00"
  11149. "\x00\x00\x00\x00\x00\x00\x00\x00",
  11150. .ctext = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
  11151. "\x30\x74\xe4\x44\x52\x77\x97\x43"
  11152. "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
  11153. "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
  11154. .len = 32,
  11155. }, {
  11156. .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
  11157. "\x11\x11\x11\x11\x11\x11\x11\x11"
  11158. "\x22\x22\x22\x22\x22\x22\x22\x22"
  11159. "\x22\x22\x22\x22\x22\x22\x22\x22",
  11160. .klen = 32,
  11161. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  11162. "\x00\x00\x00\x00\x00\x00\x00\x00",
  11163. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  11164. "\x44\x44\x44\x44\x44\x44\x44\x44"
  11165. "\x44\x44\x44\x44\x44\x44\x44\x44"
  11166. "\x44\x44\x44\x44\x44\x44\x44\x44",
  11167. .ctext = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
  11168. "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
  11169. "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
  11170. "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
  11171. .len = 32,
  11172. }, {
  11173. .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
  11174. "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
  11175. "\x22\x22\x22\x22\x22\x22\x22\x22"
  11176. "\x22\x22\x22\x22\x22\x22\x22\x22",
  11177. .klen = 32,
  11178. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  11179. "\x00\x00\x00\x00\x00\x00\x00\x00",
  11180. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  11181. "\x44\x44\x44\x44\x44\x44\x44\x44"
  11182. "\x44\x44\x44\x44\x44\x44\x44\x44"
  11183. "\x44\x44\x44\x44\x44\x44\x44\x44",
  11184. .ctext = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
  11185. "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
  11186. "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
  11187. "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
  11188. .len = 32,
  11189. }, {
  11190. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  11191. "\x23\x53\x60\x28\x74\x71\x35\x26"
  11192. "\x31\x41\x59\x26\x53\x58\x97\x93"
  11193. "\x23\x84\x62\x64\x33\x83\x27\x95",
  11194. .klen = 32,
  11195. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  11196. "\x00\x00\x00\x00\x00\x00\x00\x00",
  11197. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  11198. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  11199. "\x10\x11\x12\x13\x14\x15\x16\x17"
  11200. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  11201. "\x20\x21\x22\x23\x24\x25\x26\x27"
  11202. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  11203. "\x30\x31\x32\x33\x34\x35\x36\x37"
  11204. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  11205. "\x40\x41\x42\x43\x44\x45\x46\x47"
  11206. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  11207. "\x50\x51\x52\x53\x54\x55\x56\x57"
  11208. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  11209. "\x60\x61\x62\x63\x64\x65\x66\x67"
  11210. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  11211. "\x70\x71\x72\x73\x74\x75\x76\x77"
  11212. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  11213. "\x80\x81\x82\x83\x84\x85\x86\x87"
  11214. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  11215. "\x90\x91\x92\x93\x94\x95\x96\x97"
  11216. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  11217. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  11218. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  11219. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  11220. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  11221. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  11222. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  11223. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  11224. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  11225. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  11226. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  11227. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  11228. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  11229. "\x00\x01\x02\x03\x04\x05\x06\x07"
  11230. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  11231. "\x10\x11\x12\x13\x14\x15\x16\x17"
  11232. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  11233. "\x20\x21\x22\x23\x24\x25\x26\x27"
  11234. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  11235. "\x30\x31\x32\x33\x34\x35\x36\x37"
  11236. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  11237. "\x40\x41\x42\x43\x44\x45\x46\x47"
  11238. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  11239. "\x50\x51\x52\x53\x54\x55\x56\x57"
  11240. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  11241. "\x60\x61\x62\x63\x64\x65\x66\x67"
  11242. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  11243. "\x70\x71\x72\x73\x74\x75\x76\x77"
  11244. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  11245. "\x80\x81\x82\x83\x84\x85\x86\x87"
  11246. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  11247. "\x90\x91\x92\x93\x94\x95\x96\x97"
  11248. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  11249. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  11250. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  11251. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  11252. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  11253. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  11254. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  11255. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  11256. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  11257. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  11258. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  11259. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  11260. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  11261. .ctext = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
  11262. "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
  11263. "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
  11264. "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
  11265. "\xea\x35\x35\x8c\xb2\x46\x61\x06"
  11266. "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
  11267. "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
  11268. "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
  11269. "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
  11270. "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
  11271. "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
  11272. "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
  11273. "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
  11274. "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
  11275. "\x01\x73\x68\x32\x25\x19\xfa\xfb"
  11276. "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
  11277. "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
  11278. "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
  11279. "\x39\x80\x39\x09\x97\x65\xf2\x83"
  11280. "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
  11281. "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
  11282. "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
  11283. "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
  11284. "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
  11285. "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
  11286. "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
  11287. "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
  11288. "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
  11289. "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
  11290. "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
  11291. "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
  11292. "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
  11293. "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
  11294. "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
  11295. "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
  11296. "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
  11297. "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
  11298. "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
  11299. "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
  11300. "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
  11301. "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
  11302. "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
  11303. "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
  11304. "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
  11305. "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
  11306. "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
  11307. "\x04\x39\x73\x32\xb2\x86\x79\xe7"
  11308. "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
  11309. "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
  11310. "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
  11311. "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
  11312. "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
  11313. "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
  11314. "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
  11315. "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
  11316. "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
  11317. "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
  11318. "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
  11319. "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
  11320. "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
  11321. "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
  11322. "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
  11323. "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
  11324. "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
  11325. .len = 512,
  11326. }, {
  11327. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  11328. "\x23\x53\x60\x28\x74\x71\x35\x26"
  11329. "\x62\x49\x77\x57\x24\x70\x93\x69"
  11330. "\x99\x59\x57\x49\x66\x96\x76\x27"
  11331. "\x31\x41\x59\x26\x53\x58\x97\x93"
  11332. "\x23\x84\x62\x64\x33\x83\x27\x95"
  11333. "\x02\x88\x41\x97\x16\x93\x99\x37"
  11334. "\x51\x05\x82\x09\x74\x94\x45\x92",
  11335. .klen = 64,
  11336. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  11337. "\x00\x00\x00\x00\x00\x00\x00\x00",
  11338. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  11339. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  11340. "\x10\x11\x12\x13\x14\x15\x16\x17"
  11341. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  11342. "\x20\x21\x22\x23\x24\x25\x26\x27"
  11343. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  11344. "\x30\x31\x32\x33\x34\x35\x36\x37"
  11345. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  11346. "\x40\x41\x42\x43\x44\x45\x46\x47"
  11347. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  11348. "\x50\x51\x52\x53\x54\x55\x56\x57"
  11349. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  11350. "\x60\x61\x62\x63\x64\x65\x66\x67"
  11351. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  11352. "\x70\x71\x72\x73\x74\x75\x76\x77"
  11353. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  11354. "\x80\x81\x82\x83\x84\x85\x86\x87"
  11355. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  11356. "\x90\x91\x92\x93\x94\x95\x96\x97"
  11357. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  11358. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  11359. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  11360. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  11361. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  11362. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  11363. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  11364. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  11365. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  11366. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  11367. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  11368. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  11369. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  11370. "\x00\x01\x02\x03\x04\x05\x06\x07"
  11371. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  11372. "\x10\x11\x12\x13\x14\x15\x16\x17"
  11373. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  11374. "\x20\x21\x22\x23\x24\x25\x26\x27"
  11375. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  11376. "\x30\x31\x32\x33\x34\x35\x36\x37"
  11377. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  11378. "\x40\x41\x42\x43\x44\x45\x46\x47"
  11379. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  11380. "\x50\x51\x52\x53\x54\x55\x56\x57"
  11381. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  11382. "\x60\x61\x62\x63\x64\x65\x66\x67"
  11383. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  11384. "\x70\x71\x72\x73\x74\x75\x76\x77"
  11385. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  11386. "\x80\x81\x82\x83\x84\x85\x86\x87"
  11387. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  11388. "\x90\x91\x92\x93\x94\x95\x96\x97"
  11389. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  11390. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  11391. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  11392. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  11393. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  11394. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  11395. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  11396. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  11397. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  11398. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  11399. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  11400. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  11401. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  11402. .ctext = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
  11403. "\x35\x39\x71\x88\x76\x1e\xc9\xea"
  11404. "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
  11405. "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
  11406. "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
  11407. "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
  11408. "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
  11409. "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
  11410. "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
  11411. "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
  11412. "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
  11413. "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
  11414. "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
  11415. "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
  11416. "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
  11417. "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
  11418. "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
  11419. "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
  11420. "\x69\x35\x61\x86\xf8\x86\xb9\x89"
  11421. "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
  11422. "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
  11423. "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
  11424. "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
  11425. "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
  11426. "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
  11427. "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
  11428. "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
  11429. "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
  11430. "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
  11431. "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
  11432. "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
  11433. "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
  11434. "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
  11435. "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
  11436. "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
  11437. "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
  11438. "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
  11439. "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
  11440. "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
  11441. "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
  11442. "\xad\x12\x32\x31\x03\xf7\x21\xbe"
  11443. "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
  11444. "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
  11445. "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
  11446. "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
  11447. "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
  11448. "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
  11449. "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
  11450. "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
  11451. "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
  11452. "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
  11453. "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
  11454. "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
  11455. "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
  11456. "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
  11457. "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
  11458. "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
  11459. "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
  11460. "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
  11461. "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
  11462. "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
  11463. "\xf3\xea\x67\x52\x78\xc2\xce\x70"
  11464. "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
  11465. "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
  11466. .len = 512,
  11467. },
  11468. };
  11469. /*
  11470. * Serpent test vectors. These are backwards because Serpent writes
  11471. * octet sequences in right-to-left mode.
  11472. */
  11473. static const struct cipher_testvec serpent_tv_template[] = {
  11474. {
  11475. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  11476. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  11477. .ctext = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
  11478. "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
  11479. .len = 16,
  11480. }, {
  11481. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  11482. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  11483. .klen = 16,
  11484. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  11485. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  11486. .ctext = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
  11487. "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
  11488. .len = 16,
  11489. }, {
  11490. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  11491. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  11492. "\x10\x11\x12\x13\x14\x15\x16\x17"
  11493. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  11494. .klen = 32,
  11495. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  11496. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  11497. .ctext = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
  11498. "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
  11499. .len = 16,
  11500. }, {
  11501. .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
  11502. .klen = 16,
  11503. .ptext = zeroed_string,
  11504. .ctext = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
  11505. "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
  11506. .len = 16,
  11507. }, { /* Generated with Crypto++ */
  11508. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11509. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11510. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11511. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11512. .klen = 32,
  11513. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11514. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11515. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11516. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11517. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11518. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11519. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11520. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11521. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11522. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11523. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11524. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11525. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11526. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11527. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11528. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11529. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11530. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11531. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11532. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11533. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11534. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11535. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11536. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11537. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11538. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11539. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11540. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11541. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11542. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11543. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11544. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11545. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11546. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11547. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11548. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11549. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11550. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11551. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11552. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11553. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11554. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11555. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11556. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11557. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11558. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11559. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11560. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11561. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11562. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11563. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11564. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11565. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11566. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11567. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11568. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11569. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11570. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11571. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11572. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11573. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11574. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  11575. .ctext = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
  11576. "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
  11577. "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
  11578. "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
  11579. "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
  11580. "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
  11581. "\x99\x34\x89\x5B\x54\xE9\x12\x13"
  11582. "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
  11583. "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
  11584. "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
  11585. "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
  11586. "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
  11587. "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
  11588. "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
  11589. "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
  11590. "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
  11591. "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
  11592. "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
  11593. "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
  11594. "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
  11595. "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
  11596. "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
  11597. "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
  11598. "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
  11599. "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
  11600. "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
  11601. "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
  11602. "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
  11603. "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
  11604. "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
  11605. "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
  11606. "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
  11607. "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
  11608. "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
  11609. "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
  11610. "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
  11611. "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
  11612. "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
  11613. "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
  11614. "\x87\x70\x14\xD0\x01\x57\xCB\x42"
  11615. "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
  11616. "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
  11617. "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
  11618. "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
  11619. "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
  11620. "\x71\x80\x05\x35\x3F\x40\x0B\x21"
  11621. "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
  11622. "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
  11623. "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
  11624. "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
  11625. "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
  11626. "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
  11627. "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
  11628. "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
  11629. "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
  11630. "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
  11631. "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
  11632. "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
  11633. "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
  11634. "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
  11635. "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
  11636. "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
  11637. .len = 496,
  11638. },
  11639. };
  11640. static const struct cipher_testvec tnepres_tv_template[] = {
  11641. { /* KeySize=0 */
  11642. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  11643. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  11644. .ctext = "\x41\xcc\x6b\x31\x59\x31\x45\x97"
  11645. "\x6d\x6f\xbb\x38\x4b\x37\x21\x28",
  11646. .len = 16,
  11647. },
  11648. { /* KeySize=128, PT=0, I=1 */
  11649. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  11650. "\x00\x00\x00\x00\x00\x00\x00\x00",
  11651. .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
  11652. "\x00\x00\x00\x00\x00\x00\x00\x00",
  11653. .klen = 16,
  11654. .ctext = "\x49\xaf\xbf\xad\x9d\x5a\x34\x05"
  11655. "\x2c\xd8\xff\xa5\x98\x6b\xd2\xdd",
  11656. .len = 16,
  11657. }, { /* KeySize=128 */
  11658. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  11659. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  11660. .klen = 16,
  11661. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  11662. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  11663. .ctext = "\xea\xf4\xd7\xfc\xd8\x01\x34\x47"
  11664. "\x81\x45\x0b\xfa\x0c\xd6\xad\x6e",
  11665. .len = 16,
  11666. }, { /* KeySize=128, I=121 */
  11667. .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
  11668. .klen = 16,
  11669. .ptext = zeroed_string,
  11670. .ctext = "\x3d\xda\xbf\xc0\x06\xda\xab\x06"
  11671. "\x46\x2a\xf4\xef\x81\x54\x4e\x26",
  11672. .len = 16,
  11673. }, { /* KeySize=192, PT=0, I=1 */
  11674. .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
  11675. "\x00\x00\x00\x00\x00\x00\x00\x00"
  11676. "\x00\x00\x00\x00\x00\x00\x00\x00",
  11677. .klen = 24,
  11678. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  11679. "\x00\x00\x00\x00\x00\x00\x00\x00",
  11680. .ctext = "\xe7\x8e\x54\x02\xc7\x19\x55\x68"
  11681. "\xac\x36\x78\xf7\xa3\xf6\x0c\x66",
  11682. .len = 16,
  11683. }, { /* KeySize=256, PT=0, I=1 */
  11684. .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
  11685. "\x00\x00\x00\x00\x00\x00\x00\x00"
  11686. "\x00\x00\x00\x00\x00\x00\x00\x00"
  11687. "\x00\x00\x00\x00\x00\x00\x00\x00",
  11688. .klen = 32,
  11689. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  11690. "\x00\x00\x00\x00\x00\x00\x00\x00",
  11691. .ctext = "\xab\xed\x96\xe7\x66\xbf\x28\xcb"
  11692. "\xc0\xeb\xd2\x1a\x82\xef\x08\x19",
  11693. .len = 16,
  11694. }, { /* KeySize=256, I=257 */
  11695. .key = "\x1f\x1e\x1d\x1c\x1b\x1a\x19\x18"
  11696. "\x17\x16\x15\x14\x13\x12\x11\x10"
  11697. "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
  11698. "\x07\x06\x05\x04\x03\x02\x01\x00",
  11699. .klen = 32,
  11700. .ptext = "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
  11701. "\x07\x06\x05\x04\x03\x02\x01\x00",
  11702. .ctext = "\x5c\xe7\x1c\x70\xd2\x88\x2e\x5b"
  11703. "\xb8\x32\xe4\x33\xf8\x9f\x26\xde",
  11704. .len = 16,
  11705. }, { /* KeySize=256 */
  11706. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  11707. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  11708. "\x10\x11\x12\x13\x14\x15\x16\x17"
  11709. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  11710. .klen = 32,
  11711. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  11712. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  11713. .ctext = "\x64\xa9\x1a\x37\xed\x9f\xe7\x49"
  11714. "\xa8\x4e\x76\xd6\xf5\x0d\x78\xee",
  11715. .len = 16,
  11716. }
  11717. };
  11718. static const struct cipher_testvec serpent_cbc_tv_template[] = {
  11719. { /* Generated with Crypto++ */
  11720. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11721. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11722. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11723. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11724. .klen = 32,
  11725. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  11726. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  11727. .iv_out = "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
  11728. "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
  11729. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11730. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11731. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11732. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11733. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11734. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11735. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11736. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11737. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11738. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11739. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11740. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11741. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11742. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11743. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11744. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11745. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11746. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11747. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11748. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11749. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11750. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11751. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11752. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11753. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11754. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11755. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11756. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11757. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11758. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11759. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11760. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11761. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11762. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11763. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11764. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11765. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11766. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11767. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11768. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11769. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11770. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11771. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11772. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11773. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11774. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11775. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11776. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11777. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11778. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11779. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11780. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11781. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11782. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11783. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11784. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11785. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11786. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11787. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11788. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11789. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11790. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  11791. .ctext = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
  11792. "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
  11793. "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
  11794. "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
  11795. "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
  11796. "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
  11797. "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
  11798. "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
  11799. "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
  11800. "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
  11801. "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
  11802. "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
  11803. "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
  11804. "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
  11805. "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
  11806. "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
  11807. "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
  11808. "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
  11809. "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
  11810. "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
  11811. "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
  11812. "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
  11813. "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
  11814. "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
  11815. "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
  11816. "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
  11817. "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
  11818. "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
  11819. "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
  11820. "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
  11821. "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
  11822. "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
  11823. "\x81\x92\x66\x67\x15\x1E\x39\x98"
  11824. "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
  11825. "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
  11826. "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
  11827. "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
  11828. "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
  11829. "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
  11830. "\x04\x05\x46\xD3\x90\x0F\x64\x64"
  11831. "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
  11832. "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
  11833. "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
  11834. "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
  11835. "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
  11836. "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
  11837. "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
  11838. "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
  11839. "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
  11840. "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
  11841. "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
  11842. "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
  11843. "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
  11844. "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
  11845. "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
  11846. "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
  11847. "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
  11848. "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
  11849. "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
  11850. "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
  11851. "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
  11852. "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
  11853. .len = 496,
  11854. },
  11855. };
  11856. static const struct cipher_testvec serpent_ctr_tv_template[] = {
  11857. { /* Generated with Crypto++ */
  11858. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11859. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11860. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11861. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11862. .klen = 32,
  11863. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  11864. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  11865. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  11866. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
  11867. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11868. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11869. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11870. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11871. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11872. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11873. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11874. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11875. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11876. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11877. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11878. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11879. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11880. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11881. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11882. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11883. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11884. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11885. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11886. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11887. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11888. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11889. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11890. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11891. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11892. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11893. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11894. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11895. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11896. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11897. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11898. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11899. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11900. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11901. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11902. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11903. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11904. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11905. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11906. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11907. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11908. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11909. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11910. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11911. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11912. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11913. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11914. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11915. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11916. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11917. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11918. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11919. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11920. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11921. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11922. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11923. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11924. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11925. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11926. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11927. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11928. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  11929. .ctext = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
  11930. "\x37\x69\xE3\x3A\x22\x85\x48\x46"
  11931. "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
  11932. "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
  11933. "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
  11934. "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
  11935. "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
  11936. "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
  11937. "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
  11938. "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
  11939. "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
  11940. "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
  11941. "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
  11942. "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
  11943. "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
  11944. "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
  11945. "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
  11946. "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
  11947. "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
  11948. "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
  11949. "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
  11950. "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
  11951. "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
  11952. "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
  11953. "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
  11954. "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
  11955. "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
  11956. "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
  11957. "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
  11958. "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
  11959. "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
  11960. "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
  11961. "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
  11962. "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
  11963. "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
  11964. "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
  11965. "\x07\x97\x38\x4B\x5C\x56\x98\x67"
  11966. "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
  11967. "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
  11968. "\x18\x06\x15\x9D\x5A\x10\x13\x37"
  11969. "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
  11970. "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
  11971. "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
  11972. "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
  11973. "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
  11974. "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
  11975. "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
  11976. "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
  11977. "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
  11978. "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
  11979. "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
  11980. "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
  11981. "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
  11982. "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
  11983. "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
  11984. "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
  11985. "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
  11986. "\x90\x47\x40\x92\xE6\x69\xD1\x96"
  11987. "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
  11988. "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
  11989. "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
  11990. "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
  11991. .len = 496,
  11992. }, { /* Generated with Crypto++ */
  11993. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11994. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11995. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11996. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11997. .klen = 32,
  11998. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  11999. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  12000. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  12001. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
  12002. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  12003. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  12004. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  12005. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  12006. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  12007. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  12008. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  12009. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  12010. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  12011. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  12012. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  12013. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  12014. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  12015. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  12016. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  12017. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  12018. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  12019. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  12020. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  12021. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  12022. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  12023. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  12024. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  12025. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  12026. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  12027. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  12028. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  12029. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  12030. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  12031. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  12032. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  12033. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  12034. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  12035. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  12036. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  12037. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  12038. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  12039. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  12040. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  12041. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  12042. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  12043. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  12044. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  12045. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  12046. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  12047. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  12048. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  12049. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  12050. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  12051. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  12052. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  12053. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  12054. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  12055. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  12056. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  12057. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  12058. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  12059. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  12060. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  12061. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  12062. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  12063. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  12064. "\x2B\xC2\x59",
  12065. .ctext = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
  12066. "\x37\x69\xE3\x3A\x22\x85\x48\x46"
  12067. "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
  12068. "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
  12069. "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
  12070. "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
  12071. "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
  12072. "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
  12073. "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
  12074. "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
  12075. "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
  12076. "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
  12077. "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
  12078. "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
  12079. "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
  12080. "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
  12081. "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
  12082. "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
  12083. "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
  12084. "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
  12085. "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
  12086. "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
  12087. "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
  12088. "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
  12089. "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
  12090. "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
  12091. "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
  12092. "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
  12093. "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
  12094. "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
  12095. "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
  12096. "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
  12097. "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
  12098. "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
  12099. "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
  12100. "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
  12101. "\x07\x97\x38\x4B\x5C\x56\x98\x67"
  12102. "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
  12103. "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
  12104. "\x18\x06\x15\x9D\x5A\x10\x13\x37"
  12105. "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
  12106. "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
  12107. "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
  12108. "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
  12109. "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
  12110. "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
  12111. "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
  12112. "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
  12113. "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
  12114. "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
  12115. "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
  12116. "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
  12117. "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
  12118. "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
  12119. "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
  12120. "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
  12121. "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
  12122. "\x90\x47\x40\x92\xE6\x69\xD1\x96"
  12123. "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
  12124. "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
  12125. "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
  12126. "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
  12127. "\x38\xE2\xE5",
  12128. .len = 499,
  12129. }, { /* Generated with Crypto++ */
  12130. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  12131. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  12132. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  12133. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  12134. .klen = 32,
  12135. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  12136. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  12137. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12138. "\x00\x00\x00\x00\x00\x00\x00\x1C",
  12139. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  12140. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  12141. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  12142. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  12143. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  12144. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  12145. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  12146. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  12147. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  12148. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  12149. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  12150. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  12151. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  12152. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  12153. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  12154. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  12155. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  12156. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  12157. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  12158. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  12159. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  12160. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  12161. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  12162. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  12163. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  12164. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  12165. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  12166. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  12167. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  12168. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  12169. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  12170. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  12171. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  12172. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  12173. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  12174. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  12175. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  12176. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  12177. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  12178. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  12179. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  12180. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  12181. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  12182. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  12183. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  12184. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  12185. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  12186. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  12187. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  12188. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  12189. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  12190. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  12191. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  12192. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  12193. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  12194. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  12195. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  12196. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  12197. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  12198. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  12199. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  12200. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  12201. .ctext = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
  12202. "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
  12203. "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
  12204. "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
  12205. "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
  12206. "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
  12207. "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
  12208. "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
  12209. "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
  12210. "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
  12211. "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
  12212. "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
  12213. "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
  12214. "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
  12215. "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
  12216. "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
  12217. "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
  12218. "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
  12219. "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
  12220. "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
  12221. "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
  12222. "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
  12223. "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
  12224. "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
  12225. "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
  12226. "\x29\x5E\x01\x47\x13\x32\x78\xBE"
  12227. "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
  12228. "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
  12229. "\x38\x35\x11\x26\x4A\xB4\x06\x32"
  12230. "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
  12231. "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
  12232. "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
  12233. "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
  12234. "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
  12235. "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
  12236. "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
  12237. "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
  12238. "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
  12239. "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
  12240. "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
  12241. "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
  12242. "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
  12243. "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
  12244. "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
  12245. "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
  12246. "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
  12247. "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
  12248. "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
  12249. "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
  12250. "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
  12251. "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
  12252. "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
  12253. "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
  12254. "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
  12255. "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
  12256. "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
  12257. "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
  12258. "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
  12259. "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
  12260. "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
  12261. "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
  12262. "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
  12263. .len = 496,
  12264. },
  12265. };
  12266. static const struct cipher_testvec serpent_lrw_tv_template[] = {
  12267. /* Generated from AES-LRW test vectors */
  12268. {
  12269. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  12270. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  12271. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  12272. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  12273. .klen = 32,
  12274. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12275. "\x00\x00\x00\x00\x00\x00\x00\x01",
  12276. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12277. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12278. .ctext = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
  12279. "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
  12280. .len = 16,
  12281. }, {
  12282. .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
  12283. "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
  12284. "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
  12285. "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
  12286. .klen = 32,
  12287. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12288. "\x00\x00\x00\x00\x00\x00\x00\x02",
  12289. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12290. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12291. .ctext = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
  12292. "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
  12293. .len = 16,
  12294. }, {
  12295. .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
  12296. "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
  12297. "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
  12298. "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
  12299. .klen = 32,
  12300. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12301. "\x00\x00\x00\x02\x00\x00\x00\x00",
  12302. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12303. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12304. .ctext = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
  12305. "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
  12306. .len = 16,
  12307. }, {
  12308. .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
  12309. "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
  12310. "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
  12311. "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
  12312. "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
  12313. .klen = 40,
  12314. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12315. "\x00\x00\x00\x00\x00\x00\x00\x01",
  12316. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12317. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12318. .ctext = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
  12319. "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
  12320. .len = 16,
  12321. }, {
  12322. .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
  12323. "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
  12324. "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
  12325. "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
  12326. "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
  12327. .klen = 40,
  12328. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12329. "\x00\x00\x00\x02\x00\x00\x00\x00",
  12330. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12331. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12332. .ctext = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
  12333. "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
  12334. .len = 16,
  12335. }, {
  12336. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  12337. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  12338. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  12339. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  12340. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  12341. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  12342. .klen = 48,
  12343. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12344. "\x00\x00\x00\x00\x00\x00\x00\x01",
  12345. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12346. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12347. .ctext = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
  12348. "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
  12349. .len = 16,
  12350. }, {
  12351. .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
  12352. "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
  12353. "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
  12354. "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
  12355. "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
  12356. "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
  12357. .klen = 48,
  12358. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12359. "\x00\x00\x00\x02\x00\x00\x00\x00",
  12360. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12361. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12362. .ctext = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
  12363. "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
  12364. .len = 16,
  12365. }, {
  12366. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  12367. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  12368. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  12369. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  12370. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  12371. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  12372. .klen = 48,
  12373. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12374. "\x00\x00\x00\x00\x00\x00\x00\x01",
  12375. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  12376. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  12377. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  12378. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  12379. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  12380. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  12381. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  12382. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  12383. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  12384. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  12385. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  12386. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  12387. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  12388. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  12389. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  12390. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  12391. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  12392. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  12393. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  12394. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  12395. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  12396. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  12397. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  12398. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  12399. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  12400. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  12401. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  12402. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  12403. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  12404. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  12405. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  12406. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  12407. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  12408. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  12409. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  12410. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  12411. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  12412. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  12413. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  12414. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  12415. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  12416. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  12417. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  12418. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  12419. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  12420. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  12421. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  12422. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  12423. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  12424. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  12425. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  12426. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  12427. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  12428. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  12429. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  12430. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  12431. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  12432. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  12433. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  12434. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  12435. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  12436. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  12437. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  12438. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  12439. .ctext = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
  12440. "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
  12441. "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
  12442. "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
  12443. "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
  12444. "\xce\xab\xda\x33\x30\x20\x12\xfa"
  12445. "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
  12446. "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
  12447. "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
  12448. "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
  12449. "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
  12450. "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
  12451. "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
  12452. "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
  12453. "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
  12454. "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
  12455. "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
  12456. "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
  12457. "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
  12458. "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
  12459. "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
  12460. "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
  12461. "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
  12462. "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
  12463. "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
  12464. "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
  12465. "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
  12466. "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
  12467. "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
  12468. "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
  12469. "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
  12470. "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
  12471. "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
  12472. "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
  12473. "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
  12474. "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
  12475. "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
  12476. "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
  12477. "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
  12478. "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
  12479. "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
  12480. "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
  12481. "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
  12482. "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
  12483. "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
  12484. "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
  12485. "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
  12486. "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
  12487. "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
  12488. "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
  12489. "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
  12490. "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
  12491. "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
  12492. "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
  12493. "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
  12494. "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
  12495. "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
  12496. "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
  12497. "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
  12498. "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
  12499. "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
  12500. "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
  12501. "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
  12502. "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
  12503. .len = 512,
  12504. },
  12505. };
  12506. static const struct cipher_testvec serpent_xts_tv_template[] = {
  12507. /* Generated from AES-XTS test vectors */
  12508. {
  12509. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12510. "\x00\x00\x00\x00\x00\x00\x00\x00"
  12511. "\x00\x00\x00\x00\x00\x00\x00\x00"
  12512. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12513. .klen = 32,
  12514. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12515. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12516. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12517. "\x00\x00\x00\x00\x00\x00\x00\x00"
  12518. "\x00\x00\x00\x00\x00\x00\x00\x00"
  12519. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12520. .ctext = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
  12521. "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
  12522. "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
  12523. "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
  12524. .len = 32,
  12525. }, {
  12526. .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
  12527. "\x11\x11\x11\x11\x11\x11\x11\x11"
  12528. "\x22\x22\x22\x22\x22\x22\x22\x22"
  12529. "\x22\x22\x22\x22\x22\x22\x22\x22",
  12530. .klen = 32,
  12531. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  12532. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12533. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  12534. "\x44\x44\x44\x44\x44\x44\x44\x44"
  12535. "\x44\x44\x44\x44\x44\x44\x44\x44"
  12536. "\x44\x44\x44\x44\x44\x44\x44\x44",
  12537. .ctext = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
  12538. "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
  12539. "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
  12540. "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
  12541. .len = 32,
  12542. }, {
  12543. .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
  12544. "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
  12545. "\x22\x22\x22\x22\x22\x22\x22\x22"
  12546. "\x22\x22\x22\x22\x22\x22\x22\x22",
  12547. .klen = 32,
  12548. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  12549. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12550. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  12551. "\x44\x44\x44\x44\x44\x44\x44\x44"
  12552. "\x44\x44\x44\x44\x44\x44\x44\x44"
  12553. "\x44\x44\x44\x44\x44\x44\x44\x44",
  12554. .ctext = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
  12555. "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
  12556. "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
  12557. "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
  12558. .len = 32,
  12559. }, {
  12560. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  12561. "\x23\x53\x60\x28\x74\x71\x35\x26"
  12562. "\x31\x41\x59\x26\x53\x58\x97\x93"
  12563. "\x23\x84\x62\x64\x33\x83\x27\x95",
  12564. .klen = 32,
  12565. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12566. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12567. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  12568. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  12569. "\x10\x11\x12\x13\x14\x15\x16\x17"
  12570. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  12571. "\x20\x21\x22\x23\x24\x25\x26\x27"
  12572. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  12573. "\x30\x31\x32\x33\x34\x35\x36\x37"
  12574. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  12575. "\x40\x41\x42\x43\x44\x45\x46\x47"
  12576. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  12577. "\x50\x51\x52\x53\x54\x55\x56\x57"
  12578. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  12579. "\x60\x61\x62\x63\x64\x65\x66\x67"
  12580. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  12581. "\x70\x71\x72\x73\x74\x75\x76\x77"
  12582. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  12583. "\x80\x81\x82\x83\x84\x85\x86\x87"
  12584. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  12585. "\x90\x91\x92\x93\x94\x95\x96\x97"
  12586. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  12587. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  12588. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  12589. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  12590. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  12591. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  12592. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  12593. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  12594. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  12595. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  12596. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  12597. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  12598. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  12599. "\x00\x01\x02\x03\x04\x05\x06\x07"
  12600. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  12601. "\x10\x11\x12\x13\x14\x15\x16\x17"
  12602. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  12603. "\x20\x21\x22\x23\x24\x25\x26\x27"
  12604. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  12605. "\x30\x31\x32\x33\x34\x35\x36\x37"
  12606. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  12607. "\x40\x41\x42\x43\x44\x45\x46\x47"
  12608. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  12609. "\x50\x51\x52\x53\x54\x55\x56\x57"
  12610. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  12611. "\x60\x61\x62\x63\x64\x65\x66\x67"
  12612. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  12613. "\x70\x71\x72\x73\x74\x75\x76\x77"
  12614. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  12615. "\x80\x81\x82\x83\x84\x85\x86\x87"
  12616. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  12617. "\x90\x91\x92\x93\x94\x95\x96\x97"
  12618. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  12619. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  12620. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  12621. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  12622. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  12623. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  12624. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  12625. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  12626. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  12627. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  12628. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  12629. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  12630. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  12631. .ctext = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
  12632. "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
  12633. "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
  12634. "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
  12635. "\x00\x5c\x75\x14\x06\xd6\x25\x82"
  12636. "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
  12637. "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
  12638. "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
  12639. "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
  12640. "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
  12641. "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
  12642. "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
  12643. "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
  12644. "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
  12645. "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
  12646. "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
  12647. "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
  12648. "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
  12649. "\x58\xfa\x43\x91\x16\x85\x40\xbb"
  12650. "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
  12651. "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
  12652. "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
  12653. "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
  12654. "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
  12655. "\x6e\x29\x60\xbd\x10\x14\x84\x82"
  12656. "\x83\x82\x0c\x63\x73\x92\x02\x7c"
  12657. "\x55\x37\x20\x80\x17\x51\xc8\xbc"
  12658. "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
  12659. "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
  12660. "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
  12661. "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
  12662. "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
  12663. "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
  12664. "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
  12665. "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
  12666. "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
  12667. "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
  12668. "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
  12669. "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
  12670. "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
  12671. "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
  12672. "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
  12673. "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
  12674. "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
  12675. "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
  12676. "\x43\x42\x35\xd0\xcf\xec\x77\x67"
  12677. "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
  12678. "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
  12679. "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
  12680. "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
  12681. "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
  12682. "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
  12683. "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
  12684. "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
  12685. "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
  12686. "\x03\x57\xe6\x98\x52\x2f\x61\x62"
  12687. "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
  12688. "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
  12689. "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
  12690. "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
  12691. "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
  12692. "\xef\x91\x64\x1d\x18\x07\x4e\x31"
  12693. "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
  12694. "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
  12695. .len = 512,
  12696. }, {
  12697. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  12698. "\x23\x53\x60\x28\x74\x71\x35\x26"
  12699. "\x62\x49\x77\x57\x24\x70\x93\x69"
  12700. "\x99\x59\x57\x49\x66\x96\x76\x27"
  12701. "\x31\x41\x59\x26\x53\x58\x97\x93"
  12702. "\x23\x84\x62\x64\x33\x83\x27\x95"
  12703. "\x02\x88\x41\x97\x16\x93\x99\x37"
  12704. "\x51\x05\x82\x09\x74\x94\x45\x92",
  12705. .klen = 64,
  12706. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  12707. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12708. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  12709. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  12710. "\x10\x11\x12\x13\x14\x15\x16\x17"
  12711. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  12712. "\x20\x21\x22\x23\x24\x25\x26\x27"
  12713. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  12714. "\x30\x31\x32\x33\x34\x35\x36\x37"
  12715. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  12716. "\x40\x41\x42\x43\x44\x45\x46\x47"
  12717. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  12718. "\x50\x51\x52\x53\x54\x55\x56\x57"
  12719. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  12720. "\x60\x61\x62\x63\x64\x65\x66\x67"
  12721. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  12722. "\x70\x71\x72\x73\x74\x75\x76\x77"
  12723. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  12724. "\x80\x81\x82\x83\x84\x85\x86\x87"
  12725. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  12726. "\x90\x91\x92\x93\x94\x95\x96\x97"
  12727. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  12728. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  12729. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  12730. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  12731. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  12732. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  12733. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  12734. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  12735. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  12736. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  12737. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  12738. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  12739. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  12740. "\x00\x01\x02\x03\x04\x05\x06\x07"
  12741. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  12742. "\x10\x11\x12\x13\x14\x15\x16\x17"
  12743. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  12744. "\x20\x21\x22\x23\x24\x25\x26\x27"
  12745. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  12746. "\x30\x31\x32\x33\x34\x35\x36\x37"
  12747. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  12748. "\x40\x41\x42\x43\x44\x45\x46\x47"
  12749. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  12750. "\x50\x51\x52\x53\x54\x55\x56\x57"
  12751. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  12752. "\x60\x61\x62\x63\x64\x65\x66\x67"
  12753. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  12754. "\x70\x71\x72\x73\x74\x75\x76\x77"
  12755. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  12756. "\x80\x81\x82\x83\x84\x85\x86\x87"
  12757. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  12758. "\x90\x91\x92\x93\x94\x95\x96\x97"
  12759. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  12760. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  12761. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  12762. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  12763. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  12764. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  12765. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  12766. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  12767. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  12768. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  12769. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  12770. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  12771. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  12772. .ctext = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
  12773. "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
  12774. "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
  12775. "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
  12776. "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
  12777. "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
  12778. "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
  12779. "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
  12780. "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
  12781. "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
  12782. "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
  12783. "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
  12784. "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
  12785. "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
  12786. "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
  12787. "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
  12788. "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
  12789. "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
  12790. "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
  12791. "\xec\x9a\xda\x64\x96\xb5\x61\xff"
  12792. "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
  12793. "\x81\x85\x14\xa8\x59\xac\x8c\x94"
  12794. "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
  12795. "\x82\xc6\x4d\xca\x86\xea\x53\x28"
  12796. "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
  12797. "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
  12798. "\x05\xca\x81\x7b\xda\xa2\xde\x63"
  12799. "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
  12800. "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
  12801. "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
  12802. "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
  12803. "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
  12804. "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
  12805. "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
  12806. "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
  12807. "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
  12808. "\xfd\x43\x7d\xda\x42\x51\x87\x43"
  12809. "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
  12810. "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
  12811. "\x27\x5f\x11\xac\x71\xc7\x48\x46"
  12812. "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
  12813. "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
  12814. "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
  12815. "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
  12816. "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
  12817. "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
  12818. "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
  12819. "\x50\x88\x97\x40\x69\xb1\x37\xf5"
  12820. "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
  12821. "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
  12822. "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
  12823. "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
  12824. "\xc1\x16\x73\x50\x77\xba\xa6\x65"
  12825. "\x20\x2d\xb0\x02\x27\x89\xda\x99"
  12826. "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
  12827. "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
  12828. "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
  12829. "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
  12830. "\xa3\x0e\x33\x74\x40\x18\x39\x72"
  12831. "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
  12832. "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
  12833. "\x30\x05\xc8\x92\x98\x80\xff\x7a"
  12834. "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
  12835. "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
  12836. .len = 512,
  12837. },
  12838. };
  12839. /*
  12840. * SM4 test vectors taken from the "The SM4 Blockcipher Algorithm And Its
  12841. * Modes Of Operations" draft RFC
  12842. * https://datatracker.ietf.org/doc/draft-ribose-cfrg-sm4
  12843. */
  12844. static const struct cipher_testvec sm4_tv_template[] = {
  12845. { /* GB/T 32907-2016 Example 1. */
  12846. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  12847. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  12848. .klen = 16,
  12849. .ptext = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  12850. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  12851. .ctext = "\x68\x1E\xDF\x34\xD2\x06\x96\x5E"
  12852. "\x86\xB3\xE9\x4F\x53\x6E\x42\x46",
  12853. .len = 16,
  12854. }, { /* Last 10 iterations of GB/T 32907-2016 Example 2. */
  12855. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  12856. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  12857. .klen = 16,
  12858. .ptext = "\x99\x4a\xc3\xe7\xc3\x57\x89\x6a"
  12859. "\x81\xfc\xa8\xe\x38\x3e\xef\x80"
  12860. "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
  12861. "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
  12862. "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
  12863. "\xad\x57\x15\xab\x31\x5d\xc\xef"
  12864. "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
  12865. "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
  12866. "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
  12867. "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
  12868. "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
  12869. "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
  12870. "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
  12871. "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
  12872. "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
  12873. "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
  12874. "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
  12875. "\xed\xce\x0\x19\xe\x16\x2\x6e"
  12876. "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
  12877. "\x31\x51\xec\x47\xc3\x51\x83\xc1",
  12878. .ctext = "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
  12879. "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
  12880. "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
  12881. "\xad\x57\x15\xab\x31\x5d\xc\xef"
  12882. "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
  12883. "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
  12884. "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
  12885. "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
  12886. "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
  12887. "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
  12888. "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
  12889. "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
  12890. "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
  12891. "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
  12892. "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
  12893. "\xed\xce\x0\x19\xe\x16\x2\x6e"
  12894. "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
  12895. "\x31\x51\xec\x47\xc3\x51\x83\xc1"
  12896. "\x59\x52\x98\xc7\xc6\xfd\x27\x1f"
  12897. "\x4\x2\xf8\x4\xc3\x3d\x3f\x66",
  12898. .len = 160
  12899. }, { /* A.2.1.1 SM4-ECB Example 1 */
  12900. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  12901. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  12902. .klen = 16,
  12903. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  12904. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  12905. "\xee\xee\xee\xee\xff\xff\xff\xff"
  12906. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  12907. .ctext = "\x5e\xc8\x14\x3d\xe5\x09\xcf\xf7"
  12908. "\xb5\x17\x9f\x8f\x47\x4b\x86\x19"
  12909. "\x2f\x1d\x30\x5a\x7f\xb1\x7d\xf9"
  12910. "\x85\xf8\x1c\x84\x82\x19\x23\x04",
  12911. .len = 32,
  12912. }, { /* A.2.1.2 SM4-ECB Example 2 */
  12913. .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
  12914. "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
  12915. .klen = 16,
  12916. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  12917. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  12918. "\xee\xee\xee\xee\xff\xff\xff\xff"
  12919. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  12920. .ctext = "\xC5\x87\x68\x97\xE4\xA5\x9B\xBB"
  12921. "\xA7\x2A\x10\xC8\x38\x72\x24\x5B"
  12922. "\x12\xDD\x90\xBC\x2D\x20\x06\x92"
  12923. "\xB5\x29\xA4\x15\x5A\xC9\xE6\x00",
  12924. .len = 32,
  12925. }
  12926. };
  12927. static const struct cipher_testvec sm4_cbc_tv_template[] = {
  12928. { /* A.2.2.1 SM4-CBC Example 1 */
  12929. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  12930. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  12931. .klen = 16,
  12932. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  12933. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  12934. "\xee\xee\xee\xee\xff\xff\xff\xff"
  12935. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  12936. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  12937. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
  12938. .iv_out = "\x4C\xB7\x01\x69\x51\x90\x92\x26"
  12939. "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
  12940. .ctext = "\x78\xEB\xB1\x1C\xC4\x0B\x0A\x48"
  12941. "\x31\x2A\xAE\xB2\x04\x02\x44\xCB"
  12942. "\x4C\xB7\x01\x69\x51\x90\x92\x26"
  12943. "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
  12944. .len = 32,
  12945. }, { /* A.2.2.2 SM4-CBC Example 2 */
  12946. .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
  12947. "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
  12948. .klen = 16,
  12949. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  12950. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  12951. "\xee\xee\xee\xee\xff\xff\xff\xff"
  12952. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  12953. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  12954. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
  12955. .iv_out = "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
  12956. "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
  12957. .ctext = "\x0d\x3a\x6d\xdc\x2d\x21\xc6\x98"
  12958. "\x85\x72\x15\x58\x7b\x7b\xb5\x9a"
  12959. "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
  12960. "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
  12961. .len = 32,
  12962. }
  12963. };
  12964. static const struct cipher_testvec sm4_ctr_tv_template[] = {
  12965. { /* A.2.5.1 SM4-CTR Example 1 */
  12966. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  12967. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  12968. .klen = 16,
  12969. .ptext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  12970. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
  12971. "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
  12972. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  12973. "\xee\xee\xee\xee\xee\xee\xee\xee"
  12974. "\xff\xff\xff\xff\xff\xff\xff\xff"
  12975. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  12976. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
  12977. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  12978. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
  12979. .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
  12980. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
  12981. .ctext = "\xac\x32\x36\xcb\x97\x0c\xc2\x07"
  12982. "\x91\x36\x4c\x39\x5a\x13\x42\xd1"
  12983. "\xa3\xcb\xc1\x87\x8c\x6f\x30\xcd"
  12984. "\x07\x4c\xce\x38\x5c\xdd\x70\xc7"
  12985. "\xf2\x34\xbc\x0e\x24\xc1\x19\x80"
  12986. "\xfd\x12\x86\x31\x0c\xe3\x7b\x92"
  12987. "\x6e\x02\xfc\xd0\xfa\xa0\xba\xf3"
  12988. "\x8b\x29\x33\x85\x1d\x82\x45\x14",
  12989. .len = 64,
  12990. }, { /* A.2.5.2 SM4-CTR Example 2 */
  12991. .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
  12992. "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
  12993. .klen = 16,
  12994. .ptext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  12995. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
  12996. "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
  12997. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  12998. "\xee\xee\xee\xee\xee\xee\xee\xee"
  12999. "\xff\xff\xff\xff\xff\xff\xff\xff"
  13000. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  13001. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
  13002. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13003. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
  13004. .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13005. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
  13006. .ctext = "\x5d\xcc\xcd\x25\xb9\x5a\xb0\x74"
  13007. "\x17\xa0\x85\x12\xee\x16\x0e\x2f"
  13008. "\x8f\x66\x15\x21\xcb\xba\xb4\x4c"
  13009. "\xc8\x71\x38\x44\x5b\xc2\x9e\x5c"
  13010. "\x0a\xe0\x29\x72\x05\xd6\x27\x04"
  13011. "\x17\x3b\x21\x23\x9b\x88\x7f\x6c"
  13012. "\x8c\xb5\xb8\x00\x91\x7a\x24\x88"
  13013. "\x28\x4b\xde\x9e\x16\xea\x29\x06",
  13014. .len = 64,
  13015. }
  13016. };
  13017. static const struct cipher_testvec sm4_ctr_rfc3686_tv_template[] = {
  13018. {
  13019. .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
  13020. "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
  13021. "\x00\x00\x00\x30",
  13022. .klen = 20,
  13023. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  13024. .ptext = "Single block msg",
  13025. .ctext = "\x20\x9b\x77\x31\xd3\x65\xdb\xab"
  13026. "\x9e\x48\x74\x7e\xbd\x13\x83\xeb",
  13027. .len = 16,
  13028. }, {
  13029. .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
  13030. "\x43\xd6\xce\x1f\x32\x53\x91\x63"
  13031. "\x00\x6c\xb6\xdb",
  13032. .klen = 20,
  13033. .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
  13034. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13035. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  13036. "\x10\x11\x12\x13\x14\x15\x16\x17"
  13037. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  13038. .ctext = "\x33\xe0\x28\x01\x92\xed\xc9\x1e"
  13039. "\x97\x35\xd9\x4a\xec\xd4\xbc\x23"
  13040. "\x4f\x35\x9f\x1c\x55\x1f\xe0\x27"
  13041. "\xe0\xdf\xc5\x43\xbc\xb0\x23\x94",
  13042. .len = 32,
  13043. }
  13044. };
  13045. static const struct cipher_testvec sm4_ofb_tv_template[] = {
  13046. { /* From: draft-ribose-cfrg-sm4-02, paragraph 12.2.3 */
  13047. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  13048. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  13049. .klen = 16,
  13050. .iv = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  13051. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  13052. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  13053. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  13054. "\x01\x23\x45\x67\x89\xab\xcd\xef"
  13055. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  13056. .ctext = "\x69\x3d\x9a\x53\x5b\xad\x5b\xb1"
  13057. "\x78\x6f\x53\xd7\x25\x3a\x70\x56"
  13058. "\xf2\x07\x5d\x28\xb5\x23\x5f\x58"
  13059. "\xd5\x00\x27\xe4\x17\x7d\x2b\xce",
  13060. .len = 32,
  13061. }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.3, Example 1 */
  13062. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  13063. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  13064. .klen = 16,
  13065. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13066. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  13067. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  13068. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  13069. "\xee\xee\xee\xee\xff\xff\xff\xff"
  13070. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  13071. .ctext = "\xac\x32\x36\xcb\x86\x1d\xd3\x16"
  13072. "\xe6\x41\x3b\x4e\x3c\x75\x24\xb7"
  13073. "\x1d\x01\xac\xa2\x48\x7c\xa5\x82"
  13074. "\xcb\xf5\x46\x3e\x66\x98\x53\x9b",
  13075. .len = 32,
  13076. }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.3, Example 2 */
  13077. .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  13078. "\x01\x23\x45\x67\x89\xab\xcd\xef",
  13079. .klen = 16,
  13080. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13081. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  13082. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  13083. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  13084. "\xee\xee\xee\xee\xff\xff\xff\xff"
  13085. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  13086. .ctext = "\x5d\xcc\xcd\x25\xa8\x4b\xa1\x65"
  13087. "\x60\xd7\xf2\x65\x88\x70\x68\x49"
  13088. "\x33\xfa\x16\xbd\x5c\xd9\xc8\x56"
  13089. "\xca\xca\xa1\xe1\x01\x89\x7a\x97",
  13090. .len = 32,
  13091. }
  13092. };
  13093. static const struct cipher_testvec sm4_cfb_tv_template[] = {
  13094. { /* From: draft-ribose-cfrg-sm4-02, paragraph 12.2.4 */
  13095. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  13096. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  13097. .klen = 16,
  13098. .iv = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  13099. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  13100. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  13101. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  13102. "\x01\x23\x45\x67\x89\xab\xcd\xef"
  13103. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  13104. .ctext = "\x69\x3d\x9a\x53\x5b\xad\x5b\xb1"
  13105. "\x78\x6f\x53\xd7\x25\x3a\x70\x56"
  13106. "\x9e\xd2\x58\xa8\x5a\x04\x67\xcc"
  13107. "\x92\xaa\xb3\x93\xdd\x97\x89\x95",
  13108. .len = 32,
  13109. }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.4, Example 1 */
  13110. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  13111. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  13112. .klen = 16,
  13113. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13114. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  13115. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  13116. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  13117. "\xee\xee\xee\xee\xff\xff\xff\xff"
  13118. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  13119. .ctext = "\xac\x32\x36\xcb\x86\x1d\xd3\x16"
  13120. "\xe6\x41\x3b\x4e\x3c\x75\x24\xb7"
  13121. "\x69\xd4\xc5\x4e\xd4\x33\xb9\xa0"
  13122. "\x34\x60\x09\xbe\xb3\x7b\x2b\x3f",
  13123. .len = 32,
  13124. }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.4, Example 2 */
  13125. .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  13126. "\x01\x23\x45\x67\x89\xab\xcd\xef",
  13127. .klen = 16,
  13128. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13129. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  13130. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  13131. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  13132. "\xee\xee\xee\xee\xff\xff\xff\xff"
  13133. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  13134. .ctext = "\x5d\xcc\xcd\x25\xa8\x4b\xa1\x65"
  13135. "\x60\xd7\xf2\x65\x88\x70\x68\x49"
  13136. "\x0d\x9b\x86\xff\x20\xc3\xbf\xe1"
  13137. "\x15\xff\xa0\x2c\xa6\x19\x2c\xc5",
  13138. .len = 32,
  13139. }
  13140. };
  13141. /* Cast6 test vectors from RFC 2612 */
  13142. static const struct cipher_testvec cast6_tv_template[] = {
  13143. {
  13144. .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
  13145. "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
  13146. .klen = 16,
  13147. .ptext = zeroed_string,
  13148. .ctext = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
  13149. "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
  13150. .len = 16,
  13151. }, {
  13152. .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
  13153. "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
  13154. "\xba\xc7\x7a\x77\x17\x94\x28\x63",
  13155. .klen = 24,
  13156. .ptext = zeroed_string,
  13157. .ctext = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
  13158. "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
  13159. .len = 16,
  13160. }, {
  13161. .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
  13162. "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
  13163. "\x8d\x7c\x47\xce\x26\x49\x08\x46"
  13164. "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
  13165. .klen = 32,
  13166. .ptext = zeroed_string,
  13167. .ctext = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
  13168. "\xc9\x87\x01\x36\x55\x33\x17\xfa",
  13169. .len = 16,
  13170. }, { /* Generated from TF test vectors */
  13171. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  13172. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  13173. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  13174. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  13175. .klen = 32,
  13176. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13177. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  13178. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  13179. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  13180. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  13181. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  13182. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  13183. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  13184. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  13185. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  13186. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  13187. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  13188. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  13189. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  13190. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  13191. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  13192. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  13193. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  13194. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  13195. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  13196. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  13197. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  13198. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  13199. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  13200. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  13201. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  13202. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  13203. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  13204. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  13205. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  13206. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  13207. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  13208. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  13209. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  13210. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  13211. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  13212. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  13213. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  13214. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  13215. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  13216. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  13217. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  13218. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  13219. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  13220. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  13221. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  13222. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  13223. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  13224. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  13225. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  13226. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  13227. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  13228. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  13229. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  13230. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  13231. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  13232. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  13233. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  13234. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  13235. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  13236. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  13237. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  13238. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  13239. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  13240. .ctext = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
  13241. "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
  13242. "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
  13243. "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
  13244. "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
  13245. "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
  13246. "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
  13247. "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
  13248. "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
  13249. "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
  13250. "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
  13251. "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
  13252. "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
  13253. "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
  13254. "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
  13255. "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
  13256. "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
  13257. "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
  13258. "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
  13259. "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
  13260. "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
  13261. "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
  13262. "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
  13263. "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
  13264. "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
  13265. "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
  13266. "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
  13267. "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
  13268. "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
  13269. "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
  13270. "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
  13271. "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
  13272. "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
  13273. "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
  13274. "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
  13275. "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
  13276. "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
  13277. "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
  13278. "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
  13279. "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
  13280. "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
  13281. "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
  13282. "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
  13283. "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
  13284. "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
  13285. "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
  13286. "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
  13287. "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
  13288. "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
  13289. "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
  13290. "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
  13291. "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
  13292. "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
  13293. "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
  13294. "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
  13295. "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
  13296. "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
  13297. "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
  13298. "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
  13299. "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
  13300. "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
  13301. "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
  13302. .len = 496,
  13303. },
  13304. };
  13305. static const struct cipher_testvec cast6_cbc_tv_template[] = {
  13306. { /* Generated from TF test vectors */
  13307. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  13308. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  13309. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  13310. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  13311. .klen = 32,
  13312. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13313. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  13314. .iv_out = "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
  13315. "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
  13316. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  13317. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  13318. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  13319. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  13320. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  13321. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  13322. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  13323. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  13324. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  13325. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  13326. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  13327. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  13328. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  13329. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  13330. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  13331. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  13332. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  13333. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  13334. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  13335. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  13336. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  13337. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  13338. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  13339. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  13340. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  13341. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  13342. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  13343. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  13344. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  13345. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  13346. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  13347. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  13348. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  13349. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  13350. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  13351. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  13352. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  13353. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  13354. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  13355. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  13356. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  13357. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  13358. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  13359. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  13360. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  13361. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  13362. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  13363. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  13364. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  13365. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  13366. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  13367. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  13368. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  13369. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  13370. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  13371. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  13372. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  13373. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  13374. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  13375. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  13376. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  13377. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  13378. .ctext = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
  13379. "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
  13380. "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
  13381. "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
  13382. "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
  13383. "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
  13384. "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
  13385. "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
  13386. "\x57\x95\xE1\x21\x26\x10\x9A\x21"
  13387. "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
  13388. "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
  13389. "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
  13390. "\x23\x16\x47\x72\x81\x13\x3A\x72"
  13391. "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
  13392. "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
  13393. "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
  13394. "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
  13395. "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
  13396. "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
  13397. "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
  13398. "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
  13399. "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
  13400. "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
  13401. "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
  13402. "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
  13403. "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
  13404. "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
  13405. "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
  13406. "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
  13407. "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
  13408. "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
  13409. "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
  13410. "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
  13411. "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
  13412. "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
  13413. "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
  13414. "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
  13415. "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
  13416. "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
  13417. "\x73\x3F\x12\x91\x47\x54\xBA\x39"
  13418. "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
  13419. "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
  13420. "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
  13421. "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
  13422. "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
  13423. "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
  13424. "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
  13425. "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
  13426. "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
  13427. "\x80\x21\x83\x58\x3C\x76\xFD\x28"
  13428. "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
  13429. "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
  13430. "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
  13431. "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
  13432. "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
  13433. "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
  13434. "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
  13435. "\x56\x4D\x82\x62\x37\xA3\x48\x01"
  13436. "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
  13437. "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
  13438. "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
  13439. "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
  13440. .len = 496,
  13441. },
  13442. };
  13443. static const struct cipher_testvec cast6_ctr_tv_template[] = {
  13444. { /* Generated from TF test vectors */
  13445. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  13446. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  13447. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  13448. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  13449. .klen = 32,
  13450. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13451. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  13452. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13453. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x66",
  13454. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  13455. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  13456. "\x3A",
  13457. .ctext = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
  13458. "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
  13459. "\x57",
  13460. .len = 17,
  13461. }, { /* Generated from TF test vectors */
  13462. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  13463. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  13464. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  13465. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  13466. .klen = 32,
  13467. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13468. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  13469. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13470. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
  13471. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  13472. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  13473. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  13474. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  13475. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  13476. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  13477. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  13478. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  13479. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  13480. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  13481. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  13482. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  13483. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  13484. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  13485. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  13486. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  13487. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  13488. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  13489. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  13490. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  13491. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  13492. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  13493. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  13494. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  13495. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  13496. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  13497. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  13498. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  13499. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  13500. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  13501. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  13502. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  13503. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  13504. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  13505. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  13506. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  13507. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  13508. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  13509. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  13510. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  13511. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  13512. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  13513. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  13514. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  13515. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  13516. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  13517. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  13518. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  13519. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  13520. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  13521. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  13522. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  13523. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  13524. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  13525. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  13526. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  13527. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  13528. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  13529. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  13530. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  13531. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  13532. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  13533. .ctext = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
  13534. "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
  13535. "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
  13536. "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
  13537. "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
  13538. "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
  13539. "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
  13540. "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
  13541. "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
  13542. "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
  13543. "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
  13544. "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
  13545. "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
  13546. "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
  13547. "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
  13548. "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
  13549. "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
  13550. "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
  13551. "\x49\x61\x22\x52\x64\x8C\x46\x41"
  13552. "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
  13553. "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
  13554. "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
  13555. "\x00\x14\x15\x59\xC1\x30\x64\xAF"
  13556. "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
  13557. "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
  13558. "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
  13559. "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
  13560. "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
  13561. "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
  13562. "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
  13563. "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
  13564. "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
  13565. "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
  13566. "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
  13567. "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
  13568. "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
  13569. "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
  13570. "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
  13571. "\x60\x40\x38\x90\x20\x46\xC7\xB3"
  13572. "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
  13573. "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
  13574. "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
  13575. "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
  13576. "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
  13577. "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
  13578. "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
  13579. "\x73\xFC\x91\xAB\x79\x41\x23\x14"
  13580. "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
  13581. "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
  13582. "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
  13583. "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
  13584. "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
  13585. "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
  13586. "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
  13587. "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
  13588. "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
  13589. "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
  13590. "\x19\x35\x88\x22\x45\x59\x0E\x8F"
  13591. "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
  13592. "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
  13593. "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
  13594. "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
  13595. .len = 496,
  13596. },
  13597. };
  13598. static const struct cipher_testvec cast6_lrw_tv_template[] = {
  13599. { /* Generated from TF test vectors */
  13600. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  13601. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  13602. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  13603. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  13604. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  13605. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  13606. .klen = 48,
  13607. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13608. "\x00\x00\x00\x00\x00\x00\x00\x01",
  13609. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  13610. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  13611. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  13612. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  13613. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  13614. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  13615. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  13616. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  13617. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  13618. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  13619. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  13620. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  13621. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  13622. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  13623. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  13624. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  13625. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  13626. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  13627. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  13628. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  13629. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  13630. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  13631. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  13632. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  13633. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  13634. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  13635. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  13636. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  13637. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  13638. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  13639. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  13640. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  13641. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  13642. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  13643. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  13644. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  13645. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  13646. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  13647. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  13648. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  13649. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  13650. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  13651. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  13652. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  13653. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  13654. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  13655. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  13656. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  13657. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  13658. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  13659. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  13660. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  13661. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  13662. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  13663. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  13664. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  13665. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  13666. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  13667. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  13668. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  13669. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  13670. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  13671. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  13672. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  13673. .ctext = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
  13674. "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
  13675. "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
  13676. "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
  13677. "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
  13678. "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
  13679. "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
  13680. "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
  13681. "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
  13682. "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
  13683. "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
  13684. "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
  13685. "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
  13686. "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
  13687. "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
  13688. "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
  13689. "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
  13690. "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
  13691. "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
  13692. "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
  13693. "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
  13694. "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
  13695. "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
  13696. "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
  13697. "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
  13698. "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
  13699. "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
  13700. "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
  13701. "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
  13702. "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
  13703. "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
  13704. "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
  13705. "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
  13706. "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
  13707. "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
  13708. "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
  13709. "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
  13710. "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
  13711. "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
  13712. "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
  13713. "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
  13714. "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
  13715. "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
  13716. "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
  13717. "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
  13718. "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
  13719. "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
  13720. "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
  13721. "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
  13722. "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
  13723. "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
  13724. "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
  13725. "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
  13726. "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
  13727. "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
  13728. "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
  13729. "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
  13730. "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
  13731. "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
  13732. "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
  13733. "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
  13734. "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
  13735. "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
  13736. "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
  13737. .len = 512,
  13738. },
  13739. };
  13740. static const struct cipher_testvec cast6_xts_tv_template[] = {
  13741. { /* Generated from TF test vectors */
  13742. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  13743. "\x23\x53\x60\x28\x74\x71\x35\x26"
  13744. "\x62\x49\x77\x57\x24\x70\x93\x69"
  13745. "\x99\x59\x57\x49\x66\x96\x76\x27"
  13746. "\x31\x41\x59\x26\x53\x58\x97\x93"
  13747. "\x23\x84\x62\x64\x33\x83\x27\x95"
  13748. "\x02\x88\x41\x97\x16\x93\x99\x37"
  13749. "\x51\x05\x82\x09\x74\x94\x45\x92",
  13750. .klen = 64,
  13751. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  13752. "\x00\x00\x00\x00\x00\x00\x00\x00",
  13753. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13754. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  13755. "\x10\x11\x12\x13\x14\x15\x16\x17"
  13756. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  13757. "\x20\x21\x22\x23\x24\x25\x26\x27"
  13758. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  13759. "\x30\x31\x32\x33\x34\x35\x36\x37"
  13760. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  13761. "\x40\x41\x42\x43\x44\x45\x46\x47"
  13762. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  13763. "\x50\x51\x52\x53\x54\x55\x56\x57"
  13764. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  13765. "\x60\x61\x62\x63\x64\x65\x66\x67"
  13766. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  13767. "\x70\x71\x72\x73\x74\x75\x76\x77"
  13768. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  13769. "\x80\x81\x82\x83\x84\x85\x86\x87"
  13770. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  13771. "\x90\x91\x92\x93\x94\x95\x96\x97"
  13772. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  13773. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  13774. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  13775. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  13776. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  13777. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  13778. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  13779. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  13780. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  13781. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  13782. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  13783. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  13784. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  13785. "\x00\x01\x02\x03\x04\x05\x06\x07"
  13786. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  13787. "\x10\x11\x12\x13\x14\x15\x16\x17"
  13788. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  13789. "\x20\x21\x22\x23\x24\x25\x26\x27"
  13790. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  13791. "\x30\x31\x32\x33\x34\x35\x36\x37"
  13792. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  13793. "\x40\x41\x42\x43\x44\x45\x46\x47"
  13794. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  13795. "\x50\x51\x52\x53\x54\x55\x56\x57"
  13796. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  13797. "\x60\x61\x62\x63\x64\x65\x66\x67"
  13798. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  13799. "\x70\x71\x72\x73\x74\x75\x76\x77"
  13800. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  13801. "\x80\x81\x82\x83\x84\x85\x86\x87"
  13802. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  13803. "\x90\x91\x92\x93\x94\x95\x96\x97"
  13804. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  13805. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  13806. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  13807. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  13808. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  13809. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  13810. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  13811. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  13812. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  13813. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  13814. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  13815. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  13816. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  13817. .ctext = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
  13818. "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
  13819. "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
  13820. "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
  13821. "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
  13822. "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
  13823. "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
  13824. "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
  13825. "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
  13826. "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
  13827. "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
  13828. "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
  13829. "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
  13830. "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
  13831. "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
  13832. "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
  13833. "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
  13834. "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
  13835. "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
  13836. "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
  13837. "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
  13838. "\x71\x38\x17\x91\x44\xE8\xFC\x65"
  13839. "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
  13840. "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
  13841. "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
  13842. "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
  13843. "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
  13844. "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
  13845. "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
  13846. "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
  13847. "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
  13848. "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
  13849. "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
  13850. "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
  13851. "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
  13852. "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
  13853. "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
  13854. "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
  13855. "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
  13856. "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
  13857. "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
  13858. "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
  13859. "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
  13860. "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
  13861. "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
  13862. "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
  13863. "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
  13864. "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
  13865. "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
  13866. "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
  13867. "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
  13868. "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
  13869. "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
  13870. "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
  13871. "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
  13872. "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
  13873. "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
  13874. "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
  13875. "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
  13876. "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
  13877. "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
  13878. "\x45\x72\x80\x17\x81\xBD\x9D\x62"
  13879. "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
  13880. "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
  13881. .len = 512,
  13882. },
  13883. };
  13884. /*
  13885. * AES test vectors.
  13886. */
  13887. static const struct cipher_testvec aes_tv_template[] = {
  13888. { /* From FIPS-197 */
  13889. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13890. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  13891. .klen = 16,
  13892. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  13893. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  13894. .ctext = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
  13895. "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
  13896. .len = 16,
  13897. }, {
  13898. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13899. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  13900. "\x10\x11\x12\x13\x14\x15\x16\x17",
  13901. .klen = 24,
  13902. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  13903. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  13904. .ctext = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
  13905. "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
  13906. .len = 16,
  13907. }, {
  13908. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13909. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  13910. "\x10\x11\x12\x13\x14\x15\x16\x17"
  13911. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  13912. .klen = 32,
  13913. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  13914. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  13915. .ctext = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
  13916. "\xea\xfc\x49\x90\x4b\x49\x60\x89",
  13917. .len = 16,
  13918. }, { /* Generated with Crypto++ */
  13919. .key = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
  13920. "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
  13921. "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
  13922. "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
  13923. .klen = 32,
  13924. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  13925. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  13926. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  13927. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  13928. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  13929. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  13930. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  13931. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  13932. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  13933. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  13934. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  13935. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  13936. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  13937. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  13938. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  13939. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  13940. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  13941. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  13942. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  13943. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  13944. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  13945. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  13946. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  13947. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  13948. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  13949. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  13950. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  13951. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  13952. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  13953. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  13954. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  13955. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  13956. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  13957. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  13958. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  13959. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  13960. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  13961. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  13962. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  13963. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  13964. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  13965. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  13966. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  13967. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  13968. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  13969. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  13970. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  13971. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  13972. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  13973. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  13974. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  13975. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  13976. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  13977. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  13978. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  13979. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  13980. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  13981. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  13982. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  13983. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  13984. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  13985. "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
  13986. .ctext = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
  13987. "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
  13988. "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
  13989. "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
  13990. "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
  13991. "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
  13992. "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
  13993. "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
  13994. "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
  13995. "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
  13996. "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
  13997. "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
  13998. "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
  13999. "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
  14000. "\x41\x72\x51\x97\x1D\x07\x49\xA0"
  14001. "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
  14002. "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
  14003. "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
  14004. "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
  14005. "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
  14006. "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
  14007. "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
  14008. "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
  14009. "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
  14010. "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
  14011. "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
  14012. "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
  14013. "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
  14014. "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
  14015. "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
  14016. "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
  14017. "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
  14018. "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
  14019. "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
  14020. "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
  14021. "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
  14022. "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
  14023. "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
  14024. "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
  14025. "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
  14026. "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
  14027. "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
  14028. "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
  14029. "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
  14030. "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
  14031. "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
  14032. "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
  14033. "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
  14034. "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
  14035. "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
  14036. "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
  14037. "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
  14038. "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
  14039. "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
  14040. "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
  14041. "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
  14042. "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
  14043. "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
  14044. "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
  14045. "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
  14046. "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
  14047. "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
  14048. .len = 496,
  14049. },
  14050. };
  14051. static const struct cipher_testvec aes_cbc_tv_template[] = {
  14052. { /* From RFC 3602 */
  14053. .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  14054. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  14055. .klen = 16,
  14056. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  14057. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  14058. .iv_out = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  14059. "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
  14060. .ptext = "Single block msg",
  14061. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  14062. "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
  14063. .len = 16,
  14064. }, {
  14065. .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  14066. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  14067. .klen = 16,
  14068. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  14069. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  14070. .iv_out = "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  14071. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
  14072. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14073. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14074. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14075. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  14076. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  14077. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  14078. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  14079. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
  14080. .len = 32,
  14081. }, { /* From NIST SP800-38A */
  14082. .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  14083. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  14084. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  14085. .klen = 24,
  14086. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14087. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14088. .iv_out = "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  14089. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
  14090. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  14091. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  14092. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  14093. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  14094. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  14095. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  14096. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  14097. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  14098. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  14099. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  14100. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  14101. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  14102. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  14103. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  14104. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  14105. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
  14106. .len = 64,
  14107. }, {
  14108. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  14109. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  14110. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  14111. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  14112. .klen = 32,
  14113. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14114. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14115. .iv_out = "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  14116. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
  14117. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  14118. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  14119. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  14120. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  14121. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  14122. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  14123. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  14124. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  14125. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  14126. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  14127. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  14128. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  14129. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  14130. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  14131. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  14132. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
  14133. .len = 64,
  14134. }, { /* Generated with Crypto++ */
  14135. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
  14136. "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
  14137. "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
  14138. "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
  14139. .klen = 32,
  14140. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
  14141. "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
  14142. .iv_out = "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
  14143. "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
  14144. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  14145. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  14146. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  14147. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  14148. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  14149. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  14150. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  14151. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  14152. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  14153. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  14154. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  14155. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  14156. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  14157. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  14158. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  14159. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  14160. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  14161. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  14162. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  14163. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  14164. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  14165. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  14166. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  14167. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  14168. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  14169. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  14170. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  14171. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  14172. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  14173. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  14174. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  14175. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  14176. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  14177. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  14178. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  14179. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  14180. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  14181. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  14182. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  14183. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  14184. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  14185. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  14186. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  14187. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  14188. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  14189. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  14190. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  14191. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  14192. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  14193. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  14194. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  14195. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  14196. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  14197. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  14198. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  14199. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  14200. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  14201. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  14202. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  14203. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  14204. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  14205. "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
  14206. .ctext = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
  14207. "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
  14208. "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
  14209. "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
  14210. "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
  14211. "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
  14212. "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
  14213. "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
  14214. "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
  14215. "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
  14216. "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
  14217. "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
  14218. "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
  14219. "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
  14220. "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
  14221. "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
  14222. "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
  14223. "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
  14224. "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
  14225. "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
  14226. "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
  14227. "\x16\x24\x02\x07\x48\xAE\xF2\x31"
  14228. "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
  14229. "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
  14230. "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
  14231. "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
  14232. "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
  14233. "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
  14234. "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
  14235. "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
  14236. "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
  14237. "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
  14238. "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
  14239. "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
  14240. "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
  14241. "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
  14242. "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
  14243. "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
  14244. "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
  14245. "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
  14246. "\x22\x39\x7B\x16\x03\x01\x69\xAF"
  14247. "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
  14248. "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
  14249. "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
  14250. "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
  14251. "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
  14252. "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
  14253. "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
  14254. "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
  14255. "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
  14256. "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
  14257. "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
  14258. "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
  14259. "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
  14260. "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
  14261. "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
  14262. "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
  14263. "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
  14264. "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
  14265. "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
  14266. "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
  14267. "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
  14268. .len = 496,
  14269. },
  14270. };
  14271. static const struct cipher_testvec aes_cfb_tv_template[] = {
  14272. { /* From NIST SP800-38A */
  14273. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  14274. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  14275. .klen = 16,
  14276. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14277. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14278. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  14279. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  14280. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  14281. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  14282. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  14283. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  14284. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  14285. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  14286. .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
  14287. "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
  14288. "\xc8\xa6\x45\x37\xa0\xb3\xa9\x3f"
  14289. "\xcd\xe3\xcd\xad\x9f\x1c\xe5\x8b"
  14290. "\x26\x75\x1f\x67\xa3\xcb\xb1\x40"
  14291. "\xb1\x80\x8c\xf1\x87\xa4\xf4\xdf"
  14292. "\xc0\x4b\x05\x35\x7c\x5d\x1c\x0e"
  14293. "\xea\xc4\xc6\x6f\x9f\xf7\xf2\xe6",
  14294. .len = 64,
  14295. }, {
  14296. .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  14297. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  14298. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  14299. .klen = 24,
  14300. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14301. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14302. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  14303. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  14304. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  14305. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  14306. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  14307. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  14308. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  14309. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  14310. .ctext = "\xcd\xc8\x0d\x6f\xdd\xf1\x8c\xab"
  14311. "\x34\xc2\x59\x09\xc9\x9a\x41\x74"
  14312. "\x67\xce\x7f\x7f\x81\x17\x36\x21"
  14313. "\x96\x1a\x2b\x70\x17\x1d\x3d\x7a"
  14314. "\x2e\x1e\x8a\x1d\xd5\x9b\x88\xb1"
  14315. "\xc8\xe6\x0f\xed\x1e\xfa\xc4\xc9"
  14316. "\xc0\x5f\x9f\x9c\xa9\x83\x4f\xa0"
  14317. "\x42\xae\x8f\xba\x58\x4b\x09\xff",
  14318. .len = 64,
  14319. }, {
  14320. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  14321. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  14322. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  14323. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  14324. .klen = 32,
  14325. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14326. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14327. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  14328. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  14329. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  14330. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  14331. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  14332. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  14333. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  14334. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  14335. .ctext = "\xdc\x7e\x84\xbf\xda\x79\x16\x4b"
  14336. "\x7e\xcd\x84\x86\x98\x5d\x38\x60"
  14337. "\x39\xff\xed\x14\x3b\x28\xb1\xc8"
  14338. "\x32\x11\x3c\x63\x31\xe5\x40\x7b"
  14339. "\xdf\x10\x13\x24\x15\xe5\x4b\x92"
  14340. "\xa1\x3e\xd0\xa8\x26\x7a\xe2\xf9"
  14341. "\x75\xa3\x85\x74\x1a\xb9\xce\xf8"
  14342. "\x20\x31\x62\x3d\x55\xb1\xe4\x71",
  14343. .len = 64,
  14344. }, { /* > 16 bytes, not a multiple of 16 bytes */
  14345. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  14346. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  14347. .klen = 16,
  14348. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14349. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14350. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  14351. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  14352. "\xae",
  14353. .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
  14354. "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
  14355. "\xc8",
  14356. .len = 17,
  14357. }, { /* < 16 bytes */
  14358. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  14359. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  14360. .klen = 16,
  14361. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14362. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14363. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f",
  14364. .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad",
  14365. .len = 7,
  14366. },
  14367. };
  14368. static const struct aead_testvec hmac_md5_ecb_cipher_null_tv_template[] = {
  14369. { /* Input data from RFC 2410 Case 1 */
  14370. #ifdef __LITTLE_ENDIAN
  14371. .key = "\x08\x00" /* rta length */
  14372. "\x01\x00" /* rta type */
  14373. #else
  14374. .key = "\x00\x08" /* rta length */
  14375. "\x00\x01" /* rta type */
  14376. #endif
  14377. "\x00\x00\x00\x00" /* enc key length */
  14378. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14379. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14380. .klen = 8 + 16 + 0,
  14381. .iv = "",
  14382. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  14383. .plen = 8,
  14384. .ctext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14385. "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
  14386. "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
  14387. .clen = 8 + 16,
  14388. }, { /* Input data from RFC 2410 Case 2 */
  14389. #ifdef __LITTLE_ENDIAN
  14390. .key = "\x08\x00" /* rta length */
  14391. "\x01\x00" /* rta type */
  14392. #else
  14393. .key = "\x00\x08" /* rta length */
  14394. "\x00\x01" /* rta type */
  14395. #endif
  14396. "\x00\x00\x00\x00" /* enc key length */
  14397. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14398. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14399. .klen = 8 + 16 + 0,
  14400. .iv = "",
  14401. .ptext = "Network Security People Have A Strange Sense Of Humor",
  14402. .plen = 53,
  14403. .ctext = "Network Security People Have A Strange Sense Of Humor"
  14404. "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
  14405. "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
  14406. .clen = 53 + 16,
  14407. },
  14408. };
  14409. static const struct aead_testvec hmac_sha1_aes_cbc_tv_temp[] = {
  14410. { /* RFC 3602 Case 1 */
  14411. #ifdef __LITTLE_ENDIAN
  14412. .key = "\x08\x00" /* rta length */
  14413. "\x01\x00" /* rta type */
  14414. #else
  14415. .key = "\x00\x08" /* rta length */
  14416. "\x00\x01" /* rta type */
  14417. #endif
  14418. "\x00\x00\x00\x10" /* enc key length */
  14419. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14420. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14421. "\x00\x00\x00\x00"
  14422. "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  14423. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  14424. .klen = 8 + 20 + 16,
  14425. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  14426. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  14427. .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  14428. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  14429. .alen = 16,
  14430. .ptext = "Single block msg",
  14431. .plen = 16,
  14432. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  14433. "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
  14434. "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
  14435. "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
  14436. "\x03\x71\xa2\x06",
  14437. .clen = 16 + 20,
  14438. }, { /* RFC 3602 Case 2 */
  14439. #ifdef __LITTLE_ENDIAN
  14440. .key = "\x08\x00" /* rta length */
  14441. "\x01\x00" /* rta type */
  14442. #else
  14443. .key = "\x00\x08" /* rta length */
  14444. "\x00\x01" /* rta type */
  14445. #endif
  14446. "\x00\x00\x00\x10" /* enc key length */
  14447. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14448. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14449. "\x30\x31\x32\x33"
  14450. "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  14451. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  14452. .klen = 8 + 20 + 16,
  14453. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  14454. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  14455. .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  14456. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  14457. .alen = 16,
  14458. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14459. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14460. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14461. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  14462. .plen = 32,
  14463. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  14464. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  14465. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  14466. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
  14467. "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
  14468. "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
  14469. "\x65\x39\xf8\xde",
  14470. .clen = 32 + 20,
  14471. }, { /* RFC 3602 Case 3 */
  14472. #ifdef __LITTLE_ENDIAN
  14473. .key = "\x08\x00" /* rta length */
  14474. "\x01\x00" /* rta type */
  14475. #else
  14476. .key = "\x00\x08" /* rta length */
  14477. "\x00\x01" /* rta type */
  14478. #endif
  14479. "\x00\x00\x00\x10" /* enc key length */
  14480. "\x11\x22\x33\x44\x55\x66\x77\x88"
  14481. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  14482. "\x22\x33\x44\x55"
  14483. "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
  14484. "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
  14485. .klen = 8 + 20 + 16,
  14486. .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  14487. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  14488. .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  14489. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  14490. .alen = 16,
  14491. .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
  14492. .plen = 48,
  14493. .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
  14494. "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
  14495. "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
  14496. "\x50\x69\x39\x27\x67\x72\xf8\xd5"
  14497. "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
  14498. "\x85\x79\x69\x5d\x83\xba\x26\x84"
  14499. "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
  14500. "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
  14501. "\x8d\x62\xf2\x1e",
  14502. .clen = 48 + 20,
  14503. }, { /* RFC 3602 Case 4 */
  14504. #ifdef __LITTLE_ENDIAN
  14505. .key = "\x08\x00" /* rta length */
  14506. "\x01\x00" /* rta type */
  14507. #else
  14508. .key = "\x00\x08" /* rta length */
  14509. "\x00\x01" /* rta type */
  14510. #endif
  14511. "\x00\x00\x00\x10" /* enc key length */
  14512. "\x11\x22\x33\x44\x55\x66\x77\x88"
  14513. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  14514. "\x22\x33\x44\x55"
  14515. "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
  14516. "\xbc\x46\x90\x3d\xba\x29\x03\x49",
  14517. .klen = 8 + 20 + 16,
  14518. .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  14519. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  14520. .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  14521. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  14522. .alen = 16,
  14523. .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  14524. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  14525. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  14526. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  14527. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  14528. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  14529. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  14530. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
  14531. .plen = 64,
  14532. .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
  14533. "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
  14534. "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
  14535. "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
  14536. "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
  14537. "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
  14538. "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
  14539. "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
  14540. "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
  14541. "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
  14542. "\x1d\xbe\xc6\xe9",
  14543. .clen = 64 + 20,
  14544. }, { /* RFC 3602 Case 5 */
  14545. #ifdef __LITTLE_ENDIAN
  14546. .key = "\x08\x00" /* rta length */
  14547. "\x01\x00" /* rta type */
  14548. #else
  14549. .key = "\x00\x08" /* rta length */
  14550. "\x00\x01" /* rta type */
  14551. #endif
  14552. "\x00\x00\x00\x10" /* enc key length */
  14553. "\x11\x22\x33\x44\x55\x66\x77\x88"
  14554. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  14555. "\x22\x33\x44\x55"
  14556. "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
  14557. "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
  14558. .klen = 8 + 20 + 16,
  14559. .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  14560. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  14561. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  14562. "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  14563. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  14564. .alen = 24,
  14565. .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
  14566. "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
  14567. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14568. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14569. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  14570. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14571. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14572. "\x30\x31\x32\x33\x34\x35\x36\x37"
  14573. "\x01\x02\x03\x04\x05\x06\x07\x08"
  14574. "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
  14575. .plen = 80,
  14576. .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
  14577. "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
  14578. "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
  14579. "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
  14580. "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
  14581. "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
  14582. "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
  14583. "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
  14584. "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
  14585. "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
  14586. "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
  14587. "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
  14588. "\x85\xe1\x59\xf7",
  14589. .clen = 80 + 20,
  14590. }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
  14591. #ifdef __LITTLE_ENDIAN
  14592. .key = "\x08\x00" /* rta length */
  14593. "\x01\x00" /* rta type */
  14594. #else
  14595. .key = "\x00\x08" /* rta length */
  14596. "\x00\x01" /* rta type */
  14597. #endif
  14598. "\x00\x00\x00\x18" /* enc key length */
  14599. "\x11\x22\x33\x44\x55\x66\x77\x88"
  14600. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  14601. "\x22\x33\x44\x55"
  14602. "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  14603. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  14604. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  14605. .klen = 8 + 20 + 24,
  14606. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14607. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14608. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14609. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14610. .alen = 16,
  14611. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  14612. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  14613. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  14614. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  14615. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  14616. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  14617. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  14618. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  14619. .plen = 64,
  14620. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  14621. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  14622. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  14623. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  14624. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  14625. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  14626. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  14627. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
  14628. "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
  14629. "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
  14630. "\x47\x4c\xfc\x36",
  14631. .clen = 64 + 20,
  14632. }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
  14633. #ifdef __LITTLE_ENDIAN
  14634. .key = "\x08\x00" /* rta length */
  14635. "\x01\x00" /* rta type */
  14636. #else
  14637. .key = "\x00\x08" /* rta length */
  14638. "\x00\x01" /* rta type */
  14639. #endif
  14640. "\x00\x00\x00\x20" /* enc key length */
  14641. "\x11\x22\x33\x44\x55\x66\x77\x88"
  14642. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  14643. "\x22\x33\x44\x55"
  14644. "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  14645. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  14646. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  14647. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  14648. .klen = 8 + 20 + 32,
  14649. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14650. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14651. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14652. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14653. .alen = 16,
  14654. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  14655. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  14656. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  14657. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  14658. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  14659. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  14660. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  14661. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  14662. .plen = 64,
  14663. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  14664. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  14665. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  14666. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  14667. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  14668. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  14669. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  14670. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
  14671. "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
  14672. "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
  14673. "\x51\xee\xd6\x4e",
  14674. .clen = 64 + 20,
  14675. },
  14676. };
  14677. static const struct aead_testvec hmac_sha1_ecb_cipher_null_tv_temp[] = {
  14678. { /* Input data from RFC 2410 Case 1 */
  14679. #ifdef __LITTLE_ENDIAN
  14680. .key = "\x08\x00" /* rta length */
  14681. "\x01\x00" /* rta type */
  14682. #else
  14683. .key = "\x00\x08" /* rta length */
  14684. "\x00\x01" /* rta type */
  14685. #endif
  14686. "\x00\x00\x00\x00" /* enc key length */
  14687. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14688. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14689. "\x00\x00\x00\x00",
  14690. .klen = 8 + 20 + 0,
  14691. .iv = "",
  14692. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  14693. .plen = 8,
  14694. .ctext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14695. "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
  14696. "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
  14697. "\x8c\x5e\xe4\x08",
  14698. .clen = 8 + 20,
  14699. }, { /* Input data from RFC 2410 Case 2 */
  14700. #ifdef __LITTLE_ENDIAN
  14701. .key = "\x08\x00" /* rta length */
  14702. "\x01\x00" /* rta type */
  14703. #else
  14704. .key = "\x00\x08" /* rta length */
  14705. "\x00\x01" /* rta type */
  14706. #endif
  14707. "\x00\x00\x00\x00" /* enc key length */
  14708. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14709. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14710. "\x00\x00\x00\x00",
  14711. .klen = 8 + 20 + 0,
  14712. .iv = "",
  14713. .ptext = "Network Security People Have A Strange Sense Of Humor",
  14714. .plen = 53,
  14715. .ctext = "Network Security People Have A Strange Sense Of Humor"
  14716. "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
  14717. "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
  14718. "\x91\x56\xe4\xd6",
  14719. .clen = 53 + 20,
  14720. },
  14721. };
  14722. static const struct aead_testvec hmac_sha256_aes_cbc_tv_temp[] = {
  14723. { /* RFC 3602 Case 1 */
  14724. #ifdef __LITTLE_ENDIAN
  14725. .key = "\x08\x00" /* rta length */
  14726. "\x01\x00" /* rta type */
  14727. #else
  14728. .key = "\x00\x08" /* rta length */
  14729. "\x00\x01" /* rta type */
  14730. #endif
  14731. "\x00\x00\x00\x10" /* enc key length */
  14732. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14733. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14734. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14735. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14736. "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  14737. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  14738. .klen = 8 + 32 + 16,
  14739. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  14740. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  14741. .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  14742. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  14743. .alen = 16,
  14744. .ptext = "Single block msg",
  14745. .plen = 16,
  14746. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  14747. "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
  14748. "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
  14749. "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
  14750. "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
  14751. "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
  14752. .clen = 16 + 32,
  14753. }, { /* RFC 3602 Case 2 */
  14754. #ifdef __LITTLE_ENDIAN
  14755. .key = "\x08\x00" /* rta length */
  14756. "\x01\x00" /* rta type */
  14757. #else
  14758. .key = "\x00\x08" /* rta length */
  14759. "\x00\x01" /* rta type */
  14760. #endif
  14761. "\x00\x00\x00\x10" /* enc key length */
  14762. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14763. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14764. "\x30\x31\x32\x33\x34\x35\x36\x37"
  14765. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  14766. "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  14767. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  14768. .klen = 8 + 32 + 16,
  14769. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  14770. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  14771. .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  14772. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  14773. .alen = 16,
  14774. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14775. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14776. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14777. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  14778. .plen = 32,
  14779. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  14780. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  14781. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  14782. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
  14783. "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
  14784. "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
  14785. "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
  14786. "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
  14787. .clen = 32 + 32,
  14788. }, { /* RFC 3602 Case 3 */
  14789. #ifdef __LITTLE_ENDIAN
  14790. .key = "\x08\x00" /* rta length */
  14791. "\x01\x00" /* rta type */
  14792. #else
  14793. .key = "\x00\x08" /* rta length */
  14794. "\x00\x01" /* rta type */
  14795. #endif
  14796. "\x00\x00\x00\x10" /* enc key length */
  14797. "\x11\x22\x33\x44\x55\x66\x77\x88"
  14798. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  14799. "\x22\x33\x44\x55\x66\x77\x88\x99"
  14800. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  14801. "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
  14802. "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
  14803. .klen = 8 + 32 + 16,
  14804. .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  14805. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  14806. .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  14807. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  14808. .alen = 16,
  14809. .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
  14810. .plen = 48,
  14811. .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
  14812. "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
  14813. "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
  14814. "\x50\x69\x39\x27\x67\x72\xf8\xd5"
  14815. "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
  14816. "\x85\x79\x69\x5d\x83\xba\x26\x84"
  14817. "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
  14818. "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
  14819. "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
  14820. "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
  14821. .clen = 48 + 32,
  14822. }, { /* RFC 3602 Case 4 */
  14823. #ifdef __LITTLE_ENDIAN
  14824. .key = "\x08\x00" /* rta length */
  14825. "\x01\x00" /* rta type */
  14826. #else
  14827. .key = "\x00\x08" /* rta length */
  14828. "\x00\x01" /* rta type */
  14829. #endif
  14830. "\x00\x00\x00\x10" /* enc key length */
  14831. "\x11\x22\x33\x44\x55\x66\x77\x88"
  14832. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  14833. "\x22\x33\x44\x55\x66\x77\x88\x99"
  14834. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  14835. "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
  14836. "\xbc\x46\x90\x3d\xba\x29\x03\x49",
  14837. .klen = 8 + 32 + 16,
  14838. .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  14839. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  14840. .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  14841. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  14842. .alen = 16,
  14843. .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  14844. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  14845. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  14846. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  14847. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  14848. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  14849. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  14850. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
  14851. .plen = 64,
  14852. .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
  14853. "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
  14854. "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
  14855. "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
  14856. "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
  14857. "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
  14858. "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
  14859. "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
  14860. "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
  14861. "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
  14862. "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
  14863. "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
  14864. .clen = 64 + 32,
  14865. }, { /* RFC 3602 Case 5 */
  14866. #ifdef __LITTLE_ENDIAN
  14867. .key = "\x08\x00" /* rta length */
  14868. "\x01\x00" /* rta type */
  14869. #else
  14870. .key = "\x00\x08" /* rta length */
  14871. "\x00\x01" /* rta type */
  14872. #endif
  14873. "\x00\x00\x00\x10" /* enc key length */
  14874. "\x11\x22\x33\x44\x55\x66\x77\x88"
  14875. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  14876. "\x22\x33\x44\x55\x66\x77\x88\x99"
  14877. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  14878. "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
  14879. "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
  14880. .klen = 8 + 32 + 16,
  14881. .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  14882. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  14883. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  14884. "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  14885. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  14886. .alen = 24,
  14887. .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
  14888. "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
  14889. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14890. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14891. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  14892. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14893. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14894. "\x30\x31\x32\x33\x34\x35\x36\x37"
  14895. "\x01\x02\x03\x04\x05\x06\x07\x08"
  14896. "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
  14897. .plen = 80,
  14898. .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
  14899. "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
  14900. "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
  14901. "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
  14902. "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
  14903. "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
  14904. "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
  14905. "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
  14906. "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
  14907. "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
  14908. "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
  14909. "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
  14910. "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
  14911. "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
  14912. .clen = 80 + 32,
  14913. }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
  14914. #ifdef __LITTLE_ENDIAN
  14915. .key = "\x08\x00" /* rta length */
  14916. "\x01\x00" /* rta type */
  14917. #else
  14918. .key = "\x00\x08" /* rta length */
  14919. "\x00\x01" /* rta type */
  14920. #endif
  14921. "\x00\x00\x00\x18" /* enc key length */
  14922. "\x11\x22\x33\x44\x55\x66\x77\x88"
  14923. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  14924. "\x22\x33\x44\x55\x66\x77\x88\x99"
  14925. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  14926. "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  14927. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  14928. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  14929. .klen = 8 + 32 + 24,
  14930. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14931. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14932. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14933. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14934. .alen = 16,
  14935. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  14936. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  14937. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  14938. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  14939. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  14940. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  14941. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  14942. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  14943. .plen = 64,
  14944. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  14945. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  14946. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  14947. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  14948. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  14949. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  14950. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  14951. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
  14952. "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
  14953. "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
  14954. "\xca\x71\x85\x93\xf7\x85\x55\x8b"
  14955. "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
  14956. .clen = 64 + 32,
  14957. }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
  14958. #ifdef __LITTLE_ENDIAN
  14959. .key = "\x08\x00" /* rta length */
  14960. "\x01\x00" /* rta type */
  14961. #else
  14962. .key = "\x00\x08" /* rta length */
  14963. "\x00\x01" /* rta type */
  14964. #endif
  14965. "\x00\x00\x00\x20" /* enc key length */
  14966. "\x11\x22\x33\x44\x55\x66\x77\x88"
  14967. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  14968. "\x22\x33\x44\x55\x66\x77\x88\x99"
  14969. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  14970. "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  14971. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  14972. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  14973. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  14974. .klen = 8 + 32 + 32,
  14975. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14976. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14977. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14978. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14979. .alen = 16,
  14980. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  14981. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  14982. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  14983. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  14984. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  14985. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  14986. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  14987. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  14988. .plen = 64,
  14989. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  14990. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  14991. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  14992. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  14993. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  14994. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  14995. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  14996. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
  14997. "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
  14998. "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
  14999. "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
  15000. "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
  15001. .clen = 64 + 32,
  15002. },
  15003. };
  15004. static const struct aead_testvec hmac_sha512_aes_cbc_tv_temp[] = {
  15005. { /* RFC 3602 Case 1 */
  15006. #ifdef __LITTLE_ENDIAN
  15007. .key = "\x08\x00" /* rta length */
  15008. "\x01\x00" /* rta type */
  15009. #else
  15010. .key = "\x00\x08" /* rta length */
  15011. "\x00\x01" /* rta type */
  15012. #endif
  15013. "\x00\x00\x00\x10" /* enc key length */
  15014. "\x00\x00\x00\x00\x00\x00\x00\x00"
  15015. "\x00\x00\x00\x00\x00\x00\x00\x00"
  15016. "\x00\x00\x00\x00\x00\x00\x00\x00"
  15017. "\x00\x00\x00\x00\x00\x00\x00\x00"
  15018. "\x00\x00\x00\x00\x00\x00\x00\x00"
  15019. "\x00\x00\x00\x00\x00\x00\x00\x00"
  15020. "\x00\x00\x00\x00\x00\x00\x00\x00"
  15021. "\x00\x00\x00\x00\x00\x00\x00\x00"
  15022. "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  15023. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  15024. .klen = 8 + 64 + 16,
  15025. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  15026. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  15027. .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  15028. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  15029. .alen = 16,
  15030. .ptext = "Single block msg",
  15031. .plen = 16,
  15032. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  15033. "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
  15034. "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
  15035. "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
  15036. "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
  15037. "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
  15038. "\xec\xbd\x50\x08\x07\x64\x1a\x49"
  15039. "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
  15040. "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
  15041. "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
  15042. .clen = 16 + 64,
  15043. }, { /* RFC 3602 Case 2 */
  15044. #ifdef __LITTLE_ENDIAN
  15045. .key = "\x08\x00" /* rta length */
  15046. "\x01\x00" /* rta type */
  15047. #else
  15048. .key = "\x00\x08" /* rta length */
  15049. "\x00\x01" /* rta type */
  15050. #endif
  15051. "\x00\x00\x00\x10" /* enc key length */
  15052. "\x20\x21\x22\x23\x24\x25\x26\x27"
  15053. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  15054. "\x30\x31\x32\x33\x34\x35\x36\x37"
  15055. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  15056. "\x40\x41\x42\x43\x44\x45\x46\x47"
  15057. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  15058. "\x50\x51\x52\x53\x54\x55\x56\x57"
  15059. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  15060. "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  15061. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  15062. .klen = 8 + 64 + 16,
  15063. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  15064. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  15065. .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  15066. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  15067. .alen = 16,
  15068. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15069. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  15070. "\x10\x11\x12\x13\x14\x15\x16\x17"
  15071. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  15072. .plen = 32,
  15073. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  15074. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  15075. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  15076. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
  15077. "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
  15078. "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
  15079. "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
  15080. "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
  15081. "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
  15082. "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
  15083. "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
  15084. "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
  15085. .clen = 32 + 64,
  15086. }, { /* RFC 3602 Case 3 */
  15087. #ifdef __LITTLE_ENDIAN
  15088. .key = "\x08\x00" /* rta length */
  15089. "\x01\x00" /* rta type */
  15090. #else
  15091. .key = "\x00\x08" /* rta length */
  15092. "\x00\x01" /* rta type */
  15093. #endif
  15094. "\x00\x00\x00\x10" /* enc key length */
  15095. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15096. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15097. "\x22\x33\x44\x55\x66\x77\x88\x99"
  15098. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  15099. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  15100. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  15101. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  15102. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  15103. "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
  15104. "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
  15105. .klen = 8 + 64 + 16,
  15106. .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  15107. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  15108. .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  15109. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  15110. .alen = 16,
  15111. .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
  15112. .plen = 48,
  15113. .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
  15114. "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
  15115. "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
  15116. "\x50\x69\x39\x27\x67\x72\xf8\xd5"
  15117. "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
  15118. "\x85\x79\x69\x5d\x83\xba\x26\x84"
  15119. "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
  15120. "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
  15121. "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
  15122. "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
  15123. "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
  15124. "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
  15125. "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
  15126. "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
  15127. .clen = 48 + 64,
  15128. }, { /* RFC 3602 Case 4 */
  15129. #ifdef __LITTLE_ENDIAN
  15130. .key = "\x08\x00" /* rta length */
  15131. "\x01\x00" /* rta type */
  15132. #else
  15133. .key = "\x00\x08" /* rta length */
  15134. "\x00\x01" /* rta type */
  15135. #endif
  15136. "\x00\x00\x00\x10" /* enc key length */
  15137. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15138. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15139. "\x22\x33\x44\x55\x66\x77\x88\x99"
  15140. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  15141. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  15142. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  15143. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  15144. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  15145. "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
  15146. "\xbc\x46\x90\x3d\xba\x29\x03\x49",
  15147. .klen = 8 + 64 + 16,
  15148. .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  15149. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  15150. .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  15151. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  15152. .alen = 16,
  15153. .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  15154. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  15155. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  15156. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  15157. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  15158. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  15159. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  15160. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
  15161. .plen = 64,
  15162. .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
  15163. "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
  15164. "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
  15165. "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
  15166. "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
  15167. "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
  15168. "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
  15169. "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
  15170. "\x82\xcd\x42\x28\x21\x20\x15\xcc"
  15171. "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
  15172. "\x61\x32\x82\x85\xcf\x27\xed\xb4"
  15173. "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
  15174. "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
  15175. "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
  15176. "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
  15177. "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
  15178. .clen = 64 + 64,
  15179. }, { /* RFC 3602 Case 5 */
  15180. #ifdef __LITTLE_ENDIAN
  15181. .key = "\x08\x00" /* rta length */
  15182. "\x01\x00" /* rta type */
  15183. #else
  15184. .key = "\x00\x08" /* rta length */
  15185. "\x00\x01" /* rta type */
  15186. #endif
  15187. "\x00\x00\x00\x10" /* enc key length */
  15188. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15189. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15190. "\x22\x33\x44\x55\x66\x77\x88\x99"
  15191. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  15192. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  15193. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  15194. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  15195. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  15196. "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
  15197. "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
  15198. .klen = 8 + 64 + 16,
  15199. .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  15200. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  15201. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  15202. "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  15203. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  15204. .alen = 24,
  15205. .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
  15206. "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
  15207. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  15208. "\x10\x11\x12\x13\x14\x15\x16\x17"
  15209. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  15210. "\x20\x21\x22\x23\x24\x25\x26\x27"
  15211. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  15212. "\x30\x31\x32\x33\x34\x35\x36\x37"
  15213. "\x01\x02\x03\x04\x05\x06\x07\x08"
  15214. "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
  15215. .plen = 80,
  15216. .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
  15217. "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
  15218. "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
  15219. "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
  15220. "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
  15221. "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
  15222. "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
  15223. "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
  15224. "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
  15225. "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
  15226. "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
  15227. "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
  15228. "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
  15229. "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
  15230. "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
  15231. "\x92\x26\xc1\x76\x20\x11\xeb\xba"
  15232. "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
  15233. "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
  15234. .clen = 80 + 64,
  15235. }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
  15236. #ifdef __LITTLE_ENDIAN
  15237. .key = "\x08\x00" /* rta length */
  15238. "\x01\x00" /* rta type */
  15239. #else
  15240. .key = "\x00\x08" /* rta length */
  15241. "\x00\x01" /* rta type */
  15242. #endif
  15243. "\x00\x00\x00\x18" /* enc key length */
  15244. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15245. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15246. "\x22\x33\x44\x55\x66\x77\x88\x99"
  15247. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  15248. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  15249. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  15250. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  15251. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  15252. "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  15253. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  15254. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  15255. .klen = 8 + 64 + 24,
  15256. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15257. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15258. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15259. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15260. .alen = 16,
  15261. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  15262. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  15263. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  15264. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  15265. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  15266. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  15267. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  15268. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  15269. .plen = 64,
  15270. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  15271. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  15272. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  15273. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  15274. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  15275. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  15276. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  15277. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
  15278. "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
  15279. "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
  15280. "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
  15281. "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
  15282. "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
  15283. "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
  15284. "\x8d\x43\x98\xa7\x94\x16\x07\x02"
  15285. "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
  15286. .clen = 64 + 64,
  15287. }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
  15288. #ifdef __LITTLE_ENDIAN
  15289. .key = "\x08\x00" /* rta length */
  15290. "\x01\x00" /* rta type */
  15291. #else
  15292. .key = "\x00\x08" /* rta length */
  15293. "\x00\x01" /* rta type */
  15294. #endif
  15295. "\x00\x00\x00\x20" /* enc key length */
  15296. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15297. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15298. "\x22\x33\x44\x55\x66\x77\x88\x99"
  15299. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  15300. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  15301. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  15302. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  15303. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  15304. "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  15305. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  15306. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  15307. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  15308. .klen = 8 + 64 + 32,
  15309. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15310. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15311. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15312. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15313. .alen = 16,
  15314. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  15315. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  15316. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  15317. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  15318. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  15319. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  15320. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  15321. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  15322. .plen = 64,
  15323. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  15324. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  15325. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  15326. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  15327. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  15328. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  15329. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  15330. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
  15331. "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
  15332. "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
  15333. "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
  15334. "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
  15335. "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
  15336. "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
  15337. "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
  15338. "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
  15339. .clen = 64 + 64,
  15340. },
  15341. };
  15342. static const struct aead_testvec hmac_sha1_des_cbc_tv_temp[] = {
  15343. { /*Generated with cryptopp*/
  15344. #ifdef __LITTLE_ENDIAN
  15345. .key = "\x08\x00" /* rta length */
  15346. "\x01\x00" /* rta type */
  15347. #else
  15348. .key = "\x00\x08" /* rta length */
  15349. "\x00\x01" /* rta type */
  15350. #endif
  15351. "\x00\x00\x00\x08" /* enc key length */
  15352. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15353. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15354. "\x22\x33\x44\x55"
  15355. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  15356. .klen = 8 + 20 + 8,
  15357. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15358. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  15359. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15360. .alen = 16,
  15361. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  15362. "\x53\x20\x63\x65\x65\x72\x73\x74"
  15363. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  15364. "\x20\x79\x65\x53\x72\x63\x74\x65"
  15365. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  15366. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  15367. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  15368. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  15369. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  15370. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  15371. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  15372. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  15373. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  15374. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  15375. "\x63\x65\x65\x72\x73\x74\x54\x20"
  15376. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  15377. .plen = 128,
  15378. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  15379. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  15380. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  15381. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  15382. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  15383. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  15384. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  15385. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  15386. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  15387. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  15388. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  15389. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  15390. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  15391. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  15392. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  15393. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  15394. "\x95\x16\x20\x09\xf5\x95\x19\xfd"
  15395. "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
  15396. "\x5c\x44\xa9\x37",
  15397. .clen = 128 + 20,
  15398. },
  15399. };
  15400. static const struct aead_testvec hmac_sha224_des_cbc_tv_temp[] = {
  15401. { /*Generated with cryptopp*/
  15402. #ifdef __LITTLE_ENDIAN
  15403. .key = "\x08\x00" /* rta length */
  15404. "\x01\x00" /* rta type */
  15405. #else
  15406. .key = "\x00\x08" /* rta length */
  15407. "\x00\x01" /* rta type */
  15408. #endif
  15409. "\x00\x00\x00\x08" /* enc key length */
  15410. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15411. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15412. "\x22\x33\x44\x55\x66\x77\x88\x99"
  15413. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  15414. .klen = 8 + 24 + 8,
  15415. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15416. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  15417. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15418. .alen = 16,
  15419. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  15420. "\x53\x20\x63\x65\x65\x72\x73\x74"
  15421. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  15422. "\x20\x79\x65\x53\x72\x63\x74\x65"
  15423. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  15424. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  15425. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  15426. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  15427. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  15428. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  15429. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  15430. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  15431. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  15432. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  15433. "\x63\x65\x65\x72\x73\x74\x54\x20"
  15434. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  15435. .plen = 128,
  15436. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  15437. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  15438. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  15439. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  15440. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  15441. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  15442. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  15443. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  15444. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  15445. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  15446. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  15447. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  15448. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  15449. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  15450. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  15451. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  15452. "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
  15453. "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
  15454. "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
  15455. .clen = 128 + 24,
  15456. },
  15457. };
  15458. static const struct aead_testvec hmac_sha256_des_cbc_tv_temp[] = {
  15459. { /*Generated with cryptopp*/
  15460. #ifdef __LITTLE_ENDIAN
  15461. .key = "\x08\x00" /* rta length */
  15462. "\x01\x00" /* rta type */
  15463. #else
  15464. .key = "\x00\x08" /* rta length */
  15465. "\x00\x01" /* rta type */
  15466. #endif
  15467. "\x00\x00\x00\x08" /* enc key length */
  15468. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15469. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15470. "\x22\x33\x44\x55\x66\x77\x88\x99"
  15471. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  15472. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  15473. .klen = 8 + 32 + 8,
  15474. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15475. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  15476. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15477. .alen = 16,
  15478. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  15479. "\x53\x20\x63\x65\x65\x72\x73\x74"
  15480. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  15481. "\x20\x79\x65\x53\x72\x63\x74\x65"
  15482. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  15483. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  15484. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  15485. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  15486. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  15487. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  15488. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  15489. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  15490. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  15491. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  15492. "\x63\x65\x65\x72\x73\x74\x54\x20"
  15493. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  15494. .plen = 128,
  15495. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  15496. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  15497. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  15498. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  15499. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  15500. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  15501. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  15502. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  15503. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  15504. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  15505. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  15506. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  15507. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  15508. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  15509. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  15510. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  15511. "\xc6\x58\xa1\x60\x70\x91\x39\x36"
  15512. "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
  15513. "\xde\x63\xde\x76\x52\xde\x9f\xba"
  15514. "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
  15515. .clen = 128 + 32,
  15516. },
  15517. };
  15518. static const struct aead_testvec hmac_sha384_des_cbc_tv_temp[] = {
  15519. { /*Generated with cryptopp*/
  15520. #ifdef __LITTLE_ENDIAN
  15521. .key = "\x08\x00" /* rta length */
  15522. "\x01\x00" /* rta type */
  15523. #else
  15524. .key = "\x00\x08" /* rta length */
  15525. "\x00\x01" /* rta type */
  15526. #endif
  15527. "\x00\x00\x00\x08" /* enc key length */
  15528. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15529. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15530. "\x22\x33\x44\x55\x66\x77\x88\x99"
  15531. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  15532. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  15533. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  15534. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  15535. .klen = 8 + 48 + 8,
  15536. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15537. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  15538. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15539. .alen = 16,
  15540. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  15541. "\x53\x20\x63\x65\x65\x72\x73\x74"
  15542. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  15543. "\x20\x79\x65\x53\x72\x63\x74\x65"
  15544. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  15545. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  15546. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  15547. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  15548. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  15549. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  15550. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  15551. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  15552. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  15553. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  15554. "\x63\x65\x65\x72\x73\x74\x54\x20"
  15555. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  15556. .plen = 128,
  15557. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  15558. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  15559. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  15560. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  15561. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  15562. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  15563. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  15564. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  15565. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  15566. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  15567. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  15568. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  15569. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  15570. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  15571. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  15572. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  15573. "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
  15574. "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
  15575. "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
  15576. "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
  15577. "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
  15578. "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
  15579. .clen = 128 + 48,
  15580. },
  15581. };
  15582. static const struct aead_testvec hmac_sha512_des_cbc_tv_temp[] = {
  15583. { /*Generated with cryptopp*/
  15584. #ifdef __LITTLE_ENDIAN
  15585. .key = "\x08\x00" /* rta length */
  15586. "\x01\x00" /* rta type */
  15587. #else
  15588. .key = "\x00\x08" /* rta length */
  15589. "\x00\x01" /* rta type */
  15590. #endif
  15591. "\x00\x00\x00\x08" /* enc key length */
  15592. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15593. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15594. "\x22\x33\x44\x55\x66\x77\x88\x99"
  15595. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  15596. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  15597. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  15598. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  15599. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  15600. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  15601. .klen = 8 + 64 + 8,
  15602. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15603. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  15604. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15605. .alen = 16,
  15606. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  15607. "\x53\x20\x63\x65\x65\x72\x73\x74"
  15608. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  15609. "\x20\x79\x65\x53\x72\x63\x74\x65"
  15610. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  15611. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  15612. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  15613. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  15614. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  15615. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  15616. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  15617. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  15618. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  15619. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  15620. "\x63\x65\x65\x72\x73\x74\x54\x20"
  15621. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  15622. .plen = 128,
  15623. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  15624. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  15625. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  15626. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  15627. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  15628. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  15629. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  15630. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  15631. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  15632. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  15633. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  15634. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  15635. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  15636. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  15637. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  15638. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  15639. "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
  15640. "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
  15641. "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
  15642. "\x58\x83\xda\x67\xfb\x21\x24\xa2"
  15643. "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
  15644. "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
  15645. "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
  15646. "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
  15647. .clen = 128 + 64,
  15648. },
  15649. };
  15650. static const struct aead_testvec hmac_sha1_des3_ede_cbc_tv_temp[] = {
  15651. { /*Generated with cryptopp*/
  15652. #ifdef __LITTLE_ENDIAN
  15653. .key = "\x08\x00" /* rta length */
  15654. "\x01\x00" /* rta type */
  15655. #else
  15656. .key = "\x00\x08" /* rta length */
  15657. "\x00\x01" /* rta type */
  15658. #endif
  15659. "\x00\x00\x00\x18" /* enc key length */
  15660. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15661. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15662. "\x22\x33\x44\x55"
  15663. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  15664. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  15665. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  15666. .klen = 8 + 20 + 24,
  15667. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15668. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  15669. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15670. .alen = 16,
  15671. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  15672. "\x53\x20\x63\x65\x65\x72\x73\x74"
  15673. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  15674. "\x20\x79\x65\x53\x72\x63\x74\x65"
  15675. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  15676. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  15677. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  15678. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  15679. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  15680. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  15681. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  15682. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  15683. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  15684. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  15685. "\x63\x65\x65\x72\x73\x74\x54\x20"
  15686. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  15687. .plen = 128,
  15688. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  15689. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  15690. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  15691. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  15692. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  15693. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  15694. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  15695. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  15696. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  15697. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  15698. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  15699. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  15700. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  15701. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  15702. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  15703. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  15704. "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
  15705. "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
  15706. "\xd1\x60\x91\xb3",
  15707. .clen = 128 + 20,
  15708. },
  15709. };
  15710. static const struct aead_testvec hmac_sha224_des3_ede_cbc_tv_temp[] = {
  15711. { /*Generated with cryptopp*/
  15712. #ifdef __LITTLE_ENDIAN
  15713. .key = "\x08\x00" /* rta length */
  15714. "\x01\x00" /* rta type */
  15715. #else
  15716. .key = "\x00\x08" /* rta length */
  15717. "\x00\x01" /* rta type */
  15718. #endif
  15719. "\x00\x00\x00\x18" /* enc key length */
  15720. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15721. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15722. "\x22\x33\x44\x55\x66\x77\x88\x99"
  15723. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  15724. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  15725. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  15726. .klen = 8 + 24 + 24,
  15727. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15728. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  15729. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15730. .alen = 16,
  15731. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  15732. "\x53\x20\x63\x65\x65\x72\x73\x74"
  15733. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  15734. "\x20\x79\x65\x53\x72\x63\x74\x65"
  15735. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  15736. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  15737. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  15738. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  15739. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  15740. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  15741. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  15742. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  15743. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  15744. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  15745. "\x63\x65\x65\x72\x73\x74\x54\x20"
  15746. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  15747. .plen = 128,
  15748. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  15749. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  15750. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  15751. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  15752. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  15753. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  15754. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  15755. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  15756. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  15757. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  15758. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  15759. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  15760. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  15761. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  15762. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  15763. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  15764. "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
  15765. "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
  15766. "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
  15767. .clen = 128 + 24,
  15768. },
  15769. };
  15770. static const struct aead_testvec hmac_sha256_des3_ede_cbc_tv_temp[] = {
  15771. { /*Generated with cryptopp*/
  15772. #ifdef __LITTLE_ENDIAN
  15773. .key = "\x08\x00" /* rta length */
  15774. "\x01\x00" /* rta type */
  15775. #else
  15776. .key = "\x00\x08" /* rta length */
  15777. "\x00\x01" /* rta type */
  15778. #endif
  15779. "\x00\x00\x00\x18" /* enc key length */
  15780. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15781. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15782. "\x22\x33\x44\x55\x66\x77\x88\x99"
  15783. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  15784. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  15785. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  15786. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  15787. .klen = 8 + 32 + 24,
  15788. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15789. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  15790. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15791. .alen = 16,
  15792. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  15793. "\x53\x20\x63\x65\x65\x72\x73\x74"
  15794. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  15795. "\x20\x79\x65\x53\x72\x63\x74\x65"
  15796. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  15797. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  15798. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  15799. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  15800. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  15801. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  15802. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  15803. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  15804. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  15805. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  15806. "\x63\x65\x65\x72\x73\x74\x54\x20"
  15807. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  15808. .plen = 128,
  15809. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  15810. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  15811. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  15812. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  15813. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  15814. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  15815. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  15816. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  15817. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  15818. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  15819. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  15820. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  15821. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  15822. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  15823. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  15824. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  15825. "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
  15826. "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
  15827. "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
  15828. "\xca\x43\x95\xdf\x80\x61\x81\xa9",
  15829. .clen = 128 + 32,
  15830. },
  15831. };
  15832. static const struct aead_testvec hmac_sha384_des3_ede_cbc_tv_temp[] = {
  15833. { /*Generated with cryptopp*/
  15834. #ifdef __LITTLE_ENDIAN
  15835. .key = "\x08\x00" /* rta length */
  15836. "\x01\x00" /* rta type */
  15837. #else
  15838. .key = "\x00\x08" /* rta length */
  15839. "\x00\x01" /* rta type */
  15840. #endif
  15841. "\x00\x00\x00\x18" /* enc key length */
  15842. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15843. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15844. "\x22\x33\x44\x55\x66\x77\x88\x99"
  15845. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  15846. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  15847. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  15848. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  15849. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  15850. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  15851. .klen = 8 + 48 + 24,
  15852. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15853. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  15854. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15855. .alen = 16,
  15856. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  15857. "\x53\x20\x63\x65\x65\x72\x73\x74"
  15858. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  15859. "\x20\x79\x65\x53\x72\x63\x74\x65"
  15860. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  15861. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  15862. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  15863. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  15864. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  15865. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  15866. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  15867. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  15868. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  15869. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  15870. "\x63\x65\x65\x72\x73\x74\x54\x20"
  15871. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  15872. .plen = 128,
  15873. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  15874. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  15875. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  15876. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  15877. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  15878. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  15879. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  15880. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  15881. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  15882. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  15883. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  15884. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  15885. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  15886. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  15887. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  15888. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  15889. "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
  15890. "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
  15891. "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
  15892. "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
  15893. "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
  15894. "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
  15895. .clen = 128 + 48,
  15896. },
  15897. };
  15898. static const struct aead_testvec hmac_sha512_des3_ede_cbc_tv_temp[] = {
  15899. { /*Generated with cryptopp*/
  15900. #ifdef __LITTLE_ENDIAN
  15901. .key = "\x08\x00" /* rta length */
  15902. "\x01\x00" /* rta type */
  15903. #else
  15904. .key = "\x00\x08" /* rta length */
  15905. "\x00\x01" /* rta type */
  15906. #endif
  15907. "\x00\x00\x00\x18" /* enc key length */
  15908. "\x11\x22\x33\x44\x55\x66\x77\x88"
  15909. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  15910. "\x22\x33\x44\x55\x66\x77\x88\x99"
  15911. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  15912. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  15913. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  15914. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  15915. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  15916. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  15917. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  15918. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  15919. .klen = 8 + 64 + 24,
  15920. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15921. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  15922. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  15923. .alen = 16,
  15924. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  15925. "\x53\x20\x63\x65\x65\x72\x73\x74"
  15926. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  15927. "\x20\x79\x65\x53\x72\x63\x74\x65"
  15928. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  15929. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  15930. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  15931. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  15932. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  15933. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  15934. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  15935. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  15936. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  15937. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  15938. "\x63\x65\x65\x72\x73\x74\x54\x20"
  15939. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  15940. .plen = 128,
  15941. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  15942. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  15943. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  15944. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  15945. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  15946. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  15947. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  15948. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  15949. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  15950. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  15951. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  15952. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  15953. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  15954. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  15955. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  15956. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  15957. "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
  15958. "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
  15959. "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
  15960. "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
  15961. "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
  15962. "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
  15963. "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
  15964. "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
  15965. .clen = 128 + 64,
  15966. },
  15967. };
  15968. static const struct cipher_testvec aes_lrw_tv_template[] = {
  15969. /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
  15970. { /* LRW-32-AES 1 */
  15971. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  15972. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  15973. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  15974. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  15975. .klen = 32,
  15976. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  15977. "\x00\x00\x00\x00\x00\x00\x00\x01",
  15978. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  15979. "\x38\x39\x41\x42\x43\x44\x45\x46",
  15980. .ctext = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
  15981. "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
  15982. .len = 16,
  15983. }, { /* LRW-32-AES 2 */
  15984. .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
  15985. "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
  15986. "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
  15987. "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
  15988. .klen = 32,
  15989. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  15990. "\x00\x00\x00\x00\x00\x00\x00\x02",
  15991. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  15992. "\x38\x39\x41\x42\x43\x44\x45\x46",
  15993. .ctext = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
  15994. "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
  15995. .len = 16,
  15996. }, { /* LRW-32-AES 3 */
  15997. .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
  15998. "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
  15999. "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
  16000. "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
  16001. .klen = 32,
  16002. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  16003. "\x00\x00\x00\x02\x00\x00\x00\x00",
  16004. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  16005. "\x38\x39\x41\x42\x43\x44\x45\x46",
  16006. .ctext = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
  16007. "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
  16008. .len = 16,
  16009. }, { /* LRW-32-AES 4 */
  16010. .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
  16011. "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
  16012. "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
  16013. "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
  16014. "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
  16015. .klen = 40,
  16016. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  16017. "\x00\x00\x00\x00\x00\x00\x00\x01",
  16018. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  16019. "\x38\x39\x41\x42\x43\x44\x45\x46",
  16020. .ctext = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
  16021. "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
  16022. .len = 16,
  16023. }, { /* LRW-32-AES 5 */
  16024. .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
  16025. "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
  16026. "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
  16027. "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
  16028. "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
  16029. .klen = 40,
  16030. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  16031. "\x00\x00\x00\x02\x00\x00\x00\x00",
  16032. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  16033. "\x38\x39\x41\x42\x43\x44\x45\x46",
  16034. .ctext = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
  16035. "\xc8\x60\x48\x02\x87\xe3\x34\x06",
  16036. .len = 16,
  16037. }, { /* LRW-32-AES 6 */
  16038. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  16039. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  16040. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  16041. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  16042. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  16043. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  16044. .klen = 48,
  16045. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  16046. "\x00\x00\x00\x00\x00\x00\x00\x01",
  16047. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  16048. "\x38\x39\x41\x42\x43\x44\x45\x46",
  16049. .ctext = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
  16050. "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
  16051. .len = 16,
  16052. }, { /* LRW-32-AES 7 */
  16053. .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
  16054. "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
  16055. "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
  16056. "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
  16057. "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
  16058. "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
  16059. .klen = 48,
  16060. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  16061. "\x00\x00\x00\x02\x00\x00\x00\x00",
  16062. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  16063. "\x38\x39\x41\x42\x43\x44\x45\x46",
  16064. .ctext = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
  16065. "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
  16066. .len = 16,
  16067. }, { /* Test counter wrap-around, modified from LRW-32-AES 1 */
  16068. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  16069. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  16070. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  16071. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  16072. .klen = 32,
  16073. .iv = "\xff\xff\xff\xff\xff\xff\xff\xff"
  16074. "\xff\xff\xff\xff\xff\xff\xff\xff",
  16075. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  16076. "\x38\x39\x41\x42\x43\x44\x45\x46"
  16077. "\x30\x31\x32\x33\x34\x35\x36\x37"
  16078. "\x38\x39\x41\x42\x43\x44\x45\x46"
  16079. "\x30\x31\x32\x33\x34\x35\x36\x37"
  16080. "\x38\x39\x41\x42\x43\x44\x45\x46",
  16081. .ctext = "\x47\x90\x50\xf6\xf4\x8d\x5c\x7f"
  16082. "\x84\xc7\x83\x95\x2d\xa2\x02\xc0"
  16083. "\xda\x7f\xa3\xc0\x88\x2a\x0a\x50"
  16084. "\xfb\xc1\x78\x03\x39\xfe\x1d\xe5"
  16085. "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
  16086. "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
  16087. .len = 48,
  16088. }, {
  16089. /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
  16090. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  16091. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  16092. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  16093. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  16094. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  16095. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  16096. .klen = 48,
  16097. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  16098. "\x00\x00\x00\x00\x00\x00\x00\x01",
  16099. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  16100. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  16101. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  16102. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  16103. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  16104. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  16105. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  16106. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  16107. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  16108. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  16109. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  16110. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  16111. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  16112. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  16113. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  16114. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  16115. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  16116. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  16117. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  16118. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  16119. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  16120. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  16121. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  16122. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  16123. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  16124. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  16125. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  16126. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  16127. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  16128. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  16129. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  16130. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  16131. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  16132. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  16133. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  16134. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  16135. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  16136. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  16137. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  16138. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  16139. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  16140. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  16141. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  16142. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  16143. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  16144. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  16145. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  16146. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  16147. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  16148. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  16149. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  16150. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  16151. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  16152. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  16153. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  16154. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  16155. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  16156. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  16157. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  16158. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  16159. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  16160. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  16161. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  16162. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  16163. .ctext = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
  16164. "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
  16165. "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
  16166. "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
  16167. "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
  16168. "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
  16169. "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
  16170. "\xe8\x58\x46\x97\x39\x51\x07\xde"
  16171. "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
  16172. "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
  16173. "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
  16174. "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
  16175. "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
  16176. "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
  16177. "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
  16178. "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
  16179. "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
  16180. "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
  16181. "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
  16182. "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
  16183. "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
  16184. "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
  16185. "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
  16186. "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
  16187. "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
  16188. "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
  16189. "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
  16190. "\x41\x30\x58\xc5\x62\x74\x52\x1d"
  16191. "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
  16192. "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
  16193. "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
  16194. "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
  16195. "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
  16196. "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
  16197. "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
  16198. "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
  16199. "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
  16200. "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
  16201. "\xb8\x79\x78\x97\x94\xff\x72\x13"
  16202. "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
  16203. "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
  16204. "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
  16205. "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
  16206. "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
  16207. "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
  16208. "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
  16209. "\x1e\x86\x53\x11\x53\x94\x00\xee"
  16210. "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
  16211. "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
  16212. "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
  16213. "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
  16214. "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
  16215. "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
  16216. "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
  16217. "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
  16218. "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
  16219. "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
  16220. "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
  16221. "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
  16222. "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
  16223. "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
  16224. "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
  16225. "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
  16226. "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
  16227. .len = 512,
  16228. }
  16229. };
  16230. static const struct cipher_testvec aes_xts_tv_template[] = {
  16231. /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
  16232. { /* XTS-AES 1 */
  16233. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  16234. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16235. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16236. "\x00\x00\x00\x00\x00\x00\x00\x00",
  16237. .klen = 32,
  16238. .fips_skip = 1,
  16239. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  16240. "\x00\x00\x00\x00\x00\x00\x00\x00",
  16241. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  16242. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16243. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16244. "\x00\x00\x00\x00\x00\x00\x00\x00",
  16245. .ctext = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
  16246. "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
  16247. "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
  16248. "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
  16249. .len = 32,
  16250. }, { /* XTS-AES 2 */
  16251. .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
  16252. "\x11\x11\x11\x11\x11\x11\x11\x11"
  16253. "\x22\x22\x22\x22\x22\x22\x22\x22"
  16254. "\x22\x22\x22\x22\x22\x22\x22\x22",
  16255. .klen = 32,
  16256. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  16257. "\x00\x00\x00\x00\x00\x00\x00\x00",
  16258. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  16259. "\x44\x44\x44\x44\x44\x44\x44\x44"
  16260. "\x44\x44\x44\x44\x44\x44\x44\x44"
  16261. "\x44\x44\x44\x44\x44\x44\x44\x44",
  16262. .ctext = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
  16263. "\x39\x33\x40\x38\xac\xef\x83\x8b"
  16264. "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
  16265. "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
  16266. .len = 32,
  16267. }, { /* XTS-AES 3 */
  16268. .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
  16269. "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
  16270. "\x22\x22\x22\x22\x22\x22\x22\x22"
  16271. "\x22\x22\x22\x22\x22\x22\x22\x22",
  16272. .klen = 32,
  16273. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  16274. "\x00\x00\x00\x00\x00\x00\x00\x00",
  16275. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  16276. "\x44\x44\x44\x44\x44\x44\x44\x44"
  16277. "\x44\x44\x44\x44\x44\x44\x44\x44"
  16278. "\x44\x44\x44\x44\x44\x44\x44\x44",
  16279. .ctext = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
  16280. "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
  16281. "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
  16282. "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
  16283. .len = 32,
  16284. }, { /* XTS-AES 4 */
  16285. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  16286. "\x23\x53\x60\x28\x74\x71\x35\x26"
  16287. "\x31\x41\x59\x26\x53\x58\x97\x93"
  16288. "\x23\x84\x62\x64\x33\x83\x27\x95",
  16289. .klen = 32,
  16290. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  16291. "\x00\x00\x00\x00\x00\x00\x00\x00",
  16292. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16293. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16294. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16295. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  16296. "\x20\x21\x22\x23\x24\x25\x26\x27"
  16297. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  16298. "\x30\x31\x32\x33\x34\x35\x36\x37"
  16299. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  16300. "\x40\x41\x42\x43\x44\x45\x46\x47"
  16301. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  16302. "\x50\x51\x52\x53\x54\x55\x56\x57"
  16303. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  16304. "\x60\x61\x62\x63\x64\x65\x66\x67"
  16305. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  16306. "\x70\x71\x72\x73\x74\x75\x76\x77"
  16307. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  16308. "\x80\x81\x82\x83\x84\x85\x86\x87"
  16309. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  16310. "\x90\x91\x92\x93\x94\x95\x96\x97"
  16311. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  16312. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  16313. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  16314. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  16315. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  16316. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  16317. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  16318. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  16319. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  16320. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  16321. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  16322. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  16323. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  16324. "\x00\x01\x02\x03\x04\x05\x06\x07"
  16325. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16326. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16327. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  16328. "\x20\x21\x22\x23\x24\x25\x26\x27"
  16329. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  16330. "\x30\x31\x32\x33\x34\x35\x36\x37"
  16331. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  16332. "\x40\x41\x42\x43\x44\x45\x46\x47"
  16333. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  16334. "\x50\x51\x52\x53\x54\x55\x56\x57"
  16335. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  16336. "\x60\x61\x62\x63\x64\x65\x66\x67"
  16337. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  16338. "\x70\x71\x72\x73\x74\x75\x76\x77"
  16339. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  16340. "\x80\x81\x82\x83\x84\x85\x86\x87"
  16341. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  16342. "\x90\x91\x92\x93\x94\x95\x96\x97"
  16343. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  16344. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  16345. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  16346. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  16347. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  16348. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  16349. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  16350. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  16351. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  16352. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  16353. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  16354. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  16355. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  16356. .ctext = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
  16357. "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
  16358. "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
  16359. "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
  16360. "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
  16361. "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
  16362. "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
  16363. "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
  16364. "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
  16365. "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
  16366. "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
  16367. "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
  16368. "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
  16369. "\x22\x97\x61\x46\xae\x20\xce\x84"
  16370. "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
  16371. "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
  16372. "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
  16373. "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
  16374. "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
  16375. "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
  16376. "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
  16377. "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
  16378. "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
  16379. "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
  16380. "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
  16381. "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
  16382. "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
  16383. "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
  16384. "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
  16385. "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
  16386. "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
  16387. "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
  16388. "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
  16389. "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
  16390. "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
  16391. "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
  16392. "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
  16393. "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
  16394. "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
  16395. "\x55\xef\x52\x97\xca\x67\xe9\xf3"
  16396. "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
  16397. "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
  16398. "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
  16399. "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
  16400. "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
  16401. "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
  16402. "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
  16403. "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
  16404. "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
  16405. "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
  16406. "\x18\x84\x69\x77\xae\x11\x9f\x7a"
  16407. "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
  16408. "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
  16409. "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
  16410. "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
  16411. "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
  16412. "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
  16413. "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
  16414. "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
  16415. "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
  16416. "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
  16417. "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
  16418. "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
  16419. "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
  16420. .len = 512,
  16421. }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
  16422. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  16423. "\x23\x53\x60\x28\x74\x71\x35\x26"
  16424. "\x62\x49\x77\x57\x24\x70\x93\x69"
  16425. "\x99\x59\x57\x49\x66\x96\x76\x27"
  16426. "\x31\x41\x59\x26\x53\x58\x97\x93"
  16427. "\x23\x84\x62\x64\x33\x83\x27\x95"
  16428. "\x02\x88\x41\x97\x16\x93\x99\x37"
  16429. "\x51\x05\x82\x09\x74\x94\x45\x92",
  16430. .klen = 64,
  16431. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  16432. "\x00\x00\x00\x00\x00\x00\x00\x00",
  16433. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16434. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16435. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16436. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  16437. "\x20\x21\x22\x23\x24\x25\x26\x27"
  16438. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  16439. "\x30\x31\x32\x33\x34\x35\x36\x37"
  16440. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  16441. "\x40\x41\x42\x43\x44\x45\x46\x47"
  16442. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  16443. "\x50\x51\x52\x53\x54\x55\x56\x57"
  16444. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  16445. "\x60\x61\x62\x63\x64\x65\x66\x67"
  16446. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  16447. "\x70\x71\x72\x73\x74\x75\x76\x77"
  16448. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  16449. "\x80\x81\x82\x83\x84\x85\x86\x87"
  16450. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  16451. "\x90\x91\x92\x93\x94\x95\x96\x97"
  16452. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  16453. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  16454. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  16455. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  16456. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  16457. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  16458. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  16459. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  16460. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  16461. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  16462. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  16463. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  16464. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  16465. "\x00\x01\x02\x03\x04\x05\x06\x07"
  16466. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16467. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16468. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  16469. "\x20\x21\x22\x23\x24\x25\x26\x27"
  16470. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  16471. "\x30\x31\x32\x33\x34\x35\x36\x37"
  16472. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  16473. "\x40\x41\x42\x43\x44\x45\x46\x47"
  16474. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  16475. "\x50\x51\x52\x53\x54\x55\x56\x57"
  16476. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  16477. "\x60\x61\x62\x63\x64\x65\x66\x67"
  16478. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  16479. "\x70\x71\x72\x73\x74\x75\x76\x77"
  16480. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  16481. "\x80\x81\x82\x83\x84\x85\x86\x87"
  16482. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  16483. "\x90\x91\x92\x93\x94\x95\x96\x97"
  16484. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  16485. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  16486. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  16487. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  16488. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  16489. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  16490. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  16491. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  16492. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  16493. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  16494. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  16495. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  16496. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  16497. .ctext = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
  16498. "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
  16499. "\xea\x00\x80\x3f\x5e\x48\x23\x57"
  16500. "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
  16501. "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
  16502. "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
  16503. "\x68\x0a\x86\xac\x35\xad\xfc\x33"
  16504. "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
  16505. "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
  16506. "\xb1\x08\xfd\x10\x98\xba\xec\x70"
  16507. "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
  16508. "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
  16509. "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
  16510. "\xae\xba\x12\x29\x61\xd0\x3a\x75"
  16511. "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
  16512. "\x00\x02\x08\x87\x89\x14\x29\xca"
  16513. "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
  16514. "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
  16515. "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
  16516. "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
  16517. "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
  16518. "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
  16519. "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
  16520. "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
  16521. "\x93\xec\x05\xc5\x2e\x04\x93\xef"
  16522. "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
  16523. "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
  16524. "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
  16525. "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
  16526. "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
  16527. "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
  16528. "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
  16529. "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
  16530. "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
  16531. "\xbc\x48\x14\x57\x77\x8f\x61\x60"
  16532. "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
  16533. "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
  16534. "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
  16535. "\xf4\xc3\x33\xec\x44\x23\x88\x51"
  16536. "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
  16537. "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
  16538. "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
  16539. "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
  16540. "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
  16541. "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
  16542. "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
  16543. "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
  16544. "\x92\x5f\xed\xc4\xae\x74\xff\xac"
  16545. "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
  16546. "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
  16547. "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
  16548. "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
  16549. "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
  16550. "\x94\x30\x54\xff\x84\x01\x14\x93"
  16551. "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
  16552. "\x53\x76\x44\x1a\x77\xed\x43\x85"
  16553. "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
  16554. "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
  16555. "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
  16556. "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
  16557. "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
  16558. "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
  16559. "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
  16560. "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
  16561. .len = 512,
  16562. }
  16563. };
  16564. static const struct cipher_testvec aes_ctr_tv_template[] = {
  16565. { /* From NIST Special Publication 800-38A, Appendix F.5 */
  16566. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  16567. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  16568. .klen = 16,
  16569. .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  16570. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  16571. .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  16572. "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
  16573. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  16574. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  16575. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  16576. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  16577. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  16578. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  16579. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  16580. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  16581. .ctext = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
  16582. "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
  16583. "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
  16584. "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
  16585. "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
  16586. "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
  16587. "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
  16588. "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
  16589. .len = 64,
  16590. }, {
  16591. .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  16592. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  16593. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  16594. .klen = 24,
  16595. .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  16596. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  16597. .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  16598. "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
  16599. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  16600. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  16601. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  16602. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  16603. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  16604. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  16605. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  16606. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  16607. .ctext = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
  16608. "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
  16609. "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
  16610. "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
  16611. "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
  16612. "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
  16613. "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
  16614. "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
  16615. .len = 64,
  16616. }, {
  16617. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  16618. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  16619. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  16620. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  16621. .klen = 32,
  16622. .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  16623. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  16624. .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  16625. "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
  16626. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  16627. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  16628. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  16629. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  16630. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  16631. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  16632. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  16633. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  16634. .ctext = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
  16635. "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
  16636. "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
  16637. "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
  16638. "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
  16639. "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
  16640. "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
  16641. "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
  16642. .len = 64,
  16643. }, { /* Generated with Crypto++ */
  16644. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
  16645. "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
  16646. "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
  16647. "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
  16648. .klen = 32,
  16649. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  16650. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  16651. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
  16652. "\x00\x00\x00\x00\x00\x00\x00\x1C",
  16653. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  16654. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  16655. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  16656. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  16657. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  16658. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  16659. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  16660. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  16661. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  16662. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  16663. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  16664. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  16665. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  16666. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  16667. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  16668. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  16669. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  16670. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  16671. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  16672. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  16673. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  16674. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  16675. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  16676. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  16677. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  16678. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  16679. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  16680. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  16681. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  16682. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  16683. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  16684. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  16685. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  16686. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  16687. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  16688. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  16689. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  16690. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  16691. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  16692. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  16693. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  16694. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  16695. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  16696. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  16697. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  16698. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  16699. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  16700. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  16701. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  16702. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  16703. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  16704. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  16705. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  16706. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  16707. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  16708. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  16709. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  16710. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  16711. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  16712. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  16713. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  16714. "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
  16715. .ctext = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
  16716. "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
  16717. "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
  16718. "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
  16719. "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
  16720. "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
  16721. "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
  16722. "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
  16723. "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
  16724. "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
  16725. "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
  16726. "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
  16727. "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
  16728. "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
  16729. "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
  16730. "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
  16731. "\x34\x4B\x31\x69\x84\x66\x96\x44"
  16732. "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
  16733. "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
  16734. "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
  16735. "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
  16736. "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
  16737. "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
  16738. "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
  16739. "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
  16740. "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
  16741. "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
  16742. "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
  16743. "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
  16744. "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
  16745. "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
  16746. "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
  16747. "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
  16748. "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
  16749. "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
  16750. "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
  16751. "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
  16752. "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
  16753. "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
  16754. "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
  16755. "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
  16756. "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
  16757. "\x85\x99\x22\xE8\x91\x38\x70\x83"
  16758. "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
  16759. "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
  16760. "\x2F\x69\xEE\x84\x36\x44\x76\x98"
  16761. "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
  16762. "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
  16763. "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
  16764. "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
  16765. "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
  16766. "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
  16767. "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
  16768. "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
  16769. "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
  16770. "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
  16771. "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
  16772. "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
  16773. "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
  16774. "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
  16775. "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
  16776. "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
  16777. .len = 496,
  16778. }, { /* Generated with Crypto++ */
  16779. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
  16780. "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
  16781. "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
  16782. "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
  16783. .klen = 32,
  16784. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
  16785. "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
  16786. .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
  16787. "\xE2\x7D\x18\xD6\x71\x0C\xA7\x62",
  16788. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  16789. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  16790. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  16791. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  16792. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  16793. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  16794. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  16795. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  16796. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  16797. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  16798. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  16799. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  16800. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  16801. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  16802. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  16803. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  16804. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  16805. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  16806. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  16807. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  16808. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  16809. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  16810. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  16811. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  16812. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  16813. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  16814. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  16815. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  16816. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  16817. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  16818. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  16819. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  16820. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  16821. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  16822. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  16823. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  16824. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  16825. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  16826. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  16827. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  16828. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  16829. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  16830. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  16831. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  16832. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  16833. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  16834. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  16835. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  16836. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  16837. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  16838. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  16839. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  16840. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  16841. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  16842. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  16843. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  16844. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  16845. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  16846. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  16847. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  16848. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  16849. "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
  16850. "\x7B\xE4\x4D",
  16851. .ctext = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
  16852. "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
  16853. "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
  16854. "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
  16855. "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
  16856. "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
  16857. "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
  16858. "\x75\xDE\x71\x86\x3C\x98\x23\x44"
  16859. "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
  16860. "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
  16861. "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
  16862. "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
  16863. "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
  16864. "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
  16865. "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
  16866. "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
  16867. "\xA8\x28\x69\x65\x31\xE1\x45\x83"
  16868. "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
  16869. "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
  16870. "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
  16871. "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
  16872. "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
  16873. "\x45\x18\x18\x74\x19\xAD\x71\x01"
  16874. "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
  16875. "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
  16876. "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
  16877. "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
  16878. "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
  16879. "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
  16880. "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
  16881. "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
  16882. "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
  16883. "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
  16884. "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
  16885. "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
  16886. "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
  16887. "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
  16888. "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
  16889. "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
  16890. "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
  16891. "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
  16892. "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
  16893. "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
  16894. "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
  16895. "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
  16896. "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
  16897. "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
  16898. "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
  16899. "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
  16900. "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
  16901. "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
  16902. "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
  16903. "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
  16904. "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
  16905. "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
  16906. "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
  16907. "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
  16908. "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
  16909. "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
  16910. "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
  16911. "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
  16912. "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
  16913. "\xFB\xF2\x3F",
  16914. .len = 499,
  16915. },
  16916. };
  16917. static const struct cipher_testvec aes_ctr_rfc3686_tv_template[] = {
  16918. { /* From RFC 3686 */
  16919. .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
  16920. "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
  16921. "\x00\x00\x00\x30",
  16922. .klen = 20,
  16923. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  16924. .ptext = "Single block msg",
  16925. .ctext = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
  16926. "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
  16927. .len = 16,
  16928. }, {
  16929. .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
  16930. "\x43\xd6\xce\x1f\x32\x53\x91\x63"
  16931. "\x00\x6c\xb6\xdb",
  16932. .klen = 20,
  16933. .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
  16934. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16935. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16936. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16937. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  16938. .ctext = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
  16939. "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
  16940. "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
  16941. "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
  16942. .len = 32,
  16943. }, {
  16944. .key = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
  16945. "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
  16946. "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
  16947. "\x00\x00\x00\x48",
  16948. .klen = 28,
  16949. .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
  16950. .ptext = "Single block msg",
  16951. .ctext = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
  16952. "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
  16953. .len = 16,
  16954. }, {
  16955. .key = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
  16956. "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
  16957. "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
  16958. "\x00\x96\xb0\x3b",
  16959. .klen = 28,
  16960. .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
  16961. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16962. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16963. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16964. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  16965. .ctext = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
  16966. "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
  16967. "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
  16968. "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
  16969. .len = 32,
  16970. }, {
  16971. .key = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
  16972. "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
  16973. "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
  16974. "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
  16975. "\x00\x00\x00\x60",
  16976. .klen = 36,
  16977. .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
  16978. .ptext = "Single block msg",
  16979. .ctext = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
  16980. "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
  16981. .len = 16,
  16982. }, {
  16983. .key = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
  16984. "\x07\x96\x36\x58\x79\xef\xf8\x86"
  16985. "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
  16986. "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
  16987. "\x00\xfa\xac\x24",
  16988. .klen = 36,
  16989. .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
  16990. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16991. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16992. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16993. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  16994. .ctext = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
  16995. "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
  16996. "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
  16997. "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
  16998. .len = 32,
  16999. }, {
  17000. // generated using Crypto++
  17001. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17002. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  17003. "\x10\x11\x12\x13\x14\x15\x16\x17"
  17004. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  17005. "\x00\x00\x00\x00",
  17006. .klen = 32 + 4,
  17007. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  17008. .ptext =
  17009. "\x00\x01\x02\x03\x04\x05\x06\x07"
  17010. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  17011. "\x10\x11\x12\x13\x14\x15\x16\x17"
  17012. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  17013. "\x20\x21\x22\x23\x24\x25\x26\x27"
  17014. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  17015. "\x30\x31\x32\x33\x34\x35\x36\x37"
  17016. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  17017. "\x40\x41\x42\x43\x44\x45\x46\x47"
  17018. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  17019. "\x50\x51\x52\x53\x54\x55\x56\x57"
  17020. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  17021. "\x60\x61\x62\x63\x64\x65\x66\x67"
  17022. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  17023. "\x70\x71\x72\x73\x74\x75\x76\x77"
  17024. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  17025. "\x80\x81\x82\x83\x84\x85\x86\x87"
  17026. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  17027. "\x90\x91\x92\x93\x94\x95\x96\x97"
  17028. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  17029. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  17030. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  17031. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  17032. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  17033. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  17034. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  17035. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  17036. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  17037. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  17038. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  17039. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  17040. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  17041. "\x00\x03\x06\x09\x0c\x0f\x12\x15"
  17042. "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
  17043. "\x30\x33\x36\x39\x3c\x3f\x42\x45"
  17044. "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
  17045. "\x60\x63\x66\x69\x6c\x6f\x72\x75"
  17046. "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
  17047. "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
  17048. "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
  17049. "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
  17050. "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
  17051. "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
  17052. "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
  17053. "\x20\x23\x26\x29\x2c\x2f\x32\x35"
  17054. "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
  17055. "\x50\x53\x56\x59\x5c\x5f\x62\x65"
  17056. "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
  17057. "\x80\x83\x86\x89\x8c\x8f\x92\x95"
  17058. "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
  17059. "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
  17060. "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
  17061. "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
  17062. "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
  17063. "\x10\x13\x16\x19\x1c\x1f\x22\x25"
  17064. "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
  17065. "\x40\x43\x46\x49\x4c\x4f\x52\x55"
  17066. "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
  17067. "\x70\x73\x76\x79\x7c\x7f\x82\x85"
  17068. "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
  17069. "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
  17070. "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
  17071. "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
  17072. "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
  17073. "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
  17074. "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
  17075. "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
  17076. "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
  17077. "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
  17078. "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
  17079. "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
  17080. "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
  17081. "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
  17082. "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
  17083. "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
  17084. "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
  17085. "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
  17086. "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
  17087. "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
  17088. "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
  17089. "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
  17090. "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
  17091. "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
  17092. "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
  17093. "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
  17094. "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
  17095. "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
  17096. "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
  17097. "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
  17098. "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
  17099. "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
  17100. "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
  17101. "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
  17102. "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
  17103. "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
  17104. "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
  17105. "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
  17106. "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
  17107. "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
  17108. "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
  17109. "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
  17110. "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
  17111. "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
  17112. "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
  17113. "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
  17114. "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
  17115. "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
  17116. "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
  17117. "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
  17118. "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
  17119. "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
  17120. "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
  17121. "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
  17122. "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
  17123. "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
  17124. "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
  17125. "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
  17126. "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
  17127. "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
  17128. "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
  17129. "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
  17130. "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
  17131. "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
  17132. "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
  17133. "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
  17134. "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
  17135. "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
  17136. "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
  17137. "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
  17138. "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
  17139. "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
  17140. "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
  17141. "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
  17142. "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
  17143. "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
  17144. "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
  17145. "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
  17146. "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
  17147. "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
  17148. "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
  17149. "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
  17150. "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
  17151. "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
  17152. "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
  17153. "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
  17154. "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
  17155. "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
  17156. "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
  17157. "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
  17158. "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
  17159. "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
  17160. "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
  17161. "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
  17162. "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
  17163. "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
  17164. "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
  17165. "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
  17166. "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
  17167. "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
  17168. "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
  17169. "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
  17170. "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
  17171. "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
  17172. "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
  17173. "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
  17174. "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
  17175. "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
  17176. "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
  17177. "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
  17178. "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
  17179. "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
  17180. "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
  17181. "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
  17182. "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
  17183. "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
  17184. "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
  17185. "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
  17186. "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
  17187. "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
  17188. "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
  17189. "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
  17190. "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
  17191. "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
  17192. "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
  17193. "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
  17194. "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
  17195. "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
  17196. "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
  17197. "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
  17198. "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
  17199. "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
  17200. "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
  17201. "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
  17202. "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
  17203. "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
  17204. "\x38\x45\x52\x5f\x6c\x79\x86\x93"
  17205. "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
  17206. "\x08\x15\x22\x2f\x3c\x49\x56\x63"
  17207. "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
  17208. "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
  17209. "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
  17210. "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
  17211. "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
  17212. "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
  17213. "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
  17214. "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
  17215. "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
  17216. "\x18\x25\x32\x3f\x4c\x59\x66\x73"
  17217. "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
  17218. "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
  17219. "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
  17220. "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
  17221. "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
  17222. "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
  17223. "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
  17224. "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
  17225. "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
  17226. "\x28\x35\x42\x4f\x5c\x69\x76\x83"
  17227. "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
  17228. "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
  17229. "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
  17230. "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
  17231. "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
  17232. "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
  17233. "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
  17234. "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
  17235. "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
  17236. "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
  17237. "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
  17238. "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
  17239. "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
  17240. "\x48\x57\x66\x75\x84\x93\xa2\xb1"
  17241. "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
  17242. "\x38\x47\x56\x65\x74\x83\x92\xa1"
  17243. "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
  17244. "\x28\x37\x46\x55\x64\x73\x82\x91"
  17245. "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
  17246. "\x18\x27\x36\x45\x54\x63\x72\x81"
  17247. "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
  17248. "\x08\x17\x26\x35\x44\x53\x62\x71"
  17249. "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
  17250. "\xf8\x07\x16\x25\x34\x43\x52\x61"
  17251. "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
  17252. "\xe8\xf7\x06\x15\x24\x33\x42\x51"
  17253. "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
  17254. "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
  17255. "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
  17256. "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
  17257. "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
  17258. "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
  17259. "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
  17260. "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
  17261. "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
  17262. "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
  17263. "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
  17264. "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
  17265. "\x00\x11\x22\x33\x44\x55\x66\x77"
  17266. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
  17267. "\x10\x21\x32\x43\x54\x65\x76\x87"
  17268. "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
  17269. "\x20\x31\x42\x53\x64\x75\x86\x97"
  17270. "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
  17271. "\x30\x41\x52\x63\x74\x85\x96\xa7"
  17272. "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
  17273. "\x40\x51\x62\x73\x84\x95\xa6\xb7"
  17274. "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
  17275. "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
  17276. "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
  17277. "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
  17278. "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
  17279. "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
  17280. "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
  17281. "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
  17282. "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
  17283. "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
  17284. "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
  17285. "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
  17286. "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
  17287. "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
  17288. "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
  17289. "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
  17290. "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
  17291. "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
  17292. "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
  17293. "\xe0\xf1\x02\x13\x24\x35\x46\x57"
  17294. "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
  17295. "\xf0\x01\x12\x23\x34\x45\x56\x67"
  17296. "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
  17297. "\x00\x13\x26\x39\x4c\x5f\x72\x85"
  17298. "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
  17299. "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
  17300. "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
  17301. "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
  17302. "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
  17303. "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
  17304. "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
  17305. "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
  17306. "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
  17307. "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
  17308. "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
  17309. "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
  17310. "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
  17311. "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
  17312. "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
  17313. "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
  17314. "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
  17315. "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
  17316. "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
  17317. "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
  17318. "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
  17319. "\x10\x23\x36\x49\x5c\x6f\x82\x95"
  17320. "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
  17321. "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
  17322. "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
  17323. "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
  17324. "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
  17325. "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
  17326. "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
  17327. "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
  17328. "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
  17329. "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
  17330. "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
  17331. "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
  17332. "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
  17333. "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
  17334. "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
  17335. "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
  17336. "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
  17337. "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
  17338. "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
  17339. "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
  17340. "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
  17341. "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
  17342. "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
  17343. "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
  17344. "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
  17345. "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
  17346. "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
  17347. "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
  17348. "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
  17349. "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
  17350. "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
  17351. "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
  17352. "\x18\x2d\x42\x57\x6c\x81\x96\xab"
  17353. "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
  17354. "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
  17355. "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
  17356. "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
  17357. "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
  17358. "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
  17359. "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
  17360. "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
  17361. "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
  17362. "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
  17363. "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
  17364. "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
  17365. "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
  17366. "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
  17367. "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
  17368. "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
  17369. "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
  17370. "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
  17371. "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
  17372. "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
  17373. "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
  17374. "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
  17375. "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
  17376. "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
  17377. "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
  17378. "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
  17379. "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
  17380. "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
  17381. "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
  17382. "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
  17383. "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
  17384. "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
  17385. "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
  17386. "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
  17387. "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
  17388. "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
  17389. "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
  17390. "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
  17391. "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
  17392. "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
  17393. "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
  17394. "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
  17395. "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
  17396. "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
  17397. "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
  17398. "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
  17399. "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
  17400. "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
  17401. "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
  17402. "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
  17403. "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
  17404. "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
  17405. "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
  17406. "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
  17407. "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
  17408. "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
  17409. "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
  17410. "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
  17411. "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
  17412. "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
  17413. "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
  17414. "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
  17415. "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
  17416. "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
  17417. "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
  17418. "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
  17419. "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
  17420. "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
  17421. "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
  17422. "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
  17423. "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
  17424. "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
  17425. "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
  17426. "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
  17427. "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
  17428. "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
  17429. "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
  17430. "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
  17431. "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
  17432. "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
  17433. "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
  17434. "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
  17435. "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
  17436. "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
  17437. "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
  17438. "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
  17439. "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
  17440. "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
  17441. "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
  17442. "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
  17443. "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
  17444. "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
  17445. "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
  17446. "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
  17447. "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
  17448. "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
  17449. "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
  17450. "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
  17451. "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
  17452. "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
  17453. "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
  17454. "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
  17455. "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
  17456. "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
  17457. "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
  17458. "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
  17459. "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
  17460. "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
  17461. "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
  17462. "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
  17463. "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
  17464. "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
  17465. "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
  17466. "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
  17467. "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
  17468. "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
  17469. "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
  17470. "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
  17471. "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
  17472. "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
  17473. "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
  17474. "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
  17475. "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
  17476. "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
  17477. "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
  17478. "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
  17479. "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
  17480. "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
  17481. "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
  17482. "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
  17483. "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
  17484. "\x78\x95\xb2\xcf\xec\x09\x26\x43"
  17485. "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
  17486. "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
  17487. "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
  17488. "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
  17489. "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
  17490. "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
  17491. "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
  17492. "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
  17493. "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
  17494. "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
  17495. "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
  17496. "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
  17497. "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
  17498. "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
  17499. "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
  17500. "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
  17501. "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
  17502. "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
  17503. "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
  17504. "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
  17505. "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
  17506. "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
  17507. "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
  17508. "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
  17509. "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
  17510. "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
  17511. "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
  17512. "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
  17513. "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
  17514. "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
  17515. "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
  17516. "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
  17517. "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
  17518. "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
  17519. "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
  17520. "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
  17521. "\x00\x21\x42\x63",
  17522. .ctext =
  17523. "\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
  17524. "\xae\xff\x91\x3a\x44\xcf\x38\x32"
  17525. "\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
  17526. "\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
  17527. "\xf2\x62\x74\x70\x0c\xa4\x46\x08"
  17528. "\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
  17529. "\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
  17530. "\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
  17531. "\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
  17532. "\x18\xff\x75\x6d\x06\x2d\x00\xab"
  17533. "\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
  17534. "\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
  17535. "\x3d\x74\x54\xfa\x44\xcd\x23\x26"
  17536. "\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
  17537. "\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
  17538. "\x61\x00\x1c\x4f\xff\x59\xc4\x22"
  17539. "\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
  17540. "\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
  17541. "\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
  17542. "\x84\xff\x42\x60\xdc\x3a\x18\xa5"
  17543. "\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
  17544. "\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
  17545. "\x8f\xd3\x76\x96\xad\x49\x6d\x38"
  17546. "\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
  17547. "\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
  17548. "\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
  17549. "\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
  17550. "\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
  17551. "\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
  17552. "\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
  17553. "\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
  17554. "\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
  17555. "\x78\x6b\x01\xc9\xc7\x83\xba\x21"
  17556. "\x6a\x25\x15\x33\x4e\x45\x08\xec"
  17557. "\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
  17558. "\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
  17559. "\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
  17560. "\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
  17561. "\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
  17562. "\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
  17563. "\xc8\x53\x07\xaf\x80\x84\xec\xfd"
  17564. "\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
  17565. "\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
  17566. "\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
  17567. "\x06\x51\x48\x4e\xf6\x59\x87\xd2"
  17568. "\x04\x02\xef\xd3\x44\xde\x76\x31"
  17569. "\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
  17570. "\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
  17571. "\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
  17572. "\x65\x83\xd0\x3b\xe3\x30\xea\x94"
  17573. "\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
  17574. "\xb4\x01\xab\x36\x2c\x77\x13\xaf"
  17575. "\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
  17576. "\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
  17577. "\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
  17578. "\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
  17579. "\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
  17580. "\x93\x97\xc6\x48\x45\x1d\x9f\x83"
  17581. "\xdf\x4b\x40\x3e\x42\x25\x87\x80"
  17582. "\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
  17583. "\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
  17584. "\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
  17585. "\x32\x03\xed\xf0\x50\x1c\x56\x39"
  17586. "\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
  17587. "\x53\xfc\x2a\x38\x23\x15\x75\xcd"
  17588. "\x45\xe5\x5a\x82\x55\xba\x21\xfa"
  17589. "\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
  17590. "\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
  17591. "\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
  17592. "\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
  17593. "\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
  17594. "\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
  17595. "\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
  17596. "\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
  17597. "\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
  17598. "\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
  17599. "\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
  17600. "\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
  17601. "\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
  17602. "\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
  17603. "\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
  17604. "\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
  17605. "\x69\x3a\x29\x23\xac\x86\x32\xa5"
  17606. "\x48\x9c\x9e\xf3\x47\x77\x81\x70"
  17607. "\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
  17608. "\x59\x6a\xd3\x50\x59\x43\x59\xde"
  17609. "\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
  17610. "\x18\x34\x0d\x1a\x63\x33\xed\x10"
  17611. "\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
  17612. "\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
  17613. "\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
  17614. "\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
  17615. "\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
  17616. "\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
  17617. "\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
  17618. "\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
  17619. "\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
  17620. "\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
  17621. "\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
  17622. "\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
  17623. "\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
  17624. "\xe8\x99\x57\x8c\x11\xed\x66\xd9"
  17625. "\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
  17626. "\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
  17627. "\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
  17628. "\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
  17629. "\x64\x76\x38\x49\x4d\xfe\x30\x6d"
  17630. "\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
  17631. "\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
  17632. "\x28\xa2\x82\x1f\x61\x69\xad\xc1"
  17633. "\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
  17634. "\x51\xb5\x17\x7f\x12\x69\x8c\x24"
  17635. "\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
  17636. "\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
  17637. "\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
  17638. "\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
  17639. "\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
  17640. "\x4d\x29\x77\x53\x35\x6a\x00\x8d"
  17641. "\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
  17642. "\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
  17643. "\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
  17644. "\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
  17645. "\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
  17646. "\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
  17647. "\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
  17648. "\x26\x39\x83\x94\xef\x27\xd8\x53"
  17649. "\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
  17650. "\x43\x7c\x95\x0a\x53\xef\x66\xda"
  17651. "\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
  17652. "\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
  17653. "\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
  17654. "\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
  17655. "\x88\xee\x73\xcf\x66\x2f\x52\x56"
  17656. "\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
  17657. "\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
  17658. "\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
  17659. "\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
  17660. "\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
  17661. "\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
  17662. "\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
  17663. "\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
  17664. "\xba\x61\x34\x38\x7c\xda\x48\x3e"
  17665. "\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
  17666. "\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
  17667. "\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
  17668. "\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
  17669. "\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
  17670. "\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
  17671. "\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
  17672. "\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
  17673. "\x35\x12\xe3\x36\x28\x27\x36\x58"
  17674. "\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
  17675. "\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
  17676. "\x2b\x9f\x96\x00\x86\x60\xf0\x21"
  17677. "\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
  17678. "\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
  17679. "\x9d\x62\x79\x58\x52\xe6\x65\xb7"
  17680. "\xab\x55\x67\x9c\x89\x7c\x03\xb0"
  17681. "\x73\x59\xc5\x81\xf5\x18\x17\x5c"
  17682. "\x89\xf3\x78\x35\x44\x62\x78\x72"
  17683. "\xd0\x96\xeb\x31\xe7\x87\x77\x14"
  17684. "\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
  17685. "\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
  17686. "\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
  17687. "\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
  17688. "\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
  17689. "\xfb\x79\x2e\x04\x2d\x50\x28\x83"
  17690. "\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
  17691. "\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
  17692. "\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
  17693. "\xd2\x49\x77\x81\x6d\x90\x70\xae"
  17694. "\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
  17695. "\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
  17696. "\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
  17697. "\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
  17698. "\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
  17699. "\x45\x42\x27\x75\x50\xe5\xee\xb8"
  17700. "\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
  17701. "\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
  17702. "\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
  17703. "\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
  17704. "\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
  17705. "\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
  17706. "\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
  17707. "\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
  17708. "\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
  17709. "\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
  17710. "\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
  17711. "\xa9\x21\x2b\x92\x94\x87\x62\x57"
  17712. "\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
  17713. "\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
  17714. "\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
  17715. "\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
  17716. "\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
  17717. "\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
  17718. "\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
  17719. "\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
  17720. "\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
  17721. "\x69\x34\x78\x61\x24\x21\x9c\x8a"
  17722. "\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
  17723. "\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
  17724. "\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
  17725. "\x8a\x59\x94\x3c\xcf\x36\x27\x82"
  17726. "\xc2\x45\xee\x58\xcd\x88\xb4\xec"
  17727. "\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
  17728. "\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
  17729. "\xb1\x95\x28\x86\x20\xe9\x17\x49"
  17730. "\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
  17731. "\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
  17732. "\xdb\x7c\x73\x10\xb9\xba\x89\x76"
  17733. "\x54\xae\x7d\x71\xb3\x93\xf6\x32"
  17734. "\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
  17735. "\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
  17736. "\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
  17737. "\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
  17738. "\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
  17739. "\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
  17740. "\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
  17741. "\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
  17742. "\x79\x00\xa8\x6c\x29\xd9\x18\x24"
  17743. "\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
  17744. "\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
  17745. "\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
  17746. "\x26\x2c\x39\x52\x89\x98\xe7\x2c"
  17747. "\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
  17748. "\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
  17749. "\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
  17750. "\x32\x4d\xed\xab\xfa\x98\x14\x4e"
  17751. "\xc3\x15\x45\x53\x61\xc4\x93\xbd"
  17752. "\x90\xf4\x99\x95\x4c\xe6\x76\x92"
  17753. "\x29\x90\x46\x30\x92\x69\x7d\x13"
  17754. "\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
  17755. "\x63\x40\x36\x5f\x09\xe2\x78\xf8"
  17756. "\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
  17757. "\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
  17758. "\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
  17759. "\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
  17760. "\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
  17761. "\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
  17762. "\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
  17763. "\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
  17764. "\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
  17765. "\x05\xc4\xa6\x96\xec\x05\x98\x4f"
  17766. "\x96\x67\x57\x1f\x20\x86\x1b\x2d"
  17767. "\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
  17768. "\x88\x26\x2c\x67\x02\x4b\x52\xd0"
  17769. "\x83\x7a\x43\x1f\xc0\x71\x15\x25"
  17770. "\x77\x65\x08\x60\x11\x76\x4c\x8d"
  17771. "\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
  17772. "\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
  17773. "\x03\xd1\x24\x95\xec\x6d\xab\x38"
  17774. "\x72\xce\xe2\x8b\x33\xd7\x51\x09"
  17775. "\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
  17776. "\x84\xdc\x73\x73\x2d\x1b\x11\x98"
  17777. "\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
  17778. "\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
  17779. "\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
  17780. "\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
  17781. "\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
  17782. "\x62\x8f\x7a\x73\x32\xab\xc8\x18"
  17783. "\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
  17784. "\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
  17785. "\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
  17786. "\xde\x39\xa4\x01\x72\x63\xf3\xd1"
  17787. "\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
  17788. "\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
  17789. "\x16\xf7\xcd\x92\x9a\x99\x30\x14"
  17790. "\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
  17791. "\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
  17792. "\xe5\x79\x81\x73\xcd\x43\x59\x68"
  17793. "\x73\x02\x3b\x78\x21\x72\x43\x00"
  17794. "\x49\x17\xf7\x00\xaf\x68\x24\x53"
  17795. "\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
  17796. "\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
  17797. "\x11\x94\x13\x69\x51\x09\x28\xde"
  17798. "\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
  17799. "\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
  17800. "\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
  17801. "\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
  17802. "\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
  17803. "\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
  17804. "\x62\x03\x43\xf1\x87\xb4\xb0\x85"
  17805. "\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
  17806. "\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
  17807. "\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
  17808. "\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
  17809. "\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
  17810. "\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
  17811. "\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
  17812. "\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
  17813. "\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
  17814. "\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
  17815. "\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
  17816. "\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
  17817. "\x69\xdc\xab\x24\x57\x60\x47\xc1"
  17818. "\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
  17819. "\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
  17820. "\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
  17821. "\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
  17822. "\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
  17823. "\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
  17824. "\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
  17825. "\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
  17826. "\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
  17827. "\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
  17828. "\x63\x19\x3d\xd5\xec\x1b\x77\x69"
  17829. "\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
  17830. "\x85\x62\x82\x70\x18\xe2\x9a\x78"
  17831. "\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
  17832. "\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
  17833. "\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
  17834. "\x35\xf3\x61\x06\x72\x84\xc4\x32"
  17835. "\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
  17836. "\x04\xc2\xde\x57\x64\x60\x8d\xcf"
  17837. "\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
  17838. "\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
  17839. "\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
  17840. "\xb3\x71\xa0\xde\xca\x96\xf1\x78"
  17841. "\x49\xa2\x99\x81\x80\x5c\x01\xf5"
  17842. "\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
  17843. "\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
  17844. "\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
  17845. "\x4f\x73\x38\x09\x75\x64\x48\xe0"
  17846. "\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
  17847. "\xfe\x16\x26\x62\x49\x74\xf4\xb0"
  17848. "\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
  17849. "\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
  17850. "\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
  17851. "\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
  17852. "\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
  17853. "\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
  17854. "\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
  17855. "\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
  17856. "\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
  17857. "\xef\xa0\x54\xe4\x5e\x16\x53\x81"
  17858. "\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
  17859. "\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
  17860. "\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
  17861. "\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
  17862. "\x53\x5d\x86\xd6\xde\x65\xca\xe3"
  17863. "\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
  17864. "\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
  17865. "\x37\x7a\x93\x7a\x50\x11\x9f\x96"
  17866. "\x86\x25\xfd\xac\xdc\xbe\x18\x93"
  17867. "\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
  17868. "\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
  17869. "\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
  17870. "\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
  17871. "\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
  17872. "\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
  17873. "\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
  17874. "\xce\x4d\x5f\x18\x60\xce\x87\x22"
  17875. "\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
  17876. "\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
  17877. "\x32\xd8\xaf\x1e\x07\x77\x51\x96"
  17878. "\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
  17879. "\xea\x17\x0b\x10\xd2\x3f\x28\x25"
  17880. "\x4f\x05\x77\x02\x14\x69\xf0\x2c"
  17881. "\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
  17882. "\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
  17883. "\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
  17884. "\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
  17885. "\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
  17886. "\x64\xc0\x64\xda\xb1\xae\xdd\x60"
  17887. "\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
  17888. "\x92\x61\xd0\x48\x81\xed\x5e\x1d"
  17889. "\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
  17890. "\x7f\x83\x73\xb6\x70\x18\x65\x3e"
  17891. "\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
  17892. "\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
  17893. "\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
  17894. "\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
  17895. "\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
  17896. "\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
  17897. "\xa7\x22\xec\xe2\x7e\x29\x09\x53"
  17898. "\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
  17899. "\xce\x54\xf9\x18\x58\xb5\xff\x44"
  17900. "\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
  17901. "\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
  17902. "\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
  17903. "\xff\xfd\xb0\x21\x6e\x57\x05\x75"
  17904. "\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
  17905. "\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
  17906. "\x80\x8c\xc8\x78\x40\x24\x4b\x89"
  17907. "\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
  17908. "\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
  17909. "\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
  17910. "\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
  17911. "\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
  17912. "\x0c\xd6\x04\x14\xde\x51\x74\x75"
  17913. "\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
  17914. "\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
  17915. "\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
  17916. "\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
  17917. "\x75\x46\x65\x4e\x07\x34\x37\xa3"
  17918. "\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
  17919. "\x69\x24\x0e\x38\x67\x43\x8c\xde"
  17920. "\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
  17921. "\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
  17922. "\x64\xb1\xdb\xee\x00\x50\x77\xe1"
  17923. "\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
  17924. "\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
  17925. "\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
  17926. "\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
  17927. "\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
  17928. "\x91\x7d\x62\x64\x96\x72\xde\xfc"
  17929. "\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
  17930. "\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
  17931. "\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
  17932. "\x98\x81\x84\x4f\x15\x5c\x76\xe7"
  17933. "\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
  17934. "\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
  17935. "\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
  17936. "\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
  17937. "\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
  17938. "\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
  17939. "\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
  17940. "\xb1\xb2\x52\x94\x75\x2c\x29\x59"
  17941. "\x06\xc2\x25\xe8\x71\x65\x4e\xed"
  17942. "\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
  17943. "\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
  17944. "\xe0\x50\x40\x96\x35\x63\xe4\x0b"
  17945. "\x76\xbd\xa4\x65\x00\x1b\x57\x88"
  17946. "\xae\xed\x39\x88\x42\x11\x3c\xed"
  17947. "\x85\x67\x7d\xb9\x68\x82\xe9\x43"
  17948. "\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
  17949. "\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
  17950. "\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
  17951. "\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
  17952. "\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
  17953. "\xce\x20\x56\x32\xc6\xc5\x99\x1f"
  17954. "\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
  17955. "\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
  17956. "\x66\xf8\x3d\x18\x74\x70\x66\x7a"
  17957. "\x34\x17\xde\xba\x47\xf1\x06\x18"
  17958. "\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
  17959. "\xe0\x3b\x78\x62\x66\xc9\x10\xea"
  17960. "\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
  17961. "\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
  17962. "\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
  17963. "\x63\x4f\x20\x0c\x07\x17\x33\x5e"
  17964. "\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
  17965. "\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
  17966. "\x58\xef\x15\xa9\x83\xd9\x46\xb1"
  17967. "\x42\xaa\xf5\x02\x6c\xce\x92\x06"
  17968. "\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
  17969. "\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
  17970. "\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
  17971. "\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
  17972. "\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
  17973. "\xb6\x67\xc7\x77\xed\x23\xef\x4c"
  17974. "\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
  17975. "\x34\x37\x08\xab\xd9\x1f\x09\xb1"
  17976. "\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
  17977. "\x2c\x56\x39\x79\x0f\x69\x44\x75"
  17978. "\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
  17979. "\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
  17980. "\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
  17981. "\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
  17982. "\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
  17983. "\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
  17984. "\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
  17985. "\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
  17986. "\x63\x9b\xce\x61\x24\x79\xc0\x70"
  17987. "\x52\xd0\xb6\xd4\x28\x95\x24\x87"
  17988. "\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
  17989. "\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
  17990. "\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
  17991. "\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
  17992. "\x74\x56\x58\x40\x02\x37\x52\x2c"
  17993. "\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
  17994. "\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
  17995. "\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
  17996. "\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
  17997. "\x24\x90\xec\x58\xd2\x09\xc7\x2d"
  17998. "\xed\x38\x80\x36\x72\x43\x27\x49"
  17999. "\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
  18000. "\x7d\xb6\x82\x37\x86\x92\x86\x3e"
  18001. "\x08\xb2\x28\x5a\x55\x44\x24\x7d"
  18002. "\x40\x48\x8a\xb6\x89\x58\x08\xa0"
  18003. "\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
  18004. "\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
  18005. "\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
  18006. "\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
  18007. "\x14\x32\x45\x05\xe0\xdb\x9f\x75"
  18008. "\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
  18009. "\x12\xee\x30\xfe\xd8\x30\xef\x34"
  18010. "\x50\xab\x46\x30\x98\x2f\xb7\xc0"
  18011. "\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
  18012. "\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
  18013. "\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
  18014. "\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
  18015. "\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
  18016. "\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
  18017. "\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
  18018. "\x02\x9d\x27\x1f\xef\x85\x05\x8d"
  18019. "\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
  18020. "\xa1\x75\xa0\xd8\x06\x47\x14\xef"
  18021. "\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
  18022. "\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
  18023. "\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
  18024. "\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
  18025. "\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
  18026. "\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
  18027. "\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
  18028. "\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
  18029. "\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
  18030. "\x44\x12\xfb\x73\x77\xd4\x13\x39"
  18031. "\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
  18032. "\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
  18033. "\x41\x01\x18\x5d\x5d\x07\x97\xa6"
  18034. "\x4b\xef\x31\x18\xea\xac\xb1\x84"
  18035. "\x21\xed\xda\x86",
  18036. .len = 4100,
  18037. },
  18038. };
  18039. static const struct cipher_testvec aes_ofb_tv_template[] = {
  18040. { /* From NIST Special Publication 800-38A, Appendix F.5 */
  18041. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  18042. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  18043. .klen = 16,
  18044. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
  18045. "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  18046. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  18047. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  18048. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  18049. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  18050. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  18051. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  18052. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  18053. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  18054. .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
  18055. "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
  18056. "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
  18057. "\x3c\x52\xda\xc5\x4e\xd8\x25"
  18058. "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
  18059. "\x44\xf7\xa8\x22\x60\xed\xcc"
  18060. "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
  18061. "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
  18062. .len = 64,
  18063. }, { /* > 16 bytes, not a multiple of 16 bytes */
  18064. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  18065. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  18066. .klen = 16,
  18067. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  18068. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  18069. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  18070. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  18071. "\xae",
  18072. .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
  18073. "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
  18074. "\x77",
  18075. .len = 17,
  18076. }, { /* < 16 bytes */
  18077. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  18078. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  18079. .klen = 16,
  18080. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  18081. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  18082. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f",
  18083. .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad",
  18084. .len = 7,
  18085. }
  18086. };
  18087. static const struct aead_testvec aes_gcm_tv_template[] = {
  18088. { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
  18089. .key = zeroed_string,
  18090. .klen = 16,
  18091. .ctext = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
  18092. "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
  18093. .clen = 16,
  18094. }, {
  18095. .key = zeroed_string,
  18096. .klen = 16,
  18097. .ptext = zeroed_string,
  18098. .plen = 16,
  18099. .ctext = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
  18100. "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
  18101. "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
  18102. "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
  18103. .clen = 32,
  18104. }, {
  18105. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  18106. "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
  18107. .klen = 16,
  18108. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  18109. "\xde\xca\xf8\x88",
  18110. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  18111. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  18112. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  18113. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  18114. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  18115. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  18116. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  18117. "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
  18118. .plen = 64,
  18119. .ctext = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
  18120. "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
  18121. "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
  18122. "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
  18123. "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
  18124. "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
  18125. "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
  18126. "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
  18127. "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
  18128. "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
  18129. .clen = 80,
  18130. }, {
  18131. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  18132. "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
  18133. .klen = 16,
  18134. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  18135. "\xde\xca\xf8\x88",
  18136. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  18137. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  18138. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  18139. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  18140. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  18141. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  18142. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  18143. "\xba\x63\x7b\x39",
  18144. .plen = 60,
  18145. .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  18146. "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  18147. "\xab\xad\xda\xd2",
  18148. .alen = 20,
  18149. .ctext = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
  18150. "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
  18151. "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
  18152. "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
  18153. "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
  18154. "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
  18155. "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
  18156. "\x3d\x58\xe0\x91"
  18157. "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
  18158. "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
  18159. .clen = 76,
  18160. }, {
  18161. .key = zeroed_string,
  18162. .klen = 24,
  18163. .ctext = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
  18164. "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
  18165. .clen = 16,
  18166. }, {
  18167. .key = zeroed_string,
  18168. .klen = 24,
  18169. .ptext = zeroed_string,
  18170. .plen = 16,
  18171. .ctext = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
  18172. "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
  18173. "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
  18174. "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
  18175. .clen = 32,
  18176. }, {
  18177. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  18178. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  18179. "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
  18180. .klen = 24,
  18181. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  18182. "\xde\xca\xf8\x88",
  18183. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  18184. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  18185. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  18186. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  18187. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  18188. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  18189. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  18190. "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
  18191. .plen = 64,
  18192. .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
  18193. "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
  18194. "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
  18195. "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
  18196. "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
  18197. "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
  18198. "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
  18199. "\xcc\xda\x27\x10\xac\xad\xe2\x56"
  18200. "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
  18201. "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
  18202. .clen = 80,
  18203. }, {
  18204. .key = zeroed_string,
  18205. .klen = 32,
  18206. .ctext = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
  18207. "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
  18208. .clen = 16,
  18209. }, {
  18210. .key = zeroed_string,
  18211. .klen = 32,
  18212. .ptext = zeroed_string,
  18213. .plen = 16,
  18214. .ctext = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
  18215. "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
  18216. "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
  18217. "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
  18218. .clen = 32,
  18219. }, {
  18220. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  18221. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  18222. "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  18223. "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
  18224. .klen = 32,
  18225. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  18226. "\xde\xca\xf8\x88",
  18227. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  18228. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  18229. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  18230. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  18231. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  18232. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  18233. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  18234. "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
  18235. .plen = 64,
  18236. .ctext = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
  18237. "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
  18238. "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
  18239. "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
  18240. "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
  18241. "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
  18242. "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
  18243. "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
  18244. "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
  18245. "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
  18246. .clen = 80,
  18247. }, {
  18248. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  18249. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  18250. "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  18251. "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
  18252. .klen = 32,
  18253. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  18254. "\xde\xca\xf8\x88",
  18255. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  18256. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  18257. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  18258. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  18259. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  18260. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  18261. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  18262. "\xba\x63\x7b\x39",
  18263. .plen = 60,
  18264. .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  18265. "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  18266. "\xab\xad\xda\xd2",
  18267. .alen = 20,
  18268. .ctext = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
  18269. "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
  18270. "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
  18271. "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
  18272. "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
  18273. "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
  18274. "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
  18275. "\xbc\xc9\xf6\x62"
  18276. "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
  18277. "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
  18278. .clen = 76,
  18279. }, {
  18280. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  18281. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  18282. "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
  18283. .klen = 24,
  18284. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  18285. "\xde\xca\xf8\x88",
  18286. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  18287. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  18288. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  18289. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  18290. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  18291. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  18292. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  18293. "\xba\x63\x7b\x39",
  18294. .plen = 60,
  18295. .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  18296. "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  18297. "\xab\xad\xda\xd2",
  18298. .alen = 20,
  18299. .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
  18300. "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
  18301. "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
  18302. "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
  18303. "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
  18304. "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
  18305. "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
  18306. "\xcc\xda\x27\x10"
  18307. "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
  18308. "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
  18309. .clen = 76,
  18310. }, {
  18311. .key = "\x62\x35\xf8\x95\xfc\xa5\xeb\xf6"
  18312. "\x0e\x92\x12\x04\xd3\xa1\x3f\x2e"
  18313. "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
  18314. "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
  18315. .klen = 32,
  18316. .iv = "\x00\xff\xff\xff\xff\x00\x00\xff"
  18317. "\xff\xff\x00\xff",
  18318. .ptext = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
  18319. "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
  18320. "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
  18321. "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
  18322. "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
  18323. "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
  18324. "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
  18325. "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
  18326. "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
  18327. "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
  18328. "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
  18329. "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
  18330. "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
  18331. "\x35\x23\xf4\x20\x41\xd4\xad\x82"
  18332. "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
  18333. "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
  18334. "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
  18335. "\xad\x49\x3a\xae\x98\xce\xa6\x66"
  18336. "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
  18337. "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
  18338. "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
  18339. "\x57\xcc\x89\x09\x75\x9b\x78\x70"
  18340. "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
  18341. "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
  18342. "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
  18343. "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
  18344. "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
  18345. "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
  18346. "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
  18347. "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
  18348. "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
  18349. "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
  18350. "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
  18351. "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
  18352. "\x02\x66\x49\xca\x7c\x91\x05\xf2"
  18353. "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
  18354. "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
  18355. "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
  18356. "\x45\xea\x78\x73\xd9\xb7\x39\x11"
  18357. "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
  18358. "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
  18359. "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
  18360. "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
  18361. "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
  18362. "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
  18363. "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
  18364. "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
  18365. "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
  18366. "\x03\x25\x3c\x8d\x48\x58\x71\x34"
  18367. "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
  18368. "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
  18369. "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
  18370. "\x87\x79\x60\x38\x46\xb4\x25\x57"
  18371. "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
  18372. "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
  18373. "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
  18374. "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
  18375. "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
  18376. "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
  18377. "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
  18378. "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
  18379. "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
  18380. "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
  18381. "\x0b\x63\xde\x87\x42\x79\x8a\x68"
  18382. "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
  18383. "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
  18384. "\xe9\x83\x84\xcb\x28\x69\x09\x69"
  18385. "\xce\x99\x46\x00\x54\xcb\xd8\x38"
  18386. "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
  18387. "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
  18388. "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
  18389. "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
  18390. "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
  18391. "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
  18392. "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
  18393. "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
  18394. "\x78\xc6\x91\x22\x40\x91\x80\xbe"
  18395. "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
  18396. "\x67\x10\xa4\x83\x98\x79\x23\xe7"
  18397. "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
  18398. "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
  18399. "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
  18400. "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
  18401. "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
  18402. "\x3f\x73\x09\xe2\x45\x56\x31\x51"
  18403. "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
  18404. "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
  18405. "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
  18406. "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
  18407. "\xa4\x78\xdb\x74\x3d\x8b\xb5",
  18408. .plen = 719,
  18409. .ctext = "\x84\x0b\xdb\xd5\xb7\xa8\xfe\x20"
  18410. "\xbb\xb1\x12\x7f\x41\xea\xb3\xc0"
  18411. "\xa2\xb4\x37\x19\x11\x58\xb6\x0b"
  18412. "\x4c\x1d\x38\x05\x54\xd1\x16\x73"
  18413. "\x8e\x1c\x20\x90\xa2\x9a\xb7\x74"
  18414. "\x47\xe6\xd8\xfc\x18\x3a\xb4\xea"
  18415. "\xd5\x16\x5a\x2c\x53\x01\x46\xb3"
  18416. "\x18\x33\x74\x6c\x50\xf2\xe8\xc0"
  18417. "\x73\xda\x60\x22\xeb\xe3\xe5\x9b"
  18418. "\x20\x93\x6c\x4b\x37\x99\xb8\x23"
  18419. "\x3b\x4e\xac\xe8\x5b\xe8\x0f\xb7"
  18420. "\xc3\x8f\xfb\x4a\x37\xd9\x39\x95"
  18421. "\x34\xf1\xdb\x8f\x71\xd9\xc7\x0b"
  18422. "\x02\xf1\x63\xfc\x9b\xfc\xc5\xab"
  18423. "\xb9\x14\x13\x21\xdf\xce\xaa\x88"
  18424. "\x44\x30\x1e\xce\x26\x01\x92\xf8"
  18425. "\x9f\x00\x4b\x0c\x4b\xf7\x5f\xe0"
  18426. "\x89\xca\x94\x66\x11\x21\x97\xca"
  18427. "\x3e\x83\x74\x2d\xdb\x4d\x11\xeb"
  18428. "\x97\xc2\x14\xff\x9e\x1e\xa0\x6b"
  18429. "\x08\xb4\x31\x2b\x85\xc6\x85\x6c"
  18430. "\x90\xec\x39\xc0\xec\xb3\xb5\x4e"
  18431. "\xf3\x9c\xe7\x83\x3a\x77\x0a\xf4"
  18432. "\x56\xfe\xce\x18\x33\x6d\x0b\x2d"
  18433. "\x33\xda\xc8\x05\x5c\xb4\x09\x2a"
  18434. "\xde\x6b\x52\x98\x01\xef\x36\x3d"
  18435. "\xbd\xf9\x8f\xa8\x3e\xaa\xcd\xd1"
  18436. "\x01\x2d\x42\x49\xc3\xb6\x84\xbb"
  18437. "\x48\x96\xe0\x90\x93\x6c\x48\x64"
  18438. "\xd4\xfa\x7f\x93\x2c\xa6\x21\xc8"
  18439. "\x7a\x23\x7b\xaa\x20\x56\x12\xae"
  18440. "\x16\x9d\x94\x0f\x54\xa1\xec\xca"
  18441. "\x51\x4e\xf2\x39\xf4\xf8\x5f\x04"
  18442. "\x5a\x0d\xbf\xf5\x83\xa1\x15\xe1"
  18443. "\xf5\x3c\xd8\x62\xa3\xed\x47\x89"
  18444. "\x85\x4c\xe5\xdb\xac\x9e\x17\x1d"
  18445. "\x0c\x09\xe3\x3e\x39\x5b\x4d\x74"
  18446. "\x0e\xf5\x34\xee\x70\x11\x4c\xfd"
  18447. "\xdb\x34\xb1\xb5\x10\x3f\x73\xb7"
  18448. "\xf5\xfa\xed\xb0\x1f\xa5\xcd\x3c"
  18449. "\x8d\x35\x83\xd4\x11\x44\x6e\x6c"
  18450. "\x5b\xe0\x0e\x69\xa5\x39\xe5\xbb"
  18451. "\xa9\x57\x24\x37\xe6\x1f\xdd\xcf"
  18452. "\x16\x2a\x13\xf9\x6a\x2d\x90\xa0"
  18453. "\x03\x60\x7a\xed\x69\xd5\x00\x8b"
  18454. "\x7e\x4f\xcb\xb9\xfa\x91\xb9\x37"
  18455. "\xc1\x26\xce\x90\x97\x22\x64\x64"
  18456. "\xc1\x72\x43\x1b\xf6\xac\xc1\x54"
  18457. "\x8a\x10\x9c\xdd\x8d\xd5\x8e\xb2"
  18458. "\xe4\x85\xda\xe0\x20\x5f\xf4\xb4"
  18459. "\x15\xb5\xa0\x8d\x12\x74\x49\x23"
  18460. "\x3a\xdf\x4a\xd3\xf0\x3b\x89\xeb"
  18461. "\xf8\xcc\x62\x7b\xfb\x93\x07\x41"
  18462. "\x61\x26\x94\x58\x70\xa6\x3c\xe4"
  18463. "\xff\x58\xc4\x13\x3d\xcb\x36\x6b"
  18464. "\x32\xe5\xb2\x6d\x03\x74\x6f\x76"
  18465. "\x93\x77\xde\x48\xc4\xfa\x30\x4a"
  18466. "\xda\x49\x80\x77\x0f\x1c\xbe\x11"
  18467. "\xc8\x48\xb1\xe5\xbb\xf2\x8a\xe1"
  18468. "\x96\x2f\x9f\xd1\x8e\x8a\x5c\xe2"
  18469. "\xf7\xd7\xd8\x54\xf3\x3f\xc4\x91"
  18470. "\xb8\xfb\x86\xdc\x46\x24\x91\x60"
  18471. "\x6c\x2f\xc9\x41\x37\x51\x49\x54"
  18472. "\x09\x81\x21\xf3\x03\x9f\x2b\xe3"
  18473. "\x1f\x39\x63\xaf\xf4\xd7\x53\x60"
  18474. "\xa7\xc7\x54\xf9\xee\xb1\xb1\x7d"
  18475. "\x75\x54\x65\x93\xfe\xb1\x68\x6b"
  18476. "\x57\x02\xf9\xbb\x0e\xf9\xf8\xbf"
  18477. "\x01\x12\x27\xb4\xfe\xe4\x79\x7a"
  18478. "\x40\x5b\x51\x4b\xdf\x38\xec\xb1"
  18479. "\x6a\x56\xff\x35\x4d\x42\x33\xaa"
  18480. "\x6f\x1b\xe4\xdc\xe0\xdb\x85\x35"
  18481. "\x62\x10\xd4\xec\xeb\xc5\x7e\x45"
  18482. "\x1c\x6f\x17\xca\x3b\x8e\x2d\x66"
  18483. "\x4f\x4b\x36\x56\xcd\x1b\x59\xaa"
  18484. "\xd2\x9b\x17\xb9\x58\xdf\x7b\x64"
  18485. "\x8a\xff\x3b\x9c\xa6\xb5\x48\x9e"
  18486. "\xaa\xe2\x5d\x09\x71\x32\x5f\xb6"
  18487. "\x29\xbe\xe7\xc7\x52\x7e\x91\x82"
  18488. "\x6b\x6d\x33\xe1\x34\x06\x36\x21"
  18489. "\x5e\xbe\x1e\x2f\x3e\xc1\xfb\xea"
  18490. "\x49\x2c\xb5\xca\xf7\xb0\x37\xea"
  18491. "\x1f\xed\x10\x04\xd9\x48\x0d\x1a"
  18492. "\x1c\xfb\xe7\x84\x0e\x83\x53\x74"
  18493. "\xc7\x65\xe2\x5c\xe5\xba\x73\x4c"
  18494. "\x0e\xe1\xb5\x11\x45\x61\x43\x46"
  18495. "\xaa\x25\x8f\xbd\x85\x08\xfa\x4c"
  18496. "\x15\xc1\xc0\xd8\xf5\xdc\x16\xbb"
  18497. "\x7b\x1d\xe3\x87\x57\xa7\x2a\x1d"
  18498. "\x38\x58\x9e\x8a\x43\xdc\x57"
  18499. "\xd1\x81\x7d\x2b\xe9\xff\x99\x3a"
  18500. "\x4b\x24\x52\x58\x55\xe1\x49\x14",
  18501. .clen = 735,
  18502. }
  18503. };
  18504. static const struct aead_testvec aes_gcm_rfc4106_tv_template[] = {
  18505. { /* Generated using Crypto++ */
  18506. .key = zeroed_string,
  18507. .klen = 20,
  18508. .iv = zeroed_string,
  18509. .ptext = zeroed_string,
  18510. .plen = 16,
  18511. .assoc = zeroed_string,
  18512. .alen = 16,
  18513. .ctext = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
  18514. "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
  18515. "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
  18516. "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
  18517. .clen = 32,
  18518. },{
  18519. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  18520. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  18521. "\x00\x00\x00\x00",
  18522. .klen = 20,
  18523. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  18524. .ptext = zeroed_string,
  18525. .plen = 16,
  18526. .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18527. "\x00\x00\x00\x00\x00\x00\x00\x01",
  18528. .alen = 16,
  18529. .ctext = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
  18530. "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
  18531. "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
  18532. "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
  18533. .clen = 32,
  18534. }, {
  18535. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  18536. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  18537. "\x00\x00\x00\x00",
  18538. .klen = 20,
  18539. .iv = zeroed_string,
  18540. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  18541. "\x01\x01\x01\x01\x01\x01\x01\x01",
  18542. .plen = 16,
  18543. .assoc = zeroed_string,
  18544. .alen = 16,
  18545. .ctext = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
  18546. "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
  18547. "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
  18548. "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
  18549. .clen = 32,
  18550. }, {
  18551. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  18552. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  18553. "\x00\x00\x00\x00",
  18554. .klen = 20,
  18555. .iv = zeroed_string,
  18556. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  18557. "\x01\x01\x01\x01\x01\x01\x01\x01",
  18558. .plen = 16,
  18559. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  18560. "\x00\x00\x00\x00\x00\x00\x00\x00",
  18561. .alen = 16,
  18562. .ctext = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
  18563. "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
  18564. "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
  18565. "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
  18566. .clen = 32,
  18567. }, {
  18568. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  18569. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  18570. "\x00\x00\x00\x00",
  18571. .klen = 20,
  18572. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  18573. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  18574. "\x01\x01\x01\x01\x01\x01\x01\x01",
  18575. .plen = 16,
  18576. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  18577. "\x00\x00\x00\x00\x00\x00\x00\x01",
  18578. .alen = 16,
  18579. .ctext = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
  18580. "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
  18581. "\x64\x50\xF9\x32\x13\xFB\x74\x61"
  18582. "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
  18583. .clen = 32,
  18584. }, {
  18585. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  18586. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  18587. "\x00\x00\x00\x00",
  18588. .klen = 20,
  18589. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  18590. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  18591. "\x01\x01\x01\x01\x01\x01\x01\x01"
  18592. "\x01\x01\x01\x01\x01\x01\x01\x01"
  18593. "\x01\x01\x01\x01\x01\x01\x01\x01"
  18594. "\x01\x01\x01\x01\x01\x01\x01\x01"
  18595. "\x01\x01\x01\x01\x01\x01\x01\x01"
  18596. "\x01\x01\x01\x01\x01\x01\x01\x01"
  18597. "\x01\x01\x01\x01\x01\x01\x01\x01",
  18598. .plen = 64,
  18599. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  18600. "\x00\x00\x00\x00\x00\x00\x00\x01",
  18601. .alen = 16,
  18602. .ctext = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
  18603. "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
  18604. "\x98\x14\xA1\x42\x37\x80\xFD\x90"
  18605. "\x68\x12\x01\xA8\x91\x89\xB9\x83"
  18606. "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
  18607. "\x94\x5F\x18\x12\xBA\x27\x09\x39"
  18608. "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
  18609. "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
  18610. "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
  18611. "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
  18612. .clen = 80,
  18613. }, {
  18614. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  18615. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  18616. "\x00\x00\x00\x00",
  18617. .klen = 20,
  18618. .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
  18619. .ptext = "\xff\xff\xff\xff\xff\xff\xff\xff"
  18620. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18621. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18622. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18623. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18624. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18625. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18626. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18627. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18628. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18629. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18630. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18631. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18632. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18633. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18634. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18635. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18636. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18637. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18638. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18639. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18640. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18641. "\xff\xff\xff\xff\xff\xff\xff\xff"
  18642. "\xff\xff\xff\xff\xff\xff\xff\xff",
  18643. .plen = 192,
  18644. .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  18645. "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
  18646. "\x89\xab\xcd\xef",
  18647. .alen = 20,
  18648. .ctext = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
  18649. "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
  18650. "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
  18651. "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
  18652. "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
  18653. "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
  18654. "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
  18655. "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
  18656. "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
  18657. "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
  18658. "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
  18659. "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
  18660. "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
  18661. "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
  18662. "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
  18663. "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
  18664. "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
  18665. "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
  18666. "\x7E\x13\x06\x82\x08\x17\xA4\x35"
  18667. "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
  18668. "\xA3\x05\x38\x95\x20\x1A\x47\x04"
  18669. "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
  18670. "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
  18671. "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
  18672. "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
  18673. "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
  18674. .clen = 208,
  18675. }, { /* From draft-mcgrew-gcm-test-01 */
  18676. .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
  18677. "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
  18678. "\x2E\x44\x3B\x68",
  18679. .klen = 20,
  18680. .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
  18681. .ptext = "\x45\x00\x00\x48\x69\x9A\x00\x00"
  18682. "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
  18683. "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
  18684. "\x38\xD3\x01\x00\x00\x01\x00\x00"
  18685. "\x00\x00\x00\x00\x04\x5F\x73\x69"
  18686. "\x70\x04\x5F\x75\x64\x70\x03\x73"
  18687. "\x69\x70\x09\x63\x79\x62\x65\x72"
  18688. "\x63\x69\x74\x79\x02\x64\x6B\x00"
  18689. "\x00\x21\x00\x01\x01\x02\x02\x01",
  18690. .plen = 72,
  18691. .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
  18692. "\x00\x00\x00\x00\x49\x56\xED\x7E"
  18693. "\x3B\x24\x4C\xFE",
  18694. .alen = 20,
  18695. .ctext = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
  18696. "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
  18697. "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
  18698. "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
  18699. "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
  18700. "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
  18701. "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
  18702. "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
  18703. "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
  18704. "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
  18705. "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
  18706. .clen = 88,
  18707. }, {
  18708. .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  18709. "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
  18710. "\xCA\xFE\xBA\xBE",
  18711. .klen = 20,
  18712. .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  18713. .ptext = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
  18714. "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
  18715. "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
  18716. "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
  18717. "\x00\x01\x00\x00\x00\x00\x00\x00"
  18718. "\x03\x73\x69\x70\x09\x63\x79\x62"
  18719. "\x65\x72\x63\x69\x74\x79\x02\x64"
  18720. "\x6B\x00\x00\x01\x00\x01\x00\x01",
  18721. .plen = 64,
  18722. .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
  18723. "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  18724. .alen = 16,
  18725. .ctext = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
  18726. "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
  18727. "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
  18728. "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
  18729. "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
  18730. "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
  18731. "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
  18732. "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
  18733. "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
  18734. "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
  18735. .clen = 80,
  18736. }, {
  18737. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  18738. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  18739. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  18740. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  18741. "\x11\x22\x33\x44",
  18742. .klen = 36,
  18743. .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
  18744. .ptext = "\x45\x00\x00\x30\x69\xA6\x40\x00"
  18745. "\x80\x06\x26\x90\xC0\xA8\x01\x02"
  18746. "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
  18747. "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
  18748. "\x70\x02\x40\x00\x20\xBF\x00\x00"
  18749. "\x02\x04\x05\xB4\x01\x01\x04\x02"
  18750. "\x01\x02\x02\x01",
  18751. .plen = 52,
  18752. .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
  18753. "\x01\x02\x03\x04\x05\x06\x07\x08",
  18754. .alen = 16,
  18755. .ctext = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
  18756. "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
  18757. "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
  18758. "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
  18759. "\x74\x8A\x63\x79\x85\x77\x1D\x34"
  18760. "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
  18761. "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
  18762. "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
  18763. "\x15\x95\x6C\x96",
  18764. .clen = 68,
  18765. }, {
  18766. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18767. "\x00\x00\x00\x00\x00\x00\x00\x00"
  18768. "\x00\x00\x00\x00",
  18769. .klen = 20,
  18770. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  18771. .ptext = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
  18772. "\x80\x01\xCB\x7A\x40\x67\x93\x18"
  18773. "\x01\x01\x01\x01\x08\x00\x07\x5C"
  18774. "\x02\x00\x44\x00\x61\x62\x63\x64"
  18775. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  18776. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  18777. "\x75\x76\x77\x61\x62\x63\x64\x65"
  18778. "\x66\x67\x68\x69\x01\x02\x02\x01",
  18779. .plen = 64,
  18780. .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
  18781. "\x00\x00\x00\x00\x00\x00\x00\x00",
  18782. .alen = 16,
  18783. .ctext = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
  18784. "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
  18785. "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
  18786. "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
  18787. "\x45\x64\x76\x49\x27\x19\xFF\xB6"
  18788. "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
  18789. "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
  18790. "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
  18791. "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
  18792. "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
  18793. .clen = 80,
  18794. }, {
  18795. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  18796. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  18797. "\x57\x69\x0E\x43",
  18798. .klen = 20,
  18799. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  18800. .ptext = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
  18801. "\x80\x01\xCB\x7C\x40\x67\x93\x18"
  18802. "\x01\x01\x01\x01\x08\x00\x08\x5C"
  18803. "\x02\x00\x43\x00\x61\x62\x63\x64"
  18804. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  18805. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  18806. "\x75\x76\x77\x61\x62\x63\x64\x65"
  18807. "\x66\x67\x68\x69\x01\x02\x02\x01",
  18808. .plen = 64,
  18809. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  18810. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  18811. "\xA2\xFC\xA1\xA3",
  18812. .alen = 20,
  18813. .ctext = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
  18814. "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
  18815. "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
  18816. "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
  18817. "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
  18818. "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
  18819. "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
  18820. "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
  18821. "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
  18822. "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
  18823. .clen = 80,
  18824. }, {
  18825. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  18826. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  18827. "\x57\x69\x0E\x43",
  18828. .klen = 20,
  18829. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  18830. .ptext = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
  18831. "\x80\x01\x44\x1F\x40\x67\x93\xB6"
  18832. "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
  18833. "\x01\x02\x02\x01",
  18834. .plen = 28,
  18835. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  18836. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  18837. "\xA2\xFC\xA1\xA3",
  18838. .alen = 20,
  18839. .ctext = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
  18840. "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
  18841. "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
  18842. "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
  18843. "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
  18844. "\xE7\xD0\x5D\x35",
  18845. .clen = 44,
  18846. }, {
  18847. .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  18848. "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
  18849. "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  18850. "\xCA\xFE\xBA\xBE",
  18851. .klen = 28,
  18852. .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  18853. .ptext = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
  18854. "\x40\x06\x78\x80\x0A\x01\x03\x8F"
  18855. "\x0A\x01\x06\x12\x80\x23\x06\xB8"
  18856. "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
  18857. "\x50\x10\x16\xD0\x75\x68\x00\x01",
  18858. .plen = 40,
  18859. .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
  18860. "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  18861. .alen = 16,
  18862. .ctext = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
  18863. "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
  18864. "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
  18865. "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
  18866. "\x31\x5B\x27\x45\x21\x44\xCC\x77"
  18867. "\x95\x45\x7B\x96\x52\x03\x7F\x53"
  18868. "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
  18869. .clen = 56,
  18870. }, {
  18871. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  18872. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  18873. "\xDE\xCA\xF8\x88",
  18874. .klen = 20,
  18875. .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
  18876. .ptext = "\x45\x00\x00\x49\x33\xBA\x00\x00"
  18877. "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
  18878. "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
  18879. "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
  18880. "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
  18881. "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
  18882. "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
  18883. "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
  18884. "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
  18885. "\x23\x01\x01\x01",
  18886. .plen = 76,
  18887. .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
  18888. "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
  18889. "\xCE\xFA\xCE\x74",
  18890. .alen = 20,
  18891. .ctext = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
  18892. "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
  18893. "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
  18894. "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
  18895. "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
  18896. "\x84\xE6\x58\x63\x96\x5D\x74\x72"
  18897. "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
  18898. "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
  18899. "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
  18900. "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
  18901. "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
  18902. "\x69\x62\x34\x36",
  18903. .clen = 92,
  18904. }, {
  18905. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  18906. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  18907. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  18908. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  18909. "\x73\x61\x6C\x74",
  18910. .klen = 36,
  18911. .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
  18912. .ptext = "\x45\x08\x00\x28\x73\x2C\x00\x00"
  18913. "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
  18914. "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
  18915. "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
  18916. "\x50\x10\x1F\x64\x6D\x54\x00\x01",
  18917. .plen = 40,
  18918. .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
  18919. "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
  18920. "\x69\x76\x65\x63",
  18921. .alen = 20,
  18922. .ctext = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
  18923. "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
  18924. "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
  18925. "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
  18926. "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
  18927. "\x45\x16\x26\xC2\x41\x57\x71\xE3"
  18928. "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
  18929. .clen = 56,
  18930. }, {
  18931. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  18932. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  18933. "\x57\x69\x0E\x43",
  18934. .klen = 20,
  18935. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  18936. .ptext = "\x45\x00\x00\x49\x33\x3E\x00\x00"
  18937. "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
  18938. "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
  18939. "\x00\x35\xCB\x45\x80\x03\x02\x5B"
  18940. "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
  18941. "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
  18942. "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
  18943. "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
  18944. "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
  18945. "\x15\x01\x01\x01",
  18946. .plen = 76,
  18947. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  18948. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  18949. "\xA2\xFC\xA1\xA3",
  18950. .alen = 20,
  18951. .ctext = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
  18952. "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
  18953. "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
  18954. "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
  18955. "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
  18956. "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
  18957. "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
  18958. "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
  18959. "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
  18960. "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
  18961. "\x76\x91\x89\x60\x97\x63\xB8\xE1"
  18962. "\x8C\xAA\x81\xE2",
  18963. .clen = 92,
  18964. }, {
  18965. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  18966. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  18967. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  18968. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  18969. "\x73\x61\x6C\x74",
  18970. .klen = 36,
  18971. .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
  18972. .ptext = "\x63\x69\x73\x63\x6F\x01\x72\x75"
  18973. "\x6C\x65\x73\x01\x74\x68\x65\x01"
  18974. "\x6E\x65\x74\x77\x65\x01\x64\x65"
  18975. "\x66\x69\x6E\x65\x01\x74\x68\x65"
  18976. "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
  18977. "\x67\x69\x65\x73\x01\x74\x68\x61"
  18978. "\x74\x77\x69\x6C\x6C\x01\x64\x65"
  18979. "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
  18980. "\x72\x72\x6F\x77\x01\x02\x02\x01",
  18981. .plen = 72,
  18982. .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
  18983. "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
  18984. "\x69\x76\x65\x63",
  18985. .alen = 20,
  18986. .ctext = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
  18987. "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
  18988. "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
  18989. "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
  18990. "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
  18991. "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
  18992. "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
  18993. "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
  18994. "\x12\xA4\x93\x63\x41\x23\x64\xF8"
  18995. "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
  18996. "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
  18997. .clen = 88,
  18998. }, {
  18999. .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
  19000. "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
  19001. "\xD9\x66\x42\x67",
  19002. .klen = 20,
  19003. .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
  19004. .ptext = "\x01\x02\x02\x01",
  19005. .plen = 4,
  19006. .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
  19007. "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
  19008. .alen = 16,
  19009. .ctext = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
  19010. "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
  19011. "\x04\xBE\xF2\x70",
  19012. .clen = 20,
  19013. }, {
  19014. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  19015. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  19016. "\xDE\xCA\xF8\x88",
  19017. .klen = 20,
  19018. .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
  19019. .ptext = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
  19020. "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
  19021. "\x62\x65\x00\x01",
  19022. .plen = 20,
  19023. .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
  19024. "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
  19025. "\xCE\xFA\xCE\x74",
  19026. .alen = 20,
  19027. .ctext = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
  19028. "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
  19029. "\x43\x33\x21\x64\x41\x25\x03\x52"
  19030. "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
  19031. "\x43\xAF\x8C\x3E",
  19032. .clen = 36,
  19033. }, {
  19034. .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
  19035. "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
  19036. "\x61\x61\x6E\x64\x64\x6F\x69\x74"
  19037. "\x62\x65\x66\x6F\x72\x65\x69\x61"
  19038. "\x74\x75\x72\x6E",
  19039. .klen = 36,
  19040. .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
  19041. .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
  19042. "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
  19043. "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
  19044. "\x02\x00\x07\x00\x61\x62\x63\x64"
  19045. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  19046. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  19047. "\x01\x02\x02\x01",
  19048. .plen = 52,
  19049. .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
  19050. "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
  19051. "\x67\x65\x74\x6D",
  19052. .alen = 20,
  19053. .ctext = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
  19054. "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
  19055. "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
  19056. "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
  19057. "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
  19058. "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
  19059. "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
  19060. "\x94\x5F\x66\x93\x68\x66\x1A\x32"
  19061. "\x9F\xB4\xC0\x53",
  19062. .clen = 68,
  19063. }, {
  19064. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  19065. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  19066. "\x57\x69\x0E\x43",
  19067. .klen = 20,
  19068. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  19069. .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
  19070. "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
  19071. "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
  19072. "\x02\x00\x07\x00\x61\x62\x63\x64"
  19073. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  19074. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  19075. "\x01\x02\x02\x01",
  19076. .plen = 52,
  19077. .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
  19078. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  19079. "\xA2\xFC\xA1\xA3",
  19080. .alen = 20,
  19081. .ctext = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
  19082. "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
  19083. "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
  19084. "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
  19085. "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
  19086. "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
  19087. "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
  19088. "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
  19089. "\x40\xD7\xCB\x05",
  19090. .clen = 68,
  19091. }, {
  19092. .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
  19093. "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
  19094. "\x22\x43\x3C\x64",
  19095. .klen = 20,
  19096. .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
  19097. .ptext = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
  19098. "\x61\x62\x63\x64\x65\x66\x67\x68"
  19099. "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
  19100. "\x71\x72\x73\x74\x01\x02\x02\x01",
  19101. .plen = 32,
  19102. .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
  19103. "\x00\x00\x00\x07\x48\x55\xEC\x7D"
  19104. "\x3A\x23\x4B\xFD",
  19105. .alen = 20,
  19106. .ctext = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
  19107. "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
  19108. "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
  19109. "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
  19110. "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
  19111. "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
  19112. .clen = 48,
  19113. }
  19114. };
  19115. static const struct aead_testvec aes_gcm_rfc4543_tv_template[] = {
  19116. { /* From draft-mcgrew-gcm-test-01 */
  19117. .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
  19118. "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
  19119. "\x22\x43\x3c\x64",
  19120. .klen = 20,
  19121. .iv = zeroed_string,
  19122. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
  19123. "\x00\x00\x00\x00\x00\x00\x00\x00",
  19124. .alen = 16,
  19125. .ptext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
  19126. "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
  19127. "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
  19128. "\x02\x00\x07\x00\x61\x62\x63\x64"
  19129. "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
  19130. "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
  19131. "\x01\x02\x02\x01",
  19132. .plen = 52,
  19133. .ctext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
  19134. "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
  19135. "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
  19136. "\x02\x00\x07\x00\x61\x62\x63\x64"
  19137. "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
  19138. "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
  19139. "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
  19140. "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
  19141. "\xe4\x09\x9a\xaa",
  19142. .clen = 68,
  19143. }, { /* nearly same as previous, but should fail */
  19144. .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
  19145. "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
  19146. "\x22\x43\x3c\x64",
  19147. .klen = 20,
  19148. .iv = zeroed_string,
  19149. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
  19150. "\x00\x00\x00\x00\x00\x00\x00\x00",
  19151. .alen = 16,
  19152. .ptext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
  19153. "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
  19154. "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
  19155. "\x02\x00\x07\x00\x61\x62\x63\x64"
  19156. "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
  19157. "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
  19158. "\x01\x02\x02\x01",
  19159. .plen = 52,
  19160. .novrfy = 1,
  19161. .ctext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
  19162. "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
  19163. "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
  19164. "\x02\x00\x07\x00\x61\x62\x63\x64"
  19165. "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
  19166. "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
  19167. "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
  19168. "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
  19169. "\x00\x00\x00\x00",
  19170. .clen = 68,
  19171. },
  19172. };
  19173. static const struct aead_testvec aes_ccm_tv_template[] = {
  19174. { /* From RFC 3610 */
  19175. .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  19176. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
  19177. .klen = 16,
  19178. .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
  19179. "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
  19180. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
  19181. .alen = 8,
  19182. .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  19183. "\x10\x11\x12\x13\x14\x15\x16\x17"
  19184. "\x18\x19\x1a\x1b\x1c\x1d\x1e",
  19185. .plen = 23,
  19186. .ctext = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
  19187. "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
  19188. "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
  19189. "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
  19190. .clen = 31,
  19191. }, {
  19192. .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  19193. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
  19194. .klen = 16,
  19195. .iv = "\x01\x00\x00\x00\x07\x06\x05\x04"
  19196. "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
  19197. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  19198. "\x08\x09\x0a\x0b",
  19199. .alen = 12,
  19200. .ptext = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
  19201. "\x14\x15\x16\x17\x18\x19\x1a\x1b"
  19202. "\x1c\x1d\x1e\x1f",
  19203. .plen = 20,
  19204. .ctext = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
  19205. "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
  19206. "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
  19207. "\x7d\x9c\x2d\x93",
  19208. .clen = 28,
  19209. }, {
  19210. .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  19211. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
  19212. .klen = 16,
  19213. .iv = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
  19214. "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
  19215. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
  19216. .alen = 8,
  19217. .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  19218. "\x10\x11\x12\x13\x14\x15\x16\x17"
  19219. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  19220. "\x20",
  19221. .plen = 25,
  19222. .ctext = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
  19223. "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
  19224. "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
  19225. "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
  19226. "\x7e\x5f\x4e",
  19227. .clen = 35,
  19228. }, {
  19229. .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  19230. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
  19231. .klen = 16,
  19232. .iv = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
  19233. "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
  19234. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  19235. "\x08\x09\x0a\x0b",
  19236. .alen = 12,
  19237. .ptext = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
  19238. "\x14\x15\x16\x17\x18\x19\x1a\x1b"
  19239. "\x1c\x1d\x1e",
  19240. .plen = 19,
  19241. .ctext = "\x07\x34\x25\x94\x15\x77\x85\x15"
  19242. "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
  19243. "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
  19244. "\x4d\x99\x99\x88\xdd",
  19245. .clen = 29,
  19246. }, {
  19247. .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
  19248. "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
  19249. .klen = 16,
  19250. .iv = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
  19251. "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
  19252. .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
  19253. .alen = 8,
  19254. .ptext = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
  19255. "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
  19256. "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
  19257. .plen = 24,
  19258. .ctext = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
  19259. "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
  19260. "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
  19261. "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
  19262. .clen = 32,
  19263. }, {
  19264. .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
  19265. "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
  19266. .klen = 16,
  19267. .iv = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
  19268. "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
  19269. .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
  19270. "\x20\xea\x60\xc0",
  19271. .alen = 12,
  19272. .ptext = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
  19273. "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
  19274. "\x3a\x80\x3b\xa8\x7f",
  19275. .plen = 21,
  19276. .ctext = "\x00\x97\x69\xec\xab\xdf\x48\x62"
  19277. "\x55\x94\xc5\x92\x51\xe6\x03\x57"
  19278. "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
  19279. "\x5a\xe0\x70\x45\x51",
  19280. .clen = 29,
  19281. }, {
  19282. .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
  19283. "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
  19284. .klen = 16,
  19285. .iv = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
  19286. "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
  19287. .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
  19288. .alen = 8,
  19289. .ptext = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
  19290. "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
  19291. "\x98\x09\xd6\x7d\xbe\xdd\x18",
  19292. .plen = 23,
  19293. .ctext = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
  19294. "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
  19295. "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
  19296. "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
  19297. "\xba",
  19298. .clen = 33,
  19299. }, {
  19300. /* This is taken from FIPS CAVS. */
  19301. .key = "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
  19302. "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
  19303. .klen = 16,
  19304. .iv = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
  19305. .alen = 0,
  19306. .ptext = "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
  19307. "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
  19308. "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
  19309. "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
  19310. .plen = 32,
  19311. .ctext = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
  19312. "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
  19313. "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
  19314. "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
  19315. "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
  19316. "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
  19317. .clen = 48,
  19318. }, {
  19319. .key = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
  19320. "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
  19321. .klen = 16,
  19322. .iv = "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
  19323. "\x30\x60\x15\x56\x00\x00\x00\x00",
  19324. .assoc = "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
  19325. "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
  19326. "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
  19327. "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
  19328. .alen = 32,
  19329. .ptext = "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
  19330. "\xa9\x28\x63\xba\x12\xa3\x14\x85"
  19331. "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
  19332. "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
  19333. .plen = 32,
  19334. .ctext = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
  19335. "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
  19336. "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
  19337. "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
  19338. "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
  19339. "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
  19340. .clen = 48,
  19341. }, {
  19342. .key = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
  19343. "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
  19344. "\x53\x14\x73\x66\x8d\x88\xf6\x80",
  19345. .klen = 24,
  19346. .iv = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
  19347. "\x50\x20\xda\xe2\x00\x00\x00\x00",
  19348. .assoc = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
  19349. "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
  19350. "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
  19351. "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
  19352. .alen = 32,
  19353. .ctext = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
  19354. "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
  19355. .clen = 16,
  19356. }, {
  19357. .key = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
  19358. "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
  19359. "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
  19360. .klen = 24,
  19361. .iv = "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
  19362. "\xef\x09\x2e\x94\x00\x00\x00\x00",
  19363. .assoc = "\x02\x65\x78\x3c\xe9\x21\x30\x91"
  19364. "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
  19365. "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
  19366. "\xe3\x00\x73\x69\x84\x69\x87\x79",
  19367. .alen = 32,
  19368. .ptext = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
  19369. "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
  19370. "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
  19371. "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
  19372. .plen = 32,
  19373. .ctext = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
  19374. "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
  19375. "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
  19376. "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
  19377. "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
  19378. "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
  19379. .clen = 48,
  19380. }, {
  19381. .key = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
  19382. "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
  19383. "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
  19384. "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
  19385. .klen = 32,
  19386. .iv = "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
  19387. "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
  19388. .assoc = "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
  19389. "\x78\x2b\x94\x02\x29\x0f\x42\x27"
  19390. "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
  19391. "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
  19392. .alen = 32,
  19393. .ptext = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
  19394. "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
  19395. "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
  19396. "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
  19397. .plen = 32,
  19398. .ctext = "\x19\xb8\x61\x33\x45\x2b\x43\x96"
  19399. "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
  19400. "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
  19401. "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
  19402. "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
  19403. .clen = 40,
  19404. }, {
  19405. .key = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
  19406. "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
  19407. "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
  19408. "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
  19409. .klen = 32,
  19410. .iv = "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
  19411. "\x43\xf6\x1e\x50\0\0\0\0",
  19412. .assoc = "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
  19413. "\x13\x02\x01\x0c\x83\x4c\x96\x35"
  19414. "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
  19415. "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
  19416. .alen = 32,
  19417. .ptext = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
  19418. "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
  19419. "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
  19420. "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
  19421. .plen = 32,
  19422. .ctext = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
  19423. "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
  19424. "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
  19425. "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
  19426. "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
  19427. "\x7b\x72\x8a\xf7",
  19428. .clen = 44,
  19429. }, {
  19430. .key = "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
  19431. "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
  19432. "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
  19433. "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
  19434. .klen = 32,
  19435. .iv = "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
  19436. "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
  19437. .assoc = "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
  19438. "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
  19439. "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
  19440. "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
  19441. .alen = 32,
  19442. .ptext = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
  19443. "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
  19444. "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
  19445. "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
  19446. .plen = 32,
  19447. .ctext = "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
  19448. "\xef\xbb\x80\x21\x04\x6c\x58\x09"
  19449. "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
  19450. "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
  19451. "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
  19452. "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
  19453. .clen = 48,
  19454. }, {
  19455. /* This is taken from FIPS CAVS. */
  19456. .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
  19457. "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
  19458. .klen = 16,
  19459. .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
  19460. "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
  19461. .alen = 0,
  19462. .ptext = "\x00",
  19463. .plen = 0,
  19464. .ctext = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
  19465. .clen = 8,
  19466. .novrfy = 1,
  19467. }, {
  19468. .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
  19469. "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
  19470. .klen = 16,
  19471. .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81"
  19472. "\x7f\x88\x94\x68\x00\x00\x00\x00",
  19473. .alen = 0,
  19474. .ptext = "\x00",
  19475. .plen = 0,
  19476. .ctext = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
  19477. .clen = 8,
  19478. }, {
  19479. .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
  19480. "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
  19481. .klen = 16,
  19482. .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
  19483. "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
  19484. .assoc = "\xf3\x94\x87\x78\x35\x82\x81\x7f"
  19485. "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
  19486. "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
  19487. "\xd8\x94\x99\x91\x81\x54\x62\x57",
  19488. .alen = 32,
  19489. .ptext = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
  19490. "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
  19491. "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
  19492. "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
  19493. .plen = 32,
  19494. .ctext = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
  19495. "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
  19496. "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
  19497. "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
  19498. "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
  19499. "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
  19500. .clen = 48,
  19501. .novrfy = 1,
  19502. }, {
  19503. .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
  19504. "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
  19505. .klen = 16,
  19506. .iv = "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
  19507. "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
  19508. .assoc = "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
  19509. "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
  19510. "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
  19511. "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
  19512. .alen = 32,
  19513. .ptext = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
  19514. "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
  19515. "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
  19516. "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
  19517. .plen = 32,
  19518. .ctext = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
  19519. "\xad\x83\x52\x6d\x71\x03\x25\x1c"
  19520. "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
  19521. "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
  19522. "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
  19523. "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
  19524. .clen = 48,
  19525. }, {
  19526. .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
  19527. "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
  19528. "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
  19529. .klen = 24,
  19530. .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
  19531. "\x57\xba\xfd\x9e\x00\x00\x00\x00",
  19532. .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
  19533. "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
  19534. "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
  19535. "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
  19536. .alen = 32,
  19537. .ptext = "\x00",
  19538. .plen = 0,
  19539. .ctext = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
  19540. .clen = 8,
  19541. }, {
  19542. .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
  19543. "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
  19544. "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
  19545. .klen = 24,
  19546. .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
  19547. "\x57\xba\xfd\x9e\x00\x00\x00\x00",
  19548. .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
  19549. "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
  19550. "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
  19551. "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
  19552. .alen = 32,
  19553. .ptext = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
  19554. "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
  19555. "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
  19556. "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
  19557. .plen = 32,
  19558. .ctext = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
  19559. "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
  19560. "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
  19561. "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
  19562. "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
  19563. .clen = 40,
  19564. }, {
  19565. .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
  19566. "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
  19567. "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
  19568. .klen = 24,
  19569. .iv = "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
  19570. "\xad\x71\xaa\x1f\x00\x00\x00\x00",
  19571. .assoc = "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
  19572. "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
  19573. "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
  19574. "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
  19575. .alen = 32,
  19576. .ptext = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
  19577. "\x99\x2a\xa8\xca\x04\x25\x45\x90"
  19578. "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
  19579. "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
  19580. .plen = 32,
  19581. .ctext = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
  19582. "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
  19583. "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
  19584. "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
  19585. "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
  19586. "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
  19587. .clen = 48,
  19588. .novrfy = 1,
  19589. }, {
  19590. .key = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
  19591. "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
  19592. "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
  19593. "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
  19594. .klen = 32,
  19595. .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
  19596. "\x57\xba\xfd\x9e\x00\x00\x00\x00",
  19597. .alen = 0,
  19598. .ptext = "\x00",
  19599. .plen = 0,
  19600. .ctext = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
  19601. .clen = 8,
  19602. }, {
  19603. .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
  19604. "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
  19605. "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
  19606. "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
  19607. .klen = 32,
  19608. .iv = "\x03\x85\x34\x66\x42\xc8\x92\x0f"
  19609. "\x36\x58\xe0\x6b\x00\x00\x00\x00",
  19610. .alen = 0,
  19611. .ptext = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
  19612. "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
  19613. "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
  19614. "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
  19615. .plen = 32,
  19616. .ctext = "\x48\x01\x5e\x02\x24\x04\x66\x47"
  19617. "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
  19618. "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
  19619. "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
  19620. "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
  19621. "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
  19622. .clen = 48,
  19623. .novrfy = 1,
  19624. }, {
  19625. .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
  19626. "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
  19627. "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
  19628. "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
  19629. .klen = 32,
  19630. .iv = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
  19631. "\x44\x89\x40\x7b\x00\x00\x00\x00",
  19632. .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
  19633. "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
  19634. "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
  19635. "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
  19636. .alen = 32,
  19637. .ptext = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
  19638. "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
  19639. "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
  19640. "\x04\x49\x3b\x19\x93\x57\x25\x5d",
  19641. .plen = 32,
  19642. .ctext = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
  19643. "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
  19644. "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
  19645. "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
  19646. "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
  19647. "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
  19648. .clen = 48,
  19649. },
  19650. };
  19651. /*
  19652. * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
  19653. * use a 13-byte nonce, we only support an 11-byte nonce. Worse,
  19654. * they use AD lengths which are not valid ESP header lengths.
  19655. *
  19656. * These vectors are copied/generated from the ones for rfc4106 with
  19657. * the key truncated by one byte..
  19658. */
  19659. static const struct aead_testvec aes_ccm_rfc4309_tv_template[] = {
  19660. { /* Generated using Crypto++ */
  19661. .key = zeroed_string,
  19662. .klen = 19,
  19663. .iv = zeroed_string,
  19664. .ptext = zeroed_string,
  19665. .plen = 16,
  19666. .assoc = zeroed_string,
  19667. .alen = 16,
  19668. .ctext = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
  19669. "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
  19670. "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
  19671. "\x27\x50\x01\xAC\x03\x33\x39\xFB",
  19672. .clen = 32,
  19673. },{
  19674. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  19675. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  19676. "\x00\x00\x00",
  19677. .klen = 19,
  19678. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  19679. .ptext = zeroed_string,
  19680. .plen = 16,
  19681. .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
  19682. "\x00\x00\x00\x00\x00\x00\x00\x01",
  19683. .alen = 16,
  19684. .ctext = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
  19685. "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
  19686. "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
  19687. "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
  19688. .clen = 32,
  19689. }, {
  19690. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  19691. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  19692. "\x00\x00\x00",
  19693. .klen = 19,
  19694. .iv = zeroed_string,
  19695. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  19696. "\x01\x01\x01\x01\x01\x01\x01\x01",
  19697. .plen = 16,
  19698. .assoc = zeroed_string,
  19699. .alen = 16,
  19700. .ctext = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
  19701. "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
  19702. "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
  19703. "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
  19704. .clen = 32,
  19705. }, {
  19706. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  19707. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  19708. "\x00\x00\x00",
  19709. .klen = 19,
  19710. .iv = zeroed_string,
  19711. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  19712. "\x01\x01\x01\x01\x01\x01\x01\x01",
  19713. .plen = 16,
  19714. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  19715. "\x00\x00\x00\x00\x00\x00\x00\x00",
  19716. .alen = 16,
  19717. .ctext = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
  19718. "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
  19719. "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
  19720. "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
  19721. .clen = 32,
  19722. }, {
  19723. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  19724. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  19725. "\x00\x00\x00",
  19726. .klen = 19,
  19727. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  19728. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  19729. "\x01\x01\x01\x01\x01\x01\x01\x01",
  19730. .plen = 16,
  19731. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  19732. "\x00\x00\x00\x00\x00\x00\x00\x01",
  19733. .alen = 16,
  19734. .ctext = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
  19735. "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
  19736. "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
  19737. "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
  19738. .clen = 32,
  19739. }, {
  19740. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  19741. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  19742. "\x00\x00\x00",
  19743. .klen = 19,
  19744. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  19745. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  19746. "\x01\x01\x01\x01\x01\x01\x01\x01"
  19747. "\x01\x01\x01\x01\x01\x01\x01\x01"
  19748. "\x01\x01\x01\x01\x01\x01\x01\x01"
  19749. "\x01\x01\x01\x01\x01\x01\x01\x01"
  19750. "\x01\x01\x01\x01\x01\x01\x01\x01"
  19751. "\x01\x01\x01\x01\x01\x01\x01\x01"
  19752. "\x01\x01\x01\x01\x01\x01\x01\x01",
  19753. .plen = 64,
  19754. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  19755. "\x00\x00\x00\x00\x00\x00\x00\x01",
  19756. .alen = 16,
  19757. .ctext = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
  19758. "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
  19759. "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
  19760. "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
  19761. "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
  19762. "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
  19763. "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
  19764. "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
  19765. "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
  19766. "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
  19767. .clen = 80,
  19768. }, {
  19769. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  19770. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  19771. "\x00\x00\x00",
  19772. .klen = 19,
  19773. .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
  19774. .ptext = "\xff\xff\xff\xff\xff\xff\xff\xff"
  19775. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19776. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19777. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19778. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19779. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19780. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19781. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19782. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19783. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19784. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19785. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19786. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19787. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19788. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19789. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19790. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19791. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19792. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19793. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19794. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19795. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19796. "\xff\xff\xff\xff\xff\xff\xff\xff"
  19797. "\xff\xff\xff\xff\xff\xff\xff\xff",
  19798. .plen = 192,
  19799. .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  19800. "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
  19801. "\x89\xab\xcd\xef",
  19802. .alen = 20,
  19803. .ctext = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
  19804. "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
  19805. "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
  19806. "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
  19807. "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
  19808. "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
  19809. "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
  19810. "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
  19811. "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
  19812. "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
  19813. "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
  19814. "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
  19815. "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
  19816. "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
  19817. "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
  19818. "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
  19819. "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
  19820. "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
  19821. "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
  19822. "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
  19823. "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
  19824. "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
  19825. "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
  19826. "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
  19827. "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
  19828. "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
  19829. .clen = 208,
  19830. }, { /* From draft-mcgrew-gcm-test-01 */
  19831. .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
  19832. "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
  19833. "\x2E\x44\x3B",
  19834. .klen = 19,
  19835. .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
  19836. .ptext = "\x45\x00\x00\x48\x69\x9A\x00\x00"
  19837. "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
  19838. "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
  19839. "\x38\xD3\x01\x00\x00\x01\x00\x00"
  19840. "\x00\x00\x00\x00\x04\x5F\x73\x69"
  19841. "\x70\x04\x5F\x75\x64\x70\x03\x73"
  19842. "\x69\x70\x09\x63\x79\x62\x65\x72"
  19843. "\x63\x69\x74\x79\x02\x64\x6B\x00"
  19844. "\x00\x21\x00\x01\x01\x02\x02\x01",
  19845. .plen = 72,
  19846. .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
  19847. "\x00\x00\x00\x00\x49\x56\xED\x7E"
  19848. "\x3B\x24\x4C\xFE",
  19849. .alen = 20,
  19850. .ctext = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
  19851. "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
  19852. "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
  19853. "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
  19854. "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
  19855. "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
  19856. "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
  19857. "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
  19858. "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
  19859. "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
  19860. "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
  19861. .clen = 88,
  19862. }, {
  19863. .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  19864. "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
  19865. "\xCA\xFE\xBA",
  19866. .klen = 19,
  19867. .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  19868. .ptext = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
  19869. "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
  19870. "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
  19871. "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
  19872. "\x00\x01\x00\x00\x00\x00\x00\x00"
  19873. "\x03\x73\x69\x70\x09\x63\x79\x62"
  19874. "\x65\x72\x63\x69\x74\x79\x02\x64"
  19875. "\x6B\x00\x00\x01\x00\x01\x00\x01",
  19876. .plen = 64,
  19877. .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
  19878. "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  19879. .alen = 16,
  19880. .ctext = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
  19881. "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
  19882. "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
  19883. "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
  19884. "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
  19885. "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
  19886. "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
  19887. "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
  19888. "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
  19889. "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
  19890. .clen = 80,
  19891. }, {
  19892. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  19893. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  19894. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  19895. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  19896. "\x11\x22\x33",
  19897. .klen = 35,
  19898. .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
  19899. .ptext = "\x45\x00\x00\x30\x69\xA6\x40\x00"
  19900. "\x80\x06\x26\x90\xC0\xA8\x01\x02"
  19901. "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
  19902. "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
  19903. "\x70\x02\x40\x00\x20\xBF\x00\x00"
  19904. "\x02\x04\x05\xB4\x01\x01\x04\x02"
  19905. "\x01\x02\x02\x01",
  19906. .plen = 52,
  19907. .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
  19908. "\x01\x02\x03\x04\x05\x06\x07\x08",
  19909. .alen = 16,
  19910. .ctext = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
  19911. "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
  19912. "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
  19913. "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
  19914. "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
  19915. "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
  19916. "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
  19917. "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
  19918. "\x5A\x48\x6A\x3E",
  19919. .clen = 68,
  19920. }, {
  19921. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  19922. "\x00\x00\x00\x00\x00\x00\x00\x00"
  19923. "\x00\x00\x00",
  19924. .klen = 19,
  19925. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  19926. .ptext = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
  19927. "\x80\x01\xCB\x7A\x40\x67\x93\x18"
  19928. "\x01\x01\x01\x01\x08\x00\x07\x5C"
  19929. "\x02\x00\x44\x00\x61\x62\x63\x64"
  19930. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  19931. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  19932. "\x75\x76\x77\x61\x62\x63\x64\x65"
  19933. "\x66\x67\x68\x69\x01\x02\x02\x01",
  19934. .plen = 64,
  19935. .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
  19936. "\x00\x00\x00\x00\x00\x00\x00\x00",
  19937. .alen = 16,
  19938. .ctext = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
  19939. "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
  19940. "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
  19941. "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
  19942. "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
  19943. "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
  19944. "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
  19945. "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
  19946. "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
  19947. "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
  19948. .clen = 80,
  19949. }, {
  19950. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  19951. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  19952. "\x57\x69\x0E",
  19953. .klen = 19,
  19954. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  19955. .ptext = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
  19956. "\x80\x01\xCB\x7C\x40\x67\x93\x18"
  19957. "\x01\x01\x01\x01\x08\x00\x08\x5C"
  19958. "\x02\x00\x43\x00\x61\x62\x63\x64"
  19959. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  19960. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  19961. "\x75\x76\x77\x61\x62\x63\x64\x65"
  19962. "\x66\x67\x68\x69\x01\x02\x02\x01",
  19963. .plen = 64,
  19964. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  19965. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  19966. "\xA2\xFC\xA1\xA3",
  19967. .alen = 20,
  19968. .ctext = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
  19969. "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
  19970. "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
  19971. "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
  19972. "\x79\x01\x58\x50\x01\x06\xE1\xE0"
  19973. "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
  19974. "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
  19975. "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
  19976. "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
  19977. "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
  19978. .clen = 80,
  19979. }, {
  19980. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  19981. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  19982. "\x57\x69\x0E",
  19983. .klen = 19,
  19984. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  19985. .ptext = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
  19986. "\x80\x01\x44\x1F\x40\x67\x93\xB6"
  19987. "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
  19988. "\x01\x02\x02\x01",
  19989. .plen = 28,
  19990. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  19991. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  19992. "\xA2\xFC\xA1\xA3",
  19993. .alen = 20,
  19994. .ctext = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
  19995. "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
  19996. "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
  19997. "\xA1\xE5\x90\x40\x05\x37\x45\x70"
  19998. "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
  19999. "\x08\xB4\x22\xE4",
  20000. .clen = 44,
  20001. }, {
  20002. .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  20003. "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
  20004. "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  20005. "\xCA\xFE\xBA",
  20006. .klen = 27,
  20007. .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  20008. .ptext = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
  20009. "\x40\x06\x78\x80\x0A\x01\x03\x8F"
  20010. "\x0A\x01\x06\x12\x80\x23\x06\xB8"
  20011. "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
  20012. "\x50\x10\x16\xD0\x75\x68\x00\x01",
  20013. .plen = 40,
  20014. .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
  20015. "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  20016. .alen = 16,
  20017. .ctext = "\x05\x22\x15\xD1\x52\x56\x85\x04"
  20018. "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
  20019. "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
  20020. "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
  20021. "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
  20022. "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
  20023. "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
  20024. .clen = 56,
  20025. }, {
  20026. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  20027. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  20028. "\xDE\xCA\xF8",
  20029. .klen = 19,
  20030. .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
  20031. .ptext = "\x45\x00\x00\x49\x33\xBA\x00\x00"
  20032. "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
  20033. "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
  20034. "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
  20035. "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
  20036. "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
  20037. "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
  20038. "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
  20039. "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
  20040. "\x23\x01\x01\x01",
  20041. .plen = 76,
  20042. .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
  20043. "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
  20044. "\xCE\xFA\xCE\x74",
  20045. .alen = 20,
  20046. .ctext = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
  20047. "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
  20048. "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
  20049. "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
  20050. "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
  20051. "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
  20052. "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
  20053. "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
  20054. "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
  20055. "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
  20056. "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
  20057. "\x12\x25\x0B\xF9",
  20058. .clen = 92,
  20059. }, {
  20060. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  20061. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  20062. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  20063. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  20064. "\x73\x61\x6C",
  20065. .klen = 35,
  20066. .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
  20067. .ptext = "\x45\x08\x00\x28\x73\x2C\x00\x00"
  20068. "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
  20069. "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
  20070. "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
  20071. "\x50\x10\x1F\x64\x6D\x54\x00\x01",
  20072. .plen = 40,
  20073. .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
  20074. "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
  20075. "\x69\x76\x65\x63",
  20076. .alen = 20,
  20077. .ctext = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
  20078. "\x2C\x64\x87\x46\x1E\x34\x10\x05"
  20079. "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
  20080. "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
  20081. "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
  20082. "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
  20083. "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
  20084. .clen = 56,
  20085. }, {
  20086. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  20087. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  20088. "\x57\x69\x0E",
  20089. .klen = 19,
  20090. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  20091. .ptext = "\x45\x00\x00\x49\x33\x3E\x00\x00"
  20092. "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
  20093. "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
  20094. "\x00\x35\xCB\x45\x80\x03\x02\x5B"
  20095. "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
  20096. "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
  20097. "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
  20098. "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
  20099. "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
  20100. "\x15\x01\x01\x01",
  20101. .plen = 76,
  20102. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  20103. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  20104. "\xA2\xFC\xA1\xA3",
  20105. .alen = 20,
  20106. .ctext = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
  20107. "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
  20108. "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
  20109. "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
  20110. "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
  20111. "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
  20112. "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
  20113. "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
  20114. "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
  20115. "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
  20116. "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
  20117. "\xCC\xF7\x46\x6F",
  20118. .clen = 92,
  20119. }, {
  20120. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  20121. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  20122. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  20123. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  20124. "\x73\x61\x6C",
  20125. .klen = 35,
  20126. .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
  20127. .ptext = "\x63\x69\x73\x63\x6F\x01\x72\x75"
  20128. "\x6C\x65\x73\x01\x74\x68\x65\x01"
  20129. "\x6E\x65\x74\x77\x65\x01\x64\x65"
  20130. "\x66\x69\x6E\x65\x01\x74\x68\x65"
  20131. "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
  20132. "\x67\x69\x65\x73\x01\x74\x68\x61"
  20133. "\x74\x77\x69\x6C\x6C\x01\x64\x65"
  20134. "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
  20135. "\x72\x72\x6F\x77\x01\x02\x02\x01",
  20136. .plen = 72,
  20137. .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
  20138. "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
  20139. "\x69\x76\x65\x63",
  20140. .alen = 20,
  20141. .ctext = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
  20142. "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
  20143. "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
  20144. "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
  20145. "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
  20146. "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
  20147. "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
  20148. "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
  20149. "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
  20150. "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
  20151. "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
  20152. .clen = 88,
  20153. }, {
  20154. .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
  20155. "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
  20156. "\xD9\x66\x42",
  20157. .klen = 19,
  20158. .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
  20159. .ptext = "\x01\x02\x02\x01",
  20160. .plen = 4,
  20161. .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
  20162. "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
  20163. .alen = 16,
  20164. .ctext = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
  20165. "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
  20166. "\xF7\x61\x24\x62",
  20167. .clen = 20,
  20168. }, {
  20169. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  20170. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  20171. "\xDE\xCA\xF8",
  20172. .klen = 19,
  20173. .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
  20174. .ptext = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
  20175. "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
  20176. "\x62\x65\x00\x01",
  20177. .plen = 20,
  20178. .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
  20179. "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
  20180. "\xCE\xFA\xCE\x74",
  20181. .alen = 20,
  20182. .ctext = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
  20183. "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
  20184. "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
  20185. "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
  20186. "\x17\x17\x65\xAD",
  20187. .clen = 36,
  20188. }, {
  20189. .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
  20190. "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
  20191. "\x61\x61\x6E\x64\x64\x6F\x69\x74"
  20192. "\x62\x65\x66\x6F\x72\x65\x69\x61"
  20193. "\x74\x75\x72",
  20194. .klen = 35,
  20195. .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
  20196. .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
  20197. "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
  20198. "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
  20199. "\x02\x00\x07\x00\x61\x62\x63\x64"
  20200. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  20201. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  20202. "\x01\x02\x02\x01",
  20203. .plen = 52,
  20204. .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
  20205. "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
  20206. "\x67\x65\x74\x6D",
  20207. .alen = 20,
  20208. .ctext = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
  20209. "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
  20210. "\x48\x59\x80\x18\x1A\x18\x1A\x04"
  20211. "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
  20212. "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
  20213. "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
  20214. "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
  20215. "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
  20216. "\x39\xDB\xC8\xDC",
  20217. .clen = 68,
  20218. }, {
  20219. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  20220. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  20221. "\x57\x69\x0E",
  20222. .klen = 19,
  20223. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  20224. .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
  20225. "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
  20226. "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
  20227. "\x02\x00\x07\x00\x61\x62\x63\x64"
  20228. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  20229. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  20230. "\x01\x02\x02\x01",
  20231. .plen = 52,
  20232. .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
  20233. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  20234. "\xA2\xFC\xA1\xA3",
  20235. .alen = 20,
  20236. .ctext = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
  20237. "\x10\x60\x54\x25\xEB\x80\x04\x93"
  20238. "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
  20239. "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
  20240. "\x79\x01\x58\x50\x01\x06\xE1\xE0"
  20241. "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
  20242. "\x44\xCC\x90\xBF\x00\x94\x94\x92"
  20243. "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
  20244. "\xF4\x95\x5D\x4F",
  20245. .clen = 68,
  20246. }, {
  20247. .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
  20248. "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
  20249. "\x22\x43\x3C",
  20250. .klen = 19,
  20251. .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
  20252. .ptext = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
  20253. "\x61\x62\x63\x64\x65\x66\x67\x68"
  20254. "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
  20255. "\x71\x72\x73\x74\x01\x02\x02\x01",
  20256. .plen = 32,
  20257. .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
  20258. "\x00\x00\x00\x07\x48\x55\xEC\x7D"
  20259. "\x3A\x23\x4B\xFD",
  20260. .alen = 20,
  20261. .ctext = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
  20262. "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
  20263. "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
  20264. "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
  20265. "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
  20266. "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
  20267. .clen = 48,
  20268. }
  20269. };
  20270. /*
  20271. * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
  20272. */
  20273. static const struct aead_testvec rfc7539_tv_template[] = {
  20274. {
  20275. .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
  20276. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  20277. "\x90\x91\x92\x93\x94\x95\x96\x97"
  20278. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
  20279. .klen = 32,
  20280. .iv = "\x07\x00\x00\x00\x40\x41\x42\x43"
  20281. "\x44\x45\x46\x47",
  20282. .assoc = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
  20283. "\xc4\xc5\xc6\xc7",
  20284. .alen = 12,
  20285. .ptext = "\x4c\x61\x64\x69\x65\x73\x20\x61"
  20286. "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
  20287. "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
  20288. "\x74\x68\x65\x20\x63\x6c\x61\x73"
  20289. "\x73\x20\x6f\x66\x20\x27\x39\x39"
  20290. "\x3a\x20\x49\x66\x20\x49\x20\x63"
  20291. "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
  20292. "\x65\x72\x20\x79\x6f\x75\x20\x6f"
  20293. "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
  20294. "\x74\x69\x70\x20\x66\x6f\x72\x20"
  20295. "\x74\x68\x65\x20\x66\x75\x74\x75"
  20296. "\x72\x65\x2c\x20\x73\x75\x6e\x73"
  20297. "\x63\x72\x65\x65\x6e\x20\x77\x6f"
  20298. "\x75\x6c\x64\x20\x62\x65\x20\x69"
  20299. "\x74\x2e",
  20300. .plen = 114,
  20301. .ctext = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
  20302. "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
  20303. "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
  20304. "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
  20305. "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
  20306. "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
  20307. "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
  20308. "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
  20309. "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
  20310. "\x98\x03\xae\xe3\x28\x09\x1b\x58"
  20311. "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
  20312. "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
  20313. "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
  20314. "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
  20315. "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
  20316. "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
  20317. "\x06\x91",
  20318. .clen = 130,
  20319. }, {
  20320. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  20321. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  20322. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  20323. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  20324. .klen = 32,
  20325. .iv = "\x00\x00\x00\x00\x01\x02\x03\x04"
  20326. "\x05\x06\x07\x08",
  20327. .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
  20328. "\x00\x00\x4e\x91",
  20329. .alen = 12,
  20330. .ptext = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
  20331. "\x2d\x44\x72\x61\x66\x74\x73\x20"
  20332. "\x61\x72\x65\x20\x64\x72\x61\x66"
  20333. "\x74\x20\x64\x6f\x63\x75\x6d\x65"
  20334. "\x6e\x74\x73\x20\x76\x61\x6c\x69"
  20335. "\x64\x20\x66\x6f\x72\x20\x61\x20"
  20336. "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
  20337. "\x6f\x66\x20\x73\x69\x78\x20\x6d"
  20338. "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
  20339. "\x64\x20\x6d\x61\x79\x20\x62\x65"
  20340. "\x20\x75\x70\x64\x61\x74\x65\x64"
  20341. "\x2c\x20\x72\x65\x70\x6c\x61\x63"
  20342. "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
  20343. "\x62\x73\x6f\x6c\x65\x74\x65\x64"
  20344. "\x20\x62\x79\x20\x6f\x74\x68\x65"
  20345. "\x72\x20\x64\x6f\x63\x75\x6d\x65"
  20346. "\x6e\x74\x73\x20\x61\x74\x20\x61"
  20347. "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
  20348. "\x20\x49\x74\x20\x69\x73\x20\x69"
  20349. "\x6e\x61\x70\x70\x72\x6f\x70\x72"
  20350. "\x69\x61\x74\x65\x20\x74\x6f\x20"
  20351. "\x75\x73\x65\x20\x49\x6e\x74\x65"
  20352. "\x72\x6e\x65\x74\x2d\x44\x72\x61"
  20353. "\x66\x74\x73\x20\x61\x73\x20\x72"
  20354. "\x65\x66\x65\x72\x65\x6e\x63\x65"
  20355. "\x20\x6d\x61\x74\x65\x72\x69\x61"
  20356. "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
  20357. "\x63\x69\x74\x65\x20\x74\x68\x65"
  20358. "\x6d\x20\x6f\x74\x68\x65\x72\x20"
  20359. "\x74\x68\x61\x6e\x20\x61\x73\x20"
  20360. "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
  20361. "\x20\x69\x6e\x20\x70\x72\x6f\x67"
  20362. "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
  20363. "\x9d",
  20364. .plen = 265,
  20365. .ctext = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
  20366. "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
  20367. "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
  20368. "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
  20369. "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
  20370. "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
  20371. "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
  20372. "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
  20373. "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
  20374. "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
  20375. "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
  20376. "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
  20377. "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
  20378. "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
  20379. "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
  20380. "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
  20381. "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
  20382. "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
  20383. "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
  20384. "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
  20385. "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
  20386. "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
  20387. "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
  20388. "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
  20389. "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
  20390. "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
  20391. "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
  20392. "\x73\xa6\x72\x76\x27\x09\x7a\x10"
  20393. "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
  20394. "\xfa\x68\xf0\xff\x77\x98\x71\x30"
  20395. "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
  20396. "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
  20397. "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
  20398. "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
  20399. "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
  20400. "\x38",
  20401. .clen = 281,
  20402. },
  20403. };
  20404. /*
  20405. * draft-irtf-cfrg-chacha20-poly1305
  20406. */
  20407. static const struct aead_testvec rfc7539esp_tv_template[] = {
  20408. {
  20409. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  20410. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  20411. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  20412. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
  20413. "\x00\x00\x00\x00",
  20414. .klen = 36,
  20415. .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
  20416. .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
  20417. "\x00\x00\x4e\x91\x01\x02\x03\x04"
  20418. "\x05\x06\x07\x08",
  20419. .alen = 20,
  20420. .ptext = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
  20421. "\x2d\x44\x72\x61\x66\x74\x73\x20"
  20422. "\x61\x72\x65\x20\x64\x72\x61\x66"
  20423. "\x74\x20\x64\x6f\x63\x75\x6d\x65"
  20424. "\x6e\x74\x73\x20\x76\x61\x6c\x69"
  20425. "\x64\x20\x66\x6f\x72\x20\x61\x20"
  20426. "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
  20427. "\x6f\x66\x20\x73\x69\x78\x20\x6d"
  20428. "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
  20429. "\x64\x20\x6d\x61\x79\x20\x62\x65"
  20430. "\x20\x75\x70\x64\x61\x74\x65\x64"
  20431. "\x2c\x20\x72\x65\x70\x6c\x61\x63"
  20432. "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
  20433. "\x62\x73\x6f\x6c\x65\x74\x65\x64"
  20434. "\x20\x62\x79\x20\x6f\x74\x68\x65"
  20435. "\x72\x20\x64\x6f\x63\x75\x6d\x65"
  20436. "\x6e\x74\x73\x20\x61\x74\x20\x61"
  20437. "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
  20438. "\x20\x49\x74\x20\x69\x73\x20\x69"
  20439. "\x6e\x61\x70\x70\x72\x6f\x70\x72"
  20440. "\x69\x61\x74\x65\x20\x74\x6f\x20"
  20441. "\x75\x73\x65\x20\x49\x6e\x74\x65"
  20442. "\x72\x6e\x65\x74\x2d\x44\x72\x61"
  20443. "\x66\x74\x73\x20\x61\x73\x20\x72"
  20444. "\x65\x66\x65\x72\x65\x6e\x63\x65"
  20445. "\x20\x6d\x61\x74\x65\x72\x69\x61"
  20446. "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
  20447. "\x63\x69\x74\x65\x20\x74\x68\x65"
  20448. "\x6d\x20\x6f\x74\x68\x65\x72\x20"
  20449. "\x74\x68\x61\x6e\x20\x61\x73\x20"
  20450. "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
  20451. "\x20\x69\x6e\x20\x70\x72\x6f\x67"
  20452. "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
  20453. "\x9d",
  20454. .plen = 265,
  20455. .ctext = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
  20456. "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
  20457. "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
  20458. "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
  20459. "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
  20460. "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
  20461. "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
  20462. "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
  20463. "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
  20464. "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
  20465. "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
  20466. "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
  20467. "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
  20468. "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
  20469. "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
  20470. "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
  20471. "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
  20472. "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
  20473. "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
  20474. "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
  20475. "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
  20476. "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
  20477. "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
  20478. "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
  20479. "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
  20480. "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
  20481. "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
  20482. "\x73\xa6\x72\x76\x27\x09\x7a\x10"
  20483. "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
  20484. "\xfa\x68\xf0\xff\x77\x98\x71\x30"
  20485. "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
  20486. "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
  20487. "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
  20488. "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
  20489. "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
  20490. "\x38",
  20491. .clen = 281,
  20492. },
  20493. };
  20494. /*
  20495. * AEGIS-128 test vectors - generated via reference implementation from
  20496. * SUPERCOP (https://bench.cr.yp.to/supercop.html):
  20497. *
  20498. * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
  20499. * (see crypto_aead/aegis128/)
  20500. */
  20501. static const struct aead_testvec aegis128_tv_template[] = {
  20502. {
  20503. .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
  20504. "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
  20505. .klen = 16,
  20506. .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
  20507. "\x40\x6d\x59\x48\xfc\x92\x61\x03",
  20508. .assoc = "",
  20509. .alen = 0,
  20510. .ptext = "",
  20511. .plen = 0,
  20512. .ctext = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
  20513. "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
  20514. .clen = 16,
  20515. }, {
  20516. .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
  20517. "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
  20518. .klen = 16,
  20519. .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
  20520. "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
  20521. .assoc = "",
  20522. .alen = 0,
  20523. .ptext = "\x79",
  20524. .plen = 1,
  20525. .ctext = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
  20526. "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
  20527. "\xcc",
  20528. .clen = 17,
  20529. }, {
  20530. .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
  20531. "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
  20532. .klen = 16,
  20533. .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
  20534. "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
  20535. .assoc = "",
  20536. .alen = 0,
  20537. .ptext = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
  20538. "\x82\x8e\x16\xb4\xed\x6d\x47",
  20539. .plen = 15,
  20540. .ctext = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
  20541. "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
  20542. "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
  20543. "\x7a\x21\x16\xb3\xe6\x67\x66",
  20544. .clen = 31,
  20545. }, {
  20546. .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
  20547. "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
  20548. .klen = 16,
  20549. .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
  20550. "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
  20551. .assoc = "",
  20552. .alen = 0,
  20553. .ptext = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
  20554. "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
  20555. .plen = 16,
  20556. .ctext = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
  20557. "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
  20558. "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
  20559. "\x51\x10\x16\x27\x70\x9b\x64\x29",
  20560. .clen = 32,
  20561. }, {
  20562. .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
  20563. "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
  20564. .klen = 16,
  20565. .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
  20566. "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
  20567. .assoc = "",
  20568. .alen = 0,
  20569. .ptext = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
  20570. "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
  20571. "\xd3",
  20572. .plen = 17,
  20573. .ctext = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
  20574. "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
  20575. "\x46\x80\xb1\x0e\x18\x30\x40\x97"
  20576. "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
  20577. "\x3b",
  20578. .clen = 33,
  20579. }, {
  20580. .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
  20581. "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
  20582. .klen = 16,
  20583. .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
  20584. "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
  20585. .assoc = "",
  20586. .alen = 0,
  20587. .ptext = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
  20588. "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
  20589. "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
  20590. "\x88\x11\x39\x12\x1c\x3a\xbb",
  20591. .plen = 31,
  20592. .ctext = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
  20593. "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
  20594. "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
  20595. "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
  20596. "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
  20597. "\x75\xc4\x53\x01\x89\x45\x59",
  20598. .clen = 47,
  20599. }, {
  20600. .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
  20601. "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
  20602. .klen = 16,
  20603. .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
  20604. "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
  20605. .assoc = "",
  20606. .alen = 0,
  20607. .ptext = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
  20608. "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
  20609. "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
  20610. "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
  20611. .plen = 32,
  20612. .ctext = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
  20613. "\x95\xf4\x58\x38\x14\x83\x27\x01"
  20614. "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
  20615. "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
  20616. "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
  20617. "\x51\x52\x77\xf2\x5e\x85\x80\x41",
  20618. .clen = 48,
  20619. }, {
  20620. .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
  20621. "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
  20622. .klen = 16,
  20623. .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
  20624. "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
  20625. .assoc = "\xd5",
  20626. .alen = 1,
  20627. .ptext = "",
  20628. .plen = 0,
  20629. .ctext = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
  20630. "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
  20631. .clen = 16,
  20632. }, {
  20633. .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
  20634. "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
  20635. .klen = 16,
  20636. .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
  20637. "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
  20638. .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
  20639. "\x68\x75\x16\xf8\xcb\x7e\xa7",
  20640. .alen = 15,
  20641. .ptext = "",
  20642. .plen = 0,
  20643. .ctext = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
  20644. "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
  20645. .clen = 16,
  20646. }, {
  20647. .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
  20648. "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
  20649. .klen = 16,
  20650. .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
  20651. "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
  20652. .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
  20653. "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
  20654. .alen = 16,
  20655. .ptext = "",
  20656. .plen = 0,
  20657. .ctext = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
  20658. "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
  20659. .clen = 16,
  20660. }, {
  20661. .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
  20662. "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
  20663. .klen = 16,
  20664. .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
  20665. "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
  20666. .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
  20667. "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
  20668. "\x07",
  20669. .alen = 17,
  20670. .ptext = "",
  20671. .plen = 0,
  20672. .ctext = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
  20673. "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
  20674. .clen = 16,
  20675. }, {
  20676. .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
  20677. "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
  20678. .klen = 16,
  20679. .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
  20680. "\xca\xcd\xff\x88\xba\x22\xbe\x47",
  20681. .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
  20682. "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
  20683. "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
  20684. "\xe0\x17\x3a\x2e\x83\x5c\x8f",
  20685. .alen = 31,
  20686. .ptext = "",
  20687. .plen = 0,
  20688. .ctext = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
  20689. "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
  20690. .clen = 16,
  20691. }, {
  20692. .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
  20693. "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
  20694. .klen = 16,
  20695. .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
  20696. "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
  20697. .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
  20698. "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
  20699. "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
  20700. "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
  20701. .alen = 32,
  20702. .ptext = "",
  20703. .plen = 0,
  20704. .ctext = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
  20705. "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
  20706. .clen = 16,
  20707. }, {
  20708. .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
  20709. "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
  20710. .klen = 16,
  20711. .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
  20712. "\xcc\x81\x63\xab\xae\x6b\x43\x54",
  20713. .assoc = "\x40",
  20714. .alen = 1,
  20715. .ptext = "\x4f",
  20716. .plen = 1,
  20717. .ctext = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
  20718. "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
  20719. "\x39",
  20720. .clen = 17,
  20721. }, {
  20722. .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
  20723. "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
  20724. .klen = 16,
  20725. .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
  20726. "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
  20727. .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
  20728. "\x6d\x92\x42\x61\xa7\x58\x37",
  20729. .alen = 15,
  20730. .ptext = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
  20731. "\x8d\xc8\x6e\x85\xa5\x21\x67",
  20732. .plen = 15,
  20733. .ctext = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
  20734. "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
  20735. "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
  20736. "\x98\xbd\x71\x7a\xef\xa4\xfa",
  20737. .clen = 31,
  20738. }, {
  20739. .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
  20740. "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
  20741. .klen = 16,
  20742. .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
  20743. "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
  20744. .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
  20745. "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
  20746. .alen = 16,
  20747. .ptext = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
  20748. "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
  20749. .plen = 16,
  20750. .ctext = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
  20751. "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
  20752. "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
  20753. "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
  20754. .clen = 32,
  20755. }, {
  20756. .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
  20757. "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
  20758. .klen = 16,
  20759. .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
  20760. "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
  20761. .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
  20762. "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
  20763. "\x05",
  20764. .alen = 17,
  20765. .ptext = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
  20766. "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
  20767. "\xd0",
  20768. .plen = 17,
  20769. .ctext = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
  20770. "\x38\x2d\x69\x90\x1c\x71\x38\x98"
  20771. "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
  20772. "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
  20773. "\x93",
  20774. .clen = 33,
  20775. }, {
  20776. .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
  20777. "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
  20778. .klen = 16,
  20779. .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
  20780. "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
  20781. .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
  20782. "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
  20783. "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
  20784. "\x68\x28\x73\x40\x9f\x96\x4a",
  20785. .alen = 31,
  20786. .ptext = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
  20787. "\x10\x57\x85\x39\x93\x8f\xaf\x70"
  20788. "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
  20789. "\x98\x34\xab\x37\x56\xae\x32",
  20790. .plen = 31,
  20791. .ctext = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
  20792. "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
  20793. "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
  20794. "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
  20795. "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
  20796. "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
  20797. .clen = 47,
  20798. }, {
  20799. .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
  20800. "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
  20801. .klen = 16,
  20802. .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
  20803. "\x50\xc4\xde\x82\x90\x21\x11\x73",
  20804. .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
  20805. "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
  20806. "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
  20807. "\x29\x56\x52\x19\x79\xf5\xe9\x37",
  20808. .alen = 32,
  20809. .ptext = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
  20810. "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
  20811. "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
  20812. "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
  20813. .plen = 32,
  20814. .ctext = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
  20815. "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
  20816. "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
  20817. "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
  20818. "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
  20819. "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
  20820. .clen = 48,
  20821. }, {
  20822. .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
  20823. "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
  20824. .klen = 16,
  20825. .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
  20826. "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
  20827. .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
  20828. "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
  20829. "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
  20830. "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
  20831. "\x9d",
  20832. .alen = 33,
  20833. .ptext = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
  20834. "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
  20835. "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
  20836. "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
  20837. "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
  20838. "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
  20839. "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
  20840. "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
  20841. "\xbd",
  20842. .plen = 65,
  20843. .ctext = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
  20844. "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
  20845. "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
  20846. "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
  20847. "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
  20848. "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
  20849. "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
  20850. "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
  20851. "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
  20852. "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
  20853. "\x3f",
  20854. .clen = 81,
  20855. }, {
  20856. .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
  20857. "\x32\x42\x15\x80\x85\xa1\x65\xfe",
  20858. .klen = 16,
  20859. .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
  20860. "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
  20861. .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
  20862. "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
  20863. "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
  20864. "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
  20865. "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
  20866. "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
  20867. "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
  20868. "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
  20869. "\x54",
  20870. .alen = 65,
  20871. .ptext = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
  20872. "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
  20873. "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
  20874. "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
  20875. "\x2f",
  20876. .plen = 33,
  20877. .ctext = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
  20878. "\x77\x09\xac\x74\xef\xd2\x56\xae"
  20879. "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
  20880. "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
  20881. "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
  20882. "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
  20883. "\x39",
  20884. .clen = 49,
  20885. }, {
  20886. .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
  20887. "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
  20888. .klen = 16,
  20889. .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
  20890. "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
  20891. .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
  20892. "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
  20893. .alen = 16,
  20894. .ptext = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
  20895. "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
  20896. .plen = 16,
  20897. .ctext = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
  20898. "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
  20899. "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
  20900. "\xde\x20\x59\x77\xc1\x74\x90",
  20901. .clen = 31,
  20902. }, {
  20903. .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
  20904. "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
  20905. .klen = 16,
  20906. .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
  20907. "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
  20908. .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
  20909. "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
  20910. .alen = 16,
  20911. .ptext = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
  20912. "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
  20913. .plen = 16,
  20914. .ctext = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
  20915. "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
  20916. "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
  20917. "\xe9\xe0\x17\x45\x70\x12",
  20918. .clen = 30,
  20919. }, {
  20920. .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
  20921. "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
  20922. .klen = 16,
  20923. .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
  20924. "\xd5\x07\x58\x59\x72\xd7\xde\x92",
  20925. .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
  20926. "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
  20927. .alen = 16,
  20928. .ptext = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
  20929. "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
  20930. .plen = 16,
  20931. .ctext = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
  20932. "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
  20933. "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
  20934. .clen = 24,
  20935. },
  20936. };
  20937. /*
  20938. * All key wrapping test vectors taken from
  20939. * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip
  20940. *
  20941. * Note: as documented in keywrap.c, the ivout for encryption is the first
  20942. * semiblock of the ciphertext from the test vector. For decryption, iv is
  20943. * the first semiblock of the ciphertext.
  20944. */
  20945. static const struct cipher_testvec aes_kw_tv_template[] = {
  20946. {
  20947. .key = "\x75\x75\xda\x3a\x93\x60\x7c\xc2"
  20948. "\xbf\xd8\xce\xc7\xaa\xdf\xd9\xa6",
  20949. .klen = 16,
  20950. .ptext = "\x42\x13\x6d\x3c\x38\x4a\x3e\xea"
  20951. "\xc9\x5a\x06\x6f\xd2\x8f\xed\x3f",
  20952. .ctext = "\xf6\x85\x94\x81\x6f\x64\xca\xa3"
  20953. "\xf5\x6f\xab\xea\x25\x48\xf5\xfb",
  20954. .len = 16,
  20955. .iv_out = "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
  20956. .generates_iv = true,
  20957. }, {
  20958. .key = "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
  20959. "\x6a\x7a\x41\xa5\x2b\x86\xc3\x71"
  20960. "\x03\x86\xf9\x32\x78\x6e\xf7\x96"
  20961. "\x76\xfa\xfb\x90\xb8\x26\x3c\x5f",
  20962. .klen = 32,
  20963. .ptext = "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
  20964. "\xa0\x2b\xa9\x42\x03\xf1\x5b\xaa",
  20965. .ctext = "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
  20966. "\x59\xf9\x9c\x8a\xcd\x29\x3d\x43",
  20967. .len = 16,
  20968. .iv_out = "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
  20969. .generates_iv = true,
  20970. },
  20971. };
  20972. /*
  20973. * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
  20974. * test vectors, taken from Appendix B.2.9 and B.2.10:
  20975. * http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
  20976. * Only AES-128 is supported at this time.
  20977. */
  20978. static const struct cprng_testvec ansi_cprng_aes_tv_template[] = {
  20979. {
  20980. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  20981. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  20982. .klen = 16,
  20983. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  20984. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
  20985. .dtlen = 16,
  20986. .v = "\x80\x00\x00\x00\x00\x00\x00\x00"
  20987. "\x00\x00\x00\x00\x00\x00\x00\x00",
  20988. .vlen = 16,
  20989. .result = "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
  20990. "\x84\x79\x66\x85\xc1\x2f\x76\x41",
  20991. .rlen = 16,
  20992. .loops = 1,
  20993. }, {
  20994. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  20995. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  20996. .klen = 16,
  20997. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  20998. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
  20999. .dtlen = 16,
  21000. .v = "\xc0\x00\x00\x00\x00\x00\x00\x00"
  21001. "\x00\x00\x00\x00\x00\x00\x00\x00",
  21002. .vlen = 16,
  21003. .result = "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
  21004. "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
  21005. .rlen = 16,
  21006. .loops = 1,
  21007. }, {
  21008. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  21009. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  21010. .klen = 16,
  21011. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  21012. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
  21013. .dtlen = 16,
  21014. .v = "\xe0\x00\x00\x00\x00\x00\x00\x00"
  21015. "\x00\x00\x00\x00\x00\x00\x00\x00",
  21016. .vlen = 16,
  21017. .result = "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
  21018. "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
  21019. .rlen = 16,
  21020. .loops = 1,
  21021. }, {
  21022. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  21023. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  21024. .klen = 16,
  21025. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  21026. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
  21027. .dtlen = 16,
  21028. .v = "\xf0\x00\x00\x00\x00\x00\x00\x00"
  21029. "\x00\x00\x00\x00\x00\x00\x00\x00",
  21030. .vlen = 16,
  21031. .result = "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
  21032. "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
  21033. .rlen = 16,
  21034. .loops = 1,
  21035. }, {
  21036. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  21037. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  21038. .klen = 16,
  21039. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  21040. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
  21041. .dtlen = 16,
  21042. .v = "\xf8\x00\x00\x00\x00\x00\x00\x00"
  21043. "\x00\x00\x00\x00\x00\x00\x00\x00",
  21044. .vlen = 16,
  21045. .result = "\x05\x25\x92\x46\x61\x79\xd2\xcb"
  21046. "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
  21047. .rlen = 16,
  21048. .loops = 1,
  21049. }, { /* Monte Carlo Test */
  21050. .key = "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
  21051. "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
  21052. .klen = 16,
  21053. .dt = "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
  21054. "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
  21055. .dtlen = 16,
  21056. .v = "\x57\x2c\x8e\x76\x87\x26\x47\x97"
  21057. "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
  21058. .vlen = 16,
  21059. .result = "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
  21060. "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
  21061. .rlen = 16,
  21062. .loops = 10000,
  21063. },
  21064. };
  21065. /*
  21066. * SP800-90A DRBG Test vectors from
  21067. * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
  21068. *
  21069. * Test vectors for DRBG with prediction resistance. All types of DRBGs
  21070. * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
  21071. * w/o personalization string, w/ and w/o additional input string).
  21072. */
  21073. static const struct drbg_testvec drbg_pr_sha256_tv_template[] = {
  21074. {
  21075. .entropy = (unsigned char *)
  21076. "\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
  21077. "\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
  21078. "\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
  21079. "\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
  21080. .entropylen = 48,
  21081. .entpra = (unsigned char *)
  21082. "\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
  21083. "\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
  21084. "\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
  21085. .entprb = (unsigned char *)
  21086. "\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
  21087. "\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
  21088. "\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
  21089. .entprlen = 32,
  21090. .expected = (unsigned char *)
  21091. "\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
  21092. "\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
  21093. "\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
  21094. "\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
  21095. "\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
  21096. "\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
  21097. "\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
  21098. "\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
  21099. "\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
  21100. "\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
  21101. "\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
  21102. .expectedlen = 128,
  21103. .addtla = NULL,
  21104. .addtlb = NULL,
  21105. .addtllen = 0,
  21106. .pers = NULL,
  21107. .perslen = 0,
  21108. }, {
  21109. .entropy = (unsigned char *)
  21110. "\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
  21111. "\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
  21112. "\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
  21113. "\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
  21114. .entropylen = 48,
  21115. .entpra = (unsigned char *)
  21116. "\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
  21117. "\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
  21118. "\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
  21119. .entprb = (unsigned char *)
  21120. "\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
  21121. "\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
  21122. "\x76\xaa\x55\x04\x8b\x0a\x72\x95",
  21123. .entprlen = 32,
  21124. .expected = (unsigned char *)
  21125. "\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
  21126. "\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
  21127. "\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
  21128. "\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
  21129. "\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
  21130. "\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
  21131. "\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
  21132. "\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
  21133. "\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
  21134. "\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
  21135. "\x50\x47\xa3\x63\x81\x16\xaf\x19",
  21136. .expectedlen = 128,
  21137. .addtla = (unsigned char *)
  21138. "\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
  21139. "\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
  21140. "\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
  21141. .addtlb = (unsigned char *)
  21142. "\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
  21143. "\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
  21144. "\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
  21145. .addtllen = 32,
  21146. .pers = NULL,
  21147. .perslen = 0,
  21148. }, {
  21149. .entropy = (unsigned char *)
  21150. "\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
  21151. "\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
  21152. "\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
  21153. "\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
  21154. .entropylen = 48,
  21155. .entpra = (unsigned char *)
  21156. "\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
  21157. "\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
  21158. "\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
  21159. .entprb = (unsigned char *)
  21160. "\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
  21161. "\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
  21162. "\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
  21163. .entprlen = 32,
  21164. .expected = (unsigned char *)
  21165. "\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
  21166. "\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
  21167. "\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
  21168. "\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
  21169. "\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
  21170. "\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
  21171. "\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
  21172. "\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
  21173. "\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
  21174. "\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
  21175. "\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
  21176. .expectedlen = 128,
  21177. .addtla = NULL,
  21178. .addtlb = NULL,
  21179. .addtllen = 0,
  21180. .pers = (unsigned char *)
  21181. "\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
  21182. "\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
  21183. "\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
  21184. .perslen = 32,
  21185. }, {
  21186. .entropy = (unsigned char *)
  21187. "\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
  21188. "\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
  21189. "\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
  21190. "\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
  21191. .entropylen = 48,
  21192. .entpra = (unsigned char *)
  21193. "\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
  21194. "\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
  21195. "\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
  21196. .entprb = (unsigned char *)
  21197. "\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
  21198. "\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
  21199. "\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
  21200. .entprlen = 32,
  21201. .expected = (unsigned char *)
  21202. "\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
  21203. "\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
  21204. "\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
  21205. "\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
  21206. "\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
  21207. "\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
  21208. "\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
  21209. "\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
  21210. "\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
  21211. "\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
  21212. "\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
  21213. .expectedlen = 128,
  21214. .addtla = (unsigned char *)
  21215. "\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
  21216. "\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
  21217. "\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
  21218. .addtlb = (unsigned char *)
  21219. "\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
  21220. "\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
  21221. "\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
  21222. .addtllen = 32,
  21223. .pers = (unsigned char *)
  21224. "\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
  21225. "\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
  21226. "\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
  21227. .perslen = 32,
  21228. },
  21229. };
  21230. static const struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
  21231. {
  21232. .entropy = (unsigned char *)
  21233. "\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
  21234. "\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
  21235. "\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
  21236. "\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
  21237. .entropylen = 48,
  21238. .entpra = (unsigned char *)
  21239. "\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
  21240. "\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
  21241. "\xe2\x9a\x29\x51\x81\x56\x9f\x54",
  21242. .entprb = (unsigned char *)
  21243. "\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
  21244. "\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
  21245. "\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
  21246. .entprlen = 32,
  21247. .expected = (unsigned char *)
  21248. "\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
  21249. "\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
  21250. "\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
  21251. "\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
  21252. "\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
  21253. "\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
  21254. "\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
  21255. "\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
  21256. "\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
  21257. "\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
  21258. "\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
  21259. .expectedlen = 128,
  21260. .addtla = NULL,
  21261. .addtlb = NULL,
  21262. .addtllen = 0,
  21263. .pers = NULL,
  21264. .perslen = 0,
  21265. }, {
  21266. .entropy = (unsigned char *)
  21267. "\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
  21268. "\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
  21269. "\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
  21270. "\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
  21271. .entropylen = 48,
  21272. .entpra = (unsigned char *)
  21273. "\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
  21274. "\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
  21275. "\x46\xd9\x26\xa2\x19\xd4\x94\x43",
  21276. .entprb = (unsigned char *)
  21277. "\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
  21278. "\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
  21279. "\x51\x78\x72\xb2\x79\xfd\x2c\xff",
  21280. .entprlen = 32,
  21281. .expected = (unsigned char *)
  21282. "\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
  21283. "\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
  21284. "\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
  21285. "\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
  21286. "\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
  21287. "\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
  21288. "\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
  21289. "\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
  21290. "\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
  21291. "\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
  21292. "\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
  21293. .expectedlen = 128,
  21294. .addtla = (unsigned char *)
  21295. "\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
  21296. "\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
  21297. "\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
  21298. .addtlb = (unsigned char *)
  21299. "\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
  21300. "\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
  21301. "\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
  21302. .addtllen = 32,
  21303. .pers = NULL,
  21304. .perslen = 0,
  21305. }, {
  21306. .entropy = (unsigned char *)
  21307. "\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
  21308. "\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
  21309. "\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
  21310. "\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
  21311. .entropylen = 48,
  21312. .entpra = (unsigned char *)
  21313. "\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
  21314. "\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
  21315. "\x20\x28\xad\xf2\x60\xd7\xcd\x45",
  21316. .entprb = (unsigned char *)
  21317. "\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
  21318. "\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
  21319. "\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
  21320. .entprlen = 32,
  21321. .expected = (unsigned char *)
  21322. "\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
  21323. "\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
  21324. "\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
  21325. "\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
  21326. "\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
  21327. "\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
  21328. "\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
  21329. "\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
  21330. "\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
  21331. "\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
  21332. "\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
  21333. .expectedlen = 128,
  21334. .addtla = NULL,
  21335. .addtlb = NULL,
  21336. .addtllen = 0,
  21337. .pers = (unsigned char *)
  21338. "\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
  21339. "\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
  21340. "\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
  21341. .perslen = 32,
  21342. }, {
  21343. .entropy = (unsigned char *)
  21344. "\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
  21345. "\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
  21346. "\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
  21347. "\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
  21348. .entropylen = 48,
  21349. .entpra = (unsigned char *)
  21350. "\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
  21351. "\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
  21352. "\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
  21353. .entprb = (unsigned char *)
  21354. "\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
  21355. "\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
  21356. "\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
  21357. .entprlen = 32,
  21358. .expected = (unsigned char *)
  21359. "\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
  21360. "\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
  21361. "\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
  21362. "\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
  21363. "\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
  21364. "\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
  21365. "\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
  21366. "\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
  21367. "\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
  21368. "\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
  21369. "\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
  21370. .expectedlen = 128,
  21371. .addtla = (unsigned char *)
  21372. "\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
  21373. "\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
  21374. "\x86\x88\x55\x28\xc1\x69\xdd\x76",
  21375. .addtlb = (unsigned char *)
  21376. "\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
  21377. "\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
  21378. "\x00\x99\x2a\xdd\x0a\x00\x50\x82",
  21379. .addtllen = 32,
  21380. .pers = (unsigned char *)
  21381. "\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
  21382. "\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
  21383. "\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
  21384. .perslen = 32,
  21385. },
  21386. };
  21387. static const struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
  21388. {
  21389. .entropy = (unsigned char *)
  21390. "\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
  21391. "\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
  21392. .entropylen = 24,
  21393. .entpra = (unsigned char *)
  21394. "\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
  21395. "\xb4\xec\x80\xb1",
  21396. .entprb = (unsigned char *)
  21397. "\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
  21398. "\x28\x07\xeb\xc2",
  21399. .entprlen = 16,
  21400. .expected = (unsigned char *)
  21401. "\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
  21402. "\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
  21403. "\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
  21404. "\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
  21405. "\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
  21406. "\x8a\xf1\x23\xa8",
  21407. .expectedlen = 64,
  21408. .addtla = NULL,
  21409. .addtlb = NULL,
  21410. .addtllen = 0,
  21411. .pers = NULL,
  21412. .perslen = 0,
  21413. }, {
  21414. .entropy = (unsigned char *)
  21415. "\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
  21416. "\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
  21417. .entropylen = 24,
  21418. .entpra = (unsigned char *)
  21419. "\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
  21420. "\x67\xd1\x08\xf8",
  21421. .entprb = (unsigned char *)
  21422. "\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
  21423. "\xd4\xba\x04\x58",
  21424. .entprlen = 16,
  21425. .expected = (unsigned char *)
  21426. "\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
  21427. "\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
  21428. "\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
  21429. "\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
  21430. "\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
  21431. "\xc1\x02\x41\x82",
  21432. .expectedlen = 64,
  21433. .addtla = (unsigned char *)
  21434. "\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
  21435. "\xeb\xb3\x01\x76",
  21436. .addtlb = (unsigned char *)
  21437. "\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
  21438. "\xd0\x7f\xcc\x43",
  21439. .addtllen = 16,
  21440. .pers = NULL,
  21441. .perslen = 0,
  21442. }, {
  21443. .entropy = (unsigned char *)
  21444. "\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
  21445. "\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
  21446. .entropylen = 24,
  21447. .entpra = (unsigned char *)
  21448. "\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
  21449. "\xc3\x0f\xe3\xb0",
  21450. .entprb = (unsigned char *)
  21451. "\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
  21452. "\xd6\x9c\x9d\xe8",
  21453. .entprlen = 16,
  21454. .expected = (unsigned char *)
  21455. "\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
  21456. "\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
  21457. "\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
  21458. "\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
  21459. "\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
  21460. "\x72\x82\x0c\xcf",
  21461. .expectedlen = 64,
  21462. .addtla = NULL,
  21463. .addtlb = NULL,
  21464. .addtllen = 0,
  21465. .pers = (unsigned char *)
  21466. "\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
  21467. "\x21\x52\xb3\xad",
  21468. .perslen = 16,
  21469. }, {
  21470. .entropy = (unsigned char *)
  21471. "\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
  21472. "\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
  21473. .entropylen = 24,
  21474. .entpra = (unsigned char *)
  21475. "\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
  21476. "\xc4\x2c\xe8\x10",
  21477. .entprb = (unsigned char *)
  21478. "\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
  21479. "\x08\xf7\xa5\x01",
  21480. .entprlen = 16,
  21481. .expected = (unsigned char *)
  21482. "\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
  21483. "\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
  21484. "\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
  21485. "\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
  21486. "\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
  21487. "\x23\xc5\x1f\x68",
  21488. .expectedlen = 64,
  21489. .addtla = (unsigned char *)
  21490. "\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
  21491. "\x23\x6d\xad\x1d",
  21492. .addtlb = (unsigned char *)
  21493. "\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
  21494. "\xbc\x59\x31\x8c",
  21495. .addtllen = 16,
  21496. .pers = (unsigned char *)
  21497. "\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
  21498. "\x37\x3c\x5c\x0b",
  21499. .perslen = 16,
  21500. },
  21501. };
  21502. /*
  21503. * SP800-90A DRBG Test vectors from
  21504. * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
  21505. *
  21506. * Test vectors for DRBG without prediction resistance. All types of DRBGs
  21507. * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
  21508. * w/o personalization string, w/ and w/o additional input string).
  21509. */
  21510. static const struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
  21511. {
  21512. .entropy = (unsigned char *)
  21513. "\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
  21514. "\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
  21515. "\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
  21516. "\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
  21517. .entropylen = 48,
  21518. .expected = (unsigned char *)
  21519. "\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
  21520. "\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
  21521. "\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
  21522. "\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
  21523. "\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
  21524. "\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
  21525. "\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
  21526. "\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
  21527. "\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
  21528. "\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
  21529. "\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
  21530. .expectedlen = 128,
  21531. .addtla = NULL,
  21532. .addtlb = NULL,
  21533. .addtllen = 0,
  21534. .pers = NULL,
  21535. .perslen = 0,
  21536. }, {
  21537. .entropy = (unsigned char *)
  21538. "\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
  21539. "\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
  21540. "\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
  21541. "\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
  21542. .entropylen = 48,
  21543. .expected = (unsigned char *)
  21544. "\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
  21545. "\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
  21546. "\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
  21547. "\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
  21548. "\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
  21549. "\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
  21550. "\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
  21551. "\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
  21552. "\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
  21553. "\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
  21554. "\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
  21555. .expectedlen = 128,
  21556. .addtla = (unsigned char *)
  21557. "\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
  21558. "\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
  21559. "\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
  21560. .addtlb = (unsigned char *)
  21561. "\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
  21562. "\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
  21563. "\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
  21564. .addtllen = 32,
  21565. .pers = NULL,
  21566. .perslen = 0,
  21567. }, {
  21568. .entropy = (unsigned char *)
  21569. "\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
  21570. "\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
  21571. "\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
  21572. "\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
  21573. .entropylen = 48,
  21574. .expected = (unsigned char *)
  21575. "\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
  21576. "\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
  21577. "\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
  21578. "\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
  21579. "\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
  21580. "\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
  21581. "\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
  21582. "\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
  21583. "\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
  21584. "\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
  21585. "\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
  21586. .expectedlen = 128,
  21587. .addtla = NULL,
  21588. .addtlb = NULL,
  21589. .addtllen = 0,
  21590. .pers = (unsigned char *)
  21591. "\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
  21592. "\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
  21593. "\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
  21594. .perslen = 32,
  21595. }, {
  21596. .entropy = (unsigned char *)
  21597. "\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
  21598. "\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
  21599. "\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
  21600. "\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
  21601. .entropylen = 48,
  21602. .expected = (unsigned char *)
  21603. "\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
  21604. "\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
  21605. "\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
  21606. "\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
  21607. "\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
  21608. "\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
  21609. "\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
  21610. "\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
  21611. "\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
  21612. "\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
  21613. "\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
  21614. .expectedlen = 128,
  21615. .addtla = (unsigned char *)
  21616. "\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
  21617. "\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
  21618. "\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
  21619. .addtlb = (unsigned char *)
  21620. "\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
  21621. "\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
  21622. "\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
  21623. .addtllen = 32,
  21624. .pers = (unsigned char *)
  21625. "\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
  21626. "\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
  21627. "\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
  21628. .perslen = 32,
  21629. },
  21630. };
  21631. static const struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
  21632. {
  21633. .entropy = (unsigned char *)
  21634. "\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
  21635. "\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
  21636. "\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
  21637. "\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
  21638. .entropylen = 48,
  21639. .expected = (unsigned char *)
  21640. "\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
  21641. "\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
  21642. "\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
  21643. "\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
  21644. "\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
  21645. "\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
  21646. "\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
  21647. "\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
  21648. "\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
  21649. "\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
  21650. "\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
  21651. .expectedlen = 128,
  21652. .addtla = NULL,
  21653. .addtlb = NULL,
  21654. .addtllen = 0,
  21655. .pers = NULL,
  21656. .perslen = 0,
  21657. }, {
  21658. .entropy = (unsigned char *)
  21659. "\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
  21660. "\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
  21661. "\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
  21662. "\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
  21663. .entropylen = 48,
  21664. .expected = (unsigned char *)
  21665. "\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
  21666. "\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
  21667. "\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
  21668. "\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
  21669. "\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
  21670. "\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
  21671. "\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
  21672. "\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
  21673. "\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
  21674. "\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
  21675. "\x50\x9a\x8c\x85\x90\x87\x03\x9c",
  21676. .expectedlen = 128,
  21677. .addtla = (unsigned char *)
  21678. "\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
  21679. "\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
  21680. "\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
  21681. .addtlb = (unsigned char *)
  21682. "\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
  21683. "\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
  21684. "\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
  21685. .addtllen = 32,
  21686. .pers = NULL,
  21687. .perslen = 0,
  21688. }, {
  21689. .entropy = (unsigned char *)
  21690. "\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
  21691. "\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
  21692. "\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
  21693. "\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
  21694. .entropylen = 48,
  21695. .expected = (unsigned char *)
  21696. "\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
  21697. "\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
  21698. "\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
  21699. "\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
  21700. "\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
  21701. "\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
  21702. "\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
  21703. "\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
  21704. "\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
  21705. "\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
  21706. "\x10\x37\x41\x03\x0c\xcc\x3a\x56",
  21707. .expectedlen = 128,
  21708. .addtla = NULL,
  21709. .addtlb = NULL,
  21710. .addtllen = 0,
  21711. .pers = (unsigned char *)
  21712. "\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
  21713. "\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
  21714. "\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
  21715. .perslen = 32,
  21716. }, {
  21717. .entropy = (unsigned char *)
  21718. "\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
  21719. "\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
  21720. "\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
  21721. "\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
  21722. .entropylen = 48,
  21723. .expected = (unsigned char *)
  21724. "\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
  21725. "\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
  21726. "\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
  21727. "\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
  21728. "\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
  21729. "\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
  21730. "\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
  21731. "\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
  21732. "\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
  21733. "\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
  21734. "\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
  21735. .expectedlen = 128,
  21736. .addtla = (unsigned char *)
  21737. "\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
  21738. "\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
  21739. "\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
  21740. .addtlb = (unsigned char *)
  21741. "\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
  21742. "\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
  21743. "\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
  21744. .addtllen = 32,
  21745. .pers = (unsigned char *)
  21746. "\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
  21747. "\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
  21748. "\x36\x60\x3b\xca\x37\xc9\xee\x29",
  21749. .perslen = 32,
  21750. },
  21751. };
  21752. static const struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
  21753. {
  21754. .entropy = (unsigned char *)
  21755. "\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
  21756. "\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
  21757. "\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
  21758. "\xac\x9b\xbb\x00",
  21759. .entropylen = 40,
  21760. .expected = (unsigned char *)
  21761. "\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
  21762. "\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
  21763. "\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
  21764. "\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
  21765. "\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
  21766. "\x9a\x9d\xf1\x0d",
  21767. .expectedlen = 64,
  21768. .addtla = NULL,
  21769. .addtlb = NULL,
  21770. .addtllen = 0,
  21771. .pers = NULL,
  21772. .perslen = 0,
  21773. },
  21774. };
  21775. static const struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
  21776. {
  21777. .entropy = (unsigned char *)
  21778. "\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
  21779. "\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
  21780. "\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
  21781. "\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
  21782. .entropylen = 48,
  21783. .expected = (unsigned char *)
  21784. "\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
  21785. "\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
  21786. "\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
  21787. "\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
  21788. "\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
  21789. "\xb4\xf0\x7e\x1d",
  21790. .expectedlen = 64,
  21791. .addtla = NULL,
  21792. .addtlb = NULL,
  21793. .addtllen = 0,
  21794. .pers = NULL,
  21795. .perslen = 0,
  21796. },
  21797. };
  21798. static const struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
  21799. {
  21800. .entropy = (unsigned char *)
  21801. "\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
  21802. "\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
  21803. .entropylen = 24,
  21804. .expected = (unsigned char *)
  21805. "\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
  21806. "\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
  21807. "\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
  21808. "\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
  21809. "\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
  21810. "\xcb\x2d\xd6\xb0",
  21811. .expectedlen = 64,
  21812. .addtla = NULL,
  21813. .addtlb = NULL,
  21814. .addtllen = 0,
  21815. .pers = NULL,
  21816. .perslen = 0,
  21817. }, {
  21818. .entropy = (unsigned char *)
  21819. "\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
  21820. "\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
  21821. .entropylen = 24,
  21822. .expected = (unsigned char *)
  21823. "\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
  21824. "\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
  21825. "\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
  21826. "\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
  21827. "\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
  21828. "\xc3\xdf\xb3\x81",
  21829. .expectedlen = 64,
  21830. .addtla = (unsigned char *)
  21831. "\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
  21832. "\x91\x4d\x81\x56",
  21833. .addtlb = (unsigned char *)
  21834. "\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
  21835. "\x4a\x55\xd1\xc6",
  21836. .addtllen = 16,
  21837. .pers = NULL,
  21838. .perslen = 0,
  21839. }, {
  21840. .entropy = (unsigned char *)
  21841. "\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
  21842. "\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
  21843. .entropylen = 24,
  21844. .expected = (unsigned char *)
  21845. "\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
  21846. "\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
  21847. "\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
  21848. "\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
  21849. "\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
  21850. "\x34\x30\x0c\x3d",
  21851. .expectedlen = 64,
  21852. .addtla = NULL,
  21853. .addtlb = NULL,
  21854. .addtllen = 0,
  21855. .pers = (unsigned char *)
  21856. "\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
  21857. "\x0b\xc6\x97\x54",
  21858. .perslen = 16,
  21859. }, {
  21860. .entropy = (unsigned char *)
  21861. "\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
  21862. "\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
  21863. .entropylen = 24,
  21864. .expected = (unsigned char *)
  21865. "\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
  21866. "\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
  21867. "\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
  21868. "\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
  21869. "\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
  21870. "\x2b\x49\x1e\x5c",
  21871. .expectedlen = 64,
  21872. .addtla = (unsigned char *)
  21873. "\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
  21874. "\x44\x85\xe7\xfe",
  21875. .addtlb = (unsigned char *)
  21876. "\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
  21877. "\x82\x16\x62\x7f",
  21878. .addtllen = 16,
  21879. .pers = (unsigned char *)
  21880. "\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
  21881. "\x8e\xcf\xe0\x02",
  21882. .perslen = 16,
  21883. },
  21884. };
  21885. /* Cast5 test vectors from RFC 2144 */
  21886. static const struct cipher_testvec cast5_tv_template[] = {
  21887. {
  21888. .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
  21889. "\x23\x45\x67\x89\x34\x56\x78\x9a",
  21890. .klen = 16,
  21891. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  21892. .ctext = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
  21893. .len = 8,
  21894. }, {
  21895. .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
  21896. "\x23\x45",
  21897. .klen = 10,
  21898. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  21899. .ctext = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
  21900. .len = 8,
  21901. }, {
  21902. .key = "\x01\x23\x45\x67\x12",
  21903. .klen = 5,
  21904. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  21905. .ctext = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
  21906. .len = 8,
  21907. }, { /* Generated from TF test vectors */
  21908. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  21909. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
  21910. .klen = 16,
  21911. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  21912. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  21913. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  21914. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  21915. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  21916. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  21917. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  21918. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  21919. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  21920. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  21921. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  21922. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  21923. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  21924. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  21925. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  21926. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  21927. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  21928. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  21929. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  21930. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  21931. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  21932. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  21933. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  21934. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  21935. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  21936. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  21937. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  21938. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  21939. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  21940. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  21941. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  21942. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  21943. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  21944. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  21945. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  21946. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  21947. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  21948. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  21949. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  21950. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  21951. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  21952. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  21953. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  21954. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  21955. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  21956. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  21957. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  21958. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  21959. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  21960. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  21961. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  21962. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  21963. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  21964. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  21965. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  21966. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  21967. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  21968. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  21969. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  21970. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  21971. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  21972. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  21973. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  21974. .ctext = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
  21975. "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
  21976. "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
  21977. "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
  21978. "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
  21979. "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
  21980. "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
  21981. "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
  21982. "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
  21983. "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
  21984. "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
  21985. "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
  21986. "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
  21987. "\xED\x34\x35\x78\x6B\x91\xC9\x32"
  21988. "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
  21989. "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
  21990. "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
  21991. "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
  21992. "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
  21993. "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
  21994. "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
  21995. "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
  21996. "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
  21997. "\x78\x75\x37\x55\xC1\xF5\x90\x40"
  21998. "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
  21999. "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
  22000. "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
  22001. "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
  22002. "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
  22003. "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
  22004. "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
  22005. "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
  22006. "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
  22007. "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
  22008. "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
  22009. "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
  22010. "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
  22011. "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
  22012. "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
  22013. "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
  22014. "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
  22015. "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
  22016. "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
  22017. "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
  22018. "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
  22019. "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
  22020. "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
  22021. "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
  22022. "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
  22023. "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
  22024. "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
  22025. "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
  22026. "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
  22027. "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
  22028. "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
  22029. "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
  22030. "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
  22031. "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
  22032. "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
  22033. "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
  22034. "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
  22035. "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
  22036. .len = 496,
  22037. },
  22038. };
  22039. static const struct cipher_testvec cast5_cbc_tv_template[] = {
  22040. { /* Generated from TF test vectors */
  22041. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  22042. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
  22043. .klen = 16,
  22044. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  22045. .iv_out = "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
  22046. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  22047. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  22048. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  22049. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  22050. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  22051. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  22052. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  22053. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  22054. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  22055. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  22056. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  22057. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  22058. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  22059. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  22060. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  22061. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  22062. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  22063. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  22064. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  22065. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  22066. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  22067. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  22068. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  22069. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  22070. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  22071. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  22072. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  22073. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  22074. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  22075. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  22076. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  22077. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  22078. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  22079. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  22080. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  22081. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  22082. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  22083. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  22084. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  22085. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  22086. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  22087. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  22088. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  22089. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  22090. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  22091. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  22092. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  22093. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  22094. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  22095. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  22096. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  22097. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  22098. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  22099. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  22100. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  22101. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  22102. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  22103. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  22104. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  22105. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  22106. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  22107. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  22108. .ctext = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
  22109. "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
  22110. "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
  22111. "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
  22112. "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
  22113. "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
  22114. "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
  22115. "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
  22116. "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
  22117. "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
  22118. "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
  22119. "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
  22120. "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
  22121. "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
  22122. "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
  22123. "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
  22124. "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
  22125. "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
  22126. "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
  22127. "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
  22128. "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
  22129. "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
  22130. "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
  22131. "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
  22132. "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
  22133. "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
  22134. "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
  22135. "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
  22136. "\x90\x12\x37\x49\x27\x98\x69\x18"
  22137. "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
  22138. "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
  22139. "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
  22140. "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
  22141. "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
  22142. "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
  22143. "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
  22144. "\x03\x55\x0E\x02\x41\x4A\x45\x06"
  22145. "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
  22146. "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
  22147. "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
  22148. "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
  22149. "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
  22150. "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
  22151. "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
  22152. "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
  22153. "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
  22154. "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
  22155. "\x11\xB4\x18\x17\x1A\x65\x92\x56"
  22156. "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
  22157. "\x1A\x01\x22\x45\x17\x62\x52\x6C"
  22158. "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
  22159. "\x32\x66\x6F\x23\x7F\x94\x36\x88"
  22160. "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
  22161. "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
  22162. "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
  22163. "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
  22164. "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
  22165. "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
  22166. "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
  22167. "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
  22168. "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
  22169. "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
  22170. .len = 496,
  22171. },
  22172. };
  22173. static const struct cipher_testvec cast5_ctr_tv_template[] = {
  22174. { /* Generated from TF test vectors */
  22175. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  22176. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
  22177. .klen = 16,
  22178. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  22179. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x62",
  22180. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  22181. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  22182. "\x3A",
  22183. .ctext = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
  22184. "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
  22185. "\x0C",
  22186. .len = 17,
  22187. }, { /* Generated from TF test vectors */
  22188. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  22189. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
  22190. .klen = 16,
  22191. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  22192. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9D",
  22193. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  22194. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  22195. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  22196. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  22197. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  22198. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  22199. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  22200. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  22201. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  22202. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  22203. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  22204. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  22205. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  22206. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  22207. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  22208. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  22209. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  22210. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  22211. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  22212. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  22213. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  22214. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  22215. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  22216. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  22217. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  22218. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  22219. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  22220. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  22221. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  22222. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  22223. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  22224. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  22225. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  22226. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  22227. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  22228. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  22229. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  22230. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  22231. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  22232. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  22233. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  22234. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  22235. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  22236. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  22237. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  22238. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  22239. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  22240. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  22241. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  22242. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  22243. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  22244. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  22245. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  22246. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  22247. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  22248. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  22249. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  22250. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  22251. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  22252. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  22253. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  22254. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  22255. .ctext = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
  22256. "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
  22257. "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
  22258. "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
  22259. "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
  22260. "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
  22261. "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
  22262. "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
  22263. "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
  22264. "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
  22265. "\x88\x18\x52\x56\x48\x58\xD1\x6B"
  22266. "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
  22267. "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
  22268. "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
  22269. "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
  22270. "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
  22271. "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
  22272. "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
  22273. "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
  22274. "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
  22275. "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
  22276. "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
  22277. "\x44\x67\x90\x20\xAC\x41\xDF\x43"
  22278. "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
  22279. "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
  22280. "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
  22281. "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
  22282. "\xAE\x59\x0F\x07\x88\x79\x53\x26"
  22283. "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
  22284. "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
  22285. "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
  22286. "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
  22287. "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
  22288. "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
  22289. "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
  22290. "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
  22291. "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
  22292. "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
  22293. "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
  22294. "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
  22295. "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
  22296. "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
  22297. "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
  22298. "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
  22299. "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
  22300. "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
  22301. "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
  22302. "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
  22303. "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
  22304. "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
  22305. "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
  22306. "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
  22307. "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
  22308. "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
  22309. "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
  22310. "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
  22311. "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
  22312. "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
  22313. "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
  22314. "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
  22315. "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
  22316. "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
  22317. .len = 496,
  22318. },
  22319. };
  22320. /*
  22321. * ARC4 test vectors from OpenSSL
  22322. */
  22323. static const struct cipher_testvec arc4_tv_template[] = {
  22324. {
  22325. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  22326. .klen = 8,
  22327. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  22328. .ctext = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
  22329. .len = 8,
  22330. }, {
  22331. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  22332. .klen = 8,
  22333. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  22334. .ctext = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
  22335. .len = 8,
  22336. }, {
  22337. .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
  22338. .klen = 8,
  22339. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  22340. .ctext = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
  22341. .len = 8,
  22342. }, {
  22343. .key = "\xef\x01\x23\x45",
  22344. .klen = 4,
  22345. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  22346. "\x00\x00\x00\x00\x00\x00\x00\x00"
  22347. "\x00\x00\x00\x00",
  22348. .ctext = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
  22349. "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
  22350. "\x36\xb6\x78\x58",
  22351. .len = 20,
  22352. }, {
  22353. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  22354. .klen = 8,
  22355. .ptext = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
  22356. "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
  22357. "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
  22358. "\x12\x34\x56\x78",
  22359. .ctext = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
  22360. "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
  22361. "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
  22362. "\x40\x01\x1e\xcf",
  22363. .len = 28,
  22364. }, {
  22365. .key = "\xef\x01\x23\x45",
  22366. .klen = 4,
  22367. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  22368. "\x00\x00",
  22369. .ctext = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
  22370. "\xbd\x61",
  22371. .len = 10,
  22372. }, {
  22373. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  22374. "\x00\x00\x00\x00\x00\x00\x00\x00",
  22375. .klen = 16,
  22376. .ptext = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
  22377. .ctext = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
  22378. .len = 8,
  22379. },
  22380. };
  22381. /*
  22382. * TEA test vectors
  22383. */
  22384. static const struct cipher_testvec tea_tv_template[] = {
  22385. {
  22386. .key = zeroed_string,
  22387. .klen = 16,
  22388. .ptext = zeroed_string,
  22389. .ctext = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
  22390. .len = 8,
  22391. }, {
  22392. .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
  22393. "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
  22394. .klen = 16,
  22395. .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
  22396. .ctext = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
  22397. .len = 8,
  22398. }, {
  22399. .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
  22400. "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
  22401. .klen = 16,
  22402. .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
  22403. "\x65\x73\x74\x5f\x76\x65\x63\x74",
  22404. .ctext = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
  22405. "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
  22406. .len = 16,
  22407. }, {
  22408. .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
  22409. "\x5d\x04\x16\x36\x15\x72\x63\x2f",
  22410. .klen = 16,
  22411. .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
  22412. "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
  22413. "\x79\x6f\x75\x21\x21\x21\x20\x72"
  22414. "\x65\x61\x6c\x6c\x79\x21\x21\x21",
  22415. .ctext = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
  22416. "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
  22417. "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
  22418. "\x07\x89\x73\xc2\x45\x92\xc6\x90",
  22419. .len = 32,
  22420. }
  22421. };
  22422. /*
  22423. * XTEA test vectors
  22424. */
  22425. static const struct cipher_testvec xtea_tv_template[] = {
  22426. {
  22427. .key = zeroed_string,
  22428. .klen = 16,
  22429. .ptext = zeroed_string,
  22430. .ctext = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
  22431. .len = 8,
  22432. }, {
  22433. .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
  22434. "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
  22435. .klen = 16,
  22436. .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
  22437. .ctext = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
  22438. .len = 8,
  22439. }, {
  22440. .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
  22441. "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
  22442. .klen = 16,
  22443. .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
  22444. "\x65\x73\x74\x5f\x76\x65\x63\x74",
  22445. .ctext = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
  22446. "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
  22447. .len = 16,
  22448. }, {
  22449. .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
  22450. "\x5d\x04\x16\x36\x15\x72\x63\x2f",
  22451. .klen = 16,
  22452. .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
  22453. "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
  22454. "\x79\x6f\x75\x21\x21\x21\x20\x72"
  22455. "\x65\x61\x6c\x6c\x79\x21\x21\x21",
  22456. .ctext = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
  22457. "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
  22458. "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
  22459. "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
  22460. .len = 32,
  22461. }
  22462. };
  22463. /*
  22464. * KHAZAD test vectors.
  22465. */
  22466. static const struct cipher_testvec khazad_tv_template[] = {
  22467. {
  22468. .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
  22469. "\x00\x00\x00\x00\x00\x00\x00\x00",
  22470. .klen = 16,
  22471. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  22472. .ctext = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
  22473. .len = 8,
  22474. }, {
  22475. .key = "\x38\x38\x38\x38\x38\x38\x38\x38"
  22476. "\x38\x38\x38\x38\x38\x38\x38\x38",
  22477. .klen = 16,
  22478. .ptext = "\x38\x38\x38\x38\x38\x38\x38\x38",
  22479. .ctext = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
  22480. .len = 8,
  22481. }, {
  22482. .key = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
  22483. "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
  22484. .klen = 16,
  22485. .ptext = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
  22486. .ctext = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
  22487. .len = 8,
  22488. }, {
  22489. .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
  22490. "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
  22491. .klen = 16,
  22492. .ptext = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
  22493. .ctext = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
  22494. .len = 8,
  22495. }, {
  22496. .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
  22497. "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
  22498. .klen = 16,
  22499. .ptext = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
  22500. "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
  22501. .ctext = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
  22502. "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
  22503. .len = 16,
  22504. },
  22505. };
  22506. /*
  22507. * Anubis test vectors.
  22508. */
  22509. static const struct cipher_testvec anubis_tv_template[] = {
  22510. {
  22511. .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  22512. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
  22513. .klen = 16,
  22514. .ptext = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  22515. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
  22516. .ctext = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
  22517. "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
  22518. .len = 16,
  22519. }, {
  22520. .key = "\x03\x03\x03\x03\x03\x03\x03\x03"
  22521. "\x03\x03\x03\x03\x03\x03\x03\x03"
  22522. "\x03\x03\x03\x03",
  22523. .klen = 20,
  22524. .ptext = "\x03\x03\x03\x03\x03\x03\x03\x03"
  22525. "\x03\x03\x03\x03\x03\x03\x03\x03",
  22526. .ctext = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
  22527. "\x87\x41\x6f\x82\x0a\x98\x64\xae",
  22528. .len = 16,
  22529. }, {
  22530. .key = "\x24\x24\x24\x24\x24\x24\x24\x24"
  22531. "\x24\x24\x24\x24\x24\x24\x24\x24"
  22532. "\x24\x24\x24\x24\x24\x24\x24\x24"
  22533. "\x24\x24\x24\x24",
  22534. .klen = 28,
  22535. .ptext = "\x24\x24\x24\x24\x24\x24\x24\x24"
  22536. "\x24\x24\x24\x24\x24\x24\x24\x24",
  22537. .ctext = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
  22538. "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
  22539. .len = 16,
  22540. }, {
  22541. .key = "\x25\x25\x25\x25\x25\x25\x25\x25"
  22542. "\x25\x25\x25\x25\x25\x25\x25\x25"
  22543. "\x25\x25\x25\x25\x25\x25\x25\x25"
  22544. "\x25\x25\x25\x25\x25\x25\x25\x25",
  22545. .klen = 32,
  22546. .ptext = "\x25\x25\x25\x25\x25\x25\x25\x25"
  22547. "\x25\x25\x25\x25\x25\x25\x25\x25",
  22548. .ctext = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
  22549. "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
  22550. .len = 16,
  22551. }, {
  22552. .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
  22553. "\x35\x35\x35\x35\x35\x35\x35\x35"
  22554. "\x35\x35\x35\x35\x35\x35\x35\x35"
  22555. "\x35\x35\x35\x35\x35\x35\x35\x35"
  22556. "\x35\x35\x35\x35\x35\x35\x35\x35",
  22557. .klen = 40,
  22558. .ptext = "\x35\x35\x35\x35\x35\x35\x35\x35"
  22559. "\x35\x35\x35\x35\x35\x35\x35\x35",
  22560. .ctext = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
  22561. "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
  22562. .len = 16,
  22563. },
  22564. };
  22565. static const struct cipher_testvec anubis_cbc_tv_template[] = {
  22566. {
  22567. .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  22568. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
  22569. .klen = 16,
  22570. .iv_out = "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
  22571. "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
  22572. .ptext = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  22573. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  22574. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  22575. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
  22576. .ctext = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
  22577. "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
  22578. "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
  22579. "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
  22580. .len = 32,
  22581. }, {
  22582. .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
  22583. "\x35\x35\x35\x35\x35\x35\x35\x35"
  22584. "\x35\x35\x35\x35\x35\x35\x35\x35"
  22585. "\x35\x35\x35\x35\x35\x35\x35\x35"
  22586. "\x35\x35\x35\x35\x35\x35\x35\x35",
  22587. .klen = 40,
  22588. .iv_out = "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
  22589. "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
  22590. .ptext = "\x35\x35\x35\x35\x35\x35\x35\x35"
  22591. "\x35\x35\x35\x35\x35\x35\x35\x35"
  22592. "\x35\x35\x35\x35\x35\x35\x35\x35"
  22593. "\x35\x35\x35\x35\x35\x35\x35\x35",
  22594. .ctext = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
  22595. "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
  22596. "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
  22597. "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
  22598. .len = 32,
  22599. },
  22600. };
  22601. /*
  22602. * XETA test vectors
  22603. */
  22604. static const struct cipher_testvec xeta_tv_template[] = {
  22605. {
  22606. .key = zeroed_string,
  22607. .klen = 16,
  22608. .ptext = zeroed_string,
  22609. .ctext = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
  22610. .len = 8,
  22611. }, {
  22612. .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
  22613. "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
  22614. .klen = 16,
  22615. .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
  22616. .ctext = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
  22617. .len = 8,
  22618. }, {
  22619. .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
  22620. "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
  22621. .klen = 16,
  22622. .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
  22623. "\x65\x73\x74\x5f\x76\x65\x63\x74",
  22624. .ctext = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
  22625. "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
  22626. .len = 16,
  22627. }, {
  22628. .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
  22629. "\x5d\x04\x16\x36\x15\x72\x63\x2f",
  22630. .klen = 16,
  22631. .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
  22632. "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
  22633. "\x79\x6f\x75\x21\x21\x21\x20\x72"
  22634. "\x65\x61\x6c\x6c\x79\x21\x21\x21",
  22635. .ctext = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
  22636. "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
  22637. "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
  22638. "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
  22639. .len = 32,
  22640. }
  22641. };
  22642. /*
  22643. * FCrypt test vectors
  22644. */
  22645. static const struct cipher_testvec fcrypt_pcbc_tv_template[] = {
  22646. { /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
  22647. .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
  22648. .klen = 8,
  22649. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  22650. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  22651. .ctext = "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
  22652. .len = 8,
  22653. }, {
  22654. .key = "\x11\x44\x77\xAA\xDD\x00\x33\x66",
  22655. .klen = 8,
  22656. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  22657. .ptext = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
  22658. .ctext = "\xD8\xED\x78\x74\x77\xEC\x06\x80",
  22659. .len = 8,
  22660. }, { /* From Arla */
  22661. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
  22662. .klen = 8,
  22663. .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  22664. .ptext = "The quick brown fox jumps over the lazy dogs.\0\0",
  22665. .ctext = "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
  22666. "\xee\xac\x98\x62\x44\x51\xe4\x84"
  22667. "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
  22668. "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
  22669. "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
  22670. "\xf8\x91\x3c\xac\x44\x22\x92\xef",
  22671. .len = 48,
  22672. }, {
  22673. .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  22674. .klen = 8,
  22675. .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
  22676. .ptext = "The quick brown fox jumps over the lazy dogs.\0\0",
  22677. .ctext = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
  22678. "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
  22679. "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
  22680. "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
  22681. "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
  22682. "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
  22683. .len = 48,
  22684. }
  22685. };
  22686. /*
  22687. * CAMELLIA test vectors.
  22688. */
  22689. static const struct cipher_testvec camellia_tv_template[] = {
  22690. {
  22691. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  22692. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  22693. .klen = 16,
  22694. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  22695. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  22696. .ctext = "\x67\x67\x31\x38\x54\x96\x69\x73"
  22697. "\x08\x57\x06\x56\x48\xea\xbe\x43",
  22698. .len = 16,
  22699. }, {
  22700. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  22701. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  22702. "\x00\x11\x22\x33\x44\x55\x66\x77",
  22703. .klen = 24,
  22704. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  22705. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  22706. .ctext = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
  22707. "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
  22708. .len = 16,
  22709. }, {
  22710. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  22711. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  22712. "\x00\x11\x22\x33\x44\x55\x66\x77"
  22713. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  22714. .klen = 32,
  22715. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  22716. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  22717. .ctext = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
  22718. "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
  22719. .len = 16,
  22720. }, { /* Generated with Crypto++ */
  22721. .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
  22722. "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
  22723. "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
  22724. "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
  22725. .klen = 32,
  22726. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  22727. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  22728. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  22729. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  22730. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  22731. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  22732. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  22733. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  22734. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  22735. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  22736. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  22737. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  22738. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  22739. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  22740. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  22741. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  22742. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  22743. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  22744. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  22745. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  22746. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  22747. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  22748. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  22749. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  22750. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  22751. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  22752. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  22753. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  22754. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  22755. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  22756. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  22757. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  22758. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  22759. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  22760. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  22761. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  22762. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  22763. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  22764. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  22765. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  22766. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  22767. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  22768. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  22769. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  22770. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  22771. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  22772. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  22773. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  22774. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  22775. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  22776. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  22777. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  22778. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  22779. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  22780. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  22781. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  22782. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  22783. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  22784. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  22785. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  22786. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  22787. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  22788. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
  22789. "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
  22790. "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
  22791. "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
  22792. "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
  22793. "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
  22794. "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
  22795. "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
  22796. "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
  22797. "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
  22798. "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
  22799. "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
  22800. "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
  22801. "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
  22802. "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
  22803. "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
  22804. "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
  22805. "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
  22806. "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
  22807. "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
  22808. "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
  22809. "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
  22810. "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
  22811. "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
  22812. "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
  22813. "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
  22814. "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
  22815. "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
  22816. "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
  22817. "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
  22818. "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
  22819. "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
  22820. "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
  22821. "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
  22822. "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
  22823. "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
  22824. "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
  22825. "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
  22826. "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
  22827. "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
  22828. "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
  22829. "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
  22830. "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
  22831. "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
  22832. "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
  22833. "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
  22834. "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
  22835. "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
  22836. "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
  22837. "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
  22838. "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
  22839. "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
  22840. "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
  22841. "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
  22842. "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
  22843. "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
  22844. "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
  22845. "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
  22846. "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
  22847. "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
  22848. "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
  22849. "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
  22850. "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
  22851. "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
  22852. .ctext = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
  22853. "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
  22854. "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
  22855. "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
  22856. "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
  22857. "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
  22858. "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
  22859. "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
  22860. "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
  22861. "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
  22862. "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
  22863. "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
  22864. "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
  22865. "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
  22866. "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
  22867. "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
  22868. "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
  22869. "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
  22870. "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
  22871. "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
  22872. "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
  22873. "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
  22874. "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
  22875. "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
  22876. "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
  22877. "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
  22878. "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
  22879. "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
  22880. "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
  22881. "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
  22882. "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
  22883. "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
  22884. "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
  22885. "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
  22886. "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
  22887. "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
  22888. "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
  22889. "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
  22890. "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
  22891. "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
  22892. "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
  22893. "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
  22894. "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
  22895. "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
  22896. "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
  22897. "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
  22898. "\x83\x06\xAB\x82\x99\x01\x16\x1A"
  22899. "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
  22900. "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
  22901. "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
  22902. "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
  22903. "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
  22904. "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
  22905. "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
  22906. "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
  22907. "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
  22908. "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
  22909. "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
  22910. "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
  22911. "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
  22912. "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
  22913. "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
  22914. "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
  22915. "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
  22916. "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
  22917. "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
  22918. "\xED\x28\x39\xE9\x63\xED\x41\x70"
  22919. "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
  22920. "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
  22921. "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
  22922. "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
  22923. "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
  22924. "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
  22925. "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
  22926. "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
  22927. "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
  22928. "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
  22929. "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
  22930. "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
  22931. "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
  22932. "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
  22933. "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
  22934. "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
  22935. "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
  22936. "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
  22937. "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
  22938. "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
  22939. "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
  22940. "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
  22941. "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
  22942. "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
  22943. "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
  22944. "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
  22945. "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
  22946. "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
  22947. "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
  22948. "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
  22949. "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
  22950. "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
  22951. "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
  22952. "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
  22953. "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
  22954. "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
  22955. "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
  22956. "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
  22957. "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
  22958. "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
  22959. "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
  22960. "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
  22961. "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
  22962. "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
  22963. "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
  22964. "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
  22965. "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
  22966. "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
  22967. "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
  22968. "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
  22969. "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
  22970. "\x31\x93\x51\x1C\x63\x97\x70\xB0"
  22971. "\x99\x78\x83\x13\xFD\xCF\x53\x81"
  22972. "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
  22973. "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
  22974. "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
  22975. "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
  22976. "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
  22977. "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
  22978. .len = 1008,
  22979. },
  22980. };
  22981. static const struct cipher_testvec camellia_cbc_tv_template[] = {
  22982. {
  22983. .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  22984. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  22985. .klen = 16,
  22986. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  22987. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  22988. .iv_out = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
  22989. "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
  22990. .ptext = "Single block msg",
  22991. .ctext = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
  22992. "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
  22993. .len = 16,
  22994. }, {
  22995. .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  22996. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  22997. .klen = 16,
  22998. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  22999. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  23000. .iv_out = "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
  23001. "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
  23002. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  23003. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  23004. "\x10\x11\x12\x13\x14\x15\x16\x17"
  23005. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  23006. .ctext = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
  23007. "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
  23008. "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
  23009. "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
  23010. .len = 32,
  23011. }, { /* Generated with Crypto++ */
  23012. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  23013. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  23014. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  23015. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  23016. .klen = 32,
  23017. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  23018. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  23019. .iv_out = "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
  23020. "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
  23021. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  23022. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  23023. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  23024. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  23025. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  23026. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  23027. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  23028. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  23029. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  23030. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  23031. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  23032. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  23033. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  23034. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  23035. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  23036. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  23037. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  23038. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  23039. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  23040. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  23041. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  23042. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  23043. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  23044. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  23045. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  23046. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  23047. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  23048. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  23049. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  23050. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  23051. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  23052. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  23053. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  23054. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  23055. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  23056. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  23057. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  23058. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  23059. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  23060. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  23061. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  23062. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  23063. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  23064. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  23065. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  23066. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  23067. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  23068. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  23069. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  23070. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  23071. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  23072. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  23073. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  23074. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  23075. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  23076. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  23077. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  23078. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  23079. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  23080. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  23081. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  23082. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  23083. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
  23084. "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
  23085. "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
  23086. "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
  23087. "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
  23088. "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
  23089. "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
  23090. "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
  23091. "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
  23092. "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
  23093. "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
  23094. "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
  23095. "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
  23096. "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
  23097. "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
  23098. "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
  23099. "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
  23100. "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
  23101. "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
  23102. "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
  23103. "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
  23104. "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
  23105. "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
  23106. "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
  23107. "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
  23108. "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
  23109. "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
  23110. "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
  23111. "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
  23112. "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
  23113. "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
  23114. "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
  23115. "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
  23116. "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
  23117. "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
  23118. "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
  23119. "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
  23120. "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
  23121. "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
  23122. "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
  23123. "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
  23124. "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
  23125. "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
  23126. "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
  23127. "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
  23128. "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
  23129. "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
  23130. "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
  23131. "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
  23132. "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
  23133. "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
  23134. "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
  23135. "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
  23136. "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
  23137. "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
  23138. "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
  23139. "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
  23140. "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
  23141. "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
  23142. "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
  23143. "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
  23144. "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
  23145. "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
  23146. "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
  23147. .ctext = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
  23148. "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
  23149. "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
  23150. "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
  23151. "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
  23152. "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
  23153. "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
  23154. "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
  23155. "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
  23156. "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
  23157. "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
  23158. "\x37\x49\x88\xA4\xEF\x91\x21\x47"
  23159. "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
  23160. "\x28\x90\x77\x46\xD8\xD2\x35\x16"
  23161. "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
  23162. "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
  23163. "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
  23164. "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
  23165. "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
  23166. "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
  23167. "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
  23168. "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
  23169. "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
  23170. "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
  23171. "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
  23172. "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
  23173. "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
  23174. "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
  23175. "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
  23176. "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
  23177. "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
  23178. "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
  23179. "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
  23180. "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
  23181. "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
  23182. "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
  23183. "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
  23184. "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
  23185. "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
  23186. "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
  23187. "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
  23188. "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
  23189. "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
  23190. "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
  23191. "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
  23192. "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
  23193. "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
  23194. "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
  23195. "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
  23196. "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
  23197. "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
  23198. "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
  23199. "\x38\xB8\x48\x36\x66\x4E\x20\x43"
  23200. "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
  23201. "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
  23202. "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
  23203. "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
  23204. "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
  23205. "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
  23206. "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
  23207. "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
  23208. "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
  23209. "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
  23210. "\x21\x41\x56\x72\x13\xE1\x86\x07"
  23211. "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
  23212. "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
  23213. "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
  23214. "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
  23215. "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
  23216. "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
  23217. "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
  23218. "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
  23219. "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
  23220. "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
  23221. "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
  23222. "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
  23223. "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
  23224. "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
  23225. "\xBE\x31\x31\x96\x8B\x40\x18\x75"
  23226. "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
  23227. "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
  23228. "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
  23229. "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
  23230. "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
  23231. "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
  23232. "\x09\xB0\x43\x96\x4A\x64\x80\x40"
  23233. "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
  23234. "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
  23235. "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
  23236. "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
  23237. "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
  23238. "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
  23239. "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
  23240. "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
  23241. "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
  23242. "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
  23243. "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
  23244. "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
  23245. "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
  23246. "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
  23247. "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
  23248. "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
  23249. "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
  23250. "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
  23251. "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
  23252. "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
  23253. "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
  23254. "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
  23255. "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
  23256. "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
  23257. "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
  23258. "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
  23259. "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
  23260. "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
  23261. "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
  23262. "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
  23263. "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
  23264. "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
  23265. "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
  23266. "\x80\xE7\x29\xDC\x23\x55\x98\x54"
  23267. "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
  23268. "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
  23269. "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
  23270. "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
  23271. "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
  23272. "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
  23273. .len = 1008,
  23274. },
  23275. };
  23276. static const struct cipher_testvec camellia_ctr_tv_template[] = {
  23277. { /* Generated with Crypto++ */
  23278. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  23279. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  23280. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  23281. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  23282. .klen = 32,
  23283. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  23284. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  23285. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  23286. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
  23287. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  23288. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  23289. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  23290. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  23291. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  23292. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  23293. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  23294. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  23295. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  23296. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  23297. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  23298. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  23299. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  23300. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  23301. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  23302. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  23303. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  23304. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  23305. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  23306. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  23307. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  23308. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  23309. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  23310. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  23311. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  23312. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  23313. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  23314. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  23315. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  23316. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  23317. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  23318. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  23319. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  23320. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  23321. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  23322. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  23323. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  23324. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  23325. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  23326. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  23327. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  23328. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  23329. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  23330. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  23331. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  23332. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  23333. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  23334. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  23335. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  23336. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  23337. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  23338. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  23339. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  23340. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  23341. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  23342. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  23343. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  23344. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  23345. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  23346. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  23347. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  23348. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  23349. .ctext = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
  23350. "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
  23351. "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
  23352. "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
  23353. "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
  23354. "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
  23355. "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
  23356. "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
  23357. "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
  23358. "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
  23359. "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
  23360. "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
  23361. "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
  23362. "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
  23363. "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
  23364. "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
  23365. "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
  23366. "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
  23367. "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
  23368. "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
  23369. "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
  23370. "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
  23371. "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
  23372. "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
  23373. "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
  23374. "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
  23375. "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
  23376. "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
  23377. "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
  23378. "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
  23379. "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
  23380. "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
  23381. "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
  23382. "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
  23383. "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
  23384. "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
  23385. "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
  23386. "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
  23387. "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
  23388. "\x79\xA2\x99\x28\x93\x1B\x00\x57"
  23389. "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
  23390. "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
  23391. "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
  23392. "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
  23393. "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
  23394. "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
  23395. "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
  23396. "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
  23397. "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
  23398. "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
  23399. "\x76\x44\x45\xF3\x24\x11\x57\x98"
  23400. "\x9A\x86\xB4\x12\x80\x28\x86\x20"
  23401. "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
  23402. "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
  23403. "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
  23404. "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
  23405. "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
  23406. "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
  23407. "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
  23408. "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
  23409. "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
  23410. "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
  23411. .len = 496,
  23412. }, { /* Generated with Crypto++ */
  23413. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  23414. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  23415. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  23416. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  23417. .klen = 32,
  23418. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  23419. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  23420. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  23421. "\xC4\x29\x8E\xF3\x35\x9A\xFF\xA4",
  23422. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  23423. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  23424. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  23425. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  23426. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  23427. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  23428. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  23429. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  23430. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  23431. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  23432. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  23433. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  23434. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  23435. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  23436. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  23437. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  23438. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  23439. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  23440. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  23441. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  23442. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  23443. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  23444. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  23445. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  23446. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  23447. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  23448. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  23449. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  23450. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  23451. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  23452. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  23453. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  23454. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  23455. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  23456. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  23457. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  23458. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  23459. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  23460. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  23461. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  23462. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  23463. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  23464. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  23465. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  23466. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  23467. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  23468. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  23469. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  23470. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  23471. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  23472. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  23473. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  23474. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  23475. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  23476. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  23477. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  23478. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  23479. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  23480. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  23481. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  23482. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  23483. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  23484. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
  23485. "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
  23486. "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
  23487. "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
  23488. "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
  23489. "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
  23490. "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
  23491. "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
  23492. "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
  23493. "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
  23494. "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
  23495. "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
  23496. "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
  23497. "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
  23498. "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
  23499. "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
  23500. "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
  23501. "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
  23502. "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
  23503. "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
  23504. "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
  23505. "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
  23506. "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
  23507. "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
  23508. "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
  23509. "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
  23510. "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
  23511. "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
  23512. "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
  23513. "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
  23514. "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
  23515. "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
  23516. "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
  23517. "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
  23518. "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
  23519. "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
  23520. "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
  23521. "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
  23522. "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
  23523. "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
  23524. "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
  23525. "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
  23526. "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
  23527. "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
  23528. "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
  23529. "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
  23530. "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
  23531. "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
  23532. "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
  23533. "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
  23534. "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
  23535. "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
  23536. "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
  23537. "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
  23538. "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
  23539. "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
  23540. "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
  23541. "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
  23542. "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
  23543. "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
  23544. "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
  23545. "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
  23546. "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
  23547. "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
  23548. "\xE4\x7B\x12",
  23549. .ctext = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
  23550. "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
  23551. "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
  23552. "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
  23553. "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
  23554. "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
  23555. "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
  23556. "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
  23557. "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
  23558. "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
  23559. "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
  23560. "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
  23561. "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
  23562. "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
  23563. "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
  23564. "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
  23565. "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
  23566. "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
  23567. "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
  23568. "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
  23569. "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
  23570. "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
  23571. "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
  23572. "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
  23573. "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
  23574. "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
  23575. "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
  23576. "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
  23577. "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
  23578. "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
  23579. "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
  23580. "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
  23581. "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
  23582. "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
  23583. "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
  23584. "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
  23585. "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
  23586. "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
  23587. "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
  23588. "\x79\xA2\x99\x28\x93\x1B\x00\x57"
  23589. "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
  23590. "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
  23591. "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
  23592. "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
  23593. "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
  23594. "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
  23595. "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
  23596. "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
  23597. "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
  23598. "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
  23599. "\x76\x44\x45\xF3\x24\x11\x57\x98"
  23600. "\x9A\x86\xB4\x12\x80\x28\x86\x20"
  23601. "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
  23602. "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
  23603. "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
  23604. "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
  23605. "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
  23606. "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
  23607. "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
  23608. "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
  23609. "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
  23610. "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
  23611. "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
  23612. "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
  23613. "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
  23614. "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
  23615. "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
  23616. "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
  23617. "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
  23618. "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
  23619. "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
  23620. "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
  23621. "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
  23622. "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
  23623. "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
  23624. "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
  23625. "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
  23626. "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
  23627. "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
  23628. "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
  23629. "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
  23630. "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
  23631. "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
  23632. "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
  23633. "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
  23634. "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
  23635. "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
  23636. "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
  23637. "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
  23638. "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
  23639. "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
  23640. "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
  23641. "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
  23642. "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
  23643. "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
  23644. "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
  23645. "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
  23646. "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
  23647. "\x00\x70\x12\x56\x56\x50\xAD\x14"
  23648. "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
  23649. "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
  23650. "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
  23651. "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
  23652. "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
  23653. "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
  23654. "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
  23655. "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
  23656. "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
  23657. "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
  23658. "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
  23659. "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
  23660. "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
  23661. "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
  23662. "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
  23663. "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
  23664. "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
  23665. "\x40\x48\x19\x73\x7C\x78\x64\x0B"
  23666. "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
  23667. "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
  23668. "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
  23669. "\x74\x28\x9D\x05\x30\x20\x62\x41"
  23670. "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
  23671. "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
  23672. "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
  23673. "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
  23674. "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
  23675. "\xF1\x6B\xD9",
  23676. .len = 1011,
  23677. }, { /* Generated with Crypto++ */
  23678. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  23679. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  23680. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  23681. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  23682. .klen = 32,
  23683. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  23684. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  23685. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
  23686. "\x00\x00\x00\x00\x00\x00\x00\x3C",
  23687. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  23688. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  23689. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  23690. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  23691. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  23692. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  23693. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  23694. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  23695. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  23696. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  23697. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  23698. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  23699. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  23700. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  23701. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  23702. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  23703. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  23704. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  23705. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  23706. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  23707. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  23708. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  23709. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  23710. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  23711. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  23712. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  23713. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  23714. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  23715. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  23716. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  23717. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  23718. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  23719. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  23720. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  23721. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  23722. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  23723. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  23724. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  23725. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  23726. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  23727. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  23728. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  23729. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  23730. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  23731. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  23732. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  23733. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  23734. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  23735. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  23736. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  23737. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  23738. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  23739. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  23740. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  23741. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  23742. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  23743. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  23744. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  23745. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  23746. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  23747. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  23748. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  23749. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
  23750. "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
  23751. "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
  23752. "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
  23753. "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
  23754. "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
  23755. "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
  23756. "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
  23757. "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
  23758. "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
  23759. "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
  23760. "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
  23761. "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
  23762. "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
  23763. "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
  23764. "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
  23765. "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
  23766. "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
  23767. "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
  23768. "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
  23769. "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
  23770. "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
  23771. "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
  23772. "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
  23773. "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
  23774. "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
  23775. "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
  23776. "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
  23777. "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
  23778. "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
  23779. "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
  23780. "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
  23781. "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
  23782. "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
  23783. "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
  23784. "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
  23785. "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
  23786. "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
  23787. "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
  23788. "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
  23789. "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
  23790. "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
  23791. "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
  23792. "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
  23793. "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
  23794. "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
  23795. "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
  23796. "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
  23797. "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
  23798. "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
  23799. "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
  23800. "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
  23801. "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
  23802. "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
  23803. "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
  23804. "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
  23805. "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
  23806. "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
  23807. "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
  23808. "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
  23809. "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
  23810. "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
  23811. "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
  23812. "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
  23813. .ctext = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
  23814. "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
  23815. "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
  23816. "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
  23817. "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
  23818. "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
  23819. "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
  23820. "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
  23821. "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
  23822. "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
  23823. "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
  23824. "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
  23825. "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
  23826. "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
  23827. "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
  23828. "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
  23829. "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
  23830. "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
  23831. "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
  23832. "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
  23833. "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
  23834. "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
  23835. "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
  23836. "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
  23837. "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
  23838. "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
  23839. "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
  23840. "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
  23841. "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
  23842. "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
  23843. "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
  23844. "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
  23845. "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
  23846. "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
  23847. "\x93\x78\x86\x05\x69\x46\xD0\xC5"
  23848. "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
  23849. "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
  23850. "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
  23851. "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
  23852. "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
  23853. "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
  23854. "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
  23855. "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
  23856. "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
  23857. "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
  23858. "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
  23859. "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
  23860. "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
  23861. "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
  23862. "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
  23863. "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
  23864. "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
  23865. "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
  23866. "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
  23867. "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
  23868. "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
  23869. "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
  23870. "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
  23871. "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
  23872. "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
  23873. "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
  23874. "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
  23875. "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
  23876. "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
  23877. "\x3F\x23\x69\x63\x56\x96\x45\xD6"
  23878. "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
  23879. "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
  23880. "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
  23881. "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
  23882. "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
  23883. "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
  23884. "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
  23885. "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
  23886. "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
  23887. "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
  23888. "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
  23889. "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
  23890. "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
  23891. "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
  23892. "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
  23893. "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
  23894. "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
  23895. "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
  23896. "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
  23897. "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
  23898. "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
  23899. "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
  23900. "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
  23901. "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
  23902. "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
  23903. "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
  23904. "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
  23905. "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
  23906. "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
  23907. "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
  23908. "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
  23909. "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
  23910. "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
  23911. "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
  23912. "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
  23913. "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
  23914. "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
  23915. "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
  23916. "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
  23917. "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
  23918. "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
  23919. "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
  23920. "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
  23921. "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
  23922. "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
  23923. "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
  23924. "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
  23925. "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
  23926. "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
  23927. "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
  23928. "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
  23929. "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
  23930. "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
  23931. "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
  23932. "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
  23933. "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
  23934. "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
  23935. "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
  23936. "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
  23937. "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
  23938. "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
  23939. .len = 1008,
  23940. },
  23941. };
  23942. static const struct cipher_testvec camellia_lrw_tv_template[] = {
  23943. /* Generated from AES-LRW test vectors */
  23944. {
  23945. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  23946. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  23947. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  23948. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  23949. .klen = 32,
  23950. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  23951. "\x00\x00\x00\x00\x00\x00\x00\x01",
  23952. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  23953. "\x38\x39\x41\x42\x43\x44\x45\x46",
  23954. .ctext = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
  23955. "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
  23956. .len = 16,
  23957. }, {
  23958. .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
  23959. "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
  23960. "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
  23961. "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
  23962. .klen = 32,
  23963. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  23964. "\x00\x00\x00\x00\x00\x00\x00\x02",
  23965. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  23966. "\x38\x39\x41\x42\x43\x44\x45\x46",
  23967. .ctext = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
  23968. "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
  23969. .len = 16,
  23970. }, {
  23971. .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
  23972. "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
  23973. "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
  23974. "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
  23975. .klen = 32,
  23976. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  23977. "\x00\x00\x00\x02\x00\x00\x00\x00",
  23978. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  23979. "\x38\x39\x41\x42\x43\x44\x45\x46",
  23980. .ctext = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
  23981. "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
  23982. .len = 16,
  23983. }, {
  23984. .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
  23985. "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
  23986. "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
  23987. "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
  23988. "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
  23989. .klen = 40,
  23990. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  23991. "\x00\x00\x00\x00\x00\x00\x00\x01",
  23992. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  23993. "\x38\x39\x41\x42\x43\x44\x45\x46",
  23994. .ctext = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
  23995. "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
  23996. .len = 16,
  23997. }, {
  23998. .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
  23999. "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
  24000. "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
  24001. "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
  24002. "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
  24003. .klen = 40,
  24004. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24005. "\x00\x00\x00\x02\x00\x00\x00\x00",
  24006. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  24007. "\x38\x39\x41\x42\x43\x44\x45\x46",
  24008. .ctext = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
  24009. "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
  24010. .len = 16,
  24011. }, {
  24012. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  24013. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  24014. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  24015. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  24016. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  24017. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  24018. .klen = 48,
  24019. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24020. "\x00\x00\x00\x00\x00\x00\x00\x01",
  24021. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  24022. "\x38\x39\x41\x42\x43\x44\x45\x46",
  24023. .ctext = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
  24024. "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
  24025. .len = 16,
  24026. }, {
  24027. .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
  24028. "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
  24029. "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
  24030. "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
  24031. "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
  24032. "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
  24033. .klen = 48,
  24034. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24035. "\x00\x00\x00\x02\x00\x00\x00\x00",
  24036. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  24037. "\x38\x39\x41\x42\x43\x44\x45\x46",
  24038. .ctext = "\x04\xab\x28\x37\x31\x7a\x26\xab"
  24039. "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
  24040. .len = 16,
  24041. }, {
  24042. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  24043. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  24044. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  24045. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  24046. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  24047. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  24048. .klen = 48,
  24049. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24050. "\x00\x00\x00\x00\x00\x00\x00\x01",
  24051. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  24052. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  24053. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  24054. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  24055. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  24056. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  24057. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  24058. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  24059. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  24060. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  24061. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  24062. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  24063. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  24064. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  24065. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  24066. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  24067. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  24068. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  24069. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  24070. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  24071. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  24072. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  24073. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  24074. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  24075. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  24076. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  24077. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  24078. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  24079. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  24080. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  24081. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  24082. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  24083. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  24084. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  24085. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  24086. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  24087. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  24088. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  24089. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  24090. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  24091. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  24092. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  24093. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  24094. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  24095. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  24096. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  24097. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  24098. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  24099. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  24100. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  24101. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  24102. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  24103. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  24104. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  24105. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  24106. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  24107. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  24108. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  24109. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  24110. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  24111. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  24112. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  24113. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  24114. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  24115. .ctext = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
  24116. "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
  24117. "\x67\x76\xac\x2c\xd2\x63\x18\x93"
  24118. "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
  24119. "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
  24120. "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
  24121. "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
  24122. "\x62\xdd\x78\x81\xea\x1d\xef\x04"
  24123. "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
  24124. "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
  24125. "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
  24126. "\x40\x41\x69\xaa\x71\xc0\x37\xec"
  24127. "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
  24128. "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
  24129. "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
  24130. "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
  24131. "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
  24132. "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
  24133. "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
  24134. "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
  24135. "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
  24136. "\x42\x08\x40\x82\x06\x1c\x2d\x55"
  24137. "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
  24138. "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
  24139. "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
  24140. "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
  24141. "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
  24142. "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
  24143. "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
  24144. "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
  24145. "\xed\x14\xa9\x57\x19\x63\x40\x04"
  24146. "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
  24147. "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
  24148. "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
  24149. "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
  24150. "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
  24151. "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
  24152. "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
  24153. "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
  24154. "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
  24155. "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
  24156. "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
  24157. "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
  24158. "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
  24159. "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
  24160. "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
  24161. "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
  24162. "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
  24163. "\x35\xa5\x83\x04\x84\x01\x99\x56"
  24164. "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
  24165. "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
  24166. "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
  24167. "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
  24168. "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
  24169. "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
  24170. "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
  24171. "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
  24172. "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
  24173. "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
  24174. "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
  24175. "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
  24176. "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
  24177. "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
  24178. "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
  24179. .len = 512,
  24180. },
  24181. };
  24182. static const struct cipher_testvec camellia_xts_tv_template[] = {
  24183. /* Generated from AES-XTS test vectors */
  24184. {
  24185. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24186. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24187. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24188. "\x00\x00\x00\x00\x00\x00\x00\x00",
  24189. .klen = 32,
  24190. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24191. "\x00\x00\x00\x00\x00\x00\x00\x00",
  24192. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24193. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24194. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24195. "\x00\x00\x00\x00\x00\x00\x00\x00",
  24196. .ctext = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
  24197. "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
  24198. "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
  24199. "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
  24200. .len = 32,
  24201. }, {
  24202. .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
  24203. "\x11\x11\x11\x11\x11\x11\x11\x11"
  24204. "\x22\x22\x22\x22\x22\x22\x22\x22"
  24205. "\x22\x22\x22\x22\x22\x22\x22\x22",
  24206. .klen = 32,
  24207. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  24208. "\x00\x00\x00\x00\x00\x00\x00\x00",
  24209. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  24210. "\x44\x44\x44\x44\x44\x44\x44\x44"
  24211. "\x44\x44\x44\x44\x44\x44\x44\x44"
  24212. "\x44\x44\x44\x44\x44\x44\x44\x44",
  24213. .ctext = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
  24214. "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
  24215. "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
  24216. "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
  24217. .len = 32,
  24218. }, {
  24219. .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
  24220. "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
  24221. "\x22\x22\x22\x22\x22\x22\x22\x22"
  24222. "\x22\x22\x22\x22\x22\x22\x22\x22",
  24223. .klen = 32,
  24224. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  24225. "\x00\x00\x00\x00\x00\x00\x00\x00",
  24226. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  24227. "\x44\x44\x44\x44\x44\x44\x44\x44"
  24228. "\x44\x44\x44\x44\x44\x44\x44\x44"
  24229. "\x44\x44\x44\x44\x44\x44\x44\x44",
  24230. .ctext = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
  24231. "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
  24232. "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
  24233. "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
  24234. .len = 32,
  24235. }, {
  24236. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  24237. "\x23\x53\x60\x28\x74\x71\x35\x26"
  24238. "\x31\x41\x59\x26\x53\x58\x97\x93"
  24239. "\x23\x84\x62\x64\x33\x83\x27\x95",
  24240. .klen = 32,
  24241. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24242. "\x00\x00\x00\x00\x00\x00\x00\x00",
  24243. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  24244. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  24245. "\x10\x11\x12\x13\x14\x15\x16\x17"
  24246. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  24247. "\x20\x21\x22\x23\x24\x25\x26\x27"
  24248. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  24249. "\x30\x31\x32\x33\x34\x35\x36\x37"
  24250. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  24251. "\x40\x41\x42\x43\x44\x45\x46\x47"
  24252. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  24253. "\x50\x51\x52\x53\x54\x55\x56\x57"
  24254. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  24255. "\x60\x61\x62\x63\x64\x65\x66\x67"
  24256. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  24257. "\x70\x71\x72\x73\x74\x75\x76\x77"
  24258. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  24259. "\x80\x81\x82\x83\x84\x85\x86\x87"
  24260. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  24261. "\x90\x91\x92\x93\x94\x95\x96\x97"
  24262. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  24263. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  24264. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  24265. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  24266. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  24267. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  24268. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  24269. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  24270. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  24271. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  24272. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  24273. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  24274. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  24275. "\x00\x01\x02\x03\x04\x05\x06\x07"
  24276. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  24277. "\x10\x11\x12\x13\x14\x15\x16\x17"
  24278. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  24279. "\x20\x21\x22\x23\x24\x25\x26\x27"
  24280. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  24281. "\x30\x31\x32\x33\x34\x35\x36\x37"
  24282. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  24283. "\x40\x41\x42\x43\x44\x45\x46\x47"
  24284. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  24285. "\x50\x51\x52\x53\x54\x55\x56\x57"
  24286. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  24287. "\x60\x61\x62\x63\x64\x65\x66\x67"
  24288. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  24289. "\x70\x71\x72\x73\x74\x75\x76\x77"
  24290. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  24291. "\x80\x81\x82\x83\x84\x85\x86\x87"
  24292. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  24293. "\x90\x91\x92\x93\x94\x95\x96\x97"
  24294. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  24295. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  24296. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  24297. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  24298. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  24299. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  24300. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  24301. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  24302. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  24303. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  24304. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  24305. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  24306. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  24307. .ctext = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
  24308. "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
  24309. "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
  24310. "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
  24311. "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
  24312. "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
  24313. "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
  24314. "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
  24315. "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
  24316. "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
  24317. "\x08\xda\x76\x00\x65\xcf\x7b\x31"
  24318. "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
  24319. "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
  24320. "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
  24321. "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
  24322. "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
  24323. "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
  24324. "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
  24325. "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
  24326. "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
  24327. "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
  24328. "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
  24329. "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
  24330. "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
  24331. "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
  24332. "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
  24333. "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
  24334. "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
  24335. "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
  24336. "\x16\x31\xb2\x47\x91\x67\xaa\x28"
  24337. "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
  24338. "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
  24339. "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
  24340. "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
  24341. "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
  24342. "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
  24343. "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
  24344. "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
  24345. "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
  24346. "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
  24347. "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
  24348. "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
  24349. "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
  24350. "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
  24351. "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
  24352. "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
  24353. "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
  24354. "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
  24355. "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
  24356. "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
  24357. "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
  24358. "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
  24359. "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
  24360. "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
  24361. "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
  24362. "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
  24363. "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
  24364. "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
  24365. "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
  24366. "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
  24367. "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
  24368. "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
  24369. "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
  24370. "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
  24371. .len = 512,
  24372. }, {
  24373. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  24374. "\x23\x53\x60\x28\x74\x71\x35\x26"
  24375. "\x62\x49\x77\x57\x24\x70\x93\x69"
  24376. "\x99\x59\x57\x49\x66\x96\x76\x27"
  24377. "\x31\x41\x59\x26\x53\x58\x97\x93"
  24378. "\x23\x84\x62\x64\x33\x83\x27\x95"
  24379. "\x02\x88\x41\x97\x16\x93\x99\x37"
  24380. "\x51\x05\x82\x09\x74\x94\x45\x92",
  24381. .klen = 64,
  24382. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  24383. "\x00\x00\x00\x00\x00\x00\x00\x00",
  24384. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  24385. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  24386. "\x10\x11\x12\x13\x14\x15\x16\x17"
  24387. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  24388. "\x20\x21\x22\x23\x24\x25\x26\x27"
  24389. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  24390. "\x30\x31\x32\x33\x34\x35\x36\x37"
  24391. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  24392. "\x40\x41\x42\x43\x44\x45\x46\x47"
  24393. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  24394. "\x50\x51\x52\x53\x54\x55\x56\x57"
  24395. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  24396. "\x60\x61\x62\x63\x64\x65\x66\x67"
  24397. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  24398. "\x70\x71\x72\x73\x74\x75\x76\x77"
  24399. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  24400. "\x80\x81\x82\x83\x84\x85\x86\x87"
  24401. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  24402. "\x90\x91\x92\x93\x94\x95\x96\x97"
  24403. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  24404. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  24405. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  24406. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  24407. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  24408. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  24409. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  24410. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  24411. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  24412. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  24413. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  24414. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  24415. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  24416. "\x00\x01\x02\x03\x04\x05\x06\x07"
  24417. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  24418. "\x10\x11\x12\x13\x14\x15\x16\x17"
  24419. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  24420. "\x20\x21\x22\x23\x24\x25\x26\x27"
  24421. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  24422. "\x30\x31\x32\x33\x34\x35\x36\x37"
  24423. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  24424. "\x40\x41\x42\x43\x44\x45\x46\x47"
  24425. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  24426. "\x50\x51\x52\x53\x54\x55\x56\x57"
  24427. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  24428. "\x60\x61\x62\x63\x64\x65\x66\x67"
  24429. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  24430. "\x70\x71\x72\x73\x74\x75\x76\x77"
  24431. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  24432. "\x80\x81\x82\x83\x84\x85\x86\x87"
  24433. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  24434. "\x90\x91\x92\x93\x94\x95\x96\x97"
  24435. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  24436. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  24437. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  24438. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  24439. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  24440. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  24441. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  24442. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  24443. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  24444. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  24445. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  24446. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  24447. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  24448. .ctext = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
  24449. "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
  24450. "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
  24451. "\xf1\x74\xac\x96\x05\x7b\x32\xca"
  24452. "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
  24453. "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
  24454. "\x97\x07\x82\xf0\x07\x12\x38\x0a"
  24455. "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
  24456. "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
  24457. "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
  24458. "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
  24459. "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
  24460. "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
  24461. "\x41\x82\x0c\x45\x39\x35\xa8\x75"
  24462. "\x03\x29\x01\x84\x8c\xab\x48\xbe"
  24463. "\x11\x56\x22\x67\xb7\x67\x1a\x09"
  24464. "\xa1\x72\x25\x41\x3c\x39\x65\x80"
  24465. "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
  24466. "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
  24467. "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
  24468. "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
  24469. "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
  24470. "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
  24471. "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
  24472. "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
  24473. "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
  24474. "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
  24475. "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
  24476. "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
  24477. "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
  24478. "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
  24479. "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
  24480. "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
  24481. "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
  24482. "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
  24483. "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
  24484. "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
  24485. "\xef\x38\x52\x18\x0e\x29\x7e\xef"
  24486. "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
  24487. "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
  24488. "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
  24489. "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
  24490. "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
  24491. "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
  24492. "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
  24493. "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
  24494. "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
  24495. "\x21\x17\xf8\x59\x15\x24\x64\x22"
  24496. "\x57\x48\x80\xd5\x3d\x92\x30\x07"
  24497. "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
  24498. "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
  24499. "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
  24500. "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
  24501. "\x6b\x84\xf3\x00\xba\x52\x05\x02"
  24502. "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
  24503. "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
  24504. "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
  24505. "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
  24506. "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
  24507. "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
  24508. "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
  24509. "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
  24510. "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
  24511. "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
  24512. .len = 512,
  24513. },
  24514. };
  24515. /*
  24516. * SEED test vectors
  24517. */
  24518. static const struct cipher_testvec seed_tv_template[] = {
  24519. {
  24520. .key = zeroed_string,
  24521. .klen = 16,
  24522. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  24523. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  24524. .ctext = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
  24525. "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
  24526. .len = 16,
  24527. }, {
  24528. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  24529. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  24530. .klen = 16,
  24531. .ptext = zeroed_string,
  24532. .ctext = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
  24533. "\x84\x48\x35\x97\xe4\x37\x0f\x43",
  24534. .len = 16,
  24535. }, {
  24536. .key = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
  24537. "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
  24538. .klen = 16,
  24539. .ptext = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
  24540. "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
  24541. .ctext = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
  24542. "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
  24543. .len = 16,
  24544. }, {
  24545. .key = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
  24546. "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
  24547. .klen = 16,
  24548. .ptext = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
  24549. "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
  24550. .ctext = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
  24551. "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
  24552. .len = 16,
  24553. }
  24554. };
  24555. static const struct cipher_testvec salsa20_stream_tv_template[] = {
  24556. /*
  24557. * Testvectors from verified.test-vectors submitted to ECRYPT.
  24558. * They are truncated to size 39, 64, 111, 129 to test a variety
  24559. * of input length.
  24560. */
  24561. { /* Set 3, vector 0 */
  24562. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  24563. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
  24564. .klen = 16,
  24565. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  24566. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24567. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24568. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24569. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24570. "\x00\x00\x00\x00\x00\x00\x00",
  24571. .ctext = "\x2D\xD5\xC3\xF7\xBA\x2B\x20\xF7"
  24572. "\x68\x02\x41\x0C\x68\x86\x88\x89"
  24573. "\x5A\xD8\xC1\xBD\x4E\xA6\xC9\xB1"
  24574. "\x40\xFB\x9B\x90\xE2\x10\x49\xBF"
  24575. "\x58\x3F\x52\x79\x70\xEB\xC1",
  24576. .len = 39,
  24577. }, { /* Set 5, vector 0 */
  24578. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24579. "\x00\x00\x00\x00\x00\x00\x00\x00",
  24580. .klen = 16,
  24581. .iv = "\x80\x00\x00\x00\x00\x00\x00\x00",
  24582. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24583. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24584. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24585. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24586. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24587. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24588. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24589. "\x00\x00\x00\x00\x00\x00\x00\x00",
  24590. .ctext = "\xB6\x6C\x1E\x44\x46\xDD\x95\x57"
  24591. "\xE5\x78\xE2\x23\xB0\xB7\x68\x01"
  24592. "\x7B\x23\xB2\x67\xBB\x02\x34\xAE"
  24593. "\x46\x26\xBF\x44\x3F\x21\x97\x76"
  24594. "\x43\x6F\xB1\x9F\xD0\xE8\x86\x6F"
  24595. "\xCD\x0D\xE9\xA9\x53\x8F\x4A\x09"
  24596. "\xCA\x9A\xC0\x73\x2E\x30\xBC\xF9"
  24597. "\x8E\x4F\x13\xE4\xB9\xE2\x01\xD9",
  24598. .len = 64,
  24599. }, { /* Set 3, vector 27 */
  24600. .key = "\x1B\x1C\x1D\x1E\x1F\x20\x21\x22"
  24601. "\x23\x24\x25\x26\x27\x28\x29\x2A"
  24602. "\x2B\x2C\x2D\x2E\x2F\x30\x31\x32"
  24603. "\x33\x34\x35\x36\x37\x38\x39\x3A",
  24604. .klen = 32,
  24605. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  24606. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24607. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24608. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24609. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24610. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24611. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24612. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24613. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24614. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24615. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24616. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24617. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24618. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24619. "\x00\x00\x00\x00\x00\x00\x00",
  24620. .ctext = "\xAE\x39\x50\x8E\xAC\x9A\xEC\xE7"
  24621. "\xBF\x97\xBB\x20\xB9\xDE\xE4\x1F"
  24622. "\x87\xD9\x47\xF8\x28\x91\x35\x98"
  24623. "\xDB\x72\xCC\x23\x29\x48\x56\x5E"
  24624. "\x83\x7E\x0B\xF3\x7D\x5D\x38\x7B"
  24625. "\x2D\x71\x02\xB4\x3B\xB5\xD8\x23"
  24626. "\xB0\x4A\xDF\x3C\xEC\xB6\xD9\x3B"
  24627. "\x9B\xA7\x52\xBE\xC5\xD4\x50\x59"
  24628. "\x15\x14\xB4\x0E\x40\xE6\x53\xD1"
  24629. "\x83\x9C\x5B\xA0\x92\x29\x6B\x5E"
  24630. "\x96\x5B\x1E\x2F\xD3\xAC\xC1\x92"
  24631. "\xB1\x41\x3F\x19\x2F\xC4\x3B\xC6"
  24632. "\x95\x46\x45\x54\xE9\x75\x03\x08"
  24633. "\x44\xAF\xE5\x8A\x81\x12\x09",
  24634. .len = 111,
  24635. }, { /* Set 5, vector 27 */
  24636. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24637. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24638. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24639. "\x00\x00\x00\x00\x00\x00\x00\x00",
  24640. .klen = 32,
  24641. .iv = "\x00\x00\x00\x10\x00\x00\x00\x00",
  24642. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24643. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24644. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24645. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24646. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24647. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24648. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24649. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24650. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24651. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24652. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24653. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24654. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24655. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24656. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24657. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24658. "\x00",
  24659. .ctext = "\xD2\xDB\x1A\x5C\xF1\xC1\xAC\xDB"
  24660. "\xE8\x1A\x7A\x43\x40\xEF\x53\x43"
  24661. "\x5E\x7F\x4B\x1A\x50\x52\x3F\x8D"
  24662. "\x28\x3D\xCF\x85\x1D\x69\x6E\x60"
  24663. "\xF2\xDE\x74\x56\x18\x1B\x84\x10"
  24664. "\xD4\x62\xBA\x60\x50\xF0\x61\xF2"
  24665. "\x1C\x78\x7F\xC1\x24\x34\xAF\x58"
  24666. "\xBF\x2C\x59\xCA\x90\x77\xF3\xB0"
  24667. "\x5B\x4A\xDF\x89\xCE\x2C\x2F\xFC"
  24668. "\x67\xF0\xE3\x45\xE8\xB3\xB3\x75"
  24669. "\xA0\x95\x71\xA1\x29\x39\x94\xCA"
  24670. "\x45\x2F\xBD\xCB\x10\xB6\xBE\x9F"
  24671. "\x8E\xF9\xB2\x01\x0A\x5A\x0A\xB7"
  24672. "\x6B\x9D\x70\x8E\x4B\xD6\x2F\xCD"
  24673. "\x2E\x40\x48\x75\xE9\xE2\x21\x45"
  24674. "\x0B\xC9\xB6\xB5\x66\xBC\x9A\x59"
  24675. "\x5A",
  24676. .len = 129,
  24677. }, { /* large test vector generated using Crypto++ */
  24678. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  24679. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  24680. "\x10\x11\x12\x13\x14\x15\x16\x17"
  24681. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  24682. .klen = 32,
  24683. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24684. "\x00\x00\x00\x00\x00\x00\x00\x00",
  24685. .ptext =
  24686. "\x00\x01\x02\x03\x04\x05\x06\x07"
  24687. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  24688. "\x10\x11\x12\x13\x14\x15\x16\x17"
  24689. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  24690. "\x20\x21\x22\x23\x24\x25\x26\x27"
  24691. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  24692. "\x30\x31\x32\x33\x34\x35\x36\x37"
  24693. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  24694. "\x40\x41\x42\x43\x44\x45\x46\x47"
  24695. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  24696. "\x50\x51\x52\x53\x54\x55\x56\x57"
  24697. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  24698. "\x60\x61\x62\x63\x64\x65\x66\x67"
  24699. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  24700. "\x70\x71\x72\x73\x74\x75\x76\x77"
  24701. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  24702. "\x80\x81\x82\x83\x84\x85\x86\x87"
  24703. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  24704. "\x90\x91\x92\x93\x94\x95\x96\x97"
  24705. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  24706. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  24707. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  24708. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  24709. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  24710. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  24711. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  24712. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  24713. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  24714. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  24715. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  24716. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  24717. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  24718. "\x00\x03\x06\x09\x0c\x0f\x12\x15"
  24719. "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
  24720. "\x30\x33\x36\x39\x3c\x3f\x42\x45"
  24721. "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
  24722. "\x60\x63\x66\x69\x6c\x6f\x72\x75"
  24723. "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
  24724. "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
  24725. "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
  24726. "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
  24727. "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
  24728. "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
  24729. "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
  24730. "\x20\x23\x26\x29\x2c\x2f\x32\x35"
  24731. "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
  24732. "\x50\x53\x56\x59\x5c\x5f\x62\x65"
  24733. "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
  24734. "\x80\x83\x86\x89\x8c\x8f\x92\x95"
  24735. "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
  24736. "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
  24737. "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
  24738. "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
  24739. "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
  24740. "\x10\x13\x16\x19\x1c\x1f\x22\x25"
  24741. "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
  24742. "\x40\x43\x46\x49\x4c\x4f\x52\x55"
  24743. "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
  24744. "\x70\x73\x76\x79\x7c\x7f\x82\x85"
  24745. "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
  24746. "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
  24747. "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
  24748. "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
  24749. "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
  24750. "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
  24751. "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
  24752. "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
  24753. "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
  24754. "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
  24755. "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
  24756. "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
  24757. "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
  24758. "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
  24759. "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
  24760. "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
  24761. "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
  24762. "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
  24763. "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
  24764. "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
  24765. "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
  24766. "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
  24767. "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
  24768. "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
  24769. "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
  24770. "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
  24771. "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
  24772. "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
  24773. "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
  24774. "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
  24775. "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
  24776. "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
  24777. "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
  24778. "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
  24779. "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
  24780. "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
  24781. "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
  24782. "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
  24783. "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
  24784. "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
  24785. "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
  24786. "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
  24787. "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
  24788. "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
  24789. "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
  24790. "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
  24791. "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
  24792. "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
  24793. "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
  24794. "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
  24795. "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
  24796. "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
  24797. "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
  24798. "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
  24799. "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
  24800. "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
  24801. "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
  24802. "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
  24803. "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
  24804. "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
  24805. "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
  24806. "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
  24807. "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
  24808. "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
  24809. "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
  24810. "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
  24811. "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
  24812. "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
  24813. "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
  24814. "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
  24815. "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
  24816. "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
  24817. "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
  24818. "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
  24819. "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
  24820. "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
  24821. "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
  24822. "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
  24823. "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
  24824. "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
  24825. "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
  24826. "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
  24827. "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
  24828. "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
  24829. "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
  24830. "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
  24831. "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
  24832. "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
  24833. "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
  24834. "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
  24835. "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
  24836. "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
  24837. "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
  24838. "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
  24839. "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
  24840. "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
  24841. "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
  24842. "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
  24843. "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
  24844. "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
  24845. "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
  24846. "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
  24847. "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
  24848. "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
  24849. "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
  24850. "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
  24851. "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
  24852. "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
  24853. "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
  24854. "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
  24855. "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
  24856. "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
  24857. "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
  24858. "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
  24859. "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
  24860. "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
  24861. "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
  24862. "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
  24863. "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
  24864. "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
  24865. "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
  24866. "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
  24867. "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
  24868. "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
  24869. "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
  24870. "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
  24871. "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
  24872. "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
  24873. "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
  24874. "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
  24875. "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
  24876. "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
  24877. "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
  24878. "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
  24879. "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
  24880. "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
  24881. "\x38\x45\x52\x5f\x6c\x79\x86\x93"
  24882. "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
  24883. "\x08\x15\x22\x2f\x3c\x49\x56\x63"
  24884. "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
  24885. "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
  24886. "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
  24887. "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
  24888. "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
  24889. "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
  24890. "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
  24891. "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
  24892. "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
  24893. "\x18\x25\x32\x3f\x4c\x59\x66\x73"
  24894. "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
  24895. "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
  24896. "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
  24897. "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
  24898. "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
  24899. "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
  24900. "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
  24901. "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
  24902. "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
  24903. "\x28\x35\x42\x4f\x5c\x69\x76\x83"
  24904. "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
  24905. "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
  24906. "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
  24907. "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
  24908. "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
  24909. "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
  24910. "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
  24911. "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
  24912. "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
  24913. "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
  24914. "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
  24915. "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
  24916. "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
  24917. "\x48\x57\x66\x75\x84\x93\xa2\xb1"
  24918. "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
  24919. "\x38\x47\x56\x65\x74\x83\x92\xa1"
  24920. "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
  24921. "\x28\x37\x46\x55\x64\x73\x82\x91"
  24922. "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
  24923. "\x18\x27\x36\x45\x54\x63\x72\x81"
  24924. "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
  24925. "\x08\x17\x26\x35\x44\x53\x62\x71"
  24926. "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
  24927. "\xf8\x07\x16\x25\x34\x43\x52\x61"
  24928. "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
  24929. "\xe8\xf7\x06\x15\x24\x33\x42\x51"
  24930. "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
  24931. "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
  24932. "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
  24933. "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
  24934. "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
  24935. "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
  24936. "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
  24937. "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
  24938. "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
  24939. "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
  24940. "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
  24941. "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
  24942. "\x00\x11\x22\x33\x44\x55\x66\x77"
  24943. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
  24944. "\x10\x21\x32\x43\x54\x65\x76\x87"
  24945. "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
  24946. "\x20\x31\x42\x53\x64\x75\x86\x97"
  24947. "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
  24948. "\x30\x41\x52\x63\x74\x85\x96\xa7"
  24949. "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
  24950. "\x40\x51\x62\x73\x84\x95\xa6\xb7"
  24951. "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
  24952. "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
  24953. "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
  24954. "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
  24955. "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
  24956. "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
  24957. "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
  24958. "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
  24959. "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
  24960. "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
  24961. "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
  24962. "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
  24963. "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
  24964. "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
  24965. "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
  24966. "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
  24967. "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
  24968. "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
  24969. "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
  24970. "\xe0\xf1\x02\x13\x24\x35\x46\x57"
  24971. "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
  24972. "\xf0\x01\x12\x23\x34\x45\x56\x67"
  24973. "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
  24974. "\x00\x13\x26\x39\x4c\x5f\x72\x85"
  24975. "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
  24976. "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
  24977. "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
  24978. "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
  24979. "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
  24980. "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
  24981. "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
  24982. "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
  24983. "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
  24984. "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
  24985. "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
  24986. "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
  24987. "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
  24988. "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
  24989. "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
  24990. "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
  24991. "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
  24992. "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
  24993. "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
  24994. "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
  24995. "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
  24996. "\x10\x23\x36\x49\x5c\x6f\x82\x95"
  24997. "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
  24998. "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
  24999. "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
  25000. "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
  25001. "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
  25002. "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
  25003. "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
  25004. "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
  25005. "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
  25006. "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
  25007. "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
  25008. "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
  25009. "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
  25010. "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
  25011. "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
  25012. "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
  25013. "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
  25014. "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
  25015. "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
  25016. "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
  25017. "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
  25018. "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
  25019. "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
  25020. "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
  25021. "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
  25022. "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
  25023. "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
  25024. "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
  25025. "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
  25026. "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
  25027. "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
  25028. "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
  25029. "\x18\x2d\x42\x57\x6c\x81\x96\xab"
  25030. "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
  25031. "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
  25032. "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
  25033. "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
  25034. "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
  25035. "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
  25036. "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
  25037. "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
  25038. "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
  25039. "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
  25040. "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
  25041. "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
  25042. "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
  25043. "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
  25044. "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
  25045. "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
  25046. "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
  25047. "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
  25048. "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
  25049. "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
  25050. "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
  25051. "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
  25052. "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
  25053. "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
  25054. "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
  25055. "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
  25056. "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
  25057. "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
  25058. "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
  25059. "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
  25060. "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
  25061. "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
  25062. "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
  25063. "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
  25064. "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
  25065. "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
  25066. "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
  25067. "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
  25068. "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
  25069. "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
  25070. "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
  25071. "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
  25072. "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
  25073. "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
  25074. "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
  25075. "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
  25076. "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
  25077. "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
  25078. "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
  25079. "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
  25080. "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
  25081. "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
  25082. "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
  25083. "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
  25084. "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
  25085. "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
  25086. "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
  25087. "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
  25088. "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
  25089. "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
  25090. "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
  25091. "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
  25092. "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
  25093. "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
  25094. "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
  25095. "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
  25096. "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
  25097. "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
  25098. "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
  25099. "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
  25100. "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
  25101. "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
  25102. "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
  25103. "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
  25104. "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
  25105. "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
  25106. "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
  25107. "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
  25108. "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
  25109. "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
  25110. "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
  25111. "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
  25112. "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
  25113. "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
  25114. "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
  25115. "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
  25116. "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
  25117. "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
  25118. "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
  25119. "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
  25120. "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
  25121. "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
  25122. "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
  25123. "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
  25124. "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
  25125. "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
  25126. "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
  25127. "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
  25128. "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
  25129. "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
  25130. "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
  25131. "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
  25132. "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
  25133. "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
  25134. "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
  25135. "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
  25136. "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
  25137. "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
  25138. "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
  25139. "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
  25140. "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
  25141. "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
  25142. "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
  25143. "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
  25144. "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
  25145. "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
  25146. "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
  25147. "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
  25148. "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
  25149. "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
  25150. "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
  25151. "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
  25152. "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
  25153. "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
  25154. "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
  25155. "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
  25156. "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
  25157. "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
  25158. "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
  25159. "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
  25160. "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
  25161. "\x78\x95\xb2\xcf\xec\x09\x26\x43"
  25162. "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
  25163. "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
  25164. "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
  25165. "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
  25166. "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
  25167. "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
  25168. "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
  25169. "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
  25170. "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
  25171. "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
  25172. "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
  25173. "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
  25174. "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
  25175. "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
  25176. "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
  25177. "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
  25178. "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
  25179. "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
  25180. "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
  25181. "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
  25182. "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
  25183. "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
  25184. "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
  25185. "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
  25186. "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
  25187. "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
  25188. "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
  25189. "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
  25190. "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
  25191. "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
  25192. "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
  25193. "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
  25194. "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
  25195. "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
  25196. "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
  25197. "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
  25198. "\x00\x21\x42\x63",
  25199. .ctext =
  25200. "\xb5\x81\xf5\x64\x18\x73\xe3\xf0"
  25201. "\x4c\x13\xf2\x77\x18\x60\x65\x5e"
  25202. "\x29\x01\xce\x98\x55\x53\xf9\x0c"
  25203. "\x2a\x08\xd5\x09\xb3\x57\x55\x56"
  25204. "\xc5\xe9\x56\x90\xcb\x6a\xa3\xc0"
  25205. "\xff\xc4\x79\xb4\xd2\x97\x5d\xc4"
  25206. "\x43\xd1\xfe\x94\x7b\x88\x06\x5a"
  25207. "\xb2\x9e\x2c\xfc\x44\x03\xb7\x90"
  25208. "\xa0\xc1\xba\x6a\x33\xb8\xc7\xb2"
  25209. "\x9d\xe1\x12\x4f\xc0\x64\xd4\x01"
  25210. "\xfe\x8c\x7a\x66\xf7\xe6\x5a\x91"
  25211. "\xbb\xde\x56\x86\xab\x65\x21\x30"
  25212. "\x00\x84\x65\x24\xa5\x7d\x85\xb4"
  25213. "\xe3\x17\xed\x3a\xb7\x6f\xb4\x0b"
  25214. "\x0b\xaf\x15\xae\x5a\x8f\xf2\x0c"
  25215. "\x2f\x27\xf4\x09\xd8\xd2\x96\xb7"
  25216. "\x71\xf2\xc5\x99\x4d\x7e\x7f\x75"
  25217. "\x77\x89\x30\x8b\x59\xdb\xa2\xb2"
  25218. "\xa0\xf3\x19\x39\x2b\xc5\x7e\x3f"
  25219. "\x4f\xd9\xd3\x56\x28\x97\x44\xdc"
  25220. "\xc0\x8b\x77\x24\xd9\x52\xe7\xc5"
  25221. "\xaf\xf6\x7d\x59\xb2\x44\x05\x1d"
  25222. "\xb1\xb0\x11\xa5\x0f\xec\x33\xe1"
  25223. "\x6d\x1b\x4e\x1f\xff\x57\x91\xb4"
  25224. "\x5b\x9a\x96\xc5\x53\xbc\xae\x20"
  25225. "\x3c\xbb\x14\xe2\xe8\x22\x33\xc1"
  25226. "\x5e\x76\x9e\x46\x99\xf6\x2a\x15"
  25227. "\xc6\x97\x02\xa0\x66\x43\xd1\xa6"
  25228. "\x31\xa6\x9f\xfb\xf4\xd3\x69\xe5"
  25229. "\xcd\x76\x95\xb8\x7a\x82\x7f\x21"
  25230. "\x45\xff\x3f\xce\x55\xf6\x95\x10"
  25231. "\x08\x77\x10\x43\xc6\xf3\x09\xe5"
  25232. "\x68\xe7\x3c\xad\x00\x52\x45\x0d"
  25233. "\xfe\x2d\xc6\xc2\x94\x8c\x12\x1d"
  25234. "\xe6\x25\xae\x98\x12\x8e\x19\x9c"
  25235. "\x81\x68\xb1\x11\xf6\x69\xda\xe3"
  25236. "\x62\x08\x18\x7a\x25\x49\x28\xac"
  25237. "\xba\x71\x12\x0b\xe4\xa2\xe5\xc7"
  25238. "\x5d\x8e\xec\x49\x40\x21\xbf\x5a"
  25239. "\x98\xf3\x02\x68\x55\x03\x7f\x8a"
  25240. "\xe5\x94\x0c\x32\x5c\x07\x82\x63"
  25241. "\xaf\x6f\x91\x40\x84\x8e\x52\x25"
  25242. "\xd0\xb0\x29\x53\x05\xe2\x50\x7a"
  25243. "\x34\xeb\xc9\x46\x20\xa8\x3d\xde"
  25244. "\x7f\x16\x5f\x36\xc5\x2e\xdc\xd1"
  25245. "\x15\x47\xc7\x50\x40\x6d\x91\xc5"
  25246. "\xe7\x93\x95\x1a\xd3\x57\xbc\x52"
  25247. "\x33\xee\x14\x19\x22\x52\x89\xa7"
  25248. "\x4a\x25\x56\x77\x4b\xca\xcf\x0a"
  25249. "\xe1\xf5\x35\x85\x30\x7e\x59\x4a"
  25250. "\xbd\x14\x5b\xdf\xe3\x46\xcb\xac"
  25251. "\x1f\x6c\x96\x0e\xf4\x81\xd1\x99"
  25252. "\xca\x88\x63\x3d\x02\x58\x6b\xa9"
  25253. "\xe5\x9f\xb3\x00\xb2\x54\xc6\x74"
  25254. "\x1c\xbf\x46\xab\x97\xcc\xf8\x54"
  25255. "\x04\x07\x08\x52\xe6\xc0\xda\x93"
  25256. "\x74\x7d\x93\x99\x5d\x78\x68\xa6"
  25257. "\x2e\x6b\xd3\x6a\x69\xcc\x12\x6b"
  25258. "\xd4\xc7\xa5\xc6\xe7\xf6\x03\x04"
  25259. "\x5d\xcd\x61\x5e\x17\x40\xdc\xd1"
  25260. "\x5c\xf5\x08\xdf\x5c\x90\x85\xa4"
  25261. "\xaf\xf6\x78\xbb\x0d\xf1\xf4\xa4"
  25262. "\x54\x26\x72\x9e\x61\xfa\x86\xcf"
  25263. "\xe8\x9e\xa1\xe0\xc7\x48\x23\xae"
  25264. "\x5a\x90\xae\x75\x0a\x74\x18\x89"
  25265. "\x05\xb1\x92\xb2\x7f\xd0\x1b\xa6"
  25266. "\x62\x07\x25\x01\xc7\xc2\x4f\xf9"
  25267. "\xe8\xfe\x63\x95\x80\x07\xb4\x26"
  25268. "\xcc\xd1\x26\xb6\xc4\x3f\x9e\xcb"
  25269. "\x8e\x3b\x2e\x44\x16\xd3\x10\x9a"
  25270. "\x95\x08\xeb\xc8\xcb\xeb\xbf\x6f"
  25271. "\x0b\xcd\x1f\xc8\xca\x86\xaa\xec"
  25272. "\x33\xe6\x69\xf4\x45\x25\x86\x3a"
  25273. "\x22\x94\x4f\x00\x23\x6a\x44\xc2"
  25274. "\x49\x97\x33\xab\x36\x14\x0a\x70"
  25275. "\x24\xc3\xbe\x04\x3b\x79\xa0\xf9"
  25276. "\xb8\xe7\x76\x29\x22\x83\xd7\xf2"
  25277. "\x94\xf4\x41\x49\xba\x5f\x7b\x07"
  25278. "\xb5\xfb\xdb\x03\x1a\x9f\xb6\x4c"
  25279. "\xc2\x2e\x37\x40\x49\xc3\x38\x16"
  25280. "\xe2\x4f\x77\x82\xb0\x68\x4c\x71"
  25281. "\x1d\x57\x61\x9c\xd9\x4e\x54\x99"
  25282. "\x47\x13\x28\x73\x3c\xbb\x00\x90"
  25283. "\xf3\x4d\xc9\x0e\xfd\xe7\xb1\x71"
  25284. "\xd3\x15\x79\xbf\xcc\x26\x2f\xbd"
  25285. "\xad\x6c\x50\x69\x6c\x3e\x6d\x80"
  25286. "\x9a\xea\x78\xaf\x19\xb2\x0d\x4d"
  25287. "\xad\x04\x07\xae\x22\x90\x4a\x93"
  25288. "\x32\x0e\x36\x9b\x1b\x46\xba\x3b"
  25289. "\xb4\xac\xc6\xd1\xa2\x31\x53\x3b"
  25290. "\x2a\x3d\x45\xfe\x03\x61\x10\x85"
  25291. "\x17\x69\xa6\x78\xcc\x6c\x87\x49"
  25292. "\x53\xf9\x80\x10\xde\x80\xa2\x41"
  25293. "\x6a\xc3\x32\x02\xad\x6d\x3c\x56"
  25294. "\x00\x71\x51\x06\xa7\xbd\xfb\xef"
  25295. "\x3c\xb5\x9f\xfc\x48\x7d\x53\x7c"
  25296. "\x66\xb0\x49\x23\xc4\x47\x10\x0e"
  25297. "\xe5\x6c\x74\x13\xe6\xc5\x3f\xaa"
  25298. "\xde\xff\x07\x44\xdd\x56\x1b\xad"
  25299. "\x09\x77\xfb\x5b\x12\xb8\x0d\x38"
  25300. "\x17\x37\x35\x7b\x9b\xbc\xfe\xd4"
  25301. "\x7e\x8b\xda\x7e\x5b\x04\xa7\x22"
  25302. "\xa7\x31\xa1\x20\x86\xc7\x1b\x99"
  25303. "\xdb\xd1\x89\xf4\x94\xa3\x53\x69"
  25304. "\x8d\xe7\xe8\x74\x11\x8d\x74\xd6"
  25305. "\x07\x37\x91\x9f\xfd\x67\x50\x3a"
  25306. "\xc9\xe1\xf4\x36\xd5\xa0\x47\xd1"
  25307. "\xf9\xe5\x39\xa3\x31\xac\x07\x36"
  25308. "\x23\xf8\x66\x18\x14\x28\x34\x0f"
  25309. "\xb8\xd0\xe7\x29\xb3\x04\x4b\x55"
  25310. "\x01\x41\xb2\x75\x8d\xcb\x96\x85"
  25311. "\x3a\xfb\xab\x2b\x9e\xfa\x58\x20"
  25312. "\x44\x1f\xc0\x14\x22\x75\x61\xe8"
  25313. "\xaa\x19\xcf\xf1\x82\x56\xf4\xd7"
  25314. "\x78\x7b\x3d\x5f\xb3\x9e\x0b\x8a"
  25315. "\x57\x50\xdb\x17\x41\x65\x4d\xa3"
  25316. "\x02\xc9\x9c\x9c\x53\xfb\x39\x39"
  25317. "\x9b\x1d\x72\x24\xda\xb7\x39\xbe"
  25318. "\x13\x3b\xfa\x29\xda\x9e\x54\x64"
  25319. "\x6e\xba\xd8\xa1\xcb\xb3\x36\xfa"
  25320. "\xcb\x47\x85\xe9\x61\x38\xbc\xbe"
  25321. "\xc5\x00\x38\x2a\x54\xf7\xc4\xb9"
  25322. "\xb3\xd3\x7b\xa0\xa0\xf8\x72\x7f"
  25323. "\x8c\x8e\x82\x0e\xc6\x1c\x75\x9d"
  25324. "\xca\x8e\x61\x87\xde\xad\x80\xd2"
  25325. "\xf5\xf9\x80\xef\x15\x75\xaf\xf5"
  25326. "\x80\xfb\xff\x6d\x1e\x25\xb7\x40"
  25327. "\x61\x6a\x39\x5a\x6a\xb5\x31\xab"
  25328. "\x97\x8a\x19\x89\x44\x40\xc0\xa6"
  25329. "\xb4\x4e\x30\x32\x7b\x13\xe7\x67"
  25330. "\xa9\x8b\x57\x04\xc2\x01\xa6\xf4"
  25331. "\x28\x99\xad\x2c\x76\xa3\x78\xc2"
  25332. "\x4a\xe6\xca\x5c\x50\x6a\xc1\xb0"
  25333. "\x62\x4b\x10\x8e\x7c\x17\x43\xb3"
  25334. "\x17\x66\x1c\x3e\x8d\x69\xf0\x5a"
  25335. "\x71\xf5\x97\xdc\xd1\x45\xdd\x28"
  25336. "\xf3\x5d\xdf\x53\x7b\x11\xe5\xbc"
  25337. "\x4c\xdb\x1b\x51\x6b\xe9\xfb\x3d"
  25338. "\xc1\xc3\x2c\xb9\x71\xf5\xb6\xb2"
  25339. "\x13\x36\x79\x80\x53\xe8\xd3\xa6"
  25340. "\x0a\xaf\xfd\x56\x97\xf7\x40\x8e"
  25341. "\x45\xce\xf8\xb0\x9e\x5c\x33\x82"
  25342. "\xb0\x44\x56\xfc\x05\x09\xe9\x2a"
  25343. "\xac\x26\x80\x14\x1d\xc8\x3a\x35"
  25344. "\x4c\x82\x97\xfd\x76\xb7\xa9\x0a"
  25345. "\x35\x58\x79\x8e\x0f\x66\xea\xaf"
  25346. "\x51\x6c\x09\xa9\x6e\x9b\xcb\x9a"
  25347. "\x31\x47\xa0\x2f\x7c\x71\xb4\x4a"
  25348. "\x11\xaa\x8c\x66\xc5\x64\xe6\x3a"
  25349. "\x54\xda\x24\x6a\xc4\x41\x65\x46"
  25350. "\x82\xa0\x0a\x0f\x5f\xfb\x25\xd0"
  25351. "\x2c\x91\xa7\xee\xc4\x81\x07\x86"
  25352. "\x75\x5e\x33\x69\x97\xe4\x2c\xa8"
  25353. "\x9d\x9f\x0b\x6a\xbe\xad\x98\xda"
  25354. "\x6d\x94\x41\xda\x2c\x1e\x89\xc4"
  25355. "\xc2\xaf\x1e\x00\x05\x0b\x83\x60"
  25356. "\xbd\x43\xea\x15\x23\x7f\xb9\xac"
  25357. "\xee\x4f\x2c\xaf\x2a\xf3\xdf\xd0"
  25358. "\xf3\x19\x31\xbb\x4a\x74\x84\x17"
  25359. "\x52\x32\x2c\x7d\x61\xe4\xcb\xeb"
  25360. "\x80\x38\x15\x52\xcb\x6f\xea\xe5"
  25361. "\x73\x9c\xd9\x24\x69\xc6\x95\x32"
  25362. "\x21\xc8\x11\xe4\xdc\x36\xd7\x93"
  25363. "\x38\x66\xfb\xb2\x7f\x3a\xb9\xaf"
  25364. "\x31\xdd\x93\x75\x78\x8a\x2c\x94"
  25365. "\x87\x1a\x58\xec\x9e\x7d\x4d\xba"
  25366. "\xe1\xe5\x4d\xfc\xbc\xa4\x2a\x14"
  25367. "\xef\xcc\xa7\xec\xab\x43\x09\x18"
  25368. "\xd3\xab\x68\xd1\x07\x99\x44\x47"
  25369. "\xd6\x83\x85\x3b\x30\xea\xa9\x6b"
  25370. "\x63\xea\xc4\x07\xfb\x43\x2f\xa4"
  25371. "\xaa\xb0\xab\x03\x89\xce\x3f\x8c"
  25372. "\x02\x7c\x86\x54\xbc\x88\xaf\x75"
  25373. "\xd2\xdc\x63\x17\xd3\x26\xf6\x96"
  25374. "\xa9\x3c\xf1\x61\x8c\x11\x18\xcc"
  25375. "\xd6\xea\x5b\xe2\xcd\xf0\xf1\xb2"
  25376. "\xe5\x35\x90\x1f\x85\x4c\x76\x5b"
  25377. "\x66\xce\x44\xa4\x32\x9f\xe6\x7b"
  25378. "\x71\x6e\x9f\x58\x15\x67\x72\x87"
  25379. "\x64\x8e\x3a\x44\x45\xd4\x76\xfa"
  25380. "\xc2\xf6\xef\x85\x05\x18\x7a\x9b"
  25381. "\xba\x41\x54\xac\xf0\xfc\x59\x12"
  25382. "\x3f\xdf\xa0\xe5\x8a\x65\xfd\x3a"
  25383. "\x62\x8d\x83\x2c\x03\xbe\x05\x76"
  25384. "\x2e\x53\x49\x97\x94\x33\xae\x40"
  25385. "\x81\x15\xdb\x6e\xad\xaa\xf5\x4b"
  25386. "\xe3\x98\x70\xdf\xe0\x7c\xcd\xdb"
  25387. "\x02\xd4\x7d\x2f\xc1\xe6\xb4\xf3"
  25388. "\xd7\x0d\x7a\xd9\x23\x9e\x87\x2d"
  25389. "\xce\x87\xad\xcc\x72\x05\x00\x29"
  25390. "\xdc\x73\x7f\x64\xc1\x15\x0e\xc2"
  25391. "\xdf\xa7\x5f\xeb\x41\xa1\xcd\xef"
  25392. "\x5c\x50\x79\x2a\x56\x56\x71\x8c"
  25393. "\xac\xc0\x79\x50\x69\xca\x59\x32"
  25394. "\x65\xf2\x54\xe4\x52\x38\x76\xd1"
  25395. "\x5e\xde\x26\x9e\xfb\x75\x2e\x11"
  25396. "\xb5\x10\xf4\x17\x73\xf5\x89\xc7"
  25397. "\x4f\x43\x5c\x8e\x7c\xb9\x05\x52"
  25398. "\x24\x40\x99\xfe\x9b\x85\x0b\x6c"
  25399. "\x22\x3e\x8b\xae\x86\xa1\xd2\x79"
  25400. "\x05\x68\x6b\xab\xe3\x41\x49\xed"
  25401. "\x15\xa1\x8d\x40\x2d\x61\xdf\x1a"
  25402. "\x59\xc9\x26\x8b\xef\x30\x4c\x88"
  25403. "\x4b\x10\xf8\x8d\xa6\x92\x9f\x4b"
  25404. "\xf3\xc4\x53\x0b\x89\x5d\x28\x92"
  25405. "\xcf\x78\xb2\xc0\x5d\xed\x7e\xfc"
  25406. "\xc0\x12\x23\x5f\x5a\x78\x86\x43"
  25407. "\x6e\x27\xf7\x5a\xa7\x6a\xed\x19"
  25408. "\x04\xf0\xb3\x12\xd1\xbd\x0e\x89"
  25409. "\x6e\xbc\x96\xa8\xd8\x49\x39\x9f"
  25410. "\x7e\x67\xf0\x2e\x3e\x01\xa9\xba"
  25411. "\xec\x8b\x62\x8e\xcb\x4a\x70\x43"
  25412. "\xc7\xc2\xc4\xca\x82\x03\x73\xe9"
  25413. "\x11\xdf\xcf\x54\xea\xc9\xb0\x95"
  25414. "\x51\xc0\x13\x3d\x92\x05\xfa\xf4"
  25415. "\xa9\x34\xc8\xce\x6c\x3d\x54\xcc"
  25416. "\xc4\xaf\xf1\xdc\x11\x44\x26\xa2"
  25417. "\xaf\xf1\x85\x75\x7d\x03\x61\x68"
  25418. "\x4e\x78\xc6\x92\x7d\x86\x7d\x77"
  25419. "\xdc\x71\x72\xdb\xc6\xae\xa1\xcb"
  25420. "\x70\x9a\x0b\x19\xbe\x4a\x6c\x2a"
  25421. "\xe2\xba\x6c\x64\x9a\x13\x28\xdf"
  25422. "\x85\x75\xe6\x43\xf6\x87\x08\x68"
  25423. "\x6e\xba\x6e\x79\x9f\x04\xbc\x23"
  25424. "\x50\xf6\x33\x5c\x1f\x24\x25\xbe"
  25425. "\x33\x47\x80\x45\x56\xa3\xa7\xd7"
  25426. "\x7a\xb1\x34\x0b\x90\x3c\x9c\xad"
  25427. "\x44\x5f\x9e\x0e\x9d\xd4\xbd\x93"
  25428. "\x5e\xfa\x3c\xe0\xb0\xd9\xed\xf3"
  25429. "\xd6\x2e\xff\x24\xd8\x71\x6c\xed"
  25430. "\xaf\x55\xeb\x22\xac\x93\x68\x32"
  25431. "\x05\x5b\x47\xdd\xc6\x4a\xcb\xc7"
  25432. "\x10\xe1\x3c\x92\x1a\xf3\x23\x78"
  25433. "\x2b\xa1\xd2\x80\xf4\x12\xb1\x20"
  25434. "\x8f\xff\x26\x35\xdd\xfb\xc7\x4e"
  25435. "\x78\xf1\x2d\x50\x12\x77\xa8\x60"
  25436. "\x7c\x0f\xf5\x16\x2f\x63\x70\x2a"
  25437. "\xc0\x96\x80\x4e\x0a\xb4\x93\x35"
  25438. "\x5d\x1d\x3f\x56\xf7\x2f\xbb\x90"
  25439. "\x11\x16\x8f\xa2\xec\x47\xbe\xac"
  25440. "\x56\x01\x26\x56\xb1\x8c\xb2\x10"
  25441. "\xf9\x1a\xca\xf5\xd1\xb7\x39\x20"
  25442. "\x63\xf1\x69\x20\x4f\x13\x12\x1f"
  25443. "\x5b\x65\xfc\x98\xf7\xc4\x7a\xbe"
  25444. "\xf7\x26\x4d\x2b\x84\x7b\x42\xad"
  25445. "\xd8\x7a\x0a\xb4\xd8\x74\xbf\xc1"
  25446. "\xf0\x6e\xb4\x29\xa3\xbb\xca\x46"
  25447. "\x67\x70\x6a\x2d\xce\x0e\xa2\x8a"
  25448. "\xa9\x87\xbf\x05\xc4\xc1\x04\xa3"
  25449. "\xab\xd4\x45\x43\x8c\xb6\x02\xb0"
  25450. "\x41\xc8\xfc\x44\x3d\x59\xaa\x2e"
  25451. "\x44\x21\x2a\x8d\x88\x9d\x57\xf4"
  25452. "\xa0\x02\x77\xb8\xa6\xa0\xe6\x75"
  25453. "\x5c\x82\x65\x3e\x03\x5c\x29\x8f"
  25454. "\x38\x55\xab\x33\x26\xef\x9f\x43"
  25455. "\x52\xfd\x68\xaf\x36\xb4\xbb\x9a"
  25456. "\x58\x09\x09\x1b\xc3\x65\x46\x46"
  25457. "\x1d\xa7\x94\x18\x23\x50\x2c\xca"
  25458. "\x2c\x55\x19\x97\x01\x9d\x93\x3b"
  25459. "\x63\x86\xf2\x03\x67\x45\xd2\x72"
  25460. "\x28\x52\x6c\xf4\xe3\x1c\xb5\x11"
  25461. "\x13\xf1\xeb\x21\xc7\xd9\x56\x82"
  25462. "\x2b\x82\x39\xbd\x69\x54\xed\x62"
  25463. "\xc3\xe2\xde\x73\xd4\x6a\x12\xae"
  25464. "\x13\x21\x7f\x4b\x5b\xfc\xbf\xe8"
  25465. "\x2b\xbe\x56\xba\x68\x8b\x9a\xb1"
  25466. "\x6e\xfa\xbf\x7e\x5a\x4b\xf1\xac"
  25467. "\x98\x65\x85\xd1\x93\x53\xd3\x7b"
  25468. "\x09\xdd\x4b\x10\x6d\x84\xb0\x13"
  25469. "\x65\xbd\xcf\x52\x09\xc4\x85\xe2"
  25470. "\x84\x74\x15\x65\xb7\xf7\x51\xaf"
  25471. "\x55\xad\xa4\xd1\x22\x54\x70\x94"
  25472. "\xa0\x1c\x90\x41\xfd\x99\xd7\x5a"
  25473. "\x31\xef\xaa\x25\xd0\x7f\x4f\xea"
  25474. "\x1d\x55\x42\xe5\x49\xb0\xd0\x46"
  25475. "\x62\x36\x43\xb2\x82\x15\x75\x50"
  25476. "\xa4\x72\xeb\x54\x27\x1f\x8a\xe4"
  25477. "\x7d\xe9\x66\xc5\xf1\x53\xa4\xd1"
  25478. "\x0c\xeb\xb8\xf8\xbc\xd4\xe2\xe7"
  25479. "\xe1\xf8\x4b\xcb\xa9\xa1\xaf\x15"
  25480. "\x83\xcb\x72\xd0\x33\x79\x00\x2d"
  25481. "\x9f\xd7\xf1\x2e\x1e\x10\xe4\x45"
  25482. "\xc0\x75\x3a\x39\xea\x68\xf7\x5d"
  25483. "\x1b\x73\x8f\xe9\x8e\x0f\x72\x47"
  25484. "\xae\x35\x0a\x31\x7a\x14\x4d\x4a"
  25485. "\x6f\x47\xf7\x7e\x91\x6e\x74\x8b"
  25486. "\x26\x47\xf9\xc3\xf9\xde\x70\xf5"
  25487. "\x61\xab\xa9\x27\x9f\x82\xe4\x9c"
  25488. "\x89\x91\x3f\x2e\x6a\xfd\xb5\x49"
  25489. "\xe9\xfd\x59\x14\x36\x49\x40\x6d"
  25490. "\x32\xd8\x85\x42\xf3\xa5\xdf\x0c"
  25491. "\xa8\x27\xd7\x54\xe2\x63\x2f\xf2"
  25492. "\x7e\x8b\x8b\xe7\xf1\x9a\x95\x35"
  25493. "\x43\xdc\x3a\xe4\xb6\xf4\xd0\xdf"
  25494. "\x9c\xcb\x94\xf3\x21\xa0\x77\x50"
  25495. "\xe2\xc6\xc4\xc6\x5f\x09\x64\x5b"
  25496. "\x92\x90\xd8\xe1\xd1\xed\x4b\x42"
  25497. "\xd7\x37\xaf\x65\x3d\x11\x39\xb6"
  25498. "\x24\x8a\x60\xae\xd6\x1e\xbf\x0e"
  25499. "\x0d\xd7\xdc\x96\x0e\x65\x75\x4e"
  25500. "\x29\x06\x9d\xa4\x51\x3a\x10\x63"
  25501. "\x8f\x17\x07\xd5\x8e\x3c\xf4\x28"
  25502. "\x00\x5a\x5b\x05\x19\xd8\xc0\x6c"
  25503. "\xe5\x15\xe4\x9c\x9d\x71\x9d\x5e"
  25504. "\x94\x29\x1a\xa7\x80\xfa\x0e\x33"
  25505. "\x03\xdd\xb7\x3e\x9a\xa9\x26\x18"
  25506. "\x37\xa9\x64\x08\x4d\x94\x5a\x88"
  25507. "\xca\x35\xce\x81\x02\xe3\x1f\x1b"
  25508. "\x89\x1a\x77\x85\xe3\x41\x6d\x32"
  25509. "\x42\x19\x23\x7d\xc8\x73\xee\x25"
  25510. "\x85\x0d\xf8\x31\x25\x79\x1b\x6f"
  25511. "\x79\x25\xd2\xd8\xd4\x23\xfd\xf7"
  25512. "\x82\x36\x6a\x0c\x46\x22\x15\xe9"
  25513. "\xff\x72\x41\x91\x91\x7d\x3a\xb7"
  25514. "\xdd\x65\x99\x70\xf6\x8d\x84\xf8"
  25515. "\x67\x15\x20\x11\xd6\xb2\x55\x7b"
  25516. "\xdb\x87\xee\xef\x55\x89\x2a\x59"
  25517. "\x2b\x07\x8f\x43\x8a\x59\x3c\x01"
  25518. "\x8b\x65\x54\xa1\x66\xd5\x38\xbd"
  25519. "\xc6\x30\xa9\xcc\x49\xb6\xa8\x1b"
  25520. "\xb8\xc0\x0e\xe3\x45\x28\xe2\xff"
  25521. "\x41\x9f\x7e\x7c\xd1\xae\x9e\x25"
  25522. "\x3f\x4c\x7c\x7c\xf4\xa8\x26\x4d"
  25523. "\x5c\xfd\x4b\x27\x18\xf9\x61\x76"
  25524. "\x48\xba\x0c\x6b\xa9\x4d\xfc\xf5"
  25525. "\x3b\x35\x7e\x2f\x4a\xa9\xc2\x9a"
  25526. "\xae\xab\x86\x09\x89\xc9\xc2\x40"
  25527. "\x39\x2c\x81\xb3\xb8\x17\x67\xc2"
  25528. "\x0d\x32\x4a\x3a\x67\x81\xd7\x1a"
  25529. "\x34\x52\xc5\xdb\x0a\xf5\x63\x39"
  25530. "\xea\x1f\xe1\x7c\xa1\x9e\xc1\x35"
  25531. "\xe3\xb1\x18\x45\x67\xf9\x22\x38"
  25532. "\x95\xd9\x34\x34\x86\xc6\x41\x94"
  25533. "\x15\xf9\x5b\x41\xa6\x87\x8b\xf8"
  25534. "\xd5\xe1\x1b\xe2\x5b\xf3\x86\x10"
  25535. "\xff\xe6\xae\x69\x76\xbc\x0d\xb4"
  25536. "\x09\x90\x0c\xa2\x65\x0c\xad\x74"
  25537. "\xf5\xd7\xff\xda\xc1\xce\x85\xbe"
  25538. "\x00\xa7\xff\x4d\x2f\x65\xd3\x8c"
  25539. "\x86\x2d\x05\xe8\xed\x3e\x6b\x8b"
  25540. "\x0f\x3d\x83\x8c\xf1\x1d\x5b\x96"
  25541. "\x2e\xb1\x9c\xc2\x98\xe1\x70\xb9"
  25542. "\xba\x5c\x8a\x43\xd6\x34\xa7\x2d"
  25543. "\xc9\x92\xae\xf2\xa5\x7b\x05\x49"
  25544. "\xa7\x33\x34\x86\xca\xe4\x96\x23"
  25545. "\x76\x5b\xf2\xc6\xf1\x51\x28\x42"
  25546. "\x7b\xcc\x76\x8f\xfa\xa2\xad\x31"
  25547. "\xd4\xd6\x7a\x6d\x25\x25\x54\xe4"
  25548. "\x3f\x50\x59\xe1\x5c\x05\xb7\x27"
  25549. "\x48\xbf\x07\xec\x1b\x13\xbe\x2b"
  25550. "\xa1\x57\x2b\xd5\xab\xd7\xd0\x4c"
  25551. "\x1e\xcb\x71\x9b\xc5\x90\x85\xd3"
  25552. "\xde\x59\xec\x71\xeb\x89\xbb\xd0"
  25553. "\x09\x50\xe1\x16\x3f\xfd\x1c\x34"
  25554. "\xc3\x1c\xa1\x10\x77\x53\x98\xef"
  25555. "\xf2\xfd\xa5\x01\x59\xc2\x9b\x26"
  25556. "\xc7\x42\xd9\x49\xda\x58\x2b\x6e"
  25557. "\x9f\x53\x19\x76\x7e\xd9\xc9\x0e"
  25558. "\x68\xc8\x7f\x51\x22\x42\xef\x49"
  25559. "\xa4\x55\xb6\x36\xac\x09\xc7\x31"
  25560. "\x88\x15\x4b\x2e\x8f\x3a\x08\xf7"
  25561. "\xd8\xf7\xa8\xc5\xa9\x33\xa6\x45"
  25562. "\xe4\xc4\x94\x76\xf3\x0d\x8f\x7e"
  25563. "\xc8\xf6\xbc\x23\x0a\xb6\x4c\xd3"
  25564. "\x6a\xcd\x36\xc2\x90\x5c\x5c\x3c"
  25565. "\x65\x7b\xc2\xd6\xcc\xe6\x0d\x87"
  25566. "\x73\x2e\x71\x79\x16\x06\x63\x28"
  25567. "\x09\x15\xd8\x89\x38\x38\x3d\xb5"
  25568. "\x42\x1c\x08\x24\xf7\x2a\xd2\x9d"
  25569. "\xc8\xca\xef\xf9\x27\xd8\x07\x86"
  25570. "\xf7\x43\x0b\x55\x15\x3f\x9f\x83"
  25571. "\xef\xdc\x49\x9d\x2a\xc1\x54\x62"
  25572. "\xbd\x9b\x66\x55\x9f\xb7\x12\xf3"
  25573. "\x1b\x4d\x9d\x2a\x5c\xed\x87\x75"
  25574. "\x87\x26\xec\x61\x2c\xb4\x0f\x89"
  25575. "\xb0\xfb\x2e\x68\x5d\x15\xc7\x8d"
  25576. "\x2e\xc0\xd9\xec\xaf\x4f\xd2\x25"
  25577. "\x29\xe8\xd2\x26\x2b\x67\xe9\xfc"
  25578. "\x2b\xa8\x67\x96\x12\x1f\x5b\x96"
  25579. "\xc6\x14\x53\xaf\x44\xea\xd6\xe2"
  25580. "\x94\x98\xe4\x12\x93\x4c\x92\xe0"
  25581. "\x18\xa5\x8d\x2d\xe4\x71\x3c\x47"
  25582. "\x4c\xf7\xe6\x47\x9e\xc0\x68\xdf"
  25583. "\xd4\xf5\x5a\x74\xb1\x2b\x29\x03"
  25584. "\x19\x07\xaf\x90\x62\x5c\x68\x98"
  25585. "\x48\x16\x11\x02\x9d\xee\xb4\x9b"
  25586. "\xe5\x42\x7f\x08\xfd\x16\x32\x0b"
  25587. "\xd0\xb3\xfa\x2b\xb7\x99\xf9\x29"
  25588. "\xcd\x20\x45\x9f\xb3\x1a\x5d\xa2"
  25589. "\xaf\x4d\xe0\xbd\x42\x0d\xbc\x74"
  25590. "\x99\x9c\x8e\x53\x1a\xb4\x3e\xbd"
  25591. "\xa2\x9a\x2d\xf7\xf8\x39\x0f\x67"
  25592. "\x63\xfc\x6b\xc0\xaf\xb3\x4b\x4f"
  25593. "\x55\xc4\xcf\xa7\xc8\x04\x11\x3e"
  25594. "\x14\x32\xbb\x1b\x38\x77\xd6\x7f"
  25595. "\x54\x4c\xdf\x75\xf3\x07\x2d\x33"
  25596. "\x9b\xa8\x20\xe1\x7b\x12\xb5\xf3"
  25597. "\xef\x2f\xce\x72\xe5\x24\x60\xc1"
  25598. "\x30\xe2\xab\xa1\x8e\x11\x09\xa8"
  25599. "\x21\x33\x44\xfe\x7f\x35\x32\x93"
  25600. "\x39\xa7\xad\x8b\x79\x06\xb2\xcb"
  25601. "\x4e\xa9\x5f\xc7\xba\x74\x29\xec"
  25602. "\x93\xa0\x4e\x54\x93\xc0\xbc\x55"
  25603. "\x64\xf0\x48\xe5\x57\x99\xee\x75"
  25604. "\xd6\x79\x0f\x66\xb7\xc6\x57\x76"
  25605. "\xf7\xb7\xf3\x9c\xc5\x60\xe8\x7f"
  25606. "\x83\x76\xd6\x0e\xaa\xe6\x90\x39"
  25607. "\x1d\xa6\x32\x6a\x34\xe3\x55\xf8"
  25608. "\x58\xa0\x58\x7d\x33\xe0\x22\x39"
  25609. "\x44\x64\x87\x86\x5a\x2f\xa7\x7e"
  25610. "\x0f\x38\xea\xb0\x30\xcc\x61\xa5"
  25611. "\x6a\x32\xae\x1e\xf7\xe9\xd0\xa9"
  25612. "\x0c\x32\x4b\xb5\x49\x28\xab\x85"
  25613. "\x2f\x8e\x01\x36\x38\x52\xd0\xba"
  25614. "\xd6\x02\x78\xf8\x0e\x3e\x9c\x8b"
  25615. "\x6b\x45\x99\x3f\x5c\xfe\x58\xf1"
  25616. "\x5c\x94\x04\xe1\xf5\x18\x6d\x51"
  25617. "\xb2\x5d\x18\x20\xb6\xc2\x9a\x42"
  25618. "\x1d\xb3\xab\x3c\xb6\x3a\x13\x03"
  25619. "\xb2\x46\x82\x4f\xfc\x64\xbc\x4f"
  25620. "\xca\xfa\x9c\xc0\xd5\xa7\xbd\x11"
  25621. "\xb7\xe4\x5a\xf6\x6f\x4d\x4d\x54"
  25622. "\xea\xa4\x98\x66\xd4\x22\x3b\xd3"
  25623. "\x8f\x34\x47\xd9\x7c\xf4\x72\x3b"
  25624. "\x4d\x02\x77\xf6\xd6\xdd\x08\x0a"
  25625. "\x81\xe1\x86\x89\x3e\x56\x10\x3c"
  25626. "\xba\xd7\x81\x8c\x08\xbc\x8b\xe2"
  25627. "\x53\xec\xa7\x89\xee\xc8\x56\xb5"
  25628. "\x36\x2c\xb2\x03\xba\x99\xdd\x7c"
  25629. "\x48\xa0\xb0\xbc\x91\x33\xe9\xa8"
  25630. "\xcb\xcd\xcf\x59\x5f\x1f\x15\xe2"
  25631. "\x56\xf5\x4e\x01\x35\x27\x45\x77"
  25632. "\x47\xc8\xbc\xcb\x7e\x39\xc1\x97"
  25633. "\x28\xd3\x84\xfc\x2c\x3e\xc8\xad"
  25634. "\x9c\xf8\x8a\x61\x9c\x28\xaa\xc5"
  25635. "\x99\x20\x43\x85\x9d\xa5\xe2\x8b"
  25636. "\xb8\xae\xeb\xd0\x32\x0d\x52\x78"
  25637. "\x09\x56\x3f\xc7\xd8\x7e\x26\xfc"
  25638. "\x37\xfb\x6f\x04\xfc\xfa\x92\x10"
  25639. "\xac\xf8\x3e\x21\xdc\x8c\x21\x16"
  25640. "\x7d\x67\x6e\xf6\xcd\xda\xb6\x98"
  25641. "\x23\xab\x23\x3c\xb2\x10\xa0\x53"
  25642. "\x5a\x56\x9f\xc5\xd0\xff\xbb\xe4"
  25643. "\x98\x3c\x69\x1e\xdb\x38\x8f\x7e"
  25644. "\x0f\xd2\x98\x88\x81\x8b\x45\x67"
  25645. "\xea\x33\xf1\xeb\xe9\x97\x55\x2e"
  25646. "\xd9\xaa\xeb\x5a\xec\xda\xe1\x68"
  25647. "\xa8\x9d\x3c\x84\x7c\x05\x3d\x62"
  25648. "\x87\x8f\x03\x21\x28\x95\x0c\x89"
  25649. "\x25\x22\x4a\xb0\x93\xa9\x50\xa2"
  25650. "\x2f\x57\x6e\x18\x42\x19\x54\x0c"
  25651. "\x55\x67\xc6\x11\x49\xf4\x5c\xd2"
  25652. "\xe9\x3d\xdd\x8b\x48\x71\x21\x00"
  25653. "\xc3\x9a\x6c\x85\x74\x28\x83\x4a"
  25654. "\x1b\x31\x05\xe1\x06\x92\xe7\xda"
  25655. "\x85\x73\x78\x45\x20\x7f\xae\x13"
  25656. "\x7c\x33\x06\x22\xf4\x83\xf9\x35"
  25657. "\x3f\x6c\x71\xa8\x4e\x48\xbe\x9b"
  25658. "\xce\x8a\xba\xda\xbe\x28\x08\xf7"
  25659. "\xe2\x14\x8c\x71\xea\x72\xf9\x33"
  25660. "\xf2\x88\x3f\xd7\xbb\x69\x6c\x29"
  25661. "\x19\xdc\x84\xce\x1f\x12\x4f\xc8"
  25662. "\xaf\xa5\x04\xba\x5a\xab\xb0\xd9"
  25663. "\x14\x1f\x6c\x68\x98\x39\x89\x7a"
  25664. "\xd9\xd8\x2f\xdf\xa8\x47\x4a\x25"
  25665. "\xe2\xfb\x33\xf4\x59\x78\xe1\x68"
  25666. "\x85\xcf\xfe\x59\x20\xd4\x05\x1d"
  25667. "\x80\x99\xae\xbc\xca\xae\x0f\x2f"
  25668. "\x65\x43\x34\x8e\x7e\xac\xd3\x93"
  25669. "\x2f\xac\x6d\x14\x3d\x02\x07\x70"
  25670. "\x9d\xa4\xf3\x1b\x5c\x36\xfc\x01"
  25671. "\x73\x34\x85\x0c\x6c\xd6\xf1\xbd"
  25672. "\x3f\xdf\xee\xf5\xd9\xba\x56\xef"
  25673. "\xf4\x9b\x6b\xee\x9f\x5a\x78\x6d"
  25674. "\x32\x19\xf4\xf7\xf8\x4c\x69\x0b"
  25675. "\x4b\xbc\xbb\xb7\xf2\x85\xaf\x70"
  25676. "\x75\x24\x6c\x54\xa7\x0e\x4d\x1d"
  25677. "\x01\xbf\x08\xac\xcf\x7f\x2c\xe3"
  25678. "\x14\x89\x5e\x70\x5a\x99\x92\xcd"
  25679. "\x01\x84\xc8\xd2\xab\xe5\x4f\x58"
  25680. "\xe7\x0f\x2f\x0e\xff\x68\xea\xfd"
  25681. "\x15\xb3\x17\xe6\xb0\xe7\x85\xd8"
  25682. "\x23\x2e\x05\xc7\xc9\xc4\x46\x1f"
  25683. "\xe1\x9e\x49\x20\x23\x24\x4d\x7e"
  25684. "\x29\x65\xff\xf4\xb6\xfd\x1a\x85"
  25685. "\xc4\x16\xec\xfc\xea\x7b\xd6\x2c"
  25686. "\x43\xf8\xb7\xbf\x79\xc0\x85\xcd"
  25687. "\xef\xe1\x98\xd3\xa5\xf7\x90\x8c"
  25688. "\xe9\x7f\x80\x6b\xd2\xac\x4c\x30"
  25689. "\xa7\xc6\x61\x6c\xd2\xf9\x2c\xff"
  25690. "\x30\xbc\x22\x81\x7d\x93\x12\xe4"
  25691. "\x0a\xcd\xaf\xdd\xe8\xab\x0a\x1e"
  25692. "\x13\xa4\x27\xc3\x5f\xf7\x4b\xbb"
  25693. "\x37\x09\x4b\x91\x6f\x92\x4f\xaf"
  25694. "\x52\xee\xdf\xef\x09\x6f\xf7\x5c"
  25695. "\x6e\x12\x17\x72\x63\x57\xc7\xba"
  25696. "\x3b\x6b\x38\x32\x73\x1b\x9c\x80"
  25697. "\xc1\x7a\xc6\xcf\xcd\x35\xc0\x6b"
  25698. "\x31\x1a\x6b\xe9\xd8\x2c\x29\x3f"
  25699. "\x96\xfb\xb6\xcd\x13\x91\x3b\xc2"
  25700. "\xd2\xa3\x31\x8d\xa4\xcd\x57\xcd"
  25701. "\x13\x3d\x64\xfd\x06\xce\xe6\xdc"
  25702. "\x0c\x24\x43\x31\x40\x57\xf1\x72"
  25703. "\x17\xe3\x3a\x63\x6d\x35\xcf\x5d"
  25704. "\x97\x40\x59\xdd\xf7\x3c\x02\xf7"
  25705. "\x1c\x7e\x05\xbb\xa9\x0d\x01\xb1"
  25706. "\x8e\xc0\x30\xa9\x53\x24\xc9\x89"
  25707. "\x84\x6d\xaa\xd0\xcd\x91\xc2\x4d"
  25708. "\x91\xb0\x89\xe2\xbf\x83\x44\xaa"
  25709. "\x28\x72\x23\xa0\xc2\xad\xad\x1c"
  25710. "\xfc\x3f\x09\x7a\x0b\xdc\xc5\x1b"
  25711. "\x87\x13\xc6\x5b\x59\x8d\xf2\xc8"
  25712. "\xaf\xdf\x11\x95",
  25713. .len = 4100,
  25714. },
  25715. };
  25716. static const struct cipher_testvec chacha20_tv_template[] = {
  25717. { /* RFC7539 A.2. Test Vector #1 */
  25718. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25719. "\x00\x00\x00\x00\x00\x00\x00\x00"
  25720. "\x00\x00\x00\x00\x00\x00\x00\x00"
  25721. "\x00\x00\x00\x00\x00\x00\x00\x00",
  25722. .klen = 32,
  25723. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25724. "\x00\x00\x00\x00\x00\x00\x00\x00",
  25725. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25726. "\x00\x00\x00\x00\x00\x00\x00\x00"
  25727. "\x00\x00\x00\x00\x00\x00\x00\x00"
  25728. "\x00\x00\x00\x00\x00\x00\x00\x00"
  25729. "\x00\x00\x00\x00\x00\x00\x00\x00"
  25730. "\x00\x00\x00\x00\x00\x00\x00\x00"
  25731. "\x00\x00\x00\x00\x00\x00\x00\x00"
  25732. "\x00\x00\x00\x00\x00\x00\x00\x00",
  25733. .ctext = "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
  25734. "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
  25735. "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
  25736. "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
  25737. "\xda\x41\x59\x7c\x51\x57\x48\x8d"
  25738. "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
  25739. "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
  25740. "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
  25741. .len = 64,
  25742. }, { /* RFC7539 A.2. Test Vector #2 */
  25743. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25744. "\x00\x00\x00\x00\x00\x00\x00\x00"
  25745. "\x00\x00\x00\x00\x00\x00\x00\x00"
  25746. "\x00\x00\x00\x00\x00\x00\x00\x01",
  25747. .klen = 32,
  25748. .iv = "\x01\x00\x00\x00\x00\x00\x00\x00"
  25749. "\x00\x00\x00\x00\x00\x00\x00\x02",
  25750. .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  25751. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  25752. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  25753. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  25754. "\x64\x65\x64\x20\x62\x79\x20\x74"
  25755. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  25756. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  25757. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  25758. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  25759. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  25760. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  25761. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  25762. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  25763. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  25764. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  25765. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  25766. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  25767. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  25768. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  25769. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  25770. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  25771. "\x45\x54\x46\x20\x61\x63\x74\x69"
  25772. "\x76\x69\x74\x79\x20\x69\x73\x20"
  25773. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  25774. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  25775. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  25776. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  25777. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  25778. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  25779. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  25780. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  25781. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  25782. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  25783. "\x54\x46\x20\x73\x65\x73\x73\x69"
  25784. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  25785. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  25786. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  25787. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  25788. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  25789. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  25790. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  25791. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  25792. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  25793. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  25794. "\x20\x77\x68\x69\x63\x68\x20\x61"
  25795. "\x72\x65\x20\x61\x64\x64\x72\x65"
  25796. "\x73\x73\x65\x64\x20\x74\x6f",
  25797. .ctext = "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
  25798. "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
  25799. "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
  25800. "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
  25801. "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
  25802. "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
  25803. "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
  25804. "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
  25805. "\x40\x42\xe0\x27\x85\xec\xec\xfa"
  25806. "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
  25807. "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
  25808. "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
  25809. "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
  25810. "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
  25811. "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
  25812. "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
  25813. "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
  25814. "\xd6\x62\xab\x05\x26\x91\xca\x66"
  25815. "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
  25816. "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
  25817. "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
  25818. "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
  25819. "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
  25820. "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
  25821. "\x08\x71\xcd\xac\x63\x89\x39\xe2"
  25822. "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
  25823. "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
  25824. "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
  25825. "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
  25826. "\x37\x20\xfc\x88\xdc\x95\xed\x84"
  25827. "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
  25828. "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
  25829. "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
  25830. "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
  25831. "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
  25832. "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
  25833. "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
  25834. "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
  25835. "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
  25836. "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
  25837. "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
  25838. "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
  25839. "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
  25840. "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
  25841. "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
  25842. "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
  25843. "\xc4\xfd\x80\x6c\x22\xf2\x21",
  25844. .len = 375,
  25845. }, { /* RFC7539 A.2. Test Vector #3 */
  25846. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  25847. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  25848. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  25849. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  25850. .klen = 32,
  25851. .iv = "\x2a\x00\x00\x00\x00\x00\x00\x00"
  25852. "\x00\x00\x00\x00\x00\x00\x00\x02",
  25853. .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
  25854. "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
  25855. "\x6e\x64\x20\x74\x68\x65\x20\x73"
  25856. "\x6c\x69\x74\x68\x79\x20\x74\x6f"
  25857. "\x76\x65\x73\x0a\x44\x69\x64\x20"
  25858. "\x67\x79\x72\x65\x20\x61\x6e\x64"
  25859. "\x20\x67\x69\x6d\x62\x6c\x65\x20"
  25860. "\x69\x6e\x20\x74\x68\x65\x20\x77"
  25861. "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
  25862. "\x20\x6d\x69\x6d\x73\x79\x20\x77"
  25863. "\x65\x72\x65\x20\x74\x68\x65\x20"
  25864. "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
  25865. "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
  25866. "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
  25867. "\x72\x61\x74\x68\x73\x20\x6f\x75"
  25868. "\x74\x67\x72\x61\x62\x65\x2e",
  25869. .ctext = "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
  25870. "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
  25871. "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
  25872. "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
  25873. "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
  25874. "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
  25875. "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
  25876. "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
  25877. "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
  25878. "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
  25879. "\x1a\x55\x32\x05\x57\x16\xea\xd6"
  25880. "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
  25881. "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
  25882. "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
  25883. "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
  25884. "\x75\x7a\x79\x7a\xc1\x88\xd1",
  25885. .len = 127,
  25886. }, { /* Self-made test vector for long data */
  25887. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  25888. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  25889. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  25890. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  25891. .klen = 32,
  25892. .iv = "\x1c\x00\x00\x00\x00\x00\x00\x00"
  25893. "\x00\x00\x00\x00\x00\x00\x00\x01",
  25894. .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
  25895. "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
  25896. "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
  25897. "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
  25898. "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
  25899. "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
  25900. "\x01\xc6\x67\xda\x03\x91\x18\x90"
  25901. "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
  25902. "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
  25903. "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
  25904. "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
  25905. "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
  25906. "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
  25907. "\x33\x97\xc3\x77\xba\xc5\x70\xde"
  25908. "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
  25909. "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
  25910. "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
  25911. "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
  25912. "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
  25913. "\x79\x49\x41\xf4\x58\x18\xcb\x86"
  25914. "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
  25915. "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
  25916. "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
  25917. "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
  25918. "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
  25919. "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
  25920. "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
  25921. "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
  25922. "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
  25923. "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
  25924. "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
  25925. "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
  25926. "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
  25927. "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
  25928. "\x24\x74\x75\x7f\x95\x81\xb7\x30"
  25929. "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
  25930. "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
  25931. "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
  25932. "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
  25933. "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
  25934. "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
  25935. "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
  25936. "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
  25937. "\x49\x46\x00\x88\x22\x8d\xce\xea"
  25938. "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
  25939. "\x72\x11\xf5\x50\x73\x04\x40\x47"
  25940. "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
  25941. "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
  25942. "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
  25943. "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
  25944. "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
  25945. "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
  25946. "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
  25947. "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
  25948. "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
  25949. "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
  25950. "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
  25951. "\x8b\x10\x67\xa3\x01\x57\x94\x25"
  25952. "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
  25953. "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
  25954. "\x58\xb1\x47\x90\xfe\x42\x21\x72"
  25955. "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
  25956. "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
  25957. "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
  25958. "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
  25959. "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
  25960. "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
  25961. "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
  25962. "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
  25963. "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
  25964. "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
  25965. "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
  25966. "\x65\x69\x8a\x45\x29\xef\x74\x85"
  25967. "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
  25968. "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
  25969. "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
  25970. "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
  25971. "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
  25972. "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
  25973. "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
  25974. "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
  25975. "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
  25976. "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
  25977. "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
  25978. "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
  25979. "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
  25980. "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
  25981. "\x10\x26\x38\x07\xe5\xc7\x36\x80"
  25982. "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
  25983. "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
  25984. "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
  25985. "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
  25986. "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
  25987. "\x83\x66\x80\x47\x80\xe8\xfd\x35"
  25988. "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
  25989. "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
  25990. "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
  25991. "\x25\x94\x10\x5f\x40\x00\x64\x99"
  25992. "\xdc\xae\xd7\x21\x09\x78\x50\x15"
  25993. "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
  25994. "\x87\x6e\x6d\xab\xde\x08\x51\x16"
  25995. "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
  25996. "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
  25997. "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
  25998. "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
  25999. "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
  26000. "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
  26001. "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
  26002. "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
  26003. "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
  26004. "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
  26005. "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
  26006. "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
  26007. "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
  26008. "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
  26009. "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
  26010. "\xb9\x83\x90\xef\x20\x59\x46\xff"
  26011. "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
  26012. "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
  26013. "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
  26014. "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
  26015. "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
  26016. "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
  26017. "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
  26018. "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
  26019. "\x94\x97\xea\xdd\x58\x9e\xae\x76"
  26020. "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
  26021. "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
  26022. "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
  26023. "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
  26024. "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
  26025. "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
  26026. "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
  26027. "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
  26028. "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
  26029. "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
  26030. "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
  26031. "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
  26032. "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
  26033. "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
  26034. "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
  26035. "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
  26036. "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
  26037. "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
  26038. "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
  26039. "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
  26040. "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
  26041. "\xac\xf3\x13\x53\x27\x45\xaf\x64"
  26042. "\x46\xdc\xea\x23\xda\x97\xd1\xab"
  26043. "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
  26044. "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
  26045. "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
  26046. "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
  26047. "\xca\x34\x83\x27\x10\x5b\x68\x45"
  26048. "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
  26049. "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
  26050. "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
  26051. "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
  26052. "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
  26053. "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
  26054. "\x72",
  26055. .ctext = "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
  26056. "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
  26057. "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
  26058. "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
  26059. "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
  26060. "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
  26061. "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
  26062. "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
  26063. "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
  26064. "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
  26065. "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
  26066. "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
  26067. "\x33\x4a\x71\x15\xfe\xee\x12\x54"
  26068. "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
  26069. "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
  26070. "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
  26071. "\x57\x0e\x94\x17\x26\x39\xbb\x54"
  26072. "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
  26073. "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
  26074. "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
  26075. "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
  26076. "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
  26077. "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
  26078. "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
  26079. "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
  26080. "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
  26081. "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
  26082. "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
  26083. "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
  26084. "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
  26085. "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
  26086. "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
  26087. "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
  26088. "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
  26089. "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
  26090. "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
  26091. "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
  26092. "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
  26093. "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
  26094. "\xae\xe7\x61\x32\xef\x41\x6c\x75"
  26095. "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
  26096. "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
  26097. "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
  26098. "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
  26099. "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
  26100. "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
  26101. "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
  26102. "\xc1\x22\xf3\x79\xae\x95\x78\x66"
  26103. "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
  26104. "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
  26105. "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
  26106. "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
  26107. "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
  26108. "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
  26109. "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
  26110. "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
  26111. "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
  26112. "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
  26113. "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
  26114. "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
  26115. "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
  26116. "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
  26117. "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
  26118. "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
  26119. "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
  26120. "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
  26121. "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
  26122. "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
  26123. "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
  26124. "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
  26125. "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
  26126. "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
  26127. "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
  26128. "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
  26129. "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
  26130. "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
  26131. "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
  26132. "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
  26133. "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
  26134. "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
  26135. "\x54\x1c\x34\x72\xde\x0c\x68\x39"
  26136. "\x9d\x32\xa5\x75\x92\x13\x32\xea"
  26137. "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
  26138. "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
  26139. "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
  26140. "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
  26141. "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
  26142. "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
  26143. "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
  26144. "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
  26145. "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
  26146. "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
  26147. "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
  26148. "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
  26149. "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
  26150. "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
  26151. "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
  26152. "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
  26153. "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
  26154. "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
  26155. "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
  26156. "\x79\x61\x23\xe0\xa2\x99\x73\x55"
  26157. "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
  26158. "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
  26159. "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
  26160. "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
  26161. "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
  26162. "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
  26163. "\x48\x56\xaa\x85\x22\xd8\x36\xed"
  26164. "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
  26165. "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
  26166. "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
  26167. "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
  26168. "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
  26169. "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
  26170. "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
  26171. "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
  26172. "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
  26173. "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
  26174. "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
  26175. "\xec\x83\x92\x99\x87\x47\xe0\x7c"
  26176. "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
  26177. "\x98\xb0\x87\xb6\x86\x13\x64\x33"
  26178. "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
  26179. "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
  26180. "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
  26181. "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
  26182. "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
  26183. "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
  26184. "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
  26185. "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
  26186. "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
  26187. "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
  26188. "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
  26189. "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
  26190. "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
  26191. "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
  26192. "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
  26193. "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
  26194. "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
  26195. "\x5f\xae\x25\x84\x22\x90\x5f\x26"
  26196. "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
  26197. "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
  26198. "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
  26199. "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
  26200. "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
  26201. "\x74\x06\x89\x0e\x90\xeb\x85\xff"
  26202. "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
  26203. "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
  26204. "\x02\x85\x68\xd0\x03\x12\xde\x92"
  26205. "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
  26206. "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
  26207. "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
  26208. "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
  26209. "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
  26210. "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
  26211. "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
  26212. "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
  26213. "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
  26214. "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
  26215. "\x98",
  26216. .len = 1281,
  26217. },
  26218. };
  26219. static const struct cipher_testvec xchacha20_tv_template[] = {
  26220. { /* from libsodium test/default/xchacha20.c */
  26221. .key = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
  26222. "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
  26223. "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
  26224. "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
  26225. .klen = 32,
  26226. .iv = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
  26227. "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
  26228. "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
  26229. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26230. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26231. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26232. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26233. "\x00\x00\x00\x00\x00",
  26234. .ctext = "\xc6\xe9\x75\x81\x60\x08\x3a\xc6"
  26235. "\x04\xef\x90\xe7\x12\xce\x6e\x75"
  26236. "\xd7\x79\x75\x90\x74\x4e\x0c\xf0"
  26237. "\x60\xf0\x13\x73\x9c",
  26238. .len = 29,
  26239. }, { /* from libsodium test/default/xchacha20.c */
  26240. .key = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
  26241. "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
  26242. "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
  26243. "\x22\x35\xea\xaf\x60\x1d\x62\x32",
  26244. .klen = 32,
  26245. .iv = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
  26246. "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
  26247. "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
  26248. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26249. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26250. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26251. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26252. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26253. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26254. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26255. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26256. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26257. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26258. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26259. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26260. "\x00\x00\x00",
  26261. .ctext = "\xa2\x12\x09\x09\x65\x94\xde\x8c"
  26262. "\x56\x67\xb1\xd1\x3a\xd9\x3f\x74"
  26263. "\x41\x06\xd0\x54\xdf\x21\x0e\x47"
  26264. "\x82\xcd\x39\x6f\xec\x69\x2d\x35"
  26265. "\x15\xa2\x0b\xf3\x51\xee\xc0\x11"
  26266. "\xa9\x2c\x36\x78\x88\xbc\x46\x4c"
  26267. "\x32\xf0\x80\x7a\xcd\x6c\x20\x3a"
  26268. "\x24\x7e\x0d\xb8\x54\x14\x84\x68"
  26269. "\xe9\xf9\x6b\xee\x4c\xf7\x18\xd6"
  26270. "\x8d\x5f\x63\x7c\xbd\x5a\x37\x64"
  26271. "\x57\x78\x8e\x6f\xae\x90\xfc\x31"
  26272. "\x09\x7c\xfc",
  26273. .len = 91,
  26274. }, { /* Taken from the ChaCha20 test vectors, appended 12 random bytes
  26275. to the nonce, zero-padded the stream position from 4 to 8 bytes,
  26276. and recomputed the ciphertext using libsodium's XChaCha20 */
  26277. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26278. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26279. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26280. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26281. .klen = 32,
  26282. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26283. "\x00\x00\x00\x00\x67\xc6\x69\x73"
  26284. "\x51\xff\x4a\xec\x29\xcd\xba\xab"
  26285. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26286. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26287. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26288. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26289. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26290. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26291. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26292. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26293. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26294. .ctext = "\x9c\x49\x2a\xe7\x8a\x2f\x93\xc7"
  26295. "\xb3\x33\x6f\x82\x17\xd8\xc4\x1e"
  26296. "\xad\x80\x11\x11\x1d\x4c\x16\x18"
  26297. "\x07\x73\x9b\x4f\xdb\x7c\xcb\x47"
  26298. "\xfd\xef\x59\x74\xfa\x3f\xe5\x4c"
  26299. "\x9b\xd0\xea\xbc\xba\x56\xad\x32"
  26300. "\x03\xdc\xf8\x2b\xc1\xe1\x75\x67"
  26301. "\x23\x7b\xe6\xfc\xd4\x03\x86\x54",
  26302. .len = 64,
  26303. }, { /* Derived from a ChaCha20 test vector, via the process above */
  26304. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26305. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26306. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26307. "\x00\x00\x00\x00\x00\x00\x00\x01",
  26308. .klen = 32,
  26309. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26310. "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
  26311. "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
  26312. "\x01\x00\x00\x00\x00\x00\x00\x00",
  26313. .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  26314. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  26315. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  26316. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  26317. "\x64\x65\x64\x20\x62\x79\x20\x74"
  26318. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  26319. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  26320. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  26321. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  26322. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  26323. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  26324. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  26325. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  26326. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  26327. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  26328. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  26329. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  26330. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  26331. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  26332. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  26333. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  26334. "\x45\x54\x46\x20\x61\x63\x74\x69"
  26335. "\x76\x69\x74\x79\x20\x69\x73\x20"
  26336. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  26337. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  26338. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  26339. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  26340. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  26341. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  26342. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  26343. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  26344. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  26345. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  26346. "\x54\x46\x20\x73\x65\x73\x73\x69"
  26347. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  26348. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  26349. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  26350. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  26351. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  26352. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  26353. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  26354. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  26355. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  26356. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  26357. "\x20\x77\x68\x69\x63\x68\x20\x61"
  26358. "\x72\x65\x20\x61\x64\x64\x72\x65"
  26359. "\x73\x73\x65\x64\x20\x74\x6f",
  26360. .ctext = "\xf9\xab\x7a\x4a\x60\xb8\x5f\xa0"
  26361. "\x50\xbb\x57\xce\xef\x8c\xc1\xd9"
  26362. "\x24\x15\xb3\x67\x5e\x7f\x01\xf6"
  26363. "\x1c\x22\xf6\xe5\x71\xb1\x43\x64"
  26364. "\x63\x05\xd5\xfc\x5c\x3d\xc0\x0e"
  26365. "\x23\xef\xd3\x3b\xd9\xdc\x7f\xa8"
  26366. "\x58\x26\xb3\xd0\xc2\xd5\x04\x3f"
  26367. "\x0a\x0e\x8f\x17\xe4\xcd\xf7\x2a"
  26368. "\xb4\x2c\x09\xe4\x47\xec\x8b\xfb"
  26369. "\x59\x37\x7a\xa1\xd0\x04\x7e\xaa"
  26370. "\xf1\x98\x5f\x24\x3d\x72\x9a\x43"
  26371. "\xa4\x36\x51\x92\x22\x87\xff\x26"
  26372. "\xce\x9d\xeb\x59\x78\x84\x5e\x74"
  26373. "\x97\x2e\x63\xc0\xef\x29\xf7\x8a"
  26374. "\xb9\xee\x35\x08\x77\x6a\x35\x9a"
  26375. "\x3e\xe6\x4f\x06\x03\x74\x1b\xc1"
  26376. "\x5b\xb3\x0b\x89\x11\x07\xd3\xb7"
  26377. "\x53\xd6\x25\x04\xd9\x35\xb4\x5d"
  26378. "\x4c\x33\x5a\xc2\x42\x4c\xe6\xa4"
  26379. "\x97\x6e\x0e\xd2\xb2\x8b\x2f\x7f"
  26380. "\x28\xe5\x9f\xac\x4b\x2e\x02\xab"
  26381. "\x85\xfa\xa9\x0d\x7c\x2d\x10\xe6"
  26382. "\x91\xab\x55\x63\xf0\xde\x3a\x94"
  26383. "\x25\x08\x10\x03\xc2\x68\xd1\xf4"
  26384. "\xaf\x7d\x9c\x99\xf7\x86\x96\x30"
  26385. "\x60\xfc\x0b\xe6\xa8\x80\x15\xb0"
  26386. "\x81\xb1\x0c\xbe\xb9\x12\x18\x25"
  26387. "\xe9\x0e\xb1\xe7\x23\xb2\xef\x4a"
  26388. "\x22\x8f\xc5\x61\x89\xd4\xe7\x0c"
  26389. "\x64\x36\x35\x61\xb6\x34\x60\xf7"
  26390. "\x7b\x61\x37\x37\x12\x10\xa2\xf6"
  26391. "\x7e\xdb\x7f\x39\x3f\xb6\x8e\x89"
  26392. "\x9e\xf3\xfe\x13\x98\xbb\x66\x5a"
  26393. "\xec\xea\xab\x3f\x9c\x87\xc4\x8c"
  26394. "\x8a\x04\x18\x49\xfc\x77\x11\x50"
  26395. "\x16\xe6\x71\x2b\xee\xc0\x9c\xb6"
  26396. "\x87\xfd\x80\xff\x0b\x1d\x73\x38"
  26397. "\xa4\x1d\x6f\xae\xe4\x12\xd7\x93"
  26398. "\x9d\xcd\x38\x26\x09\x40\x52\xcd"
  26399. "\x67\x01\x67\x26\xe0\x3e\x98\xa8"
  26400. "\xe8\x1a\x13\x41\xbb\x90\x4d\x87"
  26401. "\xbb\x42\x82\x39\xce\x3a\xd0\x18"
  26402. "\x6d\x7b\x71\x8f\xbb\x2c\x6a\xd1"
  26403. "\xbd\xf5\xc7\x8a\x7e\xe1\x1e\x0f"
  26404. "\x0d\x0d\x13\x7c\xd9\xd8\x3c\x91"
  26405. "\xab\xff\x1f\x12\xc3\xee\xe5\x65"
  26406. "\x12\x8d\x7b\x61\xe5\x1f\x98",
  26407. .len = 375,
  26408. }, { /* Derived from a ChaCha20 test vector, via the process above */
  26409. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  26410. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  26411. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  26412. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  26413. .klen = 32,
  26414. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26415. "\x00\x00\x00\x02\x76\x5a\x2e\x63"
  26416. "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
  26417. "\x2a\x00\x00\x00\x00\x00\x00\x00",
  26418. .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
  26419. "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
  26420. "\x6e\x64\x20\x74\x68\x65\x20\x73"
  26421. "\x6c\x69\x74\x68\x79\x20\x74\x6f"
  26422. "\x76\x65\x73\x0a\x44\x69\x64\x20"
  26423. "\x67\x79\x72\x65\x20\x61\x6e\x64"
  26424. "\x20\x67\x69\x6d\x62\x6c\x65\x20"
  26425. "\x69\x6e\x20\x74\x68\x65\x20\x77"
  26426. "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
  26427. "\x20\x6d\x69\x6d\x73\x79\x20\x77"
  26428. "\x65\x72\x65\x20\x74\x68\x65\x20"
  26429. "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
  26430. "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
  26431. "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
  26432. "\x72\x61\x74\x68\x73\x20\x6f\x75"
  26433. "\x74\x67\x72\x61\x62\x65\x2e",
  26434. .ctext = "\x95\xb9\x51\xe7\x8f\xb4\xa4\x03"
  26435. "\xca\x37\xcc\xde\x60\x1d\x8c\xe2"
  26436. "\xf1\xbb\x8a\x13\x7f\x61\x85\xcc"
  26437. "\xad\xf4\xf0\xdc\x86\xa6\x1e\x10"
  26438. "\xbc\x8e\xcb\x38\x2b\xa5\xc8\x8f"
  26439. "\xaa\x03\x3d\x53\x4a\x42\xb1\x33"
  26440. "\xfc\xd3\xef\xf0\x8e\x7e\x10\x9c"
  26441. "\x6f\x12\x5e\xd4\x96\xfe\x5b\x08"
  26442. "\xb6\x48\xf0\x14\x74\x51\x18\x7c"
  26443. "\x07\x92\xfc\xac\x9d\xf1\x94\xc0"
  26444. "\xc1\x9d\xc5\x19\x43\x1f\x1d\xbb"
  26445. "\x07\xf0\x1b\x14\x25\x45\xbb\xcb"
  26446. "\x5c\xe2\x8b\x28\xf3\xcf\x47\x29"
  26447. "\x27\x79\x67\x24\xa6\x87\xc2\x11"
  26448. "\x65\x03\xfa\x45\xf7\x9e\x53\x7a"
  26449. "\x99\xf1\x82\x25\x4f\x8d\x07",
  26450. .len = 127,
  26451. }, { /* Derived from a ChaCha20 test vector, via the process above */
  26452. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  26453. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  26454. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  26455. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  26456. .klen = 32,
  26457. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26458. "\x00\x00\x00\x01\x31\x58\xa3\x5a"
  26459. "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
  26460. "\x1c\x00\x00\x00\x00\x00\x00\x00",
  26461. .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
  26462. "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
  26463. "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
  26464. "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
  26465. "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
  26466. "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
  26467. "\x01\xc6\x67\xda\x03\x91\x18\x90"
  26468. "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
  26469. "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
  26470. "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
  26471. "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
  26472. "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
  26473. "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
  26474. "\x33\x97\xc3\x77\xba\xc5\x70\xde"
  26475. "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
  26476. "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
  26477. "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
  26478. "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
  26479. "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
  26480. "\x79\x49\x41\xf4\x58\x18\xcb\x86"
  26481. "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
  26482. "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
  26483. "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
  26484. "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
  26485. "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
  26486. "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
  26487. "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
  26488. "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
  26489. "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
  26490. "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
  26491. "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
  26492. "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
  26493. "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
  26494. "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
  26495. "\x24\x74\x75\x7f\x95\x81\xb7\x30"
  26496. "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
  26497. "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
  26498. "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
  26499. "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
  26500. "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
  26501. "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
  26502. "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
  26503. "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
  26504. "\x49\x46\x00\x88\x22\x8d\xce\xea"
  26505. "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
  26506. "\x72\x11\xf5\x50\x73\x04\x40\x47"
  26507. "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
  26508. "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
  26509. "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
  26510. "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
  26511. "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
  26512. "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
  26513. "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
  26514. "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
  26515. "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
  26516. "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
  26517. "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
  26518. "\x8b\x10\x67\xa3\x01\x57\x94\x25"
  26519. "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
  26520. "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
  26521. "\x58\xb1\x47\x90\xfe\x42\x21\x72"
  26522. "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
  26523. "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
  26524. "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
  26525. "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
  26526. "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
  26527. "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
  26528. "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
  26529. "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
  26530. "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
  26531. "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
  26532. "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
  26533. "\x65\x69\x8a\x45\x29\xef\x74\x85"
  26534. "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
  26535. "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
  26536. "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
  26537. "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
  26538. "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
  26539. "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
  26540. "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
  26541. "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
  26542. "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
  26543. "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
  26544. "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
  26545. "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
  26546. "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
  26547. "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
  26548. "\x10\x26\x38\x07\xe5\xc7\x36\x80"
  26549. "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
  26550. "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
  26551. "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
  26552. "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
  26553. "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
  26554. "\x83\x66\x80\x47\x80\xe8\xfd\x35"
  26555. "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
  26556. "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
  26557. "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
  26558. "\x25\x94\x10\x5f\x40\x00\x64\x99"
  26559. "\xdc\xae\xd7\x21\x09\x78\x50\x15"
  26560. "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
  26561. "\x87\x6e\x6d\xab\xde\x08\x51\x16"
  26562. "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
  26563. "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
  26564. "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
  26565. "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
  26566. "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
  26567. "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
  26568. "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
  26569. "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
  26570. "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
  26571. "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
  26572. "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
  26573. "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
  26574. "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
  26575. "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
  26576. "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
  26577. "\xb9\x83\x90\xef\x20\x59\x46\xff"
  26578. "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
  26579. "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
  26580. "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
  26581. "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
  26582. "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
  26583. "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
  26584. "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
  26585. "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
  26586. "\x94\x97\xea\xdd\x58\x9e\xae\x76"
  26587. "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
  26588. "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
  26589. "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
  26590. "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
  26591. "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
  26592. "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
  26593. "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
  26594. "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
  26595. "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
  26596. "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
  26597. "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
  26598. "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
  26599. "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
  26600. "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
  26601. "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
  26602. "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
  26603. "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
  26604. "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
  26605. "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
  26606. "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
  26607. "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
  26608. "\xac\xf3\x13\x53\x27\x45\xaf\x64"
  26609. "\x46\xdc\xea\x23\xda\x97\xd1\xab"
  26610. "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
  26611. "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
  26612. "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
  26613. "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
  26614. "\xca\x34\x83\x27\x10\x5b\x68\x45"
  26615. "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
  26616. "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
  26617. "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
  26618. "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
  26619. "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
  26620. "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
  26621. "\x72",
  26622. .ctext = "\x3a\x92\xee\x53\x31\xaf\x2b\x60"
  26623. "\x5f\x55\x8d\x00\x5d\xfc\x74\x97"
  26624. "\x28\x54\xf4\xa5\x75\xf1\x9b\x25"
  26625. "\x62\x1c\xc0\xe0\x13\xc8\x87\x53"
  26626. "\xd0\xf3\xa7\x97\x1f\x3b\x1e\xea"
  26627. "\xe0\xe5\x2a\xd1\xdd\xa4\x3b\x50"
  26628. "\x45\xa3\x0d\x7e\x1b\xc9\xa0\xad"
  26629. "\xb9\x2c\x54\xa6\xc7\x55\x16\xd0"
  26630. "\xc5\x2e\x02\x44\x35\xd0\x7e\x67"
  26631. "\xf2\xc4\x9b\xcd\x95\x10\xcc\x29"
  26632. "\x4b\xfa\x86\x87\xbe\x40\x36\xbe"
  26633. "\xe1\xa3\x52\x89\x55\x20\x9b\xc2"
  26634. "\xab\xf2\x31\x34\x16\xad\xc8\x17"
  26635. "\x65\x24\xc0\xff\x12\x37\xfe\x5a"
  26636. "\x62\x3b\x59\x47\x6c\x5f\x3a\x8e"
  26637. "\x3b\xd9\x30\xc8\x7f\x2f\x88\xda"
  26638. "\x80\xfd\x02\xda\x7f\x9a\x7a\x73"
  26639. "\x59\xc5\x34\x09\x9a\x11\xcb\xa7"
  26640. "\xfc\xf6\xa1\xa0\x60\xfb\x43\xbb"
  26641. "\xf1\xe9\xd7\xc6\x79\x27\x4e\xff"
  26642. "\x22\xb4\x24\xbf\x76\xee\x47\xb9"
  26643. "\x6d\x3f\x8b\xb0\x9c\x3c\x43\xdd"
  26644. "\xff\x25\x2e\x6d\xa4\x2b\xfb\x5d"
  26645. "\x1b\x97\x6c\x55\x0a\x82\x7a\x7b"
  26646. "\x94\x34\xc2\xdb\x2f\x1f\xc1\xea"
  26647. "\xd4\x4d\x17\x46\x3b\x51\x69\x09"
  26648. "\xe4\x99\x32\x25\xfd\x94\xaf\xfb"
  26649. "\x10\xf7\x4f\xdd\x0b\x3c\x8b\x41"
  26650. "\xb3\x6a\xb7\xd1\x33\xa8\x0c\x2f"
  26651. "\x62\x4c\x72\x11\xd7\x74\xe1\x3b"
  26652. "\x38\x43\x66\x7b\x6c\x36\x48\xe7"
  26653. "\xe3\xe7\x9d\xb9\x42\x73\x7a\x2a"
  26654. "\x89\x20\x1a\x41\x80\x03\xf7\x8f"
  26655. "\x61\x78\x13\xbf\xfe\x50\xf5\x04"
  26656. "\x52\xf9\xac\x47\xf8\x62\x4b\xb2"
  26657. "\x24\xa9\xbf\x64\xb0\x18\x69\xd2"
  26658. "\xf5\xe4\xce\xc8\xb1\x87\x75\xd6"
  26659. "\x2c\x24\x79\x00\x7d\x26\xfb\x44"
  26660. "\xe7\x45\x7a\xee\x58\xa5\x83\xc1"
  26661. "\xb4\x24\xab\x23\x2f\x4d\xd7\x4f"
  26662. "\x1c\xc7\xaa\xa9\x50\xf4\xa3\x07"
  26663. "\x12\x13\x89\x74\xdc\x31\x6a\xb2"
  26664. "\xf5\x0f\x13\x8b\xb9\xdb\x85\x1f"
  26665. "\xf5\xbc\x88\xd9\x95\xea\x31\x6c"
  26666. "\x36\x60\xb6\x49\xdc\xc4\xf7\x55"
  26667. "\x3f\x21\xc1\xb5\x92\x18\x5e\xbc"
  26668. "\x9f\x87\x7f\xe7\x79\x25\x40\x33"
  26669. "\xd6\xb9\x33\xd5\x50\xb3\xc7\x89"
  26670. "\x1b\x12\xa0\x46\xdd\xa7\xd8\x3e"
  26671. "\x71\xeb\x6f\x66\xa1\x26\x0c\x67"
  26672. "\xab\xb2\x38\x58\x17\xd8\x44\x3b"
  26673. "\x16\xf0\x8e\x62\x8d\x16\x10\x00"
  26674. "\x32\x8b\xef\xb9\x28\xd3\xc5\xad"
  26675. "\x0a\x19\xa2\xe4\x03\x27\x7d\x94"
  26676. "\x06\x18\xcd\xd6\x27\x00\xf9\x1f"
  26677. "\xb6\xb3\xfe\x96\x35\x5f\xc4\x1c"
  26678. "\x07\x62\x10\x79\x68\x50\xf1\x7e"
  26679. "\x29\xe7\xc4\xc4\xe7\xee\x54\xd6"
  26680. "\x58\x76\x84\x6d\x8d\xe4\x59\x31"
  26681. "\xe9\xf4\xdc\xa1\x1f\xe5\x1a\xd6"
  26682. "\xe6\x64\x46\xf5\x77\x9c\x60\x7a"
  26683. "\x5e\x62\xe3\x0a\xd4\x9f\x7a\x2d"
  26684. "\x7a\xa5\x0a\x7b\x29\x86\x7a\x74"
  26685. "\x74\x71\x6b\xca\x7d\x1d\xaa\xba"
  26686. "\x39\x84\x43\x76\x35\xfe\x4f\x9b"
  26687. "\xbb\xbb\xb5\x6a\x32\xb5\x5d\x41"
  26688. "\x51\xf0\x5b\x68\x03\x47\x4b\x8a"
  26689. "\xca\x88\xf6\x37\xbd\x73\x51\x70"
  26690. "\x66\xfe\x9e\x5f\x21\x9c\xf3\xdd"
  26691. "\xc3\xea\x27\xf9\x64\x94\xe1\x19"
  26692. "\xa0\xa9\xab\x60\xe0\x0e\xf7\x78"
  26693. "\x70\x86\xeb\xe0\xd1\x5c\x05\xd3"
  26694. "\xd7\xca\xe0\xc0\x47\x47\x34\xee"
  26695. "\x11\xa3\xa3\x54\x98\xb7\x49\x8e"
  26696. "\x84\x28\x70\x2c\x9e\xfb\x55\x54"
  26697. "\x4d\xf8\x86\xf7\x85\x7c\xbd\xf3"
  26698. "\x17\xd8\x47\xcb\xac\xf4\x20\x85"
  26699. "\x34\x66\xad\x37\x2d\x5e\x52\xda"
  26700. "\x8a\xfe\x98\x55\x30\xe7\x2d\x2b"
  26701. "\x19\x10\x8e\x7b\x66\x5e\xdc\xe0"
  26702. "\x45\x1f\x7b\xb4\x08\xfb\x8f\xf6"
  26703. "\x8c\x89\x21\x34\x55\x27\xb2\x76"
  26704. "\xb2\x07\xd9\xd6\x68\x9b\xea\x6b"
  26705. "\x2d\xb4\xc4\x35\xdd\xd2\x79\xae"
  26706. "\xc7\xd6\x26\x7f\x12\x01\x8c\xa7"
  26707. "\xe3\xdb\xa8\xf4\xf7\x2b\xec\x99"
  26708. "\x11\x00\xf1\x35\x8c\xcf\xd5\xc9"
  26709. "\xbd\x91\x36\x39\x70\xcf\x7d\x70"
  26710. "\x47\x1a\xfc\x6b\x56\xe0\x3f\x9c"
  26711. "\x60\x49\x01\x72\xa9\xaf\x2c\x9c"
  26712. "\xe8\xab\xda\x8c\x14\x19\xf3\x75"
  26713. "\x07\x17\x9d\x44\x67\x7a\x2e\xef"
  26714. "\xb7\x83\x35\x4a\xd1\x3d\x1c\x84"
  26715. "\x32\xdd\xaa\xea\xca\x1d\xdc\x72"
  26716. "\x2c\xcc\x43\xcd\x5d\xe3\x21\xa4"
  26717. "\xd0\x8a\x4b\x20\x12\xa3\xd5\x86"
  26718. "\x76\x96\xff\x5f\x04\x57\x0f\xe6"
  26719. "\xba\xe8\x76\x50\x0c\x64\x1d\x83"
  26720. "\x9c\x9b\x9a\x9a\x58\x97\x9c\x5c"
  26721. "\xb4\xa4\xa6\x3e\x19\xeb\x8f\x5a"
  26722. "\x61\xb2\x03\x7b\x35\x19\xbe\xa7"
  26723. "\x63\x0c\xfd\xdd\xf9\x90\x6c\x08"
  26724. "\x19\x11\xd3\x65\x4a\xf5\x96\x92"
  26725. "\x59\xaa\x9c\x61\x0c\x29\xa7\xf8"
  26726. "\x14\x39\x37\xbf\x3c\xf2\x16\x72"
  26727. "\x02\xfa\xa2\xf3\x18\x67\x5d\xcb"
  26728. "\xdc\x4d\xbb\x96\xff\x70\x08\x2d"
  26729. "\xc2\xa8\x52\xe1\x34\x5f\x72\xfe"
  26730. "\x64\xbf\xca\xa7\x74\x38\xfb\x74"
  26731. "\x55\x9c\xfa\x8a\xed\xfb\x98\xeb"
  26732. "\x58\x2e\x6c\xe1\x52\x76\x86\xd7"
  26733. "\xcf\xa1\xa4\xfc\xb2\x47\x41\x28"
  26734. "\xa3\xc1\xe5\xfd\x53\x19\x28\x2b"
  26735. "\x37\x04\x65\x96\x99\x7a\x28\x0f"
  26736. "\x07\x68\x4b\xc7\x52\x0a\x55\x35"
  26737. "\x40\x19\x95\x61\xe8\x59\x40\x1f"
  26738. "\x9d\xbf\x78\x7d\x8f\x84\xff\x6f"
  26739. "\xd0\xd5\x63\xd2\x22\xbd\xc8\x4e"
  26740. "\xfb\xe7\x9f\x06\xe6\xe7\x39\x6d"
  26741. "\x6a\x96\x9f\xf0\x74\x7e\xc9\x35"
  26742. "\xb7\x26\xb8\x1c\x0a\xa6\x27\x2c"
  26743. "\xa2\x2b\xfe\xbe\x0f\x07\x73\xae"
  26744. "\x7f\x7f\x54\xf5\x7c\x6a\x0a\x56"
  26745. "\x49\xd4\x81\xe5\x85\x53\x99\x1f"
  26746. "\x95\x05\x13\x58\x8d\x0e\x1b\x90"
  26747. "\xc3\x75\x48\x64\x58\x98\x67\x84"
  26748. "\xae\xe2\x21\xa2\x8a\x04\x0a\x0b"
  26749. "\x61\xaa\xb0\xd4\x28\x60\x7a\xf8"
  26750. "\xbc\x52\xfb\x24\x7f\xed\x0d\x2a"
  26751. "\x0a\xb2\xf9\xc6\x95\xb5\x11\xc9"
  26752. "\xf4\x0f\x26\x11\xcf\x2a\x57\x87"
  26753. "\x7a\xf3\xe7\x94\x65\xc2\xb5\xb3"
  26754. "\xab\x98\xe3\xc1\x2b\x59\x19\x7c"
  26755. "\xd6\xf3\xf9\xbf\xff\x6d\xc6\x82"
  26756. "\x13\x2f\x4a\x2e\xcd\x26\xfe\x2d"
  26757. "\x01\x70\xf4\xc2\x7f\x1f\x4c\xcb"
  26758. "\x47\x77\x0c\xa0\xa3\x03\xec\xda"
  26759. "\xa9\xbf\x0d\x2d\xae\xe4\xb8\x7b"
  26760. "\xa9\xbc\x08\xb4\x68\x2e\xc5\x60"
  26761. "\x8d\x87\x41\x2b\x0f\x69\xf0\xaf"
  26762. "\x5f\xba\x72\x20\x0f\x33\xcd\x6d"
  26763. "\x36\x7d\x7b\xd5\x05\xf1\x4b\x05"
  26764. "\xc4\xfc\x7f\x80\xb9\x4d\xbd\xf7"
  26765. "\x7c\x84\x07\x01\xc2\x40\x66\x5b"
  26766. "\x98\xc7\x2c\xe3\x97\xfa\xdf\x87"
  26767. "\xa0\x1f\xe9\x21\x42\x0f\x3b\xeb"
  26768. "\x89\x1c\x3b\xca\x83\x61\x77\x68"
  26769. "\x84\xbb\x60\x87\x38\x2e\x25\xd5"
  26770. "\x9e\x04\x41\x70\xac\xda\xc0\x9c"
  26771. "\x9c\x69\xea\x8d\x4e\x55\x2a\x29"
  26772. "\xed\x05\x4b\x7b\x73\x71\x90\x59"
  26773. "\x4d\xc8\xd8\x44\xf0\x4c\xe1\x5e"
  26774. "\x84\x47\x55\xcc\x32\x3f\xe7\x97"
  26775. "\x42\xc6\x32\xac\x40\xe5\xa5\xc7"
  26776. "\x8b\xed\xdb\xf7\x83\xd6\xb1\xc2"
  26777. "\x52\x5e\x34\xb7\xeb\x6e\xd9\xfc"
  26778. "\xe5\x93\x9a\x97\x3e\xb0\xdc\xd9"
  26779. "\xd7\x06\x10\xb6\x1d\x80\x59\xdd"
  26780. "\x0d\xfe\x64\x35\xcd\x5d\xec\xf0"
  26781. "\xba\xd0\x34\xc9\x2d\x91\xc5\x17"
  26782. "\x11",
  26783. .len = 1281,
  26784. }, { /* test vector from https://tools.ietf.org/html/draft-arciszewski-xchacha-02#appendix-A.3.2 */
  26785. .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
  26786. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  26787. "\x90\x91\x92\x93\x94\x95\x96\x97"
  26788. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
  26789. .klen = 32,
  26790. .iv = "\x40\x41\x42\x43\x44\x45\x46\x47"
  26791. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  26792. "\x50\x51\x52\x53\x54\x55\x56\x58"
  26793. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26794. .ptext = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
  26795. "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
  26796. "\x75\x6e\x63\x65\x64\x20\x22\x64"
  26797. "\x6f\x6c\x65\x22\x29\x20\x69\x73"
  26798. "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
  26799. "\x6f\x77\x6e\x20\x61\x73\x20\x74"
  26800. "\x68\x65\x20\x41\x73\x69\x61\x74"
  26801. "\x69\x63\x20\x77\x69\x6c\x64\x20"
  26802. "\x64\x6f\x67\x2c\x20\x72\x65\x64"
  26803. "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
  26804. "\x64\x20\x77\x68\x69\x73\x74\x6c"
  26805. "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
  26806. "\x20\x49\x74\x20\x69\x73\x20\x61"
  26807. "\x62\x6f\x75\x74\x20\x74\x68\x65"
  26808. "\x20\x73\x69\x7a\x65\x20\x6f\x66"
  26809. "\x20\x61\x20\x47\x65\x72\x6d\x61"
  26810. "\x6e\x20\x73\x68\x65\x70\x68\x65"
  26811. "\x72\x64\x20\x62\x75\x74\x20\x6c"
  26812. "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
  26813. "\x65\x20\x6c\x69\x6b\x65\x20\x61"
  26814. "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
  26815. "\x67\x67\x65\x64\x20\x66\x6f\x78"
  26816. "\x2e\x20\x54\x68\x69\x73\x20\x68"
  26817. "\x69\x67\x68\x6c\x79\x20\x65\x6c"
  26818. "\x75\x73\x69\x76\x65\x20\x61\x6e"
  26819. "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
  26820. "\x64\x20\x6a\x75\x6d\x70\x65\x72"
  26821. "\x20\x69\x73\x20\x63\x6c\x61\x73"
  26822. "\x73\x69\x66\x69\x65\x64\x20\x77"
  26823. "\x69\x74\x68\x20\x77\x6f\x6c\x76"
  26824. "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
  26825. "\x74\x65\x73\x2c\x20\x6a\x61\x63"
  26826. "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
  26827. "\x64\x20\x66\x6f\x78\x65\x73\x20"
  26828. "\x69\x6e\x20\x74\x68\x65\x20\x74"
  26829. "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
  26830. "\x20\x66\x61\x6d\x69\x6c\x79\x20"
  26831. "\x43\x61\x6e\x69\x64\x61\x65\x2e",
  26832. .ctext = "\x45\x59\xab\xba\x4e\x48\xc1\x61"
  26833. "\x02\xe8\xbb\x2c\x05\xe6\x94\x7f"
  26834. "\x50\xa7\x86\xde\x16\x2f\x9b\x0b"
  26835. "\x7e\x59\x2a\x9b\x53\xd0\xd4\xe9"
  26836. "\x8d\x8d\x64\x10\xd5\x40\xa1\xa6"
  26837. "\x37\x5b\x26\xd8\x0d\xac\xe4\xfa"
  26838. "\xb5\x23\x84\xc7\x31\xac\xbf\x16"
  26839. "\xa5\x92\x3c\x0c\x48\xd3\x57\x5d"
  26840. "\x4d\x0d\x2c\x67\x3b\x66\x6f\xaa"
  26841. "\x73\x10\x61\x27\x77\x01\x09\x3a"
  26842. "\x6b\xf7\xa1\x58\xa8\x86\x42\x92"
  26843. "\xa4\x1c\x48\xe3\xa9\xb4\xc0\xda"
  26844. "\xec\xe0\xf8\xd9\x8d\x0d\x7e\x05"
  26845. "\xb3\x7a\x30\x7b\xbb\x66\x33\x31"
  26846. "\x64\xec\x9e\x1b\x24\xea\x0d\x6c"
  26847. "\x3f\xfd\xdc\xec\x4f\x68\xe7\x44"
  26848. "\x30\x56\x19\x3a\x03\xc8\x10\xe1"
  26849. "\x13\x44\xca\x06\xd8\xed\x8a\x2b"
  26850. "\xfb\x1e\x8d\x48\xcf\xa6\xbc\x0e"
  26851. "\xb4\xe2\x46\x4b\x74\x81\x42\x40"
  26852. "\x7c\x9f\x43\x1a\xee\x76\x99\x60"
  26853. "\xe1\x5b\xa8\xb9\x68\x90\x46\x6e"
  26854. "\xf2\x45\x75\x99\x85\x23\x85\xc6"
  26855. "\x61\xf7\x52\xce\x20\xf9\xda\x0c"
  26856. "\x09\xab\x6b\x19\xdf\x74\xe7\x6a"
  26857. "\x95\x96\x74\x46\xf8\xd0\xfd\x41"
  26858. "\x5e\x7b\xee\x2a\x12\xa1\x14\xc2"
  26859. "\x0e\xb5\x29\x2a\xe7\xa3\x49\xae"
  26860. "\x57\x78\x20\xd5\x52\x0a\x1f\x3f"
  26861. "\xb6\x2a\x17\xce\x6a\x7e\x68\xfa"
  26862. "\x7c\x79\x11\x1d\x88\x60\x92\x0b"
  26863. "\xc0\x48\xef\x43\xfe\x84\x48\x6c"
  26864. "\xcb\x87\xc2\x5f\x0a\xe0\x45\xf0"
  26865. "\xcc\xe1\xe7\x98\x9a\x9a\xa2\x20"
  26866. "\xa2\x8b\xdd\x48\x27\xe7\x51\xa2"
  26867. "\x4a\x6d\x5c\x62\xd7\x90\xa6\x63"
  26868. "\x93\xb9\x31\x11\xc1\xa5\x5d\xd7"
  26869. "\x42\x1a\x10\x18\x49\x74\xc7\xc5",
  26870. .len = 304,
  26871. }
  26872. };
  26873. /*
  26874. * Same as XChaCha20 test vectors above, but recomputed the ciphertext with
  26875. * XChaCha12, using a modified libsodium.
  26876. */
  26877. static const struct cipher_testvec xchacha12_tv_template[] = {
  26878. {
  26879. .key = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
  26880. "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
  26881. "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
  26882. "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
  26883. .klen = 32,
  26884. .iv = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
  26885. "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
  26886. "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
  26887. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26888. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26889. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26890. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26891. "\x00\x00\x00\x00\x00",
  26892. .ctext = "\x1b\x78\x7f\xd7\xa1\x41\x68\xab"
  26893. "\x3d\x3f\xd1\x7b\x69\x56\xb2\xd5"
  26894. "\x43\xce\xeb\xaf\x36\xf0\x29\x9d"
  26895. "\x3a\xfb\x18\xae\x1b",
  26896. .len = 29,
  26897. }, {
  26898. .key = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
  26899. "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
  26900. "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
  26901. "\x22\x35\xea\xaf\x60\x1d\x62\x32",
  26902. .klen = 32,
  26903. .iv = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
  26904. "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
  26905. "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
  26906. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26907. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26908. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26909. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26910. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26911. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26912. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26913. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26914. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26915. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26916. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26917. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26918. "\x00\x00\x00",
  26919. .ctext = "\xfb\x32\x09\x1d\x83\x05\xae\x4c"
  26920. "\x13\x1f\x12\x71\xf2\xca\xb2\xeb"
  26921. "\x5b\x83\x14\x7d\x83\xf6\x57\x77"
  26922. "\x2e\x40\x1f\x92\x2c\xf9\xec\x35"
  26923. "\x34\x1f\x93\xdf\xfb\x30\xd7\x35"
  26924. "\x03\x05\x78\xc1\x20\x3b\x7a\xe3"
  26925. "\x62\xa3\x89\xdc\x11\x11\x45\xa8"
  26926. "\x82\x89\xa0\xf1\x4e\xc7\x0f\x11"
  26927. "\x69\xdd\x0c\x84\x2b\x89\x5c\xdc"
  26928. "\xf0\xde\x01\xef\xc5\x65\x79\x23"
  26929. "\x87\x67\xd6\x50\xd9\x8d\xd9\x92"
  26930. "\x54\x5b\x0e",
  26931. .len = 91,
  26932. }, {
  26933. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26934. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26935. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26936. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26937. .klen = 32,
  26938. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26939. "\x00\x00\x00\x00\x67\xc6\x69\x73"
  26940. "\x51\xff\x4a\xec\x29\xcd\xba\xab"
  26941. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26942. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26943. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26944. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26945. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26946. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26947. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26948. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26949. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26950. .ctext = "\xdf\x2d\xc6\x21\x2a\x9d\xa1\xbb"
  26951. "\xc2\x77\x66\x0c\x5c\x46\xef\xa7"
  26952. "\x79\x1b\xb9\xdf\x55\xe2\xf9\x61"
  26953. "\x4c\x7b\xa4\x52\x24\xaf\xa2\xda"
  26954. "\xd1\x8f\x8f\xa2\x9e\x53\x4d\xc4"
  26955. "\xb8\x55\x98\x08\x7c\x08\xd4\x18"
  26956. "\x67\x8f\xef\x50\xb1\x5f\xa5\x77"
  26957. "\x4c\x25\xe7\x86\x26\x42\xca\x44",
  26958. .len = 64,
  26959. }, {
  26960. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26961. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26962. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26963. "\x00\x00\x00\x00\x00\x00\x00\x01",
  26964. .klen = 32,
  26965. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26966. "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
  26967. "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
  26968. "\x01\x00\x00\x00\x00\x00\x00\x00",
  26969. .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  26970. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  26971. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  26972. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  26973. "\x64\x65\x64\x20\x62\x79\x20\x74"
  26974. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  26975. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  26976. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  26977. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  26978. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  26979. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  26980. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  26981. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  26982. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  26983. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  26984. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  26985. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  26986. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  26987. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  26988. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  26989. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  26990. "\x45\x54\x46\x20\x61\x63\x74\x69"
  26991. "\x76\x69\x74\x79\x20\x69\x73\x20"
  26992. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  26993. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  26994. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  26995. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  26996. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  26997. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  26998. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  26999. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  27000. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  27001. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  27002. "\x54\x46\x20\x73\x65\x73\x73\x69"
  27003. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  27004. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  27005. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  27006. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  27007. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  27008. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  27009. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  27010. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  27011. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  27012. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  27013. "\x20\x77\x68\x69\x63\x68\x20\x61"
  27014. "\x72\x65\x20\x61\x64\x64\x72\x65"
  27015. "\x73\x73\x65\x64\x20\x74\x6f",
  27016. .ctext = "\xe4\xa6\xc8\x30\xc4\x23\x13\xd6"
  27017. "\x08\x4d\xc9\xb7\xa5\x64\x7c\xb9"
  27018. "\x71\xe2\xab\x3e\xa8\x30\x8a\x1c"
  27019. "\x4a\x94\x6d\x9b\xe0\xb3\x6f\xf1"
  27020. "\xdc\xe3\x1b\xb3\xa9\x6d\x0d\xd6"
  27021. "\xd0\xca\x12\xef\xe7\x5f\xd8\x61"
  27022. "\x3c\x82\xd3\x99\x86\x3c\x6f\x66"
  27023. "\x02\x06\xdc\x55\xf9\xed\xdf\x38"
  27024. "\xb4\xa6\x17\x00\x7f\xef\xbf\x4f"
  27025. "\xf8\x36\xf1\x60\x7e\x47\xaf\xdb"
  27026. "\x55\x9b\x12\xcb\x56\x44\xa7\x1f"
  27027. "\xd3\x1a\x07\x3b\x00\xec\xe6\x4c"
  27028. "\xa2\x43\x27\xdf\x86\x19\x4f\x16"
  27029. "\xed\xf9\x4a\xf3\x63\x6f\xfa\x7f"
  27030. "\x78\x11\xf6\x7d\x97\x6f\xec\x6f"
  27031. "\x85\x0f\x5c\x36\x13\x8d\x87\xe0"
  27032. "\x80\xb1\x69\x0b\x98\x89\x9c\x4e"
  27033. "\xf8\xdd\xee\x5c\x0a\x85\xce\xd4"
  27034. "\xea\x1b\x48\xbe\x08\xf8\xe2\xa8"
  27035. "\xa5\xb0\x3c\x79\xb1\x15\xb4\xb9"
  27036. "\x75\x10\x95\x35\x81\x7e\x26\xe6"
  27037. "\x78\xa4\x88\xcf\xdb\x91\x34\x18"
  27038. "\xad\xd7\x8e\x07\x7d\xab\x39\xf9"
  27039. "\xa3\x9e\xa5\x1d\xbb\xed\x61\xfd"
  27040. "\xdc\xb7\x5a\x27\xfc\xb5\xc9\x10"
  27041. "\xa8\xcc\x52\x7f\x14\x76\x90\xe7"
  27042. "\x1b\x29\x60\x74\xc0\x98\x77\xbb"
  27043. "\xe0\x54\xbb\x27\x49\x59\x1e\x62"
  27044. "\x3d\xaf\x74\x06\xa4\x42\x6f\xc6"
  27045. "\x52\x97\xc4\x1d\xc4\x9f\xe2\xe5"
  27046. "\x38\x57\x91\xd1\xa2\x28\xcc\x40"
  27047. "\xcc\x70\x59\x37\xfc\x9f\x4b\xda"
  27048. "\xa0\xeb\x97\x9a\x7d\xed\x14\x5c"
  27049. "\x9c\xb7\x93\x26\x41\xa8\x66\xdd"
  27050. "\x87\x6a\xc0\xd3\xc2\xa9\x3e\xae"
  27051. "\xe9\x72\xfe\xd1\xb3\xac\x38\xea"
  27052. "\x4d\x15\xa9\xd5\x36\x61\xe9\x96"
  27053. "\x6c\x23\xf8\x43\xe4\x92\x29\xd9"
  27054. "\x8b\x78\xf7\x0a\x52\xe0\x19\x5b"
  27055. "\x59\x69\x5b\x5d\xa1\x53\xc4\x68"
  27056. "\xe1\xbb\xac\x89\x14\xe2\xe2\x85"
  27057. "\x41\x18\xf5\xb3\xd1\xfa\x68\x19"
  27058. "\x44\x78\xdc\xcf\xe7\x88\x2d\x52"
  27059. "\x5f\x40\xb5\x7e\xf8\x88\xa2\xae"
  27060. "\x4a\xb2\x07\x35\x9d\x9b\x07\x88"
  27061. "\xb7\x00\xd0\x0c\xb6\xa0\x47\x59"
  27062. "\xda\x4e\xc9\xab\x9b\x8a\x7b",
  27063. .len = 375,
  27064. }, {
  27065. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  27066. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  27067. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  27068. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  27069. .klen = 32,
  27070. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  27071. "\x00\x00\x00\x02\x76\x5a\x2e\x63"
  27072. "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
  27073. "\x2a\x00\x00\x00\x00\x00\x00\x00",
  27074. .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
  27075. "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
  27076. "\x6e\x64\x20\x74\x68\x65\x20\x73"
  27077. "\x6c\x69\x74\x68\x79\x20\x74\x6f"
  27078. "\x76\x65\x73\x0a\x44\x69\x64\x20"
  27079. "\x67\x79\x72\x65\x20\x61\x6e\x64"
  27080. "\x20\x67\x69\x6d\x62\x6c\x65\x20"
  27081. "\x69\x6e\x20\x74\x68\x65\x20\x77"
  27082. "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
  27083. "\x20\x6d\x69\x6d\x73\x79\x20\x77"
  27084. "\x65\x72\x65\x20\x74\x68\x65\x20"
  27085. "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
  27086. "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
  27087. "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
  27088. "\x72\x61\x74\x68\x73\x20\x6f\x75"
  27089. "\x74\x67\x72\x61\x62\x65\x2e",
  27090. .ctext = "\xb9\x68\xbc\x6a\x24\xbc\xcc\xd8"
  27091. "\x9b\x2a\x8d\x5b\x96\xaf\x56\xe3"
  27092. "\x11\x61\xe7\xa7\x9b\xce\x4e\x7d"
  27093. "\x60\x02\x48\xac\xeb\xd5\x3a\x26"
  27094. "\x9d\x77\x3b\xb5\x32\x13\x86\x8e"
  27095. "\x20\x82\x26\x72\xae\x64\x1b\x7e"
  27096. "\x2e\x01\x68\xb4\x87\x45\xa1\x24"
  27097. "\xe4\x48\x40\xf0\xaa\xac\xee\xa9"
  27098. "\xfc\x31\xad\x9d\x89\xa3\xbb\xd2"
  27099. "\xe4\x25\x13\xad\x0f\x5e\xdf\x3c"
  27100. "\x27\xab\xb8\x62\x46\x22\x30\x48"
  27101. "\x55\x2c\x4e\x84\x78\x1d\x0d\x34"
  27102. "\x8d\x3c\x91\x0a\x7f\x5b\x19\x9f"
  27103. "\x97\x05\x4c\xa7\x62\x47\x8b\xc5"
  27104. "\x44\x2e\x20\x33\xdd\xa0\x82\xa9"
  27105. "\x25\x76\x37\xe6\x3c\x67\x5b",
  27106. .len = 127,
  27107. }, {
  27108. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  27109. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  27110. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  27111. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  27112. .klen = 32,
  27113. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  27114. "\x00\x00\x00\x01\x31\x58\xa3\x5a"
  27115. "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
  27116. "\x1c\x00\x00\x00\x00\x00\x00\x00",
  27117. .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
  27118. "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
  27119. "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
  27120. "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
  27121. "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
  27122. "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
  27123. "\x01\xc6\x67\xda\x03\x91\x18\x90"
  27124. "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
  27125. "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
  27126. "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
  27127. "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
  27128. "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
  27129. "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
  27130. "\x33\x97\xc3\x77\xba\xc5\x70\xde"
  27131. "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
  27132. "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
  27133. "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
  27134. "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
  27135. "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
  27136. "\x79\x49\x41\xf4\x58\x18\xcb\x86"
  27137. "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
  27138. "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
  27139. "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
  27140. "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
  27141. "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
  27142. "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
  27143. "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
  27144. "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
  27145. "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
  27146. "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
  27147. "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
  27148. "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
  27149. "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
  27150. "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
  27151. "\x24\x74\x75\x7f\x95\x81\xb7\x30"
  27152. "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
  27153. "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
  27154. "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
  27155. "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
  27156. "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
  27157. "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
  27158. "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
  27159. "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
  27160. "\x49\x46\x00\x88\x22\x8d\xce\xea"
  27161. "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
  27162. "\x72\x11\xf5\x50\x73\x04\x40\x47"
  27163. "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
  27164. "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
  27165. "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
  27166. "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
  27167. "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
  27168. "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
  27169. "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
  27170. "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
  27171. "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
  27172. "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
  27173. "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
  27174. "\x8b\x10\x67\xa3\x01\x57\x94\x25"
  27175. "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
  27176. "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
  27177. "\x58\xb1\x47\x90\xfe\x42\x21\x72"
  27178. "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
  27179. "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
  27180. "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
  27181. "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
  27182. "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
  27183. "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
  27184. "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
  27185. "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
  27186. "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
  27187. "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
  27188. "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
  27189. "\x65\x69\x8a\x45\x29\xef\x74\x85"
  27190. "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
  27191. "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
  27192. "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
  27193. "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
  27194. "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
  27195. "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
  27196. "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
  27197. "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
  27198. "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
  27199. "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
  27200. "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
  27201. "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
  27202. "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
  27203. "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
  27204. "\x10\x26\x38\x07\xe5\xc7\x36\x80"
  27205. "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
  27206. "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
  27207. "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
  27208. "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
  27209. "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
  27210. "\x83\x66\x80\x47\x80\xe8\xfd\x35"
  27211. "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
  27212. "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
  27213. "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
  27214. "\x25\x94\x10\x5f\x40\x00\x64\x99"
  27215. "\xdc\xae\xd7\x21\x09\x78\x50\x15"
  27216. "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
  27217. "\x87\x6e\x6d\xab\xde\x08\x51\x16"
  27218. "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
  27219. "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
  27220. "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
  27221. "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
  27222. "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
  27223. "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
  27224. "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
  27225. "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
  27226. "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
  27227. "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
  27228. "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
  27229. "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
  27230. "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
  27231. "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
  27232. "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
  27233. "\xb9\x83\x90\xef\x20\x59\x46\xff"
  27234. "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
  27235. "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
  27236. "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
  27237. "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
  27238. "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
  27239. "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
  27240. "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
  27241. "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
  27242. "\x94\x97\xea\xdd\x58\x9e\xae\x76"
  27243. "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
  27244. "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
  27245. "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
  27246. "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
  27247. "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
  27248. "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
  27249. "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
  27250. "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
  27251. "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
  27252. "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
  27253. "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
  27254. "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
  27255. "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
  27256. "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
  27257. "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
  27258. "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
  27259. "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
  27260. "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
  27261. "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
  27262. "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
  27263. "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
  27264. "\xac\xf3\x13\x53\x27\x45\xaf\x64"
  27265. "\x46\xdc\xea\x23\xda\x97\xd1\xab"
  27266. "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
  27267. "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
  27268. "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
  27269. "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
  27270. "\xca\x34\x83\x27\x10\x5b\x68\x45"
  27271. "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
  27272. "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
  27273. "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
  27274. "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
  27275. "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
  27276. "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
  27277. "\x72",
  27278. .ctext = "\xe1\xb6\x8b\x5c\x80\xb8\xcc\x08"
  27279. "\x1b\x84\xb2\xd1\xad\xa4\x70\xac"
  27280. "\x67\xa9\x39\x27\xac\xb4\x5b\xb7"
  27281. "\x4c\x26\x77\x23\x1d\xce\x0a\xbe"
  27282. "\x18\x9e\x42\x8b\xbd\x7f\xd6\xf1"
  27283. "\xf1\x6b\xe2\x6d\x7f\x92\x0e\xcb"
  27284. "\xb8\x79\xba\xb4\xac\x7e\x2d\xc0"
  27285. "\x9e\x83\x81\x91\xd5\xea\xc3\x12"
  27286. "\x8d\xa4\x26\x70\xa4\xf9\x71\x0b"
  27287. "\xbd\x2e\xe1\xb3\x80\x42\x25\xb3"
  27288. "\x0b\x31\x99\xe1\x0d\xde\xa6\x90"
  27289. "\xf2\xa3\x10\xf7\xe5\xf3\x83\x1e"
  27290. "\x2c\xfb\x4d\xf0\x45\x3d\x28\x3c"
  27291. "\xb8\xf1\xcb\xbf\x67\xd8\x43\x5a"
  27292. "\x9d\x7b\x73\x29\x88\x0f\x13\x06"
  27293. "\x37\x50\x0d\x7c\xe6\x9b\x07\xdd"
  27294. "\x7e\x01\x1f\x81\x90\x10\x69\xdb"
  27295. "\xa4\xad\x8a\x5e\xac\x30\x72\xf2"
  27296. "\x36\xcd\xe3\x23\x49\x02\x93\xfa"
  27297. "\x3d\xbb\xe2\x98\x83\xeb\xe9\x8d"
  27298. "\xb3\x8f\x11\xaa\x53\xdb\xaf\x2e"
  27299. "\x95\x13\x99\x3d\x71\xbd\x32\x92"
  27300. "\xdd\xfc\x9d\x5e\x6f\x63\x2c\xee"
  27301. "\x91\x1f\x4c\x64\x3d\x87\x55\x0f"
  27302. "\xcc\x3d\x89\x61\x53\x02\x57\x8f"
  27303. "\xe4\x77\x29\x32\xaf\xa6\x2f\x0a"
  27304. "\xae\x3c\x3f\x3f\xf4\xfb\x65\x52"
  27305. "\xc5\xc1\x78\x78\x53\x28\xad\xed"
  27306. "\xd1\x67\x37\xc7\x59\x70\xcd\x0a"
  27307. "\xb8\x0f\x80\x51\x9f\xc0\x12\x5e"
  27308. "\x06\x0a\x7e\xec\x24\x5f\x73\x00"
  27309. "\xb1\x0b\x31\x47\x4f\x73\x8d\xb4"
  27310. "\xce\xf3\x55\x45\x6c\x84\x27\xba"
  27311. "\xb9\x6f\x03\x4a\xeb\x98\x88\x6e"
  27312. "\x53\xed\x25\x19\x0d\x8f\xfe\xca"
  27313. "\x60\xe5\x00\x93\x6e\x3c\xff\x19"
  27314. "\xae\x08\x3b\x8a\xa6\x84\x05\xfe"
  27315. "\x9b\x59\xa0\x8c\xc8\x05\x45\xf5"
  27316. "\x05\x37\xdc\x45\x6f\x8b\x95\x8c"
  27317. "\x4e\x11\x45\x7a\xce\x21\xa5\xf7"
  27318. "\x71\x67\xb9\xce\xd7\xf9\xe9\x5e"
  27319. "\x60\xf5\x53\x7a\xa8\x85\x14\x03"
  27320. "\xa0\x92\xec\xf3\x51\x80\x84\xc4"
  27321. "\xdc\x11\x9e\x57\xce\x4b\x45\xcf"
  27322. "\x90\x95\x85\x0b\x96\xe9\xee\x35"
  27323. "\x10\xb8\x9b\xf2\x59\x4a\xc6\x7e"
  27324. "\x85\xe5\x6f\x38\x51\x93\x40\x0c"
  27325. "\x99\xd7\x7f\x32\xa8\x06\x27\xd1"
  27326. "\x2b\xd5\xb5\x3a\x1a\xe1\x5e\xda"
  27327. "\xcd\x5a\x50\x30\x3c\xc7\xe7\x65"
  27328. "\xa6\x07\x0b\x98\x91\xc6\x20\x27"
  27329. "\x2a\x03\x63\x1b\x1e\x3d\xaf\xc8"
  27330. "\x71\x48\x46\x6a\x64\x28\xf9\x3d"
  27331. "\xd1\x1d\xab\xc8\x40\x76\xc2\x39"
  27332. "\x4e\x00\x75\xd2\x0e\x82\x58\x8c"
  27333. "\xd3\x73\x5a\xea\x46\x89\xbe\xfd"
  27334. "\x4e\x2c\x0d\x94\xaa\x9b\x68\xac"
  27335. "\x86\x87\x30\x7e\xa9\x16\xcd\x59"
  27336. "\xd2\xa6\xbe\x0a\xd8\xf5\xfd\x2d"
  27337. "\x49\x69\xd2\x1a\x90\xd2\x1b\xed"
  27338. "\xff\x71\x04\x87\x87\x21\xc4\xb8"
  27339. "\x1f\x5b\x51\x33\xd0\xd6\x59\x9a"
  27340. "\x03\x0e\xd3\x8b\xfb\x57\x73\xfd"
  27341. "\x5a\x52\x63\x82\xc8\x85\x2f\xcb"
  27342. "\x74\x6d\x4e\xd9\x68\x37\x85\x6a"
  27343. "\xd4\xfb\x94\xed\x8d\xd1\x1a\xaf"
  27344. "\x76\xa7\xb7\x88\xd0\x2b\x4e\xda"
  27345. "\xec\x99\x94\x27\x6f\x87\x8c\xdf"
  27346. "\x4b\x5e\xa6\x66\xdd\xcb\x33\x7b"
  27347. "\x64\x94\x31\xa8\x37\xa6\x1d\xdb"
  27348. "\x0d\x5c\x93\xa4\x40\xf9\x30\x53"
  27349. "\x4b\x74\x8d\xdd\xf6\xde\x3c\xac"
  27350. "\x5c\x80\x01\x3a\xef\xb1\x9a\x02"
  27351. "\x0c\x22\x8e\xe7\x44\x09\x74\x4c"
  27352. "\xf2\x9a\x27\x69\x7f\x12\x32\x36"
  27353. "\xde\x92\xdf\xde\x8f\x5b\x31\xab"
  27354. "\x4a\x01\x26\xe0\xb1\xda\xe8\x37"
  27355. "\x21\x64\xe8\xff\x69\xfc\x9e\x41"
  27356. "\xd2\x96\x2d\x18\x64\x98\x33\x78"
  27357. "\x24\x61\x73\x9b\x47\x29\xf1\xa7"
  27358. "\xcb\x27\x0f\xf0\x85\x6d\x8c\x9d"
  27359. "\x2c\x95\x9e\xe5\xb2\x8e\x30\x29"
  27360. "\x78\x8a\x9d\x65\xb4\x8e\xde\x7b"
  27361. "\xd9\x00\x50\xf5\x7f\x81\xc3\x1b"
  27362. "\x25\x85\xeb\xc2\x8c\x33\x22\x1e"
  27363. "\x68\x38\x22\x30\xd8\x2e\x00\x98"
  27364. "\x85\x16\x06\x56\xb4\x81\x74\x20"
  27365. "\x95\xdb\x1c\x05\x19\xe8\x23\x4d"
  27366. "\x65\x5d\xcc\xd8\x7f\xc4\x2d\x0f"
  27367. "\x57\x26\x71\x07\xad\xaa\x71\x9f"
  27368. "\x19\x76\x2f\x25\x51\x88\xe4\xc0"
  27369. "\x82\x6e\x08\x05\x37\x04\xee\x25"
  27370. "\x23\x90\xe9\x4e\xce\x9b\x16\xc1"
  27371. "\x31\xe7\x6e\x2c\x1b\xe1\x85\x9a"
  27372. "\x0c\x8c\xbb\x12\x1e\x68\x7b\x93"
  27373. "\xa9\x3c\x39\x56\x23\x3e\x6e\xc7"
  27374. "\x77\x84\xd3\xe0\x86\x59\xaa\xb9"
  27375. "\xd5\x53\x58\xc9\x0a\x83\x5f\x85"
  27376. "\xd8\x47\x14\x67\x8a\x3c\x17\xe0"
  27377. "\xab\x02\x51\xea\xf1\xf0\x4f\x30"
  27378. "\x7d\xe0\x92\xc2\x5f\xfb\x19\x5a"
  27379. "\x3f\xbd\xf4\x39\xa4\x31\x0c\x39"
  27380. "\xd1\xae\x4e\xf7\x65\x7f\x1f\xce"
  27381. "\xc2\x39\xd1\x84\xd4\xe5\x02\xe0"
  27382. "\x58\xaa\xf1\x5e\x81\xaf\x7f\x72"
  27383. "\x0f\x08\x99\x43\xb9\xd8\xac\x41"
  27384. "\x35\x55\xf2\xb2\xd4\x98\xb8\x3b"
  27385. "\x2b\x3c\x3e\x16\x06\x31\xfc\x79"
  27386. "\x47\x38\x63\x51\xc5\xd0\x26\xd7"
  27387. "\x43\xb4\x2b\xd9\xc5\x05\xf2\x9d"
  27388. "\x18\xc9\x26\x82\x56\xd2\x11\x05"
  27389. "\xb6\x89\xb4\x43\x9c\xb5\x9d\x11"
  27390. "\x6c\x83\x37\x71\x27\x1c\xae\xbf"
  27391. "\xcd\x57\xd2\xee\x0d\x5a\x15\x26"
  27392. "\x67\x88\x80\x80\x1b\xdc\xc1\x62"
  27393. "\xdd\x4c\xff\x92\x5c\x6c\xe1\xa0"
  27394. "\xe3\x79\xa9\x65\x8c\x8c\x14\x42"
  27395. "\xe5\x11\xd2\x1a\xad\xa9\x56\x6f"
  27396. "\x98\xfc\x8a\x7b\x56\x1f\xc6\xc1"
  27397. "\x52\x12\x92\x9b\x41\x0f\x4b\xae"
  27398. "\x1b\x4a\xbc\xfe\x23\xb6\x94\x70"
  27399. "\x04\x30\x9e\x69\x47\xbe\xb8\x8f"
  27400. "\xca\x45\xd7\x8a\xf4\x78\x3e\xaa"
  27401. "\x71\x17\xd8\x1e\xb8\x11\x8f\xbc"
  27402. "\xc8\x1a\x65\x7b\x41\x89\x72\xc7"
  27403. "\x5f\xbe\xc5\x2a\xdb\x5c\x54\xf9"
  27404. "\x25\xa3\x7a\x80\x56\x9c\x8c\xab"
  27405. "\x26\x19\x10\x36\xa6\xf3\x14\x79"
  27406. "\x40\x98\x70\x68\xb7\x35\xd9\xb9"
  27407. "\x27\xd4\xe7\x74\x5b\x3d\x97\xb4"
  27408. "\xd9\xaa\xd9\xf2\xb5\x14\x84\x1f"
  27409. "\xa9\xde\x12\x44\x5b\x00\xc0\xbc"
  27410. "\xc8\x11\x25\x1b\x67\x7a\x15\x72"
  27411. "\xa6\x31\x6f\xf4\x68\x7a\x86\x9d"
  27412. "\x43\x1c\x5f\x16\xd3\xad\x2e\x52"
  27413. "\xf3\xb4\xc3\xfa\x27\x2e\x68\x6c"
  27414. "\x06\xe7\x4c\x4f\xa2\xe0\xe4\x21"
  27415. "\x5d\x9e\x33\x58\x8d\xbf\xd5\x70"
  27416. "\xf8\x80\xa5\xdd\xe7\x18\x79\xfa"
  27417. "\x7b\xfd\x09\x69\x2c\x37\x32\xa8"
  27418. "\x65\xfa\x8d\x8b\x5c\xcc\xe8\xf3"
  27419. "\x37\xf6\xa6\xc6\x5c\xa2\x66\x79"
  27420. "\xfa\x8a\xa7\xd1\x0b\x2e\x1b\x5e"
  27421. "\x95\x35\x00\x76\xae\x42\xf7\x50"
  27422. "\x51\x78\xfb\xb4\x28\x24\xde\x1a"
  27423. "\x70\x8b\xed\xca\x3c\x5e\xe4\xbd"
  27424. "\x28\xb5\xf3\x76\x4f\x67\x5d\x81"
  27425. "\xb2\x60\x87\xd9\x7b\x19\x1a\xa7"
  27426. "\x79\xa2\xfa\x3f\x9e\xa9\xd7\x25"
  27427. "\x61\xe1\x74\x31\xa2\x77\xa0\x1b"
  27428. "\xf6\xf7\xcb\xc5\xaa\x9e\xce\xf9"
  27429. "\x9b\x96\xef\x51\xc3\x1a\x44\x96"
  27430. "\xae\x17\x50\xab\x29\x08\xda\xcc"
  27431. "\x1a\xb3\x12\xd0\x24\xe4\xe2\xe0"
  27432. "\xc6\xe3\xcc\x82\xd0\xba\x47\x4c"
  27433. "\x3f\x49\xd7\xe8\xb6\x61\xaa\x65"
  27434. "\x25\x18\x40\x2d\x62\x25\x02\x71"
  27435. "\x61\xa2\xc1\xb2\x13\xd2\x71\x3f"
  27436. "\x43\x1a\xc9\x09\x92\xff\xd5\x57"
  27437. "\xf0\xfc\x5e\x1c\xf1\xf5\xf9\xf3"
  27438. "\x5b",
  27439. .len = 1281,
  27440. }, {
  27441. .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
  27442. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  27443. "\x90\x91\x92\x93\x94\x95\x96\x97"
  27444. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
  27445. .klen = 32,
  27446. .iv = "\x40\x41\x42\x43\x44\x45\x46\x47"
  27447. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  27448. "\x50\x51\x52\x53\x54\x55\x56\x58"
  27449. "\x00\x00\x00\x00\x00\x00\x00\x00",
  27450. .ptext = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
  27451. "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
  27452. "\x75\x6e\x63\x65\x64\x20\x22\x64"
  27453. "\x6f\x6c\x65\x22\x29\x20\x69\x73"
  27454. "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
  27455. "\x6f\x77\x6e\x20\x61\x73\x20\x74"
  27456. "\x68\x65\x20\x41\x73\x69\x61\x74"
  27457. "\x69\x63\x20\x77\x69\x6c\x64\x20"
  27458. "\x64\x6f\x67\x2c\x20\x72\x65\x64"
  27459. "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
  27460. "\x64\x20\x77\x68\x69\x73\x74\x6c"
  27461. "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
  27462. "\x20\x49\x74\x20\x69\x73\x20\x61"
  27463. "\x62\x6f\x75\x74\x20\x74\x68\x65"
  27464. "\x20\x73\x69\x7a\x65\x20\x6f\x66"
  27465. "\x20\x61\x20\x47\x65\x72\x6d\x61"
  27466. "\x6e\x20\x73\x68\x65\x70\x68\x65"
  27467. "\x72\x64\x20\x62\x75\x74\x20\x6c"
  27468. "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
  27469. "\x65\x20\x6c\x69\x6b\x65\x20\x61"
  27470. "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
  27471. "\x67\x67\x65\x64\x20\x66\x6f\x78"
  27472. "\x2e\x20\x54\x68\x69\x73\x20\x68"
  27473. "\x69\x67\x68\x6c\x79\x20\x65\x6c"
  27474. "\x75\x73\x69\x76\x65\x20\x61\x6e"
  27475. "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
  27476. "\x64\x20\x6a\x75\x6d\x70\x65\x72"
  27477. "\x20\x69\x73\x20\x63\x6c\x61\x73"
  27478. "\x73\x69\x66\x69\x65\x64\x20\x77"
  27479. "\x69\x74\x68\x20\x77\x6f\x6c\x76"
  27480. "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
  27481. "\x74\x65\x73\x2c\x20\x6a\x61\x63"
  27482. "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
  27483. "\x64\x20\x66\x6f\x78\x65\x73\x20"
  27484. "\x69\x6e\x20\x74\x68\x65\x20\x74"
  27485. "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
  27486. "\x20\x66\x61\x6d\x69\x6c\x79\x20"
  27487. "\x43\x61\x6e\x69\x64\x61\x65\x2e",
  27488. .ctext = "\x9f\x1a\xab\x8a\x95\xf4\x7e\xcd"
  27489. "\xee\x34\xc0\x39\xd6\x23\x43\x94"
  27490. "\xf6\x01\xc1\x7f\x60\x91\xa5\x23"
  27491. "\x4a\x8a\xe6\xb1\x14\x8b\xd7\x58"
  27492. "\xee\x02\xad\xab\xce\x1e\x7d\xdf"
  27493. "\xf9\x49\x27\x69\xd0\x8d\x0c\x20"
  27494. "\x6e\x17\xc4\xae\x87\x7a\xc6\x61"
  27495. "\x91\xe2\x8e\x0a\x1d\x61\xcc\x38"
  27496. "\x02\x64\x43\x49\xc6\xb2\x59\x59"
  27497. "\x42\xe7\x9d\x83\x00\x60\x90\xd2"
  27498. "\xb9\xcd\x97\x6e\xc7\x95\x71\xbc"
  27499. "\x23\x31\x58\x07\xb3\xb4\xac\x0b"
  27500. "\x87\x64\x56\xe5\xe3\xec\x63\xa1"
  27501. "\x71\x8c\x08\x48\x33\x20\x29\x81"
  27502. "\xea\x01\x25\x20\xc3\xda\xe6\xee"
  27503. "\x6a\x03\xf6\x68\x4d\x26\xa0\x91"
  27504. "\x9e\x44\xb8\xc1\xc0\x8f\x5a\x6a"
  27505. "\xc0\xcd\xbf\x24\x5e\x40\x66\xd2"
  27506. "\x42\x24\xb5\xbf\xc1\xeb\x12\x60"
  27507. "\x56\xbe\xb1\xa6\xc4\x0f\xfc\x49"
  27508. "\x69\x9f\xcc\x06\x5c\xe3\x26\xd7"
  27509. "\x52\xc0\x42\xe8\xb4\x76\xc3\xee"
  27510. "\xb2\x97\xe3\x37\x61\x29\x5a\xb5"
  27511. "\x8e\xe8\x8c\xc5\x38\xcc\xcb\xec"
  27512. "\x64\x1a\xa9\x12\x5f\xf7\x79\xdf"
  27513. "\x64\xca\x77\x4e\xbd\xf9\x83\xa0"
  27514. "\x13\x27\x3f\x31\x03\x63\x30\x26"
  27515. "\x27\x0b\x3e\xb3\x23\x13\x61\x0b"
  27516. "\x70\x1d\xd4\xad\x85\x1e\xbf\xdf"
  27517. "\xc6\x8e\x4d\x08\xcc\x7e\x77\xbd"
  27518. "\x1e\x18\x77\x38\x3a\xfe\xc0\x5d"
  27519. "\x16\xfc\xf0\xa9\x2f\xe9\x17\xc7"
  27520. "\xd3\x23\x17\x18\xa3\xe6\x54\x77"
  27521. "\x6f\x1b\xbe\x8a\x6e\x7e\xca\x97"
  27522. "\x08\x05\x36\x76\xaf\x12\x7a\x42"
  27523. "\xf7\x7a\xc2\x35\xc3\xb4\x93\x40"
  27524. "\x54\x14\x90\xa0\x4d\x65\x1c\x37"
  27525. "\x50\x70\x44\x29\x6d\x6e\x62\x68",
  27526. .len = 304,
  27527. }
  27528. };
  27529. /* Adiantum test vectors from https://github.com/google/adiantum */
  27530. static const struct cipher_testvec adiantum_xchacha12_aes_tv_template[] = {
  27531. {
  27532. .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
  27533. "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
  27534. "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
  27535. "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
  27536. .klen = 32,
  27537. .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
  27538. "\x33\x81\x37\x60\x7d\xfa\x73\x08"
  27539. "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
  27540. "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
  27541. .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
  27542. "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
  27543. .ctext = "\x6d\x32\x86\x18\x67\x86\x0f\x3f"
  27544. "\x96\x7c\x9d\x28\x0d\x53\xec\x9f",
  27545. .len = 16,
  27546. }, {
  27547. .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
  27548. "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
  27549. "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
  27550. "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
  27551. .klen = 32,
  27552. .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
  27553. "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
  27554. "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
  27555. "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
  27556. .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
  27557. "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
  27558. "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
  27559. "\x43\x5a\x46\x06\x94\x2d\xf2",
  27560. .ctext = "\xc7\xc6\xf1\x73\x8f\xc4\xff\x4a"
  27561. "\x39\xbe\x78\xbe\x8d\x28\xc8\x89"
  27562. "\x46\x63\xe7\x0c\x7d\x87\xe8\x4e"
  27563. "\xc9\x18\x7b\xbe\x18\x60\x50",
  27564. .len = 31,
  27565. }, {
  27566. .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
  27567. "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
  27568. "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
  27569. "\x19\x09\x00\xa9\x04\x31\x4f\x11",
  27570. .klen = 32,
  27571. .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
  27572. "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
  27573. "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
  27574. "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
  27575. .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
  27576. "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
  27577. "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
  27578. "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
  27579. "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
  27580. "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
  27581. "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
  27582. "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
  27583. "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
  27584. "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
  27585. "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
  27586. "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
  27587. "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
  27588. "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
  27589. "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
  27590. "\x56\x65\xc5\x54\x23\x28\xb0\x03",
  27591. .ctext = "\x9e\x16\xab\xed\x4b\xa7\x42\x5a"
  27592. "\xc6\xfb\x4e\x76\xff\xbe\x03\xa0"
  27593. "\x0f\xe3\xad\xba\xe4\x98\x2b\x0e"
  27594. "\x21\x48\xa0\xb8\x65\x48\x27\x48"
  27595. "\x84\x54\x54\xb2\x9a\x94\x7b\xe6"
  27596. "\x4b\x29\xe9\xcf\x05\x91\x80\x1a"
  27597. "\x3a\xf3\x41\x96\x85\x1d\x9f\x74"
  27598. "\x51\x56\x63\xfa\x7c\x28\x85\x49"
  27599. "\xf7\x2f\xf9\xf2\x18\x46\xf5\x33"
  27600. "\x80\xa3\x3c\xce\xb2\x57\x93\xf5"
  27601. "\xae\xbd\xa9\xf5\x7b\x30\xc4\x93"
  27602. "\x66\xe0\x30\x77\x16\xe4\xa0\x31"
  27603. "\xba\x70\xbc\x68\x13\xf5\xb0\x9a"
  27604. "\xc1\xfc\x7e\xfe\x55\x80\x5c\x48"
  27605. "\x74\xa6\xaa\xa3\xac\xdc\xc2\xf5"
  27606. "\x8d\xde\x34\x86\x78\x60\x75\x8d",
  27607. .len = 128,
  27608. }, {
  27609. .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
  27610. "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
  27611. "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
  27612. "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
  27613. .klen = 32,
  27614. .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
  27615. "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
  27616. "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
  27617. "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
  27618. .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
  27619. "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
  27620. "\x05\xa3\x69\x60\x91\x36\x98\x57"
  27621. "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
  27622. "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
  27623. "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
  27624. "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
  27625. "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
  27626. "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
  27627. "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
  27628. "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
  27629. "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
  27630. "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
  27631. "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
  27632. "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
  27633. "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
  27634. "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
  27635. "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
  27636. "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
  27637. "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
  27638. "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
  27639. "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
  27640. "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
  27641. "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
  27642. "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
  27643. "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
  27644. "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
  27645. "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
  27646. "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
  27647. "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
  27648. "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
  27649. "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
  27650. "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
  27651. "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
  27652. "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
  27653. "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
  27654. "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
  27655. "\xd7\x31\x87\x89\x09\xab\xd5\x96"
  27656. "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
  27657. "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
  27658. "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
  27659. "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
  27660. "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
  27661. "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
  27662. "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
  27663. "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
  27664. "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
  27665. "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
  27666. "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
  27667. "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
  27668. "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
  27669. "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
  27670. "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
  27671. "\x17\x7c\x25\x48\x52\x67\x11\x27"
  27672. "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
  27673. "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
  27674. "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
  27675. "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
  27676. "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
  27677. "\x79\x50\x33\xca\xd0\xd7\x42\x55"
  27678. "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
  27679. "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
  27680. "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
  27681. "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
  27682. .ctext = "\x15\x97\xd0\x86\x18\x03\x9c\x51"
  27683. "\xc5\x11\x36\x62\x13\x92\xe6\x73"
  27684. "\x29\x79\xde\xa1\x00\x3e\x08\x64"
  27685. "\x17\x1a\xbc\xd5\xfe\x33\x0e\x0c"
  27686. "\x7c\x94\xa7\xc6\x3c\xbe\xac\xa2"
  27687. "\x89\xe6\xbc\xdf\x0c\x33\x27\x42"
  27688. "\x46\x73\x2f\xba\x4e\xa6\x46\x8f"
  27689. "\xe4\xee\x39\x63\x42\x65\xa3\x88"
  27690. "\x7a\xad\x33\x23\xa9\xa7\x20\x7f"
  27691. "\x0b\xe6\x6a\xc3\x60\xda\x9e\xb4"
  27692. "\xd6\x07\x8a\x77\x26\xd1\xab\x44"
  27693. "\x99\x55\x03\x5e\xed\x8d\x7b\xbd"
  27694. "\xc8\x21\xb7\x21\x30\x3f\xc0\xb5"
  27695. "\xc8\xec\x6c\x23\xa6\xa3\x6d\xf1"
  27696. "\x30\x0a\xd0\xa6\xa9\x28\x69\xae"
  27697. "\x2a\xe6\x54\xac\x82\x9d\x6a\x95"
  27698. "\x6f\x06\x44\xc5\x5a\x77\x6e\xec"
  27699. "\xf8\xf8\x63\xb2\xe6\xaa\xbd\x8e"
  27700. "\x0e\x8a\x62\x00\x03\xc8\x84\xdd"
  27701. "\x47\x4a\xc3\x55\xba\xb7\xe7\xdf"
  27702. "\x08\xbf\x62\xf5\xe8\xbc\xb6\x11"
  27703. "\xe4\xcb\xd0\x66\x74\x32\xcf\xd4"
  27704. "\xf8\x51\x80\x39\x14\x05\x12\xdb"
  27705. "\x87\x93\xe2\x26\x30\x9c\x3a\x21"
  27706. "\xe5\xd0\x38\x57\x80\x15\xe4\x08"
  27707. "\x58\x05\x49\x7d\xe6\x92\x77\x70"
  27708. "\xfb\x1e\x2d\x6a\x84\x00\xc8\x68"
  27709. "\xf7\x1a\xdd\xf0\x7b\x38\x1e\xd8"
  27710. "\x2c\x78\x78\x61\xcf\xe3\xde\x69"
  27711. "\x1f\xd5\x03\xd5\x1a\xb4\xcf\x03"
  27712. "\xc8\x7a\x70\x68\x35\xb4\xf6\xbe"
  27713. "\x90\x62\xb2\x28\x99\x86\xf5\x44"
  27714. "\x99\xeb\x31\xcf\xca\xdf\xd0\x21"
  27715. "\xd6\x60\xf7\x0f\x40\xb4\x80\xb7"
  27716. "\xab\xe1\x9b\x45\xba\x66\xda\xee"
  27717. "\xdd\x04\x12\x40\x98\xe1\x69\xe5"
  27718. "\x2b\x9c\x59\x80\xe7\x7b\xcc\x63"
  27719. "\xa6\xc0\x3a\xa9\xfe\x8a\xf9\x62"
  27720. "\x11\x34\x61\x94\x35\xfe\xf2\x99"
  27721. "\xfd\xee\x19\xea\x95\xb6\x12\xbf"
  27722. "\x1b\xdf\x02\x1a\xcc\x3e\x7e\x65"
  27723. "\x78\x74\x10\x50\x29\x63\x28\xea"
  27724. "\x6b\xab\xd4\x06\x4d\x15\x24\x31"
  27725. "\xc7\x0a\xc9\x16\xb6\x48\xf0\xbf"
  27726. "\x49\xdb\x68\x71\x31\x8f\x87\xe2"
  27727. "\x13\x05\x64\xd6\x22\x0c\xf8\x36"
  27728. "\x84\x24\x3e\x69\x5e\xb8\x9e\x16"
  27729. "\x73\x6c\x83\x1e\xe0\x9f\x9e\xba"
  27730. "\xe5\x59\x21\x33\x1b\xa9\x26\xc2"
  27731. "\xc7\xd9\x30\x73\xb6\xa6\x73\x82"
  27732. "\x19\xfa\x44\x4d\x40\x8b\x69\x04"
  27733. "\x94\x74\xea\x6e\xb3\x09\x47\x01"
  27734. "\x2a\xb9\x78\x34\x43\x11\xed\xd6"
  27735. "\x8c\x95\x65\x1b\x85\x67\xa5\x40"
  27736. "\xac\x9c\x05\x4b\x57\x4a\xa9\x96"
  27737. "\x0f\xdd\x4f\xa1\xe0\xcf\x6e\xc7"
  27738. "\x1b\xed\xa2\xb4\x56\x8c\x09\x6e"
  27739. "\xa6\x65\xd7\x55\x81\xb7\xed\x11"
  27740. "\x9b\x40\x75\xa8\x6b\x56\xaf\x16"
  27741. "\x8b\x3d\xf4\xcb\xfe\xd5\x1d\x3d"
  27742. "\x85\xc2\xc0\xde\x43\x39\x4a\x96"
  27743. "\xba\x88\x97\xc0\xd6\x00\x0e\x27"
  27744. "\x21\xb0\x21\x52\xba\xa7\x37\xaa"
  27745. "\xcc\xbf\x95\xa8\xf4\xd0\x91\xf6",
  27746. .len = 512,
  27747. }, {
  27748. .key = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
  27749. "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
  27750. "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
  27751. "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
  27752. .klen = 32,
  27753. .iv = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
  27754. "\x88\x76\x65\xb4\x1a\x29\x27\x12"
  27755. "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
  27756. "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
  27757. .ptext = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
  27758. "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
  27759. "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
  27760. "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
  27761. "\x38\x24\x62\xdb\x65\x82\x10\x7f"
  27762. "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
  27763. "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
  27764. "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
  27765. "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
  27766. "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
  27767. "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
  27768. "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
  27769. "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
  27770. "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
  27771. "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
  27772. "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
  27773. "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
  27774. "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
  27775. "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
  27776. "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
  27777. "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
  27778. "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
  27779. "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
  27780. "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
  27781. "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
  27782. "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
  27783. "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
  27784. "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
  27785. "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
  27786. "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
  27787. "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
  27788. "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
  27789. "\x28\x04\x4c\xff\x98\x20\x08\x10"
  27790. "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
  27791. "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
  27792. "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
  27793. "\x24\x62\xcf\x17\x36\x84\xc0\x72"
  27794. "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
  27795. "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
  27796. "\x71\x73\x08\x4e\x22\x31\xfd\x88"
  27797. "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
  27798. "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
  27799. "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
  27800. "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
  27801. "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
  27802. "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
  27803. "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
  27804. "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
  27805. "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
  27806. "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
  27807. "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
  27808. "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
  27809. "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
  27810. "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
  27811. "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
  27812. "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
  27813. "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
  27814. "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
  27815. "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
  27816. "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
  27817. "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
  27818. "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
  27819. "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
  27820. "\x85\x12\xca\x61\x65\xd1\x66\xd8"
  27821. "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
  27822. "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
  27823. "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
  27824. "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
  27825. "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
  27826. "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
  27827. "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
  27828. "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
  27829. "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
  27830. "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
  27831. "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
  27832. "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
  27833. "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
  27834. "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
  27835. "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
  27836. "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
  27837. "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
  27838. "\x16\xcb\xae\x7d\x38\x21\x67\x74"
  27839. "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
  27840. "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
  27841. "\xa8\x88\x27\x86\x44\x75\x5b\x29"
  27842. "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
  27843. "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
  27844. "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
  27845. "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
  27846. "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
  27847. "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
  27848. "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
  27849. "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
  27850. "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
  27851. "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
  27852. "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
  27853. "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
  27854. "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
  27855. "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
  27856. "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
  27857. "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
  27858. "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
  27859. "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
  27860. "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
  27861. "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
  27862. "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
  27863. "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
  27864. "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
  27865. "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
  27866. "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
  27867. "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
  27868. "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
  27869. "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
  27870. "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
  27871. "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
  27872. "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
  27873. "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
  27874. "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
  27875. "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
  27876. "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
  27877. "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
  27878. "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
  27879. "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
  27880. "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
  27881. "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
  27882. "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
  27883. "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
  27884. "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
  27885. "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
  27886. "\x55\x9a\xe0\x09\x21\xac\x61\x85"
  27887. "\x4b\x20\x95\x73\x63\x26\xe3\x83"
  27888. "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
  27889. "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
  27890. "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
  27891. "\x98\x09\x11\xb7\x00\x06\x24\x5a"
  27892. "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
  27893. "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
  27894. "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
  27895. "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
  27896. "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
  27897. "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
  27898. "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
  27899. "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
  27900. "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
  27901. "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
  27902. "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
  27903. "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
  27904. "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
  27905. "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
  27906. "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
  27907. "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
  27908. "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
  27909. "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
  27910. "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
  27911. "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
  27912. "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
  27913. "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
  27914. "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
  27915. "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
  27916. "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
  27917. "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
  27918. "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
  27919. "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
  27920. "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
  27921. "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
  27922. "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
  27923. "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
  27924. "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
  27925. "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
  27926. "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
  27927. "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
  27928. "\x62\x96\x79\x0c\x81\x05\x41\xf2"
  27929. "\x07\x20\x26\xe5\x8e\x10\x54\x03"
  27930. "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
  27931. "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
  27932. "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
  27933. "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
  27934. "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
  27935. "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
  27936. "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
  27937. "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
  27938. "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
  27939. "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
  27940. "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
  27941. "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
  27942. "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
  27943. "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
  27944. "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
  27945. "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
  27946. "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
  27947. "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
  27948. "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
  27949. .ctext = "\xcb\x78\x87\x9c\xc7\x13\xc1\x30"
  27950. "\xdd\x2c\x7d\xb2\x97\xab\x06\x69"
  27951. "\x47\x87\x8a\x12\x2b\x5d\x86\xd7"
  27952. "\x2e\xe6\x7a\x0d\x58\x5d\xe7\x01"
  27953. "\x78\x0e\xff\xc7\xc5\xd2\x94\xd6"
  27954. "\xdd\x6b\x38\x1f\xa4\xe3\x3d\xe7"
  27955. "\xc5\x8a\xb5\xbe\x65\x11\x2b\xe1"
  27956. "\x2b\x8e\x84\xe8\xe0\x00\x7f\xdd"
  27957. "\x15\x15\xab\xbd\x22\x94\xf7\xce"
  27958. "\x99\x6f\xfd\x0e\x9b\x16\xeb\xeb"
  27959. "\x24\xc7\xbb\xc6\xe1\x6c\x57\xba"
  27960. "\x84\xab\x16\xf2\x57\xd6\x42\x9d"
  27961. "\x56\x92\x5b\x44\x18\xd4\xa2\x1b"
  27962. "\x1e\xa9\xdc\x7a\x16\x88\xc4\x4f"
  27963. "\x6d\x77\x9a\x2e\x82\xa9\xc3\xee"
  27964. "\xa4\xca\x05\x1b\x0e\xdc\x48\x96"
  27965. "\xd0\x50\x21\x1f\x46\xc7\xc7\x70"
  27966. "\x53\xcd\x1e\x4e\x5f\x2d\x4b\xb2"
  27967. "\x86\xe5\x3a\xe6\x1d\xec\x7b\x9d"
  27968. "\x8f\xd6\x41\xc6\xbb\x00\x4f\xe6"
  27969. "\x02\x47\x07\x73\x50\x6b\xcf\xb2"
  27970. "\x9e\x1c\x01\xc9\x09\xcc\xc3\x52"
  27971. "\x27\xe6\x63\xe0\x5b\x55\x60\x4d"
  27972. "\x72\xd0\xda\x4b\xec\xcb\x72\x5d"
  27973. "\x37\x4a\xf5\xb8\xd9\xe2\x08\x10"
  27974. "\xf3\xb9\xdc\x07\xc0\x02\x10\x14"
  27975. "\x9f\xe6\x8f\xc4\xc4\xe1\x39\x7b"
  27976. "\x47\xea\xae\x7c\xdd\x27\xa8\x4c"
  27977. "\x6b\x0f\x4c\xf8\xff\x16\x4e\xcb"
  27978. "\xec\x88\x33\x0d\x15\x10\x82\x66"
  27979. "\xa7\x3d\x2c\xb6\xbc\x2e\xe4\xce"
  27980. "\x4c\x2f\x4b\x46\x0f\x67\x78\xa5"
  27981. "\xff\x6a\x7d\x0d\x5e\x6d\xab\xfb"
  27982. "\x59\x99\xd8\x1f\x30\xd4\x33\xe8"
  27983. "\x7d\x11\xae\xe3\xba\xd0\x3f\xa7"
  27984. "\xa5\x5e\x43\xda\xf3\x0f\x3a\x5f"
  27985. "\xba\xb0\x47\xb2\x08\x60\xf4\xed"
  27986. "\x35\x23\x0c\xe9\x4f\x81\xc4\xc5"
  27987. "\xa8\x35\xdc\x99\x52\x33\x19\xd4"
  27988. "\x00\x01\x8d\x5a\x10\x82\x39\x78"
  27989. "\xfc\x72\x24\x63\x4a\x38\xc5\x6f"
  27990. "\xfe\xec\x2f\x26\x0c\x3c\x1c\xf6"
  27991. "\x4d\x99\x7a\x77\x59\xfe\x10\xa5"
  27992. "\xa1\x35\xbf\x2f\x15\xfa\x4e\x52"
  27993. "\xe6\xd5\x1c\x88\x90\x75\xd5\xcc"
  27994. "\xdb\x2a\xb1\xf0\x70\x54\x89\xc7"
  27995. "\xeb\x1d\x6e\x61\x45\xa3\x50\x48"
  27996. "\xcd\xdb\x32\xba\x7f\x6b\xaf\xef"
  27997. "\x50\xcb\x0d\x36\xf7\x29\x3a\x10"
  27998. "\x02\x73\xca\x8f\x3f\x5d\x82\x17"
  27999. "\x91\x9a\xd8\x15\x15\xe3\xe1\x41"
  28000. "\x43\xef\x85\xa6\xb0\xc7\x3b\x0f"
  28001. "\xf0\xa5\xaa\x66\x77\x70\x5e\x70"
  28002. "\xce\x17\x84\x68\x45\x39\x2c\x25"
  28003. "\xc6\xc1\x5f\x7e\xe8\xfa\xe4\x3a"
  28004. "\x47\x51\x7b\x9d\x54\x84\x98\x04"
  28005. "\x5f\xf7\x5f\x3c\x34\xe7\xa3\x1d"
  28006. "\xea\xb7\x6d\x05\xab\x28\xe4\x2c"
  28007. "\xb1\x7f\x08\xa8\x5d\x07\xbf\xfe"
  28008. "\x39\x72\x44\x87\x51\xc5\x73\xe4"
  28009. "\x9a\x5f\xdd\x46\xbc\x4e\xb1\x39"
  28010. "\xe4\x78\xb8\xbf\xdc\x5b\x88\x9b"
  28011. "\xc1\x3f\xd9\xd0\xb3\x5a\xdf\xaa"
  28012. "\x53\x6a\x91\x6d\x2a\x09\xf0\x0b"
  28013. "\x5e\xe8\xb2\xa0\xb4\x73\x07\x1d"
  28014. "\xc8\x33\x84\xe6\xda\xe6\xad\xd6"
  28015. "\xad\x91\x01\x4e\x14\x42\x34\x2c"
  28016. "\xe5\xf9\x99\x21\x56\x1f\x6c\x2b"
  28017. "\x4c\xe3\xd5\x9e\x04\xdc\x9a\x16"
  28018. "\xd1\x54\xe9\xc2\xf7\xc0\xd5\x06"
  28019. "\x2f\xa1\x38\x2a\x55\x88\x23\xf8"
  28020. "\xb0\xdb\x87\x32\xc9\x4e\xb0\x0c"
  28021. "\xc5\x05\x78\x58\xa1\x2e\x75\x75"
  28022. "\x68\xdc\xea\xdd\x0c\x33\x16\x5e"
  28023. "\xe7\xdc\xfd\x42\x74\xbe\xae\x60"
  28024. "\x3c\x37\x4b\x27\xf5\x2c\x5f\x55"
  28025. "\x4a\x0b\x64\xfd\xa2\x01\x65\x9c"
  28026. "\x27\x9f\x5e\x87\xd5\x95\x88\x66"
  28027. "\x09\x84\x42\xab\x00\xe2\x58\xc3"
  28028. "\x97\x45\xf1\x93\xe2\x34\x37\x3d"
  28029. "\xfe\x93\x8c\x17\xb9\x79\x65\x06"
  28030. "\xf7\x58\xe5\x1b\x3b\x4e\xda\x36"
  28031. "\x17\xe3\x56\xec\x26\x0f\x2e\xfa"
  28032. "\xd1\xb9\x2b\x3e\x7f\x1d\xe3\x4b"
  28033. "\x67\xdf\x43\x53\x10\xba\xa3\xfb"
  28034. "\x5d\x5a\xd8\xc4\xab\x19\x7e\x12"
  28035. "\xaa\x83\xf1\xc0\xa1\xe0\xbf\x72"
  28036. "\x5f\xe8\x68\x39\xef\x1a\xbe\xee"
  28037. "\x6f\x47\x79\x19\xed\xf2\xa1\x4a"
  28038. "\xe5\xfc\xb5\x58\xae\x63\x82\xcb"
  28039. "\x16\x0b\x94\xbb\x3e\x02\x49\xc4"
  28040. "\x3c\x33\xf1\xec\x1b\x11\x71\x9b"
  28041. "\x5b\x80\xf1\x6f\x88\x1c\x05\x36"
  28042. "\xa8\xd8\xee\x44\xb5\x18\xc3\x14"
  28043. "\x62\xba\x98\xb9\xc0\x2a\x70\x93"
  28044. "\xb3\xd8\x11\x69\x95\x1d\x43\x7b"
  28045. "\x39\xc1\x91\x05\xc4\xe3\x1e\xc2"
  28046. "\x1e\x5d\xe7\xde\xbe\xfd\xae\x99"
  28047. "\x4b\x8f\x83\x1e\xf4\x9b\xb0\x2b"
  28048. "\x66\x6e\x62\x24\x8d\xe0\x1b\x22"
  28049. "\x59\xeb\xbd\x2a\x6b\x2e\x37\x17"
  28050. "\x9e\x1f\x66\xcb\x66\xb4\xfb\x2c"
  28051. "\x36\x22\x5d\x73\x56\xc1\xb0\x27"
  28052. "\xe0\xf0\x1b\xe4\x47\x8b\xc6\xdc"
  28053. "\x7c\x0c\x3d\x29\xcb\x33\x10\xfe"
  28054. "\xc3\xc3\x1e\xff\x4c\x9b\x27\x86"
  28055. "\xe2\xb0\xaf\xb7\x89\xce\x61\x69"
  28056. "\xe7\x00\x3e\x92\xea\x5f\x9e\xc1"
  28057. "\xfa\x6b\x20\xe2\x41\x23\x82\xeb"
  28058. "\x07\x76\x4c\x4c\x2a\x96\x33\xbe"
  28059. "\x89\xa9\xa8\xb9\x9a\x7d\x27\x18"
  28060. "\x48\x23\x70\x46\xf3\x87\xa7\x91"
  28061. "\x58\xb8\x74\xba\xed\xc6\xb2\xa1"
  28062. "\x4d\xb6\x43\x9a\xe1\xa2\x41\xa5"
  28063. "\x35\xd3\x90\x8a\xc7\x4d\xb7\x88"
  28064. "\x0b\xe3\x74\x9f\x84\xfc\xd9\x73"
  28065. "\xf2\x86\x0c\xad\xeb\x5d\x70\xac"
  28066. "\x65\x07\x14\x8e\x57\xf6\xdc\xb4"
  28067. "\xc2\x02\x7c\xd6\x89\xe2\x8a\x3e"
  28068. "\x8e\x08\x3c\x12\x37\xaf\xe1\xa8"
  28069. "\x04\x11\x5c\xae\x5a\x2b\x60\xa0"
  28070. "\x03\x3c\x7a\xa2\x38\x92\xbe\xce"
  28071. "\x09\xa2\x5e\x0f\xc2\xb2\xb5\x06"
  28072. "\xc2\x97\x97\x9b\x09\x2f\x04\xfe"
  28073. "\x2c\xe7\xa3\xc4\x42\xe9\xa3\x40"
  28074. "\xa5\x52\x07\x2c\x3b\x89\x1a\xa5"
  28075. "\x28\xb1\x93\x05\x98\x0c\x2f\x3d"
  28076. "\xc6\xf5\x83\xac\x24\x1d\x28\x9f"
  28077. "\x32\x66\x4d\x70\xb7\xe0\xab\xb8"
  28078. "\x75\xc5\xf3\xd2\x7b\x26\x3e\xec"
  28079. "\x64\xe6\xf7\x70\xe7\xf8\x10\x8e"
  28080. "\x67\xd2\xb3\x87\x69\x40\x06\x9a"
  28081. "\x2f\x6a\x1a\xfd\x62\x0c\xee\x31"
  28082. "\x2e\xbe\x58\x97\x77\xd1\x09\x08"
  28083. "\x1f\x8d\x42\x29\x34\xd5\xd8\xb5"
  28084. "\x1f\xd7\x21\x18\xe3\xe7\x2e\x4a"
  28085. "\x42\xfc\xdb\x19\xe9\xee\xb9\x22"
  28086. "\xad\x5c\x07\xe9\xc8\x07\xe5\xe9"
  28087. "\x95\xa2\x0d\x30\x46\xe2\x65\x51"
  28088. "\x01\xa5\x74\x85\xe2\x52\x6e\x07"
  28089. "\xc9\xf5\x33\x09\xde\x78\x62\xa9"
  28090. "\x30\x2a\xd3\x86\xe5\x46\x2e\x60"
  28091. "\xff\x74\xb0\x5f\xec\x76\xb7\xd1"
  28092. "\x5e\x4d\x61\x97\x3c\x9c\x99\xc3"
  28093. "\x41\x65\x21\x47\xf9\xb1\x06\xec"
  28094. "\x18\xf8\x3f\xc7\x38\xfa\x7b\x14"
  28095. "\x62\x79\x6a\x0b\x0c\xf5\x2c\xb7"
  28096. "\xab\xcf\x63\x49\x6d\x1f\x46\xa8"
  28097. "\xbc\x7d\x42\x53\x75\x6b\xca\x38"
  28098. "\xac\x8b\xe7\xa1\xa1\x92\x19\x6b"
  28099. "\x0d\x75\x80\x5b\x7d\x35\x86\x70"
  28100. "\x12\x6b\xe5\x3e\xe5\x85\xa0\xa4"
  28101. "\xd6\x77\x5e\x4d\x24\x57\x84\xa9"
  28102. "\xe5\xa4\xbf\x25\xfb\x36\x65\x3b"
  28103. "\x81\x39\x61\xec\x5e\x4a\x7e\x10"
  28104. "\x58\x19\x13\x5c\x0f\x79\xec\xcf"
  28105. "\xbb\x5f\x69\x21\xc3\xa7\x5a\xff"
  28106. "\x3b\xc7\x85\x9b\x47\xbc\x3e\xad"
  28107. "\xbf\x54\x60\xb6\x5b\x3f\xfc\x50"
  28108. "\x68\x83\x76\x24\xb0\xc3\x3f\x93"
  28109. "\x0d\xce\x36\x0a\x58\x9d\xcc\xe9"
  28110. "\x52\xbb\xd0\x0b\x65\xe5\x0f\x62"
  28111. "\x82\x16\xaa\xd2\xba\x5a\x4c\xd0"
  28112. "\x67\xb5\x4e\x84\x1c\x02\x6e\xa3"
  28113. "\xaa\x22\x54\x96\xc8\xd9\x9c\x58"
  28114. "\x15\x63\xf4\x98\x1a\xa1\xd9\x11"
  28115. "\x64\x25\x56\xb5\x03\x8e\x29\x85"
  28116. "\x75\x88\xd1\xd2\xe4\xe6\x27\x48"
  28117. "\x13\x9c\x2b\xaa\xfb\xd3\x6e\x2c"
  28118. "\xe6\xd4\xe4\x8b\xd9\xf7\x01\x16"
  28119. "\x46\xf9\x5c\x88\x7a\x93\x9e\x2d"
  28120. "\xa6\xeb\x01\x2a\x72\xe4\x7f\xb4"
  28121. "\x78\x0c\x50\x18\xd3\x8e\x65\xa7"
  28122. "\x1b\xf9\x28\x5d\x89\x70\x96\x2f"
  28123. "\xa1\xc2\x9b\x34\xfc\x7c\x27\x63"
  28124. "\x93\xe6\xe3\xa4\x9d\x17\x97\x7e"
  28125. "\x13\x79\x9c\x4b\x2c\x23\x91\x2c"
  28126. "\x4f\xb1\x1d\x4b\xb4\x61\x6e\xe8"
  28127. "\x32\x35\xc3\x41\x7a\x50\x60\xc8"
  28128. "\x3e\xd8\x3f\x38\xfc\xc2\xa2\xe0"
  28129. "\x3a\x21\x25\x8f\xc2\x22\xed\x04"
  28130. "\x31\xb8\x72\x69\xaf\x6c\x6d\xab"
  28131. "\x25\x16\x95\x87\x92\xc7\x46\x3f"
  28132. "\x47\x05\x6c\xad\xa0\xa6\x1d\xf0"
  28133. "\x66\x2e\x01\x1a\xc3\xbe\xe4\xf6"
  28134. "\x51\xec\xa3\x95\x81\xe1\xcc\xab"
  28135. "\xc1\x71\x65\x0a\xe6\x53\xfb\xb8"
  28136. "\x53\x69\xad\x8b\xab\x8b\xa7\xcd"
  28137. "\x8f\x15\x01\x25\xb1\x1f\x9c\x3b"
  28138. "\x9b\x47\xad\x38\x38\x89\x6b\x1c"
  28139. "\x8a\x33\xdd\x8a\x06\x23\x06\x0b"
  28140. "\x7f\x70\xbe\x7e\xa1\x80\xbc\x7a",
  28141. .len = 1536,
  28142. }, {
  28143. .key = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
  28144. "\x70\x47\x8c\xea\x87\x30\x1d\x58"
  28145. "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
  28146. "\x56\x95\x83\x98\x38\x80\x84\x8a",
  28147. .klen = 32,
  28148. .iv = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
  28149. "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
  28150. "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
  28151. "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
  28152. .ptext = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
  28153. "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
  28154. "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
  28155. "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
  28156. "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
  28157. "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
  28158. "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
  28159. "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
  28160. "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
  28161. "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
  28162. "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
  28163. "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
  28164. "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
  28165. "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
  28166. "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
  28167. "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
  28168. "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
  28169. "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
  28170. "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
  28171. "\x35\x21\x66\x78\x3d\xb6\x65\x83"
  28172. "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
  28173. "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
  28174. "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
  28175. "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
  28176. "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
  28177. "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
  28178. "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
  28179. "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
  28180. "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
  28181. "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
  28182. "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
  28183. "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
  28184. "\x96\x87\xc9\x34\x02\x26\xde\x20"
  28185. "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
  28186. "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
  28187. "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
  28188. "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
  28189. "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
  28190. "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
  28191. "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
  28192. "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
  28193. "\x85\xfd\x22\x08\x00\xae\x72\x10"
  28194. "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
  28195. "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
  28196. "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
  28197. "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
  28198. "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
  28199. "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
  28200. "\x93\x45\x38\x95\xb9\x69\xe9\x62"
  28201. "\x21\x73\xbd\x81\x73\xac\x15\x74"
  28202. "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
  28203. "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
  28204. "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
  28205. "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
  28206. "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
  28207. "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
  28208. "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
  28209. "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
  28210. "\x24\x43\xb3\x0e\xba\xad\x63\x63"
  28211. "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
  28212. "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
  28213. "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
  28214. "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
  28215. "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
  28216. "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
  28217. "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
  28218. "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
  28219. "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
  28220. "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
  28221. "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
  28222. "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
  28223. "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
  28224. "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
  28225. "\x9d\x46\xae\x67\x00\x3b\x40\x94"
  28226. "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
  28227. "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
  28228. "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
  28229. "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
  28230. "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
  28231. "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
  28232. "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
  28233. "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
  28234. "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
  28235. "\x76\xca\x9f\x56\xae\x04\x2e\x75"
  28236. "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
  28237. "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
  28238. "\x08\x67\x02\x01\xe3\x64\x82\xee"
  28239. "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
  28240. "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
  28241. "\x85\x48\xb6\x97\x97\x02\x43\x1f"
  28242. "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
  28243. "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
  28244. "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
  28245. "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
  28246. "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
  28247. "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
  28248. "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
  28249. "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
  28250. "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
  28251. "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
  28252. "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
  28253. "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
  28254. "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
  28255. "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
  28256. "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
  28257. "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
  28258. "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
  28259. "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
  28260. "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
  28261. "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
  28262. "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
  28263. "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
  28264. "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
  28265. "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
  28266. "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
  28267. "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
  28268. "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
  28269. "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
  28270. "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
  28271. "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
  28272. "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
  28273. "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
  28274. "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
  28275. "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
  28276. "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
  28277. "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
  28278. "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
  28279. "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
  28280. "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
  28281. "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
  28282. "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
  28283. "\x36\x12\x35\x28\x64\x12\xe7\xbb"
  28284. "\x50\xac\x45\x15\x7b\x16\x23\x5e"
  28285. "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
  28286. "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
  28287. "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
  28288. "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
  28289. "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
  28290. "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
  28291. "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
  28292. "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
  28293. "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
  28294. "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
  28295. "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
  28296. "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
  28297. "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
  28298. "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
  28299. "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
  28300. "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
  28301. "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
  28302. "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
  28303. "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
  28304. "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
  28305. "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
  28306. "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
  28307. "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
  28308. "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
  28309. "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
  28310. "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
  28311. "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
  28312. "\x7d\x65\x57\x65\x98\xff\x8b\x02"
  28313. "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
  28314. "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
  28315. "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
  28316. "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
  28317. "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
  28318. "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
  28319. "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
  28320. "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
  28321. "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
  28322. "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
  28323. "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
  28324. "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
  28325. "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
  28326. "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
  28327. "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
  28328. "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
  28329. "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
  28330. "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
  28331. "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
  28332. "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
  28333. "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
  28334. "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
  28335. "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
  28336. "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
  28337. "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
  28338. "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
  28339. "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
  28340. "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
  28341. "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
  28342. "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
  28343. "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
  28344. "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
  28345. "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
  28346. "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
  28347. "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
  28348. "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
  28349. "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
  28350. "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
  28351. "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
  28352. "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
  28353. "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
  28354. "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
  28355. "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
  28356. "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
  28357. "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
  28358. "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
  28359. "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
  28360. "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
  28361. "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
  28362. "\x53\xf1\x61\x97\x63\x52\x38\x86"
  28363. "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
  28364. "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
  28365. "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
  28366. "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
  28367. "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
  28368. "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
  28369. "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
  28370. "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
  28371. "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
  28372. "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
  28373. "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
  28374. "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
  28375. "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
  28376. "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
  28377. "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
  28378. "\x48\xb9\x27\x62\x00\x12\xc5\x03"
  28379. "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
  28380. "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
  28381. "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
  28382. "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
  28383. "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
  28384. "\x99\xd5\xff\x34\x93\x8f\x31\x45"
  28385. "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
  28386. "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
  28387. "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
  28388. "\x26\xec\x3a\x64\xc4\xab\x74\x97"
  28389. "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
  28390. "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
  28391. "\x68\x50\x22\x16\x96\x2f\xc4\x23"
  28392. "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
  28393. "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
  28394. "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
  28395. "\x20\x89\xef\x44\x22\x38\x3c\x14"
  28396. "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
  28397. "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
  28398. "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
  28399. "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
  28400. "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
  28401. "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
  28402. "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
  28403. "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
  28404. "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
  28405. "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
  28406. "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
  28407. "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
  28408. "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
  28409. "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
  28410. "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
  28411. "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
  28412. "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
  28413. "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
  28414. "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
  28415. "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
  28416. "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
  28417. "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
  28418. "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
  28419. "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
  28420. "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
  28421. "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
  28422. "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
  28423. "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
  28424. "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
  28425. "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
  28426. "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
  28427. "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
  28428. "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
  28429. "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
  28430. "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
  28431. "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
  28432. "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
  28433. "\x60\x81\x75\x29\x9e\xce\x2a\x70"
  28434. "\x28\x0c\x87\xe5\x46\x73\x76\x66"
  28435. "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
  28436. "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
  28437. "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
  28438. "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
  28439. "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
  28440. "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
  28441. "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
  28442. "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
  28443. "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
  28444. "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
  28445. "\xf1\x11\x02\x64\x09\x25\x7c\x26"
  28446. "\xee\xad\x50\x68\x31\x26\x16\x0f"
  28447. "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
  28448. "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
  28449. "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
  28450. "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
  28451. "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
  28452. "\x40\x12\x43\x31\xb8\x12\xe0\x95"
  28453. "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
  28454. "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
  28455. "\xab\x03\xda\x41\xab\xc5\x4e\x33"
  28456. "\x5a\x63\x94\x90\x22\x72\x54\x26"
  28457. "\x93\x65\x99\x45\x55\xd3\x55\x56"
  28458. "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
  28459. "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
  28460. "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
  28461. "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
  28462. "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
  28463. "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
  28464. "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
  28465. "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
  28466. "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
  28467. "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
  28468. "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
  28469. "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
  28470. "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
  28471. "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
  28472. "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
  28473. "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
  28474. "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
  28475. "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
  28476. "\xad\x6e\x83\x90\x21\x10\xb8\x07"
  28477. "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
  28478. "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
  28479. "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
  28480. "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
  28481. "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
  28482. "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
  28483. "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
  28484. "\x02\x5a\x20\x4d\x43\x08\x71\x49"
  28485. "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
  28486. "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
  28487. "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
  28488. "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
  28489. "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
  28490. "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
  28491. "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
  28492. "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
  28493. "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
  28494. "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
  28495. "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
  28496. "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
  28497. "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
  28498. "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
  28499. "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
  28500. "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
  28501. "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
  28502. "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
  28503. "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
  28504. "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
  28505. "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
  28506. "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
  28507. "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
  28508. "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
  28509. "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
  28510. "\x08\x48\xfd\x9b\x47\x41\x10\xae"
  28511. "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
  28512. "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
  28513. "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
  28514. "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
  28515. "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
  28516. "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
  28517. "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
  28518. "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
  28519. "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
  28520. "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
  28521. "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
  28522. "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
  28523. "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
  28524. "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
  28525. "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
  28526. "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
  28527. "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
  28528. "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
  28529. "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
  28530. "\x54\x14\x91\x12\x41\x41\x54\xa2"
  28531. "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
  28532. "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
  28533. "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
  28534. "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
  28535. "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
  28536. "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
  28537. "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
  28538. "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
  28539. "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
  28540. "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
  28541. "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
  28542. "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
  28543. "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
  28544. "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
  28545. "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
  28546. "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
  28547. "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
  28548. "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
  28549. "\x58\xec\x70\x4f\x40\x25\x2b\xba"
  28550. "\x96\x59\xac\x34\x45\x29\xc6\x57"
  28551. "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
  28552. "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
  28553. "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
  28554. "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
  28555. "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
  28556. "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
  28557. "\xea\xa5\x56\x02\x5b\x93\x13\x46"
  28558. "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
  28559. "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
  28560. "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
  28561. "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
  28562. "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
  28563. "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
  28564. "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
  28565. "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
  28566. "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
  28567. "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
  28568. "\xad\x57\xae\x98\x83\xd5\x92\x4e"
  28569. "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
  28570. "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
  28571. "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
  28572. "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
  28573. "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
  28574. "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
  28575. "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
  28576. "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
  28577. "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
  28578. "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
  28579. "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
  28580. "\x32\x06\x3f\x12\x23\x19\x22\x82"
  28581. "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
  28582. "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
  28583. "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
  28584. "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
  28585. "\x35\x79\x84\x78\x06\x68\x97\x30"
  28586. "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
  28587. "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
  28588. "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
  28589. "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
  28590. "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
  28591. "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
  28592. "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
  28593. "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
  28594. "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
  28595. "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
  28596. "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
  28597. "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
  28598. "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
  28599. "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
  28600. "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
  28601. "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
  28602. "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
  28603. "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
  28604. "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
  28605. "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
  28606. "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
  28607. "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
  28608. "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
  28609. "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
  28610. "\x13\xa7\x47\x89\x62\xa3\x03\x19"
  28611. "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
  28612. "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
  28613. "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
  28614. "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
  28615. "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
  28616. "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
  28617. "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
  28618. "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
  28619. "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
  28620. "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
  28621. "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
  28622. "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
  28623. "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
  28624. "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
  28625. "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
  28626. "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
  28627. "\x20\xa9\x37\x78\x32\x03\x60\xcc"
  28628. "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
  28629. "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
  28630. "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
  28631. "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
  28632. "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
  28633. "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
  28634. "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
  28635. "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
  28636. "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
  28637. "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
  28638. "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
  28639. "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
  28640. "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
  28641. "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
  28642. "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
  28643. "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
  28644. "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
  28645. "\x12\xab\x95\x66\xec\x09\x64\xea"
  28646. "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
  28647. "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
  28648. "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
  28649. "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
  28650. "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
  28651. "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
  28652. "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
  28653. "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
  28654. "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
  28655. "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
  28656. "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
  28657. "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
  28658. "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
  28659. "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
  28660. "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
  28661. "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
  28662. "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
  28663. "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
  28664. .ctext = "\x57\xd1\xcf\x26\xe5\x07\x7a\x3f"
  28665. "\xa5\x5e\xd4\xa8\x12\xe9\x4e\x36"
  28666. "\x9c\x28\x65\xe0\xbd\xef\xf1\x49"
  28667. "\x04\xd4\xd4\x01\x4d\xf5\xfc\x2a"
  28668. "\x32\xd8\x19\x21\xcd\x58\x2a\x1a"
  28669. "\x43\x78\xa4\x57\x69\xa0\x52\xeb"
  28670. "\xcd\xa5\x9c\x4d\x03\x28\xef\x8b"
  28671. "\x54\xc6\x6c\x31\xab\x3e\xaf\x6d"
  28672. "\x0a\x87\x83\x3d\xb7\xea\x6b\x3d"
  28673. "\x11\x58\x7d\x5f\xaf\xc9\xfc\x50"
  28674. "\x58\x9a\x84\xa1\xcf\x76\xdc\x77"
  28675. "\x83\x9a\x28\x74\x69\xc9\x0c\xc2"
  28676. "\x7b\x1e\x4e\xe4\x25\x41\x23\x0d"
  28677. "\x4e\x0e\x2d\x7a\x87\xaa\x0f\x7c"
  28678. "\x98\xad\xf0\x6f\xbf\xcb\xd5\x1a"
  28679. "\x3e\xcf\x0e\xc5\xde\xbd\x8d\xf1"
  28680. "\xaa\x19\x16\xb8\xc5\x25\x02\x33"
  28681. "\xbd\x5a\x85\xe2\xc0\x77\x71\xda"
  28682. "\x12\x4c\xdf\x7f\xce\xc0\x32\x95"
  28683. "\x1a\xde\xcb\x0a\x70\xd0\x9e\x89"
  28684. "\xc5\x97\x18\x04\xab\x8c\x38\x56"
  28685. "\x69\xe5\xf6\xa5\x76\x2c\x52\x7a"
  28686. "\x49\xd2\x9a\x95\xa6\xa8\x82\x42"
  28687. "\x20\x1f\x58\x57\x4e\x22\xdb\x92"
  28688. "\xec\xbd\x4a\x21\x66\x9b\x7a\xcb"
  28689. "\x73\xcd\x6d\x15\x07\xc9\x97\xb8"
  28690. "\x11\x35\xee\x29\xa4\x90\xfc\x46"
  28691. "\x0f\x39\x56\xc6\x4a\x3a\xcf\xcc"
  28692. "\xb1\xbf\x62\x1c\x16\xc5\x12\x6c"
  28693. "\x0e\x69\x89\xce\xcf\x11\x4e\xe5"
  28694. "\x7e\x4e\x7c\x8f\xb4\xc9\xe6\x54"
  28695. "\x42\x89\x28\x27\xe6\xec\x50\xb7"
  28696. "\x69\x91\x44\x3e\x46\xd4\x64\xf6"
  28697. "\x25\x4c\x4d\x2f\x60\xd9\x9a\xd3"
  28698. "\x1c\x70\xf4\xd8\x24\x1e\xdb\xcf"
  28699. "\xa8\xc0\x22\xe6\x82\x57\xf6\xf0"
  28700. "\xe1\x1e\x38\x66\xec\xdc\x20\xdb"
  28701. "\x6a\x57\x68\xb1\x43\x61\xe1\x12"
  28702. "\x18\x5f\x31\x57\x39\xcb\xea\x3c"
  28703. "\x6e\x5d\x9a\xe0\xa6\x70\x4d\xd8"
  28704. "\xf9\x47\x4e\xef\x31\xa5\x66\x9b"
  28705. "\xb7\xf1\xd9\x59\x85\xfc\xdb\x7e"
  28706. "\xa2\x7a\x70\x25\x0c\xfd\x18\x0d"
  28707. "\x00\x42\xc9\x48\x8a\xbd\x74\xc5"
  28708. "\x3e\xe1\x20\x5a\x5d\x2e\xe5\x32"
  28709. "\x1d\x1c\x08\x65\x80\x69\xae\x24"
  28710. "\x80\xde\xb6\xdf\x97\xaa\x42\x8d"
  28711. "\xce\x39\x07\xe6\x69\x94\x5a\x75"
  28712. "\x39\xda\x5e\x1a\xed\x4a\x4c\x23"
  28713. "\x66\x1f\xf3\xb1\x6e\x8f\x21\x94"
  28714. "\x45\xc4\x63\xbd\x06\x93\x5e\x30"
  28715. "\xe7\x8f\xcb\xe0\xbb\x2a\x27\xcf"
  28716. "\x57\xa9\xa6\x28\xaf\xae\xcb\xa5"
  28717. "\x7b\x36\x61\x77\x3a\x4f\xec\x51"
  28718. "\x71\xfd\x52\x9e\x32\x7b\x98\x09"
  28719. "\xae\x27\xbc\x93\x96\xab\xb6\x02"
  28720. "\xf7\x21\xd3\x42\x00\x7e\x7a\x92"
  28721. "\x17\xfe\x1b\x3d\xcf\xb6\xfe\x1e"
  28722. "\x40\xc3\x10\x25\xac\x22\x9e\xcc"
  28723. "\xc2\x02\x61\xf5\x0a\x4b\xc3\xec"
  28724. "\xb1\x44\x06\x05\xb8\xd6\xcb\xd5"
  28725. "\xf1\xf5\xb5\x65\xbc\x1a\x19\xa2"
  28726. "\x7d\x60\x87\x11\x06\x83\x25\xe3"
  28727. "\x5e\xf0\xeb\x15\x93\xb6\x8e\xab"
  28728. "\x49\x52\xe8\xdb\xde\xd1\x8e\xa2"
  28729. "\x3a\x64\x13\x30\xaa\x20\xaf\x81"
  28730. "\x8d\x3c\x24\x2a\x76\x6d\xca\x32"
  28731. "\x63\x51\x6b\x8e\x4b\xa7\xf6\xad"
  28732. "\xa5\x94\x16\x82\xa6\x97\x3b\xe5"
  28733. "\x41\xcd\x87\x33\xdc\xc1\x48\xca"
  28734. "\x4e\xa2\x82\xad\x8e\x1b\xae\xcb"
  28735. "\x12\x93\x27\xa3\x2b\xfa\xe6\x26"
  28736. "\x43\xbd\xb0\x00\x01\x22\x1d\xd3"
  28737. "\x28\x9d\x69\xe0\xd4\xf8\x5b\x01"
  28738. "\x40\x7d\x54\xe5\xe2\xbd\x78\x5a"
  28739. "\x0e\xab\x51\xfc\xd4\xde\xba\xbc"
  28740. "\xa4\x7a\x74\x6d\xf8\x36\xc2\x70"
  28741. "\x03\x27\x36\xa2\xc0\xde\xf2\xc7"
  28742. "\x55\xd4\x66\xee\x9a\x9e\xaa\x99"
  28743. "\x2b\xeb\xa2\x6f\x17\x80\x60\x64"
  28744. "\xed\x73\xdb\xc1\x70\xda\xde\x67"
  28745. "\xcd\x6e\xc9\xfa\x3f\xef\x49\xd9"
  28746. "\x18\x42\xf1\x87\x6e\x2c\xac\xe1"
  28747. "\x12\x26\x52\xbe\x3e\xf1\xcc\x85"
  28748. "\x9a\xd1\x9e\xc1\x02\xd3\xca\x2b"
  28749. "\x99\xe7\xe8\x95\x7f\x91\x4b\xc0"
  28750. "\xab\xd4\x5a\xf7\x88\x1c\x7e\xea"
  28751. "\xd3\x15\x38\x26\xb5\xa3\xf2\xfc"
  28752. "\xc4\x12\x70\x5a\x37\x83\x49\xac"
  28753. "\xf4\x5e\x4c\xc8\x64\x03\x98\xad"
  28754. "\xd2\xbb\x8d\x90\x01\x80\xa1\x2a"
  28755. "\x23\xd1\x8d\x26\x43\x7d\x2b\xd0"
  28756. "\x87\xe1\x8e\x6a\xb3\x73\x9d\xc2"
  28757. "\x66\x75\xee\x2b\x41\x1a\xa0\x3b"
  28758. "\x1b\xdd\xb9\x21\x69\x5c\xef\x52"
  28759. "\x21\x57\xd6\x53\x31\x67\x7e\xd1"
  28760. "\xd0\x67\x8b\xc0\x97\x2c\x0a\x09"
  28761. "\x1d\xd4\x35\xc5\xd4\x11\x68\xf8"
  28762. "\x5e\x75\xaf\x0c\xc3\x9d\xa7\x09"
  28763. "\x38\xf5\x77\xb9\x80\xa9\x6b\xbd"
  28764. "\x0c\x98\xb4\x8d\xf0\x35\x5a\x19"
  28765. "\x1d\xf8\xb3\x5b\x45\xad\x4e\x4e"
  28766. "\xd5\x59\xf5\xd7\x53\x63\x3e\x97"
  28767. "\x7f\x91\x50\x65\x61\x21\xa9\xb7"
  28768. "\x65\x12\xdc\x01\x56\x40\xe0\xb1"
  28769. "\xe1\x23\xba\x9d\xb9\xc4\x8b\x1f"
  28770. "\xa6\xfe\x24\x19\xe9\x42\x9f\x9b"
  28771. "\x02\x48\xaa\x60\x0b\xf5\x7f\x8f"
  28772. "\x35\x70\xed\x85\xb8\xc4\xdc\xb7"
  28773. "\x16\xb7\x03\xe0\x2e\xa0\x25\xab"
  28774. "\x02\x1f\x97\x8e\x5a\x48\xb6\xdb"
  28775. "\x25\x7a\x16\xf6\x4c\xec\xec\xa6"
  28776. "\xc1\x4e\xe3\x4e\xe3\x27\x78\xc8"
  28777. "\xb6\xd7\x01\x61\x98\x1b\x38\xaa"
  28778. "\x36\x93\xac\x6d\x05\x61\x4d\x5a"
  28779. "\xc9\xe5\x27\xa9\x22\xf2\x38\x5e"
  28780. "\x9e\xe5\xf7\x4a\x64\xd2\x14\x15"
  28781. "\x71\x7c\x65\x6e\x90\x31\xc7\x49"
  28782. "\x25\xec\x9f\xf1\xb2\xd6\xbc\x20"
  28783. "\x6a\x13\xd5\x70\x65\xfc\x8b\x66"
  28784. "\x2c\xf1\x57\xc2\xe7\xb8\x89\xf7"
  28785. "\x17\xb2\x45\x64\xe0\xb3\x8c\x0d"
  28786. "\x69\x57\xf9\x5c\xff\xc2\x3c\x18"
  28787. "\x1e\xfd\x4b\x5e\x0d\x20\x01\x1a"
  28788. "\xa3\xa3\xb3\x76\x98\x9c\x92\x41"
  28789. "\xb4\xcd\x9f\x8f\x88\xcb\xb1\xb5"
  28790. "\x25\x87\x45\x4c\x07\xa7\x15\x99"
  28791. "\x24\x85\x15\x9e\xfc\x28\x98\x2b"
  28792. "\xd0\x22\x0a\xcc\x62\x12\x86\x0a"
  28793. "\xa8\x0e\x7d\x15\x32\x98\xae\x2d"
  28794. "\x95\x25\x55\x33\x41\x5b\x8d\x75"
  28795. "\x46\x61\x01\xa4\xfb\xf8\x6e\xe5"
  28796. "\xec\x24\xfe\xd2\xd2\x46\xe2\x3a"
  28797. "\x77\xf3\xa1\x39\xd3\x39\x32\xd8"
  28798. "\x2a\x6b\x44\xd7\x70\x36\x23\x89"
  28799. "\x4f\x75\x85\x42\x70\xd4\x2d\x4f"
  28800. "\xea\xfc\xc9\xfe\xb4\x86\xd8\x73"
  28801. "\x1d\xeb\xf7\x54\x0a\x47\x7e\x2c"
  28802. "\x04\x7b\x47\xea\x52\x8f\x13\x1a"
  28803. "\xf0\x19\x65\xe2\x0a\x1c\xae\x89"
  28804. "\xe1\xc5\x87\x6e\x5d\x7f\xf8\x79"
  28805. "\x08\xbf\xd2\x7f\x2c\x95\x22\xba"
  28806. "\x32\x78\xa9\xf6\x03\x98\x18\xed"
  28807. "\x15\xbf\x49\xb0\x6c\xa1\x4b\xb0"
  28808. "\xf3\x17\xd5\x35\x5d\x19\x57\x5b"
  28809. "\xf1\x07\x1e\xaa\x4d\xef\xd0\xd6"
  28810. "\x72\x12\x6b\xd9\xbc\x10\x49\xc5"
  28811. "\x28\xd4\xec\xe9\x8a\xb1\x6d\x50"
  28812. "\x4b\xf3\x44\xb8\x49\x04\x62\xe9"
  28813. "\xa4\xd8\x5a\xe7\x90\x02\xb7\x1e"
  28814. "\x66\x89\xbc\x5a\x71\x4e\xbd\xf8"
  28815. "\x18\xfb\x34\x2f\x67\xa2\x65\x71"
  28816. "\x00\x63\x22\xef\x3a\xa5\x18\x0e"
  28817. "\x54\x76\xaa\x58\xae\x87\x23\x93"
  28818. "\xb0\x3c\xa2\xa4\x07\x77\x3e\xd7"
  28819. "\x1a\x9c\xfe\x32\xc3\x54\x04\x4e"
  28820. "\xd6\x98\x44\xda\x98\xf8\xd3\xc8"
  28821. "\x1c\x07\x4b\xcd\x97\x5d\x96\x95"
  28822. "\x9a\x1d\x4a\xfc\x19\xcb\x0b\xd0"
  28823. "\x6d\x43\x3a\x9a\x39\x1c\xa8\x90"
  28824. "\x9f\x53\x8b\xc4\x41\x75\xb5\xb9"
  28825. "\x91\x5f\x02\x0a\x57\x6c\x8f\xc3"
  28826. "\x1b\x0b\x3a\x8b\x58\x3b\xbe\x2e"
  28827. "\xdc\x4c\x23\x71\x2e\x14\x06\x21"
  28828. "\x0b\x3b\x58\xb8\x97\xd1\x00\x62"
  28829. "\x2e\x74\x3e\x6e\x21\x8a\xcf\x60"
  28830. "\xda\x0c\xf8\x7c\xfd\x07\x55\x7f"
  28831. "\xb9\x1d\xda\x34\xc7\x27\xbf\x2a"
  28832. "\xd9\xba\x41\x9b\x37\xa1\xc4\x5d"
  28833. "\x03\x01\xce\xbb\x58\xff\xee\x74"
  28834. "\x08\xbd\x0b\x80\xb1\xd5\xf8\xb5"
  28835. "\x92\xf9\xbb\xbe\x03\xb5\xec\xbe"
  28836. "\x17\xee\xd7\x4e\x87\x2b\x61\x1b"
  28837. "\x27\xc3\x51\x50\xa0\x02\x73\x00"
  28838. "\x1a\xea\x2a\x2b\xf8\xf6\xe6\x96"
  28839. "\x75\x00\x56\xcc\xcb\x7a\x24\x29"
  28840. "\xe8\xdb\x95\xbf\x4e\x8f\x0a\x78"
  28841. "\xb8\xeb\x5a\x90\x37\xd0\x21\x94"
  28842. "\x6a\x89\x6b\x41\x3a\x1b\xa7\x20"
  28843. "\x43\x37\xda\xad\x81\xdd\xb4\xfc"
  28844. "\xe9\x60\x82\x77\x44\x3f\x89\x23"
  28845. "\x35\x04\x8f\xa1\xe8\xc0\xb6\x9f"
  28846. "\x56\xa7\x86\x3d\x65\x9c\x57\xbb"
  28847. "\x27\xdb\xe1\xb2\x13\x07\x9c\xb1"
  28848. "\x60\x8b\x38\x6b\x7f\x24\x28\x14"
  28849. "\xfe\xbf\xc0\xda\x61\x6e\xc2\xc7"
  28850. "\x63\x36\xa8\x02\x54\x93\xb0\xba"
  28851. "\xbd\x4d\x29\x14\x5a\x8b\xbc\x78"
  28852. "\xb3\xa6\xc5\x15\x5d\x36\x4d\x38"
  28853. "\x20\x9c\x1e\x98\x2e\x16\x89\x33"
  28854. "\x66\xa2\x54\x57\xcc\xde\x12\xa6"
  28855. "\x3b\x44\xf1\xac\x36\x3b\x97\xc1"
  28856. "\x96\x94\xf2\x67\x57\x23\x9c\x29"
  28857. "\xcd\xb7\x24\x2a\x8c\x86\xee\xaa"
  28858. "\x0f\xee\xaf\xa0\xec\x40\x8c\x08"
  28859. "\x18\xa1\xb4\x2c\x09\x46\x11\x7e"
  28860. "\x97\x84\xb1\x03\xa5\x3e\x59\x05"
  28861. "\x07\xc5\xf0\xcc\xb6\x71\x72\x2a"
  28862. "\xa2\x02\x78\x60\x0b\xc4\x47\x93"
  28863. "\xab\xcd\x67\x2b\xf5\xc5\x67\xa0"
  28864. "\xc0\x3c\x6a\xd4\x7e\xc9\x93\x0c"
  28865. "\x02\xdc\x15\x87\x48\x16\x26\x18"
  28866. "\x4e\x0b\x16\x0e\xb3\x02\x3e\x4b"
  28867. "\xc2\xe4\x49\x08\x9f\xb9\x8b\x1a"
  28868. "\xca\x10\xe8\x6c\x58\xa9\x7e\xb8"
  28869. "\xbe\xff\x58\x0e\x8a\xfb\x35\x93"
  28870. "\xcc\x76\x7d\xd9\x44\x7c\x31\x96"
  28871. "\xc0\x29\x73\xd3\x91\x0a\xc0\x65"
  28872. "\x5c\xbe\xe7\x4e\xda\x31\x85\xf2"
  28873. "\x72\xee\x34\xbe\x41\x90\xd4\x07"
  28874. "\x50\x64\x56\x81\xe3\x27\xfb\xcc"
  28875. "\xb7\x5c\x36\xb4\x6e\xbd\x23\xf8"
  28876. "\xe8\x71\xce\xa8\x73\x77\x82\x74"
  28877. "\xab\x8d\x0e\xe5\x93\x68\xb1\xd2"
  28878. "\x51\xc2\x18\x58\xd5\x3f\x29\x6b"
  28879. "\x2e\xd0\x88\x7f\x4a\x9d\xa2\xb8"
  28880. "\xae\x96\x09\xbf\x47\xae\x7d\x12"
  28881. "\x70\x67\xf1\xdd\xda\xdf\x47\x57"
  28882. "\xc9\x2c\x0f\xcb\xf3\x57\xd4\xda"
  28883. "\x00\x2e\x13\x48\x8f\xc0\xaa\x46"
  28884. "\xe1\xc1\x57\x75\x1e\xce\x74\xc2"
  28885. "\x82\xef\x31\x85\x8e\x38\x56\xff"
  28886. "\xcb\xab\xe0\x78\x40\x51\xd3\xc5"
  28887. "\xc3\xb1\xee\x9b\xd7\x72\x7f\x13"
  28888. "\x83\x7f\x45\x49\x45\xa1\x05\x8e"
  28889. "\xdc\x83\x81\x3c\x24\x28\x87\x08"
  28890. "\xa0\x70\x73\x80\x42\xcf\x5c\x26"
  28891. "\x39\xa5\xc5\x90\x5c\x56\xda\x58"
  28892. "\x93\x45\x5d\x45\x64\x59\x16\x3f"
  28893. "\xf1\x20\xf7\xa8\x2a\xd4\x3d\xbd"
  28894. "\x17\xfb\x90\x01\xcf\x1e\x71\xab"
  28895. "\x22\xa2\x24\xb5\x80\xac\xa2\x9a"
  28896. "\x9c\x2d\x85\x69\xa7\x87\x33\x55"
  28897. "\x65\x72\xc0\x91\x2a\x3d\x05\x33"
  28898. "\x25\x0d\x29\x25\x9f\x45\x4e\xfa"
  28899. "\x5d\x90\x3f\x34\x08\x54\xdb\x7d"
  28900. "\x94\x20\xa2\x3b\x10\x01\xa4\x89"
  28901. "\x1e\x90\x4f\x36\x3f\xc2\x40\x07"
  28902. "\x3f\xab\x2e\x89\xce\x80\xe1\xf5"
  28903. "\xac\xaf\x17\x10\x18\x0f\x4d\xe3"
  28904. "\xfc\x82\x2b\xbe\xe2\x91\xfa\x5b"
  28905. "\x9a\x9b\x2a\xd7\x99\x8d\x8f\xdc"
  28906. "\x54\x99\xc4\xa3\x97\xfd\xd3\xdb"
  28907. "\xd1\x51\x7c\xce\x13\x5c\x3b\x74"
  28908. "\xda\x9a\xe3\xdc\xdc\x87\x84\x98"
  28909. "\x16\x6d\xb0\x3d\x65\x57\x0b\xb2"
  28910. "\xb8\x04\xd4\xea\x49\x72\xc3\x66"
  28911. "\xbc\xdc\x91\x05\x2b\xa6\x5e\xeb"
  28912. "\x55\x72\x3e\x34\xd4\x28\x4b\x9c"
  28913. "\x07\x51\xf7\x30\xf3\xca\x04\xc1"
  28914. "\xd3\x69\x50\x2c\x27\x27\xc4\xb9"
  28915. "\x56\xc7\xa2\xd2\x66\x29\xea\xe0"
  28916. "\x25\xb8\x49\xd1\x60\xc9\x5e\xb5"
  28917. "\xed\x87\xb8\x74\x98\x0d\x16\x86"
  28918. "\x2a\x02\x24\xde\xb9\xa9\x5e\xf0"
  28919. "\xdd\xf7\x55\xb0\x26\x7a\x93\xd4"
  28920. "\xe6\x7d\xd2\x43\xb2\x8f\x7e\x9a"
  28921. "\x5d\x81\xe6\x28\xe5\x96\x7d\xc8"
  28922. "\x33\xe0\x56\x57\xe2\xa0\xf2\x1d"
  28923. "\x61\x78\x60\xd5\x81\x70\xa4\x11"
  28924. "\x43\x36\xe9\xd1\x68\x27\x21\x3c"
  28925. "\xb2\xa2\xad\x5f\x04\xd4\x55\x00"
  28926. "\x25\x71\x91\xed\x3a\xc9\x7b\x57"
  28927. "\x7b\xd1\x8a\xfb\x0e\xf5\x7b\x08"
  28928. "\xa9\x26\x4f\x24\x5f\xdd\x79\xed"
  28929. "\x19\xc4\xe1\xd5\xa8\x66\x60\xfc"
  28930. "\x5d\x48\x11\xb0\xa3\xc3\xe6\xc0"
  28931. "\xc6\x16\x7d\x20\x3f\x7c\x25\x52"
  28932. "\xdf\x05\xdd\xb5\x0b\x92\xee\xc5"
  28933. "\xe6\xd2\x7c\x3e\x2e\xd5\xac\xda"
  28934. "\xdb\x48\x31\xac\x87\x13\x8c\xfa"
  28935. "\xac\x18\xbc\xd1\x7f\x2d\xc6\x19"
  28936. "\x8a\xfa\xa0\x97\x89\x26\x50\x46"
  28937. "\x9c\xca\xe1\x73\x97\x26\x0a\x50"
  28938. "\x95\xec\x79\x19\xf6\xbd\x9a\xa1"
  28939. "\xcf\xc9\xab\xf7\x85\x84\xb2\xf5"
  28940. "\x2c\x7c\x73\xaa\xe2\xc2\xfb\xcd"
  28941. "\x5f\x08\x46\x2f\x8e\xd9\xff\xfd"
  28942. "\x19\xf6\xf4\x5d\x2b\x4b\x54\xe2"
  28943. "\x27\xaa\xfd\x2c\x5f\x75\x7c\xf6"
  28944. "\x2c\x95\x77\xcc\x90\xa2\xda\x1e"
  28945. "\x85\x37\x18\x34\x1d\xcf\x1b\xf2"
  28946. "\x86\xda\x71\xfb\x72\xab\x87\x0f"
  28947. "\x1e\x10\xb3\xba\x51\xea\x29\xd3"
  28948. "\x8c\x87\xce\x4b\x66\xbf\x60\x6d"
  28949. "\x81\x7c\xb8\x9c\xcc\x2e\x35\x02"
  28950. "\x02\x32\x4a\x7a\x24\xc4\x9f\xce"
  28951. "\xf0\x8a\x85\x90\xf3\x24\x95\x02"
  28952. "\xec\x13\xc1\xa4\xdd\x44\x01\xef"
  28953. "\xf6\xaa\x30\x70\xbf\x4e\x1a\xb9"
  28954. "\xc0\xff\x3b\x57\x5d\x12\xfe\xc3"
  28955. "\x1d\x5c\x3f\x74\xf9\xd9\x64\x61"
  28956. "\x20\xb2\x76\x79\x38\xd2\x21\xfb"
  28957. "\xc9\x32\xe8\xcc\x8e\x5f\xd7\x01"
  28958. "\x9e\x25\x76\x4d\xa7\xc1\x33\x21"
  28959. "\xfa\xcf\x98\x40\xd2\x1d\x48\xbd"
  28960. "\xd0\xc0\x38\x90\x27\x9b\x89\x4a"
  28961. "\x10\x1e\xaf\xa0\x78\x7d\x87\x2b"
  28962. "\x72\x10\x02\xf0\x5d\x22\x8b\x22"
  28963. "\xd7\x56\x7c\xd7\x6d\xcd\x9b\xc6"
  28964. "\xbc\xb2\xa6\x36\xde\xac\x87\x14"
  28965. "\x92\x93\x47\xca\x7d\xf4\x0b\x88"
  28966. "\xea\xbf\x3f\x2f\xa9\x94\x24\x13"
  28967. "\xa1\x52\x29\xfd\x5d\xa9\x76\x85"
  28968. "\x21\x62\x39\xa3\xf0\xf7\xb5\xa3"
  28969. "\xe0\x6c\x1b\xcb\xdb\x41\x91\xc6"
  28970. "\x4f\xaa\x26\x8b\x15\xd5\x84\x3a"
  28971. "\xda\xd6\x05\xc8\x8c\x0f\xe9\x19"
  28972. "\x00\x81\x38\xfb\x8f\xdf\xb0\x63"
  28973. "\x75\xe0\xe8\x8f\xef\x4a\xe0\x83"
  28974. "\x34\xe9\x4e\x06\xd7\xbb\xcd\xed"
  28975. "\x70\x0c\x72\x80\x64\x94\x67\xad"
  28976. "\x4a\xda\x82\xcf\x60\xfc\x92\x43"
  28977. "\xe3\x2f\xd1\x1e\x81\x1d\xdc\x62"
  28978. "\xec\xb1\xb0\xad\x4f\x43\x1d\x38"
  28979. "\x4e\x0d\x90\x40\x29\x1b\x98\xf1"
  28980. "\xbc\x70\x4e\x5a\x08\xbe\x88\x3a"
  28981. "\x55\xfb\x8c\x33\x1f\x0a\x7d\x2d"
  28982. "\xdc\x75\x03\xd2\x3b\xe8\xb8\x32"
  28983. "\x13\xab\x04\xbc\xe2\x33\x44\xa6"
  28984. "\xff\x6e\xba\xbd\xdc\xe2\xbf\x54"
  28985. "\x99\x71\x76\x59\x3b\x7a\xbc\xde"
  28986. "\xa1\x6e\x73\x62\x96\x73\x56\x66"
  28987. "\xfb\x1a\x56\x91\x2a\x8b\x12\xb0"
  28988. "\x82\x9f\x9b\x0c\x42\xc7\x22\x2c"
  28989. "\xbc\x49\xc5\x3c\x3b\xbf\x52\x64"
  28990. "\xd6\xd4\x03\x52\xf3\xfd\x13\x98"
  28991. "\xcc\xd8\xaa\x3e\x1d\x1f\x04\x8a"
  28992. "\x03\x41\x19\x5b\x31\xf3\x48\x83"
  28993. "\x49\xa3\xdd\xc9\x7c\x01\x34\x64"
  28994. "\xe5\xf3\xdf\xc9\x7f\x17\xa2\xf5"
  28995. "\x9c\x21\x79\x93\x91\x93\xbf\x9b"
  28996. "\xa5\xa5\xda\x1d\x55\x32\x72\x78"
  28997. "\xa6\x45\x2d\x21\x97\x6b\xfe\xbc"
  28998. "\xd0\xe7\x8e\x97\x66\x85\x9e\x41"
  28999. "\xfa\x2c\x8a\xee\x0d\x5a\x18\xf2"
  29000. "\x15\x89\x8f\xfb\xbc\xd8\xa6\x0c"
  29001. "\x83\xcc\x20\x08\xce\x70\xe5\xe6"
  29002. "\xbb\x7d\x9f\x11\x5f\x1e\x16\x68"
  29003. "\x18\xad\xa9\x4b\x04\x97\x8c\x18"
  29004. "\xed\x2a\x70\x79\x39\xcf\x36\x72"
  29005. "\x1e\x3e\x6d\x3c\x19\xce\x13\x19"
  29006. "\xb5\x13\xe7\x02\xd8\x5c\xec\x0c"
  29007. "\x81\xc5\xe5\x86\x10\x83\x9e\x67"
  29008. "\x3b\x74\x29\x63\xda\x23\xbc\x43"
  29009. "\xe9\x73\xa6\x2d\x25\x77\x66\xd0"
  29010. "\x2e\x05\x38\xae\x2e\x0e\x7f\xaf"
  29011. "\x82\xed\xef\x28\x39\x4c\x4b\x6f"
  29012. "\xdb\xa1\xb5\x79\xd0\x5b\x50\x77"
  29013. "\x6d\x75\x9f\x3c\xcf\xde\x41\xb8"
  29014. "\xa9\x13\x11\x60\x19\x23\xc7\x35"
  29015. "\x48\xbc\x14\x08\xf9\x57\xfe\x15"
  29016. "\xfd\xb2\xbb\x8c\x44\x3b\xf1\x62"
  29017. "\xbc\x0e\x01\x45\x39\xc0\xbb\xce"
  29018. "\xf5\xb7\xe1\x16\x7b\xcc\x8d\x7f"
  29019. "\xd3\x15\x36\xef\x8e\x4b\xaa\xee"
  29020. "\x49\x0c\x6e\x9b\x8c\x0e\x9f\xe0"
  29021. "\xd5\x7b\xdd\xbc\xb3\x67\x53\x6d"
  29022. "\x8b\xbe\xa3\xcd\x1e\x37\x9d\xc3"
  29023. "\x61\x36\xf4\x77\xec\x2b\xc7\x8b"
  29024. "\xd7\xad\x8d\x23\xdd\xf7\x9d\xf1"
  29025. "\x61\x1c\xbf\x09\xa5\x5e\xb9\x14"
  29026. "\xa6\x3f\x1a\xd9\x12\xb4\xef\x56"
  29027. "\x20\xa0\x77\x3e\xab\xf1\xb9\x91"
  29028. "\x5a\x92\x85\x5c\x92\x15\xb2\x1f"
  29029. "\xaf\xb0\x92\x23\x2d\x27\x8b\x7e"
  29030. "\x12\xcc\x56\xaa\x62\x85\x15\xd7"
  29031. "\x41\x89\x62\xd6\xd9\xd0\x6d\xbd"
  29032. "\x21\xa8\x49\xb6\x35\x40\x2f\x8d"
  29033. "\x2e\xfa\x24\x1e\x30\x12\x9c\x05"
  29034. "\x59\xfa\xe1\xad\xc0\x53\x09\xda"
  29035. "\xc0\x2e\x9d\x24\x0e\x4b\x6e\xd7"
  29036. "\x68\x32\x6a\xa0\x3c\x23\xb6\x5a"
  29037. "\x90\xb1\x1f\x62\xc8\x37\x36\x88"
  29038. "\xa4\x4d\x91\x12\x8d\x51\x8d\x81"
  29039. "\x44\x21\xfe\xd3\x61\x8d\xea\x5b"
  29040. "\x87\x24\xa9\xe9\x87\xde\x75\x77"
  29041. "\xc6\xa0\xd3\xf6\x99\x8b\x32\x56"
  29042. "\x47\xc6\x60\x65\xb6\x4f\xd1\x59"
  29043. "\x08\xb2\xe0\x15\x3e\xcb\x2c\xd6"
  29044. "\x8d\xc6\xbf\xda\x63\xe2\x04\x88"
  29045. "\x30\x9f\x37\x38\x98\x1c\x3e\x7a"
  29046. "\xa8\x8f\x3e\x2c\xcf\x90\x15\x6e"
  29047. "\x5d\xe9\x76\xd5\xdf\xc6\x2f\xf6"
  29048. "\xf5\x4a\x86\xbd\x36\x2a\xda\xdf"
  29049. "\x2f\xd8\x6e\x15\x18\x6b\xe9\xdb"
  29050. "\x26\x54\x6e\x60\x3b\xb8\xf9\x91"
  29051. "\xc1\x1d\xc0\x4f\x26\x8b\xdf\x55"
  29052. "\x47\x2f\xce\xdd\x4e\x93\x58\x3f"
  29053. "\x70\xdc\xf9\x4e\x9b\x37\x5e\x4f"
  29054. "\x39\xb9\x30\xe6\xce\xdb\xaf\x46"
  29055. "\xca\xfa\x52\xc9\x75\x3e\xd6\x96"
  29056. "\xe8\x97\xf1\xb1\x64\x31\x71\x1e"
  29057. "\x9f\xb6\xff\x69\xd6\xcd\x85\x4e"
  29058. "\x20\xf5\xfc\x84\x3c\xaf\xcc\x8d"
  29059. "\x5b\x52\xb8\xa2\x1c\x38\x47\x82"
  29060. "\x96\xff\x06\x4c\xaf\x8a\xf4\x8f"
  29061. "\xf8\x15\x97\xf6\xc3\xbc\x8c\x9e"
  29062. "\xc2\x06\xd9\x64\xb8\x1b\x0d\xd1"
  29063. "\x53\x55\x83\x7d\xcb\x8b\x7d\x20"
  29064. "\xa7\x70\xcb\xaa\x25\xae\x5a\x4f"
  29065. "\xdc\x66\xad\xe4\x54\xff\x09\xef"
  29066. "\x25\xcb\xac\x59\x89\x1d\x06\xcf"
  29067. "\xc7\x74\xe0\x5d\xa6\xd0\x04\xb4"
  29068. "\x41\x75\x34\x80\x6c\x4c\xc9\xd0"
  29069. "\x51\x0c\x0f\x84\x26\x75\x69\x23"
  29070. "\x81\x67\xde\xbf\x6c\x57\x8a\xc4"
  29071. "\xba\x91\xba\x8c\x2c\x75\xeb\x55"
  29072. "\xe5\x1b\x13\xbc\xaa\xec\x31\xdb"
  29073. "\xcc\x00\x3b\xe6\x50\xd8\xc3\xcc"
  29074. "\x9c\xb8\x6e\xb4\x9b\x16\xee\x74"
  29075. "\x26\x51\xda\x39\xe6\x31\xa1\xb2"
  29076. "\xd7\x6f\xcb\xae\x7d\x9f\x38\x7d"
  29077. "\x86\x49\x2a\x16\x5c\xc0\x08\xea"
  29078. "\x6b\x55\x85\x47\xbb\x90\xba\x69"
  29079. "\x56\xa5\x44\x62\x5b\xe6\x3b\xcc"
  29080. "\xe7\x6d\x1e\xca\x4b\xf3\x86\xe0"
  29081. "\x09\x76\x51\x83\x0a\x46\x19\x61"
  29082. "\xf0\xce\xe1\x06\x7d\x06\xb4\xfe"
  29083. "\xd9\xd3\x64\x8e\x0f\xd9\x64\x9e"
  29084. "\x74\x44\x97\x5d\x92\x7b\xe3\xcf"
  29085. "\x51\x44\xe7\xf2\xe7\xc0\x0c\xc2"
  29086. "\xf1\xf7\xa6\x36\x52\x2f\x7c\x09"
  29087. "\xfe\x8c\x59\x77\x52\x6a\x7e\xb3"
  29088. "\x2b\xb9\x17\x78\xe4\xf2\x82\x62"
  29089. "\x7f\x68\x8e\x04\xb4\x8f\x60\xd2"
  29090. "\xc6\x22\x1e\x0f\x3a\x8e\x3c\xb2"
  29091. "\x60\xbc\xa9\xb3\xda\xbd\x50\xe4"
  29092. "\x33\x98\xdd\x6f\xe9\x3b\x77\x57"
  29093. "\xeb\x7c\x8f\xbc\xfc\x34\x34\xb9"
  29094. "\x40\x31\x67\xcf\xfe\x22\x20\xa5"
  29095. "\x97\xe8\x4c\xa2\xc3\x94\xc6\x28"
  29096. "\xa6\x24\xe5\xa6\xb5\xd8\x24\xef"
  29097. "\x16\xa1\xc9\xe5\x92\xe6\x8c\x45"
  29098. "\x24\x24\x51\x22\x1e\xad\xef\x2f"
  29099. "\xb6\xbe\xfc\x92\x20\xac\x45\xe6"
  29100. "\xc0\xb0\xc8\xfb\x21\x34\xd4\x05"
  29101. "\x54\xb3\x99\xa4\xfe\xa9\xd5\xb5"
  29102. "\x3b\x72\x83\xf6\xe2\xf9\x88\x0e"
  29103. "\x20\x80\x3e\x4e\x8f\xa1\x75\x69"
  29104. "\x43\x5a\x7c\x38\x62\x51\xb5\xb7"
  29105. "\x84\x95\x3f\x6d\x24\xcc\xfd\x4b"
  29106. "\x4a\xaa\x97\x83\x6d\x16\xa8\xc5"
  29107. "\x18\xd9\xb9\xfe\xe2\x3f\xe8\xbd"
  29108. "\x37\x44\xdf\x79\x3b\x34\x19\x1a"
  29109. "\x65\x5e\xc7\x61\x1f\x17\x5e\x84"
  29110. "\x20\x72\x32\x98\x8c\x9e\xac\x1f"
  29111. "\x6e\x32\xae\x86\x46\x4f\x0f\x64"
  29112. "\x3f\xce\x96\xe6\x02\x41\x53\x1f"
  29113. "\x35\x30\x57\x7f\xfe\xb7\x47\xb9"
  29114. "\x0c\x2f\x14\x34\x9b\x1c\x88\x17"
  29115. "\xb5\xe5\x94\x17\x3e\xdc\x4d\x49"
  29116. "\xe1\x5d\x75\x3e\xa6\x16\x42\xd4"
  29117. "\x59\xb5\x24\x7c\x4c\x54\x1c\xf9"
  29118. "\xd6\xed\x69\x22\x5f\x74\xc9\xa9"
  29119. "\x7c\xb8\x09\xa7\xf9\x2b\x0d\x5f"
  29120. "\x42\xff\x4e\x57\xde\x0c\x67\x45"
  29121. "\xa4\x6e\xa0\x7e\x28\x34\xc5\xfe"
  29122. "\x58\x7e\xda\xec\x9f\x0b\x31\x2a"
  29123. "\x1f\x1b\x98\xad\x14\xcf\x9f\x96"
  29124. "\xf8\x87\x0e\x14\x19\x81\x23\x53"
  29125. "\x5f\x38\x08\xd9\xc1\xcb\xb2\xc5"
  29126. "\x19\x72\x75\x01\xd4\xcf\xd9\x91"
  29127. "\xfc\x48\xcc\xa3\x3c\xe6\x4c\xc6"
  29128. "\x73\xde\x5e\x90\xce\x6c\x85\x43"
  29129. "\x0d\xdf\xe3\x8c\x02\x62\xef\xac"
  29130. "\xb8\x05\x80\x81\xf6\x22\x30\xad"
  29131. "\x30\xa8\xcb\x55\x1e\xe6\x05\x7f"
  29132. "\xc5\x58\x1a\x78\xb7\x2f\x8e\x3c"
  29133. "\x80\x09\xca\xa2\x9a\x72\xeb\x10"
  29134. "\x84\x54\xaa\x98\x35\x5e\xb1\xc2"
  29135. "\xb7\x73\x14\x69\xef\xf8\x28\x43"
  29136. "\x36\xd3\x10\x0a\xd6\x69\xf8\xc8"
  29137. "\xbb\xe9\xe9\xf9\x29\x52\xf8\x6f"
  29138. "\x12\x78\xf9\xc6\xb2\x12\xfd\x39"
  29139. "\xa9\xeb\xe2\x47\xb9\x22\xc5\x8f"
  29140. "\x4d\xb1\x17\x40\x02\x84\xed\x53"
  29141. "\xc5\xfa\xc1\xcd\x59\x56\x93\xaa"
  29142. "\x3f\x23\x3f\x02\xb7\xe9\x6e\xa0"
  29143. "\xbc\x96\xb8\xb2\xf8\x04\x19\x87"
  29144. "\xe9\x4f\x29\xbf\x3a\xcb\x6d\x48"
  29145. "\xc9\xe7\x1f\xb7\xa8\xf8\xd4\xb4"
  29146. "\x6d\x0f\xb4\xf6\x44\x11\x0f\xf7"
  29147. "\x3d\xd2\x36\x05\x67\xa1\x46\x81"
  29148. "\x90\xe9\x60\x64\xfa\x52\x87\x37"
  29149. "\x44\x01\xbd\x58\xe1\xda\xda\x1e"
  29150. "\xa7\x09\xf7\x43\x31\x2b\x4b\x55"
  29151. "\xbd\x0d\x53\x7f\x12\x6c\xf5\x07"
  29152. "\xfc\x61\xda\xd6\x0a\xbd\x89\x5f"
  29153. "\x2c\xf5\xa8\x1f\x0d\x60\xe4\x3c"
  29154. "\x5d\x94\x8a\x1f\x64\xce\xd5\x16"
  29155. "\x73\xbc\xbe\xb1\x85\x28\xcb\x0b"
  29156. "\x47\x5c\x1f\x66\x25\x89\x61\x6a"
  29157. "\xa7\xcd\xf8\x1b\x31\x88\x42\x71"
  29158. "\x58\x65\x53\xd5\xc0\xa3\x56\x2e"
  29159. "\xb6\x86\x9e\x13\x78\x34\x36\x85"
  29160. "\xbb\xce\x6e\x54\x33\xb9\x97\xc5"
  29161. "\x72\xb8\xe0\x13\x34\x04\xbf\x83"
  29162. "\xbf\x78\x1d\x7c\x23\x34\x90\xe0"
  29163. "\x57\xd4\x3f\xc6\x61\xe3\xca\x96"
  29164. "\x13\xdd\x9e\x20\x51\x18\x73\x37"
  29165. "\x69\x37\xfb\xe5\x60\x1f\xf2\xa1"
  29166. "\xef\xa2\x6e\x16\x32\x8e\xc3\xb6"
  29167. "\x21\x5e\xc2\x1c\xb6\xc6\x96\x72"
  29168. "\x4f\xa6\x85\x69\xa9\x5d\xb2\x2e"
  29169. "\xac\xfe\x6e\xc3\xe7\xb3\x51\x08"
  29170. "\x66\x2a\xac\x59\xb3\x73\x86\xae"
  29171. "\x6d\x85\x97\x37\x68\xef\xa7\x85"
  29172. "\xb7\xdd\xdd\xd9\x85\xc9\x57\x01"
  29173. "\x10\x2b\x9a\x1e\x44\x12\x87\xa5"
  29174. "\x60\x1f\x88\xae\xbf\x14\x2d\x05"
  29175. "\x4c\x60\x85\x8a\x45\xac\x0f\xc2",
  29176. .len = 4096,
  29177. }
  29178. };
  29179. /* Adiantum with XChaCha20 instead of XChaCha12 */
  29180. /* Test vectors from https://github.com/google/adiantum */
  29181. static const struct cipher_testvec adiantum_xchacha20_aes_tv_template[] = {
  29182. {
  29183. .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
  29184. "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
  29185. "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
  29186. "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
  29187. .klen = 32,
  29188. .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
  29189. "\x33\x81\x37\x60\x7d\xfa\x73\x08"
  29190. "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
  29191. "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
  29192. .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
  29193. "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
  29194. .ctext = "\xf6\x78\x97\xd6\xaa\x94\x01\x27"
  29195. "\x2e\x4d\x83\xe0\x6e\x64\x9a\xdf",
  29196. .len = 16,
  29197. }, {
  29198. .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
  29199. "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
  29200. "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
  29201. "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
  29202. .klen = 32,
  29203. .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
  29204. "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
  29205. "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
  29206. "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
  29207. .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
  29208. "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
  29209. "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
  29210. "\x43\x5a\x46\x06\x94\x2d\xf2",
  29211. .ctext = "\x4b\xb8\x90\x10\xdf\x7f\x64\x08"
  29212. "\x0e\x14\x42\x5f\x00\x74\x09\x36"
  29213. "\x57\x72\xb5\xfd\xb5\x5d\xb8\x28"
  29214. "\x0c\x04\x91\x14\x91\xe9\x37",
  29215. .len = 31,
  29216. }, {
  29217. .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
  29218. "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
  29219. "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
  29220. "\x19\x09\x00\xa9\x04\x31\x4f\x11",
  29221. .klen = 32,
  29222. .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
  29223. "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
  29224. "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
  29225. "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
  29226. .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
  29227. "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
  29228. "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
  29229. "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
  29230. "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
  29231. "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
  29232. "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
  29233. "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
  29234. "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
  29235. "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
  29236. "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
  29237. "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
  29238. "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
  29239. "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
  29240. "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
  29241. "\x56\x65\xc5\x54\x23\x28\xb0\x03",
  29242. .ctext = "\xb1\x8b\xa0\x05\x77\xa8\x4d\x59"
  29243. "\x1b\x8e\x21\xfc\x3a\x49\xfa\xd4"
  29244. "\xeb\x36\xf3\xc4\xdf\xdc\xae\x67"
  29245. "\x07\x3f\x70\x0e\xe9\x66\xf5\x0c"
  29246. "\x30\x4d\x66\xc9\xa4\x2f\x73\x9c"
  29247. "\x13\xc8\x49\x44\xcc\x0a\x90\x9d"
  29248. "\x7c\xdd\x19\x3f\xea\x72\x8d\x58"
  29249. "\xab\xe7\x09\x2c\xec\xb5\x44\xd2"
  29250. "\xca\xa6\x2d\x7a\x5c\x9c\x2b\x15"
  29251. "\xec\x2a\xa6\x69\x91\xf9\xf3\x13"
  29252. "\xf7\x72\xc1\xc1\x40\xd5\xe1\x94"
  29253. "\xf4\x29\xa1\x3e\x25\x02\xa8\x3e"
  29254. "\x94\xc1\x91\x14\xa1\x14\xcb\xbe"
  29255. "\x67\x4c\xb9\x38\xfe\xa7\xaa\x32"
  29256. "\x29\x62\x0d\xb2\xf6\x3c\x58\x57"
  29257. "\xc1\xd5\x5a\xbb\xd6\xa6\x2a\xe5",
  29258. .len = 128,
  29259. }, {
  29260. .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
  29261. "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
  29262. "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
  29263. "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
  29264. .klen = 32,
  29265. .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
  29266. "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
  29267. "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
  29268. "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
  29269. .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
  29270. "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
  29271. "\x05\xa3\x69\x60\x91\x36\x98\x57"
  29272. "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
  29273. "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
  29274. "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
  29275. "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
  29276. "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
  29277. "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
  29278. "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
  29279. "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
  29280. "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
  29281. "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
  29282. "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
  29283. "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
  29284. "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
  29285. "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
  29286. "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
  29287. "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
  29288. "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
  29289. "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
  29290. "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
  29291. "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
  29292. "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
  29293. "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
  29294. "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
  29295. "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
  29296. "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
  29297. "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
  29298. "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
  29299. "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
  29300. "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
  29301. "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
  29302. "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
  29303. "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
  29304. "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
  29305. "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
  29306. "\xd7\x31\x87\x89\x09\xab\xd5\x96"
  29307. "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
  29308. "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
  29309. "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
  29310. "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
  29311. "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
  29312. "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
  29313. "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
  29314. "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
  29315. "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
  29316. "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
  29317. "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
  29318. "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
  29319. "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
  29320. "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
  29321. "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
  29322. "\x17\x7c\x25\x48\x52\x67\x11\x27"
  29323. "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
  29324. "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
  29325. "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
  29326. "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
  29327. "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
  29328. "\x79\x50\x33\xca\xd0\xd7\x42\x55"
  29329. "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
  29330. "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
  29331. "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
  29332. "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
  29333. .ctext = "\xe0\x33\xf6\xe0\xb4\xa5\xdd\x2b"
  29334. "\xdd\xce\xfc\x12\x1e\xfc\x2d\xf2"
  29335. "\x8b\xc7\xeb\xc1\xc4\x2a\xe8\x44"
  29336. "\x0f\x3d\x97\x19\x2e\x6d\xa2\x38"
  29337. "\x9d\xa6\xaa\xe1\x96\xb9\x08\xe8"
  29338. "\x0b\x70\x48\x5c\xed\xb5\x9b\xcb"
  29339. "\x8b\x40\x88\x7e\x69\x73\xf7\x16"
  29340. "\x71\xbb\x5b\xfc\xa3\x47\x5d\xa6"
  29341. "\xae\x3a\x64\xc4\xe7\xb8\xa8\xe7"
  29342. "\xb1\x32\x19\xdb\xe3\x01\xb8\xf0"
  29343. "\xa4\x86\xb4\x4c\xc2\xde\x5c\xd2"
  29344. "\x6c\x77\xd2\xe8\x18\xb7\x0a\xc9"
  29345. "\x3d\x53\xb5\xc4\x5c\xf0\x8c\x06"
  29346. "\xdc\x90\xe0\x74\x47\x1b\x0b\xf6"
  29347. "\xd2\x71\x6b\xc4\xf1\x97\x00\x2d"
  29348. "\x63\x57\x44\x1f\x8c\xf4\xe6\x9b"
  29349. "\xe0\x7a\xdd\xec\x32\x73\x42\x32"
  29350. "\x7f\x35\x67\x60\x0d\xcf\x10\x52"
  29351. "\x61\x22\x53\x8d\x8e\xbb\x33\x76"
  29352. "\x59\xd9\x10\xce\xdf\xef\xc0\x41"
  29353. "\xd5\x33\x29\x6a\xda\x46\xa4\x51"
  29354. "\xf0\x99\x3d\x96\x31\xdd\xb5\xcb"
  29355. "\x3e\x2a\x1f\xc7\x5c\x79\xd3\xc5"
  29356. "\x20\xa1\xb1\x39\x1b\xc6\x0a\x70"
  29357. "\x26\x39\x95\x07\xad\x7a\xc9\x69"
  29358. "\xfe\x81\xc7\x88\x08\x38\xaf\xad"
  29359. "\x9e\x8d\xfb\xe8\x24\x0d\x22\xb8"
  29360. "\x0e\xed\xbe\x37\x53\x7c\xa6\xc6"
  29361. "\x78\x62\xec\xa3\x59\xd9\xc6\x9d"
  29362. "\xb8\x0e\x69\x77\x84\x2d\x6a\x4c"
  29363. "\xc5\xd9\xb2\xa0\x2b\xa8\x80\xcc"
  29364. "\xe9\x1e\x9c\x5a\xc4\xa1\xb2\x37"
  29365. "\x06\x9b\x30\x32\x67\xf7\xe7\xd2"
  29366. "\x42\xc7\xdf\x4e\xd4\xcb\xa0\x12"
  29367. "\x94\xa1\x34\x85\x93\x50\x4b\x0a"
  29368. "\x3c\x7d\x49\x25\x01\x41\x6b\x96"
  29369. "\xa9\x12\xbb\x0b\xc0\xd7\xd0\x93"
  29370. "\x1f\x70\x38\xb8\x21\xee\xf6\xa7"
  29371. "\xee\xeb\xe7\x81\xa4\x13\xb4\x87"
  29372. "\xfa\xc1\xb0\xb5\x37\x8b\x74\xa2"
  29373. "\x4e\xc7\xc2\xad\x3d\x62\x3f\xf8"
  29374. "\x34\x42\xe5\xae\x45\x13\x63\xfe"
  29375. "\xfc\x2a\x17\x46\x61\xa9\xd3\x1c"
  29376. "\x4c\xaf\xf0\x09\x62\x26\x66\x1e"
  29377. "\x74\xcf\xd6\x68\x3d\x7d\xd8\xb7"
  29378. "\xe7\xe6\xf8\xf0\x08\x20\xf7\x47"
  29379. "\x1c\x52\xaa\x0f\x3e\x21\xa3\xf2"
  29380. "\xbf\x2f\x95\x16\xa8\xc8\xc8\x8c"
  29381. "\x99\x0f\x5d\xfb\xfa\x2b\x58\x8a"
  29382. "\x7e\xd6\x74\x02\x60\xf0\xd0\x5b"
  29383. "\x65\xa8\xac\xea\x8d\x68\x46\x34"
  29384. "\x26\x9d\x4f\xb1\x9a\x8e\xc0\x1a"
  29385. "\xf1\xed\xc6\x7a\x83\xfd\x8a\x57"
  29386. "\xf2\xe6\xe4\xba\xfc\xc6\x3c\xad"
  29387. "\x5b\x19\x50\x2f\x3a\xcc\x06\x46"
  29388. "\x04\x51\x3f\x91\x97\xf0\xd2\x07"
  29389. "\xe7\x93\x89\x7e\xb5\x32\x0f\x03"
  29390. "\xe5\x58\x9e\x74\x72\xeb\xc2\x38"
  29391. "\x00\x0c\x91\x72\x69\xed\x7d\x6d"
  29392. "\xc8\x71\xf0\xec\xff\x80\xd9\x1c"
  29393. "\x9e\xd2\xfa\x15\xfc\x6c\x4e\xbc"
  29394. "\xb1\xa6\xbd\xbd\x70\x40\xca\x20"
  29395. "\xb8\x78\xd2\xa3\xc6\xf3\x79\x9c"
  29396. "\xc7\x27\xe1\x6a\x29\xad\xa4\x03",
  29397. .len = 512,
  29398. }, {
  29399. .key = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
  29400. "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
  29401. "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
  29402. "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
  29403. .klen = 32,
  29404. .iv = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
  29405. "\x88\x76\x65\xb4\x1a\x29\x27\x12"
  29406. "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
  29407. "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
  29408. .ptext = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
  29409. "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
  29410. "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
  29411. "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
  29412. "\x38\x24\x62\xdb\x65\x82\x10\x7f"
  29413. "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
  29414. "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
  29415. "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
  29416. "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
  29417. "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
  29418. "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
  29419. "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
  29420. "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
  29421. "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
  29422. "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
  29423. "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
  29424. "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
  29425. "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
  29426. "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
  29427. "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
  29428. "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
  29429. "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
  29430. "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
  29431. "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
  29432. "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
  29433. "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
  29434. "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
  29435. "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
  29436. "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
  29437. "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
  29438. "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
  29439. "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
  29440. "\x28\x04\x4c\xff\x98\x20\x08\x10"
  29441. "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
  29442. "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
  29443. "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
  29444. "\x24\x62\xcf\x17\x36\x84\xc0\x72"
  29445. "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
  29446. "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
  29447. "\x71\x73\x08\x4e\x22\x31\xfd\x88"
  29448. "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
  29449. "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
  29450. "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
  29451. "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
  29452. "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
  29453. "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
  29454. "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
  29455. "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
  29456. "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
  29457. "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
  29458. "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
  29459. "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
  29460. "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
  29461. "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
  29462. "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
  29463. "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
  29464. "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
  29465. "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
  29466. "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
  29467. "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
  29468. "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
  29469. "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
  29470. "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
  29471. "\x85\x12\xca\x61\x65\xd1\x66\xd8"
  29472. "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
  29473. "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
  29474. "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
  29475. "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
  29476. "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
  29477. "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
  29478. "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
  29479. "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
  29480. "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
  29481. "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
  29482. "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
  29483. "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
  29484. "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
  29485. "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
  29486. "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
  29487. "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
  29488. "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
  29489. "\x16\xcb\xae\x7d\x38\x21\x67\x74"
  29490. "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
  29491. "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
  29492. "\xa8\x88\x27\x86\x44\x75\x5b\x29"
  29493. "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
  29494. "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
  29495. "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
  29496. "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
  29497. "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
  29498. "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
  29499. "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
  29500. "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
  29501. "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
  29502. "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
  29503. "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
  29504. "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
  29505. "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
  29506. "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
  29507. "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
  29508. "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
  29509. "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
  29510. "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
  29511. "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
  29512. "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
  29513. "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
  29514. "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
  29515. "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
  29516. "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
  29517. "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
  29518. "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
  29519. "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
  29520. "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
  29521. "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
  29522. "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
  29523. "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
  29524. "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
  29525. "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
  29526. "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
  29527. "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
  29528. "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
  29529. "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
  29530. "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
  29531. "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
  29532. "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
  29533. "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
  29534. "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
  29535. "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
  29536. "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
  29537. "\x55\x9a\xe0\x09\x21\xac\x61\x85"
  29538. "\x4b\x20\x95\x73\x63\x26\xe3\x83"
  29539. "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
  29540. "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
  29541. "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
  29542. "\x98\x09\x11\xb7\x00\x06\x24\x5a"
  29543. "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
  29544. "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
  29545. "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
  29546. "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
  29547. "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
  29548. "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
  29549. "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
  29550. "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
  29551. "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
  29552. "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
  29553. "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
  29554. "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
  29555. "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
  29556. "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
  29557. "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
  29558. "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
  29559. "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
  29560. "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
  29561. "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
  29562. "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
  29563. "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
  29564. "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
  29565. "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
  29566. "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
  29567. "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
  29568. "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
  29569. "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
  29570. "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
  29571. "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
  29572. "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
  29573. "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
  29574. "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
  29575. "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
  29576. "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
  29577. "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
  29578. "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
  29579. "\x62\x96\x79\x0c\x81\x05\x41\xf2"
  29580. "\x07\x20\x26\xe5\x8e\x10\x54\x03"
  29581. "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
  29582. "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
  29583. "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
  29584. "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
  29585. "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
  29586. "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
  29587. "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
  29588. "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
  29589. "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
  29590. "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
  29591. "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
  29592. "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
  29593. "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
  29594. "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
  29595. "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
  29596. "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
  29597. "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
  29598. "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
  29599. "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
  29600. .ctext = "\xfc\x02\x83\x13\x73\x06\x70\x3f"
  29601. "\x71\x28\x98\x61\xe5\x2c\x45\x49"
  29602. "\x18\xa2\x0e\x17\xc9\xdb\x4d\xf6"
  29603. "\xbe\x05\x02\x35\xc1\x18\x61\x28"
  29604. "\xff\x28\x0a\xd9\x00\xb8\xed\xec"
  29605. "\x14\x80\x88\x56\xcf\x98\x32\xcc"
  29606. "\xb0\xee\xb4\x5e\x2d\x61\x59\xcb"
  29607. "\x48\xc9\x25\xaa\x7e\x5f\xe5\x4f"
  29608. "\x95\x8f\x5d\x47\xe8\xc3\x09\xb4"
  29609. "\xce\xe7\x74\xcd\xc6\x09\x5c\xfc"
  29610. "\xc7\x79\xc9\x39\xe4\xe3\x9b\x59"
  29611. "\x67\x61\x10\xc9\xb7\x7a\xa8\x11"
  29612. "\x59\xf6\x7a\x67\x1c\x3a\x70\x76"
  29613. "\x2e\x0e\xbd\x10\x93\x01\x06\xea"
  29614. "\x51\xc6\x5c\xa7\xda\xd1\x7d\x06"
  29615. "\x8b\x1d\x5b\xb6\x87\xf0\x32\xbe"
  29616. "\xff\x55\xaa\x58\x5a\x28\xd1\x64"
  29617. "\x45\x3b\x0b\x5c\xee\xc4\x12\x2d"
  29618. "\x1f\xb7\xa5\x73\xf5\x20\xf5\xa8"
  29619. "\x10\x9d\xd8\x16\xd2\x05\x4d\x49"
  29620. "\x99\x4a\x71\x56\xec\xa3\xc7\x27"
  29621. "\xb0\x98\xcd\x59\x3c\x8a\xd1\x9e"
  29622. "\x33\xa5\x92\xf2\xb7\x87\x23\x5d"
  29623. "\x53\x9a\x8e\x7c\x63\x57\x5e\x9a"
  29624. "\x21\x54\x7a\x3c\x5a\xd5\x68\x69"
  29625. "\x35\x17\x51\x06\x19\x82\x9d\x44"
  29626. "\x9e\x8a\x75\xc5\x16\x55\xa4\x78"
  29627. "\x95\x63\xc3\xf0\x91\x73\x77\x44"
  29628. "\x0c\xff\xb9\xb3\xa7\x5f\xcf\x2a"
  29629. "\xa2\x54\x9c\xe3\x8b\x7e\x9d\x65"
  29630. "\xe5\x64\x8b\xbe\x06\x3a\x90\x31"
  29631. "\xdb\x42\x78\xe9\xe6\x8a\xae\xba"
  29632. "\x8f\xfb\xc9\x3d\xd9\xc2\x3e\x57"
  29633. "\xd5\x58\xfe\x70\x44\xe5\x2a\xd5"
  29634. "\x87\xcf\x9f\x6a\x02\xde\x48\xe9"
  29635. "\x13\xed\x8d\x2b\xf2\xa1\x56\x07"
  29636. "\x36\x2d\xcf\xc3\x5c\xd4\x4b\x20"
  29637. "\xb0\xdf\x1a\x70\xed\x0a\xe4\x2e"
  29638. "\x9a\xfc\x88\xa1\xc4\x2d\xd6\xb8"
  29639. "\xf1\x6e\x2c\x5c\xdc\x0e\xb0\x21"
  29640. "\x2d\x76\xb8\xc3\x05\x4c\xf5\xc5"
  29641. "\x9a\x14\xab\x08\xc2\x67\x59\x30"
  29642. "\x7a\xef\xd8\x4a\x89\x49\xd4\xf0"
  29643. "\x22\x39\xf2\x61\xaa\x70\x36\xcf"
  29644. "\x65\xee\x43\x83\x2e\x32\xe4\xc9"
  29645. "\xc2\xf1\xc7\x08\x28\x59\x10\x6f"
  29646. "\x7a\xeb\x8f\x78\x9e\xdf\x07\x0f"
  29647. "\xca\xc7\x02\x6a\x2e\x2a\xf0\x64"
  29648. "\xfa\x4c\x8c\x4c\xfc\x13\x23\x63"
  29649. "\x54\xeb\x1d\x41\xdf\x88\xd6\x66"
  29650. "\xae\x5e\x31\x74\x5d\x84\x65\xb8"
  29651. "\x61\x1c\x88\x1b\x8f\xb6\x14\x4e"
  29652. "\x73\x23\x27\x71\x85\x04\x07\x59"
  29653. "\x18\xa3\x2b\x69\x2a\x42\x81\xbf"
  29654. "\x40\xf4\x40\xdf\x04\xb8\x6c\x2e"
  29655. "\x21\x5b\x22\x25\x61\x01\x96\xce"
  29656. "\xfb\xbc\x75\x25\x2c\x03\x55\xea"
  29657. "\xb6\x56\x31\x03\xc8\x98\x77\xd6"
  29658. "\x30\x19\x9e\x45\x05\xfd\xca\xdf"
  29659. "\xae\x89\x30\xa3\xc1\x65\x41\x67"
  29660. "\x12\x8e\xa4\x61\xd0\x87\x04\x0a"
  29661. "\xe6\xf3\x43\x3a\x38\xce\x22\x36"
  29662. "\x41\xdc\xe1\x7d\xd2\xa6\xe2\x66"
  29663. "\x21\x8d\xc9\x59\x73\x52\x34\xd8"
  29664. "\x1f\xf1\x87\x00\x9b\x12\x74\xeb"
  29665. "\xbb\xa9\x34\x0c\x8e\x79\x74\x64"
  29666. "\xbf\x94\x97\xe4\x94\xda\xf0\x39"
  29667. "\x66\xa8\xd9\x82\xe3\x11\x3d\xe7"
  29668. "\xb3\x9a\x40\x7a\x6f\x71\xc7\x0f"
  29669. "\x7b\x6d\x59\x79\x18\x2f\x11\x60"
  29670. "\x1e\xe0\xae\x1b\x1b\xb4\xad\x4d"
  29671. "\x63\xd9\x3e\xa0\x8f\xe3\x66\x8c"
  29672. "\xfe\x5a\x73\x07\x95\x27\x1a\x07"
  29673. "\x6e\xd6\x14\x3f\xbe\xc5\x99\x94"
  29674. "\xcf\x40\xf4\x39\x1c\xf2\x99\x5b"
  29675. "\xb7\xfb\xb4\x4e\x5f\x21\x10\x04"
  29676. "\x24\x08\xd4\x0d\x10\x7a\x2f\x52"
  29677. "\x7d\x91\xc3\x38\xd3\x16\xf0\xfd"
  29678. "\x53\xba\xda\x88\xa5\xf6\xc7\xfd"
  29679. "\x63\x4a\x9f\x48\xb5\x31\xc2\xe1"
  29680. "\x7b\x3e\xac\x8d\xc9\x95\x02\x92"
  29681. "\xcc\xbd\x0e\x15\x2d\x97\x08\x82"
  29682. "\xa6\x99\xbc\x2c\x96\x91\xde\xa4"
  29683. "\x9c\xf5\x2c\xef\x12\x29\xb0\x72"
  29684. "\x5f\x60\x5d\x3d\xf3\x85\x59\x79"
  29685. "\xac\x06\x63\x74\xcc\x1a\x8d\x0e"
  29686. "\xa7\x5f\xd9\x3e\x84\xf7\xbb\xde"
  29687. "\x06\xd9\x4b\xab\xee\xb2\x03\xbe"
  29688. "\x68\x49\x72\x84\x8e\xf8\x45\x2b"
  29689. "\x59\x99\x17\xd3\xe9\x32\x79\xc3"
  29690. "\x83\x4c\x7a\x6c\x71\x53\x8c\x09"
  29691. "\x76\xfb\x3e\x80\x99\xbc\x2c\x7d"
  29692. "\x42\xe5\x70\x08\x80\xc7\xaf\x15"
  29693. "\x90\xda\x98\x98\x81\x04\x1c\x4d"
  29694. "\x78\xf1\xf3\xcc\x1b\x3a\x7b\xef"
  29695. "\xea\xe1\xee\x0e\xd2\x32\xb6\x63"
  29696. "\xbf\xb2\xb5\x86\x8d\x16\xd3\x23"
  29697. "\x04\x59\x51\xbb\x17\x03\xc0\x07"
  29698. "\x93\xbf\x72\x58\x30\xf2\x0a\xa2"
  29699. "\xbc\x60\x86\x3b\x68\x91\x67\x14"
  29700. "\x10\x76\xda\xa3\x98\x2d\xfc\x8a"
  29701. "\xb8\x95\xf7\xd2\x8b\x97\x8b\xfc"
  29702. "\xf2\x9e\x86\x20\xb6\xdf\x93\x41"
  29703. "\x06\x5e\x37\x3e\xe2\xb8\xd5\x06"
  29704. "\x59\xd2\x8d\x43\x91\x5a\xed\x94"
  29705. "\x54\xc2\x77\xbc\x0b\xb4\x29\x80"
  29706. "\x22\x19\xe7\x35\x1f\x29\x4f\xd8"
  29707. "\x02\x98\xee\x83\xca\x4c\x94\xa3"
  29708. "\xec\xde\x4b\xf5\xca\x57\x93\xa3"
  29709. "\x72\x69\xfe\x27\x7d\x39\x24\x9a"
  29710. "\x60\x19\x72\xbe\x24\xb2\x2d\x99"
  29711. "\x8c\xb7\x32\xf8\x74\x77\xfc\x8d"
  29712. "\xb2\xc1\x7a\x88\x28\x26\xea\xb7"
  29713. "\xad\xf0\x38\x49\x88\x78\x73\xcd"
  29714. "\x01\xef\xb9\x30\x1a\x33\xa3\x24"
  29715. "\x9b\x0b\xc5\x89\x64\x3f\xbe\x76"
  29716. "\xd5\xa5\x28\x74\xa2\xc6\xa0\xa0"
  29717. "\xdd\x13\x81\x64\x2f\xd1\xab\x15"
  29718. "\xab\x13\xb5\x68\x59\xa4\x9f\x0e"
  29719. "\x1e\x0a\xaf\xf7\x0b\x6e\x6b\x0b"
  29720. "\xf7\x95\x4c\xbc\x1d\x40\x6d\x9c"
  29721. "\x08\x42\xef\x07\x03\xb7\xa3\xea"
  29722. "\x2a\x5f\xec\x41\x3c\x72\x31\x9d"
  29723. "\xdc\x6b\x3a\x5e\x35\x3d\x12\x09"
  29724. "\x27\xe8\x63\xbe\xcf\xb3\xbc\x01"
  29725. "\x2d\x0c\x86\xb2\xab\x4a\x69\xe5"
  29726. "\xf8\x45\x97\x76\x0e\x31\xe5\xc6"
  29727. "\x4c\x4f\x94\xa5\x26\x19\x9f\x1b"
  29728. "\xe1\xf4\x79\x04\xb4\x93\x92\xdc"
  29729. "\xa5\x2a\x66\x25\x0d\xb2\x9e\xea"
  29730. "\xa8\xf6\x02\x77\x2d\xd1\x3f\x59"
  29731. "\x5c\x04\xe2\x36\x52\x5f\xa1\x27"
  29732. "\x0a\x07\x56\xb6\x2d\xd5\x90\x32"
  29733. "\x64\xee\x3f\x42\x8f\x61\xf8\xa0"
  29734. "\xc1\x8b\x1e\x0b\xa2\x73\xa9\xf3"
  29735. "\xc9\x0e\xb1\x96\x3a\x67\x5f\x1e"
  29736. "\xd1\x98\x57\xa2\xba\xb3\x23\x9d"
  29737. "\xa3\xc6\x3c\x7d\x5e\x3e\xb3\xe8"
  29738. "\x80\xae\x2d\xda\x85\x90\x69\x3c"
  29739. "\xf0\xe7\xdd\x9e\x20\x10\x52\xdb"
  29740. "\xc3\xa0\x15\x73\xee\xb1\xf1\x0f"
  29741. "\xf1\xf8\x3f\x40\xe5\x17\x80\x4e"
  29742. "\x91\x95\xc7\xec\xd1\x9c\xd9\x1a"
  29743. "\x8b\xac\xec\xc9\x0c\x07\xf4\xdc"
  29744. "\x77\x2d\xa2\xc4\xf8\x27\xb5\x41"
  29745. "\x2f\x85\xa6\x48\xad\x2a\x58\xc5"
  29746. "\xea\xfa\x1c\xdb\xfd\xb7\x70\x45"
  29747. "\xfc\xad\x11\xaf\x05\xed\xbf\xb6"
  29748. "\x3c\xe1\x57\xb8\x72\x4a\xa0\x6b"
  29749. "\x40\xd3\xda\xa9\xbc\xa5\x02\x95"
  29750. "\x8c\xf0\x4e\x67\xb2\x58\x66\xea"
  29751. "\x58\x0e\xc4\x88\xbc\x1d\x3b\x15"
  29752. "\x17\xc8\xf5\xd0\x69\x08\x0a\x01"
  29753. "\x80\x2e\x9e\x69\x4c\x37\x0b\xba"
  29754. "\xfb\x1a\xa9\xc3\x5f\xec\x93\x7c"
  29755. "\x4f\x72\x68\x1a\x05\xa1\x32\xe1"
  29756. "\x16\x57\x9e\xa6\xe0\x42\xfa\x76"
  29757. "\xc2\xf6\xd3\x9b\x37\x0d\xa3\x58"
  29758. "\x30\x27\xe7\xea\xb1\xc3\x43\xfb"
  29759. "\x67\x04\x70\x86\x0a\x71\x69\x34"
  29760. "\xca\xb1\xe3\x4a\x56\xc9\x29\xd1"
  29761. "\x12\x6a\xee\x89\xfd\x27\x83\xdf"
  29762. "\x32\x1a\xc2\xe9\x94\xcc\x44\x2e"
  29763. "\x0f\x3e\xc8\xc1\x70\x5b\xb0\xe8"
  29764. "\x6d\x47\xe3\x39\x75\xd5\x45\x8a"
  29765. "\x48\x4c\x64\x76\x6f\xae\x24\x6f"
  29766. "\xae\x77\x33\x5b\xf5\xca\x9c\x30"
  29767. "\x2c\x27\x15\x5e\x9c\x65\xad\x2a"
  29768. "\x88\xb1\x36\xf6\xcd\x5e\x73\x72"
  29769. "\x99\x5c\xe2\xe4\xb8\x3e\x12\xfb"
  29770. "\x55\x86\xfa\xab\x53\x12\xdc\x6a"
  29771. "\xe3\xfe\x6a\xeb\x9b\x5d\xeb\x72"
  29772. "\x9d\xf1\xbb\x80\x80\x76\x2d\x57"
  29773. "\x11\xde\xcf\xae\x46\xad\xdb\xcd"
  29774. "\x62\x66\x3d\x7b\x7f\xcb\xc4\x43"
  29775. "\x81\x0c\x7e\xb9\xb7\x47\x1a\x40"
  29776. "\xfd\x08\x51\xbe\x01\x1a\xd8\x31"
  29777. "\x43\x5e\x24\x91\xa2\x53\xa1\xc5"
  29778. "\x8a\xe4\xbc\x00\x8e\xf7\x0c\x30"
  29779. "\xdf\x03\x34\x2f\xce\xe4\x2e\xda"
  29780. "\x2b\x87\xfc\xf8\x9b\x50\xd5\xb0"
  29781. "\x5b\x08\xc6\x17\xa0\xae\x6b\x24"
  29782. "\xe2\x1d\xd0\x47\xbe\xc4\x8f\x62"
  29783. "\x1d\x12\x26\xc7\x78\xd4\xf2\xa3"
  29784. "\xea\x39\x8c\xcb\x54\x3e\x2b\xb9"
  29785. "\x9a\x8f\x97\xcf\x68\x53\x40\x02"
  29786. "\x56\xac\x52\xbb\x62\x3c\xc6\x3f"
  29787. "\x3a\x53\x3c\xe8\x21\x9a\x60\x65"
  29788. "\x10\x6e\x59\xc3\x4f\xc3\x07\xc8"
  29789. "\x61\x1c\xea\x62\x6e\xa2\x5a\x12"
  29790. "\xd6\x10\x91\xbe\x5e\x58\x73\xbe"
  29791. "\x77\xb8\xb7\x98\xc7\x7e\x78\x9a",
  29792. .len = 1536,
  29793. }, {
  29794. .key = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
  29795. "\x70\x47\x8c\xea\x87\x30\x1d\x58"
  29796. "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
  29797. "\x56\x95\x83\x98\x38\x80\x84\x8a",
  29798. .klen = 32,
  29799. .iv = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
  29800. "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
  29801. "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
  29802. "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
  29803. .ptext = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
  29804. "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
  29805. "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
  29806. "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
  29807. "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
  29808. "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
  29809. "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
  29810. "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
  29811. "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
  29812. "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
  29813. "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
  29814. "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
  29815. "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
  29816. "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
  29817. "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
  29818. "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
  29819. "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
  29820. "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
  29821. "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
  29822. "\x35\x21\x66\x78\x3d\xb6\x65\x83"
  29823. "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
  29824. "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
  29825. "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
  29826. "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
  29827. "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
  29828. "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
  29829. "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
  29830. "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
  29831. "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
  29832. "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
  29833. "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
  29834. "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
  29835. "\x96\x87\xc9\x34\x02\x26\xde\x20"
  29836. "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
  29837. "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
  29838. "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
  29839. "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
  29840. "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
  29841. "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
  29842. "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
  29843. "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
  29844. "\x85\xfd\x22\x08\x00\xae\x72\x10"
  29845. "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
  29846. "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
  29847. "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
  29848. "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
  29849. "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
  29850. "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
  29851. "\x93\x45\x38\x95\xb9\x69\xe9\x62"
  29852. "\x21\x73\xbd\x81\x73\xac\x15\x74"
  29853. "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
  29854. "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
  29855. "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
  29856. "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
  29857. "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
  29858. "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
  29859. "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
  29860. "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
  29861. "\x24\x43\xb3\x0e\xba\xad\x63\x63"
  29862. "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
  29863. "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
  29864. "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
  29865. "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
  29866. "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
  29867. "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
  29868. "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
  29869. "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
  29870. "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
  29871. "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
  29872. "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
  29873. "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
  29874. "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
  29875. "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
  29876. "\x9d\x46\xae\x67\x00\x3b\x40\x94"
  29877. "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
  29878. "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
  29879. "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
  29880. "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
  29881. "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
  29882. "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
  29883. "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
  29884. "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
  29885. "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
  29886. "\x76\xca\x9f\x56\xae\x04\x2e\x75"
  29887. "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
  29888. "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
  29889. "\x08\x67\x02\x01\xe3\x64\x82\xee"
  29890. "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
  29891. "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
  29892. "\x85\x48\xb6\x97\x97\x02\x43\x1f"
  29893. "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
  29894. "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
  29895. "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
  29896. "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
  29897. "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
  29898. "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
  29899. "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
  29900. "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
  29901. "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
  29902. "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
  29903. "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
  29904. "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
  29905. "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
  29906. "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
  29907. "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
  29908. "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
  29909. "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
  29910. "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
  29911. "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
  29912. "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
  29913. "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
  29914. "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
  29915. "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
  29916. "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
  29917. "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
  29918. "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
  29919. "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
  29920. "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
  29921. "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
  29922. "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
  29923. "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
  29924. "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
  29925. "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
  29926. "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
  29927. "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
  29928. "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
  29929. "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
  29930. "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
  29931. "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
  29932. "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
  29933. "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
  29934. "\x36\x12\x35\x28\x64\x12\xe7\xbb"
  29935. "\x50\xac\x45\x15\x7b\x16\x23\x5e"
  29936. "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
  29937. "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
  29938. "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
  29939. "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
  29940. "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
  29941. "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
  29942. "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
  29943. "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
  29944. "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
  29945. "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
  29946. "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
  29947. "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
  29948. "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
  29949. "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
  29950. "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
  29951. "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
  29952. "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
  29953. "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
  29954. "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
  29955. "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
  29956. "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
  29957. "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
  29958. "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
  29959. "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
  29960. "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
  29961. "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
  29962. "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
  29963. "\x7d\x65\x57\x65\x98\xff\x8b\x02"
  29964. "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
  29965. "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
  29966. "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
  29967. "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
  29968. "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
  29969. "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
  29970. "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
  29971. "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
  29972. "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
  29973. "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
  29974. "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
  29975. "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
  29976. "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
  29977. "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
  29978. "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
  29979. "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
  29980. "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
  29981. "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
  29982. "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
  29983. "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
  29984. "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
  29985. "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
  29986. "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
  29987. "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
  29988. "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
  29989. "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
  29990. "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
  29991. "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
  29992. "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
  29993. "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
  29994. "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
  29995. "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
  29996. "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
  29997. "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
  29998. "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
  29999. "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
  30000. "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
  30001. "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
  30002. "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
  30003. "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
  30004. "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
  30005. "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
  30006. "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
  30007. "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
  30008. "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
  30009. "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
  30010. "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
  30011. "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
  30012. "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
  30013. "\x53\xf1\x61\x97\x63\x52\x38\x86"
  30014. "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
  30015. "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
  30016. "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
  30017. "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
  30018. "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
  30019. "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
  30020. "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
  30021. "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
  30022. "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
  30023. "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
  30024. "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
  30025. "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
  30026. "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
  30027. "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
  30028. "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
  30029. "\x48\xb9\x27\x62\x00\x12\xc5\x03"
  30030. "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
  30031. "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
  30032. "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
  30033. "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
  30034. "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
  30035. "\x99\xd5\xff\x34\x93\x8f\x31\x45"
  30036. "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
  30037. "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
  30038. "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
  30039. "\x26\xec\x3a\x64\xc4\xab\x74\x97"
  30040. "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
  30041. "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
  30042. "\x68\x50\x22\x16\x96\x2f\xc4\x23"
  30043. "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
  30044. "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
  30045. "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
  30046. "\x20\x89\xef\x44\x22\x38\x3c\x14"
  30047. "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
  30048. "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
  30049. "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
  30050. "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
  30051. "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
  30052. "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
  30053. "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
  30054. "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
  30055. "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
  30056. "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
  30057. "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
  30058. "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
  30059. "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
  30060. "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
  30061. "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
  30062. "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
  30063. "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
  30064. "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
  30065. "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
  30066. "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
  30067. "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
  30068. "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
  30069. "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
  30070. "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
  30071. "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
  30072. "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
  30073. "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
  30074. "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
  30075. "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
  30076. "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
  30077. "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
  30078. "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
  30079. "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
  30080. "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
  30081. "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
  30082. "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
  30083. "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
  30084. "\x60\x81\x75\x29\x9e\xce\x2a\x70"
  30085. "\x28\x0c\x87\xe5\x46\x73\x76\x66"
  30086. "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
  30087. "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
  30088. "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
  30089. "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
  30090. "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
  30091. "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
  30092. "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
  30093. "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
  30094. "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
  30095. "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
  30096. "\xf1\x11\x02\x64\x09\x25\x7c\x26"
  30097. "\xee\xad\x50\x68\x31\x26\x16\x0f"
  30098. "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
  30099. "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
  30100. "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
  30101. "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
  30102. "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
  30103. "\x40\x12\x43\x31\xb8\x12\xe0\x95"
  30104. "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
  30105. "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
  30106. "\xab\x03\xda\x41\xab\xc5\x4e\x33"
  30107. "\x5a\x63\x94\x90\x22\x72\x54\x26"
  30108. "\x93\x65\x99\x45\x55\xd3\x55\x56"
  30109. "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
  30110. "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
  30111. "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
  30112. "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
  30113. "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
  30114. "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
  30115. "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
  30116. "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
  30117. "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
  30118. "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
  30119. "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
  30120. "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
  30121. "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
  30122. "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
  30123. "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
  30124. "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
  30125. "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
  30126. "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
  30127. "\xad\x6e\x83\x90\x21\x10\xb8\x07"
  30128. "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
  30129. "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
  30130. "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
  30131. "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
  30132. "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
  30133. "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
  30134. "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
  30135. "\x02\x5a\x20\x4d\x43\x08\x71\x49"
  30136. "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
  30137. "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
  30138. "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
  30139. "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
  30140. "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
  30141. "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
  30142. "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
  30143. "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
  30144. "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
  30145. "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
  30146. "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
  30147. "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
  30148. "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
  30149. "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
  30150. "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
  30151. "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
  30152. "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
  30153. "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
  30154. "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
  30155. "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
  30156. "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
  30157. "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
  30158. "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
  30159. "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
  30160. "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
  30161. "\x08\x48\xfd\x9b\x47\x41\x10\xae"
  30162. "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
  30163. "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
  30164. "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
  30165. "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
  30166. "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
  30167. "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
  30168. "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
  30169. "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
  30170. "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
  30171. "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
  30172. "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
  30173. "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
  30174. "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
  30175. "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
  30176. "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
  30177. "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
  30178. "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
  30179. "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
  30180. "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
  30181. "\x54\x14\x91\x12\x41\x41\x54\xa2"
  30182. "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
  30183. "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
  30184. "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
  30185. "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
  30186. "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
  30187. "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
  30188. "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
  30189. "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
  30190. "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
  30191. "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
  30192. "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
  30193. "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
  30194. "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
  30195. "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
  30196. "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
  30197. "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
  30198. "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
  30199. "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
  30200. "\x58\xec\x70\x4f\x40\x25\x2b\xba"
  30201. "\x96\x59\xac\x34\x45\x29\xc6\x57"
  30202. "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
  30203. "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
  30204. "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
  30205. "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
  30206. "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
  30207. "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
  30208. "\xea\xa5\x56\x02\x5b\x93\x13\x46"
  30209. "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
  30210. "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
  30211. "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
  30212. "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
  30213. "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
  30214. "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
  30215. "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
  30216. "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
  30217. "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
  30218. "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
  30219. "\xad\x57\xae\x98\x83\xd5\x92\x4e"
  30220. "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
  30221. "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
  30222. "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
  30223. "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
  30224. "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
  30225. "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
  30226. "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
  30227. "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
  30228. "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
  30229. "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
  30230. "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
  30231. "\x32\x06\x3f\x12\x23\x19\x22\x82"
  30232. "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
  30233. "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
  30234. "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
  30235. "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
  30236. "\x35\x79\x84\x78\x06\x68\x97\x30"
  30237. "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
  30238. "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
  30239. "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
  30240. "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
  30241. "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
  30242. "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
  30243. "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
  30244. "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
  30245. "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
  30246. "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
  30247. "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
  30248. "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
  30249. "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
  30250. "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
  30251. "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
  30252. "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
  30253. "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
  30254. "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
  30255. "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
  30256. "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
  30257. "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
  30258. "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
  30259. "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
  30260. "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
  30261. "\x13\xa7\x47\x89\x62\xa3\x03\x19"
  30262. "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
  30263. "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
  30264. "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
  30265. "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
  30266. "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
  30267. "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
  30268. "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
  30269. "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
  30270. "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
  30271. "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
  30272. "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
  30273. "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
  30274. "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
  30275. "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
  30276. "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
  30277. "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
  30278. "\x20\xa9\x37\x78\x32\x03\x60\xcc"
  30279. "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
  30280. "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
  30281. "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
  30282. "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
  30283. "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
  30284. "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
  30285. "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
  30286. "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
  30287. "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
  30288. "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
  30289. "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
  30290. "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
  30291. "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
  30292. "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
  30293. "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
  30294. "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
  30295. "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
  30296. "\x12\xab\x95\x66\xec\x09\x64\xea"
  30297. "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
  30298. "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
  30299. "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
  30300. "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
  30301. "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
  30302. "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
  30303. "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
  30304. "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
  30305. "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
  30306. "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
  30307. "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
  30308. "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
  30309. "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
  30310. "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
  30311. "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
  30312. "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
  30313. "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
  30314. "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
  30315. .ctext = "\x2c\xf5\x4c\xc9\x99\x19\x83\x84"
  30316. "\x09\xbc\xe6\xad\xbe\xb6\x6b\x1b"
  30317. "\x75\x0b\x3d\x33\x10\xb4\x8b\xf7"
  30318. "\xa7\xc7\xba\x9f\x6e\xd7\xc7\xfd"
  30319. "\x58\xef\x24\xf4\xdc\x26\x3f\x35"
  30320. "\x02\x98\xf2\x8c\x96\xca\xfc\xca"
  30321. "\xca\xfa\x27\xe6\x23\x1f\xf0\xc7"
  30322. "\xe3\x46\xbf\xca\x7b\x4e\x24\xcd"
  30323. "\xd0\x13\x3f\x80\xd6\x5b\x0b\xdc"
  30324. "\xad\xc6\x49\x77\xd7\x58\xf5\xfd"
  30325. "\x58\xba\x72\x0d\x9e\x0b\x63\xc3"
  30326. "\x86\xac\x06\x97\x70\x42\xec\x3a"
  30327. "\x0d\x53\x27\x17\xbd\x3e\xcb\xe0"
  30328. "\xaa\x19\xb4\xfe\x5d\x1b\xcb\xd7"
  30329. "\x99\xc3\x19\x45\x6f\xdf\x64\x44"
  30330. "\x9f\xf8\x55\x1b\x72\x8d\x78\x51"
  30331. "\x3c\x83\x48\x8f\xaf\x05\x60\x7d"
  30332. "\x22\xce\x07\x53\xfd\x91\xcf\xfa"
  30333. "\x5f\x86\x66\x3e\x72\x67\x7f\xc1"
  30334. "\x49\x82\xc7\x1c\x91\x1e\x48\xcd"
  30335. "\x5e\xc6\x5f\xd9\xc9\x43\x88\x35"
  30336. "\x80\xba\x91\xe1\x54\x4b\x14\xbe"
  30337. "\xbd\x75\x48\xb8\xde\x22\x64\xb5"
  30338. "\x8c\xcb\x5e\x92\x99\x8f\x4a\xab"
  30339. "\x00\x6c\xb4\x2e\x03\x3b\x0e\xee"
  30340. "\x4d\x39\x05\xbc\x94\x80\xbb\xb2"
  30341. "\x36\x16\xa3\xd9\x8f\x61\xd7\x67"
  30342. "\xb5\x90\x46\x85\xe1\x4e\x71\x84"
  30343. "\xd0\x84\xc0\xc0\x8f\xad\xdb\xeb"
  30344. "\x44\xf4\x66\x35\x3f\x92\xa2\x05"
  30345. "\xa4\x9c\xb8\xdc\x77\x6c\x85\x34"
  30346. "\xd2\x6a\xea\x32\xb8\x08\xf6\x13"
  30347. "\x78\x1e\x29\xef\x12\x54\x16\x28"
  30348. "\x25\xf8\x32\x0e\x4f\x94\xe6\xb3"
  30349. "\x0b\x97\x79\x97\xb3\xb0\x37\x61"
  30350. "\xa4\x10\x6f\x15\x9c\x7d\x22\x41"
  30351. "\xe2\xd7\xa7\xa0\xfc\xc5\x62\x55"
  30352. "\xed\x68\x39\x7b\x09\xd2\x17\xaa"
  30353. "\xf2\xb8\xc9\x1d\xa2\x23\xfd\xaa"
  30354. "\x9c\x57\x16\x0d\xe3\x63\x3c\x2b"
  30355. "\x13\xdd\xa2\xf0\x8e\xd3\x02\x81"
  30356. "\x09\xba\x80\x02\xdb\x97\xfe\x0f"
  30357. "\x77\x8d\x18\xf1\xf4\x59\x27\x79"
  30358. "\xa3\x46\x88\xda\x51\x67\xd0\xe9"
  30359. "\x5d\x22\x98\xc1\xe4\xea\x08\xda"
  30360. "\xf7\xb9\x16\x71\x36\xbd\x43\x8a"
  30361. "\x4b\x6e\xf3\xaa\xb0\xba\x1a\xbc"
  30362. "\xaa\xca\xde\x5c\xc0\xa5\x11\x6d"
  30363. "\x8a\x8f\xcc\x04\xfc\x6c\x89\x75"
  30364. "\x4b\x2c\x29\x6f\x41\xc7\x6e\xda"
  30365. "\xea\xa6\xaf\xb0\xb1\x46\x9e\x30"
  30366. "\x5e\x11\x46\x07\x3b\xd6\xaa\x36"
  30367. "\xa4\x01\x84\x1d\xb9\x8e\x58\x9d"
  30368. "\xa9\xb6\x1c\x56\x5c\x5a\xde\xfa"
  30369. "\x66\x96\xe6\x29\x26\xd4\x68\xd0"
  30370. "\x1a\xcb\x98\xbb\xce\x19\xbb\x87"
  30371. "\x00\x6c\x59\x17\xe3\xd1\xe6\x5c"
  30372. "\xd0\x98\xe1\x91\xc4\x28\xaf\xbf"
  30373. "\xbb\xdf\x75\x4e\xd9\x9d\x99\x0f"
  30374. "\xc6\x0c\x03\x24\x3e\xb6\xd7\x3f"
  30375. "\xd5\x43\x4a\x47\x26\xab\xf6\x3f"
  30376. "\x7f\xf1\x15\x0c\xde\x68\xa0\x5f"
  30377. "\x63\xf9\xe2\x5e\x5d\x42\xf1\x36"
  30378. "\x38\x90\x06\x18\x84\xf2\xfa\x81"
  30379. "\x36\x33\x29\x18\xaa\x8c\x49\x0e"
  30380. "\xda\x27\x38\x9c\x12\x8b\x83\xfa"
  30381. "\x40\xd0\xb6\x0a\x72\x85\xf0\xc7"
  30382. "\xaa\x5f\x30\x1a\x6f\x45\xe4\x35"
  30383. "\x4c\xf3\x4c\xe4\x1c\xd7\x48\x77"
  30384. "\xdd\x3e\xe4\x73\x44\xb1\xb8\x1c"
  30385. "\x42\x40\x90\x61\xb1\x6d\x8b\x20"
  30386. "\x2d\x30\x63\x01\x26\x71\xbc\x5a"
  30387. "\x76\xce\xc1\xfb\x13\xf9\x4c\x6e"
  30388. "\x7a\x16\x8a\x53\xcb\x07\xaa\xa1"
  30389. "\xba\xd0\x68\x7a\x2d\x25\x48\x85"
  30390. "\xb7\x6b\x0a\x05\xf2\xdf\x0e\x46"
  30391. "\x4e\xc8\xcd\x59\x5b\x9a\x2e\x9e"
  30392. "\xdb\x4a\xf6\xfd\x7b\xa4\x5c\x4d"
  30393. "\x78\x8d\xe7\xb0\x84\x3f\xf0\xc1"
  30394. "\x47\x39\xbf\x1e\x8c\xc2\x11\x0d"
  30395. "\x90\xd1\x17\x42\xb3\x50\xeb\xaa"
  30396. "\xcd\xc0\x98\x36\x84\xd0\xfe\x75"
  30397. "\xf8\x8f\xdc\xa0\xa1\x53\xe5\x8c"
  30398. "\xf2\x0f\x4a\x31\x48\xae\x3d\xaf"
  30399. "\x19\x4b\x75\x2e\xc1\xe3\xcd\x4d"
  30400. "\x2c\xa4\x54\x7b\x4d\x5e\x93\xa2"
  30401. "\xe7\x1f\x34\x19\x9f\xb2\xbf\x22"
  30402. "\x65\x1a\x03\x48\x12\x66\x50\x3e"
  30403. "\x0e\x5d\x60\x29\x44\x69\x90\xee"
  30404. "\x9d\x8b\x55\x78\xdf\x63\x31\xc3"
  30405. "\x1b\x21\x7d\x06\x21\x86\x60\xb0"
  30406. "\x9d\xdb\x3d\xcc\xe2\x20\xf4\x88"
  30407. "\x20\x62\x2e\xe8\xa9\xea\x42\x41"
  30408. "\xb0\xab\x73\x61\x40\x39\xac\x11"
  30409. "\x55\x27\x51\x5f\x11\xef\xb1\x23"
  30410. "\xff\x81\x99\x86\x0c\x6f\x16\xaf"
  30411. "\xf6\x89\x86\xd8\xf6\x41\xc2\x80"
  30412. "\x21\xf4\xd5\x6d\xef\xa3\x0c\x4d"
  30413. "\x59\xfd\xdc\x93\x1a\x4f\xe6\x22"
  30414. "\x83\x40\x0c\x98\x67\xba\x7c\x93"
  30415. "\x0b\xa9\x89\xfc\x3e\xff\x84\x12"
  30416. "\x3e\x27\xa3\x8a\x48\x17\xd6\x08"
  30417. "\x85\x2f\xf1\xa8\x90\x90\x71\xbe"
  30418. "\x44\xd6\x34\xbf\x74\x52\x0a\x17"
  30419. "\x39\x64\x78\x1a\xbc\x81\xbe\xc8"
  30420. "\xea\x7f\x0b\x5a\x2c\x77\xff\xac"
  30421. "\xdd\x37\x35\x78\x09\x28\x29\x4a"
  30422. "\xd1\xd6\x6c\xc3\xd5\x70\xdd\xfc"
  30423. "\x21\xcd\xce\xeb\x51\x11\xf7\xbc"
  30424. "\x12\x43\x1e\x6c\xa1\xa3\x79\xe6"
  30425. "\x1d\x63\x52\xff\xf0\xbb\xcf\xec"
  30426. "\x56\x58\x63\xe2\x21\x0b\x2d\x5c"
  30427. "\x64\x09\xf3\xee\x05\x42\x34\x93"
  30428. "\x38\xa8\x60\xea\x1d\x95\x90\x65"
  30429. "\xad\x2f\xda\x1d\xdd\x21\x1a\xf1"
  30430. "\x94\xe0\x6a\x81\xa1\xd3\x63\x31"
  30431. "\x45\x73\xce\x54\x4e\xb1\x75\x26"
  30432. "\x59\x18\xc2\x31\x73\xe6\xf5\x7d"
  30433. "\x06\x5b\x65\x67\xe5\x69\x90\xdf"
  30434. "\x27\x6a\xbf\x81\x7d\x92\xbe\xd1"
  30435. "\x4e\x0b\xa8\x18\x94\x72\xe1\xd0"
  30436. "\xb6\x2a\x16\x08\x7a\x34\xb8\xf2"
  30437. "\xe1\xac\x08\x66\xe6\x78\x66\xfd"
  30438. "\x36\xbd\xee\xc6\x71\xa4\x09\x4e"
  30439. "\x3b\x09\xf2\x8e\x3a\x90\xba\xa0"
  30440. "\xc2\x1d\x9f\xad\x52\x0e\xc9\x10"
  30441. "\x99\x40\x90\xd5\x7d\x73\x56\xef"
  30442. "\x48\x1e\x56\x5c\x7d\x3c\xcb\x84"
  30443. "\x10\x0a\xcc\xda\xce\xad\xd8\xa8"
  30444. "\x79\xc7\x29\x95\x31\x3b\xd9\x9b"
  30445. "\xb6\x84\x3e\x03\x74\xc5\x76\xba"
  30446. "\x4b\xd9\x4f\x7c\xc4\x5f\x7f\x70"
  30447. "\xc5\xe3\x6e\xd0\x14\x32\xec\x60"
  30448. "\xb0\x69\x78\xb7\xef\xda\x5a\xe7"
  30449. "\x4e\x50\x97\xd4\x94\x58\x67\x57"
  30450. "\x4e\x7c\x75\xe0\xcf\x8d\xe1\x78"
  30451. "\x97\x52\xc8\x73\x81\xf9\xb6\x02"
  30452. "\x54\x72\x6d\xc0\x70\xff\xe2\xeb"
  30453. "\x6c\xe1\x30\x0a\x94\xd0\x55\xec"
  30454. "\xed\x61\x9c\x6d\xd9\xa0\x92\x62"
  30455. "\x4e\xfd\xd8\x79\x27\x02\x4e\x13"
  30456. "\xb2\x04\xba\x00\x9a\x77\xed\xc3"
  30457. "\x5b\xa4\x22\x02\xa9\xed\xaf\xac"
  30458. "\x4f\xe1\x74\x73\x51\x36\x78\x8b"
  30459. "\xdb\xf5\x32\xfd\x0d\xb9\xcb\x15"
  30460. "\x4c\xae\x43\x72\xeb\xbe\xc0\xf8"
  30461. "\x91\x67\xf1\x4f\x5a\xd4\xa4\x69"
  30462. "\x8f\x3e\x16\xd2\x09\x31\x72\x5a"
  30463. "\x5e\x0a\xc4\xbc\x44\xd4\xbb\x82"
  30464. "\x7a\xdf\x52\x25\x8c\x45\xdc\xe4"
  30465. "\xe0\x71\x84\xe4\xe0\x3d\x59\x30"
  30466. "\x5b\x94\x12\x33\x78\x85\x90\x84"
  30467. "\x52\x05\x33\xa7\xa7\x16\xe0\x4d"
  30468. "\x6a\xf7\xfa\x03\x98\x6c\x4f\xb0"
  30469. "\x06\x66\x06\xa1\xdd\x3c\xbe\xbb"
  30470. "\xb2\x62\xab\x64\xd3\xbf\x2c\x30"
  30471. "\x0e\xfc\xd9\x95\x32\x32\xf3\x3b"
  30472. "\x39\x7e\xda\x62\x62\x0f\xc3\xfe"
  30473. "\x55\x76\x09\xf5\x8a\x09\x91\x93"
  30474. "\x32\xea\xbc\x2b\x0b\xcf\x1d\x65"
  30475. "\x48\x33\xba\xeb\x0f\xd4\xf9\x3b"
  30476. "\x1e\x90\x74\x6d\x93\x52\x61\x81"
  30477. "\xa3\xf2\xb5\xea\x1d\x61\x86\x68"
  30478. "\x00\x40\xcc\x58\xdd\xf2\x64\x01"
  30479. "\xab\xfd\x94\xc0\xa3\x83\x83\x33"
  30480. "\xa4\xb0\xb8\xd3\x9d\x08\x3c\x7f"
  30481. "\x8e\xa8\xaf\x87\xa5\xe7\xcd\x36"
  30482. "\x92\x96\xdc\xa1\xf2\xea\xe6\xd1"
  30483. "\x1e\xe9\x65\xa4\xff\xda\x17\x96"
  30484. "\xad\x91\x4a\xc5\x26\xb4\x1d\x1c"
  30485. "\x2b\x50\x48\x26\xc8\x86\x3f\x05"
  30486. "\xb8\x87\x1b\x3f\xee\x2e\x55\x61"
  30487. "\x0d\xdc\xcf\x56\x0e\xe2\xcc\xda"
  30488. "\x87\xee\xc5\xcd\x0e\xf4\xa4\xaf"
  30489. "\x8a\x02\xee\x16\x0b\xc4\xdd\x6d"
  30490. "\x80\x3e\xf3\xfe\x95\xb4\xfe\x97"
  30491. "\x0d\xe2\xab\xbb\x27\x84\xee\x25"
  30492. "\x39\x74\xb0\xfb\xdc\x5a\x0f\x65"
  30493. "\x31\x2a\x89\x08\xa4\x8c\x9f\x25"
  30494. "\x5f\x93\x83\x39\xda\xb4\x22\x17"
  30495. "\xbd\xd2\x0d\xfc\xde\xf8\x00\x34"
  30496. "\xc2\x48\x55\x06\x4c\x8b\x79\xe5"
  30497. "\xba\x0c\x50\x4f\x98\xa3\x59\x3d"
  30498. "\xc4\xec\xd1\x85\xf3\x60\x41\x16"
  30499. "\x0a\xe2\xf4\x38\x33\x24\xc1\xe0"
  30500. "\x0d\x86\x1f\x5a\xd2\xba\x7c\x5f"
  30501. "\x97\x60\x54\xa3\x52\x31\x78\x57"
  30502. "\x7a\xc0\xc7\x1e\xd4\x11\x8f\xef"
  30503. "\x86\x0a\x60\x26\x4a\x8f\x06\xf7"
  30504. "\x1f\x47\x45\x6e\x87\x13\x15\xf3"
  30505. "\x91\x08\xbf\x2a\x6e\x71\x21\x8e"
  30506. "\x92\x90\xde\x01\x97\x81\x46\x87"
  30507. "\x8a\xfc\xab\x12\x0c\x60\x3e\x9d"
  30508. "\xbd\x40\x0a\x45\x3f\x5b\x83\x04"
  30509. "\xb5\x8f\x42\x78\x68\xfe\x3a\xd1"
  30510. "\x59\xf7\x12\xaa\x86\x86\x1c\x77"
  30511. "\xfc\xc6\x64\x47\x0f\x7e\xd3\xbc"
  30512. "\x95\x90\x23\xb3\x60\xdc\x0d\xf4"
  30513. "\x67\xe6\x32\xee\xad\xbf\x60\x07"
  30514. "\xbd\xdb\x6e\x3f\x55\x88\xdb\x93"
  30515. "\x62\x41\xd6\xeb\x34\xd6\xa3\x96"
  30516. "\xd2\xbc\x29\xaa\x75\x65\x41\x9f"
  30517. "\x70\x43\xbb\x6d\xd9\xa5\x95\x22"
  30518. "\x3e\xf9\x07\xa0\x7d\x75\xba\xb8"
  30519. "\xcd\x81\x3b\x94\x01\x19\xc3\x67"
  30520. "\x9d\xa4\x7f\xa0\x99\xcc\x4a\xc4"
  30521. "\xfa\x76\x3f\xab\x5c\xea\x26\xdf"
  30522. "\xa2\x4c\x5b\x11\x55\xa3\x6a\x70"
  30523. "\xcb\xbc\x93\x11\x48\x38\x73\x7a"
  30524. "\x40\xbf\xbc\x04\x05\xb0\x2d\x9b"
  30525. "\x9a\x23\x57\xa5\xf6\x63\xfa\xc7"
  30526. "\xd8\x4d\xc2\xc0\xf8\xbd\xfb\x7d"
  30527. "\xea\x20\xa2\xe0\x4d\xaa\x63\x1e"
  30528. "\x9a\xa2\xed\x54\xe6\x49\xaf\x52"
  30529. "\xaf\x7e\x94\x57\x19\x07\x06\x74"
  30530. "\x57\x5b\x62\x61\x99\x20\xe7\x95"
  30531. "\x14\x19\xcf\x42\x83\x6a\x94\xf5"
  30532. "\xab\xa7\xf2\x48\xf6\x0b\x40\x3d"
  30533. "\x93\x8d\x3d\x14\x5d\xf2\x45\x2c"
  30534. "\xac\x1c\x0b\x12\xc9\x56\x3f\x7c"
  30535. "\x17\xeb\x1d\xed\x7e\x5c\xaa\x37"
  30536. "\xe3\xb4\x56\xf9\x0e\xb9\x8e\xc8"
  30537. "\x16\x70\x3e\xff\x95\xb9\x89\x9c"
  30538. "\x19\x0d\x0d\x48\xbd\xb9\xe3\x73"
  30539. "\xdf\x4e\x67\x9d\x93\x6c\x0b\x75"
  30540. "\x8a\x2d\x89\x5c\x32\x9d\x75\x05"
  30541. "\xd9\x13\xbe\x14\x5f\xf0\xb7\xb4"
  30542. "\xd9\x2c\x02\x22\x41\xf2\x9c\x1f"
  30543. "\xc1\x8c\xf5\x6a\x8c\xd5\xa5\x6b"
  30544. "\x54\x47\xec\x3a\x76\x08\xf6\xf7"
  30545. "\xed\x7c\x7e\x3b\x55\xb8\xa9\x20"
  30546. "\xa6\xec\x2d\x8c\x03\x38\x9d\x74"
  30547. "\xe9\x36\xe7\x05\x40\xec\xf4\xa1"
  30548. "\xa7\x70\xa7\x6f\x1f\x93\xc2\x1d"
  30549. "\x2c\x4e\x5f\xe8\x04\x6d\x91\x67"
  30550. "\x23\xd9\x47\xb4\xf6\xbc\x35\x25"
  30551. "\x1b\xa8\xe1\x17\xa8\x21\x38\xd8"
  30552. "\x7a\x55\xd9\xc6\x6f\x0a\x1b\xcb"
  30553. "\xde\xf8\x1e\x20\x8c\xa1\x14\x49"
  30554. "\x49\x00\x00\x31\x0f\xa8\x24\x67"
  30555. "\x97\x7a\x1f\x04\xb9\x6b\x60\xd0"
  30556. "\x32\xc3\xf4\xf9\x4f\xb2\xfd\x7b"
  30557. "\xf9\xb3\x43\xd8\x23\xaa\x21\x37"
  30558. "\x9e\x91\xc5\xa4\xce\xd8\xe4\xf5"
  30559. "\x55\x3e\xc9\xe4\xc5\x51\xd3\x4d"
  30560. "\xc6\x83\xe9\x23\x8e\x3e\x21\xe0"
  30561. "\x40\x23\x4e\x2b\x2d\x89\xc4\x5d"
  30562. "\x58\xdc\x43\x03\x8e\x9a\xfb\xef"
  30563. "\x76\xac\x78\x57\xc3\xb8\xf7\x9f"
  30564. "\xf5\xb1\xc2\xa4\x0c\xee\x58\x52"
  30565. "\x45\xdf\x1a\xd9\x0e\xe0\x56\x1f"
  30566. "\x23\x79\x99\x5f\x34\xad\x9f\x41"
  30567. "\x67\x2a\xc7\x8b\xe7\x82\x6e\x67"
  30568. "\x58\xb5\xae\x18\xd7\x2f\x8f\x57"
  30569. "\x0e\xa4\x21\x3c\x84\x21\x05\x50"
  30570. "\x57\xb0\xd1\xb1\xc8\x9d\xd4\x44"
  30571. "\x25\x40\x6b\xd5\x6f\x18\x92\x89"
  30572. "\x6d\x5b\xe9\x5a\x3c\x74\xc0\x33"
  30573. "\x2c\x7a\xa7\x99\x71\x4e\x9d\x1b"
  30574. "\xe1\x1d\xcb\x62\x8b\x3c\x07\x07"
  30575. "\x67\xf6\xa6\x54\x10\x72\x3f\xea"
  30576. "\xe5\xcd\xe6\xf1\xeb\x3d\x43\x0b"
  30577. "\xfe\x4b\xc7\x1d\x3d\xd9\xa3\xe2"
  30578. "\x9b\x79\x47\xc7\xab\x28\xcc\x4d"
  30579. "\xa8\x77\x9c\xec\xef\x56\xf8\x92"
  30580. "\x07\x48\x1b\x21\x04\xa8\x24\xb0"
  30581. "\x82\x7d\xd1\x17\xa4\xaf\x5f\xfa"
  30582. "\x92\xbf\x6a\xb7\x7e\xc7\xb7\x75"
  30583. "\x40\x3c\x14\x09\x57\xae\xe0\x4e"
  30584. "\xf8\xc9\xda\x1e\x5d\x27\xc4\x8c"
  30585. "\x27\xe3\x4d\xe3\x55\x8c\xd2\xef"
  30586. "\x0c\xab\x67\x53\x96\xd3\x48\xfb"
  30587. "\x75\x4f\x74\x9e\xcb\x82\xa4\x96"
  30588. "\x91\x41\x48\xaa\x65\xdb\x34\x72"
  30589. "\xc9\xee\xa2\x77\x8b\x6e\x44\x12"
  30590. "\x4e\x51\x51\xc3\xf5\xef\x6a\x50"
  30591. "\x99\x26\x41\x1e\x66\xa4\x2b\xb9"
  30592. "\x21\x15\x38\xc2\x0b\x7f\x37\xb6"
  30593. "\x89\x8b\x27\x70\xae\xa1\x90\x28"
  30594. "\x04\xe7\xd5\x17\xcb\x60\x99\xb4"
  30595. "\xe2\xd7\x04\xd3\x11\x27\x86\xe4"
  30596. "\xd0\x0d\x36\x04\x68\xe0\xb4\x71"
  30597. "\xe8\x86\x4b\x9f\xa3\xd2\xda\x87"
  30598. "\xc2\x2c\xad\x66\xfa\x53\x18\xf8"
  30599. "\xec\x10\x74\xc5\xb6\x53\x09\x93"
  30600. "\x21\x09\xbd\x77\x2d\x2a\x12\x4c"
  30601. "\x86\xfe\x50\x8e\xd1\x16\xab\xb1"
  30602. "\xfd\xd7\x87\xde\xc3\x6f\x7c\x16"
  30603. "\xe2\x88\x3d\x41\xac\x36\x7e\xf8"
  30604. "\xc2\x3b\x46\xd5\x44\x3d\x9d\xe8"
  30605. "\xe9\x0c\xb7\xb3\xc6\xb9\xe5\xe7"
  30606. "\x27\x17\x78\x03\xd4\xda\xe4\x73"
  30607. "\x38\x34\xe7\x53\x29\xc4\xcb\x93"
  30608. "\xc9\xa1\x10\x8a\xb2\xfc\x0b\x07"
  30609. "\x47\xb8\xb1\x13\x49\x86\x24\x8b"
  30610. "\x10\xb1\xd9\x5f\xbb\xd8\x90\x37"
  30611. "\x06\x03\xe0\x76\xff\x19\x1a\x16"
  30612. "\xd8\x2d\xa7\x4a\xea\x22\x64\xbe"
  30613. "\xed\x1c\xc8\x33\xb4\xf4\xb1\x48"
  30614. "\x95\xb5\x2f\xaa\x05\xc7\x03\xa0"
  30615. "\xf1\xa4\xf3\x63\x4b\xbe\x79\xb9"
  30616. "\x4b\x67\x7e\x4e\x3e\x81\x8f\xef"
  30617. "\xe9\x55\x99\x30\xd0\x26\xec\x5d"
  30618. "\x89\xb6\x3f\x28\x38\x81\x7a\x00"
  30619. "\x89\x85\xb8\xff\x19\x0f\x8f\x5d"
  30620. "\x5c\x6d\x6a\x3d\x6c\xb9\xfb\x7c"
  30621. "\x0c\x4b\x7e\xbc\x0c\xc4\xad\xbb"
  30622. "\x0a\x8b\xc8\x48\xb7\xfa\x4d\x53"
  30623. "\x82\x10\xd6\x29\x58\x83\x50\x3c"
  30624. "\xd4\x5a\xfd\x14\xa3\xb5\x88\xfb"
  30625. "\x23\xee\xc9\xcc\xab\x92\x52\xb3"
  30626. "\x0b\x07\xf3\x1e\x9a\x2a\x2e\x35"
  30627. "\x32\x37\xa5\x86\xd0\xe5\x5f\xdd"
  30628. "\x3d\x67\x70\xb4\x9a\xc9\x93\xdc"
  30629. "\x31\x33\xe3\x3a\xc5\xcf\xd9\x44"
  30630. "\x2f\x3f\x87\xb2\x0c\x36\x55\x17"
  30631. "\xa9\xda\xb1\xca\x00\x09\x87\xe6"
  30632. "\x66\x34\xb3\x9f\x52\x37\x98\x10"
  30633. "\x2e\x5d\xa4\x14\x7f\x63\xa6\xcd"
  30634. "\x6c\x2d\x7c\x74\x4c\xae\x9c\x65"
  30635. "\xe0\x79\xc0\xd6\xc3\xfe\xa8\xf4"
  30636. "\x1a\x4f\xf5\xbc\xea\x7a\x92\x40"
  30637. "\x51\xa7\x05\x45\x40\xd8\x9c\x3c"
  30638. "\xde\x5f\x0b\x6e\x10\x5c\x1c\xdc"
  30639. "\xd2\x65\x60\xbb\x70\x68\x5c\xa9"
  30640. "\x59\x25\x0e\x4e\x93\xb8\x49\x89"
  30641. "\xf6\xae\xeb\x1f\x8b\x56\xc8\x56"
  30642. "\xb0\xb5\xc9\xee\xa5\x15\x07\x4d"
  30643. "\x8a\xcc\xad\x04\x4d\x99\x8c\x49"
  30644. "\x8d\x7c\xe0\xa5\x7d\x7f\x33\x61"
  30645. "\xf2\xfc\xe7\x88\x3f\x2b\x73\xab"
  30646. "\x2e\x38\x17\x48\xa9\x86\xdd\x81"
  30647. "\x21\x45\xbc\x98\x1d\xe5\xa5\xbc"
  30648. "\x0d\x0b\x18\x8e\x86\x1e\x76\x0a"
  30649. "\x30\x12\x21\xf0\x51\xed\xc1\xcd"
  30650. "\x9a\xf1\x7e\x7e\x64\xb2\xa3\xd6"
  30651. "\x37\xe7\xc6\xde\x97\xb9\x5d\x05"
  30652. "\xf5\x50\xe2\x0a\xaa\x68\x16\xa6"
  30653. "\x26\x9c\x7d\xff\x4c\x05\xce\x48"
  30654. "\xa7\xff\x10\x19\x5e\xef\x46\x54"
  30655. "\xec\xe4\x7b\xb6\x12\x23\xae\x93"
  30656. "\x4f\x79\xf8\x3c\x1c\x07\x15\x66"
  30657. "\x07\xc1\x52\xde\x7f\xda\x51\x7b"
  30658. "\xfe\x13\x67\xab\x8d\x56\xdc\xc1"
  30659. "\x70\x4b\x13\xd2\x30\x00\xc1\x97"
  30660. "\x22\xa7\x83\xf8\x18\xd9\x6d\x40"
  30661. "\x54\xe0\xc1\xdb\x3e\x83\x73\x12"
  30662. "\xe1\x48\x49\xb9\xd4\x20\x0c\x06"
  30663. "\x1c\x82\xb5\xbe\x5a\xae\x60\x5e"
  30664. "\xe2\x09\xba\x05\xbb\x9a\x80\x63"
  30665. "\xf2\xc4\x4b\x41\x39\x16\x76\x26"
  30666. "\xb1\x03\x06\x23\x65\x37\x33\x92"
  30667. "\xca\xf9\x72\xf5\xcd\x95\xc1\xc0"
  30668. "\x91\x5a\xfd\x28\xb9\x62\x59\x84"
  30669. "\x87\x9d\x82\xcb\xe0\x67\x7c\x26"
  30670. "\xb8\x00\x16\xd9\x5d\xb4\x74\xd4"
  30671. "\x75\x8c\x75\xf8\x87\x3b\xa8\x77"
  30672. "\xcd\x82\x3d\x7b\xb9\x63\x44\x0f"
  30673. "\x44\x83\x55\x5b\xc7\xdc\x18\x0b"
  30674. "\x8c\x36\xb3\x59\xeb\x58\x13\x38"
  30675. "\x4b\x8a\xb7\xa3\x9a\xa2\xf3\xeb"
  30676. "\xc6\x30\x84\x86\x0a\xcf\x8b\xfa"
  30677. "\x36\x66\x26\xbc\xd0\x96\xa3\xb4"
  30678. "\x8d\x6b\xf7\x5b\x75\x59\xbb\xd3"
  30679. "\x14\x78\x57\x2f\x27\xa8\x95\xcf"
  30680. "\xa2\xa5\x76\x28\xbd\xab\x8b\x59"
  30681. "\x04\x91\x8a\xc5\x3c\xc3\xa7\xcf"
  30682. "\xe0\xfb\xdd\x7a\xbb\x10\xde\x36"
  30683. "\x43\x1c\x59\xf7\x41\xb6\xa5\x80"
  30684. "\x72\x7b\xe3\x7a\xa3\x01\xc3\x8c"
  30685. "\x7e\xf3\xf2\x42\x1a\x0c\x7e\xf3"
  30686. "\xfc\x5b\x6e\x1f\x20\xf1\x32\x76"
  30687. "\x83\x71\x36\x3e\x7e\xa7\xf7\xdd"
  30688. "\x25\x2e\xe6\x04\xe2\x5b\x44\xb5"
  30689. "\x16\xfb\xdf\x9b\x46\x2a\xa8\x81"
  30690. "\x89\x15\x3e\xb5\xb0\x09\x40\x33"
  30691. "\x60\xc7\x37\x63\x14\x09\xc1\x6e"
  30692. "\x56\x52\xbe\xe4\x88\xe0\x75\xbc"
  30693. "\x49\x62\x8c\xf1\xdf\x62\xe6\xac"
  30694. "\xd5\x87\xf7\xc9\x92\x52\x36\x59"
  30695. "\x22\x6f\x31\x99\x76\xdb\x41\xb6"
  30696. "\x26\x91\x79\x7e\xd2\x78\xaf\x07"
  30697. "\x78\x4b\xed\x54\x30\xb2\xff\xbc"
  30698. "\x2c\x0a\x1a\xbe\xbf\xd5\x5a\x4d"
  30699. "\xd1\xbc\x30\xc2\xf4\xf1\xc1\x9e"
  30700. "\x9a\x96\x89\x00\x50\xfc\xf6\xaf"
  30701. "\xfa\x60\xbf\x1a\x32\x8f\x57\x36"
  30702. "\x2f\x02\xb7\x28\x50\xc3\xd3\xfd"
  30703. "\x6b\xc4\xe6\xbb\xc9\xec\xed\x86"
  30704. "\xdf\x27\x45\x2c\x0c\x6d\x65\x3b"
  30705. "\x6e\x63\x96\xc7\xd6\xb5\xb2\x05"
  30706. "\x8b\xe0\x02\x2a\xfa\x20\x0c\x82"
  30707. "\xa5\x45\x75\x12\x01\x40\xff\x3e"
  30708. "\xfd\xfc\xfb\xbc\x30\x49\xe8\x99"
  30709. "\x8d\x48\x8e\x49\x65\x2a\xe3\xa5"
  30710. "\x06\xe3\x22\x68\x3b\xd9\xa4\xcf"
  30711. "\x84\x6f\xfa\x2b\xb1\xd8\x8c\x30"
  30712. "\xd5\x5d\x0c\x63\x32\x59\x28\x6e"
  30713. "\x2a\x60\xa4\x57\x12\xf8\xc2\x95"
  30714. "\x0a\xf6\xc6\x48\x23\xce\x72\x40"
  30715. "\x0d\x75\xa0\xd4\x48\x03\xf5\xc4"
  30716. "\xcd\x26\xe7\x83\xcc\x0d\xcf\x7f"
  30717. "\x22\x5f\x91\xb3\x42\x02\x9a\x26"
  30718. "\x12\x26\x68\x12\x25\x0b\x08\x61"
  30719. "\xcb\x25\x86\x95\xfc\x57\x4d\xb6"
  30720. "\x36\x6c\xb4\xdc\xa9\x2d\x76\x7f"
  30721. "\x25\x06\xa2\x08\x69\x09\xd9\x09"
  30722. "\x3c\x40\xe1\xfd\x30\x8f\xc2\x13"
  30723. "\x92\xd4\xb5\x3b\x0c\xb2\x32\x4f"
  30724. "\x10\xc9\x1a\x41\xa6\xb2\x11\xf6"
  30725. "\x3b\x1b\x88\x56\xbf\x61\x3c\xb2"
  30726. "\xe6\xdb\x24\x9a\x55\x7e\x35\xf8"
  30727. "\x82\x5e\x52\xe3\xf2\xb3\x40\x1c"
  30728. "\xdd\xe3\x29\x37\xe0\x85\x08\x8b"
  30729. "\xb2\x8b\x09\x38\xac\xa9\x85\xe5"
  30730. "\x9e\x36\xb8\x95\x0b\x84\x9d\x10"
  30731. "\xcc\xae\xe2\x06\x56\x3c\x85\xce"
  30732. "\xc0\xdc\x36\x59\x17\xf9\x48\xf4"
  30733. "\x5b\x08\x8e\x86\x00\xa0\xf5\xdd"
  30734. "\x0c\xb6\x63\xfd\x5a\xe5\x1e\xa6"
  30735. "\x0a\xef\x76\xc2\xc7\x9b\x96\x2f"
  30736. "\x66\x2b\x7d\x50\xa6\x0c\x42\xc6"
  30737. "\xa5\x05\x05\x10\xeb\xd8\xda\x15"
  30738. "\x03\xbe\x2f\x24\x34\x8f\x84\xd8"
  30739. "\x58\xb8\xa3\xf2\x63\xc8\xc3\xf6"
  30740. "\xc2\xde\x27\x58\x69\xf9\x07\xca"
  30741. "\x12\x3e\xe2\xf4\xc8\x29\x60\x30"
  30742. "\x2f\x87\xf4\x50\xc2\x25\xcc\xfd"
  30743. "\xdc\x76\x4f\x56\x1c\xb2\xd9\x78"
  30744. "\x11\x6b\x6e\xb4\x67\xbf\x25\xc4"
  30745. "\xae\x7d\x50\x7f\xb2\x5c\x69\x26"
  30746. "\xed\x6b\xd2\x3b\x42\x64\xe3\x0c"
  30747. "\x15\xa6\xd1\xb6\x3e\x23\x76\x09"
  30748. "\x48\xd2\x08\x41\x76\xc9\x7d\x5f"
  30749. "\x50\x5d\x8e\xf9\x04\x96\xed\x3a"
  30750. "\xf8\x7c\x3b\x7d\x84\xba\xea\xe6"
  30751. "\x24\xd2\x0f\x7f\x5a\x0b\x6f\xd9"
  30752. "\x33\x14\x67\xfb\x9f\xe7\x44\x4e"
  30753. "\x3b\x4b\x06\xaa\xb4\x7a\x8b\x83"
  30754. "\x82\x74\xa6\x5e\x10\xea\xd6\x4b"
  30755. "\x56\x32\xd7\x79\x7c\x05\xf4\x64"
  30756. "\x9c\x64\x25\x9c\xc2\xda\x21\x9a"
  30757. "\xd8\xde\x37\x83\x3f\xd8\x83\xa2"
  30758. "\x1e\x3c\x1e\x41\x7e\xf2\x97\x84"
  30759. "\xe5\xa2\x02\x2b\x6e\xc5\xd7\x91"
  30760. "\x24\x66\xc1\xf0\x05\x1c\x0f\x3d"
  30761. "\xcf\x63\x94\x10\x2e\x0e\x89\xda"
  30762. "\x0d\xe9\x58\x2a\x48\x0c\xc8\x36"
  30763. "\xc4\x7b\xf0\xd3\xe2\x5b\xf1\xf6"
  30764. "\xad\x3d\xe7\x25\x6b\x83\x08\x5c"
  30765. "\xd9\x79\xde\x93\x37\x93\x92\x46"
  30766. "\xe7\xf4\x1c\x9e\x94\x91\x30\xd9"
  30767. "\xb6\x57\xf1\x04\xb5\x2f\xe3\xb9"
  30768. "\x0a\x78\xfe\xcb\xb5\x31\xc1\xc6"
  30769. "\x99\xb3\xaf\x73\xfb\x69\xcb\x49"
  30770. "\xd2\xec\xea\xd3\x0f\x45\x13\x23"
  30771. "\xc8\xae\x92\x29\xce\x71\xd0\xba"
  30772. "\xcf\xfd\xb2\x14\x61\xfd\xf6\x7b"
  30773. "\xdf\x05\xe5\xbb\x58\xf7\x41\x3b"
  30774. "\x6e\xd2\x14\x28\x7c\x15\xb7\x70"
  30775. "\xca\xc7\x7a\xd7\x4e\x4b\x35\x6e"
  30776. "\x9e\x09\x24\x33\xaf\xca\x41\x1f"
  30777. "\x0d\xe3\xf1\x7c\x35\xcb\xe2\x0a"
  30778. "\xb2\xeb\x94\x7a\xbc\x53\xd7\xe1"
  30779. "\x5e\xbc\xa1\x55\xef\x3c\x37\xef"
  30780. "\x6d\xfe\x3a\xcd\xcf\x48\x36\x26"
  30781. "\xdb\x3e\x44\xdd\xc8\x03\xa6\xa6"
  30782. "\x85\xb5\xfe\xf3\xec\x44\xb3\x22"
  30783. "\x9d\x21\x82\xc6\x0b\x1a\x7c\xc6"
  30784. "\xf7\xa9\x8e\x7e\x13\x1a\x85\x1f"
  30785. "\x93\x81\x38\x47\xc0\x83\x21\xa3"
  30786. "\xde\xec\xc0\x8f\x4c\x3b\x57\x2f"
  30787. "\x92\xbb\x66\xe3\x24\xeb\xae\x1e"
  30788. "\xb3\x18\x57\xf2\xf3\x4a\x50\x52"
  30789. "\xe9\x91\x08\x1f\x85\x44\xc1\x07"
  30790. "\xa1\xd3\x62\xe9\xe0\x82\x38\xfd"
  30791. "\x27\x3f\x7e\x10\x7d\xaf\xa1\x7a"
  30792. "\xf0\xaa\x79\xee\x6e\xa2\xc0\xbb"
  30793. "\x01\xda\xfb\xc4\x85\x26\x85\x31"
  30794. "\x15\xf4\x3c\xe0\x96\x79\x0e\xd7"
  30795. "\x50\x68\x37\x57\xb5\x31\xf7\x3c"
  30796. "\xbd\xaa\xcc\x2c\x8f\x57\x59\xa5"
  30797. "\xd4\x4b\xc6\x45\xc0\x32\x3d\x85"
  30798. "\x6d\xee\xf4\x6b\x63\xf9\x3a\xfb"
  30799. "\x2f\xdb\xb8\x42\x19\x8e\x88\x1f"
  30800. "\xfd\x7d\x0b\x69\x14\x8f\x36\xb2"
  30801. "\xd9\x27\x34\x53\x9c\x52\x00\x94"
  30802. "\xcc\x8b\x37\x82\xaf\x8e\xb3\xc0"
  30803. "\x8a\xcf\x44\xc6\x3a\x19\xbe\x1f"
  30804. "\x23\x33\x68\xc4\xb6\xbb\x13\x20"
  30805. "\xec\x6a\x87\x5b\xc2\x7c\xd3\x04"
  30806. "\x34\x97\x32\xd5\x11\x02\x06\x45"
  30807. "\x98\x0b\xaa\xab\xbe\xfb\xd0\x2c"
  30808. "\x0e\xf1\x8b\x7f\x1c\x70\x85\x67"
  30809. "\x60\x50\x66\x79\xbb\x45\x21\xc4"
  30810. "\xb5\xd3\xb9\x4f\xe5\x41\x49\x86"
  30811. "\x6b\x20\xef\xac\x16\x74\xe9\x23"
  30812. "\xa5\x2d\x5c\x2b\x85\xb2\x33\xe8"
  30813. "\x2a\xd1\x24\xd1\x5b\x9b\x7f\xfc"
  30814. "\x2f\x3b\xf7\x6a\x8b\xde\x55\x7e"
  30815. "\xda\x13\x1b\xd6\x90\x74\xb0\xbe"
  30816. "\x46\x0d\xcf\xc7\x78\x33\x31\xdc"
  30817. "\x6a\x6a\x50\x3e\x4c\xe2\xab\x48"
  30818. "\xbc\x4e\x7d\x62\xb9\xfc\xdd\x85"
  30819. "\x1c\x5d\x93\x15\x5e\x01\xd9\x2b"
  30820. "\x48\x71\x82\xd6\x44\xd6\x0e\x92"
  30821. "\x6e\x75\xc9\x3c\x1d\x31\x18\x6f"
  30822. "\x8b\xd7\x18\xf3\x09\x08\x45\xb1"
  30823. "\x3e\xa4\x25\xc6\x34\x48\xaf\x42"
  30824. "\x77\x33\x03\x65\x3e\x2f\xff\x8f"
  30825. "\xe9\xe1\xa0\xfe\xb2\xc3\x80\x77"
  30826. "\x20\x05\xe4\x9b\x47\x3b\xb2\xbd",
  30827. .len = 4096,
  30828. }
  30829. };
  30830. /*
  30831. * CTS (Cipher Text Stealing) mode tests
  30832. */
  30833. static const struct cipher_testvec cts_mode_tv_template[] = {
  30834. { /* from rfc3962 */
  30835. .klen = 16,
  30836. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  30837. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  30838. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  30839. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  30840. "\x20",
  30841. .len = 17,
  30842. .ctext = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
  30843. "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
  30844. "\x97",
  30845. }, {
  30846. .klen = 16,
  30847. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  30848. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  30849. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  30850. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  30851. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  30852. "\x20\x47\x61\x75\x27\x73\x20",
  30853. .len = 31,
  30854. .ctext = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
  30855. "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
  30856. "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  30857. "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
  30858. }, {
  30859. .klen = 16,
  30860. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  30861. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  30862. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  30863. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  30864. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  30865. "\x20\x47\x61\x75\x27\x73\x20\x43",
  30866. .len = 32,
  30867. .ctext = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
  30868. "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
  30869. "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  30870. "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
  30871. }, {
  30872. .klen = 16,
  30873. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  30874. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  30875. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  30876. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  30877. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  30878. "\x20\x47\x61\x75\x27\x73\x20\x43"
  30879. "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
  30880. "\x70\x6c\x65\x61\x73\x65\x2c",
  30881. .len = 47,
  30882. .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  30883. "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
  30884. "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
  30885. "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
  30886. "\x39\x31\x25\x23\xa7\x86\x62\xd5"
  30887. "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
  30888. }, {
  30889. .klen = 16,
  30890. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  30891. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  30892. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  30893. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  30894. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  30895. "\x20\x47\x61\x75\x27\x73\x20\x43"
  30896. "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
  30897. "\x70\x6c\x65\x61\x73\x65\x2c\x20",
  30898. .len = 48,
  30899. .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  30900. "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
  30901. "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
  30902. "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
  30903. "\x39\x31\x25\x23\xa7\x86\x62\xd5"
  30904. "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
  30905. }, {
  30906. .klen = 16,
  30907. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  30908. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  30909. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  30910. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  30911. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  30912. "\x20\x47\x61\x75\x27\x73\x20\x43"
  30913. "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
  30914. "\x70\x6c\x65\x61\x73\x65\x2c\x20"
  30915. "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
  30916. "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
  30917. .len = 64,
  30918. .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  30919. "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
  30920. "\x39\x31\x25\x23\xa7\x86\x62\xd5"
  30921. "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
  30922. "\x48\x07\xef\xe8\x36\xee\x89\xa5"
  30923. "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
  30924. "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
  30925. "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
  30926. }
  30927. };
  30928. /*
  30929. * Compression stuff.
  30930. */
  30931. #define COMP_BUF_SIZE 512
  30932. struct comp_testvec {
  30933. int inlen, outlen;
  30934. char input[COMP_BUF_SIZE];
  30935. char output[COMP_BUF_SIZE];
  30936. };
  30937. /*
  30938. * Deflate test vectors (null-terminated strings).
  30939. * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
  30940. */
  30941. static const struct comp_testvec deflate_comp_tv_template[] = {
  30942. {
  30943. .inlen = 70,
  30944. .outlen = 38,
  30945. .input = "Join us now and share the software "
  30946. "Join us now and share the software ",
  30947. .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
  30948. "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
  30949. "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
  30950. "\x48\x55\x28\xce\x4f\x2b\x29\x07"
  30951. "\x71\xbc\x08\x2b\x01\x00",
  30952. }, {
  30953. .inlen = 191,
  30954. .outlen = 122,
  30955. .input = "This document describes a compression method based on the DEFLATE"
  30956. "compression algorithm. This document defines the application of "
  30957. "the DEFLATE algorithm to the IP Payload Compression Protocol.",
  30958. .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
  30959. "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
  30960. "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
  30961. "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
  30962. "\x68\x12\x51\xae\x76\x67\xd6\x27"
  30963. "\x19\x88\x1a\xde\x85\xab\x21\xf2"
  30964. "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
  30965. "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
  30966. "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
  30967. "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
  30968. "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
  30969. "\x52\x37\xed\x0e\x52\x6b\x59\x02"
  30970. "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
  30971. "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
  30972. "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
  30973. "\xfa\x02",
  30974. },
  30975. };
  30976. static const struct comp_testvec deflate_decomp_tv_template[] = {
  30977. {
  30978. .inlen = 122,
  30979. .outlen = 191,
  30980. .input = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
  30981. "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
  30982. "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
  30983. "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
  30984. "\x68\x12\x51\xae\x76\x67\xd6\x27"
  30985. "\x19\x88\x1a\xde\x85\xab\x21\xf2"
  30986. "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
  30987. "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
  30988. "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
  30989. "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
  30990. "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
  30991. "\x52\x37\xed\x0e\x52\x6b\x59\x02"
  30992. "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
  30993. "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
  30994. "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
  30995. "\xfa\x02",
  30996. .output = "This document describes a compression method based on the DEFLATE"
  30997. "compression algorithm. This document defines the application of "
  30998. "the DEFLATE algorithm to the IP Payload Compression Protocol.",
  30999. }, {
  31000. .inlen = 38,
  31001. .outlen = 70,
  31002. .input = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
  31003. "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
  31004. "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
  31005. "\x48\x55\x28\xce\x4f\x2b\x29\x07"
  31006. "\x71\xbc\x08\x2b\x01\x00",
  31007. .output = "Join us now and share the software "
  31008. "Join us now and share the software ",
  31009. },
  31010. };
  31011. static const struct comp_testvec zlib_deflate_comp_tv_template[] = {
  31012. {
  31013. .inlen = 70,
  31014. .outlen = 44,
  31015. .input = "Join us now and share the software "
  31016. "Join us now and share the software ",
  31017. .output = "\x78\x5e\xf3\xca\xcf\xcc\x53\x28"
  31018. "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
  31019. "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
  31020. "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
  31021. "\x29\x07\x71\xbc\x08\x2b\x01\x00"
  31022. "\x7c\x65\x19\x3d",
  31023. }, {
  31024. .inlen = 191,
  31025. .outlen = 129,
  31026. .input = "This document describes a compression method based on the DEFLATE"
  31027. "compression algorithm. This document defines the application of "
  31028. "the DEFLATE algorithm to the IP Payload Compression Protocol.",
  31029. .output = "\x78\x5e\x5d\xce\x41\x0a\xc3\x30"
  31030. "\x0c\x04\xc0\xaf\xec\x0b\xf2\x87"
  31031. "\xd2\xa6\x50\xe8\xc1\x07\x7f\x40"
  31032. "\xb1\x95\x5a\x60\x5b\xc6\x56\x0f"
  31033. "\xfd\x7d\x93\x1e\x42\xe8\x51\xec"
  31034. "\xee\x20\x9f\x64\x20\x6a\x78\x17"
  31035. "\xae\x86\xc8\x23\x74\x59\x78\x80"
  31036. "\x10\xb4\xb4\xce\x63\x88\x56\x14"
  31037. "\xb6\xa4\x11\x0b\x0d\x8e\xd8\x6e"
  31038. "\x4b\x8c\xdb\x7c\x7f\x5e\xfc\x7c"
  31039. "\xae\x51\x7e\x69\x17\x4b\x65\x02"
  31040. "\xfc\x1f\xbc\x4a\xdd\xd8\x7d\x48"
  31041. "\xad\x65\x09\x64\x3b\xac\xeb\xd9"
  31042. "\xc2\x01\xc0\xf4\x17\x3c\x1c\x1c"
  31043. "\x7d\xb2\x52\xc4\xf5\xf4\x8f\xeb"
  31044. "\x6a\x1a\x34\x4f\x5f\x2e\x32\x45"
  31045. "\x4e",
  31046. },
  31047. };
  31048. static const struct comp_testvec zlib_deflate_decomp_tv_template[] = {
  31049. {
  31050. .inlen = 128,
  31051. .outlen = 191,
  31052. .input = "\x78\x9c\x5d\x8d\x31\x0e\xc2\x30"
  31053. "\x10\x04\xbf\xb2\x2f\xc8\x1f\x10"
  31054. "\x04\x09\x89\xc2\x85\x3f\x70\xb1"
  31055. "\x2f\xf8\x24\xdb\x67\xd9\x47\xc1"
  31056. "\xef\x49\x68\x12\x51\xae\x76\x67"
  31057. "\xd6\x27\x19\x88\x1a\xde\x85\xab"
  31058. "\x21\xf2\x08\x5d\x16\x1e\x20\x04"
  31059. "\x2d\xad\xf3\x18\xa2\x15\x85\x2d"
  31060. "\x69\xc4\x42\x83\x23\xb6\x6c\x89"
  31061. "\x71\x9b\xef\xcf\x8b\x9f\xcf\x33"
  31062. "\xca\x2f\xed\x62\xa9\x4c\x80\xff"
  31063. "\x13\xaf\x52\x37\xed\x0e\x52\x6b"
  31064. "\x59\x02\xd9\x4e\xe8\x7a\x76\x1d"
  31065. "\x02\x98\xfe\x8a\x87\x83\xa3\x4f"
  31066. "\x56\x8a\xb8\x9e\x8e\x5c\x57\xd3"
  31067. "\xa0\x79\xfa\x02\x2e\x32\x45\x4e",
  31068. .output = "This document describes a compression method based on the DEFLATE"
  31069. "compression algorithm. This document defines the application of "
  31070. "the DEFLATE algorithm to the IP Payload Compression Protocol.",
  31071. }, {
  31072. .inlen = 44,
  31073. .outlen = 70,
  31074. .input = "\x78\x9c\xf3\xca\xcf\xcc\x53\x28"
  31075. "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
  31076. "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
  31077. "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
  31078. "\x29\x07\x71\xbc\x08\x2b\x01\x00"
  31079. "\x7c\x65\x19\x3d",
  31080. .output = "Join us now and share the software "
  31081. "Join us now and share the software ",
  31082. },
  31083. };
  31084. /*
  31085. * LZO test vectors (null-terminated strings).
  31086. */
  31087. static const struct comp_testvec lzo_comp_tv_template[] = {
  31088. {
  31089. .inlen = 70,
  31090. .outlen = 57,
  31091. .input = "Join us now and share the software "
  31092. "Join us now and share the software ",
  31093. .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
  31094. "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
  31095. "\x64\x20\x73\x68\x61\x72\x65\x20"
  31096. "\x74\x68\x65\x20\x73\x6f\x66\x74"
  31097. "\x77\x70\x01\x32\x88\x00\x0c\x65"
  31098. "\x20\x74\x68\x65\x20\x73\x6f\x66"
  31099. "\x74\x77\x61\x72\x65\x20\x11\x00"
  31100. "\x00",
  31101. }, {
  31102. .inlen = 159,
  31103. .outlen = 131,
  31104. .input = "This document describes a compression method based on the LZO "
  31105. "compression algorithm. This document defines the application of "
  31106. "the LZO algorithm used in UBIFS.",
  31107. .output = "\x00\x2c\x54\x68\x69\x73\x20\x64"
  31108. "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
  31109. "\x64\x65\x73\x63\x72\x69\x62\x65"
  31110. "\x73\x20\x61\x20\x63\x6f\x6d\x70"
  31111. "\x72\x65\x73\x73\x69\x6f\x6e\x20"
  31112. "\x6d\x65\x74\x68\x6f\x64\x20\x62"
  31113. "\x61\x73\x65\x64\x20\x6f\x6e\x20"
  31114. "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
  31115. "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
  31116. "\x72\x69\x74\x68\x6d\x2e\x20\x20"
  31117. "\x2e\x54\x01\x03\x66\x69\x6e\x65"
  31118. "\x73\x20\x74\x06\x05\x61\x70\x70"
  31119. "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
  31120. "\x66\x88\x02\x60\x09\x27\xf0\x00"
  31121. "\x0c\x20\x75\x73\x65\x64\x20\x69"
  31122. "\x6e\x20\x55\x42\x49\x46\x53\x2e"
  31123. "\x11\x00\x00",
  31124. },
  31125. };
  31126. static const struct comp_testvec lzo_decomp_tv_template[] = {
  31127. {
  31128. .inlen = 133,
  31129. .outlen = 159,
  31130. .input = "\x00\x2b\x54\x68\x69\x73\x20\x64"
  31131. "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
  31132. "\x64\x65\x73\x63\x72\x69\x62\x65"
  31133. "\x73\x20\x61\x20\x63\x6f\x6d\x70"
  31134. "\x72\x65\x73\x73\x69\x6f\x6e\x20"
  31135. "\x6d\x65\x74\x68\x6f\x64\x20\x62"
  31136. "\x61\x73\x65\x64\x20\x6f\x6e\x20"
  31137. "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
  31138. "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
  31139. "\x69\x74\x68\x6d\x2e\x20\x20\x54"
  31140. "\x68\x69\x73\x2a\x54\x01\x02\x66"
  31141. "\x69\x6e\x65\x73\x94\x06\x05\x61"
  31142. "\x70\x70\x6c\x69\x63\x61\x74\x76"
  31143. "\x0a\x6f\x66\x88\x02\x60\x09\x27"
  31144. "\xf0\x00\x0c\x20\x75\x73\x65\x64"
  31145. "\x20\x69\x6e\x20\x55\x42\x49\x46"
  31146. "\x53\x2e\x11\x00\x00",
  31147. .output = "This document describes a compression method based on the LZO "
  31148. "compression algorithm. This document defines the application of "
  31149. "the LZO algorithm used in UBIFS.",
  31150. }, {
  31151. .inlen = 46,
  31152. .outlen = 70,
  31153. .input = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
  31154. "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
  31155. "\x64\x20\x73\x68\x61\x72\x65\x20"
  31156. "\x74\x68\x65\x20\x73\x6f\x66\x74"
  31157. "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
  31158. "\x3d\x88\x00\x11\x00\x00",
  31159. .output = "Join us now and share the software "
  31160. "Join us now and share the software ",
  31161. },
  31162. };
  31163. static const struct comp_testvec lzorle_comp_tv_template[] = {
  31164. {
  31165. .inlen = 70,
  31166. .outlen = 59,
  31167. .input = "Join us now and share the software "
  31168. "Join us now and share the software ",
  31169. .output = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
  31170. "\x20\x75\x73\x20\x6e\x6f\x77\x20"
  31171. "\x61\x6e\x64\x20\x73\x68\x61\x72"
  31172. "\x65\x20\x74\x68\x65\x20\x73\x6f"
  31173. "\x66\x74\x77\x70\x01\x32\x88\x00"
  31174. "\x0c\x65\x20\x74\x68\x65\x20\x73"
  31175. "\x6f\x66\x74\x77\x61\x72\x65\x20"
  31176. "\x11\x00\x00",
  31177. }, {
  31178. .inlen = 159,
  31179. .outlen = 133,
  31180. .input = "This document describes a compression method based on the LZO "
  31181. "compression algorithm. This document defines the application of "
  31182. "the LZO algorithm used in UBIFS.",
  31183. .output = "\x11\x01\x00\x2c\x54\x68\x69\x73"
  31184. "\x20\x64\x6f\x63\x75\x6d\x65\x6e"
  31185. "\x74\x20\x64\x65\x73\x63\x72\x69"
  31186. "\x62\x65\x73\x20\x61\x20\x63\x6f"
  31187. "\x6d\x70\x72\x65\x73\x73\x69\x6f"
  31188. "\x6e\x20\x6d\x65\x74\x68\x6f\x64"
  31189. "\x20\x62\x61\x73\x65\x64\x20\x6f"
  31190. "\x6e\x20\x74\x68\x65\x20\x4c\x5a"
  31191. "\x4f\x20\x2a\x8c\x00\x09\x61\x6c"
  31192. "\x67\x6f\x72\x69\x74\x68\x6d\x2e"
  31193. "\x20\x20\x2e\x54\x01\x03\x66\x69"
  31194. "\x6e\x65\x73\x20\x74\x06\x05\x61"
  31195. "\x70\x70\x6c\x69\x63\x61\x74\x76"
  31196. "\x0a\x6f\x66\x88\x02\x60\x09\x27"
  31197. "\xf0\x00\x0c\x20\x75\x73\x65\x64"
  31198. "\x20\x69\x6e\x20\x55\x42\x49\x46"
  31199. "\x53\x2e\x11\x00\x00",
  31200. },
  31201. };
  31202. static const struct comp_testvec lzorle_decomp_tv_template[] = {
  31203. {
  31204. .inlen = 133,
  31205. .outlen = 159,
  31206. .input = "\x00\x2b\x54\x68\x69\x73\x20\x64"
  31207. "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
  31208. "\x64\x65\x73\x63\x72\x69\x62\x65"
  31209. "\x73\x20\x61\x20\x63\x6f\x6d\x70"
  31210. "\x72\x65\x73\x73\x69\x6f\x6e\x20"
  31211. "\x6d\x65\x74\x68\x6f\x64\x20\x62"
  31212. "\x61\x73\x65\x64\x20\x6f\x6e\x20"
  31213. "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
  31214. "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
  31215. "\x69\x74\x68\x6d\x2e\x20\x20\x54"
  31216. "\x68\x69\x73\x2a\x54\x01\x02\x66"
  31217. "\x69\x6e\x65\x73\x94\x06\x05\x61"
  31218. "\x70\x70\x6c\x69\x63\x61\x74\x76"
  31219. "\x0a\x6f\x66\x88\x02\x60\x09\x27"
  31220. "\xf0\x00\x0c\x20\x75\x73\x65\x64"
  31221. "\x20\x69\x6e\x20\x55\x42\x49\x46"
  31222. "\x53\x2e\x11\x00\x00",
  31223. .output = "This document describes a compression method based on the LZO "
  31224. "compression algorithm. This document defines the application of "
  31225. "the LZO algorithm used in UBIFS.",
  31226. }, {
  31227. .inlen = 59,
  31228. .outlen = 70,
  31229. .input = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
  31230. "\x20\x75\x73\x20\x6e\x6f\x77\x20"
  31231. "\x61\x6e\x64\x20\x73\x68\x61\x72"
  31232. "\x65\x20\x74\x68\x65\x20\x73\x6f"
  31233. "\x66\x74\x77\x70\x01\x32\x88\x00"
  31234. "\x0c\x65\x20\x74\x68\x65\x20\x73"
  31235. "\x6f\x66\x74\x77\x61\x72\x65\x20"
  31236. "\x11\x00\x00",
  31237. .output = "Join us now and share the software "
  31238. "Join us now and share the software ",
  31239. },
  31240. };
  31241. /*
  31242. * Michael MIC test vectors from IEEE 802.11i
  31243. */
  31244. #define MICHAEL_MIC_TEST_VECTORS 6
  31245. static const struct hash_testvec michael_mic_tv_template[] = {
  31246. {
  31247. .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
  31248. .ksize = 8,
  31249. .plaintext = zeroed_string,
  31250. .psize = 0,
  31251. .digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
  31252. },
  31253. {
  31254. .key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
  31255. .ksize = 8,
  31256. .plaintext = "M",
  31257. .psize = 1,
  31258. .digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
  31259. },
  31260. {
  31261. .key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
  31262. .ksize = 8,
  31263. .plaintext = "Mi",
  31264. .psize = 2,
  31265. .digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
  31266. },
  31267. {
  31268. .key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
  31269. .ksize = 8,
  31270. .plaintext = "Mic",
  31271. .psize = 3,
  31272. .digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
  31273. },
  31274. {
  31275. .key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
  31276. .ksize = 8,
  31277. .plaintext = "Mich",
  31278. .psize = 4,
  31279. .digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
  31280. },
  31281. {
  31282. .key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
  31283. .ksize = 8,
  31284. .plaintext = "Michael",
  31285. .psize = 7,
  31286. .digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
  31287. }
  31288. };
  31289. /*
  31290. * CRC32 test vectors
  31291. */
  31292. static const struct hash_testvec crc32_tv_template[] = {
  31293. {
  31294. .psize = 0,
  31295. .digest = "\x00\x00\x00\x00",
  31296. },
  31297. {
  31298. .plaintext = "abcdefg",
  31299. .psize = 7,
  31300. .digest = "\xd8\xb5\x46\xac",
  31301. },
  31302. {
  31303. .key = "\x87\xa9\xcb\xed",
  31304. .ksize = 4,
  31305. .psize = 0,
  31306. .digest = "\x87\xa9\xcb\xed",
  31307. },
  31308. {
  31309. .key = "\xff\xff\xff\xff",
  31310. .ksize = 4,
  31311. .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
  31312. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  31313. "\x11\x12\x13\x14\x15\x16\x17\x18"
  31314. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  31315. "\x21\x22\x23\x24\x25\x26\x27\x28",
  31316. .psize = 40,
  31317. .digest = "\x3a\xdf\x4b\xb0",
  31318. },
  31319. {
  31320. .key = "\xff\xff\xff\xff",
  31321. .ksize = 4,
  31322. .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  31323. "\x31\x32\x33\x34\x35\x36\x37\x38"
  31324. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  31325. "\x41\x42\x43\x44\x45\x46\x47\x48"
  31326. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
  31327. .psize = 40,
  31328. .digest = "\xa9\x7a\x7f\x7b",
  31329. },
  31330. {
  31331. .key = "\xff\xff\xff\xff",
  31332. .ksize = 4,
  31333. .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
  31334. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  31335. "\x61\x62\x63\x64\x65\x66\x67\x68"
  31336. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  31337. "\x71\x72\x73\x74\x75\x76\x77\x78",
  31338. .psize = 40,
  31339. .digest = "\xba\xd3\xf8\x1c",
  31340. },
  31341. {
  31342. .key = "\xff\xff\xff\xff",
  31343. .ksize = 4,
  31344. .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  31345. "\x81\x82\x83\x84\x85\x86\x87\x88"
  31346. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  31347. "\x91\x92\x93\x94\x95\x96\x97\x98"
  31348. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
  31349. .psize = 40,
  31350. .digest = "\xa8\xa9\xc2\x02",
  31351. },
  31352. {
  31353. .key = "\xff\xff\xff\xff",
  31354. .ksize = 4,
  31355. .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  31356. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  31357. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  31358. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  31359. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
  31360. .psize = 40,
  31361. .digest = "\x27\xf0\x57\xe2",
  31362. },
  31363. {
  31364. .key = "\xff\xff\xff\xff",
  31365. .ksize = 4,
  31366. .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  31367. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  31368. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  31369. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  31370. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  31371. .psize = 40,
  31372. .digest = "\x49\x78\x10\x08",
  31373. },
  31374. {
  31375. .key = "\x80\xea\xd3\xf1",
  31376. .ksize = 4,
  31377. .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  31378. "\x31\x32\x33\x34\x35\x36\x37\x38"
  31379. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  31380. "\x41\x42\x43\x44\x45\x46\x47\x48"
  31381. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
  31382. .psize = 40,
  31383. .digest = "\x9a\xb1\xdc\xf0",
  31384. },
  31385. {
  31386. .key = "\xf3\x4a\x1d\x5d",
  31387. .ksize = 4,
  31388. .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
  31389. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  31390. "\x61\x62\x63\x64\x65\x66\x67\x68"
  31391. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  31392. "\x71\x72\x73\x74\x75\x76\x77\x78",
  31393. .psize = 40,
  31394. .digest = "\xb4\x97\xcc\xd4",
  31395. },
  31396. {
  31397. .key = "\x2e\x80\x04\x59",
  31398. .ksize = 4,
  31399. .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  31400. "\x81\x82\x83\x84\x85\x86\x87\x88"
  31401. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  31402. "\x91\x92\x93\x94\x95\x96\x97\x98"
  31403. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
  31404. .psize = 40,
  31405. .digest = "\x67\x9b\xfa\x79",
  31406. },
  31407. {
  31408. .key = "\xa6\xcc\x19\x85",
  31409. .ksize = 4,
  31410. .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  31411. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  31412. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  31413. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  31414. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
  31415. .psize = 40,
  31416. .digest = "\x24\xb5\x16\xef",
  31417. },
  31418. {
  31419. .key = "\x41\xfc\xfe\x2d",
  31420. .ksize = 4,
  31421. .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  31422. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  31423. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  31424. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  31425. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  31426. .psize = 40,
  31427. .digest = "\x15\x94\x80\x39",
  31428. },
  31429. {
  31430. .key = "\xff\xff\xff\xff",
  31431. .ksize = 4,
  31432. .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
  31433. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  31434. "\x11\x12\x13\x14\x15\x16\x17\x18"
  31435. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  31436. "\x21\x22\x23\x24\x25\x26\x27\x28"
  31437. "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  31438. "\x31\x32\x33\x34\x35\x36\x37\x38"
  31439. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  31440. "\x41\x42\x43\x44\x45\x46\x47\x48"
  31441. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
  31442. "\x51\x52\x53\x54\x55\x56\x57\x58"
  31443. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  31444. "\x61\x62\x63\x64\x65\x66\x67\x68"
  31445. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  31446. "\x71\x72\x73\x74\x75\x76\x77\x78"
  31447. "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  31448. "\x81\x82\x83\x84\x85\x86\x87\x88"
  31449. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  31450. "\x91\x92\x93\x94\x95\x96\x97\x98"
  31451. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
  31452. "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  31453. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  31454. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  31455. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  31456. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
  31457. "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  31458. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  31459. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  31460. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  31461. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  31462. .psize = 240,
  31463. .digest = "\x6c\xc6\x56\xde",
  31464. }, {
  31465. .key = "\xff\xff\xff\xff",
  31466. .ksize = 4,
  31467. .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
  31468. "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
  31469. "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
  31470. "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
  31471. "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
  31472. "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
  31473. "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
  31474. "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
  31475. "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
  31476. "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
  31477. "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
  31478. "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
  31479. "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
  31480. "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
  31481. "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
  31482. "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
  31483. "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
  31484. "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
  31485. "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
  31486. "\x58\xef\x63\xfa\x91\x05\x9c\x33"
  31487. "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
  31488. "\x19\xb0\x47\xde\x52\xe9\x80\x17"
  31489. "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
  31490. "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
  31491. "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
  31492. "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
  31493. "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
  31494. "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
  31495. "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
  31496. "\x86\x1d\x91\x28\xbf\x33\xca\x61"
  31497. "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
  31498. "\x47\xde\x75\x0c\x80\x17\xae\x22"
  31499. "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
  31500. "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
  31501. "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
  31502. "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
  31503. "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
  31504. "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
  31505. "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
  31506. "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
  31507. "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
  31508. "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
  31509. "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
  31510. "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
  31511. "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
  31512. "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
  31513. "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
  31514. "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
  31515. "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
  31516. "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
  31517. "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
  31518. "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
  31519. "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
  31520. "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
  31521. "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
  31522. "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
  31523. "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
  31524. "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
  31525. "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
  31526. "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
  31527. "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
  31528. "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
  31529. "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
  31530. "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
  31531. "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
  31532. "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
  31533. "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
  31534. "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
  31535. "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
  31536. "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
  31537. "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
  31538. "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
  31539. "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
  31540. "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
  31541. "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
  31542. "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
  31543. "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
  31544. "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
  31545. "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
  31546. "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
  31547. "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
  31548. "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
  31549. "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
  31550. "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
  31551. "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
  31552. "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
  31553. "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
  31554. "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
  31555. "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
  31556. "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
  31557. "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
  31558. "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
  31559. "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
  31560. "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
  31561. "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
  31562. "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
  31563. "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
  31564. "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
  31565. "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
  31566. "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
  31567. "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
  31568. "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
  31569. "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
  31570. "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
  31571. "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
  31572. "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
  31573. "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
  31574. "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
  31575. "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
  31576. "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
  31577. "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
  31578. "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
  31579. "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
  31580. "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
  31581. "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
  31582. "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
  31583. "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
  31584. "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
  31585. "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
  31586. "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
  31587. "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
  31588. "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
  31589. "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
  31590. "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
  31591. "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
  31592. "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
  31593. "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
  31594. "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
  31595. "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
  31596. "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
  31597. "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
  31598. "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
  31599. "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
  31600. "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
  31601. "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
  31602. "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
  31603. "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
  31604. "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
  31605. "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
  31606. "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
  31607. "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
  31608. "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
  31609. "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
  31610. "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
  31611. "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
  31612. "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
  31613. "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
  31614. "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
  31615. "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
  31616. "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
  31617. "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
  31618. "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
  31619. "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
  31620. "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
  31621. "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
  31622. "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
  31623. "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
  31624. "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
  31625. "\x47\xde\x52\xe9\x80\x17\x8b\x22"
  31626. "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
  31627. "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
  31628. "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
  31629. "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
  31630. "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
  31631. "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
  31632. "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
  31633. "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
  31634. "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
  31635. "\x75\x0c\x80\x17\xae\x22\xb9\x50"
  31636. "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
  31637. "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
  31638. "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
  31639. "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
  31640. "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
  31641. "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
  31642. "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
  31643. "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
  31644. "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
  31645. "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
  31646. "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
  31647. "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
  31648. "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
  31649. "\x48\xdf\x53\xea\x81\x18\x8c\x23"
  31650. "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
  31651. "\x09\xa0\x37\xce\x42\xd9\x70\x07"
  31652. "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
  31653. "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
  31654. "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
  31655. "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
  31656. "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
  31657. "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
  31658. "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
  31659. "\x76\x0d\x81\x18\xaf\x23\xba\x51"
  31660. "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
  31661. "\x37\xce\x65\xfc\x70\x07\x9e\x12"
  31662. "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
  31663. "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
  31664. "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
  31665. "\xff\x73\x0a\xa1\x15\xac\x43\xda"
  31666. "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
  31667. "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
  31668. "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
  31669. "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
  31670. "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
  31671. "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
  31672. "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
  31673. "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
  31674. "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
  31675. "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
  31676. "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
  31677. "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
  31678. "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
  31679. "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
  31680. "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
  31681. "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
  31682. "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
  31683. "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
  31684. "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
  31685. "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
  31686. "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
  31687. "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
  31688. "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
  31689. "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
  31690. "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
  31691. "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
  31692. "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
  31693. "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
  31694. "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
  31695. "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
  31696. "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
  31697. "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
  31698. "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
  31699. "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
  31700. "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
  31701. "\xef\x86\x1d\x91\x28\xbf\x33\xca"
  31702. "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
  31703. "\xd3\x47\xde\x75\x0c\x80\x17\xae"
  31704. "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
  31705. "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
  31706. "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
  31707. "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
  31708. "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
  31709. "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
  31710. "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
  31711. "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
  31712. "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
  31713. "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
  31714. "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
  31715. "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
  31716. "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
  31717. "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
  31718. "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
  31719. "\x67\xfe\x95\x09\xa0\x37\xce\x42"
  31720. "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
  31721. "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
  31722. "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
  31723. .psize = 2048,
  31724. .digest = "\xfb\x3a\x7a\xda",
  31725. }
  31726. };
  31727. /*
  31728. * CRC32C test vectors
  31729. */
  31730. static const struct hash_testvec crc32c_tv_template[] = {
  31731. {
  31732. .psize = 0,
  31733. .digest = "\x00\x00\x00\x00",
  31734. },
  31735. {
  31736. .plaintext = "abcdefg",
  31737. .psize = 7,
  31738. .digest = "\x41\xf4\x27\xe6",
  31739. },
  31740. {
  31741. .key = "\x87\xa9\xcb\xed",
  31742. .ksize = 4,
  31743. .psize = 0,
  31744. .digest = "\x78\x56\x34\x12",
  31745. },
  31746. {
  31747. .key = "\xff\xff\xff\xff",
  31748. .ksize = 4,
  31749. .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
  31750. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  31751. "\x11\x12\x13\x14\x15\x16\x17\x18"
  31752. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  31753. "\x21\x22\x23\x24\x25\x26\x27\x28",
  31754. .psize = 40,
  31755. .digest = "\x7f\x15\x2c\x0e",
  31756. },
  31757. {
  31758. .key = "\xff\xff\xff\xff",
  31759. .ksize = 4,
  31760. .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  31761. "\x31\x32\x33\x34\x35\x36\x37\x38"
  31762. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  31763. "\x41\x42\x43\x44\x45\x46\x47\x48"
  31764. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
  31765. .psize = 40,
  31766. .digest = "\xf6\xeb\x80\xe9",
  31767. },
  31768. {
  31769. .key = "\xff\xff\xff\xff",
  31770. .ksize = 4,
  31771. .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
  31772. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  31773. "\x61\x62\x63\x64\x65\x66\x67\x68"
  31774. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  31775. "\x71\x72\x73\x74\x75\x76\x77\x78",
  31776. .psize = 40,
  31777. .digest = "\xed\xbd\x74\xde",
  31778. },
  31779. {
  31780. .key = "\xff\xff\xff\xff",
  31781. .ksize = 4,
  31782. .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  31783. "\x81\x82\x83\x84\x85\x86\x87\x88"
  31784. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  31785. "\x91\x92\x93\x94\x95\x96\x97\x98"
  31786. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
  31787. .psize = 40,
  31788. .digest = "\x62\xc8\x79\xd5",
  31789. },
  31790. {
  31791. .key = "\xff\xff\xff\xff",
  31792. .ksize = 4,
  31793. .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  31794. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  31795. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  31796. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  31797. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
  31798. .psize = 40,
  31799. .digest = "\xd0\x9a\x97\xba",
  31800. },
  31801. {
  31802. .key = "\xff\xff\xff\xff",
  31803. .ksize = 4,
  31804. .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  31805. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  31806. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  31807. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  31808. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  31809. .psize = 40,
  31810. .digest = "\x13\xd9\x29\x2b",
  31811. },
  31812. {
  31813. .key = "\x80\xea\xd3\xf1",
  31814. .ksize = 4,
  31815. .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  31816. "\x31\x32\x33\x34\x35\x36\x37\x38"
  31817. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  31818. "\x41\x42\x43\x44\x45\x46\x47\x48"
  31819. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
  31820. .psize = 40,
  31821. .digest = "\x0c\xb5\xe2\xa2",
  31822. },
  31823. {
  31824. .key = "\xf3\x4a\x1d\x5d",
  31825. .ksize = 4,
  31826. .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
  31827. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  31828. "\x61\x62\x63\x64\x65\x66\x67\x68"
  31829. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  31830. "\x71\x72\x73\x74\x75\x76\x77\x78",
  31831. .psize = 40,
  31832. .digest = "\xd1\x7f\xfb\xa6",
  31833. },
  31834. {
  31835. .key = "\x2e\x80\x04\x59",
  31836. .ksize = 4,
  31837. .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  31838. "\x81\x82\x83\x84\x85\x86\x87\x88"
  31839. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  31840. "\x91\x92\x93\x94\x95\x96\x97\x98"
  31841. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
  31842. .psize = 40,
  31843. .digest = "\x59\x33\xe6\x7a",
  31844. },
  31845. {
  31846. .key = "\xa6\xcc\x19\x85",
  31847. .ksize = 4,
  31848. .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  31849. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  31850. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  31851. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  31852. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
  31853. .psize = 40,
  31854. .digest = "\xbe\x03\x01\xd2",
  31855. },
  31856. {
  31857. .key = "\x41\xfc\xfe\x2d",
  31858. .ksize = 4,
  31859. .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  31860. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  31861. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  31862. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  31863. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  31864. .psize = 40,
  31865. .digest = "\x75\xd3\xc5\x24",
  31866. },
  31867. {
  31868. .key = "\xff\xff\xff\xff",
  31869. .ksize = 4,
  31870. .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
  31871. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  31872. "\x11\x12\x13\x14\x15\x16\x17\x18"
  31873. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  31874. "\x21\x22\x23\x24\x25\x26\x27\x28"
  31875. "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  31876. "\x31\x32\x33\x34\x35\x36\x37\x38"
  31877. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  31878. "\x41\x42\x43\x44\x45\x46\x47\x48"
  31879. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
  31880. "\x51\x52\x53\x54\x55\x56\x57\x58"
  31881. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  31882. "\x61\x62\x63\x64\x65\x66\x67\x68"
  31883. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  31884. "\x71\x72\x73\x74\x75\x76\x77\x78"
  31885. "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  31886. "\x81\x82\x83\x84\x85\x86\x87\x88"
  31887. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  31888. "\x91\x92\x93\x94\x95\x96\x97\x98"
  31889. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
  31890. "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  31891. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  31892. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  31893. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  31894. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
  31895. "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  31896. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  31897. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  31898. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  31899. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  31900. .psize = 240,
  31901. .digest = "\x75\xd3\xc5\x24",
  31902. }, {
  31903. .key = "\xff\xff\xff\xff",
  31904. .ksize = 4,
  31905. .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
  31906. "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
  31907. "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
  31908. "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
  31909. "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
  31910. "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
  31911. "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
  31912. "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
  31913. "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
  31914. "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
  31915. "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
  31916. "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
  31917. "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
  31918. "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
  31919. "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
  31920. "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
  31921. "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
  31922. "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
  31923. "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
  31924. "\x58\xef\x63\xfa\x91\x05\x9c\x33"
  31925. "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
  31926. "\x19\xb0\x47\xde\x52\xe9\x80\x17"
  31927. "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
  31928. "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
  31929. "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
  31930. "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
  31931. "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
  31932. "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
  31933. "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
  31934. "\x86\x1d\x91\x28\xbf\x33\xca\x61"
  31935. "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
  31936. "\x47\xde\x75\x0c\x80\x17\xae\x22"
  31937. "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
  31938. "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
  31939. "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
  31940. "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
  31941. "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
  31942. "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
  31943. "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
  31944. "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
  31945. "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
  31946. "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
  31947. "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
  31948. "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
  31949. "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
  31950. "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
  31951. "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
  31952. "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
  31953. "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
  31954. "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
  31955. "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
  31956. "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
  31957. "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
  31958. "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
  31959. "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
  31960. "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
  31961. "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
  31962. "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
  31963. "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
  31964. "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
  31965. "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
  31966. "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
  31967. "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
  31968. "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
  31969. "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
  31970. "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
  31971. "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
  31972. "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
  31973. "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
  31974. "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
  31975. "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
  31976. "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
  31977. "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
  31978. "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
  31979. "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
  31980. "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
  31981. "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
  31982. "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
  31983. "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
  31984. "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
  31985. "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
  31986. "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
  31987. "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
  31988. "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
  31989. "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
  31990. "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
  31991. "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
  31992. "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
  31993. "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
  31994. "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
  31995. "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
  31996. "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
  31997. "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
  31998. "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
  31999. "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
  32000. "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
  32001. "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
  32002. "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
  32003. "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
  32004. "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
  32005. "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
  32006. "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
  32007. "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
  32008. "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
  32009. "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
  32010. "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
  32011. "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
  32012. "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
  32013. "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
  32014. "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
  32015. "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
  32016. "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
  32017. "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
  32018. "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
  32019. "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
  32020. "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
  32021. "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
  32022. "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
  32023. "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
  32024. "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
  32025. "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
  32026. "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
  32027. "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
  32028. "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
  32029. "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
  32030. "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
  32031. "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
  32032. "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
  32033. "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
  32034. "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
  32035. "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
  32036. "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
  32037. "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
  32038. "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
  32039. "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
  32040. "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
  32041. "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
  32042. "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
  32043. "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
  32044. "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
  32045. "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
  32046. "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
  32047. "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
  32048. "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
  32049. "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
  32050. "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
  32051. "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
  32052. "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
  32053. "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
  32054. "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
  32055. "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
  32056. "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
  32057. "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
  32058. "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
  32059. "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
  32060. "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
  32061. "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
  32062. "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
  32063. "\x47\xde\x52\xe9\x80\x17\x8b\x22"
  32064. "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
  32065. "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
  32066. "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
  32067. "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
  32068. "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
  32069. "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
  32070. "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
  32071. "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
  32072. "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
  32073. "\x75\x0c\x80\x17\xae\x22\xb9\x50"
  32074. "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
  32075. "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
  32076. "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
  32077. "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
  32078. "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
  32079. "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
  32080. "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
  32081. "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
  32082. "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
  32083. "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
  32084. "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
  32085. "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
  32086. "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
  32087. "\x48\xdf\x53\xea\x81\x18\x8c\x23"
  32088. "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
  32089. "\x09\xa0\x37\xce\x42\xd9\x70\x07"
  32090. "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
  32091. "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
  32092. "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
  32093. "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
  32094. "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
  32095. "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
  32096. "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
  32097. "\x76\x0d\x81\x18\xaf\x23\xba\x51"
  32098. "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
  32099. "\x37\xce\x65\xfc\x70\x07\x9e\x12"
  32100. "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
  32101. "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
  32102. "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
  32103. "\xff\x73\x0a\xa1\x15\xac\x43\xda"
  32104. "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
  32105. "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
  32106. "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
  32107. "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
  32108. "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
  32109. "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
  32110. "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
  32111. "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
  32112. "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
  32113. "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
  32114. "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
  32115. "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
  32116. "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
  32117. "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
  32118. "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
  32119. "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
  32120. "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
  32121. "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
  32122. "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
  32123. "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
  32124. "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
  32125. "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
  32126. "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
  32127. "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
  32128. "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
  32129. "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
  32130. "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
  32131. "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
  32132. "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
  32133. "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
  32134. "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
  32135. "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
  32136. "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
  32137. "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
  32138. "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
  32139. "\xef\x86\x1d\x91\x28\xbf\x33\xca"
  32140. "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
  32141. "\xd3\x47\xde\x75\x0c\x80\x17\xae"
  32142. "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
  32143. "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
  32144. "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
  32145. "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
  32146. "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
  32147. "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
  32148. "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
  32149. "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
  32150. "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
  32151. "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
  32152. "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
  32153. "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
  32154. "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
  32155. "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
  32156. "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
  32157. "\x67\xfe\x95\x09\xa0\x37\xce\x42"
  32158. "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
  32159. "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
  32160. "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
  32161. .psize = 2048,
  32162. .digest = "\xec\x26\x4d\x95",
  32163. }
  32164. };
  32165. static const struct hash_testvec xxhash64_tv_template[] = {
  32166. {
  32167. .psize = 0,
  32168. .digest = "\x99\xe9\xd8\x51\x37\xdb\x46\xef",
  32169. },
  32170. {
  32171. .plaintext = "\x40",
  32172. .psize = 1,
  32173. .digest = "\x20\x5c\x91\xaa\x88\xeb\x59\xd0",
  32174. },
  32175. {
  32176. .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
  32177. "\x88\xc7\x9a\x09\x1a\x9b",
  32178. .psize = 14,
  32179. .digest = "\xa8\xe8\x2b\xa9\x92\xa1\x37\x4a",
  32180. },
  32181. {
  32182. .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
  32183. "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
  32184. "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
  32185. "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
  32186. "\x31\x65\x05\xbb\x31\xae\x51\x11"
  32187. "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
  32188. "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
  32189. "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
  32190. "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
  32191. "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
  32192. "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
  32193. "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
  32194. "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
  32195. "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
  32196. "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
  32197. "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
  32198. "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
  32199. "\x43\x99\x4d\x81\x85\xae\x82\x00"
  32200. "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
  32201. "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
  32202. "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
  32203. "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
  32204. "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
  32205. "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
  32206. "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
  32207. "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
  32208. "\x12\x02\x0c\xdb\x94\x00\x38\x95"
  32209. "\xed\xfd\x08\xf7\xe8\x04",
  32210. .psize = 222,
  32211. .digest = "\x41\xfc\xd4\x29\xfe\xe7\x85\x17",
  32212. },
  32213. {
  32214. .psize = 0,
  32215. .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
  32216. .ksize = 8,
  32217. .digest = "\xef\x17\x9b\x92\xa2\xfd\x75\xac",
  32218. },
  32219. {
  32220. .plaintext = "\x40",
  32221. .psize = 1,
  32222. .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
  32223. .ksize = 8,
  32224. .digest = "\xd1\x70\x4f\x14\x02\xc4\x9e\x71",
  32225. },
  32226. {
  32227. .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
  32228. "\x88\xc7\x9a\x09\x1a\x9b",
  32229. .psize = 14,
  32230. .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
  32231. .ksize = 8,
  32232. .digest = "\xa4\xcd\xfe\x8e\x37\xe2\x1c\x64"
  32233. },
  32234. {
  32235. .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
  32236. "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
  32237. "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
  32238. "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
  32239. "\x31\x65\x05\xbb\x31\xae\x51\x11"
  32240. "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
  32241. "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
  32242. "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
  32243. "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
  32244. "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
  32245. "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
  32246. "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
  32247. "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
  32248. "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
  32249. "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
  32250. "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
  32251. "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
  32252. "\x43\x99\x4d\x81\x85\xae\x82\x00"
  32253. "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
  32254. "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
  32255. "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
  32256. "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
  32257. "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
  32258. "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
  32259. "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
  32260. "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
  32261. "\x12\x02\x0c\xdb\x94\x00\x38\x95"
  32262. "\xed\xfd\x08\xf7\xe8\x04",
  32263. .psize = 222,
  32264. .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
  32265. .ksize = 8,
  32266. .digest = "\x58\xbc\x55\xf2\x42\x81\x5c\xf0"
  32267. },
  32268. };
  32269. static const struct comp_testvec lz4_comp_tv_template[] = {
  32270. {
  32271. .inlen = 255,
  32272. .outlen = 218,
  32273. .input = "LZ4 is lossless compression algorithm, providing"
  32274. " compression speed at 400 MB/s per core, scalable "
  32275. "with multi-cores CPU. It features an extremely fast "
  32276. "decoder, with speed in multiple GB/s per core, "
  32277. "typically reaching RAM speed limits on multi-core "
  32278. "systems.",
  32279. .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
  32280. "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
  32281. "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
  32282. "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
  32283. "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
  32284. "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
  32285. "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
  32286. "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
  32287. "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
  32288. "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
  32289. "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
  32290. "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
  32291. "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
  32292. "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
  32293. "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
  32294. "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
  32295. "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
  32296. },
  32297. };
  32298. static const struct comp_testvec lz4_decomp_tv_template[] = {
  32299. {
  32300. .inlen = 218,
  32301. .outlen = 255,
  32302. .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
  32303. "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
  32304. "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
  32305. "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
  32306. "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
  32307. "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
  32308. "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
  32309. "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
  32310. "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
  32311. "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
  32312. "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
  32313. "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
  32314. "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
  32315. "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
  32316. "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
  32317. "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
  32318. "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
  32319. .output = "LZ4 is lossless compression algorithm, providing"
  32320. " compression speed at 400 MB/s per core, scalable "
  32321. "with multi-cores CPU. It features an extremely fast "
  32322. "decoder, with speed in multiple GB/s per core, "
  32323. "typically reaching RAM speed limits on multi-core "
  32324. "systems.",
  32325. },
  32326. };
  32327. static const struct comp_testvec lz4hc_comp_tv_template[] = {
  32328. {
  32329. .inlen = 255,
  32330. .outlen = 216,
  32331. .input = "LZ4 is lossless compression algorithm, providing"
  32332. " compression speed at 400 MB/s per core, scalable "
  32333. "with multi-cores CPU. It features an extremely fast "
  32334. "decoder, with speed in multiple GB/s per core, "
  32335. "typically reaching RAM speed limits on multi-core "
  32336. "systems.",
  32337. .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
  32338. "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
  32339. "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
  32340. "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
  32341. "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
  32342. "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
  32343. "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
  32344. "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
  32345. "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
  32346. "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
  32347. "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
  32348. "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
  32349. "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
  32350. "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
  32351. "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
  32352. "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
  32353. "\x73\x79\x73\x74\x65\x6d\x73\x2e",
  32354. },
  32355. };
  32356. static const struct comp_testvec lz4hc_decomp_tv_template[] = {
  32357. {
  32358. .inlen = 216,
  32359. .outlen = 255,
  32360. .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
  32361. "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
  32362. "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
  32363. "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
  32364. "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
  32365. "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
  32366. "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
  32367. "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
  32368. "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
  32369. "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
  32370. "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
  32371. "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
  32372. "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
  32373. "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
  32374. "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
  32375. "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
  32376. "\x73\x79\x73\x74\x65\x6d\x73\x2e",
  32377. .output = "LZ4 is lossless compression algorithm, providing"
  32378. " compression speed at 400 MB/s per core, scalable "
  32379. "with multi-cores CPU. It features an extremely fast "
  32380. "decoder, with speed in multiple GB/s per core, "
  32381. "typically reaching RAM speed limits on multi-core "
  32382. "systems.",
  32383. },
  32384. };
  32385. static const struct comp_testvec zstd_comp_tv_template[] = {
  32386. {
  32387. .inlen = 68,
  32388. .outlen = 39,
  32389. .input = "The algorithm is zstd. "
  32390. "The algorithm is zstd. "
  32391. "The algorithm is zstd.",
  32392. .output = "\x28\xb5\x2f\xfd\x00\x50\xf5\x00\x00\xb8\x54\x68\x65"
  32393. "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
  32394. "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
  32395. ,
  32396. },
  32397. {
  32398. .inlen = 244,
  32399. .outlen = 151,
  32400. .input = "zstd, short for Zstandard, is a fast lossless "
  32401. "compression algorithm, targeting real-time "
  32402. "compression scenarios at zlib-level and better "
  32403. "compression ratios. The zstd compression library "
  32404. "provides in-memory compression and decompression "
  32405. "functions.",
  32406. .output = "\x28\xb5\x2f\xfd\x00\x50\x75\x04\x00\x42\x4b\x1e\x17"
  32407. "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
  32408. "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
  32409. "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
  32410. "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
  32411. "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
  32412. "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
  32413. "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
  32414. "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
  32415. "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
  32416. "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
  32417. "\x20\xa9\x0e\x82\xb9\x43\x45\x01",
  32418. },
  32419. };
  32420. static const struct comp_testvec zstd_decomp_tv_template[] = {
  32421. {
  32422. .inlen = 43,
  32423. .outlen = 68,
  32424. .input = "\x28\xb5\x2f\xfd\x04\x50\xf5\x00\x00\xb8\x54\x68\x65"
  32425. "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
  32426. "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
  32427. "\x6b\xf4\x13\x35",
  32428. .output = "The algorithm is zstd. "
  32429. "The algorithm is zstd. "
  32430. "The algorithm is zstd.",
  32431. },
  32432. {
  32433. .inlen = 155,
  32434. .outlen = 244,
  32435. .input = "\x28\xb5\x2f\xfd\x04\x50\x75\x04\x00\x42\x4b\x1e\x17"
  32436. "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
  32437. "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
  32438. "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
  32439. "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
  32440. "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
  32441. "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
  32442. "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
  32443. "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
  32444. "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
  32445. "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
  32446. "\x20\xa9\x0e\x82\xb9\x43\x45\x01\xaa\x6d\xda\x0d",
  32447. .output = "zstd, short for Zstandard, is a fast lossless "
  32448. "compression algorithm, targeting real-time "
  32449. "compression scenarios at zlib-level and better "
  32450. "compression ratios. The zstd compression library "
  32451. "provides in-memory compression and decompression "
  32452. "functions.",
  32453. },
  32454. };
  32455. /* based on aes_cbc_tv_template */
  32456. static const struct cipher_testvec essiv_aes_cbc_tv_template[] = {
  32457. {
  32458. .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  32459. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  32460. .klen = 16,
  32461. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  32462. "\x00\x00\x00\x00\x00\x00\x00\x00",
  32463. .ptext = "Single block msg",
  32464. .ctext = "\xfa\x59\xe7\x5f\x41\x56\x65\xc3"
  32465. "\x36\xca\x6b\x72\x10\x9f\x8c\xd4",
  32466. .len = 16,
  32467. }, {
  32468. .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  32469. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  32470. .klen = 16,
  32471. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  32472. "\x00\x00\x00\x00\x00\x00\x00\x00",
  32473. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  32474. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  32475. "\x10\x11\x12\x13\x14\x15\x16\x17"
  32476. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  32477. .ctext = "\xc8\x59\x9a\xfe\x79\xe6\x7b\x20"
  32478. "\x06\x7d\x55\x0a\x5e\xc7\xb5\xa7"
  32479. "\x0b\x9c\x80\xd2\x15\xa1\xb8\x6d"
  32480. "\xc6\xab\x7b\x65\xd9\xfd\x88\xeb",
  32481. .len = 32,
  32482. }, {
  32483. .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  32484. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  32485. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  32486. .klen = 24,
  32487. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  32488. "\x00\x00\x00\x00\x00\x00\x00\x00",
  32489. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  32490. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  32491. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  32492. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  32493. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  32494. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  32495. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  32496. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  32497. .ctext = "\x96\x6d\xa9\x7a\x42\xe6\x01\xc7"
  32498. "\x17\xfc\xa7\x41\xd3\x38\x0b\xe5"
  32499. "\x51\x48\xf7\x7e\x5e\x26\xa9\xfe"
  32500. "\x45\x72\x1c\xd9\xde\xab\xf3\x4d"
  32501. "\x39\x47\xc5\x4f\x97\x3a\x55\x63"
  32502. "\x80\x29\x64\x4c\x33\xe8\x21\x8a"
  32503. "\x6a\xef\x6b\x6a\x8f\x43\xc0\xcb"
  32504. "\xf0\xf3\x6e\x74\x54\x44\x92\x44",
  32505. .len = 64,
  32506. }, {
  32507. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  32508. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  32509. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  32510. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  32511. .klen = 32,
  32512. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  32513. "\x00\x00\x00\x00\x00\x00\x00\x00",
  32514. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  32515. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  32516. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  32517. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  32518. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  32519. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  32520. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  32521. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  32522. .ctext = "\x24\x52\xf1\x48\x74\xd0\xa7\x93"
  32523. "\x75\x9b\x63\x46\xc0\x1c\x1e\x17"
  32524. "\x4d\xdc\x5b\x3a\x27\x93\x2a\x63"
  32525. "\xf7\xf1\xc7\xb3\x54\x56\x5b\x50"
  32526. "\xa3\x31\xa5\x8b\xd6\xfd\xb6\x3c"
  32527. "\x8b\xf6\xf2\x45\x05\x0c\xc8\xbb"
  32528. "\x32\x0b\x26\x1c\xe9\x8b\x02\xc0"
  32529. "\xb2\x6f\x37\xa7\x5b\xa8\xa9\x42",
  32530. .len = 64,
  32531. }, {
  32532. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
  32533. "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
  32534. "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
  32535. "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
  32536. .klen = 32,
  32537. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
  32538. "\x00\x00\x00\x00\x00\x00\x00\x00",
  32539. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  32540. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  32541. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  32542. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  32543. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  32544. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  32545. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  32546. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  32547. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  32548. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  32549. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  32550. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  32551. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  32552. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  32553. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  32554. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  32555. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  32556. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  32557. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  32558. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  32559. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  32560. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  32561. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  32562. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  32563. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  32564. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  32565. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  32566. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  32567. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  32568. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  32569. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  32570. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  32571. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  32572. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  32573. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  32574. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  32575. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  32576. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  32577. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  32578. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  32579. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  32580. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  32581. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  32582. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  32583. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  32584. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  32585. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  32586. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  32587. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  32588. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  32589. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  32590. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  32591. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  32592. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  32593. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  32594. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  32595. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  32596. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  32597. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  32598. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  32599. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  32600. "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
  32601. .ctext = "\x97\x7f\x69\x0f\x0f\x34\xa6\x33"
  32602. "\x66\x49\x7e\xd0\x4d\x1b\xc9\x64"
  32603. "\xf9\x61\x95\x98\x11\x00\x88\xf8"
  32604. "\x2e\x88\x01\x0f\x2b\xe1\xae\x3e"
  32605. "\xfe\xd6\x47\x30\x11\x68\x7d\x99"
  32606. "\xad\x69\x6a\xe8\x41\x5f\x1e\x16"
  32607. "\x00\x3a\x47\xdf\x8e\x7d\x23\x1c"
  32608. "\x19\x5b\x32\x76\x60\x03\x05\xc1"
  32609. "\xa0\xff\xcf\xcc\x74\x39\x46\x63"
  32610. "\xfe\x5f\xa6\x35\xa7\xb4\xc1\xf9"
  32611. "\x4b\x5e\x38\xcc\x8c\xc1\xa2\xcf"
  32612. "\x9a\xc3\xae\x55\x42\x46\x93\xd9"
  32613. "\xbd\x22\xd3\x8a\x19\x96\xc3\xb3"
  32614. "\x7d\x03\x18\xf9\x45\x09\x9c\xc8"
  32615. "\x90\xf3\x22\xb3\x25\x83\x9a\x75"
  32616. "\xbb\x04\x48\x97\x3a\x63\x08\x04"
  32617. "\xa0\x69\xf6\x52\xd4\x89\x93\x69"
  32618. "\xb4\x33\xa2\x16\x58\xec\x4b\x26"
  32619. "\x76\x54\x10\x0b\x6e\x53\x1e\xbc"
  32620. "\x16\x18\x42\xb1\xb1\xd3\x4b\xda"
  32621. "\x06\x9f\x8b\x77\xf7\xab\xd6\xed"
  32622. "\xa3\x1d\x90\xda\x49\x38\x20\xb8"
  32623. "\x6c\xee\xae\x3e\xae\x6c\x03\xb8"
  32624. "\x0b\xed\xc8\xaa\x0e\xc5\x1f\x90"
  32625. "\x60\xe2\xec\x1b\x76\xd0\xcf\xda"
  32626. "\x29\x1b\xb8\x5a\xbc\xf4\xba\x13"
  32627. "\x91\xa6\xcb\x83\x3f\xeb\xe9\x7b"
  32628. "\x03\xba\x40\x9e\xe6\x7a\xb2\x4a"
  32629. "\x73\x49\xfc\xed\xfb\x55\xa4\x24"
  32630. "\xc7\xa4\xd7\x4b\xf5\xf7\x16\x62"
  32631. "\x80\xd3\x19\x31\x52\x25\xa8\x69"
  32632. "\xda\x9a\x87\xf5\xf2\xee\x5d\x61"
  32633. "\xc1\x12\x72\x3e\x52\x26\x45\x3a"
  32634. "\xd8\x9d\x57\xfa\x14\xe2\x9b\x2f"
  32635. "\xd4\xaa\x5e\x31\xf4\x84\x89\xa4"
  32636. "\xe3\x0e\xb0\x58\x41\x75\x6a\xcb"
  32637. "\x30\x01\x98\x90\x15\x80\xf5\x27"
  32638. "\x92\x13\x81\xf0\x1c\x1e\xfc\xb1"
  32639. "\x33\xf7\x63\xb0\x67\xec\x2e\x5c"
  32640. "\x85\xe3\x5b\xd0\x43\x8a\xb8\x5f"
  32641. "\x44\x9f\xec\x19\xc9\x8f\xde\xdf"
  32642. "\x79\xef\xf8\xee\x14\x87\xb3\x34"
  32643. "\x76\x00\x3a\x9b\xc7\xed\xb1\x3d"
  32644. "\xef\x07\xb0\xe4\xfd\x68\x9e\xeb"
  32645. "\xc2\xb4\x1a\x85\x9a\x7d\x11\x88"
  32646. "\xf8\xab\x43\x55\x2b\x8a\x4f\x60"
  32647. "\x85\x9a\xf4\xba\xae\x48\x81\xeb"
  32648. "\x93\x07\x97\x9e\xde\x2a\xfc\x4e"
  32649. "\x31\xde\xaa\x44\xf7\x2a\xc3\xee"
  32650. "\x60\xa2\x98\x2c\x0a\x88\x50\xc5"
  32651. "\x6d\x89\xd3\xe4\xb6\xa7\xf4\xb0"
  32652. "\xcf\x0e\x89\xe3\x5e\x8f\x82\xf4"
  32653. "\x9d\xd1\xa9\x51\x50\x8a\xd2\x18"
  32654. "\x07\xb2\xaa\x3b\x7f\x58\x9b\xf4"
  32655. "\xb7\x24\x39\xd3\x66\x2f\x1e\xc0"
  32656. "\x11\xa3\x56\x56\x2a\x10\x73\xbc"
  32657. "\xe1\x23\xbf\xa9\x37\x07\x9c\xc3"
  32658. "\xb2\xc9\xa8\x1c\x5b\x5c\x58\xa4"
  32659. "\x77\x02\x26\xad\xc3\x40\x11\x53"
  32660. "\x93\x68\x72\xde\x05\x8b\x10\xbc"
  32661. "\xa6\xd4\x1b\xd9\x27\xd8\x16\x12"
  32662. "\x61\x2b\x31\x2a\x44\x87\x96\x58",
  32663. .len = 496,
  32664. },
  32665. };
  32666. /* based on hmac_sha256_aes_cbc_tv_temp */
  32667. static const struct aead_testvec essiv_hmac_sha256_aes_cbc_tv_temp[] = {
  32668. {
  32669. #ifdef __LITTLE_ENDIAN
  32670. .key = "\x08\x00" /* rta length */
  32671. "\x01\x00" /* rta type */
  32672. #else
  32673. .key = "\x00\x08" /* rta length */
  32674. "\x00\x01" /* rta type */
  32675. #endif
  32676. "\x00\x00\x00\x10" /* enc key length */
  32677. "\x00\x00\x00\x00\x00\x00\x00\x00"
  32678. "\x00\x00\x00\x00\x00\x00\x00\x00"
  32679. "\x00\x00\x00\x00\x00\x00\x00\x00"
  32680. "\x00\x00\x00\x00\x00\x00\x00\x00"
  32681. "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  32682. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  32683. .klen = 8 + 32 + 16,
  32684. .iv = "\xb3\x0c\x5a\x11\x41\xad\xc1\x04"
  32685. "\xbc\x1e\x7e\x35\xb0\x5d\x78\x29",
  32686. .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  32687. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  32688. .alen = 16,
  32689. .ptext = "Single block msg",
  32690. .plen = 16,
  32691. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  32692. "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
  32693. "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
  32694. "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
  32695. "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
  32696. "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
  32697. .clen = 16 + 32,
  32698. }, {
  32699. #ifdef __LITTLE_ENDIAN
  32700. .key = "\x08\x00" /* rta length */
  32701. "\x01\x00" /* rta type */
  32702. #else
  32703. .key = "\x00\x08" /* rta length */
  32704. "\x00\x01" /* rta type */
  32705. #endif
  32706. "\x00\x00\x00\x10" /* enc key length */
  32707. "\x20\x21\x22\x23\x24\x25\x26\x27"
  32708. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  32709. "\x30\x31\x32\x33\x34\x35\x36\x37"
  32710. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  32711. "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  32712. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  32713. .klen = 8 + 32 + 16,
  32714. .iv = "\x56\xe8\x14\xa5\x74\x18\x75\x13"
  32715. "\x2f\x79\xe7\xc8\x65\xe3\x48\x45",
  32716. .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  32717. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  32718. .alen = 16,
  32719. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  32720. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  32721. "\x10\x11\x12\x13\x14\x15\x16\x17"
  32722. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  32723. .plen = 32,
  32724. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  32725. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  32726. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  32727. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
  32728. "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
  32729. "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
  32730. "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
  32731. "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
  32732. .clen = 32 + 32,
  32733. }, {
  32734. #ifdef __LITTLE_ENDIAN
  32735. .key = "\x08\x00" /* rta length */
  32736. "\x01\x00" /* rta type */
  32737. #else
  32738. .key = "\x00\x08" /* rta length */
  32739. "\x00\x01" /* rta type */
  32740. #endif
  32741. "\x00\x00\x00\x10" /* enc key length */
  32742. "\x11\x22\x33\x44\x55\x66\x77\x88"
  32743. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  32744. "\x22\x33\x44\x55\x66\x77\x88\x99"
  32745. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  32746. "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
  32747. "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
  32748. .klen = 8 + 32 + 16,
  32749. .iv = "\x1f\x6b\xfb\xd6\x6b\x72\x2f\xc9"
  32750. "\xb6\x9f\x8c\x10\xa8\x96\x15\x64",
  32751. .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  32752. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  32753. .alen = 16,
  32754. .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
  32755. .plen = 48,
  32756. .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
  32757. "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
  32758. "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
  32759. "\x50\x69\x39\x27\x67\x72\xf8\xd5"
  32760. "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
  32761. "\x85\x79\x69\x5d\x83\xba\x26\x84"
  32762. "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
  32763. "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
  32764. "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
  32765. "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
  32766. .clen = 48 + 32,
  32767. }, {
  32768. #ifdef __LITTLE_ENDIAN
  32769. .key = "\x08\x00" /* rta length */
  32770. "\x01\x00" /* rta type */
  32771. #else
  32772. .key = "\x00\x08" /* rta length */
  32773. "\x00\x01" /* rta type */
  32774. #endif
  32775. "\x00\x00\x00\x10" /* enc key length */
  32776. "\x11\x22\x33\x44\x55\x66\x77\x88"
  32777. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  32778. "\x22\x33\x44\x55\x66\x77\x88\x99"
  32779. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  32780. "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
  32781. "\xbc\x46\x90\x3d\xba\x29\x03\x49",
  32782. .klen = 8 + 32 + 16,
  32783. .iv = "\x13\xe5\xf2\xef\x61\x97\x59\x35"
  32784. "\x9b\x36\x84\x46\x4e\x63\xd1\x41",
  32785. .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  32786. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  32787. .alen = 16,
  32788. .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  32789. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  32790. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  32791. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  32792. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  32793. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  32794. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  32795. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
  32796. .plen = 64,
  32797. .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
  32798. "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
  32799. "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
  32800. "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
  32801. "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
  32802. "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
  32803. "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
  32804. "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
  32805. "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
  32806. "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
  32807. "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
  32808. "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
  32809. .clen = 64 + 32,
  32810. }, {
  32811. #ifdef __LITTLE_ENDIAN
  32812. .key = "\x08\x00" /* rta length */
  32813. "\x01\x00" /* rta type */
  32814. #else
  32815. .key = "\x00\x08" /* rta length */
  32816. "\x00\x01" /* rta type */
  32817. #endif
  32818. "\x00\x00\x00\x10" /* enc key length */
  32819. "\x11\x22\x33\x44\x55\x66\x77\x88"
  32820. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  32821. "\x22\x33\x44\x55\x66\x77\x88\x99"
  32822. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  32823. "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
  32824. "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
  32825. .klen = 8 + 32 + 16,
  32826. .iv = "\xe4\x13\xa1\x15\xe9\x6b\xb8\x23"
  32827. "\x81\x7a\x94\x29\xab\xfd\xd2\x2c",
  32828. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  32829. "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  32830. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  32831. .alen = 24,
  32832. .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
  32833. "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
  32834. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  32835. "\x10\x11\x12\x13\x14\x15\x16\x17"
  32836. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  32837. "\x20\x21\x22\x23\x24\x25\x26\x27"
  32838. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  32839. "\x30\x31\x32\x33\x34\x35\x36\x37"
  32840. "\x01\x02\x03\x04\x05\x06\x07\x08"
  32841. "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
  32842. .plen = 80,
  32843. .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
  32844. "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
  32845. "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
  32846. "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
  32847. "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
  32848. "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
  32849. "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
  32850. "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
  32851. "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
  32852. "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
  32853. "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
  32854. "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
  32855. "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
  32856. "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
  32857. .clen = 80 + 32,
  32858. }, {
  32859. #ifdef __LITTLE_ENDIAN
  32860. .key = "\x08\x00" /* rta length */
  32861. "\x01\x00" /* rta type */
  32862. #else
  32863. .key = "\x00\x08" /* rta length */
  32864. "\x00\x01" /* rta type */
  32865. #endif
  32866. "\x00\x00\x00\x18" /* enc key length */
  32867. "\x11\x22\x33\x44\x55\x66\x77\x88"
  32868. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  32869. "\x22\x33\x44\x55\x66\x77\x88\x99"
  32870. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  32871. "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  32872. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  32873. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  32874. .klen = 8 + 32 + 24,
  32875. .iv = "\x49\xca\x41\xc9\x6b\xbf\x6c\x98"
  32876. "\x38\x2f\xa7\x3d\x4d\x80\x49\xb0",
  32877. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  32878. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  32879. .alen = 16,
  32880. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  32881. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  32882. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  32883. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  32884. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  32885. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  32886. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  32887. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  32888. .plen = 64,
  32889. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  32890. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  32891. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  32892. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  32893. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  32894. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  32895. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  32896. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
  32897. "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
  32898. "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
  32899. "\xca\x71\x85\x93\xf7\x85\x55\x8b"
  32900. "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
  32901. .clen = 64 + 32,
  32902. }, {
  32903. #ifdef __LITTLE_ENDIAN
  32904. .key = "\x08\x00" /* rta length */
  32905. "\x01\x00" /* rta type */
  32906. #else
  32907. .key = "\x00\x08" /* rta length */
  32908. "\x00\x01" /* rta type */
  32909. #endif
  32910. "\x00\x00\x00\x20" /* enc key length */
  32911. "\x11\x22\x33\x44\x55\x66\x77\x88"
  32912. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  32913. "\x22\x33\x44\x55\x66\x77\x88\x99"
  32914. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  32915. "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  32916. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  32917. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  32918. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  32919. .klen = 8 + 32 + 32,
  32920. .iv = "\xdf\xab\xf2\x7c\xdc\xe0\x33\x4c"
  32921. "\xf9\x75\xaf\xf9\x2f\x60\x3a\x9b",
  32922. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  32923. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  32924. .alen = 16,
  32925. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  32926. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  32927. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  32928. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  32929. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  32930. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  32931. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  32932. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  32933. .plen = 64,
  32934. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  32935. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  32936. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  32937. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  32938. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  32939. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  32940. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  32941. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
  32942. "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
  32943. "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
  32944. "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
  32945. "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
  32946. .clen = 64 + 32,
  32947. },
  32948. };
  32949. static const char blake2_ordered_sequence[] =
  32950. "\x00\x01\x02\x03\x04\x05\x06\x07"
  32951. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  32952. "\x10\x11\x12\x13\x14\x15\x16\x17"
  32953. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  32954. "\x20\x21\x22\x23\x24\x25\x26\x27"
  32955. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  32956. "\x30\x31\x32\x33\x34\x35\x36\x37"
  32957. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  32958. "\x40\x41\x42\x43\x44\x45\x46\x47"
  32959. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  32960. "\x50\x51\x52\x53\x54\x55\x56\x57"
  32961. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  32962. "\x60\x61\x62\x63\x64\x65\x66\x67"
  32963. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  32964. "\x70\x71\x72\x73\x74\x75\x76\x77"
  32965. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  32966. "\x80\x81\x82\x83\x84\x85\x86\x87"
  32967. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  32968. "\x90\x91\x92\x93\x94\x95\x96\x97"
  32969. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  32970. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  32971. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  32972. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  32973. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  32974. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  32975. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  32976. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  32977. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  32978. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  32979. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  32980. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  32981. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
  32982. static const struct hash_testvec blake2b_160_tv_template[] = {{
  32983. .digest = (u8[]){ 0x33, 0x45, 0x52, 0x4a, 0xbf, 0x6b, 0xbe, 0x18,
  32984. 0x09, 0x44, 0x92, 0x24, 0xb5, 0x97, 0x2c, 0x41,
  32985. 0x79, 0x0b, 0x6c, 0xf2, },
  32986. }, {
  32987. .plaintext = blake2_ordered_sequence,
  32988. .psize = 64,
  32989. .digest = (u8[]){ 0x11, 0xcc, 0x66, 0x61, 0xe9, 0x22, 0xb0, 0xe4,
  32990. 0x07, 0xe0, 0xa5, 0x72, 0x49, 0xc3, 0x8d, 0x4f,
  32991. 0xf7, 0x6d, 0x8e, 0xc8, },
  32992. }, {
  32993. .ksize = 32,
  32994. .key = blake2_ordered_sequence,
  32995. .plaintext = blake2_ordered_sequence,
  32996. .psize = 1,
  32997. .digest = (u8[]){ 0x31, 0xe3, 0xd9, 0xd5, 0x4e, 0x72, 0xd8, 0x0b,
  32998. 0x2b, 0x3b, 0xd7, 0x6b, 0x82, 0x7a, 0x1d, 0xfb,
  32999. 0x56, 0x2f, 0x79, 0x4c, },
  33000. }, {
  33001. .ksize = 64,
  33002. .key = blake2_ordered_sequence,
  33003. .plaintext = blake2_ordered_sequence,
  33004. .psize = 7,
  33005. .digest = (u8[]){ 0x28, 0x20, 0xd1, 0xbe, 0x7f, 0xcc, 0xc1, 0x62,
  33006. 0xd9, 0x0d, 0x9a, 0x4b, 0x47, 0xd1, 0x5e, 0x04,
  33007. 0x74, 0x2a, 0x53, 0x17, },
  33008. }, {
  33009. .ksize = 1,
  33010. .key = "B",
  33011. .plaintext = blake2_ordered_sequence,
  33012. .psize = 15,
  33013. .digest = (u8[]){ 0x45, 0xe9, 0x95, 0xb6, 0xc4, 0xe8, 0x22, 0xea,
  33014. 0xfe, 0xd2, 0x37, 0xdb, 0x46, 0xbf, 0xf1, 0x25,
  33015. 0xd5, 0x03, 0x1d, 0x81, },
  33016. }, {
  33017. .ksize = 32,
  33018. .key = blake2_ordered_sequence,
  33019. .plaintext = blake2_ordered_sequence,
  33020. .psize = 247,
  33021. .digest = (u8[]){ 0x7e, 0xb9, 0xf2, 0x9b, 0x2f, 0xc2, 0x01, 0xd4,
  33022. 0xb0, 0x4f, 0x08, 0x2b, 0x8e, 0xbd, 0x06, 0xef,
  33023. 0x1c, 0xc4, 0x25, 0x95, },
  33024. }, {
  33025. .ksize = 64,
  33026. .key = blake2_ordered_sequence,
  33027. .plaintext = blake2_ordered_sequence,
  33028. .psize = 256,
  33029. .digest = (u8[]){ 0x6e, 0x35, 0x01, 0x70, 0xbf, 0xb6, 0xc4, 0xba,
  33030. 0x33, 0x1b, 0xa6, 0xd3, 0xc2, 0x5d, 0xb4, 0x03,
  33031. 0x95, 0xaf, 0x29, 0x16, },
  33032. }};
  33033. static const struct hash_testvec blake2b_256_tv_template[] = {{
  33034. .plaintext = blake2_ordered_sequence,
  33035. .psize = 7,
  33036. .digest = (u8[]){ 0x9d, 0xf1, 0x4b, 0x72, 0x48, 0x76, 0x4a, 0x86,
  33037. 0x91, 0x97, 0xc3, 0x5e, 0x39, 0x2d, 0x2a, 0x6d,
  33038. 0x6f, 0xdc, 0x5b, 0x79, 0xd5, 0x97, 0x29, 0x79,
  33039. 0x20, 0xfd, 0x3f, 0x14, 0x91, 0xb4, 0x42, 0xd2, },
  33040. }, {
  33041. .plaintext = blake2_ordered_sequence,
  33042. .psize = 256,
  33043. .digest = (u8[]){ 0x39, 0xa7, 0xeb, 0x9f, 0xed, 0xc1, 0x9a, 0xab,
  33044. 0xc8, 0x34, 0x25, 0xc6, 0x75, 0x5d, 0xd9, 0x0e,
  33045. 0x6f, 0x9d, 0x0c, 0x80, 0x49, 0x64, 0xa1, 0xf4,
  33046. 0xaa, 0xee, 0xa3, 0xb9, 0xfb, 0x59, 0x98, 0x35, },
  33047. }, {
  33048. .ksize = 1,
  33049. .key = "B",
  33050. .digest = (u8[]){ 0xc3, 0x08, 0xb1, 0xbf, 0xe4, 0xf9, 0xbc, 0xb4,
  33051. 0x75, 0xaf, 0x3f, 0x59, 0x6e, 0xae, 0xde, 0x6a,
  33052. 0xa3, 0x8e, 0xb5, 0x94, 0xad, 0x30, 0xf0, 0x17,
  33053. 0x1c, 0xfb, 0xd8, 0x3e, 0x8a, 0xbe, 0xed, 0x9c, },
  33054. }, {
  33055. .ksize = 64,
  33056. .key = blake2_ordered_sequence,
  33057. .plaintext = blake2_ordered_sequence,
  33058. .psize = 1,
  33059. .digest = (u8[]){ 0x34, 0x75, 0x8b, 0x64, 0x71, 0x35, 0x62, 0x82,
  33060. 0x97, 0xfb, 0x09, 0xc7, 0x93, 0x0c, 0xd0, 0x4e,
  33061. 0x95, 0x28, 0xe5, 0x66, 0x91, 0x12, 0xf5, 0xb1,
  33062. 0x31, 0x84, 0x93, 0xe1, 0x4d, 0xe7, 0x7e, 0x55, },
  33063. }, {
  33064. .ksize = 32,
  33065. .key = blake2_ordered_sequence,
  33066. .plaintext = blake2_ordered_sequence,
  33067. .psize = 15,
  33068. .digest = (u8[]){ 0xce, 0x74, 0xa9, 0x2e, 0xe9, 0x40, 0x3d, 0xa2,
  33069. 0x11, 0x4a, 0x99, 0x25, 0x7a, 0x34, 0x5d, 0x35,
  33070. 0xdf, 0x6a, 0x48, 0x79, 0x2a, 0x93, 0x93, 0xff,
  33071. 0x1f, 0x3c, 0x39, 0xd0, 0x71, 0x1f, 0x20, 0x7b, },
  33072. }, {
  33073. .ksize = 1,
  33074. .key = "B",
  33075. .plaintext = blake2_ordered_sequence,
  33076. .psize = 64,
  33077. .digest = (u8[]){ 0x2e, 0x84, 0xdb, 0xa2, 0x5f, 0x0e, 0xe9, 0x52,
  33078. 0x79, 0x50, 0x69, 0x9f, 0xf1, 0xfd, 0xfc, 0x9d,
  33079. 0x89, 0x83, 0xa9, 0xb6, 0xa4, 0xd5, 0xfa, 0xb5,
  33080. 0xbe, 0x35, 0x1a, 0x17, 0x8a, 0x2c, 0x7f, 0x7d, },
  33081. }, {
  33082. .ksize = 64,
  33083. .key = blake2_ordered_sequence,
  33084. .plaintext = blake2_ordered_sequence,
  33085. .psize = 247,
  33086. .digest = (u8[]){ 0x2e, 0x26, 0xf0, 0x09, 0x02, 0x65, 0x90, 0x09,
  33087. 0xcc, 0xf5, 0x4c, 0x44, 0x74, 0x0e, 0xa0, 0xa8,
  33088. 0x25, 0x4a, 0xda, 0x61, 0x56, 0x95, 0x7d, 0x3f,
  33089. 0x6d, 0xc0, 0x43, 0x17, 0x95, 0x89, 0xcd, 0x9d, },
  33090. }};
  33091. static const struct hash_testvec blake2b_384_tv_template[] = {{
  33092. .plaintext = blake2_ordered_sequence,
  33093. .psize = 1,
  33094. .digest = (u8[]){ 0xcc, 0x01, 0x08, 0x85, 0x36, 0xf7, 0x84, 0xf0,
  33095. 0xbb, 0x76, 0x9e, 0x41, 0xc4, 0x95, 0x7b, 0x6d,
  33096. 0x0c, 0xde, 0x1f, 0xcc, 0x8c, 0xf1, 0xd9, 0x1f,
  33097. 0xc4, 0x77, 0xd4, 0xdd, 0x6e, 0x3f, 0xbf, 0xcd,
  33098. 0x43, 0xd1, 0x69, 0x8d, 0x14, 0x6f, 0x34, 0x8b,
  33099. 0x2c, 0x36, 0xa3, 0x39, 0x68, 0x2b, 0xec, 0x3f, },
  33100. }, {
  33101. .plaintext = blake2_ordered_sequence,
  33102. .psize = 247,
  33103. .digest = (u8[]){ 0xc8, 0xf8, 0xf0, 0xa2, 0x69, 0xfa, 0xcc, 0x4d,
  33104. 0x32, 0x5f, 0x13, 0x88, 0xca, 0x71, 0x99, 0x8f,
  33105. 0xf7, 0x30, 0x41, 0x5d, 0x6e, 0x34, 0xb7, 0x6e,
  33106. 0x3e, 0xd0, 0x46, 0xb6, 0xca, 0x30, 0x66, 0xb2,
  33107. 0x6f, 0x0c, 0x35, 0x54, 0x17, 0xcd, 0x26, 0x1b,
  33108. 0xef, 0x48, 0x98, 0xe0, 0x56, 0x7c, 0x05, 0xd2, },
  33109. }, {
  33110. .ksize = 32,
  33111. .key = blake2_ordered_sequence,
  33112. .digest = (u8[]){ 0x15, 0x09, 0x7a, 0x90, 0x13, 0x23, 0xab, 0x0c,
  33113. 0x0b, 0x43, 0x21, 0x9a, 0xb5, 0xc6, 0x0c, 0x2e,
  33114. 0x7c, 0x57, 0xfc, 0xcc, 0x4b, 0x0f, 0xf0, 0x57,
  33115. 0xb7, 0x9c, 0xe7, 0x0f, 0xe1, 0x57, 0xac, 0x37,
  33116. 0x77, 0xd4, 0xf4, 0x2f, 0x03, 0x3b, 0x64, 0x09,
  33117. 0x84, 0xa0, 0xb3, 0x24, 0xb7, 0xae, 0x47, 0x5e, },
  33118. }, {
  33119. .ksize = 1,
  33120. .key = "B",
  33121. .plaintext = blake2_ordered_sequence,
  33122. .psize = 7,
  33123. .digest = (u8[]){ 0x0b, 0x82, 0x88, 0xca, 0x05, 0x2f, 0x1b, 0x15,
  33124. 0xdc, 0xbb, 0x22, 0x27, 0x11, 0x6b, 0xf4, 0xd1,
  33125. 0xe9, 0x8f, 0x1b, 0x0b, 0x58, 0x3f, 0x5e, 0x86,
  33126. 0x80, 0x82, 0x6f, 0x8e, 0x54, 0xc1, 0x9f, 0x12,
  33127. 0xcf, 0xe9, 0x56, 0xc1, 0xfc, 0x1a, 0x08, 0xb9,
  33128. 0x4a, 0x57, 0x0a, 0x76, 0x3c, 0x15, 0x33, 0x18, },
  33129. }, {
  33130. .ksize = 64,
  33131. .key = blake2_ordered_sequence,
  33132. .plaintext = blake2_ordered_sequence,
  33133. .psize = 15,
  33134. .digest = (u8[]){ 0x4a, 0x81, 0x55, 0xb9, 0x79, 0x42, 0x8c, 0xc6,
  33135. 0x4f, 0xfe, 0xca, 0x82, 0x3b, 0xb2, 0xf7, 0xbc,
  33136. 0x5e, 0xfc, 0xab, 0x09, 0x1c, 0xd6, 0x3b, 0xe1,
  33137. 0x50, 0x82, 0x3b, 0xde, 0xc7, 0x06, 0xee, 0x3b,
  33138. 0x29, 0xce, 0xe5, 0x68, 0xe0, 0xff, 0xfa, 0xe1,
  33139. 0x7a, 0xf1, 0xc0, 0xfe, 0x57, 0xf4, 0x60, 0x49, },
  33140. }, {
  33141. .ksize = 32,
  33142. .key = blake2_ordered_sequence,
  33143. .plaintext = blake2_ordered_sequence,
  33144. .psize = 64,
  33145. .digest = (u8[]){ 0x34, 0xbd, 0xe1, 0x99, 0x43, 0x9f, 0x82, 0x72,
  33146. 0xe7, 0xed, 0x94, 0x9e, 0xe1, 0x84, 0xee, 0x82,
  33147. 0xfd, 0x26, 0x23, 0xc4, 0x17, 0x8d, 0xf5, 0x04,
  33148. 0xeb, 0xb7, 0xbc, 0xb8, 0xf3, 0x68, 0xb7, 0xad,
  33149. 0x94, 0x8e, 0x05, 0x3f, 0x8a, 0x5d, 0x8d, 0x81,
  33150. 0x3e, 0x88, 0xa7, 0x8c, 0xa2, 0xd5, 0xdc, 0x76, },
  33151. }, {
  33152. .ksize = 1,
  33153. .key = "B",
  33154. .plaintext = blake2_ordered_sequence,
  33155. .psize = 256,
  33156. .digest = (u8[]){ 0x22, 0x14, 0xf4, 0xb0, 0x4c, 0xa8, 0xb5, 0x7d,
  33157. 0xa7, 0x5c, 0x04, 0xeb, 0xd8, 0x8d, 0x04, 0x71,
  33158. 0xc7, 0x3c, 0xc7, 0x6e, 0x8b, 0x20, 0x36, 0x40,
  33159. 0x9d, 0xd0, 0x60, 0xc6, 0xe3, 0x0b, 0x6e, 0x50,
  33160. 0xf5, 0xaf, 0xf5, 0xc6, 0x3b, 0xe3, 0x84, 0x6a,
  33161. 0x93, 0x1b, 0x12, 0xd6, 0x18, 0x27, 0xba, 0x36, },
  33162. }};
  33163. static const struct hash_testvec blake2b_512_tv_template[] = {{
  33164. .plaintext = blake2_ordered_sequence,
  33165. .psize = 15,
  33166. .digest = (u8[]){ 0x44, 0x4b, 0x24, 0x0f, 0xe3, 0xed, 0x86, 0xd0,
  33167. 0xe2, 0xef, 0x4c, 0xe7, 0xd8, 0x51, 0xed, 0xde,
  33168. 0x22, 0x15, 0x55, 0x82, 0xaa, 0x09, 0x14, 0x79,
  33169. 0x7b, 0x72, 0x6c, 0xd0, 0x58, 0xb6, 0xf4, 0x59,
  33170. 0x32, 0xe0, 0xe1, 0x29, 0x51, 0x68, 0x76, 0x52,
  33171. 0x7b, 0x1d, 0xd8, 0x8f, 0xc6, 0x6d, 0x71, 0x19,
  33172. 0xf4, 0xab, 0x3b, 0xed, 0x93, 0xa6, 0x1a, 0x0e,
  33173. 0x2d, 0x2d, 0x2a, 0xea, 0xc3, 0x36, 0xd9, 0x58, },
  33174. }, {
  33175. .ksize = 64,
  33176. .key = blake2_ordered_sequence,
  33177. .digest = (u8[]){ 0x10, 0xeb, 0xb6, 0x77, 0x00, 0xb1, 0x86, 0x8e,
  33178. 0xfb, 0x44, 0x17, 0x98, 0x7a, 0xcf, 0x46, 0x90,
  33179. 0xae, 0x9d, 0x97, 0x2f, 0xb7, 0xa5, 0x90, 0xc2,
  33180. 0xf0, 0x28, 0x71, 0x79, 0x9a, 0xaa, 0x47, 0x86,
  33181. 0xb5, 0xe9, 0x96, 0xe8, 0xf0, 0xf4, 0xeb, 0x98,
  33182. 0x1f, 0xc2, 0x14, 0xb0, 0x05, 0xf4, 0x2d, 0x2f,
  33183. 0xf4, 0x23, 0x34, 0x99, 0x39, 0x16, 0x53, 0xdf,
  33184. 0x7a, 0xef, 0xcb, 0xc1, 0x3f, 0xc5, 0x15, 0x68, },
  33185. }, {
  33186. .ksize = 1,
  33187. .key = "B",
  33188. .plaintext = blake2_ordered_sequence,
  33189. .psize = 1,
  33190. .digest = (u8[]){ 0xd2, 0x11, 0x31, 0x29, 0x3f, 0xea, 0xca, 0x72,
  33191. 0x21, 0xe4, 0x06, 0x65, 0x05, 0x2a, 0xd1, 0x02,
  33192. 0xc0, 0x8d, 0x7b, 0xf1, 0x09, 0x3c, 0xef, 0x88,
  33193. 0xe1, 0x68, 0x0c, 0xf1, 0x3b, 0xa4, 0xe3, 0x03,
  33194. 0xed, 0xa0, 0xe3, 0x60, 0x58, 0xa0, 0xdb, 0x52,
  33195. 0x8a, 0x66, 0x43, 0x09, 0x60, 0x1a, 0xbb, 0x67,
  33196. 0xc5, 0x84, 0x31, 0x40, 0xfa, 0xde, 0xc1, 0xd0,
  33197. 0xff, 0x3f, 0x4a, 0x69, 0xd9, 0x92, 0x26, 0x86, },
  33198. }, {
  33199. .ksize = 32,
  33200. .key = blake2_ordered_sequence,
  33201. .plaintext = blake2_ordered_sequence,
  33202. .psize = 7,
  33203. .digest = (u8[]){ 0xa3, 0x3e, 0x50, 0xbc, 0xfb, 0xd9, 0xf0, 0x82,
  33204. 0xa6, 0xd1, 0xdf, 0xaf, 0x82, 0xd0, 0xcf, 0x84,
  33205. 0x9a, 0x25, 0x3c, 0xae, 0x6d, 0xb5, 0xaf, 0x01,
  33206. 0xd7, 0xaf, 0xed, 0x50, 0xdc, 0xe2, 0xba, 0xcc,
  33207. 0x8c, 0x38, 0xf5, 0x16, 0x89, 0x38, 0x86, 0xce,
  33208. 0x68, 0x10, 0x63, 0x64, 0xa5, 0x79, 0x53, 0xb5,
  33209. 0x2e, 0x8e, 0xbc, 0x0a, 0xce, 0x95, 0xc0, 0x1e,
  33210. 0x69, 0x59, 0x1d, 0x3b, 0xd8, 0x19, 0x90, 0xd7, },
  33211. }, {
  33212. .ksize = 64,
  33213. .key = blake2_ordered_sequence,
  33214. .plaintext = blake2_ordered_sequence,
  33215. .psize = 64,
  33216. .digest = (u8[]){ 0x65, 0x67, 0x6d, 0x80, 0x06, 0x17, 0x97, 0x2f,
  33217. 0xbd, 0x87, 0xe4, 0xb9, 0x51, 0x4e, 0x1c, 0x67,
  33218. 0x40, 0x2b, 0x7a, 0x33, 0x10, 0x96, 0xd3, 0xbf,
  33219. 0xac, 0x22, 0xf1, 0xab, 0xb9, 0x53, 0x74, 0xab,
  33220. 0xc9, 0x42, 0xf1, 0x6e, 0x9a, 0xb0, 0xea, 0xd3,
  33221. 0x3b, 0x87, 0xc9, 0x19, 0x68, 0xa6, 0xe5, 0x09,
  33222. 0xe1, 0x19, 0xff, 0x07, 0x78, 0x7b, 0x3e, 0xf4,
  33223. 0x83, 0xe1, 0xdc, 0xdc, 0xcf, 0x6e, 0x30, 0x22, },
  33224. }, {
  33225. .ksize = 1,
  33226. .key = "B",
  33227. .plaintext = blake2_ordered_sequence,
  33228. .psize = 247,
  33229. .digest = (u8[]){ 0xc2, 0x96, 0x2c, 0x6b, 0x84, 0xff, 0xee, 0xea,
  33230. 0x9b, 0xb8, 0x55, 0x2d, 0x6b, 0xa5, 0xd5, 0xe5,
  33231. 0xbd, 0xb1, 0x54, 0xb6, 0x1e, 0xfb, 0x63, 0x16,
  33232. 0x6e, 0x22, 0x04, 0xf0, 0x82, 0x7a, 0xc6, 0x99,
  33233. 0xf7, 0x4c, 0xff, 0x93, 0x71, 0x57, 0x64, 0xd0,
  33234. 0x08, 0x60, 0x39, 0x98, 0xb8, 0xd2, 0x2b, 0x4e,
  33235. 0x81, 0x8d, 0xe4, 0x8f, 0xb2, 0x1e, 0x8f, 0x99,
  33236. 0x98, 0xf1, 0x02, 0x9b, 0x4c, 0x7c, 0x97, 0x1a, },
  33237. }, {
  33238. .ksize = 32,
  33239. .key = blake2_ordered_sequence,
  33240. .plaintext = blake2_ordered_sequence,
  33241. .psize = 256,
  33242. .digest = (u8[]){ 0x0f, 0x32, 0x05, 0x09, 0xad, 0x9f, 0x25, 0xf7,
  33243. 0xf2, 0x00, 0x71, 0xc9, 0x9f, 0x08, 0x58, 0xd1,
  33244. 0x67, 0xc3, 0xa6, 0x2c, 0x0d, 0xe5, 0x7c, 0x15,
  33245. 0x35, 0x18, 0x5a, 0x68, 0xc1, 0xca, 0x1c, 0x6e,
  33246. 0x0f, 0xc4, 0xf6, 0x0c, 0x43, 0xe1, 0xb4, 0x3d,
  33247. 0x28, 0xe4, 0xc7, 0xa1, 0xcf, 0x6b, 0x17, 0x4e,
  33248. 0xf1, 0x5b, 0xb5, 0x53, 0xd4, 0xa7, 0xd0, 0x5b,
  33249. 0xae, 0x15, 0x81, 0x15, 0xd0, 0x88, 0xa0, 0x3c, },
  33250. }};
  33251. static const struct hash_testvec blakes2s_128_tv_template[] = {{
  33252. .digest = (u8[]){ 0x64, 0x55, 0x0d, 0x6f, 0xfe, 0x2c, 0x0a, 0x01,
  33253. 0xa1, 0x4a, 0xba, 0x1e, 0xad, 0xe0, 0x20, 0x0c, },
  33254. }, {
  33255. .plaintext = blake2_ordered_sequence,
  33256. .psize = 64,
  33257. .digest = (u8[]){ 0xdc, 0x66, 0xca, 0x8f, 0x03, 0x86, 0x58, 0x01,
  33258. 0xb0, 0xff, 0xe0, 0x6e, 0xd8, 0xa1, 0xa9, 0x0e, },
  33259. }, {
  33260. .ksize = 16,
  33261. .key = blake2_ordered_sequence,
  33262. .plaintext = blake2_ordered_sequence,
  33263. .psize = 1,
  33264. .digest = (u8[]){ 0x88, 0x1e, 0x42, 0xe7, 0xbb, 0x35, 0x80, 0x82,
  33265. 0x63, 0x7c, 0x0a, 0x0f, 0xd7, 0xec, 0x6c, 0x2f, },
  33266. }, {
  33267. .ksize = 32,
  33268. .key = blake2_ordered_sequence,
  33269. .plaintext = blake2_ordered_sequence,
  33270. .psize = 7,
  33271. .digest = (u8[]){ 0xcf, 0x9e, 0x07, 0x2a, 0xd5, 0x22, 0xf2, 0xcd,
  33272. 0xa2, 0xd8, 0x25, 0x21, 0x80, 0x86, 0x73, 0x1c, },
  33273. }, {
  33274. .ksize = 1,
  33275. .key = "B",
  33276. .plaintext = blake2_ordered_sequence,
  33277. .psize = 15,
  33278. .digest = (u8[]){ 0xf6, 0x33, 0x5a, 0x2c, 0x22, 0xa0, 0x64, 0xb2,
  33279. 0xb6, 0x3f, 0xeb, 0xbc, 0xd1, 0xc3, 0xe5, 0xb2, },
  33280. }, {
  33281. .ksize = 16,
  33282. .key = blake2_ordered_sequence,
  33283. .plaintext = blake2_ordered_sequence,
  33284. .psize = 247,
  33285. .digest = (u8[]){ 0x72, 0x66, 0x49, 0x60, 0xf9, 0x4a, 0xea, 0xbe,
  33286. 0x1f, 0xf4, 0x60, 0xce, 0xb7, 0x81, 0xcb, 0x09, },
  33287. }, {
  33288. .ksize = 32,
  33289. .key = blake2_ordered_sequence,
  33290. .plaintext = blake2_ordered_sequence,
  33291. .psize = 256,
  33292. .digest = (u8[]){ 0xd5, 0xa4, 0x0e, 0xc3, 0x16, 0xc7, 0x51, 0xa6,
  33293. 0x3c, 0xd0, 0xd9, 0x11, 0x57, 0xfa, 0x1e, 0xbb, },
  33294. }};
  33295. static const struct hash_testvec blakes2s_160_tv_template[] = {{
  33296. .plaintext = blake2_ordered_sequence,
  33297. .psize = 7,
  33298. .digest = (u8[]){ 0xb4, 0xf2, 0x03, 0x49, 0x37, 0xed, 0xb1, 0x3e,
  33299. 0x5b, 0x2a, 0xca, 0x64, 0x82, 0x74, 0xf6, 0x62,
  33300. 0xe3, 0xf2, 0x84, 0xff, },
  33301. }, {
  33302. .plaintext = blake2_ordered_sequence,
  33303. .psize = 256,
  33304. .digest = (u8[]){ 0xaa, 0x56, 0x9b, 0xdc, 0x98, 0x17, 0x75, 0xf2,
  33305. 0xb3, 0x68, 0x83, 0xb7, 0x9b, 0x8d, 0x48, 0xb1,
  33306. 0x9b, 0x2d, 0x35, 0x05, },
  33307. }, {
  33308. .ksize = 1,
  33309. .key = "B",
  33310. .digest = (u8[]){ 0x50, 0x16, 0xe7, 0x0c, 0x01, 0xd0, 0xd3, 0xc3,
  33311. 0xf4, 0x3e, 0xb1, 0x6e, 0x97, 0xa9, 0x4e, 0xd1,
  33312. 0x79, 0x65, 0x32, 0x93, },
  33313. }, {
  33314. .ksize = 32,
  33315. .key = blake2_ordered_sequence,
  33316. .plaintext = blake2_ordered_sequence,
  33317. .psize = 1,
  33318. .digest = (u8[]){ 0x1c, 0x2b, 0xcd, 0x9a, 0x68, 0xca, 0x8c, 0x71,
  33319. 0x90, 0x29, 0x6c, 0x54, 0xfa, 0x56, 0x4a, 0xef,
  33320. 0xa2, 0x3a, 0x56, 0x9c, },
  33321. }, {
  33322. .ksize = 16,
  33323. .key = blake2_ordered_sequence,
  33324. .plaintext = blake2_ordered_sequence,
  33325. .psize = 15,
  33326. .digest = (u8[]){ 0x36, 0xc3, 0x5f, 0x9a, 0xdc, 0x7e, 0xbf, 0x19,
  33327. 0x68, 0xaa, 0xca, 0xd8, 0x81, 0xbf, 0x09, 0x34,
  33328. 0x83, 0x39, 0x0f, 0x30, },
  33329. }, {
  33330. .ksize = 1,
  33331. .key = "B",
  33332. .plaintext = blake2_ordered_sequence,
  33333. .psize = 64,
  33334. .digest = (u8[]){ 0x86, 0x80, 0x78, 0xa4, 0x14, 0xec, 0x03, 0xe5,
  33335. 0xb6, 0x9a, 0x52, 0x0e, 0x42, 0xee, 0x39, 0x9d,
  33336. 0xac, 0xa6, 0x81, 0x63, },
  33337. }, {
  33338. .ksize = 32,
  33339. .key = blake2_ordered_sequence,
  33340. .plaintext = blake2_ordered_sequence,
  33341. .psize = 247,
  33342. .digest = (u8[]){ 0x2d, 0xd8, 0xd2, 0x53, 0x66, 0xfa, 0xa9, 0x01,
  33343. 0x1c, 0x9c, 0xaf, 0xa3, 0xe2, 0x9d, 0x9b, 0x10,
  33344. 0x0a, 0xf6, 0x73, 0xe8, },
  33345. }};
  33346. static const struct hash_testvec blakes2s_224_tv_template[] = {{
  33347. .plaintext = blake2_ordered_sequence,
  33348. .psize = 1,
  33349. .digest = (u8[]){ 0x61, 0xb9, 0x4e, 0xc9, 0x46, 0x22, 0xa3, 0x91,
  33350. 0xd2, 0xae, 0x42, 0xe6, 0x45, 0x6c, 0x90, 0x12,
  33351. 0xd5, 0x80, 0x07, 0x97, 0xb8, 0x86, 0x5a, 0xfc,
  33352. 0x48, 0x21, 0x97, 0xbb, },
  33353. }, {
  33354. .plaintext = blake2_ordered_sequence,
  33355. .psize = 247,
  33356. .digest = (u8[]){ 0x9e, 0xda, 0xc7, 0x20, 0x2c, 0xd8, 0x48, 0x2e,
  33357. 0x31, 0x94, 0xab, 0x46, 0x6d, 0x94, 0xd8, 0xb4,
  33358. 0x69, 0xcd, 0xae, 0x19, 0x6d, 0x9e, 0x41, 0xcc,
  33359. 0x2b, 0xa4, 0xd5, 0xf6, },
  33360. }, {
  33361. .ksize = 16,
  33362. .key = blake2_ordered_sequence,
  33363. .digest = (u8[]){ 0x32, 0xc0, 0xac, 0xf4, 0x3b, 0xd3, 0x07, 0x9f,
  33364. 0xbe, 0xfb, 0xfa, 0x4d, 0x6b, 0x4e, 0x56, 0xb3,
  33365. 0xaa, 0xd3, 0x27, 0xf6, 0x14, 0xbf, 0xb9, 0x32,
  33366. 0xa7, 0x19, 0xfc, 0xb8, },
  33367. }, {
  33368. .ksize = 1,
  33369. .key = "B",
  33370. .plaintext = blake2_ordered_sequence,
  33371. .psize = 7,
  33372. .digest = (u8[]){ 0x73, 0xad, 0x5e, 0x6d, 0xb9, 0x02, 0x8e, 0x76,
  33373. 0xf2, 0x66, 0x42, 0x4b, 0x4c, 0xfa, 0x1f, 0xe6,
  33374. 0x2e, 0x56, 0x40, 0xe5, 0xa2, 0xb0, 0x3c, 0xe8,
  33375. 0x7b, 0x45, 0xfe, 0x05, },
  33376. }, {
  33377. .ksize = 32,
  33378. .key = blake2_ordered_sequence,
  33379. .plaintext = blake2_ordered_sequence,
  33380. .psize = 15,
  33381. .digest = (u8[]){ 0x16, 0x60, 0xfb, 0x92, 0x54, 0xb3, 0x6e, 0x36,
  33382. 0x81, 0xf4, 0x16, 0x41, 0xc3, 0x3d, 0xd3, 0x43,
  33383. 0x84, 0xed, 0x10, 0x6f, 0x65, 0x80, 0x7a, 0x3e,
  33384. 0x25, 0xab, 0xc5, 0x02, },
  33385. }, {
  33386. .ksize = 16,
  33387. .key = blake2_ordered_sequence,
  33388. .plaintext = blake2_ordered_sequence,
  33389. .psize = 64,
  33390. .digest = (u8[]){ 0xca, 0xaa, 0x39, 0x67, 0x9c, 0xf7, 0x6b, 0xc7,
  33391. 0xb6, 0x82, 0xca, 0x0e, 0x65, 0x36, 0x5b, 0x7c,
  33392. 0x24, 0x00, 0xfa, 0x5f, 0xda, 0x06, 0x91, 0x93,
  33393. 0x6a, 0x31, 0x83, 0xb5, },
  33394. }, {
  33395. .ksize = 1,
  33396. .key = "B",
  33397. .plaintext = blake2_ordered_sequence,
  33398. .psize = 256,
  33399. .digest = (u8[]){ 0x90, 0x02, 0x26, 0xb5, 0x06, 0x9c, 0x36, 0x86,
  33400. 0x94, 0x91, 0x90, 0x1e, 0x7d, 0x2a, 0x71, 0xb2,
  33401. 0x48, 0xb5, 0xe8, 0x16, 0xfd, 0x64, 0x33, 0x45,
  33402. 0xb3, 0xd7, 0xec, 0xcc, },
  33403. }};
  33404. static const struct hash_testvec blakes2s_256_tv_template[] = {{
  33405. .plaintext = blake2_ordered_sequence,
  33406. .psize = 15,
  33407. .digest = (u8[]){ 0xd9, 0x7c, 0x82, 0x8d, 0x81, 0x82, 0xa7, 0x21,
  33408. 0x80, 0xa0, 0x6a, 0x78, 0x26, 0x83, 0x30, 0x67,
  33409. 0x3f, 0x7c, 0x4e, 0x06, 0x35, 0x94, 0x7c, 0x04,
  33410. 0xc0, 0x23, 0x23, 0xfd, 0x45, 0xc0, 0xa5, 0x2d, },
  33411. }, {
  33412. .ksize = 32,
  33413. .key = blake2_ordered_sequence,
  33414. .digest = (u8[]){ 0x48, 0xa8, 0x99, 0x7d, 0xa4, 0x07, 0x87, 0x6b,
  33415. 0x3d, 0x79, 0xc0, 0xd9, 0x23, 0x25, 0xad, 0x3b,
  33416. 0x89, 0xcb, 0xb7, 0x54, 0xd8, 0x6a, 0xb7, 0x1a,
  33417. 0xee, 0x04, 0x7a, 0xd3, 0x45, 0xfd, 0x2c, 0x49, },
  33418. }, {
  33419. .ksize = 1,
  33420. .key = "B",
  33421. .plaintext = blake2_ordered_sequence,
  33422. .psize = 1,
  33423. .digest = (u8[]){ 0x22, 0x27, 0xae, 0xaa, 0x6e, 0x81, 0x56, 0x03,
  33424. 0xa7, 0xe3, 0xa1, 0x18, 0xa5, 0x9a, 0x2c, 0x18,
  33425. 0xf4, 0x63, 0xbc, 0x16, 0x70, 0xf1, 0xe7, 0x4b,
  33426. 0x00, 0x6d, 0x66, 0x16, 0xae, 0x9e, 0x74, 0x4e, },
  33427. }, {
  33428. .ksize = 16,
  33429. .key = blake2_ordered_sequence,
  33430. .plaintext = blake2_ordered_sequence,
  33431. .psize = 7,
  33432. .digest = (u8[]){ 0x58, 0x5d, 0xa8, 0x60, 0x1c, 0xa4, 0xd8, 0x03,
  33433. 0x86, 0x86, 0x84, 0x64, 0xd7, 0xa0, 0x8e, 0x15,
  33434. 0x2f, 0x05, 0xa2, 0x1b, 0xbc, 0xef, 0x7a, 0x34,
  33435. 0xb3, 0xc5, 0xbc, 0x4b, 0xf0, 0x32, 0xeb, 0x12, },
  33436. }, {
  33437. .ksize = 32,
  33438. .key = blake2_ordered_sequence,
  33439. .plaintext = blake2_ordered_sequence,
  33440. .psize = 64,
  33441. .digest = (u8[]){ 0x89, 0x75, 0xb0, 0x57, 0x7f, 0xd3, 0x55, 0x66,
  33442. 0xd7, 0x50, 0xb3, 0x62, 0xb0, 0x89, 0x7a, 0x26,
  33443. 0xc3, 0x99, 0x13, 0x6d, 0xf0, 0x7b, 0xab, 0xab,
  33444. 0xbd, 0xe6, 0x20, 0x3f, 0xf2, 0x95, 0x4e, 0xd4, },
  33445. }, {
  33446. .ksize = 1,
  33447. .key = "B",
  33448. .plaintext = blake2_ordered_sequence,
  33449. .psize = 247,
  33450. .digest = (u8[]){ 0x2e, 0x74, 0x1c, 0x1d, 0x03, 0xf4, 0x9d, 0x84,
  33451. 0x6f, 0xfc, 0x86, 0x32, 0x92, 0x49, 0x7e, 0x66,
  33452. 0xd7, 0xc3, 0x10, 0x88, 0xfe, 0x28, 0xb3, 0xe0,
  33453. 0xbf, 0x50, 0x75, 0xad, 0x8e, 0xa4, 0xe6, 0xb2, },
  33454. }, {
  33455. .ksize = 16,
  33456. .key = blake2_ordered_sequence,
  33457. .plaintext = blake2_ordered_sequence,
  33458. .psize = 256,
  33459. .digest = (u8[]){ 0xb9, 0xd2, 0x81, 0x0e, 0x3a, 0xb1, 0x62, 0x9b,
  33460. 0xad, 0x44, 0x05, 0xf4, 0x92, 0x2e, 0x99, 0xc1,
  33461. 0x4a, 0x47, 0xbb, 0x5b, 0x6f, 0xb2, 0x96, 0xed,
  33462. 0xd5, 0x06, 0xb5, 0x3a, 0x7c, 0x7a, 0x65, 0x1d, },
  33463. }};
  33464. #endif /* _CRYPTO_TESTMGR_H */