testmgr.h 1.4 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Algorithm testing framework and tests.
  4. *
  5. * Copyright (c) 2002 James Morris <[email protected]>
  6. * Copyright (c) 2002 Jean-Francois Dive <[email protected]>
  7. * Copyright (c) 2007 Nokia Siemens Networks
  8. * Copyright (c) 2008 Herbert Xu <[email protected]>
  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 ([email protected])
  15. * Adrian Hoban <[email protected]>
  16. * Gabriele Paoloni <[email protected]>
  17. * Tadeusz Struk ([email protected])
  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. * @fips_skip: Skip the test vector in FIPS mode
  34. */
  35. struct hash_testvec {
  36. const char *key;
  37. const char *plaintext;
  38. const char *digest;
  39. unsigned int psize;
  40. unsigned short ksize;
  41. int setkey_error;
  42. int digest_error;
  43. bool fips_skip;
  44. };
  45. /*
  46. * cipher_testvec: structure to describe a symmetric cipher test
  47. * @key: Pointer to key
  48. * @klen: Length of @key in bytes
  49. * @iv: Pointer to IV. If NULL, an all-zeroes IV is used.
  50. * @iv_out: Pointer to output IV, if applicable for the cipher.
  51. * @ptext: Pointer to plaintext
  52. * @ctext: Pointer to ciphertext
  53. * @len: Length of @ptext and @ctext in bytes
  54. * @wk: Does the test need CRYPTO_TFM_REQ_FORBID_WEAK_KEYS?
  55. * ( e.g. test needs to fail due to a weak key )
  56. * @fips_skip: Skip the test vector in FIPS mode
  57. * @generates_iv: Encryption should ignore the given IV, and output @iv_out.
  58. * Decryption takes @iv_out. Needed for AES Keywrap ("kw(aes)").
  59. * @setkey_error: Expected error from setkey()
  60. * @crypt_error: Expected error from encrypt() and decrypt()
  61. */
  62. struct cipher_testvec {
  63. const char *key;
  64. const char *iv;
  65. const char *iv_out;
  66. const char *ptext;
  67. const char *ctext;
  68. unsigned char wk; /* weak key flag */
  69. unsigned short klen;
  70. unsigned int len;
  71. bool fips_skip;
  72. bool generates_iv;
  73. int setkey_error;
  74. int crypt_error;
  75. };
  76. /*
  77. * aead_testvec: structure to describe an AEAD test
  78. * @key: Pointer to key
  79. * @iv: Pointer to IV. If NULL, an all-zeroes IV is used.
  80. * @ptext: Pointer to plaintext
  81. * @assoc: Pointer to associated data
  82. * @ctext: Pointer to the full authenticated ciphertext. For AEADs that
  83. * produce a separate "ciphertext" and "authentication tag", these
  84. * two parts are concatenated: ciphertext || tag.
  85. * @novrfy: If set, this is an inauthentic input test: only decryption is
  86. * tested, and it is expected to fail with either -EBADMSG or
  87. * @crypt_error if it is nonzero.
  88. * @wk: Does the test need CRYPTO_TFM_REQ_FORBID_WEAK_KEYS?
  89. * (e.g. setkey() needs to fail due to a weak key)
  90. * @klen: Length of @key in bytes
  91. * @plen: Length of @ptext in bytes
  92. * @alen: Length of @assoc in bytes
  93. * @clen: Length of @ctext in bytes
  94. * @setkey_error: Expected error from setkey(). If set, neither encryption nor
  95. * decryption is tested.
  96. * @setauthsize_error: Expected error from setauthsize(). If set, neither
  97. * encryption nor decryption is tested.
  98. * @crypt_error: When @novrfy=0, the expected error from encrypt(). When
  99. * @novrfy=1, an optional alternate error code that is acceptable
  100. * for decrypt() to return besides -EBADMSG.
  101. */
  102. struct aead_testvec {
  103. const char *key;
  104. const char *iv;
  105. const char *ptext;
  106. const char *assoc;
  107. const char *ctext;
  108. unsigned char novrfy;
  109. unsigned char wk;
  110. unsigned char klen;
  111. unsigned int plen;
  112. unsigned int clen;
  113. unsigned int alen;
  114. int setkey_error;
  115. int setauthsize_error;
  116. int crypt_error;
  117. };
  118. struct cprng_testvec {
  119. const char *key;
  120. const char *dt;
  121. const char *v;
  122. const char *result;
  123. unsigned char klen;
  124. unsigned short dtlen;
  125. unsigned short vlen;
  126. unsigned short rlen;
  127. unsigned short loops;
  128. };
  129. struct drbg_testvec {
  130. const unsigned char *entropy;
  131. size_t entropylen;
  132. const unsigned char *entpra;
  133. const unsigned char *entprb;
  134. size_t entprlen;
  135. const unsigned char *addtla;
  136. const unsigned char *addtlb;
  137. size_t addtllen;
  138. const unsigned char *pers;
  139. size_t perslen;
  140. const unsigned char *expected;
  141. size_t expectedlen;
  142. };
  143. struct akcipher_testvec {
  144. const unsigned char *key;
  145. const unsigned char *params;
  146. const unsigned char *m;
  147. const unsigned char *c;
  148. unsigned int key_len;
  149. unsigned int param_len;
  150. unsigned int m_size;
  151. unsigned int c_size;
  152. bool public_key_vec;
  153. bool siggen_sigver_test;
  154. enum OID algo;
  155. };
  156. struct kpp_testvec {
  157. const unsigned char *secret;
  158. const unsigned char *b_secret;
  159. const unsigned char *b_public;
  160. const unsigned char *expected_a_public;
  161. const unsigned char *expected_ss;
  162. unsigned short secret_size;
  163. unsigned short b_secret_size;
  164. unsigned short b_public_size;
  165. unsigned short expected_a_public_size;
  166. unsigned short expected_ss_size;
  167. bool genkey;
  168. };
  169. static const char zeroed_string[48];
  170. /*
  171. * RSA test vectors. Borrowed from openSSL.
  172. */
  173. static const struct akcipher_testvec rsa_tv_template[] = {
  174. {
  175. #ifndef CONFIG_CRYPTO_FIPS
  176. .key =
  177. "\x30\x82\x01\x38" /* sequence of 312 bytes */
  178. "\x02\x01\x00" /* version - integer of 1 byte */
  179. "\x02\x41" /* modulus - integer of 65 bytes */
  180. "\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F"
  181. "\x90\xEF\xA0\x0D\xF3\x77\x4A\x25\x9F\x2E\x62\xB4\xC5\xD9\x9C\xB5"
  182. "\xAD\xB3\x00\xA0\x28\x5E\x53\x01\x93\x0E\x0C\x70\xFB\x68\x76\x93"
  183. "\x9C\xE6\x16\xCE\x62\x4A\x11\xE0\x08\x6D\x34\x1E\xBC\xAC\xA0\xA1"
  184. "\xF5"
  185. "\x02\x01\x11" /* public key - integer of 1 byte */
  186. "\x02\x40" /* private key - integer of 64 bytes */
  187. "\x0A\x03\x37\x48\x62\x64\x87\x69\x5F\x5F\x30\xBC\x38\xB9\x8B\x44"
  188. "\xC2\xCD\x2D\xFF\x43\x40\x98\xCD\x20\xD8\xA1\x38\xD0\x90\xBF\x64"
  189. "\x79\x7C\x3F\xA7\xA2\xCD\xCB\x3C\xD1\xE0\xBD\xBA\x26\x54\xB4\xF9"
  190. "\xDF\x8E\x8A\xE5\x9D\x73\x3D\x9F\x33\xB3\x01\x62\x4A\xFD\x1D\x51"
  191. "\x02\x21" /* prime1 - integer of 33 bytes */
  192. "\x00\xD8\x40\xB4\x16\x66\xB4\x2E\x92\xEA\x0D\xA3\xB4\x32\x04\xB5"
  193. "\xCF\xCE\x33\x52\x52\x4D\x04\x16\xA5\xA4\x41\xE7\x00\xAF\x46\x12"
  194. "\x0D"
  195. "\x02\x21" /* prime2 - integer of 33 bytes */
  196. "\x00\xC9\x7F\xB1\xF0\x27\xF4\x53\xF6\x34\x12\x33\xEA\xAA\xD1\xD9"
  197. "\x35\x3F\x6C\x42\xD0\x88\x66\xB1\xD0\x5A\x0F\x20\x35\x02\x8B\x9D"
  198. "\x89"
  199. "\x02\x20" /* exponent1 - integer of 32 bytes */
  200. "\x59\x0B\x95\x72\xA2\xC2\xA9\xC4\x06\x05\x9D\xC2\xAB\x2F\x1D\xAF"
  201. "\xEB\x7E\x8B\x4F\x10\xA7\x54\x9E\x8E\xED\xF5\xB4\xFC\xE0\x9E\x05"
  202. "\x02\x21" /* exponent2 - integer of 33 bytes */
  203. "\x00\x8E\x3C\x05\x21\xFE\x15\xE0\xEA\x06\xA3\x6F\xF0\xF1\x0C\x99"
  204. "\x52\xC3\x5B\x7A\x75\x14\xFD\x32\x38\xB8\x0A\xAD\x52\x98\x62\x8D"
  205. "\x51"
  206. "\x02\x20" /* coefficient - integer of 32 bytes */
  207. "\x36\x3F\xF7\x18\x9D\xA8\xE9\x0B\x1D\x34\x1F\x71\xD0\x9B\x76\xA8"
  208. "\xA9\x43\xE1\x1D\x10\xB2\x4D\x24\x9F\x2D\xEA\xFE\xF8\x0C\x18\x26",
  209. .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
  210. .c =
  211. "\x63\x1c\xcd\x7b\xe1\x7e\xe4\xde\xc9\xa8\x89\xa1\x74\xcb\x3c\x63"
  212. "\x7d\x24\xec\x83\xc3\x15\xe4\x7f\x73\x05\x34\xd1\xec\x22\xbb\x8a"
  213. "\x5e\x32\x39\x6d\xc1\x1d\x7d\x50\x3b\x9f\x7a\xad\xf0\x2e\x25\x53"
  214. "\x9f\x6e\xbd\x4c\x55\x84\x0c\x9b\xcf\x1a\x4b\x51\x1e\x9e\x0c\x06",
  215. .key_len = 316,
  216. .m_size = 8,
  217. .c_size = 64,
  218. }, {
  219. .key =
  220. "\x30\x82\x02\x5B" /* sequence of 603 bytes */
  221. "\x02\x01\x00" /* version - integer of 1 byte */
  222. "\x02\x81\x81" /* modulus - integer of 129 bytes */
  223. "\x00\xBB\xF8\x2F\x09\x06\x82\xCE\x9C\x23\x38\xAC\x2B\x9D\xA8\x71"
  224. "\xF7\x36\x8D\x07\xEE\xD4\x10\x43\xA4\x40\xD6\xB6\xF0\x74\x54\xF5"
  225. "\x1F\xB8\xDF\xBA\xAF\x03\x5C\x02\xAB\x61\xEA\x48\xCE\xEB\x6F\xCD"
  226. "\x48\x76\xED\x52\x0D\x60\xE1\xEC\x46\x19\x71\x9D\x8A\x5B\x8B\x80"
  227. "\x7F\xAF\xB8\xE0\xA3\xDF\xC7\x37\x72\x3E\xE6\xB4\xB7\xD9\x3A\x25"
  228. "\x84\xEE\x6A\x64\x9D\x06\x09\x53\x74\x88\x34\xB2\x45\x45\x98\x39"
  229. "\x4E\xE0\xAA\xB1\x2D\x7B\x61\xA5\x1F\x52\x7A\x9A\x41\xF6\xC1\x68"
  230. "\x7F\xE2\x53\x72\x98\xCA\x2A\x8F\x59\x46\xF8\xE5\xFD\x09\x1D\xBD"
  231. "\xCB"
  232. "\x02\x01\x11" /* public key - integer of 1 byte */
  233. "\x02\x81\x81" /* private key - integer of 129 bytes */
  234. "\x00\xA5\xDA\xFC\x53\x41\xFA\xF2\x89\xC4\xB9\x88\xDB\x30\xC1\xCD"
  235. "\xF8\x3F\x31\x25\x1E\x06\x68\xB4\x27\x84\x81\x38\x01\x57\x96\x41"
  236. "\xB2\x94\x10\xB3\xC7\x99\x8D\x6B\xC4\x65\x74\x5E\x5C\x39\x26\x69"
  237. "\xD6\x87\x0D\xA2\xC0\x82\xA9\x39\xE3\x7F\xDC\xB8\x2E\xC9\x3E\xDA"
  238. "\xC9\x7F\xF3\xAD\x59\x50\xAC\xCF\xBC\x11\x1C\x76\xF1\xA9\x52\x94"
  239. "\x44\xE5\x6A\xAF\x68\xC5\x6C\x09\x2C\xD3\x8D\xC3\xBE\xF5\xD2\x0A"
  240. "\x93\x99\x26\xED\x4F\x74\xA1\x3E\xDD\xFB\xE1\xA1\xCE\xCC\x48\x94"
  241. "\xAF\x94\x28\xC2\xB7\xB8\x88\x3F\xE4\x46\x3A\x4B\xC8\x5B\x1C\xB3"
  242. "\xC1"
  243. "\x02\x41" /* prime1 - integer of 65 bytes */
  244. "\x00\xEE\xCF\xAE\x81\xB1\xB9\xB3\xC9\x08\x81\x0B\x10\xA1\xB5\x60"
  245. "\x01\x99\xEB\x9F\x44\xAE\xF4\xFD\xA4\x93\xB8\x1A\x9E\x3D\x84\xF6"
  246. "\x32\x12\x4E\xF0\x23\x6E\x5D\x1E\x3B\x7E\x28\xFA\xE7\xAA\x04\x0A"
  247. "\x2D\x5B\x25\x21\x76\x45\x9D\x1F\x39\x75\x41\xBA\x2A\x58\xFB\x65"
  248. "\x99"
  249. "\x02\x41" /* prime2 - integer of 65 bytes */
  250. "\x00\xC9\x7F\xB1\xF0\x27\xF4\x53\xF6\x34\x12\x33\xEA\xAA\xD1\xD9"
  251. "\x35\x3F\x6C\x42\xD0\x88\x66\xB1\xD0\x5A\x0F\x20\x35\x02\x8B\x9D"
  252. "\x86\x98\x40\xB4\x16\x66\xB4\x2E\x92\xEA\x0D\xA3\xB4\x32\x04\xB5"
  253. "\xCF\xCE\x33\x52\x52\x4D\x04\x16\xA5\xA4\x41\xE7\x00\xAF\x46\x15"
  254. "\x03"
  255. "\x02\x40" /* exponent1 - integer of 64 bytes */
  256. "\x54\x49\x4C\xA6\x3E\xBA\x03\x37\xE4\xE2\x40\x23\xFC\xD6\x9A\x5A"
  257. "\xEB\x07\xDD\xDC\x01\x83\xA4\xD0\xAC\x9B\x54\xB0\x51\xF2\xB1\x3E"
  258. "\xD9\x49\x09\x75\xEA\xB7\x74\x14\xFF\x59\xC1\xF7\x69\x2E\x9A\x2E"
  259. "\x20\x2B\x38\xFC\x91\x0A\x47\x41\x74\xAD\xC9\x3C\x1F\x67\xC9\x81"
  260. "\x02\x40" /* exponent2 - integer of 64 bytes */
  261. "\x47\x1E\x02\x90\xFF\x0A\xF0\x75\x03\x51\xB7\xF8\x78\x86\x4C\xA9"
  262. "\x61\xAD\xBD\x3A\x8A\x7E\x99\x1C\x5C\x05\x56\xA9\x4C\x31\x46\xA7"
  263. "\xF9\x80\x3F\x8F\x6F\x8A\xE3\x42\xE9\x31\xFD\x8A\xE4\x7A\x22\x0D"
  264. "\x1B\x99\xA4\x95\x84\x98\x07\xFE\x39\xF9\x24\x5A\x98\x36\xDA\x3D"
  265. "\x02\x41" /* coefficient - integer of 65 bytes */
  266. "\x00\xB0\x6C\x4F\xDA\xBB\x63\x01\x19\x8D\x26\x5B\xDB\xAE\x94\x23"
  267. "\xB3\x80\xF2\x71\xF7\x34\x53\x88\x50\x93\x07\x7F\xCD\x39\xE2\x11"
  268. "\x9F\xC9\x86\x32\x15\x4F\x58\x83\xB1\x67\xA9\x67\xBF\x40\x2B\x4E"
  269. "\x9E\x2E\x0F\x96\x56\xE6\x98\xEA\x36\x66\xED\xFB\x25\x79\x80\x39"
  270. "\xF7",
  271. .key_len = 607,
  272. .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
  273. .c =
  274. "\x74\x1b\x55\xac\x47\xb5\x08\x0a\x6e\x2b\x2d\xf7\x94\xb8\x8a\x95"
  275. "\xed\xa3\x6b\xc9\x29\xee\xb2\x2c\x80\xc3\x39\x3b\x8c\x62\x45\x72"
  276. "\xc2\x7f\x74\x81\x91\x68\x44\x48\x5a\xdc\xa0\x7e\xa7\x0b\x05\x7f"
  277. "\x0e\xa0\x6c\xe5\x8f\x19\x4d\xce\x98\x47\x5f\xbd\x5f\xfe\xe5\x34"
  278. "\x59\x89\xaf\xf0\xba\x44\xd7\xf1\x1a\x50\x72\xef\x5e\x4a\xb6\xb7"
  279. "\x54\x34\xd1\xc4\x83\x09\xdf\x0f\x91\x5f\x7d\x91\x70\x2f\xd4\x13"
  280. "\xcc\x5e\xa4\x6c\xc3\x4d\x28\xef\xda\xaf\xec\x14\x92\xfc\xa3\x75"
  281. "\x13\xb4\xc1\xa1\x11\xfc\x40\x2f\x4c\x9d\xdf\x16\x76\x11\x20\x6b",
  282. .m_size = 8,
  283. .c_size = 128,
  284. }, {
  285. #endif
  286. .key =
  287. "\x30\x82\x04\xA3" /* sequence of 1187 bytes */
  288. "\x02\x01\x00" /* version - integer of 1 byte */
  289. "\x02\x82\x01\x01\x00" /* modulus - integer of 256 bytes */
  290. "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
  291. "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
  292. "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
  293. "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
  294. "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
  295. "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
  296. "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
  297. "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
  298. "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
  299. "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
  300. "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
  301. "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
  302. "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
  303. "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
  304. "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
  305. "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
  306. "\x02\x03\x01\x00\x01" /* public key - integer of 3 bytes */
  307. "\x02\x82\x01\x00" /* private key - integer of 256 bytes */
  308. "\x52\x41\xF4\xDA\x7B\xB7\x59\x55\xCA\xD4\x2F\x0F\x3A\xCB\xA4\x0D"
  309. "\x93\x6C\xCC\x9D\xC1\xB2\xFB\xFD\xAE\x40\x31\xAC\x69\x52\x21\x92"
  310. "\xB3\x27\xDF\xEA\xEE\x2C\x82\xBB\xF7\x40\x32\xD5\x14\xC4\x94\x12"
  311. "\xEC\xB8\x1F\xCA\x59\xE3\xC1\x78\xF3\x85\xD8\x47\xA5\xD7\x02\x1A"
  312. "\x65\x79\x97\x0D\x24\xF4\xF0\x67\x6E\x75\x2D\xBF\x10\x3D\xA8\x7D"
  313. "\xEF\x7F\x60\xE4\xE6\x05\x82\x89\x5D\xDF\xC6\xD2\x6C\x07\x91\x33"
  314. "\x98\x42\xF0\x02\x00\x25\x38\xC5\x85\x69\x8A\x7D\x2F\x95\x6C\x43"
  315. "\x9A\xB8\x81\xE2\xD0\x07\x35\xAA\x05\x41\xC9\x1E\xAF\xE4\x04\x3B"
  316. "\x19\xB8\x73\xA2\xAC\x4B\x1E\x66\x48\xD8\x72\x1F\xAC\xF6\xCB\xBC"
  317. "\x90\x09\xCA\xEC\x0C\xDC\xF9\x2C\xD7\xEB\xAE\xA3\xA4\x47\xD7\x33"
  318. "\x2F\x8A\xCA\xBC\x5E\xF0\x77\xE4\x97\x98\x97\xC7\x10\x91\x7D\x2A"
  319. "\xA6\xFF\x46\x83\x97\xDE\xE9\xE2\x17\x03\x06\x14\xE2\xD7\xB1\x1D"
  320. "\x77\xAF\x51\x27\x5B\x5E\x69\xB8\x81\xE6\x11\xC5\x43\x23\x81\x04"
  321. "\x62\xFF\xE9\x46\xB8\xD8\x44\xDB\xA5\xCC\x31\x54\x34\xCE\x3E\x82"
  322. "\xD6\xBF\x7A\x0B\x64\x21\x6D\x88\x7E\x5B\x45\x12\x1E\x63\x8D\x49"
  323. "\xA7\x1D\xD9\x1E\x06\xCD\xE8\xBA\x2C\x8C\x69\x32\xEA\xBE\x60\x71"
  324. "\x02\x81\x81" /* prime1 - integer of 129 bytes */
  325. "\x00\xFA\xAC\xE1\x37\x5E\x32\x11\x34\xC6\x72\x58\x2D\x91\x06\x3E"
  326. "\x77\xE7\x11\x21\xCD\x4A\xF8\xA4\x3F\x0F\xEF\x31\xE3\xF3\x55\xA0"
  327. "\xB9\xAC\xB6\xCB\xBB\x41\xD0\x32\x81\x9A\x8F\x7A\x99\x30\x77\x6C"
  328. "\x68\x27\xE2\x96\xB5\x72\xC9\xC3\xD4\x42\xAA\xAA\xCA\x95\x8F\xFF"
  329. "\xC9\x9B\x52\x34\x30\x1D\xCF\xFE\xCF\x3C\x56\x68\x6E\xEF\xE7\x6C"
  330. "\xD7\xFB\x99\xF5\x4A\xA5\x21\x1F\x2B\xEA\x93\xE8\x98\x26\xC4\x6E"
  331. "\x42\x21\x5E\xA0\xA1\x2A\x58\x35\xBB\x10\xE7\xBA\x27\x0A\x3B\xB3"
  332. "\xAF\xE2\x75\x36\x04\xAC\x56\xA0\xAB\x52\xDE\xCE\xDD\x2C\x28\x77"
  333. "\x03"
  334. "\x02\x81\x81" /* prime2 - integer of 129 bytes */
  335. "\x00\xDF\xB7\x52\xB6\xD7\xC0\xE2\x96\xE7\xC9\xFE\x5D\x71\x5A\xC4"
  336. "\x40\x96\x2F\xE5\x87\xEA\xF3\xA5\x77\x11\x67\x3C\x8D\x56\x08\xA7"
  337. "\xB5\x67\xFA\x37\xA8\xB8\xCF\x61\xE8\x63\xD8\x38\x06\x21\x2B\x92"
  338. "\x09\xA6\x39\x3A\xEA\xA8\xB4\x45\x4B\x36\x10\x4C\xE4\x00\x66\x71"
  339. "\x65\xF8\x0B\x94\x59\x4F\x8C\xFD\xD5\x34\xA2\xE7\x62\x84\x0A\xA7"
  340. "\xBB\xDB\xD9\x8A\xCD\x05\xE1\xCC\x57\x7B\xF1\xF1\x1F\x11\x9D\xBA"
  341. "\x3E\x45\x18\x99\x1B\x41\x64\x43\xEE\x97\x5D\x77\x13\x5B\x74\x69"
  342. "\x73\x87\x95\x05\x07\xBE\x45\x07\x17\x7E\x4A\x69\x22\xF3\xDB\x05"
  343. "\x39"
  344. "\x02\x81\x80" /* exponent1 - integer of 128 bytes */
  345. "\x5E\xD8\xDC\xDA\x53\x44\xC4\x67\xE0\x92\x51\x34\xE4\x83\xA5\x4D"
  346. "\x3E\xDB\xA7\x9B\x82\xBB\x73\x81\xFC\xE8\x77\x4B\x15\xBE\x17\x73"
  347. "\x49\x9B\x5C\x98\xBC\xBD\x26\xEF\x0C\xE9\x2E\xED\x19\x7E\x86\x41"
  348. "\x1E\x9E\x48\x81\xDD\x2D\xE4\x6F\xC2\xCD\xCA\x93\x9E\x65\x7E\xD5"
  349. "\xEC\x73\xFD\x15\x1B\xA2\xA0\x7A\x0F\x0D\x6E\xB4\x53\x07\x90\x92"
  350. "\x64\x3B\x8B\xA9\x33\xB3\xC5\x94\x9B\x4C\x5D\x9C\x7C\x46\xA4\xA5"
  351. "\x56\xF4\xF3\xF8\x27\x0A\x7B\x42\x0D\x92\x70\x47\xE7\x42\x51\xA9"
  352. "\xC2\x18\xB1\x58\xB1\x50\x91\xB8\x61\x41\xB6\xA9\xCE\xD4\x7C\xBB"
  353. "\x02\x81\x80" /* exponent2 - integer of 128 bytes */
  354. "\x54\x09\x1F\x0F\x03\xD8\xB6\xC5\x0C\xE8\xB9\x9E\x0C\x38\x96\x43"
  355. "\xD4\xA6\xC5\x47\xDB\x20\x0E\xE5\xBD\x29\xD4\x7B\x1A\xF8\x41\x57"
  356. "\x49\x69\x9A\x82\xCC\x79\x4A\x43\xEB\x4D\x8B\x2D\xF2\x43\xD5\xA5"
  357. "\xBE\x44\xFD\x36\xAC\x8C\x9B\x02\xF7\x9A\x03\xE8\x19\xA6\x61\xAE"
  358. "\x76\x10\x93\x77\x41\x04\xAB\x4C\xED\x6A\xCC\x14\x1B\x99\x8D\x0C"
  359. "\x6A\x37\x3B\x86\x6C\x51\x37\x5B\x1D\x79\xF2\xA3\x43\x10\xC6\xA7"
  360. "\x21\x79\x6D\xF9\xE9\x04\x6A\xE8\x32\xFF\xAE\xFD\x1C\x7B\x8C\x29"
  361. "\x13\xA3\x0C\xB2\xAD\xEC\x6C\x0F\x8D\x27\x12\x7B\x48\xB2\xDB\x31"
  362. "\x02\x81\x81" /* coefficient - integer of 129 bytes */
  363. "\x00\x8D\x1B\x05\xCA\x24\x1F\x0C\x53\x19\x52\x74\x63\x21\xFA\x78"
  364. "\x46\x79\xAF\x5C\xDE\x30\xA4\x6C\x20\x38\xE6\x97\x39\xB8\x7A\x70"
  365. "\x0D\x8B\x6C\x6D\x13\x74\xD5\x1C\xDE\xA9\xF4\x60\x37\xFE\x68\x77"
  366. "\x5E\x0B\x4E\x5E\x03\x31\x30\xDF\xD6\xAE\x85\xD0\x81\xBB\x61\xC7"
  367. "\xB1\x04\x5A\xC4\x6D\x56\x1C\xD9\x64\xE7\x85\x7F\x88\x91\xC9\x60"
  368. "\x28\x05\xE2\xC6\x24\x8F\xDD\x61\x64\xD8\x09\xDE\x7E\xD3\x4A\x61"
  369. "\x1A\xD3\x73\x58\x4B\xD8\xA0\x54\x25\x48\x83\x6F\x82\x6C\xAF\x36"
  370. "\x51\x2A\x5D\x14\x2F\x41\x25\x00\xDD\xF8\xF3\x95\xFE\x31\x25\x50"
  371. "\x12",
  372. .key_len = 1191,
  373. .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
  374. .c =
  375. "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
  376. "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
  377. "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
  378. "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
  379. "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
  380. "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
  381. "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
  382. "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
  383. "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
  384. "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
  385. "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
  386. "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
  387. "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
  388. "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
  389. "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
  390. "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
  391. .m_size = 8,
  392. .c_size = 256,
  393. }, {
  394. .key =
  395. "\x30\x82\x01\x09" /* sequence of 265 bytes */
  396. "\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
  397. "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
  398. "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
  399. "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
  400. "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
  401. "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
  402. "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
  403. "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
  404. "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
  405. "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
  406. "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
  407. "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
  408. "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
  409. "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
  410. "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
  411. "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
  412. "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
  413. "\x02\x03\x01\x00\x01", /* public key - integer of 3 bytes */
  414. .key_len = 269,
  415. .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
  416. .c =
  417. "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
  418. "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
  419. "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
  420. "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
  421. "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
  422. "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
  423. "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
  424. "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
  425. "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
  426. "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
  427. "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
  428. "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
  429. "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
  430. "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
  431. "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
  432. "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
  433. .m_size = 8,
  434. .c_size = 256,
  435. .public_key_vec = true,
  436. #ifndef CONFIG_CRYPTO_FIPS
  437. }, {
  438. .key =
  439. "\x30\x82\x09\x29" /* sequence of 2345 bytes */
  440. "\x02\x01\x00" /* version integer of 1 byte */
  441. "\x02\x82\x02\x01" /* modulus - integer of 513 bytes */
  442. "\x00\xC3\x8B\x55\x7B\x73\x4D\xFF\xE9\x9B\xC6\xDC\x67\x3C\xB4\x8E"
  443. "\xA0\x86\xED\xF2\xB9\x50\x5C\x54\x5C\xBA\xE4\xA1\xB2\xA7\xAE\x2F"
  444. "\x1B\x7D\xF1\xFB\xAC\x79\xC5\xDF\x1A\x00\xC9\xB2\xC1\x61\x25\x33"
  445. "\xE6\x9C\xE9\xCF\xD6\x27\xC4\x4E\x44\x30\x44\x5E\x08\xA1\x87\x52"
  446. "\xCC\x6B\x97\x70\x8C\xBC\xA5\x06\x31\x0C\xD4\x2F\xD5\x7D\x26\x24"
  447. "\xA2\xE2\xAC\x78\xF4\x53\x14\xCE\xF7\x19\x2E\xD7\xF7\xE6\x0C\xB9"
  448. "\x56\x7F\x0B\xF1\xB1\xE2\x43\x70\xBD\x86\x1D\xA1\xCC\x2B\x19\x08"
  449. "\x76\xEF\x91\xAC\xBF\x20\x24\x0D\x38\xC0\x89\xB8\x9A\x70\xB3\x64"
  450. "\xD9\x8F\x80\x41\x10\x5B\x9F\xB1\xCB\x76\x43\x00\x21\x25\x36\xD4"
  451. "\x19\xFC\x55\x95\x10\xE4\x26\x74\x98\x2C\xD9\xBD\x0B\x2B\x04\xC2"
  452. "\xAC\x82\x38\xB4\xDD\x4C\x04\x7E\x51\x36\x40\x1E\x0B\xC4\x7C\x25"
  453. "\xDD\x4B\xB2\xE7\x20\x0A\x57\xF9\xB4\x94\xC3\x08\x33\x22\x6F\x8B"
  454. "\x48\xDB\x03\x68\x5A\x5B\xBA\xAE\xF3\xAD\xCF\xC3\x6D\xBA\xF1\x28"
  455. "\x67\x7E\x6C\x79\x07\xDE\xFC\xED\xE7\x96\xE3\x6C\xE0\x2C\x87\xF8"
  456. "\x02\x01\x28\x38\x43\x21\x53\x84\x69\x75\x78\x15\x7E\xEE\xD2\x1B"
  457. "\xB9\x23\x40\xA8\x86\x1E\x38\x83\xB2\x73\x1D\x53\xFB\x9E\x2A\x8A"
  458. "\xB2\x75\x35\x01\xC3\xC3\xC4\x94\xE8\x84\x86\x64\x81\xF4\x42\xAA"
  459. "\x3C\x0E\xD6\x4F\xBC\x0A\x09\x2D\xE7\x1B\xD4\x10\xA8\x54\xEA\x89"
  460. "\x84\x8A\xCB\xF7\x5A\x3C\xCA\x76\x08\x29\x62\xB4\x6A\x22\xDF\x14"
  461. "\x95\x71\xFD\xB6\x86\x39\xB8\x8B\xF8\x91\x7F\x38\xAA\x14\xCD\xE5"
  462. "\xF5\x1D\xC2\x6D\x53\x69\x52\x84\x7F\xA3\x1A\x5E\x26\x04\x83\x06"
  463. "\x73\x52\x56\xCF\x76\x26\xC9\xDD\x75\xD7\xFC\xF4\x69\xD8\x7B\x55"
  464. "\xB7\x68\x13\x53\xB9\xE7\x89\xC3\xE8\xD6\x6E\xA7\x6D\xEA\x81\xFD"
  465. "\xC4\xB7\x05\x5A\xB7\x41\x0A\x23\x8E\x03\x8A\x1C\xAE\xD3\x1E\xCE"
  466. "\xE3\x5E\xFC\x19\x4A\xEE\x61\x9B\x8E\xE5\xE5\xDD\x85\xF9\x41\xEC"
  467. "\x14\x53\x92\xF7\xDD\x06\x85\x02\x91\xE3\xEB\x6C\x43\x03\xB1\x36"
  468. "\x7B\x89\x5A\xA8\xEB\xFC\xD5\xA8\x35\xDC\x81\xD9\x5C\xBD\xCA\xDC"
  469. "\x9B\x98\x0B\x06\x5D\x0C\x5B\xEE\xF3\xD5\xCC\x57\xC9\x71\x2F\x90"
  470. "\x3B\x3C\xF0\x8E\x4E\x35\x48\xAE\x63\x74\xA9\xFC\x72\x75\x8E\x34"
  471. "\xA8\xF2\x1F\xEA\xDF\x3A\x37\x2D\xE5\x39\x39\xF8\x57\x58\x3C\x04"
  472. "\xFE\x87\x06\x98\xBC\x7B\xD3\x21\x36\x60\x25\x54\xA7\x3D\xFA\x91"
  473. "\xCC\xA8\x0B\x92\x8E\xB4\xF7\x06\xFF\x1E\x95\xCB\x07\x76\x97\x3B"
  474. "\x9D"
  475. "\x02\x03\x01\x00\x01" /* public key integer of 3 bytes */
  476. "\x02\x82\x02\x00" /* private key integer of 512 bytes */
  477. "\x74\xA9\xE0\x6A\x32\xB4\xCA\x85\xD9\x86\x9F\x60\x88\x7B\x40\xCC"
  478. "\xCD\x33\x91\xA8\xB6\x25\x1F\xBF\xE3\x51\x1C\x97\xB6\x2A\xD9\xB8"
  479. "\x11\x40\x19\xE3\x21\x13\xC8\xB3\x7E\xDC\xD7\x65\x40\x4C\x2D\xD6"
  480. "\xDC\xAF\x32\x6C\x96\x75\x2C\x2C\xCA\x8F\x3F\x7A\xEE\xC4\x09\xC6"
  481. "\x24\x3A\xC9\xCF\x6D\x8D\x17\x50\x94\x52\xD3\xE7\x0F\x2F\x7E\x94"
  482. "\x1F\xA0\xBE\xD9\x25\xE8\x38\x42\x7C\x27\xD2\x79\xF8\x2A\x87\x38"
  483. "\xEF\xBB\x74\x8B\xA8\x6E\x8C\x08\xC6\xC7\x4F\x0C\xBC\x79\xC6\xEF"
  484. "\x0E\xA7\x5E\xE4\xF8\x8C\x09\xC7\x5E\x37\xCC\x87\x77\xCD\xCF\xD1"
  485. "\x6D\x28\x1B\xA9\x62\xC0\xB8\x16\xA7\x8B\xF9\xBB\xCC\xB4\x15\x7F"
  486. "\x1B\x69\x03\xF2\x7B\xEB\xE5\x8C\x14\xD6\x23\x4F\x52\x6F\x18\xA6"
  487. "\x4B\x5B\x01\xAD\x35\xF9\x48\x53\xB3\x86\x35\x66\xD7\xE7\x29\xC0"
  488. "\x09\xB5\xC6\xE6\xFA\xC4\xDA\x19\xBE\xD7\x4D\x41\x14\xBE\x6F\xDF"
  489. "\x1B\xAB\xC0\xCA\x88\x07\xAC\xF1\x7D\x35\x83\x67\x28\x2D\x50\xE9"
  490. "\xCE\x27\x71\x5E\x1C\xCF\xD2\x30\x65\x79\x72\x2F\x9C\xE1\xD2\x39"
  491. "\x7F\xEF\x3B\x01\xF2\x14\x1D\xDF\xBD\x51\xD3\xA1\x53\x62\xCF\x5F"
  492. "\x79\x84\xCE\x06\x96\x69\x29\x49\x82\x1C\x71\x4A\xA1\x66\xC8\x2F"
  493. "\xFD\x7B\x96\x7B\xFC\xC4\x26\x58\xC4\xFC\x7C\xAF\xB5\xE8\x95\x83"
  494. "\x87\xCB\x46\xDE\x97\xA7\xB3\xA2\x54\x5B\xD7\xAF\xAB\xEB\xC8\xF3"
  495. "\x55\x9D\x48\x2B\x30\x9C\xDC\x26\x4B\xC2\x89\x45\x13\xB2\x01\x9A"
  496. "\xA4\x65\xC3\xEC\x24\x2D\x26\x97\xEB\x80\x8A\x9D\x03\xBC\x59\x66"
  497. "\x9E\xE2\xBB\xBB\x63\x19\x64\x93\x11\x7B\x25\x65\x30\xCD\x5B\x4B"
  498. "\x2C\xFF\xDC\x2D\x30\x87\x1F\x3C\x88\x07\xD0\xFC\x48\xCC\x05\x8A"
  499. "\xA2\xC8\x39\x3E\xD5\x51\xBC\x0A\xBE\x6D\xA8\xA0\xF6\x88\x06\x79"
  500. "\x13\xFF\x1B\x45\xDA\x54\xC9\x24\x25\x8A\x75\x0A\x26\xD1\x69\x81"
  501. "\x14\x14\xD1\x79\x7D\x8E\x76\xF2\xE0\xEB\xDD\x0F\xDE\xC2\xEC\x80"
  502. "\xD7\xDC\x16\x99\x92\xBE\xCB\x40\x0C\xCE\x7C\x3B\x46\xA2\x5B\x5D"
  503. "\x0C\x45\xEB\xE1\x00\xDE\x72\x50\xB1\xA6\x0B\x76\xC5\x8D\xFC\x82"
  504. "\x38\x6D\x99\x14\x1D\x1A\x4A\xD3\x7C\x53\xB8\x12\x46\xA2\x30\x38"
  505. "\x82\xF4\x96\x6E\x8C\xCE\x47\x0D\xAF\x0A\x3B\x45\xB7\x43\x95\x43"
  506. "\x9E\x02\x2C\x44\x07\x6D\x1F\x3C\x66\x89\x09\xB6\x1F\x06\x30\xCC"
  507. "\xAD\xCE\x7D\x9A\xDE\x3E\xFB\x6C\xE4\x58\x43\xD2\x4F\xA5\x9E\x5E"
  508. "\xA7\x7B\xAE\x3A\xF6\x7E\xD9\xDB\xD3\xF5\xC5\x41\xAF\xE6\x9C\x91"
  509. "\x02\x82\x01\x01" /* prime1 - integer of 257 bytes */
  510. "\x00\xE0\xA6\x6C\xF0\xA2\xF8\x81\x85\x36\x43\xD0\x13\x0B\x33\x8B"
  511. "\x8F\x78\x3D\xAC\xC7\x5E\x46\x6A\x7F\x05\xAE\x3E\x26\x0A\xA6\xD0"
  512. "\x51\xF3\xC8\x61\xF5\x77\x22\x48\x10\x87\x4C\xD5\xA4\xD5\xAE\x2D"
  513. "\x4E\x7A\xFE\x1C\x31\xE7\x6B\xFF\xA4\x69\x20\xF9\x2A\x0B\x99\xBE"
  514. "\x7C\x32\x68\xAD\xB0\xC6\x94\x81\x41\x75\xDC\x06\x78\x0A\xB4\xCF"
  515. "\xCD\x1B\x2D\x31\xE4\x7B\xEA\xA8\x35\x99\x75\x57\xC6\x0E\xF6\x78"
  516. "\x4F\xA0\x92\x4A\x00\x1B\xE7\x96\xF2\x5B\xFD\x2C\x0A\x0A\x13\x81"
  517. "\xAF\xCB\x59\x87\x31\xD9\x83\x65\xF2\x22\x48\xD0\x03\x67\x39\xF6"
  518. "\xFF\xA8\x36\x07\x3A\x68\xE3\x7B\xA9\x64\xFD\x9C\xF7\xB1\x3D\xBF"
  519. "\x26\x5C\xCC\x7A\xFC\xA2\x8F\x51\xD1\xE1\xE2\x3C\xEC\x06\x75\x7C"
  520. "\x34\xF9\xA9\x33\x70\x11\xAD\x5A\xDC\x5F\xCF\x50\xF6\x23\x2F\x39"
  521. "\xAC\x92\x48\x53\x4D\x01\x96\x3C\xD8\xDC\x1F\x23\x23\x78\x80\x34"
  522. "\x54\x14\x76\x8B\xB6\xBB\xFB\x88\x78\x31\x59\x28\xD2\xB1\x75\x17"
  523. "\x88\x04\x4A\x78\x62\x18\x2E\xF5\xFB\x9B\xEF\x15\xD8\x16\x47\xC6"
  524. "\x42\xB1\x02\xDA\x9E\xE3\x84\x90\xB4\x2D\xC3\xCE\x13\xC9\x12\x7D"
  525. "\x3E\xCD\x39\x39\xC9\xAD\xA1\x1A\xE6\xD5\xAD\x5A\x09\x4D\x1B\x0C"
  526. "\xAB"
  527. "\x02\x82\x01\x01" /* prime 2 - integer of 257 bytes */
  528. "\x00\xDE\xD5\x1B\xF6\xCD\x83\xB1\xC6\x47\x7E\xB9\xC0\x6B\xA9\xB8"
  529. "\x02\xF3\xAE\x40\x5D\xFC\xD3\xE5\x4E\xF1\xE3\x39\x04\x52\x84\x89"
  530. "\x40\x37\xBB\xC2\xCD\x7F\x71\x77\x17\xDF\x6A\x4C\x31\x24\x7F\xB9"
  531. "\x7E\x7F\xC8\x43\x4A\x3C\xEB\x8D\x1B\x7F\x21\x51\x67\x45\x8F\xA0"
  532. "\x36\x29\x3A\x18\x45\xA5\x32\xEC\x74\x88\x3C\x98\x5D\x67\x3B\xD7"
  533. "\x51\x1F\xE9\xAE\x09\x01\xDE\xDE\x7C\xFB\x60\xD1\xA5\x6C\xE9\x6A"
  534. "\x93\x04\x02\x3A\xBB\x67\x02\xB9\xFD\x23\xF0\x02\x2B\x49\x85\xC9"
  535. "\x5B\xE7\x4B\xDF\xA3\xF4\xEE\x59\x4C\x45\xEF\x8B\xC1\x6B\xDE\xDE"
  536. "\xBC\x1A\xFC\xD2\x76\x3F\x33\x74\xA9\x8E\xA3\x7E\x0C\xC6\xCE\x70"
  537. "\xA1\x5B\xA6\x77\xEA\x76\xEB\x18\xCE\xB9\xD7\x78\x8D\xAE\x06\xBB"
  538. "\xD3\x1F\x16\x0D\x05\xAB\x4F\xC6\x52\xC8\x6B\x36\x51\x7D\x1D\x27"
  539. "\xAF\x88\x9A\x6F\xCC\x25\x2E\x74\x06\x72\xCE\x9E\xDB\xE0\x9D\x30"
  540. "\xEF\x55\xA5\x58\x21\xA7\x42\x12\x2C\x2C\x23\x87\xC1\x0F\xE8\x51"
  541. "\xDA\x53\xDA\xFC\x05\x36\xDF\x08\x0E\x08\x36\xBE\x5C\x86\x9E\xCA"
  542. "\x68\x90\x33\x12\x0B\x14\x82\xAB\x90\x1A\xD4\x49\x32\x9C\xBD\xAA"
  543. "\xAB\x4E\x38\xF1\xEE\xED\x3D\x3F\xE8\xBD\x48\x56\xA6\x64\xEE\xC8"
  544. "\xD7"
  545. "\x02\x82\x01\x01" /* exponent 1 - integer of 257 bytes */
  546. "\x00\x96\x5E\x6F\x8F\x06\xD6\xE6\x03\x1F\x96\x76\x81\x38\xBF\x30"
  547. "\xCC\x40\x84\xAF\xD0\xE7\x06\xA5\x24\x0E\xCE\x59\xA5\x26\xFE\x0F"
  548. "\x74\xBB\x83\xC6\x26\x02\xAF\x3C\xA3\x6B\x9C\xFF\x68\x0C\xEB\x40"
  549. "\x42\x46\xCB\x2E\x5E\x2C\xF4\x3A\x32\x77\x77\xED\xAF\xBA\x02\x17"
  550. "\xE1\x93\xF0\x43\x4A\x8F\x31\x39\xEF\x72\x0F\x6B\x79\x10\x59\x84"
  551. "\xBA\x5A\x55\x7F\x0E\xDB\xEE\xEE\xD6\xA9\xB8\x44\x9F\x3A\xC6\xB9"
  552. "\x33\x3B\x5C\x90\x11\xD0\x9B\xCC\x8A\xBF\x0E\x10\x5B\x4B\xF1\x50"
  553. "\x9E\x35\xB3\xE0\x6D\x7A\x95\x9C\x38\x5D\xC0\x75\x13\xC2\x15\xA7"
  554. "\x81\xEA\xBA\xF7\x4D\x9E\x85\x9D\xF1\x7D\xBA\xD0\x45\x6F\x2A\xD0"
  555. "\x76\xC2\x28\xD0\xAD\xA7\xB5\xDC\xE3\x6A\x99\xFF\x83\x50\xB3\x75"
  556. "\x07\x14\x91\xAF\xEF\x74\xB5\x9F\x9A\xE0\xBA\xA9\x0B\x87\xF3\x85"
  557. "\x5C\x40\xB2\x0E\xA7\xFD\xC6\xED\x45\x8E\xD9\x7C\xB0\xB2\x68\xC6"
  558. "\x1D\xFD\x70\x78\x06\x41\x7F\x95\x12\x36\x9D\xE2\x58\x5D\x15\xEE"
  559. "\x41\x49\xF5\xFA\xEC\x56\x19\xA0\xE6\xE0\xB2\x40\xE1\xD9\xD0\x03"
  560. "\x22\x02\xCF\xD1\x3C\x07\x38\x65\x8F\x65\x0E\xAA\x32\xCE\x25\x05"
  561. "\x16\x73\x51\xB9\x9F\x88\x0B\xCD\x30\xF3\x97\xCC\x2B\x6B\xA4\x0E"
  562. "\x6F"
  563. "\x02\x82\x01\x00" /* exponent 2 - integer of 256 bytes */
  564. "\x2A\x5F\x3F\xB8\x08\x90\x58\x47\xA9\xE4\xB1\x11\xA3\xE7\x5B\xF4"
  565. "\x43\xBE\x08\xC3\x56\x86\x3C\x7E\x6C\x84\x96\x9C\xF9\xCB\xF6\x05"
  566. "\x5E\x13\xB8\x11\x37\x80\xAD\xF2\xBE\x2B\x0A\x5D\xF5\xE0\xCB\xB7"
  567. "\x00\x39\x66\x82\x41\x5F\x51\x2F\xBF\x56\xE8\x91\xC8\xAA\x6C\xFE"
  568. "\x9F\x8C\x4A\x7D\x43\xD2\x91\x1F\xFF\x9F\xF6\x21\x1C\xB6\x46\x55"
  569. "\x48\xCA\x38\xAB\xC1\xCD\x4D\x65\x5A\xAF\xA8\x6D\xDA\x6D\xF0\x34"
  570. "\x10\x79\x14\x0D\xFA\xA2\x8C\x17\x54\xB4\x18\xD5\x7E\x5F\x90\x50"
  571. "\x87\x84\xE7\xFB\xD7\x61\x53\x5D\xAB\x96\xC7\x6E\x7A\x42\xA0\xFC"
  572. "\x07\xED\xB7\x5F\x80\xD9\x19\xFF\xFB\xFD\x9E\xC4\x73\x31\x62\x3D"
  573. "\x6C\x9E\x15\x03\x62\xA5\x85\xCC\x19\x8E\x9D\x7F\xE3\x6D\xA8\x5D"
  574. "\x96\xF5\xAC\x78\x3D\x81\x27\xE7\x29\xF1\x29\x1D\x09\xBB\x77\x86"
  575. "\x6B\x65\x62\x88\xE1\x31\x1A\x22\xF7\xC5\xCE\x73\x65\x1C\xBE\xE7"
  576. "\x63\xD3\xD3\x14\x63\x27\xAF\x28\xF3\x23\xB6\x76\xC1\xBD\x9D\x82"
  577. "\xF4\x9B\x19\x7D\x2C\x57\xF0\xC2\x2A\x51\xAE\x95\x0D\x8C\x38\x54"
  578. "\xF5\xC6\xA0\x51\xB7\x0E\xB9\xEC\xE7\x0D\x22\xF6\x1A\xD3\xFE\x16"
  579. "\x21\x03\xB7\x0D\x85\xD3\x35\xC9\xDD\xE4\x59\x85\xBE\x7F\xA1\x75"
  580. "\x02\x82\x01\x01" /* coefficient - integer of 257 bytes */
  581. "\x00\xB9\x48\xD2\x54\x2F\x19\x54\x64\xAE\x62\x80\x61\x89\x80\xB4"
  582. "\x48\x0B\x8D\x7E\x1B\x0F\x50\x08\x82\x3F\xED\x75\x84\xB7\x13\xE4"
  583. "\xF8\x8D\xA8\xBB\x54\x21\x4C\x5A\x54\x07\x16\x4B\xB4\xA4\x9E\x30"
  584. "\xBF\x7A\x30\x1B\x39\x60\xA3\x21\x53\xFB\xB0\xDC\x0F\x7C\x2C\xFB"
  585. "\xAA\x95\x7D\x51\x39\x28\x33\x1F\x25\x31\x53\xF5\xD2\x64\x2B\xF2"
  586. "\x1E\xB3\xC0\x6A\x0B\xC9\xA4\x42\x64\x5C\xFB\x15\xA3\xE8\x4C\x3A"
  587. "\x9C\x3C\xBE\xA3\x39\x83\x23\xE3\x6D\x18\xCC\xC2\xDC\x63\x8D\xBA"
  588. "\x98\xE0\xE0\x31\x4A\x2B\x37\x9C\x4D\x6B\xF3\x9F\x51\xE4\x43\x5C"
  589. "\x83\x5F\xBF\x5C\xFE\x92\x45\x01\xAF\xF5\xC2\xF4\xB7\x56\x93\xA5"
  590. "\xF4\xAA\x67\x3C\x48\x37\xBD\x9A\x3C\xFE\xA5\x9A\xB0\xD1\x6B\x85"
  591. "\xDD\x81\xD4\xFA\xAD\x31\x83\xA8\x22\x9B\xFD\xB4\x61\xDC\x7A\x51"
  592. "\x59\x62\x10\x1B\x7E\x44\xA3\xFE\x90\x51\x5A\x3E\x02\x87\xAD\xFA"
  593. "\xDD\x0B\x1F\x3D\x35\xAF\xEE\x13\x85\x51\xA7\x42\xC0\xEE\x9E\x20"
  594. "\xE9\xD0\x29\xB2\xE4\x21\xE4\x6D\x62\xB9\xF4\x48\x4A\xD8\x46\x8E"
  595. "\x61\xA6\x2C\x5D\xDF\x8F\x97\x2B\x3A\x75\x1D\x83\x17\x6F\xC6\xB0"
  596. "\xDE\xFC\x14\x25\x06\x5A\x60\xBB\xB8\x21\x89\xD1\xEF\x57\xF1\x71"
  597. "\x3D",
  598. .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
  599. .c =
  600. "\x5c\xce\x9c\xd7\x9a\x9e\xa1\xfe\x7a\x82\x3c\x68\x27\x98\xe3\x5d"
  601. "\xd5\xd7\x07\x29\xf5\xfb\xc3\x1a\x7f\x63\x1e\x62\x31\x3b\x19\x87"
  602. "\x79\x4f\xec\x7b\xf3\xcb\xea\x9b\x95\x52\x3a\x40\xe5\x87\x7b\x72"
  603. "\xd1\x72\xc9\xfb\x54\x63\xd8\xc9\xd7\x2c\xfc\x7b\xc3\x14\x1e\xbc"
  604. "\x18\xb4\x34\xa1\xbf\x14\xb1\x37\x31\x6e\xf0\x1b\x35\x19\x54\x07"
  605. "\xf7\x99\xec\x3e\x63\xe2\xcd\x61\x28\x65\xc3\xcd\xb1\x38\x36\xa5"
  606. "\xb2\xd7\xb0\xdc\x1f\xf5\xef\x19\xc7\x53\x32\x2d\x1c\x26\xda\xe4"
  607. "\x0d\xd6\x90\x7e\x28\xd8\xdc\xe4\x61\x05\xd2\x25\x90\x01\xd3\x96"
  608. "\x6d\xa6\xcf\x58\x20\xbb\x03\xf4\x01\xbc\x79\xb9\x18\xd8\xb8\xba"
  609. "\xbd\x93\xfc\xf2\x62\x5d\x8c\x66\x1e\x0e\x84\x59\x93\xdd\xe2\x93"
  610. "\xa2\x62\x7d\x08\x82\x7a\xdd\xfc\xb8\xbc\xc5\x4f\x9c\x4e\xbf\xb4"
  611. "\xfc\xf4\xc5\x01\xe8\x00\x70\x4d\x28\x26\xcc\x2e\xfe\x0e\x58\x41"
  612. "\x8b\xec\xaf\x7c\x4b\x54\xd0\xa0\x64\xf9\x32\xf4\x2e\x47\x65\x0a"
  613. "\x67\x88\x39\x3a\xdb\xb2\xdb\x7b\xb5\xf6\x17\xa8\xd9\xc6\x5e\x28"
  614. "\x13\x82\x8a\x99\xdb\x60\x08\xa5\x23\x37\xfa\x88\x90\x31\xc8\x9d"
  615. "\x8f\xec\xfb\x85\x9f\xb1\xce\xa6\x24\x50\x46\x44\x47\xcb\x65\xd1"
  616. "\xdf\xc0\xb1\x6c\x90\x1f\x99\x8e\x4d\xd5\x9e\x31\x07\x66\x87\xdf"
  617. "\x01\xaa\x56\x3c\x71\xe0\x2b\x6f\x67\x3b\x23\xed\xc2\xbd\x03\x30"
  618. "\x79\x76\x02\x10\x10\x98\x85\x8a\xff\xfd\x0b\xda\xa5\xd9\x32\x48"
  619. "\x02\xa0\x0b\xb9\x2a\x8a\x18\xca\xc6\x8f\x3f\xbb\x16\xb2\xaa\x98"
  620. "\x27\xe3\x60\x43\xed\x15\x70\xd4\x57\x15\xfe\x19\xd4\x9b\x13\x78"
  621. "\x8a\xf7\x21\xf1\xa2\xa2\x2d\xb3\x09\xcf\x44\x91\x6e\x08\x3a\x30"
  622. "\x81\x3e\x90\x93\x8a\x67\x33\x00\x59\x54\x9a\x25\xd3\x49\x8e\x9f"
  623. "\xc1\x4b\xe5\x86\xf3\x50\x4c\xbc\xc5\xd3\xf5\x3a\x54\xe1\x36\x3f"
  624. "\xe2\x5a\xb4\x37\xc0\xeb\x70\x35\xec\xf6\xb7\xe8\x44\x3b\x7b\xf3"
  625. "\xf1\xf2\x1e\xdb\x60\x7d\xd5\xbe\xf0\x71\x34\x90\x4c\xcb\xd4\x35"
  626. "\x51\xc7\xdd\xd8\xc9\x81\xf5\x5d\x57\x46\x2c\xb1\x7b\x9b\xaa\xcb"
  627. "\xd1\x22\x25\x49\x44\xa3\xd4\x6b\x29\x7b\xd8\xb2\x07\x93\xbf\x3d"
  628. "\x52\x49\x84\x79\xef\xb8\xe5\xc4\xad\xca\xa8\xc6\xf6\xa6\x76\x70"
  629. "\x5b\x0b\xe5\x83\xc6\x0e\xef\x55\xf2\xe7\xff\x04\xea\xe6\x13\xbe"
  630. "\x40\xe1\x40\x45\x48\x66\x75\x31\xae\x35\x64\x91\x11\x6f\xda\xee"
  631. "\x26\x86\x45\x6f\x0b\xd5\x9f\x03\xb1\x65\x5b\xdb\xa4\xe4\xf9\x45",
  632. .key_len = 2349,
  633. .m_size = 8,
  634. .c_size = 512,
  635. #endif
  636. }
  637. };
  638. /*
  639. * ECDSA test vectors.
  640. */
  641. static const struct akcipher_testvec ecdsa_nist_p192_tv_template[] = {
  642. {
  643. .key =
  644. "\x04\xf7\x46\xf8\x2f\x15\xf6\x22\x8e\xd7\x57\x4f\xcc\xe7\xbb\xc1"
  645. "\xd4\x09\x73\xcf\xea\xd0\x15\x07\x3d\xa5\x8a\x8a\x95\x43\xe4\x68"
  646. "\xea\xc6\x25\xc1\xc1\x01\x25\x4c\x7e\xc3\x3c\xa6\x04\x0a\xe7\x08"
  647. "\x98",
  648. .key_len = 49,
  649. .params =
  650. "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
  651. "\xce\x3d\x03\x01\x01",
  652. .param_len = 21,
  653. .m =
  654. "\xcd\xb9\xd2\x1c\xb7\x6f\xcd\x44\xb3\xfd\x63\xea\xa3\x66\x7f\xae"
  655. "\x63\x85\xe7\x82",
  656. .m_size = 20,
  657. .algo = OID_id_ecdsa_with_sha1,
  658. .c =
  659. "\x30\x35\x02\x19\x00\xba\xe5\x93\x83\x6e\xb6\x3b\x63\xa0\x27\x91"
  660. "\xc6\xf6\x7f\xc3\x09\xad\x59\xad\x88\x27\xd6\x92\x6b\x02\x18\x10"
  661. "\x68\x01\x9d\xba\xce\x83\x08\xef\x95\x52\x7b\xa0\x0f\xe4\x18\x86"
  662. "\x80\x6f\xa5\x79\x77\xda\xd0",
  663. .c_size = 55,
  664. .public_key_vec = true,
  665. .siggen_sigver_test = true,
  666. }, {
  667. .key =
  668. "\x04\xb6\x4b\xb1\xd1\xac\xba\x24\x8f\x65\xb2\x60\x00\x90\xbf\xbd"
  669. "\x78\x05\x73\xe9\x79\x1d\x6f\x7c\x0b\xd2\xc3\x93\xa7\x28\xe1\x75"
  670. "\xf7\xd5\x95\x1d\x28\x10\xc0\x75\x50\x5c\x1a\x4f\x3f\x8f\xa5\xee"
  671. "\xa3",
  672. .key_len = 49,
  673. .params =
  674. "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
  675. "\xce\x3d\x03\x01\x01",
  676. .param_len = 21,
  677. .m =
  678. "\x8d\xd6\xb8\x3e\xe5\xff\x23\xf6\x25\xa2\x43\x42\x74\x45\xa7\x40"
  679. "\x3a\xff\x2f\xe1\xd3\xf6\x9f\xe8\x33\xcb\x12\x11",
  680. .m_size = 28,
  681. .algo = OID_id_ecdsa_with_sha224,
  682. .c =
  683. "\x30\x34\x02\x18\x5a\x8b\x82\x69\x7e\x8a\x0a\x09\x14\xf8\x11\x2b"
  684. "\x55\xdc\xae\x37\x83\x7b\x12\xe6\xb6\x5b\xcb\xd4\x02\x18\x6a\x14"
  685. "\x4f\x53\x75\xc8\x02\x48\xeb\xc3\x92\x0f\x1e\x72\xee\xc4\xa3\xe3"
  686. "\x5c\x99\xdb\x92\x5b\x36",
  687. .c_size = 54,
  688. .public_key_vec = true,
  689. .siggen_sigver_test = true,
  690. }, {
  691. .key =
  692. "\x04\xe2\x51\x24\x9b\xf7\xb6\x32\x82\x39\x66\x3d\x5b\xec\x3b\xae"
  693. "\x0c\xd5\xf2\x67\xd1\xc7\xe1\x02\xe4\xbf\x90\x62\xb8\x55\x75\x56"
  694. "\x69\x20\x5e\xcb\x4e\xca\x33\xd6\xcb\x62\x6b\x94\xa9\xa2\xe9\x58"
  695. "\x91",
  696. .key_len = 49,
  697. .params =
  698. "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
  699. "\xce\x3d\x03\x01\x01",
  700. .param_len = 21,
  701. .m =
  702. "\x35\xec\xa1\xa0\x9e\x14\xde\x33\x03\xb6\xf6\xbd\x0c\x2f\xb2\xfd"
  703. "\x1f\x27\x82\xa5\xd7\x70\x3f\xef\xa0\x82\x69\x8e\x73\x31\x8e\xd7",
  704. .m_size = 32,
  705. .algo = OID_id_ecdsa_with_sha256,
  706. .c =
  707. "\x30\x35\x02\x18\x3f\x72\x3f\x1f\x42\xd2\x3f\x1d\x6b\x1a\x58\x56"
  708. "\xf1\x8f\xf7\xfd\x01\x48\xfb\x5f\x72\x2a\xd4\x8f\x02\x19\x00\xb3"
  709. "\x69\x43\xfd\x48\x19\x86\xcf\x32\xdd\x41\x74\x6a\x51\xc7\xd9\x7d"
  710. "\x3a\x97\xd9\xcd\x1a\x6a\x49",
  711. .c_size = 55,
  712. .public_key_vec = true,
  713. .siggen_sigver_test = true,
  714. }, {
  715. .key =
  716. "\x04\x5a\x13\xfe\x68\x86\x4d\xf4\x17\xc7\xa4\xe5\x8c\x65\x57\xb7"
  717. "\x03\x73\x26\x57\xfb\xe5\x58\x40\xd8\xfd\x49\x05\xab\xf1\x66\x1f"
  718. "\xe2\x9d\x93\x9e\xc2\x22\x5a\x8b\x4f\xf3\x77\x22\x59\x7e\xa6\x4e"
  719. "\x8b",
  720. .key_len = 49,
  721. .params =
  722. "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
  723. "\xce\x3d\x03\x01\x01",
  724. .param_len = 21,
  725. .m =
  726. "\x9d\x2e\x1a\x8f\xed\x6c\x4b\x61\xae\xac\xd5\x19\x79\xce\x67\xf9"
  727. "\xa0\x34\xeb\xb0\x81\xf9\xd9\xdc\x6e\xb3\x5c\xa8\x69\xfc\x8a\x61"
  728. "\x39\x81\xfb\xfd\x5c\x30\x6b\xa8\xee\xed\x89\xaf\xa3\x05\xe4\x78",
  729. .m_size = 48,
  730. .algo = OID_id_ecdsa_with_sha384,
  731. .c =
  732. "\x30\x35\x02\x19\x00\xf0\xa3\x38\xce\x2b\xf8\x9d\x1a\xcf\x7f\x34"
  733. "\xb4\xb4\xe5\xc5\x00\xdd\x15\xbb\xd6\x8c\xa7\x03\x78\x02\x18\x64"
  734. "\xbc\x5a\x1f\x82\x96\x61\xd7\xd1\x01\x77\x44\x5d\x53\xa4\x7c\x93"
  735. "\x12\x3b\x3b\x28\xfb\x6d\xe1",
  736. .c_size = 55,
  737. .public_key_vec = true,
  738. .siggen_sigver_test = true,
  739. }, {
  740. .key =
  741. "\x04\xd5\xf2\x6e\xc3\x94\x5c\x52\xbc\xdf\x86\x6c\x14\xd1\xca\xea"
  742. "\xcc\x72\x3a\x8a\xf6\x7a\x3a\x56\x36\x3b\xca\xc6\x94\x0e\x17\x1d"
  743. "\x9e\xa0\x58\x28\xf9\x4b\xe6\xd1\xa5\x44\x91\x35\x0d\xe7\xf5\x11"
  744. "\x57",
  745. .key_len = 49,
  746. .params =
  747. "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
  748. "\xce\x3d\x03\x01\x01",
  749. .param_len = 21,
  750. .m =
  751. "\xd5\x4b\xe9\x36\xda\xd8\x6e\xc0\x50\x03\xbe\x00\x43\xff\xf0\x23"
  752. "\xac\xa2\x42\xe7\x37\x77\x79\x52\x8f\x3e\xc0\x16\xc1\xfc\x8c\x67"
  753. "\x16\xbc\x8a\x5d\x3b\xd3\x13\xbb\xb6\xc0\x26\x1b\xeb\x33\xcc\x70"
  754. "\x4a\xf2\x11\x37\xe8\x1b\xba\x55\xac\x69\xe1\x74\x62\x7c\x6e\xb5",
  755. .m_size = 64,
  756. .algo = OID_id_ecdsa_with_sha512,
  757. .c =
  758. "\x30\x35\x02\x19\x00\x88\x5b\x8f\x59\x43\xbf\xcf\xc6\xdd\x3f\x07"
  759. "\x87\x12\xa0\xd4\xac\x2b\x11\x2d\x1c\xb6\x06\xc9\x6c\x02\x18\x73"
  760. "\xb4\x22\x9a\x98\x73\x3c\x83\xa9\x14\x2a\x5e\xf5\xe5\xfb\x72\x28"
  761. "\x6a\xdf\x97\xfd\x82\x76\x24",
  762. .c_size = 55,
  763. .public_key_vec = true,
  764. .siggen_sigver_test = true,
  765. },
  766. };
  767. static const struct akcipher_testvec ecdsa_nist_p256_tv_template[] = {
  768. {
  769. .key =
  770. "\x04\xb9\x7b\xbb\xd7\x17\x64\xd2\x7e\xfc\x81\x5d\x87\x06\x83\x41"
  771. "\x22\xd6\x9a\xaa\x87\x17\xec\x4f\x63\x55\x2f\x94\xba\xdd\x83\xe9"
  772. "\x34\x4b\xf3\xe9\x91\x13\x50\xb6\xcb\xca\x62\x08\xe7\x3b\x09\xdc"
  773. "\xc3\x63\x4b\x2d\xb9\x73\x53\xe4\x45\xe6\x7c\xad\xe7\x6b\xb0\xe8"
  774. "\xaf",
  775. .key_len = 65,
  776. .params =
  777. "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
  778. "\xce\x3d\x03\x01\x07",
  779. .param_len = 21,
  780. .m =
  781. "\xc2\x2b\x5f\x91\x78\x34\x26\x09\x42\x8d\x6f\x51\xb2\xc5\xaf\x4c"
  782. "\x0b\xde\x6a\x42",
  783. .m_size = 20,
  784. .algo = OID_id_ecdsa_with_sha1,
  785. .c =
  786. "\x30\x46\x02\x21\x00\xf9\x25\xce\x9f\x3a\xa6\x35\x81\xcf\xd4\xe7"
  787. "\xb7\xf0\x82\x56\x41\xf7\xd4\xad\x8d\x94\x5a\x69\x89\xee\xca\x6a"
  788. "\x52\x0e\x48\x4d\xcc\x02\x21\x00\xd7\xe4\xef\x52\x66\xd3\x5b\x9d"
  789. "\x8a\xfa\x54\x93\x29\xa7\x70\x86\xf1\x03\x03\xf3\x3b\xe2\x73\xf7"
  790. "\xfb\x9d\x8b\xde\xd4\x8d\x6f\xad",
  791. .c_size = 72,
  792. .public_key_vec = true,
  793. .siggen_sigver_test = true,
  794. }, {
  795. .key =
  796. "\x04\x8b\x6d\xc0\x33\x8e\x2d\x8b\x67\xf5\xeb\xc4\x7f\xa0\xf5\xd9"
  797. "\x7b\x03\xa5\x78\x9a\xb5\xea\x14\xe4\x23\xd0\xaf\xd7\x0e\x2e\xa0"
  798. "\xc9\x8b\xdb\x95\xf8\xb3\xaf\xac\x00\x2c\x2c\x1f\x7a\xfd\x95\x88"
  799. "\x43\x13\xbf\xf3\x1c\x05\x1a\x14\x18\x09\x3f\xd6\x28\x3e\xc5\xa0"
  800. "\xd4",
  801. .key_len = 65,
  802. .params =
  803. "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
  804. "\xce\x3d\x03\x01\x07",
  805. .param_len = 21,
  806. .m =
  807. "\x1a\x15\xbc\xa3\xe4\xed\x3a\xb8\x23\x67\xc6\xc4\x34\xf8\x6c\x41"
  808. "\x04\x0b\xda\xc5\x77\xfa\x1c\x2d\xe6\x2c\x3b\xe0",
  809. .m_size = 28,
  810. .algo = OID_id_ecdsa_with_sha224,
  811. .c =
  812. "\x30\x44\x02\x20\x20\x43\xfa\xc0\x9f\x9d\x7b\xe7\xae\xce\x77\x59"
  813. "\x1a\xdb\x59\xd5\x34\x62\x79\xcb\x6a\x91\x67\x2e\x7d\x25\xd8\x25"
  814. "\xf5\x81\xd2\x1e\x02\x20\x5f\xf8\x74\xf8\x57\xd0\x5e\x54\x76\x20"
  815. "\x4a\x77\x22\xec\xc8\x66\xbf\x50\x05\x58\x39\x0e\x26\x92\xce\xd5"
  816. "\x2e\x8b\xde\x5a\x04\x0e",
  817. .c_size = 70,
  818. .public_key_vec = true,
  819. .siggen_sigver_test = true,
  820. }, {
  821. .key =
  822. "\x04\xf1\xea\xc4\x53\xf3\xb9\x0e\x9f\x7e\xad\xe3\xea\xd7\x0e\x0f"
  823. "\xd6\x98\x9a\xca\x92\x4d\x0a\x80\xdb\x2d\x45\xc7\xec\x4b\x97\x00"
  824. "\x2f\xe9\x42\x6c\x29\xdc\x55\x0e\x0b\x53\x12\x9b\x2b\xad\x2c\xe9"
  825. "\x80\xe6\xc5\x43\xc2\x1d\x5e\xbb\x65\x21\x50\xb6\x37\xb0\x03\x8e"
  826. "\xb8",
  827. .key_len = 65,
  828. .params =
  829. "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
  830. "\xce\x3d\x03\x01\x07",
  831. .param_len = 21,
  832. .m =
  833. "\x8f\x43\x43\x46\x64\x8f\x6b\x96\xdf\x89\xdd\xa9\x01\xc5\x17\x6b"
  834. "\x10\xa6\xd8\x39\x61\xdd\x3c\x1a\xc8\x8b\x59\xb2\xdc\x32\x7a\xa4",
  835. .m_size = 32,
  836. .algo = OID_id_ecdsa_with_sha256,
  837. .c =
  838. "\x30\x45\x02\x20\x08\x31\xfa\x74\x0d\x1d\x21\x5d\x09\xdc\x29\x63"
  839. "\xa8\x1a\xad\xfc\xac\x44\xc3\xe8\x24\x11\x2d\xa4\x91\xdc\x02\x67"
  840. "\xdc\x0c\xd0\x82\x02\x21\x00\xbd\xff\xce\xee\x42\xc3\x97\xff\xf9"
  841. "\xa9\x81\xac\x4a\x50\xd0\x91\x0a\x6e\x1b\xc4\xaf\xe1\x83\xc3\x4f"
  842. "\x2a\x65\x35\x23\xe3\x1d\xfa",
  843. .c_size = 71,
  844. .public_key_vec = true,
  845. .siggen_sigver_test = true,
  846. }, {
  847. .key =
  848. "\x04\xc5\xc6\xea\x60\xc9\xce\xad\x02\x8d\xf5\x3e\x24\xe3\x52\x1d"
  849. "\x28\x47\x3b\xc3\x6b\xa4\x99\x35\x99\x11\x88\x88\xc8\xf4\xee\x7e"
  850. "\x8c\x33\x8f\x41\x03\x24\x46\x2b\x1a\x82\xf9\x9f\xe1\x97\x1b\x00"
  851. "\xda\x3b\x24\x41\xf7\x66\x33\x58\x3d\x3a\x81\xad\xcf\x16\xe9\xe2"
  852. "\x7c",
  853. .key_len = 65,
  854. .params =
  855. "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
  856. "\xce\x3d\x03\x01\x07",
  857. .param_len = 21,
  858. .m =
  859. "\x3e\x78\x70\xfb\xcd\x66\xba\x91\xa1\x79\xff\x1e\x1c\x6b\x78\xe6"
  860. "\xc0\x81\x3a\x65\x97\x14\x84\x36\x14\x1a\x9a\xb7\xc5\xab\x84\x94"
  861. "\x5e\xbb\x1b\x34\x71\xcb\x41\xe1\xf6\xfc\x92\x7b\x34\xbb\x86\xbb",
  862. .m_size = 48,
  863. .algo = OID_id_ecdsa_with_sha384,
  864. .c =
  865. "\x30\x46\x02\x21\x00\x8e\xf3\x6f\xdc\xf8\x69\xa6\x2e\xd0\x2e\x95"
  866. "\x54\xd1\x95\x64\x93\x08\xb2\x6b\x24\x94\x48\x46\x5e\xf2\xe4\x6c"
  867. "\xc7\x94\xb1\xd5\xfe\x02\x21\x00\xeb\xa7\x80\x26\xdc\xf9\x3a\x44"
  868. "\x19\xfb\x5f\x92\xf4\xc9\x23\x37\x69\xf4\x3b\x4f\x47\xcf\x9b\x16"
  869. "\xc0\x60\x11\x92\xdc\x17\x89\x12",
  870. .c_size = 72,
  871. .public_key_vec = true,
  872. .siggen_sigver_test = true,
  873. }, {
  874. .key =
  875. "\x04\xd7\x27\x46\x49\xf6\x26\x85\x12\x40\x76\x8e\xe2\xe6\x2a\x7a"
  876. "\x83\xb1\x4e\x7a\xeb\x3b\x5c\x67\x4a\xb5\xa4\x92\x8c\x69\xff\x38"
  877. "\xee\xd9\x4e\x13\x29\x59\xad\xde\x6b\xbb\x45\x31\xee\xfd\xd1\x1b"
  878. "\x64\xd3\xb5\xfc\xaf\x9b\x4b\x88\x3b\x0e\xb7\xd6\xdf\xf1\xd5\x92"
  879. "\xbf",
  880. .key_len = 65,
  881. .params =
  882. "\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48"
  883. "\xce\x3d\x03\x01\x07",
  884. .param_len = 21,
  885. .m =
  886. "\x57\xb7\x9e\xe9\x05\x0a\x8c\x1b\xc9\x13\xe5\x4a\x24\xc7\xe2\xe9"
  887. "\x43\xc3\xd1\x76\x62\xf4\x98\x1a\x9c\x13\xb0\x20\x1b\xe5\x39\xca"
  888. "\x4f\xd9\x85\x34\x95\xa2\x31\xbc\xbb\xde\xdd\x76\xbb\x61\xe3\xcf"
  889. "\x9d\xc0\x49\x7a\xf3\x7a\xc4\x7d\xa8\x04\x4b\x8d\xb4\x4d\x5b\xd6",
  890. .m_size = 64,
  891. .algo = OID_id_ecdsa_with_sha512,
  892. .c =
  893. "\x30\x45\x02\x21\x00\xb8\x6d\x87\x81\x43\xdf\xfb\x9f\x40\xea\x44"
  894. "\x81\x00\x4e\x29\x08\xed\x8c\x73\x30\x6c\x22\xb3\x97\x76\xf6\x04"
  895. "\x99\x09\x37\x4d\xfa\x02\x20\x1e\xb9\x75\x31\xf6\x04\xa5\x4d\xf8"
  896. "\x00\xdd\xab\xd4\xc0\x2b\xe6\x5c\xad\xc3\x78\x1c\xc2\xc1\x19\x76"
  897. "\x31\x79\x4a\xe9\x81\x6a\xee",
  898. .c_size = 71,
  899. .public_key_vec = true,
  900. .siggen_sigver_test = true,
  901. },
  902. };
  903. static const struct akcipher_testvec ecdsa_nist_p384_tv_template[] = {
  904. {
  905. .key = /* secp384r1(sha1) */
  906. "\x04\x89\x25\xf3\x97\x88\xcb\xb0\x78\xc5\x72\x9a\x14\x6e\x7a\xb1"
  907. "\x5a\xa5\x24\xf1\x95\x06\x9e\x28\xfb\xc4\xb9\xbe\x5a\x0d\xd9\x9f"
  908. "\xf3\xd1\x4d\x2d\x07\x99\xbd\xda\xa7\x66\xec\xbb\xea\xba\x79\x42"
  909. "\xc9\x34\x89\x6a\xe7\x0b\xc3\xf2\xfe\x32\x30\xbe\xba\xf9\xdf\x7e"
  910. "\x4b\x6a\x07\x8e\x26\x66\x3f\x1d\xec\xa2\x57\x91\x51\xdd\x17\x0e"
  911. "\x0b\x25\xd6\x80\x5c\x3b\xe6\x1a\x98\x48\x91\x45\x7a\x73\xb0\xc3"
  912. "\xf1",
  913. .key_len = 97,
  914. .params =
  915. "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
  916. "\x00\x22",
  917. .param_len = 18,
  918. .m =
  919. "\x12\x55\x28\xf0\x77\xd5\xb6\x21\x71\x32\x48\xcd\x28\xa8\x25\x22"
  920. "\x3a\x69\xc1\x93",
  921. .m_size = 20,
  922. .algo = OID_id_ecdsa_with_sha1,
  923. .c =
  924. "\x30\x66\x02\x31\x00\xf5\x0f\x24\x4c\x07\x93\x6f\x21\x57\x55\x07"
  925. "\x20\x43\x30\xde\xa0\x8d\x26\x8e\xae\x63\x3f\xbc\x20\x3a\xc6\xf1"
  926. "\x32\x3c\xce\x70\x2b\x78\xf1\x4c\x26\xe6\x5b\x86\xcf\xec\x7c\x7e"
  927. "\xd0\x87\xd7\xd7\x6e\x02\x31\x00\xcd\xbb\x7e\x81\x5d\x8f\x63\xc0"
  928. "\x5f\x63\xb1\xbe\x5e\x4c\x0e\xa1\xdf\x28\x8c\x1b\xfa\xf9\x95\x88"
  929. "\x74\xa0\x0f\xbf\xaf\xc3\x36\x76\x4a\xa1\x59\xf1\x1c\xa4\x58\x26"
  930. "\x79\x12\x2a\xb7\xc5\x15\x92\xc5",
  931. .c_size = 104,
  932. .public_key_vec = true,
  933. .siggen_sigver_test = true,
  934. }, {
  935. .key = /* secp384r1(sha224) */
  936. "\x04\x69\x6c\xcf\x62\xee\xd0\x0d\xe5\xb5\x2f\x70\x54\xcf\x26\xa0"
  937. "\xd9\x98\x8d\x92\x2a\xab\x9b\x11\xcb\x48\x18\xa1\xa9\x0d\xd5\x18"
  938. "\x3e\xe8\x29\x6e\xf6\xe4\xb5\x8e\xc7\x4a\xc2\x5f\x37\x13\x99\x05"
  939. "\xb6\xa4\x9d\xf9\xfb\x79\x41\xe7\xd7\x96\x9f\x73\x3b\x39\x43\xdc"
  940. "\xda\xf4\x06\xb9\xa5\x29\x01\x9d\x3b\xe1\xd8\x68\x77\x2a\xf4\x50"
  941. "\x6b\x93\x99\x6c\x66\x4c\x42\x3f\x65\x60\x6c\x1c\x0b\x93\x9b\x9d"
  942. "\xe0",
  943. .key_len = 97,
  944. .params =
  945. "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
  946. "\x00\x22",
  947. .param_len = 18,
  948. .m =
  949. "\x12\x80\xb6\xeb\x25\xe2\x3d\xf0\x21\x32\x96\x17\x3a\x38\x39\xfd"
  950. "\x1f\x05\x34\x7b\xb8\xf9\x71\x66\x03\x4f\xd5\xe5",
  951. .m_size = 28,
  952. .algo = OID_id_ecdsa_with_sha224,
  953. .c =
  954. "\x30\x66\x02\x31\x00\x8a\x51\x84\xce\x13\x1e\xd2\xdc\xec\xcb\xe4"
  955. "\x89\x47\xb2\xf7\xbc\x97\xf1\xc8\x72\x26\xcf\x5a\x5e\xc5\xda\xb4"
  956. "\xe3\x93\x07\xe0\x99\xc9\x9c\x11\xb8\x10\x01\xc5\x41\x3f\xdd\x15"
  957. "\x1b\x68\x2b\x9d\x8b\x02\x31\x00\x8b\x03\x2c\xfc\x1f\xd1\xa9\xa4"
  958. "\x4b\x00\x08\x31\x6c\xf5\xd5\xf6\xdf\xd8\x68\xa2\x64\x42\x65\xf3"
  959. "\x4d\xd0\xc6\x6e\xb0\xe9\xfc\x14\x9f\x19\xd0\x42\x8b\x93\xc2\x11"
  960. "\x88\x2b\x82\x26\x5e\x1c\xda\xfb",
  961. .c_size = 104,
  962. .public_key_vec = true,
  963. .siggen_sigver_test = true,
  964. }, {
  965. .key = /* secp384r1(sha256) */
  966. "\x04\xee\xd6\xda\x3e\x94\x90\x00\x27\xed\xf8\x64\x55\xd6\x51\x9a"
  967. "\x1f\x52\x00\x63\x78\xf1\xa9\xfd\x75\x4c\x9e\xb2\x20\x1a\x91\x5a"
  968. "\xba\x7a\xa3\xe5\x6c\xb6\x25\x68\x4b\xe8\x13\xa6\x54\x87\x2c\x0e"
  969. "\xd0\x83\x95\xbc\xbf\xc5\x28\x4f\x77\x1c\x46\xa6\xf0\xbc\xd4\xa4"
  970. "\x8d\xc2\x8f\xb3\x32\x37\x40\xd6\xca\xf8\xae\x07\x34\x52\x39\x52"
  971. "\x17\xc3\x34\x29\xd6\x40\xea\x5c\xb9\x3f\xfb\x32\x2e\x12\x33\xbc"
  972. "\xab",
  973. .key_len = 97,
  974. .params =
  975. "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
  976. "\x00\x22",
  977. .param_len = 18,
  978. .m =
  979. "\xaa\xe7\xfd\x03\x26\xcb\x94\x71\xe4\xce\x0f\xc5\xff\xa6\x29\xa3"
  980. "\xe1\xcc\x4c\x35\x4e\xde\xca\x80\xab\x26\x0c\x25\xe6\x68\x11\xc2",
  981. .m_size = 32,
  982. .algo = OID_id_ecdsa_with_sha256,
  983. .c =
  984. "\x30\x64\x02\x30\x08\x09\x12\x9d\x6e\x96\x64\xa6\x8e\x3f\x7e\xce"
  985. "\x0a\x9b\xaa\x59\xcc\x47\x53\x87\xbc\xbd\x83\x3f\xaf\x06\x3f\x84"
  986. "\x04\xe2\xf9\x67\xb6\xc6\xfc\x70\x2e\x66\x3c\x77\xc8\x8d\x2c\x79"
  987. "\x3a\x8e\x32\xc4\x02\x30\x40\x34\xb8\x90\xa9\x80\xab\x47\x26\xa2"
  988. "\xb0\x89\x42\x0a\xda\xd9\xdd\xce\xbc\xb2\x97\xf4\x9c\xf3\x15\x68"
  989. "\xc0\x75\x3e\x23\x5e\x36\x4f\x8d\xde\x1e\x93\x8d\x95\xbb\x10\x0e"
  990. "\xf4\x1f\x39\xca\x4d\x43",
  991. .c_size = 102,
  992. .public_key_vec = true,
  993. .siggen_sigver_test = true,
  994. }, {
  995. .key = /* secp384r1(sha384) */
  996. "\x04\x3a\x2f\x62\xe7\x1a\xcf\x24\xd0\x0b\x7c\xe0\xed\x46\x0a\x4f"
  997. "\x74\x16\x43\xe9\x1a\x25\x7c\x55\xff\xf0\x29\x68\x66\x20\x91\xf9"
  998. "\xdb\x2b\xf6\xb3\x6c\x54\x01\xca\xc7\x6a\x5c\x0d\xeb\x68\xd9\x3c"
  999. "\xf1\x01\x74\x1f\xf9\x6c\xe5\x5b\x60\xe9\x7f\x5d\xb3\x12\x80\x2a"
  1000. "\xd8\x67\x92\xc9\x0e\x4c\x4c\x6b\xa1\xb2\xa8\x1e\xac\x1c\x97\xd9"
  1001. "\x21\x67\xe5\x1b\x5a\x52\x31\x68\xd6\xee\xf0\x19\xb0\x55\xed\x89"
  1002. "\x9e",
  1003. .key_len = 97,
  1004. .params =
  1005. "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
  1006. "\x00\x22",
  1007. .param_len = 18,
  1008. .m =
  1009. "\x8d\xf2\xc0\xe9\xa8\xf3\x8e\x44\xc4\x8c\x1a\xa0\xb8\xd7\x17\xdf"
  1010. "\xf2\x37\x1b\xc6\xe3\xf5\x62\xcc\x68\xf5\xd5\x0b\xbf\x73\x2b\xb1"
  1011. "\xb0\x4c\x04\x00\x31\xab\xfe\xc8\xd6\x09\xc8\xf2\xea\xd3\x28\xff",
  1012. .m_size = 48,
  1013. .algo = OID_id_ecdsa_with_sha384,
  1014. .c =
  1015. "\x30\x66\x02\x31\x00\x9b\x28\x68\xc0\xa1\xea\x8c\x50\xee\x2e\x62"
  1016. "\x35\x46\xfa\x00\xd8\x2d\x7a\x91\x5f\x49\x2d\x22\x08\x29\xe6\xfb"
  1017. "\xca\x8c\xd6\xb6\xb4\x3b\x1f\x07\x8f\x15\x02\xfe\x1d\xa2\xa4\xc8"
  1018. "\xf2\xea\x9d\x11\x1f\x02\x31\x00\xfc\x50\xf6\x43\xbd\x50\x82\x0e"
  1019. "\xbf\xe3\x75\x24\x49\xac\xfb\xc8\x71\xcd\x8f\x18\x99\xf0\x0f\x13"
  1020. "\x44\x92\x8c\x86\x99\x65\xb3\x97\x96\x17\x04\xc9\x05\x77\xf1\x8e"
  1021. "\xab\x8d\x4e\xde\xe6\x6d\x9b\x66",
  1022. .c_size = 104,
  1023. .public_key_vec = true,
  1024. .siggen_sigver_test = true,
  1025. }, {
  1026. .key = /* secp384r1(sha512) */
  1027. "\x04\xb4\xe7\xc1\xeb\x64\x25\x22\x46\xc3\x86\x61\x80\xbe\x1e\x46"
  1028. "\xcb\xf6\x05\xc2\xee\x73\x83\xbc\xea\x30\x61\x4d\x40\x05\x41\xf4"
  1029. "\x8c\xe3\x0e\x5c\xf0\x50\xf2\x07\x19\xe8\x4f\x25\xbe\xee\x0c\x95"
  1030. "\x54\x36\x86\xec\xc2\x20\x75\xf3\x89\xb5\x11\xa1\xb7\xf5\xaf\xbe"
  1031. "\x81\xe4\xc3\x39\x06\xbd\xe4\xfe\x68\x1c\x6d\x99\x2b\x1b\x63\xfa"
  1032. "\xdf\x42\x5c\xc2\x5a\xc7\x0c\xf4\x15\xf7\x1b\xa3\x2e\xd7\x00\xac"
  1033. "\xa3",
  1034. .key_len = 97,
  1035. .params =
  1036. "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
  1037. "\x00\x22",
  1038. .param_len = 18,
  1039. .m =
  1040. "\xe8\xb7\x52\x7d\x1a\x44\x20\x05\x53\x6b\x3a\x68\xf2\xe7\x6c\xa1"
  1041. "\xae\x9d\x84\xbb\xba\x52\x43\x3e\x2c\x42\x78\x49\xbf\x78\xb2\x71"
  1042. "\xeb\xe1\xe0\xe8\x42\x7b\x11\xad\x2b\x99\x05\x1d\x36\xe6\xac\xfc"
  1043. "\x55\x73\xf0\x15\x63\x39\xb8\x6a\x6a\xc5\x91\x5b\xca\x6a\xa8\x0e",
  1044. .m_size = 64,
  1045. .algo = OID_id_ecdsa_with_sha512,
  1046. .c =
  1047. "\x30\x63\x02\x2f\x1d\x20\x94\x77\xfe\x31\xfa\x4d\xc6\xef\xda\x02"
  1048. "\xe7\x0f\x52\x9a\x02\xde\x93\xe8\x83\xe4\x84\x4c\xfc\x6f\x80\xe3"
  1049. "\xaf\xb3\xd9\xdc\x2b\x43\x0e\x6a\xb3\x53\x6f\x3e\xb3\xc7\xa8\xb3"
  1050. "\x17\x77\xd1\x02\x30\x63\xf6\xf0\x3d\x5f\x5f\x99\x3f\xde\x3a\x3d"
  1051. "\x16\xaf\xb4\x52\x6a\xec\x63\xe3\x0c\xec\x50\xdc\xcc\xc4\x6a\x03"
  1052. "\x5f\x8d\x7a\xf9\xfb\x34\xe4\x8b\x80\xa5\xb6\xda\x2c\x4e\x45\xcf"
  1053. "\x3c\x93\xff\x50\x5d",
  1054. .c_size = 101,
  1055. .public_key_vec = true,
  1056. .siggen_sigver_test = true,
  1057. },
  1058. };
  1059. /*
  1060. * EC-RDSA test vectors are generated by gost-engine.
  1061. */
  1062. static const struct akcipher_testvec ecrdsa_tv_template[] = {
  1063. {
  1064. .key =
  1065. "\x04\x40\xd5\xa7\x77\xf9\x26\x2f\x8c\xbd\xcc\xe3\x1f\x01\x94\x05"
  1066. "\x3d\x2f\xec\xb5\x00\x34\xf5\x51\x6d\x3b\x90\x4b\x23\x28\x6f\x1d"
  1067. "\xc8\x36\x61\x60\x36\xec\xbb\xb4\x0b\x95\x4e\x54\x4f\x15\x21\x05"
  1068. "\xd8\x52\x66\x44\x31\x7e\x5d\xc5\xd1\x26\x00\x5f\x60\xd8\xf0\xc7"
  1069. "\x27\xfc",
  1070. .key_len = 66,
  1071. .params = /* OID_gostCPSignA */
  1072. "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x01\x06\x08\x2a\x85\x03"
  1073. "\x07\x01\x01\x02\x02",
  1074. .param_len = 21,
  1075. .c =
  1076. "\x41\x32\x09\x73\xa4\xc1\x38\xd6\x63\x7d\x8b\xf7\x50\x3f\xda\x9f"
  1077. "\x68\x48\xc1\x50\xe3\x42\x3a\x9b\x2b\x28\x12\x2a\xa7\xc2\x75\x31"
  1078. "\x65\x77\x8c\x3c\x9e\x0d\x56\xb2\xf9\xdc\x04\x33\x3e\xb0\x9e\xf9"
  1079. "\x74\x4e\x59\xb3\x83\xf2\x91\x27\xda\x5e\xc7\x33\xc0\xc1\x8f\x41",
  1080. .c_size = 64,
  1081. .algo = OID_gost2012PKey256,
  1082. .m =
  1083. "\x75\x1b\x9b\x40\x25\xb9\x96\xd2\x9b\x00\x41\xb3\x58\xbf\x23\x14"
  1084. "\x79\xd2\x76\x64\xa3\xbd\x66\x10\x79\x05\x5a\x06\x42\xec\xb9\xc9",
  1085. .m_size = 32,
  1086. .public_key_vec = true,
  1087. .siggen_sigver_test = true,
  1088. },
  1089. {
  1090. .key =
  1091. "\x04\x40\x66\x6f\xd6\xb7\x06\xd0\xf5\xa5\x6f\x69\x5c\xa5\x13\x45"
  1092. "\x14\xdd\xcb\x12\x9c\x1b\xf5\x28\x64\x7a\x49\x48\x29\x14\x66\x42"
  1093. "\xb8\x1b\x5c\xf9\x56\x6d\x08\x3b\xce\xbb\x62\x2f\xc2\x3c\xc5\x49"
  1094. "\x93\x27\x70\x20\xcc\x79\xeb\xdc\x76\x8e\x48\x6e\x04\x96\xc3\x29"
  1095. "\xa0\x73",
  1096. .key_len = 66,
  1097. .params = /* OID_gostCPSignB */
  1098. "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x02\x06\x08\x2a\x85\x03"
  1099. "\x07\x01\x01\x02\x02",
  1100. .param_len = 21,
  1101. .c =
  1102. "\x45\x6d\x4a\x03\x1d\x5c\x0b\x17\x79\xe7\x19\xdb\xbf\x81\x9f\x82"
  1103. "\xae\x06\xda\xf5\x47\x00\x05\x80\xc3\x16\x06\x9a\x8e\x7c\xb2\x8e"
  1104. "\x7f\x74\xaa\xec\x6b\x7b\x7f\x8b\xc6\x0b\x10\x42\x4e\x91\x2c\xdf"
  1105. "\x7b\x8b\x15\xf4\x9e\x59\x0f\xc7\xa4\x68\x2e\xce\x89\xdf\x84\xe9",
  1106. .c_size = 64,
  1107. .algo = OID_gost2012PKey256,
  1108. .m =
  1109. "\xd0\x54\x00\x27\x6a\xeb\xce\x6c\xf5\xf6\xfb\x57\x18\x18\x21\x13"
  1110. "\x11\x23\x4a\x70\x43\x52\x7a\x68\x11\x65\x45\x37\xbb\x25\xb7\x40",
  1111. .m_size = 32,
  1112. .public_key_vec = true,
  1113. .siggen_sigver_test = true,
  1114. },
  1115. {
  1116. .key =
  1117. "\x04\x40\x05\x91\xa9\x7d\xcb\x87\xdc\x98\xa1\xbf\xff\xdd\x20\x61"
  1118. "\xaa\x58\x3b\x2d\x8e\x9c\x41\x9d\x4f\xc6\x23\x17\xf9\xca\x60\x65"
  1119. "\xbc\x97\x97\xf6\x6b\x24\xe8\xac\xb1\xa7\x61\x29\x3c\x71\xdc\xad"
  1120. "\xcb\x20\xbe\x96\xe8\xf4\x44\x2e\x49\xd5\x2c\xb9\xc9\x3b\x9c\xaa"
  1121. "\xba\x15",
  1122. .key_len = 66,
  1123. .params = /* OID_gostCPSignC */
  1124. "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x03\x06\x08\x2a\x85\x03"
  1125. "\x07\x01\x01\x02\x02",
  1126. .param_len = 21,
  1127. .c =
  1128. "\x3b\x2e\x2e\x74\x74\x47\xda\xea\x93\x90\x6a\xe2\xf5\xf5\xe6\x46"
  1129. "\x11\xfc\xab\xdc\x52\xbc\x58\xdb\x45\x44\x12\x4a\xf7\xd0\xab\xc9"
  1130. "\x73\xba\x64\xab\x0d\xac\x4e\x72\x10\xa8\x04\xf6\x1e\xe0\x48\x6a"
  1131. "\xcd\xe8\xe3\x78\x73\x77\x82\x24\x8d\xf1\xd3\xeb\x4c\x25\x7e\xc0",
  1132. .c_size = 64,
  1133. .algo = OID_gost2012PKey256,
  1134. .m =
  1135. "\x52\x33\xf4\x3f\x7b\x5d\xcf\x20\xee\xe4\x5c\xab\x0b\x3f\x14\xd6"
  1136. "\x9f\x16\xc6\x1c\xb1\x3f\x84\x41\x69\xec\x34\xfd\xf1\xf9\xa3\x39",
  1137. .m_size = 32,
  1138. .public_key_vec = true,
  1139. .siggen_sigver_test = true,
  1140. },
  1141. {
  1142. .key =
  1143. "\x04\x81\x80\x85\x46\x8f\x16\xf8\x7a\x7e\x4a\xc3\x81\x9e\xf1\x6e"
  1144. "\x94\x1e\x5d\x02\x87\xea\xfa\xa0\x0a\x17\x70\x49\x64\xad\x95\x68"
  1145. "\x60\x0a\xf0\x57\x29\x41\x79\x30\x3c\x61\x69\xf2\xa6\x94\x87\x17"
  1146. "\x54\xfa\x97\x2c\xe6\x1e\x0a\xbb\x55\x10\x57\xbe\xf7\xc1\x77\x2b"
  1147. "\x11\x74\x0a\x50\x37\x14\x10\x2a\x45\xfc\x7a\xae\x1c\x4c\xce\x08"
  1148. "\x05\xb7\xa4\x50\xc8\x3d\x39\x3d\xdc\x5c\x8f\x96\x6c\xe7\xfc\x21"
  1149. "\xc3\x2d\x1e\x9f\x11\xb3\xec\x22\x18\x8a\x8c\x08\x6b\x8b\xed\xf5"
  1150. "\xc5\x47\x3c\x7e\x73\x59\x44\x1e\x77\x83\x84\x52\x9e\x3b\x7d\xff"
  1151. "\x9d\x86\x1a",
  1152. .key_len = 131,
  1153. .params = /* OID_gostTC26Sign512A */
  1154. "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x01",
  1155. .param_len = 13,
  1156. .c =
  1157. "\x92\x81\x74\x5f\x95\x48\x38\x87\xd9\x8f\x5e\xc8\x8a\xbb\x01\x4e"
  1158. "\xb0\x75\x3c\x2f\xc7\x5a\x08\x4c\x68\xab\x75\x01\x32\x75\x75\xb5"
  1159. "\x37\xe0\x74\x6d\x94\x84\x31\x2a\x6b\xf4\xf7\xb7\xa7\x39\x7b\x46"
  1160. "\x07\xf0\x98\xbd\x33\x18\xa1\x72\xb2\x6d\x54\xe3\xde\x91\xc2\x2e"
  1161. "\x4f\x6a\xf8\xb7\xec\xa8\x83\xc9\x8f\xd9\xce\x7c\x45\x06\x02\xf4"
  1162. "\x4f\x21\xb5\x24\x3d\xb4\xb5\xd8\x58\x42\xbe\x2d\x29\xae\x93\xc0"
  1163. "\x13\x41\x96\x35\x08\x69\xe8\x36\xc7\xd1\x83\x81\xd7\xca\xfb\xc0"
  1164. "\xd2\xb7\x78\x32\x3e\x30\x1a\x1e\xce\xdc\x34\x35\xc6\xad\x68\x24",
  1165. .c_size = 128,
  1166. .algo = OID_gost2012PKey512,
  1167. .m =
  1168. "\x1f\x70\xb5\xe9\x55\x12\xd6\x88\xcc\x55\xb9\x0c\x7f\xc4\x94\xf2"
  1169. "\x04\x77\x41\x12\x02\xd6\xf1\x1f\x83\x56\xe9\xd6\x5a\x6a\x72\xb9"
  1170. "\x6e\x8e\x24\x2a\x84\xf1\xba\x67\xe8\xbf\xff\xc1\xd3\xde\xfb\xc6"
  1171. "\xa8\xf6\x80\x01\xb9\x27\xac\xd8\x45\x96\x66\xa1\xee\x48\x08\x3f",
  1172. .m_size = 64,
  1173. .public_key_vec = true,
  1174. .siggen_sigver_test = true,
  1175. },
  1176. {
  1177. .key =
  1178. "\x04\x81\x80\x28\xf3\x2b\x92\x04\x32\xea\x66\x20\xde\xa0\x2f\x74"
  1179. "\xbf\x2d\xf7\xb5\x30\x76\xb1\xc8\xee\x38\x9f\xea\xe5\xad\xc6\xa3"
  1180. "\x28\x1e\x51\x3d\x67\xa3\x41\xcc\x6b\x81\xe2\xe2\x9e\x82\xf3\x78"
  1181. "\x56\xd7\x2e\xb2\xb5\xbe\xb4\x50\x21\x05\xe5\x29\x82\xef\x15\x1b"
  1182. "\xc0\xd7\x30\xd6\x2f\x96\xe8\xff\x99\x4c\x25\xcf\x9a\xfc\x54\x30"
  1183. "\xce\xdf\x59\xe9\xc6\x45\xce\xe4\x22\xe8\x01\xd5\xcd\x2f\xaa\x78"
  1184. "\x99\xc6\x04\x1e\x6f\x4c\x25\x6a\x76\xad\xff\x48\xf3\xb3\xb4\xd6"
  1185. "\x14\x5c\x2c\x0e\xea\xa2\x4b\xb9\x7e\x89\x77\x02\x3a\x29\xc8\x16"
  1186. "\x8e\x78\x48",
  1187. .key_len = 131,
  1188. .params = /* OID_gostTC26Sign512B */
  1189. "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x02",
  1190. .param_len = 13,
  1191. .c =
  1192. "\x0a\xed\xb6\x27\xea\xa7\xa6\x7e\x2f\xc1\x02\x21\x74\xce\x27\xd2"
  1193. "\xee\x8a\x92\x4d\xa9\x43\x2d\xa4\x5b\xdc\x23\x02\xfc\x3a\xf3\xb2"
  1194. "\x10\x93\x0b\x40\x1b\x75\x95\x3e\x39\x41\x37\xb9\xab\x51\x09\xeb"
  1195. "\xf1\xb9\x49\x58\xec\x58\xc7\xf9\x2e\xb9\xc9\x40\xf2\x00\x39\x7e"
  1196. "\x3f\xde\x72\xe3\x85\x67\x06\xbe\xd8\xb8\xc1\x81\x1e\xe3\x0a\xfe"
  1197. "\xce\xd3\x77\x92\x56\x8c\x58\xf9\x37\x60\x2d\xe6\x8b\x66\xa3\xdd"
  1198. "\xd2\xf0\xf8\xda\x1b\x20\xbc\x9c\xec\x29\x5d\xd1\x8f\xcc\x37\xd1"
  1199. "\x3b\x8d\xb7\xc1\xe0\xb8\x3b\xef\x14\x1b\x87\xbc\xc1\x03\x9a\x93",
  1200. .c_size = 128,
  1201. .algo = OID_gost2012PKey512,
  1202. .m =
  1203. "\x11\x24\x21\x27\xf2\x42\x9f\xce\x5a\xf9\x01\x70\xe0\x07\x2b\x57"
  1204. "\xfb\x7d\x77\x5e\x74\x66\xe6\xa5\x40\x4c\x1a\x85\x18\xff\xd0\x63"
  1205. "\xe0\x39\xd3\xd6\xe5\x17\xf8\xc3\x4b\xc6\x1c\x33\x1a\xca\xa6\x66"
  1206. "\x6d\xf4\xd2\x45\xc2\x83\xa0\x42\x95\x05\x9d\x89\x8e\x0a\xca\xcc",
  1207. .m_size = 64,
  1208. .public_key_vec = true,
  1209. .siggen_sigver_test = true,
  1210. },
  1211. };
  1212. /*
  1213. * PKCS#1 RSA test vectors. Obtained from CAVS testing.
  1214. */
  1215. static const struct akcipher_testvec pkcs1pad_rsa_tv_template[] = {
  1216. {
  1217. .key =
  1218. "\x30\x82\x04\xa5\x02\x01\x00\x02\x82\x01\x01\x00\xd7\x1e\x77\x82"
  1219. "\x8c\x92\x31\xe7\x69\x02\xa2\xd5\x5c\x78\xde\xa2\x0c\x8f\xfe\x28"
  1220. "\x59\x31\xdf\x40\x9c\x60\x61\x06\xb9\x2f\x62\x40\x80\x76\xcb\x67"
  1221. "\x4a\xb5\x59\x56\x69\x17\x07\xfa\xf9\x4c\xbd\x6c\x37\x7a\x46\x7d"
  1222. "\x70\xa7\x67\x22\xb3\x4d\x7a\x94\xc3\xba\x4b\x7c\x4b\xa9\x32\x7c"
  1223. "\xb7\x38\x95\x45\x64\xa4\x05\xa8\x9f\x12\x7c\x4e\xc6\xc8\x2d\x40"
  1224. "\x06\x30\xf4\x60\xa6\x91\xbb\x9b\xca\x04\x79\x11\x13\x75\xf0\xae"
  1225. "\xd3\x51\x89\xc5\x74\xb9\xaa\x3f\xb6\x83\xe4\x78\x6b\xcd\xf9\x5c"
  1226. "\x4c\x85\xea\x52\x3b\x51\x93\xfc\x14\x6b\x33\x5d\x30\x70\xfa\x50"
  1227. "\x1b\x1b\x38\x81\x13\x8d\xf7\xa5\x0c\xc0\x8e\xf9\x63\x52\x18\x4e"
  1228. "\xa9\xf9\xf8\x5c\x5d\xcd\x7a\x0d\xd4\x8e\x7b\xee\x91\x7b\xad\x7d"
  1229. "\xb4\x92\xd5\xab\x16\x3b\x0a\x8a\xce\x8e\xde\x47\x1a\x17\x01\x86"
  1230. "\x7b\xab\x99\xf1\x4b\x0c\x3a\x0d\x82\x47\xc1\x91\x8c\xbb\x2e\x22"
  1231. "\x9e\x49\x63\x6e\x02\xc1\xc9\x3a\x9b\xa5\x22\x1b\x07\x95\xd6\x10"
  1232. "\x02\x50\xfd\xfd\xd1\x9b\xbe\xab\xc2\xc0\x74\xd7\xec\x00\xfb\x11"
  1233. "\x71\xcb\x7a\xdc\x81\x79\x9f\x86\x68\x46\x63\x82\x4d\xb7\xf1\xe6"
  1234. "\x16\x6f\x42\x63\xf4\x94\xa0\xca\x33\xcc\x75\x13\x02\x03\x01\x00"
  1235. "\x01\x02\x82\x01\x00\x62\xb5\x60\x31\x4f\x3f\x66\x16\xc1\x60\xac"
  1236. "\x47\x2a\xff\x6b\x69\x00\x4a\xb2\x5c\xe1\x50\xb9\x18\x74\xa8\xe4"
  1237. "\xdc\xa8\xec\xcd\x30\xbb\xc1\xc6\xe3\xc6\xac\x20\x2a\x3e\x5e\x8b"
  1238. "\x12\xe6\x82\x08\x09\x38\x0b\xab\x7c\xb3\xcc\x9c\xce\x97\x67\xdd"
  1239. "\xef\x95\x40\x4e\x92\xe2\x44\xe9\x1d\xc1\x14\xfd\xa9\xb1\xdc\x71"
  1240. "\x9c\x46\x21\xbd\x58\x88\x6e\x22\x15\x56\xc1\xef\xe0\xc9\x8d\xe5"
  1241. "\x80\x3e\xda\x7e\x93\x0f\x52\xf6\xf5\xc1\x91\x90\x9e\x42\x49\x4f"
  1242. "\x8d\x9c\xba\x38\x83\xe9\x33\xc2\x50\x4f\xec\xc2\xf0\xa8\xb7\x6e"
  1243. "\x28\x25\x56\x6b\x62\x67\xfe\x08\xf1\x56\xe5\x6f\x0e\x99\xf1\xe5"
  1244. "\x95\x7b\xef\xeb\x0a\x2c\x92\x97\x57\x23\x33\x36\x07\xdd\xfb\xae"
  1245. "\xf1\xb1\xd8\x33\xb7\x96\x71\x42\x36\xc5\xa4\xa9\x19\x4b\x1b\x52"
  1246. "\x4c\x50\x69\x91\xf0\x0e\xfa\x80\x37\x4b\xb5\xd0\x2f\xb7\x44\x0d"
  1247. "\xd4\xf8\x39\x8d\xab\x71\x67\x59\x05\x88\x3d\xeb\x48\x48\x33\x88"
  1248. "\x4e\xfe\xf8\x27\x1b\xd6\x55\x60\x5e\x48\xb7\x6d\x9a\xa8\x37\xf9"
  1249. "\x7a\xde\x1b\xcd\x5d\x1a\x30\xd4\xe9\x9e\x5b\x3c\x15\xf8\x9c\x1f"
  1250. "\xda\xd1\x86\x48\x55\xce\x83\xee\x8e\x51\xc7\xde\x32\x12\x47\x7d"
  1251. "\x46\xb8\x35\xdf\x41\x02\x81\x81\x00\xe4\x4c\xae\xde\x16\xfd\x9f"
  1252. "\x83\x55\x5b\x84\x4a\xcf\x1c\xf1\x37\x95\xad\xca\x29\x7f\x2d\x6e"
  1253. "\x32\x81\xa4\x2b\x26\x14\x96\x1d\x40\x05\xec\x0c\xaf\x3f\x2c\x6f"
  1254. "\x2c\xe8\xbf\x1d\xee\xd0\xb3\xef\x7c\x5b\x9e\x88\x4f\x2a\x8b\x0e"
  1255. "\x4a\xbd\xb7\x8c\xfa\x10\x0e\x3b\xda\x68\xad\x41\x2b\xe4\x96\xfa"
  1256. "\x7f\x80\x52\x5f\x07\x9f\x0e\x3b\x5e\x96\x45\x1a\x13\x2b\x94\xce"
  1257. "\x1f\x07\x69\x85\x35\xfc\x69\x63\x5b\xf8\xf8\x3f\xce\x9d\x40\x1e"
  1258. "\x7c\xad\xfb\x9e\xce\xe0\x01\xf8\xef\x59\x5d\xdc\x00\x79\xab\x8a"
  1259. "\x3f\x80\xa2\x76\x32\x94\xa9\xea\x65\x02\x81\x81\x00\xf1\x38\x60"
  1260. "\x90\x0d\x0c\x2e\x3d\x34\xe5\x90\xea\x21\x43\x1f\x68\x63\x16\x7b"
  1261. "\x25\x8d\xde\x82\x2b\x52\xf8\xa3\xfd\x0f\x39\xe7\xe9\x5e\x32\x75"
  1262. "\x15\x7d\xd0\xc9\xce\x06\xe5\xfb\xa9\xcb\x22\xe5\xdb\x49\x09\xf2"
  1263. "\xe6\xb7\xa5\xa7\x75\x2e\x91\x2d\x2b\x5d\xf1\x48\x61\x45\x43\xd7"
  1264. "\xbd\xfc\x11\x73\xb5\x11\x9f\xb2\x18\x3a\x6f\x36\xa7\xc2\xd3\x18"
  1265. "\x4d\xf0\xc5\x1f\x70\x8c\x9b\xc5\x1d\x95\xa8\x5a\x9e\x8c\xb1\x4b"
  1266. "\x6a\x2a\x84\x76\x2c\xd8\x4f\x47\xb0\x81\x84\x02\x45\xf0\x85\xf8"
  1267. "\x0c\x6d\xa7\x0c\x4d\x2c\xb2\x5b\x81\x70\xfd\x6e\x17\x02\x81\x81"
  1268. "\x00\x8d\x07\xc5\xfa\x92\x4f\x48\xcb\xd3\xdd\xfe\x02\x4c\xa1\x7f"
  1269. "\x6d\xab\xfc\x38\xe7\x9b\x95\xcf\xfe\x49\x51\xc6\x09\xf7\x2b\xa8"
  1270. "\x94\x15\x54\x75\x9d\x88\xb4\x05\x55\xc3\xcd\xd4\x4a\xe4\x08\x53"
  1271. "\xc8\x09\xbd\x0c\x4d\x83\x65\x75\x85\xbc\x5e\xf8\x2a\xbd\xe2\x5d"
  1272. "\x1d\x16\x0e\xf9\x34\x89\x38\xaf\x34\x36\x6c\x2c\x22\x44\x22\x81"
  1273. "\x90\x73\xd9\xea\x3a\xaf\x70\x74\x48\x7c\xc6\xb5\xb0\xdc\xe5\xa9"
  1274. "\xa8\x76\x4b\xbc\xf7\x00\xf3\x4c\x22\x0f\x44\x62\x1d\x40\x0a\x57"
  1275. "\xe2\x5b\xdd\x7c\x7b\x9a\xad\xda\x70\x52\x21\x8a\x4c\xc2\xc3\x98"
  1276. "\x75\x02\x81\x81\x00\xed\x24\x5c\xa2\x21\x81\xa1\x0f\xa1\x2a\x33"
  1277. "\x0e\x49\xc7\x00\x60\x92\x51\x6e\x9d\x9b\xdc\x6d\x22\x04\x7e\xd6"
  1278. "\x51\x19\x9f\xf6\xe3\x91\x2c\x8f\xb8\xa2\x29\x19\xcc\x47\x31\xdf"
  1279. "\xf8\xab\xf0\xd2\x02\x83\xca\x99\x16\xc2\xe2\xc3\x3f\x4b\x99\x83"
  1280. "\xcb\x87\x9e\x86\x66\xc2\x3e\x91\x21\x80\x66\xf3\xd6\xc5\xcd\xb6"
  1281. "\xbb\x64\xef\x22\xcf\x48\x94\x58\xe7\x7e\xd5\x7c\x34\x1c\xb7\xa2"
  1282. "\xd0\x93\xe9\x9f\xb5\x11\x61\xd7\x5f\x37\x0f\x64\x52\x70\x11\x78"
  1283. "\xcc\x08\x77\xeb\xf8\x30\x1e\xb4\x9e\x1b\x4a\xc7\xa8\x33\x51\xe0"
  1284. "\xed\xdf\x53\xf6\xdf\x02\x81\x81\x00\x86\xd9\x4c\xee\x65\x61\xc1"
  1285. "\x19\xa9\xd5\x74\x9b\xd5\xca\xf6\x83\x2b\x06\xb4\x20\xfe\x45\x29"
  1286. "\xe8\xe3\xfa\xe1\x4f\x28\x8e\x63\x2f\x74\xc3\x3a\x5c\x9a\xf5\x9e"
  1287. "\x0e\x0d\xc5\xfe\xa0\x4c\x00\xce\x7b\xa4\x19\x17\x59\xaf\x13\x3a"
  1288. "\x03\x8f\x54\xf5\x60\x39\x2e\xd9\x06\xb3\x7c\xd6\x90\x06\x41\x77"
  1289. "\xf3\x93\xe1\x7a\x01\x41\xc1\x8f\xfe\x4c\x88\x39\xdb\xde\x71\x9e"
  1290. "\x58\xd1\x49\x50\x80\xb2\x5a\x4f\x69\x8b\xb8\xfe\x63\xd4\x42\x3d"
  1291. "\x37\x61\xa8\x4c\xff\xb6\x99\x4c\xf4\x51\xe0\x44\xaa\x69\x79\x3f"
  1292. "\x81\xa4\x61\x3d\x26\xe9\x04\x52\x64",
  1293. .key_len = 1193,
  1294. /*
  1295. * m is SHA256 hash of following message:
  1296. * "\x49\x41\xbe\x0a\x0c\xc9\xf6\x35\x51\xe4\x27\x56\x13\x71\x4b\xd0"
  1297. * "\x36\x92\x84\x89\x1b\xf8\x56\x4a\x72\x61\x14\x69\x4f\x5e\x98\xa5"
  1298. * "\x80\x5a\x37\x51\x1f\xd8\xf5\xb5\x63\xfc\xf4\xb1\xbb\x4d\x33\xa3"
  1299. * "\x1e\xb9\x75\x8b\x9c\xda\x7e\x6d\x3a\x77\x85\xf7\xfc\x4e\xe7\x64"
  1300. * "\x43\x10\x19\xa0\x59\xae\xe0\xad\x4b\xd3\xc4\x45\xf7\xb1\xc2\xc1"
  1301. * "\x65\x01\x41\x39\x5b\x45\x47\xed\x2b\x51\xed\xe3\xd0\x09\x10\xd2"
  1302. * "\x39\x6c\x4a\x3f\xe5\xd2\x20\xe6\xb0\x71\x7d\x5b\xed\x26\x60\xf1"
  1303. * "\xb4\x73\xd1\xdb\x7d\xc4\x19\x91\xee\xf6\x32\x76\xf2\x19\x7d\xb7"
  1304. */
  1305. .m =
  1306. "\x3e\xc8\xa1\x26\x20\x54\x44\x52\x48\x0d\xe5\x66\xf3\xb3\xf5\x04"
  1307. "\xbe\x10\xa8\x48\x94\x22\x2d\xdd\xba\x7a\xb4\x76\x8d\x79\x98\x89",
  1308. .m_size = 32,
  1309. .c =
  1310. "\xc7\xa3\x98\xeb\x43\xd1\x08\xc2\x3d\x78\x45\x04\x70\xc9\x01\xee"
  1311. "\xf8\x85\x37\x7c\x0b\xf9\x19\x70\x5c\x45\x7b\x2f\x3a\x0b\xb7\x8b"
  1312. "\xc4\x0d\x7b\x3a\x64\x0b\x0f\xdb\x78\xa9\x0b\xfd\x8d\x82\xa4\x86"
  1313. "\x39\xbf\x21\xb8\x84\xc4\xce\x9f\xc2\xe8\xb6\x61\x46\x17\xb9\x4e"
  1314. "\x0b\x57\x05\xb4\x4f\xf9\x9c\x93\x2d\x9b\xd5\x48\x1d\x80\x12\xef"
  1315. "\x3a\x77\x7f\xbc\xb5\x8e\x2b\x6b\x7c\xfc\x9f\x8c\x9d\xa2\xc4\x85"
  1316. "\xb0\x87\xe9\x17\x9b\xb6\x23\x62\xd2\xa9\x9f\x57\xe8\xf7\x04\x45"
  1317. "\x24\x3a\x45\xeb\xeb\x6a\x08\x8e\xaf\xc8\xa0\x84\xbc\x5d\x13\x38"
  1318. "\xf5\x17\x8c\xa3\x96\x9b\xa9\x38\x8d\xf0\x35\xad\x32\x8a\x72\x5b"
  1319. "\xdf\x21\xab\x4b\x0e\xa8\x29\xbb\x61\x54\xbf\x05\xdb\x84\x84\xde"
  1320. "\xdd\x16\x36\x31\xda\xf3\x42\x6d\x7a\x90\x22\x9b\x11\x29\xa6\xf8"
  1321. "\x30\x61\xda\xd3\x8b\x54\x1e\x42\xd1\x47\x1d\x6f\xd1\xcd\x42\x0b"
  1322. "\xd1\xe4\x15\x85\x7e\x08\xd6\x59\x64\x4c\x01\x34\x91\x92\x26\xe8"
  1323. "\xb0\x25\x8c\xf8\xf4\xfa\x8b\xc9\x31\x33\x76\x72\xfb\x64\x92\x9f"
  1324. "\xda\x62\x8d\xe1\x2a\x71\x91\x43\x40\x61\x3c\x5a\xbe\x86\xfc\x5b"
  1325. "\xe6\xf9\xa9\x16\x31\x1f\xaf\x25\x6d\xc2\x4a\x23\x6e\x63\x02\xa2",
  1326. .c_size = 256,
  1327. .siggen_sigver_test = true,
  1328. }
  1329. };
  1330. static const struct kpp_testvec dh_tv_template[] = {
  1331. {
  1332. .secret =
  1333. #ifdef __LITTLE_ENDIAN
  1334. "\x01\x00" /* type */
  1335. "\x11\x02" /* len */
  1336. "\x00\x01\x00\x00" /* key_size */
  1337. "\x00\x01\x00\x00" /* p_size */
  1338. "\x01\x00\x00\x00" /* g_size */
  1339. #else
  1340. "\x00\x01" /* type */
  1341. "\x02\x11" /* len */
  1342. "\x00\x00\x01\x00" /* key_size */
  1343. "\x00\x00\x01\x00" /* p_size */
  1344. "\x00\x00\x00\x01" /* g_size */
  1345. #endif
  1346. /* xa */
  1347. "\x44\xc1\x48\x36\xa7\x2b\x6f\x4e\x43\x03\x68\xad\x31\x00\xda\xf3"
  1348. "\x2a\x01\xa8\x32\x63\x5f\x89\x32\x1f\xdf\x4c\xa1\x6a\xbc\x10\x15"
  1349. "\x90\x35\xc9\x26\x41\xdf\x7b\xaa\x56\x56\x3d\x85\x44\xb5\xc0\x8e"
  1350. "\x37\x83\x06\x50\xb3\x5f\x0e\x28\x2c\xd5\x46\x15\xe3\xda\x7d\x74"
  1351. "\x87\x13\x91\x4f\xd4\x2d\xf6\xc7\x5e\x14\x2c\x11\xc2\x26\xb4\x3a"
  1352. "\xe3\xb2\x36\x20\x11\x3b\x22\xf2\x06\x65\x66\xe2\x57\x58\xf8\x22"
  1353. "\x1a\x94\xbd\x2b\x0e\x8c\x55\xad\x61\x23\x45\x2b\x19\x1e\x63\x3a"
  1354. "\x13\x61\xe3\xa0\x79\x70\x3e\x6d\x98\x32\xbc\x7f\x82\xc3\x11\xd8"
  1355. "\xeb\x53\xb5\xfc\xb5\xd5\x3c\x4a\xea\x92\x3e\x01\xce\x15\x65\xd4"
  1356. "\xaa\x85\xc1\x11\x90\x83\x31\x6e\xfe\xe7\x7f\x7d\xed\xab\xf9\x29"
  1357. "\xf8\xc7\xf1\x68\xc6\xb7\xe4\x1f\x2f\x28\xa0\xc9\x1a\x50\x64\x29"
  1358. "\x4b\x01\x6d\x1a\xda\x46\x63\x21\x07\x40\x8c\x8e\x4c\x6f\xb5\xe5"
  1359. "\x12\xf3\xc2\x1b\x48\x27\x5e\x27\x01\xb1\xaa\xed\x68\x9b\x83\x18"
  1360. "\x8f\xb1\xeb\x1f\x04\xd1\x3c\x79\xed\x4b\xf7\x0a\x33\xdc\xe0\xc6"
  1361. "\xd8\x02\x51\x59\x00\x74\x30\x07\x4c\x2d\xac\xe4\x13\xf1\x80\xf0"
  1362. "\xce\xfa\xff\xa9\xce\x29\x46\xdd\x9d\xad\xd1\xc3\xc6\x58\x1a\x63"
  1363. /* p */
  1364. "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
  1365. "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
  1366. "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
  1367. "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
  1368. "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
  1369. "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
  1370. "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
  1371. "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
  1372. "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
  1373. "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
  1374. "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
  1375. "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
  1376. "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
  1377. "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
  1378. "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
  1379. "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
  1380. /* g */
  1381. "\x02",
  1382. .b_public =
  1383. "\x2a\x67\x5c\xfd\x63\x5d\xc0\x97\x0a\x8b\xa2\x1f\xf8\x8a\xcb\x54"
  1384. "\xca\x2f\xd3\x49\x3f\x01\x8e\x87\xfe\xcc\x94\xa0\x3e\xd4\x26\x79"
  1385. "\x9a\x94\x3c\x11\x81\x58\x5c\x60\x3d\xf5\x98\x90\x89\x64\x62\x1f"
  1386. "\xbd\x05\x6d\x2b\xcd\x84\x40\x9b\x4a\x1f\xe0\x19\xf1\xca\x20\xb3"
  1387. "\x4e\xa0\x4f\x15\xcc\xa5\xfe\xa5\xb4\xf5\x0b\x18\x7a\x5a\x37\xaa"
  1388. "\x58\x00\x19\x7f\xe2\xa3\xd9\x1c\x44\x57\xcc\xde\x2e\xc1\x38\xea"
  1389. "\xeb\xe3\x90\x40\xc4\x6c\xf7\xcd\xe9\x22\x50\x71\xf5\x7c\xdb\x37"
  1390. "\x0e\x80\xc3\xed\x7e\xb1\x2b\x2f\xbe\x71\xa6\x11\xa5\x9d\xf5\x39"
  1391. "\xf1\xa2\xe5\x85\xbc\x25\x91\x4e\x84\x8d\x26\x9f\x4f\xe6\x0f\xa6"
  1392. "\x2b\x6b\xf9\x0d\xaf\x6f\xbb\xfa\x2d\x79\x15\x31\x57\xae\x19\x60"
  1393. "\x22\x0a\xf5\xfd\x98\x0e\xbf\x5d\x49\x75\x58\x37\xbc\x7f\xf5\x21"
  1394. "\x56\x1e\xd5\xb3\x50\x0b\xca\x96\xf3\xd1\x3f\xb3\x70\xa8\x6d\x63"
  1395. "\x48\xfb\x3d\xd7\x29\x91\x45\xb5\x48\xcd\xb6\x78\x30\xf2\x3f\x1e"
  1396. "\xd6\x22\xd6\x35\x9b\xf9\x1f\x85\xae\xab\x4b\xd7\xe0\xc7\x86\x67"
  1397. "\x3f\x05\x7f\xa6\x0d\x2f\x0d\xbf\x53\x5f\x4d\x2c\x6d\x5e\x57\x40"
  1398. "\x30\x3a\x23\x98\xf9\xb4\x32\xf5\x32\x83\xdd\x0b\xae\x33\x97\x2f",
  1399. .expected_a_public =
  1400. "\x5c\x24\xdf\xeb\x5b\x4b\xf8\xc5\xef\x39\x48\x82\xe0\x1e\x62\xee"
  1401. "\x8a\xae\xdf\x93\x6c\x2b\x16\x95\x92\x16\x3f\x16\x7b\x75\x03\x85"
  1402. "\xd9\xf1\x69\xc2\x14\x87\x45\xfc\xa4\x19\xf6\xf0\xa4\xf3\xec\xd4"
  1403. "\x6c\x5c\x03\x3b\x94\xc2\x2f\x92\xe4\xce\xb3\xe4\x72\xe8\x17\xe6"
  1404. "\x23\x7e\x00\x01\x09\x59\x13\xbf\xc1\x2f\x99\xa9\x07\xaa\x02\x23"
  1405. "\x4a\xca\x39\x4f\xbc\xec\x0f\x27\x4f\x19\x93\x6c\xb9\x30\x52\xfd"
  1406. "\x2b\x9d\x86\xf1\x06\x1e\xb6\x56\x27\x4a\xc9\x8a\xa7\x8a\x48\x5e"
  1407. "\xb5\x60\xcb\xdf\xff\x03\x26\x10\xbf\x90\x8f\x46\x60\xeb\x9b\x9a"
  1408. "\xd6\x6f\x44\x91\x03\x92\x18\x2c\x96\x5e\x40\x19\xfb\xf4\x4f\x3a"
  1409. "\x02\x7b\xaf\xcc\x22\x20\x79\xb9\xf8\x9f\x8f\x85\x6b\xec\x44\xbb"
  1410. "\xe6\xa8\x8e\xb1\xe8\x2c\xee\x64\xee\xf8\xbd\x00\xf3\xe2\x2b\x93"
  1411. "\xcd\xe7\xc4\xdf\xc9\x19\x46\xfe\xb6\x07\x73\xc1\x8a\x64\x79\x26"
  1412. "\xe7\x30\xad\x2a\xdf\xe6\x8f\x59\xf5\x81\xbf\x4a\x29\x91\xe7\xb7"
  1413. "\xcf\x48\x13\x27\x75\x79\x40\xd9\xd6\x32\x52\x4e\x6a\x86\xae\x6f"
  1414. "\xc2\xbf\xec\x1f\xc2\x69\xb2\xb6\x59\xe5\xa5\x17\xa4\x77\xb7\x62"
  1415. "\x46\xde\xe8\xd2\x89\x78\x9a\xef\xa3\xb5\x8f\x26\xec\x80\xda\x39",
  1416. .expected_ss =
  1417. "\x8f\xf3\xac\xa2\xea\x22\x11\x5c\x45\x65\x1a\x77\x75\x2e\xcf\x46"
  1418. "\x23\x14\x1e\x67\x53\x4d\x35\xb0\x38\x1d\x4e\xb9\x41\x9a\x21\x24"
  1419. "\x6e\x9f\x40\xfe\x90\x51\xb1\x06\xa4\x7b\x87\x17\x2f\xe7\x5e\x22"
  1420. "\xf0\x7b\x54\x84\x0a\xac\x0a\x90\xd2\xd7\xe8\x7f\xe7\xe3\x30\x75"
  1421. "\x01\x1f\x24\x75\x56\xbe\xcc\x8d\x1e\x68\x0c\x41\x72\xd3\xfa\xbb"
  1422. "\xe5\x9c\x60\xc7\x28\x77\x0c\xbe\x89\xab\x08\xd6\x21\xe7\x2e\x1a"
  1423. "\x58\x7a\xca\x4f\x22\xf3\x2b\x30\xfd\xf4\x98\xc1\xa3\xf8\xf6\xcc"
  1424. "\xa9\xe4\xdb\x5b\xee\xd5\x5c\x6f\x62\x4c\xd1\x1a\x02\x2a\x23\xe4"
  1425. "\xb5\x57\xf3\xf9\xec\x04\x83\x54\xfe\x08\x5e\x35\xac\xfb\xa8\x09"
  1426. "\x82\x32\x60\x11\xb2\x16\x62\x6b\xdf\xda\xde\x9c\xcb\x63\x44\x6c"
  1427. "\x59\x26\x6a\x8f\xb0\x24\xcb\xa6\x72\x48\x1e\xeb\xe0\xe1\x09\x44"
  1428. "\xdd\xee\x66\x6d\x84\xcf\xa5\xc1\xb8\x36\x74\xd3\x15\x96\xc3\xe4"
  1429. "\xc6\x5a\x4d\x23\x97\x0c\x5c\xcb\xa9\xf5\x29\xc2\x0e\xff\x93\x82"
  1430. "\xd3\x34\x49\xad\x64\xa6\xb1\xc0\x59\x28\x75\x60\xa7\x8a\xb0\x11"
  1431. "\x56\x89\x42\x74\x11\xf5\xf6\x5e\x6f\x16\x54\x6a\xb1\x76\x4d\x50"
  1432. "\x8a\x68\xc1\x5b\x82\xb9\x0d\x00\x32\x50\xed\x88\x87\x48\x92\x17",
  1433. .secret_size = 529,
  1434. .b_public_size = 256,
  1435. .expected_a_public_size = 256,
  1436. .expected_ss_size = 256,
  1437. },
  1438. {
  1439. .secret =
  1440. #ifdef __LITTLE_ENDIAN
  1441. "\x01\x00" /* type */
  1442. "\x11\x02" /* len */
  1443. "\x00\x01\x00\x00" /* key_size */
  1444. "\x00\x01\x00\x00" /* p_size */
  1445. "\x01\x00\x00\x00" /* g_size */
  1446. #else
  1447. "\x00\x01" /* type */
  1448. "\x02\x11" /* len */
  1449. "\x00\x00\x01\x00" /* key_size */
  1450. "\x00\x00\x01\x00" /* p_size */
  1451. "\x00\x00\x00\x01" /* g_size */
  1452. #endif
  1453. /* xa */
  1454. "\x4d\x75\xa8\x6e\xba\x23\x3a\x0c\x63\x56\xc8\xc9\x5a\xa7\xd6\x0e"
  1455. "\xed\xae\x40\x78\x87\x47\x5f\xe0\xa7\x7b\xba\x84\x88\x67\x4e\xe5"
  1456. "\x3c\xcc\x5c\x6a\xe7\x4a\x20\xec\xbe\xcb\xf5\x52\x62\x9f\x37\x80"
  1457. "\x0c\x72\x7b\x83\x66\xa4\xf6\x7f\x95\x97\x1c\x6a\x5c\x7e\xf1\x67"
  1458. "\x37\xb3\x93\x39\x3d\x0b\x55\x35\xd9\xe5\x22\x04\x9f\xf8\xc1\x04"
  1459. "\xce\x13\xa5\xac\xe1\x75\x05\xd1\x2b\x53\xa2\x84\xef\xb1\x18\xf4"
  1460. "\x66\xdd\xea\xe6\x24\x69\x5a\x49\xe0\x7a\xd8\xdf\x1b\xb7\xf1\x6d"
  1461. "\x9b\x50\x2c\xc8\x1c\x1c\xa3\xb4\x37\xfb\x66\x3f\x67\x71\x73\xa9"
  1462. "\xff\x5f\xd9\xa2\x25\x6e\x25\x1b\x26\x54\xbf\x0c\xc6\xdb\xea\x0a"
  1463. "\x52\x6c\x16\x7c\x27\x68\x15\x71\x58\x73\x9d\xe6\xc2\x80\xaa\x97"
  1464. "\x31\x66\xfb\xa6\xfb\xfd\xd0\x9c\x1d\xbe\x81\x48\xf5\x9a\x32\xf1"
  1465. "\x69\x62\x18\x78\xae\x72\x36\xe6\x94\x27\xd1\xff\x18\x4f\x28\x6a"
  1466. "\x16\xbd\x6a\x60\xee\xe5\xf9\x6d\x16\xe4\xb8\xa6\x41\x9b\x23\x7e"
  1467. "\xf7\x9d\xd1\x1d\x03\x15\x66\x3a\xcf\xb6\x2c\x13\x96\x2c\x52\x21"
  1468. "\xe4\x2d\x48\x7a\x8a\x5d\xb2\x88\xed\x98\x61\x79\x8b\x6a\x1e\x5f"
  1469. "\xd0\x8a\x2d\x99\x5a\x2b\x0f\xbc\xef\x53\x8f\x32\xc1\xa2\x99\x26"
  1470. /* p */
  1471. "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
  1472. "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
  1473. "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
  1474. "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
  1475. "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
  1476. "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
  1477. "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
  1478. "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
  1479. "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
  1480. "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
  1481. "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
  1482. "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
  1483. "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
  1484. "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
  1485. "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
  1486. "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
  1487. /* g */
  1488. "\x02",
  1489. .b_public =
  1490. "\x99\x4d\xd9\x01\x84\x8e\x4a\x5b\xb8\xa5\x64\x8c\x6c\x00\x5c\x0e"
  1491. "\x1e\x1b\xee\x5d\x9f\x53\xe3\x16\x70\x01\xed\xbf\x4f\x14\x36\x6e"
  1492. "\xe4\x43\x45\x43\x49\xcc\xb1\xb0\x2a\xc0\x6f\x22\x55\x42\x17\x94"
  1493. "\x18\x83\xd7\x2a\x5c\x51\x54\xf8\x4e\x7c\x10\xda\x76\x68\x57\x77"
  1494. "\x1e\x62\x03\x30\x04\x7b\x4c\x39\x9c\x54\x01\x54\xec\xef\xb3\x55"
  1495. "\xa4\xc0\x24\x6d\x3d\xbd\xcc\x46\x5b\x00\x96\xc7\xea\x93\xd1\x3f"
  1496. "\xf2\x6a\x72\xe3\xf2\xc1\x92\x24\x5b\xda\x48\x70\x2c\xa9\x59\x97"
  1497. "\x19\xb1\xd6\x54\xb3\x9c\x2e\xb0\x63\x07\x9b\x5e\xac\xb5\xf2\xb1"
  1498. "\x5b\xf8\xf3\xd7\x2d\x37\x9b\x68\x6c\xf8\x90\x07\xbc\x37\x9a\xa5"
  1499. "\xe2\x91\x12\x25\x47\x77\xe3\x3d\xb2\x95\x69\x44\x0b\x91\x1e\xaf"
  1500. "\x7c\x8c\x7c\x34\x41\x6a\xab\x60\x6e\xc6\x52\xec\x7e\x94\x0a\x37"
  1501. "\xec\x98\x90\xdf\x3f\x02\xbd\x23\x52\xdd\xd9\xe5\x31\x80\x74\x25"
  1502. "\xb6\xd2\xd3\xcc\xd5\xcc\x6d\xf9\x7e\x4d\x78\xab\x77\x51\xfa\x77"
  1503. "\x19\x94\x49\x8c\x05\xd4\x75\xed\xd2\xb3\x64\x57\xe0\x52\x99\xc0"
  1504. "\x83\xe3\xbb\x5e\x2b\xf1\xd2\xc0\xb1\x37\x36\x0b\x7c\xb5\x63\x96"
  1505. "\x8e\xde\x04\x23\x11\x95\x62\x11\x9a\xce\x6f\x63\xc8\xd5\xd1\x8f",
  1506. .expected_a_public =
  1507. "\x90\x89\xe4\x82\xd6\x0a\xcf\x1a\xae\xce\x1b\x66\xa7\x19\x71\x18"
  1508. "\x8f\x95\x4b\x5b\x80\x45\x4a\x5a\x43\x99\x4d\x37\xcf\xa3\xa7\x28"
  1509. "\x9c\xc7\x73\xf1\xb2\x17\xf6\x99\xe3\x6b\x56\xcb\x3e\x35\x60\x7d"
  1510. "\x65\xc7\x84\x6b\x3e\x60\xee\xcd\xd2\x70\xe7\xc9\x32\x1c\xf0\xb4"
  1511. "\xf9\x52\xd9\x88\x75\xfd\x40\x2c\xa7\xbe\x19\x1c\x0a\xae\x93\xe1"
  1512. "\x71\xc7\xcd\x4f\x33\x5c\x10\x7d\x39\x56\xfc\x73\x84\xb2\x67\xc3"
  1513. "\x77\x26\x20\x97\x2b\xf8\x13\x43\x93\x9c\x9a\xa4\x08\xc7\x34\x83"
  1514. "\xe6\x98\x61\xe7\x16\x30\x2c\xb1\xdb\x2a\xb2\xcc\xc3\x02\xa5\x3c"
  1515. "\x71\x50\x14\x83\xc7\xbb\xa4\xbe\x98\x1b\xfe\xcb\x43\xe9\x97\x62"
  1516. "\xd6\xf0\x8c\xcb\x1c\xba\x1e\xa8\xa6\xa6\x50\xfc\x85\x7d\x47\xbf"
  1517. "\xf4\x3e\x23\xd3\x5f\xb2\x71\x3e\x40\x94\xaa\x87\x83\x2c\x6c\x8e"
  1518. "\x60\xfd\xdd\xf7\xf4\x76\x03\xd3\x1d\xec\x18\x51\xa3\xf2\x44\x1a"
  1519. "\x3f\xb4\x7c\x18\x0d\x68\x65\x92\x54\x0d\x2d\x81\x16\xf1\x84\x66"
  1520. "\x89\x92\xd0\x1a\x5e\x1f\x42\x46\x5b\xe5\x83\x86\x80\xd9\xcd\x3a"
  1521. "\x5a\x2f\xb9\x59\x9b\xe4\x43\x84\x64\xf3\x09\x1a\x0a\xa2\x64\x0f"
  1522. "\x77\x4e\x8d\x8b\xe6\x88\xd1\xfc\xaf\x8f\xdf\x1d\xbc\x31\xb3\xbd",
  1523. .expected_ss =
  1524. "\x34\xc3\x35\x14\x88\x46\x26\x23\x97\xbb\xdd\x28\x5c\x94\xf6\x47"
  1525. "\xca\xb3\x19\xaf\xca\x44\x9b\xc2\x7d\x89\xfd\x96\x14\xfd\x6d\x58"
  1526. "\xd8\xc4\x6b\x61\x2a\x0d\xf2\x36\x45\xc8\xe4\xa4\xed\x81\x53\x81"
  1527. "\x66\x1e\xe0\x5a\xb1\x78\x2d\x0b\x5c\xb4\xd1\xfc\x90\xc6\x9c\xdb"
  1528. "\x5a\x30\x0b\x14\x7d\xbe\xb3\x7d\xb1\xb2\x76\x3c\x6c\xef\x74\x6b"
  1529. "\xe7\x1f\x64\x0c\xab\x65\xe1\x76\x5c\x3d\x83\xb5\x8a\xfb\xaf\x0f"
  1530. "\xf2\x06\x14\x8f\xa0\xf6\xc1\x89\x78\xf2\xba\x72\x73\x3c\xf7\x76"
  1531. "\x21\x67\xbc\x24\x31\xb8\x09\x65\x0f\x0c\x02\x32\x4a\x98\x14\xfc"
  1532. "\x72\x2c\x25\x60\x68\x5f\x2f\x30\x1e\x5b\xf0\x3b\xd1\xa2\x87\xa0"
  1533. "\x54\xdf\xdb\xc0\xee\x0a\x0f\x47\xc9\x90\x20\x2c\xf9\xe3\x52\xad"
  1534. "\x27\x65\x8d\x54\x8d\xa8\xa1\xf3\xed\x15\xd4\x94\x28\x90\x31\x93"
  1535. "\x1b\xc0\x51\xbb\x43\x5d\x76\x3b\x1d\x2a\x71\x50\xea\x5d\x48\x94"
  1536. "\x7f\x6f\xf1\x48\xdb\x30\xe5\xae\x64\x79\xd9\x7a\xdb\xc6\xff\xd8"
  1537. "\x5e\x5a\x64\xbd\xf6\x85\x04\xe8\x28\x6a\xac\xef\xce\x19\x8e\x9a"
  1538. "\xfe\x75\xc0\x27\x69\xe3\xb3\x7b\x21\xa7\xb1\x16\xa4\x85\x23\xee"
  1539. "\xb0\x1b\x04\x6e\xbd\xab\x16\xde\xfd\x86\x6b\xa9\x95\xd7\x0b\xfd",
  1540. .secret_size = 529,
  1541. .b_public_size = 256,
  1542. .expected_a_public_size = 256,
  1543. .expected_ss_size = 256,
  1544. }
  1545. };
  1546. static const struct kpp_testvec ffdhe2048_dh_tv_template[] __maybe_unused = {
  1547. {
  1548. .secret =
  1549. #ifdef __LITTLE_ENDIAN
  1550. "\x01\x00" /* type */
  1551. "\x10\x01" /* len */
  1552. "\x00\x01\x00\x00" /* key_size */
  1553. "\x00\x00\x00\x00" /* p_size */
  1554. "\x00\x00\x00\x00" /* g_size */
  1555. #else
  1556. "\x00\x01" /* type */
  1557. "\x01\x10" /* len */
  1558. "\x00\x00\x01\x00" /* key_size */
  1559. "\x00\x00\x00\x00" /* p_size */
  1560. "\x00\x00\x00\x00" /* g_size */
  1561. #endif
  1562. /* xa */
  1563. "\x23\x7d\xd0\x06\xfd\x7a\xe5\x7a\x08\xda\x98\x31\xc0\xb3\xd5\x85"
  1564. "\xe2\x0d\x2a\x91\x5f\x78\x4b\xa6\x62\xd0\xa6\x35\xd4\xef\x86\x39"
  1565. "\xf1\xdb\x71\x5e\xb0\x11\x2e\xee\x91\x3a\xaa\xf9\xe3\xdf\x8d\x8b"
  1566. "\x48\x41\xde\xe8\x78\x53\xc5\x5f\x93\xd2\x79\x0d\xbe\x8d\x83\xe8"
  1567. "\x8f\x00\xd2\xde\x13\x18\x04\x05\x20\x6d\xda\xfa\x1d\x0b\x24\x52"
  1568. "\x3a\x18\x2b\xe1\x1e\xae\x15\x3b\x0f\xaa\x09\x09\xf6\x01\x98\xe9"
  1569. "\x81\x5d\x6b\x83\x6e\x55\xf1\x5d\x6f\x6f\x0d\x9d\xa8\x72\x32\x63"
  1570. "\x60\xe6\x0b\xc5\x22\xe2\xf9\x46\x58\xa2\x1c\x2a\xb0\xd5\xaf\xe3"
  1571. "\x5b\x03\xb7\x36\xb7\xba\x55\x20\x08\x7c\x51\xd4\x89\x42\x9c\x14"
  1572. "\x23\xe2\x71\x3e\x15\x2a\x0d\x34\x8a\xde\xad\x84\x11\x15\x72\x18"
  1573. "\x42\x43\x0a\xe2\x58\x29\xb3\x90\x0f\x56\xd8\x8a\x0f\x0e\xbc\x0e"
  1574. "\x9c\xe7\xd5\xe6\x5b\xbf\x06\x64\x38\x12\xa5\x8d\x5b\x68\x34\xdd"
  1575. "\x75\x48\xc9\xa7\xa3\x58\x5a\x1c\xe1\xb2\xc5\xe3\x39\x03\xcf\xab"
  1576. "\xc2\x14\x07\xaf\x55\x80\xc7\x63\xe4\x03\xeb\xe9\x0a\x25\x61\x85"
  1577. "\x1d\x0e\x81\x52\x7b\xbc\x4a\x0c\xc8\x59\x6a\xac\x18\xfb\x8c\x0c"
  1578. "\xb4\x79\xbd\xa1\x4c\xbb\x02\xc9\xd5\x13\x88\x3d\x25\xaa\x77\x49",
  1579. .b_public =
  1580. "\x5c\x00\x6f\xda\xfe\x4c\x0c\xc2\x18\xff\xa9\xec\x7a\xbe\x8a\x51"
  1581. "\x64\x6b\x57\xf8\xed\xe2\x36\x77\xc1\x23\xbf\x56\xa6\x48\x76\x34"
  1582. "\x0e\xf3\x68\x05\x45\x6a\x98\x5b\x9e\x8b\xc0\x11\x29\xcb\x5b\x66"
  1583. "\x2d\xc2\xeb\x4c\xf1\x7d\x85\x30\xaa\xd5\xf5\xb8\xd3\x62\x1e\x97"
  1584. "\x1e\x34\x18\xf8\x76\x8c\x10\xca\x1f\xe4\x5d\x62\xe1\xbe\x61\xef"
  1585. "\xaf\x2c\x8d\x97\x15\xa5\x86\xd5\xd3\x12\x6f\xec\xe2\xa4\xb2\x5a"
  1586. "\x35\x1d\xd4\x91\xa6\xef\x13\x09\x65\x9c\x45\xc0\x12\xad\x7f\xee"
  1587. "\x93\x5d\xfa\x89\x26\x7d\xae\xee\xea\x8c\xa3\xcf\x04\x2d\xa0\xc7"
  1588. "\xd9\x14\x62\xaf\xdf\xa0\x33\xd7\x5e\x83\xa2\xe6\x0e\x0e\x5d\x77"
  1589. "\xce\xe6\x72\xe4\xec\x9d\xff\x72\x9f\x38\x95\x19\x96\xba\x4c\xe3"
  1590. "\x5f\xb8\x46\x4a\x1d\xe9\x62\x7b\xa8\xdc\xe7\x61\x90\x6b\xb9\xd4"
  1591. "\xad\x0b\xa3\x06\xb3\x70\xfa\xea\x2b\xc4\x2c\xde\x43\x37\xf6\x8d"
  1592. "\x72\xf0\x86\x9a\xbb\x3b\x8e\x7a\x71\x03\x30\x30\x2a\x5d\xcd\x1e"
  1593. "\xe4\xd3\x08\x07\x75\x17\x17\x72\x1e\x77\x6c\x98\x0d\x29\x7f\xac"
  1594. "\xe7\xb2\xee\xa9\x1c\x33\x9d\x08\x39\xe1\xd8\x5b\xe5\xbc\x48\xb2"
  1595. "\xb6\xdf\xcd\xa0\x42\x06\xcc\xfb\xed\x60\x6f\xbc\x57\xac\x09\x45",
  1596. .expected_a_public =
  1597. "\x8b\xdb\xc1\xf7\xc6\xba\xa1\x38\x95\x6a\xa1\xb6\x04\x5e\xae\x52"
  1598. "\x72\xfc\xef\x2d\x9d\x71\x05\x9c\xd3\x02\xa9\xfb\x55\x0f\xfa\xc9"
  1599. "\xb4\x34\x51\xa3\x28\x89\x8d\x93\x92\xcb\xd9\xb5\xb9\x66\xfc\x67"
  1600. "\x15\x92\x6f\x73\x85\x15\xe2\xfc\x11\x6b\x97\x8c\x4b\x0f\x12\xfa"
  1601. "\x8d\x72\x76\x9b\x8f\x3b\xfe\x31\xbe\x42\x88\x4c\xd2\xb2\x70\xa6"
  1602. "\xa5\xe3\x7e\x73\x07\x12\x36\xaa\xc9\x5c\x83\xe1\xf1\x46\x41\x4f"
  1603. "\x7c\x52\xaf\xdc\xa4\xe6\x82\xa3\x86\x83\x47\x5a\x12\x3a\x0c\xe3"
  1604. "\xdd\xdb\x94\x03\x2a\x59\x91\xa0\x19\xe5\xf8\x07\xdd\x54\x6a\x22"
  1605. "\x43\xb7\xf3\x74\xd7\xb9\x30\xfe\x9c\xe8\xd1\xcf\x06\x43\x68\xb9"
  1606. "\x54\x8f\x54\xa2\xe5\x3c\xf2\xc3\x4c\xee\xd4\x7c\x5d\x0e\xb1\x7b"
  1607. "\x16\x68\xb5\xb3\x7d\xd4\x11\x83\x5c\x77\x17\xc4\xf0\x59\x76\x7a"
  1608. "\x83\x40\xe5\xd9\x4c\x76\x23\x5b\x17\x6d\xee\x4a\x92\x68\x4b\x89"
  1609. "\xa0\x6d\x23\x8c\x80\x31\x33\x3a\x12\xf4\x50\xa6\xcb\x13\x97\x01"
  1610. "\xb8\x2c\xe6\xd2\x38\xdf\xd0\x7f\xc6\x27\x19\x0e\xb2\x07\xfd\x1f"
  1611. "\x1b\x9c\x1b\x87\xf9\x73\x6a\x3f\x7f\xb0\xf9\x2f\x3c\x19\x9f\xc9"
  1612. "\x8f\x97\x21\x0e\x8e\xbb\x1a\x17\x20\x15\xdd\xc6\x42\x60\xae\x4d",
  1613. .expected_ss =
  1614. "\xf3\x0e\x64\x7b\x66\xd7\x82\x7e\xab\x7e\x4a\xbe\x13\x6f\x43\x3d"
  1615. "\xea\x4f\x1f\x8b\x9d\x41\x56\x71\xe1\x06\x96\x02\x68\xfa\x44\x6e"
  1616. "\xe7\xf2\x26\xd4\x01\x4a\xf0\x28\x25\x76\xad\xd7\xe0\x17\x74\xfe"
  1617. "\xf9\xe1\x6d\xd3\xf7\xc7\xdf\xc0\x62\xa5\xf3\x4e\x1b\x5c\x77\x2a"
  1618. "\xfb\x0b\x87\xc3\xde\x1e\xc1\xe0\xd3\x7a\xb8\x02\x02\xec\x9c\x97"
  1619. "\xfb\x34\xa0\x20\x10\x23\x87\xb2\x9a\x72\xe3\x3d\xb2\x18\x50\xf3"
  1620. "\x6a\xd3\xd3\x19\xc4\x36\xd5\x59\xd6\xd6\xa7\x5c\xc3\xf9\x09\x33"
  1621. "\xa1\xf5\xb9\x4b\xf3\x0b\xe1\x4f\x79\x6b\x45\xf2\xec\x8b\xe5\x69"
  1622. "\x9f\xc6\x05\x01\xfe\x3a\x13\xfd\x6d\xea\x03\x83\x29\x7c\x7f\xf5"
  1623. "\x41\x55\x95\xde\x7e\x62\xae\xaf\x28\xdb\x7c\xa9\x90\x1e\xb2\xb1"
  1624. "\x1b\xef\xf1\x2e\xde\x47\xaa\xa8\x92\x9a\x49\x3d\xc0\xe0\x8d\xbb"
  1625. "\x0c\x42\x86\xaf\x00\xce\xb0\xab\x22\x7c\xe9\xbe\xb9\x72\x2f\xcf"
  1626. "\x5e\x5d\x62\x52\x2a\xd1\xfe\xcc\xa2\xf3\x40\xfd\x01\xa7\x54\x0a"
  1627. "\xa1\xfb\x1c\xf2\x44\xa6\x47\x30\x5a\xba\x2a\x05\xff\xd0\x6c\xab"
  1628. "\xeb\xe6\x8f\xf6\xd7\x73\xa3\x0e\x6c\x0e\xcf\xfd\x8e\x16\x5d\xe0"
  1629. "\x2c\x11\x05\x82\x3c\x22\x16\x6c\x52\x61\xcf\xbb\xff\xf8\x06\xd0",
  1630. .secret_size = 272,
  1631. .b_public_size = 256,
  1632. .expected_a_public_size = 256,
  1633. .expected_ss_size = 256,
  1634. },
  1635. {
  1636. .secret =
  1637. #ifdef __LITTLE_ENDIAN
  1638. "\x01\x00" /* type */
  1639. "\x10\x00" /* len */
  1640. "\x00\x00\x00\x00" /* key_size */
  1641. "\x00\x00\x00\x00" /* p_size */
  1642. "\x00\x00\x00\x00", /* g_size */
  1643. #else
  1644. "\x00\x01" /* type */
  1645. "\x00\x10" /* len */
  1646. "\x00\x00\x00\x00" /* key_size */
  1647. "\x00\x00\x00\x00" /* p_size */
  1648. "\x00\x00\x00\x00", /* g_size */
  1649. #endif
  1650. .b_secret =
  1651. #ifdef __LITTLE_ENDIAN
  1652. "\x01\x00" /* type */
  1653. "\x10\x01" /* len */
  1654. "\x00\x01\x00\x00" /* key_size */
  1655. "\x00\x00\x00\x00" /* p_size */
  1656. "\x00\x00\x00\x00" /* g_size */
  1657. #else
  1658. "\x00\x01" /* type */
  1659. "\x01\x10" /* len */
  1660. "\x00\x00\x01\x00" /* key_size */
  1661. "\x00\x00\x00\x00" /* p_size */
  1662. "\x00\x00\x00\x00" /* g_size */
  1663. #endif
  1664. /* xa */
  1665. "\x23\x7d\xd0\x06\xfd\x7a\xe5\x7a\x08\xda\x98\x31\xc0\xb3\xd5\x85"
  1666. "\xe2\x0d\x2a\x91\x5f\x78\x4b\xa6\x62\xd0\xa6\x35\xd4\xef\x86\x39"
  1667. "\xf1\xdb\x71\x5e\xb0\x11\x2e\xee\x91\x3a\xaa\xf9\xe3\xdf\x8d\x8b"
  1668. "\x48\x41\xde\xe8\x78\x53\xc5\x5f\x93\xd2\x79\x0d\xbe\x8d\x83\xe8"
  1669. "\x8f\x00\xd2\xde\x13\x18\x04\x05\x20\x6d\xda\xfa\x1d\x0b\x24\x52"
  1670. "\x3a\x18\x2b\xe1\x1e\xae\x15\x3b\x0f\xaa\x09\x09\xf6\x01\x98\xe9"
  1671. "\x81\x5d\x6b\x83\x6e\x55\xf1\x5d\x6f\x6f\x0d\x9d\xa8\x72\x32\x63"
  1672. "\x60\xe6\x0b\xc5\x22\xe2\xf9\x46\x58\xa2\x1c\x2a\xb0\xd5\xaf\xe3"
  1673. "\x5b\x03\xb7\x36\xb7\xba\x55\x20\x08\x7c\x51\xd4\x89\x42\x9c\x14"
  1674. "\x23\xe2\x71\x3e\x15\x2a\x0d\x34\x8a\xde\xad\x84\x11\x15\x72\x18"
  1675. "\x42\x43\x0a\xe2\x58\x29\xb3\x90\x0f\x56\xd8\x8a\x0f\x0e\xbc\x0e"
  1676. "\x9c\xe7\xd5\xe6\x5b\xbf\x06\x64\x38\x12\xa5\x8d\x5b\x68\x34\xdd"
  1677. "\x75\x48\xc9\xa7\xa3\x58\x5a\x1c\xe1\xb2\xc5\xe3\x39\x03\xcf\xab"
  1678. "\xc2\x14\x07\xaf\x55\x80\xc7\x63\xe4\x03\xeb\xe9\x0a\x25\x61\x85"
  1679. "\x1d\x0e\x81\x52\x7b\xbc\x4a\x0c\xc8\x59\x6a\xac\x18\xfb\x8c\x0c"
  1680. "\xb4\x79\xbd\xa1\x4c\xbb\x02\xc9\xd5\x13\x88\x3d\x25\xaa\x77\x49",
  1681. .b_public =
  1682. "\x8b\xdb\xc1\xf7\xc6\xba\xa1\x38\x95\x6a\xa1\xb6\x04\x5e\xae\x52"
  1683. "\x72\xfc\xef\x2d\x9d\x71\x05\x9c\xd3\x02\xa9\xfb\x55\x0f\xfa\xc9"
  1684. "\xb4\x34\x51\xa3\x28\x89\x8d\x93\x92\xcb\xd9\xb5\xb9\x66\xfc\x67"
  1685. "\x15\x92\x6f\x73\x85\x15\xe2\xfc\x11\x6b\x97\x8c\x4b\x0f\x12\xfa"
  1686. "\x8d\x72\x76\x9b\x8f\x3b\xfe\x31\xbe\x42\x88\x4c\xd2\xb2\x70\xa6"
  1687. "\xa5\xe3\x7e\x73\x07\x12\x36\xaa\xc9\x5c\x83\xe1\xf1\x46\x41\x4f"
  1688. "\x7c\x52\xaf\xdc\xa4\xe6\x82\xa3\x86\x83\x47\x5a\x12\x3a\x0c\xe3"
  1689. "\xdd\xdb\x94\x03\x2a\x59\x91\xa0\x19\xe5\xf8\x07\xdd\x54\x6a\x22"
  1690. "\x43\xb7\xf3\x74\xd7\xb9\x30\xfe\x9c\xe8\xd1\xcf\x06\x43\x68\xb9"
  1691. "\x54\x8f\x54\xa2\xe5\x3c\xf2\xc3\x4c\xee\xd4\x7c\x5d\x0e\xb1\x7b"
  1692. "\x16\x68\xb5\xb3\x7d\xd4\x11\x83\x5c\x77\x17\xc4\xf0\x59\x76\x7a"
  1693. "\x83\x40\xe5\xd9\x4c\x76\x23\x5b\x17\x6d\xee\x4a\x92\x68\x4b\x89"
  1694. "\xa0\x6d\x23\x8c\x80\x31\x33\x3a\x12\xf4\x50\xa6\xcb\x13\x97\x01"
  1695. "\xb8\x2c\xe6\xd2\x38\xdf\xd0\x7f\xc6\x27\x19\x0e\xb2\x07\xfd\x1f"
  1696. "\x1b\x9c\x1b\x87\xf9\x73\x6a\x3f\x7f\xb0\xf9\x2f\x3c\x19\x9f\xc9"
  1697. "\x8f\x97\x21\x0e\x8e\xbb\x1a\x17\x20\x15\xdd\xc6\x42\x60\xae\x4d",
  1698. .secret_size = 16,
  1699. .b_secret_size = 272,
  1700. .b_public_size = 256,
  1701. .expected_a_public_size = 256,
  1702. .expected_ss_size = 256,
  1703. .genkey = true,
  1704. },
  1705. };
  1706. static const struct kpp_testvec ffdhe3072_dh_tv_template[] __maybe_unused = {
  1707. {
  1708. .secret =
  1709. #ifdef __LITTLE_ENDIAN
  1710. "\x01\x00" /* type */
  1711. "\x90\x01" /* len */
  1712. "\x80\x01\x00\x00" /* key_size */
  1713. "\x00\x00\x00\x00" /* p_size */
  1714. "\x00\x00\x00\x00" /* g_size */
  1715. #else
  1716. "\x00\x01" /* type */
  1717. "\x01\x90" /* len */
  1718. "\x00\x00\x01\x80" /* key_size */
  1719. "\x00\x00\x00\x00" /* p_size */
  1720. "\x00\x00\x00\x00" /* g_size */
  1721. #endif
  1722. /* xa */
  1723. "\x6b\xb4\x97\x23\xfa\xc8\x5e\xa9\x7b\x63\xe7\x3e\x0e\x99\xc3\xb9"
  1724. "\xda\xb7\x48\x0d\xc3\xb1\xbf\x4f\x17\xc7\xa9\x51\xf6\x64\xff\xc4"
  1725. "\x31\x58\x87\x25\x83\x2c\x00\xf0\x41\x29\xf7\xee\xf9\xe6\x36\x76"
  1726. "\xd6\x3a\x24\xbe\xa7\x07\x0b\x93\xc7\x9f\x6c\x75\x0a\x26\x75\x76"
  1727. "\xe3\x0c\x42\xe0\x00\x04\x69\xd9\xec\x0b\x59\x54\x28\x8f\xd7\x9a"
  1728. "\x63\xf4\x5b\xdf\x85\x65\xc4\xe1\x95\x27\x4a\x42\xad\x36\x47\xa9"
  1729. "\x0a\xf8\x14\x1c\xf3\x94\x3b\x7e\x47\x99\x35\xa8\x18\xec\x70\x10"
  1730. "\xdf\xcb\xd2\x78\x88\xc1\x2d\x59\x93\xc1\xa4\x6d\xd7\x1d\xb9\xd5"
  1731. "\xf8\x30\x06\x7f\x98\x90\x0c\x74\x5e\x89\x2f\x64\x5a\xad\x5f\x53"
  1732. "\xb2\xa3\xa8\x83\xbf\xfc\x37\xef\xb8\x36\x0a\x5c\x62\x81\x64\x74"
  1733. "\x16\x2f\x45\x39\x2a\x91\x26\x87\xc0\x12\xcc\x75\x11\xa3\xa1\xc5"
  1734. "\xae\x20\xcf\xcb\x20\x25\x6b\x7a\x31\x93\x9d\x38\xb9\x57\x72\x46"
  1735. "\xd4\x84\x65\x87\xf1\xb5\xd3\xab\xfc\xc3\x4d\x40\x92\x94\x1e\xcd"
  1736. "\x1c\x87\xec\x3f\xcd\xbe\xd0\x95\x6b\x40\x02\xdd\x62\xeb\x0a\xda"
  1737. "\x4f\xbe\x8e\x32\x48\x8b\x6d\x83\xa0\x96\x62\x23\xec\x83\x91\x44"
  1738. "\xf9\x72\x01\xac\xa0\xe4\x72\x1d\x5a\x75\x05\x57\x90\xae\x7e\xb4"
  1739. "\x71\x39\x01\x05\xdc\xe9\xee\xcb\xf0\x61\x28\x91\x69\x8c\x31\x03"
  1740. "\x7a\x92\x15\xa1\x58\x67\x3d\x70\x82\xa6\x2c\xfe\x10\x56\x58\xd3"
  1741. "\x94\x67\xe1\xbe\xee\xc1\x64\x5c\x4b\xc8\x28\x3d\xc5\x66\x3a\xab"
  1742. "\x22\xc1\x7e\xa1\xbb\xf3\x19\x3b\xda\x46\x82\x45\xd4\x3c\x7c\xc6"
  1743. "\xce\x1f\x7f\x95\xa2\x17\xff\x88\xba\xd6\x4d\xdb\xd2\xea\xde\x39"
  1744. "\xd6\xa5\x18\x73\xbb\x64\x6e\x79\xe9\xdc\x3f\x92\x7f\xda\x1f\x49"
  1745. "\x33\x70\x65\x73\xa2\xd9\x06\xb8\x1b\x29\x29\x1a\xe0\xa3\xe6\x05"
  1746. "\x9a\xa8\xc2\x4e\x7a\x78\x1d\x22\x57\x21\xc8\xa3\x8d\x66\x3e\x23",
  1747. .b_public =
  1748. "\x73\x40\x8b\xce\xe8\x6a\x1c\x03\x50\x54\x42\x36\x22\xc6\x1d\xe8"
  1749. "\xe1\xef\x5c\x89\xa5\x55\xc1\xc4\x1c\xd7\x4f\xee\x5d\xba\x62\x60"
  1750. "\xfe\x93\x2f\xfd\x93\x2c\x8f\x70\xc6\x47\x17\x25\xb2\x95\xd7\x7d"
  1751. "\x41\x81\x4d\x52\x1c\xbe\x4d\x57\x3e\x26\x51\x28\x03\x8f\x67\xf5"
  1752. "\x22\x16\x1c\x67\xf7\x62\xcb\xfd\xa3\xee\x8d\xe0\xfa\x15\x9a\x53"
  1753. "\xbe\x7b\x9f\xc0\x12\x7a\xfc\x5e\x77\x2d\x60\x06\xba\x71\xc5\xca"
  1754. "\xd7\x26\xaf\x3b\xba\x6f\xd3\xc4\x82\x57\x19\x26\xb0\x16\x7b\xbd"
  1755. "\x83\xf2\x21\x03\x79\xff\x0a\x6f\xc5\x7b\x00\x15\xad\x5b\xf4\x42"
  1756. "\x1f\xcb\x7f\x3d\x34\x77\x3c\xc3\xe0\x38\xa5\x40\x51\xbe\x6f\xd9"
  1757. "\xc9\x77\x9c\xfc\x0d\xc1\x8e\xef\x0f\xaa\x5e\xa8\xbb\x16\x4a\x3e"
  1758. "\x26\x55\xae\xc1\xb6\x3e\xfd\x73\xf7\x59\xd2\xe5\x4b\x91\x8e\x28"
  1759. "\x77\x1e\x5a\xe2\xcd\xce\x92\x35\xbb\x1e\xbb\xcf\x79\x94\xdf\x31"
  1760. "\xde\x31\xa8\x75\xf6\xe0\xaa\x2e\xe9\x4f\x44\xc8\xba\xb9\xab\x80"
  1761. "\x29\xa1\xea\x58\x2e\x40\x96\xa0\x1a\xf5\x2c\x38\x47\x43\x5d\x26"
  1762. "\x2c\xd8\xad\xea\xd3\xad\xe8\x51\x49\xad\x45\x2b\x25\x7c\xde\xe4"
  1763. "\xaf\x03\x2a\x39\x26\x86\x66\x10\xbc\xa8\x71\xda\xe0\xe8\xf1\xdd"
  1764. "\x50\xff\x44\xb2\xd3\xc7\xff\x66\x63\xf6\x42\xe3\x97\x9d\x9e\xf4"
  1765. "\xa6\x89\xb9\xab\x12\x17\xf2\x85\x56\x9c\x6b\x24\x71\x83\x57\x7d"
  1766. "\x3c\x7b\x2b\x88\x92\x19\xd7\x1a\x00\xd5\x38\x94\x43\x60\x4d\xa7"
  1767. "\x12\x9e\x0d\xf6\x5c\x9a\xd3\xe2\x9e\xb1\x21\xe8\xe2\x9e\xe9\x1e"
  1768. "\x9d\xa5\x94\x95\xa6\x3d\x12\x15\xd8\x8b\xac\xe0\x8c\xde\xe6\x40"
  1769. "\x98\xaa\x5e\x55\x4f\x3d\x86\x87\x0d\xe3\xc6\x68\x15\xe6\xde\x17"
  1770. "\x78\x21\xc8\x6c\x06\xc7\x94\x56\xb4\xaf\xa2\x35\x0b\x0c\x97\xd7"
  1771. "\xa4\x12\xee\xf4\xd2\xef\x80\x28\xb3\xee\xe9\x15\x8b\x01\x32\x79",
  1772. .expected_a_public =
  1773. "\x1b\x6a\xba\xea\xa3\xcc\x50\x69\xa9\x41\x89\xaf\x04\xe1\x44\x22"
  1774. "\x97\x20\xd1\xf6\x1e\xcb\x64\x36\x6f\xee\x0b\x16\xc1\xd9\x91\xbe"
  1775. "\x57\xc8\xd9\xf2\xa1\x96\x91\xec\x41\xc7\x79\x00\x1a\x48\x25\x55"
  1776. "\xbe\xf3\x20\x8c\x38\xc6\x7b\xf2\x8b\x5a\xc3\xb5\x87\x0a\x86\x3d"
  1777. "\xb7\xd6\xce\xb0\x96\x2e\x5d\xc4\x00\x5e\x42\xe4\xe5\x50\x4f\xb8"
  1778. "\x6f\x18\xa4\xe1\xd3\x20\xfc\x3c\xf5\x0a\xff\x23\xa6\x5b\xb4\x17"
  1779. "\x3e\x7b\xdf\xb9\xb5\x3c\x1b\x76\x29\xcd\xb4\x46\x4f\x27\x8f\xd2"
  1780. "\xe8\x27\x66\xdb\xe8\xb3\xf5\xe1\xd0\x04\xcd\x89\xff\xba\x76\x67"
  1781. "\xe8\x4d\xcf\x86\x1c\x8a\xd1\xcf\x99\x27\xfb\xa9\x78\xcc\x94\xaf"
  1782. "\x3d\x04\xfd\x25\xc0\x47\xfa\x29\x80\x05\xf4\xde\xad\xdb\xab\x12"
  1783. "\xb0\x2b\x8e\xca\x02\x06\x6d\xad\x3e\x09\xb1\x22\xa3\xf5\x4c\x6d"
  1784. "\x69\x99\x58\x8b\xd8\x45\x2e\xe0\xc9\x3c\xf7\x92\xce\x21\x90\x6b"
  1785. "\x3b\x65\x9f\x64\x79\x8d\x67\x22\x1a\x37\xd3\xee\x51\xe2\xe7\x5a"
  1786. "\x93\x51\xaa\x3c\x4b\x04\x16\x32\xef\xe3\x66\xbe\x18\x94\x88\x64"
  1787. "\x79\xce\x06\x3f\xb8\xd6\xee\xdc\x13\x79\x6f\x20\x14\xc2\x6b\xce"
  1788. "\xc8\xda\x42\xa5\x93\x5b\xe4\x7f\x1a\xe6\xda\x0f\xb3\xc1\x5f\x30"
  1789. "\x50\x76\xe8\x37\x3d\xca\x77\x2c\xa8\xe4\x3b\xf9\x6f\xe0\x17\xed"
  1790. "\x0e\xef\xb7\x31\x14\xb5\xea\xd9\x39\x22\x89\xb6\x40\x57\xcc\x84"
  1791. "\xef\x73\xa7\xe9\x27\x21\x85\x89\xfa\xaf\x03\xda\x9c\x8b\xfd\x52"
  1792. "\x7d\xb0\xa4\xe4\xf9\xd8\x90\x55\xc4\x39\xd6\x9d\xaf\x3b\xce\xac"
  1793. "\xaa\x36\x14\x7a\x9b\x8b\x12\x43\xe1\xca\x61\xae\x46\x5b\xe7\xe5"
  1794. "\x88\x32\x80\xa0\x2d\x51\xbb\x2f\xea\xeb\x3c\x71\xb2\xae\xce\xca"
  1795. "\x61\xd2\x76\xe0\x45\x46\x78\x4e\x09\x2d\xc2\x54\xc2\xa9\xc7\xa8"
  1796. "\x55\x8e\x72\xa4\x8b\x8a\xc9\x01\xdb\xe9\x58\x11\xa1\xc4\xe7\x12",
  1797. .expected_ss =
  1798. "\x47\x8e\xb2\x19\x09\xf0\x46\x99\x6b\x41\x86\xf7\x34\xad\xbf\x2a"
  1799. "\x18\x1b\x7d\xec\xa9\xb2\x47\x2f\x40\xfb\x9a\x64\x30\x44\xf3\x4c"
  1800. "\x01\x67\xad\x57\x5a\xbc\xd4\xc8\xef\x7e\x8a\x14\x74\x1d\x6d\x8c"
  1801. "\x7b\xce\xc5\x57\x5f\x95\xe8\x72\xba\xdf\xa3\xcd\x00\xbe\x09\x4c"
  1802. "\x06\x72\xe7\x17\xb0\xe5\xe5\xb7\x20\xa5\xcb\xd9\x68\x99\xad\x3f"
  1803. "\xde\xf3\xde\x1d\x1c\x00\x74\xd2\xd1\x57\x55\x5d\xce\x76\x0c\xc4"
  1804. "\x7a\xc4\x65\x7c\x19\x17\x0a\x09\x66\x7d\x3a\xab\xf7\x61\x3a\xe3"
  1805. "\x5b\xac\xcf\x69\xb0\x8b\xee\x5d\x28\x36\xbb\x3f\x74\xce\x6e\x38"
  1806. "\x1e\x39\xab\x26\xca\x89\xdc\x58\x59\xcb\x95\xe4\xbc\xd6\x19\x48"
  1807. "\xd0\x55\x68\x7b\xb4\x27\x95\x3c\xd9\x58\x10\x4f\x8f\x55\x1c\x3f"
  1808. "\x04\xce\x89\x1f\x82\x28\xe9\x48\x17\x47\x8f\xee\xb7\x8f\xeb\xb1"
  1809. "\x29\xa8\x23\x18\x73\x33\x9f\x83\x08\xca\xcd\x54\x6e\xca\xec\x78"
  1810. "\x7b\x16\x83\x3f\xdb\x0a\xef\xfd\x87\x94\x19\x08\x6e\x6e\x22\x57"
  1811. "\xd7\xd2\x79\xf9\xf6\xeb\xe0\x6c\x93\x9d\x95\xfa\x41\x7a\xa9\xd6"
  1812. "\x2a\xa3\x26\x9b\x24\x1b\x8b\xa0\xed\x04\xb2\xe4\x6c\x4e\xc4\x3f"
  1813. "\x61\xe5\xe0\x4d\x09\x28\xaf\x58\x35\x25\x0b\xd5\x38\x18\x69\x51"
  1814. "\x18\x51\x73\x7b\x28\x19\x9f\xe4\x69\xfc\x2c\x25\x08\x99\x8f\x62"
  1815. "\x65\x62\xa5\x28\xf1\xf4\xfb\x02\x29\x27\xb0\x5e\xbb\x4f\xf9\x1a"
  1816. "\xa7\xc4\x38\x63\x5b\x01\xfe\x00\x66\xe3\x47\x77\x21\x85\x17\xd5"
  1817. "\x34\x19\xd3\x87\xab\x44\x62\x08\x59\xb2\x6b\x1f\x21\x0c\x23\x84"
  1818. "\xf7\xba\x92\x67\xf9\x16\x85\x6a\xe0\xeb\xe7\x4f\x06\x80\x81\x81"
  1819. "\x28\x9c\xe8\x2e\x71\x97\x48\xe0\xd1\xbc\xce\xe9\x42\x2c\x89\xdf"
  1820. "\x0b\xa9\xa1\x07\x84\x33\x78\x7f\x49\x2f\x1c\x55\xc3\x7f\xc3\x37"
  1821. "\x40\xdf\x13\xf4\xa0\x21\x79\x6e\x3a\xe3\xb8\x23\x9e\x8a\x6e\x9c",
  1822. .secret_size = 400,
  1823. .b_public_size = 384,
  1824. .expected_a_public_size = 384,
  1825. .expected_ss_size = 384,
  1826. },
  1827. {
  1828. .secret =
  1829. #ifdef __LITTLE_ENDIAN
  1830. "\x01\x00" /* type */
  1831. "\x10\x00" /* len */
  1832. "\x00\x00\x00\x00" /* key_size */
  1833. "\x00\x00\x00\x00" /* p_size */
  1834. "\x00\x00\x00\x00", /* g_size */
  1835. #else
  1836. "\x00\x01" /* type */
  1837. "\x00\x10" /* len */
  1838. "\x00\x00\x00\x00" /* key_size */
  1839. "\x00\x00\x00\x00" /* p_size */
  1840. "\x00\x00\x00\x00", /* g_size */
  1841. #endif
  1842. .b_secret =
  1843. #ifdef __LITTLE_ENDIAN
  1844. "\x01\x00" /* type */
  1845. "\x90\x01" /* len */
  1846. "\x80\x01\x00\x00" /* key_size */
  1847. "\x00\x00\x00\x00" /* p_size */
  1848. "\x00\x00\x00\x00" /* g_size */
  1849. #else
  1850. "\x00\x01" /* type */
  1851. "\x01\x90" /* len */
  1852. "\x00\x00\x01\x80" /* key_size */
  1853. "\x00\x00\x00\x00" /* p_size */
  1854. "\x00\x00\x00\x00" /* g_size */
  1855. #endif
  1856. /* xa */
  1857. "\x6b\xb4\x97\x23\xfa\xc8\x5e\xa9\x7b\x63\xe7\x3e\x0e\x99\xc3\xb9"
  1858. "\xda\xb7\x48\x0d\xc3\xb1\xbf\x4f\x17\xc7\xa9\x51\xf6\x64\xff\xc4"
  1859. "\x31\x58\x87\x25\x83\x2c\x00\xf0\x41\x29\xf7\xee\xf9\xe6\x36\x76"
  1860. "\xd6\x3a\x24\xbe\xa7\x07\x0b\x93\xc7\x9f\x6c\x75\x0a\x26\x75\x76"
  1861. "\xe3\x0c\x42\xe0\x00\x04\x69\xd9\xec\x0b\x59\x54\x28\x8f\xd7\x9a"
  1862. "\x63\xf4\x5b\xdf\x85\x65\xc4\xe1\x95\x27\x4a\x42\xad\x36\x47\xa9"
  1863. "\x0a\xf8\x14\x1c\xf3\x94\x3b\x7e\x47\x99\x35\xa8\x18\xec\x70\x10"
  1864. "\xdf\xcb\xd2\x78\x88\xc1\x2d\x59\x93\xc1\xa4\x6d\xd7\x1d\xb9\xd5"
  1865. "\xf8\x30\x06\x7f\x98\x90\x0c\x74\x5e\x89\x2f\x64\x5a\xad\x5f\x53"
  1866. "\xb2\xa3\xa8\x83\xbf\xfc\x37\xef\xb8\x36\x0a\x5c\x62\x81\x64\x74"
  1867. "\x16\x2f\x45\x39\x2a\x91\x26\x87\xc0\x12\xcc\x75\x11\xa3\xa1\xc5"
  1868. "\xae\x20\xcf\xcb\x20\x25\x6b\x7a\x31\x93\x9d\x38\xb9\x57\x72\x46"
  1869. "\xd4\x84\x65\x87\xf1\xb5\xd3\xab\xfc\xc3\x4d\x40\x92\x94\x1e\xcd"
  1870. "\x1c\x87\xec\x3f\xcd\xbe\xd0\x95\x6b\x40\x02\xdd\x62\xeb\x0a\xda"
  1871. "\x4f\xbe\x8e\x32\x48\x8b\x6d\x83\xa0\x96\x62\x23\xec\x83\x91\x44"
  1872. "\xf9\x72\x01\xac\xa0\xe4\x72\x1d\x5a\x75\x05\x57\x90\xae\x7e\xb4"
  1873. "\x71\x39\x01\x05\xdc\xe9\xee\xcb\xf0\x61\x28\x91\x69\x8c\x31\x03"
  1874. "\x7a\x92\x15\xa1\x58\x67\x3d\x70\x82\xa6\x2c\xfe\x10\x56\x58\xd3"
  1875. "\x94\x67\xe1\xbe\xee\xc1\x64\x5c\x4b\xc8\x28\x3d\xc5\x66\x3a\xab"
  1876. "\x22\xc1\x7e\xa1\xbb\xf3\x19\x3b\xda\x46\x82\x45\xd4\x3c\x7c\xc6"
  1877. "\xce\x1f\x7f\x95\xa2\x17\xff\x88\xba\xd6\x4d\xdb\xd2\xea\xde\x39"
  1878. "\xd6\xa5\x18\x73\xbb\x64\x6e\x79\xe9\xdc\x3f\x92\x7f\xda\x1f\x49"
  1879. "\x33\x70\x65\x73\xa2\xd9\x06\xb8\x1b\x29\x29\x1a\xe0\xa3\xe6\x05"
  1880. "\x9a\xa8\xc2\x4e\x7a\x78\x1d\x22\x57\x21\xc8\xa3\x8d\x66\x3e\x23",
  1881. .b_public =
  1882. "\x1b\x6a\xba\xea\xa3\xcc\x50\x69\xa9\x41\x89\xaf\x04\xe1\x44\x22"
  1883. "\x97\x20\xd1\xf6\x1e\xcb\x64\x36\x6f\xee\x0b\x16\xc1\xd9\x91\xbe"
  1884. "\x57\xc8\xd9\xf2\xa1\x96\x91\xec\x41\xc7\x79\x00\x1a\x48\x25\x55"
  1885. "\xbe\xf3\x20\x8c\x38\xc6\x7b\xf2\x8b\x5a\xc3\xb5\x87\x0a\x86\x3d"
  1886. "\xb7\xd6\xce\xb0\x96\x2e\x5d\xc4\x00\x5e\x42\xe4\xe5\x50\x4f\xb8"
  1887. "\x6f\x18\xa4\xe1\xd3\x20\xfc\x3c\xf5\x0a\xff\x23\xa6\x5b\xb4\x17"
  1888. "\x3e\x7b\xdf\xb9\xb5\x3c\x1b\x76\x29\xcd\xb4\x46\x4f\x27\x8f\xd2"
  1889. "\xe8\x27\x66\xdb\xe8\xb3\xf5\xe1\xd0\x04\xcd\x89\xff\xba\x76\x67"
  1890. "\xe8\x4d\xcf\x86\x1c\x8a\xd1\xcf\x99\x27\xfb\xa9\x78\xcc\x94\xaf"
  1891. "\x3d\x04\xfd\x25\xc0\x47\xfa\x29\x80\x05\xf4\xde\xad\xdb\xab\x12"
  1892. "\xb0\x2b\x8e\xca\x02\x06\x6d\xad\x3e\x09\xb1\x22\xa3\xf5\x4c\x6d"
  1893. "\x69\x99\x58\x8b\xd8\x45\x2e\xe0\xc9\x3c\xf7\x92\xce\x21\x90\x6b"
  1894. "\x3b\x65\x9f\x64\x79\x8d\x67\x22\x1a\x37\xd3\xee\x51\xe2\xe7\x5a"
  1895. "\x93\x51\xaa\x3c\x4b\x04\x16\x32\xef\xe3\x66\xbe\x18\x94\x88\x64"
  1896. "\x79\xce\x06\x3f\xb8\xd6\xee\xdc\x13\x79\x6f\x20\x14\xc2\x6b\xce"
  1897. "\xc8\xda\x42\xa5\x93\x5b\xe4\x7f\x1a\xe6\xda\x0f\xb3\xc1\x5f\x30"
  1898. "\x50\x76\xe8\x37\x3d\xca\x77\x2c\xa8\xe4\x3b\xf9\x6f\xe0\x17\xed"
  1899. "\x0e\xef\xb7\x31\x14\xb5\xea\xd9\x39\x22\x89\xb6\x40\x57\xcc\x84"
  1900. "\xef\x73\xa7\xe9\x27\x21\x85\x89\xfa\xaf\x03\xda\x9c\x8b\xfd\x52"
  1901. "\x7d\xb0\xa4\xe4\xf9\xd8\x90\x55\xc4\x39\xd6\x9d\xaf\x3b\xce\xac"
  1902. "\xaa\x36\x14\x7a\x9b\x8b\x12\x43\xe1\xca\x61\xae\x46\x5b\xe7\xe5"
  1903. "\x88\x32\x80\xa0\x2d\x51\xbb\x2f\xea\xeb\x3c\x71\xb2\xae\xce\xca"
  1904. "\x61\xd2\x76\xe0\x45\x46\x78\x4e\x09\x2d\xc2\x54\xc2\xa9\xc7\xa8"
  1905. "\x55\x8e\x72\xa4\x8b\x8a\xc9\x01\xdb\xe9\x58\x11\xa1\xc4\xe7\x12",
  1906. .secret_size = 16,
  1907. .b_secret_size = 400,
  1908. .b_public_size = 384,
  1909. .expected_a_public_size = 384,
  1910. .expected_ss_size = 384,
  1911. .genkey = true,
  1912. },
  1913. };
  1914. static const struct kpp_testvec ffdhe4096_dh_tv_template[] __maybe_unused = {
  1915. {
  1916. .secret =
  1917. #ifdef __LITTLE_ENDIAN
  1918. "\x01\x00" /* type */
  1919. "\x10\x02" /* len */
  1920. "\x00\x02\x00\x00" /* key_size */
  1921. "\x00\x00\x00\x00" /* p_size */
  1922. "\x00\x00\x00\x00" /* g_size */
  1923. #else
  1924. "\x00\x01" /* type */
  1925. "\x02\x10" /* len */
  1926. "\x00\x00\x02\x00" /* key_size */
  1927. "\x00\x00\x00\x00" /* p_size */
  1928. "\x00\x00\x00\x00" /* g_size */
  1929. #endif
  1930. /* xa */
  1931. "\x1a\x48\xf3\x6c\x61\x03\x42\x43\xd7\x42\x3b\xfa\xdb\x55\x6f\xa2"
  1932. "\xe1\x79\x52\x0b\x47\xc5\x03\x60\x2f\x26\xb9\x1a\x14\x15\x1a\xd9"
  1933. "\xe0\xbb\xa7\x82\x63\x41\xec\x26\x55\x00\xab\xe5\x21\x9d\x31\x14"
  1934. "\x0e\xe2\xc2\xb2\xb8\x37\xe6\xc3\x5a\xab\xae\x25\xdb\x71\x1e\xed"
  1935. "\xe8\x75\x9a\x04\xa7\x92\x2a\x99\x7e\xc0\x5b\x64\x75\x7f\xe5\xb5"
  1936. "\xdb\x6c\x95\x4f\xe9\xdc\x39\x76\x79\xb0\xf7\x00\x30\x8e\x86\xe7"
  1937. "\x36\xd1\xd2\x0c\x68\x7b\x94\xe9\x91\x85\x08\x86\xbc\x64\x87\xd2"
  1938. "\xf5\x5b\xaf\x03\xf6\x5f\x28\x25\xf1\xa3\x20\x5c\x1b\xb5\x26\x45"
  1939. "\x9a\x47\xab\xd6\xad\x49\xab\x92\x8e\x62\x6f\x48\x31\xea\xf6\x76"
  1940. "\xff\xa2\xb6\x28\x78\xef\x59\xc3\x71\x5d\xa8\xd9\x70\x89\xcc\xe2"
  1941. "\x63\x58\x5e\x3a\xa2\xa2\x88\xbf\x77\x20\x84\x33\x65\x64\x4e\x73"
  1942. "\xe5\x08\xd5\x89\x23\xd6\x07\xac\x29\x65\x2e\x02\xa8\x35\x96\x48"
  1943. "\xe7\x5d\x43\x6a\x42\xcc\xda\x98\xc4\x75\x90\x2e\xf6\xc4\xbf\xd4"
  1944. "\xbc\x31\x14\x0d\x54\x30\x11\xb2\xc9\xcf\xbb\xba\xbc\xc6\xf2\xcf"
  1945. "\xfe\x4a\x9d\xf3\xec\x78\x5d\x5d\xb4\x99\xd0\x67\x0f\x5a\x21\x1c"
  1946. "\x7b\x95\x2b\xcf\x49\x44\x94\x05\x1a\x21\x81\x25\x7f\xe3\x8a\x2a"
  1947. "\xdd\x88\xac\x44\x94\x23\x20\x3b\x75\xf6\x2a\x8a\x45\xf8\xb5\x1f"
  1948. "\xb9\x8b\xeb\xab\x9b\x38\x23\x26\xf1\x0f\x34\x47\x4f\x7f\xe1\x9e"
  1949. "\x84\x84\x78\xe5\xe3\x49\xeb\xcc\x2f\x02\x85\xa4\x18\x91\xde\x1a"
  1950. "\x60\x54\x33\x81\xd5\xae\xdb\x23\x9c\x4d\xa4\xdb\x22\x5b\xdf\xf4"
  1951. "\x8e\x05\x2b\x60\xba\xe8\x75\xfc\x34\x99\xcf\x35\xe1\x06\xba\xdc"
  1952. "\x79\x2a\x5e\xec\x1c\xbe\x79\x33\x63\x1c\xe7\x5f\x1e\x30\xd6\x1b"
  1953. "\xdb\x11\xb8\xea\x63\xff\xfe\x1a\x3c\x24\xf4\x78\x9c\xcc\x5d\x9a"
  1954. "\xc9\x2d\xc4\x9a\xd4\xa7\x65\x84\x98\xdb\x66\x76\xf0\x34\x31\x9f"
  1955. "\xce\xb5\xfb\x28\x07\xde\x1e\x0d\x9b\x01\x64\xeb\x2a\x37\x2f\x20"
  1956. "\xa5\x95\x72\x2b\x54\x51\x59\x91\xea\x50\x54\x0f\x2e\xb0\x1d\xf6"
  1957. "\xb9\x46\x43\xf9\xd0\x13\x21\x20\x47\x61\x1a\x1c\x30\xc6\x9e\x75"
  1958. "\x22\xe4\xf2\xb1\xab\x01\xdc\x5b\x3c\x1e\xa2\x6d\xc0\xb9\x9a\x2a"
  1959. "\x84\x61\xea\x85\x63\xa0\x77\xd0\xeb\x20\x68\xd5\x95\x6a\x1b\x8f"
  1960. "\x1f\x9a\xba\x44\x49\x8c\x77\xa6\xd9\xa0\x14\xf8\x7d\x9b\x4e\xfa"
  1961. "\xdc\x4f\x1c\x4d\x60\x50\x26\x7f\xd6\xc1\x91\x2b\xa6\x37\x5d\x94"
  1962. "\x69\xb2\x47\x59\xd6\xc3\x59\xbb\xd6\x9b\x71\x52\x85\x7a\xcb\x2d",
  1963. .b_public =
  1964. "\x24\x38\x02\x02\x2f\xeb\x54\xdd\x73\x21\x91\x4a\xd8\xa4\x0a\xbf"
  1965. "\xf4\xf5\x9a\x45\xb5\xcd\x42\xa3\x57\xcc\x65\x4a\x23\x2e\xee\x59"
  1966. "\xba\x6f\x14\x89\xae\x2e\x14\x0a\x72\x77\x23\x7f\x6c\x2e\xba\x52"
  1967. "\x3f\x71\xbf\xe4\x60\x03\x16\xaa\x61\xf5\x80\x1d\x8a\x45\x9e\x53"
  1968. "\x7b\x07\xd9\x7e\xfe\xaf\xcb\xda\xff\x20\x71\xba\x89\x39\x75\xc3"
  1969. "\xb3\x65\x0c\xb1\xa7\xfa\x4a\xe7\xe0\x85\xc5\x4e\x91\x47\x41\xf4"
  1970. "\xdd\xcd\xc5\x3d\x17\x12\xed\xee\xc0\x31\xb1\xaf\xc1\xd5\x3c\x07"
  1971. "\xa1\x5a\xc4\x05\x45\xe3\x10\x0c\xc3\x14\xae\x65\xca\x40\xae\x31"
  1972. "\x5c\x13\x0d\x32\x85\xa7\x6e\xf4\x5e\x29\x3d\x4e\xd3\xd7\x49\x58"
  1973. "\xe1\x73\xbb\x0a\x7b\xd6\x13\xea\x49\xd7\x20\x3d\x31\xaa\x77\xab"
  1974. "\x21\x74\xe9\x2f\xe9\x5e\xbe\x2f\xb4\xa2\x79\xf2\xbc\xcc\x51\x94"
  1975. "\xd2\x1d\xb2\xe6\xc5\x39\x66\xd7\xe5\x46\x75\x53\x76\xed\x49\xea"
  1976. "\x3b\xdd\x01\x27\xdb\x83\xa5\x9f\xd2\xee\xc8\xde\x9e\xde\xd2\xe7"
  1977. "\x99\xad\x9c\xe0\x71\x66\x29\xd8\x0d\xfe\xdc\xd1\xbc\xc7\x9a\xbe"
  1978. "\x8b\x26\x46\x57\xb6\x79\xfa\xad\x8b\x45\x2e\xb5\xe5\x89\x34\x01"
  1979. "\x93\x00\x9d\xe9\x58\x74\x8b\xda\x07\x92\xb5\x01\x4a\xe1\x44\x36"
  1980. "\xc7\x6c\xde\xc8\x7a\x17\xd0\xde\xee\x68\x92\xb5\xde\x21\x2b\x1c"
  1981. "\xbc\x65\x30\x1e\xae\x15\x3d\x9a\xaf\x20\xa3\xc4\x21\x70\xfb\x2f"
  1982. "\x36\x72\x31\xc0\xe8\x85\xdf\xc5\x50\x4c\x90\x10\x32\xa4\xc7\xee"
  1983. "\x59\x5a\x21\xf4\xf1\x33\xcf\xbe\xac\x67\xb1\x40\x7c\x0b\x3f\x64"
  1984. "\xe5\xd2\x2d\xb7\x7d\x0f\xce\xf7\x9b\x05\xee\x37\x61\xd2\x61\x9e"
  1985. "\x1a\x80\x2e\x79\xe6\x1b\x25\xb3\x61\x3d\x53\xe7\xe5\x97\x9a\xc2"
  1986. "\x39\xb1\xe3\x91\xc6\xee\x96\x2e\xa9\xb4\xb8\xad\xd8\x04\x3e\x11"
  1987. "\x31\x67\xb8\x6a\xcb\x6e\x1a\x4c\x7f\x74\xc7\x1f\x09\xd1\xd0\x6b"
  1988. "\x17\xde\xea\xe8\x0b\xe6\x6a\xee\x2f\xe3\x5b\x9c\x59\x5d\x00\x57"
  1989. "\xbf\x24\x25\xba\x22\x34\xb9\xc5\x3c\xc4\x57\x26\xd0\x6d\x89\xee"
  1990. "\x67\x79\x3c\x70\xf9\xc3\xb4\x30\xf0\x2e\xca\xfa\x74\x00\xd1\x00"
  1991. "\x6d\x03\x97\xd5\x08\x3f\x0b\x8e\xb8\x1d\xa3\x91\x7f\xa9\x3a\xf0"
  1992. "\x37\x57\x46\x87\x82\xa3\xb5\x8f\x51\xaa\xc7\x7b\xfe\x86\x26\xb9"
  1993. "\xfa\xe6\x1e\xee\x92\x9d\x3a\xed\x5b\x5e\x3f\xe5\xca\x5e\x13\x01"
  1994. "\xdd\x4c\x8d\x85\xf0\x60\x61\xb7\x60\x24\x83\x9f\xbe\x72\x21\x81"
  1995. "\x55\x7e\x7e\x6d\xf3\x28\xc8\x77\x5a\xae\x5a\x32\x86\xd5\x61\xad",
  1996. .expected_a_public =
  1997. "\x1f\xff\xd6\xc4\x59\xf3\x4a\x9e\x81\x74\x4d\x27\xa7\xc6\x6b\x35"
  1998. "\xd8\xf5\xb3\x24\x97\x82\xe7\x2e\xf3\x21\x91\x23\x2f\x3d\x57\x7f"
  1999. "\x15\x8c\x84\x71\xe7\x25\x35\xe8\x07\x14\x06\x4c\x83\xdc\x55\x4a"
  2000. "\xf8\x45\xc5\xe9\xfa\x6e\xae\x6e\xcf\x4d\x11\x91\x26\x16\x6f\x86"
  2001. "\x89\x78\xaa\xb4\x25\x54\xb2\x74\x07\xe5\x26\x26\x0c\xad\xa4\x57"
  2002. "\x59\x61\x66\x71\x43\x22\xff\x49\x51\xa4\x76\x0e\x55\x7b\x60\x45"
  2003. "\x4f\xaf\xbd\x9c\xec\x64\x3f\x80\x0b\x0c\x31\x41\xf0\xfe\x2c\xb7"
  2004. "\x0a\xbe\xa5\x71\x08\x0d\x8d\x1e\x8a\x77\x9a\xd2\x90\x31\x96\xd0"
  2005. "\x3b\x31\xdc\xc6\x18\x59\x43\xa1\x19\x5a\x84\x68\x29\xad\x5e\x58"
  2006. "\xa2\x50\x3e\x83\xf5\x7a\xbd\x88\x17\x60\x89\x98\x9c\x19\x89\x27"
  2007. "\x89\xfc\x33\x87\x42\xd5\xde\x19\x14\xf2\x95\x82\x10\x87\xad\x82"
  2008. "\xdd\x6b\x51\x2d\x8d\x0e\x81\x4b\xde\xb3\x35\x6c\x0f\x4b\x56\x45"
  2009. "\x48\x87\xe9\x5a\xf9\x70\x10\x30\x8e\xa1\xbb\xa4\x70\xbf\xa0\xab"
  2010. "\x10\x31\x3c\x2c\xdc\xc4\xed\xe3\x51\xdc\xee\xd2\xa5\x5c\x4e\x6e"
  2011. "\xf6\xed\x60\x5a\xeb\xf3\x02\x19\x2a\x95\xe9\x46\xff\x37\x1b\xf0"
  2012. "\x1d\x10\x4a\x8f\x4f\x3a\x6e\xf5\xfc\x02\x6d\x09\x7d\xea\x69\x7b"
  2013. "\x13\xb0\xb6\x80\x5c\x15\x20\xa8\x4d\x15\x56\x11\x72\x49\xdb\x48"
  2014. "\x54\x40\x66\xd5\xcd\x17\x3a\x26\x95\xf6\xd7\xf2\x59\xa3\xda\xbb"
  2015. "\x26\xd0\xe5\x46\xbf\xee\x0e\x7d\xf1\xe0\x11\x02\x4d\xd3\xdc\xe2"
  2016. "\x3f\xc2\x51\x7e\xc7\x90\x33\x3c\x1c\xa0\x4c\x69\xcc\x1e\xc7\xac"
  2017. "\x17\xe0\xe5\xf4\x8c\x05\x64\x34\xfe\x84\x70\xd7\x6b\xed\xab\xf5"
  2018. "\x88\x9d\x3e\x4c\x5a\x9e\xd4\x74\xfd\xdd\x91\xd5\xd4\xcb\xbf\xf8"
  2019. "\xb7\x56\xb5\xe9\x22\xa6\x6d\x7a\x44\x05\x41\xbf\xdb\x61\x28\xc6"
  2020. "\x99\x49\x87\x3d\x28\x77\xf8\x83\x23\x7e\xa9\xa7\xee\x20\xdb\x6d"
  2021. "\x21\x50\xb7\xc9\x52\x57\x53\xa3\xcf\xdf\xd0\xf9\xb9\x62\x96\x89"
  2022. "\xf5\x5c\xa9\x8a\x11\x95\x01\x25\xc9\x81\x15\x76\xae\xf0\xc7\xc5"
  2023. "\x50\xae\x6f\xb5\xd2\x8a\x8e\x9a\xd4\x30\x55\xc6\xe9\x2c\x81\x6e"
  2024. "\x95\xf6\x45\x89\x55\x28\x34\x7b\xe5\x72\x9a\x2a\xe2\x98\x09\x35"
  2025. "\xe0\xe9\x75\x94\xe9\x34\x95\xb9\x13\x6e\xd5\xa1\x62\x5a\x1c\x94"
  2026. "\x28\xed\x84\x46\x76\x6d\x10\x37\x71\xa3\x31\x46\x64\xe4\x59\x44"
  2027. "\x17\x70\x1c\x23\xc9\x7e\xf6\xab\x8a\x24\xae\x25\xe2\xb2\x5f\x33"
  2028. "\xe4\xd7\xd3\x34\x2a\x49\x22\x16\x15\x9b\x90\x40\xda\x99\xd5\xaf",
  2029. .expected_ss =
  2030. "\xe2\xce\x0e\x4b\x64\xf3\x84\x62\x38\xfd\xe3\x6f\x69\x40\x22\xb0"
  2031. "\x73\x27\x03\x12\x82\xa4\x6e\x03\x57\xec\x3d\xa0\xc1\x4f\x4b\x09"
  2032. "\xa1\xd4\xe0\x1a\x5d\x91\x2e\x08\xad\x57\xfa\xcc\x55\x90\x5f\xa0"
  2033. "\x52\x27\x62\x8d\xe5\x2d\xa1\x5f\xf0\x30\x43\x77\x4e\x3f\x02\x58"
  2034. "\xcb\xa0\x51\xae\x1d\x24\xf9\x0a\xd1\x36\x0b\x95\x0f\x07\xd9\xf7"
  2035. "\xe2\x36\x14\x2f\xf0\x11\xc2\xc9\xaf\x66\x4e\x0d\xb4\x60\x01\x4e"
  2036. "\xa8\x49\xc6\xec\x5f\xb2\xbc\x05\x48\x91\x4e\xe1\xc3\x99\x9f\xeb"
  2037. "\x4a\xc1\xde\x05\x9a\x65\x39\x7d\x2f\x89\x85\xb2\xcf\xec\x25\x27"
  2038. "\x5f\x1c\x11\x63\xcf\x7b\x86\x98\x39\xae\xc2\x16\x8f\x79\xd1\x20"
  2039. "\xd0\xb4\xa0\xba\x44\xd8\xf5\x3a\x0a\x08\x4c\xd1\xb9\xdd\x0a\x5b"
  2040. "\x9e\x62\xf3\x52\x0c\x84\x12\x43\x9b\xd7\xdf\x86\x71\x03\xdd\x04"
  2041. "\x98\x55\x0c\x7b\xe2\xe8\x03\x17\x25\x84\xd9\xbd\xe1\xce\x64\xbe"
  2042. "\xca\x55\xd4\x5b\xef\x61\x5b\x68\x4b\x80\x37\x40\xae\x28\x87\x81"
  2043. "\x55\x34\x96\x50\x21\x47\x49\xc0\xda\x26\x46\xb8\xe8\xcc\x5a\x27"
  2044. "\x9c\x9d\x0a\x3d\xcc\x4c\x63\x27\x81\x82\x2e\xf4\xa8\x91\x37\x3e"
  2045. "\xa7\x34\x6a\x0f\x60\x44\xdd\x2e\xdc\xf9\x19\xf2\x2e\x81\x05\x51"
  2046. "\x16\xbc\xc0\x85\xa5\xd5\x08\x09\x1f\xcd\xed\xa4\xc5\xdb\x16\x43"
  2047. "\xb5\x7a\x71\x66\x19\x2e\xef\x13\xbc\x40\x39\x0a\x00\x45\x7e\x61"
  2048. "\xe9\x68\x60\x83\x00\x70\xd1\x71\xd3\xa2\x61\x3e\x00\x46\x93\x0d"
  2049. "\xbf\xe6\xa2\x07\xe6\x40\x1a\xf4\x57\xc6\x67\x39\xd8\xd7\x6b\xc5"
  2050. "\xa5\xd8\x38\x78\x12\xb4\x97\x12\xbe\x97\x13\xef\xe4\x74\x0c\xe0"
  2051. "\x75\x89\x64\xf4\xe8\x85\xda\x84\x7b\x1d\xfe\xdd\x21\xba\xda\x01"
  2052. "\x52\xdc\x59\xe5\x47\x50\x7e\x15\x20\xd0\x43\x37\x6e\x48\x39\x00"
  2053. "\xee\xd9\x54\x6d\x00\x65\xc9\x4b\x85\xa2\x8a\x40\x55\xd0\x63\x0c"
  2054. "\xb5\x7a\x0d\x37\x67\x27\x73\x18\x7f\x5a\xf5\x0e\x22\xb9\xb0\x3f"
  2055. "\xda\xf1\xec\x7c\x24\x01\x49\xa9\x09\x0e\x0f\xc4\xa9\xef\xc8\x2b"
  2056. "\x13\xd1\x0a\x6f\xf8\x92\x4b\x1d\xdd\x6c\x9c\x35\xde\x75\x46\x32"
  2057. "\xe6\xfb\xda\x58\xba\x81\x08\xca\xa9\xb6\x69\x71\x96\x2a\x1f\x2e"
  2058. "\x25\xe0\x37\xfe\xee\x4d\x27\xaa\x04\xda\x95\xbb\x93\xcf\x8f\xa2"
  2059. "\x1d\x67\x35\xe3\x51\x8f\x87\x3b\xa9\x62\x05\xee\x44\xb7\x2e\xd0"
  2060. "\x07\x63\x32\xf5\xcd\x64\x18\x20\xcf\x22\x42\x28\x22\x1a\xa8\xbb"
  2061. "\x74\x8a\x6f\x2a\xea\x8a\x48\x0a\xad\xd7\xed\xba\xa3\x89\x37\x01",
  2062. .secret_size = 528,
  2063. .b_public_size = 512,
  2064. .expected_a_public_size = 512,
  2065. .expected_ss_size = 512,
  2066. },
  2067. {
  2068. .secret =
  2069. #ifdef __LITTLE_ENDIAN
  2070. "\x01\x00" /* type */
  2071. "\x10\x00" /* len */
  2072. "\x00\x00\x00\x00" /* key_size */
  2073. "\x00\x00\x00\x00" /* p_size */
  2074. "\x00\x00\x00\x00", /* g_size */
  2075. #else
  2076. "\x00\x01" /* type */
  2077. "\x00\x10" /* len */
  2078. "\x00\x00\x00\x00" /* key_size */
  2079. "\x00\x00\x00\x00" /* p_size */
  2080. "\x00\x00\x00\x00", /* g_size */
  2081. #endif
  2082. .b_secret =
  2083. #ifdef __LITTLE_ENDIAN
  2084. "\x01\x00" /* type */
  2085. "\x10\x02" /* len */
  2086. "\x00\x02\x00\x00" /* key_size */
  2087. "\x00\x00\x00\x00" /* p_size */
  2088. "\x00\x00\x00\x00" /* g_size */
  2089. #else
  2090. "\x00\x01" /* type */
  2091. "\x02\x10" /* len */
  2092. "\x00\x00\x02\x00" /* key_size */
  2093. "\x00\x00\x00\x00" /* p_size */
  2094. "\x00\x00\x00\x00" /* g_size */
  2095. #endif
  2096. /* xa */
  2097. "\x1a\x48\xf3\x6c\x61\x03\x42\x43\xd7\x42\x3b\xfa\xdb\x55\x6f\xa2"
  2098. "\xe1\x79\x52\x0b\x47\xc5\x03\x60\x2f\x26\xb9\x1a\x14\x15\x1a\xd9"
  2099. "\xe0\xbb\xa7\x82\x63\x41\xec\x26\x55\x00\xab\xe5\x21\x9d\x31\x14"
  2100. "\x0e\xe2\xc2\xb2\xb8\x37\xe6\xc3\x5a\xab\xae\x25\xdb\x71\x1e\xed"
  2101. "\xe8\x75\x9a\x04\xa7\x92\x2a\x99\x7e\xc0\x5b\x64\x75\x7f\xe5\xb5"
  2102. "\xdb\x6c\x95\x4f\xe9\xdc\x39\x76\x79\xb0\xf7\x00\x30\x8e\x86\xe7"
  2103. "\x36\xd1\xd2\x0c\x68\x7b\x94\xe9\x91\x85\x08\x86\xbc\x64\x87\xd2"
  2104. "\xf5\x5b\xaf\x03\xf6\x5f\x28\x25\xf1\xa3\x20\x5c\x1b\xb5\x26\x45"
  2105. "\x9a\x47\xab\xd6\xad\x49\xab\x92\x8e\x62\x6f\x48\x31\xea\xf6\x76"
  2106. "\xff\xa2\xb6\x28\x78\xef\x59\xc3\x71\x5d\xa8\xd9\x70\x89\xcc\xe2"
  2107. "\x63\x58\x5e\x3a\xa2\xa2\x88\xbf\x77\x20\x84\x33\x65\x64\x4e\x73"
  2108. "\xe5\x08\xd5\x89\x23\xd6\x07\xac\x29\x65\x2e\x02\xa8\x35\x96\x48"
  2109. "\xe7\x5d\x43\x6a\x42\xcc\xda\x98\xc4\x75\x90\x2e\xf6\xc4\xbf\xd4"
  2110. "\xbc\x31\x14\x0d\x54\x30\x11\xb2\xc9\xcf\xbb\xba\xbc\xc6\xf2\xcf"
  2111. "\xfe\x4a\x9d\xf3\xec\x78\x5d\x5d\xb4\x99\xd0\x67\x0f\x5a\x21\x1c"
  2112. "\x7b\x95\x2b\xcf\x49\x44\x94\x05\x1a\x21\x81\x25\x7f\xe3\x8a\x2a"
  2113. "\xdd\x88\xac\x44\x94\x23\x20\x3b\x75\xf6\x2a\x8a\x45\xf8\xb5\x1f"
  2114. "\xb9\x8b\xeb\xab\x9b\x38\x23\x26\xf1\x0f\x34\x47\x4f\x7f\xe1\x9e"
  2115. "\x84\x84\x78\xe5\xe3\x49\xeb\xcc\x2f\x02\x85\xa4\x18\x91\xde\x1a"
  2116. "\x60\x54\x33\x81\xd5\xae\xdb\x23\x9c\x4d\xa4\xdb\x22\x5b\xdf\xf4"
  2117. "\x8e\x05\x2b\x60\xba\xe8\x75\xfc\x34\x99\xcf\x35\xe1\x06\xba\xdc"
  2118. "\x79\x2a\x5e\xec\x1c\xbe\x79\x33\x63\x1c\xe7\x5f\x1e\x30\xd6\x1b"
  2119. "\xdb\x11\xb8\xea\x63\xff\xfe\x1a\x3c\x24\xf4\x78\x9c\xcc\x5d\x9a"
  2120. "\xc9\x2d\xc4\x9a\xd4\xa7\x65\x84\x98\xdb\x66\x76\xf0\x34\x31\x9f"
  2121. "\xce\xb5\xfb\x28\x07\xde\x1e\x0d\x9b\x01\x64\xeb\x2a\x37\x2f\x20"
  2122. "\xa5\x95\x72\x2b\x54\x51\x59\x91\xea\x50\x54\x0f\x2e\xb0\x1d\xf6"
  2123. "\xb9\x46\x43\xf9\xd0\x13\x21\x20\x47\x61\x1a\x1c\x30\xc6\x9e\x75"
  2124. "\x22\xe4\xf2\xb1\xab\x01\xdc\x5b\x3c\x1e\xa2\x6d\xc0\xb9\x9a\x2a"
  2125. "\x84\x61\xea\x85\x63\xa0\x77\xd0\xeb\x20\x68\xd5\x95\x6a\x1b\x8f"
  2126. "\x1f\x9a\xba\x44\x49\x8c\x77\xa6\xd9\xa0\x14\xf8\x7d\x9b\x4e\xfa"
  2127. "\xdc\x4f\x1c\x4d\x60\x50\x26\x7f\xd6\xc1\x91\x2b\xa6\x37\x5d\x94"
  2128. "\x69\xb2\x47\x59\xd6\xc3\x59\xbb\xd6\x9b\x71\x52\x85\x7a\xcb\x2d",
  2129. .b_public =
  2130. "\x1f\xff\xd6\xc4\x59\xf3\x4a\x9e\x81\x74\x4d\x27\xa7\xc6\x6b\x35"
  2131. "\xd8\xf5\xb3\x24\x97\x82\xe7\x2e\xf3\x21\x91\x23\x2f\x3d\x57\x7f"
  2132. "\x15\x8c\x84\x71\xe7\x25\x35\xe8\x07\x14\x06\x4c\x83\xdc\x55\x4a"
  2133. "\xf8\x45\xc5\xe9\xfa\x6e\xae\x6e\xcf\x4d\x11\x91\x26\x16\x6f\x86"
  2134. "\x89\x78\xaa\xb4\x25\x54\xb2\x74\x07\xe5\x26\x26\x0c\xad\xa4\x57"
  2135. "\x59\x61\x66\x71\x43\x22\xff\x49\x51\xa4\x76\x0e\x55\x7b\x60\x45"
  2136. "\x4f\xaf\xbd\x9c\xec\x64\x3f\x80\x0b\x0c\x31\x41\xf0\xfe\x2c\xb7"
  2137. "\x0a\xbe\xa5\x71\x08\x0d\x8d\x1e\x8a\x77\x9a\xd2\x90\x31\x96\xd0"
  2138. "\x3b\x31\xdc\xc6\x18\x59\x43\xa1\x19\x5a\x84\x68\x29\xad\x5e\x58"
  2139. "\xa2\x50\x3e\x83\xf5\x7a\xbd\x88\x17\x60\x89\x98\x9c\x19\x89\x27"
  2140. "\x89\xfc\x33\x87\x42\xd5\xde\x19\x14\xf2\x95\x82\x10\x87\xad\x82"
  2141. "\xdd\x6b\x51\x2d\x8d\x0e\x81\x4b\xde\xb3\x35\x6c\x0f\x4b\x56\x45"
  2142. "\x48\x87\xe9\x5a\xf9\x70\x10\x30\x8e\xa1\xbb\xa4\x70\xbf\xa0\xab"
  2143. "\x10\x31\x3c\x2c\xdc\xc4\xed\xe3\x51\xdc\xee\xd2\xa5\x5c\x4e\x6e"
  2144. "\xf6\xed\x60\x5a\xeb\xf3\x02\x19\x2a\x95\xe9\x46\xff\x37\x1b\xf0"
  2145. "\x1d\x10\x4a\x8f\x4f\x3a\x6e\xf5\xfc\x02\x6d\x09\x7d\xea\x69\x7b"
  2146. "\x13\xb0\xb6\x80\x5c\x15\x20\xa8\x4d\x15\x56\x11\x72\x49\xdb\x48"
  2147. "\x54\x40\x66\xd5\xcd\x17\x3a\x26\x95\xf6\xd7\xf2\x59\xa3\xda\xbb"
  2148. "\x26\xd0\xe5\x46\xbf\xee\x0e\x7d\xf1\xe0\x11\x02\x4d\xd3\xdc\xe2"
  2149. "\x3f\xc2\x51\x7e\xc7\x90\x33\x3c\x1c\xa0\x4c\x69\xcc\x1e\xc7\xac"
  2150. "\x17\xe0\xe5\xf4\x8c\x05\x64\x34\xfe\x84\x70\xd7\x6b\xed\xab\xf5"
  2151. "\x88\x9d\x3e\x4c\x5a\x9e\xd4\x74\xfd\xdd\x91\xd5\xd4\xcb\xbf\xf8"
  2152. "\xb7\x56\xb5\xe9\x22\xa6\x6d\x7a\x44\x05\x41\xbf\xdb\x61\x28\xc6"
  2153. "\x99\x49\x87\x3d\x28\x77\xf8\x83\x23\x7e\xa9\xa7\xee\x20\xdb\x6d"
  2154. "\x21\x50\xb7\xc9\x52\x57\x53\xa3\xcf\xdf\xd0\xf9\xb9\x62\x96\x89"
  2155. "\xf5\x5c\xa9\x8a\x11\x95\x01\x25\xc9\x81\x15\x76\xae\xf0\xc7\xc5"
  2156. "\x50\xae\x6f\xb5\xd2\x8a\x8e\x9a\xd4\x30\x55\xc6\xe9\x2c\x81\x6e"
  2157. "\x95\xf6\x45\x89\x55\x28\x34\x7b\xe5\x72\x9a\x2a\xe2\x98\x09\x35"
  2158. "\xe0\xe9\x75\x94\xe9\x34\x95\xb9\x13\x6e\xd5\xa1\x62\x5a\x1c\x94"
  2159. "\x28\xed\x84\x46\x76\x6d\x10\x37\x71\xa3\x31\x46\x64\xe4\x59\x44"
  2160. "\x17\x70\x1c\x23\xc9\x7e\xf6\xab\x8a\x24\xae\x25\xe2\xb2\x5f\x33"
  2161. "\xe4\xd7\xd3\x34\x2a\x49\x22\x16\x15\x9b\x90\x40\xda\x99\xd5\xaf",
  2162. .secret_size = 16,
  2163. .b_secret_size = 528,
  2164. .b_public_size = 512,
  2165. .expected_a_public_size = 512,
  2166. .expected_ss_size = 512,
  2167. .genkey = true,
  2168. },
  2169. };
  2170. static const struct kpp_testvec ffdhe6144_dh_tv_template[] __maybe_unused = {
  2171. {
  2172. .secret =
  2173. #ifdef __LITTLE_ENDIAN
  2174. "\x01\x00" /* type */
  2175. "\x10\x03" /* len */
  2176. "\x00\x03\x00\x00" /* key_size */
  2177. "\x00\x00\x00\x00" /* p_size */
  2178. "\x00\x00\x00\x00" /* g_size */
  2179. #else
  2180. "\x00\x01" /* type */
  2181. "\x03\x10" /* len */
  2182. "\x00\x00\x03\x00" /* key_size */
  2183. "\x00\x00\x00\x00" /* p_size */
  2184. "\x00\x00\x00\x00" /* g_size */
  2185. #endif
  2186. /* xa */
  2187. "\x63\x3e\x6f\xe0\xfe\x9f\x4a\x01\x62\x77\xce\xf1\xc7\xcc\x49\x4d"
  2188. "\x92\x53\x56\xe3\x39\x15\x81\xb2\xcd\xdc\xaf\x5e\xbf\x31\x1f\x69"
  2189. "\xce\x41\x35\x24\xaa\x46\x53\xb5\xb7\x3f\x2b\xad\x95\x14\xfb\xe4"
  2190. "\x9a\x61\xcd\x0f\x1f\x02\xee\xa4\x79\x2c\x9d\x1a\x7c\x62\x82\x39"
  2191. "\xdd\x43\xcc\x58\x9f\x62\x47\x56\x1d\x0f\xc2\x67\xbc\x24\xd0\xf9"
  2192. "\x0a\x50\x1b\x10\xe7\xbb\xd1\xc2\x01\xbb\xc4\x4c\xda\x12\x60\x0e"
  2193. "\x95\x2b\xde\x09\xd6\x67\xe1\xbc\x4c\xb9\x67\xdf\xd0\x1f\x97\xb4"
  2194. "\xde\xcb\x6b\x78\x83\x51\x74\x33\x01\x7f\xf6\x0a\x95\x69\x93\x00"
  2195. "\x2a\xc3\x75\x8e\xef\xbe\x53\x11\x6d\xc4\xd0\x9f\x6d\x63\x48\xc1"
  2196. "\x91\x1f\x7d\x88\xa7\x90\x78\xd1\x7e\x52\x42\x10\x01\xb4\x27\x95"
  2197. "\x91\x43\xcc\x82\x91\x86\x62\xa0\x9d\xef\x65\x6e\x67\xcf\x19\x11"
  2198. "\x35\x37\x5e\x94\x97\x83\xa6\x83\x1c\x7e\x8a\x3e\x32\xb0\xce\xff"
  2199. "\x20\xdc\x7b\x6e\x18\xd9\x6b\x27\x31\xfc\xc3\xef\x47\x8d\xbe\x34"
  2200. "\x2b\xc7\x60\x74\x3c\x93\xb3\x8e\x54\x77\x4e\x73\xe6\x40\x72\x35"
  2201. "\xb0\xf0\x06\x53\x43\xbe\xd0\xc3\x87\xcc\x38\x96\xa9\x10\xa0\xd6"
  2202. "\x17\xed\xa5\x6a\xf4\xf6\xaa\x77\x40\xed\x7d\x2e\x58\x0f\x5b\x04"
  2203. "\x5a\x41\x12\x95\x22\xcb\xa3\xce\x8b\x6d\x6d\x89\xec\x7c\x1d\x25"
  2204. "\x27\x52\x50\xa0\x5b\x93\x8c\x5d\x3f\x56\xb9\xa6\x5e\xe5\xf7\x9b"
  2205. "\xc7\x9a\x4a\x2e\x79\xb5\xca\x29\x58\x52\xa0\x63\xe4\x9d\xeb\x4c"
  2206. "\x4c\xa8\x37\x0b\xe9\xa0\x18\xf1\x86\xf6\x4d\x32\xfb\x9e\x4f\xb3"
  2207. "\x7b\x5d\x58\x78\x70\xbd\x56\xac\x99\x75\x25\x71\x66\x76\x4e\x5e"
  2208. "\x67\x4f\xb1\x17\xa7\x8b\x55\x12\x87\x01\x4e\xd1\x66\xef\xd0\x70"
  2209. "\xaf\x14\x34\xee\x2a\x76\x49\x25\xa6\x2e\x43\x37\x75\x7d\x1a\xad"
  2210. "\x08\xd5\x01\x85\x9c\xe1\x20\xd8\x38\x5c\x57\xa5\xed\x9d\x46\x3a"
  2211. "\xb7\x46\x60\x29\x8b\xc4\x21\x50\x0a\x30\x9c\x57\x42\xe4\x35\xf8"
  2212. "\x12\x5c\x4f\xa2\x20\xc2\xc9\x43\xe3\x6d\x20\xbc\xdf\xb8\x37\x33"
  2213. "\x45\x43\x06\x4e\x08\x6f\x8a\xcd\x61\xc3\x1b\x05\x28\x82\xbe\xf0"
  2214. "\x48\x33\xe5\x93\xc9\x1a\x61\x16\x67\x03\x9d\x47\x9d\x74\xeb\xae"
  2215. "\x13\xf2\xb4\x1b\x09\x11\xf5\x15\xcb\x28\xfd\x50\xe0\xbc\x58\x36"
  2216. "\x38\x91\x2c\x07\x27\x1f\x49\x68\xf4\xce\xad\xf7\xba\xec\x5d\x3d"
  2217. "\xfd\x27\xe2\xcf\xf4\x56\xfe\x08\xa6\x11\x61\xcb\x6c\x9f\xf9\x3c"
  2218. "\x57\x0b\x8b\xaa\x00\x16\x18\xba\x1f\xe8\x4f\x01\xe2\x79\x2a\x0b"
  2219. "\xc1\xbd\x52\xef\xe6\xf7\x5a\x66\xfe\x07\x3b\x50\x6b\xbb\xcb\x39"
  2220. "\x3c\x94\xf6\x21\x0d\x68\x69\xa4\xed\x2e\xb5\x85\x03\x11\x38\x79"
  2221. "\xec\xb5\x22\x23\xdf\x9e\xad\xb4\xbe\xd7\xc7\xdf\xea\x30\x23\x8a"
  2222. "\xb7\x21\x0a\x9d\xbd\x99\x13\x7d\x5f\x7e\xaf\x28\x54\x3f\xca\x5e"
  2223. "\xf4\xfc\x05\x0d\x65\x67\xd8\xf6\x8e\x90\x9d\x0d\xcf\x62\x82\xd6"
  2224. "\x9f\x02\xf8\xca\xfa\x42\x24\x7f\x4d\xb7\xfc\x92\xa6\x4a\x51\xc4"
  2225. "\xd8\xae\x19\x87\xc6\xa3\x83\xbe\x7b\x6d\xc3\xf5\xb8\xad\x4a\x05"
  2226. "\x78\x84\x3a\x15\x2e\x40\xbe\x79\xa9\xc0\x12\xa1\x48\x39\xc3\xdb"
  2227. "\x47\x4f\x7d\xea\x6d\xc7\xfa\x2c\x4e\xe9\xa5\x85\x81\xea\x6c\xcd"
  2228. "\x8a\xe5\x74\x17\x76\x31\x31\x75\x96\x83\xca\x81\xbb\x5c\xa9\x79"
  2229. "\x2c\xbd\x09\xfe\xe4\x86\x0d\x8c\x76\x9c\xbc\xe8\x93\xe4\xd0\xe4"
  2230. "\x0f\xf8\xff\x24\x7e\x66\x61\x69\xfb\xe4\x46\x08\x94\x99\xa5\x53"
  2231. "\xd7\xe4\x29\x72\x86\x86\xe8\x1d\x37\xfa\xcb\xd0\x8d\x51\xd0\xbf"
  2232. "\x81\xcf\x55\xb9\xc5\x78\x8c\x74\xa0\x16\x3a\xd2\x19\x94\x29\x6a"
  2233. "\x5e\xec\xd3\x20\xa0\xb2\xfd\xce\xd4\x14\xa3\x39\x10\xa9\xf4\x4e"
  2234. "\xba\x21\x09\x5c\xe6\x61\x43\x51\xae\xc4\x71\xd7\x21\xef\x98\x39",
  2235. .b_public =
  2236. "\x30\x31\xbe\x43\xd0\x14\x22\x6b\x4b\x8c\x9a\xca\xc6\xdd\xe5\x99"
  2237. "\xce\xb8\x30\x23\xb6\xa8\x8c\x4d\xfa\xef\xad\xa6\x6a\x21\x50\xa6"
  2238. "\x45\x2d\x19\x2a\x29\x81\xc5\xac\xb4\xa8\x5f\x6d\x5b\xc8\x5f\x12"
  2239. "\x35\x21\xfb\x37\xaa\x0c\x79\xeb\xd4\x83\x01\xda\xa3\xf3\x51\x6e"
  2240. "\x17\xf9\xef\x3f\xbd\x2f\xd2\x43\x82\x12\x48\xeb\x61\x4c\x8e\xf2"
  2241. "\x6c\x76\xf9\x6d\x42\x2a\xcb\x10\x13\x3b\xf6\x9b\xcd\x46\x1e\xa2"
  2242. "\xa7\x2c\x08\x56\xd2\x42\xf5\x03\xf0\x3e\xef\xa2\xa2\xf2\x4c\xf2"
  2243. "\xdb\x4f\xeb\x40\x15\x53\x27\xf7\xd4\x8e\x58\x23\xf5\x2c\x88\x04"
  2244. "\x1e\xb1\xb6\xe3\xd6\x9c\x49\x08\xa1\x4b\xb8\x33\xe4\x75\x85\xa1"
  2245. "\x86\x97\xce\x1d\xe9\x9f\xe2\xd8\xf2\x7e\xad\xdc\x8a\x4d\xbd\x06"
  2246. "\x52\x00\x9a\x2c\x69\xdd\x02\x0c\x69\x5a\xf9\x1d\xfd\xdc\xfb\x82"
  2247. "\xb2\xe5\xf3\x24\xba\xd1\x09\x76\x90\xb5\x7a\x92\xa6\x6b\x97\xc0"
  2248. "\xce\x13\x9b\x4b\xbc\x30\x91\xb2\x13\x8b\x57\x6c\x8b\x66\x6e\x58"
  2249. "\x3e\x91\x50\xc7\x6c\xe1\x18\xec\xbf\x69\xcd\xcb\xa0\xbc\x0d\x05"
  2250. "\xc4\xf8\x45\x92\xe0\x05\xd3\x08\xb3\x30\x19\xc8\x80\xf8\x17\x9f"
  2251. "\x1e\x6a\x49\x8e\x43\xef\x7a\x49\xa5\x93\xd9\xed\xd1\x07\x03\xe4"
  2252. "\xa3\x55\xeb\x1e\x2f\x69\xd7\x40\x8f\x6e\x1c\xb6\x94\xfb\xba\x4e"
  2253. "\x46\xd0\x38\x71\x00\x88\x93\x6a\x55\xfc\x16\x95\x1f\xb1\xf6\x2f"
  2254. "\x26\x45\x50\x54\x30\x62\x62\xe8\x80\xe5\x24\x0b\xe4\x15\x6b\x32"
  2255. "\x16\xc2\x30\x9b\x56\xb4\xc9\x5e\x50\xb4\x27\x82\x86\x01\xda\x68"
  2256. "\x44\x4b\x15\x81\x31\x13\x52\xd8\x08\xbc\xae\xf3\xa5\x94\x1c\x81"
  2257. "\xe8\x42\xd6\x42\xd6\xff\x99\x58\x0f\x61\x3e\x82\x9e\x2d\x13\x03"
  2258. "\x54\x02\x74\xf4\x6b\x43\x43\xce\x54\x44\x36\x3f\x55\xfa\xb2\x56"
  2259. "\xdc\xac\xb5\x65\x89\xbe\x36\xd2\x58\x65\x79\x4c\xf3\xe2\x01\xf1"
  2260. "\x69\x96\x29\x20\x5d\xee\xf5\x8a\x8b\x9f\x72\xf7\x27\x02\xde\x3b"
  2261. "\xc7\x52\x19\xdc\x8e\x22\x36\x09\x14\x59\x07\xbb\x1e\x49\x69\x4f"
  2262. "\x00\x7b\x9a\x5d\x23\xe9\xbe\x0d\x52\x90\xa3\x0d\xde\xe7\x80\x57"
  2263. "\x53\x69\x39\xe6\xf8\x33\xeb\x92\x0d\x9e\x04\x8b\x16\x16\x16\x1c"
  2264. "\xa9\xe6\xe3\x0e\x0a\xc6\xf6\x61\xd1\x44\x2b\x3e\x5e\x02\xfe\xaa"
  2265. "\xe3\xf3\x8f\xf9\xc8\x20\x37\xad\xbc\x95\xb8\xc5\xe7\x95\xda\xfb"
  2266. "\x80\x5b\xf6\x40\x28\xae\xc1\x4c\x09\xde\xff\x1e\xbf\x51\xd2\xfe"
  2267. "\x08\xdc\xb0\x48\x21\xf5\x4c\x43\xdc\x7b\x69\x83\xc8\x69\x5c\xc4"
  2268. "\xa9\x98\x76\x4b\xc4\x4a\xac\x1d\xa5\x52\xe3\x35\x43\xdd\x30\xd4"
  2269. "\xa0\x51\x9c\xc2\x62\x4c\x7e\xa5\xfb\xd3\x2c\x8a\x09\x7f\x53\xa3"
  2270. "\xcd\xca\x58\x1b\x4c\xaf\xba\x21\x8b\x88\x1d\xc0\xe9\x0a\x17\x30"
  2271. "\x33\xd6\xa2\xa5\x49\x50\x61\x3b\xff\x37\x71\x66\xef\x61\xbc\xb2"
  2272. "\x53\x82\xe5\x70\xef\x32\xff\x9d\x97\xe0\x82\xe0\xbb\x49\xc2\x29"
  2273. "\x58\x89\xdd\xe9\x62\x52\xfb\xba\x22\xa6\xd9\x16\xfa\x55\xb3\x06"
  2274. "\xed\x6d\x70\x6e\xdc\x47\x7c\x67\x1a\xcc\x27\x98\xd4\xd7\xe6\xf0"
  2275. "\xf8\x9f\x51\x3e\xf0\xee\xad\xb6\x78\x69\x71\xb5\xcb\x09\xa3\xa6"
  2276. "\x3f\x29\x24\x46\xe0\x65\xbc\x9f\x6c\xe9\xf9\x49\x49\x96\x75\xe5"
  2277. "\xe1\xff\x82\x70\xf4\x7e\xff\x8f\xec\x47\x98\x6d\x5b\x88\x60\xee"
  2278. "\x43\xb1\xe2\x14\xc1\x49\x95\x74\x46\xd3\x3f\x73\xb2\xe9\x88\xe0"
  2279. "\xd3\xb1\xc4\x2c\xef\xee\xdd\x6c\xc5\xa1\x29\xef\x86\xd2\x36\x8a"
  2280. "\x2f\x7c\x9d\x28\x0a\x6d\xc9\x5a\xdb\xd4\x04\x06\x36\x96\x09\x03"
  2281. "\x71\x5d\x38\x67\xa2\x08\x2a\x04\xe7\xd6\x51\x5a\x19\x9d\xe7\xf1"
  2282. "\x5d\x6f\xe2\xff\x48\x37\xb7\x8b\xb1\x14\xb4\x96\xcd\xf0\xa7\xbd"
  2283. "\xef\x20\xff\x0a\x8d\x08\xb7\x15\x98\x5a\x13\xd2\xda\x2a\x27\x75",
  2284. .expected_a_public =
  2285. "\x45\x96\x5a\xb7\x78\x5c\xa4\x4d\x39\xb2\x5f\xc8\xc2\xaa\x1a\xf4"
  2286. "\xa6\x68\xf6\x6f\x7e\xa8\x4a\x5b\x0e\xba\x0a\x99\x85\xf9\x63\xd4"
  2287. "\x58\x21\x6d\xa8\x3c\xf4\x05\x10\xb0\x0d\x6f\x1c\xa0\x17\x85\xae"
  2288. "\x68\xbf\xcc\x00\xc8\x86\x1b\x24\x31\xc9\x49\x23\x91\xe0\x71\x29"
  2289. "\x06\x39\x39\x93\x49\x9c\x75\x18\x1a\x8b\x61\x73\x1c\x7f\x37\xd5"
  2290. "\xf1\xab\x20\x5e\x62\x25\xeb\x58\xd5\xfa\xc9\x7f\xad\x57\xd5\xcc"
  2291. "\x0d\xc1\x7a\x2b\x33\x2a\x76\x84\x33\x26\x97\xcf\x47\x9d\x72\x2a"
  2292. "\xc9\x39\xde\xa8\x42\x27\x2d\xdc\xee\x00\x60\xd2\x4f\x13\xe0\xde"
  2293. "\xd5\xc7\xf6\x7d\x8b\x2a\x43\x49\x40\x99\xc2\x61\x84\x8e\x57\x09"
  2294. "\x7c\xcc\x19\x46\xbd\x4c\xd2\x7c\x7d\x02\x4d\x88\xdf\x58\x24\x80"
  2295. "\xeb\x19\x3b\x2a\x13\x2b\x19\x85\x3c\xd8\x31\x03\x00\xa4\xd4\x57"
  2296. "\x23\x2c\x24\x37\xb3\x62\xea\x35\x29\xd0\x2c\xac\xfd\xbd\xdf\x3d"
  2297. "\xa6\xce\xfa\x0d\x5b\xb6\x15\x8b\xe3\x58\xe9\xad\x99\x87\x29\x51"
  2298. "\x8d\x97\xd7\xa9\x55\xf0\x72\x6e\x4e\x58\xcb\x2b\x4d\xbd\xd0\x48"
  2299. "\x7d\x14\x86\xdb\x3f\xa2\x5f\x6e\x35\x4a\xe1\x70\xb1\x53\x72\xb7"
  2300. "\xbc\xe9\x3d\x1b\x33\xc0\x54\x6f\x43\x55\x76\x85\x7f\x9b\xa5\xb3"
  2301. "\xc1\x1d\xd3\xfe\xe2\xd5\x96\x3d\xdd\x92\x04\xb1\xad\x75\xdb\x13"
  2302. "\x4e\x49\xfc\x35\x34\xc5\xda\x13\x98\xb8\x12\xbe\xda\x90\x55\x7c"
  2303. "\x11\x6c\xbe\x2b\x8c\x51\x29\x23\xc1\x51\xbc\x0c\x1c\xe2\x20\xfc"
  2304. "\xfe\xf2\xaa\x71\x9b\x21\xdf\x25\x1f\x68\x21\x7e\xe1\xc9\x87\xa0"
  2305. "\x20\xf6\x8d\x4f\x27\x8c\x3c\x0f\x9d\xf4\x69\x25\xaa\x49\xab\x94"
  2306. "\x22\x5a\x92\x3a\xba\xb4\xc2\x8c\x5a\xaa\x04\xbf\x46\xc5\xaa\x93"
  2307. "\xab\x0d\xe9\x54\x6c\x3a\x64\xa6\xa2\x21\x66\xee\x1c\x10\x21\x84"
  2308. "\xf2\x9e\xcc\x57\xac\xc2\x25\x62\xad\xbb\x59\xef\x25\x61\x6c\x81"
  2309. "\x38\x8a\xdc\x8c\xeb\x7b\x18\x1d\xaf\xa9\xc5\x9a\xf4\x49\x26\x8a"
  2310. "\x25\xc4\x3e\x31\x95\x28\xef\xf7\x72\xe9\xc5\xaa\x59\x72\x2b\x67"
  2311. "\x47\xe8\x6b\x51\x05\x24\xb8\x18\xb3\x34\x0f\x8c\x2b\x80\xba\x61"
  2312. "\x1c\xbe\x9e\x9a\x7c\xe3\x60\x5e\x49\x02\xff\x50\x8a\x64\x28\x64"
  2313. "\x46\x7b\x83\x14\x72\x6e\x59\x9b\x56\x09\xb4\xf0\xde\x52\xc3\xf3"
  2314. "\x58\x17\x6a\xae\xb1\x0f\xf4\x39\xcc\xd8\xce\x4d\xe1\x51\x17\x88"
  2315. "\xe4\x98\xd9\xd1\xa9\x55\xbc\xbf\x7e\xc4\x51\x96\xdb\x44\x1d\xcd"
  2316. "\x8d\x74\xad\xa7\x8f\x87\x83\x75\xfc\x36\xb7\xd2\xd4\x89\x16\x97"
  2317. "\xe4\xc6\x2a\xe9\x65\xc8\xca\x1c\xbd\x86\xaf\x57\x80\xf7\xdd\x42"
  2318. "\xc0\x3b\x3f\x87\x51\x02\x2f\xf8\xd8\x68\x0f\x3d\x95\x2d\xf1\x67"
  2319. "\x09\xa6\x5d\x0b\x7e\x01\xb4\xb2\x32\x01\xa8\xd0\x58\x0d\xe6\xa2"
  2320. "\xd8\x4b\x22\x10\x7d\x11\xf3\xc2\x4e\xb8\x43\x8e\x31\x79\x59\xe2"
  2321. "\xc4\x96\x29\x17\x40\x06\x0d\xdf\xdf\xc3\x02\x30\x2a\xd1\x8e\xf2"
  2322. "\xee\x2d\xd2\x12\x63\x5a\x1d\x3c\xba\x4a\xc4\x56\x90\xc6\x12\x0b"
  2323. "\xe0\x04\x3f\x35\x59\x8e\x40\x75\xf4\x4c\x10\x61\xb9\x30\x89\x7c"
  2324. "\x8d\x0e\x25\xb7\x5a\x6b\x97\x05\xc6\x37\x80\x6e\x94\x56\xa8\x5f"
  2325. "\x03\x94\x59\xc8\xc5\x3e\xdc\x23\xe5\x68\x4f\xd7\xbb\x6d\x7e\xc1"
  2326. "\x8d\xf9\xcc\x3f\x38\xad\x77\xb3\x18\x61\xed\x04\xc0\x71\xa7\x96"
  2327. "\xb1\xaf\x1d\x69\x78\xda\x6d\x89\x8b\x50\x75\x99\x44\xb3\xb2\x75"
  2328. "\xd1\xc8\x14\x40\xa1\x0a\xbf\xc4\x45\xc4\xee\x12\x90\x76\x26\x64"
  2329. "\xb7\x73\x2e\x0b\x0c\xfa\xc3\x55\x29\x24\x1b\x7a\x00\x27\x07\x26"
  2330. "\x36\xf0\x38\x1a\xe3\xb7\xc4\x8d\x1c\x9c\xa9\xc0\xc1\x45\x91\x9e"
  2331. "\x86\xdd\x82\x94\x45\xfa\xcd\x5a\x19\x12\x7d\xef\xda\x17\xad\x21"
  2332. "\x17\x89\x8b\x45\xa7\xf5\xed\x51\x9e\x58\x13\xdc\x84\xa4\xe6\x37",
  2333. .expected_ss =
  2334. "\x9a\x9c\x1c\xb7\x73\x2f\xf2\x12\xed\x59\x01\xbb\x75\xf7\xf5\xe4"
  2335. "\xa0\xa8\xbc\x3f\x3f\xb6\xf7\x74\x6e\xc4\xba\x6d\x6c\x4d\x93\x31"
  2336. "\x2b\xa7\xa4\xb3\x47\x8f\x77\x04\xb5\xa5\xab\xca\x6b\x5a\xe2\x86"
  2337. "\x02\x60\xca\xb4\xd7\x5e\xe0\x0f\x73\xdd\xa2\x38\x7c\xae\x0f\x5a"
  2338. "\x1a\xd7\xfd\xb6\xc8\x6f\xdd\xe0\x98\xd5\x07\xea\x1f\x2a\xbb\x9e"
  2339. "\xef\x01\x24\x04\xee\xf5\x89\xb1\x12\x26\x54\x95\xef\xcb\x84\xe9"
  2340. "\xae\x05\xef\x63\x25\x15\x65\x79\x79\x79\x91\xc3\x76\x72\xb4\x85"
  2341. "\x86\xd9\xd3\x03\xb0\xff\x04\x96\x05\x3c\xde\xbf\x47\x34\x76\x70"
  2342. "\x17\xd2\x24\x83\xb9\xbb\xcf\x70\x7c\xb8\xc6\x7b\x4e\x01\x86\x36"
  2343. "\xc7\xc5\xe5\x8b\x7c\x69\x74\x9a\xfe\x1f\x58\x85\x0f\x00\xf8\x4e"
  2344. "\xf1\x56\xdc\xd1\x11\x28\x2c\xcf\x6c\xb9\xc9\x57\x17\x2e\x19\x19"
  2345. "\x55\xb3\x4c\xd8\xfb\xe7\x6f\x70\x63\xf9\x53\x45\xdd\xd5\x62\x95"
  2346. "\xd3\x7d\x7e\xa0\x00\x1a\x62\x9f\x96\x0a\x5d\x0a\x25\x02\xbb\xff"
  2347. "\x5a\xe8\x9e\x5a\x66\x08\x93\xbc\x92\xaf\xd2\x28\x04\x97\xc1\x54"
  2348. "\xfe\xcc\x0a\x25\xa2\xf4\x1d\x5a\x9a\xb1\x3e\x9c\xba\x78\xe2\xcf"
  2349. "\x71\x70\xe3\x40\xea\xba\x69\x9b\x03\xdd\x99\x26\x09\x84\x9d\x69"
  2350. "\x4d\x3d\x0b\xe9\x3f\x51\xcd\x05\xe5\x00\xaf\x2c\xd3\xf6\xc0\x68"
  2351. "\xb5\x23\x53\x33\x14\xbd\x39\x1c\xbd\x1b\xe6\x72\x90\xcc\xc2\x86"
  2352. "\x1a\x42\x83\x55\xb3\xed\x0b\x62\x6d\x0e\xbb\x9e\x2a\x42\x32\x05"
  2353. "\x3f\xf2\x2c\xc8\x9f\x3c\xd2\xb1\x0b\xb6\x4c\xa0\x22\x36\xee\xb9"
  2354. "\x55\x23\x3e\x80\xc7\x28\x7c\x39\x11\xd3\x4a\x96\x2e\xef\x52\x34"
  2355. "\xf2\xda\xb1\xc6\xf5\x02\x10\xbf\x56\x6b\x50\x56\xcd\x2c\xfe\xe1"
  2356. "\x94\x14\x19\x24\x6e\x9a\xdf\x0c\xb8\xe2\xb8\xd5\xa3\xc1\x22\x8e"
  2357. "\x84\x92\x00\x16\xf1\x3f\x83\xf6\x36\x31\xa5\x38\xc6\xcf\xf8\x9b"
  2358. "\x03\xc7\x6f\xb9\xa1\x04\xdf\x20\x0f\x0b\x0f\x70\xff\x57\x36\x7f"
  2359. "\xb3\x6b\xcb\x8f\x48\xf7\xb2\xdb\x85\x05\xd1\xfe\x34\x05\xf6\x57"
  2360. "\xb4\x5b\xcc\x3f\x0e\xba\x36\x59\xb0\xfd\x4d\xf6\xf4\x5e\xd2\x65"
  2361. "\x1d\x98\x87\xb4\x5e\xff\x29\xaa\x84\x9b\x44\x0f\x06\x36\x61\xbd"
  2362. "\xdb\x51\xda\x56\xc2\xd6\x19\xe2\x57\x4f\xd0\x29\x71\xc8\xe4\xd6"
  2363. "\xfb\x8c\xd0\xfc\x4f\x25\x09\xa6\xfc\x67\xe2\xb8\xac\xd3\x88\x8f"
  2364. "\x1f\xf6\xa1\xe3\x45\xa6\x34\xe3\xb1\x6b\xb7\x37\x0e\x06\xc7\x63"
  2365. "\xde\xac\x3b\xac\x07\x91\x64\xcc\x12\x10\x46\x85\x14\x0b\x6b\x03"
  2366. "\xba\x4a\x85\xae\xc5\x8c\xa5\x9d\x36\x38\x33\xca\x42\x9c\x4b\x0c"
  2367. "\x46\xe1\x77\xe9\x1f\x80\xfe\xb7\x1d\x5a\xf4\xc6\x11\x26\x78\xea"
  2368. "\x81\x25\x77\x47\xed\x8b\x59\xc2\x6b\x49\xff\x83\x56\xec\xa5\xf0"
  2369. "\xe0\x8b\x15\xd4\x99\x40\x2a\x65\x2a\x98\xf4\x71\x35\x63\x84\x08"
  2370. "\x4d\xcd\x71\x85\x55\xbc\xa4\x1c\x90\x93\x03\x41\xde\xed\x78\x62"
  2371. "\x07\x30\x50\xac\x60\x21\x06\xc3\xab\xa4\x04\xc0\xc2\x32\x07\xc4"
  2372. "\x1f\x2f\xec\xe2\x32\xbf\xbe\x5e\x50\x5b\x2a\x19\x71\x44\x37\x76"
  2373. "\x8b\xbc\xdb\x73\x98\x65\x78\xc9\x33\x97\x7e\xdc\x60\xa8\x87\xf2"
  2374. "\xb5\x96\x55\x7f\x44\x07\xcb\x3b\xf3\xd7\x82\xfd\x77\x21\x82\x21"
  2375. "\x1a\x8b\xa2\xf5\x1f\x66\xd0\x57\x00\x4f\xa9\xa5\x33\xb8\x69\x91"
  2376. "\xe8\x2e\xf7\x73\x47\x89\x30\x9b\xb1\xfd\xe1\x5d\x11\xfd\x84\xd9"
  2377. "\xa2\x91\x1f\x8a\xa7\x7a\x77\x8e\x3b\x10\x1d\x0a\x59\x50\x34\xb0"
  2378. "\xc3\x90\x9f\x56\xb7\x43\xeb\x51\x99\x2b\x8e\x6d\x7b\x58\xe7\xc0"
  2379. "\x7f\x3d\xa0\x27\x50\xf2\x6e\xc8\x1e\x7f\x84\xb3\xe1\xf7\x09\x85"
  2380. "\xd2\x9b\x56\x6b\xba\xa5\x19\x2e\xec\xd8\x5c\xf5\x4e\x43\x36\x2e"
  2381. "\x89\x85\x41\x7f\x9c\x91\x2e\x62\xc3\x41\xcf\x0e\xa1\x7f\xeb\x50",
  2382. .secret_size = 784,
  2383. .b_public_size = 768,
  2384. .expected_a_public_size = 768,
  2385. .expected_ss_size = 768,
  2386. },
  2387. {
  2388. .secret =
  2389. #ifdef __LITTLE_ENDIAN
  2390. "\x01\x00" /* type */
  2391. "\x10\x00" /* len */
  2392. "\x00\x00\x00\x00" /* key_size */
  2393. "\x00\x00\x00\x00" /* p_size */
  2394. "\x00\x00\x00\x00", /* g_size */
  2395. #else
  2396. "\x00\x01" /* type */
  2397. "\x00\x10" /* len */
  2398. "\x00\x00\x00\x00" /* key_size */
  2399. "\x00\x00\x00\x00" /* p_size */
  2400. "\x00\x00\x00\x00", /* g_size */
  2401. #endif
  2402. .b_secret =
  2403. #ifdef __LITTLE_ENDIAN
  2404. "\x01\x00" /* type */
  2405. "\x10\x03" /* len */
  2406. "\x00\x03\x00\x00" /* key_size */
  2407. "\x00\x00\x00\x00" /* p_size */
  2408. "\x00\x00\x00\x00" /* g_size */
  2409. #else
  2410. "\x00\x01" /* type */
  2411. "\x03\x10" /* len */
  2412. "\x00\x00\x03\x00" /* key_size */
  2413. "\x00\x00\x00\x00" /* p_size */
  2414. "\x00\x00\x00\x00" /* g_size */
  2415. #endif
  2416. /* xa */
  2417. "\x63\x3e\x6f\xe0\xfe\x9f\x4a\x01\x62\x77\xce\xf1\xc7\xcc\x49\x4d"
  2418. "\x92\x53\x56\xe3\x39\x15\x81\xb2\xcd\xdc\xaf\x5e\xbf\x31\x1f\x69"
  2419. "\xce\x41\x35\x24\xaa\x46\x53\xb5\xb7\x3f\x2b\xad\x95\x14\xfb\xe4"
  2420. "\x9a\x61\xcd\x0f\x1f\x02\xee\xa4\x79\x2c\x9d\x1a\x7c\x62\x82\x39"
  2421. "\xdd\x43\xcc\x58\x9f\x62\x47\x56\x1d\x0f\xc2\x67\xbc\x24\xd0\xf9"
  2422. "\x0a\x50\x1b\x10\xe7\xbb\xd1\xc2\x01\xbb\xc4\x4c\xda\x12\x60\x0e"
  2423. "\x95\x2b\xde\x09\xd6\x67\xe1\xbc\x4c\xb9\x67\xdf\xd0\x1f\x97\xb4"
  2424. "\xde\xcb\x6b\x78\x83\x51\x74\x33\x01\x7f\xf6\x0a\x95\x69\x93\x00"
  2425. "\x2a\xc3\x75\x8e\xef\xbe\x53\x11\x6d\xc4\xd0\x9f\x6d\x63\x48\xc1"
  2426. "\x91\x1f\x7d\x88\xa7\x90\x78\xd1\x7e\x52\x42\x10\x01\xb4\x27\x95"
  2427. "\x91\x43\xcc\x82\x91\x86\x62\xa0\x9d\xef\x65\x6e\x67\xcf\x19\x11"
  2428. "\x35\x37\x5e\x94\x97\x83\xa6\x83\x1c\x7e\x8a\x3e\x32\xb0\xce\xff"
  2429. "\x20\xdc\x7b\x6e\x18\xd9\x6b\x27\x31\xfc\xc3\xef\x47\x8d\xbe\x34"
  2430. "\x2b\xc7\x60\x74\x3c\x93\xb3\x8e\x54\x77\x4e\x73\xe6\x40\x72\x35"
  2431. "\xb0\xf0\x06\x53\x43\xbe\xd0\xc3\x87\xcc\x38\x96\xa9\x10\xa0\xd6"
  2432. "\x17\xed\xa5\x6a\xf4\xf6\xaa\x77\x40\xed\x7d\x2e\x58\x0f\x5b\x04"
  2433. "\x5a\x41\x12\x95\x22\xcb\xa3\xce\x8b\x6d\x6d\x89\xec\x7c\x1d\x25"
  2434. "\x27\x52\x50\xa0\x5b\x93\x8c\x5d\x3f\x56\xb9\xa6\x5e\xe5\xf7\x9b"
  2435. "\xc7\x9a\x4a\x2e\x79\xb5\xca\x29\x58\x52\xa0\x63\xe4\x9d\xeb\x4c"
  2436. "\x4c\xa8\x37\x0b\xe9\xa0\x18\xf1\x86\xf6\x4d\x32\xfb\x9e\x4f\xb3"
  2437. "\x7b\x5d\x58\x78\x70\xbd\x56\xac\x99\x75\x25\x71\x66\x76\x4e\x5e"
  2438. "\x67\x4f\xb1\x17\xa7\x8b\x55\x12\x87\x01\x4e\xd1\x66\xef\xd0\x70"
  2439. "\xaf\x14\x34\xee\x2a\x76\x49\x25\xa6\x2e\x43\x37\x75\x7d\x1a\xad"
  2440. "\x08\xd5\x01\x85\x9c\xe1\x20\xd8\x38\x5c\x57\xa5\xed\x9d\x46\x3a"
  2441. "\xb7\x46\x60\x29\x8b\xc4\x21\x50\x0a\x30\x9c\x57\x42\xe4\x35\xf8"
  2442. "\x12\x5c\x4f\xa2\x20\xc2\xc9\x43\xe3\x6d\x20\xbc\xdf\xb8\x37\x33"
  2443. "\x45\x43\x06\x4e\x08\x6f\x8a\xcd\x61\xc3\x1b\x05\x28\x82\xbe\xf0"
  2444. "\x48\x33\xe5\x93\xc9\x1a\x61\x16\x67\x03\x9d\x47\x9d\x74\xeb\xae"
  2445. "\x13\xf2\xb4\x1b\x09\x11\xf5\x15\xcb\x28\xfd\x50\xe0\xbc\x58\x36"
  2446. "\x38\x91\x2c\x07\x27\x1f\x49\x68\xf4\xce\xad\xf7\xba\xec\x5d\x3d"
  2447. "\xfd\x27\xe2\xcf\xf4\x56\xfe\x08\xa6\x11\x61\xcb\x6c\x9f\xf9\x3c"
  2448. "\x57\x0b\x8b\xaa\x00\x16\x18\xba\x1f\xe8\x4f\x01\xe2\x79\x2a\x0b"
  2449. "\xc1\xbd\x52\xef\xe6\xf7\x5a\x66\xfe\x07\x3b\x50\x6b\xbb\xcb\x39"
  2450. "\x3c\x94\xf6\x21\x0d\x68\x69\xa4\xed\x2e\xb5\x85\x03\x11\x38\x79"
  2451. "\xec\xb5\x22\x23\xdf\x9e\xad\xb4\xbe\xd7\xc7\xdf\xea\x30\x23\x8a"
  2452. "\xb7\x21\x0a\x9d\xbd\x99\x13\x7d\x5f\x7e\xaf\x28\x54\x3f\xca\x5e"
  2453. "\xf4\xfc\x05\x0d\x65\x67\xd8\xf6\x8e\x90\x9d\x0d\xcf\x62\x82\xd6"
  2454. "\x9f\x02\xf8\xca\xfa\x42\x24\x7f\x4d\xb7\xfc\x92\xa6\x4a\x51\xc4"
  2455. "\xd8\xae\x19\x87\xc6\xa3\x83\xbe\x7b\x6d\xc3\xf5\xb8\xad\x4a\x05"
  2456. "\x78\x84\x3a\x15\x2e\x40\xbe\x79\xa9\xc0\x12\xa1\x48\x39\xc3\xdb"
  2457. "\x47\x4f\x7d\xea\x6d\xc7\xfa\x2c\x4e\xe9\xa5\x85\x81\xea\x6c\xcd"
  2458. "\x8a\xe5\x74\x17\x76\x31\x31\x75\x96\x83\xca\x81\xbb\x5c\xa9\x79"
  2459. "\x2c\xbd\x09\xfe\xe4\x86\x0d\x8c\x76\x9c\xbc\xe8\x93\xe4\xd0\xe4"
  2460. "\x0f\xf8\xff\x24\x7e\x66\x61\x69\xfb\xe4\x46\x08\x94\x99\xa5\x53"
  2461. "\xd7\xe4\x29\x72\x86\x86\xe8\x1d\x37\xfa\xcb\xd0\x8d\x51\xd0\xbf"
  2462. "\x81\xcf\x55\xb9\xc5\x78\x8c\x74\xa0\x16\x3a\xd2\x19\x94\x29\x6a"
  2463. "\x5e\xec\xd3\x20\xa0\xb2\xfd\xce\xd4\x14\xa3\x39\x10\xa9\xf4\x4e"
  2464. "\xba\x21\x09\x5c\xe6\x61\x43\x51\xae\xc4\x71\xd7\x21\xef\x98\x39",
  2465. .b_public =
  2466. "\x45\x96\x5a\xb7\x78\x5c\xa4\x4d\x39\xb2\x5f\xc8\xc2\xaa\x1a\xf4"
  2467. "\xa6\x68\xf6\x6f\x7e\xa8\x4a\x5b\x0e\xba\x0a\x99\x85\xf9\x63\xd4"
  2468. "\x58\x21\x6d\xa8\x3c\xf4\x05\x10\xb0\x0d\x6f\x1c\xa0\x17\x85\xae"
  2469. "\x68\xbf\xcc\x00\xc8\x86\x1b\x24\x31\xc9\x49\x23\x91\xe0\x71\x29"
  2470. "\x06\x39\x39\x93\x49\x9c\x75\x18\x1a\x8b\x61\x73\x1c\x7f\x37\xd5"
  2471. "\xf1\xab\x20\x5e\x62\x25\xeb\x58\xd5\xfa\xc9\x7f\xad\x57\xd5\xcc"
  2472. "\x0d\xc1\x7a\x2b\x33\x2a\x76\x84\x33\x26\x97\xcf\x47\x9d\x72\x2a"
  2473. "\xc9\x39\xde\xa8\x42\x27\x2d\xdc\xee\x00\x60\xd2\x4f\x13\xe0\xde"
  2474. "\xd5\xc7\xf6\x7d\x8b\x2a\x43\x49\x40\x99\xc2\x61\x84\x8e\x57\x09"
  2475. "\x7c\xcc\x19\x46\xbd\x4c\xd2\x7c\x7d\x02\x4d\x88\xdf\x58\x24\x80"
  2476. "\xeb\x19\x3b\x2a\x13\x2b\x19\x85\x3c\xd8\x31\x03\x00\xa4\xd4\x57"
  2477. "\x23\x2c\x24\x37\xb3\x62\xea\x35\x29\xd0\x2c\xac\xfd\xbd\xdf\x3d"
  2478. "\xa6\xce\xfa\x0d\x5b\xb6\x15\x8b\xe3\x58\xe9\xad\x99\x87\x29\x51"
  2479. "\x8d\x97\xd7\xa9\x55\xf0\x72\x6e\x4e\x58\xcb\x2b\x4d\xbd\xd0\x48"
  2480. "\x7d\x14\x86\xdb\x3f\xa2\x5f\x6e\x35\x4a\xe1\x70\xb1\x53\x72\xb7"
  2481. "\xbc\xe9\x3d\x1b\x33\xc0\x54\x6f\x43\x55\x76\x85\x7f\x9b\xa5\xb3"
  2482. "\xc1\x1d\xd3\xfe\xe2\xd5\x96\x3d\xdd\x92\x04\xb1\xad\x75\xdb\x13"
  2483. "\x4e\x49\xfc\x35\x34\xc5\xda\x13\x98\xb8\x12\xbe\xda\x90\x55\x7c"
  2484. "\x11\x6c\xbe\x2b\x8c\x51\x29\x23\xc1\x51\xbc\x0c\x1c\xe2\x20\xfc"
  2485. "\xfe\xf2\xaa\x71\x9b\x21\xdf\x25\x1f\x68\x21\x7e\xe1\xc9\x87\xa0"
  2486. "\x20\xf6\x8d\x4f\x27\x8c\x3c\x0f\x9d\xf4\x69\x25\xaa\x49\xab\x94"
  2487. "\x22\x5a\x92\x3a\xba\xb4\xc2\x8c\x5a\xaa\x04\xbf\x46\xc5\xaa\x93"
  2488. "\xab\x0d\xe9\x54\x6c\x3a\x64\xa6\xa2\x21\x66\xee\x1c\x10\x21\x84"
  2489. "\xf2\x9e\xcc\x57\xac\xc2\x25\x62\xad\xbb\x59\xef\x25\x61\x6c\x81"
  2490. "\x38\x8a\xdc\x8c\xeb\x7b\x18\x1d\xaf\xa9\xc5\x9a\xf4\x49\x26\x8a"
  2491. "\x25\xc4\x3e\x31\x95\x28\xef\xf7\x72\xe9\xc5\xaa\x59\x72\x2b\x67"
  2492. "\x47\xe8\x6b\x51\x05\x24\xb8\x18\xb3\x34\x0f\x8c\x2b\x80\xba\x61"
  2493. "\x1c\xbe\x9e\x9a\x7c\xe3\x60\x5e\x49\x02\xff\x50\x8a\x64\x28\x64"
  2494. "\x46\x7b\x83\x14\x72\x6e\x59\x9b\x56\x09\xb4\xf0\xde\x52\xc3\xf3"
  2495. "\x58\x17\x6a\xae\xb1\x0f\xf4\x39\xcc\xd8\xce\x4d\xe1\x51\x17\x88"
  2496. "\xe4\x98\xd9\xd1\xa9\x55\xbc\xbf\x7e\xc4\x51\x96\xdb\x44\x1d\xcd"
  2497. "\x8d\x74\xad\xa7\x8f\x87\x83\x75\xfc\x36\xb7\xd2\xd4\x89\x16\x97"
  2498. "\xe4\xc6\x2a\xe9\x65\xc8\xca\x1c\xbd\x86\xaf\x57\x80\xf7\xdd\x42"
  2499. "\xc0\x3b\x3f\x87\x51\x02\x2f\xf8\xd8\x68\x0f\x3d\x95\x2d\xf1\x67"
  2500. "\x09\xa6\x5d\x0b\x7e\x01\xb4\xb2\x32\x01\xa8\xd0\x58\x0d\xe6\xa2"
  2501. "\xd8\x4b\x22\x10\x7d\x11\xf3\xc2\x4e\xb8\x43\x8e\x31\x79\x59\xe2"
  2502. "\xc4\x96\x29\x17\x40\x06\x0d\xdf\xdf\xc3\x02\x30\x2a\xd1\x8e\xf2"
  2503. "\xee\x2d\xd2\x12\x63\x5a\x1d\x3c\xba\x4a\xc4\x56\x90\xc6\x12\x0b"
  2504. "\xe0\x04\x3f\x35\x59\x8e\x40\x75\xf4\x4c\x10\x61\xb9\x30\x89\x7c"
  2505. "\x8d\x0e\x25\xb7\x5a\x6b\x97\x05\xc6\x37\x80\x6e\x94\x56\xa8\x5f"
  2506. "\x03\x94\x59\xc8\xc5\x3e\xdc\x23\xe5\x68\x4f\xd7\xbb\x6d\x7e\xc1"
  2507. "\x8d\xf9\xcc\x3f\x38\xad\x77\xb3\x18\x61\xed\x04\xc0\x71\xa7\x96"
  2508. "\xb1\xaf\x1d\x69\x78\xda\x6d\x89\x8b\x50\x75\x99\x44\xb3\xb2\x75"
  2509. "\xd1\xc8\x14\x40\xa1\x0a\xbf\xc4\x45\xc4\xee\x12\x90\x76\x26\x64"
  2510. "\xb7\x73\x2e\x0b\x0c\xfa\xc3\x55\x29\x24\x1b\x7a\x00\x27\x07\x26"
  2511. "\x36\xf0\x38\x1a\xe3\xb7\xc4\x8d\x1c\x9c\xa9\xc0\xc1\x45\x91\x9e"
  2512. "\x86\xdd\x82\x94\x45\xfa\xcd\x5a\x19\x12\x7d\xef\xda\x17\xad\x21"
  2513. "\x17\x89\x8b\x45\xa7\xf5\xed\x51\x9e\x58\x13\xdc\x84\xa4\xe6\x37",
  2514. .secret_size = 16,
  2515. .b_secret_size = 784,
  2516. .b_public_size = 768,
  2517. .expected_a_public_size = 768,
  2518. .expected_ss_size = 768,
  2519. .genkey = true,
  2520. },
  2521. };
  2522. static const struct kpp_testvec ffdhe8192_dh_tv_template[] __maybe_unused = {
  2523. {
  2524. .secret =
  2525. #ifdef __LITTLE_ENDIAN
  2526. "\x01\x00" /* type */
  2527. "\x10\x04" /* len */
  2528. "\x00\x04\x00\x00" /* key_size */
  2529. "\x00\x00\x00\x00" /* p_size */
  2530. "\x00\x00\x00\x00" /* g_size */
  2531. #else
  2532. "\x00\x01" /* type */
  2533. "\x04\x10" /* len */
  2534. "\x00\x00\x04\x00" /* key_size */
  2535. "\x00\x00\x00\x00" /* p_size */
  2536. "\x00\x00\x00\x00" /* g_size */
  2537. #endif
  2538. /* xa */
  2539. "\x76\x6e\xeb\xf9\xeb\x76\xae\x37\xcb\x19\x49\x8b\xeb\xaf\xb0\x4b"
  2540. "\x6d\xe9\x15\xad\xda\xf2\xef\x58\xe9\xd6\xdd\x4c\xb3\x56\xd0\x3b"
  2541. "\x00\xb0\x65\xed\xae\xe0\x2e\xdf\x8f\x45\x3f\x3c\x5d\x2f\xfa\x96"
  2542. "\x36\x33\xb2\x01\x8b\x0f\xe8\x46\x15\x6d\x60\x5b\xec\x32\xc3\x3b"
  2543. "\x06\xf3\xb4\x1b\x9a\xef\x3c\x03\x0e\xcc\xce\x1d\x24\xa0\xc9\x08"
  2544. "\x65\xf9\x45\xe5\xd2\x43\x08\x88\x58\xd6\x46\xe7\xbb\x25\xac\xed"
  2545. "\x3b\xac\x6f\x5e\xfb\xd6\x19\xa6\x20\x3a\x1d\x0c\xe8\x00\x72\x54"
  2546. "\xd7\xd9\xc9\x26\x49\x18\xc6\xb8\xbc\xdd\xf3\xce\xf3\x7b\x69\x04"
  2547. "\x5c\x6f\x11\xdb\x44\x42\x72\xb6\xb7\x84\x17\x86\x47\x3f\xc5\xa1"
  2548. "\xd8\x86\xef\xe2\x27\x49\x2b\x8f\x3e\x91\x12\xd9\x45\x96\xf7\xe6"
  2549. "\x77\x76\x36\x58\x71\x9a\xb1\xdb\xcf\x24\x9e\x7e\xad\xce\x45\xba"
  2550. "\xb5\xec\x8e\xb9\xd6\x7b\x3d\x76\xa4\x85\xad\xd8\x49\x9b\x80\x9d"
  2551. "\x7f\x9f\x85\x09\x9e\x86\x5b\x6b\xf3\x8d\x39\x5e\x6f\xe4\x30\xc8"
  2552. "\xa5\xf3\xdf\x68\x73\x6b\x2e\x9a\xcb\xac\x0a\x0d\x44\xc1\xaf\xb2"
  2553. "\x11\x1b\x7c\x43\x08\x44\x43\xe2\x4e\xfd\x93\x30\x99\x09\x12\xbb"
  2554. "\xf6\x31\x34\xa5\x3d\x45\x98\xee\xd7\x2a\x1a\x89\xf5\x37\x92\x33"
  2555. "\xa0\xdd\xf5\xfb\x1f\x90\x42\x55\x5a\x0b\x82\xff\xf0\x96\x92\x15"
  2556. "\x65\x5a\x55\x96\xca\x1b\xd5\xe5\xb5\x94\xde\x2e\xa6\x03\x57\x9e"
  2557. "\x15\xe4\x32\x2b\x1f\xb2\x22\x21\xe9\xa0\x05\xd3\x65\x6c\x11\x66"
  2558. "\x25\x38\xbb\xa3\x6c\xc2\x0b\x2b\xd0\x7a\x20\x26\x29\x37\x5d\x5f"
  2559. "\xd8\xff\x2a\xcd\x46\x6c\xd6\x6e\xe5\x77\x1a\xe6\x33\xf1\x8e\xc8"
  2560. "\x10\x30\x11\x00\x27\xf9\x7d\x0e\x28\x43\xa7\x67\x38\x7f\x16\xda"
  2561. "\xd0\x01\x8e\xa4\xe8\x6f\xcd\x23\xaf\x77\x52\x34\xad\x7e\xc3\xed"
  2562. "\x2d\x10\x0a\x33\xdc\xcf\x1b\x88\x0f\xcc\x48\x7f\x42\xf0\x9e\x13"
  2563. "\x1f\xf5\xd1\xe9\x90\x87\xbd\xfa\x5f\x1d\x77\x55\xcb\xc3\x05\xaf"
  2564. "\x71\xd0\xe0\xab\x46\x31\xd7\xea\x89\x54\x2d\x39\xaf\xf6\x4f\x74"
  2565. "\xaf\x46\x58\x89\x78\x95\x2e\xe6\x90\xb7\xaa\x00\x73\x9f\xed\xb9"
  2566. "\x00\xd6\xf6\x6d\x26\x59\xcd\x56\xdb\xf7\x3d\x5f\xeb\x6e\x46\x33"
  2567. "\xb1\x23\xed\x9f\x8d\x58\xdc\xb4\x28\x3b\x90\x09\xc4\x61\x02\x1f"
  2568. "\xf8\x62\xf2\x6e\xc1\x94\x71\x66\x93\x11\xdf\xaa\x3e\xd7\xb5\xe5"
  2569. "\xc1\x78\xe9\x14\xcd\x55\x16\x51\xdf\x8d\xd0\x94\x8c\x43\xe9\xb8"
  2570. "\x1d\x42\x7f\x76\xbc\x6f\x87\x42\x88\xde\xd7\x52\x78\x00\x4f\x18"
  2571. "\x02\xe7\x7b\xe2\x8a\xc3\xd1\x43\xa5\xac\xda\xb0\x8d\x19\x96\xd4"
  2572. "\x81\xe0\x75\xe9\xca\x41\x7e\x1f\x93\x0b\x26\x24\xb3\xaa\xdd\x10"
  2573. "\x20\xd3\xf2\x9f\x3f\xdf\x65\xde\x67\x79\xdc\x76\x9f\x3c\x72\x75"
  2574. "\x65\x8a\x30\xcc\xd2\xcc\x06\xb1\xab\x62\x86\x78\x5d\xb8\xce\x72"
  2575. "\xb3\x12\xc7\x9f\x07\xd0\x6b\x98\x82\x9b\x6c\xbb\x15\xe5\xcc\xf4"
  2576. "\xc8\xf4\x60\x81\xdc\xd3\x09\x1b\x5e\xd4\xf3\x55\xcf\x1c\x16\x83"
  2577. "\x61\xb4\x2e\xcc\x08\x67\x58\xfd\x46\x64\xbc\x29\x4b\xdd\xda\xec"
  2578. "\xdc\xc6\xa9\xa5\x73\xfb\xf8\xf3\xaf\x89\xa8\x9e\x25\x14\xfa\xac"
  2579. "\xeb\x1c\x7c\x80\x96\x66\x4d\x41\x67\x9b\x07\x4f\x0a\x97\x17\x1c"
  2580. "\x4d\x61\xc7\x2e\x6f\x36\x98\x29\x50\x39\x6d\xe7\x70\xda\xf0\xc8"
  2581. "\x05\x80\x7b\x32\xff\xfd\x12\xde\x61\x0d\xf9\x4c\x21\xf1\x56\x72"
  2582. "\x3d\x61\x46\xc0\x2d\x07\xd1\x6c\xd3\xbe\x9a\x21\x83\x85\xf7\xed"
  2583. "\x53\x95\x44\x40\x8f\x75\x12\x18\xc2\x9a\xfd\x5e\xce\x66\xa6\x7f"
  2584. "\x57\xc0\xd7\x73\x76\xb3\x13\xda\x2e\x58\xc6\x27\x40\xb2\x2d\xef"
  2585. "\x7d\x72\xb4\xa8\x75\x6f\xcc\x5f\x42\x3e\x2c\x90\x36\x59\xa0\x34"
  2586. "\xaa\xce\xbc\x04\x4c\xe6\x56\xc2\xcd\xa6\x1c\x59\x04\x56\x53\xcf"
  2587. "\x6d\xd7\xf0\xb1\x4f\x91\xfa\x84\xcf\x4b\x8d\x50\x4c\xf8\x2a\x31"
  2588. "\x5f\xe3\xba\x79\xb4\xcc\x59\x64\xe3\x7a\xfa\xf6\x06\x9d\x04\xbb"
  2589. "\xce\x61\xbf\x9e\x59\x0a\x09\x51\x6a\xbb\x0b\x80\xe0\x91\xc1\x51"
  2590. "\x04\x58\x67\x67\x4b\x42\x4f\x95\x68\x75\xe2\x1f\x9c\x14\x70\xfd"
  2591. "\x3a\x8a\xce\x8b\x04\xa1\x89\xe7\xb4\xbf\x70\xfe\xf3\x0c\x48\x04"
  2592. "\x3a\xd2\x85\x68\x03\xe7\xfa\xec\x5b\x55\xb7\x95\xfd\x5b\x19\x35"
  2593. "\xad\xcb\x4a\x63\x03\x44\x64\x2a\x48\x59\x9a\x26\x43\x96\x8c\xe6"
  2594. "\xbd\xb7\x90\xd4\x5f\x8d\x08\x28\xa8\xc5\x89\x70\xb9\x6e\xd3\x3b"
  2595. "\x76\x0e\x37\x98\x15\x27\xca\xc9\xb0\xe0\xfd\xf3\xc6\xdf\x69\xce"
  2596. "\xe1\x5f\x6a\x3e\x5c\x86\xe2\x58\x41\x11\xf0\x7e\x56\xec\xe4\xc9"
  2597. "\x0d\x87\x91\xfb\xb9\xc8\x0d\x34\xab\xb0\xc6\xf2\xa6\x00\x7b\x18"
  2598. "\x92\xf4\x43\x7f\x01\x85\x2e\xef\x8c\x72\x50\x10\xdb\xf1\x37\x62"
  2599. "\x16\x85\x71\x01\xa8\x2b\xf0\x13\xd3\x7c\x0b\xaf\xf1\xf3\xd1\xee"
  2600. "\x90\x41\x5f\x7d\x5b\xa9\x83\x4b\xfa\x80\x59\x50\x73\xe1\xc4\xf9"
  2601. "\x5e\x4b\xde\xd9\xf5\x22\x68\x5e\x65\xd9\x37\xe4\x1a\x08\x0e\xb1"
  2602. "\x28\x2f\x40\x9e\x37\xa8\x12\x56\xb7\xb8\x64\x94\x68\x94\xff\x9f",
  2603. .b_public =
  2604. "\x26\xa8\x3a\x97\xe0\x52\x76\x07\x26\xa7\xbb\x21\xfd\xe5\x69\xde"
  2605. "\xe6\xe0\xb5\xa0\xf1\xaa\x51\x2b\x56\x1c\x3c\x6c\xe5\x9f\x8f\x75"
  2606. "\x71\x04\x86\xf6\x43\x2f\x20\x7f\x45\x4f\x5c\xb9\xf3\x90\xbe\xa9"
  2607. "\xa0\xd7\xe8\x03\x0e\xfe\x99\x9b\x8a\x1c\xbe\xa7\x63\xe8\x2b\x45"
  2608. "\xd4\x2c\x65\x25\x4c\x33\xda\xc5\x85\x77\x5d\x62\xea\x93\xe4\x45"
  2609. "\x59\xff\xa1\xd2\xf1\x73\x11\xed\x02\x64\x8a\x1a\xfb\xe1\x88\xa6"
  2610. "\x50\x6f\xff\x87\x12\xbb\xfc\x10\xcf\x19\x41\xb0\x35\x44\x7d\x51"
  2611. "\xe9\xc0\x77\xf2\x73\x21\x2e\x62\xbf\x65\xa5\xd1\x3b\xb1\x3e\x19"
  2612. "\x75\x4b\xb7\x8e\x03\xc3\xdf\xc8\xb2\xe6\xec\x2d\x7d\xa5\x6a\xba"
  2613. "\x93\x47\x50\xeb\x6e\xdb\x88\x05\x45\xad\x03\x8c\xf7\x9a\xe1\xc9"
  2614. "\x1e\x16\x96\x37\xa5\x3e\xe9\xb9\xa8\xdc\xb9\xa9\xf6\xa1\x3d\xed"
  2615. "\xbe\x12\x29\x8a\x3d\x3d\x90\xfc\x94\xfe\x66\x28\x1c\x1b\xa4\x89"
  2616. "\x47\x66\x4f\xac\x14\x00\x22\x2d\x5c\x03\xea\x71\x4d\x19\x7d\xd6"
  2617. "\x58\x39\x4c\x3d\x06\x2b\x30\xa6\xdc\x2c\x8d\xd1\xde\x79\x77\xfa"
  2618. "\x9c\x6b\x72\x11\x8a\x7f\x7d\x37\x28\x2a\x88\xbf\x0a\xdb\xac\x3b"
  2619. "\xc5\xa5\xd5\x7e\x25\xec\xa6\x7f\x5b\x53\x75\x83\x49\xd4\x77\xcc"
  2620. "\x7d\x7e\xd3\x3d\x30\x2c\x98\x3f\x18\x9a\x11\x8a\x37\xda\x99\x0f"
  2621. "\x3b\x06\xe1\x87\xd5\xe9\x4e\xe0\x9c\x0e\x39\x34\xe2\xdd\xf6\x58"
  2622. "\x60\x63\xa6\xea\xe8\xc0\xb4\xde\xdf\xa0\xbc\x21\xc3\x2d\xf4\xa4"
  2623. "\xc8\x6f\x62\x6c\x0f\x71\x88\xf9\xda\x2d\x30\xd5\x95\xe1\xfc\x6d"
  2624. "\x88\xc5\xc3\x95\x51\x83\xde\x41\x46\x6f\x7e\x1b\x10\x48\xad\x2b"
  2625. "\x82\x88\xa2\x6f\x57\x4d\x4a\xbd\x90\xc8\x06\x8f\x52\x5d\x6e\xee"
  2626. "\x09\xe6\xa3\xcb\x30\x9c\x14\xf6\xac\x66\x9b\x81\x0a\x75\x42\x6b"
  2627. "\xab\x27\xec\x76\xfb\x8d\xc5\xbf\x0e\x93\x81\x7b\x81\xd4\x85\xa6"
  2628. "\x90\x5a\xa6\xa2\x8b\xa9\xb7\x34\xe6\x15\x36\x93\x8b\xe2\x99\xc7"
  2629. "\xad\x66\x7e\xd6\x89\xa9\xc8\x15\xcb\xc5\xeb\x06\x85\xd4\x2f\x6e"
  2630. "\x9b\x95\x7a\x06\x6c\xfa\x31\x1d\xc4\xe5\x7d\xfb\x10\x35\x88\xc2"
  2631. "\xbe\x1c\x16\x5d\xc2\xf4\x0d\xf3\xc9\x94\xb2\x7e\xa7\xbd\x9c\x03"
  2632. "\x32\xaf\x8b\x1a\xc8\xcc\x82\xd8\x87\x96\x6e\x3d\xcc\x93\xd2\x43"
  2633. "\x73\xf9\xde\xec\x49\x49\xf4\x56\x2a\xc8\x6e\x32\x70\x48\xf8\x70"
  2634. "\xa3\x96\x31\xf4\xf2\x08\xc5\x12\xd2\xeb\xb6\xea\xa3\x07\x05\x61"
  2635. "\x74\xa3\x04\x2f\x17\x82\x40\x5e\x4c\xd1\x51\xb8\x10\x5b\xc8\x9f"
  2636. "\x87\x73\x80\x0d\x6f\xc6\xb9\xf6\x7c\x31\x0a\xcc\xd9\x03\x0f\x7a"
  2637. "\x47\x69\xb1\x55\xab\xe9\xb5\x75\x62\x9e\x95\xbe\x7b\xa9\x53\x6e"
  2638. "\x28\x73\xdc\xb3\xa4\x8a\x1c\x91\xf5\x8a\xf9\x32\x2b\xbd\xa5\xdc"
  2639. "\x07\xb5\xaf\x49\xdb\x9c\x35\xc9\x69\xde\xac\xb1\xd0\x86\xcb\x31"
  2640. "\x0b\xc4\x4f\x63\x4e\x70\xa7\x80\xe3\xbc\x0b\x73\x0e\xf2\x8c\x87"
  2641. "\x88\x7b\xa9\x6d\xde\x8a\x73\x14\xb9\x80\x55\x03\x2b\x29\x64\x6a"
  2642. "\xda\x48\x0e\x78\x07\x40\x48\x46\x58\xa9\x4e\x68\x1d\xd1\xc1\xc8"
  2643. "\x3b\x35\x53\x61\xd5\xe3\x0d\x4c\x42\x74\x10\x67\x85\x9f\x66\x2a"
  2644. "\xf7\x2b\x7b\x77\x8b\x6e\xda\x2c\xc1\x5a\x20\x34\x3f\xf5\x8b\x6f"
  2645. "\xe4\x61\xf5\x58\xab\x72\x1a\xf1\x8d\x28\xcc\xa5\x30\x68\xb5\x50"
  2646. "\x7b\x81\x43\x89\x8e\xa9\xac\x63\x3a\x4a\x78\x7b\xd2\x45\xe6\xe0"
  2647. "\xdc\x5d\xf2\x1a\x2b\x54\x50\xa5\x9d\xf6\xe7\x9f\x25\xaf\x56\x6a"
  2648. "\x84\x2a\x75\xa3\x9a\xc7\xfa\x94\xec\x83\xab\xa5\xaa\xe1\xf9\x89"
  2649. "\x29\xa9\xf6\x53\x24\x24\xae\x4a\xe8\xbc\xe8\x9e\x5c\xd7\x54\x7c"
  2650. "\x65\x20\x97\x28\x94\x76\xf9\x9e\x81\xcf\x98\x6a\x3a\x7b\xec\xf3"
  2651. "\x09\x60\x2e\x43\x18\xb5\xf6\x8c\x44\x0f\xf2\x0a\x17\x5b\xac\x98"
  2652. "\x30\xab\x6e\xd5\xb3\xef\x25\x68\x50\xb6\xe1\xc0\xe4\x5a\x63\x43"
  2653. "\xea\xca\xda\x23\xc1\xc2\xe9\x30\xec\xb3\x9f\xbf\x1f\x09\x76\xaf"
  2654. "\x65\xbc\xb5\xab\x30\xac\x0b\x05\xef\x5c\xa3\x65\x77\x33\x1c\xc5"
  2655. "\xdf\xc9\x39\xab\xca\xf4\x3b\x88\x25\x6d\x50\x87\xb1\x79\xc2\x23"
  2656. "\x9d\xb5\x21\x01\xaa\xa3\xb7\x61\xa3\x48\x91\x72\x3d\x54\x85\x86"
  2657. "\x91\x81\x35\x78\xbf\x8f\x27\x57\xcb\x9b\x34\xab\x63\x40\xf1\xbc"
  2658. "\x23\x5a\x26\x6a\xba\x57\xe2\x8f\x2a\xdc\x82\xe0\x3b\x7f\xec\xd3"
  2659. "\xd8\x9d\xd3\x13\x54\x70\x64\xc3\xfd\xbf\xa3\x46\xa7\x53\x42\x7f"
  2660. "\xc1\xbd\x7b\xb3\x13\x47\x2a\x45\x1e\x76\x2c\x0d\x6d\x46\x26\x24"
  2661. "\xa8\xc7\x00\x2b\x10\x7f\x2a\x6c\xfc\x68\x4e\x6e\x85\x53\x00\xaf"
  2662. "\xd5\xfb\x59\x64\xc7\x9b\x24\xd1\x05\xdc\x34\x53\x6d\x27\xa9\x79"
  2663. "\xff\xd7\x5e\x7a\x40\x81\x8e\xc3\xf2\x38\xc9\x8d\x87\xb5\x38\xda"
  2664. "\x43\x64\x1b\x59\x62\x88\xc1\x6e\x85\x84\x33\xcd\x6d\x7b\x62\x1d"
  2665. "\x60\xf9\x98\xf7\xd1\xb1\xd4\xbe\x56\x6e\xa8\x6f\xff\xe7\x8b\x60"
  2666. "\x53\x80\xc7\x7c\xe0\x78\x89\xa9\xab\x42\x8f\x8e\x4d\x92\xac\xa7"
  2667. "\xfd\x47\x11\xc7\xdb\x7c\x77\xfb\xa4\x1d\x70\xaf\x56\x14\x52\xb0",
  2668. .expected_a_public =
  2669. "\xa1\x6c\x9e\xda\x45\x4d\xf6\x59\x04\x00\xc1\xc6\x8b\x12\x3b\xcd"
  2670. "\x07\xe4\x3e\xec\xac\x9b\xfc\xf7\x6d\x73\x39\x9e\x52\xf8\xbe\x33"
  2671. "\xe2\xca\xea\x99\x76\xc7\xc9\x94\x5c\xf3\x1b\xea\x6b\x66\x4b\x51"
  2672. "\x90\xf6\x4f\x75\xd5\x85\xf4\x28\xfd\x74\xa5\x57\xb1\x71\x0c\xb6"
  2673. "\xb6\x95\x70\x2d\xfa\x4b\x56\xe0\x56\x10\x21\xe5\x60\xa6\x18\xa4"
  2674. "\x78\x8c\x07\xc0\x2b\x59\x9c\x84\x5b\xe9\xb9\x74\xbf\xbc\x65\x48"
  2675. "\x27\x82\x40\x53\x46\x32\xa2\x92\x91\x9d\xf6\xd1\x07\x0e\x1d\x07"
  2676. "\x1b\x41\x04\xb1\xd4\xce\xae\x6e\x46\xf1\x72\x50\x7f\xff\xa8\xa2"
  2677. "\xbc\x3a\xc1\xbb\x28\xd7\x7d\xcd\x7a\x22\x01\xaf\x57\xb0\xa9\x02"
  2678. "\xd4\x8a\x92\xd5\xe6\x8e\x6f\x11\x39\xfe\x36\x87\x89\x42\x25\x42"
  2679. "\xd9\xbe\x67\x15\xe1\x82\x8a\x5e\x98\xc2\xd5\xde\x9e\x13\x1a\xe7"
  2680. "\xf9\x9f\x8e\x2d\x49\xdc\x4d\x98\x8c\xdd\xfd\x24\x7c\x46\xa9\x69"
  2681. "\x3b\x31\xb3\x12\xce\x54\xf6\x65\x75\x40\xc2\xf1\x04\x92\xe3\x83"
  2682. "\xeb\x02\x3d\x79\xc0\xf9\x7c\x28\xb3\x97\x03\xf7\x61\x1c\xce\x95"
  2683. "\x1a\xa0\xb3\x77\x1b\xc1\x9f\xf8\xf6\x3f\x4d\x0a\xfb\xfa\x64\x1c"
  2684. "\xcb\x37\x5b\xc3\x28\x60\x9f\xd1\xf2\xc4\xee\x77\xaa\x1f\xe9\xa2"
  2685. "\x89\x4c\xc6\xb7\xb3\xe4\xa5\xed\xa7\xe8\xac\x90\xdc\xc3\xfb\x56"
  2686. "\x9c\xda\x2c\x1d\x1a\x9a\x8c\x82\x92\xee\xdc\xa0\xa4\x01\x6e\x7f"
  2687. "\xc7\x0e\xc2\x73\x7d\xa6\xac\x12\x01\xc0\xc0\xc8\x7c\x84\x86\xc7"
  2688. "\xa5\x94\xe5\x33\x84\x71\x6e\x36\xe3\x3b\x81\x30\xe0\xc8\x51\x52"
  2689. "\x2b\x9e\x68\xa2\x6e\x09\x95\x8c\x7f\x78\x82\xbd\x53\x26\xe7\x95"
  2690. "\xe0\x03\xda\xc0\xc3\x6e\xcf\xdc\xb3\x14\xfc\xe9\x5b\x9b\x70\x6c"
  2691. "\x93\x04\xab\x13\xf7\x17\x6d\xee\xad\x32\x48\xe9\xa0\x94\x1b\x14"
  2692. "\x64\x4f\xa1\xb3\x8d\x6a\xca\x28\xfe\x4a\xf4\xf0\xc5\xb7\xf9\x8a"
  2693. "\x8e\xff\xfe\x57\x6f\x20\xdb\x04\xab\x02\x31\x22\x42\xfd\xbd\x77"
  2694. "\xea\xce\xe8\xc7\x5d\xe0\x8e\xd6\x66\xd0\xe4\x04\x2f\x5f\x71\xc7"
  2695. "\x61\x2d\xa5\x3f\x2f\x46\xf2\xd8\x5b\x25\x82\xf0\x52\x88\xc0\x59"
  2696. "\xd3\xa3\x90\x17\xc2\x04\x13\xc3\x13\x69\x4f\x17\xb1\xb3\x46\x4f"
  2697. "\xa7\xe6\x8b\x5e\x3e\x95\x0e\xf5\x42\x17\x7f\x4d\x1f\x1b\x7d\x65"
  2698. "\x86\xc5\xc8\xae\xae\xd8\x4f\xe7\x89\x41\x69\xfd\x06\xce\x5d\xed"
  2699. "\x44\x55\xad\x51\x98\x15\x78\x8d\x68\xfc\x93\x72\x9d\x22\xe5\x1d"
  2700. "\x21\xc3\xbe\x3a\x44\x34\xc0\xa3\x1f\xca\xdf\x45\xd0\x5c\xcd\xb7"
  2701. "\x72\xeb\xae\x7a\xad\x3f\x05\xa0\xe3\x6e\x5a\xd8\x52\xa7\xf1\x1e"
  2702. "\xb4\xf2\xcf\xe7\xdf\xa7\xf2\x22\x00\xb2\xc4\x17\x3d\x2c\x15\x04"
  2703. "\x71\x28\x69\x5c\x69\x21\xc8\xf1\x9b\xd8\xc7\xbc\x27\xa3\x85\xe9"
  2704. "\x53\x77\xd3\x65\xc3\x86\xdd\xb3\x76\x13\xfb\xa1\xd4\xee\x9d\xe4"
  2705. "\x51\x3f\x83\x59\xe4\x47\xa8\xa6\x0d\x68\xd5\xf6\xf4\xca\x31\xcd"
  2706. "\x30\x48\x34\x90\x11\x8e\x87\xe9\xea\xc9\xd0\xc3\xba\x28\xf9\xc0"
  2707. "\xc9\x8e\x23\xe5\xc2\xee\xf2\x47\x9c\x41\x1c\x10\x33\x27\x23\x49"
  2708. "\xe5\x0d\x18\xbe\x19\xc1\xba\x6c\xdc\xb7\xa1\xe7\xc5\x0d\x6f\xf0"
  2709. "\x8c\x62\x6e\x0d\x14\xef\xef\xf2\x8e\x01\xd2\x76\xf5\xc1\xe1\x92"
  2710. "\x3c\xb3\x76\xcd\xd8\xdd\x9b\xe0\x8e\xdc\x24\x34\x13\x65\x0f\x11"
  2711. "\xaf\x99\x7a\x2f\xe6\x1f\x7d\x17\x3e\x8a\x68\x9a\x37\xc8\x8d\x3e"
  2712. "\xa3\xfe\xfe\x57\x22\xe6\x0e\x50\xb5\x98\x0b\x71\xd8\x01\xa2\x8d"
  2713. "\x51\x96\x50\xc2\x41\x31\xd8\x23\x98\xfc\xd1\x9d\x7e\x27\xbb\x69"
  2714. "\x78\xe0\x87\xf7\xe4\xdd\x58\x13\x9d\xec\x00\xe4\xb9\x70\xa2\x94"
  2715. "\x5d\x52\x4e\xf2\x5c\xd1\xbc\xfd\xee\x9b\xb9\xe5\xc4\xc0\xa8\x77"
  2716. "\x67\xa4\xd1\x95\x34\xe4\x6d\x5f\x25\x02\x8d\x65\xdd\x11\x63\x55"
  2717. "\x04\x01\x21\x60\xc1\x5c\xef\x77\x33\x01\x1c\xa2\x11\x2b\xdd\x2b"
  2718. "\x74\x99\x23\x38\x05\x1b\x7e\x2e\x01\x52\xfe\x9c\x23\xde\x3e\x1a"
  2719. "\x72\xf4\xff\x7b\x02\xaa\x08\xcf\xe0\x5b\x83\xbe\x85\x5a\xe8\x9d"
  2720. "\x11\x3e\xff\x2f\xc6\x97\x67\x36\x6c\x0f\x81\x9c\x26\x29\xb1\x0f"
  2721. "\xbb\x53\xbd\xf4\xec\x2a\x84\x41\x28\x3b\x86\x40\x95\x69\x55\x5f"
  2722. "\x30\xee\xda\x1e\x6c\x4b\x25\xd6\x2f\x2c\x0e\x3c\x1a\x26\xa0\x3e"
  2723. "\xef\x09\xc6\x2b\xe5\xa1\x0c\x03\xa8\xf5\x39\x70\x31\xc4\x32\x79"
  2724. "\xd1\xd9\xc2\xcc\x32\x4a\xf1\x2f\x57\x5a\xcc\xe5\xc3\xc5\xd5\x4e"
  2725. "\x86\x56\xca\x64\xdb\xab\x61\x85\x8f\xf9\x20\x02\x40\x66\x76\x9e"
  2726. "\x5e\xd4\xac\xf0\x47\xa6\x50\x5f\xc2\xaf\x55\x9b\xa3\xc9\x8b\xf8"
  2727. "\x42\xd5\xcf\x1a\x95\x22\xd9\xd1\x0b\x92\x51\xca\xde\x46\x02\x0d"
  2728. "\x8b\xee\xd9\xa0\x04\x74\xf5\x0e\xb0\x3a\x62\xec\x3c\x91\x29\x33"
  2729. "\xa7\x78\x22\x92\xac\x27\xe6\x2d\x6f\x56\x8a\x5d\x72\xc2\xf1\x5c"
  2730. "\x54\x11\x97\x24\x61\xcb\x0c\x52\xd4\x57\x56\x22\x86\xf0\x19\x27"
  2731. "\x76\x30\x04\xf4\x39\x7b\x1a\x5a\x04\x0d\xec\x59\x9a\x31\x4c\x40"
  2732. "\x19\x6d\x3c\x41\x1b\x0c\xca\xeb\x25\x39\x6c\x96\xf8\x55\xd0\xec",
  2733. .expected_ss =
  2734. "\xf9\x55\x4f\x48\x38\x74\xb7\x46\xa3\xc4\x2e\x88\xf0\x34\xab\x1d"
  2735. "\xcd\xa5\x58\xa7\x95\x88\x36\x62\x6f\x8a\xbd\xf2\xfb\x6f\x3e\xb9"
  2736. "\x91\x65\x58\xef\x70\x2f\xd5\xc2\x97\x70\xcb\xce\x8b\x78\x1c\xe0"
  2737. "\xb9\xfa\x77\x34\xd2\x4a\x19\x58\x11\xfd\x93\x84\x40\xc0\x8c\x19"
  2738. "\x8b\x98\x50\x83\xba\xfb\xe2\xad\x8b\x81\x84\x63\x90\x41\x4b\xf8"
  2739. "\xe8\x78\x86\x04\x09\x8d\x84\xd1\x43\xfd\xa3\x58\x21\x2a\x3b\xb1"
  2740. "\xa2\x5b\x48\x74\x3c\xa9\x16\x34\x28\xf0\x8e\xde\xe2\xcf\x8e\x68"
  2741. "\x53\xab\x65\x06\xb7\x86\xb1\x08\x4f\x73\x97\x00\x10\x95\xd1\x84"
  2742. "\x72\xcf\x14\xdb\xff\xa7\x80\xd8\xe5\xf2\x2c\x89\x37\xb0\x81\x2c"
  2743. "\xf5\xd6\x7d\x1b\xb0\xe2\x8e\x87\x32\x3d\x37\x6a\x79\xaa\xe7\x08"
  2744. "\xc9\x67\x55\x5f\x1c\xae\xa6\xf5\xef\x79\x3a\xaf\x3f\x82\x14\xe2"
  2745. "\xf3\x69\x91\xed\xb7\x9e\xc9\xde\xd0\x29\x70\xd9\xeb\x0f\xf5\xc7"
  2746. "\xf6\x7c\xa7\x7f\xec\xed\xe1\xbd\x13\xe1\x43\xe4\x42\x30\xe3\x5f"
  2747. "\xe0\xf3\x15\x55\x2f\x7a\x42\x17\x67\xcb\xc2\x4f\xd0\x85\xfc\x6c"
  2748. "\xec\xe8\xfc\x25\x78\x4b\xe4\x0f\xd4\x3d\x78\x28\xd3\x53\x79\xcb"
  2749. "\x2c\x82\x67\x9a\xdc\x32\x55\xd2\xda\xae\xd8\x61\xce\xd6\x59\x0b"
  2750. "\xc5\x44\xeb\x08\x81\x8c\x65\xb2\xb7\xa6\xff\xf7\xbf\x99\xc6\x8a"
  2751. "\xbe\xde\xc2\x17\x56\x05\x6e\xd2\xf1\x1e\xa2\x04\xeb\x02\x74\xaa"
  2752. "\x04\xfc\xf0\x6b\xd4\xfc\xf0\x7a\x5f\xfe\xe2\x74\x7f\xeb\x9b\x6a"
  2753. "\x8a\x09\x96\x5d\xe1\x91\xb6\x9e\x37\xd7\x63\xd7\xb3\x5c\xb5\xa3"
  2754. "\x5f\x62\x00\xdf\xc5\xbf\x85\xba\xa7\xa9\xb6\x1f\x76\x78\x65\x01"
  2755. "\xfe\x1d\x6c\xfe\x15\x9e\xf4\xb1\xbc\x8d\xad\x3c\xec\x69\x27\x57"
  2756. "\xa4\x89\x77\x46\xe1\x49\xc7\x22\xde\x79\xe0\xf7\x3a\xa1\x59\x8b"
  2757. "\x59\x71\xcc\xd6\x18\x24\xc1\x8a\x2f\xe3\xdf\xdd\x6c\xf7\x62\xaa"
  2758. "\x15\xaa\x39\x37\x3b\xaf\x7d\x6e\x88\xeb\x19\xa8\xa0\x26\xd3\xaa"
  2759. "\x2d\xcc\x5f\x56\x99\x86\xa9\xed\x4d\x02\x31\x40\x97\x70\x83\xa7"
  2760. "\x08\x98\x7e\x49\x46\xd9\x75\xb5\x7a\x6a\x40\x69\xa0\x6d\xb2\x18"
  2761. "\xc0\xad\x88\x05\x02\x95\x6f\xf7\x8f\xcb\xa2\xe4\x7b\xab\x4a\x0f"
  2762. "\x9a\x1b\xef\xcc\xd1\x6a\x5d\x1e\x6a\x2a\x8b\x5b\x80\xbc\x5f\x38"
  2763. "\xdd\xaf\xad\x44\x15\xb4\xaf\x26\x1c\x1a\x4d\xa7\x4b\xec\x88\x33"
  2764. "\x24\x42\xb5\x0c\x9c\x56\xd4\xba\xa7\xb9\x65\xd5\x76\xb2\xbc\x16"
  2765. "\x8e\xfa\x0c\x7a\xc0\xa2\x2c\x5a\x39\x56\x7d\xe6\xf8\xa9\xf4\x49"
  2766. "\xd0\x50\xf2\x5e\x4b\x0a\x43\xe4\x9a\xbb\xea\x35\x28\x99\x84\x83"
  2767. "\xec\xc1\xa0\x68\x15\x9a\x2b\x01\x04\x48\x09\x11\x1b\xb6\xa4\xd8"
  2768. "\x03\xad\xb6\x4c\x9e\x1d\x90\xae\x88\x0f\x75\x95\x25\xa0\x27\x13"
  2769. "\xb7\x4f\xe2\x3e\xd5\x59\x1a\x7c\xde\x95\x14\x28\xd1\xde\x84\xe4"
  2770. "\x07\x7c\x5b\x06\xd6\xe6\x9c\x8a\xbe\xd2\xb4\x62\xd1\x67\x8a\x9c"
  2771. "\xac\x4f\xfa\x70\xd6\xc8\xc0\xeb\x5e\xf6\x3e\xdc\x48\x8e\xce\x3f"
  2772. "\x92\x3e\x60\x77\x63\x60\x6b\x76\x04\xa5\xba\xc9\xab\x92\x4e\x0d"
  2773. "\xdc\xca\x82\x44\x5f\x3a\x42\xeb\x01\xe7\xe0\x33\xb3\x32\xaf\x4b"
  2774. "\x81\x35\x2d\xb6\x57\x15\xfe\x52\xc7\x54\x2e\x41\x3b\x22\x6b\x12"
  2775. "\x72\xdb\x5c\x66\xd0\xb6\xb4\xfe\x90\xc0\x20\x34\x95\xf9\xe4\xc7"
  2776. "\x7e\x71\x89\x4f\x6f\xfb\x2a\xf3\xdf\x3f\xe3\xcf\x0e\x1a\xd9\xf2"
  2777. "\xc1\x02\x67\x5d\xdc\xf1\x7d\xe8\xcf\x64\x77\x4d\x12\x03\x77\x2c"
  2778. "\xfb\xe1\x59\xf7\x2c\x96\x9c\xaf\x46\x9c\xc7\x67\xcf\xee\x94\x50"
  2779. "\xc7\xa1\x23\xe6\x9f\x4d\x73\x92\xad\xf9\x4a\xce\xdb\x44\xd5\xe3"
  2780. "\x17\x05\x37\xdb\x9c\x6c\xc5\x7e\xb7\xd4\x11\x4a\x8c\x51\x03\xaa"
  2781. "\x73\x4b\x16\xd9\x79\xf5\xf1\x67\x20\x9b\x25\xe5\x41\x52\x59\x06"
  2782. "\x8b\xf2\x23\x2f\x6e\xea\xf3\x24\x0a\x94\xbb\xb8\x7e\xd9\x23\x4a"
  2783. "\x9f\x1f\xe1\x13\xb5\xfe\x85\x2f\x4c\xbe\x6a\x66\x02\x1d\x90\xd2"
  2784. "\x01\x25\x8a\xfd\x78\x3a\x28\xb8\x18\xc1\x38\x16\x21\x6b\xb4\xf9"
  2785. "\x64\x0f\xf1\x73\xc4\x5c\xd1\x41\xf2\xfe\xe7\x26\xad\x79\x12\x75"
  2786. "\x49\x48\xdb\x21\x71\x35\xf7\xb7\x46\x5a\xa1\x81\x25\x47\x31\xea"
  2787. "\x1d\x76\xbb\x32\x5a\x90\xb0\x42\x1a\x47\xe8\x0c\x82\x92\x43\x1c"
  2788. "\x0b\xdd\xe5\x25\xce\xd3\x06\xcc\x59\x5a\xc9\xa0\x01\xac\x29\x12"
  2789. "\x31\x2e\x3d\x1a\xed\x3b\xf3\xa7\xef\x52\xc2\x0d\x18\x1f\x03\x28"
  2790. "\xc9\x2b\x38\x61\xa4\x01\xc9\x3c\x11\x08\x14\xd4\xe5\x31\xe9\x3c"
  2791. "\x1d\xad\xf8\x76\xc4\x84\x9f\xea\x16\x61\x3d\x6d\xa3\x32\x31\xcd"
  2792. "\x1c\xca\xb8\x74\xc2\x45\xf3\x01\x9c\x7a\xaf\xfd\xe7\x1e\x5a\x18"
  2793. "\xb1\x9d\xbb\x7a\x2d\x34\x40\x17\x49\xad\x1f\xeb\x2d\xa2\x26\xb8"
  2794. "\x16\x28\x4b\x72\xdd\xd0\x8d\x85\x4c\xdd\xf8\x57\x48\xd5\x1d\xfb"
  2795. "\xbd\xec\x11\x5d\x1e\x9c\x26\x81\xbf\xf1\x16\x12\x32\xc3\xf3\x07"
  2796. "\x0e\x6e\x7f\x17\xec\xfb\xf4\x5d\xe2\xb1\xca\x97\xca\x46\x20\x2d"
  2797. "\x09\x85\x19\x25\x89\xa8\x9b\x51\x74\xae\xc9\x1b\x4c\xb6\x80\x62",
  2798. .secret_size = 1040,
  2799. .b_public_size = 1024,
  2800. .expected_a_public_size = 1024,
  2801. .expected_ss_size = 1024,
  2802. },
  2803. {
  2804. .secret =
  2805. #ifdef __LITTLE_ENDIAN
  2806. "\x01\x00" /* type */
  2807. "\x10\x00" /* len */
  2808. "\x00\x00\x00\x00" /* key_size */
  2809. "\x00\x00\x00\x00" /* p_size */
  2810. "\x00\x00\x00\x00", /* g_size */
  2811. #else
  2812. "\x00\x01" /* type */
  2813. "\x00\x10" /* len */
  2814. "\x00\x00\x00\x00" /* key_size */
  2815. "\x00\x00\x00\x00" /* p_size */
  2816. "\x00\x00\x00\x00", /* g_size */
  2817. #endif
  2818. .b_secret =
  2819. #ifdef __LITTLE_ENDIAN
  2820. "\x01\x00" /* type */
  2821. "\x10\x04" /* len */
  2822. "\x00\x04\x00\x00" /* key_size */
  2823. "\x00\x00\x00\x00" /* p_size */
  2824. "\x00\x00\x00\x00" /* g_size */
  2825. #else
  2826. "\x00\x01" /* type */
  2827. "\x04\x10" /* len */
  2828. "\x00\x00\x04\x00" /* key_size */
  2829. "\x00\x00\x00\x00" /* p_size */
  2830. "\x00\x00\x00\x00" /* g_size */
  2831. #endif
  2832. /* xa */
  2833. "\x76\x6e\xeb\xf9\xeb\x76\xae\x37\xcb\x19\x49\x8b\xeb\xaf\xb0\x4b"
  2834. "\x6d\xe9\x15\xad\xda\xf2\xef\x58\xe9\xd6\xdd\x4c\xb3\x56\xd0\x3b"
  2835. "\x00\xb0\x65\xed\xae\xe0\x2e\xdf\x8f\x45\x3f\x3c\x5d\x2f\xfa\x96"
  2836. "\x36\x33\xb2\x01\x8b\x0f\xe8\x46\x15\x6d\x60\x5b\xec\x32\xc3\x3b"
  2837. "\x06\xf3\xb4\x1b\x9a\xef\x3c\x03\x0e\xcc\xce\x1d\x24\xa0\xc9\x08"
  2838. "\x65\xf9\x45\xe5\xd2\x43\x08\x88\x58\xd6\x46\xe7\xbb\x25\xac\xed"
  2839. "\x3b\xac\x6f\x5e\xfb\xd6\x19\xa6\x20\x3a\x1d\x0c\xe8\x00\x72\x54"
  2840. "\xd7\xd9\xc9\x26\x49\x18\xc6\xb8\xbc\xdd\xf3\xce\xf3\x7b\x69\x04"
  2841. "\x5c\x6f\x11\xdb\x44\x42\x72\xb6\xb7\x84\x17\x86\x47\x3f\xc5\xa1"
  2842. "\xd8\x86\xef\xe2\x27\x49\x2b\x8f\x3e\x91\x12\xd9\x45\x96\xf7\xe6"
  2843. "\x77\x76\x36\x58\x71\x9a\xb1\xdb\xcf\x24\x9e\x7e\xad\xce\x45\xba"
  2844. "\xb5\xec\x8e\xb9\xd6\x7b\x3d\x76\xa4\x85\xad\xd8\x49\x9b\x80\x9d"
  2845. "\x7f\x9f\x85\x09\x9e\x86\x5b\x6b\xf3\x8d\x39\x5e\x6f\xe4\x30\xc8"
  2846. "\xa5\xf3\xdf\x68\x73\x6b\x2e\x9a\xcb\xac\x0a\x0d\x44\xc1\xaf\xb2"
  2847. "\x11\x1b\x7c\x43\x08\x44\x43\xe2\x4e\xfd\x93\x30\x99\x09\x12\xbb"
  2848. "\xf6\x31\x34\xa5\x3d\x45\x98\xee\xd7\x2a\x1a\x89\xf5\x37\x92\x33"
  2849. "\xa0\xdd\xf5\xfb\x1f\x90\x42\x55\x5a\x0b\x82\xff\xf0\x96\x92\x15"
  2850. "\x65\x5a\x55\x96\xca\x1b\xd5\xe5\xb5\x94\xde\x2e\xa6\x03\x57\x9e"
  2851. "\x15\xe4\x32\x2b\x1f\xb2\x22\x21\xe9\xa0\x05\xd3\x65\x6c\x11\x66"
  2852. "\x25\x38\xbb\xa3\x6c\xc2\x0b\x2b\xd0\x7a\x20\x26\x29\x37\x5d\x5f"
  2853. "\xd8\xff\x2a\xcd\x46\x6c\xd6\x6e\xe5\x77\x1a\xe6\x33\xf1\x8e\xc8"
  2854. "\x10\x30\x11\x00\x27\xf9\x7d\x0e\x28\x43\xa7\x67\x38\x7f\x16\xda"
  2855. "\xd0\x01\x8e\xa4\xe8\x6f\xcd\x23\xaf\x77\x52\x34\xad\x7e\xc3\xed"
  2856. "\x2d\x10\x0a\x33\xdc\xcf\x1b\x88\x0f\xcc\x48\x7f\x42\xf0\x9e\x13"
  2857. "\x1f\xf5\xd1\xe9\x90\x87\xbd\xfa\x5f\x1d\x77\x55\xcb\xc3\x05\xaf"
  2858. "\x71\xd0\xe0\xab\x46\x31\xd7\xea\x89\x54\x2d\x39\xaf\xf6\x4f\x74"
  2859. "\xaf\x46\x58\x89\x78\x95\x2e\xe6\x90\xb7\xaa\x00\x73\x9f\xed\xb9"
  2860. "\x00\xd6\xf6\x6d\x26\x59\xcd\x56\xdb\xf7\x3d\x5f\xeb\x6e\x46\x33"
  2861. "\xb1\x23\xed\x9f\x8d\x58\xdc\xb4\x28\x3b\x90\x09\xc4\x61\x02\x1f"
  2862. "\xf8\x62\xf2\x6e\xc1\x94\x71\x66\x93\x11\xdf\xaa\x3e\xd7\xb5\xe5"
  2863. "\xc1\x78\xe9\x14\xcd\x55\x16\x51\xdf\x8d\xd0\x94\x8c\x43\xe9\xb8"
  2864. "\x1d\x42\x7f\x76\xbc\x6f\x87\x42\x88\xde\xd7\x52\x78\x00\x4f\x18"
  2865. "\x02\xe7\x7b\xe2\x8a\xc3\xd1\x43\xa5\xac\xda\xb0\x8d\x19\x96\xd4"
  2866. "\x81\xe0\x75\xe9\xca\x41\x7e\x1f\x93\x0b\x26\x24\xb3\xaa\xdd\x10"
  2867. "\x20\xd3\xf2\x9f\x3f\xdf\x65\xde\x67\x79\xdc\x76\x9f\x3c\x72\x75"
  2868. "\x65\x8a\x30\xcc\xd2\xcc\x06\xb1\xab\x62\x86\x78\x5d\xb8\xce\x72"
  2869. "\xb3\x12\xc7\x9f\x07\xd0\x6b\x98\x82\x9b\x6c\xbb\x15\xe5\xcc\xf4"
  2870. "\xc8\xf4\x60\x81\xdc\xd3\x09\x1b\x5e\xd4\xf3\x55\xcf\x1c\x16\x83"
  2871. "\x61\xb4\x2e\xcc\x08\x67\x58\xfd\x46\x64\xbc\x29\x4b\xdd\xda\xec"
  2872. "\xdc\xc6\xa9\xa5\x73\xfb\xf8\xf3\xaf\x89\xa8\x9e\x25\x14\xfa\xac"
  2873. "\xeb\x1c\x7c\x80\x96\x66\x4d\x41\x67\x9b\x07\x4f\x0a\x97\x17\x1c"
  2874. "\x4d\x61\xc7\x2e\x6f\x36\x98\x29\x50\x39\x6d\xe7\x70\xda\xf0\xc8"
  2875. "\x05\x80\x7b\x32\xff\xfd\x12\xde\x61\x0d\xf9\x4c\x21\xf1\x56\x72"
  2876. "\x3d\x61\x46\xc0\x2d\x07\xd1\x6c\xd3\xbe\x9a\x21\x83\x85\xf7\xed"
  2877. "\x53\x95\x44\x40\x8f\x75\x12\x18\xc2\x9a\xfd\x5e\xce\x66\xa6\x7f"
  2878. "\x57\xc0\xd7\x73\x76\xb3\x13\xda\x2e\x58\xc6\x27\x40\xb2\x2d\xef"
  2879. "\x7d\x72\xb4\xa8\x75\x6f\xcc\x5f\x42\x3e\x2c\x90\x36\x59\xa0\x34"
  2880. "\xaa\xce\xbc\x04\x4c\xe6\x56\xc2\xcd\xa6\x1c\x59\x04\x56\x53\xcf"
  2881. "\x6d\xd7\xf0\xb1\x4f\x91\xfa\x84\xcf\x4b\x8d\x50\x4c\xf8\x2a\x31"
  2882. "\x5f\xe3\xba\x79\xb4\xcc\x59\x64\xe3\x7a\xfa\xf6\x06\x9d\x04\xbb"
  2883. "\xce\x61\xbf\x9e\x59\x0a\x09\x51\x6a\xbb\x0b\x80\xe0\x91\xc1\x51"
  2884. "\x04\x58\x67\x67\x4b\x42\x4f\x95\x68\x75\xe2\x1f\x9c\x14\x70\xfd"
  2885. "\x3a\x8a\xce\x8b\x04\xa1\x89\xe7\xb4\xbf\x70\xfe\xf3\x0c\x48\x04"
  2886. "\x3a\xd2\x85\x68\x03\xe7\xfa\xec\x5b\x55\xb7\x95\xfd\x5b\x19\x35"
  2887. "\xad\xcb\x4a\x63\x03\x44\x64\x2a\x48\x59\x9a\x26\x43\x96\x8c\xe6"
  2888. "\xbd\xb7\x90\xd4\x5f\x8d\x08\x28\xa8\xc5\x89\x70\xb9\x6e\xd3\x3b"
  2889. "\x76\x0e\x37\x98\x15\x27\xca\xc9\xb0\xe0\xfd\xf3\xc6\xdf\x69\xce"
  2890. "\xe1\x5f\x6a\x3e\x5c\x86\xe2\x58\x41\x11\xf0\x7e\x56\xec\xe4\xc9"
  2891. "\x0d\x87\x91\xfb\xb9\xc8\x0d\x34\xab\xb0\xc6\xf2\xa6\x00\x7b\x18"
  2892. "\x92\xf4\x43\x7f\x01\x85\x2e\xef\x8c\x72\x50\x10\xdb\xf1\x37\x62"
  2893. "\x16\x85\x71\x01\xa8\x2b\xf0\x13\xd3\x7c\x0b\xaf\xf1\xf3\xd1\xee"
  2894. "\x90\x41\x5f\x7d\x5b\xa9\x83\x4b\xfa\x80\x59\x50\x73\xe1\xc4\xf9"
  2895. "\x5e\x4b\xde\xd9\xf5\x22\x68\x5e\x65\xd9\x37\xe4\x1a\x08\x0e\xb1"
  2896. "\x28\x2f\x40\x9e\x37\xa8\x12\x56\xb7\xb8\x64\x94\x68\x94\xff\x9f",
  2897. .b_public =
  2898. "\xa1\x6c\x9e\xda\x45\x4d\xf6\x59\x04\x00\xc1\xc6\x8b\x12\x3b\xcd"
  2899. "\x07\xe4\x3e\xec\xac\x9b\xfc\xf7\x6d\x73\x39\x9e\x52\xf8\xbe\x33"
  2900. "\xe2\xca\xea\x99\x76\xc7\xc9\x94\x5c\xf3\x1b\xea\x6b\x66\x4b\x51"
  2901. "\x90\xf6\x4f\x75\xd5\x85\xf4\x28\xfd\x74\xa5\x57\xb1\x71\x0c\xb6"
  2902. "\xb6\x95\x70\x2d\xfa\x4b\x56\xe0\x56\x10\x21\xe5\x60\xa6\x18\xa4"
  2903. "\x78\x8c\x07\xc0\x2b\x59\x9c\x84\x5b\xe9\xb9\x74\xbf\xbc\x65\x48"
  2904. "\x27\x82\x40\x53\x46\x32\xa2\x92\x91\x9d\xf6\xd1\x07\x0e\x1d\x07"
  2905. "\x1b\x41\x04\xb1\xd4\xce\xae\x6e\x46\xf1\x72\x50\x7f\xff\xa8\xa2"
  2906. "\xbc\x3a\xc1\xbb\x28\xd7\x7d\xcd\x7a\x22\x01\xaf\x57\xb0\xa9\x02"
  2907. "\xd4\x8a\x92\xd5\xe6\x8e\x6f\x11\x39\xfe\x36\x87\x89\x42\x25\x42"
  2908. "\xd9\xbe\x67\x15\xe1\x82\x8a\x5e\x98\xc2\xd5\xde\x9e\x13\x1a\xe7"
  2909. "\xf9\x9f\x8e\x2d\x49\xdc\x4d\x98\x8c\xdd\xfd\x24\x7c\x46\xa9\x69"
  2910. "\x3b\x31\xb3\x12\xce\x54\xf6\x65\x75\x40\xc2\xf1\x04\x92\xe3\x83"
  2911. "\xeb\x02\x3d\x79\xc0\xf9\x7c\x28\xb3\x97\x03\xf7\x61\x1c\xce\x95"
  2912. "\x1a\xa0\xb3\x77\x1b\xc1\x9f\xf8\xf6\x3f\x4d\x0a\xfb\xfa\x64\x1c"
  2913. "\xcb\x37\x5b\xc3\x28\x60\x9f\xd1\xf2\xc4\xee\x77\xaa\x1f\xe9\xa2"
  2914. "\x89\x4c\xc6\xb7\xb3\xe4\xa5\xed\xa7\xe8\xac\x90\xdc\xc3\xfb\x56"
  2915. "\x9c\xda\x2c\x1d\x1a\x9a\x8c\x82\x92\xee\xdc\xa0\xa4\x01\x6e\x7f"
  2916. "\xc7\x0e\xc2\x73\x7d\xa6\xac\x12\x01\xc0\xc0\xc8\x7c\x84\x86\xc7"
  2917. "\xa5\x94\xe5\x33\x84\x71\x6e\x36\xe3\x3b\x81\x30\xe0\xc8\x51\x52"
  2918. "\x2b\x9e\x68\xa2\x6e\x09\x95\x8c\x7f\x78\x82\xbd\x53\x26\xe7\x95"
  2919. "\xe0\x03\xda\xc0\xc3\x6e\xcf\xdc\xb3\x14\xfc\xe9\x5b\x9b\x70\x6c"
  2920. "\x93\x04\xab\x13\xf7\x17\x6d\xee\xad\x32\x48\xe9\xa0\x94\x1b\x14"
  2921. "\x64\x4f\xa1\xb3\x8d\x6a\xca\x28\xfe\x4a\xf4\xf0\xc5\xb7\xf9\x8a"
  2922. "\x8e\xff\xfe\x57\x6f\x20\xdb\x04\xab\x02\x31\x22\x42\xfd\xbd\x77"
  2923. "\xea\xce\xe8\xc7\x5d\xe0\x8e\xd6\x66\xd0\xe4\x04\x2f\x5f\x71\xc7"
  2924. "\x61\x2d\xa5\x3f\x2f\x46\xf2\xd8\x5b\x25\x82\xf0\x52\x88\xc0\x59"
  2925. "\xd3\xa3\x90\x17\xc2\x04\x13\xc3\x13\x69\x4f\x17\xb1\xb3\x46\x4f"
  2926. "\xa7\xe6\x8b\x5e\x3e\x95\x0e\xf5\x42\x17\x7f\x4d\x1f\x1b\x7d\x65"
  2927. "\x86\xc5\xc8\xae\xae\xd8\x4f\xe7\x89\x41\x69\xfd\x06\xce\x5d\xed"
  2928. "\x44\x55\xad\x51\x98\x15\x78\x8d\x68\xfc\x93\x72\x9d\x22\xe5\x1d"
  2929. "\x21\xc3\xbe\x3a\x44\x34\xc0\xa3\x1f\xca\xdf\x45\xd0\x5c\xcd\xb7"
  2930. "\x72\xeb\xae\x7a\xad\x3f\x05\xa0\xe3\x6e\x5a\xd8\x52\xa7\xf1\x1e"
  2931. "\xb4\xf2\xcf\xe7\xdf\xa7\xf2\x22\x00\xb2\xc4\x17\x3d\x2c\x15\x04"
  2932. "\x71\x28\x69\x5c\x69\x21\xc8\xf1\x9b\xd8\xc7\xbc\x27\xa3\x85\xe9"
  2933. "\x53\x77\xd3\x65\xc3\x86\xdd\xb3\x76\x13\xfb\xa1\xd4\xee\x9d\xe4"
  2934. "\x51\x3f\x83\x59\xe4\x47\xa8\xa6\x0d\x68\xd5\xf6\xf4\xca\x31\xcd"
  2935. "\x30\x48\x34\x90\x11\x8e\x87\xe9\xea\xc9\xd0\xc3\xba\x28\xf9\xc0"
  2936. "\xc9\x8e\x23\xe5\xc2\xee\xf2\x47\x9c\x41\x1c\x10\x33\x27\x23\x49"
  2937. "\xe5\x0d\x18\xbe\x19\xc1\xba\x6c\xdc\xb7\xa1\xe7\xc5\x0d\x6f\xf0"
  2938. "\x8c\x62\x6e\x0d\x14\xef\xef\xf2\x8e\x01\xd2\x76\xf5\xc1\xe1\x92"
  2939. "\x3c\xb3\x76\xcd\xd8\xdd\x9b\xe0\x8e\xdc\x24\x34\x13\x65\x0f\x11"
  2940. "\xaf\x99\x7a\x2f\xe6\x1f\x7d\x17\x3e\x8a\x68\x9a\x37\xc8\x8d\x3e"
  2941. "\xa3\xfe\xfe\x57\x22\xe6\x0e\x50\xb5\x98\x0b\x71\xd8\x01\xa2\x8d"
  2942. "\x51\x96\x50\xc2\x41\x31\xd8\x23\x98\xfc\xd1\x9d\x7e\x27\xbb\x69"
  2943. "\x78\xe0\x87\xf7\xe4\xdd\x58\x13\x9d\xec\x00\xe4\xb9\x70\xa2\x94"
  2944. "\x5d\x52\x4e\xf2\x5c\xd1\xbc\xfd\xee\x9b\xb9\xe5\xc4\xc0\xa8\x77"
  2945. "\x67\xa4\xd1\x95\x34\xe4\x6d\x5f\x25\x02\x8d\x65\xdd\x11\x63\x55"
  2946. "\x04\x01\x21\x60\xc1\x5c\xef\x77\x33\x01\x1c\xa2\x11\x2b\xdd\x2b"
  2947. "\x74\x99\x23\x38\x05\x1b\x7e\x2e\x01\x52\xfe\x9c\x23\xde\x3e\x1a"
  2948. "\x72\xf4\xff\x7b\x02\xaa\x08\xcf\xe0\x5b\x83\xbe\x85\x5a\xe8\x9d"
  2949. "\x11\x3e\xff\x2f\xc6\x97\x67\x36\x6c\x0f\x81\x9c\x26\x29\xb1\x0f"
  2950. "\xbb\x53\xbd\xf4\xec\x2a\x84\x41\x28\x3b\x86\x40\x95\x69\x55\x5f"
  2951. "\x30\xee\xda\x1e\x6c\x4b\x25\xd6\x2f\x2c\x0e\x3c\x1a\x26\xa0\x3e"
  2952. "\xef\x09\xc6\x2b\xe5\xa1\x0c\x03\xa8\xf5\x39\x70\x31\xc4\x32\x79"
  2953. "\xd1\xd9\xc2\xcc\x32\x4a\xf1\x2f\x57\x5a\xcc\xe5\xc3\xc5\xd5\x4e"
  2954. "\x86\x56\xca\x64\xdb\xab\x61\x85\x8f\xf9\x20\x02\x40\x66\x76\x9e"
  2955. "\x5e\xd4\xac\xf0\x47\xa6\x50\x5f\xc2\xaf\x55\x9b\xa3\xc9\x8b\xf8"
  2956. "\x42\xd5\xcf\x1a\x95\x22\xd9\xd1\x0b\x92\x51\xca\xde\x46\x02\x0d"
  2957. "\x8b\xee\xd9\xa0\x04\x74\xf5\x0e\xb0\x3a\x62\xec\x3c\x91\x29\x33"
  2958. "\xa7\x78\x22\x92\xac\x27\xe6\x2d\x6f\x56\x8a\x5d\x72\xc2\xf1\x5c"
  2959. "\x54\x11\x97\x24\x61\xcb\x0c\x52\xd4\x57\x56\x22\x86\xf0\x19\x27"
  2960. "\x76\x30\x04\xf4\x39\x7b\x1a\x5a\x04\x0d\xec\x59\x9a\x31\x4c\x40"
  2961. "\x19\x6d\x3c\x41\x1b\x0c\xca\xeb\x25\x39\x6c\x96\xf8\x55\xd0\xec",
  2962. .secret_size = 16,
  2963. .b_secret_size = 1040,
  2964. .b_public_size = 1024,
  2965. .expected_a_public_size = 1024,
  2966. .expected_ss_size = 1024,
  2967. .genkey = true,
  2968. },
  2969. };
  2970. static const struct kpp_testvec curve25519_tv_template[] = {
  2971. {
  2972. .secret = (u8[32]){ 0x77, 0x07, 0x6d, 0x0a, 0x73, 0x18, 0xa5, 0x7d,
  2973. 0x3c, 0x16, 0xc1, 0x72, 0x51, 0xb2, 0x66, 0x45,
  2974. 0xdf, 0x4c, 0x2f, 0x87, 0xeb, 0xc0, 0x99, 0x2a,
  2975. 0xb1, 0x77, 0xfb, 0xa5, 0x1d, 0xb9, 0x2c, 0x2a },
  2976. .b_public = (u8[32]){ 0xde, 0x9e, 0xdb, 0x7d, 0x7b, 0x7d, 0xc1, 0xb4,
  2977. 0xd3, 0x5b, 0x61, 0xc2, 0xec, 0xe4, 0x35, 0x37,
  2978. 0x3f, 0x83, 0x43, 0xc8, 0x5b, 0x78, 0x67, 0x4d,
  2979. 0xad, 0xfc, 0x7e, 0x14, 0x6f, 0x88, 0x2b, 0x4f },
  2980. .expected_ss = (u8[32]){ 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
  2981. 0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
  2982. 0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
  2983. 0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42 },
  2984. .secret_size = 32,
  2985. .b_public_size = 32,
  2986. .expected_ss_size = 32,
  2987. },
  2988. {
  2989. .secret = (u8[32]){ 0x5d, 0xab, 0x08, 0x7e, 0x62, 0x4a, 0x8a, 0x4b,
  2990. 0x79, 0xe1, 0x7f, 0x8b, 0x83, 0x80, 0x0e, 0xe6,
  2991. 0x6f, 0x3b, 0xb1, 0x29, 0x26, 0x18, 0xb6, 0xfd,
  2992. 0x1c, 0x2f, 0x8b, 0x27, 0xff, 0x88, 0xe0, 0xeb },
  2993. .b_public = (u8[32]){ 0x85, 0x20, 0xf0, 0x09, 0x89, 0x30, 0xa7, 0x54,
  2994. 0x74, 0x8b, 0x7d, 0xdc, 0xb4, 0x3e, 0xf7, 0x5a,
  2995. 0x0d, 0xbf, 0x3a, 0x0d, 0x26, 0x38, 0x1a, 0xf4,
  2996. 0xeb, 0xa4, 0xa9, 0x8e, 0xaa, 0x9b, 0x4e, 0x6a },
  2997. .expected_ss = (u8[32]){ 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
  2998. 0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
  2999. 0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
  3000. 0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42 },
  3001. .secret_size = 32,
  3002. .b_public_size = 32,
  3003. .expected_ss_size = 32,
  3004. },
  3005. {
  3006. .secret = (u8[32]){ 1 },
  3007. .b_public = (u8[32]){ 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3008. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3009. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3010. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3011. .expected_ss = (u8[32]){ 0x3c, 0x77, 0x77, 0xca, 0xf9, 0x97, 0xb2, 0x64,
  3012. 0x41, 0x60, 0x77, 0x66, 0x5b, 0x4e, 0x22, 0x9d,
  3013. 0x0b, 0x95, 0x48, 0xdc, 0x0c, 0xd8, 0x19, 0x98,
  3014. 0xdd, 0xcd, 0xc5, 0xc8, 0x53, 0x3c, 0x79, 0x7f },
  3015. .secret_size = 32,
  3016. .b_public_size = 32,
  3017. .expected_ss_size = 32,
  3018. },
  3019. {
  3020. .secret = (u8[32]){ 1 },
  3021. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3022. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3023. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3024. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3025. .expected_ss = (u8[32]){ 0xb3, 0x2d, 0x13, 0x62, 0xc2, 0x48, 0xd6, 0x2f,
  3026. 0xe6, 0x26, 0x19, 0xcf, 0xf0, 0x4d, 0xd4, 0x3d,
  3027. 0xb7, 0x3f, 0xfc, 0x1b, 0x63, 0x08, 0xed, 0xe3,
  3028. 0x0b, 0x78, 0xd8, 0x73, 0x80, 0xf1, 0xe8, 0x34 },
  3029. .secret_size = 32,
  3030. .b_public_size = 32,
  3031. .expected_ss_size = 32,
  3032. },
  3033. {
  3034. .secret = (u8[32]){ 0xa5, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d,
  3035. 0x3b, 0x16, 0x15, 0x4b, 0x82, 0x46, 0x5e, 0xdd,
  3036. 0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc, 0x5a, 0x18,
  3037. 0x50, 0x6a, 0x22, 0x44, 0xba, 0x44, 0x9a, 0xc4 },
  3038. .b_public = (u8[32]){ 0xe6, 0xdb, 0x68, 0x67, 0x58, 0x30, 0x30, 0xdb,
  3039. 0x35, 0x94, 0xc1, 0xa4, 0x24, 0xb1, 0x5f, 0x7c,
  3040. 0x72, 0x66, 0x24, 0xec, 0x26, 0xb3, 0x35, 0x3b,
  3041. 0x10, 0xa9, 0x03, 0xa6, 0xd0, 0xab, 0x1c, 0x4c },
  3042. .expected_ss = (u8[32]){ 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90,
  3043. 0x8e, 0x94, 0xea, 0x4d, 0xf2, 0x8d, 0x08, 0x4f,
  3044. 0x32, 0xec, 0xcf, 0x03, 0x49, 0x1c, 0x71, 0xf7,
  3045. 0x54, 0xb4, 0x07, 0x55, 0x77, 0xa2, 0x85, 0x52 },
  3046. .secret_size = 32,
  3047. .b_public_size = 32,
  3048. .expected_ss_size = 32,
  3049. },
  3050. {
  3051. .secret = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0x0a, 0xff, 0xff, 0xff,
  3052. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3053. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3054. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3055. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3056. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3057. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3058. 0xff, 0xff, 0xff, 0xff, 0x0a, 0x00, 0xfb, 0x9f },
  3059. .expected_ss = (u8[32]){ 0x77, 0x52, 0xb6, 0x18, 0xc1, 0x2d, 0x48, 0xd2,
  3060. 0xc6, 0x93, 0x46, 0x83, 0x81, 0x7c, 0xc6, 0x57,
  3061. 0xf3, 0x31, 0x03, 0x19, 0x49, 0x48, 0x20, 0x05,
  3062. 0x42, 0x2b, 0x4e, 0xae, 0x8d, 0x1d, 0x43, 0x23 },
  3063. .secret_size = 32,
  3064. .b_public_size = 32,
  3065. .expected_ss_size = 32,
  3066. },
  3067. {
  3068. .secret = (u8[32]){ 0x8e, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3069. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3070. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3071. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3072. .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3073. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3074. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3075. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8e, 0x06 },
  3076. .expected_ss = (u8[32]){ 0x5a, 0xdf, 0xaa, 0x25, 0x86, 0x8e, 0x32, 0x3d,
  3077. 0xae, 0x49, 0x62, 0xc1, 0x01, 0x5c, 0xb3, 0x12,
  3078. 0xe1, 0xc5, 0xc7, 0x9e, 0x95, 0x3f, 0x03, 0x99,
  3079. 0xb0, 0xba, 0x16, 0x22, 0xf3, 0xb6, 0xf7, 0x0c },
  3080. .secret_size = 32,
  3081. .b_public_size = 32,
  3082. .expected_ss_size = 32,
  3083. },
  3084. /* wycheproof - normal case */
  3085. {
  3086. .secret = (u8[32]){ 0x48, 0x52, 0x83, 0x4d, 0x9d, 0x6b, 0x77, 0xda,
  3087. 0xde, 0xab, 0xaa, 0xf2, 0xe1, 0x1d, 0xca, 0x66,
  3088. 0xd1, 0x9f, 0xe7, 0x49, 0x93, 0xa7, 0xbe, 0xc3,
  3089. 0x6c, 0x6e, 0x16, 0xa0, 0x98, 0x3f, 0xea, 0xba },
  3090. .b_public = (u8[32]){ 0x9c, 0x64, 0x7d, 0x9a, 0xe5, 0x89, 0xb9, 0xf5,
  3091. 0x8f, 0xdc, 0x3c, 0xa4, 0x94, 0x7e, 0xfb, 0xc9,
  3092. 0x15, 0xc4, 0xb2, 0xe0, 0x8e, 0x74, 0x4a, 0x0e,
  3093. 0xdf, 0x46, 0x9d, 0xac, 0x59, 0xc8, 0xf8, 0x5a },
  3094. .expected_ss = (u8[32]){ 0x87, 0xb7, 0xf2, 0x12, 0xb6, 0x27, 0xf7, 0xa5,
  3095. 0x4c, 0xa5, 0xe0, 0xbc, 0xda, 0xdd, 0xd5, 0x38,
  3096. 0x9d, 0x9d, 0xe6, 0x15, 0x6c, 0xdb, 0xcf, 0x8e,
  3097. 0xbe, 0x14, 0xff, 0xbc, 0xfb, 0x43, 0x65, 0x51 },
  3098. .secret_size = 32,
  3099. .b_public_size = 32,
  3100. .expected_ss_size = 32,
  3101. },
  3102. /* wycheproof - public key on twist */
  3103. {
  3104. .secret = (u8[32]){ 0x58, 0x8c, 0x06, 0x1a, 0x50, 0x80, 0x4a, 0xc4,
  3105. 0x88, 0xad, 0x77, 0x4a, 0xc7, 0x16, 0xc3, 0xf5,
  3106. 0xba, 0x71, 0x4b, 0x27, 0x12, 0xe0, 0x48, 0x49,
  3107. 0x13, 0x79, 0xa5, 0x00, 0x21, 0x19, 0x98, 0xa8 },
  3108. .b_public = (u8[32]){ 0x63, 0xaa, 0x40, 0xc6, 0xe3, 0x83, 0x46, 0xc5,
  3109. 0xca, 0xf2, 0x3a, 0x6d, 0xf0, 0xa5, 0xe6, 0xc8,
  3110. 0x08, 0x89, 0xa0, 0x86, 0x47, 0xe5, 0x51, 0xb3,
  3111. 0x56, 0x34, 0x49, 0xbe, 0xfc, 0xfc, 0x97, 0x33 },
  3112. .expected_ss = (u8[32]){ 0xb1, 0xa7, 0x07, 0x51, 0x94, 0x95, 0xff, 0xff,
  3113. 0xb2, 0x98, 0xff, 0x94, 0x17, 0x16, 0xb0, 0x6d,
  3114. 0xfa, 0xb8, 0x7c, 0xf8, 0xd9, 0x11, 0x23, 0xfe,
  3115. 0x2b, 0xe9, 0xa2, 0x33, 0xdd, 0xa2, 0x22, 0x12 },
  3116. .secret_size = 32,
  3117. .b_public_size = 32,
  3118. .expected_ss_size = 32,
  3119. },
  3120. /* wycheproof - public key on twist */
  3121. {
  3122. .secret = (u8[32]){ 0xb0, 0x5b, 0xfd, 0x32, 0xe5, 0x53, 0x25, 0xd9,
  3123. 0xfd, 0x64, 0x8c, 0xb3, 0x02, 0x84, 0x80, 0x39,
  3124. 0x00, 0x0b, 0x39, 0x0e, 0x44, 0xd5, 0x21, 0xe5,
  3125. 0x8a, 0xab, 0x3b, 0x29, 0xa6, 0x96, 0x0b, 0xa8 },
  3126. .b_public = (u8[32]){ 0x0f, 0x83, 0xc3, 0x6f, 0xde, 0xd9, 0xd3, 0x2f,
  3127. 0xad, 0xf4, 0xef, 0xa3, 0xae, 0x93, 0xa9, 0x0b,
  3128. 0xb5, 0xcf, 0xa6, 0x68, 0x93, 0xbc, 0x41, 0x2c,
  3129. 0x43, 0xfa, 0x72, 0x87, 0xdb, 0xb9, 0x97, 0x79 },
  3130. .expected_ss = (u8[32]){ 0x67, 0xdd, 0x4a, 0x6e, 0x16, 0x55, 0x33, 0x53,
  3131. 0x4c, 0x0e, 0x3f, 0x17, 0x2e, 0x4a, 0xb8, 0x57,
  3132. 0x6b, 0xca, 0x92, 0x3a, 0x5f, 0x07, 0xb2, 0xc0,
  3133. 0x69, 0xb4, 0xc3, 0x10, 0xff, 0x2e, 0x93, 0x5b },
  3134. .secret_size = 32,
  3135. .b_public_size = 32,
  3136. .expected_ss_size = 32,
  3137. },
  3138. /* wycheproof - public key on twist */
  3139. {
  3140. .secret = (u8[32]){ 0x70, 0xe3, 0x4b, 0xcb, 0xe1, 0xf4, 0x7f, 0xbc,
  3141. 0x0f, 0xdd, 0xfd, 0x7c, 0x1e, 0x1a, 0xa5, 0x3d,
  3142. 0x57, 0xbf, 0xe0, 0xf6, 0x6d, 0x24, 0x30, 0x67,
  3143. 0xb4, 0x24, 0xbb, 0x62, 0x10, 0xbe, 0xd1, 0x9c },
  3144. .b_public = (u8[32]){ 0x0b, 0x82, 0x11, 0xa2, 0xb6, 0x04, 0x90, 0x97,
  3145. 0xf6, 0x87, 0x1c, 0x6c, 0x05, 0x2d, 0x3c, 0x5f,
  3146. 0xc1, 0xba, 0x17, 0xda, 0x9e, 0x32, 0xae, 0x45,
  3147. 0x84, 0x03, 0xb0, 0x5b, 0xb2, 0x83, 0x09, 0x2a },
  3148. .expected_ss = (u8[32]){ 0x4a, 0x06, 0x38, 0xcf, 0xaa, 0x9e, 0xf1, 0x93,
  3149. 0x3b, 0x47, 0xf8, 0x93, 0x92, 0x96, 0xa6, 0xb2,
  3150. 0x5b, 0xe5, 0x41, 0xef, 0x7f, 0x70, 0xe8, 0x44,
  3151. 0xc0, 0xbc, 0xc0, 0x0b, 0x13, 0x4d, 0xe6, 0x4a },
  3152. .secret_size = 32,
  3153. .b_public_size = 32,
  3154. .expected_ss_size = 32,
  3155. },
  3156. /* wycheproof - public key on twist */
  3157. {
  3158. .secret = (u8[32]){ 0x68, 0xc1, 0xf3, 0xa6, 0x53, 0xa4, 0xcd, 0xb1,
  3159. 0xd3, 0x7b, 0xba, 0x94, 0x73, 0x8f, 0x8b, 0x95,
  3160. 0x7a, 0x57, 0xbe, 0xb2, 0x4d, 0x64, 0x6e, 0x99,
  3161. 0x4d, 0xc2, 0x9a, 0x27, 0x6a, 0xad, 0x45, 0x8d },
  3162. .b_public = (u8[32]){ 0x34, 0x3a, 0xc2, 0x0a, 0x3b, 0x9c, 0x6a, 0x27,
  3163. 0xb1, 0x00, 0x81, 0x76, 0x50, 0x9a, 0xd3, 0x07,
  3164. 0x35, 0x85, 0x6e, 0xc1, 0xc8, 0xd8, 0xfc, 0xae,
  3165. 0x13, 0x91, 0x2d, 0x08, 0xd1, 0x52, 0xf4, 0x6c },
  3166. .expected_ss = (u8[32]){ 0x39, 0x94, 0x91, 0xfc, 0xe8, 0xdf, 0xab, 0x73,
  3167. 0xb4, 0xf9, 0xf6, 0x11, 0xde, 0x8e, 0xa0, 0xb2,
  3168. 0x7b, 0x28, 0xf8, 0x59, 0x94, 0x25, 0x0b, 0x0f,
  3169. 0x47, 0x5d, 0x58, 0x5d, 0x04, 0x2a, 0xc2, 0x07 },
  3170. .secret_size = 32,
  3171. .b_public_size = 32,
  3172. .expected_ss_size = 32,
  3173. },
  3174. /* wycheproof - public key on twist */
  3175. {
  3176. .secret = (u8[32]){ 0xd8, 0x77, 0xb2, 0x6d, 0x06, 0xdf, 0xf9, 0xd9,
  3177. 0xf7, 0xfd, 0x4c, 0x5b, 0x37, 0x69, 0xf8, 0xcd,
  3178. 0xd5, 0xb3, 0x05, 0x16, 0xa5, 0xab, 0x80, 0x6b,
  3179. 0xe3, 0x24, 0xff, 0x3e, 0xb6, 0x9e, 0xa0, 0xb2 },
  3180. .b_public = (u8[32]){ 0xfa, 0x69, 0x5f, 0xc7, 0xbe, 0x8d, 0x1b, 0xe5,
  3181. 0xbf, 0x70, 0x48, 0x98, 0xf3, 0x88, 0xc4, 0x52,
  3182. 0xba, 0xfd, 0xd3, 0xb8, 0xea, 0xe8, 0x05, 0xf8,
  3183. 0x68, 0x1a, 0x8d, 0x15, 0xc2, 0xd4, 0xe1, 0x42 },
  3184. .expected_ss = (u8[32]){ 0x2c, 0x4f, 0xe1, 0x1d, 0x49, 0x0a, 0x53, 0x86,
  3185. 0x17, 0x76, 0xb1, 0x3b, 0x43, 0x54, 0xab, 0xd4,
  3186. 0xcf, 0x5a, 0x97, 0x69, 0x9d, 0xb6, 0xe6, 0xc6,
  3187. 0x8c, 0x16, 0x26, 0xd0, 0x76, 0x62, 0xf7, 0x58 },
  3188. .secret_size = 32,
  3189. .b_public_size = 32,
  3190. .expected_ss_size = 32,
  3191. },
  3192. /* wycheproof - edge case on twist */
  3193. {
  3194. .secret = (u8[32]){ 0x38, 0xdd, 0xe9, 0xf3, 0xe7, 0xb7, 0x99, 0x04,
  3195. 0x5f, 0x9a, 0xc3, 0x79, 0x3d, 0x4a, 0x92, 0x77,
  3196. 0xda, 0xde, 0xad, 0xc4, 0x1b, 0xec, 0x02, 0x90,
  3197. 0xf8, 0x1f, 0x74, 0x4f, 0x73, 0x77, 0x5f, 0x84 },
  3198. .b_public = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3199. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3200. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3201. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3202. .expected_ss = (u8[32]){ 0x9a, 0x2c, 0xfe, 0x84, 0xff, 0x9c, 0x4a, 0x97,
  3203. 0x39, 0x62, 0x5c, 0xae, 0x4a, 0x3b, 0x82, 0xa9,
  3204. 0x06, 0x87, 0x7a, 0x44, 0x19, 0x46, 0xf8, 0xd7,
  3205. 0xb3, 0xd7, 0x95, 0xfe, 0x8f, 0x5d, 0x16, 0x39 },
  3206. .secret_size = 32,
  3207. .b_public_size = 32,
  3208. .expected_ss_size = 32,
  3209. },
  3210. /* wycheproof - edge case on twist */
  3211. {
  3212. .secret = (u8[32]){ 0x98, 0x57, 0xa9, 0x14, 0xe3, 0xc2, 0x90, 0x36,
  3213. 0xfd, 0x9a, 0x44, 0x2b, 0xa5, 0x26, 0xb5, 0xcd,
  3214. 0xcd, 0xf2, 0x82, 0x16, 0x15, 0x3e, 0x63, 0x6c,
  3215. 0x10, 0x67, 0x7a, 0xca, 0xb6, 0xbd, 0x6a, 0xa5 },
  3216. .b_public = (u8[32]){ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3217. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3218. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3219. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3220. .expected_ss = (u8[32]){ 0x4d, 0xa4, 0xe0, 0xaa, 0x07, 0x2c, 0x23, 0x2e,
  3221. 0xe2, 0xf0, 0xfa, 0x4e, 0x51, 0x9a, 0xe5, 0x0b,
  3222. 0x52, 0xc1, 0xed, 0xd0, 0x8a, 0x53, 0x4d, 0x4e,
  3223. 0xf3, 0x46, 0xc2, 0xe1, 0x06, 0xd2, 0x1d, 0x60 },
  3224. .secret_size = 32,
  3225. .b_public_size = 32,
  3226. .expected_ss_size = 32,
  3227. },
  3228. /* wycheproof - edge case on twist */
  3229. {
  3230. .secret = (u8[32]){ 0x48, 0xe2, 0x13, 0x0d, 0x72, 0x33, 0x05, 0xed,
  3231. 0x05, 0xe6, 0xe5, 0x89, 0x4d, 0x39, 0x8a, 0x5e,
  3232. 0x33, 0x36, 0x7a, 0x8c, 0x6a, 0xac, 0x8f, 0xcd,
  3233. 0xf0, 0xa8, 0x8e, 0x4b, 0x42, 0x82, 0x0d, 0xb7 },
  3234. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0x03, 0x00, 0x00, 0xf8, 0xff,
  3235. 0xff, 0x1f, 0x00, 0x00, 0xc0, 0xff, 0xff, 0xff,
  3236. 0x00, 0x00, 0x00, 0xfe, 0xff, 0xff, 0x07, 0x00,
  3237. 0x00, 0xf0, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00 },
  3238. .expected_ss = (u8[32]){ 0x9e, 0xd1, 0x0c, 0x53, 0x74, 0x7f, 0x64, 0x7f,
  3239. 0x82, 0xf4, 0x51, 0x25, 0xd3, 0xde, 0x15, 0xa1,
  3240. 0xe6, 0xb8, 0x24, 0x49, 0x6a, 0xb4, 0x04, 0x10,
  3241. 0xff, 0xcc, 0x3c, 0xfe, 0x95, 0x76, 0x0f, 0x3b },
  3242. .secret_size = 32,
  3243. .b_public_size = 32,
  3244. .expected_ss_size = 32,
  3245. },
  3246. /* wycheproof - edge case on twist */
  3247. {
  3248. .secret = (u8[32]){ 0x28, 0xf4, 0x10, 0x11, 0x69, 0x18, 0x51, 0xb3,
  3249. 0xa6, 0x2b, 0x64, 0x15, 0x53, 0xb3, 0x0d, 0x0d,
  3250. 0xfd, 0xdc, 0xb8, 0xff, 0xfc, 0xf5, 0x37, 0x00,
  3251. 0xa7, 0xbe, 0x2f, 0x6a, 0x87, 0x2e, 0x9f, 0xb0 },
  3252. .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0xfc, 0xff, 0xff, 0x07, 0x00,
  3253. 0x00, 0xe0, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00,
  3254. 0xff, 0xff, 0xff, 0x01, 0x00, 0x00, 0xf8, 0xff,
  3255. 0xff, 0x0f, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x7f },
  3256. .expected_ss = (u8[32]){ 0xcf, 0x72, 0xb4, 0xaa, 0x6a, 0xa1, 0xc9, 0xf8,
  3257. 0x94, 0xf4, 0x16, 0x5b, 0x86, 0x10, 0x9a, 0xa4,
  3258. 0x68, 0x51, 0x76, 0x48, 0xe1, 0xf0, 0xcc, 0x70,
  3259. 0xe1, 0xab, 0x08, 0x46, 0x01, 0x76, 0x50, 0x6b },
  3260. .secret_size = 32,
  3261. .b_public_size = 32,
  3262. .expected_ss_size = 32,
  3263. },
  3264. /* wycheproof - edge case on twist */
  3265. {
  3266. .secret = (u8[32]){ 0x18, 0xa9, 0x3b, 0x64, 0x99, 0xb9, 0xf6, 0xb3,
  3267. 0x22, 0x5c, 0xa0, 0x2f, 0xef, 0x41, 0x0e, 0x0a,
  3268. 0xde, 0xc2, 0x35, 0x32, 0x32, 0x1d, 0x2d, 0x8e,
  3269. 0xf1, 0xa6, 0xd6, 0x02, 0xa8, 0xc6, 0x5b, 0x83 },
  3270. .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
  3271. 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
  3272. 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
  3273. 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x7f },
  3274. .expected_ss = (u8[32]){ 0x5d, 0x50, 0xb6, 0x28, 0x36, 0xbb, 0x69, 0x57,
  3275. 0x94, 0x10, 0x38, 0x6c, 0xf7, 0xbb, 0x81, 0x1c,
  3276. 0x14, 0xbf, 0x85, 0xb1, 0xc7, 0xb1, 0x7e, 0x59,
  3277. 0x24, 0xc7, 0xff, 0xea, 0x91, 0xef, 0x9e, 0x12 },
  3278. .secret_size = 32,
  3279. .b_public_size = 32,
  3280. .expected_ss_size = 32,
  3281. },
  3282. /* wycheproof - edge case on twist */
  3283. {
  3284. .secret = (u8[32]){ 0xc0, 0x1d, 0x13, 0x05, 0xa1, 0x33, 0x8a, 0x1f,
  3285. 0xca, 0xc2, 0xba, 0x7e, 0x2e, 0x03, 0x2b, 0x42,
  3286. 0x7e, 0x0b, 0x04, 0x90, 0x31, 0x65, 0xac, 0xa9,
  3287. 0x57, 0xd8, 0xd0, 0x55, 0x3d, 0x87, 0x17, 0xb0 },
  3288. .b_public = (u8[32]){ 0xea, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3289. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3290. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3291. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3292. .expected_ss = (u8[32]){ 0x19, 0x23, 0x0e, 0xb1, 0x48, 0xd5, 0xd6, 0x7c,
  3293. 0x3c, 0x22, 0xab, 0x1d, 0xae, 0xff, 0x80, 0xa5,
  3294. 0x7e, 0xae, 0x42, 0x65, 0xce, 0x28, 0x72, 0x65,
  3295. 0x7b, 0x2c, 0x80, 0x99, 0xfc, 0x69, 0x8e, 0x50 },
  3296. .secret_size = 32,
  3297. .b_public_size = 32,
  3298. .expected_ss_size = 32,
  3299. },
  3300. /* wycheproof - edge case for public key */
  3301. {
  3302. .secret = (u8[32]){ 0x38, 0x6f, 0x7f, 0x16, 0xc5, 0x07, 0x31, 0xd6,
  3303. 0x4f, 0x82, 0xe6, 0xa1, 0x70, 0xb1, 0x42, 0xa4,
  3304. 0xe3, 0x4f, 0x31, 0xfd, 0x77, 0x68, 0xfc, 0xb8,
  3305. 0x90, 0x29, 0x25, 0xe7, 0xd1, 0xe2, 0x1a, 0xbe },
  3306. .b_public = (u8[32]){ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3307. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3308. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3309. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3310. .expected_ss = (u8[32]){ 0x0f, 0xca, 0xb5, 0xd8, 0x42, 0xa0, 0x78, 0xd7,
  3311. 0xa7, 0x1f, 0xc5, 0x9b, 0x57, 0xbf, 0xb4, 0xca,
  3312. 0x0b, 0xe6, 0x87, 0x3b, 0x49, 0xdc, 0xdb, 0x9f,
  3313. 0x44, 0xe1, 0x4a, 0xe8, 0xfb, 0xdf, 0xa5, 0x42 },
  3314. .secret_size = 32,
  3315. .b_public_size = 32,
  3316. .expected_ss_size = 32,
  3317. },
  3318. /* wycheproof - edge case for public key */
  3319. {
  3320. .secret = (u8[32]){ 0xe0, 0x23, 0xa2, 0x89, 0xbd, 0x5e, 0x90, 0xfa,
  3321. 0x28, 0x04, 0xdd, 0xc0, 0x19, 0xa0, 0x5e, 0xf3,
  3322. 0xe7, 0x9d, 0x43, 0x4b, 0xb6, 0xea, 0x2f, 0x52,
  3323. 0x2e, 0xcb, 0x64, 0x3a, 0x75, 0x29, 0x6e, 0x95 },
  3324. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
  3325. 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
  3326. 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
  3327. 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 },
  3328. .expected_ss = (u8[32]){ 0x54, 0xce, 0x8f, 0x22, 0x75, 0xc0, 0x77, 0xe3,
  3329. 0xb1, 0x30, 0x6a, 0x39, 0x39, 0xc5, 0xe0, 0x3e,
  3330. 0xef, 0x6b, 0xbb, 0x88, 0x06, 0x05, 0x44, 0x75,
  3331. 0x8d, 0x9f, 0xef, 0x59, 0xb0, 0xbc, 0x3e, 0x4f },
  3332. .secret_size = 32,
  3333. .b_public_size = 32,
  3334. .expected_ss_size = 32,
  3335. },
  3336. /* wycheproof - edge case for public key */
  3337. {
  3338. .secret = (u8[32]){ 0x68, 0xf0, 0x10, 0xd6, 0x2e, 0xe8, 0xd9, 0x26,
  3339. 0x05, 0x3a, 0x36, 0x1c, 0x3a, 0x75, 0xc6, 0xea,
  3340. 0x4e, 0xbd, 0xc8, 0x60, 0x6a, 0xb2, 0x85, 0x00,
  3341. 0x3a, 0x6f, 0x8f, 0x40, 0x76, 0xb0, 0x1e, 0x83 },
  3342. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3343. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3344. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3345. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03 },
  3346. .expected_ss = (u8[32]){ 0xf1, 0x36, 0x77, 0x5c, 0x5b, 0xeb, 0x0a, 0xf8,
  3347. 0x11, 0x0a, 0xf1, 0x0b, 0x20, 0x37, 0x23, 0x32,
  3348. 0x04, 0x3c, 0xab, 0x75, 0x24, 0x19, 0x67, 0x87,
  3349. 0x75, 0xa2, 0x23, 0xdf, 0x57, 0xc9, 0xd3, 0x0d },
  3350. .secret_size = 32,
  3351. .b_public_size = 32,
  3352. .expected_ss_size = 32,
  3353. },
  3354. /* wycheproof - edge case for public key */
  3355. {
  3356. .secret = (u8[32]){ 0x58, 0xeb, 0xcb, 0x35, 0xb0, 0xf8, 0x84, 0x5c,
  3357. 0xaf, 0x1e, 0xc6, 0x30, 0xf9, 0x65, 0x76, 0xb6,
  3358. 0x2c, 0x4b, 0x7b, 0x6c, 0x36, 0xb2, 0x9d, 0xeb,
  3359. 0x2c, 0xb0, 0x08, 0x46, 0x51, 0x75, 0x5c, 0x96 },
  3360. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xfb, 0xff,
  3361. 0xff, 0xdf, 0xff, 0xff, 0xdf, 0xff, 0xff, 0xff,
  3362. 0xfe, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xf7, 0xff,
  3363. 0xff, 0xf7, 0xff, 0xff, 0xbf, 0xff, 0xff, 0x3f },
  3364. .expected_ss = (u8[32]){ 0xbf, 0x9a, 0xff, 0xd0, 0x6b, 0x84, 0x40, 0x85,
  3365. 0x58, 0x64, 0x60, 0x96, 0x2e, 0xf2, 0x14, 0x6f,
  3366. 0xf3, 0xd4, 0x53, 0x3d, 0x94, 0x44, 0xaa, 0xb0,
  3367. 0x06, 0xeb, 0x88, 0xcc, 0x30, 0x54, 0x40, 0x7d },
  3368. .secret_size = 32,
  3369. .b_public_size = 32,
  3370. .expected_ss_size = 32,
  3371. },
  3372. /* wycheproof - edge case for public key */
  3373. {
  3374. .secret = (u8[32]){ 0x18, 0x8c, 0x4b, 0xc5, 0xb9, 0xc4, 0x4b, 0x38,
  3375. 0xbb, 0x65, 0x8b, 0x9b, 0x2a, 0xe8, 0x2d, 0x5b,
  3376. 0x01, 0x01, 0x5e, 0x09, 0x31, 0x84, 0xb1, 0x7c,
  3377. 0xb7, 0x86, 0x35, 0x03, 0xa7, 0x83, 0xe1, 0xbb },
  3378. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3379. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3380. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3381. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  3382. .expected_ss = (u8[32]){ 0xd4, 0x80, 0xde, 0x04, 0xf6, 0x99, 0xcb, 0x3b,
  3383. 0xe0, 0x68, 0x4a, 0x9c, 0xc2, 0xe3, 0x12, 0x81,
  3384. 0xea, 0x0b, 0xc5, 0xa9, 0xdc, 0xc1, 0x57, 0xd3,
  3385. 0xd2, 0x01, 0x58, 0xd4, 0x6c, 0xa5, 0x24, 0x6d },
  3386. .secret_size = 32,
  3387. .b_public_size = 32,
  3388. .expected_ss_size = 32,
  3389. },
  3390. /* wycheproof - edge case for public key */
  3391. {
  3392. .secret = (u8[32]){ 0xe0, 0x6c, 0x11, 0xbb, 0x2e, 0x13, 0xce, 0x3d,
  3393. 0xc7, 0x67, 0x3f, 0x67, 0xf5, 0x48, 0x22, 0x42,
  3394. 0x90, 0x94, 0x23, 0xa9, 0xae, 0x95, 0xee, 0x98,
  3395. 0x6a, 0x98, 0x8d, 0x98, 0xfa, 0xee, 0x23, 0xa2 },
  3396. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
  3397. 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
  3398. 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
  3399. 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f },
  3400. .expected_ss = (u8[32]){ 0x4c, 0x44, 0x01, 0xcc, 0xe6, 0xb5, 0x1e, 0x4c,
  3401. 0xb1, 0x8f, 0x27, 0x90, 0x24, 0x6c, 0x9b, 0xf9,
  3402. 0x14, 0xdb, 0x66, 0x77, 0x50, 0xa1, 0xcb, 0x89,
  3403. 0x06, 0x90, 0x92, 0xaf, 0x07, 0x29, 0x22, 0x76 },
  3404. .secret_size = 32,
  3405. .b_public_size = 32,
  3406. .expected_ss_size = 32,
  3407. },
  3408. /* wycheproof - edge case for public key */
  3409. {
  3410. .secret = (u8[32]){ 0xc0, 0x65, 0x8c, 0x46, 0xdd, 0xe1, 0x81, 0x29,
  3411. 0x29, 0x38, 0x77, 0x53, 0x5b, 0x11, 0x62, 0xb6,
  3412. 0xf9, 0xf5, 0x41, 0x4a, 0x23, 0xcf, 0x4d, 0x2c,
  3413. 0xbc, 0x14, 0x0a, 0x4d, 0x99, 0xda, 0x2b, 0x8f },
  3414. .b_public = (u8[32]){ 0xeb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3415. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3416. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3417. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3418. .expected_ss = (u8[32]){ 0x57, 0x8b, 0xa8, 0xcc, 0x2d, 0xbd, 0xc5, 0x75,
  3419. 0xaf, 0xcf, 0x9d, 0xf2, 0xb3, 0xee, 0x61, 0x89,
  3420. 0xf5, 0x33, 0x7d, 0x68, 0x54, 0xc7, 0x9b, 0x4c,
  3421. 0xe1, 0x65, 0xea, 0x12, 0x29, 0x3b, 0x3a, 0x0f },
  3422. .secret_size = 32,
  3423. .b_public_size = 32,
  3424. .expected_ss_size = 32,
  3425. },
  3426. /* wycheproof - public key >= p */
  3427. {
  3428. .secret = (u8[32]){ 0xf0, 0x1e, 0x48, 0xda, 0xfa, 0xc9, 0xd7, 0xbc,
  3429. 0xf5, 0x89, 0xcb, 0xc3, 0x82, 0xc8, 0x78, 0xd1,
  3430. 0x8b, 0xda, 0x35, 0x50, 0x58, 0x9f, 0xfb, 0x5d,
  3431. 0x50, 0xb5, 0x23, 0xbe, 0xbe, 0x32, 0x9d, 0xae },
  3432. .b_public = (u8[32]){ 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3433. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3434. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3435. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3436. .expected_ss = (u8[32]){ 0xbd, 0x36, 0xa0, 0x79, 0x0e, 0xb8, 0x83, 0x09,
  3437. 0x8c, 0x98, 0x8b, 0x21, 0x78, 0x67, 0x73, 0xde,
  3438. 0x0b, 0x3a, 0x4d, 0xf1, 0x62, 0x28, 0x2c, 0xf1,
  3439. 0x10, 0xde, 0x18, 0xdd, 0x48, 0x4c, 0xe7, 0x4b },
  3440. .secret_size = 32,
  3441. .b_public_size = 32,
  3442. .expected_ss_size = 32,
  3443. },
  3444. /* wycheproof - public key >= p */
  3445. {
  3446. .secret = (u8[32]){ 0x28, 0x87, 0x96, 0xbc, 0x5a, 0xff, 0x4b, 0x81,
  3447. 0xa3, 0x75, 0x01, 0x75, 0x7b, 0xc0, 0x75, 0x3a,
  3448. 0x3c, 0x21, 0x96, 0x47, 0x90, 0xd3, 0x86, 0x99,
  3449. 0x30, 0x8d, 0xeb, 0xc1, 0x7a, 0x6e, 0xaf, 0x8d },
  3450. .b_public = (u8[32]){ 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3451. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3452. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3453. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3454. .expected_ss = (u8[32]){ 0xb4, 0xe0, 0xdd, 0x76, 0xda, 0x7b, 0x07, 0x17,
  3455. 0x28, 0xb6, 0x1f, 0x85, 0x67, 0x71, 0xaa, 0x35,
  3456. 0x6e, 0x57, 0xed, 0xa7, 0x8a, 0x5b, 0x16, 0x55,
  3457. 0xcc, 0x38, 0x20, 0xfb, 0x5f, 0x85, 0x4c, 0x5c },
  3458. .secret_size = 32,
  3459. .b_public_size = 32,
  3460. .expected_ss_size = 32,
  3461. },
  3462. /* wycheproof - public key >= p */
  3463. {
  3464. .secret = (u8[32]){ 0x98, 0xdf, 0x84, 0x5f, 0x66, 0x51, 0xbf, 0x11,
  3465. 0x38, 0x22, 0x1f, 0x11, 0x90, 0x41, 0xf7, 0x2b,
  3466. 0x6d, 0xbc, 0x3c, 0x4a, 0xce, 0x71, 0x43, 0xd9,
  3467. 0x9f, 0xd5, 0x5a, 0xd8, 0x67, 0x48, 0x0d, 0xa8 },
  3468. .b_public = (u8[32]){ 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3469. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3470. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3471. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3472. .expected_ss = (u8[32]){ 0x6f, 0xdf, 0x6c, 0x37, 0x61, 0x1d, 0xbd, 0x53,
  3473. 0x04, 0xdc, 0x0f, 0x2e, 0xb7, 0xc9, 0x51, 0x7e,
  3474. 0xb3, 0xc5, 0x0e, 0x12, 0xfd, 0x05, 0x0a, 0xc6,
  3475. 0xde, 0xc2, 0x70, 0x71, 0xd4, 0xbf, 0xc0, 0x34 },
  3476. .secret_size = 32,
  3477. .b_public_size = 32,
  3478. .expected_ss_size = 32,
  3479. },
  3480. /* wycheproof - public key >= p */
  3481. {
  3482. .secret = (u8[32]){ 0xf0, 0x94, 0x98, 0xe4, 0x6f, 0x02, 0xf8, 0x78,
  3483. 0x82, 0x9e, 0x78, 0xb8, 0x03, 0xd3, 0x16, 0xa2,
  3484. 0xed, 0x69, 0x5d, 0x04, 0x98, 0xa0, 0x8a, 0xbd,
  3485. 0xf8, 0x27, 0x69, 0x30, 0xe2, 0x4e, 0xdc, 0xb0 },
  3486. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3487. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3488. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3489. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3490. .expected_ss = (u8[32]){ 0x4c, 0x8f, 0xc4, 0xb1, 0xc6, 0xab, 0x88, 0xfb,
  3491. 0x21, 0xf1, 0x8f, 0x6d, 0x4c, 0x81, 0x02, 0x40,
  3492. 0xd4, 0xe9, 0x46, 0x51, 0xba, 0x44, 0xf7, 0xa2,
  3493. 0xc8, 0x63, 0xce, 0xc7, 0xdc, 0x56, 0x60, 0x2d },
  3494. .secret_size = 32,
  3495. .b_public_size = 32,
  3496. .expected_ss_size = 32,
  3497. },
  3498. /* wycheproof - public key >= p */
  3499. {
  3500. .secret = (u8[32]){ 0x18, 0x13, 0xc1, 0x0a, 0x5c, 0x7f, 0x21, 0xf9,
  3501. 0x6e, 0x17, 0xf2, 0x88, 0xc0, 0xcc, 0x37, 0x60,
  3502. 0x7c, 0x04, 0xc5, 0xf5, 0xae, 0xa2, 0xdb, 0x13,
  3503. 0x4f, 0x9e, 0x2f, 0xfc, 0x66, 0xbd, 0x9d, 0xb8 },
  3504. .b_public = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3505. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3506. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3507. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
  3508. .expected_ss = (u8[32]){ 0x1c, 0xd0, 0xb2, 0x82, 0x67, 0xdc, 0x54, 0x1c,
  3509. 0x64, 0x2d, 0x6d, 0x7d, 0xca, 0x44, 0xa8, 0xb3,
  3510. 0x8a, 0x63, 0x73, 0x6e, 0xef, 0x5c, 0x4e, 0x65,
  3511. 0x01, 0xff, 0xbb, 0xb1, 0x78, 0x0c, 0x03, 0x3c },
  3512. .secret_size = 32,
  3513. .b_public_size = 32,
  3514. .expected_ss_size = 32,
  3515. },
  3516. /* wycheproof - public key >= p */
  3517. {
  3518. .secret = (u8[32]){ 0x78, 0x57, 0xfb, 0x80, 0x86, 0x53, 0x64, 0x5a,
  3519. 0x0b, 0xeb, 0x13, 0x8a, 0x64, 0xf5, 0xf4, 0xd7,
  3520. 0x33, 0xa4, 0x5e, 0xa8, 0x4c, 0x3c, 0xda, 0x11,
  3521. 0xa9, 0xc0, 0x6f, 0x7e, 0x71, 0x39, 0x14, 0x9e },
  3522. .b_public = (u8[32]){ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3523. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3524. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3525. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
  3526. .expected_ss = (u8[32]){ 0x87, 0x55, 0xbe, 0x01, 0xc6, 0x0a, 0x7e, 0x82,
  3527. 0x5c, 0xff, 0x3e, 0x0e, 0x78, 0xcb, 0x3a, 0xa4,
  3528. 0x33, 0x38, 0x61, 0x51, 0x6a, 0xa5, 0x9b, 0x1c,
  3529. 0x51, 0xa8, 0xb2, 0xa5, 0x43, 0xdf, 0xa8, 0x22 },
  3530. .secret_size = 32,
  3531. .b_public_size = 32,
  3532. .expected_ss_size = 32,
  3533. },
  3534. /* wycheproof - public key >= p */
  3535. {
  3536. .secret = (u8[32]){ 0xe0, 0x3a, 0xa8, 0x42, 0xe2, 0xab, 0xc5, 0x6e,
  3537. 0x81, 0xe8, 0x7b, 0x8b, 0x9f, 0x41, 0x7b, 0x2a,
  3538. 0x1e, 0x59, 0x13, 0xc7, 0x23, 0xee, 0xd2, 0x8d,
  3539. 0x75, 0x2f, 0x8d, 0x47, 0xa5, 0x9f, 0x49, 0x8f },
  3540. .b_public = (u8[32]){ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3541. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3542. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3543. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
  3544. .expected_ss = (u8[32]){ 0x54, 0xc9, 0xa1, 0xed, 0x95, 0xe5, 0x46, 0xd2,
  3545. 0x78, 0x22, 0xa3, 0x60, 0x93, 0x1d, 0xda, 0x60,
  3546. 0xa1, 0xdf, 0x04, 0x9d, 0xa6, 0xf9, 0x04, 0x25,
  3547. 0x3c, 0x06, 0x12, 0xbb, 0xdc, 0x08, 0x74, 0x76 },
  3548. .secret_size = 32,
  3549. .b_public_size = 32,
  3550. .expected_ss_size = 32,
  3551. },
  3552. /* wycheproof - public key >= p */
  3553. {
  3554. .secret = (u8[32]){ 0xf8, 0xf7, 0x07, 0xb7, 0x99, 0x9b, 0x18, 0xcb,
  3555. 0x0d, 0x6b, 0x96, 0x12, 0x4f, 0x20, 0x45, 0x97,
  3556. 0x2c, 0xa2, 0x74, 0xbf, 0xc1, 0x54, 0xad, 0x0c,
  3557. 0x87, 0x03, 0x8c, 0x24, 0xc6, 0xd0, 0xd4, 0xb2 },
  3558. .b_public = (u8[32]){ 0xda, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3559. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3560. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3561. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3562. .expected_ss = (u8[32]){ 0xcc, 0x1f, 0x40, 0xd7, 0x43, 0xcd, 0xc2, 0x23,
  3563. 0x0e, 0x10, 0x43, 0xda, 0xba, 0x8b, 0x75, 0xe8,
  3564. 0x10, 0xf1, 0xfb, 0xab, 0x7f, 0x25, 0x52, 0x69,
  3565. 0xbd, 0x9e, 0xbb, 0x29, 0xe6, 0xbf, 0x49, 0x4f },
  3566. .secret_size = 32,
  3567. .b_public_size = 32,
  3568. .expected_ss_size = 32,
  3569. },
  3570. /* wycheproof - public key >= p */
  3571. {
  3572. .secret = (u8[32]){ 0xa0, 0x34, 0xf6, 0x84, 0xfa, 0x63, 0x1e, 0x1a,
  3573. 0x34, 0x81, 0x18, 0xc1, 0xce, 0x4c, 0x98, 0x23,
  3574. 0x1f, 0x2d, 0x9e, 0xec, 0x9b, 0xa5, 0x36, 0x5b,
  3575. 0x4a, 0x05, 0xd6, 0x9a, 0x78, 0x5b, 0x07, 0x96 },
  3576. .b_public = (u8[32]){ 0xdb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3577. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3578. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3579. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3580. .expected_ss = (u8[32]){ 0x54, 0x99, 0x8e, 0xe4, 0x3a, 0x5b, 0x00, 0x7b,
  3581. 0xf4, 0x99, 0xf0, 0x78, 0xe7, 0x36, 0x52, 0x44,
  3582. 0x00, 0xa8, 0xb5, 0xc7, 0xe9, 0xb9, 0xb4, 0x37,
  3583. 0x71, 0x74, 0x8c, 0x7c, 0xdf, 0x88, 0x04, 0x12 },
  3584. .secret_size = 32,
  3585. .b_public_size = 32,
  3586. .expected_ss_size = 32,
  3587. },
  3588. /* wycheproof - public key >= p */
  3589. {
  3590. .secret = (u8[32]){ 0x30, 0xb6, 0xc6, 0xa0, 0xf2, 0xff, 0xa6, 0x80,
  3591. 0x76, 0x8f, 0x99, 0x2b, 0xa8, 0x9e, 0x15, 0x2d,
  3592. 0x5b, 0xc9, 0x89, 0x3d, 0x38, 0xc9, 0x11, 0x9b,
  3593. 0xe4, 0xf7, 0x67, 0xbf, 0xab, 0x6e, 0x0c, 0xa5 },
  3594. .b_public = (u8[32]){ 0xdc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3595. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3596. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3597. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3598. .expected_ss = (u8[32]){ 0xea, 0xd9, 0xb3, 0x8e, 0xfd, 0xd7, 0x23, 0x63,
  3599. 0x79, 0x34, 0xe5, 0x5a, 0xb7, 0x17, 0xa7, 0xae,
  3600. 0x09, 0xeb, 0x86, 0xa2, 0x1d, 0xc3, 0x6a, 0x3f,
  3601. 0xee, 0xb8, 0x8b, 0x75, 0x9e, 0x39, 0x1e, 0x09 },
  3602. .secret_size = 32,
  3603. .b_public_size = 32,
  3604. .expected_ss_size = 32,
  3605. },
  3606. /* wycheproof - public key >= p */
  3607. {
  3608. .secret = (u8[32]){ 0x90, 0x1b, 0x9d, 0xcf, 0x88, 0x1e, 0x01, 0xe0,
  3609. 0x27, 0x57, 0x50, 0x35, 0xd4, 0x0b, 0x43, 0xbd,
  3610. 0xc1, 0xc5, 0x24, 0x2e, 0x03, 0x08, 0x47, 0x49,
  3611. 0x5b, 0x0c, 0x72, 0x86, 0x46, 0x9b, 0x65, 0x91 },
  3612. .b_public = (u8[32]){ 0xea, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3613. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3614. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3615. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3616. .expected_ss = (u8[32]){ 0x60, 0x2f, 0xf4, 0x07, 0x89, 0xb5, 0x4b, 0x41,
  3617. 0x80, 0x59, 0x15, 0xfe, 0x2a, 0x62, 0x21, 0xf0,
  3618. 0x7a, 0x50, 0xff, 0xc2, 0xc3, 0xfc, 0x94, 0xcf,
  3619. 0x61, 0xf1, 0x3d, 0x79, 0x04, 0xe8, 0x8e, 0x0e },
  3620. .secret_size = 32,
  3621. .b_public_size = 32,
  3622. .expected_ss_size = 32,
  3623. },
  3624. /* wycheproof - public key >= p */
  3625. {
  3626. .secret = (u8[32]){ 0x80, 0x46, 0x67, 0x7c, 0x28, 0xfd, 0x82, 0xc9,
  3627. 0xa1, 0xbd, 0xb7, 0x1a, 0x1a, 0x1a, 0x34, 0xfa,
  3628. 0xba, 0x12, 0x25, 0xe2, 0x50, 0x7f, 0xe3, 0xf5,
  3629. 0x4d, 0x10, 0xbd, 0x5b, 0x0d, 0x86, 0x5f, 0x8e },
  3630. .b_public = (u8[32]){ 0xeb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3631. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3632. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3633. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3634. .expected_ss = (u8[32]){ 0xe0, 0x0a, 0xe8, 0xb1, 0x43, 0x47, 0x12, 0x47,
  3635. 0xba, 0x24, 0xf1, 0x2c, 0x88, 0x55, 0x36, 0xc3,
  3636. 0xcb, 0x98, 0x1b, 0x58, 0xe1, 0xe5, 0x6b, 0x2b,
  3637. 0xaf, 0x35, 0xc1, 0x2a, 0xe1, 0xf7, 0x9c, 0x26 },
  3638. .secret_size = 32,
  3639. .b_public_size = 32,
  3640. .expected_ss_size = 32,
  3641. },
  3642. /* wycheproof - public key >= p */
  3643. {
  3644. .secret = (u8[32]){ 0x60, 0x2f, 0x7e, 0x2f, 0x68, 0xa8, 0x46, 0xb8,
  3645. 0x2c, 0xc2, 0x69, 0xb1, 0xd4, 0x8e, 0x93, 0x98,
  3646. 0x86, 0xae, 0x54, 0xfd, 0x63, 0x6c, 0x1f, 0xe0,
  3647. 0x74, 0xd7, 0x10, 0x12, 0x7d, 0x47, 0x24, 0x91 },
  3648. .b_public = (u8[32]){ 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3649. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3650. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3651. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3652. .expected_ss = (u8[32]){ 0x98, 0xcb, 0x9b, 0x50, 0xdd, 0x3f, 0xc2, 0xb0,
  3653. 0xd4, 0xf2, 0xd2, 0xbf, 0x7c, 0x5c, 0xfd, 0xd1,
  3654. 0x0c, 0x8f, 0xcd, 0x31, 0xfc, 0x40, 0xaf, 0x1a,
  3655. 0xd4, 0x4f, 0x47, 0xc1, 0x31, 0x37, 0x63, 0x62 },
  3656. .secret_size = 32,
  3657. .b_public_size = 32,
  3658. .expected_ss_size = 32,
  3659. },
  3660. /* wycheproof - public key >= p */
  3661. {
  3662. .secret = (u8[32]){ 0x60, 0x88, 0x7b, 0x3d, 0xc7, 0x24, 0x43, 0x02,
  3663. 0x6e, 0xbe, 0xdb, 0xbb, 0xb7, 0x06, 0x65, 0xf4,
  3664. 0x2b, 0x87, 0xad, 0xd1, 0x44, 0x0e, 0x77, 0x68,
  3665. 0xfb, 0xd7, 0xe8, 0xe2, 0xce, 0x5f, 0x63, 0x9d },
  3666. .b_public = (u8[32]){ 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3667. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3668. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3669. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3670. .expected_ss = (u8[32]){ 0x38, 0xd6, 0x30, 0x4c, 0x4a, 0x7e, 0x6d, 0x9f,
  3671. 0x79, 0x59, 0x33, 0x4f, 0xb5, 0x24, 0x5b, 0xd2,
  3672. 0xc7, 0x54, 0x52, 0x5d, 0x4c, 0x91, 0xdb, 0x95,
  3673. 0x02, 0x06, 0x92, 0x62, 0x34, 0xc1, 0xf6, 0x33 },
  3674. .secret_size = 32,
  3675. .b_public_size = 32,
  3676. .expected_ss_size = 32,
  3677. },
  3678. /* wycheproof - public key >= p */
  3679. {
  3680. .secret = (u8[32]){ 0x78, 0xd3, 0x1d, 0xfa, 0x85, 0x44, 0x97, 0xd7,
  3681. 0x2d, 0x8d, 0xef, 0x8a, 0x1b, 0x7f, 0xb0, 0x06,
  3682. 0xce, 0xc2, 0xd8, 0xc4, 0x92, 0x46, 0x47, 0xc9,
  3683. 0x38, 0x14, 0xae, 0x56, 0xfa, 0xed, 0xa4, 0x95 },
  3684. .b_public = (u8[32]){ 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3685. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3686. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3687. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3688. .expected_ss = (u8[32]){ 0x78, 0x6c, 0xd5, 0x49, 0x96, 0xf0, 0x14, 0xa5,
  3689. 0xa0, 0x31, 0xec, 0x14, 0xdb, 0x81, 0x2e, 0xd0,
  3690. 0x83, 0x55, 0x06, 0x1f, 0xdb, 0x5d, 0xe6, 0x80,
  3691. 0xa8, 0x00, 0xac, 0x52, 0x1f, 0x31, 0x8e, 0x23 },
  3692. .secret_size = 32,
  3693. .b_public_size = 32,
  3694. .expected_ss_size = 32,
  3695. },
  3696. /* wycheproof - public key >= p */
  3697. {
  3698. .secret = (u8[32]){ 0xc0, 0x4c, 0x5b, 0xae, 0xfa, 0x83, 0x02, 0xdd,
  3699. 0xde, 0xd6, 0xa4, 0xbb, 0x95, 0x77, 0x61, 0xb4,
  3700. 0xeb, 0x97, 0xae, 0xfa, 0x4f, 0xc3, 0xb8, 0x04,
  3701. 0x30, 0x85, 0xf9, 0x6a, 0x56, 0x59, 0xb3, 0xa5 },
  3702. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3703. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3704. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3705. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3706. .expected_ss = (u8[32]){ 0x29, 0xae, 0x8b, 0xc7, 0x3e, 0x9b, 0x10, 0xa0,
  3707. 0x8b, 0x4f, 0x68, 0x1c, 0x43, 0xc3, 0xe0, 0xac,
  3708. 0x1a, 0x17, 0x1d, 0x31, 0xb3, 0x8f, 0x1a, 0x48,
  3709. 0xef, 0xba, 0x29, 0xae, 0x63, 0x9e, 0xa1, 0x34 },
  3710. .secret_size = 32,
  3711. .b_public_size = 32,
  3712. .expected_ss_size = 32,
  3713. },
  3714. /* wycheproof - RFC 7748 */
  3715. {
  3716. .secret = (u8[32]){ 0xa0, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d,
  3717. 0x3b, 0x16, 0x15, 0x4b, 0x82, 0x46, 0x5e, 0xdd,
  3718. 0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc, 0x5a, 0x18,
  3719. 0x50, 0x6a, 0x22, 0x44, 0xba, 0x44, 0x9a, 0x44 },
  3720. .b_public = (u8[32]){ 0xe6, 0xdb, 0x68, 0x67, 0x58, 0x30, 0x30, 0xdb,
  3721. 0x35, 0x94, 0xc1, 0xa4, 0x24, 0xb1, 0x5f, 0x7c,
  3722. 0x72, 0x66, 0x24, 0xec, 0x26, 0xb3, 0x35, 0x3b,
  3723. 0x10, 0xa9, 0x03, 0xa6, 0xd0, 0xab, 0x1c, 0x4c },
  3724. .expected_ss = (u8[32]){ 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90,
  3725. 0x8e, 0x94, 0xea, 0x4d, 0xf2, 0x8d, 0x08, 0x4f,
  3726. 0x32, 0xec, 0xcf, 0x03, 0x49, 0x1c, 0x71, 0xf7,
  3727. 0x54, 0xb4, 0x07, 0x55, 0x77, 0xa2, 0x85, 0x52 },
  3728. .secret_size = 32,
  3729. .b_public_size = 32,
  3730. .expected_ss_size = 32,
  3731. },
  3732. /* wycheproof - RFC 7748 */
  3733. {
  3734. .secret = (u8[32]){ 0x48, 0x66, 0xe9, 0xd4, 0xd1, 0xb4, 0x67, 0x3c,
  3735. 0x5a, 0xd2, 0x26, 0x91, 0x95, 0x7d, 0x6a, 0xf5,
  3736. 0xc1, 0x1b, 0x64, 0x21, 0xe0, 0xea, 0x01, 0xd4,
  3737. 0x2c, 0xa4, 0x16, 0x9e, 0x79, 0x18, 0xba, 0x4d },
  3738. .b_public = (u8[32]){ 0xe5, 0x21, 0x0f, 0x12, 0x78, 0x68, 0x11, 0xd3,
  3739. 0xf4, 0xb7, 0x95, 0x9d, 0x05, 0x38, 0xae, 0x2c,
  3740. 0x31, 0xdb, 0xe7, 0x10, 0x6f, 0xc0, 0x3c, 0x3e,
  3741. 0xfc, 0x4c, 0xd5, 0x49, 0xc7, 0x15, 0xa4, 0x13 },
  3742. .expected_ss = (u8[32]){ 0x95, 0xcb, 0xde, 0x94, 0x76, 0xe8, 0x90, 0x7d,
  3743. 0x7a, 0xad, 0xe4, 0x5c, 0xb4, 0xb8, 0x73, 0xf8,
  3744. 0x8b, 0x59, 0x5a, 0x68, 0x79, 0x9f, 0xa1, 0x52,
  3745. 0xe6, 0xf8, 0xf7, 0x64, 0x7a, 0xac, 0x79, 0x57 },
  3746. .secret_size = 32,
  3747. .b_public_size = 32,
  3748. .expected_ss_size = 32,
  3749. },
  3750. /* wycheproof - edge case for shared secret */
  3751. {
  3752. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3753. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3754. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3755. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3756. .b_public = (u8[32]){ 0x0a, 0xb4, 0xe7, 0x63, 0x80, 0xd8, 0x4d, 0xde,
  3757. 0x4f, 0x68, 0x33, 0xc5, 0x8f, 0x2a, 0x9f, 0xb8,
  3758. 0xf8, 0x3b, 0xb0, 0x16, 0x9b, 0x17, 0x2b, 0xe4,
  3759. 0xb6, 0xe0, 0x59, 0x28, 0x87, 0x74, 0x1a, 0x36 },
  3760. .expected_ss = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3761. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3762. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3763. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3764. .secret_size = 32,
  3765. .b_public_size = 32,
  3766. .expected_ss_size = 32,
  3767. },
  3768. /* wycheproof - edge case for shared secret */
  3769. {
  3770. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3771. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3772. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3773. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3774. .b_public = (u8[32]){ 0x89, 0xe1, 0x0d, 0x57, 0x01, 0xb4, 0x33, 0x7d,
  3775. 0x2d, 0x03, 0x21, 0x81, 0x53, 0x8b, 0x10, 0x64,
  3776. 0xbd, 0x40, 0x84, 0x40, 0x1c, 0xec, 0xa1, 0xfd,
  3777. 0x12, 0x66, 0x3a, 0x19, 0x59, 0x38, 0x80, 0x00 },
  3778. .expected_ss = (u8[32]){ 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3779. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3780. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3781. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3782. .secret_size = 32,
  3783. .b_public_size = 32,
  3784. .expected_ss_size = 32,
  3785. },
  3786. /* wycheproof - edge case for shared secret */
  3787. {
  3788. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3789. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3790. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3791. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3792. .b_public = (u8[32]){ 0x2b, 0x55, 0xd3, 0xaa, 0x4a, 0x8f, 0x80, 0xc8,
  3793. 0xc0, 0xb2, 0xae, 0x5f, 0x93, 0x3e, 0x85, 0xaf,
  3794. 0x49, 0xbe, 0xac, 0x36, 0xc2, 0xfa, 0x73, 0x94,
  3795. 0xba, 0xb7, 0x6c, 0x89, 0x33, 0xf8, 0xf8, 0x1d },
  3796. .expected_ss = (u8[32]){ 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3797. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3798. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3799. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3800. .secret_size = 32,
  3801. .b_public_size = 32,
  3802. .expected_ss_size = 32,
  3803. },
  3804. /* wycheproof - edge case for shared secret */
  3805. {
  3806. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3807. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3808. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3809. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3810. .b_public = (u8[32]){ 0x63, 0xe5, 0xb1, 0xfe, 0x96, 0x01, 0xfe, 0x84,
  3811. 0x38, 0x5d, 0x88, 0x66, 0xb0, 0x42, 0x12, 0x62,
  3812. 0xf7, 0x8f, 0xbf, 0xa5, 0xaf, 0xf9, 0x58, 0x5e,
  3813. 0x62, 0x66, 0x79, 0xb1, 0x85, 0x47, 0xd9, 0x59 },
  3814. .expected_ss = (u8[32]){ 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3815. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3816. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3817. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  3818. .secret_size = 32,
  3819. .b_public_size = 32,
  3820. .expected_ss_size = 32,
  3821. },
  3822. /* wycheproof - edge case for shared secret */
  3823. {
  3824. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3825. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3826. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3827. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3828. .b_public = (u8[32]){ 0xe4, 0x28, 0xf3, 0xda, 0xc1, 0x78, 0x09, 0xf8,
  3829. 0x27, 0xa5, 0x22, 0xce, 0x32, 0x35, 0x50, 0x58,
  3830. 0xd0, 0x73, 0x69, 0x36, 0x4a, 0xa7, 0x89, 0x02,
  3831. 0xee, 0x10, 0x13, 0x9b, 0x9f, 0x9d, 0xd6, 0x53 },
  3832. .expected_ss = (u8[32]){ 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3833. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3834. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3835. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  3836. .secret_size = 32,
  3837. .b_public_size = 32,
  3838. .expected_ss_size = 32,
  3839. },
  3840. /* wycheproof - edge case for shared secret */
  3841. {
  3842. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3843. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3844. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3845. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3846. .b_public = (u8[32]){ 0xb3, 0xb5, 0x0e, 0x3e, 0xd3, 0xa4, 0x07, 0xb9,
  3847. 0x5d, 0xe9, 0x42, 0xef, 0x74, 0x57, 0x5b, 0x5a,
  3848. 0xb8, 0xa1, 0x0c, 0x09, 0xee, 0x10, 0x35, 0x44,
  3849. 0xd6, 0x0b, 0xdf, 0xed, 0x81, 0x38, 0xab, 0x2b },
  3850. .expected_ss = (u8[32]){ 0xf9, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3851. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3852. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3853. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  3854. .secret_size = 32,
  3855. .b_public_size = 32,
  3856. .expected_ss_size = 32,
  3857. },
  3858. /* wycheproof - edge case for shared secret */
  3859. {
  3860. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3861. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3862. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3863. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3864. .b_public = (u8[32]){ 0x21, 0x3f, 0xff, 0xe9, 0x3d, 0x5e, 0xa8, 0xcd,
  3865. 0x24, 0x2e, 0x46, 0x28, 0x44, 0x02, 0x99, 0x22,
  3866. 0xc4, 0x3c, 0x77, 0xc9, 0xe3, 0xe4, 0x2f, 0x56,
  3867. 0x2f, 0x48, 0x5d, 0x24, 0xc5, 0x01, 0xa2, 0x0b },
  3868. .expected_ss = (u8[32]){ 0xf3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3869. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3870. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3871. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  3872. .secret_size = 32,
  3873. .b_public_size = 32,
  3874. .expected_ss_size = 32,
  3875. },
  3876. /* wycheproof - edge case for shared secret */
  3877. {
  3878. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3879. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3880. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3881. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3882. .b_public = (u8[32]){ 0x91, 0xb2, 0x32, 0xa1, 0x78, 0xb3, 0xcd, 0x53,
  3883. 0x09, 0x32, 0x44, 0x1e, 0x61, 0x39, 0x41, 0x8f,
  3884. 0x72, 0x17, 0x22, 0x92, 0xf1, 0xda, 0x4c, 0x18,
  3885. 0x34, 0xfc, 0x5e, 0xbf, 0xef, 0xb5, 0x1e, 0x3f },
  3886. .expected_ss = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3887. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3888. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3889. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03 },
  3890. .secret_size = 32,
  3891. .b_public_size = 32,
  3892. .expected_ss_size = 32,
  3893. },
  3894. /* wycheproof - edge case for shared secret */
  3895. {
  3896. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3897. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3898. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3899. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3900. .b_public = (u8[32]){ 0x04, 0x5c, 0x6e, 0x11, 0xc5, 0xd3, 0x32, 0x55,
  3901. 0x6c, 0x78, 0x22, 0xfe, 0x94, 0xeb, 0xf8, 0x9b,
  3902. 0x56, 0xa3, 0x87, 0x8d, 0xc2, 0x7c, 0xa0, 0x79,
  3903. 0x10, 0x30, 0x58, 0x84, 0x9f, 0xab, 0xcb, 0x4f },
  3904. .expected_ss = (u8[32]){ 0xe5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3905. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3906. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3907. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3908. .secret_size = 32,
  3909. .b_public_size = 32,
  3910. .expected_ss_size = 32,
  3911. },
  3912. /* wycheproof - edge case for shared secret */
  3913. {
  3914. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3915. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3916. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3917. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3918. .b_public = (u8[32]){ 0x1c, 0xa2, 0x19, 0x0b, 0x71, 0x16, 0x35, 0x39,
  3919. 0x06, 0x3c, 0x35, 0x77, 0x3b, 0xda, 0x0c, 0x9c,
  3920. 0x92, 0x8e, 0x91, 0x36, 0xf0, 0x62, 0x0a, 0xeb,
  3921. 0x09, 0x3f, 0x09, 0x91, 0x97, 0xb7, 0xf7, 0x4e },
  3922. .expected_ss = (u8[32]){ 0xe3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3923. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3924. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3925. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3926. .secret_size = 32,
  3927. .b_public_size = 32,
  3928. .expected_ss_size = 32,
  3929. },
  3930. /* wycheproof - edge case for shared secret */
  3931. {
  3932. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3933. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3934. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3935. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3936. .b_public = (u8[32]){ 0xf7, 0x6e, 0x90, 0x10, 0xac, 0x33, 0xc5, 0x04,
  3937. 0x3b, 0x2d, 0x3b, 0x76, 0xa8, 0x42, 0x17, 0x10,
  3938. 0x00, 0xc4, 0x91, 0x62, 0x22, 0xe9, 0xe8, 0x58,
  3939. 0x97, 0xa0, 0xae, 0xc7, 0xf6, 0x35, 0x0b, 0x3c },
  3940. .expected_ss = (u8[32]){ 0xdd, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3941. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3942. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3943. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3944. .secret_size = 32,
  3945. .b_public_size = 32,
  3946. .expected_ss_size = 32,
  3947. },
  3948. /* wycheproof - edge case for shared secret */
  3949. {
  3950. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3951. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3952. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3953. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3954. .b_public = (u8[32]){ 0xbb, 0x72, 0x68, 0x8d, 0x8f, 0x8a, 0xa7, 0xa3,
  3955. 0x9c, 0xd6, 0x06, 0x0c, 0xd5, 0xc8, 0x09, 0x3c,
  3956. 0xde, 0xc6, 0xfe, 0x34, 0x19, 0x37, 0xc3, 0x88,
  3957. 0x6a, 0x99, 0x34, 0x6c, 0xd0, 0x7f, 0xaa, 0x55 },
  3958. .expected_ss = (u8[32]){ 0xdb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3959. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3960. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3961. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3962. .secret_size = 32,
  3963. .b_public_size = 32,
  3964. .expected_ss_size = 32,
  3965. },
  3966. /* wycheproof - edge case for shared secret */
  3967. {
  3968. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3969. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3970. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3971. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3972. .b_public = (u8[32]){ 0x88, 0xfd, 0xde, 0xa1, 0x93, 0x39, 0x1c, 0x6a,
  3973. 0x59, 0x33, 0xef, 0x9b, 0x71, 0x90, 0x15, 0x49,
  3974. 0x44, 0x72, 0x05, 0xaa, 0xe9, 0xda, 0x92, 0x8a,
  3975. 0x6b, 0x91, 0xa3, 0x52, 0xba, 0x10, 0xf4, 0x1f },
  3976. .expected_ss = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3977. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3978. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3979. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 },
  3980. .secret_size = 32,
  3981. .b_public_size = 32,
  3982. .expected_ss_size = 32,
  3983. },
  3984. /* wycheproof - edge case for shared secret */
  3985. {
  3986. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3987. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3988. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3989. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3990. .b_public = (u8[32]){ 0x30, 0x3b, 0x39, 0x2f, 0x15, 0x31, 0x16, 0xca,
  3991. 0xd9, 0xcc, 0x68, 0x2a, 0x00, 0xcc, 0xc4, 0x4c,
  3992. 0x95, 0xff, 0x0d, 0x3b, 0xbe, 0x56, 0x8b, 0xeb,
  3993. 0x6c, 0x4e, 0x73, 0x9b, 0xaf, 0xdc, 0x2c, 0x68 },
  3994. .expected_ss = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3995. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3996. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3997. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00 },
  3998. .secret_size = 32,
  3999. .b_public_size = 32,
  4000. .expected_ss_size = 32,
  4001. },
  4002. /* wycheproof - checking for overflow */
  4003. {
  4004. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  4005. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  4006. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  4007. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  4008. .b_public = (u8[32]){ 0xfd, 0x30, 0x0a, 0xeb, 0x40, 0xe1, 0xfa, 0x58,
  4009. 0x25, 0x18, 0x41, 0x2b, 0x49, 0xb2, 0x08, 0xa7,
  4010. 0x84, 0x2b, 0x1e, 0x1f, 0x05, 0x6a, 0x04, 0x01,
  4011. 0x78, 0xea, 0x41, 0x41, 0x53, 0x4f, 0x65, 0x2d },
  4012. .expected_ss = (u8[32]){ 0xb7, 0x34, 0x10, 0x5d, 0xc2, 0x57, 0x58, 0x5d,
  4013. 0x73, 0xb5, 0x66, 0xcc, 0xb7, 0x6f, 0x06, 0x27,
  4014. 0x95, 0xcc, 0xbe, 0xc8, 0x91, 0x28, 0xe5, 0x2b,
  4015. 0x02, 0xf3, 0xe5, 0x96, 0x39, 0xf1, 0x3c, 0x46 },
  4016. .secret_size = 32,
  4017. .b_public_size = 32,
  4018. .expected_ss_size = 32,
  4019. },
  4020. /* wycheproof - checking for overflow */
  4021. {
  4022. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  4023. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  4024. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  4025. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  4026. .b_public = (u8[32]){ 0xc8, 0xef, 0x79, 0xb5, 0x14, 0xd7, 0x68, 0x26,
  4027. 0x77, 0xbc, 0x79, 0x31, 0xe0, 0x6e, 0xe5, 0xc2,
  4028. 0x7c, 0x9b, 0x39, 0x2b, 0x4a, 0xe9, 0x48, 0x44,
  4029. 0x73, 0xf5, 0x54, 0xe6, 0x67, 0x8e, 0xcc, 0x2e },
  4030. .expected_ss = (u8[32]){ 0x64, 0x7a, 0x46, 0xb6, 0xfc, 0x3f, 0x40, 0xd6,
  4031. 0x21, 0x41, 0xee, 0x3c, 0xee, 0x70, 0x6b, 0x4d,
  4032. 0x7a, 0x92, 0x71, 0x59, 0x3a, 0x7b, 0x14, 0x3e,
  4033. 0x8e, 0x2e, 0x22, 0x79, 0x88, 0x3e, 0x45, 0x50 },
  4034. .secret_size = 32,
  4035. .b_public_size = 32,
  4036. .expected_ss_size = 32,
  4037. },
  4038. /* wycheproof - checking for overflow */
  4039. {
  4040. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  4041. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  4042. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  4043. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  4044. .b_public = (u8[32]){ 0x64, 0xae, 0xac, 0x25, 0x04, 0x14, 0x48, 0x61,
  4045. 0x53, 0x2b, 0x7b, 0xbc, 0xb6, 0xc8, 0x7d, 0x67,
  4046. 0xdd, 0x4c, 0x1f, 0x07, 0xeb, 0xc2, 0xe0, 0x6e,
  4047. 0xff, 0xb9, 0x5a, 0xec, 0xc6, 0x17, 0x0b, 0x2c },
  4048. .expected_ss = (u8[32]){ 0x4f, 0xf0, 0x3d, 0x5f, 0xb4, 0x3c, 0xd8, 0x65,
  4049. 0x7a, 0x3c, 0xf3, 0x7c, 0x13, 0x8c, 0xad, 0xce,
  4050. 0xcc, 0xe5, 0x09, 0xe4, 0xeb, 0xa0, 0x89, 0xd0,
  4051. 0xef, 0x40, 0xb4, 0xe4, 0xfb, 0x94, 0x61, 0x55 },
  4052. .secret_size = 32,
  4053. .b_public_size = 32,
  4054. .expected_ss_size = 32,
  4055. },
  4056. /* wycheproof - checking for overflow */
  4057. {
  4058. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  4059. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  4060. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  4061. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  4062. .b_public = (u8[32]){ 0xbf, 0x68, 0xe3, 0x5e, 0x9b, 0xdb, 0x7e, 0xee,
  4063. 0x1b, 0x50, 0x57, 0x02, 0x21, 0x86, 0x0f, 0x5d,
  4064. 0xcd, 0xad, 0x8a, 0xcb, 0xab, 0x03, 0x1b, 0x14,
  4065. 0x97, 0x4c, 0xc4, 0x90, 0x13, 0xc4, 0x98, 0x31 },
  4066. .expected_ss = (u8[32]){ 0x21, 0xce, 0xe5, 0x2e, 0xfd, 0xbc, 0x81, 0x2e,
  4067. 0x1d, 0x02, 0x1a, 0x4a, 0xf1, 0xe1, 0xd8, 0xbc,
  4068. 0x4d, 0xb3, 0xc4, 0x00, 0xe4, 0xd2, 0xa2, 0xc5,
  4069. 0x6a, 0x39, 0x26, 0xdb, 0x4d, 0x99, 0xc6, 0x5b },
  4070. .secret_size = 32,
  4071. .b_public_size = 32,
  4072. .expected_ss_size = 32,
  4073. },
  4074. /* wycheproof - checking for overflow */
  4075. {
  4076. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  4077. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  4078. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  4079. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  4080. .b_public = (u8[32]){ 0x53, 0x47, 0xc4, 0x91, 0x33, 0x1a, 0x64, 0xb4,
  4081. 0x3d, 0xdc, 0x68, 0x30, 0x34, 0xe6, 0x77, 0xf5,
  4082. 0x3d, 0xc3, 0x2b, 0x52, 0xa5, 0x2a, 0x57, 0x7c,
  4083. 0x15, 0xa8, 0x3b, 0xf2, 0x98, 0xe9, 0x9f, 0x19 },
  4084. .expected_ss = (u8[32]){ 0x18, 0xcb, 0x89, 0xe4, 0xe2, 0x0c, 0x0c, 0x2b,
  4085. 0xd3, 0x24, 0x30, 0x52, 0x45, 0x26, 0x6c, 0x93,
  4086. 0x27, 0x69, 0x0b, 0xbe, 0x79, 0xac, 0xb8, 0x8f,
  4087. 0x5b, 0x8f, 0xb3, 0xf7, 0x4e, 0xca, 0x3e, 0x52 },
  4088. .secret_size = 32,
  4089. .b_public_size = 32,
  4090. .expected_ss_size = 32,
  4091. },
  4092. /* wycheproof - private key == -1 (mod order) */
  4093. {
  4094. .secret = (u8[32]){ 0xa0, 0x23, 0xcd, 0xd0, 0x83, 0xef, 0x5b, 0xb8,
  4095. 0x2f, 0x10, 0xd6, 0x2e, 0x59, 0xe1, 0x5a, 0x68,
  4096. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  4097. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50 },
  4098. .b_public = (u8[32]){ 0x25, 0x8e, 0x04, 0x52, 0x3b, 0x8d, 0x25, 0x3e,
  4099. 0xe6, 0x57, 0x19, 0xfc, 0x69, 0x06, 0xc6, 0x57,
  4100. 0x19, 0x2d, 0x80, 0x71, 0x7e, 0xdc, 0x82, 0x8f,
  4101. 0xa0, 0xaf, 0x21, 0x68, 0x6e, 0x2f, 0xaa, 0x75 },
  4102. .expected_ss = (u8[32]){ 0x25, 0x8e, 0x04, 0x52, 0x3b, 0x8d, 0x25, 0x3e,
  4103. 0xe6, 0x57, 0x19, 0xfc, 0x69, 0x06, 0xc6, 0x57,
  4104. 0x19, 0x2d, 0x80, 0x71, 0x7e, 0xdc, 0x82, 0x8f,
  4105. 0xa0, 0xaf, 0x21, 0x68, 0x6e, 0x2f, 0xaa, 0x75 },
  4106. .secret_size = 32,
  4107. .b_public_size = 32,
  4108. .expected_ss_size = 32,
  4109. },
  4110. /* wycheproof - private key == 1 (mod order) on twist */
  4111. {
  4112. .secret = (u8[32]){ 0x58, 0x08, 0x3d, 0xd2, 0x61, 0xad, 0x91, 0xef,
  4113. 0xf9, 0x52, 0x32, 0x2e, 0xc8, 0x24, 0xc6, 0x82,
  4114. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4115. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x5f },
  4116. .b_public = (u8[32]){ 0x2e, 0xae, 0x5e, 0xc3, 0xdd, 0x49, 0x4e, 0x9f,
  4117. 0x2d, 0x37, 0xd2, 0x58, 0xf8, 0x73, 0xa8, 0xe6,
  4118. 0xe9, 0xd0, 0xdb, 0xd1, 0xe3, 0x83, 0xef, 0x64,
  4119. 0xd9, 0x8b, 0xb9, 0x1b, 0x3e, 0x0b, 0xe0, 0x35 },
  4120. .expected_ss = (u8[32]){ 0x2e, 0xae, 0x5e, 0xc3, 0xdd, 0x49, 0x4e, 0x9f,
  4121. 0x2d, 0x37, 0xd2, 0x58, 0xf8, 0x73, 0xa8, 0xe6,
  4122. 0xe9, 0xd0, 0xdb, 0xd1, 0xe3, 0x83, 0xef, 0x64,
  4123. 0xd9, 0x8b, 0xb9, 0x1b, 0x3e, 0x0b, 0xe0, 0x35 },
  4124. .secret_size = 32,
  4125. .b_public_size = 32,
  4126. .expected_ss_size = 32,
  4127. }
  4128. };
  4129. static const struct kpp_testvec ecdh_p192_tv_template[] = {
  4130. {
  4131. .secret =
  4132. #ifdef __LITTLE_ENDIAN
  4133. "\x02\x00" /* type */
  4134. "\x1e\x00" /* len */
  4135. "\x18\x00" /* key_size */
  4136. #else
  4137. "\x00\x02" /* type */
  4138. "\x00\x1e" /* len */
  4139. "\x00\x18" /* key_size */
  4140. #endif
  4141. "\xb5\x05\xb1\x71\x1e\xbf\x8c\xda"
  4142. "\x4e\x19\x1e\x62\x1f\x23\x23\x31"
  4143. "\x36\x1e\xd3\x84\x2f\xcc\x21\x72",
  4144. .b_public =
  4145. "\xc3\xba\x67\x4b\x71\xec\xd0\x76"
  4146. "\x7a\x99\x75\x64\x36\x13\x9a\x94"
  4147. "\x5d\x8b\xdc\x60\x90\x91\xfd\x3f"
  4148. "\xb0\x1f\x8a\x0a\x68\xc6\x88\x6e"
  4149. "\x83\x87\xdd\x67\x09\xf8\x8d\x96"
  4150. "\x07\xd6\xbd\x1c\xe6\x8d\x9d\x67",
  4151. .expected_a_public =
  4152. "\x1a\x04\xdb\xa5\xe1\xdd\x4e\x79"
  4153. "\xa3\xe6\xef\x0e\x5c\x80\x49\x85"
  4154. "\xfa\x78\xb4\xef\x49\xbd\x4c\x7c"
  4155. "\x22\x90\x21\x02\xf9\x1b\x81\x5d"
  4156. "\x0c\x8a\xa8\x98\xd6\x27\x69\x88"
  4157. "\x5e\xbc\x94\xd8\x15\x9e\x21\xce",
  4158. .expected_ss =
  4159. "\xf4\x57\xcc\x4f\x1f\x4e\x31\xcc"
  4160. "\xe3\x40\x60\xc8\x06\x93\xc6\x2e"
  4161. "\x99\x80\x81\x28\xaf\xc5\x51\x74",
  4162. .secret_size = 30,
  4163. .b_public_size = 48,
  4164. .expected_a_public_size = 48,
  4165. .expected_ss_size = 24
  4166. }
  4167. };
  4168. static const struct kpp_testvec ecdh_p256_tv_template[] = {
  4169. {
  4170. .secret =
  4171. #ifdef __LITTLE_ENDIAN
  4172. "\x02\x00" /* type */
  4173. "\x26\x00" /* len */
  4174. "\x20\x00" /* key_size */
  4175. #else
  4176. "\x00\x02" /* type */
  4177. "\x00\x26" /* len */
  4178. "\x00\x20" /* key_size */
  4179. #endif
  4180. "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
  4181. "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
  4182. "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
  4183. "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
  4184. .expected_a_public =
  4185. "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
  4186. "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
  4187. "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
  4188. "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
  4189. "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
  4190. "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
  4191. "\x6a\x02\x6e\x41\x87\x68\x38\x77"
  4192. "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
  4193. .expected_ss =
  4194. "\xea\x17\x6f\x7e\x6e\x57\x26\x38"
  4195. "\x8b\xfb\x41\xeb\xba\xc8\x6d\xa5"
  4196. "\xa8\x72\xd1\xff\xc9\x47\x3d\xaa"
  4197. "\x58\x43\x9f\x34\x0f\x8c\xf3\xc9",
  4198. .b_public =
  4199. "\xcc\xb4\xda\x74\xb1\x47\x3f\xea"
  4200. "\x6c\x70\x9e\x38\x2d\xc7\xaa\xb7"
  4201. "\x29\xb2\x47\x03\x19\xab\xdd\x34"
  4202. "\xbd\xa8\x2c\x93\xe1\xa4\x74\xd9"
  4203. "\x64\x63\xf7\x70\x20\x2f\xa4\xe6"
  4204. "\x9f\x4a\x38\xcc\xc0\x2c\x49\x2f"
  4205. "\xb1\x32\xbb\xaf\x22\x61\xda\xcb"
  4206. "\x6f\xdb\xa9\xaa\xfc\x77\x81\xf3",
  4207. .secret_size = 38,
  4208. .b_public_size = 64,
  4209. .expected_a_public_size = 64,
  4210. .expected_ss_size = 32
  4211. }, {
  4212. .secret =
  4213. #ifdef __LITTLE_ENDIAN
  4214. "\x02\x00" /* type */
  4215. "\x06\x00" /* len */
  4216. "\x00\x00", /* key_size */
  4217. #else
  4218. "\x00\x02" /* type */
  4219. "\x00\x06" /* len */
  4220. "\x00\x00", /* key_size */
  4221. #endif
  4222. .b_secret =
  4223. #ifdef __LITTLE_ENDIAN
  4224. "\x02\x00" /* type */
  4225. "\x26\x00" /* len */
  4226. "\x20\x00" /* key_size */
  4227. #else
  4228. "\x00\x02" /* type */
  4229. "\x00\x26" /* len */
  4230. "\x00\x20" /* key_size */
  4231. #endif
  4232. "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
  4233. "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
  4234. "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
  4235. "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
  4236. .b_public =
  4237. "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
  4238. "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
  4239. "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
  4240. "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
  4241. "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
  4242. "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
  4243. "\x6a\x02\x6e\x41\x87\x68\x38\x77"
  4244. "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
  4245. .secret_size = 6,
  4246. .b_secret_size = 38,
  4247. .b_public_size = 64,
  4248. .expected_a_public_size = 64,
  4249. .expected_ss_size = 32,
  4250. .genkey = true,
  4251. }
  4252. };
  4253. /*
  4254. * NIST P384 test vectors from RFC5903
  4255. */
  4256. static const struct kpp_testvec ecdh_p384_tv_template[] = {
  4257. {
  4258. .secret =
  4259. #ifdef __LITTLE_ENDIAN
  4260. "\x02\x00" /* type */
  4261. "\x36\x00" /* len */
  4262. "\x30\x00" /* key_size */
  4263. #else
  4264. "\x00\x02" /* type */
  4265. "\x00\x36" /* len */
  4266. "\x00\x30" /* key_size */
  4267. #endif
  4268. "\x09\x9F\x3C\x70\x34\xD4\xA2\xC6"
  4269. "\x99\x88\x4D\x73\xA3\x75\xA6\x7F"
  4270. "\x76\x24\xEF\x7C\x6B\x3C\x0F\x16"
  4271. "\x06\x47\xB6\x74\x14\xDC\xE6\x55"
  4272. "\xE3\x5B\x53\x80\x41\xE6\x49\xEE"
  4273. "\x3F\xAE\xF8\x96\x78\x3A\xB1\x94",
  4274. .b_public =
  4275. "\xE5\x58\xDB\xEF\x53\xEE\xCD\xE3"
  4276. "\xD3\xFC\xCF\xC1\xAE\xA0\x8A\x89"
  4277. "\xA9\x87\x47\x5D\x12\xFD\x95\x0D"
  4278. "\x83\xCF\xA4\x17\x32\xBC\x50\x9D"
  4279. "\x0D\x1A\xC4\x3A\x03\x36\xDE\xF9"
  4280. "\x6F\xDA\x41\xD0\x77\x4A\x35\x71"
  4281. "\xDC\xFB\xEC\x7A\xAC\xF3\x19\x64"
  4282. "\x72\x16\x9E\x83\x84\x30\x36\x7F"
  4283. "\x66\xEE\xBE\x3C\x6E\x70\xC4\x16"
  4284. "\xDD\x5F\x0C\x68\x75\x9D\xD1\xFF"
  4285. "\xF8\x3F\xA4\x01\x42\x20\x9D\xFF"
  4286. "\x5E\xAA\xD9\x6D\xB9\xE6\x38\x6C",
  4287. .expected_a_public =
  4288. "\x66\x78\x42\xD7\xD1\x80\xAC\x2C"
  4289. "\xDE\x6F\x74\xF3\x75\x51\xF5\x57"
  4290. "\x55\xC7\x64\x5C\x20\xEF\x73\xE3"
  4291. "\x16\x34\xFE\x72\xB4\xC5\x5E\xE6"
  4292. "\xDE\x3A\xC8\x08\xAC\xB4\xBD\xB4"
  4293. "\xC8\x87\x32\xAE\xE9\x5F\x41\xAA"
  4294. "\x94\x82\xED\x1F\xC0\xEE\xB9\xCA"
  4295. "\xFC\x49\x84\x62\x5C\xCF\xC2\x3F"
  4296. "\x65\x03\x21\x49\xE0\xE1\x44\xAD"
  4297. "\xA0\x24\x18\x15\x35\xA0\xF3\x8E"
  4298. "\xEB\x9F\xCF\xF3\xC2\xC9\x47\xDA"
  4299. "\xE6\x9B\x4C\x63\x45\x73\xA8\x1C",
  4300. .expected_ss =
  4301. "\x11\x18\x73\x31\xC2\x79\x96\x2D"
  4302. "\x93\xD6\x04\x24\x3F\xD5\x92\xCB"
  4303. "\x9D\x0A\x92\x6F\x42\x2E\x47\x18"
  4304. "\x75\x21\x28\x7E\x71\x56\xC5\xC4"
  4305. "\xD6\x03\x13\x55\x69\xB9\xE9\xD0"
  4306. "\x9C\xF5\xD4\xA2\x70\xF5\x97\x46",
  4307. .secret_size = 54,
  4308. .b_public_size = 96,
  4309. .expected_a_public_size = 96,
  4310. .expected_ss_size = 48
  4311. }
  4312. };
  4313. /*
  4314. * MD4 test vectors from RFC1320
  4315. */
  4316. static const struct hash_testvec md4_tv_template[] = {
  4317. {
  4318. .plaintext = "",
  4319. .digest = "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
  4320. "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
  4321. }, {
  4322. .plaintext = "a",
  4323. .psize = 1,
  4324. .digest = "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
  4325. "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
  4326. }, {
  4327. .plaintext = "abc",
  4328. .psize = 3,
  4329. .digest = "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
  4330. "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
  4331. }, {
  4332. .plaintext = "message digest",
  4333. .psize = 14,
  4334. .digest = "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
  4335. "\x18\x87\x48\x06\xe1\xc7\x01\x4b",
  4336. }, {
  4337. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  4338. .psize = 26,
  4339. .digest = "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
  4340. "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
  4341. }, {
  4342. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
  4343. .psize = 62,
  4344. .digest = "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
  4345. "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
  4346. }, {
  4347. .plaintext = "123456789012345678901234567890123456789012345678901234567890123"
  4348. "45678901234567890",
  4349. .psize = 80,
  4350. .digest = "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
  4351. "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
  4352. },
  4353. };
  4354. static const struct hash_testvec sha3_224_tv_template[] = {
  4355. {
  4356. .plaintext = "",
  4357. .digest = "\x6b\x4e\x03\x42\x36\x67\xdb\xb7"
  4358. "\x3b\x6e\x15\x45\x4f\x0e\xb1\xab"
  4359. "\xd4\x59\x7f\x9a\x1b\x07\x8e\x3f"
  4360. "\x5b\x5a\x6b\xc7",
  4361. }, {
  4362. .plaintext = "a",
  4363. .psize = 1,
  4364. .digest = "\x9e\x86\xff\x69\x55\x7c\xa9\x5f"
  4365. "\x40\x5f\x08\x12\x69\x68\x5b\x38"
  4366. "\xe3\xa8\x19\xb3\x09\xee\x94\x2f"
  4367. "\x48\x2b\x6a\x8b",
  4368. }, {
  4369. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
  4370. "jklmklmnlmnomnopnopq",
  4371. .psize = 56,
  4372. .digest = "\x8a\x24\x10\x8b\x15\x4a\xda\x21"
  4373. "\xc9\xfd\x55\x74\x49\x44\x79\xba"
  4374. "\x5c\x7e\x7a\xb7\x6e\xf2\x64\xea"
  4375. "\xd0\xfc\xce\x33",
  4376. }, {
  4377. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  4378. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  4379. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  4380. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  4381. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  4382. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  4383. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  4384. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  4385. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  4386. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  4387. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  4388. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  4389. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  4390. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  4391. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  4392. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  4393. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  4394. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  4395. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  4396. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  4397. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  4398. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  4399. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  4400. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  4401. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  4402. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  4403. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  4404. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  4405. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  4406. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  4407. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  4408. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  4409. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  4410. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  4411. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  4412. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  4413. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  4414. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  4415. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  4416. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  4417. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  4418. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  4419. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  4420. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  4421. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  4422. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  4423. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  4424. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  4425. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  4426. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  4427. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  4428. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  4429. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  4430. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  4431. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  4432. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  4433. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  4434. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  4435. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  4436. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  4437. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  4438. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  4439. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  4440. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  4441. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  4442. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  4443. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  4444. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  4445. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  4446. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  4447. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  4448. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  4449. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  4450. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  4451. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  4452. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  4453. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  4454. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  4455. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  4456. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  4457. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  4458. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  4459. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  4460. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  4461. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  4462. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  4463. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  4464. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  4465. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  4466. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  4467. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  4468. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  4469. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  4470. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  4471. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  4472. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  4473. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  4474. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  4475. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  4476. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  4477. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  4478. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  4479. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  4480. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  4481. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  4482. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  4483. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  4484. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  4485. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  4486. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  4487. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  4488. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  4489. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  4490. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  4491. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  4492. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  4493. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  4494. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  4495. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  4496. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  4497. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  4498. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  4499. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  4500. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  4501. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  4502. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  4503. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  4504. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  4505. .psize = 1023,
  4506. .digest = "\x7d\x0f\x2f\xb7\x65\x3b\xa7\x26"
  4507. "\xc3\x88\x20\x71\x15\x06\xe8\x2d"
  4508. "\xa3\x92\x44\xab\x3e\xe7\xff\x86"
  4509. "\xb6\x79\x10\x72",
  4510. },
  4511. };
  4512. static const struct hash_testvec sha3_256_tv_template[] = {
  4513. {
  4514. .plaintext = "",
  4515. .digest = "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
  4516. "\x51\xc1\x47\x56\xa0\x61\xd6\x62"
  4517. "\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
  4518. "\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
  4519. }, {
  4520. .plaintext = "a",
  4521. .psize = 1,
  4522. .digest = "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
  4523. "\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
  4524. "\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
  4525. "\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
  4526. }, {
  4527. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
  4528. "jklmklmnlmnomnopnopq",
  4529. .psize = 56,
  4530. .digest = "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
  4531. "\x49\x10\x03\x76\xa8\x23\x5e\x2c"
  4532. "\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
  4533. "\xdb\x32\xdd\x97\x49\x6d\x33\x76",
  4534. }, {
  4535. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  4536. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  4537. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  4538. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  4539. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  4540. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  4541. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  4542. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  4543. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  4544. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  4545. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  4546. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  4547. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  4548. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  4549. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  4550. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  4551. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  4552. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  4553. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  4554. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  4555. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  4556. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  4557. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  4558. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  4559. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  4560. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  4561. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  4562. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  4563. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  4564. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  4565. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  4566. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  4567. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  4568. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  4569. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  4570. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  4571. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  4572. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  4573. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  4574. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  4575. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  4576. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  4577. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  4578. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  4579. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  4580. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  4581. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  4582. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  4583. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  4584. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  4585. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  4586. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  4587. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  4588. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  4589. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  4590. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  4591. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  4592. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  4593. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  4594. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  4595. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  4596. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  4597. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  4598. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  4599. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  4600. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  4601. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  4602. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  4603. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  4604. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  4605. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  4606. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  4607. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  4608. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  4609. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  4610. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  4611. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  4612. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  4613. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  4614. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  4615. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  4616. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  4617. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  4618. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  4619. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  4620. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  4621. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  4622. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  4623. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  4624. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  4625. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  4626. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  4627. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  4628. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  4629. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  4630. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  4631. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  4632. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  4633. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  4634. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  4635. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  4636. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  4637. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  4638. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  4639. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  4640. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  4641. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  4642. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  4643. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  4644. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  4645. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  4646. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  4647. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  4648. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  4649. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  4650. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  4651. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  4652. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  4653. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  4654. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  4655. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  4656. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  4657. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  4658. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  4659. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  4660. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  4661. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  4662. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  4663. .psize = 1023,
  4664. .digest = "\xde\x41\x04\xbd\xda\xda\xd9\x71"
  4665. "\xf7\xfa\x80\xf5\xea\x11\x03\xb1"
  4666. "\x3b\x6a\xbc\x5f\xb9\x66\x26\xf7"
  4667. "\x8a\x97\xbb\xf2\x07\x08\x38\x30",
  4668. },
  4669. };
  4670. static const struct hash_testvec sha3_384_tv_template[] = {
  4671. {
  4672. .plaintext = "",
  4673. .digest = "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
  4674. "\x01\x10\x7d\x85\x2e\x4c\x24\x85"
  4675. "\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
  4676. "\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
  4677. "\xc3\x71\x38\x31\x26\x4a\xdb\x47"
  4678. "\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
  4679. }, {
  4680. .plaintext = "a",
  4681. .psize = 1,
  4682. .digest = "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
  4683. "\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
  4684. "\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
  4685. "\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
  4686. "\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
  4687. "\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
  4688. }, {
  4689. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
  4690. "jklmklmnlmnomnopnopq",
  4691. .psize = 56,
  4692. .digest = "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
  4693. "\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
  4694. "\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
  4695. "\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
  4696. "\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
  4697. "\x9e\xef\x51\xac\xd0\x65\x7c\x22",
  4698. }, {
  4699. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  4700. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  4701. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  4702. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  4703. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  4704. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  4705. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  4706. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  4707. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  4708. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  4709. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  4710. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  4711. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  4712. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  4713. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  4714. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  4715. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  4716. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  4717. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  4718. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  4719. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  4720. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  4721. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  4722. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  4723. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  4724. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  4725. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  4726. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  4727. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  4728. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  4729. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  4730. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  4731. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  4732. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  4733. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  4734. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  4735. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  4736. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  4737. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  4738. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  4739. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  4740. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  4741. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  4742. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  4743. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  4744. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  4745. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  4746. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  4747. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  4748. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  4749. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  4750. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  4751. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  4752. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  4753. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  4754. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  4755. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  4756. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  4757. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  4758. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  4759. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  4760. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  4761. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  4762. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  4763. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  4764. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  4765. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  4766. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  4767. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  4768. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  4769. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  4770. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  4771. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  4772. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  4773. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  4774. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  4775. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  4776. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  4777. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  4778. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  4779. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  4780. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  4781. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  4782. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  4783. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  4784. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  4785. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  4786. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  4787. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  4788. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  4789. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  4790. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  4791. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  4792. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  4793. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  4794. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  4795. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  4796. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  4797. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  4798. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  4799. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  4800. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  4801. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  4802. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  4803. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  4804. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  4805. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  4806. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  4807. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  4808. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  4809. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  4810. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  4811. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  4812. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  4813. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  4814. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  4815. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  4816. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  4817. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  4818. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  4819. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  4820. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  4821. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  4822. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  4823. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  4824. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  4825. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  4826. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  4827. .psize = 1023,
  4828. .digest = "\x1b\x19\x4d\x8f\xd5\x36\x87\x71"
  4829. "\xcf\xca\x30\x85\x9b\xc1\x25\xc7"
  4830. "\x00\xcb\x73\x8a\x8e\xd4\xfe\x2b"
  4831. "\x1a\xa2\xdc\x2e\x41\xfd\x52\x51"
  4832. "\xd2\x21\xae\x2d\xc7\xae\x8c\x40"
  4833. "\xb9\xe6\x56\x48\x03\xcd\x88\x6b",
  4834. },
  4835. };
  4836. static const struct hash_testvec sha3_512_tv_template[] = {
  4837. {
  4838. .plaintext = "",
  4839. .digest = "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
  4840. "\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
  4841. "\x97\xc9\x82\x16\x4f\xe2\x58\x59"
  4842. "\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
  4843. "\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
  4844. "\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
  4845. "\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
  4846. "\x01\x75\x85\x86\x28\x1d\xcd\x26",
  4847. }, {
  4848. .plaintext = "a",
  4849. .psize = 1,
  4850. .digest = "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
  4851. "\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
  4852. "\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
  4853. "\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
  4854. "\x3f\x4f\x93\xff\x24\x39\x35\x86"
  4855. "\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
  4856. "\x69\x42\x0c\xe5\x33\x32\x71\x2f"
  4857. "\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
  4858. }, {
  4859. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
  4860. "jklmklmnlmnomnopnopq",
  4861. .psize = 56,
  4862. .digest = "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
  4863. "\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
  4864. "\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
  4865. "\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
  4866. "\xee\x69\x1f\xbe\x0c\x98\x53\x02"
  4867. "\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
  4868. "\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
  4869. "\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
  4870. }, {
  4871. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  4872. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  4873. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  4874. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  4875. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  4876. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  4877. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  4878. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  4879. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  4880. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  4881. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  4882. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  4883. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  4884. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  4885. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  4886. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  4887. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  4888. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  4889. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  4890. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  4891. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  4892. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  4893. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  4894. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  4895. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  4896. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  4897. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  4898. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  4899. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  4900. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  4901. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  4902. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  4903. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  4904. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  4905. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  4906. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  4907. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  4908. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  4909. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  4910. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  4911. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  4912. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  4913. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  4914. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  4915. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  4916. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  4917. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  4918. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  4919. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  4920. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  4921. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  4922. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  4923. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  4924. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  4925. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  4926. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  4927. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  4928. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  4929. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  4930. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  4931. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  4932. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  4933. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  4934. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  4935. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  4936. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  4937. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  4938. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  4939. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  4940. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  4941. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  4942. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  4943. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  4944. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  4945. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  4946. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  4947. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  4948. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  4949. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  4950. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  4951. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  4952. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  4953. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  4954. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  4955. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  4956. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  4957. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  4958. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  4959. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  4960. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  4961. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  4962. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  4963. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  4964. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  4965. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  4966. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  4967. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  4968. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  4969. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  4970. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  4971. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  4972. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  4973. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  4974. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  4975. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  4976. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  4977. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  4978. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  4979. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  4980. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  4981. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  4982. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  4983. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  4984. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  4985. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  4986. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  4987. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  4988. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  4989. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  4990. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  4991. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  4992. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  4993. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  4994. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  4995. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  4996. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  4997. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  4998. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  4999. .psize = 1023,
  5000. .digest = "\x59\xda\x30\xe3\x90\xe4\x3d\xde"
  5001. "\xf0\xc6\x42\x17\xd7\xb2\x26\x47"
  5002. "\x90\x28\xa6\x84\xe8\x49\x7a\x86"
  5003. "\xd6\xb8\x9e\xf8\x07\x59\x21\x03"
  5004. "\xad\xd2\xed\x48\xa3\xb9\xa5\xf0"
  5005. "\xb3\xae\x02\x2b\xb8\xaf\xc3\x3b"
  5006. "\xd6\xb0\x8f\xcb\x76\x8b\xa7\x41"
  5007. "\x32\xc2\x8e\x50\x91\x86\x90\xfb",
  5008. },
  5009. };
  5010. /*
  5011. * MD5 test vectors from RFC1321
  5012. */
  5013. static const struct hash_testvec md5_tv_template[] = {
  5014. {
  5015. .digest = "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
  5016. "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
  5017. }, {
  5018. .plaintext = "a",
  5019. .psize = 1,
  5020. .digest = "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
  5021. "\x31\xc3\x99\xe2\x69\x77\x26\x61",
  5022. }, {
  5023. .plaintext = "abc",
  5024. .psize = 3,
  5025. .digest = "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
  5026. "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
  5027. }, {
  5028. .plaintext = "message digest",
  5029. .psize = 14,
  5030. .digest = "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
  5031. "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
  5032. }, {
  5033. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  5034. .psize = 26,
  5035. .digest = "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
  5036. "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
  5037. }, {
  5038. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
  5039. .psize = 62,
  5040. .digest = "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
  5041. "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
  5042. }, {
  5043. .plaintext = "12345678901234567890123456789012345678901234567890123456789012"
  5044. "345678901234567890",
  5045. .psize = 80,
  5046. .digest = "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
  5047. "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
  5048. }
  5049. };
  5050. /*
  5051. * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
  5052. */
  5053. static const struct hash_testvec rmd160_tv_template[] = {
  5054. {
  5055. .digest = "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
  5056. "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
  5057. }, {
  5058. .plaintext = "a",
  5059. .psize = 1,
  5060. .digest = "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
  5061. "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
  5062. }, {
  5063. .plaintext = "abc",
  5064. .psize = 3,
  5065. .digest = "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
  5066. "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
  5067. }, {
  5068. .plaintext = "message digest",
  5069. .psize = 14,
  5070. .digest = "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
  5071. "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
  5072. }, {
  5073. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  5074. .psize = 26,
  5075. .digest = "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
  5076. "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
  5077. }, {
  5078. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
  5079. "fghijklmnopqrstuvwxyz0123456789",
  5080. .psize = 62,
  5081. .digest = "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
  5082. "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
  5083. }, {
  5084. .plaintext = "1234567890123456789012345678901234567890"
  5085. "1234567890123456789012345678901234567890",
  5086. .psize = 80,
  5087. .digest = "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
  5088. "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
  5089. }, {
  5090. .plaintext = "abcdbcdecdefdefgefghfghighij"
  5091. "hijkijkljklmklmnlmnomnopnopq",
  5092. .psize = 56,
  5093. .digest = "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
  5094. "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
  5095. }, {
  5096. .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
  5097. "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
  5098. "lmnopqrsmnopqrstnopqrstu",
  5099. .psize = 112,
  5100. .digest = "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
  5101. "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
  5102. }, {
  5103. .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
  5104. .psize = 32,
  5105. .digest = "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
  5106. "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
  5107. }
  5108. };
  5109. static const u8 zeroes[4096] = { [0 ... 4095] = 0 };
  5110. static const u8 ones[4096] = { [0 ... 4095] = 0xff };
  5111. static const struct hash_testvec crc64_rocksoft_tv_template[] = {
  5112. {
  5113. .plaintext = zeroes,
  5114. .psize = 4096,
  5115. .digest = "\x4e\xb6\x22\xeb\x67\xd3\x82\x64",
  5116. }, {
  5117. .plaintext = ones,
  5118. .psize = 4096,
  5119. .digest = "\xac\xa3\xec\x02\x73\xba\xdd\xc0",
  5120. }
  5121. };
  5122. static const struct hash_testvec crct10dif_tv_template[] = {
  5123. {
  5124. .plaintext = "abc",
  5125. .psize = 3,
  5126. .digest = (u8 *)(u16 []){ 0x443b },
  5127. }, {
  5128. .plaintext = "1234567890123456789012345678901234567890"
  5129. "123456789012345678901234567890123456789",
  5130. .psize = 79,
  5131. .digest = (u8 *)(u16 []){ 0x4b70 },
  5132. }, {
  5133. .plaintext = "abcdddddddddddddddddddddddddddddddddddddddd"
  5134. "ddddddddddddd",
  5135. .psize = 56,
  5136. .digest = (u8 *)(u16 []){ 0x9ce3 },
  5137. }, {
  5138. .plaintext = "1234567890123456789012345678901234567890"
  5139. "1234567890123456789012345678901234567890"
  5140. "1234567890123456789012345678901234567890"
  5141. "1234567890123456789012345678901234567890"
  5142. "1234567890123456789012345678901234567890"
  5143. "1234567890123456789012345678901234567890"
  5144. "1234567890123456789012345678901234567890"
  5145. "123456789012345678901234567890123456789",
  5146. .psize = 319,
  5147. .digest = (u8 *)(u16 []){ 0x44c6 },
  5148. }, {
  5149. .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
  5150. "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
  5151. "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
  5152. "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
  5153. "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
  5154. "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
  5155. "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
  5156. "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
  5157. "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
  5158. "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
  5159. "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
  5160. "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
  5161. "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
  5162. "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
  5163. "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
  5164. "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
  5165. "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
  5166. "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
  5167. "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
  5168. "\x58\xef\x63\xfa\x91\x05\x9c\x33"
  5169. "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
  5170. "\x19\xb0\x47\xde\x52\xe9\x80\x17"
  5171. "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
  5172. "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
  5173. "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
  5174. "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
  5175. "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
  5176. "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
  5177. "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
  5178. "\x86\x1d\x91\x28\xbf\x33\xca\x61"
  5179. "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
  5180. "\x47\xde\x75\x0c\x80\x17\xae\x22"
  5181. "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
  5182. "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
  5183. "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
  5184. "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
  5185. "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
  5186. "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
  5187. "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
  5188. "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
  5189. "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
  5190. "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
  5191. "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
  5192. "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
  5193. "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
  5194. "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
  5195. "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
  5196. "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
  5197. "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
  5198. "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
  5199. "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
  5200. "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
  5201. "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
  5202. "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
  5203. "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
  5204. "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
  5205. "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
  5206. "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
  5207. "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
  5208. "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
  5209. "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
  5210. "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
  5211. "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
  5212. "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
  5213. "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
  5214. "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
  5215. "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
  5216. "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
  5217. "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
  5218. "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
  5219. "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
  5220. "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
  5221. "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
  5222. "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
  5223. "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
  5224. "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
  5225. "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
  5226. "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
  5227. "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
  5228. "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
  5229. "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
  5230. "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
  5231. "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
  5232. "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
  5233. "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
  5234. "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
  5235. "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
  5236. "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
  5237. "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
  5238. "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
  5239. "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
  5240. "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
  5241. "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
  5242. "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
  5243. "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
  5244. "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
  5245. "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
  5246. "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
  5247. "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
  5248. "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
  5249. "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
  5250. "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
  5251. "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
  5252. "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
  5253. "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
  5254. "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
  5255. "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
  5256. "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
  5257. "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
  5258. "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
  5259. "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
  5260. "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
  5261. "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
  5262. "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
  5263. "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
  5264. "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
  5265. "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
  5266. "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
  5267. "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
  5268. "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
  5269. "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
  5270. "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
  5271. "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
  5272. "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
  5273. "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
  5274. "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
  5275. "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
  5276. "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
  5277. "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
  5278. "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
  5279. "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
  5280. "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
  5281. "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
  5282. "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
  5283. "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
  5284. "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
  5285. "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
  5286. "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
  5287. "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
  5288. "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
  5289. "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
  5290. "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
  5291. "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
  5292. "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
  5293. "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
  5294. "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
  5295. "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
  5296. "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
  5297. "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
  5298. "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
  5299. "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
  5300. "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
  5301. "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
  5302. "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
  5303. "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
  5304. "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
  5305. "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
  5306. "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
  5307. "\x47\xde\x52\xe9\x80\x17\x8b\x22"
  5308. "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
  5309. "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
  5310. "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
  5311. "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
  5312. "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
  5313. "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
  5314. "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
  5315. "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
  5316. "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
  5317. "\x75\x0c\x80\x17\xae\x22\xb9\x50"
  5318. "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
  5319. "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
  5320. "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
  5321. "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
  5322. "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
  5323. "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
  5324. "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
  5325. "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
  5326. "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
  5327. "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
  5328. "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
  5329. "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
  5330. "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
  5331. "\x48\xdf\x53\xea\x81\x18\x8c\x23"
  5332. "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
  5333. "\x09\xa0\x37\xce\x42\xd9\x70\x07"
  5334. "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
  5335. "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
  5336. "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
  5337. "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
  5338. "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
  5339. "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
  5340. "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
  5341. "\x76\x0d\x81\x18\xaf\x23\xba\x51"
  5342. "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
  5343. "\x37\xce\x65\xfc\x70\x07\x9e\x12"
  5344. "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
  5345. "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
  5346. "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
  5347. "\xff\x73\x0a\xa1\x15\xac\x43\xda"
  5348. "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
  5349. "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
  5350. "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
  5351. "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
  5352. "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
  5353. "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
  5354. "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
  5355. "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
  5356. "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
  5357. "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
  5358. "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
  5359. "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
  5360. "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
  5361. "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
  5362. "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
  5363. "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
  5364. "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
  5365. "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
  5366. "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
  5367. "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
  5368. "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
  5369. "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
  5370. "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
  5371. "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
  5372. "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
  5373. "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
  5374. "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
  5375. "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
  5376. "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
  5377. "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
  5378. "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
  5379. "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
  5380. "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
  5381. "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
  5382. "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
  5383. "\xef\x86\x1d\x91\x28\xbf\x33\xca"
  5384. "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
  5385. "\xd3\x47\xde\x75\x0c\x80\x17\xae"
  5386. "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
  5387. "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
  5388. "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
  5389. "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
  5390. "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
  5391. "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
  5392. "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
  5393. "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
  5394. "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
  5395. "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
  5396. "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
  5397. "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
  5398. "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
  5399. "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
  5400. "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
  5401. "\x67\xfe\x95\x09\xa0\x37\xce\x42"
  5402. "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
  5403. "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
  5404. "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
  5405. .psize = 2048,
  5406. .digest = (u8 *)(u16 []){ 0x23ca },
  5407. }
  5408. };
  5409. /*
  5410. * Streebog test vectors from RFC 6986 and GOST R 34.11-2012
  5411. */
  5412. static const struct hash_testvec streebog256_tv_template[] = {
  5413. { /* M1 */
  5414. .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
  5415. .psize = 63,
  5416. .digest =
  5417. "\x9d\x15\x1e\xef\xd8\x59\x0b\x89"
  5418. "\xda\xa6\xba\x6c\xb7\x4a\xf9\x27"
  5419. "\x5d\xd0\x51\x02\x6b\xb1\x49\xa4"
  5420. "\x52\xfd\x84\xe5\xe5\x7b\x55\x00",
  5421. },
  5422. { /* M2 */
  5423. .plaintext =
  5424. "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
  5425. "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
  5426. "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
  5427. "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
  5428. "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
  5429. "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
  5430. "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
  5431. "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
  5432. "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
  5433. .psize = 72,
  5434. .digest =
  5435. "\x9d\xd2\xfe\x4e\x90\x40\x9e\x5d"
  5436. "\xa8\x7f\x53\x97\x6d\x74\x05\xb0"
  5437. "\xc0\xca\xc6\x28\xfc\x66\x9a\x74"
  5438. "\x1d\x50\x06\x3c\x55\x7e\x8f\x50",
  5439. },
  5440. };
  5441. static const struct hash_testvec streebog512_tv_template[] = {
  5442. { /* M1 */
  5443. .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
  5444. .psize = 63,
  5445. .digest =
  5446. "\x1b\x54\xd0\x1a\x4a\xf5\xb9\xd5"
  5447. "\xcc\x3d\x86\xd6\x8d\x28\x54\x62"
  5448. "\xb1\x9a\xbc\x24\x75\x22\x2f\x35"
  5449. "\xc0\x85\x12\x2b\xe4\xba\x1f\xfa"
  5450. "\x00\xad\x30\xf8\x76\x7b\x3a\x82"
  5451. "\x38\x4c\x65\x74\xf0\x24\xc3\x11"
  5452. "\xe2\xa4\x81\x33\x2b\x08\xef\x7f"
  5453. "\x41\x79\x78\x91\xc1\x64\x6f\x48",
  5454. },
  5455. { /* M2 */
  5456. .plaintext =
  5457. "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
  5458. "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
  5459. "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
  5460. "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
  5461. "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
  5462. "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
  5463. "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
  5464. "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
  5465. "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
  5466. .psize = 72,
  5467. .digest =
  5468. "\x1e\x88\xe6\x22\x26\xbf\xca\x6f"
  5469. "\x99\x94\xf1\xf2\xd5\x15\x69\xe0"
  5470. "\xda\xf8\x47\x5a\x3b\x0f\xe6\x1a"
  5471. "\x53\x00\xee\xe4\x6d\x96\x13\x76"
  5472. "\x03\x5f\xe8\x35\x49\xad\xa2\xb8"
  5473. "\x62\x0f\xcd\x7c\x49\x6c\xe5\xb3"
  5474. "\x3f\x0c\xb9\xdd\xdc\x2b\x64\x60"
  5475. "\x14\x3b\x03\xda\xba\xc9\xfb\x28",
  5476. },
  5477. };
  5478. /*
  5479. * Two HMAC-Streebog test vectors from RFC 7836 and R 50.1.113-2016 A
  5480. */
  5481. static const struct hash_testvec hmac_streebog256_tv_template[] = {
  5482. {
  5483. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  5484. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  5485. "\x10\x11\x12\x13\x14\x15\x16\x17"
  5486. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  5487. .ksize = 32,
  5488. .plaintext =
  5489. "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
  5490. "\x43\x41\x45\x65\x63\x78\x01\x00",
  5491. .psize = 16,
  5492. .digest =
  5493. "\xa1\xaa\x5f\x7d\xe4\x02\xd7\xb3"
  5494. "\xd3\x23\xf2\x99\x1c\x8d\x45\x34"
  5495. "\x01\x31\x37\x01\x0a\x83\x75\x4f"
  5496. "\xd0\xaf\x6d\x7c\xd4\x92\x2e\xd9",
  5497. },
  5498. };
  5499. static const struct hash_testvec hmac_streebog512_tv_template[] = {
  5500. {
  5501. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  5502. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  5503. "\x10\x11\x12\x13\x14\x15\x16\x17"
  5504. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  5505. .ksize = 32,
  5506. .plaintext =
  5507. "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
  5508. "\x43\x41\x45\x65\x63\x78\x01\x00",
  5509. .psize = 16,
  5510. .digest =
  5511. "\xa5\x9b\xab\x22\xec\xae\x19\xc6"
  5512. "\x5f\xbd\xe6\xe5\xf4\xe9\xf5\xd8"
  5513. "\x54\x9d\x31\xf0\x37\xf9\xdf\x9b"
  5514. "\x90\x55\x00\xe1\x71\x92\x3a\x77"
  5515. "\x3d\x5f\x15\x30\xf2\xed\x7e\x96"
  5516. "\x4c\xb2\xee\xdc\x29\xe9\xad\x2f"
  5517. "\x3a\xfe\x93\xb2\x81\x4f\x79\xf5"
  5518. "\x00\x0f\xfc\x03\x66\xc2\x51\xe6",
  5519. },
  5520. };
  5521. /*
  5522. * SM2 test vectors.
  5523. */
  5524. static const struct akcipher_testvec sm2_tv_template[] = {
  5525. { /* Generated from openssl */
  5526. .key =
  5527. "\x04"
  5528. "\x8e\xa0\x33\x69\x91\x7e\x3d\xec\xad\x8e\xf0\x45\x5e\x13\x3e\x68"
  5529. "\x5b\x8c\xab\x5c\xc6\xc8\x50\xdf\x91\x00\xe0\x24\x73\x4d\x31\xf2"
  5530. "\x2e\xc0\xd5\x6b\xee\xda\x98\x93\xec\xd8\x36\xaa\xb9\xcf\x63\x82"
  5531. "\xef\xa7\x1a\x03\xed\x16\xba\x74\xb8\x8b\xf9\xe5\x70\x39\xa4\x70",
  5532. .key_len = 65,
  5533. .param_len = 0,
  5534. .c =
  5535. "\x30\x45"
  5536. "\x02\x20"
  5537. "\x70\xab\xb6\x7d\xd6\x54\x80\x64\x42\x7e\x2d\x05\x08\x36\xc9\x96"
  5538. "\x25\xc2\xbb\xff\x08\xe5\x43\x15\x5e\xf3\x06\xd9\x2b\x2f\x0a\x9f"
  5539. "\x02\x21"
  5540. "\x00"
  5541. "\xbf\x21\x5f\x7e\x5d\x3f\x1a\x4d\x8f\x84\xc2\xe9\xa6\x4c\xa4\x18"
  5542. "\xb2\xb8\x46\xf4\x32\x96\xfa\x57\xc6\x29\xd4\x89\xae\xcc\xda\xdb",
  5543. .c_size = 71,
  5544. .algo = OID_SM2_with_SM3,
  5545. .m =
  5546. "\x47\xa7\xbf\xd3\xda\xc4\x79\xee\xda\x8b\x4f\xe8\x40\x94\xd4\x32"
  5547. "\x8f\xf1\xcd\x68\x4d\xbd\x9b\x1d\xe0\xd8\x9a\x5d\xad\x85\x47\x5c",
  5548. .m_size = 32,
  5549. .public_key_vec = true,
  5550. .siggen_sigver_test = true,
  5551. },
  5552. { /* From libgcrypt */
  5553. .key =
  5554. "\x04"
  5555. "\x87\x59\x38\x9a\x34\xaa\xad\x07\xec\xf4\xe0\xc8\xc2\x65\x0a\x44"
  5556. "\x59\xc8\xd9\x26\xee\x23\x78\x32\x4e\x02\x61\xc5\x25\x38\xcb\x47"
  5557. "\x75\x28\x10\x6b\x1e\x0b\x7c\x8d\xd5\xff\x29\xa9\xc8\x6a\x89\x06"
  5558. "\x56\x56\xeb\x33\x15\x4b\xc0\x55\x60\x91\xef\x8a\xc9\xd1\x7d\x78",
  5559. .key_len = 65,
  5560. .param_len = 0,
  5561. .c =
  5562. "\x30\x44"
  5563. "\x02\x20"
  5564. "\xd9\xec\xef\xe8\x5f\xee\x3c\x59\x57\x8e\x5b\xab\xb3\x02\xe1\x42"
  5565. "\x4b\x67\x2c\x0b\x26\xb6\x51\x2c\x3e\xfc\xc6\x49\xec\xfe\x89\xe5"
  5566. "\x02\x20"
  5567. "\x43\x45\xd0\xa5\xff\xe5\x13\x27\x26\xd0\xec\x37\xad\x24\x1e\x9a"
  5568. "\x71\x9a\xa4\x89\xb0\x7e\x0f\xc4\xbb\x2d\x50\xd0\xe5\x7f\x7a\x68",
  5569. .c_size = 70,
  5570. .algo = OID_SM2_with_SM3,
  5571. .m =
  5572. "\x11\x22\x33\x44\x55\x66\x77\x88\x99\xaa\xbb\xcc\xdd\xee\xff\x00"
  5573. "\x12\x34\x56\x78\x9a\xbc\xde\xf0\x12\x34\x56\x78\x9a\xbc\xde\xf0",
  5574. .m_size = 32,
  5575. .public_key_vec = true,
  5576. .siggen_sigver_test = true,
  5577. },
  5578. };
  5579. /* Example vectors below taken from
  5580. * http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
  5581. *
  5582. * The rest taken from
  5583. * https://github.com/adamws/oscca-sm3
  5584. */
  5585. static const struct hash_testvec sm3_tv_template[] = {
  5586. {
  5587. .plaintext = "",
  5588. .psize = 0,
  5589. .digest = (u8 *)(u8 []) {
  5590. 0x1A, 0xB2, 0x1D, 0x83, 0x55, 0xCF, 0xA1, 0x7F,
  5591. 0x8e, 0x61, 0x19, 0x48, 0x31, 0xE8, 0x1A, 0x8F,
  5592. 0x22, 0xBE, 0xC8, 0xC7, 0x28, 0xFE, 0xFB, 0x74,
  5593. 0x7E, 0xD0, 0x35, 0xEB, 0x50, 0x82, 0xAA, 0x2B }
  5594. }, {
  5595. .plaintext = "a",
  5596. .psize = 1,
  5597. .digest = (u8 *)(u8 []) {
  5598. 0x62, 0x34, 0x76, 0xAC, 0x18, 0xF6, 0x5A, 0x29,
  5599. 0x09, 0xE4, 0x3C, 0x7F, 0xEC, 0x61, 0xB4, 0x9C,
  5600. 0x7E, 0x76, 0x4A, 0x91, 0xA1, 0x8C, 0xCB, 0x82,
  5601. 0xF1, 0x91, 0x7A, 0x29, 0xC8, 0x6C, 0x5E, 0x88 }
  5602. }, {
  5603. /* A.1. Example 1 */
  5604. .plaintext = "abc",
  5605. .psize = 3,
  5606. .digest = (u8 *)(u8 []) {
  5607. 0x66, 0xC7, 0xF0, 0xF4, 0x62, 0xEE, 0xED, 0xD9,
  5608. 0xD1, 0xF2, 0xD4, 0x6B, 0xDC, 0x10, 0xE4, 0xE2,
  5609. 0x41, 0x67, 0xC4, 0x87, 0x5C, 0xF2, 0xF7, 0xA2,
  5610. 0x29, 0x7D, 0xA0, 0x2B, 0x8F, 0x4B, 0xA8, 0xE0 }
  5611. }, {
  5612. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  5613. .psize = 26,
  5614. .digest = (u8 *)(u8 []) {
  5615. 0xB8, 0x0F, 0xE9, 0x7A, 0x4D, 0xA2, 0x4A, 0xFC,
  5616. 0x27, 0x75, 0x64, 0xF6, 0x6A, 0x35, 0x9E, 0xF4,
  5617. 0x40, 0x46, 0x2A, 0xD2, 0x8D, 0xCC, 0x6D, 0x63,
  5618. 0xAD, 0xB2, 0x4D, 0x5C, 0x20, 0xA6, 0x15, 0x95 }
  5619. }, {
  5620. /* A.1. Example 2 */
  5621. .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdab"
  5622. "cdabcdabcdabcdabcd",
  5623. .psize = 64,
  5624. .digest = (u8 *)(u8 []) {
  5625. 0xDE, 0xBE, 0x9F, 0xF9, 0x22, 0x75, 0xB8, 0xA1,
  5626. 0x38, 0x60, 0x48, 0x89, 0xC1, 0x8E, 0x5A, 0x4D,
  5627. 0x6F, 0xDB, 0x70, 0xE5, 0x38, 0x7E, 0x57, 0x65,
  5628. 0x29, 0x3D, 0xCB, 0xA3, 0x9C, 0x0C, 0x57, 0x32 }
  5629. }, {
  5630. .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  5631. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  5632. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  5633. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  5634. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  5635. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  5636. "abcdabcdabcdabcdabcdabcdabcdabcd",
  5637. .psize = 256,
  5638. .digest = (u8 *)(u8 []) {
  5639. 0xB9, 0x65, 0x76, 0x4C, 0x8B, 0xEB, 0xB0, 0x91,
  5640. 0xC7, 0x60, 0x2B, 0x74, 0xAF, 0xD3, 0x4E, 0xEF,
  5641. 0xB5, 0x31, 0xDC, 0xCB, 0x4E, 0x00, 0x76, 0xD9,
  5642. 0xB7, 0xCD, 0x81, 0x31, 0x99, 0xB4, 0x59, 0x71 }
  5643. }
  5644. };
  5645. /* Example vectors below taken from
  5646. * GM/T 0042-2015 Appendix D.3
  5647. */
  5648. static const struct hash_testvec hmac_sm3_tv_template[] = {
  5649. {
  5650. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  5651. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  5652. "\x11\x12\x13\x14\x15\x16\x17\x18"
  5653. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
  5654. .ksize = 32,
  5655. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
  5656. "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  5657. .psize = 112,
  5658. .digest = "\xca\x05\xe1\x44\xed\x05\xd1\x85"
  5659. "\x78\x40\xd1\xf3\x18\xa4\xa8\x66"
  5660. "\x9e\x55\x9f\xc8\x39\x1f\x41\x44"
  5661. "\x85\xbf\xdf\x7b\xb4\x08\x96\x3a",
  5662. }, {
  5663. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  5664. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  5665. "\x11\x12\x13\x14\x15\x16\x17\x18"
  5666. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  5667. "\x21\x22\x23\x24\x25",
  5668. .ksize = 37,
  5669. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5670. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5671. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5672. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  5673. .psize = 50,
  5674. .digest = "\x22\x0b\xf5\x79\xde\xd5\x55\x39"
  5675. "\x3f\x01\x59\xf6\x6c\x99\x87\x78"
  5676. "\x22\xa3\xec\xf6\x10\xd1\x55\x21"
  5677. "\x54\xb4\x1d\x44\xb9\x4d\xb3\xae",
  5678. }, {
  5679. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  5680. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  5681. "\x0b\x0b\x0b\x0b\x0b\x0b",
  5682. .ksize = 32,
  5683. .plaintext = "Hi There",
  5684. .psize = 8,
  5685. .digest = "\xc0\xba\x18\xc6\x8b\x90\xc8\x8b"
  5686. "\xc0\x7d\xe7\x94\xbf\xc7\xd2\xc8"
  5687. "\xd1\x9e\xc3\x1e\xd8\x77\x3b\xc2"
  5688. "\xb3\x90\xc9\x60\x4e\x0b\xe1\x1e",
  5689. }, {
  5690. .key = "Jefe",
  5691. .ksize = 4,
  5692. .plaintext = "what do ya want for nothing?",
  5693. .psize = 28,
  5694. .digest = "\x2e\x87\xf1\xd1\x68\x62\xe6\xd9"
  5695. "\x64\xb5\x0a\x52\x00\xbf\x2b\x10"
  5696. "\xb7\x64\xfa\xa9\x68\x0a\x29\x6a"
  5697. "\x24\x05\xf2\x4b\xec\x39\xf8\x82",
  5698. },
  5699. };
  5700. /*
  5701. * SHA1 test vectors from FIPS PUB 180-1
  5702. * Long vector from CAVS 5.0
  5703. */
  5704. static const struct hash_testvec sha1_tv_template[] = {
  5705. {
  5706. .plaintext = "",
  5707. .psize = 0,
  5708. .digest = "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
  5709. "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
  5710. }, {
  5711. .plaintext = "abc",
  5712. .psize = 3,
  5713. .digest = "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
  5714. "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
  5715. }, {
  5716. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  5717. .psize = 56,
  5718. .digest = "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
  5719. "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
  5720. }, {
  5721. .plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
  5722. "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
  5723. "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
  5724. "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
  5725. "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
  5726. "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
  5727. "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
  5728. "\x72\x28\x26\xc0\x66\x86\x9e\xda"
  5729. "\xcd\x73\xb2\x54\x80\x35\x18\x58"
  5730. "\x13\xe2\x26\x34\xa9\xda\x44\x00"
  5731. "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
  5732. "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
  5733. "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
  5734. "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
  5735. "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
  5736. "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
  5737. "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
  5738. "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
  5739. "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
  5740. "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
  5741. "\x5a\x90\x11",
  5742. .psize = 163,
  5743. .digest = "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
  5744. "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
  5745. }, {
  5746. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
  5747. .psize = 64,
  5748. .digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
  5749. "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
  5750. }, {
  5751. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  5752. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  5753. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  5754. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  5755. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  5756. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  5757. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  5758. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  5759. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  5760. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  5761. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  5762. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  5763. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  5764. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  5765. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  5766. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  5767. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  5768. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  5769. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  5770. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  5771. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  5772. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  5773. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  5774. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  5775. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  5776. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  5777. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  5778. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  5779. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  5780. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  5781. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  5782. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  5783. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  5784. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  5785. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  5786. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  5787. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  5788. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  5789. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  5790. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  5791. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  5792. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  5793. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  5794. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  5795. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  5796. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  5797. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  5798. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  5799. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  5800. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  5801. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  5802. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  5803. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  5804. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  5805. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  5806. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  5807. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  5808. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  5809. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  5810. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  5811. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  5812. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  5813. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  5814. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  5815. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  5816. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  5817. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  5818. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  5819. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  5820. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  5821. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  5822. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  5823. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  5824. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  5825. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  5826. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  5827. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  5828. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  5829. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  5830. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  5831. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  5832. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  5833. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  5834. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  5835. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  5836. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  5837. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  5838. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  5839. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  5840. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  5841. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  5842. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  5843. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  5844. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  5845. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  5846. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  5847. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  5848. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  5849. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  5850. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  5851. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  5852. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  5853. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  5854. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  5855. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  5856. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  5857. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  5858. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  5859. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  5860. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  5861. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  5862. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  5863. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  5864. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  5865. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  5866. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  5867. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  5868. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  5869. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  5870. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  5871. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  5872. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  5873. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  5874. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  5875. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  5876. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  5877. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  5878. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  5879. .psize = 1023,
  5880. .digest = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
  5881. "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
  5882. "\x30\xd6\xc9\x85",
  5883. }
  5884. };
  5885. /*
  5886. * SHA224 test vectors from FIPS PUB 180-2
  5887. */
  5888. static const struct hash_testvec sha224_tv_template[] = {
  5889. {
  5890. .plaintext = "",
  5891. .psize = 0,
  5892. .digest = "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
  5893. "\x47\x61\x02\xbb\x28\x82\x34\xc4"
  5894. "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
  5895. "\xc5\xb3\xe4\x2f",
  5896. }, {
  5897. .plaintext = "abc",
  5898. .psize = 3,
  5899. .digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
  5900. "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
  5901. "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
  5902. "\xE3\x6C\x9D\xA7",
  5903. }, {
  5904. .plaintext =
  5905. "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  5906. .psize = 56,
  5907. .digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
  5908. "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
  5909. "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
  5910. "\x52\x52\x25\x25",
  5911. }, {
  5912. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
  5913. .psize = 64,
  5914. .digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
  5915. "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
  5916. "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
  5917. "\xef\x3b\xcb\x0e",
  5918. }, {
  5919. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  5920. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  5921. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  5922. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  5923. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  5924. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  5925. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  5926. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  5927. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  5928. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  5929. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  5930. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  5931. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  5932. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  5933. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  5934. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  5935. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  5936. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  5937. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  5938. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  5939. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  5940. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  5941. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  5942. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  5943. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  5944. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  5945. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  5946. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  5947. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  5948. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  5949. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  5950. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  5951. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  5952. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  5953. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  5954. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  5955. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  5956. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  5957. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  5958. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  5959. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  5960. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  5961. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  5962. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  5963. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  5964. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  5965. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  5966. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  5967. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  5968. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  5969. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  5970. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  5971. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  5972. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  5973. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  5974. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  5975. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  5976. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  5977. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  5978. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  5979. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  5980. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  5981. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  5982. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  5983. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  5984. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  5985. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  5986. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  5987. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  5988. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  5989. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  5990. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  5991. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  5992. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  5993. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  5994. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  5995. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  5996. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  5997. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  5998. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  5999. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  6000. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  6001. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  6002. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  6003. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  6004. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  6005. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  6006. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  6007. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  6008. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  6009. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  6010. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  6011. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  6012. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  6013. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  6014. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  6015. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  6016. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  6017. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  6018. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  6019. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  6020. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  6021. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  6022. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  6023. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  6024. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  6025. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  6026. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  6027. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  6028. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  6029. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  6030. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  6031. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  6032. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  6033. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  6034. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  6035. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  6036. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  6037. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  6038. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  6039. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  6040. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  6041. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  6042. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  6043. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  6044. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  6045. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  6046. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  6047. .psize = 1023,
  6048. .digest = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
  6049. "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
  6050. "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
  6051. "\xe6\xf9\x4f\xcc",
  6052. }
  6053. };
  6054. /*
  6055. * SHA256 test vectors from NIST
  6056. */
  6057. static const struct hash_testvec sha256_tv_template[] = {
  6058. {
  6059. .plaintext = "",
  6060. .psize = 0,
  6061. .digest = "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
  6062. "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
  6063. "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
  6064. "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
  6065. }, {
  6066. .plaintext = "abc",
  6067. .psize = 3,
  6068. .digest = "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
  6069. "\x41\x41\x40\xde\x5d\xae\x22\x23"
  6070. "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
  6071. "\xb4\x10\xff\x61\xf2\x00\x15\xad",
  6072. }, {
  6073. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  6074. .psize = 56,
  6075. .digest = "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
  6076. "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
  6077. "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
  6078. "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
  6079. }, {
  6080. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
  6081. .psize = 64,
  6082. .digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
  6083. "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
  6084. "\xd6\xff\x94\xa3\x72\x91\x85\x66"
  6085. "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
  6086. }, {
  6087. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  6088. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  6089. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  6090. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  6091. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  6092. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  6093. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  6094. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  6095. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  6096. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  6097. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  6098. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  6099. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  6100. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  6101. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  6102. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  6103. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  6104. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  6105. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  6106. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  6107. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  6108. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  6109. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  6110. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  6111. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  6112. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  6113. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  6114. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  6115. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  6116. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  6117. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  6118. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  6119. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  6120. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  6121. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  6122. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  6123. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  6124. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  6125. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  6126. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  6127. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  6128. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  6129. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  6130. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  6131. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  6132. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  6133. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  6134. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  6135. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  6136. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  6137. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  6138. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  6139. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  6140. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  6141. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  6142. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  6143. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  6144. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  6145. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  6146. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  6147. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  6148. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  6149. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  6150. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  6151. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  6152. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  6153. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  6154. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  6155. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  6156. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  6157. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  6158. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  6159. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  6160. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  6161. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  6162. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  6163. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  6164. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  6165. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  6166. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  6167. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  6168. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  6169. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  6170. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  6171. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  6172. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  6173. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  6174. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  6175. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  6176. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  6177. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  6178. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  6179. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  6180. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  6181. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  6182. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  6183. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  6184. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  6185. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  6186. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  6187. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  6188. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  6189. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  6190. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  6191. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  6192. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  6193. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  6194. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  6195. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  6196. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  6197. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  6198. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  6199. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  6200. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  6201. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  6202. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  6203. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  6204. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  6205. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  6206. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  6207. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  6208. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  6209. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  6210. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  6211. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  6212. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  6213. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  6214. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  6215. .psize = 1023,
  6216. .digest = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
  6217. "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
  6218. "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
  6219. "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
  6220. }
  6221. };
  6222. /*
  6223. * SHA384 test vectors from NIST and kerneli
  6224. */
  6225. static const struct hash_testvec sha384_tv_template[] = {
  6226. {
  6227. .plaintext = "",
  6228. .psize = 0,
  6229. .digest = "\x38\xb0\x60\xa7\x51\xac\x96\x38"
  6230. "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
  6231. "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
  6232. "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
  6233. "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
  6234. "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
  6235. }, {
  6236. .plaintext= "abc",
  6237. .psize = 3,
  6238. .digest = "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
  6239. "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
  6240. "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
  6241. "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
  6242. "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
  6243. "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
  6244. }, {
  6245. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  6246. .psize = 56,
  6247. .digest = "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
  6248. "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
  6249. "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
  6250. "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
  6251. "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
  6252. "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
  6253. }, {
  6254. .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
  6255. "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
  6256. .psize = 112,
  6257. .digest = "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
  6258. "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
  6259. "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
  6260. "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
  6261. "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
  6262. "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
  6263. }, {
  6264. .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
  6265. "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
  6266. .psize = 104,
  6267. .digest = "\x3d\x20\x89\x73\xab\x35\x08\xdb"
  6268. "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
  6269. "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
  6270. "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
  6271. "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
  6272. "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
  6273. }, {
  6274. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  6275. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  6276. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  6277. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  6278. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  6279. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  6280. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  6281. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  6282. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  6283. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  6284. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  6285. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  6286. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  6287. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  6288. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  6289. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  6290. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  6291. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  6292. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  6293. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  6294. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  6295. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  6296. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  6297. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  6298. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  6299. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  6300. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  6301. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  6302. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  6303. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  6304. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  6305. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  6306. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  6307. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  6308. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  6309. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  6310. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  6311. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  6312. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  6313. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  6314. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  6315. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  6316. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  6317. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  6318. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  6319. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  6320. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  6321. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  6322. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  6323. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  6324. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  6325. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  6326. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  6327. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  6328. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  6329. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  6330. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  6331. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  6332. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  6333. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  6334. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  6335. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  6336. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  6337. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  6338. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  6339. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  6340. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  6341. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  6342. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  6343. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  6344. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  6345. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  6346. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  6347. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  6348. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  6349. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  6350. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  6351. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  6352. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  6353. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  6354. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  6355. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  6356. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  6357. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  6358. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  6359. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  6360. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  6361. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  6362. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  6363. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  6364. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  6365. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  6366. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  6367. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  6368. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  6369. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  6370. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  6371. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  6372. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  6373. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  6374. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  6375. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  6376. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  6377. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  6378. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  6379. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  6380. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  6381. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  6382. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  6383. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  6384. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  6385. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  6386. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  6387. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  6388. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  6389. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  6390. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  6391. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  6392. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  6393. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  6394. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  6395. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  6396. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  6397. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  6398. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  6399. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  6400. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  6401. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  6402. .psize = 1023,
  6403. .digest = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
  6404. "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
  6405. "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
  6406. "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
  6407. "\x75\x29\x62\x83\xae\x3f\x17\xab"
  6408. "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
  6409. }
  6410. };
  6411. /*
  6412. * SHA512 test vectors from NIST and kerneli
  6413. */
  6414. static const struct hash_testvec sha512_tv_template[] = {
  6415. {
  6416. .plaintext = "",
  6417. .psize = 0,
  6418. .digest = "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
  6419. "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
  6420. "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
  6421. "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
  6422. "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
  6423. "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
  6424. "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
  6425. "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
  6426. }, {
  6427. .plaintext = "abc",
  6428. .psize = 3,
  6429. .digest = "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
  6430. "\xcc\x41\x73\x49\xae\x20\x41\x31"
  6431. "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
  6432. "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
  6433. "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
  6434. "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
  6435. "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
  6436. "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
  6437. }, {
  6438. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  6439. .psize = 56,
  6440. .digest = "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
  6441. "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
  6442. "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
  6443. "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
  6444. "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
  6445. "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
  6446. "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
  6447. "\x54\xec\x63\x12\x38\xca\x34\x45",
  6448. }, {
  6449. .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
  6450. "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
  6451. .psize = 112,
  6452. .digest = "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
  6453. "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
  6454. "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
  6455. "\x72\x99\xae\xad\xb6\x88\x90\x18"
  6456. "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
  6457. "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
  6458. "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
  6459. "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
  6460. }, {
  6461. .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
  6462. "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
  6463. .psize = 104,
  6464. .digest = "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
  6465. "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
  6466. "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
  6467. "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
  6468. "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
  6469. "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
  6470. "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
  6471. "\xed\xb4\x19\x87\x23\x28\x50\xc9",
  6472. }, {
  6473. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  6474. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  6475. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  6476. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  6477. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  6478. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  6479. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  6480. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  6481. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  6482. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  6483. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  6484. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  6485. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  6486. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  6487. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  6488. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  6489. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  6490. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  6491. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  6492. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  6493. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  6494. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  6495. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  6496. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  6497. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  6498. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  6499. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  6500. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  6501. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  6502. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  6503. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  6504. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  6505. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  6506. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  6507. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  6508. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  6509. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  6510. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  6511. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  6512. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  6513. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  6514. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  6515. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  6516. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  6517. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  6518. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  6519. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  6520. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  6521. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  6522. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  6523. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  6524. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  6525. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  6526. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  6527. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  6528. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  6529. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  6530. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  6531. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  6532. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  6533. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  6534. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  6535. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  6536. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  6537. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  6538. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  6539. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  6540. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  6541. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  6542. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  6543. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  6544. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  6545. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  6546. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  6547. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  6548. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  6549. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  6550. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  6551. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  6552. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  6553. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  6554. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  6555. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  6556. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  6557. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  6558. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  6559. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  6560. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  6561. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  6562. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  6563. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  6564. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  6565. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  6566. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  6567. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  6568. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  6569. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  6570. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  6571. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  6572. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  6573. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  6574. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  6575. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  6576. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  6577. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  6578. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  6579. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  6580. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  6581. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  6582. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  6583. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  6584. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  6585. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  6586. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  6587. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  6588. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  6589. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  6590. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  6591. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  6592. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  6593. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  6594. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  6595. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  6596. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  6597. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  6598. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  6599. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  6600. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  6601. .psize = 1023,
  6602. .digest = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
  6603. "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
  6604. "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
  6605. "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
  6606. "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
  6607. "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
  6608. "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
  6609. "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
  6610. }
  6611. };
  6612. /*
  6613. * WHIRLPOOL test vectors from Whirlpool package
  6614. * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
  6615. * submission
  6616. */
  6617. static const struct hash_testvec wp512_tv_template[] = {
  6618. {
  6619. .plaintext = "",
  6620. .psize = 0,
  6621. .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
  6622. "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
  6623. "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
  6624. "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
  6625. "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
  6626. "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
  6627. "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
  6628. "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
  6629. }, {
  6630. .plaintext = "a",
  6631. .psize = 1,
  6632. .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
  6633. "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
  6634. "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
  6635. "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
  6636. "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
  6637. "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
  6638. "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
  6639. "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
  6640. }, {
  6641. .plaintext = "abc",
  6642. .psize = 3,
  6643. .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
  6644. "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
  6645. "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
  6646. "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
  6647. "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
  6648. "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
  6649. "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
  6650. "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
  6651. }, {
  6652. .plaintext = "message digest",
  6653. .psize = 14,
  6654. .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
  6655. "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
  6656. "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
  6657. "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
  6658. "\x84\x21\x55\x76\x59\xEF\x55\xC1"
  6659. "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
  6660. "\x92\xED\x92\x00\x52\x83\x8F\x33"
  6661. "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
  6662. }, {
  6663. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  6664. .psize = 26,
  6665. .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
  6666. "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
  6667. "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
  6668. "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
  6669. "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
  6670. "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
  6671. "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
  6672. "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
  6673. }, {
  6674. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  6675. "abcdefghijklmnopqrstuvwxyz0123456789",
  6676. .psize = 62,
  6677. .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
  6678. "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
  6679. "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
  6680. "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
  6681. "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
  6682. "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
  6683. "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
  6684. "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
  6685. }, {
  6686. .plaintext = "1234567890123456789012345678901234567890"
  6687. "1234567890123456789012345678901234567890",
  6688. .psize = 80,
  6689. .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
  6690. "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
  6691. "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
  6692. "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
  6693. "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
  6694. "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
  6695. "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
  6696. "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
  6697. }, {
  6698. .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
  6699. .psize = 32,
  6700. .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
  6701. "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
  6702. "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
  6703. "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
  6704. "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
  6705. "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
  6706. "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
  6707. "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
  6708. },
  6709. };
  6710. static const struct hash_testvec wp384_tv_template[] = {
  6711. {
  6712. .plaintext = "",
  6713. .psize = 0,
  6714. .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
  6715. "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
  6716. "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
  6717. "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
  6718. "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
  6719. "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
  6720. }, {
  6721. .plaintext = "a",
  6722. .psize = 1,
  6723. .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
  6724. "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
  6725. "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
  6726. "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
  6727. "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
  6728. "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
  6729. }, {
  6730. .plaintext = "abc",
  6731. .psize = 3,
  6732. .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
  6733. "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
  6734. "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
  6735. "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
  6736. "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
  6737. "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
  6738. }, {
  6739. .plaintext = "message digest",
  6740. .psize = 14,
  6741. .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
  6742. "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
  6743. "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
  6744. "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
  6745. "\x84\x21\x55\x76\x59\xEF\x55\xC1"
  6746. "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
  6747. }, {
  6748. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  6749. .psize = 26,
  6750. .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
  6751. "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
  6752. "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
  6753. "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
  6754. "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
  6755. "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
  6756. }, {
  6757. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  6758. "abcdefghijklmnopqrstuvwxyz0123456789",
  6759. .psize = 62,
  6760. .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
  6761. "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
  6762. "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
  6763. "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
  6764. "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
  6765. "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
  6766. }, {
  6767. .plaintext = "1234567890123456789012345678901234567890"
  6768. "1234567890123456789012345678901234567890",
  6769. .psize = 80,
  6770. .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
  6771. "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
  6772. "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
  6773. "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
  6774. "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
  6775. "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
  6776. }, {
  6777. .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
  6778. .psize = 32,
  6779. .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
  6780. "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
  6781. "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
  6782. "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
  6783. "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
  6784. "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
  6785. },
  6786. };
  6787. static const struct hash_testvec wp256_tv_template[] = {
  6788. {
  6789. .plaintext = "",
  6790. .psize = 0,
  6791. .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
  6792. "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
  6793. "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
  6794. "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
  6795. }, {
  6796. .plaintext = "a",
  6797. .psize = 1,
  6798. .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
  6799. "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
  6800. "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
  6801. "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
  6802. }, {
  6803. .plaintext = "abc",
  6804. .psize = 3,
  6805. .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
  6806. "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
  6807. "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
  6808. "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
  6809. }, {
  6810. .plaintext = "message digest",
  6811. .psize = 14,
  6812. .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
  6813. "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
  6814. "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
  6815. "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
  6816. }, {
  6817. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  6818. .psize = 26,
  6819. .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
  6820. "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
  6821. "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
  6822. "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
  6823. }, {
  6824. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  6825. "abcdefghijklmnopqrstuvwxyz0123456789",
  6826. .psize = 62,
  6827. .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
  6828. "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
  6829. "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
  6830. "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
  6831. }, {
  6832. .plaintext = "1234567890123456789012345678901234567890"
  6833. "1234567890123456789012345678901234567890",
  6834. .psize = 80,
  6835. .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
  6836. "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
  6837. "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
  6838. "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
  6839. }, {
  6840. .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
  6841. .psize = 32,
  6842. .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
  6843. "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
  6844. "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
  6845. "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
  6846. },
  6847. };
  6848. static const struct hash_testvec ghash_tv_template[] =
  6849. {
  6850. {
  6851. .key = "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
  6852. "\xff\xca\xff\x95\xf8\x30\xf0\x61",
  6853. .ksize = 16,
  6854. .plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
  6855. "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
  6856. .psize = 16,
  6857. .digest = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
  6858. "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
  6859. }, {
  6860. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  6861. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
  6862. .ksize = 16,
  6863. .plaintext = "what do ya want for nothing?",
  6864. .psize = 28,
  6865. .digest = "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
  6866. "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
  6867. }, {
  6868. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6869. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  6870. .ksize = 16,
  6871. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  6872. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  6873. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  6874. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  6875. .psize = 50,
  6876. .digest = "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
  6877. "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
  6878. }, {
  6879. .key = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
  6880. "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
  6881. .ksize = 16,
  6882. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  6883. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  6884. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  6885. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  6886. .psize = 50,
  6887. .digest = "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
  6888. "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
  6889. }, {
  6890. .key = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
  6891. "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
  6892. .ksize = 16,
  6893. .plaintext = "Test With Truncation",
  6894. .psize = 20,
  6895. .digest = "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
  6896. "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
  6897. }, {
  6898. .key = "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
  6899. "\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
  6900. .ksize = 16,
  6901. .plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
  6902. "\x65\x72\x20\x4c\x61\x75\x73\x63"
  6903. "\x68\x65\x6e\x20\x75\x6e\x64\x20"
  6904. "\x53\x74\x61\x75\x6e\x65\x6e\x20"
  6905. "\x73\x65\x69\x20\x73\x74\x69\x6c"
  6906. "\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
  6907. "\x69\x6e\x20\x74\x69\x65\x66\x74"
  6908. "\x69\x65\x66\x65\x73\x20\x4c\x65"
  6909. "\x62\x65\x6e\x3b\x0a\x64\x61\x73"
  6910. "\x73\x20\x64\x75\x20\x77\x65\x69"
  6911. "\xc3\x9f\x74\x20\x77\x61\x73\x20"
  6912. "\x64\x65\x72\x20\x57\x69\x6e\x64"
  6913. "\x20\x64\x69\x72\x20\x77\x69\x6c"
  6914. "\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
  6915. "\x63\x68\x20\x64\x69\x65\x20\x42"
  6916. "\x69\x72\x6b\x65\x6e\x20\x62\x65"
  6917. "\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
  6918. "\x64\x20\x77\x65\x6e\x6e\x20\x64"
  6919. "\x69\x72\x20\x65\x69\x6e\x6d\x61"
  6920. "\x6c\x20\x64\x61\x73\x20\x53\x63"
  6921. "\x68\x77\x65\x69\x67\x65\x6e\x20"
  6922. "\x73\x70\x72\x61\x63\x68\x2c\x0a"
  6923. "\x6c\x61\x73\x73\x20\x64\x65\x69"
  6924. "\x6e\x65\x20\x53\x69\x6e\x6e\x65"
  6925. "\x20\x62\x65\x73\x69\x65\x67\x65"
  6926. "\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
  6927. "\x20\x48\x61\x75\x63\x68\x65\x20"
  6928. "\x67\x69\x62\x74\x20\x64\x69\x63"
  6929. "\x68\x2c\x20\x67\x69\x62\x20\x6e"
  6930. "\x61\x63\x68\x2c\x0a\x65\x72\x20"
  6931. "\x77\x69\x72\x64\x20\x64\x69\x63"
  6932. "\x68\x20\x6c\x69\x65\x62\x65\x6e"
  6933. "\x20\x75\x6e\x64\x20\x77\x69\x65"
  6934. "\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
  6935. "\x64\x20\x64\x61\x6e\x6e\x20\x6d"
  6936. "\x65\x69\x6e\x65\x20\x53\x65\x65"
  6937. "\x6c\x65\x20\x73\x65\x69\x74\x20"
  6938. "\x77\x65\x69\x74\x2c\x20\x73\x65"
  6939. "\x69\x20\x77\x65\x69\x74\x2c\x0a"
  6940. "\x64\x61\x73\x73\x20\x64\x69\x72"
  6941. "\x20\x64\x61\x73\x20\x4c\x65\x62"
  6942. "\x65\x6e\x20\x67\x65\x6c\x69\x6e"
  6943. "\x67\x65\x2c\x0a\x62\x72\x65\x69"
  6944. "\x74\x65\x20\x64\x69\x63\x68\x20"
  6945. "\x77\x69\x65\x20\x65\x69\x6e\x20"
  6946. "\x46\x65\x69\x65\x72\x6b\x6c\x65"
  6947. "\x69\x64\x0a\xc3\xbc\x62\x65\x72"
  6948. "\x20\x64\x69\x65\x20\x73\x69\x6e"
  6949. "\x6e\x65\x6e\x64\x65\x6e\x20\x44"
  6950. "\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
  6951. .psize = 400,
  6952. .digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
  6953. "\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
  6954. },
  6955. };
  6956. /*
  6957. * HMAC-MD5 test vectors from RFC2202
  6958. * (These need to be fixed to not use strlen).
  6959. */
  6960. static const struct hash_testvec hmac_md5_tv_template[] =
  6961. {
  6962. {
  6963. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
  6964. .ksize = 16,
  6965. .plaintext = "Hi There",
  6966. .psize = 8,
  6967. .digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
  6968. "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
  6969. }, {
  6970. .key = "Jefe",
  6971. .ksize = 4,
  6972. .plaintext = "what do ya want for nothing?",
  6973. .psize = 28,
  6974. .digest = "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
  6975. "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
  6976. }, {
  6977. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  6978. .ksize = 16,
  6979. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  6980. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  6981. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  6982. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  6983. .psize = 50,
  6984. .digest = "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
  6985. "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
  6986. }, {
  6987. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  6988. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  6989. "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
  6990. .ksize = 25,
  6991. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  6992. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  6993. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  6994. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  6995. .psize = 50,
  6996. .digest = "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
  6997. "\x3a\x75\x16\x47\x46\xff\xaa\x79",
  6998. }, {
  6999. .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
  7000. .ksize = 16,
  7001. .plaintext = "Test With Truncation",
  7002. .psize = 20,
  7003. .digest = "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
  7004. "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
  7005. }, {
  7006. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7007. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7008. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7009. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7010. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7011. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7012. "\xaa\xaa",
  7013. .ksize = 80,
  7014. .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
  7015. .psize = 54,
  7016. .digest = "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
  7017. "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
  7018. }, {
  7019. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7020. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7021. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7022. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7023. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7024. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7025. "\xaa\xaa",
  7026. .ksize = 80,
  7027. .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
  7028. "Block-Size Data",
  7029. .psize = 73,
  7030. .digest = "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
  7031. "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
  7032. },
  7033. };
  7034. /*
  7035. * HMAC-RIPEMD160 test vectors from RFC2286
  7036. */
  7037. static const struct hash_testvec hmac_rmd160_tv_template[] = {
  7038. {
  7039. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
  7040. .ksize = 20,
  7041. .plaintext = "Hi There",
  7042. .psize = 8,
  7043. .digest = "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
  7044. "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
  7045. }, {
  7046. .key = "Jefe",
  7047. .ksize = 4,
  7048. .plaintext = "what do ya want for nothing?",
  7049. .psize = 28,
  7050. .digest = "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
  7051. "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
  7052. }, {
  7053. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  7054. .ksize = 20,
  7055. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7056. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7057. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7058. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  7059. .psize = 50,
  7060. .digest = "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
  7061. "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
  7062. }, {
  7063. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  7064. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  7065. "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
  7066. .ksize = 25,
  7067. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7068. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7069. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7070. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  7071. .psize = 50,
  7072. .digest = "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
  7073. "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
  7074. }, {
  7075. .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
  7076. .ksize = 20,
  7077. .plaintext = "Test With Truncation",
  7078. .psize = 20,
  7079. .digest = "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
  7080. "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
  7081. }, {
  7082. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7083. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7084. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7085. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7086. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7087. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7088. "\xaa\xaa",
  7089. .ksize = 80,
  7090. .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
  7091. .psize = 54,
  7092. .digest = "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
  7093. "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
  7094. }, {
  7095. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7096. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7097. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7098. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7099. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7100. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7101. "\xaa\xaa",
  7102. .ksize = 80,
  7103. .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
  7104. "Block-Size Data",
  7105. .psize = 73,
  7106. .digest = "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
  7107. "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
  7108. },
  7109. };
  7110. /*
  7111. * HMAC-SHA1 test vectors from RFC2202
  7112. */
  7113. static const struct hash_testvec hmac_sha1_tv_template[] = {
  7114. {
  7115. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
  7116. .ksize = 20,
  7117. .plaintext = "Hi There",
  7118. .psize = 8,
  7119. .digest = "\xb6\x17\x31\x86\x55\x05\x72\x64"
  7120. "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
  7121. "\x46\xbe",
  7122. }, {
  7123. .key = "Jefe",
  7124. .ksize = 4,
  7125. .plaintext = "what do ya want for nothing?",
  7126. .psize = 28,
  7127. .digest = "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
  7128. "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
  7129. .fips_skip = 1,
  7130. }, {
  7131. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  7132. .ksize = 20,
  7133. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7134. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7135. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7136. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  7137. .psize = 50,
  7138. .digest = "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
  7139. "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
  7140. }, {
  7141. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  7142. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  7143. "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
  7144. .ksize = 25,
  7145. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7146. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7147. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7148. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  7149. .psize = 50,
  7150. .digest = "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
  7151. "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
  7152. }, {
  7153. .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
  7154. .ksize = 20,
  7155. .plaintext = "Test With Truncation",
  7156. .psize = 20,
  7157. .digest = "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
  7158. "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
  7159. }, {
  7160. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7161. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7162. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7163. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7164. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7165. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7166. "\xaa\xaa",
  7167. .ksize = 80,
  7168. .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
  7169. .psize = 54,
  7170. .digest = "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
  7171. "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
  7172. }, {
  7173. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7174. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7175. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7176. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7177. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7178. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7179. "\xaa\xaa",
  7180. .ksize = 80,
  7181. .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
  7182. "Block-Size Data",
  7183. .psize = 73,
  7184. .digest = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
  7185. "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
  7186. },
  7187. };
  7188. /*
  7189. * SHA224 HMAC test vectors from RFC4231
  7190. */
  7191. static const struct hash_testvec hmac_sha224_tv_template[] = {
  7192. {
  7193. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  7194. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  7195. "\x0b\x0b\x0b\x0b",
  7196. .ksize = 20,
  7197. /* ("Hi There") */
  7198. .plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
  7199. .psize = 8,
  7200. .digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
  7201. "\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
  7202. "\x47\xb4\xb1\x16\x99\x12\xba\x4f"
  7203. "\x53\x68\x4b\x22",
  7204. }, {
  7205. .key = "Jefe",
  7206. .ksize = 4,
  7207. /* ("what do ya want for nothing?") */
  7208. .plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
  7209. "\x79\x61\x20\x77\x61\x6e\x74\x20"
  7210. "\x66\x6f\x72\x20\x6e\x6f\x74\x68"
  7211. "\x69\x6e\x67\x3f",
  7212. .psize = 28,
  7213. .digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
  7214. "\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
  7215. "\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
  7216. "\x8f\xd0\x5e\x44",
  7217. .fips_skip = 1,
  7218. }, {
  7219. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7220. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7221. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7222. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7223. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7224. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7225. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7226. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7227. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7228. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7229. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7230. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7231. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7232. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7233. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7234. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7235. "\xaa\xaa\xaa",
  7236. .ksize = 131,
  7237. /* ("Test Using Larger Than Block-Size Key - Hash Key First") */
  7238. .plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
  7239. "\x6e\x67\x20\x4c\x61\x72\x67\x65"
  7240. "\x72\x20\x54\x68\x61\x6e\x20\x42"
  7241. "\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
  7242. "\x65\x20\x4b\x65\x79\x20\x2d\x20"
  7243. "\x48\x61\x73\x68\x20\x4b\x65\x79"
  7244. "\x20\x46\x69\x72\x73\x74",
  7245. .psize = 54,
  7246. .digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
  7247. "\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
  7248. "\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
  7249. "\x3f\xa6\x87\x0e",
  7250. }, {
  7251. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7252. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7253. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7254. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7255. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7256. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7257. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7258. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7259. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7260. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7261. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7262. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7263. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7264. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7265. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7266. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7267. "\xaa\xaa\xaa",
  7268. .ksize = 131,
  7269. /* ("This is a test using a larger than block-size key and a")
  7270. (" larger than block-size data. The key needs to be")
  7271. (" hashed before being used by the HMAC algorithm.") */
  7272. .plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
  7273. "\x61\x20\x74\x65\x73\x74\x20\x75"
  7274. "\x73\x69\x6e\x67\x20\x61\x20\x6c"
  7275. "\x61\x72\x67\x65\x72\x20\x74\x68"
  7276. "\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
  7277. "\x2d\x73\x69\x7a\x65\x20\x6b\x65"
  7278. "\x79\x20\x61\x6e\x64\x20\x61\x20"
  7279. "\x6c\x61\x72\x67\x65\x72\x20\x74"
  7280. "\x68\x61\x6e\x20\x62\x6c\x6f\x63"
  7281. "\x6b\x2d\x73\x69\x7a\x65\x20\x64"
  7282. "\x61\x74\x61\x2e\x20\x54\x68\x65"
  7283. "\x20\x6b\x65\x79\x20\x6e\x65\x65"
  7284. "\x64\x73\x20\x74\x6f\x20\x62\x65"
  7285. "\x20\x68\x61\x73\x68\x65\x64\x20"
  7286. "\x62\x65\x66\x6f\x72\x65\x20\x62"
  7287. "\x65\x69\x6e\x67\x20\x75\x73\x65"
  7288. "\x64\x20\x62\x79\x20\x74\x68\x65"
  7289. "\x20\x48\x4d\x41\x43\x20\x61\x6c"
  7290. "\x67\x6f\x72\x69\x74\x68\x6d\x2e",
  7291. .psize = 152,
  7292. .digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
  7293. "\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
  7294. "\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
  7295. "\xf6\xf5\x65\xd1",
  7296. },
  7297. };
  7298. /*
  7299. * HMAC-SHA256 test vectors from
  7300. * draft-ietf-ipsec-ciph-sha-256-01.txt
  7301. */
  7302. static const struct hash_testvec hmac_sha256_tv_template[] = {
  7303. {
  7304. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  7305. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  7306. "\x11\x12\x13\x14\x15\x16\x17\x18"
  7307. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
  7308. .ksize = 32,
  7309. .plaintext = "abc",
  7310. .psize = 3,
  7311. .digest = "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
  7312. "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
  7313. "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
  7314. "\x92\x75\x90\x21\xcf\xab\x81\x81",
  7315. }, {
  7316. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  7317. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  7318. "\x11\x12\x13\x14\x15\x16\x17\x18"
  7319. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
  7320. .ksize = 32,
  7321. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  7322. .psize = 56,
  7323. .digest = "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
  7324. "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
  7325. "\xe6\x98\xe3\x61\x19\x42\x11\x49"
  7326. "\xea\x8c\x71\x24\x56\x69\x7d\x30",
  7327. }, {
  7328. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  7329. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  7330. "\x11\x12\x13\x14\x15\x16\x17\x18"
  7331. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
  7332. .ksize = 32,
  7333. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
  7334. "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  7335. .psize = 112,
  7336. .digest = "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
  7337. "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
  7338. "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
  7339. "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
  7340. }, {
  7341. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  7342. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  7343. "\x0b\x0b\x0b\x0b\x0b\x0b",
  7344. .ksize = 32,
  7345. .plaintext = "Hi There",
  7346. .psize = 8,
  7347. .digest = "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
  7348. "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
  7349. "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
  7350. "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
  7351. }, {
  7352. .key = "Jefe",
  7353. .ksize = 4,
  7354. .plaintext = "what do ya want for nothing?",
  7355. .psize = 28,
  7356. .digest = "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
  7357. "\x6a\x04\x24\x26\x08\x95\x75\xc7"
  7358. "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
  7359. "\x9d\xec\x58\xb9\x64\xec\x38\x43",
  7360. .fips_skip = 1,
  7361. }, {
  7362. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7363. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7364. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  7365. .ksize = 32,
  7366. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7367. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7368. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7369. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  7370. .psize = 50,
  7371. .digest = "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
  7372. "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
  7373. "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
  7374. "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
  7375. }, {
  7376. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  7377. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  7378. "\x11\x12\x13\x14\x15\x16\x17\x18"
  7379. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  7380. "\x21\x22\x23\x24\x25",
  7381. .ksize = 37,
  7382. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7383. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7384. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7385. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  7386. .psize = 50,
  7387. .digest = "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
  7388. "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
  7389. "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
  7390. "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
  7391. }, {
  7392. .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
  7393. "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
  7394. "\x0c\x0c\x0c\x0c\x0c\x0c",
  7395. .ksize = 32,
  7396. .plaintext = "Test With Truncation",
  7397. .psize = 20,
  7398. .digest = "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
  7399. "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
  7400. "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
  7401. "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
  7402. }, {
  7403. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7404. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7405. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7406. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7407. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7408. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7409. "\xaa\xaa",
  7410. .ksize = 80,
  7411. .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
  7412. .psize = 54,
  7413. .digest = "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
  7414. "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
  7415. "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
  7416. "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
  7417. }, {
  7418. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7419. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7420. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7421. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7422. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7423. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7424. "\xaa\xaa",
  7425. .ksize = 80,
  7426. .plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
  7427. "One Block-Size Data",
  7428. .psize = 73,
  7429. .digest = "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
  7430. "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
  7431. "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
  7432. "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
  7433. },
  7434. };
  7435. static const struct hash_testvec aes_cmac128_tv_template[] = {
  7436. { /* From NIST Special Publication 800-38B, AES-128 */
  7437. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  7438. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  7439. .plaintext = zeroed_string,
  7440. .digest = "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
  7441. "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
  7442. .psize = 0,
  7443. .ksize = 16,
  7444. }, {
  7445. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  7446. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  7447. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7448. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
  7449. .digest = "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
  7450. "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
  7451. .psize = 16,
  7452. .ksize = 16,
  7453. }, {
  7454. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  7455. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  7456. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7457. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7458. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  7459. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  7460. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
  7461. .digest = "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
  7462. "\x30\xca\x32\x61\x14\x97\xc8\x27",
  7463. .psize = 40,
  7464. .ksize = 16,
  7465. }, {
  7466. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  7467. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  7468. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7469. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7470. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  7471. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  7472. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  7473. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  7474. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  7475. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  7476. .digest = "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
  7477. "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
  7478. .psize = 64,
  7479. .ksize = 16,
  7480. }, { /* From NIST Special Publication 800-38B, AES-256 */
  7481. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  7482. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  7483. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  7484. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  7485. .plaintext = zeroed_string,
  7486. .digest = "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
  7487. "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
  7488. .psize = 0,
  7489. .ksize = 32,
  7490. }, {
  7491. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  7492. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  7493. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  7494. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  7495. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7496. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7497. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  7498. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  7499. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  7500. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  7501. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  7502. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  7503. .digest = "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
  7504. "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
  7505. .psize = 64,
  7506. .ksize = 32,
  7507. }
  7508. };
  7509. static const struct hash_testvec aes_cbcmac_tv_template[] = {
  7510. {
  7511. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  7512. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  7513. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7514. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
  7515. .digest = "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
  7516. "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
  7517. .psize = 16,
  7518. .ksize = 16,
  7519. }, {
  7520. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  7521. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  7522. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7523. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7524. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  7525. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  7526. "\x30",
  7527. .digest = "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
  7528. "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
  7529. .psize = 33,
  7530. .ksize = 16,
  7531. }, {
  7532. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  7533. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  7534. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7535. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7536. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  7537. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  7538. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  7539. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  7540. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  7541. "\xad\x2b\x41\x7b\xe6\x6c\x37",
  7542. .digest = "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
  7543. "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
  7544. .psize = 63,
  7545. .ksize = 16,
  7546. }, {
  7547. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  7548. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  7549. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  7550. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  7551. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7552. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7553. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  7554. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  7555. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  7556. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  7557. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  7558. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
  7559. "\x1c",
  7560. .digest = "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
  7561. "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
  7562. .psize = 65,
  7563. .ksize = 32,
  7564. }
  7565. };
  7566. static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
  7567. /*
  7568. * From NIST Special Publication 800-38B, Three Key TDEA
  7569. * Corrected test vectors from:
  7570. * http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
  7571. */
  7572. {
  7573. .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
  7574. "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
  7575. "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
  7576. .plaintext = zeroed_string,
  7577. .digest = "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
  7578. .psize = 0,
  7579. .ksize = 24,
  7580. }, {
  7581. .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
  7582. "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
  7583. "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
  7584. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
  7585. .digest = "\x8e\x8f\x29\x31\x36\x28\x37\x97",
  7586. .psize = 8,
  7587. .ksize = 24,
  7588. }, {
  7589. .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
  7590. "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
  7591. "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
  7592. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7593. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7594. "\xae\x2d\x8a\x57",
  7595. .digest = "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
  7596. .psize = 20,
  7597. .ksize = 24,
  7598. }, {
  7599. .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
  7600. "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
  7601. "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
  7602. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7603. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7604. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  7605. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
  7606. .digest = "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
  7607. .psize = 32,
  7608. .ksize = 24,
  7609. }
  7610. };
  7611. static const struct hash_testvec aes_xcbc128_tv_template[] = {
  7612. {
  7613. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7614. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7615. .plaintext = zeroed_string,
  7616. .digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
  7617. "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
  7618. .psize = 0,
  7619. .ksize = 16,
  7620. }, {
  7621. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7622. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7623. .plaintext = "\x00\x01\x02",
  7624. .digest = "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
  7625. "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
  7626. .psize = 3,
  7627. .ksize = 16,
  7628. } , {
  7629. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7630. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7631. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7632. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7633. .digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
  7634. "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
  7635. .psize = 16,
  7636. .ksize = 16,
  7637. }, {
  7638. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7639. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7640. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7641. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  7642. "\x10\x11\x12\x13",
  7643. .digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
  7644. "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
  7645. .psize = 20,
  7646. .ksize = 16,
  7647. }, {
  7648. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7649. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7650. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7651. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  7652. "\x10\x11\x12\x13\x14\x15\x16\x17"
  7653. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  7654. .digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
  7655. "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
  7656. .psize = 32,
  7657. .ksize = 16,
  7658. }, {
  7659. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7660. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7661. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7662. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  7663. "\x10\x11\x12\x13\x14\x15\x16\x17"
  7664. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  7665. "\x20\x21",
  7666. .digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
  7667. "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
  7668. .psize = 34,
  7669. .ksize = 16,
  7670. }
  7671. };
  7672. static const char vmac64_string1[144] = {
  7673. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7674. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7675. '\x01', '\x01', '\x01', '\x01', '\x02', '\x03', '\x02', '\x02',
  7676. '\x02', '\x04', '\x01', '\x07', '\x04', '\x01', '\x04', '\x03',
  7677. };
  7678. static const char vmac64_string2[144] = {
  7679. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7680. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7681. 'a', 'b', 'c',
  7682. };
  7683. static const char vmac64_string3[144] = {
  7684. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7685. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7686. 'a', 'b', 'c', 'a', 'b', 'c', 'a', 'b',
  7687. 'c', 'a', 'b', 'c', 'a', 'b', 'c', 'a',
  7688. 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c',
  7689. 'a', 'b', 'c', 'a', 'b', 'c', 'a', 'b',
  7690. 'c', 'a', 'b', 'c', 'a', 'b', 'c', 'a',
  7691. 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c',
  7692. };
  7693. static const char vmac64_string4[33] = {
  7694. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7695. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7696. 'b', 'c', 'e', 'f', 'i', 'j', 'l', 'm',
  7697. 'o', 'p', 'r', 's', 't', 'u', 'w', 'x',
  7698. 'z',
  7699. };
  7700. static const char vmac64_string5[143] = {
  7701. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7702. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7703. 'r', 'm', 'b', 't', 'c', 'o', 'l', 'k',
  7704. ']', '%', '9', '2', '7', '!', 'A',
  7705. };
  7706. static const char vmac64_string6[145] = {
  7707. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7708. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7709. 'p', 't', '*', '7', 'l', 'i', '!', '#',
  7710. 'w', '0', 'z', '/', '4', 'A', 'n',
  7711. };
  7712. static const struct hash_testvec vmac64_aes_tv_template[] = {
  7713. { /* draft-krovetz-vmac-01 test vector 1 */
  7714. .key = "abcdefghijklmnop",
  7715. .ksize = 16,
  7716. .plaintext = "\0\0\0\0\0\0\0\0bcdefghi",
  7717. .psize = 16,
  7718. .digest = "\x25\x76\xbe\x1c\x56\xd8\xb8\x1b",
  7719. }, { /* draft-krovetz-vmac-01 test vector 2 */
  7720. .key = "abcdefghijklmnop",
  7721. .ksize = 16,
  7722. .plaintext = "\0\0\0\0\0\0\0\0bcdefghiabc",
  7723. .psize = 19,
  7724. .digest = "\x2d\x37\x6c\xf5\xb1\x81\x3c\xe5",
  7725. }, { /* draft-krovetz-vmac-01 test vector 3 */
  7726. .key = "abcdefghijklmnop",
  7727. .ksize = 16,
  7728. .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
  7729. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
  7730. .psize = 64,
  7731. .digest = "\xe8\x42\x1f\x61\xd5\x73\xd2\x98",
  7732. }, { /* draft-krovetz-vmac-01 test vector 4 */
  7733. .key = "abcdefghijklmnop",
  7734. .ksize = 16,
  7735. .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
  7736. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  7737. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  7738. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  7739. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  7740. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  7741. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
  7742. .psize = 316,
  7743. .digest = "\x44\x92\xdf\x6c\x5c\xac\x1b\xbe",
  7744. }, {
  7745. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7746. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7747. .ksize = 16,
  7748. .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  7749. "\x00\x00\x00\x00\x00\x00\x00\x00",
  7750. .psize = 16,
  7751. .digest = "\x54\x7b\xa4\x77\x35\x80\x58\x07",
  7752. }, {
  7753. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7754. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7755. .ksize = 16,
  7756. .plaintext = vmac64_string1,
  7757. .psize = sizeof(vmac64_string1),
  7758. .digest = "\xa1\x8c\x68\xae\xd3\x3c\xf5\xce",
  7759. }, {
  7760. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7761. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7762. .ksize = 16,
  7763. .plaintext = vmac64_string2,
  7764. .psize = sizeof(vmac64_string2),
  7765. .digest = "\x2d\x14\xbd\x81\x73\xb0\x27\xc9",
  7766. }, {
  7767. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7768. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7769. .ksize = 16,
  7770. .plaintext = vmac64_string3,
  7771. .psize = sizeof(vmac64_string3),
  7772. .digest = "\x19\x0b\x47\x98\x8c\x95\x1a\x8d",
  7773. }, {
  7774. .key = "abcdefghijklmnop",
  7775. .ksize = 16,
  7776. .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  7777. "\x00\x00\x00\x00\x00\x00\x00\x00",
  7778. .psize = 16,
  7779. .digest = "\x84\x8f\x55\x9e\x26\xa1\x89\x3b",
  7780. }, {
  7781. .key = "abcdefghijklmnop",
  7782. .ksize = 16,
  7783. .plaintext = vmac64_string1,
  7784. .psize = sizeof(vmac64_string1),
  7785. .digest = "\xc2\x74\x8d\xf6\xb0\xab\x5e\xab",
  7786. }, {
  7787. .key = "abcdefghijklmnop",
  7788. .ksize = 16,
  7789. .plaintext = vmac64_string2,
  7790. .psize = sizeof(vmac64_string2),
  7791. .digest = "\xdf\x09\x7b\x3d\x42\x68\x15\x11",
  7792. }, {
  7793. .key = "abcdefghijklmnop",
  7794. .ksize = 16,
  7795. .plaintext = vmac64_string3,
  7796. .psize = sizeof(vmac64_string3),
  7797. .digest = "\xd4\xfa\x8f\xed\xe1\x8f\x32\x8b",
  7798. }, {
  7799. .key = "a09b5cd!f#07K\x00\x00\x00",
  7800. .ksize = 16,
  7801. .plaintext = vmac64_string4,
  7802. .psize = sizeof(vmac64_string4),
  7803. .digest = "\x5f\xa1\x4e\x42\xea\x0f\xa5\xab",
  7804. }, {
  7805. .key = "a09b5cd!f#07K\x00\x00\x00",
  7806. .ksize = 16,
  7807. .plaintext = vmac64_string5,
  7808. .psize = sizeof(vmac64_string5),
  7809. .digest = "\x60\x67\xe8\x1d\xbc\x98\x31\x25",
  7810. }, {
  7811. .key = "a09b5cd!f#07K\x00\x00\x00",
  7812. .ksize = 16,
  7813. .plaintext = vmac64_string6,
  7814. .psize = sizeof(vmac64_string6),
  7815. .digest = "\x41\xeb\x65\x95\x47\x9b\xae\xc4",
  7816. },
  7817. };
  7818. /*
  7819. * SHA384 HMAC test vectors from RFC4231
  7820. */
  7821. static const struct hash_testvec hmac_sha384_tv_template[] = {
  7822. {
  7823. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  7824. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  7825. "\x0b\x0b\x0b\x0b",
  7826. .ksize = 20,
  7827. .plaintext = "Hi There",
  7828. .psize = 8,
  7829. .digest = "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
  7830. "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
  7831. "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
  7832. "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
  7833. "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
  7834. "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
  7835. }, {
  7836. .key = "Jefe",
  7837. .ksize = 4,
  7838. .plaintext = "what do ya want for nothing?",
  7839. .psize = 28,
  7840. .digest = "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
  7841. "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
  7842. "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
  7843. "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
  7844. "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
  7845. "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
  7846. .fips_skip = 1,
  7847. }, {
  7848. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7849. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7850. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7851. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7852. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7853. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7854. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7855. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7856. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7857. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7858. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7859. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7860. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7861. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7862. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7863. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7864. "\xaa\xaa\xaa",
  7865. .ksize = 131,
  7866. .plaintext = "Test Using Larger Than Block-Siz"
  7867. "e Key - Hash Key First",
  7868. .psize = 54,
  7869. .digest = "\x4e\xce\x08\x44\x85\x81\x3e\x90"
  7870. "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
  7871. "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
  7872. "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
  7873. "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
  7874. "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
  7875. }, {
  7876. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7877. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7878. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7879. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7880. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7881. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7882. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7883. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7884. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7885. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7886. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7887. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7888. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7889. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7890. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7891. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7892. "\xaa\xaa\xaa",
  7893. .ksize = 131,
  7894. .plaintext = "This is a test u"
  7895. "sing a larger th"
  7896. "an block-size ke"
  7897. "y and a larger t"
  7898. "han block-size d"
  7899. "ata. The key nee"
  7900. "ds to be hashed "
  7901. "before being use"
  7902. "d by the HMAC al"
  7903. "gorithm.",
  7904. .psize = 152,
  7905. .digest = "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
  7906. "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
  7907. "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
  7908. "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
  7909. "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
  7910. "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
  7911. },
  7912. };
  7913. /*
  7914. * SHA512 HMAC test vectors from RFC4231
  7915. */
  7916. static const struct hash_testvec hmac_sha512_tv_template[] = {
  7917. {
  7918. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  7919. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  7920. "\x0b\x0b\x0b\x0b",
  7921. .ksize = 20,
  7922. .plaintext = "Hi There",
  7923. .psize = 8,
  7924. .digest = "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
  7925. "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
  7926. "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
  7927. "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
  7928. "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
  7929. "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
  7930. "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
  7931. "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
  7932. }, {
  7933. .key = "Jefe",
  7934. .ksize = 4,
  7935. .plaintext = "what do ya want for nothing?",
  7936. .psize = 28,
  7937. .digest = "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
  7938. "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
  7939. "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
  7940. "\x10\x27\x0c\xd7\xea\x25\x05\x54"
  7941. "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
  7942. "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
  7943. "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
  7944. "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
  7945. .fips_skip = 1,
  7946. }, {
  7947. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7948. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7949. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7950. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7951. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7952. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7953. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7954. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7955. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7956. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7957. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7958. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7959. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7960. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7961. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7962. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7963. "\xaa\xaa\xaa",
  7964. .ksize = 131,
  7965. .plaintext = "Test Using Large"
  7966. "r Than Block-Siz"
  7967. "e Key - Hash Key"
  7968. " First",
  7969. .psize = 54,
  7970. .digest = "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
  7971. "\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
  7972. "\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
  7973. "\x12\x1b\x01\x37\x83\xf8\xf3\x52"
  7974. "\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
  7975. "\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
  7976. "\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
  7977. "\x8b\x91\x5a\x98\x5d\x78\x65\x98",
  7978. }, {
  7979. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7980. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7981. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7982. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7983. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7984. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7985. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7986. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7987. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7988. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7989. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7990. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7991. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7992. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7993. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7994. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7995. "\xaa\xaa\xaa",
  7996. .ksize = 131,
  7997. .plaintext =
  7998. "This is a test u"
  7999. "sing a larger th"
  8000. "an block-size ke"
  8001. "y and a larger t"
  8002. "han block-size d"
  8003. "ata. The key nee"
  8004. "ds to be hashed "
  8005. "before being use"
  8006. "d by the HMAC al"
  8007. "gorithm.",
  8008. .psize = 152,
  8009. .digest = "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
  8010. "\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
  8011. "\xde\xbd\x71\xf8\x86\x72\x89\x86"
  8012. "\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
  8013. "\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
  8014. "\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
  8015. "\x13\x46\x76\xfb\x6d\xe0\x44\x60"
  8016. "\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
  8017. },
  8018. };
  8019. static const struct hash_testvec hmac_sha3_224_tv_template[] = {
  8020. {
  8021. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  8022. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  8023. "\x0b\x0b\x0b\x0b",
  8024. .ksize = 20,
  8025. .plaintext = "Hi There",
  8026. .psize = 8,
  8027. .digest = "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
  8028. "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
  8029. "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
  8030. "\xf3\xc8\x60\xf7",
  8031. }, {
  8032. .key = "Jefe",
  8033. .ksize = 4,
  8034. .plaintext = "what do ya want for nothing?",
  8035. .psize = 28,
  8036. .digest = "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
  8037. "\x1b\x79\x86\x34\xad\x38\x68\x11"
  8038. "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
  8039. "\xba\xce\x5e\x66",
  8040. .fips_skip = 1,
  8041. }, {
  8042. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8043. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8044. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8045. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8046. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8047. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8048. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8049. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8050. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8051. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8052. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8053. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8054. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8055. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8056. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8057. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8058. "\xaa\xaa\xaa",
  8059. .ksize = 131,
  8060. .plaintext = "Test Using Large"
  8061. "r Than Block-Siz"
  8062. "e Key - Hash Key"
  8063. " First",
  8064. .psize = 54,
  8065. .digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
  8066. "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
  8067. "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
  8068. "\x5f\xb9\x99\x5f",
  8069. }, {
  8070. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8071. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8072. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8073. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8074. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8075. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8076. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8077. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8078. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8079. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8080. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8081. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8082. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8083. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8084. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8085. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8086. "\xaa\xaa\xaa",
  8087. .ksize = 131,
  8088. .plaintext =
  8089. "This is a test u"
  8090. "sing a larger th"
  8091. "an block-size ke"
  8092. "y and a larger t"
  8093. "han block-size d"
  8094. "ata. The key nee"
  8095. "ds to be hashed "
  8096. "before being use"
  8097. "d by the HMAC al"
  8098. "gorithm.",
  8099. .psize = 152,
  8100. .digest = "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
  8101. "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
  8102. "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
  8103. "\x29\xcd\x62\xa0",
  8104. },
  8105. };
  8106. static const struct hash_testvec hmac_sha3_256_tv_template[] = {
  8107. {
  8108. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  8109. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  8110. "\x0b\x0b\x0b\x0b",
  8111. .ksize = 20,
  8112. .plaintext = "Hi There",
  8113. .psize = 8,
  8114. .digest = "\xba\x85\x19\x23\x10\xdf\xfa\x96"
  8115. "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
  8116. "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
  8117. "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
  8118. }, {
  8119. .key = "Jefe",
  8120. .ksize = 4,
  8121. .plaintext = "what do ya want for nothing?",
  8122. .psize = 28,
  8123. .digest = "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
  8124. "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
  8125. "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
  8126. "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
  8127. .fips_skip = 1,
  8128. }, {
  8129. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8130. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8131. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8132. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8133. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8134. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8135. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8136. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8137. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8138. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8139. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8140. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8141. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8142. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8143. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8144. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8145. "\xaa\xaa\xaa",
  8146. .ksize = 131,
  8147. .plaintext = "Test Using Large"
  8148. "r Than Block-Siz"
  8149. "e Key - Hash Key"
  8150. " First",
  8151. .psize = 54,
  8152. .digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
  8153. "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
  8154. "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
  8155. "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
  8156. }, {
  8157. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8158. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8159. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8160. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8161. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8162. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8163. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8164. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8165. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8166. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8167. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8168. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8169. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8170. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8171. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8172. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8173. "\xaa\xaa\xaa",
  8174. .ksize = 131,
  8175. .plaintext =
  8176. "This is a test u"
  8177. "sing a larger th"
  8178. "an block-size ke"
  8179. "y and a larger t"
  8180. "han block-size d"
  8181. "ata. The key nee"
  8182. "ds to be hashed "
  8183. "before being use"
  8184. "d by the HMAC al"
  8185. "gorithm.",
  8186. .psize = 152,
  8187. .digest = "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
  8188. "\x7a\xef\x87\x63\x26\x1e\x49\xad"
  8189. "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
  8190. "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
  8191. },
  8192. };
  8193. static const struct hash_testvec hmac_sha3_384_tv_template[] = {
  8194. {
  8195. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  8196. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  8197. "\x0b\x0b\x0b\x0b",
  8198. .ksize = 20,
  8199. .plaintext = "Hi There",
  8200. .psize = 8,
  8201. .digest = "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
  8202. "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
  8203. "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
  8204. "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
  8205. "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
  8206. "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
  8207. }, {
  8208. .key = "Jefe",
  8209. .ksize = 4,
  8210. .plaintext = "what do ya want for nothing?",
  8211. .psize = 28,
  8212. .digest = "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
  8213. "\x67\x64\xd2\xed\x61\x90\x3f\x21"
  8214. "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
  8215. "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
  8216. "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
  8217. "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
  8218. .fips_skip = 1,
  8219. }, {
  8220. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8221. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8222. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8223. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8224. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8225. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8226. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8227. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8228. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8229. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8230. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8231. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8232. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8233. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8234. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8235. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8236. "\xaa\xaa\xaa",
  8237. .ksize = 131,
  8238. .plaintext = "Test Using Large"
  8239. "r Than Block-Siz"
  8240. "e Key - Hash Key"
  8241. " First",
  8242. .psize = 54,
  8243. .digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
  8244. "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
  8245. "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
  8246. "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
  8247. "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
  8248. "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
  8249. }, {
  8250. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8251. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8252. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8253. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8254. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8255. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8256. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8257. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8258. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8259. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8260. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8261. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8262. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8263. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8264. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8265. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8266. "\xaa\xaa\xaa",
  8267. .ksize = 131,
  8268. .plaintext =
  8269. "This is a test u"
  8270. "sing a larger th"
  8271. "an block-size ke"
  8272. "y and a larger t"
  8273. "han block-size d"
  8274. "ata. The key nee"
  8275. "ds to be hashed "
  8276. "before being use"
  8277. "d by the HMAC al"
  8278. "gorithm.",
  8279. .psize = 152,
  8280. .digest = "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
  8281. "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
  8282. "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
  8283. "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
  8284. "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
  8285. "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
  8286. },
  8287. };
  8288. static const struct hash_testvec hmac_sha3_512_tv_template[] = {
  8289. {
  8290. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  8291. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  8292. "\x0b\x0b\x0b\x0b",
  8293. .ksize = 20,
  8294. .plaintext = "Hi There",
  8295. .psize = 8,
  8296. .digest = "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
  8297. "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
  8298. "\xec\x15\x77\x0a\x7c\xab\xac\x53"
  8299. "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
  8300. "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
  8301. "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
  8302. "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
  8303. "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
  8304. }, {
  8305. .key = "Jefe",
  8306. .ksize = 4,
  8307. .plaintext = "what do ya want for nothing?",
  8308. .psize = 28,
  8309. .digest = "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
  8310. "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
  8311. "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
  8312. "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
  8313. "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
  8314. "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
  8315. "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
  8316. "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
  8317. .fips_skip = 1,
  8318. }, {
  8319. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8320. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8321. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8322. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8323. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8324. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8325. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8326. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8327. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8328. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8329. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8330. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8331. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8332. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8333. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8334. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8335. "\xaa\xaa\xaa",
  8336. .ksize = 131,
  8337. .plaintext = "Test Using Large"
  8338. "r Than Block-Siz"
  8339. "e Key - Hash Key"
  8340. " First",
  8341. .psize = 54,
  8342. .digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
  8343. "\x90\xed\x69\x11\xa4\xb6\x55\x24"
  8344. "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
  8345. "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
  8346. "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
  8347. "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
  8348. "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
  8349. "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
  8350. }, {
  8351. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8352. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8353. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8354. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8355. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8356. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8357. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8358. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8359. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8360. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8361. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8362. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8363. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8364. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8365. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8366. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8367. "\xaa\xaa\xaa",
  8368. .ksize = 131,
  8369. .plaintext =
  8370. "This is a test u"
  8371. "sing a larger th"
  8372. "an block-size ke"
  8373. "y and a larger t"
  8374. "han block-size d"
  8375. "ata. The key nee"
  8376. "ds to be hashed "
  8377. "before being use"
  8378. "d by the HMAC al"
  8379. "gorithm.",
  8380. .psize = 152,
  8381. .digest = "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
  8382. "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
  8383. "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
  8384. "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
  8385. "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
  8386. "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
  8387. "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
  8388. "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
  8389. },
  8390. };
  8391. /*
  8392. * Poly1305 test vectors from RFC7539 A.3.
  8393. */
  8394. static const struct hash_testvec poly1305_tv_template[] = {
  8395. { /* Test Vector #1 */
  8396. .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  8397. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8398. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8399. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8400. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8401. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8402. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8403. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8404. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8405. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8406. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8407. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8408. .psize = 96,
  8409. .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
  8410. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8411. }, { /* Test Vector #2 */
  8412. .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  8413. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8414. "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
  8415. "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
  8416. "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  8417. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  8418. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  8419. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  8420. "\x64\x65\x64\x20\x62\x79\x20\x74"
  8421. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  8422. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  8423. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  8424. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  8425. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  8426. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  8427. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  8428. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  8429. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  8430. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  8431. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  8432. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  8433. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  8434. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  8435. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  8436. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  8437. "\x45\x54\x46\x20\x61\x63\x74\x69"
  8438. "\x76\x69\x74\x79\x20\x69\x73\x20"
  8439. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  8440. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  8441. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  8442. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  8443. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  8444. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  8445. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  8446. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  8447. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  8448. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  8449. "\x54\x46\x20\x73\x65\x73\x73\x69"
  8450. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  8451. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  8452. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  8453. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  8454. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  8455. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  8456. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  8457. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  8458. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  8459. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  8460. "\x20\x77\x68\x69\x63\x68\x20\x61"
  8461. "\x72\x65\x20\x61\x64\x64\x72\x65"
  8462. "\x73\x73\x65\x64\x20\x74\x6f",
  8463. .psize = 407,
  8464. .digest = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
  8465. "\xf0\xef\xca\x96\x22\x7a\x86\x3e",
  8466. }, { /* Test Vector #3 */
  8467. .plaintext = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
  8468. "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
  8469. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8470. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8471. "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  8472. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  8473. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  8474. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  8475. "\x64\x65\x64\x20\x62\x79\x20\x74"
  8476. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  8477. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  8478. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  8479. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  8480. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  8481. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  8482. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  8483. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  8484. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  8485. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  8486. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  8487. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  8488. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  8489. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  8490. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  8491. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  8492. "\x45\x54\x46\x20\x61\x63\x74\x69"
  8493. "\x76\x69\x74\x79\x20\x69\x73\x20"
  8494. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  8495. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  8496. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  8497. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  8498. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  8499. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  8500. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  8501. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  8502. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  8503. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  8504. "\x54\x46\x20\x73\x65\x73\x73\x69"
  8505. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  8506. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  8507. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  8508. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  8509. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  8510. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  8511. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  8512. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  8513. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  8514. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  8515. "\x20\x77\x68\x69\x63\x68\x20\x61"
  8516. "\x72\x65\x20\x61\x64\x64\x72\x65"
  8517. "\x73\x73\x65\x64\x20\x74\x6f",
  8518. .psize = 407,
  8519. .digest = "\xf3\x47\x7e\x7c\xd9\x54\x17\xaf"
  8520. "\x89\xa6\xb8\x79\x4c\x31\x0c\xf0",
  8521. }, { /* Test Vector #4 */
  8522. .plaintext = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  8523. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  8524. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  8525. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
  8526. "\x27\x54\x77\x61\x73\x20\x62\x72"
  8527. "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
  8528. "\x6e\x64\x20\x74\x68\x65\x20\x73"
  8529. "\x6c\x69\x74\x68\x79\x20\x74\x6f"
  8530. "\x76\x65\x73\x0a\x44\x69\x64\x20"
  8531. "\x67\x79\x72\x65\x20\x61\x6e\x64"
  8532. "\x20\x67\x69\x6d\x62\x6c\x65\x20"
  8533. "\x69\x6e\x20\x74\x68\x65\x20\x77"
  8534. "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
  8535. "\x20\x6d\x69\x6d\x73\x79\x20\x77"
  8536. "\x65\x72\x65\x20\x74\x68\x65\x20"
  8537. "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
  8538. "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
  8539. "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
  8540. "\x72\x61\x74\x68\x73\x20\x6f\x75"
  8541. "\x74\x67\x72\x61\x62\x65\x2e",
  8542. .psize = 159,
  8543. .digest = "\x45\x41\x66\x9a\x7e\xaa\xee\x61"
  8544. "\xe7\x08\xdc\x7c\xbc\xc5\xeb\x62",
  8545. }, { /* Test Vector #5 */
  8546. .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
  8547. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8548. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8549. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8550. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8551. "\xff\xff\xff\xff\xff\xff\xff\xff",
  8552. .psize = 48,
  8553. .digest = "\x03\x00\x00\x00\x00\x00\x00\x00"
  8554. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8555. }, { /* Test Vector #6 */
  8556. .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
  8557. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8558. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8559. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8560. "\x02\x00\x00\x00\x00\x00\x00\x00"
  8561. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8562. .psize = 48,
  8563. .digest = "\x03\x00\x00\x00\x00\x00\x00\x00"
  8564. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8565. }, { /* Test Vector #7 */
  8566. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  8567. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8568. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8569. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8570. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8571. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8572. "\xf0\xff\xff\xff\xff\xff\xff\xff"
  8573. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8574. "\x11\x00\x00\x00\x00\x00\x00\x00"
  8575. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8576. .psize = 80,
  8577. .digest = "\x05\x00\x00\x00\x00\x00\x00\x00"
  8578. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8579. }, { /* Test Vector #8 */
  8580. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  8581. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8582. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8583. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8584. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8585. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8586. "\xfb\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  8587. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  8588. "\x01\x01\x01\x01\x01\x01\x01\x01"
  8589. "\x01\x01\x01\x01\x01\x01\x01\x01",
  8590. .psize = 80,
  8591. .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
  8592. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8593. }, { /* Test Vector #9 */
  8594. .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
  8595. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8596. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8597. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8598. "\xfd\xff\xff\xff\xff\xff\xff\xff"
  8599. "\xff\xff\xff\xff\xff\xff\xff\xff",
  8600. .psize = 48,
  8601. .digest = "\xfa\xff\xff\xff\xff\xff\xff\xff"
  8602. "\xff\xff\xff\xff\xff\xff\xff\xff",
  8603. }, { /* Test Vector #10 */
  8604. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  8605. "\x04\x00\x00\x00\x00\x00\x00\x00"
  8606. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8607. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8608. "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
  8609. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8610. "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
  8611. "\x01\x00\x00\x00\x00\x00\x00\x00"
  8612. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8613. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8614. "\x01\x00\x00\x00\x00\x00\x00\x00"
  8615. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8616. .psize = 96,
  8617. .digest = "\x14\x00\x00\x00\x00\x00\x00\x00"
  8618. "\x55\x00\x00\x00\x00\x00\x00\x00",
  8619. }, { /* Test Vector #11 */
  8620. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  8621. "\x04\x00\x00\x00\x00\x00\x00\x00"
  8622. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8623. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8624. "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
  8625. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8626. "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
  8627. "\x01\x00\x00\x00\x00\x00\x00\x00"
  8628. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8629. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8630. .psize = 80,
  8631. .digest = "\x13\x00\x00\x00\x00\x00\x00\x00"
  8632. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8633. }, { /* Regression test for overflow in AVX2 implementation */
  8634. .plaintext = "\xff\xff\xff\xff\xff\xff\xff\xff"
  8635. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8636. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8637. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8638. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8639. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8640. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8641. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8642. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8643. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8644. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8645. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8646. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8647. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8648. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8649. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8650. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8651. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8652. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8653. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8654. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8655. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8656. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8657. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8658. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8659. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8660. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8661. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8662. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8663. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8664. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8665. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8666. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8667. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8668. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8669. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8670. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8671. "\xff\xff\xff\xff",
  8672. .psize = 300,
  8673. .digest = "\xfb\x5e\x96\xd8\x61\xd5\xc7\xc8"
  8674. "\x78\xe5\x87\xcc\x2d\x5a\x22\xe1",
  8675. }
  8676. };
  8677. /* NHPoly1305 test vectors from https://github.com/google/adiantum */
  8678. static const struct hash_testvec nhpoly1305_tv_template[] = {
  8679. {
  8680. .key = "\xd2\x5d\x4c\xdd\x8d\x2b\x7f\x7a"
  8681. "\xd9\xbe\x71\xec\xd1\x83\x52\xe3"
  8682. "\xe1\xad\xd7\x5c\x0a\x75\x9d\xec"
  8683. "\x1d\x13\x7e\x5d\x71\x07\xc9\xe4"
  8684. "\x57\x2d\x44\x68\xcf\xd8\xd6\xc5"
  8685. "\x39\x69\x7d\x32\x75\x51\x4f\x7e"
  8686. "\xb2\x4c\xc6\x90\x51\x6e\xd9\xd6"
  8687. "\xa5\x8b\x2d\xf1\x94\xf9\xf7\x5e"
  8688. "\x2c\x84\x7b\x41\x0f\x88\x50\x89"
  8689. "\x30\xd9\xa1\x38\x46\x6c\xc0\x4f"
  8690. "\xe8\xdf\xdc\x66\xab\x24\x43\x41"
  8691. "\x91\x55\x29\x65\x86\x28\x5e\x45"
  8692. "\xd5\x2d\xb7\x80\x08\x9a\xc3\xd4"
  8693. "\x9a\x77\x0a\xd4\xef\x3e\xe6\x3f"
  8694. "\x6f\x2f\x9b\x3a\x7d\x12\x1e\x80"
  8695. "\x6c\x44\xa2\x25\xe1\xf6\x60\xe9"
  8696. "\x0d\xaf\xc5\x3c\xa5\x79\xae\x64"
  8697. "\xbc\xa0\x39\xa3\x4d\x10\xe5\x4d"
  8698. "\xd5\xe7\x89\x7a\x13\xee\x06\x78"
  8699. "\xdc\xa4\xdc\x14\x27\xe6\x49\x38"
  8700. "\xd0\xe0\x45\x25\x36\xc5\xf4\x79"
  8701. "\x2e\x9a\x98\x04\xe4\x2b\x46\x52"
  8702. "\x7c\x33\xca\xe2\x56\x51\x50\xe2"
  8703. "\xa5\x9a\xae\x18\x6a\x13\xf8\xd2"
  8704. "\x21\x31\x66\x02\xe2\xda\x8d\x7e"
  8705. "\x41\x19\xb2\x61\xee\x48\x8f\xf1"
  8706. "\x65\x24\x2e\x1e\x68\xce\x05\xd9"
  8707. "\x2a\xcf\xa5\x3a\x57\xdd\x35\x91"
  8708. "\x93\x01\xca\x95\xfc\x2b\x36\x04"
  8709. "\xe6\x96\x97\x28\xf6\x31\xfe\xa3"
  8710. "\x9d\xf6\x6a\x1e\x80\x8d\xdc\xec"
  8711. "\xaf\x66\x11\x13\x02\x88\xd5\x27"
  8712. "\x33\xb4\x1a\xcd\xa3\xf6\xde\x31"
  8713. "\x8e\xc0\x0e\x6c\xd8\x5a\x97\x5e"
  8714. "\xdd\xfd\x60\x69\x38\x46\x3f\x90"
  8715. "\x5e\x97\xd3\x32\x76\xc7\x82\x49"
  8716. "\xfe\xba\x06\x5f\x2f\xa2\xfd\xff"
  8717. "\x80\x05\x40\xe4\x33\x03\xfb\x10"
  8718. "\xc0\xde\x65\x8c\xc9\x8d\x3a\x9d"
  8719. "\xb5\x7b\x36\x4b\xb5\x0c\xcf\x00"
  8720. "\x9c\x87\xe4\x49\xad\x90\xda\x4a"
  8721. "\xdd\xbd\xff\xe2\x32\x57\xd6\x78"
  8722. "\x36\x39\x6c\xd3\x5b\x9b\x88\x59"
  8723. "\x2d\xf0\x46\xe4\x13\x0e\x2b\x35"
  8724. "\x0d\x0f\x73\x8a\x4f\x26\x84\x75"
  8725. "\x88\x3c\xc5\x58\x66\x18\x1a\xb4"
  8726. "\x64\x51\x34\x27\x1b\xa4\x11\xc9"
  8727. "\x6d\x91\x8a\xfa\x32\x60\x9d\xd7"
  8728. "\x87\xe5\xaa\x43\x72\xf8\xda\xd1"
  8729. "\x48\x44\x13\x61\xdc\x8c\x76\x17"
  8730. "\x0c\x85\x4e\xf3\xdd\xa2\x42\xd2"
  8731. "\x74\xc1\x30\x1b\xeb\x35\x31\x29"
  8732. "\x5b\xd7\x4c\x94\x46\x35\xa1\x23"
  8733. "\x50\xf2\xa2\x8e\x7e\x4f\x23\x4f"
  8734. "\x51\xff\xe2\xc9\xa3\x7d\x56\x8b"
  8735. "\x41\xf2\xd0\xc5\x57\x7e\x59\xac"
  8736. "\xbb\x65\xf3\xfe\xf7\x17\xef\x63"
  8737. "\x7c\x6f\x23\xdd\x22\x8e\xed\x84"
  8738. "\x0e\x3b\x09\xb3\xf3\xf4\x8f\xcd"
  8739. "\x37\xa8\xe1\xa7\x30\xdb\xb1\xa2"
  8740. "\x9c\xa2\xdf\x34\x17\x3e\x68\x44"
  8741. "\xd0\xde\x03\x50\xd1\x48\x6b\x20"
  8742. "\xe2\x63\x45\xa5\xea\x87\xc2\x42"
  8743. "\x95\x03\x49\x05\xed\xe0\x90\x29"
  8744. "\x1a\xb8\xcf\x9b\x43\xcf\x29\x7a"
  8745. "\x63\x17\x41\x9f\xe0\xc9\x10\xfd"
  8746. "\x2c\x56\x8c\x08\x55\xb4\xa9\x27"
  8747. "\x0f\x23\xb1\x05\x6a\x12\x46\xc7"
  8748. "\xe1\xfe\x28\x93\x93\xd7\x2f\xdc"
  8749. "\x98\x30\xdb\x75\x8a\xbe\x97\x7a"
  8750. "\x02\xfb\x8c\xba\xbe\x25\x09\xbe"
  8751. "\xce\xcb\xa2\xef\x79\x4d\x0e\x9d"
  8752. "\x1b\x9d\xb6\x39\x34\x38\xfa\x07"
  8753. "\xec\xe8\xfc\x32\x85\x1d\xf7\x85"
  8754. "\x63\xc3\x3c\xc0\x02\x75\xd7\x3f"
  8755. "\xb2\x68\x60\x66\x65\x81\xc6\xb1"
  8756. "\x42\x65\x4b\x4b\x28\xd7\xc7\xaa"
  8757. "\x9b\xd2\xdc\x1b\x01\xe0\x26\x39"
  8758. "\x01\xc1\x52\x14\xd1\x3f\xb7\xe6"
  8759. "\x61\x41\xc7\x93\xd2\xa2\x67\xc6"
  8760. "\xf7\x11\xb5\xf5\xea\xdd\x19\xfb"
  8761. "\x4d\x21\x12\xd6\x7d\xf1\x10\xb0"
  8762. "\x89\x07\xc7\x5a\x52\x73\x70\x2f"
  8763. "\x32\xef\x65\x2b\x12\xb2\xf0\xf5"
  8764. "\x20\xe0\x90\x59\x7e\x64\xf1\x4c"
  8765. "\x41\xb3\xa5\x91\x08\xe6\x5e\x5f"
  8766. "\x05\x56\x76\xb4\xb0\xcd\x70\x53"
  8767. "\x10\x48\x9c\xff\xc2\x69\x55\x24"
  8768. "\x87\xef\x84\xea\xfb\xa7\xbf\xa0"
  8769. "\x91\x04\xad\x4f\x8b\x57\x54\x4b"
  8770. "\xb6\xe9\xd1\xac\x37\x2f\x1d\x2e"
  8771. "\xab\xa5\xa4\xe8\xff\xfb\xd9\x39"
  8772. "\x2f\xb7\xac\xd1\xfe\x0b\x9a\x80"
  8773. "\x0f\xb6\xf4\x36\x39\x90\x51\xe3"
  8774. "\x0a\x2f\xb6\x45\x76\x89\xcd\x61"
  8775. "\xfe\x48\x5f\x75\x1d\x13\x00\x62"
  8776. "\x80\x24\x47\xe7\xbc\x37\xd7\xe3"
  8777. "\x15\xe8\x68\x22\xaf\x80\x6f\x4b"
  8778. "\xa8\x9f\x01\x10\x48\x14\xc3\x02"
  8779. "\x52\xd2\xc7\x75\x9b\x52\x6d\x30"
  8780. "\xac\x13\x85\xc8\xf7\xa3\x58\x4b"
  8781. "\x49\xf7\x1c\x45\x55\x8c\x39\x9a"
  8782. "\x99\x6d\x97\x27\x27\xe6\xab\xdd"
  8783. "\x2c\x42\x1b\x35\xdd\x9d\x73\xbb"
  8784. "\x6c\xf3\x64\xf1\xfb\xb9\xf7\xe6"
  8785. "\x4a\x3c\xc0\x92\xc0\x2e\xb7\x1a"
  8786. "\xbe\xab\xb3\x5a\xe5\xea\xb1\x48"
  8787. "\x58\x13\x53\x90\xfd\xc3\x8e\x54"
  8788. "\xf9\x18\x16\x73\xe8\xcb\x6d\x39"
  8789. "\x0e\xd7\xe0\xfe\xb6\x9f\x43\x97"
  8790. "\xe8\xd0\x85\x56\x83\x3e\x98\x68"
  8791. "\x7f\xbd\x95\xa8\x9a\x61\x21\x8f"
  8792. "\x06\x98\x34\xa6\xc8\xd6\x1d\xf3"
  8793. "\x3d\x43\xa4\x9a\x8c\xe5\xd3\x5a"
  8794. "\x32\xa2\x04\x22\xa4\x19\x1a\x46"
  8795. "\x42\x7e\x4d\xe5\xe0\xe6\x0e\xca"
  8796. "\xd5\x58\x9d\x2c\xaf\xda\x33\x5c"
  8797. "\xb0\x79\x9e\xc9\xfc\xca\xf0\x2f"
  8798. "\xa8\xb2\x77\xeb\x7a\xa2\xdd\x37"
  8799. "\x35\x83\x07\xd6\x02\x1a\xb6\x6c"
  8800. "\x24\xe2\x59\x08\x0e\xfd\x3e\x46"
  8801. "\xec\x40\x93\xf4\x00\x26\x4f\x2a"
  8802. "\xff\x47\x2f\xeb\x02\x92\x26\x5b"
  8803. "\x53\x17\xc2\x8d\x2a\xc7\xa3\x1b"
  8804. "\xcd\xbc\xa7\xe8\xd1\x76\xe3\x80"
  8805. "\x21\xca\x5d\x3b\xe4\x9c\x8f\xa9"
  8806. "\x5b\x7f\x29\x7f\x7c\xd8\xed\x6d"
  8807. "\x8c\xb2\x86\x85\xe7\x77\xf2\x85"
  8808. "\xab\x38\xa9\x9d\xc1\x4e\xc5\x64"
  8809. "\x33\x73\x8b\x59\x03\xad\x05\xdf"
  8810. "\x25\x98\x31\xde\xef\x13\xf1\x9b"
  8811. "\x3c\x91\x9d\x7b\xb1\xfa\xe6\xbf"
  8812. "\x5b\xed\xa5\x55\xe6\xea\x6c\x74"
  8813. "\xf4\xb9\xe4\x45\x64\x72\x81\xc2"
  8814. "\x4c\x28\xd4\xcd\xac\xe2\xde\xf9"
  8815. "\xeb\x5c\xeb\x61\x60\x5a\xe5\x28",
  8816. .ksize = 1088,
  8817. .plaintext = "",
  8818. .psize = 0,
  8819. .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
  8820. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8821. }, {
  8822. .key = "\x29\x21\x43\xcb\xcb\x13\x07\xde"
  8823. "\xbf\x48\xdf\x8a\x7f\xa2\x84\xde"
  8824. "\x72\x23\x9d\xf5\xf0\x07\xf2\x4c"
  8825. "\x20\x3a\x93\xb9\xcd\x5d\xfe\xcb"
  8826. "\x99\x2c\x2b\x58\xc6\x50\x5f\x94"
  8827. "\x56\xc3\x7c\x0d\x02\x3f\xb8\x5e"
  8828. "\x7b\xc0\x6c\x51\x34\x76\xc0\x0e"
  8829. "\xc6\x22\xc8\x9e\x92\xa0\x21\xc9"
  8830. "\x85\x5c\x7c\xf8\xe2\x64\x47\xc9"
  8831. "\xe4\xa2\x57\x93\xf8\xa2\x69\xcd"
  8832. "\x62\x98\x99\xf4\xd7\x7b\x14\xb1"
  8833. "\xd8\x05\xff\x04\x15\xc9\xe1\x6e"
  8834. "\x9b\xe6\x50\x6b\x0b\x3f\x22\x1f"
  8835. "\x08\xde\x0c\x5b\x08\x7e\xc6\x2f"
  8836. "\x6c\xed\xd6\xb2\x15\xa4\xb3\xf9"
  8837. "\xa7\x46\x38\x2a\xea\x69\xa5\xde"
  8838. "\x02\xc3\x96\x89\x4d\x55\x3b\xed"
  8839. "\x3d\x3a\x85\x77\xbf\x97\x45\x5c"
  8840. "\x9e\x02\x69\xe2\x1b\x68\xbe\x96"
  8841. "\xfb\x64\x6f\x0f\xf6\x06\x40\x67"
  8842. "\xfa\x04\xe3\x55\xfa\xbe\xa4\x60"
  8843. "\xef\x21\x66\x97\xe6\x9d\x5c\x1f"
  8844. "\x62\x37\xaa\x31\xde\xe4\x9c\x28"
  8845. "\x95\xe0\x22\x86\xf4\x4d\xf3\x07"
  8846. "\xfd\x5f\x3a\x54\x2c\x51\x80\x71"
  8847. "\xba\x78\x69\x5b\x65\xab\x1f\x81"
  8848. "\xed\x3b\xff\x34\xa3\xfb\xbc\x73"
  8849. "\x66\x7d\x13\x7f\xdf\x6e\xe2\xe2"
  8850. "\xeb\x4f\x6c\xda\x7d\x33\x57\xd0"
  8851. "\xd3\x7c\x95\x4f\x33\x58\x21\xc7"
  8852. "\xc0\xe5\x6f\x42\x26\xc6\x1f\x5e"
  8853. "\x85\x1b\x98\x9a\xa2\x1e\x55\x77"
  8854. "\x23\xdf\x81\x5e\x79\x55\x05\xfc"
  8855. "\xfb\xda\xee\xba\x5a\xba\xf7\x77"
  8856. "\x7f\x0e\xd3\xe1\x37\xfe\x8d\x2b"
  8857. "\xd5\x3f\xfb\xd0\xc0\x3c\x0b\x3f"
  8858. "\xcf\x3c\x14\xcf\xfb\x46\x72\x4c"
  8859. "\x1f\x39\xe2\xda\x03\x71\x6d\x23"
  8860. "\xef\x93\xcd\x39\xd9\x37\x80\x4d"
  8861. "\x65\x61\xd1\x2c\x03\xa9\x47\x72"
  8862. "\x4d\x1e\x0e\x16\x33\x0f\x21\x17"
  8863. "\xec\x92\xea\x6f\x37\x22\xa4\xd8"
  8864. "\x03\x33\x9e\xd8\x03\x69\x9a\xe8"
  8865. "\xb2\x57\xaf\x78\x99\x05\x12\xab"
  8866. "\x48\x90\x80\xf0\x12\x9b\x20\x64"
  8867. "\x7a\x1d\x47\x5f\xba\x3c\xf9\xc3"
  8868. "\x0a\x0d\x8d\xa1\xf9\x1b\x82\x13"
  8869. "\x3e\x0d\xec\x0a\x83\xc0\x65\xe1"
  8870. "\xe9\x95\xff\x97\xd6\xf2\xe4\xd5"
  8871. "\x86\xc0\x1f\x29\x27\x63\xd7\xde"
  8872. "\xb7\x0a\x07\x99\x04\x2d\xa3\x89"
  8873. "\xa2\x43\xcf\xf3\xe1\x43\xac\x4a"
  8874. "\x06\x97\xd0\x05\x4f\x87\xfa\xf9"
  8875. "\x9b\xbf\x52\x70\xbd\xbc\x6c\xf3"
  8876. "\x03\x13\x60\x41\x28\x09\xec\xcc"
  8877. "\xb1\x1a\xec\xd6\xfb\x6f\x2a\x89"
  8878. "\x5d\x0b\x53\x9c\x59\xc1\x84\x21"
  8879. "\x33\x51\x47\x19\x31\x9c\xd4\x0a"
  8880. "\x4d\x04\xec\x50\x90\x61\xbd\xbc"
  8881. "\x7e\xc8\xd9\x6c\x98\x1d\x45\x41"
  8882. "\x17\x5e\x97\x1c\xc5\xa8\xe8\xea"
  8883. "\x46\x58\x53\xf7\x17\xd5\xad\x11"
  8884. "\xc8\x54\xf5\x7a\x33\x90\xf5\x19"
  8885. "\xba\x36\xb4\xfc\x52\xa5\x72\x3d"
  8886. "\x14\xbb\x55\xa7\xe9\xe3\x12\xf7"
  8887. "\x1c\x30\xa2\x82\x03\xbf\x53\x91"
  8888. "\x2e\x60\x41\x9f\x5b\x69\x39\xf6"
  8889. "\x4d\xc8\xf8\x46\x7a\x7f\xa4\x98"
  8890. "\x36\xff\x06\xcb\xca\xe7\x33\xf2"
  8891. "\xc0\x4a\xf4\x3c\x14\x44\x5f\x6b"
  8892. "\x75\xef\x02\x36\x75\x08\x14\xfd"
  8893. "\x10\x8e\xa5\x58\xd0\x30\x46\x49"
  8894. "\xaf\x3a\xf8\x40\x3d\x35\xdb\x84"
  8895. "\x11\x2e\x97\x6a\xb7\x87\x7f\xad"
  8896. "\xf1\xfa\xa5\x63\x60\xd8\x5e\xbf"
  8897. "\x41\x78\x49\xcf\x77\xbb\x56\xbb"
  8898. "\x7d\x01\x67\x05\x22\xc8\x8f\x41"
  8899. "\xba\x81\xd2\xca\x2c\x38\xac\x76"
  8900. "\x06\xc1\x1a\xc2\xce\xac\x90\x67"
  8901. "\x57\x3e\x20\x12\x5b\xd9\x97\x58"
  8902. "\x65\x05\xb7\x04\x61\x7e\xd8\x3a"
  8903. "\xbf\x55\x3b\x13\xe9\x34\x5a\x37"
  8904. "\x36\xcb\x94\x45\xc5\x32\xb3\xa0"
  8905. "\x0c\x3e\x49\xc5\xd3\xed\xa7\xf0"
  8906. "\x1c\x69\xcc\xea\xcc\x83\xc9\x16"
  8907. "\x95\x72\x4b\xf4\x89\xd5\xb9\x10"
  8908. "\xf6\x2d\x60\x15\xea\x3c\x06\x66"
  8909. "\x9f\x82\xad\x17\xce\xd2\xa4\x48"
  8910. "\x7c\x65\xd9\xf8\x02\x4d\x9b\x4c"
  8911. "\x89\x06\x3a\x34\x85\x48\x89\x86"
  8912. "\xf9\x24\xa9\x54\x72\xdb\x44\x95"
  8913. "\xc7\x44\x1c\x19\x11\x4c\x04\xdc"
  8914. "\x13\xb9\x67\xc8\xc3\x3a\x6a\x50"
  8915. "\xfa\xd1\xfb\xe1\x88\xb6\xf1\xa3"
  8916. "\xc5\x3b\xdc\x38\x45\x16\x26\x02"
  8917. "\x3b\xb8\x8f\x8b\x58\x7d\x23\x04"
  8918. "\x50\x6b\x81\x9f\xae\x66\xac\x6f"
  8919. "\xcf\x2a\x9d\xf1\xfd\x1d\x57\x07"
  8920. "\xbe\x58\xeb\x77\x0c\xe3\xc2\x19"
  8921. "\x14\x74\x1b\x51\x1c\x4f\x41\xf3"
  8922. "\x32\x89\xb3\xe7\xde\x62\xf6\x5f"
  8923. "\xc7\x6a\x4a\x2a\x5b\x0f\x5f\x87"
  8924. "\x9c\x08\xb9\x02\x88\xc8\x29\xb7"
  8925. "\x94\x52\xfa\x52\xfe\xaa\x50\x10"
  8926. "\xba\x48\x75\x5e\x11\x1b\xe6\x39"
  8927. "\xd7\x82\x2c\x87\xf1\x1e\xa4\x38"
  8928. "\x72\x3e\x51\xe7\xd8\x3e\x5b\x7b"
  8929. "\x31\x16\x89\xba\xd6\xad\x18\x5e"
  8930. "\xba\xf8\x12\xb3\xf4\x6c\x47\x30"
  8931. "\xc0\x38\x58\xb3\x10\x8d\x58\x5d"
  8932. "\xb4\xfb\x19\x7e\x41\xc3\x66\xb8"
  8933. "\xd6\x72\x84\xe1\x1a\xc2\x71\x4c"
  8934. "\x0d\x4a\x21\x7a\xab\xa2\xc0\x36"
  8935. "\x15\xc5\xe9\x46\xd7\x29\x17\x76"
  8936. "\x5e\x47\x36\x7f\x72\x05\xa7\xcc"
  8937. "\x36\x63\xf9\x47\x7d\xe6\x07\x3c"
  8938. "\x8b\x79\x1d\x96\x61\x8d\x90\x65"
  8939. "\x7c\xf5\xeb\x4e\x6e\x09\x59\x6d"
  8940. "\x62\x50\x1b\x0f\xe0\xdc\x78\xf2"
  8941. "\x5b\x83\x1a\xa1\x11\x75\xfd\x18"
  8942. "\xd7\xe2\x8d\x65\x14\x21\xce\xbe"
  8943. "\xb5\x87\xe3\x0a\xda\x24\x0a\x64"
  8944. "\xa9\x9f\x03\x8d\x46\x5d\x24\x1a"
  8945. "\x8a\x0c\x42\x01\xca\xb1\x5f\x7c"
  8946. "\xa5\xac\x32\x4a\xb8\x07\x91\x18"
  8947. "\x6f\xb0\x71\x3c\xc9\xb1\xa8\xf8"
  8948. "\x5f\x69\xa5\xa1\xca\x9e\x7a\xaa"
  8949. "\xac\xe9\xc7\x47\x41\x75\x25\xc3"
  8950. "\x73\xe2\x0b\xdd\x6d\x52\x71\xbe"
  8951. "\xc5\xdc\xb4\xe7\x01\x26\x53\x77"
  8952. "\x86\x90\x85\x68\x6b\x7b\x03\x53"
  8953. "\xda\x52\x52\x51\x68\xc8\xf3\xec"
  8954. "\x6c\xd5\x03\x7a\xa3\x0e\xb4\x02"
  8955. "\x5f\x1a\xab\xee\xca\x67\x29\x7b"
  8956. "\xbd\x96\x59\xb3\x8b\x32\x7a\x92"
  8957. "\x9f\xd8\x25\x2b\xdf\xc0\x4c\xda",
  8958. .ksize = 1088,
  8959. .plaintext = "\xbc\xda\x81\xa8\x78\x79\x1c\xbf"
  8960. "\x77\x53\xba\x4c\x30\x5b\xb8\x33",
  8961. .psize = 16,
  8962. .digest = "\x04\xbf\x7f\x6a\xce\x72\xea\x6a"
  8963. "\x79\xdb\xb0\xc9\x60\xf6\x12\xcc",
  8964. }, {
  8965. .key = "\x2e\x77\x1e\x2c\x63\x76\x34\x3f"
  8966. "\x71\x08\x4f\x5a\xe3\x3d\x74\x56"
  8967. "\xc7\x98\x46\x52\xe5\x8a\xba\x0d"
  8968. "\x72\x41\x11\x15\x14\x72\x50\x8a"
  8969. "\xd5\xec\x60\x09\xdd\x71\xcc\xb9"
  8970. "\x59\x81\x65\x2d\x9e\x50\x18\xf3"
  8971. "\x32\xf3\xf1\xe7\x01\x82\x1c\xad"
  8972. "\x88\xa0\x21\x0c\x4b\x80\x5e\x62"
  8973. "\xfc\x81\xec\x52\xaa\xe4\xa5\x86"
  8974. "\xc2\xe6\x03\x11\xdc\x66\x09\x86"
  8975. "\x3c\x3b\xf0\x59\x0f\xb3\xf7\x44"
  8976. "\x24\xb7\x88\xc5\xfc\xc8\x77\x9f"
  8977. "\x8c\x44\xc4\x11\x55\xce\x7a\xa3"
  8978. "\xe0\xa2\xb8\xbf\xb5\x3d\x07\x2c"
  8979. "\x32\xb6\x6c\xfc\xb4\x42\x95\x95"
  8980. "\x98\x32\x81\xc4\xe7\xe2\xd9\x6a"
  8981. "\x87\xf4\xf4\x1e\x74\x7c\xb5\xcd"
  8982. "\x51\x45\x68\x38\x51\xdb\x30\x74"
  8983. "\x11\xe0\xaa\xae\x19\x8f\x15\x55"
  8984. "\xdd\x47\x4a\x35\xb9\x0c\xb4\x4e"
  8985. "\xa9\xce\x2f\xfa\x8f\xc1\x8a\x5e"
  8986. "\x5b\xec\xa5\x81\x3b\xb3\x43\x06"
  8987. "\x24\x81\xf4\x24\xe2\x21\xfa\xcb"
  8988. "\x49\xa8\xf8\xbd\x31\x4a\x5b\x2d"
  8989. "\x64\x0a\x07\xf0\x80\xc9\x0d\x81"
  8990. "\x14\x58\x54\x2b\xba\x22\x31\xba"
  8991. "\xef\x66\xc9\x49\x69\x69\x83\x0d"
  8992. "\xf2\xf9\x80\x9d\x30\x36\xfb\xe3"
  8993. "\xc0\x72\x2b\xcc\x5a\x81\x2c\x5d"
  8994. "\x3b\x5e\xf8\x2b\xd3\x14\x28\x73"
  8995. "\xf9\x1c\x70\xe6\xd8\xbb\xac\x30"
  8996. "\xf9\xd9\xa0\xe2\x33\x7c\x33\x34"
  8997. "\xa5\x6a\x77\x6d\xd5\xaf\xf4\xf3"
  8998. "\xc7\xb3\x0e\x83\x3d\xcb\x01\xcc"
  8999. "\x81\xc0\xf9\x4a\xae\x36\x92\xf7"
  9000. "\x69\x7b\x65\x01\xc3\xc8\xb8\xae"
  9001. "\x16\xd8\x30\xbb\xba\x6d\x78\x6e"
  9002. "\x0d\xf0\x7d\x84\xb7\x87\xda\x28"
  9003. "\x7a\x18\x10\x0b\x29\xec\x29\xf3"
  9004. "\xb0\x7b\xa1\x28\xbf\xbc\x2b\x2c"
  9005. "\x92\x2c\x16\xfb\x02\x39\xf9\xa6"
  9006. "\xa2\x15\x05\xa6\x72\x10\xbc\x62"
  9007. "\x4a\x6e\xb8\xb5\x5d\x59\xae\x3c"
  9008. "\x32\xd3\x68\xd7\x8e\x5a\xcd\x1b"
  9009. "\xef\xf6\xa7\x5e\x10\x51\x15\x4b"
  9010. "\x2c\xe3\xba\x70\x4f\x2c\xa0\x1c"
  9011. "\x7b\x97\xd7\xb2\xa5\x05\x17\xcc"
  9012. "\xf7\x3a\x29\x6f\xd5\x4b\xb8\x24"
  9013. "\xf4\x65\x95\x12\xc0\x86\xd1\x64"
  9014. "\x81\xdf\x46\x55\x0d\x22\x06\x77"
  9015. "\xd8\xca\x8d\xc8\x87\xc3\xfa\xb9"
  9016. "\xe1\x98\x94\xe6\x7b\xed\x65\x66"
  9017. "\x0e\xc7\x25\x15\xee\x4a\xe6\x7e"
  9018. "\xea\x1b\x58\xee\x96\xa0\x75\x9a"
  9019. "\xa3\x00\x9e\x42\xc2\x26\x20\x8c"
  9020. "\x3d\x22\x1f\x94\x3e\x74\x43\x72"
  9021. "\xe9\x1d\xa6\xa1\x6c\xa7\xb8\x03"
  9022. "\xdf\xb9\x7a\xaf\xe9\xe9\x3b\xfe"
  9023. "\xdf\x91\xc1\x01\xa8\xba\x5d\x29"
  9024. "\xa5\xe0\x98\x9b\x13\xe5\x13\x11"
  9025. "\x7c\x04\x3a\xe8\x44\x7e\x78\xfc"
  9026. "\xd6\x96\xa8\xbc\x7d\xc1\x89\x3d"
  9027. "\x75\x64\xa9\x0e\x86\x33\xfb\x73"
  9028. "\xf7\x15\xbc\x2c\x9a\x3f\x29\xce"
  9029. "\x1c\x9d\x10\x4e\x85\xe1\x77\x41"
  9030. "\x01\xe2\xbc\x88\xec\x81\xef\xc2"
  9031. "\x6a\xed\x4f\xf7\xdf\xac\x10\x71"
  9032. "\x94\xed\x71\xa4\x01\xd4\xd6\xbe"
  9033. "\xfe\x3e\xc3\x92\x6a\xf2\x2b\xb5"
  9034. "\xab\x15\x96\xb7\x88\x2c\xc2\xe1"
  9035. "\xb0\x04\x22\xe7\x3d\xa9\xc9\x7d"
  9036. "\x2c\x7c\x21\xff\x97\x86\x6b\x0c"
  9037. "\x2b\x5b\xe0\xb6\x48\x74\x8f\x24"
  9038. "\xef\x8e\xdd\x0f\x2a\x5f\xff\x33"
  9039. "\xf4\x8e\xc5\xeb\x9c\xd7\x2a\x45"
  9040. "\xf3\x50\xf1\xc0\x91\x8f\xc7\xf9"
  9041. "\x97\xc1\x3c\x9c\xf4\xed\x8a\x23"
  9042. "\x61\x5b\x40\x1a\x09\xee\x23\xa8"
  9043. "\x7c\x7a\x96\xe1\x31\x55\x3d\x12"
  9044. "\x04\x1f\x21\x78\x72\xf0\x0f\xa5"
  9045. "\x80\x58\x7c\x2f\x37\xb5\x67\x24"
  9046. "\x2f\xce\xf9\xf6\x86\x9f\xb3\x34"
  9047. "\x0c\xfe\x0a\xaf\x27\xe6\x5e\x0a"
  9048. "\x21\x44\x68\xe1\x5d\x84\x25\xae"
  9049. "\x2c\x5a\x94\x66\x9a\x3f\x0e\x5a"
  9050. "\xd0\x60\x2a\xd5\x3a\x4e\x2f\x40"
  9051. "\x87\xe9\x27\x3e\xee\x92\xe1\x07"
  9052. "\x22\x43\x52\xed\x67\x49\x13\xdd"
  9053. "\x68\xd7\x54\xc2\x76\x72\x7e\x75"
  9054. "\xaf\x24\x98\x5c\xe8\x22\xaa\x35"
  9055. "\x0f\x9a\x1c\x4c\x0b\x43\x68\x99"
  9056. "\x45\xdd\xbf\x82\xa5\x6f\x0a\xef"
  9057. "\x44\x90\x85\xe7\x57\x23\x22\x41"
  9058. "\x2e\xda\x24\x28\x65\x7f\x96\x85"
  9059. "\x9f\x4b\x0d\x43\xb9\xa8\xbd\x84"
  9060. "\xad\x0b\x09\xcc\x2c\x4a\x0c\xec"
  9061. "\x71\x58\xba\xf1\xfc\x49\x4c\xca"
  9062. "\x5c\x5d\xb2\x77\x0c\x99\xae\x1c"
  9063. "\xce\x70\x05\x5b\x73\x6b\x7c\x28"
  9064. "\x3b\xeb\x21\x3f\xa3\x71\xe1\x6a"
  9065. "\xf4\x87\xd0\xbf\x73\xaa\x0b\x0b"
  9066. "\xed\x70\xb3\xd4\xa3\xca\x76\x3a"
  9067. "\xdb\xfa\xd8\x08\x95\xec\xac\x59"
  9068. "\xd0\x79\x90\xc2\x33\x7b\xcc\x28"
  9069. "\x65\xb6\x5f\x92\xc4\xac\x23\x40"
  9070. "\xd1\x20\x44\x1f\xd7\x29\xab\x46"
  9071. "\x79\x32\xc6\x8f\x79\xe5\xaa\x2c"
  9072. "\xa6\x76\x70\x3a\x9e\x46\x3f\x8c"
  9073. "\x1a\x89\x32\x28\x61\x5c\xcf\x93"
  9074. "\x1e\xde\x9e\x98\xbe\x06\x30\x23"
  9075. "\xc4\x8b\xda\x1c\xd1\x67\x46\x93"
  9076. "\x9d\x41\xa2\x8c\x03\x22\xbd\x55"
  9077. "\x7e\x91\x51\x13\xdc\xcf\x5c\x1e"
  9078. "\xcb\x5d\xfb\x14\x16\x1a\x44\x56"
  9079. "\x27\x77\xfd\xed\x7d\xbd\xd1\x49"
  9080. "\x7f\x0d\xc3\x59\x48\x6b\x3c\x02"
  9081. "\x6b\xb5\xd0\x83\xd5\x81\x29\xe7"
  9082. "\xe0\xc9\x36\x23\x8d\x41\x33\x77"
  9083. "\xff\x5f\x54\xde\x4d\x3f\xd2\x4e"
  9084. "\xb6\x4d\xdd\x85\xf8\x9b\x20\x7d"
  9085. "\x39\x27\x68\x63\xd3\x8e\x61\x39"
  9086. "\xfa\xe1\xc3\x04\x74\x27\x5a\x34"
  9087. "\x7f\xec\x59\x2d\xc5\x6e\x54\x23"
  9088. "\xf5\x7b\x4b\xbe\x58\x2b\xf2\x81"
  9089. "\x93\x63\xcc\x13\xd9\x90\xbb\x6a"
  9090. "\x41\x03\x8d\x95\xeb\xbb\x5d\x06"
  9091. "\x38\x4c\x0e\xd6\xa9\x5b\x84\x97"
  9092. "\x3e\x64\x72\xe9\x96\x07\x0f\x73"
  9093. "\x6e\xc6\x3b\x32\xbe\xac\x13\x14"
  9094. "\xd0\x0a\x17\x5f\xb9\x9c\x3e\x34"
  9095. "\xd9\xec\xd6\x8f\x89\xbf\x1e\xd3"
  9096. "\xda\x80\xb2\x29\xff\x28\x96\xb3"
  9097. "\x46\x50\x5b\x15\x80\x97\xee\x1f"
  9098. "\x6c\xd8\xe8\xe0\xbd\x09\xe7\x20"
  9099. "\x8c\x23\x8e\xd9\xbb\x92\xfa\x82"
  9100. "\xaa\x0f\xb5\xf8\x78\x60\x11\xf0",
  9101. .ksize = 1088,
  9102. .plaintext = "\x0b\xb2\x31\x2d\xad\xfe\xce\xf9"
  9103. "\xec\x5d\x3d\x64\x5f\x3f\x75\x43"
  9104. "\x05\x5b\x97",
  9105. .psize = 19,
  9106. .digest = "\x5f\x02\xae\x65\x6c\x13\x21\x67"
  9107. "\x77\x9e\xc4\x43\x58\x68\xde\x8f",
  9108. }, {
  9109. .key = "\x65\x4d\xe3\xf8\xd2\x4c\xac\x28"
  9110. "\x68\xf5\xb3\x81\x71\x4b\xa1\xfa"
  9111. "\x04\x0e\xd3\x81\x36\xbe\x0c\x81"
  9112. "\x5e\xaf\xbc\x3a\xa4\xc0\x8e\x8b"
  9113. "\x55\x63\xd3\x52\x97\x88\xd6\x19"
  9114. "\xbc\x96\xdf\x49\xff\x04\x63\xf5"
  9115. "\x0c\x11\x13\xaa\x9e\x1f\x5a\xf7"
  9116. "\xdd\xbd\x37\x80\xc3\xd0\xbe\xa7"
  9117. "\x05\xc8\x3c\x98\x1e\x05\x3c\x84"
  9118. "\x39\x61\xc4\xed\xed\x71\x1b\xc4"
  9119. "\x74\x45\x2c\xa1\x56\x70\x97\xfd"
  9120. "\x44\x18\x07\x7d\xca\x60\x1f\x73"
  9121. "\x3b\x6d\x21\xcb\x61\x87\x70\x25"
  9122. "\x46\x21\xf1\x1f\x21\x91\x31\x2d"
  9123. "\x5d\xcc\xb7\xd1\x84\x3e\x3d\xdb"
  9124. "\x03\x53\x2a\x82\xa6\x9a\x95\xbc"
  9125. "\x1a\x1e\x0a\x5e\x07\x43\xab\x43"
  9126. "\xaf\x92\x82\x06\x91\x04\x09\xf4"
  9127. "\x17\x0a\x9a\x2c\x54\xdb\xb8\xf4"
  9128. "\xd0\xf0\x10\x66\x24\x8d\xcd\xda"
  9129. "\xfe\x0e\x45\x9d\x6f\xc4\x4e\xf4"
  9130. "\x96\xaf\x13\xdc\xa9\xd4\x8c\xc4"
  9131. "\xc8\x57\x39\x3c\xc2\xd3\x0a\x76"
  9132. "\x4a\x1f\x75\x83\x44\xc7\xd1\x39"
  9133. "\xd8\xb5\x41\xba\x73\x87\xfa\x96"
  9134. "\xc7\x18\x53\xfb\x9b\xda\xa0\x97"
  9135. "\x1d\xee\x60\x85\x9e\x14\xc3\xce"
  9136. "\xc4\x05\x29\x3b\x95\x30\xa3\xd1"
  9137. "\x9f\x82\x6a\x04\xf5\xa7\x75\x57"
  9138. "\x82\x04\xfe\x71\x51\x71\xb1\x49"
  9139. "\x50\xf8\xe0\x96\xf1\xfa\xa8\x88"
  9140. "\x3f\xa0\x86\x20\xd4\x60\x79\x59"
  9141. "\x17\x2d\xd1\x09\xf4\xec\x05\x57"
  9142. "\xcf\x62\x7e\x0e\x7e\x60\x78\xe6"
  9143. "\x08\x60\x29\xd8\xd5\x08\x1a\x24"
  9144. "\xc4\x6c\x24\xe7\x92\x08\x3d\x8a"
  9145. "\x98\x7a\xcf\x99\x0a\x65\x0e\xdc"
  9146. "\x8c\x8a\xbe\x92\x82\x91\xcc\x62"
  9147. "\x30\xb6\xf4\x3f\xc6\x8a\x7f\x12"
  9148. "\x4a\x8a\x49\xfa\x3f\x5c\xd4\x5a"
  9149. "\xa6\x82\xa3\xe6\xaa\x34\x76\xb2"
  9150. "\xab\x0a\x30\xef\x6c\x77\x58\x3f"
  9151. "\x05\x6b\xcc\x5c\xae\xdc\xd7\xb9"
  9152. "\x51\x7e\x8d\x32\x5b\x24\x25\xbe"
  9153. "\x2b\x24\x01\xcf\x80\xda\x16\xd8"
  9154. "\x90\x72\x2c\xad\x34\x8d\x0c\x74"
  9155. "\x02\xcb\xfd\xcf\x6e\xef\x97\xb5"
  9156. "\x4c\xf2\x68\xca\xde\x43\x9e\x8a"
  9157. "\xc5\x5f\x31\x7f\x14\x71\x38\xec"
  9158. "\xbd\x98\xe5\x71\xc4\xb5\xdb\xef"
  9159. "\x59\xd2\xca\xc0\xc1\x86\x75\x01"
  9160. "\xd4\x15\x0d\x6f\xa4\xf7\x7b\x37"
  9161. "\x47\xda\x18\x93\x63\xda\xbe\x9e"
  9162. "\x07\xfb\xb2\x83\xd5\xc4\x34\x55"
  9163. "\xee\x73\xa1\x42\x96\xf9\x66\x41"
  9164. "\xa4\xcc\xd2\x93\x6e\xe1\x0a\xbb"
  9165. "\xd2\xdd\x18\x23\xe6\x6b\x98\x0b"
  9166. "\x8a\x83\x59\x2c\xc3\xa6\x59\x5b"
  9167. "\x01\x22\x59\xf7\xdc\xb0\x87\x7e"
  9168. "\xdb\x7d\xf4\x71\x41\xab\xbd\xee"
  9169. "\x79\xbe\x3c\x01\x76\x0b\x2d\x0a"
  9170. "\x42\xc9\x77\x8c\xbb\x54\x95\x60"
  9171. "\x43\x2e\xe0\x17\x52\xbd\x90\xc9"
  9172. "\xc2\x2c\xdd\x90\x24\x22\x76\x40"
  9173. "\x5c\xb9\x41\xc9\xa1\xd5\xbd\xe3"
  9174. "\x44\xe0\xa4\xab\xcc\xb8\xe2\x32"
  9175. "\x02\x15\x04\x1f\x8c\xec\x5d\x14"
  9176. "\xac\x18\xaa\xef\x6e\x33\x19\x6e"
  9177. "\xde\xfe\x19\xdb\xeb\x61\xca\x18"
  9178. "\xad\xd8\x3d\xbf\x09\x11\xc7\xa5"
  9179. "\x86\x0b\x0f\xe5\x3e\xde\xe8\xd9"
  9180. "\x0a\x69\x9e\x4c\x20\xff\xf9\xc5"
  9181. "\xfa\xf8\xf3\x7f\xa5\x01\x4b\x5e"
  9182. "\x0f\xf0\x3b\x68\xf0\x46\x8c\x2a"
  9183. "\x7a\xc1\x8f\xa0\xfe\x6a\x5b\x44"
  9184. "\x70\x5c\xcc\x92\x2c\x6f\x0f\xbd"
  9185. "\x25\x3e\xb7\x8e\x73\x58\xda\xc9"
  9186. "\xa5\xaa\x9e\xf3\x9b\xfd\x37\x3e"
  9187. "\xe2\x88\xa4\x7b\xc8\x5c\xa8\x93"
  9188. "\x0e\xe7\x9a\x9c\x2e\x95\x18\x9f"
  9189. "\xc8\x45\x0c\x88\x9e\x53\x4f\x3a"
  9190. "\x76\xc1\x35\xfa\x17\xd8\xac\xa0"
  9191. "\x0c\x2d\x47\x2e\x4f\x69\x9b\xf7"
  9192. "\xd0\xb6\x96\x0c\x19\xb3\x08\x01"
  9193. "\x65\x7a\x1f\xc7\x31\x86\xdb\xc8"
  9194. "\xc1\x99\x8f\xf8\x08\x4a\x9d\x23"
  9195. "\x22\xa8\xcf\x27\x01\x01\x88\x93"
  9196. "\x9c\x86\x45\xbd\xe0\x51\xca\x52"
  9197. "\x84\xba\xfe\x03\xf7\xda\xc5\xce"
  9198. "\x3e\x77\x75\x86\xaf\x84\xc8\x05"
  9199. "\x44\x01\x0f\x02\xf3\x58\xb0\x06"
  9200. "\x5a\xd7\x12\x30\x8d\xdf\x1f\x1f"
  9201. "\x0a\xe6\xd2\xea\xf6\x3a\x7a\x99"
  9202. "\x63\xe8\xd2\xc1\x4a\x45\x8b\x40"
  9203. "\x4d\x0a\xa9\x76\x92\xb3\xda\x87"
  9204. "\x36\x33\xf0\x78\xc3\x2f\x5f\x02"
  9205. "\x1a\x6a\x2c\x32\xcd\x76\xbf\xbd"
  9206. "\x5a\x26\x20\x28\x8c\x8c\xbc\x52"
  9207. "\x3d\x0a\xc9\xcb\xab\xa4\x21\xb0"
  9208. "\x54\x40\x81\x44\xc7\xd6\x1c\x11"
  9209. "\x44\xc6\x02\x92\x14\x5a\xbf\x1a"
  9210. "\x09\x8a\x18\xad\xcd\x64\x3d\x53"
  9211. "\x4a\xb6\xa5\x1b\x57\x0e\xef\xe0"
  9212. "\x8c\x44\x5f\x7d\xbd\x6c\xfd\x60"
  9213. "\xae\x02\x24\xb6\x99\xdd\x8c\xaf"
  9214. "\x59\x39\x75\x3c\xd1\x54\x7b\x86"
  9215. "\xcc\x99\xd9\x28\x0c\xb0\x94\x62"
  9216. "\xf9\x51\xd1\x19\x96\x2d\x66\xf5"
  9217. "\x55\xcf\x9e\x59\xe2\x6b\x2c\x08"
  9218. "\xc0\x54\x48\x24\x45\xc3\x8c\x73"
  9219. "\xea\x27\x6e\x66\x7d\x1d\x0e\x6e"
  9220. "\x13\xe8\x56\x65\x3a\xb0\x81\x5c"
  9221. "\xf0\xe8\xd8\x00\x6b\xcd\x8f\xad"
  9222. "\xdd\x53\xf3\xa4\x6c\x43\xd6\x31"
  9223. "\xaf\xd2\x76\x1e\x91\x12\xdb\x3c"
  9224. "\x8c\xc2\x81\xf0\x49\xdb\xe2\x6b"
  9225. "\x76\x62\x0a\x04\xe4\xaa\x8a\x7c"
  9226. "\x08\x0b\x5d\xd0\xee\x1d\xfb\xc4"
  9227. "\x02\x75\x42\xd6\xba\xa7\x22\xa8"
  9228. "\x47\x29\xb7\x85\x6d\x93\x3a\xdb"
  9229. "\x00\x53\x0b\xa2\xeb\xf8\xfe\x01"
  9230. "\x6f\x8a\x31\xd6\x17\x05\x6f\x67"
  9231. "\x88\x95\x32\xfe\x4f\xa6\x4b\xf8"
  9232. "\x03\xe4\xcd\x9a\x18\xe8\x4e\x2d"
  9233. "\xf7\x97\x9a\x0c\x7d\x9f\x7e\x44"
  9234. "\x69\x51\xe0\x32\x6b\x62\x86\x8f"
  9235. "\xa6\x8e\x0b\x21\x96\xe5\xaf\x77"
  9236. "\xc0\x83\xdf\xa5\x0e\xd0\xa1\x04"
  9237. "\xaf\xc1\x10\xcb\x5a\x40\xe4\xe3"
  9238. "\x38\x7e\x07\xe8\x4d\xfa\xed\xc5"
  9239. "\xf0\x37\xdf\xbb\x8a\xcf\x3d\xdc"
  9240. "\x61\xd2\xc6\x2b\xff\x07\xc9\x2f"
  9241. "\x0c\x2d\x5c\x07\xa8\x35\x6a\xfc"
  9242. "\xae\x09\x03\x45\x74\x51\x4d\xc4"
  9243. "\xb8\x23\x87\x4a\x99\x27\x20\x87"
  9244. "\x62\x44\x0a\x4a\xce\x78\x47\x22",
  9245. .ksize = 1088,
  9246. .plaintext = "\x8e\xb0\x4c\xde\x9c\x4a\x04\x5a"
  9247. "\xf6\xa9\x7f\x45\x25\xa5\x7b\x3a"
  9248. "\xbc\x4d\x73\x39\x81\xb5\xbd\x3d"
  9249. "\x21\x6f\xd7\x37\x50\x3c\x7b\x28"
  9250. "\xd1\x03\x3a\x17\xed\x7b\x7c\x2a"
  9251. "\x16\xbc\xdf\x19\x89\x52\x71\x31"
  9252. "\xb6\xc0\xfd\xb5\xd3\xba\x96\x99"
  9253. "\xb6\x34\x0b\xd0\x99\x93\xfc\x1a"
  9254. "\x01\x3c\x85\xc6\x9b\x78\x5c\x8b"
  9255. "\xfe\xae\xd2\xbf\xb2\x6f\xf9\xed"
  9256. "\xc8\x25\x17\xfe\x10\x3b\x7d\xda"
  9257. "\xf4\x8d\x35\x4b\x7c\x7b\x82\xe7"
  9258. "\xc2\xb3\xee\x60\x4a\x03\x86\xc9"
  9259. "\x4e\xb5\xc4\xbe\xd2\xbd\x66\xf1"
  9260. "\x13\xf1\x09\xab\x5d\xca\x63\x1f"
  9261. "\xfc\xfb\x57\x2a\xfc\xca\x66\xd8"
  9262. "\x77\x84\x38\x23\x1d\xac\xd3\xb3"
  9263. "\x7a\xad\x4c\x70\xfa\x9c\xc9\x61"
  9264. "\xa6\x1b\xba\x33\x4b\x4e\x33\xec"
  9265. "\xa0\xa1\x64\x39\x40\x05\x1c\xc2"
  9266. "\x3f\x49\x9d\xae\xf2\xc5\xf2\xc5"
  9267. "\xfe\xe8\xf4\xc2\xf9\x96\x2d\x28"
  9268. "\x92\x30\x44\xbc\xd2\x7f\xe1\x6e"
  9269. "\x62\x02\x8f\x3d\x1c\x80\xda\x0e"
  9270. "\x6a\x90\x7e\x75\xff\xec\x3e\xc4"
  9271. "\xcd\x16\x34\x3b\x05\x6d\x4d\x20"
  9272. "\x1c\x7b\xf5\x57\x4f\xfa\x3d\xac"
  9273. "\xd0\x13\x55\xe8\xb3\xe1\x1b\x78"
  9274. "\x30\xe6\x9f\x84\xd4\x69\xd1\x08"
  9275. "\x12\x77\xa7\x4a\xbd\xc0\xf2\xd2"
  9276. "\x78\xdd\xa3\x81\x12\xcb\x6c\x14"
  9277. "\x90\x61\xe2\x84\xc6\x2b\x16\xcc"
  9278. "\x40\x99\x50\x88\x01\x09\x64\x4f"
  9279. "\x0a\x80\xbe\x61\xae\x46\xc9\x0a"
  9280. "\x5d\xe0\xfb\x72\x7a\x1a\xdd\x61"
  9281. "\x63\x20\x05\xa0\x4a\xf0\x60\x69"
  9282. "\x7f\x92\xbc\xbf\x4e\x39\x4d\xdd"
  9283. "\x74\xd1\xb7\xc0\x5a\x34\xb7\xae"
  9284. "\x76\x65\x2e\xbc\x36\xb9\x04\x95"
  9285. "\x42\xe9\x6f\xca\x78\xb3\x72\x07"
  9286. "\xa3\xba\x02\x94\x67\x4c\xb1\xd7"
  9287. "\xe9\x30\x0d\xf0\x3b\xb8\x10\x6d"
  9288. "\xea\x2b\x21\xbf\x74\x59\x82\x97"
  9289. "\x85\xaa\xf1\xd7\x54\x39\xeb\x05"
  9290. "\xbd\xf3\x40\xa0\x97\xe6\x74\xfe"
  9291. "\xb4\x82\x5b\xb1\x36\xcb\xe8\x0d"
  9292. "\xce\x14\xd9\xdf\xf1\x94\x22\xcd"
  9293. "\xd6\x00\xba\x04\x4c\x05\x0c\xc0"
  9294. "\xd1\x5a\xeb\x52\xd5\xa8\x8e\xc8"
  9295. "\x97\xa1\xaa\xc1\xea\xc1\xbe\x7c"
  9296. "\x36\xb3\x36\xa0\xc6\x76\x66\xc5"
  9297. "\xe2\xaf\xd6\x5c\xe2\xdb\x2c\xb3"
  9298. "\x6c\xb9\x99\x7f\xff\x9f\x03\x24"
  9299. "\xe1\x51\x44\x66\xd8\x0c\x5d\x7f"
  9300. "\x5c\x85\x22\x2a\xcf\x6d\x79\x28"
  9301. "\xab\x98\x01\x72\xfe\x80\x87\x5f"
  9302. "\x46\xba\xef\x81\x24\xee\xbf\xb0"
  9303. "\x24\x74\xa3\x65\x97\x12\xc4\xaf"
  9304. "\x8b\xa0\x39\xda\x8a\x7e\x74\x6e"
  9305. "\x1b\x42\xb4\x44\x37\xfc\x59\xfd"
  9306. "\x86\xed\xfb\x8c\x66\x33\xda\x63"
  9307. "\x75\xeb\xe1\xa4\x85\x4f\x50\x8f"
  9308. "\x83\x66\x0d\xd3\x37\xfa\xe6\x9c"
  9309. "\x4f\x30\x87\x35\x18\xe3\x0b\xb7"
  9310. "\x6e\x64\x54\xcd\x70\xb3\xde\x54"
  9311. "\xb7\x1d\xe6\x4c\x4d\x55\x12\x12"
  9312. "\xaf\x5f\x7f\x5e\xee\x9d\xe8\x8e"
  9313. "\x32\x9d\x4e\x75\xeb\xc6\xdd\xaa"
  9314. "\x48\x82\xa4\x3f\x3c\xd7\xd3\xa8"
  9315. "\x63\x9e\x64\xfe\xe3\x97\x00\x62"
  9316. "\xe5\x40\x5d\xc3\xad\x72\xe1\x28"
  9317. "\x18\x50\xb7\x75\xef\xcd\x23\xbf"
  9318. "\x3f\xc0\x51\x36\xf8\x41\xc3\x08"
  9319. "\xcb\xf1\x8d\x38\x34\xbd\x48\x45"
  9320. "\x75\xed\xbc\x65\x7b\xb5\x0c\x9b"
  9321. "\xd7\x67\x7d\x27\xb4\xc4\x80\xd7"
  9322. "\xa9\xb9\xc7\x4a\x97\xaa\xda\xc8"
  9323. "\x3c\x74\xcf\x36\x8f\xe4\x41\xe3"
  9324. "\xd4\xd3\x26\xa7\xf3\x23\x9d\x8f"
  9325. "\x6c\x20\x05\x32\x3e\xe0\xc3\xc8"
  9326. "\x56\x3f\xa7\x09\xb7\xfb\xc7\xf7"
  9327. "\xbe\x2a\xdd\x0f\x06\x7b\x0d\xdd"
  9328. "\xb0\xb4\x86\x17\xfd\xb9\x04\xe5"
  9329. "\xc0\x64\x5d\xad\x2a\x36\x38\xdb"
  9330. "\x24\xaf\x5b\xff\xca\xf9\x41\xe8"
  9331. "\xf9\x2f\x1e\x5e\xf9\xf5\xd5\xf2"
  9332. "\xb2\x88\xca\xc9\xa1\x31\xe2\xe8"
  9333. "\x10\x95\x65\xbf\xf1\x11\x61\x7a"
  9334. "\x30\x1a\x54\x90\xea\xd2\x30\xf6"
  9335. "\xa5\xad\x60\xf9\x4d\x84\x21\x1b"
  9336. "\xe4\x42\x22\xc8\x12\x4b\xb0\x58"
  9337. "\x3e\x9c\x2d\x32\x95\x0a\x8e\xb0"
  9338. "\x0a\x7e\x77\x2f\xe8\x97\x31\x6a"
  9339. "\xf5\x59\xb4\x26\xe6\x37\x12\xc9"
  9340. "\xcb\xa0\x58\x33\x6f\xd5\x55\x55"
  9341. "\x3c\xa1\x33\xb1\x0b\x7e\x2e\xb4"
  9342. "\x43\x2a\x84\x39\xf0\x9c\xf4\x69"
  9343. "\x4f\x1e\x79\xa6\x15\x1b\x87\xbb"
  9344. "\xdb\x9b\xe0\xf1\x0b\xba\xe3\x6e"
  9345. "\xcc\x2f\x49\x19\x22\x29\xfc\x71"
  9346. "\xbb\x77\x38\x18\x61\xaf\x85\x76"
  9347. "\xeb\xd1\x09\xcc\x86\x04\x20\x9a"
  9348. "\x66\x53\x2f\x44\x8b\xc6\xa3\xd2"
  9349. "\x5f\xc7\x79\x82\x66\xa8\x6e\x75"
  9350. "\x7d\x94\xd1\x86\x75\x0f\xa5\x4f"
  9351. "\x3c\x7a\x33\xce\xd1\x6e\x9d\x7b"
  9352. "\x1f\x91\x37\xb8\x37\x80\xfb\xe0"
  9353. "\x52\x26\xd0\x9a\xd4\x48\x02\x41"
  9354. "\x05\xe3\x5a\x94\xf1\x65\x61\x19"
  9355. "\xb8\x88\x4e\x2b\xea\xba\x8b\x58"
  9356. "\x8b\x42\x01\x00\xa8\xfe\x00\x5c"
  9357. "\xfe\x1c\xee\x31\x15\x69\xfa\xb3"
  9358. "\x9b\x5f\x22\x8e\x0d\x2c\xe3\xa5"
  9359. "\x21\xb9\x99\x8a\x8e\x94\x5a\xef"
  9360. "\x13\x3e\x99\x96\x79\x6e\xd5\x42"
  9361. "\x36\x03\xa9\xe2\xca\x65\x4e\x8a"
  9362. "\x8a\x30\xd2\x7d\x74\xe7\xf0\xaa"
  9363. "\x23\x26\xdd\xcb\x82\x39\xfc\x9d"
  9364. "\x51\x76\x21\x80\xa2\xbe\x93\x03"
  9365. "\x47\xb0\xc1\xb6\xdc\x63\xfd\x9f"
  9366. "\xca\x9d\xa5\xca\x27\x85\xe2\xd8"
  9367. "\x15\x5b\x7e\x14\x7a\xc4\x89\xcc"
  9368. "\x74\x14\x4b\x46\xd2\xce\xac\x39"
  9369. "\x6b\x6a\x5a\xa4\x0e\xe3\x7b\x15"
  9370. "\x94\x4b\x0f\x74\xcb\x0c\x7f\xa9"
  9371. "\xbe\x09\x39\xa3\xdd\x56\x5c\xc7"
  9372. "\x99\x56\x65\x39\xf4\x0b\x7d\x87"
  9373. "\xec\xaa\xe3\x4d\x22\x65\x39\x4e",
  9374. .psize = 1024,
  9375. .digest = "\x64\x3a\xbc\xc3\x3f\x74\x40\x51"
  9376. "\x6e\x56\x01\x1a\x51\xec\x36\xde",
  9377. }, {
  9378. .key = "\x1b\x82\x2e\x1b\x17\x23\xb9\x6d"
  9379. "\xdc\x9c\xda\x99\x07\xe3\x5f\xd8"
  9380. "\xd2\xf8\x43\x80\x8d\x86\x7d\x80"
  9381. "\x1a\xd0\xcc\x13\xb9\x11\x05\x3f"
  9382. "\x7e\xcf\x7e\x80\x0e\xd8\x25\x48"
  9383. "\x8b\xaa\x63\x83\x92\xd0\x72\xf5"
  9384. "\x4f\x67\x7e\x50\x18\x25\xa4\xd1"
  9385. "\xe0\x7e\x1e\xba\xd8\xa7\x6e\xdb"
  9386. "\x1a\xcc\x0d\xfe\x9f\x6d\x22\x35"
  9387. "\xe1\xe6\xe0\xa8\x7b\x9c\xb1\x66"
  9388. "\xa3\xf8\xff\x4d\x90\x84\x28\xbc"
  9389. "\xdc\x19\xc7\x91\x49\xfc\xf6\x33"
  9390. "\xc9\x6e\x65\x7f\x28\x6f\x68\x2e"
  9391. "\xdf\x1a\x75\xe9\xc2\x0c\x96\xb9"
  9392. "\x31\x22\xc4\x07\xc6\x0a\x2f\xfd"
  9393. "\x36\x06\x5f\x5c\xc5\xb1\x3a\xf4"
  9394. "\x5e\x48\xa4\x45\x2b\x88\xa7\xee"
  9395. "\xa9\x8b\x52\xcc\x99\xd9\x2f\xb8"
  9396. "\xa4\x58\x0a\x13\xeb\x71\x5a\xfa"
  9397. "\xe5\x5e\xbe\xf2\x64\xad\x75\xbc"
  9398. "\x0b\x5b\x34\x13\x3b\x23\x13\x9a"
  9399. "\x69\x30\x1e\x9a\xb8\x03\xb8\x8b"
  9400. "\x3e\x46\x18\x6d\x38\xd9\xb3\xd8"
  9401. "\xbf\xf1\xd0\x28\xe6\x51\x57\x80"
  9402. "\x5e\x99\xfb\xd0\xce\x1e\x83\xf7"
  9403. "\xe9\x07\x5a\x63\xa9\xef\xce\xa5"
  9404. "\xfb\x3f\x37\x17\xfc\x0b\x37\x0e"
  9405. "\xbb\x4b\x21\x62\xb7\x83\x0e\xa9"
  9406. "\x9e\xb0\xc4\xad\x47\xbe\x35\xe7"
  9407. "\x51\xb2\xf2\xac\x2b\x65\x7b\x48"
  9408. "\xe3\x3f\x5f\xb6\x09\x04\x0c\x58"
  9409. "\xce\x99\xa9\x15\x2f\x4e\xc1\xf2"
  9410. "\x24\x48\xc0\xd8\x6c\xd3\x76\x17"
  9411. "\x83\x5d\xe6\xe3\xfd\x01\x8e\xf7"
  9412. "\x42\xa5\x04\x29\x30\xdf\xf9\x00"
  9413. "\x4a\xdc\x71\x22\x1a\x33\x15\xb6"
  9414. "\xd7\x72\xfb\x9a\xb8\xeb\x2b\x38"
  9415. "\xea\xa8\x61\xa8\x90\x11\x9d\x73"
  9416. "\x2e\x6c\xce\x81\x54\x5a\x9f\xcd"
  9417. "\xcf\xd5\xbd\x26\x5d\x66\xdb\xfb"
  9418. "\xdc\x1e\x7c\x10\xfe\x58\x82\x10"
  9419. "\x16\x24\x01\xce\x67\x55\x51\xd1"
  9420. "\xdd\x6b\x44\xa3\x20\x8e\xa9\xa6"
  9421. "\x06\xa8\x29\x77\x6e\x00\x38\x5b"
  9422. "\xde\x4d\x58\xd8\x1f\x34\xdf\xf9"
  9423. "\x2c\xac\x3e\xad\xfb\x92\x0d\x72"
  9424. "\x39\xa4\xac\x44\x10\xc0\x43\xc4"
  9425. "\xa4\x77\x3b\xfc\xc4\x0d\x37\xd3"
  9426. "\x05\x84\xda\x53\x71\xf8\x80\xd3"
  9427. "\x34\x44\xdb\x09\xb4\x2b\x8e\xe3"
  9428. "\x00\x75\x50\x9e\x43\x22\x00\x0b"
  9429. "\x7c\x70\xab\xd4\x41\xf1\x93\xcd"
  9430. "\x25\x2d\x84\x74\xb5\xf2\x92\xcd"
  9431. "\x0a\x28\xea\x9a\x49\x02\x96\xcb"
  9432. "\x85\x9e\x2f\x33\x03\x86\x1d\xdc"
  9433. "\x1d\x31\xd5\xfc\x9d\xaa\xc5\xe9"
  9434. "\x9a\xc4\x57\xf5\x35\xed\xf4\x4b"
  9435. "\x3d\x34\xc2\x29\x13\x86\x36\x42"
  9436. "\x5d\xbf\x90\x86\x13\x77\xe5\xc3"
  9437. "\x62\xb4\xfe\x0b\x70\x39\x35\x65"
  9438. "\x02\xea\xf6\xce\x57\x0c\xbb\x74"
  9439. "\x29\xe3\xfd\x60\x90\xfd\x10\x38"
  9440. "\xd5\x4e\x86\xbd\x37\x70\xf0\x97"
  9441. "\xa6\xab\x3b\x83\x64\x52\xca\x66"
  9442. "\x2f\xf9\xa4\xca\x3a\x55\x6b\xb0"
  9443. "\xe8\x3a\x34\xdb\x9e\x48\x50\x2f"
  9444. "\x3b\xef\xfd\x08\x2d\x5f\xc1\x37"
  9445. "\x5d\xbe\x73\xe4\xd8\xe9\xac\xca"
  9446. "\x8a\xaa\x48\x7c\x5c\xf4\xa6\x96"
  9447. "\x5f\xfa\x70\xa6\xb7\x8b\x50\xcb"
  9448. "\xa6\xf5\xa9\xbd\x7b\x75\x4c\x22"
  9449. "\x0b\x19\x40\x2e\xc9\x39\x39\x32"
  9450. "\x83\x03\xa8\xa4\x98\xe6\x8e\x16"
  9451. "\xb9\xde\x08\xc5\xfc\xbf\xad\x39"
  9452. "\xa8\xc7\x93\x6c\x6f\x23\xaf\xc1"
  9453. "\xab\xe1\xdf\xbb\x39\xae\x93\x29"
  9454. "\x0e\x7d\x80\x8d\x3e\x65\xf3\xfd"
  9455. "\x96\x06\x65\x90\xa1\x28\x64\x4b"
  9456. "\x69\xf9\xa8\x84\x27\x50\xfc\x87"
  9457. "\xf7\xbf\x55\x8e\x56\x13\x58\x7b"
  9458. "\x85\xb4\x6a\x72\x0f\x40\xf1\x4f"
  9459. "\x83\x81\x1f\x76\xde\x15\x64\x7a"
  9460. "\x7a\x80\xe4\xc7\x5e\x63\x01\x91"
  9461. "\xd7\x6b\xea\x0b\x9b\xa2\x99\x3b"
  9462. "\x6c\x88\xd8\xfd\x59\x3c\x8d\x22"
  9463. "\x86\x56\xbe\xab\xa1\x37\x08\x01"
  9464. "\x50\x85\x69\x29\xee\x9f\xdf\x21"
  9465. "\x3e\x20\x20\xf5\xb0\xbb\x6b\xd0"
  9466. "\x9c\x41\x38\xec\x54\x6f\x2d\xbd"
  9467. "\x0f\xe1\xbd\xf1\x2b\x6e\x60\x56"
  9468. "\x29\xe5\x7a\x70\x1c\xe2\xfc\x97"
  9469. "\x82\x68\x67\xd9\x3d\x1f\xfb\xd8"
  9470. "\x07\x9f\xbf\x96\x74\xba\x6a\x0e"
  9471. "\x10\x48\x20\xd8\x13\x1e\xb5\x44"
  9472. "\xf2\xcc\xb1\x8b\xfb\xbb\xec\xd7"
  9473. "\x37\x70\x1f\x7c\x55\xd2\x4b\xb9"
  9474. "\xfd\x70\x5e\xa3\x91\x73\x63\x52"
  9475. "\x13\x47\x5a\x06\xfb\x01\x67\xa5"
  9476. "\xc0\xd0\x49\x19\x56\x66\x9a\x77"
  9477. "\x64\xaf\x8c\x25\x91\x52\x87\x0e"
  9478. "\x18\xf3\x5f\x97\xfd\x71\x13\xf8"
  9479. "\x05\xa5\x39\xcc\x65\xd3\xcc\x63"
  9480. "\x5b\xdb\x5f\x7e\x5f\x6e\xad\xc4"
  9481. "\xf4\xa0\xc5\xc2\x2b\x4d\x97\x38"
  9482. "\x4f\xbc\xfa\x33\x17\xb4\x47\xb9"
  9483. "\x43\x24\x15\x8d\xd2\xed\x80\x68"
  9484. "\x84\xdb\x04\x80\xca\x5e\x6a\x35"
  9485. "\x2c\x2c\xe7\xc5\x03\x5f\x54\xb0"
  9486. "\x5e\x4f\x1d\x40\x54\x3d\x78\x9a"
  9487. "\xac\xda\x80\x27\x4d\x15\x4c\x1a"
  9488. "\x6e\x80\xc9\xc4\x3b\x84\x0e\xd9"
  9489. "\x2e\x93\x01\x8c\xc3\xc8\x91\x4b"
  9490. "\xb3\xaa\x07\x04\x68\x5b\x93\xa5"
  9491. "\xe7\xc4\x9d\xe7\x07\xee\xf5\x3b"
  9492. "\x40\x89\xcc\x60\x34\x9d\xb4\x06"
  9493. "\x1b\xef\x92\xe6\xc1\x2a\x7d\x0f"
  9494. "\x81\xaa\x56\xe3\xd7\xed\xa7\xd4"
  9495. "\xa7\x3a\x49\xc4\xad\x81\x5c\x83"
  9496. "\x55\x8e\x91\x54\xb7\x7d\x65\xa5"
  9497. "\x06\x16\xd5\x9a\x16\xc1\xb0\xa2"
  9498. "\x06\xd8\x98\x47\x73\x7e\x73\xa0"
  9499. "\xb8\x23\xb1\x52\xbf\x68\x74\x5d"
  9500. "\x0b\xcb\xfa\x8c\x46\xe3\x24\xe6"
  9501. "\xab\xd4\x69\x8d\x8c\xf2\x8a\x59"
  9502. "\xbe\x48\x46\x50\x8c\x9a\xe8\xe3"
  9503. "\x31\x55\x0a\x06\xed\x4f\xf8\xb7"
  9504. "\x4f\xe3\x85\x17\x30\xbd\xd5\x20"
  9505. "\xe7\x5b\xb2\x32\xcf\x6b\x16\x44"
  9506. "\xd2\xf5\x7e\xd7\xd1\x2f\xee\x64"
  9507. "\x3e\x9d\x10\xef\x27\x35\x43\x64"
  9508. "\x67\xfb\x7a\x7b\xe0\x62\x31\x9a"
  9509. "\x4d\xdf\xa5\xab\xc0\x20\xbb\x01"
  9510. "\xe9\x7b\x54\xf1\xde\xb2\x79\x50"
  9511. "\x6c\x4b\x91\xdb\x7f\xbb\x50\xc1"
  9512. "\x55\x44\x38\x9a\xe0\x9f\xe8\x29"
  9513. "\x6f\x15\xf8\x4e\xa6\xec\xa0\x60",
  9514. .ksize = 1088,
  9515. .plaintext = "\x15\x68\x9e\x2f\xad\x15\x52\xdf"
  9516. "\xf0\x42\x62\x24\x2a\x2d\xea\xbf"
  9517. "\xc7\xf3\xb4\x1a\xf5\xed\xb2\x08"
  9518. "\x15\x60\x1c\x00\x77\xbf\x0b\x0e"
  9519. "\xb7\x2c\xcf\x32\x3a\xc7\x01\x77"
  9520. "\xef\xa6\x75\xd0\x29\xc7\x68\x20"
  9521. "\xb2\x92\x25\xbf\x12\x34\xe9\xa4"
  9522. "\xfd\x32\x7b\x3f\x7c\xbd\xa5\x02"
  9523. "\x38\x41\xde\xc9\xc1\x09\xd9\xfc"
  9524. "\x6e\x78\x22\x83\x18\xf7\x50\x8d"
  9525. "\x8f\x9c\x2d\x02\xa5\x30\xac\xff"
  9526. "\xea\x63\x2e\x80\x37\x83\xb0\x58"
  9527. "\xda\x2f\xef\x21\x55\xba\x7b\xb1"
  9528. "\xb6\xed\xf5\xd2\x4d\xaa\x8c\xa9"
  9529. "\xdd\xdb\x0f\xb4\xce\xc1\x9a\xb1"
  9530. "\xc1\xdc\xbd\xab\x86\xc2\xdf\x0b"
  9531. "\xe1\x2c\xf9\xbe\xf6\xd8\xda\x62"
  9532. "\x72\xdd\x98\x09\x52\xc0\xc4\xb6"
  9533. "\x7b\x17\x5c\xf5\xd8\x4b\x88\xd6"
  9534. "\x6b\xbf\x84\x4a\x3f\xf5\x4d\xd2"
  9535. "\x94\xe2\x9c\xff\xc7\x3c\xd9\xc8"
  9536. "\x37\x38\xbc\x8c\xf3\xe7\xb7\xd0"
  9537. "\x1d\x78\xc4\x39\x07\xc8\x5e\x79"
  9538. "\xb6\x5a\x90\x5b\x6e\x97\xc9\xd4"
  9539. "\x82\x9c\xf3\x83\x7a\xe7\x97\xfc"
  9540. "\x1d\xbb\xef\xdb\xce\xe0\x82\xad"
  9541. "\xca\x07\x6c\x54\x62\x6f\x81\xe6"
  9542. "\x7a\x5a\x96\x6e\x80\x3a\xa2\x37"
  9543. "\x6f\xc6\xa4\x29\xc3\x9e\x19\x94"
  9544. "\x9f\xb0\x3e\x38\xfb\x3c\x2b\x7d"
  9545. "\xaa\xb8\x74\xda\x54\x23\x51\x12"
  9546. "\x4b\x96\x36\x8f\x91\x4f\x19\x37"
  9547. "\x83\xc9\xdd\xc7\x1a\x32\x2d\xab"
  9548. "\xc7\x89\xe2\x07\x47\x6c\xe8\xa6"
  9549. "\x70\x6b\x8e\x0c\xda\x5c\x6a\x59"
  9550. "\x27\x33\x0e\xe1\xe1\x20\xe8\xc8"
  9551. "\xae\xdc\xd0\xe3\x6d\xa8\xa6\x06"
  9552. "\x41\xb4\xd4\xd4\xcf\x91\x3e\x06"
  9553. "\xb0\x9a\xf7\xf1\xaa\xa6\x23\x92"
  9554. "\x10\x86\xf0\x94\xd1\x7c\x2e\x07"
  9555. "\x30\xfb\xc5\xd8\xf3\x12\xa9\xe8"
  9556. "\x22\x1c\x97\x1a\xad\x96\xb0\xa1"
  9557. "\x72\x6a\x6b\xb4\xfd\xf7\xe8\xfa"
  9558. "\xe2\x74\xd8\x65\x8d\x35\x17\x4b"
  9559. "\x00\x23\x5c\x8c\x70\xad\x71\xa2"
  9560. "\xca\xc5\x6c\x59\xbf\xb4\xc0\x6d"
  9561. "\x86\x98\x3e\x19\x5a\x90\x92\xb1"
  9562. "\x66\x57\x6a\x91\x68\x7c\xbc\xf3"
  9563. "\xf1\xdb\x94\xf8\x48\xf1\x36\xd8"
  9564. "\x78\xac\x1c\xa9\xcc\xd6\x27\xba"
  9565. "\x91\x54\x22\xf5\xe6\x05\x3f\xcc"
  9566. "\xc2\x8f\x2c\x3b\x2b\xc3\x2b\x2b"
  9567. "\x3b\xb8\xb6\x29\xb7\x2f\x94\xb6"
  9568. "\x7b\xfc\x94\x3e\xd0\x7a\x41\x59"
  9569. "\x7b\x1f\x9a\x09\xa6\xed\x4a\x82"
  9570. "\x9d\x34\x1c\xbd\x4e\x1c\x3a\x66"
  9571. "\x80\x74\x0e\x9a\x4f\x55\x54\x47"
  9572. "\x16\xba\x2a\x0a\x03\x35\x99\xa3"
  9573. "\x5c\x63\x8d\xa2\x72\x8b\x17\x15"
  9574. "\x68\x39\x73\xeb\xec\xf2\xe8\xf5"
  9575. "\x95\x32\x27\xd6\xc4\xfe\xb0\x51"
  9576. "\xd5\x0c\x50\xc5\xcd\x6d\x16\xb3"
  9577. "\xa3\x1e\x95\x69\xad\x78\x95\x06"
  9578. "\xb9\x46\xf2\x6d\x24\x5a\x99\x76"
  9579. "\x73\x6a\x91\xa6\xac\x12\xe1\x28"
  9580. "\x79\xbc\x08\x4e\x97\x00\x98\x63"
  9581. "\x07\x1c\x4e\xd1\x68\xf3\xb3\x81"
  9582. "\xa8\xa6\x5f\xf1\x01\xc9\xc1\xaf"
  9583. "\x3a\x96\xf9\x9d\xb5\x5a\x5f\x8f"
  9584. "\x7e\xc1\x7e\x77\x0a\x40\xc8\x8e"
  9585. "\xfc\x0e\xed\xe1\x0d\xb0\xe5\x5e"
  9586. "\x5e\x6f\xf5\x7f\xab\x33\x7d\xcd"
  9587. "\xf0\x09\x4b\xb2\x11\x37\xdc\x65"
  9588. "\x97\x32\x62\x71\x3a\x29\x54\xb9"
  9589. "\xc7\xa4\xbf\x75\x0f\xf9\x40\xa9"
  9590. "\x8d\xd7\x8b\xa7\xe0\x9a\xbe\x15"
  9591. "\xc6\xda\xd8\x00\x14\x69\x1a\xaf"
  9592. "\x5f\x79\xc3\xf5\xbb\x6c\x2a\x9d"
  9593. "\xdd\x3c\x5f\x97\x21\xe1\x3a\x03"
  9594. "\x84\x6a\xe9\x76\x11\x1f\xd3\xd5"
  9595. "\xf0\x54\x20\x4d\xc2\x91\xc3\xa4"
  9596. "\x36\x25\xbe\x1b\x2a\x06\xb7\xf3"
  9597. "\xd1\xd0\x55\x29\x81\x4c\x83\xa3"
  9598. "\xa6\x84\x1e\x5c\xd1\xd0\x6c\x90"
  9599. "\xa4\x11\xf0\xd7\x63\x6a\x48\x05"
  9600. "\xbc\x48\x18\x53\xcd\xb0\x8d\xdb"
  9601. "\xdc\xfe\x55\x11\x5c\x51\xb3\xab"
  9602. "\xab\x63\x3e\x31\x5a\x8b\x93\x63"
  9603. "\x34\xa9\xba\x2b\x69\x1a\xc0\xe3"
  9604. "\xcb\x41\xbc\xd7\xf5\x7f\x82\x3e"
  9605. "\x01\xa3\x3c\x72\xf4\xfe\xdf\xbe"
  9606. "\xb1\x67\x17\x2b\x37\x60\x0d\xca"
  9607. "\x6f\xc3\x94\x2c\xd2\x92\x6d\x9d"
  9608. "\x75\x18\x77\xaa\x29\x38\x96\xed"
  9609. "\x0e\x20\x70\x92\xd5\xd0\xb4\x00"
  9610. "\xc0\x31\xf2\xc9\x43\x0e\x75\x1d"
  9611. "\x4b\x64\xf2\x1f\xf2\x29\x6c\x7b"
  9612. "\x7f\xec\x59\x7d\x8c\x0d\xd4\xd3"
  9613. "\xac\x53\x4c\xa3\xde\x42\x92\x95"
  9614. "\x6d\xa3\x4f\xd0\xe6\x3d\xe7\xec"
  9615. "\x7a\x4d\x68\xf1\xfe\x67\x66\x09"
  9616. "\x83\x22\xb1\x98\x43\x8c\xab\xb8"
  9617. "\x45\xe6\x6d\xdf\x5e\x50\x71\xce"
  9618. "\xf5\x4e\x40\x93\x2b\xfa\x86\x0e"
  9619. "\xe8\x30\xbd\x82\xcc\x1c\x9c\x5f"
  9620. "\xad\xfd\x08\x31\xbe\x52\xe7\xe6"
  9621. "\xf2\x06\x01\x62\x25\x15\x99\x74"
  9622. "\x33\x51\x52\x57\x3f\x57\x87\x61"
  9623. "\xb9\x7f\x29\x3d\xcd\x92\x5e\xa6"
  9624. "\x5c\x3b\xf1\xed\x5f\xeb\x82\xed"
  9625. "\x56\x7b\x61\xe7\xfd\x02\x47\x0e"
  9626. "\x2a\x15\xa4\xce\x43\x86\x9b\xe1"
  9627. "\x2b\x4c\x2a\xd9\x42\x97\xf7\x9a"
  9628. "\xe5\x47\x46\x48\xd3\x55\x6f\x4d"
  9629. "\xd9\xeb\x4b\xdd\x7b\x21\x2f\xb3"
  9630. "\xa8\x36\x28\xdf\xca\xf1\xf6\xd9"
  9631. "\x10\xf6\x1c\xfd\x2e\x0c\x27\xe0"
  9632. "\x01\xb3\xff\x6d\x47\x08\x4d\xd4"
  9633. "\x00\x25\xee\x55\x4a\xe9\xe8\x5b"
  9634. "\xd8\xf7\x56\x12\xd4\x50\xb2\xe5"
  9635. "\x51\x6f\x34\x63\x69\xd2\x4e\x96"
  9636. "\x4e\xbc\x79\xbf\x18\xae\xc6\x13"
  9637. "\x80\x92\x77\xb0\xb4\x0f\x29\x94"
  9638. "\x6f\x4c\xbb\x53\x11\x36\xc3\x9f"
  9639. "\x42\x8e\x96\x8a\x91\xc8\xe9\xfc"
  9640. "\xfe\xbf\x7c\x2d\x6f\xf9\xb8\x44"
  9641. "\x89\x1b\x09\x53\x0a\x2a\x92\xc3"
  9642. "\x54\x7a\x3a\xf9\xe2\xe4\x75\x87"
  9643. "\xa0\x5e\x4b\x03\x7a\x0d\x8a\xf4"
  9644. "\x55\x59\x94\x2b\x63\x96\x0e\xf5",
  9645. .psize = 1040,
  9646. .digest = "\xb5\xb9\x08\xb3\x24\x3e\x03\xf0"
  9647. "\xd6\x0b\x57\xbc\x0a\x6d\x89\x59",
  9648. }, {
  9649. .key = "\xf6\x34\x42\x71\x35\x52\x8b\x58"
  9650. "\x02\x3a\x8e\x4a\x8d\x41\x13\xe9"
  9651. "\x7f\xba\xb9\x55\x9d\x73\x4d\xf8"
  9652. "\x3f\x5d\x73\x15\xff\xd3\x9e\x7f"
  9653. "\x20\x2a\x6a\xa8\xd1\xf0\x8f\x12"
  9654. "\x6b\x02\xd8\x6c\xde\xba\x80\x22"
  9655. "\x19\x37\xc8\xd0\x4e\x89\x17\x7c"
  9656. "\x7c\xdd\x88\xfd\x41\xc0\x04\xb7"
  9657. "\x1d\xac\x19\xe3\x20\xc7\x16\xcf"
  9658. "\x58\xee\x1d\x7a\x61\x69\xa9\x12"
  9659. "\x4b\xef\x4f\xb6\x38\xdd\x78\xf8"
  9660. "\x28\xee\x70\x08\xc7\x7c\xcc\xc8"
  9661. "\x1e\x41\xf5\x80\x86\x70\xd0\xf0"
  9662. "\xa3\x87\x6b\x0a\x00\xd2\x41\x28"
  9663. "\x74\x26\xf1\x24\xf3\xd0\x28\x77"
  9664. "\xd7\xcd\xf6\x2d\x61\xf4\xa2\x13"
  9665. "\x77\xb4\x6f\xa0\xf4\xfb\xd6\xb5"
  9666. "\x38\x9d\x5a\x0c\x51\xaf\xad\x63"
  9667. "\x27\x67\x8c\x01\xea\x42\x1a\x66"
  9668. "\xda\x16\x7c\x3c\x30\x0c\x66\x53"
  9669. "\x1c\x88\xa4\x5c\xb2\xe3\x78\x0a"
  9670. "\x13\x05\x6d\xe2\xaf\xb3\xe4\x75"
  9671. "\x00\x99\x58\xee\x76\x09\x64\xaa"
  9672. "\xbb\x2e\xb1\x81\xec\xd8\x0e\xd3"
  9673. "\x0c\x33\x5d\xb7\x98\xef\x36\xb6"
  9674. "\xd2\x65\x69\x41\x70\x12\xdc\x25"
  9675. "\x41\x03\x99\x81\x41\x19\x62\x13"
  9676. "\xd1\x0a\x29\xc5\x8c\xe0\x4c\xf3"
  9677. "\xd6\xef\x4c\xf4\x1d\x83\x2e\x6d"
  9678. "\x8e\x14\x87\xed\x80\xe0\xaa\xd3"
  9679. "\x08\x04\x73\x1a\x84\x40\xf5\x64"
  9680. "\xbd\x61\x32\x65\x40\x42\xfb\xb0"
  9681. "\x40\xf6\x40\x8d\xc7\x7f\x14\xd0"
  9682. "\x83\x99\xaa\x36\x7e\x60\xc6\xbf"
  9683. "\x13\x8a\xf9\x21\xe4\x7e\x68\x87"
  9684. "\xf3\x33\x86\xb4\xe0\x23\x7e\x0a"
  9685. "\x21\xb1\xf5\xad\x67\x3c\x9c\x9d"
  9686. "\x09\xab\xaf\x5f\xba\xe0\xd0\x82"
  9687. "\x48\x22\x70\xb5\x6d\x53\xd6\x0e"
  9688. "\xde\x64\x92\x41\xb0\xd3\xfb\xda"
  9689. "\x21\xfe\xab\xea\x20\xc4\x03\x58"
  9690. "\x18\x2e\x7d\x2f\x03\xa9\x47\x66"
  9691. "\xdf\x7b\xa4\x6b\x34\x6b\x55\x9c"
  9692. "\x4f\xd7\x9c\x47\xfb\xa9\x42\xec"
  9693. "\x5a\x12\xfd\xfe\x76\xa0\x92\x9d"
  9694. "\xfe\x1e\x16\xdd\x24\x2a\xe4\x27"
  9695. "\xd5\xa9\xf2\x05\x4f\x83\xa2\xaf"
  9696. "\xfe\xee\x83\x7a\xad\xde\xdf\x9a"
  9697. "\x80\xd5\x81\x14\x93\x16\x7e\x46"
  9698. "\x47\xc2\x14\xef\x49\x6e\xb9\xdb"
  9699. "\x40\xe8\x06\x6f\x9c\x2a\xfd\x62"
  9700. "\x06\x46\xfd\x15\x1d\x36\x61\x6f"
  9701. "\x77\x77\x5e\x64\xce\x78\x1b\x85"
  9702. "\xbf\x50\x9a\xfd\x67\xa6\x1a\x65"
  9703. "\xad\x5b\x33\x30\xf1\x71\xaa\xd9"
  9704. "\x23\x0d\x92\x24\x5f\xae\x57\xb0"
  9705. "\x24\x37\x0a\x94\x12\xfb\xb5\xb1"
  9706. "\xd3\xb8\x1d\x12\x29\xb0\x80\x24"
  9707. "\x2d\x47\x9f\x96\x1f\x95\xf1\xb1"
  9708. "\xda\x35\xf6\x29\xe0\xe1\x23\x96"
  9709. "\xc7\xe8\x22\x9b\x7c\xac\xf9\x41"
  9710. "\x39\x01\xe5\x73\x15\x5e\x99\xec"
  9711. "\xb4\xc1\xf4\xe7\xa7\x97\x6a\xd5"
  9712. "\x90\x9a\xa0\x1d\xf3\x5a\x8b\x5f"
  9713. "\xdf\x01\x52\xa4\x93\x31\x97\xb0"
  9714. "\x93\x24\xb5\xbc\xb2\x14\x24\x98"
  9715. "\x4a\x8f\x19\x85\xc3\x2d\x0f\x74"
  9716. "\x9d\x16\x13\x80\x5e\x59\x62\x62"
  9717. "\x25\xe0\xd1\x2f\x64\xef\xba\xac"
  9718. "\xcd\x09\x07\x15\x8a\xcf\x73\xb5"
  9719. "\x8b\xc9\xd8\x24\xb0\x53\xd5\x6f"
  9720. "\xe1\x2b\x77\xb1\xc5\xe4\xa7\x0e"
  9721. "\x18\x45\xab\x36\x03\x59\xa8\xbd"
  9722. "\x43\xf0\xd8\x2c\x1a\x69\x96\xbb"
  9723. "\x13\xdf\x6c\x33\x77\xdf\x25\x34"
  9724. "\x5b\xa5\x5b\x8c\xf9\x51\x05\xd4"
  9725. "\x8b\x8b\x44\x87\x49\xfc\xa0\x8f"
  9726. "\x45\x15\x5b\x40\x42\xc4\x09\x92"
  9727. "\x98\x0c\x4d\xf4\x26\x37\x1b\x13"
  9728. "\x76\x01\x93\x8d\x4f\xe6\xed\x18"
  9729. "\xd0\x79\x7b\x3f\x44\x50\xcb\xee"
  9730. "\xf7\x4a\xc9\x9e\xe0\x96\x74\xa7"
  9731. "\xe6\x93\xb2\x53\xca\x55\xa8\xdc"
  9732. "\x1e\x68\x07\x87\xb7\x2e\xc1\x08"
  9733. "\xb2\xa4\x5b\xaf\xc6\xdb\x5c\x66"
  9734. "\x41\x1c\x51\xd9\xb0\x07\x00\x0d"
  9735. "\xf0\x4c\xdc\x93\xde\xa9\x1e\x8e"
  9736. "\xd3\x22\x62\xd8\x8b\x88\x2c\xea"
  9737. "\x5e\xf1\x6e\x14\x40\xc7\xbe\xaa"
  9738. "\x42\x28\xd0\x26\x30\x78\x01\x9b"
  9739. "\x83\x07\xbc\x94\xc7\x57\xa2\x9f"
  9740. "\x03\x07\xff\x16\xff\x3c\x6e\x48"
  9741. "\x0a\xd0\xdd\x4c\xf6\x64\x9a\xf1"
  9742. "\xcd\x30\x12\x82\x2c\x38\xd3\x26"
  9743. "\x83\xdb\xab\x3e\xc6\xf8\xe6\xfa"
  9744. "\x77\x0a\x78\x82\x75\xf8\x63\x51"
  9745. "\x59\xd0\x8d\x24\x9f\x25\xe6\xa3"
  9746. "\x4c\xbc\x34\xfc\xe3\x10\xc7\x62"
  9747. "\xd4\x23\xc8\x3d\xa7\xc6\xa6\x0a"
  9748. "\x4f\x7e\x29\x9d\x6d\xbe\xb5\xf1"
  9749. "\xdf\xa4\x53\xfa\xc0\x23\x0f\x37"
  9750. "\x84\x68\xd0\xb5\xc8\xc6\xae\xf8"
  9751. "\xb7\x8d\xb3\x16\xfe\x8f\x87\xad"
  9752. "\xd0\xc1\x08\xee\x12\x1c\x9b\x1d"
  9753. "\x90\xf8\xd1\x63\xa4\x92\x3c\xf0"
  9754. "\xc7\x34\xd8\xf1\x14\xed\xa3\xbc"
  9755. "\x17\x7e\xd4\x62\x42\x54\x57\x2c"
  9756. "\x3e\x7a\x35\x35\x17\x0f\x0b\x7f"
  9757. "\x81\xa1\x3f\xd0\xcd\xc8\x3b\x96"
  9758. "\xe9\xe0\x4a\x04\xe1\xb6\x3c\xa1"
  9759. "\xd6\xca\xc4\xbd\xb6\xb5\x95\x34"
  9760. "\x12\x9d\xc5\x96\xf2\xdf\xba\x54"
  9761. "\x76\xd1\xb2\x6b\x3b\x39\xe0\xb9"
  9762. "\x18\x62\xfb\xf7\xfc\x12\xf1\x5f"
  9763. "\x7e\xc7\xe3\x59\x4c\xa6\xc2\x3d"
  9764. "\x40\x15\xf9\xa3\x95\x64\x4c\x74"
  9765. "\x8b\x73\x77\x33\x07\xa7\x04\x1d"
  9766. "\x33\x5a\x7e\x8f\xbd\x86\x01\x4f"
  9767. "\x3e\xb9\x27\x6f\xe2\x41\xf7\x09"
  9768. "\x67\xfd\x29\x28\xc5\xe4\xf6\x18"
  9769. "\x4c\x1b\x49\xb2\x9c\x5b\xf6\x81"
  9770. "\x4f\xbb\x5c\xcc\x0b\xdf\x84\x23"
  9771. "\x58\xd6\x28\x34\x93\x3a\x25\x97"
  9772. "\xdf\xb2\xc3\x9e\x97\x38\x0b\x7d"
  9773. "\x10\xb3\x54\x35\x23\x8c\x64\xee"
  9774. "\xf0\xd8\x66\xff\x8b\x22\xd2\x5b"
  9775. "\x05\x16\x3c\x89\xf7\xb1\x75\xaf"
  9776. "\xc0\xae\x6a\x4f\x3f\xaf\x9a\xf4"
  9777. "\xf4\x9a\x24\xd9\x80\x82\xc0\x12"
  9778. "\xde\x96\xd1\xbe\x15\x0b\x8d\x6a"
  9779. "\xd7\x12\xe4\x85\x9f\x83\xc9\xc3"
  9780. "\xff\x0b\xb5\xaf\x3b\xd8\x6d\x67"
  9781. "\x81\x45\xe6\xac\xec\xc1\x7b\x16"
  9782. "\x18\x0a\xce\x4b\xc0\x2e\x76\xbc"
  9783. "\x1b\xfa\xb4\x34\xb8\xfc\x3e\xc8"
  9784. "\x5d\x90\x71\x6d\x7a\x79\xef\x06",
  9785. .ksize = 1088,
  9786. .plaintext = "\xaa\x5d\x54\xcb\xea\x1e\x46\x0f"
  9787. "\x45\x87\x70\x51\x8a\x66\x7a\x33"
  9788. "\xb4\x18\xff\xa9\x82\xf9\x45\x4b"
  9789. "\x93\xae\x2e\x7f\xab\x98\xfe\xbf"
  9790. "\x01\xee\xe5\xa0\x37\x8f\x57\xa6"
  9791. "\xb0\x76\x0d\xa4\xd6\x28\x2b\x5d"
  9792. "\xe1\x03\xd6\x1c\x6f\x34\x0d\xe7"
  9793. "\x61\x2d\x2e\xe5\xae\x5d\x47\xc7"
  9794. "\x80\x4b\x18\x8f\xa8\x99\xbc\x28"
  9795. "\xed\x1d\x9d\x86\x7d\xd7\x41\xd1"
  9796. "\xe0\x2b\xe1\x8c\x93\x2a\xa7\x80"
  9797. "\xe1\x07\xa0\xa9\x9f\x8c\x8d\x1a"
  9798. "\x55\xfc\x6b\x24\x7a\xbd\x3e\x51"
  9799. "\x68\x4b\x26\x59\xc8\xa7\x16\xd9"
  9800. "\xb9\x61\x13\xde\x8b\x63\x1c\xf6"
  9801. "\x60\x01\xfb\x08\xb3\x5b\x0a\xbf"
  9802. "\x34\x73\xda\x87\x87\x3d\x6f\x97"
  9803. "\x4a\x0c\xa3\x58\x20\xa2\xc0\x81"
  9804. "\x5b\x8c\xef\xa9\xc2\x01\x1e\x64"
  9805. "\x83\x8c\xbc\x03\xb6\xd0\x29\x9f"
  9806. "\x54\xe2\xce\x8b\xc2\x07\x85\x78"
  9807. "\x25\x38\x96\x4c\xb4\xbe\x17\x4a"
  9808. "\x65\xa6\xfa\x52\x9d\x66\x9d\x65"
  9809. "\x4a\xd1\x01\x01\xf0\xcb\x13\xcc"
  9810. "\xa5\x82\xf3\xf2\x66\xcd\x3f\x9d"
  9811. "\xd1\xaa\xe4\x67\xea\xf2\xad\x88"
  9812. "\x56\x76\xa7\x9b\x59\x3c\xb1\x5d"
  9813. "\x78\xfd\x69\x79\x74\x78\x43\x26"
  9814. "\x7b\xde\x3f\xf1\xf5\x4e\x14\xd9"
  9815. "\x15\xf5\x75\xb5\x2e\x19\xf3\x0c"
  9816. "\x48\x72\xd6\x71\x6d\x03\x6e\xaa"
  9817. "\xa7\x08\xf9\xaa\x70\xa3\x0f\x4d"
  9818. "\x12\x8a\xdd\xe3\x39\x73\x7e\xa7"
  9819. "\xea\x1f\x6d\x06\x26\x2a\xf2\xc5"
  9820. "\x52\xb4\xbf\xfd\x52\x0c\x06\x60"
  9821. "\x90\xd1\xb2\x7b\x56\xae\xac\x58"
  9822. "\x5a\x6b\x50\x2a\xf5\xe0\x30\x3c"
  9823. "\x2a\x98\x0f\x1b\x5b\x0a\x84\x6c"
  9824. "\x31\xae\x92\xe2\xd4\xbb\x7f\x59"
  9825. "\x26\x10\xb9\x89\x37\x68\x26\xbf"
  9826. "\x41\xc8\x49\xc4\x70\x35\x7d\xff"
  9827. "\x2d\x7f\xf6\x8a\x93\x68\x8c\x78"
  9828. "\x0d\x53\xce\x7d\xff\x7d\xfb\xae"
  9829. "\x13\x1b\x75\xc4\x78\xd7\x71\xd8"
  9830. "\xea\xd3\xf4\x9d\x95\x64\x8e\xb4"
  9831. "\xde\xb8\xe4\xa6\x68\xc8\xae\x73"
  9832. "\x58\xaf\xa8\xb0\x5a\x20\xde\x87"
  9833. "\x43\xb9\x0f\xe3\xad\x41\x4b\xd5"
  9834. "\xb7\xad\x16\x00\xa6\xff\xf6\x74"
  9835. "\xbf\x8c\x9f\xb3\x58\x1b\xb6\x55"
  9836. "\xa9\x90\x56\x28\xf0\xb5\x13\x4e"
  9837. "\x9e\xf7\x25\x86\xe0\x07\x7b\x98"
  9838. "\xd8\x60\x5d\x38\x95\x3c\xe4\x22"
  9839. "\x16\x2f\xb2\xa2\xaf\xe8\x90\x17"
  9840. "\xec\x11\x83\x1a\xf4\xa9\x26\xda"
  9841. "\x39\x72\xf5\x94\x61\x05\x51\xec"
  9842. "\xa8\x30\x8b\x2c\x13\xd0\x72\xac"
  9843. "\xb9\xd2\xa0\x4c\x4b\x78\xe8\x6e"
  9844. "\x04\x85\xe9\x04\x49\x82\x91\xff"
  9845. "\x89\xe5\xab\x4c\xaa\x37\x03\x12"
  9846. "\xca\x8b\x74\x10\xfd\x9e\xd9\x7b"
  9847. "\xcb\xdb\x82\x6e\xce\x2e\x33\x39"
  9848. "\xce\xd2\x84\x6e\x34\x71\x51\x6e"
  9849. "\x0d\xd6\x01\x87\xc7\xfa\x0a\xd3"
  9850. "\xad\x36\xf3\x4c\x9f\x96\x5e\x62"
  9851. "\x62\x54\xc3\x03\x78\xd6\xab\xdd"
  9852. "\x89\x73\x55\x25\x30\xf8\xa7\xe6"
  9853. "\x4f\x11\x0c\x7c\x0a\xa1\x2b\x7b"
  9854. "\x3d\x0d\xde\x81\xd4\x9d\x0b\xae"
  9855. "\xdf\x00\xf9\x4c\xb6\x90\x8e\x16"
  9856. "\xcb\x11\xc8\xd1\x2e\x73\x13\x75"
  9857. "\x75\x3e\xaa\xf5\xee\x02\xb3\x18"
  9858. "\xa6\x2d\xf5\x3b\x51\xd1\x1f\x47"
  9859. "\x6b\x2c\xdb\xc4\x10\xe0\xc8\xba"
  9860. "\x9d\xac\xb1\x9d\x75\xd5\x41\x0e"
  9861. "\x7e\xbe\x18\x5b\xa4\x1f\xf8\x22"
  9862. "\x4c\xc1\x68\xda\x6d\x51\x34\x6c"
  9863. "\x19\x59\xec\xb5\xb1\xec\xa7\x03"
  9864. "\xca\x54\x99\x63\x05\x6c\xb1\xac"
  9865. "\x9c\x31\xd6\xdb\xba\x7b\x14\x12"
  9866. "\x7a\xc3\x2f\xbf\x8d\xdc\x37\x46"
  9867. "\xdb\xd2\xbc\xd4\x2f\xab\x30\xd5"
  9868. "\xed\x34\x99\x8e\x83\x3e\xbe\x4c"
  9869. "\x86\x79\x58\xe0\x33\x8d\x9a\xb8"
  9870. "\xa9\xa6\x90\x46\xa2\x02\xb8\xdd"
  9871. "\xf5\xf9\x1a\x5c\x8c\x01\xaa\x6e"
  9872. "\xb4\x22\x12\xf5\x0c\x1b\x9b\x7a"
  9873. "\xc3\x80\xf3\x06\x00\x5f\x30\xd5"
  9874. "\x06\xdb\x7d\x82\xc2\xd4\x0b\x4c"
  9875. "\x5f\xe9\xc5\xf5\xdf\x97\x12\xbf"
  9876. "\x56\xaf\x9b\x69\xcd\xee\x30\xb4"
  9877. "\xa8\x71\xff\x3e\x7d\x73\x7a\xb4"
  9878. "\x0d\xa5\x46\x7a\xf3\xf4\x15\x87"
  9879. "\x5d\x93\x2b\x8c\x37\x64\xb5\xdd"
  9880. "\x48\xd1\xe5\x8c\xae\xd4\xf1\x76"
  9881. "\xda\xf4\xba\x9e\x25\x0e\xad\xa3"
  9882. "\x0d\x08\x7c\xa8\x82\x16\x8d\x90"
  9883. "\x56\x40\x16\x84\xe7\x22\x53\x3a"
  9884. "\x58\xbc\xb9\x8f\x33\xc8\xc2\x84"
  9885. "\x22\xe6\x0d\xe7\xb3\xdc\x5d\xdf"
  9886. "\xd7\x2a\x36\xe4\x16\x06\x07\xd2"
  9887. "\x97\x60\xb2\xf5\x5e\x14\xc9\xfd"
  9888. "\x8b\x05\xd1\xce\xee\x9a\x65\x99"
  9889. "\xb7\xae\x19\xb7\xc8\xbc\xd5\xa2"
  9890. "\x7b\x95\xe1\xcc\xba\x0d\xdc\x8a"
  9891. "\x1d\x59\x52\x50\xaa\x16\x02\x82"
  9892. "\xdf\x61\x33\x2e\x44\xce\x49\xc7"
  9893. "\xe5\xc6\x2e\x76\xcf\x80\x52\xf0"
  9894. "\x3d\x17\x34\x47\x3f\xd3\x80\x48"
  9895. "\xa2\xba\xd5\xc7\x7b\x02\x28\xdb"
  9896. "\xac\x44\xc7\x6e\x05\x5c\xc2\x79"
  9897. "\xb3\x7d\x6a\x47\x77\x66\xf1\x38"
  9898. "\xf0\xf5\x4f\x27\x1a\x31\xca\x6c"
  9899. "\x72\x95\x92\x8e\x3f\xb0\xec\x1d"
  9900. "\xc7\x2a\xff\x73\xee\xdf\x55\x80"
  9901. "\x93\xd2\xbd\x34\xd3\x9f\x00\x51"
  9902. "\xfb\x2e\x41\xba\x6c\x5a\x7c\x17"
  9903. "\x7f\xe6\x70\xac\x8d\x39\x3f\x77"
  9904. "\xe2\x23\xac\x8f\x72\x4e\xe4\x53"
  9905. "\xcc\xf1\x1b\xf1\x35\xfe\x52\xa4"
  9906. "\xd6\xb8\x40\x6b\xc1\xfd\xa0\xa1"
  9907. "\xf5\x46\x65\xc2\x50\xbb\x43\xe2"
  9908. "\xd1\x43\x28\x34\x74\xf5\x87\xa0"
  9909. "\xf2\x5e\x27\x3b\x59\x2b\x3e\x49"
  9910. "\xdf\x46\xee\xaf\x71\xd7\x32\x36"
  9911. "\xc7\x14\x0b\x58\x6e\x3e\x2d\x41"
  9912. "\xfa\x75\x66\x3a\x54\xe0\xb2\xb9"
  9913. "\xaf\xdd\x04\x80\x15\x19\x3f\x6f"
  9914. "\xce\x12\xb4\xd8\xe8\x89\x3c\x05"
  9915. "\x30\xeb\xf3\x3d\xcd\x27\xec\xdc"
  9916. "\x56\x70\x12\xcf\x78\x2b\x77\xbf"
  9917. "\x22\xf0\x1b\x17\x9c\xcc\xd6\x1b"
  9918. "\x2d\x3d\xa0\x3b\xd8\xc9\x70\xa4"
  9919. "\x7a\x3e\x07\xb9\x06\xc3\xfa\xb0"
  9920. "\x33\xee\xc1\xd8\xf6\xe0\xf0\xb2"
  9921. "\x61\x12\x69\xb0\x5f\x28\x99\xda"
  9922. "\xc3\x61\x48\xfa\x07\x16\x03\xc4"
  9923. "\xa8\xe1\x3c\xe8\x0e\x64\x15\x30"
  9924. "\xc1\x9d\x84\x2f\x73\x98\x0e\x3a"
  9925. "\xf2\x86\x21\xa4\x9e\x1d\xb5\x86"
  9926. "\x16\xdb\x2b\x9a\x06\x64\x8e\x79"
  9927. "\x8d\x76\x3e\xc3\xc2\x64\x44\xe3"
  9928. "\xda\xbc\x1a\x52\xd7\x61\x03\x65"
  9929. "\x54\x32\x77\x01\xed\x9d\x8a\x43"
  9930. "\x25\x24\xe3\xc1\xbe\xb8\x2f\xcb"
  9931. "\x89\x14\x64\xab\xf6\xa0\x6e\x02"
  9932. "\x57\xe4\x7d\xa9\x4e\x9a\x03\x36"
  9933. "\xad\xf1\xb1\xfc\x0b\xe6\x79\x51"
  9934. "\x9f\x81\x77\xc4\x14\x78\x9d\xbf"
  9935. "\xb6\xd6\xa3\x8c\xba\x0b\x26\xe7"
  9936. "\xc8\xb9\x5c\xcc\xe1\x5f\xd5\xc6"
  9937. "\xc4\xca\xc2\xa3\x45\xba\x94\x13"
  9938. "\xb2\x8f\xc3\x54\x01\x09\xe7\x8b"
  9939. "\xda\x2a\x0a\x11\x02\x43\xcb\x57"
  9940. "\xc9\xcc\xb5\x5c\xab\xc4\xec\x54"
  9941. "\x00\x06\x34\xe1\x6e\x03\x89\x7c"
  9942. "\xc6\xfb\x6a\xc7\x60\x43\xd6\xc5"
  9943. "\xb5\x68\x72\x89\x8f\x42\xc3\x74"
  9944. "\xbd\x25\xaa\x9f\x67\xb5\xdf\x26"
  9945. "\x20\xe8\xb7\x01\x3c\xe4\x77\xce"
  9946. "\xc4\x65\xa7\x23\x79\xea\x33\xc7"
  9947. "\x82\x14\x5c\x82\xf2\x4e\x3d\xf6"
  9948. "\xc6\x4a\x0e\x29\xbb\xec\x44\xcd"
  9949. "\x2f\xd1\x4f\x21\x71\xa9\xce\x0f"
  9950. "\x5c\xf2\x72\x5c\x08\x2e\x21\xd2"
  9951. "\xc3\x29\x13\xd8\xac\xc3\xda\x13"
  9952. "\x1a\x9d\xa7\x71\x1d\x27\x1d\x27"
  9953. "\x1d\xea\xab\x44\x79\xad\xe5\xeb"
  9954. "\xef\x1f\x22\x0a\x44\x4f\xcb\x87"
  9955. "\xa7\x58\x71\x0e\x66\xf8\x60\xbf"
  9956. "\x60\x74\x4a\xb4\xec\x2e\xfe\xd3"
  9957. "\xf5\xb8\xfe\x46\x08\x50\x99\x6c"
  9958. "\x66\xa5\xa8\x34\x44\xb5\xe5\xf0"
  9959. "\xdd\x2c\x67\x4e\x35\x96\x8e\x67"
  9960. "\x48\x3f\x5f\x37\x44\x60\x51\x2e"
  9961. "\x14\x91\x5e\x57\xc3\x0e\x79\x77"
  9962. "\x2f\x03\xf4\xe2\x1c\x72\xbf\x85"
  9963. "\x5d\xd3\x17\xdf\x6c\xc5\x70\x24"
  9964. "\x42\xdf\x51\x4e\x2a\xb2\xd2\x5b"
  9965. "\x9e\x69\x83\x41\x11\xfe\x73\x22"
  9966. "\xde\x8a\x9e\xd8\x8a\xfb\x20\x38"
  9967. "\xd8\x47\x6f\xd5\xed\x8f\x41\xfd"
  9968. "\x13\x7a\x18\x03\x7d\x0f\xcd\x7d"
  9969. "\xa6\x7d\x31\x9e\xf1\x8f\x30\xa3"
  9970. "\x8b\x4c\x24\xb7\xf5\x48\xd7\xd9"
  9971. "\x12\xe7\x84\x97\x5c\x31\x6d\xfb"
  9972. "\xdf\xf3\xd3\xd1\xd5\x0c\x30\x06"
  9973. "\x01\x6a\xbc\x6c\x78\x7b\xa6\x50"
  9974. "\xfa\x0f\x3c\x42\x2d\xa5\xa3\x3b"
  9975. "\xcf\x62\x50\xff\x71\x6d\xe7\xda"
  9976. "\x27\xab\xc6\x67\x16\x65\x68\x64"
  9977. "\xc7\xd5\x5f\x81\xa9\xf6\x65\xb3"
  9978. "\x5e\x43\x91\x16\xcd\x3d\x55\x37"
  9979. "\x55\xb3\xf0\x28\xc5\x54\x19\xc0"
  9980. "\xe0\xd6\x2a\x61\xd4\xc8\x72\x51"
  9981. "\xe9\xa1\x7b\x48\x21\xad\x44\x09"
  9982. "\xe4\x01\x61\x3c\x8a\x5b\xf9\xa1"
  9983. "\x6e\x1b\xdf\xc0\x04\xa8\x8b\xf2"
  9984. "\x21\xbe\x34\x7b\xfc\xa1\xcd\xc9"
  9985. "\xa9\x96\xf4\xa4\x4c\xf7\x4e\x8f"
  9986. "\x84\xcc\xd3\xa8\x92\x77\x8f\x36"
  9987. "\xe2\x2e\x8c\x33\xe8\x84\xa6\x0c"
  9988. "\x6c\x8a\xda\x14\x32\xc2\x96\xff"
  9989. "\xc6\x4a\xc2\x9b\x30\x7f\xd1\x29"
  9990. "\xc0\xd5\x78\x41\x00\x80\x80\x03"
  9991. "\x2a\xb1\xde\x26\x03\x48\x49\xee"
  9992. "\x57\x14\x76\x51\x3c\x36\x5d\x0a"
  9993. "\x5c\x9f\xe8\xd8\x53\xdb\x4f\xd4"
  9994. "\x38\xbf\x66\xc9\x75\x12\x18\x75"
  9995. "\x34\x2d\x93\x22\x96\x51\x24\x6e"
  9996. "\x4e\xd9\x30\xea\x67\xff\x92\x1c"
  9997. "\x16\x26\xe9\xb5\x33\xab\x8c\x22"
  9998. "\x47\xdb\xa0\x2c\x08\xf0\x12\x69"
  9999. "\x7e\x93\x52\xda\xa5\xe5\xca\xc1"
  10000. "\x0f\x55\x2a\xbd\x09\x30\x88\x1b"
  10001. "\x9c\xc6\x9f\xe6\xdb\xa6\x92\xeb"
  10002. "\xf4\xbd\x5c\xc4\xdb\xc6\x71\x09"
  10003. "\xab\x5e\x48\x0c\xed\x6f\xda\x8e"
  10004. "\x8d\x0c\x98\x71\x7d\x10\xd0\x9c"
  10005. "\x20\x9b\x79\x53\x26\x5d\xb9\x85"
  10006. "\x8a\x31\xb8\xc5\x1c\x97\xde\x88"
  10007. "\x61\x55\x7f\x7c\x21\x06\xea\xc4"
  10008. "\x5f\xaf\xf2\xf0\xd5\x5e\x7d\xb4"
  10009. "\x6e\xcf\xe9\xae\x1b\x0e\x11\x80"
  10010. "\xc1\x9a\x74\x7e\x52\x6f\xa0\xb7"
  10011. "\x24\xcd\x8d\x0a\x11\x40\x63\x72"
  10012. "\xfa\xe2\xc5\xb3\x94\xef\x29\xa2"
  10013. "\x1a\x23\x43\x04\x37\x55\x0d\xe9"
  10014. "\x83\xb2\x29\x51\x49\x64\xa0\xbd"
  10015. "\xde\x73\xfd\xa5\x7c\x95\x70\x62"
  10016. "\x58\xdc\xe2\xd0\xbf\x98\xf5\x8a"
  10017. "\x6a\xfd\xce\xa8\x0e\x42\x2a\xeb"
  10018. "\xd2\xff\x83\x27\x53\x5c\xa0\x6e"
  10019. "\x93\xef\xe2\xb9\x5d\x35\xd6\x98"
  10020. "\xf6\x71\x19\x7a\x54\xa1\xa7\xe8"
  10021. "\x09\xfe\xf6\x9e\xc7\xbd\x3e\x29"
  10022. "\xbd\x6b\x17\xf4\xe7\x3e\x10\x5c"
  10023. "\xc1\xd2\x59\x4f\x4b\x12\x1a\x5b"
  10024. "\x50\x80\x59\xb9\xec\x13\x66\xa8"
  10025. "\xd2\x31\x7b\x6a\x61\x22\xdd\x7d"
  10026. "\x61\xee\x87\x16\x46\x9f\xf9\xc7"
  10027. "\x41\xee\x74\xf8\xd0\x96\x2c\x76"
  10028. "\x2a\xac\x7d\x6e\x9f\x0e\x7f\x95"
  10029. "\xfe\x50\x16\xb2\x23\xca\x62\xd5"
  10030. "\x68\xcf\x07\x3f\x3f\x97\x85\x2a"
  10031. "\x0c\x25\x45\xba\xdb\x32\xcb\x83"
  10032. "\x8c\x4f\xe0\x6d\x9a\x99\xf9\xc9"
  10033. "\xda\xd4\x19\x31\xc1\x7c\x6d\xd9"
  10034. "\x9c\x56\xd3\xec\xc1\x81\x4c\xed"
  10035. "\x28\x9d\x87\xeb\x19\xd7\x1a\x4f"
  10036. "\x04\x6a\xcb\x1f\xcf\x1f\xa2\x16"
  10037. "\xfc\x2a\x0d\xa1\x14\x2d\xfa\xc5"
  10038. "\x5a\xd2\xc5\xf9\x19\x7c\x20\x1f"
  10039. "\x2d\x10\xc0\x66\x7c\xd9\x2d\xe5"
  10040. "\x88\x70\x59\xa7\x85\xd5\x2e\x7c"
  10041. "\x5c\xe3\xb7\x12\xd6\x97\x3f\x29",
  10042. .psize = 2048,
  10043. .digest = "\x37\x90\x92\xc2\xeb\x01\x87\xd9"
  10044. "\x95\xc7\x91\xc3\x17\x8b\x38\x52",
  10045. }
  10046. };
  10047. /*
  10048. * DES test vectors.
  10049. */
  10050. static const struct cipher_testvec des_tv_template[] = {
  10051. { /* From Applied Cryptography */
  10052. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10053. .klen = 8,
  10054. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
  10055. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
  10056. .len = 8,
  10057. }, { /* Same key, different plaintext block */
  10058. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10059. .klen = 8,
  10060. .ptext = "\x22\x33\x44\x55\x66\x77\x88\x99",
  10061. .ctext = "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
  10062. .len = 8,
  10063. }, { /* Sbox test from NBS */
  10064. .key = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
  10065. .klen = 8,
  10066. .ptext = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
  10067. .ctext = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
  10068. .len = 8,
  10069. }, { /* Three blocks */
  10070. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10071. .klen = 8,
  10072. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
  10073. "\x22\x33\x44\x55\x66\x77\x88\x99"
  10074. "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
  10075. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
  10076. "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
  10077. "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
  10078. .len = 24,
  10079. }, { /* Weak key */
  10080. .setkey_error = -EINVAL,
  10081. .wk = 1,
  10082. .key = "\x01\x01\x01\x01\x01\x01\x01\x01",
  10083. .klen = 8,
  10084. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
  10085. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
  10086. .len = 8,
  10087. }, { /* Two blocks -- for testing encryption across pages */
  10088. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10089. .klen = 8,
  10090. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
  10091. "\x22\x33\x44\x55\x66\x77\x88\x99",
  10092. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
  10093. "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
  10094. .len = 16,
  10095. }, {
  10096. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10097. .klen = 8,
  10098. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
  10099. "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
  10100. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
  10101. "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
  10102. .len = 16,
  10103. }, { /* Four blocks -- for testing encryption with chunking */
  10104. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10105. .klen = 8,
  10106. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
  10107. "\x22\x33\x44\x55\x66\x77\x88\x99"
  10108. "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
  10109. "\x22\x33\x44\x55\x66\x77\x88\x99",
  10110. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
  10111. "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
  10112. "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
  10113. "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
  10114. .len = 32,
  10115. }, { /* Generated with Crypto++ */
  10116. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
  10117. .klen = 8,
  10118. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  10119. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  10120. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  10121. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  10122. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  10123. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  10124. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  10125. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  10126. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  10127. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  10128. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  10129. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  10130. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  10131. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  10132. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  10133. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  10134. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  10135. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  10136. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  10137. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  10138. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  10139. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  10140. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  10141. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  10142. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  10143. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  10144. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  10145. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  10146. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  10147. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  10148. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
  10149. .ctext = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
  10150. "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
  10151. "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
  10152. "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
  10153. "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
  10154. "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
  10155. "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
  10156. "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
  10157. "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
  10158. "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
  10159. "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
  10160. "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
  10161. "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
  10162. "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
  10163. "\x2E\x51\x16\xCA\x09\x89\x54\x62"
  10164. "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
  10165. "\x62\xF0\x02\x58\x83\xAF\x30\x87"
  10166. "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
  10167. "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
  10168. "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
  10169. "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
  10170. "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
  10171. "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
  10172. "\xE9\x95\x61\x74\x12\xED\x07\xD7"
  10173. "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
  10174. "\x51\x96\x16\xF7\x94\x61\xB8\x87"
  10175. "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
  10176. "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
  10177. "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
  10178. "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
  10179. "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
  10180. .len = 248,
  10181. },
  10182. };
  10183. static const struct cipher_testvec des_cbc_tv_template[] = {
  10184. { /* From OpenSSL */
  10185. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10186. .klen = 8,
  10187. .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  10188. .iv_out = "\x46\x8e\x91\x15\x78\x88\xba\x68",
  10189. .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
  10190. "\x4e\x6f\x77\x20\x69\x73\x20\x74"
  10191. "\x68\x65\x20\x74\x69\x6d\x65\x20",
  10192. .ctext = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
  10193. "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
  10194. "\x46\x8e\x91\x15\x78\x88\xba\x68",
  10195. .len = 24,
  10196. }, { /* FIPS Pub 81 */
  10197. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10198. .klen = 8,
  10199. .iv = "\x12\x34\x56\x78\x90\xab\xcd\xef",
  10200. .iv_out = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
  10201. .ptext = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
  10202. .ctext = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
  10203. .len = 8,
  10204. }, {
  10205. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10206. .klen = 8,
  10207. .iv = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
  10208. .iv_out = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
  10209. .ptext = "\x68\x65\x20\x74\x69\x6d\x65\x20",
  10210. .ctext = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
  10211. .len = 8,
  10212. }, {
  10213. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10214. .klen = 8,
  10215. .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
  10216. .iv_out = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
  10217. .ptext = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
  10218. .ctext = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
  10219. .len = 8,
  10220. }, { /* Generated with Crypto++ */
  10221. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
  10222. .klen = 8,
  10223. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
  10224. .iv_out = "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
  10225. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  10226. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  10227. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  10228. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  10229. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  10230. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  10231. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  10232. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  10233. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  10234. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  10235. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  10236. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  10237. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  10238. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  10239. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  10240. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  10241. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  10242. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  10243. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  10244. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  10245. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  10246. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  10247. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  10248. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  10249. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  10250. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  10251. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  10252. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  10253. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  10254. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  10255. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
  10256. .ctext = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
  10257. "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
  10258. "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
  10259. "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
  10260. "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
  10261. "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
  10262. "\x81\x72\x74\xDE\x30\x19\x69\x49"
  10263. "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
  10264. "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
  10265. "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
  10266. "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
  10267. "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
  10268. "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
  10269. "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
  10270. "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
  10271. "\x49\x90\x88\x6A\x09\x8F\x76\x59"
  10272. "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
  10273. "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
  10274. "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
  10275. "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
  10276. "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
  10277. "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
  10278. "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
  10279. "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
  10280. "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
  10281. "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
  10282. "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
  10283. "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
  10284. "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
  10285. "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
  10286. "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
  10287. .len = 248,
  10288. },
  10289. };
  10290. static const struct cipher_testvec des_ctr_tv_template[] = {
  10291. { /* Generated with Crypto++ */
  10292. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
  10293. .klen = 8,
  10294. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  10295. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x1C",
  10296. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  10297. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  10298. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  10299. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  10300. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  10301. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  10302. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  10303. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  10304. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  10305. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  10306. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  10307. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  10308. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  10309. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  10310. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  10311. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  10312. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  10313. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  10314. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  10315. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  10316. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  10317. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  10318. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  10319. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  10320. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  10321. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  10322. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  10323. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  10324. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  10325. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  10326. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
  10327. .ctext = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
  10328. "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
  10329. "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
  10330. "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
  10331. "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
  10332. "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
  10333. "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
  10334. "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
  10335. "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
  10336. "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
  10337. "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
  10338. "\xBE\x4C\x91\x43\x22\x65\x72\x48"
  10339. "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
  10340. "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
  10341. "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
  10342. "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
  10343. "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
  10344. "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
  10345. "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
  10346. "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
  10347. "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
  10348. "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
  10349. "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
  10350. "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
  10351. "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
  10352. "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
  10353. "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
  10354. "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
  10355. "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
  10356. "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
  10357. "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
  10358. .len = 248,
  10359. }, { /* Generated with Crypto++ */
  10360. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
  10361. .klen = 8,
  10362. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
  10363. .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x66",
  10364. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  10365. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  10366. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  10367. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  10368. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  10369. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  10370. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  10371. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  10372. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  10373. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  10374. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  10375. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  10376. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  10377. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  10378. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  10379. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  10380. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  10381. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  10382. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  10383. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  10384. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  10385. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  10386. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  10387. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  10388. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  10389. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  10390. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  10391. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  10392. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  10393. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  10394. "\xC6\x2F\xBB\x24\x8D\x19\x82",
  10395. .ctext = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
  10396. "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
  10397. "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
  10398. "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
  10399. "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
  10400. "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
  10401. "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
  10402. "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
  10403. "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
  10404. "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
  10405. "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
  10406. "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
  10407. "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
  10408. "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
  10409. "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
  10410. "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
  10411. "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
  10412. "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
  10413. "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
  10414. "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
  10415. "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
  10416. "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
  10417. "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
  10418. "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
  10419. "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
  10420. "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
  10421. "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
  10422. "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
  10423. "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
  10424. "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
  10425. "\x91\x45\x05\x3E\x58\xBF\x32",
  10426. .len = 247,
  10427. },
  10428. };
  10429. static const struct cipher_testvec des3_ede_tv_template[] = {
  10430. { /* These are from openssl */
  10431. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  10432. "\x55\x55\x55\x55\x55\x55\x55\x55"
  10433. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  10434. .klen = 24,
  10435. .ptext = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
  10436. .ctext = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
  10437. .len = 8,
  10438. }, {
  10439. .key = "\x03\x52\x02\x07\x67\x20\x82\x17"
  10440. "\x86\x02\x87\x66\x59\x08\x21\x98"
  10441. "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
  10442. .klen = 24,
  10443. .ptext = "\x73\x71\x75\x69\x67\x67\x6c\x65",
  10444. .ctext = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
  10445. .len = 8,
  10446. }, {
  10447. .key = "\x10\x46\x10\x34\x89\x98\x80\x20"
  10448. "\x91\x07\xd0\x15\x89\x19\x01\x01"
  10449. "\x19\x07\x92\x10\x98\x1a\x01\x01",
  10450. .klen = 24,
  10451. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  10452. .ctext = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
  10453. .len = 8,
  10454. }, { /* Generated with Crypto++ */
  10455. .key = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
  10456. "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
  10457. "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
  10458. .klen = 24,
  10459. .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
  10460. "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
  10461. "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
  10462. "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
  10463. "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
  10464. "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
  10465. "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
  10466. "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
  10467. "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
  10468. "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
  10469. "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
  10470. "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
  10471. "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
  10472. "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
  10473. "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
  10474. "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
  10475. "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
  10476. "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
  10477. "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
  10478. "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
  10479. "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
  10480. "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
  10481. "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
  10482. "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
  10483. "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
  10484. "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
  10485. "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
  10486. "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
  10487. "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
  10488. "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
  10489. "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
  10490. "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
  10491. "\x50\x3B\x82\x15\x99\x60\xCB\x52"
  10492. "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
  10493. "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
  10494. "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
  10495. "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
  10496. "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
  10497. "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
  10498. "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
  10499. "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
  10500. "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
  10501. "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
  10502. "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
  10503. "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
  10504. "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
  10505. "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
  10506. "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
  10507. "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
  10508. "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
  10509. "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
  10510. "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
  10511. "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
  10512. "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
  10513. "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
  10514. "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
  10515. "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
  10516. "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
  10517. "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
  10518. "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
  10519. "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
  10520. "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
  10521. .ctext = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
  10522. "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
  10523. "\x81\x01\x04\x00\x76\xFA\xED\xD3"
  10524. "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
  10525. "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
  10526. "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
  10527. "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
  10528. "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
  10529. "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
  10530. "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
  10531. "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
  10532. "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
  10533. "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
  10534. "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
  10535. "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
  10536. "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
  10537. "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
  10538. "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
  10539. "\x45\x86\x50\x01\x70\x35\x99\x92"
  10540. "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
  10541. "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
  10542. "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
  10543. "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
  10544. "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
  10545. "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
  10546. "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
  10547. "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
  10548. "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
  10549. "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
  10550. "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
  10551. "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
  10552. "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
  10553. "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
  10554. "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
  10555. "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
  10556. "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
  10557. "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
  10558. "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
  10559. "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
  10560. "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
  10561. "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
  10562. "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
  10563. "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
  10564. "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
  10565. "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
  10566. "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
  10567. "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
  10568. "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
  10569. "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
  10570. "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
  10571. "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
  10572. "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
  10573. "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
  10574. "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
  10575. "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
  10576. "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
  10577. "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
  10578. "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
  10579. "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
  10580. "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
  10581. "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
  10582. "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
  10583. .len = 496,
  10584. },
  10585. };
  10586. static const struct cipher_testvec des3_ede_cbc_tv_template[] = {
  10587. { /* Generated from openssl */
  10588. .key = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  10589. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  10590. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  10591. .klen = 24,
  10592. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  10593. .iv_out = "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
  10594. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  10595. "\x53\x20\x63\x65\x65\x72\x73\x74"
  10596. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  10597. "\x20\x79\x65\x53\x72\x63\x74\x65"
  10598. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  10599. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  10600. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  10601. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  10602. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  10603. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  10604. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  10605. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  10606. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  10607. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  10608. "\x63\x65\x65\x72\x73\x74\x54\x20"
  10609. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  10610. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  10611. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  10612. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  10613. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  10614. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  10615. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  10616. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  10617. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  10618. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  10619. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  10620. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  10621. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  10622. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  10623. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  10624. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  10625. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
  10626. .len = 128,
  10627. }, { /* Generated with Crypto++ */
  10628. .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
  10629. "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
  10630. "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
  10631. .klen = 24,
  10632. .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
  10633. "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
  10634. .iv_out = "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
  10635. .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
  10636. "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
  10637. "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
  10638. "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
  10639. "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
  10640. "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
  10641. "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
  10642. "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
  10643. "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
  10644. "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
  10645. "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
  10646. "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
  10647. "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
  10648. "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
  10649. "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
  10650. "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
  10651. "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
  10652. "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
  10653. "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
  10654. "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
  10655. "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
  10656. "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
  10657. "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
  10658. "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
  10659. "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
  10660. "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
  10661. "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
  10662. "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
  10663. "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
  10664. "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
  10665. "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
  10666. "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
  10667. "\x50\x3B\x82\x15\x99\x60\xCB\x52"
  10668. "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
  10669. "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
  10670. "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
  10671. "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
  10672. "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
  10673. "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
  10674. "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
  10675. "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
  10676. "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
  10677. "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
  10678. "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
  10679. "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
  10680. "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
  10681. "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
  10682. "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
  10683. "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
  10684. "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
  10685. "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
  10686. "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
  10687. "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
  10688. "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
  10689. "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
  10690. "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
  10691. "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
  10692. "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
  10693. "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
  10694. "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
  10695. "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
  10696. "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
  10697. .ctext = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
  10698. "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
  10699. "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
  10700. "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
  10701. "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
  10702. "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
  10703. "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
  10704. "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
  10705. "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
  10706. "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
  10707. "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
  10708. "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
  10709. "\x11\x35\x61\x94\x88\x7B\x1C\x48"
  10710. "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
  10711. "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
  10712. "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
  10713. "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
  10714. "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
  10715. "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
  10716. "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
  10717. "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
  10718. "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
  10719. "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
  10720. "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
  10721. "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
  10722. "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
  10723. "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
  10724. "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
  10725. "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
  10726. "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
  10727. "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
  10728. "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
  10729. "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
  10730. "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
  10731. "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
  10732. "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
  10733. "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
  10734. "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
  10735. "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
  10736. "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
  10737. "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
  10738. "\x73\x50\x08\x56\x20\x9B\x94\x23"
  10739. "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
  10740. "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
  10741. "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
  10742. "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
  10743. "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
  10744. "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
  10745. "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
  10746. "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
  10747. "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
  10748. "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
  10749. "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
  10750. "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
  10751. "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
  10752. "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
  10753. "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
  10754. "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
  10755. "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
  10756. "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
  10757. "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
  10758. "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
  10759. .len = 496,
  10760. },
  10761. };
  10762. static const struct cipher_testvec des3_ede_ctr_tv_template[] = {
  10763. { /* Generated with Crypto++ */
  10764. .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
  10765. "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
  10766. "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
  10767. .klen = 24,
  10768. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF",
  10769. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3D",
  10770. .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
  10771. "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
  10772. "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
  10773. "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
  10774. "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
  10775. "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
  10776. "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
  10777. "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
  10778. "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
  10779. "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
  10780. "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
  10781. "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
  10782. "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
  10783. "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
  10784. "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
  10785. "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
  10786. "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
  10787. "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
  10788. "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
  10789. "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
  10790. "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
  10791. "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
  10792. "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
  10793. "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
  10794. "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
  10795. "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
  10796. "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
  10797. "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
  10798. "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
  10799. "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
  10800. "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
  10801. "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
  10802. "\x50\x3B\x82\x15\x99\x60\xCB\x52"
  10803. "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
  10804. "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
  10805. "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
  10806. "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
  10807. "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
  10808. "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
  10809. "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
  10810. "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
  10811. "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
  10812. "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
  10813. "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
  10814. "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
  10815. "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
  10816. "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
  10817. "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
  10818. "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
  10819. "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
  10820. "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
  10821. "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
  10822. "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
  10823. "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
  10824. "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
  10825. "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
  10826. "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
  10827. "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
  10828. "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
  10829. "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
  10830. "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
  10831. "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
  10832. .ctext = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
  10833. "\x19\xCD\x6F\x32\x53\x05\x22\x15"
  10834. "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
  10835. "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
  10836. "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
  10837. "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
  10838. "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
  10839. "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
  10840. "\x13\x78\xDC\x89\x12\x12\x43\xFA"
  10841. "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
  10842. "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
  10843. "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
  10844. "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
  10845. "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
  10846. "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
  10847. "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
  10848. "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
  10849. "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
  10850. "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
  10851. "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
  10852. "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
  10853. "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
  10854. "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
  10855. "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
  10856. "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
  10857. "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
  10858. "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
  10859. "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
  10860. "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
  10861. "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
  10862. "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
  10863. "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
  10864. "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
  10865. "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
  10866. "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
  10867. "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
  10868. "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
  10869. "\x83\x37\x4F\x1F\x48\x30\xED\x04"
  10870. "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
  10871. "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
  10872. "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
  10873. "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
  10874. "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
  10875. "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
  10876. "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
  10877. "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
  10878. "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
  10879. "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
  10880. "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
  10881. "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
  10882. "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
  10883. "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
  10884. "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
  10885. "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
  10886. "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
  10887. "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
  10888. "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
  10889. "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
  10890. "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
  10891. "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
  10892. "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
  10893. "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
  10894. .len = 496,
  10895. }, { /* Generated with Crypto++ */
  10896. .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
  10897. "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
  10898. "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
  10899. .klen = 24,
  10900. .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12",
  10901. .iv_out = "\xB2\xD7\x48\xED\x06\x44\xF9\x51",
  10902. .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
  10903. "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
  10904. "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
  10905. "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
  10906. "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
  10907. "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
  10908. "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
  10909. "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
  10910. "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
  10911. "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
  10912. "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
  10913. "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
  10914. "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
  10915. "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
  10916. "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
  10917. "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
  10918. "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
  10919. "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
  10920. "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
  10921. "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
  10922. "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
  10923. "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
  10924. "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
  10925. "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
  10926. "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
  10927. "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
  10928. "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
  10929. "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
  10930. "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
  10931. "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
  10932. "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
  10933. "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
  10934. "\x50\x3B\x82\x15\x99\x60\xCB\x52"
  10935. "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
  10936. "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
  10937. "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
  10938. "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
  10939. "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
  10940. "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
  10941. "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
  10942. "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
  10943. "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
  10944. "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
  10945. "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
  10946. "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
  10947. "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
  10948. "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
  10949. "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
  10950. "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
  10951. "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
  10952. "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
  10953. "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
  10954. "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
  10955. "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
  10956. "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
  10957. "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
  10958. "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
  10959. "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
  10960. "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
  10961. "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
  10962. "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
  10963. "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
  10964. "\x2E\xB1\x18",
  10965. .ctext = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
  10966. "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
  10967. "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
  10968. "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
  10969. "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
  10970. "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
  10971. "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
  10972. "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
  10973. "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
  10974. "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
  10975. "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
  10976. "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
  10977. "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
  10978. "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
  10979. "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
  10980. "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
  10981. "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
  10982. "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
  10983. "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
  10984. "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
  10985. "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
  10986. "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
  10987. "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
  10988. "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
  10989. "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
  10990. "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
  10991. "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
  10992. "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
  10993. "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
  10994. "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
  10995. "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
  10996. "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
  10997. "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
  10998. "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
  10999. "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
  11000. "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
  11001. "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
  11002. "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
  11003. "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
  11004. "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
  11005. "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
  11006. "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
  11007. "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
  11008. "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
  11009. "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
  11010. "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
  11011. "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
  11012. "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
  11013. "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
  11014. "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
  11015. "\x8A\x19\x08\xE1\x08\x48\x59\x51"
  11016. "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
  11017. "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
  11018. "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
  11019. "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
  11020. "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
  11021. "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
  11022. "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
  11023. "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
  11024. "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
  11025. "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
  11026. "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
  11027. "\xF2\x79\xD9",
  11028. .len = 499,
  11029. },
  11030. };
  11031. /*
  11032. * Blowfish test vectors.
  11033. */
  11034. static const struct cipher_testvec bf_tv_template[] = {
  11035. { /* DES test vectors from OpenSSL */
  11036. .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
  11037. .klen = 8,
  11038. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  11039. .ctext = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
  11040. .len = 8,
  11041. }, {
  11042. .key = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
  11043. .klen = 8,
  11044. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  11045. .ctext = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
  11046. .len = 8,
  11047. }, {
  11048. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
  11049. .klen = 8,
  11050. .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  11051. .ctext = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
  11052. .len = 8,
  11053. }, { /* Vary the keylength... */
  11054. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
  11055. "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
  11056. .klen = 16,
  11057. .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  11058. .ctext = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
  11059. .len = 8,
  11060. }, {
  11061. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
  11062. "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
  11063. "\x00\x11\x22\x33\x44",
  11064. .klen = 21,
  11065. .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  11066. .ctext = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
  11067. .len = 8,
  11068. }, { /* Generated with bf488 */
  11069. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
  11070. "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
  11071. "\x00\x11\x22\x33\x44\x55\x66\x77"
  11072. "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
  11073. "\x58\x40\x23\x64\x1a\xba\x61\x76"
  11074. "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
  11075. "\xff\xff\xff\xff\xff\xff\xff\xff",
  11076. .klen = 56,
  11077. .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  11078. .ctext = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
  11079. .len = 8,
  11080. }, { /* Generated with Crypto++ */
  11081. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11082. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11083. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11084. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11085. .klen = 32,
  11086. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11087. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11088. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11089. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11090. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11091. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11092. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11093. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11094. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11095. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11096. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11097. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11098. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11099. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11100. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11101. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11102. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11103. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11104. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11105. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11106. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11107. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11108. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11109. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11110. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11111. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11112. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11113. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11114. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11115. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11116. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11117. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11118. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11119. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11120. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11121. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11122. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11123. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11124. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11125. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11126. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11127. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11128. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11129. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11130. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11131. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11132. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11133. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11134. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11135. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11136. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11137. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11138. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11139. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11140. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11141. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11142. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11143. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11144. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11145. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11146. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11147. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  11148. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
  11149. .ctext = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
  11150. "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
  11151. "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
  11152. "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
  11153. "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
  11154. "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
  11155. "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
  11156. "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
  11157. "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
  11158. "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
  11159. "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
  11160. "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
  11161. "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
  11162. "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
  11163. "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
  11164. "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
  11165. "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
  11166. "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
  11167. "\x47\x82\x98\x23\x33\x36\xBC\x1B"
  11168. "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
  11169. "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
  11170. "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
  11171. "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
  11172. "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
  11173. "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
  11174. "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
  11175. "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
  11176. "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
  11177. "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
  11178. "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
  11179. "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
  11180. "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
  11181. "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
  11182. "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
  11183. "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
  11184. "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
  11185. "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
  11186. "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
  11187. "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
  11188. "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
  11189. "\x3E\x42\x14\x49\x88\x51\xBF\x68"
  11190. "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
  11191. "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
  11192. "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
  11193. "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
  11194. "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
  11195. "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
  11196. "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
  11197. "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
  11198. "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
  11199. "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
  11200. "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
  11201. "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
  11202. "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
  11203. "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
  11204. "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
  11205. "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
  11206. "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
  11207. "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
  11208. "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
  11209. "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
  11210. "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
  11211. "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
  11212. .len = 504,
  11213. },
  11214. };
  11215. static const struct cipher_testvec bf_cbc_tv_template[] = {
  11216. { /* From OpenSSL */
  11217. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  11218. "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
  11219. .klen = 16,
  11220. .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  11221. .iv_out = "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
  11222. .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
  11223. "\x4e\x6f\x77\x20\x69\x73\x20\x74"
  11224. "\x68\x65\x20\x74\x69\x6d\x65\x20"
  11225. "\x66\x6f\x72\x20\x00\x00\x00\x00",
  11226. .ctext = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
  11227. "\x05\xb1\x56\xe2\x74\x03\x97\x93"
  11228. "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
  11229. "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
  11230. .len = 32,
  11231. }, { /* Generated with Crypto++ */
  11232. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11233. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11234. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11235. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11236. .klen = 32,
  11237. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  11238. .iv_out = "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
  11239. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11240. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11241. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11242. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11243. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11244. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11245. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11246. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11247. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11248. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11249. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11250. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11251. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11252. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11253. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11254. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11255. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11256. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11257. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11258. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11259. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11260. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11261. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11262. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11263. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11264. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11265. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11266. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11267. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11268. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11269. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11270. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11271. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11272. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11273. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11274. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11275. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11276. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11277. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11278. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11279. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11280. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11281. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11282. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11283. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11284. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11285. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11286. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11287. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11288. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11289. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11290. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11291. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11292. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11293. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11294. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11295. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11296. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11297. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11298. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11299. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11300. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  11301. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
  11302. .ctext = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
  11303. "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
  11304. "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
  11305. "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
  11306. "\x01\x9C\x93\x63\x51\x60\x82\xD2"
  11307. "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
  11308. "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
  11309. "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
  11310. "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
  11311. "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
  11312. "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
  11313. "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
  11314. "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
  11315. "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
  11316. "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
  11317. "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
  11318. "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
  11319. "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
  11320. "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
  11321. "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
  11322. "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
  11323. "\x65\xFE\x15\x40\xD0\x62\x41\x02"
  11324. "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
  11325. "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
  11326. "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
  11327. "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
  11328. "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
  11329. "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
  11330. "\x04\xF0\x86\x08\x78\x18\x42\xE0"
  11331. "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
  11332. "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
  11333. "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
  11334. "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
  11335. "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
  11336. "\x97\x18\x92\xFF\x15\x11\xCE\xED"
  11337. "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
  11338. "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
  11339. "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
  11340. "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
  11341. "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
  11342. "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
  11343. "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
  11344. "\x43\x12\x73\x77\xDB\x91\x83\x5B"
  11345. "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
  11346. "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
  11347. "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
  11348. "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
  11349. "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
  11350. "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
  11351. "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
  11352. "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
  11353. "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
  11354. "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
  11355. "\xC5\xF8\x69\x83\x28\x84\x87\x56"
  11356. "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
  11357. "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
  11358. "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
  11359. "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
  11360. "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
  11361. "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
  11362. "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
  11363. "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
  11364. "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
  11365. .len = 504,
  11366. },
  11367. };
  11368. static const struct cipher_testvec bf_ctr_tv_template[] = {
  11369. { /* Generated with Crypto++ */
  11370. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11371. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11372. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11373. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11374. .klen = 32,
  11375. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  11376. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
  11377. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11378. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11379. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11380. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11381. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11382. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11383. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11384. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11385. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11386. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11387. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11388. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11389. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11390. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11391. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11392. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11393. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11394. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11395. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11396. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11397. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11398. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11399. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11400. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11401. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11402. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11403. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11404. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11405. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11406. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11407. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11408. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11409. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11410. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11411. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11412. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11413. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11414. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11415. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11416. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11417. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11418. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11419. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11420. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11421. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11422. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11423. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11424. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11425. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11426. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11427. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11428. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11429. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11430. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11431. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11432. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11433. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11434. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11435. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11436. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11437. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11438. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  11439. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
  11440. .ctext = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
  11441. "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
  11442. "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
  11443. "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
  11444. "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
  11445. "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
  11446. "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
  11447. "\x97\xEB\x98\x75\xC4\x73\x45\x83"
  11448. "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
  11449. "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
  11450. "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
  11451. "\x13\xD2\x96\x68\x69\x10\x67\x0C"
  11452. "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
  11453. "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
  11454. "\x88\x09\x40\x59\xBD\x12\x64\xB5"
  11455. "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
  11456. "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
  11457. "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
  11458. "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
  11459. "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
  11460. "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
  11461. "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
  11462. "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
  11463. "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
  11464. "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
  11465. "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
  11466. "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
  11467. "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
  11468. "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
  11469. "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
  11470. "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
  11471. "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
  11472. "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
  11473. "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
  11474. "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
  11475. "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
  11476. "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
  11477. "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
  11478. "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
  11479. "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
  11480. "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
  11481. "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
  11482. "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
  11483. "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
  11484. "\x82\x63\x11\xB3\x54\x49\x00\x08"
  11485. "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
  11486. "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
  11487. "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
  11488. "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
  11489. "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
  11490. "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
  11491. "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
  11492. "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
  11493. "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
  11494. "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
  11495. "\x91\x04\x94\x99\x03\x3B\x42\x6D"
  11496. "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
  11497. "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
  11498. "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
  11499. "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
  11500. "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
  11501. "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
  11502. "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
  11503. .len = 504,
  11504. }, { /* Generated with Crypto++ */
  11505. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11506. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11507. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11508. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11509. .klen = 32,
  11510. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  11511. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
  11512. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11513. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11514. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11515. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11516. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11517. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11518. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11519. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11520. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11521. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11522. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11523. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11524. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11525. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11526. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11527. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11528. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11529. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11530. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11531. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11532. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11533. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11534. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11535. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11536. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11537. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11538. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11539. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11540. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11541. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11542. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11543. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11544. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11545. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11546. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11547. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11548. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11549. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11550. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11551. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11552. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11553. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11554. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11555. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11556. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11557. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11558. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11559. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11560. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11561. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11562. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11563. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11564. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11565. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11566. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11567. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11568. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11569. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11570. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11571. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11572. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11573. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  11574. "\x2B\xC2\x59\xF0\x64\xFB\x92",
  11575. .ctext = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
  11576. "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
  11577. "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
  11578. "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
  11579. "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
  11580. "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
  11581. "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
  11582. "\x97\xEB\x98\x75\xC4\x73\x45\x83"
  11583. "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
  11584. "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
  11585. "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
  11586. "\x13\xD2\x96\x68\x69\x10\x67\x0C"
  11587. "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
  11588. "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
  11589. "\x88\x09\x40\x59\xBD\x12\x64\xB5"
  11590. "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
  11591. "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
  11592. "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
  11593. "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
  11594. "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
  11595. "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
  11596. "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
  11597. "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
  11598. "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
  11599. "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
  11600. "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
  11601. "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
  11602. "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
  11603. "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
  11604. "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
  11605. "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
  11606. "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
  11607. "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
  11608. "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
  11609. "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
  11610. "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
  11611. "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
  11612. "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
  11613. "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
  11614. "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
  11615. "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
  11616. "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
  11617. "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
  11618. "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
  11619. "\x82\x63\x11\xB3\x54\x49\x00\x08"
  11620. "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
  11621. "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
  11622. "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
  11623. "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
  11624. "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
  11625. "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
  11626. "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
  11627. "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
  11628. "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
  11629. "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
  11630. "\x91\x04\x94\x99\x03\x3B\x42\x6D"
  11631. "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
  11632. "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
  11633. "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
  11634. "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
  11635. "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
  11636. "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
  11637. "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
  11638. .len = 503,
  11639. }, { /* Generated with Crypto++ */
  11640. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11641. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11642. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11643. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11644. .klen = 32,
  11645. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  11646. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3C",
  11647. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11648. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11649. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11650. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11651. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11652. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11653. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11654. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11655. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11656. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11657. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11658. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11659. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11660. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11661. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11662. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11663. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11664. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11665. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11666. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11667. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11668. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11669. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11670. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11671. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11672. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11673. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11674. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11675. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11676. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11677. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11678. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11679. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11680. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11681. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11682. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11683. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11684. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11685. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11686. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11687. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11688. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11689. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11690. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11691. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11692. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11693. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11694. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11695. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11696. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11697. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11698. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11699. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11700. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11701. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11702. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11703. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11704. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11705. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11706. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11707. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11708. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  11709. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
  11710. .ctext = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
  11711. "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
  11712. "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
  11713. "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
  11714. "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
  11715. "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
  11716. "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
  11717. "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
  11718. "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
  11719. "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
  11720. "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
  11721. "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
  11722. "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
  11723. "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
  11724. "\x0B\x82\x59\x14\x26\x67\x08\x09"
  11725. "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
  11726. "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
  11727. "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
  11728. "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
  11729. "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
  11730. "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
  11731. "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
  11732. "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
  11733. "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
  11734. "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
  11735. "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
  11736. "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
  11737. "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
  11738. "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
  11739. "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
  11740. "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
  11741. "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
  11742. "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
  11743. "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
  11744. "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
  11745. "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
  11746. "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
  11747. "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
  11748. "\xB4\x19\xD8\x19\x45\x66\x27\x02"
  11749. "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
  11750. "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
  11751. "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
  11752. "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
  11753. "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
  11754. "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
  11755. "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
  11756. "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
  11757. "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
  11758. "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
  11759. "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
  11760. "\x91\x51\x4E\x71\xF2\x98\x85\x16"
  11761. "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
  11762. "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
  11763. "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
  11764. "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
  11765. "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
  11766. "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
  11767. "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
  11768. "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
  11769. "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
  11770. "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
  11771. "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
  11772. "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
  11773. .len = 504,
  11774. },
  11775. };
  11776. /*
  11777. * Twofish test vectors.
  11778. */
  11779. static const struct cipher_testvec tf_tv_template[] = {
  11780. {
  11781. .key = zeroed_string,
  11782. .klen = 16,
  11783. .ptext = zeroed_string,
  11784. .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  11785. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
  11786. .len = 16,
  11787. }, {
  11788. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  11789. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  11790. "\x00\x11\x22\x33\x44\x55\x66\x77",
  11791. .klen = 24,
  11792. .ptext = zeroed_string,
  11793. .ctext = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
  11794. "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
  11795. .len = 16,
  11796. }, {
  11797. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  11798. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  11799. "\x00\x11\x22\x33\x44\x55\x66\x77"
  11800. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  11801. .klen = 32,
  11802. .ptext = zeroed_string,
  11803. .ctext = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
  11804. "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
  11805. .len = 16,
  11806. }, { /* Generated with Crypto++ */
  11807. .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
  11808. "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
  11809. "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
  11810. "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
  11811. .klen = 32,
  11812. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11813. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11814. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11815. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11816. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11817. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11818. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11819. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11820. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11821. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11822. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11823. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11824. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11825. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11826. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11827. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11828. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11829. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11830. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11831. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11832. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11833. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11834. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11835. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11836. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11837. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11838. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11839. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11840. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11841. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11842. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11843. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11844. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11845. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11846. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11847. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11848. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11849. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11850. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11851. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11852. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11853. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11854. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11855. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11856. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11857. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11858. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11859. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11860. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11861. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11862. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11863. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11864. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11865. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11866. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11867. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11868. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11869. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11870. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11871. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11872. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11873. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  11874. .ctext = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
  11875. "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
  11876. "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
  11877. "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
  11878. "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
  11879. "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
  11880. "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
  11881. "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
  11882. "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
  11883. "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
  11884. "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
  11885. "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
  11886. "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
  11887. "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
  11888. "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
  11889. "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
  11890. "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
  11891. "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
  11892. "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
  11893. "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
  11894. "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
  11895. "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
  11896. "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
  11897. "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
  11898. "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
  11899. "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
  11900. "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
  11901. "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
  11902. "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
  11903. "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
  11904. "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
  11905. "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
  11906. "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
  11907. "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
  11908. "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
  11909. "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
  11910. "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
  11911. "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
  11912. "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
  11913. "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
  11914. "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
  11915. "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
  11916. "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
  11917. "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
  11918. "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
  11919. "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
  11920. "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
  11921. "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
  11922. "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
  11923. "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
  11924. "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
  11925. "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
  11926. "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
  11927. "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
  11928. "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
  11929. "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
  11930. "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
  11931. "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
  11932. "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
  11933. "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
  11934. "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
  11935. "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
  11936. .len = 496,
  11937. },
  11938. };
  11939. static const struct cipher_testvec tf_cbc_tv_template[] = {
  11940. { /* Generated with Nettle */
  11941. .key = zeroed_string,
  11942. .klen = 16,
  11943. .iv = zeroed_string,
  11944. .iv_out = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  11945. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
  11946. .ptext = zeroed_string,
  11947. .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  11948. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
  11949. .len = 16,
  11950. }, {
  11951. .key = zeroed_string,
  11952. .klen = 16,
  11953. .iv = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  11954. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
  11955. .iv_out = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
  11956. "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
  11957. .ptext = zeroed_string,
  11958. .ctext = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
  11959. "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
  11960. .len = 16,
  11961. }, {
  11962. .key = zeroed_string,
  11963. .klen = 16,
  11964. .iv = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
  11965. "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
  11966. .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
  11967. "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
  11968. .ptext = zeroed_string,
  11969. .ctext = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
  11970. "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
  11971. .len = 16,
  11972. }, {
  11973. .key = zeroed_string,
  11974. .klen = 16,
  11975. .iv = zeroed_string,
  11976. .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
  11977. "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
  11978. .ptext = zeroed_string,
  11979. .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  11980. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
  11981. "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
  11982. "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
  11983. "\x05\xef\x8c\x61\xa8\x11\x58\x26"
  11984. "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
  11985. .len = 48,
  11986. }, { /* Generated with Crypto++ */
  11987. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11988. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11989. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11990. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11991. .klen = 32,
  11992. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  11993. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  11994. .iv_out = "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
  11995. "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
  11996. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11997. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11998. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11999. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  12000. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  12001. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  12002. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  12003. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  12004. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  12005. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  12006. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  12007. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  12008. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  12009. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  12010. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  12011. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  12012. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  12013. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  12014. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  12015. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  12016. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  12017. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  12018. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  12019. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  12020. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  12021. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  12022. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  12023. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  12024. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  12025. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  12026. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  12027. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  12028. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  12029. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  12030. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  12031. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  12032. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  12033. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  12034. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  12035. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  12036. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  12037. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  12038. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  12039. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  12040. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  12041. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  12042. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  12043. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  12044. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  12045. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  12046. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  12047. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  12048. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  12049. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  12050. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  12051. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  12052. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  12053. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  12054. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  12055. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  12056. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  12057. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  12058. .ctext = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
  12059. "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
  12060. "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
  12061. "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
  12062. "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
  12063. "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
  12064. "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
  12065. "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
  12066. "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
  12067. "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
  12068. "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
  12069. "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
  12070. "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
  12071. "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
  12072. "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
  12073. "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
  12074. "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
  12075. "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
  12076. "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
  12077. "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
  12078. "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
  12079. "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
  12080. "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
  12081. "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
  12082. "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
  12083. "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
  12084. "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
  12085. "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
  12086. "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
  12087. "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
  12088. "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
  12089. "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
  12090. "\x75\x42\x62\x04\x31\x1F\x95\x7C"
  12091. "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
  12092. "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
  12093. "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
  12094. "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
  12095. "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
  12096. "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
  12097. "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
  12098. "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
  12099. "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
  12100. "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
  12101. "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
  12102. "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
  12103. "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
  12104. "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
  12105. "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
  12106. "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
  12107. "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
  12108. "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
  12109. "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
  12110. "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
  12111. "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
  12112. "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
  12113. "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
  12114. "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
  12115. "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
  12116. "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
  12117. "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
  12118. "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
  12119. "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
  12120. .len = 496,
  12121. },
  12122. };
  12123. static const struct cipher_testvec tf_ctr_tv_template[] = {
  12124. { /* Generated with Crypto++ */
  12125. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  12126. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  12127. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  12128. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  12129. .klen = 32,
  12130. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  12131. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  12132. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  12133. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
  12134. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  12135. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  12136. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  12137. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  12138. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  12139. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  12140. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  12141. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  12142. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  12143. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  12144. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  12145. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  12146. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  12147. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  12148. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  12149. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  12150. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  12151. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  12152. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  12153. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  12154. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  12155. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  12156. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  12157. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  12158. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  12159. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  12160. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  12161. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  12162. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  12163. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  12164. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  12165. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  12166. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  12167. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  12168. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  12169. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  12170. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  12171. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  12172. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  12173. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  12174. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  12175. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  12176. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  12177. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  12178. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  12179. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  12180. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  12181. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  12182. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  12183. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  12184. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  12185. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  12186. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  12187. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  12188. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  12189. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  12190. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  12191. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  12192. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  12193. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  12194. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  12195. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  12196. .ctext = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
  12197. "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
  12198. "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
  12199. "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
  12200. "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
  12201. "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
  12202. "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
  12203. "\x01\x41\x21\x12\x38\xAB\x52\x4F"
  12204. "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
  12205. "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
  12206. "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
  12207. "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
  12208. "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
  12209. "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
  12210. "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
  12211. "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
  12212. "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
  12213. "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
  12214. "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
  12215. "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
  12216. "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
  12217. "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
  12218. "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
  12219. "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
  12220. "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
  12221. "\x23\x61\x48\xEA\x80\x04\x27\xAA"
  12222. "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
  12223. "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
  12224. "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
  12225. "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
  12226. "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
  12227. "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
  12228. "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
  12229. "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
  12230. "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
  12231. "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
  12232. "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
  12233. "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
  12234. "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
  12235. "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
  12236. "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
  12237. "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
  12238. "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
  12239. "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
  12240. "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
  12241. "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
  12242. "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
  12243. "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
  12244. "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
  12245. "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
  12246. "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
  12247. "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
  12248. "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
  12249. "\x11\xE9\x43\x83\x76\xAA\x53\x37"
  12250. "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
  12251. "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
  12252. "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
  12253. "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
  12254. "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
  12255. "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
  12256. "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
  12257. "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
  12258. .len = 496,
  12259. }, { /* Generated with Crypto++ */
  12260. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  12261. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  12262. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  12263. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  12264. .klen = 32,
  12265. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  12266. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  12267. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12268. "\x00\x00\x00\x00\x00\x00\x00\x1C",
  12269. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  12270. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  12271. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  12272. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  12273. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  12274. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  12275. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  12276. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  12277. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  12278. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  12279. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  12280. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  12281. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  12282. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  12283. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  12284. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  12285. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  12286. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  12287. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  12288. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  12289. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  12290. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  12291. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  12292. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  12293. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  12294. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  12295. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  12296. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  12297. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  12298. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  12299. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  12300. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  12301. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  12302. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  12303. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  12304. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  12305. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  12306. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  12307. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  12308. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  12309. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  12310. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  12311. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  12312. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  12313. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  12314. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  12315. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  12316. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  12317. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  12318. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  12319. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  12320. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  12321. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  12322. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  12323. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  12324. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  12325. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  12326. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  12327. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  12328. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  12329. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  12330. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  12331. .ctext = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
  12332. "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
  12333. "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
  12334. "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
  12335. "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
  12336. "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
  12337. "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
  12338. "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
  12339. "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
  12340. "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
  12341. "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
  12342. "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
  12343. "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
  12344. "\x39\x18\x09\xA4\x82\x59\x78\xE7"
  12345. "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
  12346. "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
  12347. "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
  12348. "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
  12349. "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
  12350. "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
  12351. "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
  12352. "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
  12353. "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
  12354. "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
  12355. "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
  12356. "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
  12357. "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
  12358. "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
  12359. "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
  12360. "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
  12361. "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
  12362. "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
  12363. "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
  12364. "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
  12365. "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
  12366. "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
  12367. "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
  12368. "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
  12369. "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
  12370. "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
  12371. "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
  12372. "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
  12373. "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
  12374. "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
  12375. "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
  12376. "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
  12377. "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
  12378. "\xDE\x55\x1B\x50\x14\x53\x44\x17"
  12379. "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
  12380. "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
  12381. "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
  12382. "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
  12383. "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
  12384. "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
  12385. "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
  12386. "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
  12387. "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
  12388. "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
  12389. "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
  12390. "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
  12391. "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
  12392. "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
  12393. .len = 496,
  12394. }, { /* Generated with Crypto++ */
  12395. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  12396. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  12397. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  12398. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  12399. .klen = 32,
  12400. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  12401. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  12402. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  12403. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
  12404. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  12405. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  12406. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  12407. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  12408. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  12409. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  12410. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  12411. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  12412. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  12413. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  12414. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  12415. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  12416. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  12417. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  12418. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  12419. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  12420. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  12421. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  12422. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  12423. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  12424. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  12425. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  12426. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  12427. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  12428. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  12429. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  12430. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  12431. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  12432. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  12433. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  12434. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  12435. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  12436. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  12437. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  12438. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  12439. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  12440. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  12441. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  12442. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  12443. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  12444. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  12445. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  12446. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  12447. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  12448. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  12449. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  12450. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  12451. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  12452. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  12453. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  12454. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  12455. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  12456. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  12457. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  12458. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  12459. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  12460. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  12461. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  12462. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  12463. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  12464. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  12465. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  12466. "\x2B\xC2\x59",
  12467. .ctext = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
  12468. "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
  12469. "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
  12470. "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
  12471. "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
  12472. "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
  12473. "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
  12474. "\x01\x41\x21\x12\x38\xAB\x52\x4F"
  12475. "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
  12476. "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
  12477. "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
  12478. "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
  12479. "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
  12480. "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
  12481. "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
  12482. "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
  12483. "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
  12484. "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
  12485. "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
  12486. "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
  12487. "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
  12488. "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
  12489. "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
  12490. "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
  12491. "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
  12492. "\x23\x61\x48\xEA\x80\x04\x27\xAA"
  12493. "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
  12494. "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
  12495. "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
  12496. "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
  12497. "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
  12498. "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
  12499. "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
  12500. "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
  12501. "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
  12502. "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
  12503. "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
  12504. "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
  12505. "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
  12506. "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
  12507. "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
  12508. "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
  12509. "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
  12510. "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
  12511. "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
  12512. "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
  12513. "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
  12514. "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
  12515. "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
  12516. "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
  12517. "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
  12518. "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
  12519. "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
  12520. "\x11\xE9\x43\x83\x76\xAA\x53\x37"
  12521. "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
  12522. "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
  12523. "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
  12524. "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
  12525. "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
  12526. "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
  12527. "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
  12528. "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
  12529. "\x6C\x82\x9D",
  12530. .len = 499,
  12531. },
  12532. };
  12533. static const struct cipher_testvec tf_lrw_tv_template[] = {
  12534. /* Generated from AES-LRW test vectors */
  12535. {
  12536. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  12537. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  12538. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  12539. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  12540. .klen = 32,
  12541. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12542. "\x00\x00\x00\x00\x00\x00\x00\x01",
  12543. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12544. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12545. .ctext = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
  12546. "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
  12547. .len = 16,
  12548. }, {
  12549. .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
  12550. "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
  12551. "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
  12552. "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
  12553. .klen = 32,
  12554. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12555. "\x00\x00\x00\x00\x00\x00\x00\x02",
  12556. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12557. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12558. .ctext = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
  12559. "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
  12560. .len = 16,
  12561. }, {
  12562. .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
  12563. "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
  12564. "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
  12565. "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
  12566. .klen = 32,
  12567. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12568. "\x00\x00\x00\x02\x00\x00\x00\x00",
  12569. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12570. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12571. .ctext = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
  12572. "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
  12573. .len = 16,
  12574. }, {
  12575. .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
  12576. "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
  12577. "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
  12578. "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
  12579. "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
  12580. .klen = 40,
  12581. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12582. "\x00\x00\x00\x00\x00\x00\x00\x01",
  12583. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12584. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12585. .ctext = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
  12586. "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
  12587. .len = 16,
  12588. }, {
  12589. .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
  12590. "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
  12591. "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
  12592. "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
  12593. "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
  12594. .klen = 40,
  12595. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12596. "\x00\x00\x00\x02\x00\x00\x00\x00",
  12597. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12598. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12599. .ctext = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
  12600. "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
  12601. .len = 16,
  12602. }, {
  12603. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  12604. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  12605. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  12606. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  12607. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  12608. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  12609. .klen = 48,
  12610. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12611. "\x00\x00\x00\x00\x00\x00\x00\x01",
  12612. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12613. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12614. .ctext = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
  12615. "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
  12616. .len = 16,
  12617. }, {
  12618. .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
  12619. "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
  12620. "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
  12621. "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
  12622. "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
  12623. "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
  12624. .klen = 48,
  12625. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12626. "\x00\x00\x00\x02\x00\x00\x00\x00",
  12627. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12628. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12629. .ctext = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
  12630. "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
  12631. .len = 16,
  12632. }, {
  12633. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  12634. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  12635. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  12636. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  12637. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  12638. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  12639. .klen = 48,
  12640. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12641. "\x00\x00\x00\x00\x00\x00\x00\x01",
  12642. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  12643. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  12644. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  12645. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  12646. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  12647. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  12648. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  12649. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  12650. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  12651. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  12652. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  12653. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  12654. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  12655. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  12656. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  12657. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  12658. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  12659. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  12660. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  12661. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  12662. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  12663. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  12664. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  12665. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  12666. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  12667. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  12668. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  12669. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  12670. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  12671. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  12672. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  12673. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  12674. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  12675. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  12676. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  12677. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  12678. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  12679. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  12680. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  12681. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  12682. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  12683. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  12684. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  12685. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  12686. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  12687. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  12688. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  12689. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  12690. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  12691. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  12692. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  12693. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  12694. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  12695. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  12696. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  12697. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  12698. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  12699. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  12700. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  12701. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  12702. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  12703. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  12704. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  12705. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  12706. .ctext = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
  12707. "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
  12708. "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
  12709. "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
  12710. "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
  12711. "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
  12712. "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
  12713. "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
  12714. "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
  12715. "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
  12716. "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
  12717. "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
  12718. "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
  12719. "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
  12720. "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
  12721. "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
  12722. "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
  12723. "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
  12724. "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
  12725. "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
  12726. "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
  12727. "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
  12728. "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
  12729. "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
  12730. "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
  12731. "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
  12732. "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
  12733. "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
  12734. "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
  12735. "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
  12736. "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
  12737. "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
  12738. "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
  12739. "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
  12740. "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
  12741. "\x3e\xae\x71\x90\x07\x70\x1c\x38"
  12742. "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
  12743. "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
  12744. "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
  12745. "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
  12746. "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
  12747. "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
  12748. "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
  12749. "\x93\x51\x1d\x3d\x62\x59\x83\x82"
  12750. "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
  12751. "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
  12752. "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
  12753. "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
  12754. "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
  12755. "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
  12756. "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
  12757. "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
  12758. "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
  12759. "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
  12760. "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
  12761. "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
  12762. "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
  12763. "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
  12764. "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
  12765. "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
  12766. "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
  12767. "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
  12768. "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
  12769. "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
  12770. .len = 512,
  12771. },
  12772. };
  12773. static const struct cipher_testvec tf_xts_tv_template[] = {
  12774. /* Generated from AES-XTS test vectors */
  12775. {
  12776. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12777. "\x00\x00\x00\x00\x00\x00\x00\x00"
  12778. "\x00\x00\x00\x00\x00\x00\x00\x00"
  12779. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12780. .klen = 32,
  12781. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12782. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12783. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12784. "\x00\x00\x00\x00\x00\x00\x00\x00"
  12785. "\x00\x00\x00\x00\x00\x00\x00\x00"
  12786. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12787. .ctext = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
  12788. "\x30\x74\xe4\x44\x52\x77\x97\x43"
  12789. "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
  12790. "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
  12791. .len = 32,
  12792. }, {
  12793. .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
  12794. "\x11\x11\x11\x11\x11\x11\x11\x11"
  12795. "\x22\x22\x22\x22\x22\x22\x22\x22"
  12796. "\x22\x22\x22\x22\x22\x22\x22\x22",
  12797. .klen = 32,
  12798. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  12799. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12800. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  12801. "\x44\x44\x44\x44\x44\x44\x44\x44"
  12802. "\x44\x44\x44\x44\x44\x44\x44\x44"
  12803. "\x44\x44\x44\x44\x44\x44\x44\x44",
  12804. .ctext = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
  12805. "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
  12806. "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
  12807. "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
  12808. .len = 32,
  12809. }, {
  12810. .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
  12811. "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
  12812. "\x22\x22\x22\x22\x22\x22\x22\x22"
  12813. "\x22\x22\x22\x22\x22\x22\x22\x22",
  12814. .klen = 32,
  12815. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  12816. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12817. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  12818. "\x44\x44\x44\x44\x44\x44\x44\x44"
  12819. "\x44\x44\x44\x44\x44\x44\x44\x44"
  12820. "\x44\x44\x44\x44\x44\x44\x44\x44",
  12821. .ctext = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
  12822. "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
  12823. "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
  12824. "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
  12825. .len = 32,
  12826. }, {
  12827. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  12828. "\x23\x53\x60\x28\x74\x71\x35\x26"
  12829. "\x31\x41\x59\x26\x53\x58\x97\x93"
  12830. "\x23\x84\x62\x64\x33\x83\x27\x95",
  12831. .klen = 32,
  12832. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12833. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12834. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  12835. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  12836. "\x10\x11\x12\x13\x14\x15\x16\x17"
  12837. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  12838. "\x20\x21\x22\x23\x24\x25\x26\x27"
  12839. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  12840. "\x30\x31\x32\x33\x34\x35\x36\x37"
  12841. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  12842. "\x40\x41\x42\x43\x44\x45\x46\x47"
  12843. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  12844. "\x50\x51\x52\x53\x54\x55\x56\x57"
  12845. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  12846. "\x60\x61\x62\x63\x64\x65\x66\x67"
  12847. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  12848. "\x70\x71\x72\x73\x74\x75\x76\x77"
  12849. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  12850. "\x80\x81\x82\x83\x84\x85\x86\x87"
  12851. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  12852. "\x90\x91\x92\x93\x94\x95\x96\x97"
  12853. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  12854. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  12855. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  12856. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  12857. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  12858. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  12859. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  12860. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  12861. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  12862. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  12863. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  12864. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  12865. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  12866. "\x00\x01\x02\x03\x04\x05\x06\x07"
  12867. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  12868. "\x10\x11\x12\x13\x14\x15\x16\x17"
  12869. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  12870. "\x20\x21\x22\x23\x24\x25\x26\x27"
  12871. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  12872. "\x30\x31\x32\x33\x34\x35\x36\x37"
  12873. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  12874. "\x40\x41\x42\x43\x44\x45\x46\x47"
  12875. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  12876. "\x50\x51\x52\x53\x54\x55\x56\x57"
  12877. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  12878. "\x60\x61\x62\x63\x64\x65\x66\x67"
  12879. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  12880. "\x70\x71\x72\x73\x74\x75\x76\x77"
  12881. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  12882. "\x80\x81\x82\x83\x84\x85\x86\x87"
  12883. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  12884. "\x90\x91\x92\x93\x94\x95\x96\x97"
  12885. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  12886. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  12887. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  12888. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  12889. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  12890. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  12891. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  12892. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  12893. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  12894. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  12895. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  12896. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  12897. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  12898. .ctext = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
  12899. "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
  12900. "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
  12901. "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
  12902. "\xea\x35\x35\x8c\xb2\x46\x61\x06"
  12903. "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
  12904. "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
  12905. "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
  12906. "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
  12907. "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
  12908. "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
  12909. "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
  12910. "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
  12911. "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
  12912. "\x01\x73\x68\x32\x25\x19\xfa\xfb"
  12913. "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
  12914. "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
  12915. "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
  12916. "\x39\x80\x39\x09\x97\x65\xf2\x83"
  12917. "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
  12918. "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
  12919. "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
  12920. "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
  12921. "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
  12922. "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
  12923. "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
  12924. "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
  12925. "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
  12926. "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
  12927. "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
  12928. "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
  12929. "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
  12930. "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
  12931. "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
  12932. "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
  12933. "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
  12934. "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
  12935. "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
  12936. "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
  12937. "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
  12938. "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
  12939. "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
  12940. "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
  12941. "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
  12942. "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
  12943. "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
  12944. "\x04\x39\x73\x32\xb2\x86\x79\xe7"
  12945. "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
  12946. "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
  12947. "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
  12948. "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
  12949. "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
  12950. "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
  12951. "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
  12952. "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
  12953. "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
  12954. "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
  12955. "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
  12956. "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
  12957. "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
  12958. "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
  12959. "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
  12960. "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
  12961. "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
  12962. .len = 512,
  12963. }, {
  12964. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  12965. "\x23\x53\x60\x28\x74\x71\x35\x26"
  12966. "\x62\x49\x77\x57\x24\x70\x93\x69"
  12967. "\x99\x59\x57\x49\x66\x96\x76\x27"
  12968. "\x31\x41\x59\x26\x53\x58\x97\x93"
  12969. "\x23\x84\x62\x64\x33\x83\x27\x95"
  12970. "\x02\x88\x41\x97\x16\x93\x99\x37"
  12971. "\x51\x05\x82\x09\x74\x94\x45\x92",
  12972. .klen = 64,
  12973. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  12974. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12975. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  12976. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  12977. "\x10\x11\x12\x13\x14\x15\x16\x17"
  12978. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  12979. "\x20\x21\x22\x23\x24\x25\x26\x27"
  12980. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  12981. "\x30\x31\x32\x33\x34\x35\x36\x37"
  12982. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  12983. "\x40\x41\x42\x43\x44\x45\x46\x47"
  12984. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  12985. "\x50\x51\x52\x53\x54\x55\x56\x57"
  12986. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  12987. "\x60\x61\x62\x63\x64\x65\x66\x67"
  12988. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  12989. "\x70\x71\x72\x73\x74\x75\x76\x77"
  12990. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  12991. "\x80\x81\x82\x83\x84\x85\x86\x87"
  12992. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  12993. "\x90\x91\x92\x93\x94\x95\x96\x97"
  12994. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  12995. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  12996. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  12997. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  12998. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  12999. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  13000. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  13001. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  13002. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  13003. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  13004. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  13005. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  13006. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  13007. "\x00\x01\x02\x03\x04\x05\x06\x07"
  13008. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  13009. "\x10\x11\x12\x13\x14\x15\x16\x17"
  13010. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  13011. "\x20\x21\x22\x23\x24\x25\x26\x27"
  13012. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  13013. "\x30\x31\x32\x33\x34\x35\x36\x37"
  13014. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  13015. "\x40\x41\x42\x43\x44\x45\x46\x47"
  13016. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  13017. "\x50\x51\x52\x53\x54\x55\x56\x57"
  13018. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  13019. "\x60\x61\x62\x63\x64\x65\x66\x67"
  13020. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  13021. "\x70\x71\x72\x73\x74\x75\x76\x77"
  13022. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  13023. "\x80\x81\x82\x83\x84\x85\x86\x87"
  13024. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  13025. "\x90\x91\x92\x93\x94\x95\x96\x97"
  13026. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  13027. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  13028. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  13029. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  13030. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  13031. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  13032. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  13033. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  13034. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  13035. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  13036. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  13037. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  13038. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  13039. .ctext = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
  13040. "\x35\x39\x71\x88\x76\x1e\xc9\xea"
  13041. "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
  13042. "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
  13043. "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
  13044. "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
  13045. "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
  13046. "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
  13047. "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
  13048. "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
  13049. "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
  13050. "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
  13051. "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
  13052. "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
  13053. "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
  13054. "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
  13055. "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
  13056. "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
  13057. "\x69\x35\x61\x86\xf8\x86\xb9\x89"
  13058. "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
  13059. "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
  13060. "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
  13061. "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
  13062. "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
  13063. "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
  13064. "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
  13065. "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
  13066. "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
  13067. "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
  13068. "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
  13069. "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
  13070. "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
  13071. "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
  13072. "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
  13073. "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
  13074. "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
  13075. "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
  13076. "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
  13077. "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
  13078. "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
  13079. "\xad\x12\x32\x31\x03\xf7\x21\xbe"
  13080. "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
  13081. "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
  13082. "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
  13083. "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
  13084. "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
  13085. "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
  13086. "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
  13087. "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
  13088. "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
  13089. "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
  13090. "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
  13091. "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
  13092. "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
  13093. "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
  13094. "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
  13095. "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
  13096. "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
  13097. "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
  13098. "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
  13099. "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
  13100. "\xf3\xea\x67\x52\x78\xc2\xce\x70"
  13101. "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
  13102. "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
  13103. .len = 512,
  13104. },
  13105. };
  13106. /*
  13107. * Serpent test vectors. These are backwards because Serpent writes
  13108. * octet sequences in right-to-left mode.
  13109. */
  13110. static const struct cipher_testvec serpent_tv_template[] = {
  13111. {
  13112. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13113. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  13114. .ctext = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
  13115. "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
  13116. .len = 16,
  13117. }, {
  13118. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13119. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  13120. .klen = 16,
  13121. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13122. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  13123. .ctext = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
  13124. "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
  13125. .len = 16,
  13126. }, {
  13127. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13128. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  13129. "\x10\x11\x12\x13\x14\x15\x16\x17"
  13130. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  13131. .klen = 32,
  13132. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13133. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  13134. .ctext = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
  13135. "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
  13136. .len = 16,
  13137. }, {
  13138. .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
  13139. .klen = 16,
  13140. .ptext = zeroed_string,
  13141. .ctext = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
  13142. "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
  13143. .len = 16,
  13144. }, { /* Generated with Crypto++ */
  13145. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  13146. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  13147. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  13148. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  13149. .klen = 32,
  13150. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  13151. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  13152. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  13153. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  13154. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  13155. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  13156. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  13157. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  13158. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  13159. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  13160. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  13161. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  13162. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  13163. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  13164. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  13165. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  13166. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  13167. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  13168. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  13169. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  13170. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  13171. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  13172. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  13173. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  13174. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  13175. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  13176. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  13177. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  13178. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  13179. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  13180. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  13181. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  13182. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  13183. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  13184. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  13185. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  13186. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  13187. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  13188. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  13189. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  13190. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  13191. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  13192. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  13193. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  13194. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  13195. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  13196. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  13197. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  13198. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  13199. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  13200. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  13201. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  13202. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  13203. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  13204. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  13205. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  13206. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  13207. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  13208. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  13209. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  13210. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  13211. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  13212. .ctext = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
  13213. "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
  13214. "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
  13215. "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
  13216. "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
  13217. "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
  13218. "\x99\x34\x89\x5B\x54\xE9\x12\x13"
  13219. "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
  13220. "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
  13221. "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
  13222. "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
  13223. "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
  13224. "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
  13225. "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
  13226. "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
  13227. "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
  13228. "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
  13229. "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
  13230. "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
  13231. "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
  13232. "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
  13233. "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
  13234. "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
  13235. "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
  13236. "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
  13237. "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
  13238. "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
  13239. "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
  13240. "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
  13241. "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
  13242. "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
  13243. "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
  13244. "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
  13245. "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
  13246. "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
  13247. "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
  13248. "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
  13249. "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
  13250. "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
  13251. "\x87\x70\x14\xD0\x01\x57\xCB\x42"
  13252. "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
  13253. "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
  13254. "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
  13255. "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
  13256. "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
  13257. "\x71\x80\x05\x35\x3F\x40\x0B\x21"
  13258. "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
  13259. "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
  13260. "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
  13261. "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
  13262. "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
  13263. "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
  13264. "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
  13265. "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
  13266. "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
  13267. "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
  13268. "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
  13269. "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
  13270. "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
  13271. "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
  13272. "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
  13273. "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
  13274. .len = 496,
  13275. },
  13276. };
  13277. static const struct cipher_testvec serpent_cbc_tv_template[] = {
  13278. { /* Generated with Crypto++ */
  13279. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  13280. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  13281. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  13282. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  13283. .klen = 32,
  13284. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13285. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  13286. .iv_out = "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
  13287. "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
  13288. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  13289. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  13290. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  13291. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  13292. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  13293. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  13294. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  13295. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  13296. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  13297. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  13298. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  13299. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  13300. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  13301. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  13302. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  13303. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  13304. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  13305. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  13306. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  13307. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  13308. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  13309. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  13310. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  13311. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  13312. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  13313. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  13314. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  13315. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  13316. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  13317. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  13318. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  13319. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  13320. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  13321. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  13322. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  13323. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  13324. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  13325. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  13326. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  13327. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  13328. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  13329. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  13330. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  13331. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  13332. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  13333. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  13334. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  13335. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  13336. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  13337. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  13338. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  13339. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  13340. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  13341. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  13342. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  13343. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  13344. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  13345. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  13346. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  13347. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  13348. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  13349. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  13350. .ctext = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
  13351. "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
  13352. "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
  13353. "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
  13354. "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
  13355. "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
  13356. "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
  13357. "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
  13358. "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
  13359. "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
  13360. "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
  13361. "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
  13362. "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
  13363. "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
  13364. "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
  13365. "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
  13366. "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
  13367. "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
  13368. "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
  13369. "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
  13370. "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
  13371. "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
  13372. "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
  13373. "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
  13374. "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
  13375. "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
  13376. "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
  13377. "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
  13378. "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
  13379. "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
  13380. "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
  13381. "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
  13382. "\x81\x92\x66\x67\x15\x1E\x39\x98"
  13383. "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
  13384. "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
  13385. "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
  13386. "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
  13387. "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
  13388. "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
  13389. "\x04\x05\x46\xD3\x90\x0F\x64\x64"
  13390. "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
  13391. "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
  13392. "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
  13393. "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
  13394. "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
  13395. "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
  13396. "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
  13397. "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
  13398. "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
  13399. "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
  13400. "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
  13401. "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
  13402. "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
  13403. "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
  13404. "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
  13405. "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
  13406. "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
  13407. "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
  13408. "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
  13409. "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
  13410. "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
  13411. "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
  13412. .len = 496,
  13413. },
  13414. };
  13415. static const struct cipher_testvec serpent_ctr_tv_template[] = {
  13416. { /* Generated with Crypto++ */
  13417. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  13418. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  13419. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  13420. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  13421. .klen = 32,
  13422. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13423. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  13424. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13425. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
  13426. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  13427. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  13428. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  13429. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  13430. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  13431. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  13432. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  13433. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  13434. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  13435. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  13436. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  13437. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  13438. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  13439. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  13440. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  13441. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  13442. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  13443. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  13444. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  13445. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  13446. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  13447. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  13448. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  13449. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  13450. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  13451. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  13452. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  13453. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  13454. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  13455. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  13456. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  13457. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  13458. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  13459. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  13460. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  13461. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  13462. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  13463. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  13464. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  13465. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  13466. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  13467. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  13468. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  13469. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  13470. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  13471. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  13472. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  13473. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  13474. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  13475. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  13476. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  13477. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  13478. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  13479. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  13480. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  13481. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  13482. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  13483. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  13484. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  13485. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  13486. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  13487. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  13488. .ctext = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
  13489. "\x37\x69\xE3\x3A\x22\x85\x48\x46"
  13490. "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
  13491. "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
  13492. "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
  13493. "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
  13494. "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
  13495. "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
  13496. "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
  13497. "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
  13498. "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
  13499. "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
  13500. "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
  13501. "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
  13502. "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
  13503. "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
  13504. "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
  13505. "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
  13506. "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
  13507. "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
  13508. "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
  13509. "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
  13510. "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
  13511. "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
  13512. "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
  13513. "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
  13514. "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
  13515. "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
  13516. "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
  13517. "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
  13518. "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
  13519. "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
  13520. "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
  13521. "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
  13522. "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
  13523. "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
  13524. "\x07\x97\x38\x4B\x5C\x56\x98\x67"
  13525. "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
  13526. "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
  13527. "\x18\x06\x15\x9D\x5A\x10\x13\x37"
  13528. "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
  13529. "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
  13530. "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
  13531. "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
  13532. "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
  13533. "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
  13534. "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
  13535. "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
  13536. "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
  13537. "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
  13538. "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
  13539. "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
  13540. "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
  13541. "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
  13542. "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
  13543. "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
  13544. "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
  13545. "\x90\x47\x40\x92\xE6\x69\xD1\x96"
  13546. "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
  13547. "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
  13548. "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
  13549. "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
  13550. .len = 496,
  13551. }, { /* Generated with Crypto++ */
  13552. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  13553. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  13554. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  13555. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  13556. .klen = 32,
  13557. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13558. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  13559. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13560. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
  13561. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  13562. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  13563. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  13564. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  13565. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  13566. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  13567. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  13568. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  13569. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  13570. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  13571. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  13572. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  13573. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  13574. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  13575. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  13576. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  13577. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  13578. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  13579. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  13580. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  13581. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  13582. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  13583. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  13584. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  13585. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  13586. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  13587. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  13588. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  13589. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  13590. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  13591. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  13592. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  13593. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  13594. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  13595. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  13596. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  13597. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  13598. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  13599. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  13600. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  13601. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  13602. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  13603. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  13604. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  13605. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  13606. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  13607. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  13608. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  13609. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  13610. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  13611. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  13612. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  13613. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  13614. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  13615. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  13616. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  13617. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  13618. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  13619. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  13620. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  13621. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  13622. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  13623. "\x2B\xC2\x59",
  13624. .ctext = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
  13625. "\x37\x69\xE3\x3A\x22\x85\x48\x46"
  13626. "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
  13627. "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
  13628. "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
  13629. "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
  13630. "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
  13631. "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
  13632. "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
  13633. "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
  13634. "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
  13635. "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
  13636. "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
  13637. "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
  13638. "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
  13639. "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
  13640. "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
  13641. "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
  13642. "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
  13643. "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
  13644. "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
  13645. "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
  13646. "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
  13647. "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
  13648. "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
  13649. "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
  13650. "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
  13651. "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
  13652. "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
  13653. "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
  13654. "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
  13655. "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
  13656. "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
  13657. "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
  13658. "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
  13659. "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
  13660. "\x07\x97\x38\x4B\x5C\x56\x98\x67"
  13661. "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
  13662. "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
  13663. "\x18\x06\x15\x9D\x5A\x10\x13\x37"
  13664. "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
  13665. "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
  13666. "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
  13667. "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
  13668. "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
  13669. "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
  13670. "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
  13671. "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
  13672. "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
  13673. "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
  13674. "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
  13675. "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
  13676. "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
  13677. "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
  13678. "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
  13679. "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
  13680. "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
  13681. "\x90\x47\x40\x92\xE6\x69\xD1\x96"
  13682. "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
  13683. "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
  13684. "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
  13685. "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
  13686. "\x38\xE2\xE5",
  13687. .len = 499,
  13688. }, { /* Generated with Crypto++ */
  13689. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  13690. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  13691. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  13692. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  13693. .klen = 32,
  13694. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  13695. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  13696. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13697. "\x00\x00\x00\x00\x00\x00\x00\x1C",
  13698. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  13699. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  13700. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  13701. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  13702. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  13703. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  13704. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  13705. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  13706. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  13707. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  13708. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  13709. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  13710. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  13711. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  13712. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  13713. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  13714. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  13715. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  13716. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  13717. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  13718. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  13719. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  13720. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  13721. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  13722. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  13723. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  13724. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  13725. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  13726. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  13727. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  13728. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  13729. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  13730. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  13731. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  13732. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  13733. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  13734. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  13735. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  13736. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  13737. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  13738. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  13739. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  13740. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  13741. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  13742. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  13743. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  13744. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  13745. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  13746. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  13747. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  13748. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  13749. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  13750. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  13751. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  13752. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  13753. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  13754. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  13755. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  13756. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  13757. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  13758. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  13759. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  13760. .ctext = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
  13761. "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
  13762. "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
  13763. "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
  13764. "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
  13765. "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
  13766. "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
  13767. "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
  13768. "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
  13769. "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
  13770. "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
  13771. "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
  13772. "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
  13773. "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
  13774. "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
  13775. "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
  13776. "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
  13777. "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
  13778. "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
  13779. "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
  13780. "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
  13781. "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
  13782. "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
  13783. "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
  13784. "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
  13785. "\x29\x5E\x01\x47\x13\x32\x78\xBE"
  13786. "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
  13787. "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
  13788. "\x38\x35\x11\x26\x4A\xB4\x06\x32"
  13789. "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
  13790. "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
  13791. "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
  13792. "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
  13793. "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
  13794. "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
  13795. "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
  13796. "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
  13797. "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
  13798. "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
  13799. "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
  13800. "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
  13801. "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
  13802. "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
  13803. "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
  13804. "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
  13805. "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
  13806. "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
  13807. "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
  13808. "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
  13809. "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
  13810. "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
  13811. "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
  13812. "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
  13813. "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
  13814. "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
  13815. "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
  13816. "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
  13817. "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
  13818. "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
  13819. "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
  13820. "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
  13821. "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
  13822. .len = 496,
  13823. },
  13824. };
  13825. static const struct cipher_testvec serpent_lrw_tv_template[] = {
  13826. /* Generated from AES-LRW test vectors */
  13827. {
  13828. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  13829. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  13830. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  13831. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  13832. .klen = 32,
  13833. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13834. "\x00\x00\x00\x00\x00\x00\x00\x01",
  13835. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  13836. "\x38\x39\x41\x42\x43\x44\x45\x46",
  13837. .ctext = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
  13838. "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
  13839. .len = 16,
  13840. }, {
  13841. .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
  13842. "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
  13843. "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
  13844. "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
  13845. .klen = 32,
  13846. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13847. "\x00\x00\x00\x00\x00\x00\x00\x02",
  13848. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  13849. "\x38\x39\x41\x42\x43\x44\x45\x46",
  13850. .ctext = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
  13851. "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
  13852. .len = 16,
  13853. }, {
  13854. .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
  13855. "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
  13856. "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
  13857. "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
  13858. .klen = 32,
  13859. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13860. "\x00\x00\x00\x02\x00\x00\x00\x00",
  13861. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  13862. "\x38\x39\x41\x42\x43\x44\x45\x46",
  13863. .ctext = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
  13864. "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
  13865. .len = 16,
  13866. }, {
  13867. .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
  13868. "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
  13869. "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
  13870. "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
  13871. "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
  13872. .klen = 40,
  13873. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13874. "\x00\x00\x00\x00\x00\x00\x00\x01",
  13875. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  13876. "\x38\x39\x41\x42\x43\x44\x45\x46",
  13877. .ctext = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
  13878. "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
  13879. .len = 16,
  13880. }, {
  13881. .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
  13882. "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
  13883. "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
  13884. "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
  13885. "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
  13886. .klen = 40,
  13887. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13888. "\x00\x00\x00\x02\x00\x00\x00\x00",
  13889. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  13890. "\x38\x39\x41\x42\x43\x44\x45\x46",
  13891. .ctext = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
  13892. "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
  13893. .len = 16,
  13894. }, {
  13895. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  13896. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  13897. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  13898. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  13899. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  13900. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  13901. .klen = 48,
  13902. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13903. "\x00\x00\x00\x00\x00\x00\x00\x01",
  13904. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  13905. "\x38\x39\x41\x42\x43\x44\x45\x46",
  13906. .ctext = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
  13907. "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
  13908. .len = 16,
  13909. }, {
  13910. .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
  13911. "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
  13912. "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
  13913. "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
  13914. "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
  13915. "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
  13916. .klen = 48,
  13917. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13918. "\x00\x00\x00\x02\x00\x00\x00\x00",
  13919. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  13920. "\x38\x39\x41\x42\x43\x44\x45\x46",
  13921. .ctext = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
  13922. "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
  13923. .len = 16,
  13924. }, {
  13925. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  13926. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  13927. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  13928. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  13929. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  13930. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  13931. .klen = 48,
  13932. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13933. "\x00\x00\x00\x00\x00\x00\x00\x01",
  13934. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  13935. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  13936. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  13937. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  13938. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  13939. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  13940. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  13941. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  13942. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  13943. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  13944. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  13945. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  13946. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  13947. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  13948. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  13949. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  13950. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  13951. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  13952. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  13953. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  13954. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  13955. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  13956. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  13957. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  13958. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  13959. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  13960. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  13961. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  13962. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  13963. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  13964. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  13965. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  13966. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  13967. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  13968. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  13969. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  13970. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  13971. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  13972. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  13973. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  13974. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  13975. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  13976. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  13977. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  13978. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  13979. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  13980. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  13981. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  13982. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  13983. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  13984. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  13985. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  13986. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  13987. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  13988. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  13989. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  13990. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  13991. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  13992. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  13993. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  13994. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  13995. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  13996. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  13997. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  13998. .ctext = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
  13999. "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
  14000. "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
  14001. "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
  14002. "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
  14003. "\xce\xab\xda\x33\x30\x20\x12\xfa"
  14004. "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
  14005. "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
  14006. "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
  14007. "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
  14008. "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
  14009. "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
  14010. "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
  14011. "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
  14012. "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
  14013. "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
  14014. "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
  14015. "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
  14016. "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
  14017. "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
  14018. "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
  14019. "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
  14020. "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
  14021. "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
  14022. "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
  14023. "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
  14024. "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
  14025. "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
  14026. "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
  14027. "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
  14028. "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
  14029. "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
  14030. "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
  14031. "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
  14032. "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
  14033. "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
  14034. "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
  14035. "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
  14036. "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
  14037. "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
  14038. "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
  14039. "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
  14040. "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
  14041. "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
  14042. "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
  14043. "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
  14044. "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
  14045. "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
  14046. "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
  14047. "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
  14048. "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
  14049. "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
  14050. "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
  14051. "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
  14052. "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
  14053. "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
  14054. "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
  14055. "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
  14056. "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
  14057. "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
  14058. "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
  14059. "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
  14060. "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
  14061. "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
  14062. .len = 512,
  14063. },
  14064. };
  14065. static const struct cipher_testvec serpent_xts_tv_template[] = {
  14066. /* Generated from AES-XTS test vectors */
  14067. {
  14068. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  14069. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14070. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14071. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14072. .klen = 32,
  14073. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  14074. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14075. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  14076. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14077. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14078. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14079. .ctext = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
  14080. "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
  14081. "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
  14082. "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
  14083. .len = 32,
  14084. }, {
  14085. .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
  14086. "\x11\x11\x11\x11\x11\x11\x11\x11"
  14087. "\x22\x22\x22\x22\x22\x22\x22\x22"
  14088. "\x22\x22\x22\x22\x22\x22\x22\x22",
  14089. .klen = 32,
  14090. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  14091. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14092. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  14093. "\x44\x44\x44\x44\x44\x44\x44\x44"
  14094. "\x44\x44\x44\x44\x44\x44\x44\x44"
  14095. "\x44\x44\x44\x44\x44\x44\x44\x44",
  14096. .ctext = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
  14097. "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
  14098. "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
  14099. "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
  14100. .len = 32,
  14101. }, {
  14102. .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
  14103. "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
  14104. "\x22\x22\x22\x22\x22\x22\x22\x22"
  14105. "\x22\x22\x22\x22\x22\x22\x22\x22",
  14106. .klen = 32,
  14107. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  14108. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14109. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  14110. "\x44\x44\x44\x44\x44\x44\x44\x44"
  14111. "\x44\x44\x44\x44\x44\x44\x44\x44"
  14112. "\x44\x44\x44\x44\x44\x44\x44\x44",
  14113. .ctext = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
  14114. "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
  14115. "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
  14116. "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
  14117. .len = 32,
  14118. }, {
  14119. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  14120. "\x23\x53\x60\x28\x74\x71\x35\x26"
  14121. "\x31\x41\x59\x26\x53\x58\x97\x93"
  14122. "\x23\x84\x62\x64\x33\x83\x27\x95",
  14123. .klen = 32,
  14124. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  14125. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14126. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14127. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14128. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14129. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  14130. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14131. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14132. "\x30\x31\x32\x33\x34\x35\x36\x37"
  14133. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  14134. "\x40\x41\x42\x43\x44\x45\x46\x47"
  14135. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  14136. "\x50\x51\x52\x53\x54\x55\x56\x57"
  14137. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  14138. "\x60\x61\x62\x63\x64\x65\x66\x67"
  14139. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  14140. "\x70\x71\x72\x73\x74\x75\x76\x77"
  14141. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  14142. "\x80\x81\x82\x83\x84\x85\x86\x87"
  14143. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  14144. "\x90\x91\x92\x93\x94\x95\x96\x97"
  14145. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  14146. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  14147. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  14148. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  14149. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  14150. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  14151. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  14152. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  14153. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  14154. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  14155. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  14156. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  14157. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  14158. "\x00\x01\x02\x03\x04\x05\x06\x07"
  14159. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14160. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14161. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  14162. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14163. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14164. "\x30\x31\x32\x33\x34\x35\x36\x37"
  14165. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  14166. "\x40\x41\x42\x43\x44\x45\x46\x47"
  14167. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  14168. "\x50\x51\x52\x53\x54\x55\x56\x57"
  14169. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  14170. "\x60\x61\x62\x63\x64\x65\x66\x67"
  14171. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  14172. "\x70\x71\x72\x73\x74\x75\x76\x77"
  14173. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  14174. "\x80\x81\x82\x83\x84\x85\x86\x87"
  14175. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  14176. "\x90\x91\x92\x93\x94\x95\x96\x97"
  14177. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  14178. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  14179. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  14180. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  14181. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  14182. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  14183. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  14184. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  14185. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  14186. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  14187. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  14188. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  14189. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  14190. .ctext = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
  14191. "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
  14192. "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
  14193. "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
  14194. "\x00\x5c\x75\x14\x06\xd6\x25\x82"
  14195. "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
  14196. "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
  14197. "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
  14198. "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
  14199. "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
  14200. "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
  14201. "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
  14202. "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
  14203. "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
  14204. "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
  14205. "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
  14206. "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
  14207. "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
  14208. "\x58\xfa\x43\x91\x16\x85\x40\xbb"
  14209. "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
  14210. "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
  14211. "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
  14212. "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
  14213. "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
  14214. "\x6e\x29\x60\xbd\x10\x14\x84\x82"
  14215. "\x83\x82\x0c\x63\x73\x92\x02\x7c"
  14216. "\x55\x37\x20\x80\x17\x51\xc8\xbc"
  14217. "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
  14218. "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
  14219. "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
  14220. "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
  14221. "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
  14222. "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
  14223. "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
  14224. "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
  14225. "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
  14226. "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
  14227. "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
  14228. "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
  14229. "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
  14230. "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
  14231. "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
  14232. "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
  14233. "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
  14234. "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
  14235. "\x43\x42\x35\xd0\xcf\xec\x77\x67"
  14236. "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
  14237. "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
  14238. "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
  14239. "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
  14240. "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
  14241. "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
  14242. "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
  14243. "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
  14244. "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
  14245. "\x03\x57\xe6\x98\x52\x2f\x61\x62"
  14246. "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
  14247. "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
  14248. "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
  14249. "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
  14250. "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
  14251. "\xef\x91\x64\x1d\x18\x07\x4e\x31"
  14252. "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
  14253. "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
  14254. .len = 512,
  14255. }, {
  14256. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  14257. "\x23\x53\x60\x28\x74\x71\x35\x26"
  14258. "\x62\x49\x77\x57\x24\x70\x93\x69"
  14259. "\x99\x59\x57\x49\x66\x96\x76\x27"
  14260. "\x31\x41\x59\x26\x53\x58\x97\x93"
  14261. "\x23\x84\x62\x64\x33\x83\x27\x95"
  14262. "\x02\x88\x41\x97\x16\x93\x99\x37"
  14263. "\x51\x05\x82\x09\x74\x94\x45\x92",
  14264. .klen = 64,
  14265. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  14266. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14267. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14268. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14269. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14270. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  14271. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14272. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14273. "\x30\x31\x32\x33\x34\x35\x36\x37"
  14274. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  14275. "\x40\x41\x42\x43\x44\x45\x46\x47"
  14276. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  14277. "\x50\x51\x52\x53\x54\x55\x56\x57"
  14278. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  14279. "\x60\x61\x62\x63\x64\x65\x66\x67"
  14280. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  14281. "\x70\x71\x72\x73\x74\x75\x76\x77"
  14282. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  14283. "\x80\x81\x82\x83\x84\x85\x86\x87"
  14284. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  14285. "\x90\x91\x92\x93\x94\x95\x96\x97"
  14286. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  14287. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  14288. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  14289. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  14290. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  14291. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  14292. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  14293. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  14294. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  14295. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  14296. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  14297. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  14298. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  14299. "\x00\x01\x02\x03\x04\x05\x06\x07"
  14300. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14301. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14302. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  14303. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14304. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14305. "\x30\x31\x32\x33\x34\x35\x36\x37"
  14306. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  14307. "\x40\x41\x42\x43\x44\x45\x46\x47"
  14308. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  14309. "\x50\x51\x52\x53\x54\x55\x56\x57"
  14310. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  14311. "\x60\x61\x62\x63\x64\x65\x66\x67"
  14312. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  14313. "\x70\x71\x72\x73\x74\x75\x76\x77"
  14314. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  14315. "\x80\x81\x82\x83\x84\x85\x86\x87"
  14316. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  14317. "\x90\x91\x92\x93\x94\x95\x96\x97"
  14318. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  14319. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  14320. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  14321. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  14322. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  14323. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  14324. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  14325. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  14326. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  14327. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  14328. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  14329. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  14330. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  14331. .ctext = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
  14332. "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
  14333. "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
  14334. "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
  14335. "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
  14336. "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
  14337. "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
  14338. "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
  14339. "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
  14340. "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
  14341. "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
  14342. "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
  14343. "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
  14344. "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
  14345. "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
  14346. "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
  14347. "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
  14348. "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
  14349. "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
  14350. "\xec\x9a\xda\x64\x96\xb5\x61\xff"
  14351. "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
  14352. "\x81\x85\x14\xa8\x59\xac\x8c\x94"
  14353. "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
  14354. "\x82\xc6\x4d\xca\x86\xea\x53\x28"
  14355. "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
  14356. "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
  14357. "\x05\xca\x81\x7b\xda\xa2\xde\x63"
  14358. "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
  14359. "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
  14360. "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
  14361. "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
  14362. "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
  14363. "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
  14364. "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
  14365. "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
  14366. "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
  14367. "\xfd\x43\x7d\xda\x42\x51\x87\x43"
  14368. "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
  14369. "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
  14370. "\x27\x5f\x11\xac\x71\xc7\x48\x46"
  14371. "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
  14372. "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
  14373. "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
  14374. "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
  14375. "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
  14376. "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
  14377. "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
  14378. "\x50\x88\x97\x40\x69\xb1\x37\xf5"
  14379. "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
  14380. "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
  14381. "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
  14382. "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
  14383. "\xc1\x16\x73\x50\x77\xba\xa6\x65"
  14384. "\x20\x2d\xb0\x02\x27\x89\xda\x99"
  14385. "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
  14386. "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
  14387. "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
  14388. "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
  14389. "\xa3\x0e\x33\x74\x40\x18\x39\x72"
  14390. "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
  14391. "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
  14392. "\x30\x05\xc8\x92\x98\x80\xff\x7a"
  14393. "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
  14394. "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
  14395. .len = 512,
  14396. },
  14397. };
  14398. /*
  14399. * SM4 test vectors taken from the "The SM4 Blockcipher Algorithm And Its
  14400. * Modes Of Operations" draft RFC
  14401. * https://datatracker.ietf.org/doc/draft-ribose-cfrg-sm4
  14402. */
  14403. static const struct cipher_testvec sm4_tv_template[] = {
  14404. { /* GB/T 32907-2016 Example 1. */
  14405. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  14406. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  14407. .klen = 16,
  14408. .ptext = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  14409. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  14410. .ctext = "\x68\x1E\xDF\x34\xD2\x06\x96\x5E"
  14411. "\x86\xB3\xE9\x4F\x53\x6E\x42\x46",
  14412. .len = 16,
  14413. }, { /* Last 10 iterations of GB/T 32907-2016 Example 2. */
  14414. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  14415. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  14416. .klen = 16,
  14417. .ptext = "\x99\x4a\xc3\xe7\xc3\x57\x89\x6a"
  14418. "\x81\xfc\xa8\xe\x38\x3e\xef\x80"
  14419. "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
  14420. "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
  14421. "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
  14422. "\xad\x57\x15\xab\x31\x5d\xc\xef"
  14423. "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
  14424. "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
  14425. "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
  14426. "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
  14427. "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
  14428. "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
  14429. "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
  14430. "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
  14431. "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
  14432. "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
  14433. "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
  14434. "\xed\xce\x0\x19\xe\x16\x2\x6e"
  14435. "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
  14436. "\x31\x51\xec\x47\xc3\x51\x83\xc1",
  14437. .ctext = "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
  14438. "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
  14439. "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
  14440. "\xad\x57\x15\xab\x31\x5d\xc\xef"
  14441. "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
  14442. "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
  14443. "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
  14444. "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
  14445. "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
  14446. "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
  14447. "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
  14448. "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
  14449. "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
  14450. "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
  14451. "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
  14452. "\xed\xce\x0\x19\xe\x16\x2\x6e"
  14453. "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
  14454. "\x31\x51\xec\x47\xc3\x51\x83\xc1"
  14455. "\x59\x52\x98\xc7\xc6\xfd\x27\x1f"
  14456. "\x4\x2\xf8\x4\xc3\x3d\x3f\x66",
  14457. .len = 160
  14458. }, { /* A.2.1.1 SM4-ECB Example 1 */
  14459. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  14460. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  14461. .klen = 16,
  14462. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  14463. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  14464. "\xee\xee\xee\xee\xff\xff\xff\xff"
  14465. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  14466. .ctext = "\x5e\xc8\x14\x3d\xe5\x09\xcf\xf7"
  14467. "\xb5\x17\x9f\x8f\x47\x4b\x86\x19"
  14468. "\x2f\x1d\x30\x5a\x7f\xb1\x7d\xf9"
  14469. "\x85\xf8\x1c\x84\x82\x19\x23\x04",
  14470. .len = 32,
  14471. }, { /* A.2.1.2 SM4-ECB Example 2 */
  14472. .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
  14473. "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
  14474. .klen = 16,
  14475. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  14476. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  14477. "\xee\xee\xee\xee\xff\xff\xff\xff"
  14478. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  14479. .ctext = "\xC5\x87\x68\x97\xE4\xA5\x9B\xBB"
  14480. "\xA7\x2A\x10\xC8\x38\x72\x24\x5B"
  14481. "\x12\xDD\x90\xBC\x2D\x20\x06\x92"
  14482. "\xB5\x29\xA4\x15\x5A\xC9\xE6\x00",
  14483. .len = 32,
  14484. }
  14485. };
  14486. static const struct cipher_testvec sm4_cbc_tv_template[] = {
  14487. { /* A.2.2.1 SM4-CBC Example 1 */
  14488. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  14489. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  14490. .klen = 16,
  14491. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  14492. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  14493. "\xee\xee\xee\xee\xff\xff\xff\xff"
  14494. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  14495. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14496. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
  14497. .iv_out = "\x4C\xB7\x01\x69\x51\x90\x92\x26"
  14498. "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
  14499. .ctext = "\x78\xEB\xB1\x1C\xC4\x0B\x0A\x48"
  14500. "\x31\x2A\xAE\xB2\x04\x02\x44\xCB"
  14501. "\x4C\xB7\x01\x69\x51\x90\x92\x26"
  14502. "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
  14503. .len = 32,
  14504. }, { /* A.2.2.2 SM4-CBC Example 2 */
  14505. .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
  14506. "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
  14507. .klen = 16,
  14508. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  14509. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  14510. "\xee\xee\xee\xee\xff\xff\xff\xff"
  14511. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  14512. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14513. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
  14514. .iv_out = "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
  14515. "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
  14516. .ctext = "\x0d\x3a\x6d\xdc\x2d\x21\xc6\x98"
  14517. "\x85\x72\x15\x58\x7b\x7b\xb5\x9a"
  14518. "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
  14519. "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
  14520. .len = 32,
  14521. }
  14522. };
  14523. static const struct cipher_testvec sm4_ctr_tv_template[] = {
  14524. { /* A.2.5.1 SM4-CTR Example 1 */
  14525. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  14526. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  14527. .klen = 16,
  14528. .ptext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  14529. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
  14530. "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
  14531. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  14532. "\xee\xee\xee\xee\xee\xee\xee\xee"
  14533. "\xff\xff\xff\xff\xff\xff\xff\xff"
  14534. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  14535. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
  14536. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14537. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
  14538. .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14539. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
  14540. .ctext = "\xac\x32\x36\xcb\x97\x0c\xc2\x07"
  14541. "\x91\x36\x4c\x39\x5a\x13\x42\xd1"
  14542. "\xa3\xcb\xc1\x87\x8c\x6f\x30\xcd"
  14543. "\x07\x4c\xce\x38\x5c\xdd\x70\xc7"
  14544. "\xf2\x34\xbc\x0e\x24\xc1\x19\x80"
  14545. "\xfd\x12\x86\x31\x0c\xe3\x7b\x92"
  14546. "\x6e\x02\xfc\xd0\xfa\xa0\xba\xf3"
  14547. "\x8b\x29\x33\x85\x1d\x82\x45\x14",
  14548. .len = 64,
  14549. }, { /* A.2.5.2 SM4-CTR Example 2 */
  14550. .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
  14551. "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
  14552. .klen = 16,
  14553. .ptext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  14554. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
  14555. "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
  14556. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  14557. "\xee\xee\xee\xee\xee\xee\xee\xee"
  14558. "\xff\xff\xff\xff\xff\xff\xff\xff"
  14559. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  14560. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
  14561. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14562. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
  14563. .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14564. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
  14565. .ctext = "\x5d\xcc\xcd\x25\xb9\x5a\xb0\x74"
  14566. "\x17\xa0\x85\x12\xee\x16\x0e\x2f"
  14567. "\x8f\x66\x15\x21\xcb\xba\xb4\x4c"
  14568. "\xc8\x71\x38\x44\x5b\xc2\x9e\x5c"
  14569. "\x0a\xe0\x29\x72\x05\xd6\x27\x04"
  14570. "\x17\x3b\x21\x23\x9b\x88\x7f\x6c"
  14571. "\x8c\xb5\xb8\x00\x91\x7a\x24\x88"
  14572. "\x28\x4b\xde\x9e\x16\xea\x29\x06",
  14573. .len = 64,
  14574. }
  14575. };
  14576. static const struct cipher_testvec sm4_ctr_rfc3686_tv_template[] = {
  14577. {
  14578. .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
  14579. "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
  14580. "\x00\x00\x00\x30",
  14581. .klen = 20,
  14582. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  14583. .ptext = "Single block msg",
  14584. .ctext = "\x20\x9b\x77\x31\xd3\x65\xdb\xab"
  14585. "\x9e\x48\x74\x7e\xbd\x13\x83\xeb",
  14586. .len = 16,
  14587. }, {
  14588. .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
  14589. "\x43\xd6\xce\x1f\x32\x53\x91\x63"
  14590. "\x00\x6c\xb6\xdb",
  14591. .klen = 20,
  14592. .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
  14593. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14594. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14595. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14596. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  14597. .ctext = "\x33\xe0\x28\x01\x92\xed\xc9\x1e"
  14598. "\x97\x35\xd9\x4a\xec\xd4\xbc\x23"
  14599. "\x4f\x35\x9f\x1c\x55\x1f\xe0\x27"
  14600. "\xe0\xdf\xc5\x43\xbc\xb0\x23\x94",
  14601. .len = 32,
  14602. }
  14603. };
  14604. static const struct cipher_testvec sm4_ofb_tv_template[] = {
  14605. { /* From: draft-ribose-cfrg-sm4-02, paragraph 12.2.3 */
  14606. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14607. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  14608. .klen = 16,
  14609. .iv = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14610. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  14611. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14612. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  14613. "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14614. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  14615. .ctext = "\x69\x3d\x9a\x53\x5b\xad\x5b\xb1"
  14616. "\x78\x6f\x53\xd7\x25\x3a\x70\x56"
  14617. "\xf2\x07\x5d\x28\xb5\x23\x5f\x58"
  14618. "\xd5\x00\x27\xe4\x17\x7d\x2b\xce",
  14619. .len = 32,
  14620. }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.3, Example 1 */
  14621. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14622. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  14623. .klen = 16,
  14624. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14625. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14626. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  14627. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  14628. "\xee\xee\xee\xee\xff\xff\xff\xff"
  14629. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  14630. .ctext = "\xac\x32\x36\xcb\x86\x1d\xd3\x16"
  14631. "\xe6\x41\x3b\x4e\x3c\x75\x24\xb7"
  14632. "\x1d\x01\xac\xa2\x48\x7c\xa5\x82"
  14633. "\xcb\xf5\x46\x3e\x66\x98\x53\x9b",
  14634. .len = 32,
  14635. }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.3, Example 2 */
  14636. .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  14637. "\x01\x23\x45\x67\x89\xab\xcd\xef",
  14638. .klen = 16,
  14639. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14640. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14641. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  14642. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  14643. "\xee\xee\xee\xee\xff\xff\xff\xff"
  14644. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  14645. .ctext = "\x5d\xcc\xcd\x25\xa8\x4b\xa1\x65"
  14646. "\x60\xd7\xf2\x65\x88\x70\x68\x49"
  14647. "\x33\xfa\x16\xbd\x5c\xd9\xc8\x56"
  14648. "\xca\xca\xa1\xe1\x01\x89\x7a\x97",
  14649. .len = 32,
  14650. }
  14651. };
  14652. static const struct cipher_testvec sm4_cfb_tv_template[] = {
  14653. { /* From: draft-ribose-cfrg-sm4-02, paragraph 12.2.4 */
  14654. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14655. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  14656. .klen = 16,
  14657. .iv = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14658. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  14659. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14660. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  14661. "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14662. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  14663. .ctext = "\x69\x3d\x9a\x53\x5b\xad\x5b\xb1"
  14664. "\x78\x6f\x53\xd7\x25\x3a\x70\x56"
  14665. "\x9e\xd2\x58\xa8\x5a\x04\x67\xcc"
  14666. "\x92\xaa\xb3\x93\xdd\x97\x89\x95",
  14667. .len = 32,
  14668. }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.4, Example 1 */
  14669. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14670. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  14671. .klen = 16,
  14672. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14673. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14674. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  14675. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  14676. "\xee\xee\xee\xee\xff\xff\xff\xff"
  14677. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  14678. .ctext = "\xac\x32\x36\xcb\x86\x1d\xd3\x16"
  14679. "\xe6\x41\x3b\x4e\x3c\x75\x24\xb7"
  14680. "\x69\xd4\xc5\x4e\xd4\x33\xb9\xa0"
  14681. "\x34\x60\x09\xbe\xb3\x7b\x2b\x3f",
  14682. .len = 32,
  14683. }, { /* From: draft-ribose-cfrg-sm4-09, appendix A.2.4, Example 2 */
  14684. .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  14685. "\x01\x23\x45\x67\x89\xab\xcd\xef",
  14686. .klen = 16,
  14687. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14688. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  14689. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  14690. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  14691. "\xee\xee\xee\xee\xff\xff\xff\xff"
  14692. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  14693. .ctext = "\x5d\xcc\xcd\x25\xa8\x4b\xa1\x65"
  14694. "\x60\xd7\xf2\x65\x88\x70\x68\x49"
  14695. "\x0d\x9b\x86\xff\x20\xc3\xbf\xe1"
  14696. "\x15\xff\xa0\x2c\xa6\x19\x2c\xc5",
  14697. .len = 32,
  14698. }
  14699. };
  14700. static const struct aead_testvec sm4_gcm_tv_template[] = {
  14701. { /* From https://datatracker.ietf.org/doc/html/rfc8998#appendix-A.1 */
  14702. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  14703. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  14704. .klen = 16,
  14705. .iv = "\x00\x00\x12\x34\x56\x78\x00\x00"
  14706. "\x00\x00\xAB\xCD",
  14707. .ptext = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
  14708. "\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"
  14709. "\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC"
  14710. "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
  14711. "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
  14712. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  14713. "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
  14714. "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
  14715. .plen = 64,
  14716. .assoc = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
  14717. "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
  14718. "\xAB\xAD\xDA\xD2",
  14719. .alen = 20,
  14720. .ctext = "\x17\xF3\x99\xF0\x8C\x67\xD5\xEE"
  14721. "\x19\xD0\xDC\x99\x69\xC4\xBB\x7D"
  14722. "\x5F\xD4\x6F\xD3\x75\x64\x89\x06"
  14723. "\x91\x57\xB2\x82\xBB\x20\x07\x35"
  14724. "\xD8\x27\x10\xCA\x5C\x22\xF0\xCC"
  14725. "\xFA\x7C\xBF\x93\xD4\x96\xAC\x15"
  14726. "\xA5\x68\x34\xCB\xCF\x98\xC3\x97"
  14727. "\xB4\x02\x4A\x26\x91\x23\x3B\x8D"
  14728. "\x83\xDE\x35\x41\xE4\xC2\xB5\x81"
  14729. "\x77\xE0\x65\xA9\xBF\x7B\x62\xEC",
  14730. .clen = 80,
  14731. }
  14732. };
  14733. static const struct aead_testvec sm4_ccm_tv_template[] = {
  14734. { /* From https://datatracker.ietf.org/doc/html/rfc8998#appendix-A.2 */
  14735. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  14736. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  14737. .klen = 16,
  14738. .iv = "\x02\x00\x00\x12\x34\x56\x78\x00"
  14739. "\x00\x00\x00\xAB\xCD\x00\x00\x00",
  14740. .ptext = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
  14741. "\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"
  14742. "\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC"
  14743. "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
  14744. "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
  14745. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  14746. "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
  14747. "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
  14748. .plen = 64,
  14749. .assoc = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
  14750. "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
  14751. "\xAB\xAD\xDA\xD2",
  14752. .alen = 20,
  14753. .ctext = "\x48\xAF\x93\x50\x1F\xA6\x2A\xDB"
  14754. "\xCD\x41\x4C\xCE\x60\x34\xD8\x95"
  14755. "\xDD\xA1\xBF\x8F\x13\x2F\x04\x20"
  14756. "\x98\x66\x15\x72\xE7\x48\x30\x94"
  14757. "\xFD\x12\xE5\x18\xCE\x06\x2C\x98"
  14758. "\xAC\xEE\x28\xD9\x5D\xF4\x41\x6B"
  14759. "\xED\x31\xA2\xF0\x44\x76\xC1\x8B"
  14760. "\xB4\x0C\x84\xA7\x4B\x97\xDC\x5B"
  14761. "\x16\x84\x2D\x4F\xA1\x86\xF5\x6A"
  14762. "\xB3\x32\x56\x97\x1F\xA1\x10\xF4",
  14763. .clen = 80,
  14764. }
  14765. };
  14766. static const struct hash_testvec sm4_cbcmac_tv_template[] = {
  14767. {
  14768. .key = "\xff\xee\xdd\xcc\xbb\xaa\x99\x88"
  14769. "\x77\x66\x55\x44\x33\x22\x11\x00",
  14770. .plaintext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14771. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  14772. .digest = "\x97\xb4\x75\x8f\x84\x92\x3d\x3f"
  14773. "\x86\x81\x0e\x0e\xea\x14\x6d\x73",
  14774. .psize = 16,
  14775. .ksize = 16,
  14776. }, {
  14777. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14778. "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
  14779. .plaintext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  14780. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
  14781. "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
  14782. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  14783. "\xee",
  14784. .digest = "\xc7\xdb\x17\x71\xa1\x5c\x0d\x22"
  14785. "\xa3\x39\x3a\x31\x88\x91\x49\xa1",
  14786. .psize = 33,
  14787. .ksize = 16,
  14788. }, {
  14789. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14790. "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
  14791. .plaintext = "\xfb\xd1\xbe\x92\x7e\x50\x3f\x16"
  14792. "\xf9\xdd\xbe\x91\x73\x53\x37\x1a"
  14793. "\xfe\xdd\xba\x97\x7e\x53\x3c\x1c"
  14794. "\xfe\xd7\xbf\x9c\x75\x5f\x3e\x11"
  14795. "\xf0\xd8\xbc\x96\x73\x5c\x34\x11"
  14796. "\xf5\xdb\xb1\x99\x7a\x5a\x32\x1f"
  14797. "\xf6\xdf\xb4\x95\x7f\x5f\x3b\x17"
  14798. "\xfd\xdb\xb1\x9b\x76\x5c\x37",
  14799. .digest = "\x9b\x07\x88\x7f\xd5\x95\x23\x12"
  14800. "\x64\x0a\x66\x7f\x4e\x25\xca\xd0",
  14801. .psize = 63,
  14802. .ksize = 16,
  14803. }
  14804. };
  14805. static const struct hash_testvec sm4_cmac128_tv_template[] = {
  14806. {
  14807. .key = "\xff\xee\xdd\xcc\xbb\xaa\x99\x88"
  14808. "\x77\x66\x55\x44\x33\x22\x11\x00",
  14809. .plaintext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14810. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  14811. .digest = "\x00\xd4\x63\xb4\x9a\xf3\x52\xe2"
  14812. "\x74\xa9\x00\x55\x13\x54\x2a\xd1",
  14813. .psize = 16,
  14814. .ksize = 16,
  14815. }, {
  14816. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14817. "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
  14818. .plaintext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  14819. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
  14820. "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
  14821. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  14822. "\xee",
  14823. .digest = "\x8a\x8a\xe9\xc0\xc8\x97\x0e\x85"
  14824. "\x21\x57\x02\x10\x1a\xbf\x9c\xc6",
  14825. .psize = 33,
  14826. .ksize = 16,
  14827. }, {
  14828. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  14829. "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
  14830. .plaintext = "\xfb\xd1\xbe\x92\x7e\x50\x3f\x16"
  14831. "\xf9\xdd\xbe\x91\x73\x53\x37\x1a"
  14832. "\xfe\xdd\xba\x97\x7e\x53\x3c\x1c"
  14833. "\xfe\xd7\xbf\x9c\x75\x5f\x3e\x11"
  14834. "\xf0\xd8\xbc\x96\x73\x5c\x34\x11"
  14835. "\xf5\xdb\xb1\x99\x7a\x5a\x32\x1f"
  14836. "\xf6\xdf\xb4\x95\x7f\x5f\x3b\x17"
  14837. "\xfd\xdb\xb1\x9b\x76\x5c\x37",
  14838. .digest = "\x5f\x14\xc9\xa9\x20\xb2\xb4\xf0"
  14839. "\x76\xe0\xd8\xd6\xdc\x4f\xe1\xbc",
  14840. .psize = 63,
  14841. .ksize = 16,
  14842. }
  14843. };
  14844. /* Cast6 test vectors from RFC 2612 */
  14845. static const struct cipher_testvec cast6_tv_template[] = {
  14846. {
  14847. .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
  14848. "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
  14849. .klen = 16,
  14850. .ptext = zeroed_string,
  14851. .ctext = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
  14852. "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
  14853. .len = 16,
  14854. }, {
  14855. .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
  14856. "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
  14857. "\xba\xc7\x7a\x77\x17\x94\x28\x63",
  14858. .klen = 24,
  14859. .ptext = zeroed_string,
  14860. .ctext = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
  14861. "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
  14862. .len = 16,
  14863. }, {
  14864. .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
  14865. "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
  14866. "\x8d\x7c\x47\xce\x26\x49\x08\x46"
  14867. "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
  14868. .klen = 32,
  14869. .ptext = zeroed_string,
  14870. .ctext = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
  14871. "\xc9\x87\x01\x36\x55\x33\x17\xfa",
  14872. .len = 16,
  14873. }, { /* Generated from TF test vectors */
  14874. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  14875. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  14876. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  14877. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  14878. .klen = 32,
  14879. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  14880. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  14881. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  14882. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  14883. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  14884. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  14885. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  14886. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  14887. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  14888. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  14889. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  14890. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  14891. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  14892. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  14893. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  14894. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  14895. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  14896. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  14897. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  14898. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  14899. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  14900. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  14901. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  14902. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  14903. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  14904. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  14905. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  14906. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  14907. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  14908. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  14909. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  14910. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  14911. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  14912. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  14913. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  14914. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  14915. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  14916. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  14917. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  14918. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  14919. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  14920. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  14921. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  14922. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  14923. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  14924. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  14925. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  14926. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  14927. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  14928. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  14929. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  14930. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  14931. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  14932. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  14933. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  14934. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  14935. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  14936. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  14937. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  14938. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  14939. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  14940. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  14941. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  14942. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  14943. .ctext = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
  14944. "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
  14945. "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
  14946. "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
  14947. "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
  14948. "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
  14949. "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
  14950. "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
  14951. "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
  14952. "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
  14953. "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
  14954. "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
  14955. "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
  14956. "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
  14957. "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
  14958. "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
  14959. "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
  14960. "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
  14961. "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
  14962. "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
  14963. "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
  14964. "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
  14965. "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
  14966. "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
  14967. "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
  14968. "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
  14969. "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
  14970. "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
  14971. "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
  14972. "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
  14973. "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
  14974. "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
  14975. "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
  14976. "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
  14977. "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
  14978. "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
  14979. "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
  14980. "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
  14981. "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
  14982. "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
  14983. "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
  14984. "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
  14985. "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
  14986. "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
  14987. "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
  14988. "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
  14989. "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
  14990. "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
  14991. "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
  14992. "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
  14993. "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
  14994. "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
  14995. "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
  14996. "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
  14997. "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
  14998. "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
  14999. "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
  15000. "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
  15001. "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
  15002. "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
  15003. "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
  15004. "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
  15005. .len = 496,
  15006. },
  15007. };
  15008. static const struct cipher_testvec cast6_cbc_tv_template[] = {
  15009. { /* Generated from TF test vectors */
  15010. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  15011. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  15012. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  15013. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  15014. .klen = 32,
  15015. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  15016. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  15017. .iv_out = "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
  15018. "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
  15019. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  15020. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  15021. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  15022. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  15023. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  15024. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  15025. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  15026. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  15027. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  15028. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  15029. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  15030. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  15031. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  15032. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  15033. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  15034. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  15035. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  15036. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  15037. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  15038. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  15039. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  15040. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  15041. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  15042. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  15043. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  15044. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  15045. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  15046. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  15047. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  15048. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  15049. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  15050. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  15051. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  15052. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  15053. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  15054. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  15055. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  15056. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  15057. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  15058. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  15059. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  15060. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  15061. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  15062. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  15063. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  15064. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  15065. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  15066. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  15067. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  15068. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  15069. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  15070. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  15071. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  15072. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  15073. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  15074. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  15075. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  15076. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  15077. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  15078. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  15079. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  15080. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  15081. .ctext = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
  15082. "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
  15083. "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
  15084. "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
  15085. "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
  15086. "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
  15087. "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
  15088. "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
  15089. "\x57\x95\xE1\x21\x26\x10\x9A\x21"
  15090. "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
  15091. "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
  15092. "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
  15093. "\x23\x16\x47\x72\x81\x13\x3A\x72"
  15094. "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
  15095. "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
  15096. "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
  15097. "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
  15098. "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
  15099. "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
  15100. "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
  15101. "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
  15102. "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
  15103. "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
  15104. "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
  15105. "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
  15106. "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
  15107. "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
  15108. "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
  15109. "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
  15110. "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
  15111. "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
  15112. "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
  15113. "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
  15114. "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
  15115. "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
  15116. "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
  15117. "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
  15118. "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
  15119. "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
  15120. "\x73\x3F\x12\x91\x47\x54\xBA\x39"
  15121. "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
  15122. "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
  15123. "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
  15124. "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
  15125. "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
  15126. "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
  15127. "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
  15128. "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
  15129. "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
  15130. "\x80\x21\x83\x58\x3C\x76\xFD\x28"
  15131. "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
  15132. "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
  15133. "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
  15134. "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
  15135. "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
  15136. "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
  15137. "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
  15138. "\x56\x4D\x82\x62\x37\xA3\x48\x01"
  15139. "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
  15140. "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
  15141. "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
  15142. "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
  15143. .len = 496,
  15144. },
  15145. };
  15146. static const struct cipher_testvec cast6_ctr_tv_template[] = {
  15147. { /* Generated from TF test vectors */
  15148. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  15149. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  15150. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  15151. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  15152. .klen = 32,
  15153. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  15154. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  15155. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  15156. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x66",
  15157. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  15158. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  15159. "\x3A",
  15160. .ctext = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
  15161. "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
  15162. "\x57",
  15163. .len = 17,
  15164. }, { /* Generated from TF test vectors */
  15165. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  15166. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  15167. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  15168. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  15169. .klen = 32,
  15170. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  15171. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  15172. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  15173. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
  15174. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  15175. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  15176. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  15177. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  15178. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  15179. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  15180. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  15181. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  15182. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  15183. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  15184. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  15185. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  15186. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  15187. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  15188. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  15189. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  15190. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  15191. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  15192. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  15193. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  15194. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  15195. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  15196. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  15197. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  15198. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  15199. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  15200. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  15201. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  15202. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  15203. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  15204. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  15205. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  15206. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  15207. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  15208. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  15209. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  15210. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  15211. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  15212. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  15213. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  15214. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  15215. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  15216. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  15217. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  15218. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  15219. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  15220. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  15221. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  15222. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  15223. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  15224. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  15225. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  15226. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  15227. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  15228. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  15229. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  15230. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  15231. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  15232. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  15233. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  15234. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  15235. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  15236. .ctext = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
  15237. "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
  15238. "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
  15239. "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
  15240. "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
  15241. "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
  15242. "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
  15243. "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
  15244. "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
  15245. "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
  15246. "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
  15247. "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
  15248. "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
  15249. "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
  15250. "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
  15251. "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
  15252. "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
  15253. "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
  15254. "\x49\x61\x22\x52\x64\x8C\x46\x41"
  15255. "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
  15256. "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
  15257. "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
  15258. "\x00\x14\x15\x59\xC1\x30\x64\xAF"
  15259. "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
  15260. "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
  15261. "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
  15262. "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
  15263. "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
  15264. "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
  15265. "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
  15266. "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
  15267. "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
  15268. "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
  15269. "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
  15270. "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
  15271. "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
  15272. "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
  15273. "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
  15274. "\x60\x40\x38\x90\x20\x46\xC7\xB3"
  15275. "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
  15276. "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
  15277. "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
  15278. "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
  15279. "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
  15280. "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
  15281. "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
  15282. "\x73\xFC\x91\xAB\x79\x41\x23\x14"
  15283. "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
  15284. "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
  15285. "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
  15286. "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
  15287. "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
  15288. "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
  15289. "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
  15290. "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
  15291. "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
  15292. "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
  15293. "\x19\x35\x88\x22\x45\x59\x0E\x8F"
  15294. "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
  15295. "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
  15296. "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
  15297. "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
  15298. .len = 496,
  15299. },
  15300. };
  15301. static const struct cipher_testvec cast6_lrw_tv_template[] = {
  15302. { /* Generated from TF test vectors */
  15303. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  15304. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  15305. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  15306. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  15307. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  15308. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  15309. .klen = 48,
  15310. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  15311. "\x00\x00\x00\x00\x00\x00\x00\x01",
  15312. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  15313. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  15314. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  15315. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  15316. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  15317. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  15318. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  15319. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  15320. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  15321. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  15322. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  15323. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  15324. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  15325. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  15326. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  15327. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  15328. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  15329. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  15330. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  15331. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  15332. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  15333. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  15334. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  15335. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  15336. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  15337. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  15338. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  15339. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  15340. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  15341. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  15342. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  15343. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  15344. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  15345. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  15346. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  15347. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  15348. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  15349. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  15350. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  15351. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  15352. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  15353. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  15354. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  15355. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  15356. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  15357. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  15358. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  15359. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  15360. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  15361. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  15362. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  15363. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  15364. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  15365. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  15366. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  15367. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  15368. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  15369. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  15370. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  15371. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  15372. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  15373. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  15374. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  15375. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  15376. .ctext = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
  15377. "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
  15378. "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
  15379. "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
  15380. "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
  15381. "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
  15382. "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
  15383. "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
  15384. "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
  15385. "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
  15386. "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
  15387. "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
  15388. "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
  15389. "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
  15390. "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
  15391. "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
  15392. "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
  15393. "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
  15394. "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
  15395. "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
  15396. "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
  15397. "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
  15398. "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
  15399. "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
  15400. "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
  15401. "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
  15402. "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
  15403. "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
  15404. "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
  15405. "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
  15406. "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
  15407. "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
  15408. "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
  15409. "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
  15410. "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
  15411. "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
  15412. "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
  15413. "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
  15414. "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
  15415. "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
  15416. "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
  15417. "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
  15418. "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
  15419. "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
  15420. "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
  15421. "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
  15422. "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
  15423. "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
  15424. "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
  15425. "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
  15426. "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
  15427. "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
  15428. "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
  15429. "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
  15430. "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
  15431. "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
  15432. "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
  15433. "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
  15434. "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
  15435. "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
  15436. "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
  15437. "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
  15438. "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
  15439. "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
  15440. .len = 512,
  15441. },
  15442. };
  15443. static const struct cipher_testvec cast6_xts_tv_template[] = {
  15444. { /* Generated from TF test vectors */
  15445. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  15446. "\x23\x53\x60\x28\x74\x71\x35\x26"
  15447. "\x62\x49\x77\x57\x24\x70\x93\x69"
  15448. "\x99\x59\x57\x49\x66\x96\x76\x27"
  15449. "\x31\x41\x59\x26\x53\x58\x97\x93"
  15450. "\x23\x84\x62\x64\x33\x83\x27\x95"
  15451. "\x02\x88\x41\x97\x16\x93\x99\x37"
  15452. "\x51\x05\x82\x09\x74\x94\x45\x92",
  15453. .klen = 64,
  15454. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  15455. "\x00\x00\x00\x00\x00\x00\x00\x00",
  15456. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15457. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  15458. "\x10\x11\x12\x13\x14\x15\x16\x17"
  15459. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  15460. "\x20\x21\x22\x23\x24\x25\x26\x27"
  15461. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  15462. "\x30\x31\x32\x33\x34\x35\x36\x37"
  15463. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  15464. "\x40\x41\x42\x43\x44\x45\x46\x47"
  15465. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  15466. "\x50\x51\x52\x53\x54\x55\x56\x57"
  15467. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  15468. "\x60\x61\x62\x63\x64\x65\x66\x67"
  15469. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  15470. "\x70\x71\x72\x73\x74\x75\x76\x77"
  15471. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  15472. "\x80\x81\x82\x83\x84\x85\x86\x87"
  15473. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  15474. "\x90\x91\x92\x93\x94\x95\x96\x97"
  15475. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  15476. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  15477. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  15478. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  15479. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  15480. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  15481. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  15482. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  15483. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  15484. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  15485. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  15486. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  15487. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  15488. "\x00\x01\x02\x03\x04\x05\x06\x07"
  15489. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  15490. "\x10\x11\x12\x13\x14\x15\x16\x17"
  15491. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  15492. "\x20\x21\x22\x23\x24\x25\x26\x27"
  15493. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  15494. "\x30\x31\x32\x33\x34\x35\x36\x37"
  15495. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  15496. "\x40\x41\x42\x43\x44\x45\x46\x47"
  15497. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  15498. "\x50\x51\x52\x53\x54\x55\x56\x57"
  15499. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  15500. "\x60\x61\x62\x63\x64\x65\x66\x67"
  15501. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  15502. "\x70\x71\x72\x73\x74\x75\x76\x77"
  15503. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  15504. "\x80\x81\x82\x83\x84\x85\x86\x87"
  15505. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  15506. "\x90\x91\x92\x93\x94\x95\x96\x97"
  15507. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  15508. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  15509. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  15510. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  15511. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  15512. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  15513. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  15514. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  15515. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  15516. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  15517. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  15518. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  15519. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  15520. .ctext = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
  15521. "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
  15522. "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
  15523. "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
  15524. "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
  15525. "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
  15526. "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
  15527. "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
  15528. "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
  15529. "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
  15530. "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
  15531. "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
  15532. "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
  15533. "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
  15534. "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
  15535. "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
  15536. "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
  15537. "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
  15538. "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
  15539. "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
  15540. "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
  15541. "\x71\x38\x17\x91\x44\xE8\xFC\x65"
  15542. "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
  15543. "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
  15544. "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
  15545. "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
  15546. "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
  15547. "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
  15548. "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
  15549. "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
  15550. "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
  15551. "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
  15552. "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
  15553. "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
  15554. "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
  15555. "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
  15556. "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
  15557. "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
  15558. "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
  15559. "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
  15560. "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
  15561. "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
  15562. "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
  15563. "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
  15564. "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
  15565. "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
  15566. "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
  15567. "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
  15568. "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
  15569. "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
  15570. "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
  15571. "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
  15572. "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
  15573. "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
  15574. "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
  15575. "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
  15576. "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
  15577. "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
  15578. "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
  15579. "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
  15580. "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
  15581. "\x45\x72\x80\x17\x81\xBD\x9D\x62"
  15582. "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
  15583. "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
  15584. .len = 512,
  15585. },
  15586. };
  15587. /*
  15588. * AES test vectors.
  15589. */
  15590. static const struct cipher_testvec aes_tv_template[] = {
  15591. { /* From FIPS-197 */
  15592. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15593. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15594. .klen = 16,
  15595. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  15596. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  15597. .ctext = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
  15598. "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
  15599. .len = 16,
  15600. }, {
  15601. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15602. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  15603. "\x10\x11\x12\x13\x14\x15\x16\x17",
  15604. .klen = 24,
  15605. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  15606. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  15607. .ctext = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
  15608. "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
  15609. .len = 16,
  15610. }, {
  15611. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15612. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  15613. "\x10\x11\x12\x13\x14\x15\x16\x17"
  15614. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  15615. .klen = 32,
  15616. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  15617. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  15618. .ctext = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
  15619. "\xea\xfc\x49\x90\x4b\x49\x60\x89",
  15620. .len = 16,
  15621. }, { /* Generated with Crypto++ */
  15622. .key = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
  15623. "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
  15624. "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
  15625. "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
  15626. .klen = 32,
  15627. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  15628. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  15629. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  15630. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  15631. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  15632. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  15633. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  15634. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  15635. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  15636. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  15637. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  15638. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  15639. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  15640. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  15641. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  15642. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  15643. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  15644. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  15645. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  15646. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  15647. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  15648. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  15649. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  15650. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  15651. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  15652. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  15653. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  15654. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  15655. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  15656. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  15657. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  15658. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  15659. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  15660. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  15661. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  15662. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  15663. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  15664. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  15665. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  15666. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  15667. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  15668. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  15669. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  15670. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  15671. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  15672. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  15673. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  15674. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  15675. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  15676. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  15677. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  15678. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  15679. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  15680. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  15681. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  15682. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  15683. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  15684. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  15685. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  15686. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  15687. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  15688. "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
  15689. .ctext = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
  15690. "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
  15691. "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
  15692. "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
  15693. "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
  15694. "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
  15695. "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
  15696. "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
  15697. "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
  15698. "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
  15699. "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
  15700. "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
  15701. "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
  15702. "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
  15703. "\x41\x72\x51\x97\x1D\x07\x49\xA0"
  15704. "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
  15705. "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
  15706. "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
  15707. "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
  15708. "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
  15709. "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
  15710. "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
  15711. "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
  15712. "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
  15713. "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
  15714. "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
  15715. "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
  15716. "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
  15717. "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
  15718. "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
  15719. "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
  15720. "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
  15721. "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
  15722. "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
  15723. "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
  15724. "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
  15725. "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
  15726. "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
  15727. "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
  15728. "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
  15729. "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
  15730. "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
  15731. "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
  15732. "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
  15733. "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
  15734. "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
  15735. "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
  15736. "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
  15737. "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
  15738. "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
  15739. "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
  15740. "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
  15741. "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
  15742. "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
  15743. "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
  15744. "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
  15745. "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
  15746. "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
  15747. "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
  15748. "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
  15749. "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
  15750. "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
  15751. .len = 496,
  15752. },
  15753. };
  15754. static const struct cipher_testvec aes_cbc_tv_template[] = {
  15755. { /* From RFC 3602 */
  15756. .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  15757. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  15758. .klen = 16,
  15759. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  15760. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  15761. .iv_out = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  15762. "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
  15763. .ptext = "Single block msg",
  15764. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  15765. "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
  15766. .len = 16,
  15767. }, {
  15768. .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  15769. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  15770. .klen = 16,
  15771. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  15772. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  15773. .iv_out = "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  15774. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
  15775. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15776. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  15777. "\x10\x11\x12\x13\x14\x15\x16\x17"
  15778. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  15779. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  15780. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  15781. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  15782. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
  15783. .len = 32,
  15784. }, { /* From NIST SP800-38A */
  15785. .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  15786. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  15787. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  15788. .klen = 24,
  15789. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15790. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15791. .iv_out = "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  15792. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
  15793. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  15794. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  15795. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  15796. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  15797. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  15798. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  15799. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  15800. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  15801. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  15802. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  15803. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  15804. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  15805. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  15806. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  15807. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  15808. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
  15809. .len = 64,
  15810. }, {
  15811. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  15812. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  15813. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  15814. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  15815. .klen = 32,
  15816. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15817. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15818. .iv_out = "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  15819. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
  15820. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  15821. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  15822. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  15823. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  15824. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  15825. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  15826. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  15827. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  15828. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  15829. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  15830. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  15831. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  15832. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  15833. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  15834. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  15835. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
  15836. .len = 64,
  15837. }, { /* Generated with Crypto++ */
  15838. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
  15839. "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
  15840. "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
  15841. "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
  15842. .klen = 32,
  15843. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
  15844. "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
  15845. .iv_out = "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
  15846. "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
  15847. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  15848. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  15849. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  15850. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  15851. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  15852. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  15853. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  15854. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  15855. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  15856. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  15857. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  15858. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  15859. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  15860. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  15861. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  15862. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  15863. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  15864. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  15865. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  15866. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  15867. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  15868. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  15869. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  15870. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  15871. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  15872. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  15873. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  15874. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  15875. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  15876. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  15877. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  15878. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  15879. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  15880. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  15881. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  15882. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  15883. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  15884. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  15885. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  15886. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  15887. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  15888. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  15889. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  15890. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  15891. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  15892. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  15893. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  15894. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  15895. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  15896. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  15897. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  15898. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  15899. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  15900. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  15901. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  15902. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  15903. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  15904. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  15905. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  15906. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  15907. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  15908. "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
  15909. .ctext = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
  15910. "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
  15911. "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
  15912. "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
  15913. "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
  15914. "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
  15915. "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
  15916. "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
  15917. "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
  15918. "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
  15919. "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
  15920. "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
  15921. "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
  15922. "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
  15923. "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
  15924. "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
  15925. "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
  15926. "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
  15927. "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
  15928. "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
  15929. "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
  15930. "\x16\x24\x02\x07\x48\xAE\xF2\x31"
  15931. "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
  15932. "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
  15933. "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
  15934. "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
  15935. "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
  15936. "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
  15937. "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
  15938. "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
  15939. "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
  15940. "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
  15941. "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
  15942. "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
  15943. "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
  15944. "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
  15945. "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
  15946. "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
  15947. "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
  15948. "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
  15949. "\x22\x39\x7B\x16\x03\x01\x69\xAF"
  15950. "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
  15951. "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
  15952. "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
  15953. "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
  15954. "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
  15955. "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
  15956. "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
  15957. "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
  15958. "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
  15959. "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
  15960. "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
  15961. "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
  15962. "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
  15963. "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
  15964. "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
  15965. "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
  15966. "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
  15967. "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
  15968. "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
  15969. "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
  15970. "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
  15971. .len = 496,
  15972. },
  15973. };
  15974. static const struct cipher_testvec aes_cfb_tv_template[] = {
  15975. { /* From NIST SP800-38A */
  15976. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  15977. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  15978. .klen = 16,
  15979. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15980. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15981. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  15982. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  15983. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  15984. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  15985. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  15986. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  15987. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  15988. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  15989. .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
  15990. "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
  15991. "\xc8\xa6\x45\x37\xa0\xb3\xa9\x3f"
  15992. "\xcd\xe3\xcd\xad\x9f\x1c\xe5\x8b"
  15993. "\x26\x75\x1f\x67\xa3\xcb\xb1\x40"
  15994. "\xb1\x80\x8c\xf1\x87\xa4\xf4\xdf"
  15995. "\xc0\x4b\x05\x35\x7c\x5d\x1c\x0e"
  15996. "\xea\xc4\xc6\x6f\x9f\xf7\xf2\xe6",
  15997. .len = 64,
  15998. }, {
  15999. .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  16000. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  16001. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  16002. .klen = 24,
  16003. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16004. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16005. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  16006. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  16007. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  16008. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  16009. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  16010. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  16011. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  16012. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  16013. .ctext = "\xcd\xc8\x0d\x6f\xdd\xf1\x8c\xab"
  16014. "\x34\xc2\x59\x09\xc9\x9a\x41\x74"
  16015. "\x67\xce\x7f\x7f\x81\x17\x36\x21"
  16016. "\x96\x1a\x2b\x70\x17\x1d\x3d\x7a"
  16017. "\x2e\x1e\x8a\x1d\xd5\x9b\x88\xb1"
  16018. "\xc8\xe6\x0f\xed\x1e\xfa\xc4\xc9"
  16019. "\xc0\x5f\x9f\x9c\xa9\x83\x4f\xa0"
  16020. "\x42\xae\x8f\xba\x58\x4b\x09\xff",
  16021. .len = 64,
  16022. }, {
  16023. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  16024. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  16025. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  16026. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  16027. .klen = 32,
  16028. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16029. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16030. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  16031. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  16032. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  16033. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  16034. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  16035. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  16036. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  16037. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  16038. .ctext = "\xdc\x7e\x84\xbf\xda\x79\x16\x4b"
  16039. "\x7e\xcd\x84\x86\x98\x5d\x38\x60"
  16040. "\x39\xff\xed\x14\x3b\x28\xb1\xc8"
  16041. "\x32\x11\x3c\x63\x31\xe5\x40\x7b"
  16042. "\xdf\x10\x13\x24\x15\xe5\x4b\x92"
  16043. "\xa1\x3e\xd0\xa8\x26\x7a\xe2\xf9"
  16044. "\x75\xa3\x85\x74\x1a\xb9\xce\xf8"
  16045. "\x20\x31\x62\x3d\x55\xb1\xe4\x71",
  16046. .len = 64,
  16047. }, { /* > 16 bytes, not a multiple of 16 bytes */
  16048. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  16049. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  16050. .klen = 16,
  16051. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16052. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16053. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  16054. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  16055. "\xae",
  16056. .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
  16057. "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
  16058. "\xc8",
  16059. .len = 17,
  16060. }, { /* < 16 bytes */
  16061. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  16062. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  16063. .klen = 16,
  16064. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16065. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16066. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f",
  16067. .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad",
  16068. .len = 7,
  16069. },
  16070. };
  16071. static const struct aead_testvec hmac_md5_ecb_cipher_null_tv_template[] = {
  16072. { /* Input data from RFC 2410 Case 1 */
  16073. #ifdef __LITTLE_ENDIAN
  16074. .key = "\x08\x00" /* rta length */
  16075. "\x01\x00" /* rta type */
  16076. #else
  16077. .key = "\x00\x08" /* rta length */
  16078. "\x00\x01" /* rta type */
  16079. #endif
  16080. "\x00\x00\x00\x00" /* enc key length */
  16081. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16082. "\x00\x00\x00\x00\x00\x00\x00\x00",
  16083. .klen = 8 + 16 + 0,
  16084. .iv = "",
  16085. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  16086. .plen = 8,
  16087. .ctext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  16088. "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
  16089. "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
  16090. .clen = 8 + 16,
  16091. }, { /* Input data from RFC 2410 Case 2 */
  16092. #ifdef __LITTLE_ENDIAN
  16093. .key = "\x08\x00" /* rta length */
  16094. "\x01\x00" /* rta type */
  16095. #else
  16096. .key = "\x00\x08" /* rta length */
  16097. "\x00\x01" /* rta type */
  16098. #endif
  16099. "\x00\x00\x00\x00" /* enc key length */
  16100. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16101. "\x00\x00\x00\x00\x00\x00\x00\x00",
  16102. .klen = 8 + 16 + 0,
  16103. .iv = "",
  16104. .ptext = "Network Security People Have A Strange Sense Of Humor",
  16105. .plen = 53,
  16106. .ctext = "Network Security People Have A Strange Sense Of Humor"
  16107. "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
  16108. "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
  16109. .clen = 53 + 16,
  16110. },
  16111. };
  16112. static const struct aead_testvec hmac_sha1_aes_cbc_tv_temp[] = {
  16113. { /* RFC 3602 Case 1 */
  16114. #ifdef __LITTLE_ENDIAN
  16115. .key = "\x08\x00" /* rta length */
  16116. "\x01\x00" /* rta type */
  16117. #else
  16118. .key = "\x00\x08" /* rta length */
  16119. "\x00\x01" /* rta type */
  16120. #endif
  16121. "\x00\x00\x00\x10" /* enc key length */
  16122. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16123. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16124. "\x00\x00\x00\x00"
  16125. "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  16126. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  16127. .klen = 8 + 20 + 16,
  16128. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  16129. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  16130. .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  16131. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  16132. .alen = 16,
  16133. .ptext = "Single block msg",
  16134. .plen = 16,
  16135. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  16136. "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
  16137. "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
  16138. "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
  16139. "\x03\x71\xa2\x06",
  16140. .clen = 16 + 20,
  16141. }, { /* RFC 3602 Case 2 */
  16142. #ifdef __LITTLE_ENDIAN
  16143. .key = "\x08\x00" /* rta length */
  16144. "\x01\x00" /* rta type */
  16145. #else
  16146. .key = "\x00\x08" /* rta length */
  16147. "\x00\x01" /* rta type */
  16148. #endif
  16149. "\x00\x00\x00\x10" /* enc key length */
  16150. "\x20\x21\x22\x23\x24\x25\x26\x27"
  16151. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  16152. "\x30\x31\x32\x33"
  16153. "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  16154. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  16155. .klen = 8 + 20 + 16,
  16156. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  16157. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  16158. .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  16159. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  16160. .alen = 16,
  16161. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16162. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16163. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16164. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  16165. .plen = 32,
  16166. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  16167. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  16168. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  16169. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
  16170. "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
  16171. "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
  16172. "\x65\x39\xf8\xde",
  16173. .clen = 32 + 20,
  16174. }, { /* RFC 3602 Case 3 */
  16175. #ifdef __LITTLE_ENDIAN
  16176. .key = "\x08\x00" /* rta length */
  16177. "\x01\x00" /* rta type */
  16178. #else
  16179. .key = "\x00\x08" /* rta length */
  16180. "\x00\x01" /* rta type */
  16181. #endif
  16182. "\x00\x00\x00\x10" /* enc key length */
  16183. "\x11\x22\x33\x44\x55\x66\x77\x88"
  16184. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  16185. "\x22\x33\x44\x55"
  16186. "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
  16187. "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
  16188. .klen = 8 + 20 + 16,
  16189. .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  16190. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  16191. .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  16192. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  16193. .alen = 16,
  16194. .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
  16195. .plen = 48,
  16196. .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
  16197. "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
  16198. "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
  16199. "\x50\x69\x39\x27\x67\x72\xf8\xd5"
  16200. "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
  16201. "\x85\x79\x69\x5d\x83\xba\x26\x84"
  16202. "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
  16203. "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
  16204. "\x8d\x62\xf2\x1e",
  16205. .clen = 48 + 20,
  16206. }, { /* RFC 3602 Case 4 */
  16207. #ifdef __LITTLE_ENDIAN
  16208. .key = "\x08\x00" /* rta length */
  16209. "\x01\x00" /* rta type */
  16210. #else
  16211. .key = "\x00\x08" /* rta length */
  16212. "\x00\x01" /* rta type */
  16213. #endif
  16214. "\x00\x00\x00\x10" /* enc key length */
  16215. "\x11\x22\x33\x44\x55\x66\x77\x88"
  16216. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  16217. "\x22\x33\x44\x55"
  16218. "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
  16219. "\xbc\x46\x90\x3d\xba\x29\x03\x49",
  16220. .klen = 8 + 20 + 16,
  16221. .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  16222. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  16223. .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  16224. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  16225. .alen = 16,
  16226. .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  16227. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  16228. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  16229. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  16230. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  16231. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  16232. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  16233. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
  16234. .plen = 64,
  16235. .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
  16236. "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
  16237. "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
  16238. "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
  16239. "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
  16240. "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
  16241. "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
  16242. "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
  16243. "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
  16244. "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
  16245. "\x1d\xbe\xc6\xe9",
  16246. .clen = 64 + 20,
  16247. }, { /* RFC 3602 Case 5 */
  16248. #ifdef __LITTLE_ENDIAN
  16249. .key = "\x08\x00" /* rta length */
  16250. "\x01\x00" /* rta type */
  16251. #else
  16252. .key = "\x00\x08" /* rta length */
  16253. "\x00\x01" /* rta type */
  16254. #endif
  16255. "\x00\x00\x00\x10" /* enc key length */
  16256. "\x11\x22\x33\x44\x55\x66\x77\x88"
  16257. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  16258. "\x22\x33\x44\x55"
  16259. "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
  16260. "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
  16261. .klen = 8 + 20 + 16,
  16262. .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  16263. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  16264. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  16265. "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  16266. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  16267. .alen = 24,
  16268. .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
  16269. "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
  16270. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16271. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16272. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  16273. "\x20\x21\x22\x23\x24\x25\x26\x27"
  16274. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  16275. "\x30\x31\x32\x33\x34\x35\x36\x37"
  16276. "\x01\x02\x03\x04\x05\x06\x07\x08"
  16277. "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
  16278. .plen = 80,
  16279. .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
  16280. "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
  16281. "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
  16282. "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
  16283. "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
  16284. "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
  16285. "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
  16286. "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
  16287. "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
  16288. "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
  16289. "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
  16290. "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
  16291. "\x85\xe1\x59\xf7",
  16292. .clen = 80 + 20,
  16293. }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
  16294. #ifdef __LITTLE_ENDIAN
  16295. .key = "\x08\x00" /* rta length */
  16296. "\x01\x00" /* rta type */
  16297. #else
  16298. .key = "\x00\x08" /* rta length */
  16299. "\x00\x01" /* rta type */
  16300. #endif
  16301. "\x00\x00\x00\x18" /* enc key length */
  16302. "\x11\x22\x33\x44\x55\x66\x77\x88"
  16303. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  16304. "\x22\x33\x44\x55"
  16305. "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  16306. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  16307. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  16308. .klen = 8 + 20 + 24,
  16309. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16310. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16311. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16312. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16313. .alen = 16,
  16314. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  16315. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  16316. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  16317. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  16318. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  16319. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  16320. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  16321. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  16322. .plen = 64,
  16323. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  16324. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  16325. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  16326. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  16327. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  16328. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  16329. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  16330. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
  16331. "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
  16332. "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
  16333. "\x47\x4c\xfc\x36",
  16334. .clen = 64 + 20,
  16335. }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
  16336. #ifdef __LITTLE_ENDIAN
  16337. .key = "\x08\x00" /* rta length */
  16338. "\x01\x00" /* rta type */
  16339. #else
  16340. .key = "\x00\x08" /* rta length */
  16341. "\x00\x01" /* rta type */
  16342. #endif
  16343. "\x00\x00\x00\x20" /* enc key length */
  16344. "\x11\x22\x33\x44\x55\x66\x77\x88"
  16345. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  16346. "\x22\x33\x44\x55"
  16347. "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  16348. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  16349. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  16350. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  16351. .klen = 8 + 20 + 32,
  16352. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16353. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16354. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16355. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16356. .alen = 16,
  16357. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  16358. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  16359. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  16360. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  16361. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  16362. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  16363. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  16364. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  16365. .plen = 64,
  16366. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  16367. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  16368. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  16369. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  16370. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  16371. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  16372. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  16373. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
  16374. "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
  16375. "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
  16376. "\x51\xee\xd6\x4e",
  16377. .clen = 64 + 20,
  16378. },
  16379. };
  16380. static const struct aead_testvec hmac_sha1_ecb_cipher_null_tv_temp[] = {
  16381. { /* Input data from RFC 2410 Case 1 */
  16382. #ifdef __LITTLE_ENDIAN
  16383. .key = "\x08\x00" /* rta length */
  16384. "\x01\x00" /* rta type */
  16385. #else
  16386. .key = "\x00\x08" /* rta length */
  16387. "\x00\x01" /* rta type */
  16388. #endif
  16389. "\x00\x00\x00\x00" /* enc key length */
  16390. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16391. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16392. "\x00\x00\x00\x00",
  16393. .klen = 8 + 20 + 0,
  16394. .iv = "",
  16395. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  16396. .plen = 8,
  16397. .ctext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  16398. "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
  16399. "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
  16400. "\x8c\x5e\xe4\x08",
  16401. .clen = 8 + 20,
  16402. }, { /* Input data from RFC 2410 Case 2 */
  16403. #ifdef __LITTLE_ENDIAN
  16404. .key = "\x08\x00" /* rta length */
  16405. "\x01\x00" /* rta type */
  16406. #else
  16407. .key = "\x00\x08" /* rta length */
  16408. "\x00\x01" /* rta type */
  16409. #endif
  16410. "\x00\x00\x00\x00" /* enc key length */
  16411. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16412. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16413. "\x00\x00\x00\x00",
  16414. .klen = 8 + 20 + 0,
  16415. .iv = "",
  16416. .ptext = "Network Security People Have A Strange Sense Of Humor",
  16417. .plen = 53,
  16418. .ctext = "Network Security People Have A Strange Sense Of Humor"
  16419. "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
  16420. "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
  16421. "\x91\x56\xe4\xd6",
  16422. .clen = 53 + 20,
  16423. },
  16424. };
  16425. static const struct aead_testvec hmac_sha256_aes_cbc_tv_temp[] = {
  16426. { /* RFC 3602 Case 1 */
  16427. #ifdef __LITTLE_ENDIAN
  16428. .key = "\x08\x00" /* rta length */
  16429. "\x01\x00" /* rta type */
  16430. #else
  16431. .key = "\x00\x08" /* rta length */
  16432. "\x00\x01" /* rta type */
  16433. #endif
  16434. "\x00\x00\x00\x10" /* enc key length */
  16435. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16436. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16437. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16438. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16439. "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  16440. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  16441. .klen = 8 + 32 + 16,
  16442. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  16443. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  16444. .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  16445. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  16446. .alen = 16,
  16447. .ptext = "Single block msg",
  16448. .plen = 16,
  16449. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  16450. "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
  16451. "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
  16452. "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
  16453. "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
  16454. "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
  16455. .clen = 16 + 32,
  16456. }, { /* RFC 3602 Case 2 */
  16457. #ifdef __LITTLE_ENDIAN
  16458. .key = "\x08\x00" /* rta length */
  16459. "\x01\x00" /* rta type */
  16460. #else
  16461. .key = "\x00\x08" /* rta length */
  16462. "\x00\x01" /* rta type */
  16463. #endif
  16464. "\x00\x00\x00\x10" /* enc key length */
  16465. "\x20\x21\x22\x23\x24\x25\x26\x27"
  16466. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  16467. "\x30\x31\x32\x33\x34\x35\x36\x37"
  16468. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  16469. "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  16470. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  16471. .klen = 8 + 32 + 16,
  16472. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  16473. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  16474. .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  16475. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  16476. .alen = 16,
  16477. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16478. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16479. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16480. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  16481. .plen = 32,
  16482. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  16483. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  16484. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  16485. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
  16486. "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
  16487. "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
  16488. "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
  16489. "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
  16490. .clen = 32 + 32,
  16491. }, { /* RFC 3602 Case 3 */
  16492. #ifdef __LITTLE_ENDIAN
  16493. .key = "\x08\x00" /* rta length */
  16494. "\x01\x00" /* rta type */
  16495. #else
  16496. .key = "\x00\x08" /* rta length */
  16497. "\x00\x01" /* rta type */
  16498. #endif
  16499. "\x00\x00\x00\x10" /* enc key length */
  16500. "\x11\x22\x33\x44\x55\x66\x77\x88"
  16501. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  16502. "\x22\x33\x44\x55\x66\x77\x88\x99"
  16503. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  16504. "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
  16505. "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
  16506. .klen = 8 + 32 + 16,
  16507. .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  16508. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  16509. .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  16510. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  16511. .alen = 16,
  16512. .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
  16513. .plen = 48,
  16514. .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
  16515. "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
  16516. "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
  16517. "\x50\x69\x39\x27\x67\x72\xf8\xd5"
  16518. "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
  16519. "\x85\x79\x69\x5d\x83\xba\x26\x84"
  16520. "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
  16521. "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
  16522. "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
  16523. "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
  16524. .clen = 48 + 32,
  16525. }, { /* RFC 3602 Case 4 */
  16526. #ifdef __LITTLE_ENDIAN
  16527. .key = "\x08\x00" /* rta length */
  16528. "\x01\x00" /* rta type */
  16529. #else
  16530. .key = "\x00\x08" /* rta length */
  16531. "\x00\x01" /* rta type */
  16532. #endif
  16533. "\x00\x00\x00\x10" /* enc key length */
  16534. "\x11\x22\x33\x44\x55\x66\x77\x88"
  16535. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  16536. "\x22\x33\x44\x55\x66\x77\x88\x99"
  16537. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  16538. "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
  16539. "\xbc\x46\x90\x3d\xba\x29\x03\x49",
  16540. .klen = 8 + 32 + 16,
  16541. .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  16542. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  16543. .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  16544. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  16545. .alen = 16,
  16546. .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  16547. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  16548. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  16549. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  16550. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  16551. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  16552. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  16553. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
  16554. .plen = 64,
  16555. .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
  16556. "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
  16557. "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
  16558. "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
  16559. "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
  16560. "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
  16561. "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
  16562. "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
  16563. "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
  16564. "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
  16565. "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
  16566. "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
  16567. .clen = 64 + 32,
  16568. }, { /* RFC 3602 Case 5 */
  16569. #ifdef __LITTLE_ENDIAN
  16570. .key = "\x08\x00" /* rta length */
  16571. "\x01\x00" /* rta type */
  16572. #else
  16573. .key = "\x00\x08" /* rta length */
  16574. "\x00\x01" /* rta type */
  16575. #endif
  16576. "\x00\x00\x00\x10" /* enc key length */
  16577. "\x11\x22\x33\x44\x55\x66\x77\x88"
  16578. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  16579. "\x22\x33\x44\x55\x66\x77\x88\x99"
  16580. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  16581. "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
  16582. "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
  16583. .klen = 8 + 32 + 16,
  16584. .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  16585. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  16586. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  16587. "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  16588. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  16589. .alen = 24,
  16590. .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
  16591. "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
  16592. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16593. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16594. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  16595. "\x20\x21\x22\x23\x24\x25\x26\x27"
  16596. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  16597. "\x30\x31\x32\x33\x34\x35\x36\x37"
  16598. "\x01\x02\x03\x04\x05\x06\x07\x08"
  16599. "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
  16600. .plen = 80,
  16601. .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
  16602. "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
  16603. "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
  16604. "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
  16605. "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
  16606. "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
  16607. "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
  16608. "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
  16609. "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
  16610. "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
  16611. "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
  16612. "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
  16613. "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
  16614. "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
  16615. .clen = 80 + 32,
  16616. }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
  16617. #ifdef __LITTLE_ENDIAN
  16618. .key = "\x08\x00" /* rta length */
  16619. "\x01\x00" /* rta type */
  16620. #else
  16621. .key = "\x00\x08" /* rta length */
  16622. "\x00\x01" /* rta type */
  16623. #endif
  16624. "\x00\x00\x00\x18" /* enc key length */
  16625. "\x11\x22\x33\x44\x55\x66\x77\x88"
  16626. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  16627. "\x22\x33\x44\x55\x66\x77\x88\x99"
  16628. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  16629. "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  16630. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  16631. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  16632. .klen = 8 + 32 + 24,
  16633. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16634. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16635. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16636. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16637. .alen = 16,
  16638. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  16639. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  16640. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  16641. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  16642. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  16643. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  16644. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  16645. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  16646. .plen = 64,
  16647. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  16648. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  16649. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  16650. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  16651. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  16652. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  16653. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  16654. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
  16655. "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
  16656. "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
  16657. "\xca\x71\x85\x93\xf7\x85\x55\x8b"
  16658. "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
  16659. .clen = 64 + 32,
  16660. }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
  16661. #ifdef __LITTLE_ENDIAN
  16662. .key = "\x08\x00" /* rta length */
  16663. "\x01\x00" /* rta type */
  16664. #else
  16665. .key = "\x00\x08" /* rta length */
  16666. "\x00\x01" /* rta type */
  16667. #endif
  16668. "\x00\x00\x00\x20" /* enc key length */
  16669. "\x11\x22\x33\x44\x55\x66\x77\x88"
  16670. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  16671. "\x22\x33\x44\x55\x66\x77\x88\x99"
  16672. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  16673. "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  16674. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  16675. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  16676. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  16677. .klen = 8 + 32 + 32,
  16678. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16679. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16680. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16681. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16682. .alen = 16,
  16683. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  16684. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  16685. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  16686. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  16687. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  16688. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  16689. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  16690. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  16691. .plen = 64,
  16692. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  16693. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  16694. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  16695. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  16696. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  16697. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  16698. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  16699. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
  16700. "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
  16701. "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
  16702. "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
  16703. "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
  16704. .clen = 64 + 32,
  16705. },
  16706. };
  16707. static const struct aead_testvec hmac_sha512_aes_cbc_tv_temp[] = {
  16708. { /* RFC 3602 Case 1 */
  16709. #ifdef __LITTLE_ENDIAN
  16710. .key = "\x08\x00" /* rta length */
  16711. "\x01\x00" /* rta type */
  16712. #else
  16713. .key = "\x00\x08" /* rta length */
  16714. "\x00\x01" /* rta type */
  16715. #endif
  16716. "\x00\x00\x00\x10" /* enc key length */
  16717. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16718. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16719. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16720. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16721. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16722. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16723. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16724. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16725. "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  16726. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  16727. .klen = 8 + 64 + 16,
  16728. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  16729. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  16730. .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  16731. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  16732. .alen = 16,
  16733. .ptext = "Single block msg",
  16734. .plen = 16,
  16735. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  16736. "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
  16737. "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
  16738. "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
  16739. "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
  16740. "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
  16741. "\xec\xbd\x50\x08\x07\x64\x1a\x49"
  16742. "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
  16743. "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
  16744. "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
  16745. .clen = 16 + 64,
  16746. }, { /* RFC 3602 Case 2 */
  16747. #ifdef __LITTLE_ENDIAN
  16748. .key = "\x08\x00" /* rta length */
  16749. "\x01\x00" /* rta type */
  16750. #else
  16751. .key = "\x00\x08" /* rta length */
  16752. "\x00\x01" /* rta type */
  16753. #endif
  16754. "\x00\x00\x00\x10" /* enc key length */
  16755. "\x20\x21\x22\x23\x24\x25\x26\x27"
  16756. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  16757. "\x30\x31\x32\x33\x34\x35\x36\x37"
  16758. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  16759. "\x40\x41\x42\x43\x44\x45\x46\x47"
  16760. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  16761. "\x50\x51\x52\x53\x54\x55\x56\x57"
  16762. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  16763. "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  16764. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  16765. .klen = 8 + 64 + 16,
  16766. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  16767. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  16768. .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  16769. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  16770. .alen = 16,
  16771. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16772. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16773. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16774. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  16775. .plen = 32,
  16776. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  16777. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  16778. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  16779. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
  16780. "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
  16781. "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
  16782. "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
  16783. "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
  16784. "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
  16785. "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
  16786. "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
  16787. "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
  16788. .clen = 32 + 64,
  16789. }, { /* RFC 3602 Case 3 */
  16790. #ifdef __LITTLE_ENDIAN
  16791. .key = "\x08\x00" /* rta length */
  16792. "\x01\x00" /* rta type */
  16793. #else
  16794. .key = "\x00\x08" /* rta length */
  16795. "\x00\x01" /* rta type */
  16796. #endif
  16797. "\x00\x00\x00\x10" /* enc key length */
  16798. "\x11\x22\x33\x44\x55\x66\x77\x88"
  16799. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  16800. "\x22\x33\x44\x55\x66\x77\x88\x99"
  16801. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  16802. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  16803. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  16804. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  16805. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  16806. "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
  16807. "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
  16808. .klen = 8 + 64 + 16,
  16809. .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  16810. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  16811. .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  16812. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  16813. .alen = 16,
  16814. .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
  16815. .plen = 48,
  16816. .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
  16817. "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
  16818. "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
  16819. "\x50\x69\x39\x27\x67\x72\xf8\xd5"
  16820. "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
  16821. "\x85\x79\x69\x5d\x83\xba\x26\x84"
  16822. "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
  16823. "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
  16824. "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
  16825. "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
  16826. "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
  16827. "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
  16828. "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
  16829. "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
  16830. .clen = 48 + 64,
  16831. }, { /* RFC 3602 Case 4 */
  16832. #ifdef __LITTLE_ENDIAN
  16833. .key = "\x08\x00" /* rta length */
  16834. "\x01\x00" /* rta type */
  16835. #else
  16836. .key = "\x00\x08" /* rta length */
  16837. "\x00\x01" /* rta type */
  16838. #endif
  16839. "\x00\x00\x00\x10" /* enc key length */
  16840. "\x11\x22\x33\x44\x55\x66\x77\x88"
  16841. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  16842. "\x22\x33\x44\x55\x66\x77\x88\x99"
  16843. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  16844. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  16845. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  16846. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  16847. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  16848. "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
  16849. "\xbc\x46\x90\x3d\xba\x29\x03\x49",
  16850. .klen = 8 + 64 + 16,
  16851. .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  16852. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  16853. .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  16854. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  16855. .alen = 16,
  16856. .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  16857. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  16858. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  16859. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  16860. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  16861. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  16862. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  16863. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
  16864. .plen = 64,
  16865. .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
  16866. "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
  16867. "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
  16868. "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
  16869. "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
  16870. "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
  16871. "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
  16872. "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
  16873. "\x82\xcd\x42\x28\x21\x20\x15\xcc"
  16874. "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
  16875. "\x61\x32\x82\x85\xcf\x27\xed\xb4"
  16876. "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
  16877. "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
  16878. "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
  16879. "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
  16880. "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
  16881. .clen = 64 + 64,
  16882. }, { /* RFC 3602 Case 5 */
  16883. #ifdef __LITTLE_ENDIAN
  16884. .key = "\x08\x00" /* rta length */
  16885. "\x01\x00" /* rta type */
  16886. #else
  16887. .key = "\x00\x08" /* rta length */
  16888. "\x00\x01" /* rta type */
  16889. #endif
  16890. "\x00\x00\x00\x10" /* enc key length */
  16891. "\x11\x22\x33\x44\x55\x66\x77\x88"
  16892. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  16893. "\x22\x33\x44\x55\x66\x77\x88\x99"
  16894. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  16895. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  16896. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  16897. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  16898. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  16899. "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
  16900. "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
  16901. .klen = 8 + 64 + 16,
  16902. .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  16903. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  16904. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  16905. "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  16906. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  16907. .alen = 24,
  16908. .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
  16909. "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
  16910. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16911. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16912. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  16913. "\x20\x21\x22\x23\x24\x25\x26\x27"
  16914. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  16915. "\x30\x31\x32\x33\x34\x35\x36\x37"
  16916. "\x01\x02\x03\x04\x05\x06\x07\x08"
  16917. "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
  16918. .plen = 80,
  16919. .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
  16920. "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
  16921. "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
  16922. "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
  16923. "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
  16924. "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
  16925. "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
  16926. "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
  16927. "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
  16928. "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
  16929. "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
  16930. "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
  16931. "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
  16932. "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
  16933. "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
  16934. "\x92\x26\xc1\x76\x20\x11\xeb\xba"
  16935. "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
  16936. "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
  16937. .clen = 80 + 64,
  16938. }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
  16939. #ifdef __LITTLE_ENDIAN
  16940. .key = "\x08\x00" /* rta length */
  16941. "\x01\x00" /* rta type */
  16942. #else
  16943. .key = "\x00\x08" /* rta length */
  16944. "\x00\x01" /* rta type */
  16945. #endif
  16946. "\x00\x00\x00\x18" /* enc key length */
  16947. "\x11\x22\x33\x44\x55\x66\x77\x88"
  16948. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  16949. "\x22\x33\x44\x55\x66\x77\x88\x99"
  16950. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  16951. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  16952. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  16953. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  16954. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  16955. "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  16956. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  16957. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  16958. .klen = 8 + 64 + 24,
  16959. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16960. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16961. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16962. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16963. .alen = 16,
  16964. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  16965. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  16966. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  16967. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  16968. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  16969. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  16970. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  16971. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  16972. .plen = 64,
  16973. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  16974. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  16975. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  16976. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  16977. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  16978. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  16979. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  16980. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
  16981. "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
  16982. "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
  16983. "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
  16984. "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
  16985. "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
  16986. "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
  16987. "\x8d\x43\x98\xa7\x94\x16\x07\x02"
  16988. "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
  16989. .clen = 64 + 64,
  16990. }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
  16991. #ifdef __LITTLE_ENDIAN
  16992. .key = "\x08\x00" /* rta length */
  16993. "\x01\x00" /* rta type */
  16994. #else
  16995. .key = "\x00\x08" /* rta length */
  16996. "\x00\x01" /* rta type */
  16997. #endif
  16998. "\x00\x00\x00\x20" /* enc key length */
  16999. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17000. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17001. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17002. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17003. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  17004. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  17005. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  17006. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  17007. "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  17008. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  17009. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  17010. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  17011. .klen = 8 + 64 + 32,
  17012. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17013. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  17014. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17015. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  17016. .alen = 16,
  17017. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  17018. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  17019. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  17020. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  17021. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  17022. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  17023. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  17024. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  17025. .plen = 64,
  17026. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  17027. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  17028. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  17029. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  17030. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  17031. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  17032. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  17033. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
  17034. "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
  17035. "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
  17036. "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
  17037. "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
  17038. "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
  17039. "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
  17040. "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
  17041. "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
  17042. .clen = 64 + 64,
  17043. },
  17044. };
  17045. static const struct aead_testvec hmac_sha1_des_cbc_tv_temp[] = {
  17046. { /*Generated with cryptopp*/
  17047. #ifdef __LITTLE_ENDIAN
  17048. .key = "\x08\x00" /* rta length */
  17049. "\x01\x00" /* rta type */
  17050. #else
  17051. .key = "\x00\x08" /* rta length */
  17052. "\x00\x01" /* rta type */
  17053. #endif
  17054. "\x00\x00\x00\x08" /* enc key length */
  17055. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17056. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17057. "\x22\x33\x44\x55"
  17058. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  17059. .klen = 8 + 20 + 8,
  17060. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17061. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17062. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17063. .alen = 16,
  17064. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  17065. "\x53\x20\x63\x65\x65\x72\x73\x74"
  17066. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  17067. "\x20\x79\x65\x53\x72\x63\x74\x65"
  17068. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  17069. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  17070. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  17071. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  17072. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  17073. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  17074. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  17075. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  17076. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  17077. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  17078. "\x63\x65\x65\x72\x73\x74\x54\x20"
  17079. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  17080. .plen = 128,
  17081. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  17082. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  17083. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  17084. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  17085. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  17086. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  17087. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  17088. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  17089. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  17090. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  17091. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  17092. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  17093. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  17094. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  17095. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  17096. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  17097. "\x95\x16\x20\x09\xf5\x95\x19\xfd"
  17098. "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
  17099. "\x5c\x44\xa9\x37",
  17100. .clen = 128 + 20,
  17101. },
  17102. };
  17103. static const struct aead_testvec hmac_sha224_des_cbc_tv_temp[] = {
  17104. { /*Generated with cryptopp*/
  17105. #ifdef __LITTLE_ENDIAN
  17106. .key = "\x08\x00" /* rta length */
  17107. "\x01\x00" /* rta type */
  17108. #else
  17109. .key = "\x00\x08" /* rta length */
  17110. "\x00\x01" /* rta type */
  17111. #endif
  17112. "\x00\x00\x00\x08" /* enc key length */
  17113. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17114. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17115. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17116. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  17117. .klen = 8 + 24 + 8,
  17118. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17119. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17120. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17121. .alen = 16,
  17122. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  17123. "\x53\x20\x63\x65\x65\x72\x73\x74"
  17124. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  17125. "\x20\x79\x65\x53\x72\x63\x74\x65"
  17126. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  17127. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  17128. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  17129. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  17130. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  17131. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  17132. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  17133. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  17134. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  17135. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  17136. "\x63\x65\x65\x72\x73\x74\x54\x20"
  17137. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  17138. .plen = 128,
  17139. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  17140. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  17141. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  17142. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  17143. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  17144. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  17145. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  17146. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  17147. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  17148. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  17149. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  17150. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  17151. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  17152. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  17153. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  17154. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  17155. "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
  17156. "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
  17157. "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
  17158. .clen = 128 + 24,
  17159. },
  17160. };
  17161. static const struct aead_testvec hmac_sha256_des_cbc_tv_temp[] = {
  17162. { /*Generated with cryptopp*/
  17163. #ifdef __LITTLE_ENDIAN
  17164. .key = "\x08\x00" /* rta length */
  17165. "\x01\x00" /* rta type */
  17166. #else
  17167. .key = "\x00\x08" /* rta length */
  17168. "\x00\x01" /* rta type */
  17169. #endif
  17170. "\x00\x00\x00\x08" /* enc key length */
  17171. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17172. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17173. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17174. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17175. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  17176. .klen = 8 + 32 + 8,
  17177. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17178. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17179. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17180. .alen = 16,
  17181. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  17182. "\x53\x20\x63\x65\x65\x72\x73\x74"
  17183. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  17184. "\x20\x79\x65\x53\x72\x63\x74\x65"
  17185. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  17186. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  17187. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  17188. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  17189. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  17190. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  17191. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  17192. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  17193. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  17194. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  17195. "\x63\x65\x65\x72\x73\x74\x54\x20"
  17196. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  17197. .plen = 128,
  17198. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  17199. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  17200. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  17201. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  17202. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  17203. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  17204. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  17205. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  17206. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  17207. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  17208. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  17209. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  17210. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  17211. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  17212. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  17213. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  17214. "\xc6\x58\xa1\x60\x70\x91\x39\x36"
  17215. "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
  17216. "\xde\x63\xde\x76\x52\xde\x9f\xba"
  17217. "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
  17218. .clen = 128 + 32,
  17219. },
  17220. };
  17221. static const struct aead_testvec hmac_sha384_des_cbc_tv_temp[] = {
  17222. { /*Generated with cryptopp*/
  17223. #ifdef __LITTLE_ENDIAN
  17224. .key = "\x08\x00" /* rta length */
  17225. "\x01\x00" /* rta type */
  17226. #else
  17227. .key = "\x00\x08" /* rta length */
  17228. "\x00\x01" /* rta type */
  17229. #endif
  17230. "\x00\x00\x00\x08" /* enc key length */
  17231. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17232. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17233. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17234. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17235. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  17236. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  17237. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  17238. .klen = 8 + 48 + 8,
  17239. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17240. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17241. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17242. .alen = 16,
  17243. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  17244. "\x53\x20\x63\x65\x65\x72\x73\x74"
  17245. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  17246. "\x20\x79\x65\x53\x72\x63\x74\x65"
  17247. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  17248. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  17249. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  17250. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  17251. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  17252. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  17253. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  17254. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  17255. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  17256. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  17257. "\x63\x65\x65\x72\x73\x74\x54\x20"
  17258. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  17259. .plen = 128,
  17260. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  17261. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  17262. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  17263. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  17264. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  17265. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  17266. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  17267. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  17268. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  17269. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  17270. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  17271. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  17272. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  17273. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  17274. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  17275. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  17276. "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
  17277. "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
  17278. "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
  17279. "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
  17280. "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
  17281. "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
  17282. .clen = 128 + 48,
  17283. },
  17284. };
  17285. static const struct aead_testvec hmac_sha512_des_cbc_tv_temp[] = {
  17286. { /*Generated with cryptopp*/
  17287. #ifdef __LITTLE_ENDIAN
  17288. .key = "\x08\x00" /* rta length */
  17289. "\x01\x00" /* rta type */
  17290. #else
  17291. .key = "\x00\x08" /* rta length */
  17292. "\x00\x01" /* rta type */
  17293. #endif
  17294. "\x00\x00\x00\x08" /* enc key length */
  17295. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17296. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17297. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17298. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17299. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  17300. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  17301. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  17302. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  17303. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  17304. .klen = 8 + 64 + 8,
  17305. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17306. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17307. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17308. .alen = 16,
  17309. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  17310. "\x53\x20\x63\x65\x65\x72\x73\x74"
  17311. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  17312. "\x20\x79\x65\x53\x72\x63\x74\x65"
  17313. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  17314. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  17315. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  17316. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  17317. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  17318. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  17319. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  17320. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  17321. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  17322. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  17323. "\x63\x65\x65\x72\x73\x74\x54\x20"
  17324. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  17325. .plen = 128,
  17326. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  17327. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  17328. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  17329. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  17330. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  17331. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  17332. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  17333. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  17334. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  17335. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  17336. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  17337. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  17338. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  17339. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  17340. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  17341. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  17342. "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
  17343. "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
  17344. "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
  17345. "\x58\x83\xda\x67\xfb\x21\x24\xa2"
  17346. "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
  17347. "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
  17348. "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
  17349. "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
  17350. .clen = 128 + 64,
  17351. },
  17352. };
  17353. static const struct aead_testvec hmac_sha1_des3_ede_cbc_tv_temp[] = {
  17354. { /*Generated with cryptopp*/
  17355. #ifdef __LITTLE_ENDIAN
  17356. .key = "\x08\x00" /* rta length */
  17357. "\x01\x00" /* rta type */
  17358. #else
  17359. .key = "\x00\x08" /* rta length */
  17360. "\x00\x01" /* rta type */
  17361. #endif
  17362. "\x00\x00\x00\x18" /* enc key length */
  17363. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17364. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17365. "\x22\x33\x44\x55"
  17366. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  17367. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  17368. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  17369. .klen = 8 + 20 + 24,
  17370. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17371. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17372. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17373. .alen = 16,
  17374. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  17375. "\x53\x20\x63\x65\x65\x72\x73\x74"
  17376. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  17377. "\x20\x79\x65\x53\x72\x63\x74\x65"
  17378. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  17379. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  17380. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  17381. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  17382. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  17383. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  17384. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  17385. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  17386. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  17387. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  17388. "\x63\x65\x65\x72\x73\x74\x54\x20"
  17389. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  17390. .plen = 128,
  17391. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  17392. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  17393. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  17394. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  17395. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  17396. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  17397. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  17398. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  17399. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  17400. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  17401. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  17402. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  17403. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  17404. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  17405. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  17406. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  17407. "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
  17408. "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
  17409. "\xd1\x60\x91\xb3",
  17410. .clen = 128 + 20,
  17411. },
  17412. };
  17413. static const struct aead_testvec hmac_sha224_des3_ede_cbc_tv_temp[] = {
  17414. { /*Generated with cryptopp*/
  17415. #ifdef __LITTLE_ENDIAN
  17416. .key = "\x08\x00" /* rta length */
  17417. "\x01\x00" /* rta type */
  17418. #else
  17419. .key = "\x00\x08" /* rta length */
  17420. "\x00\x01" /* rta type */
  17421. #endif
  17422. "\x00\x00\x00\x18" /* enc key length */
  17423. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17424. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17425. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17426. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  17427. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  17428. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  17429. .klen = 8 + 24 + 24,
  17430. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17431. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17432. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17433. .alen = 16,
  17434. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  17435. "\x53\x20\x63\x65\x65\x72\x73\x74"
  17436. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  17437. "\x20\x79\x65\x53\x72\x63\x74\x65"
  17438. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  17439. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  17440. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  17441. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  17442. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  17443. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  17444. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  17445. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  17446. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  17447. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  17448. "\x63\x65\x65\x72\x73\x74\x54\x20"
  17449. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  17450. .plen = 128,
  17451. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  17452. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  17453. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  17454. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  17455. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  17456. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  17457. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  17458. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  17459. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  17460. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  17461. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  17462. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  17463. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  17464. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  17465. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  17466. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  17467. "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
  17468. "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
  17469. "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
  17470. .clen = 128 + 24,
  17471. },
  17472. };
  17473. static const struct aead_testvec hmac_sha256_des3_ede_cbc_tv_temp[] = {
  17474. { /*Generated with cryptopp*/
  17475. #ifdef __LITTLE_ENDIAN
  17476. .key = "\x08\x00" /* rta length */
  17477. "\x01\x00" /* rta type */
  17478. #else
  17479. .key = "\x00\x08" /* rta length */
  17480. "\x00\x01" /* rta type */
  17481. #endif
  17482. "\x00\x00\x00\x18" /* enc key length */
  17483. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17484. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17485. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17486. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17487. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  17488. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  17489. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  17490. .klen = 8 + 32 + 24,
  17491. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17492. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17493. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17494. .alen = 16,
  17495. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  17496. "\x53\x20\x63\x65\x65\x72\x73\x74"
  17497. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  17498. "\x20\x79\x65\x53\x72\x63\x74\x65"
  17499. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  17500. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  17501. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  17502. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  17503. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  17504. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  17505. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  17506. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  17507. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  17508. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  17509. "\x63\x65\x65\x72\x73\x74\x54\x20"
  17510. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  17511. .plen = 128,
  17512. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  17513. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  17514. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  17515. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  17516. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  17517. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  17518. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  17519. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  17520. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  17521. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  17522. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  17523. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  17524. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  17525. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  17526. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  17527. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  17528. "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
  17529. "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
  17530. "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
  17531. "\xca\x43\x95\xdf\x80\x61\x81\xa9",
  17532. .clen = 128 + 32,
  17533. },
  17534. };
  17535. static const struct aead_testvec hmac_sha384_des3_ede_cbc_tv_temp[] = {
  17536. { /*Generated with cryptopp*/
  17537. #ifdef __LITTLE_ENDIAN
  17538. .key = "\x08\x00" /* rta length */
  17539. "\x01\x00" /* rta type */
  17540. #else
  17541. .key = "\x00\x08" /* rta length */
  17542. "\x00\x01" /* rta type */
  17543. #endif
  17544. "\x00\x00\x00\x18" /* enc key length */
  17545. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17546. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17547. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17548. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17549. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  17550. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  17551. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  17552. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  17553. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  17554. .klen = 8 + 48 + 24,
  17555. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17556. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17557. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17558. .alen = 16,
  17559. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  17560. "\x53\x20\x63\x65\x65\x72\x73\x74"
  17561. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  17562. "\x20\x79\x65\x53\x72\x63\x74\x65"
  17563. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  17564. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  17565. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  17566. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  17567. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  17568. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  17569. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  17570. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  17571. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  17572. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  17573. "\x63\x65\x65\x72\x73\x74\x54\x20"
  17574. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  17575. .plen = 128,
  17576. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  17577. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  17578. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  17579. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  17580. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  17581. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  17582. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  17583. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  17584. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  17585. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  17586. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  17587. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  17588. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  17589. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  17590. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  17591. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  17592. "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
  17593. "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
  17594. "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
  17595. "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
  17596. "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
  17597. "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
  17598. .clen = 128 + 48,
  17599. },
  17600. };
  17601. static const struct aead_testvec hmac_sha512_des3_ede_cbc_tv_temp[] = {
  17602. { /*Generated with cryptopp*/
  17603. #ifdef __LITTLE_ENDIAN
  17604. .key = "\x08\x00" /* rta length */
  17605. "\x01\x00" /* rta type */
  17606. #else
  17607. .key = "\x00\x08" /* rta length */
  17608. "\x00\x01" /* rta type */
  17609. #endif
  17610. "\x00\x00\x00\x18" /* enc key length */
  17611. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17612. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17613. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17614. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17615. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  17616. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  17617. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  17618. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  17619. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  17620. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  17621. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  17622. .klen = 8 + 64 + 24,
  17623. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17624. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17625. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17626. .alen = 16,
  17627. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  17628. "\x53\x20\x63\x65\x65\x72\x73\x74"
  17629. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  17630. "\x20\x79\x65\x53\x72\x63\x74\x65"
  17631. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  17632. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  17633. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  17634. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  17635. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  17636. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  17637. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  17638. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  17639. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  17640. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  17641. "\x63\x65\x65\x72\x73\x74\x54\x20"
  17642. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  17643. .plen = 128,
  17644. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  17645. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  17646. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  17647. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  17648. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  17649. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  17650. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  17651. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  17652. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  17653. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  17654. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  17655. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  17656. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  17657. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  17658. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  17659. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  17660. "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
  17661. "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
  17662. "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
  17663. "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
  17664. "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
  17665. "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
  17666. "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
  17667. "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
  17668. .clen = 128 + 64,
  17669. },
  17670. };
  17671. static const struct cipher_testvec aes_lrw_tv_template[] = {
  17672. /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
  17673. { /* LRW-32-AES 1 */
  17674. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  17675. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  17676. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  17677. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  17678. .klen = 32,
  17679. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  17680. "\x00\x00\x00\x00\x00\x00\x00\x01",
  17681. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  17682. "\x38\x39\x41\x42\x43\x44\x45\x46",
  17683. .ctext = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
  17684. "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
  17685. .len = 16,
  17686. }, { /* LRW-32-AES 2 */
  17687. .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
  17688. "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
  17689. "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
  17690. "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
  17691. .klen = 32,
  17692. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  17693. "\x00\x00\x00\x00\x00\x00\x00\x02",
  17694. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  17695. "\x38\x39\x41\x42\x43\x44\x45\x46",
  17696. .ctext = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
  17697. "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
  17698. .len = 16,
  17699. }, { /* LRW-32-AES 3 */
  17700. .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
  17701. "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
  17702. "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
  17703. "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
  17704. .klen = 32,
  17705. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  17706. "\x00\x00\x00\x02\x00\x00\x00\x00",
  17707. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  17708. "\x38\x39\x41\x42\x43\x44\x45\x46",
  17709. .ctext = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
  17710. "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
  17711. .len = 16,
  17712. }, { /* LRW-32-AES 4 */
  17713. .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
  17714. "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
  17715. "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
  17716. "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
  17717. "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
  17718. .klen = 40,
  17719. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  17720. "\x00\x00\x00\x00\x00\x00\x00\x01",
  17721. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  17722. "\x38\x39\x41\x42\x43\x44\x45\x46",
  17723. .ctext = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
  17724. "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
  17725. .len = 16,
  17726. }, { /* LRW-32-AES 5 */
  17727. .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
  17728. "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
  17729. "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
  17730. "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
  17731. "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
  17732. .klen = 40,
  17733. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  17734. "\x00\x00\x00\x02\x00\x00\x00\x00",
  17735. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  17736. "\x38\x39\x41\x42\x43\x44\x45\x46",
  17737. .ctext = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
  17738. "\xc8\x60\x48\x02\x87\xe3\x34\x06",
  17739. .len = 16,
  17740. }, { /* LRW-32-AES 6 */
  17741. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  17742. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  17743. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  17744. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  17745. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  17746. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  17747. .klen = 48,
  17748. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  17749. "\x00\x00\x00\x00\x00\x00\x00\x01",
  17750. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  17751. "\x38\x39\x41\x42\x43\x44\x45\x46",
  17752. .ctext = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
  17753. "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
  17754. .len = 16,
  17755. }, { /* LRW-32-AES 7 */
  17756. .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
  17757. "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
  17758. "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
  17759. "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
  17760. "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
  17761. "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
  17762. .klen = 48,
  17763. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  17764. "\x00\x00\x00\x02\x00\x00\x00\x00",
  17765. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  17766. "\x38\x39\x41\x42\x43\x44\x45\x46",
  17767. .ctext = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
  17768. "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
  17769. .len = 16,
  17770. }, { /* Test counter wrap-around, modified from LRW-32-AES 1 */
  17771. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  17772. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  17773. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  17774. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  17775. .klen = 32,
  17776. .iv = "\xff\xff\xff\xff\xff\xff\xff\xff"
  17777. "\xff\xff\xff\xff\xff\xff\xff\xff",
  17778. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  17779. "\x38\x39\x41\x42\x43\x44\x45\x46"
  17780. "\x30\x31\x32\x33\x34\x35\x36\x37"
  17781. "\x38\x39\x41\x42\x43\x44\x45\x46"
  17782. "\x30\x31\x32\x33\x34\x35\x36\x37"
  17783. "\x38\x39\x41\x42\x43\x44\x45\x46",
  17784. .ctext = "\x47\x90\x50\xf6\xf4\x8d\x5c\x7f"
  17785. "\x84\xc7\x83\x95\x2d\xa2\x02\xc0"
  17786. "\xda\x7f\xa3\xc0\x88\x2a\x0a\x50"
  17787. "\xfb\xc1\x78\x03\x39\xfe\x1d\xe5"
  17788. "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
  17789. "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
  17790. .len = 48,
  17791. }, {
  17792. /* http://www.mail-archive.com/[email protected]/msg00173.html */
  17793. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  17794. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  17795. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  17796. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  17797. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  17798. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  17799. .klen = 48,
  17800. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  17801. "\x00\x00\x00\x00\x00\x00\x00\x01",
  17802. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  17803. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  17804. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  17805. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  17806. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  17807. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  17808. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  17809. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  17810. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  17811. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  17812. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  17813. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  17814. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  17815. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  17816. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  17817. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  17818. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  17819. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  17820. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  17821. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  17822. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  17823. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  17824. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  17825. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  17826. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  17827. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  17828. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  17829. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  17830. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  17831. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  17832. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  17833. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  17834. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  17835. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  17836. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  17837. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  17838. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  17839. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  17840. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  17841. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  17842. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  17843. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  17844. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  17845. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  17846. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  17847. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  17848. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  17849. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  17850. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  17851. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  17852. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  17853. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  17854. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  17855. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  17856. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  17857. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  17858. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  17859. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  17860. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  17861. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  17862. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  17863. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  17864. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  17865. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  17866. .ctext = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
  17867. "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
  17868. "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
  17869. "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
  17870. "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
  17871. "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
  17872. "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
  17873. "\xe8\x58\x46\x97\x39\x51\x07\xde"
  17874. "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
  17875. "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
  17876. "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
  17877. "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
  17878. "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
  17879. "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
  17880. "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
  17881. "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
  17882. "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
  17883. "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
  17884. "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
  17885. "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
  17886. "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
  17887. "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
  17888. "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
  17889. "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
  17890. "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
  17891. "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
  17892. "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
  17893. "\x41\x30\x58\xc5\x62\x74\x52\x1d"
  17894. "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
  17895. "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
  17896. "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
  17897. "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
  17898. "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
  17899. "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
  17900. "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
  17901. "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
  17902. "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
  17903. "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
  17904. "\xb8\x79\x78\x97\x94\xff\x72\x13"
  17905. "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
  17906. "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
  17907. "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
  17908. "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
  17909. "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
  17910. "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
  17911. "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
  17912. "\x1e\x86\x53\x11\x53\x94\x00\xee"
  17913. "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
  17914. "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
  17915. "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
  17916. "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
  17917. "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
  17918. "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
  17919. "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
  17920. "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
  17921. "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
  17922. "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
  17923. "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
  17924. "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
  17925. "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
  17926. "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
  17927. "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
  17928. "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
  17929. "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
  17930. .len = 512,
  17931. }
  17932. };
  17933. static const struct cipher_testvec aes_xts_tv_template[] = {
  17934. /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
  17935. { /* XTS-AES 1 */
  17936. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  17937. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17938. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17939. "\x00\x00\x00\x00\x00\x00\x00\x00",
  17940. .klen = 32,
  17941. .fips_skip = 1,
  17942. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  17943. "\x00\x00\x00\x00\x00\x00\x00\x00",
  17944. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  17945. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17946. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17947. "\x00\x00\x00\x00\x00\x00\x00\x00",
  17948. .ctext = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
  17949. "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
  17950. "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
  17951. "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
  17952. .len = 32,
  17953. }, { /* XTS-AES 2 */
  17954. .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
  17955. "\x11\x11\x11\x11\x11\x11\x11\x11"
  17956. "\x22\x22\x22\x22\x22\x22\x22\x22"
  17957. "\x22\x22\x22\x22\x22\x22\x22\x22",
  17958. .klen = 32,
  17959. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  17960. "\x00\x00\x00\x00\x00\x00\x00\x00",
  17961. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  17962. "\x44\x44\x44\x44\x44\x44\x44\x44"
  17963. "\x44\x44\x44\x44\x44\x44\x44\x44"
  17964. "\x44\x44\x44\x44\x44\x44\x44\x44",
  17965. .ctext = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
  17966. "\x39\x33\x40\x38\xac\xef\x83\x8b"
  17967. "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
  17968. "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
  17969. .len = 32,
  17970. }, { /* XTS-AES 3 */
  17971. .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
  17972. "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
  17973. "\x22\x22\x22\x22\x22\x22\x22\x22"
  17974. "\x22\x22\x22\x22\x22\x22\x22\x22",
  17975. .klen = 32,
  17976. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  17977. "\x00\x00\x00\x00\x00\x00\x00\x00",
  17978. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  17979. "\x44\x44\x44\x44\x44\x44\x44\x44"
  17980. "\x44\x44\x44\x44\x44\x44\x44\x44"
  17981. "\x44\x44\x44\x44\x44\x44\x44\x44",
  17982. .ctext = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
  17983. "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
  17984. "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
  17985. "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
  17986. .len = 32,
  17987. }, { /* XTS-AES 4 */
  17988. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  17989. "\x23\x53\x60\x28\x74\x71\x35\x26"
  17990. "\x31\x41\x59\x26\x53\x58\x97\x93"
  17991. "\x23\x84\x62\x64\x33\x83\x27\x95",
  17992. .klen = 32,
  17993. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  17994. "\x00\x00\x00\x00\x00\x00\x00\x00",
  17995. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17996. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  17997. "\x10\x11\x12\x13\x14\x15\x16\x17"
  17998. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  17999. "\x20\x21\x22\x23\x24\x25\x26\x27"
  18000. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  18001. "\x30\x31\x32\x33\x34\x35\x36\x37"
  18002. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  18003. "\x40\x41\x42\x43\x44\x45\x46\x47"
  18004. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  18005. "\x50\x51\x52\x53\x54\x55\x56\x57"
  18006. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  18007. "\x60\x61\x62\x63\x64\x65\x66\x67"
  18008. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  18009. "\x70\x71\x72\x73\x74\x75\x76\x77"
  18010. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  18011. "\x80\x81\x82\x83\x84\x85\x86\x87"
  18012. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  18013. "\x90\x91\x92\x93\x94\x95\x96\x97"
  18014. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  18015. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  18016. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  18017. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  18018. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  18019. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  18020. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  18021. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  18022. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  18023. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  18024. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  18025. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  18026. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  18027. "\x00\x01\x02\x03\x04\x05\x06\x07"
  18028. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  18029. "\x10\x11\x12\x13\x14\x15\x16\x17"
  18030. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  18031. "\x20\x21\x22\x23\x24\x25\x26\x27"
  18032. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  18033. "\x30\x31\x32\x33\x34\x35\x36\x37"
  18034. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  18035. "\x40\x41\x42\x43\x44\x45\x46\x47"
  18036. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  18037. "\x50\x51\x52\x53\x54\x55\x56\x57"
  18038. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  18039. "\x60\x61\x62\x63\x64\x65\x66\x67"
  18040. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  18041. "\x70\x71\x72\x73\x74\x75\x76\x77"
  18042. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  18043. "\x80\x81\x82\x83\x84\x85\x86\x87"
  18044. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  18045. "\x90\x91\x92\x93\x94\x95\x96\x97"
  18046. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  18047. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  18048. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  18049. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  18050. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  18051. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  18052. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  18053. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  18054. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  18055. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  18056. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  18057. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  18058. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  18059. .ctext = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
  18060. "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
  18061. "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
  18062. "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
  18063. "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
  18064. "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
  18065. "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
  18066. "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
  18067. "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
  18068. "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
  18069. "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
  18070. "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
  18071. "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
  18072. "\x22\x97\x61\x46\xae\x20\xce\x84"
  18073. "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
  18074. "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
  18075. "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
  18076. "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
  18077. "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
  18078. "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
  18079. "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
  18080. "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
  18081. "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
  18082. "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
  18083. "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
  18084. "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
  18085. "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
  18086. "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
  18087. "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
  18088. "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
  18089. "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
  18090. "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
  18091. "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
  18092. "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
  18093. "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
  18094. "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
  18095. "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
  18096. "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
  18097. "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
  18098. "\x55\xef\x52\x97\xca\x67\xe9\xf3"
  18099. "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
  18100. "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
  18101. "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
  18102. "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
  18103. "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
  18104. "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
  18105. "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
  18106. "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
  18107. "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
  18108. "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
  18109. "\x18\x84\x69\x77\xae\x11\x9f\x7a"
  18110. "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
  18111. "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
  18112. "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
  18113. "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
  18114. "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
  18115. "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
  18116. "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
  18117. "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
  18118. "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
  18119. "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
  18120. "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
  18121. "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
  18122. "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
  18123. .len = 512,
  18124. }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
  18125. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  18126. "\x23\x53\x60\x28\x74\x71\x35\x26"
  18127. "\x62\x49\x77\x57\x24\x70\x93\x69"
  18128. "\x99\x59\x57\x49\x66\x96\x76\x27"
  18129. "\x31\x41\x59\x26\x53\x58\x97\x93"
  18130. "\x23\x84\x62\x64\x33\x83\x27\x95"
  18131. "\x02\x88\x41\x97\x16\x93\x99\x37"
  18132. "\x51\x05\x82\x09\x74\x94\x45\x92",
  18133. .klen = 64,
  18134. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  18135. "\x00\x00\x00\x00\x00\x00\x00\x00",
  18136. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  18137. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  18138. "\x10\x11\x12\x13\x14\x15\x16\x17"
  18139. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  18140. "\x20\x21\x22\x23\x24\x25\x26\x27"
  18141. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  18142. "\x30\x31\x32\x33\x34\x35\x36\x37"
  18143. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  18144. "\x40\x41\x42\x43\x44\x45\x46\x47"
  18145. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  18146. "\x50\x51\x52\x53\x54\x55\x56\x57"
  18147. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  18148. "\x60\x61\x62\x63\x64\x65\x66\x67"
  18149. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  18150. "\x70\x71\x72\x73\x74\x75\x76\x77"
  18151. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  18152. "\x80\x81\x82\x83\x84\x85\x86\x87"
  18153. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  18154. "\x90\x91\x92\x93\x94\x95\x96\x97"
  18155. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  18156. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  18157. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  18158. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  18159. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  18160. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  18161. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  18162. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  18163. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  18164. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  18165. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  18166. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  18167. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  18168. "\x00\x01\x02\x03\x04\x05\x06\x07"
  18169. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  18170. "\x10\x11\x12\x13\x14\x15\x16\x17"
  18171. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  18172. "\x20\x21\x22\x23\x24\x25\x26\x27"
  18173. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  18174. "\x30\x31\x32\x33\x34\x35\x36\x37"
  18175. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  18176. "\x40\x41\x42\x43\x44\x45\x46\x47"
  18177. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  18178. "\x50\x51\x52\x53\x54\x55\x56\x57"
  18179. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  18180. "\x60\x61\x62\x63\x64\x65\x66\x67"
  18181. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  18182. "\x70\x71\x72\x73\x74\x75\x76\x77"
  18183. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  18184. "\x80\x81\x82\x83\x84\x85\x86\x87"
  18185. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  18186. "\x90\x91\x92\x93\x94\x95\x96\x97"
  18187. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  18188. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  18189. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  18190. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  18191. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  18192. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  18193. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  18194. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  18195. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  18196. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  18197. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  18198. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  18199. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  18200. .ctext = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
  18201. "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
  18202. "\xea\x00\x80\x3f\x5e\x48\x23\x57"
  18203. "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
  18204. "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
  18205. "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
  18206. "\x68\x0a\x86\xac\x35\xad\xfc\x33"
  18207. "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
  18208. "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
  18209. "\xb1\x08\xfd\x10\x98\xba\xec\x70"
  18210. "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
  18211. "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
  18212. "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
  18213. "\xae\xba\x12\x29\x61\xd0\x3a\x75"
  18214. "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
  18215. "\x00\x02\x08\x87\x89\x14\x29\xca"
  18216. "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
  18217. "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
  18218. "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
  18219. "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
  18220. "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
  18221. "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
  18222. "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
  18223. "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
  18224. "\x93\xec\x05\xc5\x2e\x04\x93\xef"
  18225. "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
  18226. "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
  18227. "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
  18228. "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
  18229. "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
  18230. "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
  18231. "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
  18232. "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
  18233. "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
  18234. "\xbc\x48\x14\x57\x77\x8f\x61\x60"
  18235. "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
  18236. "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
  18237. "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
  18238. "\xf4\xc3\x33\xec\x44\x23\x88\x51"
  18239. "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
  18240. "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
  18241. "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
  18242. "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
  18243. "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
  18244. "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
  18245. "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
  18246. "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
  18247. "\x92\x5f\xed\xc4\xae\x74\xff\xac"
  18248. "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
  18249. "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
  18250. "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
  18251. "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
  18252. "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
  18253. "\x94\x30\x54\xff\x84\x01\x14\x93"
  18254. "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
  18255. "\x53\x76\x44\x1a\x77\xed\x43\x85"
  18256. "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
  18257. "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
  18258. "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
  18259. "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
  18260. "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
  18261. "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
  18262. "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
  18263. "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
  18264. .len = 512,
  18265. }
  18266. };
  18267. static const struct cipher_testvec aes_ctr_tv_template[] = {
  18268. { /* From NIST Special Publication 800-38A, Appendix F.5 */
  18269. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  18270. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  18271. .klen = 16,
  18272. .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  18273. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  18274. .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  18275. "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
  18276. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  18277. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  18278. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  18279. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  18280. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  18281. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  18282. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  18283. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  18284. .ctext = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
  18285. "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
  18286. "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
  18287. "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
  18288. "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
  18289. "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
  18290. "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
  18291. "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
  18292. .len = 64,
  18293. }, {
  18294. .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  18295. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  18296. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  18297. .klen = 24,
  18298. .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  18299. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  18300. .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  18301. "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
  18302. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  18303. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  18304. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  18305. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  18306. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  18307. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  18308. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  18309. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  18310. .ctext = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
  18311. "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
  18312. "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
  18313. "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
  18314. "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
  18315. "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
  18316. "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
  18317. "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
  18318. .len = 64,
  18319. }, {
  18320. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  18321. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  18322. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  18323. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  18324. .klen = 32,
  18325. .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  18326. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  18327. .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  18328. "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
  18329. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  18330. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  18331. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  18332. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  18333. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  18334. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  18335. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  18336. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  18337. .ctext = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
  18338. "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
  18339. "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
  18340. "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
  18341. "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
  18342. "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
  18343. "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
  18344. "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
  18345. .len = 64,
  18346. }, { /* Generated with Crypto++ */
  18347. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
  18348. "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
  18349. "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
  18350. "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
  18351. .klen = 32,
  18352. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  18353. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  18354. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18355. "\x00\x00\x00\x00\x00\x00\x00\x1C",
  18356. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  18357. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  18358. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  18359. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  18360. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  18361. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  18362. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  18363. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  18364. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  18365. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  18366. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  18367. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  18368. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  18369. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  18370. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  18371. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  18372. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  18373. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  18374. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  18375. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  18376. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  18377. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  18378. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  18379. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  18380. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  18381. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  18382. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  18383. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  18384. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  18385. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  18386. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  18387. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  18388. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  18389. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  18390. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  18391. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  18392. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  18393. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  18394. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  18395. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  18396. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  18397. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  18398. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  18399. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  18400. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  18401. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  18402. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  18403. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  18404. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  18405. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  18406. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  18407. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  18408. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  18409. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  18410. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  18411. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  18412. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  18413. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  18414. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  18415. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  18416. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  18417. "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
  18418. .ctext = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
  18419. "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
  18420. "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
  18421. "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
  18422. "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
  18423. "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
  18424. "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
  18425. "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
  18426. "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
  18427. "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
  18428. "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
  18429. "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
  18430. "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
  18431. "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
  18432. "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
  18433. "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
  18434. "\x34\x4B\x31\x69\x84\x66\x96\x44"
  18435. "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
  18436. "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
  18437. "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
  18438. "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
  18439. "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
  18440. "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
  18441. "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
  18442. "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
  18443. "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
  18444. "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
  18445. "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
  18446. "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
  18447. "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
  18448. "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
  18449. "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
  18450. "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
  18451. "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
  18452. "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
  18453. "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
  18454. "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
  18455. "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
  18456. "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
  18457. "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
  18458. "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
  18459. "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
  18460. "\x85\x99\x22\xE8\x91\x38\x70\x83"
  18461. "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
  18462. "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
  18463. "\x2F\x69\xEE\x84\x36\x44\x76\x98"
  18464. "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
  18465. "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
  18466. "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
  18467. "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
  18468. "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
  18469. "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
  18470. "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
  18471. "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
  18472. "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
  18473. "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
  18474. "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
  18475. "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
  18476. "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
  18477. "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
  18478. "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
  18479. "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
  18480. .len = 496,
  18481. }, { /* Generated with Crypto++ */
  18482. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
  18483. "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
  18484. "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
  18485. "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
  18486. .klen = 32,
  18487. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
  18488. "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
  18489. .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
  18490. "\xE2\x7D\x18\xD6\x71\x0C\xA7\x62",
  18491. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  18492. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  18493. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  18494. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  18495. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  18496. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  18497. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  18498. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  18499. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  18500. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  18501. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  18502. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  18503. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  18504. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  18505. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  18506. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  18507. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  18508. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  18509. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  18510. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  18511. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  18512. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  18513. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  18514. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  18515. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  18516. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  18517. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  18518. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  18519. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  18520. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  18521. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  18522. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  18523. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  18524. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  18525. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  18526. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  18527. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  18528. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  18529. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  18530. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  18531. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  18532. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  18533. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  18534. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  18535. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  18536. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  18537. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  18538. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  18539. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  18540. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  18541. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  18542. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  18543. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  18544. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  18545. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  18546. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  18547. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  18548. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  18549. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  18550. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  18551. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  18552. "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
  18553. "\x7B\xE4\x4D",
  18554. .ctext = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
  18555. "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
  18556. "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
  18557. "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
  18558. "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
  18559. "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
  18560. "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
  18561. "\x75\xDE\x71\x86\x3C\x98\x23\x44"
  18562. "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
  18563. "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
  18564. "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
  18565. "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
  18566. "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
  18567. "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
  18568. "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
  18569. "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
  18570. "\xA8\x28\x69\x65\x31\xE1\x45\x83"
  18571. "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
  18572. "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
  18573. "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
  18574. "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
  18575. "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
  18576. "\x45\x18\x18\x74\x19\xAD\x71\x01"
  18577. "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
  18578. "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
  18579. "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
  18580. "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
  18581. "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
  18582. "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
  18583. "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
  18584. "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
  18585. "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
  18586. "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
  18587. "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
  18588. "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
  18589. "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
  18590. "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
  18591. "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
  18592. "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
  18593. "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
  18594. "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
  18595. "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
  18596. "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
  18597. "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
  18598. "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
  18599. "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
  18600. "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
  18601. "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
  18602. "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
  18603. "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
  18604. "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
  18605. "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
  18606. "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
  18607. "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
  18608. "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
  18609. "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
  18610. "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
  18611. "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
  18612. "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
  18613. "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
  18614. "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
  18615. "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
  18616. "\xFB\xF2\x3F",
  18617. .len = 499,
  18618. },
  18619. };
  18620. static const struct cipher_testvec aes_ctr_rfc3686_tv_template[] = {
  18621. { /* From RFC 3686 */
  18622. .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
  18623. "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
  18624. "\x00\x00\x00\x30",
  18625. .klen = 20,
  18626. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  18627. .ptext = "Single block msg",
  18628. .ctext = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
  18629. "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
  18630. .len = 16,
  18631. }, {
  18632. .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
  18633. "\x43\xd6\xce\x1f\x32\x53\x91\x63"
  18634. "\x00\x6c\xb6\xdb",
  18635. .klen = 20,
  18636. .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
  18637. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  18638. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  18639. "\x10\x11\x12\x13\x14\x15\x16\x17"
  18640. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  18641. .ctext = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
  18642. "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
  18643. "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
  18644. "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
  18645. .len = 32,
  18646. }, {
  18647. .key = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
  18648. "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
  18649. "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
  18650. "\x00\x00\x00\x48",
  18651. .klen = 28,
  18652. .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
  18653. .ptext = "Single block msg",
  18654. .ctext = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
  18655. "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
  18656. .len = 16,
  18657. }, {
  18658. .key = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
  18659. "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
  18660. "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
  18661. "\x00\x96\xb0\x3b",
  18662. .klen = 28,
  18663. .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
  18664. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  18665. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  18666. "\x10\x11\x12\x13\x14\x15\x16\x17"
  18667. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  18668. .ctext = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
  18669. "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
  18670. "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
  18671. "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
  18672. .len = 32,
  18673. }, {
  18674. .key = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
  18675. "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
  18676. "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
  18677. "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
  18678. "\x00\x00\x00\x60",
  18679. .klen = 36,
  18680. .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
  18681. .ptext = "Single block msg",
  18682. .ctext = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
  18683. "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
  18684. .len = 16,
  18685. }, {
  18686. .key = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
  18687. "\x07\x96\x36\x58\x79\xef\xf8\x86"
  18688. "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
  18689. "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
  18690. "\x00\xfa\xac\x24",
  18691. .klen = 36,
  18692. .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
  18693. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  18694. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  18695. "\x10\x11\x12\x13\x14\x15\x16\x17"
  18696. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  18697. .ctext = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
  18698. "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
  18699. "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
  18700. "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
  18701. .len = 32,
  18702. }, {
  18703. // generated using Crypto++
  18704. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  18705. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  18706. "\x10\x11\x12\x13\x14\x15\x16\x17"
  18707. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  18708. "\x00\x00\x00\x00",
  18709. .klen = 32 + 4,
  18710. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  18711. .ptext =
  18712. "\x00\x01\x02\x03\x04\x05\x06\x07"
  18713. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  18714. "\x10\x11\x12\x13\x14\x15\x16\x17"
  18715. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  18716. "\x20\x21\x22\x23\x24\x25\x26\x27"
  18717. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  18718. "\x30\x31\x32\x33\x34\x35\x36\x37"
  18719. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  18720. "\x40\x41\x42\x43\x44\x45\x46\x47"
  18721. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  18722. "\x50\x51\x52\x53\x54\x55\x56\x57"
  18723. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  18724. "\x60\x61\x62\x63\x64\x65\x66\x67"
  18725. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  18726. "\x70\x71\x72\x73\x74\x75\x76\x77"
  18727. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  18728. "\x80\x81\x82\x83\x84\x85\x86\x87"
  18729. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  18730. "\x90\x91\x92\x93\x94\x95\x96\x97"
  18731. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  18732. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  18733. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  18734. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  18735. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  18736. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  18737. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  18738. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  18739. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  18740. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  18741. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  18742. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  18743. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  18744. "\x00\x03\x06\x09\x0c\x0f\x12\x15"
  18745. "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
  18746. "\x30\x33\x36\x39\x3c\x3f\x42\x45"
  18747. "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
  18748. "\x60\x63\x66\x69\x6c\x6f\x72\x75"
  18749. "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
  18750. "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
  18751. "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
  18752. "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
  18753. "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
  18754. "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
  18755. "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
  18756. "\x20\x23\x26\x29\x2c\x2f\x32\x35"
  18757. "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
  18758. "\x50\x53\x56\x59\x5c\x5f\x62\x65"
  18759. "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
  18760. "\x80\x83\x86\x89\x8c\x8f\x92\x95"
  18761. "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
  18762. "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
  18763. "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
  18764. "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
  18765. "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
  18766. "\x10\x13\x16\x19\x1c\x1f\x22\x25"
  18767. "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
  18768. "\x40\x43\x46\x49\x4c\x4f\x52\x55"
  18769. "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
  18770. "\x70\x73\x76\x79\x7c\x7f\x82\x85"
  18771. "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
  18772. "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
  18773. "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
  18774. "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
  18775. "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
  18776. "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
  18777. "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
  18778. "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
  18779. "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
  18780. "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
  18781. "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
  18782. "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
  18783. "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
  18784. "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
  18785. "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
  18786. "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
  18787. "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
  18788. "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
  18789. "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
  18790. "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
  18791. "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
  18792. "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
  18793. "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
  18794. "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
  18795. "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
  18796. "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
  18797. "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
  18798. "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
  18799. "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
  18800. "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
  18801. "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
  18802. "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
  18803. "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
  18804. "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
  18805. "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
  18806. "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
  18807. "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
  18808. "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
  18809. "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
  18810. "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
  18811. "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
  18812. "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
  18813. "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
  18814. "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
  18815. "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
  18816. "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
  18817. "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
  18818. "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
  18819. "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
  18820. "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
  18821. "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
  18822. "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
  18823. "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
  18824. "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
  18825. "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
  18826. "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
  18827. "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
  18828. "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
  18829. "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
  18830. "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
  18831. "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
  18832. "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
  18833. "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
  18834. "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
  18835. "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
  18836. "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
  18837. "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
  18838. "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
  18839. "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
  18840. "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
  18841. "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
  18842. "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
  18843. "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
  18844. "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
  18845. "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
  18846. "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
  18847. "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
  18848. "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
  18849. "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
  18850. "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
  18851. "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
  18852. "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
  18853. "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
  18854. "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
  18855. "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
  18856. "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
  18857. "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
  18858. "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
  18859. "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
  18860. "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
  18861. "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
  18862. "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
  18863. "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
  18864. "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
  18865. "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
  18866. "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
  18867. "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
  18868. "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
  18869. "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
  18870. "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
  18871. "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
  18872. "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
  18873. "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
  18874. "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
  18875. "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
  18876. "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
  18877. "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
  18878. "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
  18879. "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
  18880. "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
  18881. "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
  18882. "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
  18883. "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
  18884. "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
  18885. "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
  18886. "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
  18887. "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
  18888. "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
  18889. "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
  18890. "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
  18891. "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
  18892. "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
  18893. "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
  18894. "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
  18895. "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
  18896. "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
  18897. "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
  18898. "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
  18899. "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
  18900. "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
  18901. "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
  18902. "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
  18903. "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
  18904. "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
  18905. "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
  18906. "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
  18907. "\x38\x45\x52\x5f\x6c\x79\x86\x93"
  18908. "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
  18909. "\x08\x15\x22\x2f\x3c\x49\x56\x63"
  18910. "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
  18911. "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
  18912. "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
  18913. "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
  18914. "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
  18915. "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
  18916. "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
  18917. "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
  18918. "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
  18919. "\x18\x25\x32\x3f\x4c\x59\x66\x73"
  18920. "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
  18921. "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
  18922. "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
  18923. "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
  18924. "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
  18925. "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
  18926. "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
  18927. "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
  18928. "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
  18929. "\x28\x35\x42\x4f\x5c\x69\x76\x83"
  18930. "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
  18931. "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
  18932. "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
  18933. "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
  18934. "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
  18935. "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
  18936. "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
  18937. "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
  18938. "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
  18939. "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
  18940. "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
  18941. "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
  18942. "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
  18943. "\x48\x57\x66\x75\x84\x93\xa2\xb1"
  18944. "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
  18945. "\x38\x47\x56\x65\x74\x83\x92\xa1"
  18946. "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
  18947. "\x28\x37\x46\x55\x64\x73\x82\x91"
  18948. "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
  18949. "\x18\x27\x36\x45\x54\x63\x72\x81"
  18950. "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
  18951. "\x08\x17\x26\x35\x44\x53\x62\x71"
  18952. "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
  18953. "\xf8\x07\x16\x25\x34\x43\x52\x61"
  18954. "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
  18955. "\xe8\xf7\x06\x15\x24\x33\x42\x51"
  18956. "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
  18957. "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
  18958. "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
  18959. "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
  18960. "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
  18961. "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
  18962. "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
  18963. "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
  18964. "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
  18965. "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
  18966. "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
  18967. "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
  18968. "\x00\x11\x22\x33\x44\x55\x66\x77"
  18969. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
  18970. "\x10\x21\x32\x43\x54\x65\x76\x87"
  18971. "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
  18972. "\x20\x31\x42\x53\x64\x75\x86\x97"
  18973. "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
  18974. "\x30\x41\x52\x63\x74\x85\x96\xa7"
  18975. "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
  18976. "\x40\x51\x62\x73\x84\x95\xa6\xb7"
  18977. "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
  18978. "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
  18979. "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
  18980. "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
  18981. "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
  18982. "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
  18983. "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
  18984. "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
  18985. "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
  18986. "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
  18987. "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
  18988. "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
  18989. "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
  18990. "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
  18991. "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
  18992. "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
  18993. "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
  18994. "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
  18995. "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
  18996. "\xe0\xf1\x02\x13\x24\x35\x46\x57"
  18997. "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
  18998. "\xf0\x01\x12\x23\x34\x45\x56\x67"
  18999. "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
  19000. "\x00\x13\x26\x39\x4c\x5f\x72\x85"
  19001. "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
  19002. "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
  19003. "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
  19004. "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
  19005. "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
  19006. "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
  19007. "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
  19008. "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
  19009. "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
  19010. "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
  19011. "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
  19012. "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
  19013. "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
  19014. "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
  19015. "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
  19016. "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
  19017. "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
  19018. "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
  19019. "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
  19020. "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
  19021. "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
  19022. "\x10\x23\x36\x49\x5c\x6f\x82\x95"
  19023. "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
  19024. "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
  19025. "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
  19026. "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
  19027. "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
  19028. "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
  19029. "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
  19030. "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
  19031. "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
  19032. "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
  19033. "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
  19034. "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
  19035. "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
  19036. "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
  19037. "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
  19038. "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
  19039. "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
  19040. "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
  19041. "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
  19042. "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
  19043. "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
  19044. "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
  19045. "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
  19046. "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
  19047. "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
  19048. "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
  19049. "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
  19050. "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
  19051. "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
  19052. "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
  19053. "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
  19054. "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
  19055. "\x18\x2d\x42\x57\x6c\x81\x96\xab"
  19056. "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
  19057. "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
  19058. "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
  19059. "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
  19060. "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
  19061. "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
  19062. "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
  19063. "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
  19064. "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
  19065. "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
  19066. "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
  19067. "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
  19068. "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
  19069. "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
  19070. "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
  19071. "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
  19072. "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
  19073. "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
  19074. "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
  19075. "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
  19076. "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
  19077. "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
  19078. "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
  19079. "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
  19080. "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
  19081. "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
  19082. "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
  19083. "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
  19084. "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
  19085. "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
  19086. "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
  19087. "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
  19088. "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
  19089. "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
  19090. "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
  19091. "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
  19092. "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
  19093. "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
  19094. "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
  19095. "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
  19096. "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
  19097. "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
  19098. "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
  19099. "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
  19100. "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
  19101. "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
  19102. "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
  19103. "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
  19104. "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
  19105. "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
  19106. "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
  19107. "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
  19108. "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
  19109. "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
  19110. "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
  19111. "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
  19112. "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
  19113. "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
  19114. "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
  19115. "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
  19116. "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
  19117. "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
  19118. "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
  19119. "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
  19120. "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
  19121. "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
  19122. "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
  19123. "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
  19124. "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
  19125. "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
  19126. "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
  19127. "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
  19128. "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
  19129. "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
  19130. "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
  19131. "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
  19132. "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
  19133. "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
  19134. "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
  19135. "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
  19136. "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
  19137. "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
  19138. "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
  19139. "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
  19140. "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
  19141. "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
  19142. "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
  19143. "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
  19144. "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
  19145. "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
  19146. "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
  19147. "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
  19148. "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
  19149. "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
  19150. "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
  19151. "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
  19152. "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
  19153. "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
  19154. "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
  19155. "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
  19156. "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
  19157. "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
  19158. "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
  19159. "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
  19160. "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
  19161. "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
  19162. "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
  19163. "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
  19164. "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
  19165. "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
  19166. "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
  19167. "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
  19168. "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
  19169. "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
  19170. "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
  19171. "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
  19172. "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
  19173. "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
  19174. "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
  19175. "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
  19176. "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
  19177. "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
  19178. "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
  19179. "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
  19180. "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
  19181. "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
  19182. "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
  19183. "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
  19184. "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
  19185. "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
  19186. "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
  19187. "\x78\x95\xb2\xcf\xec\x09\x26\x43"
  19188. "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
  19189. "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
  19190. "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
  19191. "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
  19192. "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
  19193. "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
  19194. "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
  19195. "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
  19196. "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
  19197. "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
  19198. "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
  19199. "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
  19200. "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
  19201. "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
  19202. "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
  19203. "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
  19204. "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
  19205. "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
  19206. "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
  19207. "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
  19208. "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
  19209. "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
  19210. "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
  19211. "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
  19212. "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
  19213. "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
  19214. "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
  19215. "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
  19216. "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
  19217. "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
  19218. "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
  19219. "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
  19220. "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
  19221. "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
  19222. "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
  19223. "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
  19224. "\x00\x21\x42\x63",
  19225. .ctext =
  19226. "\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
  19227. "\xae\xff\x91\x3a\x44\xcf\x38\x32"
  19228. "\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
  19229. "\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
  19230. "\xf2\x62\x74\x70\x0c\xa4\x46\x08"
  19231. "\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
  19232. "\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
  19233. "\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
  19234. "\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
  19235. "\x18\xff\x75\x6d\x06\x2d\x00\xab"
  19236. "\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
  19237. "\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
  19238. "\x3d\x74\x54\xfa\x44\xcd\x23\x26"
  19239. "\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
  19240. "\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
  19241. "\x61\x00\x1c\x4f\xff\x59\xc4\x22"
  19242. "\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
  19243. "\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
  19244. "\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
  19245. "\x84\xff\x42\x60\xdc\x3a\x18\xa5"
  19246. "\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
  19247. "\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
  19248. "\x8f\xd3\x76\x96\xad\x49\x6d\x38"
  19249. "\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
  19250. "\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
  19251. "\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
  19252. "\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
  19253. "\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
  19254. "\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
  19255. "\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
  19256. "\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
  19257. "\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
  19258. "\x78\x6b\x01\xc9\xc7\x83\xba\x21"
  19259. "\x6a\x25\x15\x33\x4e\x45\x08\xec"
  19260. "\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
  19261. "\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
  19262. "\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
  19263. "\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
  19264. "\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
  19265. "\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
  19266. "\xc8\x53\x07\xaf\x80\x84\xec\xfd"
  19267. "\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
  19268. "\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
  19269. "\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
  19270. "\x06\x51\x48\x4e\xf6\x59\x87\xd2"
  19271. "\x04\x02\xef\xd3\x44\xde\x76\x31"
  19272. "\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
  19273. "\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
  19274. "\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
  19275. "\x65\x83\xd0\x3b\xe3\x30\xea\x94"
  19276. "\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
  19277. "\xb4\x01\xab\x36\x2c\x77\x13\xaf"
  19278. "\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
  19279. "\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
  19280. "\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
  19281. "\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
  19282. "\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
  19283. "\x93\x97\xc6\x48\x45\x1d\x9f\x83"
  19284. "\xdf\x4b\x40\x3e\x42\x25\x87\x80"
  19285. "\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
  19286. "\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
  19287. "\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
  19288. "\x32\x03\xed\xf0\x50\x1c\x56\x39"
  19289. "\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
  19290. "\x53\xfc\x2a\x38\x23\x15\x75\xcd"
  19291. "\x45\xe5\x5a\x82\x55\xba\x21\xfa"
  19292. "\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
  19293. "\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
  19294. "\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
  19295. "\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
  19296. "\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
  19297. "\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
  19298. "\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
  19299. "\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
  19300. "\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
  19301. "\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
  19302. "\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
  19303. "\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
  19304. "\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
  19305. "\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
  19306. "\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
  19307. "\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
  19308. "\x69\x3a\x29\x23\xac\x86\x32\xa5"
  19309. "\x48\x9c\x9e\xf3\x47\x77\x81\x70"
  19310. "\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
  19311. "\x59\x6a\xd3\x50\x59\x43\x59\xde"
  19312. "\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
  19313. "\x18\x34\x0d\x1a\x63\x33\xed\x10"
  19314. "\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
  19315. "\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
  19316. "\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
  19317. "\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
  19318. "\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
  19319. "\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
  19320. "\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
  19321. "\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
  19322. "\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
  19323. "\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
  19324. "\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
  19325. "\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
  19326. "\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
  19327. "\xe8\x99\x57\x8c\x11\xed\x66\xd9"
  19328. "\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
  19329. "\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
  19330. "\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
  19331. "\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
  19332. "\x64\x76\x38\x49\x4d\xfe\x30\x6d"
  19333. "\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
  19334. "\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
  19335. "\x28\xa2\x82\x1f\x61\x69\xad\xc1"
  19336. "\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
  19337. "\x51\xb5\x17\x7f\x12\x69\x8c\x24"
  19338. "\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
  19339. "\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
  19340. "\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
  19341. "\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
  19342. "\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
  19343. "\x4d\x29\x77\x53\x35\x6a\x00\x8d"
  19344. "\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
  19345. "\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
  19346. "\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
  19347. "\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
  19348. "\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
  19349. "\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
  19350. "\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
  19351. "\x26\x39\x83\x94\xef\x27\xd8\x53"
  19352. "\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
  19353. "\x43\x7c\x95\x0a\x53\xef\x66\xda"
  19354. "\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
  19355. "\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
  19356. "\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
  19357. "\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
  19358. "\x88\xee\x73\xcf\x66\x2f\x52\x56"
  19359. "\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
  19360. "\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
  19361. "\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
  19362. "\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
  19363. "\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
  19364. "\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
  19365. "\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
  19366. "\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
  19367. "\xba\x61\x34\x38\x7c\xda\x48\x3e"
  19368. "\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
  19369. "\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
  19370. "\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
  19371. "\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
  19372. "\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
  19373. "\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
  19374. "\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
  19375. "\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
  19376. "\x35\x12\xe3\x36\x28\x27\x36\x58"
  19377. "\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
  19378. "\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
  19379. "\x2b\x9f\x96\x00\x86\x60\xf0\x21"
  19380. "\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
  19381. "\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
  19382. "\x9d\x62\x79\x58\x52\xe6\x65\xb7"
  19383. "\xab\x55\x67\x9c\x89\x7c\x03\xb0"
  19384. "\x73\x59\xc5\x81\xf5\x18\x17\x5c"
  19385. "\x89\xf3\x78\x35\x44\x62\x78\x72"
  19386. "\xd0\x96\xeb\x31\xe7\x87\x77\x14"
  19387. "\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
  19388. "\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
  19389. "\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
  19390. "\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
  19391. "\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
  19392. "\xfb\x79\x2e\x04\x2d\x50\x28\x83"
  19393. "\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
  19394. "\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
  19395. "\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
  19396. "\xd2\x49\x77\x81\x6d\x90\x70\xae"
  19397. "\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
  19398. "\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
  19399. "\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
  19400. "\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
  19401. "\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
  19402. "\x45\x42\x27\x75\x50\xe5\xee\xb8"
  19403. "\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
  19404. "\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
  19405. "\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
  19406. "\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
  19407. "\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
  19408. "\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
  19409. "\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
  19410. "\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
  19411. "\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
  19412. "\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
  19413. "\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
  19414. "\xa9\x21\x2b\x92\x94\x87\x62\x57"
  19415. "\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
  19416. "\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
  19417. "\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
  19418. "\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
  19419. "\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
  19420. "\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
  19421. "\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
  19422. "\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
  19423. "\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
  19424. "\x69\x34\x78\x61\x24\x21\x9c\x8a"
  19425. "\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
  19426. "\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
  19427. "\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
  19428. "\x8a\x59\x94\x3c\xcf\x36\x27\x82"
  19429. "\xc2\x45\xee\x58\xcd\x88\xb4\xec"
  19430. "\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
  19431. "\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
  19432. "\xb1\x95\x28\x86\x20\xe9\x17\x49"
  19433. "\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
  19434. "\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
  19435. "\xdb\x7c\x73\x10\xb9\xba\x89\x76"
  19436. "\x54\xae\x7d\x71\xb3\x93\xf6\x32"
  19437. "\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
  19438. "\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
  19439. "\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
  19440. "\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
  19441. "\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
  19442. "\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
  19443. "\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
  19444. "\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
  19445. "\x79\x00\xa8\x6c\x29\xd9\x18\x24"
  19446. "\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
  19447. "\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
  19448. "\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
  19449. "\x26\x2c\x39\x52\x89\x98\xe7\x2c"
  19450. "\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
  19451. "\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
  19452. "\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
  19453. "\x32\x4d\xed\xab\xfa\x98\x14\x4e"
  19454. "\xc3\x15\x45\x53\x61\xc4\x93\xbd"
  19455. "\x90\xf4\x99\x95\x4c\xe6\x76\x92"
  19456. "\x29\x90\x46\x30\x92\x69\x7d\x13"
  19457. "\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
  19458. "\x63\x40\x36\x5f\x09\xe2\x78\xf8"
  19459. "\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
  19460. "\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
  19461. "\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
  19462. "\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
  19463. "\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
  19464. "\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
  19465. "\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
  19466. "\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
  19467. "\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
  19468. "\x05\xc4\xa6\x96\xec\x05\x98\x4f"
  19469. "\x96\x67\x57\x1f\x20\x86\x1b\x2d"
  19470. "\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
  19471. "\x88\x26\x2c\x67\x02\x4b\x52\xd0"
  19472. "\x83\x7a\x43\x1f\xc0\x71\x15\x25"
  19473. "\x77\x65\x08\x60\x11\x76\x4c\x8d"
  19474. "\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
  19475. "\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
  19476. "\x03\xd1\x24\x95\xec\x6d\xab\x38"
  19477. "\x72\xce\xe2\x8b\x33\xd7\x51\x09"
  19478. "\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
  19479. "\x84\xdc\x73\x73\x2d\x1b\x11\x98"
  19480. "\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
  19481. "\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
  19482. "\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
  19483. "\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
  19484. "\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
  19485. "\x62\x8f\x7a\x73\x32\xab\xc8\x18"
  19486. "\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
  19487. "\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
  19488. "\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
  19489. "\xde\x39\xa4\x01\x72\x63\xf3\xd1"
  19490. "\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
  19491. "\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
  19492. "\x16\xf7\xcd\x92\x9a\x99\x30\x14"
  19493. "\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
  19494. "\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
  19495. "\xe5\x79\x81\x73\xcd\x43\x59\x68"
  19496. "\x73\x02\x3b\x78\x21\x72\x43\x00"
  19497. "\x49\x17\xf7\x00\xaf\x68\x24\x53"
  19498. "\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
  19499. "\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
  19500. "\x11\x94\x13\x69\x51\x09\x28\xde"
  19501. "\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
  19502. "\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
  19503. "\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
  19504. "\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
  19505. "\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
  19506. "\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
  19507. "\x62\x03\x43\xf1\x87\xb4\xb0\x85"
  19508. "\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
  19509. "\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
  19510. "\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
  19511. "\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
  19512. "\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
  19513. "\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
  19514. "\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
  19515. "\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
  19516. "\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
  19517. "\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
  19518. "\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
  19519. "\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
  19520. "\x69\xdc\xab\x24\x57\x60\x47\xc1"
  19521. "\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
  19522. "\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
  19523. "\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
  19524. "\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
  19525. "\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
  19526. "\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
  19527. "\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
  19528. "\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
  19529. "\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
  19530. "\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
  19531. "\x63\x19\x3d\xd5\xec\x1b\x77\x69"
  19532. "\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
  19533. "\x85\x62\x82\x70\x18\xe2\x9a\x78"
  19534. "\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
  19535. "\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
  19536. "\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
  19537. "\x35\xf3\x61\x06\x72\x84\xc4\x32"
  19538. "\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
  19539. "\x04\xc2\xde\x57\x64\x60\x8d\xcf"
  19540. "\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
  19541. "\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
  19542. "\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
  19543. "\xb3\x71\xa0\xde\xca\x96\xf1\x78"
  19544. "\x49\xa2\x99\x81\x80\x5c\x01\xf5"
  19545. "\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
  19546. "\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
  19547. "\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
  19548. "\x4f\x73\x38\x09\x75\x64\x48\xe0"
  19549. "\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
  19550. "\xfe\x16\x26\x62\x49\x74\xf4\xb0"
  19551. "\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
  19552. "\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
  19553. "\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
  19554. "\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
  19555. "\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
  19556. "\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
  19557. "\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
  19558. "\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
  19559. "\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
  19560. "\xef\xa0\x54\xe4\x5e\x16\x53\x81"
  19561. "\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
  19562. "\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
  19563. "\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
  19564. "\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
  19565. "\x53\x5d\x86\xd6\xde\x65\xca\xe3"
  19566. "\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
  19567. "\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
  19568. "\x37\x7a\x93\x7a\x50\x11\x9f\x96"
  19569. "\x86\x25\xfd\xac\xdc\xbe\x18\x93"
  19570. "\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
  19571. "\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
  19572. "\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
  19573. "\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
  19574. "\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
  19575. "\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
  19576. "\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
  19577. "\xce\x4d\x5f\x18\x60\xce\x87\x22"
  19578. "\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
  19579. "\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
  19580. "\x32\xd8\xaf\x1e\x07\x77\x51\x96"
  19581. "\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
  19582. "\xea\x17\x0b\x10\xd2\x3f\x28\x25"
  19583. "\x4f\x05\x77\x02\x14\x69\xf0\x2c"
  19584. "\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
  19585. "\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
  19586. "\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
  19587. "\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
  19588. "\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
  19589. "\x64\xc0\x64\xda\xb1\xae\xdd\x60"
  19590. "\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
  19591. "\x92\x61\xd0\x48\x81\xed\x5e\x1d"
  19592. "\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
  19593. "\x7f\x83\x73\xb6\x70\x18\x65\x3e"
  19594. "\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
  19595. "\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
  19596. "\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
  19597. "\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
  19598. "\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
  19599. "\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
  19600. "\xa7\x22\xec\xe2\x7e\x29\x09\x53"
  19601. "\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
  19602. "\xce\x54\xf9\x18\x58\xb5\xff\x44"
  19603. "\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
  19604. "\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
  19605. "\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
  19606. "\xff\xfd\xb0\x21\x6e\x57\x05\x75"
  19607. "\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
  19608. "\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
  19609. "\x80\x8c\xc8\x78\x40\x24\x4b\x89"
  19610. "\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
  19611. "\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
  19612. "\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
  19613. "\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
  19614. "\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
  19615. "\x0c\xd6\x04\x14\xde\x51\x74\x75"
  19616. "\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
  19617. "\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
  19618. "\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
  19619. "\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
  19620. "\x75\x46\x65\x4e\x07\x34\x37\xa3"
  19621. "\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
  19622. "\x69\x24\x0e\x38\x67\x43\x8c\xde"
  19623. "\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
  19624. "\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
  19625. "\x64\xb1\xdb\xee\x00\x50\x77\xe1"
  19626. "\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
  19627. "\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
  19628. "\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
  19629. "\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
  19630. "\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
  19631. "\x91\x7d\x62\x64\x96\x72\xde\xfc"
  19632. "\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
  19633. "\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
  19634. "\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
  19635. "\x98\x81\x84\x4f\x15\x5c\x76\xe7"
  19636. "\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
  19637. "\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
  19638. "\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
  19639. "\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
  19640. "\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
  19641. "\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
  19642. "\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
  19643. "\xb1\xb2\x52\x94\x75\x2c\x29\x59"
  19644. "\x06\xc2\x25\xe8\x71\x65\x4e\xed"
  19645. "\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
  19646. "\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
  19647. "\xe0\x50\x40\x96\x35\x63\xe4\x0b"
  19648. "\x76\xbd\xa4\x65\x00\x1b\x57\x88"
  19649. "\xae\xed\x39\x88\x42\x11\x3c\xed"
  19650. "\x85\x67\x7d\xb9\x68\x82\xe9\x43"
  19651. "\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
  19652. "\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
  19653. "\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
  19654. "\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
  19655. "\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
  19656. "\xce\x20\x56\x32\xc6\xc5\x99\x1f"
  19657. "\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
  19658. "\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
  19659. "\x66\xf8\x3d\x18\x74\x70\x66\x7a"
  19660. "\x34\x17\xde\xba\x47\xf1\x06\x18"
  19661. "\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
  19662. "\xe0\x3b\x78\x62\x66\xc9\x10\xea"
  19663. "\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
  19664. "\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
  19665. "\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
  19666. "\x63\x4f\x20\x0c\x07\x17\x33\x5e"
  19667. "\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
  19668. "\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
  19669. "\x58\xef\x15\xa9\x83\xd9\x46\xb1"
  19670. "\x42\xaa\xf5\x02\x6c\xce\x92\x06"
  19671. "\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
  19672. "\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
  19673. "\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
  19674. "\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
  19675. "\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
  19676. "\xb6\x67\xc7\x77\xed\x23\xef\x4c"
  19677. "\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
  19678. "\x34\x37\x08\xab\xd9\x1f\x09\xb1"
  19679. "\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
  19680. "\x2c\x56\x39\x79\x0f\x69\x44\x75"
  19681. "\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
  19682. "\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
  19683. "\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
  19684. "\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
  19685. "\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
  19686. "\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
  19687. "\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
  19688. "\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
  19689. "\x63\x9b\xce\x61\x24\x79\xc0\x70"
  19690. "\x52\xd0\xb6\xd4\x28\x95\x24\x87"
  19691. "\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
  19692. "\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
  19693. "\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
  19694. "\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
  19695. "\x74\x56\x58\x40\x02\x37\x52\x2c"
  19696. "\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
  19697. "\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
  19698. "\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
  19699. "\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
  19700. "\x24\x90\xec\x58\xd2\x09\xc7\x2d"
  19701. "\xed\x38\x80\x36\x72\x43\x27\x49"
  19702. "\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
  19703. "\x7d\xb6\x82\x37\x86\x92\x86\x3e"
  19704. "\x08\xb2\x28\x5a\x55\x44\x24\x7d"
  19705. "\x40\x48\x8a\xb6\x89\x58\x08\xa0"
  19706. "\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
  19707. "\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
  19708. "\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
  19709. "\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
  19710. "\x14\x32\x45\x05\xe0\xdb\x9f\x75"
  19711. "\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
  19712. "\x12\xee\x30\xfe\xd8\x30\xef\x34"
  19713. "\x50\xab\x46\x30\x98\x2f\xb7\xc0"
  19714. "\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
  19715. "\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
  19716. "\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
  19717. "\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
  19718. "\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
  19719. "\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
  19720. "\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
  19721. "\x02\x9d\x27\x1f\xef\x85\x05\x8d"
  19722. "\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
  19723. "\xa1\x75\xa0\xd8\x06\x47\x14\xef"
  19724. "\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
  19725. "\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
  19726. "\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
  19727. "\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
  19728. "\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
  19729. "\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
  19730. "\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
  19731. "\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
  19732. "\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
  19733. "\x44\x12\xfb\x73\x77\xd4\x13\x39"
  19734. "\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
  19735. "\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
  19736. "\x41\x01\x18\x5d\x5d\x07\x97\xa6"
  19737. "\x4b\xef\x31\x18\xea\xac\xb1\x84"
  19738. "\x21\xed\xda\x86",
  19739. .len = 4100,
  19740. },
  19741. };
  19742. static const struct cipher_testvec aes_ofb_tv_template[] = {
  19743. { /* From NIST Special Publication 800-38A, Appendix F.5 */
  19744. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  19745. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  19746. .klen = 16,
  19747. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
  19748. "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  19749. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  19750. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  19751. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  19752. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  19753. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  19754. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  19755. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  19756. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  19757. .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
  19758. "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
  19759. "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
  19760. "\x3c\x52\xda\xc5\x4e\xd8\x25"
  19761. "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
  19762. "\x44\xf7\xa8\x22\x60\xed\xcc"
  19763. "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
  19764. "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
  19765. .len = 64,
  19766. }, { /* > 16 bytes, not a multiple of 16 bytes */
  19767. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  19768. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  19769. .klen = 16,
  19770. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  19771. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  19772. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  19773. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  19774. "\xae",
  19775. .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
  19776. "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
  19777. "\x77",
  19778. .len = 17,
  19779. }, { /* < 16 bytes */
  19780. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  19781. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  19782. .klen = 16,
  19783. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  19784. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  19785. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f",
  19786. .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad",
  19787. .len = 7,
  19788. }
  19789. };
  19790. static const struct aead_testvec aes_gcm_tv_template[] = {
  19791. { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
  19792. .key = zeroed_string,
  19793. .klen = 16,
  19794. .ctext = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
  19795. "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
  19796. .clen = 16,
  19797. }, {
  19798. .key = zeroed_string,
  19799. .klen = 16,
  19800. .ptext = zeroed_string,
  19801. .plen = 16,
  19802. .ctext = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
  19803. "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
  19804. "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
  19805. "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
  19806. .clen = 32,
  19807. }, {
  19808. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  19809. "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
  19810. .klen = 16,
  19811. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  19812. "\xde\xca\xf8\x88",
  19813. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  19814. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  19815. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  19816. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  19817. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  19818. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  19819. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  19820. "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
  19821. .plen = 64,
  19822. .ctext = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
  19823. "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
  19824. "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
  19825. "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
  19826. "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
  19827. "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
  19828. "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
  19829. "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
  19830. "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
  19831. "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
  19832. .clen = 80,
  19833. }, {
  19834. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  19835. "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
  19836. .klen = 16,
  19837. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  19838. "\xde\xca\xf8\x88",
  19839. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  19840. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  19841. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  19842. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  19843. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  19844. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  19845. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  19846. "\xba\x63\x7b\x39",
  19847. .plen = 60,
  19848. .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  19849. "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  19850. "\xab\xad\xda\xd2",
  19851. .alen = 20,
  19852. .ctext = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
  19853. "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
  19854. "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
  19855. "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
  19856. "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
  19857. "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
  19858. "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
  19859. "\x3d\x58\xe0\x91"
  19860. "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
  19861. "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
  19862. .clen = 76,
  19863. }, {
  19864. .key = zeroed_string,
  19865. .klen = 24,
  19866. .ctext = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
  19867. "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
  19868. .clen = 16,
  19869. }, {
  19870. .key = zeroed_string,
  19871. .klen = 24,
  19872. .ptext = zeroed_string,
  19873. .plen = 16,
  19874. .ctext = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
  19875. "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
  19876. "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
  19877. "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
  19878. .clen = 32,
  19879. }, {
  19880. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  19881. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  19882. "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
  19883. .klen = 24,
  19884. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  19885. "\xde\xca\xf8\x88",
  19886. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  19887. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  19888. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  19889. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  19890. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  19891. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  19892. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  19893. "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
  19894. .plen = 64,
  19895. .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
  19896. "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
  19897. "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
  19898. "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
  19899. "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
  19900. "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
  19901. "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
  19902. "\xcc\xda\x27\x10\xac\xad\xe2\x56"
  19903. "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
  19904. "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
  19905. .clen = 80,
  19906. }, {
  19907. .key = zeroed_string,
  19908. .klen = 32,
  19909. .ctext = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
  19910. "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
  19911. .clen = 16,
  19912. }, {
  19913. .key = zeroed_string,
  19914. .klen = 32,
  19915. .ptext = zeroed_string,
  19916. .plen = 16,
  19917. .ctext = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
  19918. "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
  19919. "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
  19920. "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
  19921. .clen = 32,
  19922. }, {
  19923. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  19924. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  19925. "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  19926. "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
  19927. .klen = 32,
  19928. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  19929. "\xde\xca\xf8\x88",
  19930. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  19931. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  19932. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  19933. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  19934. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  19935. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  19936. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  19937. "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
  19938. .plen = 64,
  19939. .ctext = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
  19940. "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
  19941. "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
  19942. "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
  19943. "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
  19944. "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
  19945. "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
  19946. "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
  19947. "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
  19948. "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
  19949. .clen = 80,
  19950. }, {
  19951. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  19952. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  19953. "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  19954. "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
  19955. .klen = 32,
  19956. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  19957. "\xde\xca\xf8\x88",
  19958. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  19959. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  19960. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  19961. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  19962. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  19963. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  19964. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  19965. "\xba\x63\x7b\x39",
  19966. .plen = 60,
  19967. .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  19968. "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  19969. "\xab\xad\xda\xd2",
  19970. .alen = 20,
  19971. .ctext = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
  19972. "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
  19973. "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
  19974. "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
  19975. "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
  19976. "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
  19977. "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
  19978. "\xbc\xc9\xf6\x62"
  19979. "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
  19980. "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
  19981. .clen = 76,
  19982. }, {
  19983. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  19984. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  19985. "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
  19986. .klen = 24,
  19987. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  19988. "\xde\xca\xf8\x88",
  19989. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  19990. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  19991. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  19992. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  19993. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  19994. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  19995. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  19996. "\xba\x63\x7b\x39",
  19997. .plen = 60,
  19998. .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  19999. "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  20000. "\xab\xad\xda\xd2",
  20001. .alen = 20,
  20002. .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
  20003. "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
  20004. "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
  20005. "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
  20006. "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
  20007. "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
  20008. "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
  20009. "\xcc\xda\x27\x10"
  20010. "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
  20011. "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
  20012. .clen = 76,
  20013. }, {
  20014. .key = "\x62\x35\xf8\x95\xfc\xa5\xeb\xf6"
  20015. "\x0e\x92\x12\x04\xd3\xa1\x3f\x2e"
  20016. "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
  20017. "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
  20018. .klen = 32,
  20019. .iv = "\x00\xff\xff\xff\xff\x00\x00\xff"
  20020. "\xff\xff\x00\xff",
  20021. .ptext = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
  20022. "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
  20023. "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
  20024. "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
  20025. "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
  20026. "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
  20027. "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
  20028. "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
  20029. "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
  20030. "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
  20031. "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
  20032. "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
  20033. "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
  20034. "\x35\x23\xf4\x20\x41\xd4\xad\x82"
  20035. "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
  20036. "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
  20037. "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
  20038. "\xad\x49\x3a\xae\x98\xce\xa6\x66"
  20039. "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
  20040. "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
  20041. "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
  20042. "\x57\xcc\x89\x09\x75\x9b\x78\x70"
  20043. "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
  20044. "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
  20045. "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
  20046. "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
  20047. "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
  20048. "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
  20049. "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
  20050. "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
  20051. "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
  20052. "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
  20053. "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
  20054. "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
  20055. "\x02\x66\x49\xca\x7c\x91\x05\xf2"
  20056. "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
  20057. "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
  20058. "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
  20059. "\x45\xea\x78\x73\xd9\xb7\x39\x11"
  20060. "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
  20061. "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
  20062. "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
  20063. "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
  20064. "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
  20065. "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
  20066. "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
  20067. "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
  20068. "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
  20069. "\x03\x25\x3c\x8d\x48\x58\x71\x34"
  20070. "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
  20071. "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
  20072. "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
  20073. "\x87\x79\x60\x38\x46\xb4\x25\x57"
  20074. "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
  20075. "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
  20076. "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
  20077. "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
  20078. "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
  20079. "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
  20080. "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
  20081. "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
  20082. "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
  20083. "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
  20084. "\x0b\x63\xde\x87\x42\x79\x8a\x68"
  20085. "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
  20086. "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
  20087. "\xe9\x83\x84\xcb\x28\x69\x09\x69"
  20088. "\xce\x99\x46\x00\x54\xcb\xd8\x38"
  20089. "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
  20090. "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
  20091. "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
  20092. "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
  20093. "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
  20094. "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
  20095. "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
  20096. "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
  20097. "\x78\xc6\x91\x22\x40\x91\x80\xbe"
  20098. "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
  20099. "\x67\x10\xa4\x83\x98\x79\x23\xe7"
  20100. "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
  20101. "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
  20102. "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
  20103. "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
  20104. "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
  20105. "\x3f\x73\x09\xe2\x45\x56\x31\x51"
  20106. "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
  20107. "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
  20108. "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
  20109. "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
  20110. "\xa4\x78\xdb\x74\x3d\x8b\xb5",
  20111. .plen = 719,
  20112. .ctext = "\x84\x0b\xdb\xd5\xb7\xa8\xfe\x20"
  20113. "\xbb\xb1\x12\x7f\x41\xea\xb3\xc0"
  20114. "\xa2\xb4\x37\x19\x11\x58\xb6\x0b"
  20115. "\x4c\x1d\x38\x05\x54\xd1\x16\x73"
  20116. "\x8e\x1c\x20\x90\xa2\x9a\xb7\x74"
  20117. "\x47\xe6\xd8\xfc\x18\x3a\xb4\xea"
  20118. "\xd5\x16\x5a\x2c\x53\x01\x46\xb3"
  20119. "\x18\x33\x74\x6c\x50\xf2\xe8\xc0"
  20120. "\x73\xda\x60\x22\xeb\xe3\xe5\x9b"
  20121. "\x20\x93\x6c\x4b\x37\x99\xb8\x23"
  20122. "\x3b\x4e\xac\xe8\x5b\xe8\x0f\xb7"
  20123. "\xc3\x8f\xfb\x4a\x37\xd9\x39\x95"
  20124. "\x34\xf1\xdb\x8f\x71\xd9\xc7\x0b"
  20125. "\x02\xf1\x63\xfc\x9b\xfc\xc5\xab"
  20126. "\xb9\x14\x13\x21\xdf\xce\xaa\x88"
  20127. "\x44\x30\x1e\xce\x26\x01\x92\xf8"
  20128. "\x9f\x00\x4b\x0c\x4b\xf7\x5f\xe0"
  20129. "\x89\xca\x94\x66\x11\x21\x97\xca"
  20130. "\x3e\x83\x74\x2d\xdb\x4d\x11\xeb"
  20131. "\x97\xc2\x14\xff\x9e\x1e\xa0\x6b"
  20132. "\x08\xb4\x31\x2b\x85\xc6\x85\x6c"
  20133. "\x90\xec\x39\xc0\xec\xb3\xb5\x4e"
  20134. "\xf3\x9c\xe7\x83\x3a\x77\x0a\xf4"
  20135. "\x56\xfe\xce\x18\x33\x6d\x0b\x2d"
  20136. "\x33\xda\xc8\x05\x5c\xb4\x09\x2a"
  20137. "\xde\x6b\x52\x98\x01\xef\x36\x3d"
  20138. "\xbd\xf9\x8f\xa8\x3e\xaa\xcd\xd1"
  20139. "\x01\x2d\x42\x49\xc3\xb6\x84\xbb"
  20140. "\x48\x96\xe0\x90\x93\x6c\x48\x64"
  20141. "\xd4\xfa\x7f\x93\x2c\xa6\x21\xc8"
  20142. "\x7a\x23\x7b\xaa\x20\x56\x12\xae"
  20143. "\x16\x9d\x94\x0f\x54\xa1\xec\xca"
  20144. "\x51\x4e\xf2\x39\xf4\xf8\x5f\x04"
  20145. "\x5a\x0d\xbf\xf5\x83\xa1\x15\xe1"
  20146. "\xf5\x3c\xd8\x62\xa3\xed\x47\x89"
  20147. "\x85\x4c\xe5\xdb\xac\x9e\x17\x1d"
  20148. "\x0c\x09\xe3\x3e\x39\x5b\x4d\x74"
  20149. "\x0e\xf5\x34\xee\x70\x11\x4c\xfd"
  20150. "\xdb\x34\xb1\xb5\x10\x3f\x73\xb7"
  20151. "\xf5\xfa\xed\xb0\x1f\xa5\xcd\x3c"
  20152. "\x8d\x35\x83\xd4\x11\x44\x6e\x6c"
  20153. "\x5b\xe0\x0e\x69\xa5\x39\xe5\xbb"
  20154. "\xa9\x57\x24\x37\xe6\x1f\xdd\xcf"
  20155. "\x16\x2a\x13\xf9\x6a\x2d\x90\xa0"
  20156. "\x03\x60\x7a\xed\x69\xd5\x00\x8b"
  20157. "\x7e\x4f\xcb\xb9\xfa\x91\xb9\x37"
  20158. "\xc1\x26\xce\x90\x97\x22\x64\x64"
  20159. "\xc1\x72\x43\x1b\xf6\xac\xc1\x54"
  20160. "\x8a\x10\x9c\xdd\x8d\xd5\x8e\xb2"
  20161. "\xe4\x85\xda\xe0\x20\x5f\xf4\xb4"
  20162. "\x15\xb5\xa0\x8d\x12\x74\x49\x23"
  20163. "\x3a\xdf\x4a\xd3\xf0\x3b\x89\xeb"
  20164. "\xf8\xcc\x62\x7b\xfb\x93\x07\x41"
  20165. "\x61\x26\x94\x58\x70\xa6\x3c\xe4"
  20166. "\xff\x58\xc4\x13\x3d\xcb\x36\x6b"
  20167. "\x32\xe5\xb2\x6d\x03\x74\x6f\x76"
  20168. "\x93\x77\xde\x48\xc4\xfa\x30\x4a"
  20169. "\xda\x49\x80\x77\x0f\x1c\xbe\x11"
  20170. "\xc8\x48\xb1\xe5\xbb\xf2\x8a\xe1"
  20171. "\x96\x2f\x9f\xd1\x8e\x8a\x5c\xe2"
  20172. "\xf7\xd7\xd8\x54\xf3\x3f\xc4\x91"
  20173. "\xb8\xfb\x86\xdc\x46\x24\x91\x60"
  20174. "\x6c\x2f\xc9\x41\x37\x51\x49\x54"
  20175. "\x09\x81\x21\xf3\x03\x9f\x2b\xe3"
  20176. "\x1f\x39\x63\xaf\xf4\xd7\x53\x60"
  20177. "\xa7\xc7\x54\xf9\xee\xb1\xb1\x7d"
  20178. "\x75\x54\x65\x93\xfe\xb1\x68\x6b"
  20179. "\x57\x02\xf9\xbb\x0e\xf9\xf8\xbf"
  20180. "\x01\x12\x27\xb4\xfe\xe4\x79\x7a"
  20181. "\x40\x5b\x51\x4b\xdf\x38\xec\xb1"
  20182. "\x6a\x56\xff\x35\x4d\x42\x33\xaa"
  20183. "\x6f\x1b\xe4\xdc\xe0\xdb\x85\x35"
  20184. "\x62\x10\xd4\xec\xeb\xc5\x7e\x45"
  20185. "\x1c\x6f\x17\xca\x3b\x8e\x2d\x66"
  20186. "\x4f\x4b\x36\x56\xcd\x1b\x59\xaa"
  20187. "\xd2\x9b\x17\xb9\x58\xdf\x7b\x64"
  20188. "\x8a\xff\x3b\x9c\xa6\xb5\x48\x9e"
  20189. "\xaa\xe2\x5d\x09\x71\x32\x5f\xb6"
  20190. "\x29\xbe\xe7\xc7\x52\x7e\x91\x82"
  20191. "\x6b\x6d\x33\xe1\x34\x06\x36\x21"
  20192. "\x5e\xbe\x1e\x2f\x3e\xc1\xfb\xea"
  20193. "\x49\x2c\xb5\xca\xf7\xb0\x37\xea"
  20194. "\x1f\xed\x10\x04\xd9\x48\x0d\x1a"
  20195. "\x1c\xfb\xe7\x84\x0e\x83\x53\x74"
  20196. "\xc7\x65\xe2\x5c\xe5\xba\x73\x4c"
  20197. "\x0e\xe1\xb5\x11\x45\x61\x43\x46"
  20198. "\xaa\x25\x8f\xbd\x85\x08\xfa\x4c"
  20199. "\x15\xc1\xc0\xd8\xf5\xdc\x16\xbb"
  20200. "\x7b\x1d\xe3\x87\x57\xa7\x2a\x1d"
  20201. "\x38\x58\x9e\x8a\x43\xdc\x57"
  20202. "\xd1\x81\x7d\x2b\xe9\xff\x99\x3a"
  20203. "\x4b\x24\x52\x58\x55\xe1\x49\x14",
  20204. .clen = 735,
  20205. }
  20206. };
  20207. static const struct aead_testvec aes_gcm_rfc4106_tv_template[] = {
  20208. { /* Generated using Crypto++ */
  20209. .key = zeroed_string,
  20210. .klen = 20,
  20211. .iv = zeroed_string,
  20212. .ptext = zeroed_string,
  20213. .plen = 16,
  20214. .assoc = zeroed_string,
  20215. .alen = 16,
  20216. .ctext = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
  20217. "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
  20218. "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
  20219. "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
  20220. .clen = 32,
  20221. },{
  20222. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  20223. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  20224. "\x00\x00\x00\x00",
  20225. .klen = 20,
  20226. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  20227. .ptext = zeroed_string,
  20228. .plen = 16,
  20229. .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
  20230. "\x00\x00\x00\x00\x00\x00\x00\x01",
  20231. .alen = 16,
  20232. .ctext = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
  20233. "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
  20234. "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
  20235. "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
  20236. .clen = 32,
  20237. }, {
  20238. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  20239. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  20240. "\x00\x00\x00\x00",
  20241. .klen = 20,
  20242. .iv = zeroed_string,
  20243. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  20244. "\x01\x01\x01\x01\x01\x01\x01\x01",
  20245. .plen = 16,
  20246. .assoc = zeroed_string,
  20247. .alen = 16,
  20248. .ctext = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
  20249. "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
  20250. "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
  20251. "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
  20252. .clen = 32,
  20253. }, {
  20254. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  20255. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  20256. "\x00\x00\x00\x00",
  20257. .klen = 20,
  20258. .iv = zeroed_string,
  20259. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  20260. "\x01\x01\x01\x01\x01\x01\x01\x01",
  20261. .plen = 16,
  20262. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  20263. "\x00\x00\x00\x00\x00\x00\x00\x00",
  20264. .alen = 16,
  20265. .ctext = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
  20266. "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
  20267. "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
  20268. "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
  20269. .clen = 32,
  20270. }, {
  20271. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  20272. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  20273. "\x00\x00\x00\x00",
  20274. .klen = 20,
  20275. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  20276. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  20277. "\x01\x01\x01\x01\x01\x01\x01\x01",
  20278. .plen = 16,
  20279. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  20280. "\x00\x00\x00\x00\x00\x00\x00\x01",
  20281. .alen = 16,
  20282. .ctext = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
  20283. "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
  20284. "\x64\x50\xF9\x32\x13\xFB\x74\x61"
  20285. "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
  20286. .clen = 32,
  20287. }, {
  20288. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  20289. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  20290. "\x00\x00\x00\x00",
  20291. .klen = 20,
  20292. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  20293. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  20294. "\x01\x01\x01\x01\x01\x01\x01\x01"
  20295. "\x01\x01\x01\x01\x01\x01\x01\x01"
  20296. "\x01\x01\x01\x01\x01\x01\x01\x01"
  20297. "\x01\x01\x01\x01\x01\x01\x01\x01"
  20298. "\x01\x01\x01\x01\x01\x01\x01\x01"
  20299. "\x01\x01\x01\x01\x01\x01\x01\x01"
  20300. "\x01\x01\x01\x01\x01\x01\x01\x01",
  20301. .plen = 64,
  20302. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  20303. "\x00\x00\x00\x00\x00\x00\x00\x01",
  20304. .alen = 16,
  20305. .ctext = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
  20306. "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
  20307. "\x98\x14\xA1\x42\x37\x80\xFD\x90"
  20308. "\x68\x12\x01\xA8\x91\x89\xB9\x83"
  20309. "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
  20310. "\x94\x5F\x18\x12\xBA\x27\x09\x39"
  20311. "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
  20312. "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
  20313. "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
  20314. "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
  20315. .clen = 80,
  20316. }, {
  20317. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  20318. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  20319. "\x00\x00\x00\x00",
  20320. .klen = 20,
  20321. .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
  20322. .ptext = "\xff\xff\xff\xff\xff\xff\xff\xff"
  20323. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20324. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20325. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20326. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20327. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20328. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20329. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20330. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20331. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20332. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20333. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20334. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20335. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20336. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20337. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20338. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20339. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20340. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20341. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20342. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20343. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20344. "\xff\xff\xff\xff\xff\xff\xff\xff"
  20345. "\xff\xff\xff\xff\xff\xff\xff\xff",
  20346. .plen = 192,
  20347. .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  20348. "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
  20349. "\x89\xab\xcd\xef",
  20350. .alen = 20,
  20351. .ctext = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
  20352. "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
  20353. "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
  20354. "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
  20355. "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
  20356. "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
  20357. "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
  20358. "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
  20359. "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
  20360. "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
  20361. "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
  20362. "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
  20363. "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
  20364. "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
  20365. "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
  20366. "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
  20367. "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
  20368. "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
  20369. "\x7E\x13\x06\x82\x08\x17\xA4\x35"
  20370. "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
  20371. "\xA3\x05\x38\x95\x20\x1A\x47\x04"
  20372. "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
  20373. "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
  20374. "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
  20375. "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
  20376. "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
  20377. .clen = 208,
  20378. }, { /* From draft-mcgrew-gcm-test-01 */
  20379. .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
  20380. "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
  20381. "\x2E\x44\x3B\x68",
  20382. .klen = 20,
  20383. .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
  20384. .ptext = "\x45\x00\x00\x48\x69\x9A\x00\x00"
  20385. "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
  20386. "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
  20387. "\x38\xD3\x01\x00\x00\x01\x00\x00"
  20388. "\x00\x00\x00\x00\x04\x5F\x73\x69"
  20389. "\x70\x04\x5F\x75\x64\x70\x03\x73"
  20390. "\x69\x70\x09\x63\x79\x62\x65\x72"
  20391. "\x63\x69\x74\x79\x02\x64\x6B\x00"
  20392. "\x00\x21\x00\x01\x01\x02\x02\x01",
  20393. .plen = 72,
  20394. .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
  20395. "\x00\x00\x00\x00\x49\x56\xED\x7E"
  20396. "\x3B\x24\x4C\xFE",
  20397. .alen = 20,
  20398. .ctext = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
  20399. "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
  20400. "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
  20401. "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
  20402. "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
  20403. "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
  20404. "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
  20405. "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
  20406. "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
  20407. "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
  20408. "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
  20409. .clen = 88,
  20410. }, {
  20411. .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  20412. "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
  20413. "\xCA\xFE\xBA\xBE",
  20414. .klen = 20,
  20415. .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  20416. .ptext = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
  20417. "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
  20418. "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
  20419. "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
  20420. "\x00\x01\x00\x00\x00\x00\x00\x00"
  20421. "\x03\x73\x69\x70\x09\x63\x79\x62"
  20422. "\x65\x72\x63\x69\x74\x79\x02\x64"
  20423. "\x6B\x00\x00\x01\x00\x01\x00\x01",
  20424. .plen = 64,
  20425. .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
  20426. "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  20427. .alen = 16,
  20428. .ctext = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
  20429. "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
  20430. "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
  20431. "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
  20432. "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
  20433. "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
  20434. "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
  20435. "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
  20436. "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
  20437. "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
  20438. .clen = 80,
  20439. }, {
  20440. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  20441. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  20442. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  20443. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  20444. "\x11\x22\x33\x44",
  20445. .klen = 36,
  20446. .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
  20447. .ptext = "\x45\x00\x00\x30\x69\xA6\x40\x00"
  20448. "\x80\x06\x26\x90\xC0\xA8\x01\x02"
  20449. "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
  20450. "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
  20451. "\x70\x02\x40\x00\x20\xBF\x00\x00"
  20452. "\x02\x04\x05\xB4\x01\x01\x04\x02"
  20453. "\x01\x02\x02\x01",
  20454. .plen = 52,
  20455. .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
  20456. "\x01\x02\x03\x04\x05\x06\x07\x08",
  20457. .alen = 16,
  20458. .ctext = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
  20459. "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
  20460. "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
  20461. "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
  20462. "\x74\x8A\x63\x79\x85\x77\x1D\x34"
  20463. "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
  20464. "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
  20465. "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
  20466. "\x15\x95\x6C\x96",
  20467. .clen = 68,
  20468. }, {
  20469. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  20470. "\x00\x00\x00\x00\x00\x00\x00\x00"
  20471. "\x00\x00\x00\x00",
  20472. .klen = 20,
  20473. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  20474. .ptext = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
  20475. "\x80\x01\xCB\x7A\x40\x67\x93\x18"
  20476. "\x01\x01\x01\x01\x08\x00\x07\x5C"
  20477. "\x02\x00\x44\x00\x61\x62\x63\x64"
  20478. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  20479. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  20480. "\x75\x76\x77\x61\x62\x63\x64\x65"
  20481. "\x66\x67\x68\x69\x01\x02\x02\x01",
  20482. .plen = 64,
  20483. .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
  20484. "\x00\x00\x00\x00\x00\x00\x00\x00",
  20485. .alen = 16,
  20486. .ctext = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
  20487. "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
  20488. "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
  20489. "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
  20490. "\x45\x64\x76\x49\x27\x19\xFF\xB6"
  20491. "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
  20492. "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
  20493. "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
  20494. "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
  20495. "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
  20496. .clen = 80,
  20497. }, {
  20498. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  20499. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  20500. "\x57\x69\x0E\x43",
  20501. .klen = 20,
  20502. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  20503. .ptext = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
  20504. "\x80\x01\xCB\x7C\x40\x67\x93\x18"
  20505. "\x01\x01\x01\x01\x08\x00\x08\x5C"
  20506. "\x02\x00\x43\x00\x61\x62\x63\x64"
  20507. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  20508. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  20509. "\x75\x76\x77\x61\x62\x63\x64\x65"
  20510. "\x66\x67\x68\x69\x01\x02\x02\x01",
  20511. .plen = 64,
  20512. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  20513. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  20514. "\xA2\xFC\xA1\xA3",
  20515. .alen = 20,
  20516. .ctext = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
  20517. "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
  20518. "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
  20519. "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
  20520. "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
  20521. "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
  20522. "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
  20523. "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
  20524. "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
  20525. "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
  20526. .clen = 80,
  20527. }, {
  20528. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  20529. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  20530. "\x57\x69\x0E\x43",
  20531. .klen = 20,
  20532. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  20533. .ptext = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
  20534. "\x80\x01\x44\x1F\x40\x67\x93\xB6"
  20535. "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
  20536. "\x01\x02\x02\x01",
  20537. .plen = 28,
  20538. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  20539. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  20540. "\xA2\xFC\xA1\xA3",
  20541. .alen = 20,
  20542. .ctext = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
  20543. "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
  20544. "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
  20545. "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
  20546. "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
  20547. "\xE7\xD0\x5D\x35",
  20548. .clen = 44,
  20549. }, {
  20550. .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  20551. "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
  20552. "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  20553. "\xCA\xFE\xBA\xBE",
  20554. .klen = 28,
  20555. .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  20556. .ptext = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
  20557. "\x40\x06\x78\x80\x0A\x01\x03\x8F"
  20558. "\x0A\x01\x06\x12\x80\x23\x06\xB8"
  20559. "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
  20560. "\x50\x10\x16\xD0\x75\x68\x00\x01",
  20561. .plen = 40,
  20562. .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
  20563. "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  20564. .alen = 16,
  20565. .ctext = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
  20566. "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
  20567. "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
  20568. "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
  20569. "\x31\x5B\x27\x45\x21\x44\xCC\x77"
  20570. "\x95\x45\x7B\x96\x52\x03\x7F\x53"
  20571. "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
  20572. .clen = 56,
  20573. }, {
  20574. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  20575. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  20576. "\xDE\xCA\xF8\x88",
  20577. .klen = 20,
  20578. .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
  20579. .ptext = "\x45\x00\x00\x49\x33\xBA\x00\x00"
  20580. "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
  20581. "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
  20582. "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
  20583. "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
  20584. "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
  20585. "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
  20586. "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
  20587. "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
  20588. "\x23\x01\x01\x01",
  20589. .plen = 76,
  20590. .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
  20591. "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
  20592. "\xCE\xFA\xCE\x74",
  20593. .alen = 20,
  20594. .ctext = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
  20595. "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
  20596. "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
  20597. "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
  20598. "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
  20599. "\x84\xE6\x58\x63\x96\x5D\x74\x72"
  20600. "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
  20601. "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
  20602. "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
  20603. "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
  20604. "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
  20605. "\x69\x62\x34\x36",
  20606. .clen = 92,
  20607. }, {
  20608. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  20609. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  20610. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  20611. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  20612. "\x73\x61\x6C\x74",
  20613. .klen = 36,
  20614. .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
  20615. .ptext = "\x45\x08\x00\x28\x73\x2C\x00\x00"
  20616. "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
  20617. "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
  20618. "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
  20619. "\x50\x10\x1F\x64\x6D\x54\x00\x01",
  20620. .plen = 40,
  20621. .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
  20622. "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
  20623. "\x69\x76\x65\x63",
  20624. .alen = 20,
  20625. .ctext = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
  20626. "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
  20627. "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
  20628. "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
  20629. "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
  20630. "\x45\x16\x26\xC2\x41\x57\x71\xE3"
  20631. "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
  20632. .clen = 56,
  20633. }, {
  20634. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  20635. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  20636. "\x57\x69\x0E\x43",
  20637. .klen = 20,
  20638. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  20639. .ptext = "\x45\x00\x00\x49\x33\x3E\x00\x00"
  20640. "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
  20641. "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
  20642. "\x00\x35\xCB\x45\x80\x03\x02\x5B"
  20643. "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
  20644. "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
  20645. "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
  20646. "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
  20647. "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
  20648. "\x15\x01\x01\x01",
  20649. .plen = 76,
  20650. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  20651. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  20652. "\xA2\xFC\xA1\xA3",
  20653. .alen = 20,
  20654. .ctext = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
  20655. "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
  20656. "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
  20657. "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
  20658. "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
  20659. "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
  20660. "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
  20661. "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
  20662. "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
  20663. "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
  20664. "\x76\x91\x89\x60\x97\x63\xB8\xE1"
  20665. "\x8C\xAA\x81\xE2",
  20666. .clen = 92,
  20667. }, {
  20668. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  20669. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  20670. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  20671. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  20672. "\x73\x61\x6C\x74",
  20673. .klen = 36,
  20674. .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
  20675. .ptext = "\x63\x69\x73\x63\x6F\x01\x72\x75"
  20676. "\x6C\x65\x73\x01\x74\x68\x65\x01"
  20677. "\x6E\x65\x74\x77\x65\x01\x64\x65"
  20678. "\x66\x69\x6E\x65\x01\x74\x68\x65"
  20679. "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
  20680. "\x67\x69\x65\x73\x01\x74\x68\x61"
  20681. "\x74\x77\x69\x6C\x6C\x01\x64\x65"
  20682. "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
  20683. "\x72\x72\x6F\x77\x01\x02\x02\x01",
  20684. .plen = 72,
  20685. .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
  20686. "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
  20687. "\x69\x76\x65\x63",
  20688. .alen = 20,
  20689. .ctext = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
  20690. "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
  20691. "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
  20692. "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
  20693. "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
  20694. "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
  20695. "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
  20696. "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
  20697. "\x12\xA4\x93\x63\x41\x23\x64\xF8"
  20698. "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
  20699. "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
  20700. .clen = 88,
  20701. }, {
  20702. .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
  20703. "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
  20704. "\xD9\x66\x42\x67",
  20705. .klen = 20,
  20706. .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
  20707. .ptext = "\x01\x02\x02\x01",
  20708. .plen = 4,
  20709. .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
  20710. "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
  20711. .alen = 16,
  20712. .ctext = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
  20713. "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
  20714. "\x04\xBE\xF2\x70",
  20715. .clen = 20,
  20716. }, {
  20717. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  20718. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  20719. "\xDE\xCA\xF8\x88",
  20720. .klen = 20,
  20721. .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
  20722. .ptext = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
  20723. "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
  20724. "\x62\x65\x00\x01",
  20725. .plen = 20,
  20726. .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
  20727. "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
  20728. "\xCE\xFA\xCE\x74",
  20729. .alen = 20,
  20730. .ctext = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
  20731. "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
  20732. "\x43\x33\x21\x64\x41\x25\x03\x52"
  20733. "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
  20734. "\x43\xAF\x8C\x3E",
  20735. .clen = 36,
  20736. }, {
  20737. .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
  20738. "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
  20739. "\x61\x61\x6E\x64\x64\x6F\x69\x74"
  20740. "\x62\x65\x66\x6F\x72\x65\x69\x61"
  20741. "\x74\x75\x72\x6E",
  20742. .klen = 36,
  20743. .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
  20744. .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
  20745. "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
  20746. "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
  20747. "\x02\x00\x07\x00\x61\x62\x63\x64"
  20748. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  20749. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  20750. "\x01\x02\x02\x01",
  20751. .plen = 52,
  20752. .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
  20753. "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
  20754. "\x67\x65\x74\x6D",
  20755. .alen = 20,
  20756. .ctext = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
  20757. "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
  20758. "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
  20759. "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
  20760. "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
  20761. "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
  20762. "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
  20763. "\x94\x5F\x66\x93\x68\x66\x1A\x32"
  20764. "\x9F\xB4\xC0\x53",
  20765. .clen = 68,
  20766. }, {
  20767. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  20768. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  20769. "\x57\x69\x0E\x43",
  20770. .klen = 20,
  20771. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  20772. .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
  20773. "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
  20774. "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
  20775. "\x02\x00\x07\x00\x61\x62\x63\x64"
  20776. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  20777. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  20778. "\x01\x02\x02\x01",
  20779. .plen = 52,
  20780. .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
  20781. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  20782. "\xA2\xFC\xA1\xA3",
  20783. .alen = 20,
  20784. .ctext = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
  20785. "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
  20786. "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
  20787. "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
  20788. "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
  20789. "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
  20790. "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
  20791. "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
  20792. "\x40\xD7\xCB\x05",
  20793. .clen = 68,
  20794. }, {
  20795. .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
  20796. "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
  20797. "\x22\x43\x3C\x64",
  20798. .klen = 20,
  20799. .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
  20800. .ptext = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
  20801. "\x61\x62\x63\x64\x65\x66\x67\x68"
  20802. "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
  20803. "\x71\x72\x73\x74\x01\x02\x02\x01",
  20804. .plen = 32,
  20805. .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
  20806. "\x00\x00\x00\x07\x48\x55\xEC\x7D"
  20807. "\x3A\x23\x4B\xFD",
  20808. .alen = 20,
  20809. .ctext = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
  20810. "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
  20811. "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
  20812. "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
  20813. "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
  20814. "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
  20815. .clen = 48,
  20816. }
  20817. };
  20818. static const struct aead_testvec aes_gcm_rfc4543_tv_template[] = {
  20819. { /* From draft-mcgrew-gcm-test-01 */
  20820. .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
  20821. "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
  20822. "\x22\x43\x3c\x64",
  20823. .klen = 20,
  20824. .iv = zeroed_string,
  20825. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
  20826. "\x00\x00\x00\x00\x00\x00\x00\x00",
  20827. .alen = 16,
  20828. .ptext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
  20829. "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
  20830. "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
  20831. "\x02\x00\x07\x00\x61\x62\x63\x64"
  20832. "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
  20833. "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
  20834. "\x01\x02\x02\x01",
  20835. .plen = 52,
  20836. .ctext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
  20837. "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
  20838. "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
  20839. "\x02\x00\x07\x00\x61\x62\x63\x64"
  20840. "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
  20841. "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
  20842. "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
  20843. "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
  20844. "\xe4\x09\x9a\xaa",
  20845. .clen = 68,
  20846. }, { /* nearly same as previous, but should fail */
  20847. .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
  20848. "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
  20849. "\x22\x43\x3c\x64",
  20850. .klen = 20,
  20851. .iv = zeroed_string,
  20852. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
  20853. "\x00\x00\x00\x00\x00\x00\x00\x00",
  20854. .alen = 16,
  20855. .ptext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
  20856. "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
  20857. "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
  20858. "\x02\x00\x07\x00\x61\x62\x63\x64"
  20859. "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
  20860. "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
  20861. "\x01\x02\x02\x01",
  20862. .plen = 52,
  20863. .novrfy = 1,
  20864. .ctext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
  20865. "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
  20866. "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
  20867. "\x02\x00\x07\x00\x61\x62\x63\x64"
  20868. "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
  20869. "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
  20870. "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
  20871. "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
  20872. "\x00\x00\x00\x00",
  20873. .clen = 68,
  20874. },
  20875. };
  20876. static const struct aead_testvec aes_ccm_tv_template[] = {
  20877. { /* From RFC 3610 */
  20878. .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  20879. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
  20880. .klen = 16,
  20881. .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
  20882. "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
  20883. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
  20884. .alen = 8,
  20885. .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  20886. "\x10\x11\x12\x13\x14\x15\x16\x17"
  20887. "\x18\x19\x1a\x1b\x1c\x1d\x1e",
  20888. .plen = 23,
  20889. .ctext = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
  20890. "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
  20891. "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
  20892. "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
  20893. .clen = 31,
  20894. }, {
  20895. .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  20896. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
  20897. .klen = 16,
  20898. .iv = "\x01\x00\x00\x00\x07\x06\x05\x04"
  20899. "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
  20900. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  20901. "\x08\x09\x0a\x0b",
  20902. .alen = 12,
  20903. .ptext = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
  20904. "\x14\x15\x16\x17\x18\x19\x1a\x1b"
  20905. "\x1c\x1d\x1e\x1f",
  20906. .plen = 20,
  20907. .ctext = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
  20908. "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
  20909. "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
  20910. "\x7d\x9c\x2d\x93",
  20911. .clen = 28,
  20912. }, {
  20913. .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  20914. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
  20915. .klen = 16,
  20916. .iv = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
  20917. "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
  20918. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
  20919. .alen = 8,
  20920. .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  20921. "\x10\x11\x12\x13\x14\x15\x16\x17"
  20922. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  20923. "\x20",
  20924. .plen = 25,
  20925. .ctext = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
  20926. "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
  20927. "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
  20928. "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
  20929. "\x7e\x5f\x4e",
  20930. .clen = 35,
  20931. }, {
  20932. .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  20933. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
  20934. .klen = 16,
  20935. .iv = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
  20936. "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
  20937. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  20938. "\x08\x09\x0a\x0b",
  20939. .alen = 12,
  20940. .ptext = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
  20941. "\x14\x15\x16\x17\x18\x19\x1a\x1b"
  20942. "\x1c\x1d\x1e",
  20943. .plen = 19,
  20944. .ctext = "\x07\x34\x25\x94\x15\x77\x85\x15"
  20945. "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
  20946. "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
  20947. "\x4d\x99\x99\x88\xdd",
  20948. .clen = 29,
  20949. }, {
  20950. .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
  20951. "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
  20952. .klen = 16,
  20953. .iv = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
  20954. "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
  20955. .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
  20956. .alen = 8,
  20957. .ptext = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
  20958. "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
  20959. "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
  20960. .plen = 24,
  20961. .ctext = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
  20962. "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
  20963. "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
  20964. "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
  20965. .clen = 32,
  20966. }, {
  20967. .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
  20968. "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
  20969. .klen = 16,
  20970. .iv = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
  20971. "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
  20972. .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
  20973. "\x20\xea\x60\xc0",
  20974. .alen = 12,
  20975. .ptext = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
  20976. "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
  20977. "\x3a\x80\x3b\xa8\x7f",
  20978. .plen = 21,
  20979. .ctext = "\x00\x97\x69\xec\xab\xdf\x48\x62"
  20980. "\x55\x94\xc5\x92\x51\xe6\x03\x57"
  20981. "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
  20982. "\x5a\xe0\x70\x45\x51",
  20983. .clen = 29,
  20984. }, {
  20985. .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
  20986. "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
  20987. .klen = 16,
  20988. .iv = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
  20989. "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
  20990. .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
  20991. .alen = 8,
  20992. .ptext = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
  20993. "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
  20994. "\x98\x09\xd6\x7d\xbe\xdd\x18",
  20995. .plen = 23,
  20996. .ctext = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
  20997. "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
  20998. "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
  20999. "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
  21000. "\xba",
  21001. .clen = 33,
  21002. }, {
  21003. /* This is taken from FIPS CAVS. */
  21004. .key = "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
  21005. "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
  21006. .klen = 16,
  21007. .iv = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
  21008. .alen = 0,
  21009. .ptext = "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
  21010. "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
  21011. "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
  21012. "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
  21013. .plen = 32,
  21014. .ctext = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
  21015. "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
  21016. "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
  21017. "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
  21018. "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
  21019. "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
  21020. .clen = 48,
  21021. }, {
  21022. .key = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
  21023. "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
  21024. .klen = 16,
  21025. .iv = "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
  21026. "\x30\x60\x15\x56\x00\x00\x00\x00",
  21027. .assoc = "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
  21028. "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
  21029. "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
  21030. "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
  21031. .alen = 32,
  21032. .ptext = "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
  21033. "\xa9\x28\x63\xba\x12\xa3\x14\x85"
  21034. "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
  21035. "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
  21036. .plen = 32,
  21037. .ctext = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
  21038. "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
  21039. "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
  21040. "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
  21041. "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
  21042. "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
  21043. .clen = 48,
  21044. }, {
  21045. .key = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
  21046. "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
  21047. "\x53\x14\x73\x66\x8d\x88\xf6\x80",
  21048. .klen = 24,
  21049. .iv = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
  21050. "\x50\x20\xda\xe2\x00\x00\x00\x00",
  21051. .assoc = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
  21052. "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
  21053. "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
  21054. "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
  21055. .alen = 32,
  21056. .ctext = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
  21057. "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
  21058. .clen = 16,
  21059. }, {
  21060. .key = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
  21061. "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
  21062. "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
  21063. .klen = 24,
  21064. .iv = "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
  21065. "\xef\x09\x2e\x94\x00\x00\x00\x00",
  21066. .assoc = "\x02\x65\x78\x3c\xe9\x21\x30\x91"
  21067. "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
  21068. "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
  21069. "\xe3\x00\x73\x69\x84\x69\x87\x79",
  21070. .alen = 32,
  21071. .ptext = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
  21072. "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
  21073. "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
  21074. "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
  21075. .plen = 32,
  21076. .ctext = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
  21077. "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
  21078. "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
  21079. "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
  21080. "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
  21081. "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
  21082. .clen = 48,
  21083. }, {
  21084. .key = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
  21085. "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
  21086. "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
  21087. "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
  21088. .klen = 32,
  21089. .iv = "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
  21090. "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
  21091. .assoc = "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
  21092. "\x78\x2b\x94\x02\x29\x0f\x42\x27"
  21093. "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
  21094. "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
  21095. .alen = 32,
  21096. .ptext = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
  21097. "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
  21098. "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
  21099. "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
  21100. .plen = 32,
  21101. .ctext = "\x19\xb8\x61\x33\x45\x2b\x43\x96"
  21102. "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
  21103. "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
  21104. "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
  21105. "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
  21106. .clen = 40,
  21107. }, {
  21108. .key = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
  21109. "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
  21110. "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
  21111. "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
  21112. .klen = 32,
  21113. .iv = "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
  21114. "\x43\xf6\x1e\x50\0\0\0\0",
  21115. .assoc = "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
  21116. "\x13\x02\x01\x0c\x83\x4c\x96\x35"
  21117. "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
  21118. "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
  21119. .alen = 32,
  21120. .ptext = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
  21121. "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
  21122. "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
  21123. "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
  21124. .plen = 32,
  21125. .ctext = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
  21126. "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
  21127. "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
  21128. "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
  21129. "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
  21130. "\x7b\x72\x8a\xf7",
  21131. .clen = 44,
  21132. }, {
  21133. .key = "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
  21134. "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
  21135. "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
  21136. "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
  21137. .klen = 32,
  21138. .iv = "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
  21139. "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
  21140. .assoc = "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
  21141. "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
  21142. "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
  21143. "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
  21144. .alen = 32,
  21145. .ptext = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
  21146. "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
  21147. "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
  21148. "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
  21149. .plen = 32,
  21150. .ctext = "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
  21151. "\xef\xbb\x80\x21\x04\x6c\x58\x09"
  21152. "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
  21153. "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
  21154. "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
  21155. "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
  21156. .clen = 48,
  21157. }, {
  21158. /* This is taken from FIPS CAVS. */
  21159. .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
  21160. "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
  21161. .klen = 16,
  21162. .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
  21163. "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
  21164. .alen = 0,
  21165. .ptext = "\x00",
  21166. .plen = 0,
  21167. .ctext = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
  21168. .clen = 8,
  21169. .novrfy = 1,
  21170. }, {
  21171. .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
  21172. "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
  21173. .klen = 16,
  21174. .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81"
  21175. "\x7f\x88\x94\x68\x00\x00\x00\x00",
  21176. .alen = 0,
  21177. .ptext = "\x00",
  21178. .plen = 0,
  21179. .ctext = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
  21180. .clen = 8,
  21181. }, {
  21182. .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
  21183. "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
  21184. .klen = 16,
  21185. .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
  21186. "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
  21187. .assoc = "\xf3\x94\x87\x78\x35\x82\x81\x7f"
  21188. "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
  21189. "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
  21190. "\xd8\x94\x99\x91\x81\x54\x62\x57",
  21191. .alen = 32,
  21192. .ptext = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
  21193. "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
  21194. "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
  21195. "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
  21196. .plen = 32,
  21197. .ctext = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
  21198. "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
  21199. "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
  21200. "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
  21201. "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
  21202. "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
  21203. .clen = 48,
  21204. .novrfy = 1,
  21205. }, {
  21206. .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
  21207. "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
  21208. .klen = 16,
  21209. .iv = "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
  21210. "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
  21211. .assoc = "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
  21212. "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
  21213. "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
  21214. "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
  21215. .alen = 32,
  21216. .ptext = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
  21217. "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
  21218. "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
  21219. "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
  21220. .plen = 32,
  21221. .ctext = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
  21222. "\xad\x83\x52\x6d\x71\x03\x25\x1c"
  21223. "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
  21224. "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
  21225. "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
  21226. "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
  21227. .clen = 48,
  21228. }, {
  21229. .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
  21230. "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
  21231. "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
  21232. .klen = 24,
  21233. .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
  21234. "\x57\xba\xfd\x9e\x00\x00\x00\x00",
  21235. .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
  21236. "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
  21237. "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
  21238. "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
  21239. .alen = 32,
  21240. .ptext = "\x00",
  21241. .plen = 0,
  21242. .ctext = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
  21243. .clen = 8,
  21244. }, {
  21245. .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
  21246. "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
  21247. "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
  21248. .klen = 24,
  21249. .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
  21250. "\x57\xba\xfd\x9e\x00\x00\x00\x00",
  21251. .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
  21252. "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
  21253. "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
  21254. "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
  21255. .alen = 32,
  21256. .ptext = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
  21257. "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
  21258. "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
  21259. "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
  21260. .plen = 32,
  21261. .ctext = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
  21262. "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
  21263. "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
  21264. "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
  21265. "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
  21266. .clen = 40,
  21267. }, {
  21268. .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
  21269. "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
  21270. "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
  21271. .klen = 24,
  21272. .iv = "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
  21273. "\xad\x71\xaa\x1f\x00\x00\x00\x00",
  21274. .assoc = "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
  21275. "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
  21276. "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
  21277. "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
  21278. .alen = 32,
  21279. .ptext = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
  21280. "\x99\x2a\xa8\xca\x04\x25\x45\x90"
  21281. "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
  21282. "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
  21283. .plen = 32,
  21284. .ctext = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
  21285. "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
  21286. "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
  21287. "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
  21288. "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
  21289. "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
  21290. .clen = 48,
  21291. .novrfy = 1,
  21292. }, {
  21293. .key = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
  21294. "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
  21295. "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
  21296. "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
  21297. .klen = 32,
  21298. .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
  21299. "\x57\xba\xfd\x9e\x00\x00\x00\x00",
  21300. .alen = 0,
  21301. .ptext = "\x00",
  21302. .plen = 0,
  21303. .ctext = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
  21304. .clen = 8,
  21305. }, {
  21306. .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
  21307. "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
  21308. "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
  21309. "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
  21310. .klen = 32,
  21311. .iv = "\x03\x85\x34\x66\x42\xc8\x92\x0f"
  21312. "\x36\x58\xe0\x6b\x00\x00\x00\x00",
  21313. .alen = 0,
  21314. .ptext = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
  21315. "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
  21316. "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
  21317. "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
  21318. .plen = 32,
  21319. .ctext = "\x48\x01\x5e\x02\x24\x04\x66\x47"
  21320. "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
  21321. "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
  21322. "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
  21323. "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
  21324. "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
  21325. .clen = 48,
  21326. .novrfy = 1,
  21327. }, {
  21328. .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
  21329. "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
  21330. "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
  21331. "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
  21332. .klen = 32,
  21333. .iv = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
  21334. "\x44\x89\x40\x7b\x00\x00\x00\x00",
  21335. .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
  21336. "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
  21337. "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
  21338. "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
  21339. .alen = 32,
  21340. .ptext = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
  21341. "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
  21342. "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
  21343. "\x04\x49\x3b\x19\x93\x57\x25\x5d",
  21344. .plen = 32,
  21345. .ctext = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
  21346. "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
  21347. "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
  21348. "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
  21349. "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
  21350. "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
  21351. .clen = 48,
  21352. },
  21353. };
  21354. /*
  21355. * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
  21356. * use a 13-byte nonce, we only support an 11-byte nonce. Worse,
  21357. * they use AD lengths which are not valid ESP header lengths.
  21358. *
  21359. * These vectors are copied/generated from the ones for rfc4106 with
  21360. * the key truncated by one byte..
  21361. */
  21362. static const struct aead_testvec aes_ccm_rfc4309_tv_template[] = {
  21363. { /* Generated using Crypto++ */
  21364. .key = zeroed_string,
  21365. .klen = 19,
  21366. .iv = zeroed_string,
  21367. .ptext = zeroed_string,
  21368. .plen = 16,
  21369. .assoc = zeroed_string,
  21370. .alen = 16,
  21371. .ctext = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
  21372. "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
  21373. "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
  21374. "\x27\x50\x01\xAC\x03\x33\x39\xFB",
  21375. .clen = 32,
  21376. },{
  21377. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  21378. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  21379. "\x00\x00\x00",
  21380. .klen = 19,
  21381. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  21382. .ptext = zeroed_string,
  21383. .plen = 16,
  21384. .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
  21385. "\x00\x00\x00\x00\x00\x00\x00\x01",
  21386. .alen = 16,
  21387. .ctext = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
  21388. "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
  21389. "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
  21390. "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
  21391. .clen = 32,
  21392. }, {
  21393. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  21394. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  21395. "\x00\x00\x00",
  21396. .klen = 19,
  21397. .iv = zeroed_string,
  21398. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  21399. "\x01\x01\x01\x01\x01\x01\x01\x01",
  21400. .plen = 16,
  21401. .assoc = zeroed_string,
  21402. .alen = 16,
  21403. .ctext = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
  21404. "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
  21405. "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
  21406. "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
  21407. .clen = 32,
  21408. }, {
  21409. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  21410. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  21411. "\x00\x00\x00",
  21412. .klen = 19,
  21413. .iv = zeroed_string,
  21414. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  21415. "\x01\x01\x01\x01\x01\x01\x01\x01",
  21416. .plen = 16,
  21417. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  21418. "\x00\x00\x00\x00\x00\x00\x00\x00",
  21419. .alen = 16,
  21420. .ctext = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
  21421. "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
  21422. "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
  21423. "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
  21424. .clen = 32,
  21425. }, {
  21426. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  21427. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  21428. "\x00\x00\x00",
  21429. .klen = 19,
  21430. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  21431. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  21432. "\x01\x01\x01\x01\x01\x01\x01\x01",
  21433. .plen = 16,
  21434. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  21435. "\x00\x00\x00\x00\x00\x00\x00\x01",
  21436. .alen = 16,
  21437. .ctext = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
  21438. "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
  21439. "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
  21440. "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
  21441. .clen = 32,
  21442. }, {
  21443. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  21444. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  21445. "\x00\x00\x00",
  21446. .klen = 19,
  21447. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  21448. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  21449. "\x01\x01\x01\x01\x01\x01\x01\x01"
  21450. "\x01\x01\x01\x01\x01\x01\x01\x01"
  21451. "\x01\x01\x01\x01\x01\x01\x01\x01"
  21452. "\x01\x01\x01\x01\x01\x01\x01\x01"
  21453. "\x01\x01\x01\x01\x01\x01\x01\x01"
  21454. "\x01\x01\x01\x01\x01\x01\x01\x01"
  21455. "\x01\x01\x01\x01\x01\x01\x01\x01",
  21456. .plen = 64,
  21457. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  21458. "\x00\x00\x00\x00\x00\x00\x00\x01",
  21459. .alen = 16,
  21460. .ctext = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
  21461. "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
  21462. "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
  21463. "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
  21464. "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
  21465. "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
  21466. "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
  21467. "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
  21468. "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
  21469. "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
  21470. .clen = 80,
  21471. }, {
  21472. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  21473. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  21474. "\x00\x00\x00",
  21475. .klen = 19,
  21476. .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
  21477. .ptext = "\xff\xff\xff\xff\xff\xff\xff\xff"
  21478. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21479. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21480. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21481. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21482. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21483. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21484. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21485. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21486. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21487. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21488. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21489. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21490. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21491. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21492. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21493. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21494. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21495. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21496. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21497. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21498. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21499. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21500. "\xff\xff\xff\xff\xff\xff\xff\xff",
  21501. .plen = 192,
  21502. .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  21503. "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
  21504. "\x89\xab\xcd\xef",
  21505. .alen = 20,
  21506. .ctext = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
  21507. "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
  21508. "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
  21509. "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
  21510. "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
  21511. "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
  21512. "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
  21513. "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
  21514. "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
  21515. "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
  21516. "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
  21517. "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
  21518. "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
  21519. "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
  21520. "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
  21521. "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
  21522. "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
  21523. "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
  21524. "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
  21525. "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
  21526. "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
  21527. "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
  21528. "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
  21529. "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
  21530. "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
  21531. "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
  21532. .clen = 208,
  21533. }, { /* From draft-mcgrew-gcm-test-01 */
  21534. .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
  21535. "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
  21536. "\x2E\x44\x3B",
  21537. .klen = 19,
  21538. .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
  21539. .ptext = "\x45\x00\x00\x48\x69\x9A\x00\x00"
  21540. "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
  21541. "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
  21542. "\x38\xD3\x01\x00\x00\x01\x00\x00"
  21543. "\x00\x00\x00\x00\x04\x5F\x73\x69"
  21544. "\x70\x04\x5F\x75\x64\x70\x03\x73"
  21545. "\x69\x70\x09\x63\x79\x62\x65\x72"
  21546. "\x63\x69\x74\x79\x02\x64\x6B\x00"
  21547. "\x00\x21\x00\x01\x01\x02\x02\x01",
  21548. .plen = 72,
  21549. .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
  21550. "\x00\x00\x00\x00\x49\x56\xED\x7E"
  21551. "\x3B\x24\x4C\xFE",
  21552. .alen = 20,
  21553. .ctext = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
  21554. "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
  21555. "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
  21556. "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
  21557. "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
  21558. "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
  21559. "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
  21560. "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
  21561. "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
  21562. "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
  21563. "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
  21564. .clen = 88,
  21565. }, {
  21566. .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  21567. "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
  21568. "\xCA\xFE\xBA",
  21569. .klen = 19,
  21570. .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  21571. .ptext = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
  21572. "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
  21573. "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
  21574. "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
  21575. "\x00\x01\x00\x00\x00\x00\x00\x00"
  21576. "\x03\x73\x69\x70\x09\x63\x79\x62"
  21577. "\x65\x72\x63\x69\x74\x79\x02\x64"
  21578. "\x6B\x00\x00\x01\x00\x01\x00\x01",
  21579. .plen = 64,
  21580. .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
  21581. "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  21582. .alen = 16,
  21583. .ctext = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
  21584. "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
  21585. "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
  21586. "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
  21587. "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
  21588. "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
  21589. "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
  21590. "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
  21591. "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
  21592. "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
  21593. .clen = 80,
  21594. }, {
  21595. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21596. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21597. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21598. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21599. "\x11\x22\x33",
  21600. .klen = 35,
  21601. .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
  21602. .ptext = "\x45\x00\x00\x30\x69\xA6\x40\x00"
  21603. "\x80\x06\x26\x90\xC0\xA8\x01\x02"
  21604. "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
  21605. "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
  21606. "\x70\x02\x40\x00\x20\xBF\x00\x00"
  21607. "\x02\x04\x05\xB4\x01\x01\x04\x02"
  21608. "\x01\x02\x02\x01",
  21609. .plen = 52,
  21610. .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
  21611. "\x01\x02\x03\x04\x05\x06\x07\x08",
  21612. .alen = 16,
  21613. .ctext = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
  21614. "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
  21615. "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
  21616. "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
  21617. "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
  21618. "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
  21619. "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
  21620. "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
  21621. "\x5A\x48\x6A\x3E",
  21622. .clen = 68,
  21623. }, {
  21624. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  21625. "\x00\x00\x00\x00\x00\x00\x00\x00"
  21626. "\x00\x00\x00",
  21627. .klen = 19,
  21628. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  21629. .ptext = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
  21630. "\x80\x01\xCB\x7A\x40\x67\x93\x18"
  21631. "\x01\x01\x01\x01\x08\x00\x07\x5C"
  21632. "\x02\x00\x44\x00\x61\x62\x63\x64"
  21633. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  21634. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  21635. "\x75\x76\x77\x61\x62\x63\x64\x65"
  21636. "\x66\x67\x68\x69\x01\x02\x02\x01",
  21637. .plen = 64,
  21638. .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
  21639. "\x00\x00\x00\x00\x00\x00\x00\x00",
  21640. .alen = 16,
  21641. .ctext = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
  21642. "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
  21643. "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
  21644. "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
  21645. "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
  21646. "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
  21647. "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
  21648. "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
  21649. "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
  21650. "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
  21651. .clen = 80,
  21652. }, {
  21653. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  21654. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  21655. "\x57\x69\x0E",
  21656. .klen = 19,
  21657. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  21658. .ptext = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
  21659. "\x80\x01\xCB\x7C\x40\x67\x93\x18"
  21660. "\x01\x01\x01\x01\x08\x00\x08\x5C"
  21661. "\x02\x00\x43\x00\x61\x62\x63\x64"
  21662. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  21663. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  21664. "\x75\x76\x77\x61\x62\x63\x64\x65"
  21665. "\x66\x67\x68\x69\x01\x02\x02\x01",
  21666. .plen = 64,
  21667. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  21668. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  21669. "\xA2\xFC\xA1\xA3",
  21670. .alen = 20,
  21671. .ctext = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
  21672. "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
  21673. "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
  21674. "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
  21675. "\x79\x01\x58\x50\x01\x06\xE1\xE0"
  21676. "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
  21677. "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
  21678. "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
  21679. "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
  21680. "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
  21681. .clen = 80,
  21682. }, {
  21683. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  21684. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  21685. "\x57\x69\x0E",
  21686. .klen = 19,
  21687. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  21688. .ptext = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
  21689. "\x80\x01\x44\x1F\x40\x67\x93\xB6"
  21690. "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
  21691. "\x01\x02\x02\x01",
  21692. .plen = 28,
  21693. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  21694. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  21695. "\xA2\xFC\xA1\xA3",
  21696. .alen = 20,
  21697. .ctext = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
  21698. "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
  21699. "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
  21700. "\xA1\xE5\x90\x40\x05\x37\x45\x70"
  21701. "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
  21702. "\x08\xB4\x22\xE4",
  21703. .clen = 44,
  21704. }, {
  21705. .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  21706. "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
  21707. "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  21708. "\xCA\xFE\xBA",
  21709. .klen = 27,
  21710. .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  21711. .ptext = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
  21712. "\x40\x06\x78\x80\x0A\x01\x03\x8F"
  21713. "\x0A\x01\x06\x12\x80\x23\x06\xB8"
  21714. "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
  21715. "\x50\x10\x16\xD0\x75\x68\x00\x01",
  21716. .plen = 40,
  21717. .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
  21718. "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  21719. .alen = 16,
  21720. .ctext = "\x05\x22\x15\xD1\x52\x56\x85\x04"
  21721. "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
  21722. "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
  21723. "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
  21724. "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
  21725. "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
  21726. "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
  21727. .clen = 56,
  21728. }, {
  21729. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21730. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21731. "\xDE\xCA\xF8",
  21732. .klen = 19,
  21733. .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
  21734. .ptext = "\x45\x00\x00\x49\x33\xBA\x00\x00"
  21735. "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
  21736. "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
  21737. "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
  21738. "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
  21739. "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
  21740. "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
  21741. "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
  21742. "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
  21743. "\x23\x01\x01\x01",
  21744. .plen = 76,
  21745. .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
  21746. "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
  21747. "\xCE\xFA\xCE\x74",
  21748. .alen = 20,
  21749. .ctext = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
  21750. "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
  21751. "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
  21752. "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
  21753. "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
  21754. "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
  21755. "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
  21756. "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
  21757. "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
  21758. "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
  21759. "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
  21760. "\x12\x25\x0B\xF9",
  21761. .clen = 92,
  21762. }, {
  21763. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21764. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21765. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21766. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21767. "\x73\x61\x6C",
  21768. .klen = 35,
  21769. .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
  21770. .ptext = "\x45\x08\x00\x28\x73\x2C\x00\x00"
  21771. "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
  21772. "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
  21773. "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
  21774. "\x50\x10\x1F\x64\x6D\x54\x00\x01",
  21775. .plen = 40,
  21776. .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
  21777. "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
  21778. "\x69\x76\x65\x63",
  21779. .alen = 20,
  21780. .ctext = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
  21781. "\x2C\x64\x87\x46\x1E\x34\x10\x05"
  21782. "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
  21783. "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
  21784. "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
  21785. "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
  21786. "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
  21787. .clen = 56,
  21788. }, {
  21789. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  21790. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  21791. "\x57\x69\x0E",
  21792. .klen = 19,
  21793. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  21794. .ptext = "\x45\x00\x00\x49\x33\x3E\x00\x00"
  21795. "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
  21796. "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
  21797. "\x00\x35\xCB\x45\x80\x03\x02\x5B"
  21798. "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
  21799. "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
  21800. "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
  21801. "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
  21802. "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
  21803. "\x15\x01\x01\x01",
  21804. .plen = 76,
  21805. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  21806. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  21807. "\xA2\xFC\xA1\xA3",
  21808. .alen = 20,
  21809. .ctext = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
  21810. "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
  21811. "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
  21812. "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
  21813. "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
  21814. "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
  21815. "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
  21816. "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
  21817. "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
  21818. "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
  21819. "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
  21820. "\xCC\xF7\x46\x6F",
  21821. .clen = 92,
  21822. }, {
  21823. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21824. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21825. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21826. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21827. "\x73\x61\x6C",
  21828. .klen = 35,
  21829. .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
  21830. .ptext = "\x63\x69\x73\x63\x6F\x01\x72\x75"
  21831. "\x6C\x65\x73\x01\x74\x68\x65\x01"
  21832. "\x6E\x65\x74\x77\x65\x01\x64\x65"
  21833. "\x66\x69\x6E\x65\x01\x74\x68\x65"
  21834. "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
  21835. "\x67\x69\x65\x73\x01\x74\x68\x61"
  21836. "\x74\x77\x69\x6C\x6C\x01\x64\x65"
  21837. "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
  21838. "\x72\x72\x6F\x77\x01\x02\x02\x01",
  21839. .plen = 72,
  21840. .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
  21841. "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
  21842. "\x69\x76\x65\x63",
  21843. .alen = 20,
  21844. .ctext = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
  21845. "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
  21846. "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
  21847. "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
  21848. "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
  21849. "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
  21850. "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
  21851. "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
  21852. "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
  21853. "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
  21854. "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
  21855. .clen = 88,
  21856. }, {
  21857. .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
  21858. "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
  21859. "\xD9\x66\x42",
  21860. .klen = 19,
  21861. .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
  21862. .ptext = "\x01\x02\x02\x01",
  21863. .plen = 4,
  21864. .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
  21865. "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
  21866. .alen = 16,
  21867. .ctext = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
  21868. "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
  21869. "\xF7\x61\x24\x62",
  21870. .clen = 20,
  21871. }, {
  21872. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21873. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21874. "\xDE\xCA\xF8",
  21875. .klen = 19,
  21876. .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
  21877. .ptext = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
  21878. "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
  21879. "\x62\x65\x00\x01",
  21880. .plen = 20,
  21881. .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
  21882. "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
  21883. "\xCE\xFA\xCE\x74",
  21884. .alen = 20,
  21885. .ctext = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
  21886. "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
  21887. "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
  21888. "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
  21889. "\x17\x17\x65\xAD",
  21890. .clen = 36,
  21891. }, {
  21892. .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
  21893. "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
  21894. "\x61\x61\x6E\x64\x64\x6F\x69\x74"
  21895. "\x62\x65\x66\x6F\x72\x65\x69\x61"
  21896. "\x74\x75\x72",
  21897. .klen = 35,
  21898. .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
  21899. .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
  21900. "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
  21901. "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
  21902. "\x02\x00\x07\x00\x61\x62\x63\x64"
  21903. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  21904. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  21905. "\x01\x02\x02\x01",
  21906. .plen = 52,
  21907. .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
  21908. "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
  21909. "\x67\x65\x74\x6D",
  21910. .alen = 20,
  21911. .ctext = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
  21912. "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
  21913. "\x48\x59\x80\x18\x1A\x18\x1A\x04"
  21914. "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
  21915. "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
  21916. "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
  21917. "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
  21918. "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
  21919. "\x39\xDB\xC8\xDC",
  21920. .clen = 68,
  21921. }, {
  21922. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  21923. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  21924. "\x57\x69\x0E",
  21925. .klen = 19,
  21926. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  21927. .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
  21928. "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
  21929. "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
  21930. "\x02\x00\x07\x00\x61\x62\x63\x64"
  21931. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  21932. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  21933. "\x01\x02\x02\x01",
  21934. .plen = 52,
  21935. .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
  21936. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  21937. "\xA2\xFC\xA1\xA3",
  21938. .alen = 20,
  21939. .ctext = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
  21940. "\x10\x60\x54\x25\xEB\x80\x04\x93"
  21941. "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
  21942. "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
  21943. "\x79\x01\x58\x50\x01\x06\xE1\xE0"
  21944. "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
  21945. "\x44\xCC\x90\xBF\x00\x94\x94\x92"
  21946. "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
  21947. "\xF4\x95\x5D\x4F",
  21948. .clen = 68,
  21949. }, {
  21950. .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
  21951. "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
  21952. "\x22\x43\x3C",
  21953. .klen = 19,
  21954. .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
  21955. .ptext = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
  21956. "\x61\x62\x63\x64\x65\x66\x67\x68"
  21957. "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
  21958. "\x71\x72\x73\x74\x01\x02\x02\x01",
  21959. .plen = 32,
  21960. .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
  21961. "\x00\x00\x00\x07\x48\x55\xEC\x7D"
  21962. "\x3A\x23\x4B\xFD",
  21963. .alen = 20,
  21964. .ctext = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
  21965. "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
  21966. "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
  21967. "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
  21968. "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
  21969. "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
  21970. .clen = 48,
  21971. }
  21972. };
  21973. /*
  21974. * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
  21975. */
  21976. static const struct aead_testvec rfc7539_tv_template[] = {
  21977. {
  21978. .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
  21979. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  21980. "\x90\x91\x92\x93\x94\x95\x96\x97"
  21981. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
  21982. .klen = 32,
  21983. .iv = "\x07\x00\x00\x00\x40\x41\x42\x43"
  21984. "\x44\x45\x46\x47",
  21985. .assoc = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
  21986. "\xc4\xc5\xc6\xc7",
  21987. .alen = 12,
  21988. .ptext = "\x4c\x61\x64\x69\x65\x73\x20\x61"
  21989. "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
  21990. "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
  21991. "\x74\x68\x65\x20\x63\x6c\x61\x73"
  21992. "\x73\x20\x6f\x66\x20\x27\x39\x39"
  21993. "\x3a\x20\x49\x66\x20\x49\x20\x63"
  21994. "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
  21995. "\x65\x72\x20\x79\x6f\x75\x20\x6f"
  21996. "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
  21997. "\x74\x69\x70\x20\x66\x6f\x72\x20"
  21998. "\x74\x68\x65\x20\x66\x75\x74\x75"
  21999. "\x72\x65\x2c\x20\x73\x75\x6e\x73"
  22000. "\x63\x72\x65\x65\x6e\x20\x77\x6f"
  22001. "\x75\x6c\x64\x20\x62\x65\x20\x69"
  22002. "\x74\x2e",
  22003. .plen = 114,
  22004. .ctext = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
  22005. "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
  22006. "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
  22007. "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
  22008. "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
  22009. "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
  22010. "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
  22011. "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
  22012. "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
  22013. "\x98\x03\xae\xe3\x28\x09\x1b\x58"
  22014. "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
  22015. "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
  22016. "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
  22017. "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
  22018. "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
  22019. "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
  22020. "\x06\x91",
  22021. .clen = 130,
  22022. }, {
  22023. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  22024. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  22025. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  22026. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  22027. .klen = 32,
  22028. .iv = "\x00\x00\x00\x00\x01\x02\x03\x04"
  22029. "\x05\x06\x07\x08",
  22030. .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
  22031. "\x00\x00\x4e\x91",
  22032. .alen = 12,
  22033. .ptext = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
  22034. "\x2d\x44\x72\x61\x66\x74\x73\x20"
  22035. "\x61\x72\x65\x20\x64\x72\x61\x66"
  22036. "\x74\x20\x64\x6f\x63\x75\x6d\x65"
  22037. "\x6e\x74\x73\x20\x76\x61\x6c\x69"
  22038. "\x64\x20\x66\x6f\x72\x20\x61\x20"
  22039. "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
  22040. "\x6f\x66\x20\x73\x69\x78\x20\x6d"
  22041. "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
  22042. "\x64\x20\x6d\x61\x79\x20\x62\x65"
  22043. "\x20\x75\x70\x64\x61\x74\x65\x64"
  22044. "\x2c\x20\x72\x65\x70\x6c\x61\x63"
  22045. "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
  22046. "\x62\x73\x6f\x6c\x65\x74\x65\x64"
  22047. "\x20\x62\x79\x20\x6f\x74\x68\x65"
  22048. "\x72\x20\x64\x6f\x63\x75\x6d\x65"
  22049. "\x6e\x74\x73\x20\x61\x74\x20\x61"
  22050. "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
  22051. "\x20\x49\x74\x20\x69\x73\x20\x69"
  22052. "\x6e\x61\x70\x70\x72\x6f\x70\x72"
  22053. "\x69\x61\x74\x65\x20\x74\x6f\x20"
  22054. "\x75\x73\x65\x20\x49\x6e\x74\x65"
  22055. "\x72\x6e\x65\x74\x2d\x44\x72\x61"
  22056. "\x66\x74\x73\x20\x61\x73\x20\x72"
  22057. "\x65\x66\x65\x72\x65\x6e\x63\x65"
  22058. "\x20\x6d\x61\x74\x65\x72\x69\x61"
  22059. "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
  22060. "\x63\x69\x74\x65\x20\x74\x68\x65"
  22061. "\x6d\x20\x6f\x74\x68\x65\x72\x20"
  22062. "\x74\x68\x61\x6e\x20\x61\x73\x20"
  22063. "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
  22064. "\x20\x69\x6e\x20\x70\x72\x6f\x67"
  22065. "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
  22066. "\x9d",
  22067. .plen = 265,
  22068. .ctext = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
  22069. "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
  22070. "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
  22071. "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
  22072. "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
  22073. "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
  22074. "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
  22075. "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
  22076. "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
  22077. "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
  22078. "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
  22079. "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
  22080. "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
  22081. "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
  22082. "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
  22083. "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
  22084. "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
  22085. "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
  22086. "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
  22087. "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
  22088. "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
  22089. "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
  22090. "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
  22091. "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
  22092. "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
  22093. "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
  22094. "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
  22095. "\x73\xa6\x72\x76\x27\x09\x7a\x10"
  22096. "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
  22097. "\xfa\x68\xf0\xff\x77\x98\x71\x30"
  22098. "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
  22099. "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
  22100. "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
  22101. "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
  22102. "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
  22103. "\x38",
  22104. .clen = 281,
  22105. },
  22106. };
  22107. /*
  22108. * draft-irtf-cfrg-chacha20-poly1305
  22109. */
  22110. static const struct aead_testvec rfc7539esp_tv_template[] = {
  22111. {
  22112. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  22113. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  22114. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  22115. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
  22116. "\x00\x00\x00\x00",
  22117. .klen = 36,
  22118. .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
  22119. .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
  22120. "\x00\x00\x4e\x91\x01\x02\x03\x04"
  22121. "\x05\x06\x07\x08",
  22122. .alen = 20,
  22123. .ptext = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
  22124. "\x2d\x44\x72\x61\x66\x74\x73\x20"
  22125. "\x61\x72\x65\x20\x64\x72\x61\x66"
  22126. "\x74\x20\x64\x6f\x63\x75\x6d\x65"
  22127. "\x6e\x74\x73\x20\x76\x61\x6c\x69"
  22128. "\x64\x20\x66\x6f\x72\x20\x61\x20"
  22129. "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
  22130. "\x6f\x66\x20\x73\x69\x78\x20\x6d"
  22131. "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
  22132. "\x64\x20\x6d\x61\x79\x20\x62\x65"
  22133. "\x20\x75\x70\x64\x61\x74\x65\x64"
  22134. "\x2c\x20\x72\x65\x70\x6c\x61\x63"
  22135. "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
  22136. "\x62\x73\x6f\x6c\x65\x74\x65\x64"
  22137. "\x20\x62\x79\x20\x6f\x74\x68\x65"
  22138. "\x72\x20\x64\x6f\x63\x75\x6d\x65"
  22139. "\x6e\x74\x73\x20\x61\x74\x20\x61"
  22140. "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
  22141. "\x20\x49\x74\x20\x69\x73\x20\x69"
  22142. "\x6e\x61\x70\x70\x72\x6f\x70\x72"
  22143. "\x69\x61\x74\x65\x20\x74\x6f\x20"
  22144. "\x75\x73\x65\x20\x49\x6e\x74\x65"
  22145. "\x72\x6e\x65\x74\x2d\x44\x72\x61"
  22146. "\x66\x74\x73\x20\x61\x73\x20\x72"
  22147. "\x65\x66\x65\x72\x65\x6e\x63\x65"
  22148. "\x20\x6d\x61\x74\x65\x72\x69\x61"
  22149. "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
  22150. "\x63\x69\x74\x65\x20\x74\x68\x65"
  22151. "\x6d\x20\x6f\x74\x68\x65\x72\x20"
  22152. "\x74\x68\x61\x6e\x20\x61\x73\x20"
  22153. "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
  22154. "\x20\x69\x6e\x20\x70\x72\x6f\x67"
  22155. "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
  22156. "\x9d",
  22157. .plen = 265,
  22158. .ctext = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
  22159. "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
  22160. "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
  22161. "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
  22162. "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
  22163. "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
  22164. "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
  22165. "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
  22166. "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
  22167. "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
  22168. "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
  22169. "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
  22170. "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
  22171. "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
  22172. "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
  22173. "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
  22174. "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
  22175. "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
  22176. "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
  22177. "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
  22178. "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
  22179. "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
  22180. "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
  22181. "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
  22182. "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
  22183. "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
  22184. "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
  22185. "\x73\xa6\x72\x76\x27\x09\x7a\x10"
  22186. "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
  22187. "\xfa\x68\xf0\xff\x77\x98\x71\x30"
  22188. "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
  22189. "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
  22190. "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
  22191. "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
  22192. "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
  22193. "\x38",
  22194. .clen = 281,
  22195. },
  22196. };
  22197. /*
  22198. * AEGIS-128 test vectors - generated via reference implementation from
  22199. * SUPERCOP (https://bench.cr.yp.to/supercop.html):
  22200. *
  22201. * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
  22202. * (see crypto_aead/aegis128/)
  22203. */
  22204. static const struct aead_testvec aegis128_tv_template[] = {
  22205. {
  22206. .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
  22207. "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
  22208. .klen = 16,
  22209. .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
  22210. "\x40\x6d\x59\x48\xfc\x92\x61\x03",
  22211. .assoc = "",
  22212. .alen = 0,
  22213. .ptext = "",
  22214. .plen = 0,
  22215. .ctext = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
  22216. "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
  22217. .clen = 16,
  22218. }, {
  22219. .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
  22220. "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
  22221. .klen = 16,
  22222. .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
  22223. "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
  22224. .assoc = "",
  22225. .alen = 0,
  22226. .ptext = "\x79",
  22227. .plen = 1,
  22228. .ctext = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
  22229. "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
  22230. "\xcc",
  22231. .clen = 17,
  22232. }, {
  22233. .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
  22234. "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
  22235. .klen = 16,
  22236. .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
  22237. "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
  22238. .assoc = "",
  22239. .alen = 0,
  22240. .ptext = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
  22241. "\x82\x8e\x16\xb4\xed\x6d\x47",
  22242. .plen = 15,
  22243. .ctext = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
  22244. "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
  22245. "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
  22246. "\x7a\x21\x16\xb3\xe6\x67\x66",
  22247. .clen = 31,
  22248. }, {
  22249. .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
  22250. "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
  22251. .klen = 16,
  22252. .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
  22253. "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
  22254. .assoc = "",
  22255. .alen = 0,
  22256. .ptext = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
  22257. "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
  22258. .plen = 16,
  22259. .ctext = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
  22260. "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
  22261. "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
  22262. "\x51\x10\x16\x27\x70\x9b\x64\x29",
  22263. .clen = 32,
  22264. }, {
  22265. .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
  22266. "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
  22267. .klen = 16,
  22268. .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
  22269. "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
  22270. .assoc = "",
  22271. .alen = 0,
  22272. .ptext = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
  22273. "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
  22274. "\xd3",
  22275. .plen = 17,
  22276. .ctext = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
  22277. "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
  22278. "\x46\x80\xb1\x0e\x18\x30\x40\x97"
  22279. "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
  22280. "\x3b",
  22281. .clen = 33,
  22282. }, {
  22283. .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
  22284. "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
  22285. .klen = 16,
  22286. .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
  22287. "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
  22288. .assoc = "",
  22289. .alen = 0,
  22290. .ptext = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
  22291. "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
  22292. "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
  22293. "\x88\x11\x39\x12\x1c\x3a\xbb",
  22294. .plen = 31,
  22295. .ctext = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
  22296. "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
  22297. "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
  22298. "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
  22299. "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
  22300. "\x75\xc4\x53\x01\x89\x45\x59",
  22301. .clen = 47,
  22302. }, {
  22303. .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
  22304. "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
  22305. .klen = 16,
  22306. .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
  22307. "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
  22308. .assoc = "",
  22309. .alen = 0,
  22310. .ptext = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
  22311. "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
  22312. "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
  22313. "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
  22314. .plen = 32,
  22315. .ctext = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
  22316. "\x95\xf4\x58\x38\x14\x83\x27\x01"
  22317. "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
  22318. "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
  22319. "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
  22320. "\x51\x52\x77\xf2\x5e\x85\x80\x41",
  22321. .clen = 48,
  22322. }, {
  22323. .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
  22324. "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
  22325. .klen = 16,
  22326. .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
  22327. "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
  22328. .assoc = "\xd5",
  22329. .alen = 1,
  22330. .ptext = "",
  22331. .plen = 0,
  22332. .ctext = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
  22333. "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
  22334. .clen = 16,
  22335. }, {
  22336. .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
  22337. "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
  22338. .klen = 16,
  22339. .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
  22340. "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
  22341. .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
  22342. "\x68\x75\x16\xf8\xcb\x7e\xa7",
  22343. .alen = 15,
  22344. .ptext = "",
  22345. .plen = 0,
  22346. .ctext = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
  22347. "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
  22348. .clen = 16,
  22349. }, {
  22350. .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
  22351. "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
  22352. .klen = 16,
  22353. .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
  22354. "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
  22355. .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
  22356. "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
  22357. .alen = 16,
  22358. .ptext = "",
  22359. .plen = 0,
  22360. .ctext = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
  22361. "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
  22362. .clen = 16,
  22363. }, {
  22364. .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
  22365. "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
  22366. .klen = 16,
  22367. .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
  22368. "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
  22369. .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
  22370. "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
  22371. "\x07",
  22372. .alen = 17,
  22373. .ptext = "",
  22374. .plen = 0,
  22375. .ctext = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
  22376. "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
  22377. .clen = 16,
  22378. }, {
  22379. .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
  22380. "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
  22381. .klen = 16,
  22382. .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
  22383. "\xca\xcd\xff\x88\xba\x22\xbe\x47",
  22384. .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
  22385. "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
  22386. "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
  22387. "\xe0\x17\x3a\x2e\x83\x5c\x8f",
  22388. .alen = 31,
  22389. .ptext = "",
  22390. .plen = 0,
  22391. .ctext = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
  22392. "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
  22393. .clen = 16,
  22394. }, {
  22395. .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
  22396. "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
  22397. .klen = 16,
  22398. .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
  22399. "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
  22400. .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
  22401. "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
  22402. "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
  22403. "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
  22404. .alen = 32,
  22405. .ptext = "",
  22406. .plen = 0,
  22407. .ctext = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
  22408. "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
  22409. .clen = 16,
  22410. }, {
  22411. .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
  22412. "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
  22413. .klen = 16,
  22414. .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
  22415. "\xcc\x81\x63\xab\xae\x6b\x43\x54",
  22416. .assoc = "\x40",
  22417. .alen = 1,
  22418. .ptext = "\x4f",
  22419. .plen = 1,
  22420. .ctext = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
  22421. "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
  22422. "\x39",
  22423. .clen = 17,
  22424. }, {
  22425. .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
  22426. "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
  22427. .klen = 16,
  22428. .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
  22429. "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
  22430. .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
  22431. "\x6d\x92\x42\x61\xa7\x58\x37",
  22432. .alen = 15,
  22433. .ptext = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
  22434. "\x8d\xc8\x6e\x85\xa5\x21\x67",
  22435. .plen = 15,
  22436. .ctext = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
  22437. "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
  22438. "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
  22439. "\x98\xbd\x71\x7a\xef\xa4\xfa",
  22440. .clen = 31,
  22441. }, {
  22442. .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
  22443. "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
  22444. .klen = 16,
  22445. .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
  22446. "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
  22447. .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
  22448. "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
  22449. .alen = 16,
  22450. .ptext = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
  22451. "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
  22452. .plen = 16,
  22453. .ctext = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
  22454. "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
  22455. "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
  22456. "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
  22457. .clen = 32,
  22458. }, {
  22459. .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
  22460. "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
  22461. .klen = 16,
  22462. .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
  22463. "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
  22464. .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
  22465. "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
  22466. "\x05",
  22467. .alen = 17,
  22468. .ptext = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
  22469. "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
  22470. "\xd0",
  22471. .plen = 17,
  22472. .ctext = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
  22473. "\x38\x2d\x69\x90\x1c\x71\x38\x98"
  22474. "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
  22475. "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
  22476. "\x93",
  22477. .clen = 33,
  22478. }, {
  22479. .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
  22480. "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
  22481. .klen = 16,
  22482. .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
  22483. "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
  22484. .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
  22485. "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
  22486. "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
  22487. "\x68\x28\x73\x40\x9f\x96\x4a",
  22488. .alen = 31,
  22489. .ptext = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
  22490. "\x10\x57\x85\x39\x93\x8f\xaf\x70"
  22491. "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
  22492. "\x98\x34\xab\x37\x56\xae\x32",
  22493. .plen = 31,
  22494. .ctext = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
  22495. "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
  22496. "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
  22497. "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
  22498. "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
  22499. "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
  22500. .clen = 47,
  22501. }, {
  22502. .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
  22503. "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
  22504. .klen = 16,
  22505. .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
  22506. "\x50\xc4\xde\x82\x90\x21\x11\x73",
  22507. .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
  22508. "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
  22509. "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
  22510. "\x29\x56\x52\x19\x79\xf5\xe9\x37",
  22511. .alen = 32,
  22512. .ptext = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
  22513. "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
  22514. "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
  22515. "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
  22516. .plen = 32,
  22517. .ctext = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
  22518. "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
  22519. "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
  22520. "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
  22521. "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
  22522. "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
  22523. .clen = 48,
  22524. }, {
  22525. .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
  22526. "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
  22527. .klen = 16,
  22528. .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
  22529. "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
  22530. .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
  22531. "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
  22532. "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
  22533. "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
  22534. "\x9d",
  22535. .alen = 33,
  22536. .ptext = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
  22537. "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
  22538. "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
  22539. "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
  22540. "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
  22541. "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
  22542. "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
  22543. "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
  22544. "\xbd",
  22545. .plen = 65,
  22546. .ctext = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
  22547. "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
  22548. "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
  22549. "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
  22550. "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
  22551. "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
  22552. "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
  22553. "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
  22554. "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
  22555. "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
  22556. "\x3f",
  22557. .clen = 81,
  22558. }, {
  22559. .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
  22560. "\x32\x42\x15\x80\x85\xa1\x65\xfe",
  22561. .klen = 16,
  22562. .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
  22563. "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
  22564. .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
  22565. "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
  22566. "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
  22567. "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
  22568. "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
  22569. "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
  22570. "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
  22571. "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
  22572. "\x54",
  22573. .alen = 65,
  22574. .ptext = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
  22575. "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
  22576. "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
  22577. "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
  22578. "\x2f",
  22579. .plen = 33,
  22580. .ctext = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
  22581. "\x77\x09\xac\x74\xef\xd2\x56\xae"
  22582. "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
  22583. "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
  22584. "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
  22585. "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
  22586. "\x39",
  22587. .clen = 49,
  22588. }, {
  22589. .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
  22590. "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
  22591. .klen = 16,
  22592. .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
  22593. "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
  22594. .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
  22595. "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
  22596. .alen = 16,
  22597. .ptext = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
  22598. "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
  22599. .plen = 16,
  22600. .ctext = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
  22601. "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
  22602. "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
  22603. "\xde\x20\x59\x77\xc1\x74\x90",
  22604. .clen = 31,
  22605. }, {
  22606. .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
  22607. "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
  22608. .klen = 16,
  22609. .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
  22610. "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
  22611. .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
  22612. "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
  22613. .alen = 16,
  22614. .ptext = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
  22615. "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
  22616. .plen = 16,
  22617. .ctext = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
  22618. "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
  22619. "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
  22620. "\xe9\xe0\x17\x45\x70\x12",
  22621. .clen = 30,
  22622. }, {
  22623. .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
  22624. "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
  22625. .klen = 16,
  22626. .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
  22627. "\xd5\x07\x58\x59\x72\xd7\xde\x92",
  22628. .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
  22629. "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
  22630. .alen = 16,
  22631. .ptext = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
  22632. "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
  22633. .plen = 16,
  22634. .ctext = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
  22635. "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
  22636. "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
  22637. .clen = 24,
  22638. },
  22639. };
  22640. /*
  22641. * All key wrapping test vectors taken from
  22642. * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip
  22643. *
  22644. * Note: as documented in keywrap.c, the ivout for encryption is the first
  22645. * semiblock of the ciphertext from the test vector. For decryption, iv is
  22646. * the first semiblock of the ciphertext.
  22647. */
  22648. static const struct cipher_testvec aes_kw_tv_template[] = {
  22649. {
  22650. .key = "\x75\x75\xda\x3a\x93\x60\x7c\xc2"
  22651. "\xbf\xd8\xce\xc7\xaa\xdf\xd9\xa6",
  22652. .klen = 16,
  22653. .ptext = "\x42\x13\x6d\x3c\x38\x4a\x3e\xea"
  22654. "\xc9\x5a\x06\x6f\xd2\x8f\xed\x3f",
  22655. .ctext = "\xf6\x85\x94\x81\x6f\x64\xca\xa3"
  22656. "\xf5\x6f\xab\xea\x25\x48\xf5\xfb",
  22657. .len = 16,
  22658. .iv_out = "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
  22659. .generates_iv = true,
  22660. }, {
  22661. .key = "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
  22662. "\x6a\x7a\x41\xa5\x2b\x86\xc3\x71"
  22663. "\x03\x86\xf9\x32\x78\x6e\xf7\x96"
  22664. "\x76\xfa\xfb\x90\xb8\x26\x3c\x5f",
  22665. .klen = 32,
  22666. .ptext = "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
  22667. "\xa0\x2b\xa9\x42\x03\xf1\x5b\xaa",
  22668. .ctext = "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
  22669. "\x59\xf9\x9c\x8a\xcd\x29\x3d\x43",
  22670. .len = 16,
  22671. .iv_out = "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
  22672. .generates_iv = true,
  22673. },
  22674. };
  22675. /*
  22676. * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
  22677. * test vectors, taken from Appendix B.2.9 and B.2.10:
  22678. * http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
  22679. * Only AES-128 is supported at this time.
  22680. */
  22681. static const struct cprng_testvec ansi_cprng_aes_tv_template[] = {
  22682. {
  22683. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  22684. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  22685. .klen = 16,
  22686. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  22687. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
  22688. .dtlen = 16,
  22689. .v = "\x80\x00\x00\x00\x00\x00\x00\x00"
  22690. "\x00\x00\x00\x00\x00\x00\x00\x00",
  22691. .vlen = 16,
  22692. .result = "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
  22693. "\x84\x79\x66\x85\xc1\x2f\x76\x41",
  22694. .rlen = 16,
  22695. .loops = 1,
  22696. }, {
  22697. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  22698. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  22699. .klen = 16,
  22700. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  22701. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
  22702. .dtlen = 16,
  22703. .v = "\xc0\x00\x00\x00\x00\x00\x00\x00"
  22704. "\x00\x00\x00\x00\x00\x00\x00\x00",
  22705. .vlen = 16,
  22706. .result = "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
  22707. "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
  22708. .rlen = 16,
  22709. .loops = 1,
  22710. }, {
  22711. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  22712. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  22713. .klen = 16,
  22714. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  22715. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
  22716. .dtlen = 16,
  22717. .v = "\xe0\x00\x00\x00\x00\x00\x00\x00"
  22718. "\x00\x00\x00\x00\x00\x00\x00\x00",
  22719. .vlen = 16,
  22720. .result = "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
  22721. "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
  22722. .rlen = 16,
  22723. .loops = 1,
  22724. }, {
  22725. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  22726. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  22727. .klen = 16,
  22728. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  22729. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
  22730. .dtlen = 16,
  22731. .v = "\xf0\x00\x00\x00\x00\x00\x00\x00"
  22732. "\x00\x00\x00\x00\x00\x00\x00\x00",
  22733. .vlen = 16,
  22734. .result = "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
  22735. "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
  22736. .rlen = 16,
  22737. .loops = 1,
  22738. }, {
  22739. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  22740. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  22741. .klen = 16,
  22742. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  22743. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
  22744. .dtlen = 16,
  22745. .v = "\xf8\x00\x00\x00\x00\x00\x00\x00"
  22746. "\x00\x00\x00\x00\x00\x00\x00\x00",
  22747. .vlen = 16,
  22748. .result = "\x05\x25\x92\x46\x61\x79\xd2\xcb"
  22749. "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
  22750. .rlen = 16,
  22751. .loops = 1,
  22752. }, { /* Monte Carlo Test */
  22753. .key = "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
  22754. "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
  22755. .klen = 16,
  22756. .dt = "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
  22757. "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
  22758. .dtlen = 16,
  22759. .v = "\x57\x2c\x8e\x76\x87\x26\x47\x97"
  22760. "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
  22761. .vlen = 16,
  22762. .result = "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
  22763. "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
  22764. .rlen = 16,
  22765. .loops = 10000,
  22766. },
  22767. };
  22768. /*
  22769. * SP800-90A DRBG Test vectors from
  22770. * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
  22771. *
  22772. * Test vectors for DRBG with prediction resistance. All types of DRBGs
  22773. * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
  22774. * w/o personalization string, w/ and w/o additional input string).
  22775. */
  22776. static const struct drbg_testvec drbg_pr_sha256_tv_template[] = {
  22777. {
  22778. .entropy = (unsigned char *)
  22779. "\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
  22780. "\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
  22781. "\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
  22782. "\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
  22783. .entropylen = 48,
  22784. .entpra = (unsigned char *)
  22785. "\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
  22786. "\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
  22787. "\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
  22788. .entprb = (unsigned char *)
  22789. "\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
  22790. "\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
  22791. "\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
  22792. .entprlen = 32,
  22793. .expected = (unsigned char *)
  22794. "\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
  22795. "\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
  22796. "\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
  22797. "\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
  22798. "\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
  22799. "\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
  22800. "\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
  22801. "\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
  22802. "\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
  22803. "\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
  22804. "\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
  22805. .expectedlen = 128,
  22806. .addtla = NULL,
  22807. .addtlb = NULL,
  22808. .addtllen = 0,
  22809. .pers = NULL,
  22810. .perslen = 0,
  22811. }, {
  22812. .entropy = (unsigned char *)
  22813. "\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
  22814. "\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
  22815. "\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
  22816. "\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
  22817. .entropylen = 48,
  22818. .entpra = (unsigned char *)
  22819. "\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
  22820. "\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
  22821. "\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
  22822. .entprb = (unsigned char *)
  22823. "\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
  22824. "\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
  22825. "\x76\xaa\x55\x04\x8b\x0a\x72\x95",
  22826. .entprlen = 32,
  22827. .expected = (unsigned char *)
  22828. "\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
  22829. "\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
  22830. "\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
  22831. "\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
  22832. "\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
  22833. "\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
  22834. "\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
  22835. "\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
  22836. "\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
  22837. "\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
  22838. "\x50\x47\xa3\x63\x81\x16\xaf\x19",
  22839. .expectedlen = 128,
  22840. .addtla = (unsigned char *)
  22841. "\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
  22842. "\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
  22843. "\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
  22844. .addtlb = (unsigned char *)
  22845. "\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
  22846. "\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
  22847. "\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
  22848. .addtllen = 32,
  22849. .pers = NULL,
  22850. .perslen = 0,
  22851. }, {
  22852. .entropy = (unsigned char *)
  22853. "\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
  22854. "\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
  22855. "\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
  22856. "\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
  22857. .entropylen = 48,
  22858. .entpra = (unsigned char *)
  22859. "\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
  22860. "\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
  22861. "\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
  22862. .entprb = (unsigned char *)
  22863. "\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
  22864. "\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
  22865. "\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
  22866. .entprlen = 32,
  22867. .expected = (unsigned char *)
  22868. "\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
  22869. "\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
  22870. "\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
  22871. "\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
  22872. "\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
  22873. "\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
  22874. "\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
  22875. "\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
  22876. "\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
  22877. "\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
  22878. "\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
  22879. .expectedlen = 128,
  22880. .addtla = NULL,
  22881. .addtlb = NULL,
  22882. .addtllen = 0,
  22883. .pers = (unsigned char *)
  22884. "\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
  22885. "\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
  22886. "\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
  22887. .perslen = 32,
  22888. }, {
  22889. .entropy = (unsigned char *)
  22890. "\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
  22891. "\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
  22892. "\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
  22893. "\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
  22894. .entropylen = 48,
  22895. .entpra = (unsigned char *)
  22896. "\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
  22897. "\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
  22898. "\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
  22899. .entprb = (unsigned char *)
  22900. "\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
  22901. "\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
  22902. "\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
  22903. .entprlen = 32,
  22904. .expected = (unsigned char *)
  22905. "\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
  22906. "\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
  22907. "\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
  22908. "\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
  22909. "\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
  22910. "\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
  22911. "\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
  22912. "\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
  22913. "\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
  22914. "\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
  22915. "\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
  22916. .expectedlen = 128,
  22917. .addtla = (unsigned char *)
  22918. "\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
  22919. "\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
  22920. "\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
  22921. .addtlb = (unsigned char *)
  22922. "\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
  22923. "\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
  22924. "\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
  22925. .addtllen = 32,
  22926. .pers = (unsigned char *)
  22927. "\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
  22928. "\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
  22929. "\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
  22930. .perslen = 32,
  22931. },
  22932. };
  22933. static const struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
  22934. {
  22935. .entropy = (unsigned char *)
  22936. "\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
  22937. "\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
  22938. "\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
  22939. "\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
  22940. .entropylen = 48,
  22941. .entpra = (unsigned char *)
  22942. "\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
  22943. "\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
  22944. "\xe2\x9a\x29\x51\x81\x56\x9f\x54",
  22945. .entprb = (unsigned char *)
  22946. "\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
  22947. "\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
  22948. "\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
  22949. .entprlen = 32,
  22950. .expected = (unsigned char *)
  22951. "\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
  22952. "\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
  22953. "\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
  22954. "\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
  22955. "\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
  22956. "\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
  22957. "\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
  22958. "\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
  22959. "\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
  22960. "\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
  22961. "\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
  22962. .expectedlen = 128,
  22963. .addtla = NULL,
  22964. .addtlb = NULL,
  22965. .addtllen = 0,
  22966. .pers = NULL,
  22967. .perslen = 0,
  22968. }, {
  22969. .entropy = (unsigned char *)
  22970. "\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
  22971. "\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
  22972. "\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
  22973. "\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
  22974. .entropylen = 48,
  22975. .entpra = (unsigned char *)
  22976. "\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
  22977. "\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
  22978. "\x46\xd9\x26\xa2\x19\xd4\x94\x43",
  22979. .entprb = (unsigned char *)
  22980. "\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
  22981. "\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
  22982. "\x51\x78\x72\xb2\x79\xfd\x2c\xff",
  22983. .entprlen = 32,
  22984. .expected = (unsigned char *)
  22985. "\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
  22986. "\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
  22987. "\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
  22988. "\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
  22989. "\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
  22990. "\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
  22991. "\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
  22992. "\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
  22993. "\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
  22994. "\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
  22995. "\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
  22996. .expectedlen = 128,
  22997. .addtla = (unsigned char *)
  22998. "\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
  22999. "\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
  23000. "\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
  23001. .addtlb = (unsigned char *)
  23002. "\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
  23003. "\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
  23004. "\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
  23005. .addtllen = 32,
  23006. .pers = NULL,
  23007. .perslen = 0,
  23008. }, {
  23009. .entropy = (unsigned char *)
  23010. "\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
  23011. "\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
  23012. "\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
  23013. "\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
  23014. .entropylen = 48,
  23015. .entpra = (unsigned char *)
  23016. "\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
  23017. "\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
  23018. "\x20\x28\xad\xf2\x60\xd7\xcd\x45",
  23019. .entprb = (unsigned char *)
  23020. "\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
  23021. "\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
  23022. "\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
  23023. .entprlen = 32,
  23024. .expected = (unsigned char *)
  23025. "\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
  23026. "\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
  23027. "\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
  23028. "\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
  23029. "\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
  23030. "\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
  23031. "\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
  23032. "\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
  23033. "\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
  23034. "\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
  23035. "\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
  23036. .expectedlen = 128,
  23037. .addtla = NULL,
  23038. .addtlb = NULL,
  23039. .addtllen = 0,
  23040. .pers = (unsigned char *)
  23041. "\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
  23042. "\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
  23043. "\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
  23044. .perslen = 32,
  23045. }, {
  23046. .entropy = (unsigned char *)
  23047. "\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
  23048. "\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
  23049. "\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
  23050. "\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
  23051. .entropylen = 48,
  23052. .entpra = (unsigned char *)
  23053. "\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
  23054. "\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
  23055. "\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
  23056. .entprb = (unsigned char *)
  23057. "\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
  23058. "\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
  23059. "\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
  23060. .entprlen = 32,
  23061. .expected = (unsigned char *)
  23062. "\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
  23063. "\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
  23064. "\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
  23065. "\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
  23066. "\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
  23067. "\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
  23068. "\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
  23069. "\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
  23070. "\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
  23071. "\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
  23072. "\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
  23073. .expectedlen = 128,
  23074. .addtla = (unsigned char *)
  23075. "\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
  23076. "\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
  23077. "\x86\x88\x55\x28\xc1\x69\xdd\x76",
  23078. .addtlb = (unsigned char *)
  23079. "\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
  23080. "\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
  23081. "\x00\x99\x2a\xdd\x0a\x00\x50\x82",
  23082. .addtllen = 32,
  23083. .pers = (unsigned char *)
  23084. "\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
  23085. "\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
  23086. "\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
  23087. .perslen = 32,
  23088. },
  23089. };
  23090. static const struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
  23091. {
  23092. .entropy = (unsigned char *)
  23093. "\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
  23094. "\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
  23095. .entropylen = 24,
  23096. .entpra = (unsigned char *)
  23097. "\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
  23098. "\xb4\xec\x80\xb1",
  23099. .entprb = (unsigned char *)
  23100. "\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
  23101. "\x28\x07\xeb\xc2",
  23102. .entprlen = 16,
  23103. .expected = (unsigned char *)
  23104. "\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
  23105. "\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
  23106. "\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
  23107. "\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
  23108. "\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
  23109. "\x8a\xf1\x23\xa8",
  23110. .expectedlen = 64,
  23111. .addtla = NULL,
  23112. .addtlb = NULL,
  23113. .addtllen = 0,
  23114. .pers = NULL,
  23115. .perslen = 0,
  23116. }, {
  23117. .entropy = (unsigned char *)
  23118. "\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
  23119. "\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
  23120. .entropylen = 24,
  23121. .entpra = (unsigned char *)
  23122. "\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
  23123. "\x67\xd1\x08\xf8",
  23124. .entprb = (unsigned char *)
  23125. "\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
  23126. "\xd4\xba\x04\x58",
  23127. .entprlen = 16,
  23128. .expected = (unsigned char *)
  23129. "\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
  23130. "\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
  23131. "\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
  23132. "\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
  23133. "\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
  23134. "\xc1\x02\x41\x82",
  23135. .expectedlen = 64,
  23136. .addtla = (unsigned char *)
  23137. "\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
  23138. "\xeb\xb3\x01\x76",
  23139. .addtlb = (unsigned char *)
  23140. "\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
  23141. "\xd0\x7f\xcc\x43",
  23142. .addtllen = 16,
  23143. .pers = NULL,
  23144. .perslen = 0,
  23145. }, {
  23146. .entropy = (unsigned char *)
  23147. "\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
  23148. "\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
  23149. .entropylen = 24,
  23150. .entpra = (unsigned char *)
  23151. "\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
  23152. "\xc3\x0f\xe3\xb0",
  23153. .entprb = (unsigned char *)
  23154. "\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
  23155. "\xd6\x9c\x9d\xe8",
  23156. .entprlen = 16,
  23157. .expected = (unsigned char *)
  23158. "\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
  23159. "\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
  23160. "\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
  23161. "\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
  23162. "\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
  23163. "\x72\x82\x0c\xcf",
  23164. .expectedlen = 64,
  23165. .addtla = NULL,
  23166. .addtlb = NULL,
  23167. .addtllen = 0,
  23168. .pers = (unsigned char *)
  23169. "\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
  23170. "\x21\x52\xb3\xad",
  23171. .perslen = 16,
  23172. }, {
  23173. .entropy = (unsigned char *)
  23174. "\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
  23175. "\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
  23176. .entropylen = 24,
  23177. .entpra = (unsigned char *)
  23178. "\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
  23179. "\xc4\x2c\xe8\x10",
  23180. .entprb = (unsigned char *)
  23181. "\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
  23182. "\x08\xf7\xa5\x01",
  23183. .entprlen = 16,
  23184. .expected = (unsigned char *)
  23185. "\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
  23186. "\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
  23187. "\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
  23188. "\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
  23189. "\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
  23190. "\x23\xc5\x1f\x68",
  23191. .expectedlen = 64,
  23192. .addtla = (unsigned char *)
  23193. "\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
  23194. "\x23\x6d\xad\x1d",
  23195. .addtlb = (unsigned char *)
  23196. "\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
  23197. "\xbc\x59\x31\x8c",
  23198. .addtllen = 16,
  23199. .pers = (unsigned char *)
  23200. "\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
  23201. "\x37\x3c\x5c\x0b",
  23202. .perslen = 16,
  23203. },
  23204. };
  23205. /*
  23206. * SP800-90A DRBG Test vectors from
  23207. * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
  23208. *
  23209. * Test vectors for DRBG without prediction resistance. All types of DRBGs
  23210. * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
  23211. * w/o personalization string, w/ and w/o additional input string).
  23212. */
  23213. static const struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
  23214. {
  23215. .entropy = (unsigned char *)
  23216. "\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
  23217. "\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
  23218. "\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
  23219. "\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
  23220. .entropylen = 48,
  23221. .expected = (unsigned char *)
  23222. "\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
  23223. "\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
  23224. "\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
  23225. "\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
  23226. "\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
  23227. "\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
  23228. "\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
  23229. "\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
  23230. "\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
  23231. "\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
  23232. "\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
  23233. .expectedlen = 128,
  23234. .addtla = NULL,
  23235. .addtlb = NULL,
  23236. .addtllen = 0,
  23237. .pers = NULL,
  23238. .perslen = 0,
  23239. }, {
  23240. .entropy = (unsigned char *)
  23241. "\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
  23242. "\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
  23243. "\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
  23244. "\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
  23245. .entropylen = 48,
  23246. .expected = (unsigned char *)
  23247. "\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
  23248. "\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
  23249. "\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
  23250. "\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
  23251. "\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
  23252. "\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
  23253. "\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
  23254. "\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
  23255. "\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
  23256. "\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
  23257. "\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
  23258. .expectedlen = 128,
  23259. .addtla = (unsigned char *)
  23260. "\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
  23261. "\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
  23262. "\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
  23263. .addtlb = (unsigned char *)
  23264. "\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
  23265. "\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
  23266. "\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
  23267. .addtllen = 32,
  23268. .pers = NULL,
  23269. .perslen = 0,
  23270. }, {
  23271. .entropy = (unsigned char *)
  23272. "\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
  23273. "\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
  23274. "\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
  23275. "\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
  23276. .entropylen = 48,
  23277. .expected = (unsigned char *)
  23278. "\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
  23279. "\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
  23280. "\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
  23281. "\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
  23282. "\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
  23283. "\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
  23284. "\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
  23285. "\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
  23286. "\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
  23287. "\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
  23288. "\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
  23289. .expectedlen = 128,
  23290. .addtla = NULL,
  23291. .addtlb = NULL,
  23292. .addtllen = 0,
  23293. .pers = (unsigned char *)
  23294. "\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
  23295. "\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
  23296. "\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
  23297. .perslen = 32,
  23298. }, {
  23299. .entropy = (unsigned char *)
  23300. "\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
  23301. "\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
  23302. "\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
  23303. "\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
  23304. .entropylen = 48,
  23305. .expected = (unsigned char *)
  23306. "\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
  23307. "\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
  23308. "\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
  23309. "\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
  23310. "\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
  23311. "\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
  23312. "\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
  23313. "\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
  23314. "\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
  23315. "\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
  23316. "\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
  23317. .expectedlen = 128,
  23318. .addtla = (unsigned char *)
  23319. "\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
  23320. "\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
  23321. "\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
  23322. .addtlb = (unsigned char *)
  23323. "\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
  23324. "\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
  23325. "\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
  23326. .addtllen = 32,
  23327. .pers = (unsigned char *)
  23328. "\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
  23329. "\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
  23330. "\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
  23331. .perslen = 32,
  23332. },
  23333. };
  23334. static const struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
  23335. {
  23336. .entropy = (unsigned char *)
  23337. "\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
  23338. "\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
  23339. "\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
  23340. "\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
  23341. .entropylen = 48,
  23342. .expected = (unsigned char *)
  23343. "\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
  23344. "\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
  23345. "\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
  23346. "\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
  23347. "\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
  23348. "\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
  23349. "\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
  23350. "\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
  23351. "\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
  23352. "\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
  23353. "\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
  23354. .expectedlen = 128,
  23355. .addtla = NULL,
  23356. .addtlb = NULL,
  23357. .addtllen = 0,
  23358. .pers = NULL,
  23359. .perslen = 0,
  23360. }, {
  23361. .entropy = (unsigned char *)
  23362. "\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
  23363. "\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
  23364. "\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
  23365. "\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
  23366. .entropylen = 48,
  23367. .expected = (unsigned char *)
  23368. "\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
  23369. "\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
  23370. "\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
  23371. "\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
  23372. "\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
  23373. "\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
  23374. "\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
  23375. "\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
  23376. "\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
  23377. "\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
  23378. "\x50\x9a\x8c\x85\x90\x87\x03\x9c",
  23379. .expectedlen = 128,
  23380. .addtla = (unsigned char *)
  23381. "\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
  23382. "\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
  23383. "\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
  23384. .addtlb = (unsigned char *)
  23385. "\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
  23386. "\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
  23387. "\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
  23388. .addtllen = 32,
  23389. .pers = NULL,
  23390. .perslen = 0,
  23391. }, {
  23392. .entropy = (unsigned char *)
  23393. "\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
  23394. "\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
  23395. "\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
  23396. "\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
  23397. .entropylen = 48,
  23398. .expected = (unsigned char *)
  23399. "\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
  23400. "\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
  23401. "\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
  23402. "\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
  23403. "\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
  23404. "\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
  23405. "\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
  23406. "\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
  23407. "\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
  23408. "\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
  23409. "\x10\x37\x41\x03\x0c\xcc\x3a\x56",
  23410. .expectedlen = 128,
  23411. .addtla = NULL,
  23412. .addtlb = NULL,
  23413. .addtllen = 0,
  23414. .pers = (unsigned char *)
  23415. "\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
  23416. "\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
  23417. "\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
  23418. .perslen = 32,
  23419. }, {
  23420. .entropy = (unsigned char *)
  23421. "\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
  23422. "\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
  23423. "\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
  23424. "\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
  23425. .entropylen = 48,
  23426. .expected = (unsigned char *)
  23427. "\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
  23428. "\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
  23429. "\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
  23430. "\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
  23431. "\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
  23432. "\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
  23433. "\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
  23434. "\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
  23435. "\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
  23436. "\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
  23437. "\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
  23438. .expectedlen = 128,
  23439. .addtla = (unsigned char *)
  23440. "\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
  23441. "\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
  23442. "\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
  23443. .addtlb = (unsigned char *)
  23444. "\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
  23445. "\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
  23446. "\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
  23447. .addtllen = 32,
  23448. .pers = (unsigned char *)
  23449. "\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
  23450. "\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
  23451. "\x36\x60\x3b\xca\x37\xc9\xee\x29",
  23452. .perslen = 32,
  23453. },
  23454. };
  23455. /* Test vector obtained during NIST ACVP testing */
  23456. static const struct drbg_testvec drbg_nopr_hmac_sha512_tv_template[] = {
  23457. {
  23458. .entropy = (unsigned char *)
  23459. "\xDF\xB0\xF2\x18\xF0\x78\x07\x01\x29\xA4\x29\x26"
  23460. "\x2F\x8A\x34\xCB\x37\xEF\xEE\x41\xE6\x96\xF7\xFF"
  23461. "\x61\x47\xD3\xED\x41\x97\xEF\x64\x0C\x48\x56\x5A"
  23462. "\xE6\x40\x6E\x4A\x3B\x9E\x7F\xAC\x08\xEC\x25\xAE"
  23463. "\x0B\x51\x0E\x2C\x44\x2E\xBD\xDB\x57\xD0\x4A\x6D"
  23464. "\x80\x3E\x37\x0F",
  23465. .entropylen = 64,
  23466. .expected = (unsigned char *)
  23467. "\x48\xc6\xa8\xdb\x09\xae\xde\x5d\x8c\x77\xf3\x52"
  23468. "\x92\x71\xa7\xb9\x6d\x53\x6d\xa3\x73\xe3\x55\xb8"
  23469. "\x39\xd6\x44\x2b\xee\xcb\xe1\x32\x15\x30\xbe\x4e"
  23470. "\x9b\x1e\x06\xd1\x6b\xbf\xd5\x3e\xea\x7c\xf5\xaa"
  23471. "\x4b\x05\xb5\xd3\xa7\xb2\xc4\xfe\xe7\x1b\xda\x11"
  23472. "\x43\x98\x03\x70\x90\xbf\x6e\x43\x9b\xe4\x14\xef"
  23473. "\x71\xa3\x2a\xef\x9f\x0d\xb9\xe3\x52\xf2\x89\xc9"
  23474. "\x66\x9a\x60\x60\x99\x60\x62\x4c\xd6\x45\x52\x54"
  23475. "\xe6\x32\xb2\x1b\xd4\x48\xb5\xa6\xf9\xba\xd3\xff"
  23476. "\x29\xc5\x21\xe0\x91\x31\xe0\x38\x8c\x93\x0f\x3c"
  23477. "\x30\x7b\x53\xa3\xc0\x7f\x2d\xc1\x39\xec\x69\x0e"
  23478. "\xf2\x4a\x3c\x65\xcc\xed\x07\x2a\xf2\x33\x83\xdb"
  23479. "\x10\x74\x96\x40\xa7\xc5\x1b\xde\x81\xca\x0b\x8f"
  23480. "\x1e\x0a\x1a\x7a\xbf\x3c\x4a\xb8\x8c\xaf\x7b\x80"
  23481. "\xb7\xdc\x5d\x0f\xef\x1b\x97\x6e\x3d\x17\x23\x5a"
  23482. "\x31\xb9\x19\xcf\x5a\xc5\x00\x2a\xb6\xf3\x99\x34"
  23483. "\x65\xee\xe9\x1c\x55\xa0\x3b\x07\x60\xc9\xc4\xe4"
  23484. "\xf7\x57\x5c\x34\x9f\xc6\x31\x30\x3f\x23\xb2\x89"
  23485. "\xc0\xe7\x50\xf3\xde\x59\xd1\x0e\xb3\x0f\x78\xcc"
  23486. "\x7e\x54\x5e\x61\xf6\x86\x3d\xb3\x11\x94\x36\x3e"
  23487. "\x61\x5c\x48\x99\xf6\x7b\x02\x9a\xdc\x6a\x28\xe6"
  23488. "\xd1\xa7\xd1\xa3",
  23489. .expectedlen = 256,
  23490. .addtla = (unsigned char *)
  23491. "\x6B\x0F\x4A\x48\x0B\x12\x85\xE4\x72\x23\x7F\x7F"
  23492. "\x94\x7C\x24\x69\x14\x9F\xDC\x72\xA6\x33\xAD\x3C"
  23493. "\x8C\x72\xC1\x88\x49\x59\x82\xC5",
  23494. .addtlb = (unsigned char *)
  23495. "\xC4\xAF\x36\x3D\xB8\x5D\x9D\xFA\x92\xF5\xC3\x3C"
  23496. "\x2D\x1E\x22\x2A\xBD\x8B\x05\x6F\xA3\xFC\xBF\x16"
  23497. "\xED\xAA\x75\x8D\x73\x9A\xF6\xEC",
  23498. .addtllen = 32,
  23499. .pers = NULL,
  23500. .perslen = 0,
  23501. }
  23502. };
  23503. static const struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
  23504. {
  23505. .entropy = (unsigned char *)
  23506. "\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
  23507. "\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
  23508. "\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
  23509. "\xac\x9b\xbb\x00",
  23510. .entropylen = 40,
  23511. .expected = (unsigned char *)
  23512. "\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
  23513. "\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
  23514. "\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
  23515. "\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
  23516. "\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
  23517. "\x9a\x9d\xf1\x0d",
  23518. .expectedlen = 64,
  23519. .addtla = NULL,
  23520. .addtlb = NULL,
  23521. .addtllen = 0,
  23522. .pers = NULL,
  23523. .perslen = 0,
  23524. },
  23525. };
  23526. static const struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
  23527. {
  23528. .entropy = (unsigned char *)
  23529. "\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
  23530. "\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
  23531. "\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
  23532. "\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
  23533. .entropylen = 48,
  23534. .expected = (unsigned char *)
  23535. "\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
  23536. "\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
  23537. "\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
  23538. "\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
  23539. "\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
  23540. "\xb4\xf0\x7e\x1d",
  23541. .expectedlen = 64,
  23542. .addtla = NULL,
  23543. .addtlb = NULL,
  23544. .addtllen = 0,
  23545. .pers = NULL,
  23546. .perslen = 0,
  23547. },
  23548. };
  23549. static const struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
  23550. {
  23551. .entropy = (unsigned char *)
  23552. "\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
  23553. "\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
  23554. .entropylen = 24,
  23555. .expected = (unsigned char *)
  23556. "\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
  23557. "\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
  23558. "\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
  23559. "\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
  23560. "\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
  23561. "\xcb\x2d\xd6\xb0",
  23562. .expectedlen = 64,
  23563. .addtla = NULL,
  23564. .addtlb = NULL,
  23565. .addtllen = 0,
  23566. .pers = NULL,
  23567. .perslen = 0,
  23568. }, {
  23569. .entropy = (unsigned char *)
  23570. "\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
  23571. "\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
  23572. .entropylen = 24,
  23573. .expected = (unsigned char *)
  23574. "\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
  23575. "\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
  23576. "\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
  23577. "\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
  23578. "\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
  23579. "\xc3\xdf\xb3\x81",
  23580. .expectedlen = 64,
  23581. .addtla = (unsigned char *)
  23582. "\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
  23583. "\x91\x4d\x81\x56",
  23584. .addtlb = (unsigned char *)
  23585. "\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
  23586. "\x4a\x55\xd1\xc6",
  23587. .addtllen = 16,
  23588. .pers = NULL,
  23589. .perslen = 0,
  23590. }, {
  23591. .entropy = (unsigned char *)
  23592. "\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
  23593. "\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
  23594. .entropylen = 24,
  23595. .expected = (unsigned char *)
  23596. "\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
  23597. "\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
  23598. "\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
  23599. "\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
  23600. "\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
  23601. "\x34\x30\x0c\x3d",
  23602. .expectedlen = 64,
  23603. .addtla = NULL,
  23604. .addtlb = NULL,
  23605. .addtllen = 0,
  23606. .pers = (unsigned char *)
  23607. "\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
  23608. "\x0b\xc6\x97\x54",
  23609. .perslen = 16,
  23610. }, {
  23611. .entropy = (unsigned char *)
  23612. "\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
  23613. "\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
  23614. .entropylen = 24,
  23615. .expected = (unsigned char *)
  23616. "\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
  23617. "\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
  23618. "\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
  23619. "\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
  23620. "\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
  23621. "\x2b\x49\x1e\x5c",
  23622. .expectedlen = 64,
  23623. .addtla = (unsigned char *)
  23624. "\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
  23625. "\x44\x85\xe7\xfe",
  23626. .addtlb = (unsigned char *)
  23627. "\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
  23628. "\x82\x16\x62\x7f",
  23629. .addtllen = 16,
  23630. .pers = (unsigned char *)
  23631. "\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
  23632. "\x8e\xcf\xe0\x02",
  23633. .perslen = 16,
  23634. },
  23635. };
  23636. /* Cast5 test vectors from RFC 2144 */
  23637. static const struct cipher_testvec cast5_tv_template[] = {
  23638. {
  23639. .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
  23640. "\x23\x45\x67\x89\x34\x56\x78\x9a",
  23641. .klen = 16,
  23642. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  23643. .ctext = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
  23644. .len = 8,
  23645. }, {
  23646. .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
  23647. "\x23\x45",
  23648. .klen = 10,
  23649. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  23650. .ctext = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
  23651. .len = 8,
  23652. }, {
  23653. .key = "\x01\x23\x45\x67\x12",
  23654. .klen = 5,
  23655. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  23656. .ctext = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
  23657. .len = 8,
  23658. }, { /* Generated from TF test vectors */
  23659. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  23660. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
  23661. .klen = 16,
  23662. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  23663. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  23664. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  23665. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  23666. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  23667. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  23668. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  23669. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  23670. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  23671. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  23672. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  23673. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  23674. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  23675. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  23676. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  23677. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  23678. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  23679. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  23680. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  23681. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  23682. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  23683. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  23684. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  23685. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  23686. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  23687. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  23688. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  23689. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  23690. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  23691. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  23692. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  23693. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  23694. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  23695. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  23696. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  23697. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  23698. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  23699. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  23700. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  23701. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  23702. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  23703. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  23704. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  23705. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  23706. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  23707. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  23708. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  23709. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  23710. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  23711. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  23712. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  23713. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  23714. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  23715. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  23716. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  23717. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  23718. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  23719. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  23720. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  23721. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  23722. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  23723. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  23724. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  23725. .ctext = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
  23726. "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
  23727. "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
  23728. "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
  23729. "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
  23730. "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
  23731. "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
  23732. "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
  23733. "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
  23734. "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
  23735. "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
  23736. "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
  23737. "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
  23738. "\xED\x34\x35\x78\x6B\x91\xC9\x32"
  23739. "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
  23740. "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
  23741. "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
  23742. "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
  23743. "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
  23744. "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
  23745. "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
  23746. "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
  23747. "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
  23748. "\x78\x75\x37\x55\xC1\xF5\x90\x40"
  23749. "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
  23750. "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
  23751. "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
  23752. "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
  23753. "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
  23754. "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
  23755. "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
  23756. "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
  23757. "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
  23758. "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
  23759. "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
  23760. "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
  23761. "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
  23762. "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
  23763. "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
  23764. "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
  23765. "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
  23766. "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
  23767. "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
  23768. "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
  23769. "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
  23770. "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
  23771. "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
  23772. "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
  23773. "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
  23774. "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
  23775. "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
  23776. "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
  23777. "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
  23778. "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
  23779. "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
  23780. "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
  23781. "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
  23782. "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
  23783. "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
  23784. "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
  23785. "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
  23786. "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
  23787. .len = 496,
  23788. },
  23789. };
  23790. static const struct cipher_testvec cast5_cbc_tv_template[] = {
  23791. { /* Generated from TF test vectors */
  23792. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  23793. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
  23794. .klen = 16,
  23795. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  23796. .iv_out = "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
  23797. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  23798. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  23799. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  23800. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  23801. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  23802. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  23803. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  23804. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  23805. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  23806. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  23807. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  23808. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  23809. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  23810. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  23811. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  23812. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  23813. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  23814. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  23815. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  23816. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  23817. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  23818. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  23819. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  23820. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  23821. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  23822. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  23823. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  23824. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  23825. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  23826. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  23827. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  23828. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  23829. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  23830. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  23831. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  23832. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  23833. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  23834. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  23835. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  23836. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  23837. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  23838. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  23839. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  23840. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  23841. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  23842. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  23843. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  23844. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  23845. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  23846. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  23847. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  23848. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  23849. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  23850. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  23851. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  23852. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  23853. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  23854. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  23855. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  23856. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  23857. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  23858. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  23859. .ctext = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
  23860. "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
  23861. "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
  23862. "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
  23863. "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
  23864. "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
  23865. "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
  23866. "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
  23867. "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
  23868. "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
  23869. "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
  23870. "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
  23871. "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
  23872. "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
  23873. "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
  23874. "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
  23875. "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
  23876. "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
  23877. "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
  23878. "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
  23879. "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
  23880. "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
  23881. "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
  23882. "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
  23883. "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
  23884. "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
  23885. "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
  23886. "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
  23887. "\x90\x12\x37\x49\x27\x98\x69\x18"
  23888. "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
  23889. "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
  23890. "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
  23891. "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
  23892. "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
  23893. "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
  23894. "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
  23895. "\x03\x55\x0E\x02\x41\x4A\x45\x06"
  23896. "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
  23897. "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
  23898. "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
  23899. "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
  23900. "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
  23901. "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
  23902. "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
  23903. "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
  23904. "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
  23905. "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
  23906. "\x11\xB4\x18\x17\x1A\x65\x92\x56"
  23907. "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
  23908. "\x1A\x01\x22\x45\x17\x62\x52\x6C"
  23909. "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
  23910. "\x32\x66\x6F\x23\x7F\x94\x36\x88"
  23911. "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
  23912. "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
  23913. "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
  23914. "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
  23915. "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
  23916. "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
  23917. "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
  23918. "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
  23919. "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
  23920. "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
  23921. .len = 496,
  23922. },
  23923. };
  23924. static const struct cipher_testvec cast5_ctr_tv_template[] = {
  23925. { /* Generated from TF test vectors */
  23926. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  23927. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
  23928. .klen = 16,
  23929. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  23930. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x62",
  23931. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  23932. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  23933. "\x3A",
  23934. .ctext = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
  23935. "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
  23936. "\x0C",
  23937. .len = 17,
  23938. }, { /* Generated from TF test vectors */
  23939. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  23940. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
  23941. .klen = 16,
  23942. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  23943. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9D",
  23944. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  23945. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  23946. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  23947. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  23948. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  23949. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  23950. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  23951. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  23952. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  23953. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  23954. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  23955. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  23956. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  23957. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  23958. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  23959. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  23960. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  23961. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  23962. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  23963. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  23964. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  23965. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  23966. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  23967. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  23968. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  23969. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  23970. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  23971. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  23972. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  23973. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  23974. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  23975. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  23976. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  23977. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  23978. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  23979. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  23980. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  23981. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  23982. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  23983. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  23984. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  23985. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  23986. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  23987. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  23988. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  23989. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  23990. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  23991. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  23992. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  23993. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  23994. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  23995. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  23996. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  23997. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  23998. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  23999. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  24000. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  24001. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  24002. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  24003. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  24004. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  24005. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  24006. .ctext = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
  24007. "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
  24008. "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
  24009. "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
  24010. "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
  24011. "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
  24012. "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
  24013. "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
  24014. "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
  24015. "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
  24016. "\x88\x18\x52\x56\x48\x58\xD1\x6B"
  24017. "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
  24018. "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
  24019. "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
  24020. "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
  24021. "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
  24022. "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
  24023. "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
  24024. "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
  24025. "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
  24026. "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
  24027. "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
  24028. "\x44\x67\x90\x20\xAC\x41\xDF\x43"
  24029. "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
  24030. "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
  24031. "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
  24032. "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
  24033. "\xAE\x59\x0F\x07\x88\x79\x53\x26"
  24034. "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
  24035. "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
  24036. "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
  24037. "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
  24038. "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
  24039. "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
  24040. "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
  24041. "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
  24042. "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
  24043. "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
  24044. "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
  24045. "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
  24046. "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
  24047. "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
  24048. "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
  24049. "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
  24050. "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
  24051. "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
  24052. "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
  24053. "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
  24054. "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
  24055. "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
  24056. "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
  24057. "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
  24058. "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
  24059. "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
  24060. "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
  24061. "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
  24062. "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
  24063. "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
  24064. "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
  24065. "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
  24066. "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
  24067. "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
  24068. .len = 496,
  24069. },
  24070. };
  24071. /*
  24072. * ARC4 test vectors from OpenSSL
  24073. */
  24074. static const struct cipher_testvec arc4_tv_template[] = {
  24075. {
  24076. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  24077. .klen = 8,
  24078. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  24079. .ctext = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
  24080. .len = 8,
  24081. }, {
  24082. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  24083. .klen = 8,
  24084. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  24085. .ctext = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
  24086. .len = 8,
  24087. }, {
  24088. .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
  24089. .klen = 8,
  24090. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  24091. .ctext = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
  24092. .len = 8,
  24093. }, {
  24094. .key = "\xef\x01\x23\x45",
  24095. .klen = 4,
  24096. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24097. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24098. "\x00\x00\x00\x00",
  24099. .ctext = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
  24100. "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
  24101. "\x36\xb6\x78\x58",
  24102. .len = 20,
  24103. }, {
  24104. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  24105. .klen = 8,
  24106. .ptext = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
  24107. "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
  24108. "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
  24109. "\x12\x34\x56\x78",
  24110. .ctext = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
  24111. "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
  24112. "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
  24113. "\x40\x01\x1e\xcf",
  24114. .len = 28,
  24115. }, {
  24116. .key = "\xef\x01\x23\x45",
  24117. .klen = 4,
  24118. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24119. "\x00\x00",
  24120. .ctext = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
  24121. "\xbd\x61",
  24122. .len = 10,
  24123. }, {
  24124. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  24125. "\x00\x00\x00\x00\x00\x00\x00\x00",
  24126. .klen = 16,
  24127. .ptext = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
  24128. .ctext = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
  24129. .len = 8,
  24130. },
  24131. };
  24132. /*
  24133. * TEA test vectors
  24134. */
  24135. static const struct cipher_testvec tea_tv_template[] = {
  24136. {
  24137. .key = zeroed_string,
  24138. .klen = 16,
  24139. .ptext = zeroed_string,
  24140. .ctext = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
  24141. .len = 8,
  24142. }, {
  24143. .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
  24144. "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
  24145. .klen = 16,
  24146. .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
  24147. .ctext = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
  24148. .len = 8,
  24149. }, {
  24150. .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
  24151. "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
  24152. .klen = 16,
  24153. .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
  24154. "\x65\x73\x74\x5f\x76\x65\x63\x74",
  24155. .ctext = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
  24156. "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
  24157. .len = 16,
  24158. }, {
  24159. .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
  24160. "\x5d\x04\x16\x36\x15\x72\x63\x2f",
  24161. .klen = 16,
  24162. .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
  24163. "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
  24164. "\x79\x6f\x75\x21\x21\x21\x20\x72"
  24165. "\x65\x61\x6c\x6c\x79\x21\x21\x21",
  24166. .ctext = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
  24167. "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
  24168. "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
  24169. "\x07\x89\x73\xc2\x45\x92\xc6\x90",
  24170. .len = 32,
  24171. }
  24172. };
  24173. /*
  24174. * XTEA test vectors
  24175. */
  24176. static const struct cipher_testvec xtea_tv_template[] = {
  24177. {
  24178. .key = zeroed_string,
  24179. .klen = 16,
  24180. .ptext = zeroed_string,
  24181. .ctext = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
  24182. .len = 8,
  24183. }, {
  24184. .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
  24185. "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
  24186. .klen = 16,
  24187. .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
  24188. .ctext = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
  24189. .len = 8,
  24190. }, {
  24191. .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
  24192. "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
  24193. .klen = 16,
  24194. .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
  24195. "\x65\x73\x74\x5f\x76\x65\x63\x74",
  24196. .ctext = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
  24197. "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
  24198. .len = 16,
  24199. }, {
  24200. .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
  24201. "\x5d\x04\x16\x36\x15\x72\x63\x2f",
  24202. .klen = 16,
  24203. .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
  24204. "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
  24205. "\x79\x6f\x75\x21\x21\x21\x20\x72"
  24206. "\x65\x61\x6c\x6c\x79\x21\x21\x21",
  24207. .ctext = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
  24208. "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
  24209. "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
  24210. "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
  24211. .len = 32,
  24212. }
  24213. };
  24214. /*
  24215. * KHAZAD test vectors.
  24216. */
  24217. static const struct cipher_testvec khazad_tv_template[] = {
  24218. {
  24219. .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
  24220. "\x00\x00\x00\x00\x00\x00\x00\x00",
  24221. .klen = 16,
  24222. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  24223. .ctext = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
  24224. .len = 8,
  24225. }, {
  24226. .key = "\x38\x38\x38\x38\x38\x38\x38\x38"
  24227. "\x38\x38\x38\x38\x38\x38\x38\x38",
  24228. .klen = 16,
  24229. .ptext = "\x38\x38\x38\x38\x38\x38\x38\x38",
  24230. .ctext = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
  24231. .len = 8,
  24232. }, {
  24233. .key = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
  24234. "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
  24235. .klen = 16,
  24236. .ptext = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
  24237. .ctext = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
  24238. .len = 8,
  24239. }, {
  24240. .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
  24241. "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
  24242. .klen = 16,
  24243. .ptext = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
  24244. .ctext = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
  24245. .len = 8,
  24246. }, {
  24247. .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
  24248. "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
  24249. .klen = 16,
  24250. .ptext = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
  24251. "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
  24252. .ctext = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
  24253. "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
  24254. .len = 16,
  24255. },
  24256. };
  24257. /*
  24258. * Anubis test vectors.
  24259. */
  24260. static const struct cipher_testvec anubis_tv_template[] = {
  24261. {
  24262. .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  24263. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
  24264. .klen = 16,
  24265. .ptext = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  24266. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
  24267. .ctext = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
  24268. "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
  24269. .len = 16,
  24270. }, {
  24271. .key = "\x03\x03\x03\x03\x03\x03\x03\x03"
  24272. "\x03\x03\x03\x03\x03\x03\x03\x03"
  24273. "\x03\x03\x03\x03",
  24274. .klen = 20,
  24275. .ptext = "\x03\x03\x03\x03\x03\x03\x03\x03"
  24276. "\x03\x03\x03\x03\x03\x03\x03\x03",
  24277. .ctext = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
  24278. "\x87\x41\x6f\x82\x0a\x98\x64\xae",
  24279. .len = 16,
  24280. }, {
  24281. .key = "\x24\x24\x24\x24\x24\x24\x24\x24"
  24282. "\x24\x24\x24\x24\x24\x24\x24\x24"
  24283. "\x24\x24\x24\x24\x24\x24\x24\x24"
  24284. "\x24\x24\x24\x24",
  24285. .klen = 28,
  24286. .ptext = "\x24\x24\x24\x24\x24\x24\x24\x24"
  24287. "\x24\x24\x24\x24\x24\x24\x24\x24",
  24288. .ctext = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
  24289. "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
  24290. .len = 16,
  24291. }, {
  24292. .key = "\x25\x25\x25\x25\x25\x25\x25\x25"
  24293. "\x25\x25\x25\x25\x25\x25\x25\x25"
  24294. "\x25\x25\x25\x25\x25\x25\x25\x25"
  24295. "\x25\x25\x25\x25\x25\x25\x25\x25",
  24296. .klen = 32,
  24297. .ptext = "\x25\x25\x25\x25\x25\x25\x25\x25"
  24298. "\x25\x25\x25\x25\x25\x25\x25\x25",
  24299. .ctext = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
  24300. "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
  24301. .len = 16,
  24302. }, {
  24303. .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
  24304. "\x35\x35\x35\x35\x35\x35\x35\x35"
  24305. "\x35\x35\x35\x35\x35\x35\x35\x35"
  24306. "\x35\x35\x35\x35\x35\x35\x35\x35"
  24307. "\x35\x35\x35\x35\x35\x35\x35\x35",
  24308. .klen = 40,
  24309. .ptext = "\x35\x35\x35\x35\x35\x35\x35\x35"
  24310. "\x35\x35\x35\x35\x35\x35\x35\x35",
  24311. .ctext = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
  24312. "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
  24313. .len = 16,
  24314. },
  24315. };
  24316. static const struct cipher_testvec anubis_cbc_tv_template[] = {
  24317. {
  24318. .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  24319. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
  24320. .klen = 16,
  24321. .iv_out = "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
  24322. "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
  24323. .ptext = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  24324. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  24325. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  24326. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
  24327. .ctext = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
  24328. "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
  24329. "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
  24330. "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
  24331. .len = 32,
  24332. }, {
  24333. .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
  24334. "\x35\x35\x35\x35\x35\x35\x35\x35"
  24335. "\x35\x35\x35\x35\x35\x35\x35\x35"
  24336. "\x35\x35\x35\x35\x35\x35\x35\x35"
  24337. "\x35\x35\x35\x35\x35\x35\x35\x35",
  24338. .klen = 40,
  24339. .iv_out = "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
  24340. "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
  24341. .ptext = "\x35\x35\x35\x35\x35\x35\x35\x35"
  24342. "\x35\x35\x35\x35\x35\x35\x35\x35"
  24343. "\x35\x35\x35\x35\x35\x35\x35\x35"
  24344. "\x35\x35\x35\x35\x35\x35\x35\x35",
  24345. .ctext = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
  24346. "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
  24347. "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
  24348. "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
  24349. .len = 32,
  24350. },
  24351. };
  24352. /*
  24353. * XETA test vectors
  24354. */
  24355. static const struct cipher_testvec xeta_tv_template[] = {
  24356. {
  24357. .key = zeroed_string,
  24358. .klen = 16,
  24359. .ptext = zeroed_string,
  24360. .ctext = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
  24361. .len = 8,
  24362. }, {
  24363. .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
  24364. "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
  24365. .klen = 16,
  24366. .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
  24367. .ctext = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
  24368. .len = 8,
  24369. }, {
  24370. .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
  24371. "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
  24372. .klen = 16,
  24373. .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
  24374. "\x65\x73\x74\x5f\x76\x65\x63\x74",
  24375. .ctext = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
  24376. "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
  24377. .len = 16,
  24378. }, {
  24379. .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
  24380. "\x5d\x04\x16\x36\x15\x72\x63\x2f",
  24381. .klen = 16,
  24382. .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
  24383. "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
  24384. "\x79\x6f\x75\x21\x21\x21\x20\x72"
  24385. "\x65\x61\x6c\x6c\x79\x21\x21\x21",
  24386. .ctext = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
  24387. "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
  24388. "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
  24389. "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
  24390. .len = 32,
  24391. }
  24392. };
  24393. /*
  24394. * FCrypt test vectors
  24395. */
  24396. static const struct cipher_testvec fcrypt_pcbc_tv_template[] = {
  24397. { /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
  24398. .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
  24399. .klen = 8,
  24400. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  24401. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  24402. .ctext = "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
  24403. .len = 8,
  24404. }, {
  24405. .key = "\x11\x44\x77\xAA\xDD\x00\x33\x66",
  24406. .klen = 8,
  24407. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  24408. .ptext = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
  24409. .ctext = "\xD8\xED\x78\x74\x77\xEC\x06\x80",
  24410. .len = 8,
  24411. }, { /* From Arla */
  24412. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
  24413. .klen = 8,
  24414. .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  24415. .ptext = "The quick brown fox jumps over the lazy dogs.\0\0",
  24416. .ctext = "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
  24417. "\xee\xac\x98\x62\x44\x51\xe4\x84"
  24418. "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
  24419. "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
  24420. "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
  24421. "\xf8\x91\x3c\xac\x44\x22\x92\xef",
  24422. .len = 48,
  24423. }, {
  24424. .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  24425. .klen = 8,
  24426. .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
  24427. .ptext = "The quick brown fox jumps over the lazy dogs.\0\0",
  24428. .ctext = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
  24429. "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
  24430. "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
  24431. "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
  24432. "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
  24433. "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
  24434. .len = 48,
  24435. }
  24436. };
  24437. /*
  24438. * CAMELLIA test vectors.
  24439. */
  24440. static const struct cipher_testvec camellia_tv_template[] = {
  24441. {
  24442. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  24443. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  24444. .klen = 16,
  24445. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  24446. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  24447. .ctext = "\x67\x67\x31\x38\x54\x96\x69\x73"
  24448. "\x08\x57\x06\x56\x48\xea\xbe\x43",
  24449. .len = 16,
  24450. }, {
  24451. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  24452. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  24453. "\x00\x11\x22\x33\x44\x55\x66\x77",
  24454. .klen = 24,
  24455. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  24456. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  24457. .ctext = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
  24458. "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
  24459. .len = 16,
  24460. }, {
  24461. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  24462. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  24463. "\x00\x11\x22\x33\x44\x55\x66\x77"
  24464. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  24465. .klen = 32,
  24466. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  24467. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  24468. .ctext = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
  24469. "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
  24470. .len = 16,
  24471. }, { /* Generated with Crypto++ */
  24472. .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
  24473. "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
  24474. "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
  24475. "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
  24476. .klen = 32,
  24477. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  24478. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  24479. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  24480. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  24481. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  24482. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  24483. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  24484. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  24485. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  24486. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  24487. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  24488. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  24489. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  24490. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  24491. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  24492. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  24493. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  24494. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  24495. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  24496. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  24497. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  24498. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  24499. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  24500. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  24501. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  24502. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  24503. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  24504. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  24505. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  24506. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  24507. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  24508. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  24509. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  24510. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  24511. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  24512. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  24513. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  24514. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  24515. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  24516. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  24517. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  24518. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  24519. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  24520. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  24521. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  24522. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  24523. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  24524. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  24525. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  24526. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  24527. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  24528. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  24529. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  24530. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  24531. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  24532. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  24533. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  24534. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  24535. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  24536. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  24537. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  24538. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  24539. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
  24540. "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
  24541. "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
  24542. "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
  24543. "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
  24544. "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
  24545. "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
  24546. "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
  24547. "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
  24548. "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
  24549. "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
  24550. "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
  24551. "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
  24552. "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
  24553. "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
  24554. "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
  24555. "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
  24556. "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
  24557. "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
  24558. "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
  24559. "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
  24560. "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
  24561. "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
  24562. "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
  24563. "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
  24564. "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
  24565. "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
  24566. "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
  24567. "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
  24568. "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
  24569. "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
  24570. "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
  24571. "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
  24572. "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
  24573. "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
  24574. "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
  24575. "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
  24576. "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
  24577. "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
  24578. "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
  24579. "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
  24580. "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
  24581. "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
  24582. "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
  24583. "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
  24584. "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
  24585. "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
  24586. "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
  24587. "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
  24588. "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
  24589. "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
  24590. "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
  24591. "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
  24592. "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
  24593. "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
  24594. "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
  24595. "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
  24596. "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
  24597. "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
  24598. "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
  24599. "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
  24600. "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
  24601. "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
  24602. "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
  24603. .ctext = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
  24604. "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
  24605. "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
  24606. "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
  24607. "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
  24608. "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
  24609. "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
  24610. "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
  24611. "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
  24612. "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
  24613. "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
  24614. "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
  24615. "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
  24616. "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
  24617. "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
  24618. "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
  24619. "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
  24620. "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
  24621. "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
  24622. "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
  24623. "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
  24624. "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
  24625. "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
  24626. "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
  24627. "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
  24628. "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
  24629. "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
  24630. "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
  24631. "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
  24632. "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
  24633. "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
  24634. "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
  24635. "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
  24636. "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
  24637. "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
  24638. "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
  24639. "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
  24640. "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
  24641. "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
  24642. "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
  24643. "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
  24644. "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
  24645. "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
  24646. "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
  24647. "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
  24648. "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
  24649. "\x83\x06\xAB\x82\x99\x01\x16\x1A"
  24650. "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
  24651. "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
  24652. "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
  24653. "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
  24654. "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
  24655. "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
  24656. "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
  24657. "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
  24658. "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
  24659. "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
  24660. "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
  24661. "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
  24662. "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
  24663. "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
  24664. "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
  24665. "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
  24666. "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
  24667. "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
  24668. "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
  24669. "\xED\x28\x39\xE9\x63\xED\x41\x70"
  24670. "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
  24671. "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
  24672. "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
  24673. "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
  24674. "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
  24675. "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
  24676. "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
  24677. "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
  24678. "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
  24679. "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
  24680. "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
  24681. "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
  24682. "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
  24683. "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
  24684. "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
  24685. "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
  24686. "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
  24687. "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
  24688. "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
  24689. "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
  24690. "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
  24691. "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
  24692. "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
  24693. "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
  24694. "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
  24695. "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
  24696. "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
  24697. "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
  24698. "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
  24699. "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
  24700. "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
  24701. "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
  24702. "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
  24703. "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
  24704. "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
  24705. "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
  24706. "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
  24707. "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
  24708. "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
  24709. "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
  24710. "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
  24711. "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
  24712. "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
  24713. "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
  24714. "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
  24715. "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
  24716. "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
  24717. "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
  24718. "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
  24719. "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
  24720. "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
  24721. "\x31\x93\x51\x1C\x63\x97\x70\xB0"
  24722. "\x99\x78\x83\x13\xFD\xCF\x53\x81"
  24723. "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
  24724. "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
  24725. "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
  24726. "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
  24727. "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
  24728. "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
  24729. .len = 1008,
  24730. },
  24731. };
  24732. static const struct cipher_testvec camellia_cbc_tv_template[] = {
  24733. {
  24734. .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  24735. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  24736. .klen = 16,
  24737. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  24738. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  24739. .iv_out = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
  24740. "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
  24741. .ptext = "Single block msg",
  24742. .ctext = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
  24743. "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
  24744. .len = 16,
  24745. }, {
  24746. .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  24747. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  24748. .klen = 16,
  24749. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  24750. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  24751. .iv_out = "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
  24752. "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
  24753. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  24754. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  24755. "\x10\x11\x12\x13\x14\x15\x16\x17"
  24756. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  24757. .ctext = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
  24758. "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
  24759. "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
  24760. "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
  24761. .len = 32,
  24762. }, { /* Generated with Crypto++ */
  24763. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  24764. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  24765. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  24766. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  24767. .klen = 32,
  24768. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  24769. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  24770. .iv_out = "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
  24771. "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
  24772. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  24773. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  24774. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  24775. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  24776. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  24777. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  24778. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  24779. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  24780. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  24781. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  24782. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  24783. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  24784. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  24785. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  24786. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  24787. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  24788. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  24789. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  24790. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  24791. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  24792. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  24793. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  24794. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  24795. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  24796. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  24797. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  24798. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  24799. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  24800. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  24801. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  24802. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  24803. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  24804. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  24805. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  24806. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  24807. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  24808. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  24809. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  24810. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  24811. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  24812. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  24813. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  24814. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  24815. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  24816. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  24817. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  24818. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  24819. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  24820. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  24821. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  24822. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  24823. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  24824. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  24825. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  24826. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  24827. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  24828. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  24829. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  24830. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  24831. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  24832. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  24833. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  24834. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
  24835. "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
  24836. "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
  24837. "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
  24838. "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
  24839. "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
  24840. "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
  24841. "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
  24842. "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
  24843. "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
  24844. "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
  24845. "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
  24846. "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
  24847. "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
  24848. "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
  24849. "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
  24850. "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
  24851. "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
  24852. "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
  24853. "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
  24854. "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
  24855. "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
  24856. "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
  24857. "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
  24858. "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
  24859. "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
  24860. "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
  24861. "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
  24862. "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
  24863. "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
  24864. "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
  24865. "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
  24866. "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
  24867. "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
  24868. "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
  24869. "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
  24870. "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
  24871. "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
  24872. "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
  24873. "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
  24874. "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
  24875. "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
  24876. "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
  24877. "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
  24878. "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
  24879. "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
  24880. "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
  24881. "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
  24882. "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
  24883. "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
  24884. "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
  24885. "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
  24886. "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
  24887. "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
  24888. "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
  24889. "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
  24890. "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
  24891. "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
  24892. "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
  24893. "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
  24894. "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
  24895. "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
  24896. "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
  24897. "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
  24898. .ctext = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
  24899. "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
  24900. "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
  24901. "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
  24902. "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
  24903. "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
  24904. "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
  24905. "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
  24906. "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
  24907. "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
  24908. "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
  24909. "\x37\x49\x88\xA4\xEF\x91\x21\x47"
  24910. "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
  24911. "\x28\x90\x77\x46\xD8\xD2\x35\x16"
  24912. "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
  24913. "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
  24914. "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
  24915. "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
  24916. "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
  24917. "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
  24918. "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
  24919. "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
  24920. "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
  24921. "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
  24922. "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
  24923. "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
  24924. "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
  24925. "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
  24926. "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
  24927. "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
  24928. "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
  24929. "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
  24930. "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
  24931. "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
  24932. "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
  24933. "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
  24934. "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
  24935. "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
  24936. "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
  24937. "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
  24938. "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
  24939. "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
  24940. "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
  24941. "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
  24942. "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
  24943. "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
  24944. "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
  24945. "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
  24946. "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
  24947. "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
  24948. "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
  24949. "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
  24950. "\x38\xB8\x48\x36\x66\x4E\x20\x43"
  24951. "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
  24952. "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
  24953. "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
  24954. "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
  24955. "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
  24956. "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
  24957. "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
  24958. "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
  24959. "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
  24960. "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
  24961. "\x21\x41\x56\x72\x13\xE1\x86\x07"
  24962. "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
  24963. "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
  24964. "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
  24965. "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
  24966. "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
  24967. "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
  24968. "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
  24969. "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
  24970. "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
  24971. "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
  24972. "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
  24973. "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
  24974. "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
  24975. "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
  24976. "\xBE\x31\x31\x96\x8B\x40\x18\x75"
  24977. "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
  24978. "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
  24979. "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
  24980. "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
  24981. "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
  24982. "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
  24983. "\x09\xB0\x43\x96\x4A\x64\x80\x40"
  24984. "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
  24985. "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
  24986. "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
  24987. "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
  24988. "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
  24989. "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
  24990. "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
  24991. "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
  24992. "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
  24993. "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
  24994. "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
  24995. "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
  24996. "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
  24997. "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
  24998. "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
  24999. "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
  25000. "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
  25001. "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
  25002. "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
  25003. "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
  25004. "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
  25005. "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
  25006. "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
  25007. "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
  25008. "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
  25009. "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
  25010. "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
  25011. "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
  25012. "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
  25013. "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
  25014. "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
  25015. "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
  25016. "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
  25017. "\x80\xE7\x29\xDC\x23\x55\x98\x54"
  25018. "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
  25019. "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
  25020. "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
  25021. "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
  25022. "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
  25023. "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
  25024. .len = 1008,
  25025. },
  25026. };
  25027. static const struct cipher_testvec camellia_ctr_tv_template[] = {
  25028. { /* Generated with Crypto++ */
  25029. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  25030. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  25031. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  25032. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  25033. .klen = 32,
  25034. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  25035. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  25036. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  25037. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
  25038. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  25039. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  25040. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  25041. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  25042. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  25043. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  25044. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  25045. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  25046. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  25047. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  25048. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  25049. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  25050. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  25051. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  25052. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  25053. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  25054. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  25055. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  25056. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  25057. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  25058. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  25059. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  25060. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  25061. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  25062. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  25063. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  25064. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  25065. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  25066. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  25067. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  25068. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  25069. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  25070. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  25071. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  25072. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  25073. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  25074. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  25075. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  25076. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  25077. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  25078. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  25079. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  25080. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  25081. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  25082. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  25083. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  25084. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  25085. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  25086. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  25087. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  25088. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  25089. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  25090. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  25091. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  25092. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  25093. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  25094. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  25095. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  25096. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  25097. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  25098. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  25099. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  25100. .ctext = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
  25101. "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
  25102. "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
  25103. "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
  25104. "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
  25105. "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
  25106. "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
  25107. "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
  25108. "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
  25109. "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
  25110. "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
  25111. "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
  25112. "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
  25113. "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
  25114. "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
  25115. "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
  25116. "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
  25117. "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
  25118. "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
  25119. "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
  25120. "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
  25121. "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
  25122. "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
  25123. "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
  25124. "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
  25125. "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
  25126. "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
  25127. "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
  25128. "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
  25129. "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
  25130. "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
  25131. "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
  25132. "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
  25133. "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
  25134. "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
  25135. "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
  25136. "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
  25137. "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
  25138. "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
  25139. "\x79\xA2\x99\x28\x93\x1B\x00\x57"
  25140. "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
  25141. "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
  25142. "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
  25143. "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
  25144. "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
  25145. "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
  25146. "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
  25147. "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
  25148. "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
  25149. "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
  25150. "\x76\x44\x45\xF3\x24\x11\x57\x98"
  25151. "\x9A\x86\xB4\x12\x80\x28\x86\x20"
  25152. "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
  25153. "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
  25154. "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
  25155. "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
  25156. "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
  25157. "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
  25158. "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
  25159. "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
  25160. "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
  25161. "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
  25162. .len = 496,
  25163. }, { /* Generated with Crypto++ */
  25164. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  25165. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  25166. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  25167. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  25168. .klen = 32,
  25169. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  25170. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  25171. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  25172. "\xC4\x29\x8E\xF3\x35\x9A\xFF\xA4",
  25173. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  25174. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  25175. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  25176. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  25177. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  25178. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  25179. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  25180. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  25181. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  25182. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  25183. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  25184. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  25185. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  25186. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  25187. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  25188. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  25189. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  25190. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  25191. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  25192. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  25193. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  25194. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  25195. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  25196. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  25197. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  25198. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  25199. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  25200. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  25201. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  25202. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  25203. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  25204. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  25205. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  25206. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  25207. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  25208. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  25209. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  25210. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  25211. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  25212. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  25213. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  25214. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  25215. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  25216. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  25217. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  25218. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  25219. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  25220. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  25221. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  25222. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  25223. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  25224. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  25225. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  25226. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  25227. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  25228. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  25229. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  25230. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  25231. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  25232. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  25233. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  25234. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  25235. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
  25236. "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
  25237. "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
  25238. "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
  25239. "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
  25240. "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
  25241. "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
  25242. "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
  25243. "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
  25244. "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
  25245. "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
  25246. "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
  25247. "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
  25248. "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
  25249. "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
  25250. "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
  25251. "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
  25252. "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
  25253. "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
  25254. "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
  25255. "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
  25256. "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
  25257. "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
  25258. "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
  25259. "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
  25260. "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
  25261. "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
  25262. "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
  25263. "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
  25264. "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
  25265. "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
  25266. "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
  25267. "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
  25268. "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
  25269. "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
  25270. "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
  25271. "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
  25272. "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
  25273. "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
  25274. "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
  25275. "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
  25276. "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
  25277. "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
  25278. "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
  25279. "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
  25280. "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
  25281. "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
  25282. "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
  25283. "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
  25284. "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
  25285. "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
  25286. "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
  25287. "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
  25288. "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
  25289. "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
  25290. "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
  25291. "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
  25292. "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
  25293. "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
  25294. "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
  25295. "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
  25296. "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
  25297. "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
  25298. "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
  25299. "\xE4\x7B\x12",
  25300. .ctext = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
  25301. "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
  25302. "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
  25303. "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
  25304. "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
  25305. "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
  25306. "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
  25307. "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
  25308. "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
  25309. "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
  25310. "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
  25311. "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
  25312. "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
  25313. "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
  25314. "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
  25315. "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
  25316. "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
  25317. "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
  25318. "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
  25319. "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
  25320. "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
  25321. "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
  25322. "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
  25323. "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
  25324. "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
  25325. "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
  25326. "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
  25327. "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
  25328. "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
  25329. "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
  25330. "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
  25331. "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
  25332. "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
  25333. "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
  25334. "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
  25335. "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
  25336. "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
  25337. "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
  25338. "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
  25339. "\x79\xA2\x99\x28\x93\x1B\x00\x57"
  25340. "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
  25341. "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
  25342. "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
  25343. "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
  25344. "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
  25345. "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
  25346. "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
  25347. "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
  25348. "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
  25349. "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
  25350. "\x76\x44\x45\xF3\x24\x11\x57\x98"
  25351. "\x9A\x86\xB4\x12\x80\x28\x86\x20"
  25352. "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
  25353. "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
  25354. "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
  25355. "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
  25356. "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
  25357. "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
  25358. "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
  25359. "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
  25360. "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
  25361. "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
  25362. "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
  25363. "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
  25364. "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
  25365. "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
  25366. "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
  25367. "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
  25368. "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
  25369. "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
  25370. "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
  25371. "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
  25372. "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
  25373. "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
  25374. "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
  25375. "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
  25376. "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
  25377. "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
  25378. "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
  25379. "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
  25380. "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
  25381. "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
  25382. "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
  25383. "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
  25384. "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
  25385. "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
  25386. "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
  25387. "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
  25388. "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
  25389. "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
  25390. "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
  25391. "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
  25392. "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
  25393. "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
  25394. "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
  25395. "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
  25396. "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
  25397. "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
  25398. "\x00\x70\x12\x56\x56\x50\xAD\x14"
  25399. "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
  25400. "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
  25401. "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
  25402. "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
  25403. "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
  25404. "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
  25405. "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
  25406. "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
  25407. "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
  25408. "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
  25409. "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
  25410. "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
  25411. "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
  25412. "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
  25413. "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
  25414. "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
  25415. "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
  25416. "\x40\x48\x19\x73\x7C\x78\x64\x0B"
  25417. "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
  25418. "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
  25419. "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
  25420. "\x74\x28\x9D\x05\x30\x20\x62\x41"
  25421. "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
  25422. "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
  25423. "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
  25424. "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
  25425. "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
  25426. "\xF1\x6B\xD9",
  25427. .len = 1011,
  25428. }, { /* Generated with Crypto++ */
  25429. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  25430. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  25431. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  25432. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  25433. .klen = 32,
  25434. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  25435. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  25436. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25437. "\x00\x00\x00\x00\x00\x00\x00\x3C",
  25438. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  25439. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  25440. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  25441. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  25442. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  25443. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  25444. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  25445. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  25446. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  25447. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  25448. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  25449. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  25450. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  25451. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  25452. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  25453. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  25454. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  25455. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  25456. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  25457. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  25458. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  25459. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  25460. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  25461. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  25462. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  25463. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  25464. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  25465. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  25466. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  25467. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  25468. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  25469. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  25470. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  25471. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  25472. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  25473. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  25474. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  25475. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  25476. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  25477. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  25478. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  25479. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  25480. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  25481. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  25482. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  25483. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  25484. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  25485. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  25486. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  25487. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  25488. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  25489. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  25490. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  25491. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  25492. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  25493. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  25494. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  25495. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  25496. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  25497. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  25498. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  25499. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  25500. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
  25501. "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
  25502. "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
  25503. "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
  25504. "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
  25505. "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
  25506. "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
  25507. "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
  25508. "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
  25509. "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
  25510. "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
  25511. "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
  25512. "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
  25513. "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
  25514. "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
  25515. "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
  25516. "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
  25517. "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
  25518. "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
  25519. "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
  25520. "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
  25521. "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
  25522. "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
  25523. "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
  25524. "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
  25525. "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
  25526. "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
  25527. "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
  25528. "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
  25529. "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
  25530. "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
  25531. "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
  25532. "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
  25533. "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
  25534. "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
  25535. "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
  25536. "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
  25537. "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
  25538. "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
  25539. "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
  25540. "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
  25541. "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
  25542. "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
  25543. "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
  25544. "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
  25545. "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
  25546. "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
  25547. "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
  25548. "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
  25549. "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
  25550. "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
  25551. "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
  25552. "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
  25553. "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
  25554. "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
  25555. "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
  25556. "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
  25557. "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
  25558. "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
  25559. "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
  25560. "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
  25561. "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
  25562. "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
  25563. "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
  25564. .ctext = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
  25565. "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
  25566. "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
  25567. "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
  25568. "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
  25569. "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
  25570. "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
  25571. "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
  25572. "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
  25573. "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
  25574. "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
  25575. "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
  25576. "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
  25577. "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
  25578. "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
  25579. "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
  25580. "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
  25581. "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
  25582. "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
  25583. "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
  25584. "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
  25585. "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
  25586. "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
  25587. "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
  25588. "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
  25589. "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
  25590. "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
  25591. "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
  25592. "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
  25593. "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
  25594. "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
  25595. "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
  25596. "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
  25597. "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
  25598. "\x93\x78\x86\x05\x69\x46\xD0\xC5"
  25599. "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
  25600. "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
  25601. "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
  25602. "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
  25603. "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
  25604. "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
  25605. "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
  25606. "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
  25607. "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
  25608. "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
  25609. "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
  25610. "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
  25611. "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
  25612. "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
  25613. "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
  25614. "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
  25615. "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
  25616. "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
  25617. "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
  25618. "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
  25619. "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
  25620. "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
  25621. "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
  25622. "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
  25623. "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
  25624. "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
  25625. "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
  25626. "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
  25627. "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
  25628. "\x3F\x23\x69\x63\x56\x96\x45\xD6"
  25629. "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
  25630. "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
  25631. "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
  25632. "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
  25633. "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
  25634. "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
  25635. "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
  25636. "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
  25637. "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
  25638. "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
  25639. "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
  25640. "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
  25641. "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
  25642. "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
  25643. "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
  25644. "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
  25645. "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
  25646. "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
  25647. "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
  25648. "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
  25649. "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
  25650. "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
  25651. "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
  25652. "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
  25653. "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
  25654. "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
  25655. "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
  25656. "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
  25657. "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
  25658. "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
  25659. "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
  25660. "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
  25661. "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
  25662. "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
  25663. "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
  25664. "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
  25665. "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
  25666. "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
  25667. "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
  25668. "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
  25669. "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
  25670. "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
  25671. "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
  25672. "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
  25673. "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
  25674. "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
  25675. "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
  25676. "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
  25677. "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
  25678. "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
  25679. "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
  25680. "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
  25681. "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
  25682. "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
  25683. "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
  25684. "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
  25685. "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
  25686. "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
  25687. "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
  25688. "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
  25689. "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
  25690. .len = 1008,
  25691. },
  25692. };
  25693. static const struct cipher_testvec camellia_lrw_tv_template[] = {
  25694. /* Generated from AES-LRW test vectors */
  25695. {
  25696. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  25697. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  25698. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  25699. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  25700. .klen = 32,
  25701. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25702. "\x00\x00\x00\x00\x00\x00\x00\x01",
  25703. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  25704. "\x38\x39\x41\x42\x43\x44\x45\x46",
  25705. .ctext = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
  25706. "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
  25707. .len = 16,
  25708. }, {
  25709. .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
  25710. "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
  25711. "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
  25712. "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
  25713. .klen = 32,
  25714. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25715. "\x00\x00\x00\x00\x00\x00\x00\x02",
  25716. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  25717. "\x38\x39\x41\x42\x43\x44\x45\x46",
  25718. .ctext = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
  25719. "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
  25720. .len = 16,
  25721. }, {
  25722. .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
  25723. "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
  25724. "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
  25725. "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
  25726. .klen = 32,
  25727. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25728. "\x00\x00\x00\x02\x00\x00\x00\x00",
  25729. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  25730. "\x38\x39\x41\x42\x43\x44\x45\x46",
  25731. .ctext = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
  25732. "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
  25733. .len = 16,
  25734. }, {
  25735. .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
  25736. "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
  25737. "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
  25738. "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
  25739. "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
  25740. .klen = 40,
  25741. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25742. "\x00\x00\x00\x00\x00\x00\x00\x01",
  25743. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  25744. "\x38\x39\x41\x42\x43\x44\x45\x46",
  25745. .ctext = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
  25746. "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
  25747. .len = 16,
  25748. }, {
  25749. .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
  25750. "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
  25751. "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
  25752. "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
  25753. "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
  25754. .klen = 40,
  25755. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25756. "\x00\x00\x00\x02\x00\x00\x00\x00",
  25757. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  25758. "\x38\x39\x41\x42\x43\x44\x45\x46",
  25759. .ctext = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
  25760. "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
  25761. .len = 16,
  25762. }, {
  25763. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  25764. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  25765. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  25766. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  25767. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  25768. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  25769. .klen = 48,
  25770. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25771. "\x00\x00\x00\x00\x00\x00\x00\x01",
  25772. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  25773. "\x38\x39\x41\x42\x43\x44\x45\x46",
  25774. .ctext = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
  25775. "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
  25776. .len = 16,
  25777. }, {
  25778. .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
  25779. "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
  25780. "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
  25781. "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
  25782. "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
  25783. "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
  25784. .klen = 48,
  25785. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25786. "\x00\x00\x00\x02\x00\x00\x00\x00",
  25787. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  25788. "\x38\x39\x41\x42\x43\x44\x45\x46",
  25789. .ctext = "\x04\xab\x28\x37\x31\x7a\x26\xab"
  25790. "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
  25791. .len = 16,
  25792. }, {
  25793. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  25794. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  25795. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  25796. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  25797. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  25798. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  25799. .klen = 48,
  25800. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25801. "\x00\x00\x00\x00\x00\x00\x00\x01",
  25802. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  25803. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  25804. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  25805. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  25806. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  25807. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  25808. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  25809. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  25810. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  25811. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  25812. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  25813. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  25814. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  25815. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  25816. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  25817. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  25818. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  25819. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  25820. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  25821. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  25822. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  25823. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  25824. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  25825. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  25826. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  25827. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  25828. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  25829. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  25830. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  25831. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  25832. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  25833. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  25834. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  25835. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  25836. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  25837. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  25838. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  25839. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  25840. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  25841. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  25842. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  25843. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  25844. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  25845. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  25846. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  25847. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  25848. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  25849. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  25850. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  25851. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  25852. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  25853. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  25854. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  25855. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  25856. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  25857. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  25858. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  25859. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  25860. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  25861. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  25862. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  25863. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  25864. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  25865. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  25866. .ctext = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
  25867. "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
  25868. "\x67\x76\xac\x2c\xd2\x63\x18\x93"
  25869. "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
  25870. "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
  25871. "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
  25872. "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
  25873. "\x62\xdd\x78\x81\xea\x1d\xef\x04"
  25874. "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
  25875. "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
  25876. "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
  25877. "\x40\x41\x69\xaa\x71\xc0\x37\xec"
  25878. "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
  25879. "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
  25880. "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
  25881. "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
  25882. "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
  25883. "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
  25884. "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
  25885. "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
  25886. "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
  25887. "\x42\x08\x40\x82\x06\x1c\x2d\x55"
  25888. "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
  25889. "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
  25890. "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
  25891. "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
  25892. "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
  25893. "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
  25894. "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
  25895. "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
  25896. "\xed\x14\xa9\x57\x19\x63\x40\x04"
  25897. "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
  25898. "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
  25899. "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
  25900. "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
  25901. "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
  25902. "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
  25903. "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
  25904. "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
  25905. "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
  25906. "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
  25907. "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
  25908. "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
  25909. "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
  25910. "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
  25911. "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
  25912. "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
  25913. "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
  25914. "\x35\xa5\x83\x04\x84\x01\x99\x56"
  25915. "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
  25916. "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
  25917. "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
  25918. "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
  25919. "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
  25920. "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
  25921. "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
  25922. "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
  25923. "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
  25924. "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
  25925. "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
  25926. "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
  25927. "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
  25928. "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
  25929. "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
  25930. .len = 512,
  25931. },
  25932. };
  25933. static const struct cipher_testvec camellia_xts_tv_template[] = {
  25934. /* Generated from AES-XTS test vectors */
  25935. {
  25936. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25937. "\x00\x00\x00\x00\x00\x00\x00\x00"
  25938. "\x00\x00\x00\x00\x00\x00\x00\x00"
  25939. "\x00\x00\x00\x00\x00\x00\x00\x00",
  25940. .klen = 32,
  25941. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25942. "\x00\x00\x00\x00\x00\x00\x00\x00",
  25943. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25944. "\x00\x00\x00\x00\x00\x00\x00\x00"
  25945. "\x00\x00\x00\x00\x00\x00\x00\x00"
  25946. "\x00\x00\x00\x00\x00\x00\x00\x00",
  25947. .ctext = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
  25948. "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
  25949. "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
  25950. "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
  25951. .len = 32,
  25952. }, {
  25953. .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
  25954. "\x11\x11\x11\x11\x11\x11\x11\x11"
  25955. "\x22\x22\x22\x22\x22\x22\x22\x22"
  25956. "\x22\x22\x22\x22\x22\x22\x22\x22",
  25957. .klen = 32,
  25958. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  25959. "\x00\x00\x00\x00\x00\x00\x00\x00",
  25960. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  25961. "\x44\x44\x44\x44\x44\x44\x44\x44"
  25962. "\x44\x44\x44\x44\x44\x44\x44\x44"
  25963. "\x44\x44\x44\x44\x44\x44\x44\x44",
  25964. .ctext = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
  25965. "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
  25966. "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
  25967. "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
  25968. .len = 32,
  25969. }, {
  25970. .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
  25971. "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
  25972. "\x22\x22\x22\x22\x22\x22\x22\x22"
  25973. "\x22\x22\x22\x22\x22\x22\x22\x22",
  25974. .klen = 32,
  25975. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  25976. "\x00\x00\x00\x00\x00\x00\x00\x00",
  25977. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  25978. "\x44\x44\x44\x44\x44\x44\x44\x44"
  25979. "\x44\x44\x44\x44\x44\x44\x44\x44"
  25980. "\x44\x44\x44\x44\x44\x44\x44\x44",
  25981. .ctext = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
  25982. "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
  25983. "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
  25984. "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
  25985. .len = 32,
  25986. }, {
  25987. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  25988. "\x23\x53\x60\x28\x74\x71\x35\x26"
  25989. "\x31\x41\x59\x26\x53\x58\x97\x93"
  25990. "\x23\x84\x62\x64\x33\x83\x27\x95",
  25991. .klen = 32,
  25992. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  25993. "\x00\x00\x00\x00\x00\x00\x00\x00",
  25994. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  25995. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  25996. "\x10\x11\x12\x13\x14\x15\x16\x17"
  25997. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  25998. "\x20\x21\x22\x23\x24\x25\x26\x27"
  25999. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  26000. "\x30\x31\x32\x33\x34\x35\x36\x37"
  26001. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  26002. "\x40\x41\x42\x43\x44\x45\x46\x47"
  26003. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  26004. "\x50\x51\x52\x53\x54\x55\x56\x57"
  26005. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  26006. "\x60\x61\x62\x63\x64\x65\x66\x67"
  26007. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  26008. "\x70\x71\x72\x73\x74\x75\x76\x77"
  26009. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  26010. "\x80\x81\x82\x83\x84\x85\x86\x87"
  26011. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  26012. "\x90\x91\x92\x93\x94\x95\x96\x97"
  26013. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  26014. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  26015. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  26016. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  26017. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  26018. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  26019. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  26020. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  26021. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  26022. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  26023. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  26024. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  26025. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  26026. "\x00\x01\x02\x03\x04\x05\x06\x07"
  26027. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  26028. "\x10\x11\x12\x13\x14\x15\x16\x17"
  26029. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  26030. "\x20\x21\x22\x23\x24\x25\x26\x27"
  26031. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  26032. "\x30\x31\x32\x33\x34\x35\x36\x37"
  26033. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  26034. "\x40\x41\x42\x43\x44\x45\x46\x47"
  26035. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  26036. "\x50\x51\x52\x53\x54\x55\x56\x57"
  26037. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  26038. "\x60\x61\x62\x63\x64\x65\x66\x67"
  26039. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  26040. "\x70\x71\x72\x73\x74\x75\x76\x77"
  26041. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  26042. "\x80\x81\x82\x83\x84\x85\x86\x87"
  26043. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  26044. "\x90\x91\x92\x93\x94\x95\x96\x97"
  26045. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  26046. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  26047. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  26048. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  26049. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  26050. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  26051. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  26052. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  26053. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  26054. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  26055. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  26056. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  26057. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  26058. .ctext = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
  26059. "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
  26060. "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
  26061. "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
  26062. "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
  26063. "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
  26064. "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
  26065. "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
  26066. "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
  26067. "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
  26068. "\x08\xda\x76\x00\x65\xcf\x7b\x31"
  26069. "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
  26070. "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
  26071. "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
  26072. "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
  26073. "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
  26074. "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
  26075. "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
  26076. "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
  26077. "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
  26078. "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
  26079. "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
  26080. "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
  26081. "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
  26082. "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
  26083. "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
  26084. "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
  26085. "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
  26086. "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
  26087. "\x16\x31\xb2\x47\x91\x67\xaa\x28"
  26088. "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
  26089. "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
  26090. "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
  26091. "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
  26092. "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
  26093. "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
  26094. "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
  26095. "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
  26096. "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
  26097. "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
  26098. "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
  26099. "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
  26100. "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
  26101. "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
  26102. "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
  26103. "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
  26104. "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
  26105. "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
  26106. "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
  26107. "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
  26108. "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
  26109. "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
  26110. "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
  26111. "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
  26112. "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
  26113. "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
  26114. "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
  26115. "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
  26116. "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
  26117. "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
  26118. "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
  26119. "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
  26120. "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
  26121. "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
  26122. .len = 512,
  26123. }, {
  26124. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  26125. "\x23\x53\x60\x28\x74\x71\x35\x26"
  26126. "\x62\x49\x77\x57\x24\x70\x93\x69"
  26127. "\x99\x59\x57\x49\x66\x96\x76\x27"
  26128. "\x31\x41\x59\x26\x53\x58\x97\x93"
  26129. "\x23\x84\x62\x64\x33\x83\x27\x95"
  26130. "\x02\x88\x41\x97\x16\x93\x99\x37"
  26131. "\x51\x05\x82\x09\x74\x94\x45\x92",
  26132. .klen = 64,
  26133. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  26134. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26135. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  26136. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  26137. "\x10\x11\x12\x13\x14\x15\x16\x17"
  26138. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  26139. "\x20\x21\x22\x23\x24\x25\x26\x27"
  26140. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  26141. "\x30\x31\x32\x33\x34\x35\x36\x37"
  26142. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  26143. "\x40\x41\x42\x43\x44\x45\x46\x47"
  26144. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  26145. "\x50\x51\x52\x53\x54\x55\x56\x57"
  26146. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  26147. "\x60\x61\x62\x63\x64\x65\x66\x67"
  26148. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  26149. "\x70\x71\x72\x73\x74\x75\x76\x77"
  26150. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  26151. "\x80\x81\x82\x83\x84\x85\x86\x87"
  26152. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  26153. "\x90\x91\x92\x93\x94\x95\x96\x97"
  26154. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  26155. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  26156. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  26157. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  26158. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  26159. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  26160. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  26161. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  26162. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  26163. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  26164. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  26165. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  26166. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  26167. "\x00\x01\x02\x03\x04\x05\x06\x07"
  26168. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  26169. "\x10\x11\x12\x13\x14\x15\x16\x17"
  26170. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  26171. "\x20\x21\x22\x23\x24\x25\x26\x27"
  26172. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  26173. "\x30\x31\x32\x33\x34\x35\x36\x37"
  26174. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  26175. "\x40\x41\x42\x43\x44\x45\x46\x47"
  26176. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  26177. "\x50\x51\x52\x53\x54\x55\x56\x57"
  26178. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  26179. "\x60\x61\x62\x63\x64\x65\x66\x67"
  26180. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  26181. "\x70\x71\x72\x73\x74\x75\x76\x77"
  26182. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  26183. "\x80\x81\x82\x83\x84\x85\x86\x87"
  26184. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  26185. "\x90\x91\x92\x93\x94\x95\x96\x97"
  26186. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  26187. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  26188. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  26189. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  26190. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  26191. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  26192. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  26193. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  26194. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  26195. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  26196. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  26197. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  26198. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  26199. .ctext = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
  26200. "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
  26201. "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
  26202. "\xf1\x74\xac\x96\x05\x7b\x32\xca"
  26203. "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
  26204. "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
  26205. "\x97\x07\x82\xf0\x07\x12\x38\x0a"
  26206. "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
  26207. "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
  26208. "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
  26209. "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
  26210. "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
  26211. "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
  26212. "\x41\x82\x0c\x45\x39\x35\xa8\x75"
  26213. "\x03\x29\x01\x84\x8c\xab\x48\xbe"
  26214. "\x11\x56\x22\x67\xb7\x67\x1a\x09"
  26215. "\xa1\x72\x25\x41\x3c\x39\x65\x80"
  26216. "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
  26217. "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
  26218. "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
  26219. "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
  26220. "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
  26221. "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
  26222. "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
  26223. "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
  26224. "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
  26225. "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
  26226. "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
  26227. "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
  26228. "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
  26229. "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
  26230. "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
  26231. "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
  26232. "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
  26233. "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
  26234. "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
  26235. "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
  26236. "\xef\x38\x52\x18\x0e\x29\x7e\xef"
  26237. "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
  26238. "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
  26239. "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
  26240. "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
  26241. "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
  26242. "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
  26243. "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
  26244. "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
  26245. "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
  26246. "\x21\x17\xf8\x59\x15\x24\x64\x22"
  26247. "\x57\x48\x80\xd5\x3d\x92\x30\x07"
  26248. "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
  26249. "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
  26250. "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
  26251. "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
  26252. "\x6b\x84\xf3\x00\xba\x52\x05\x02"
  26253. "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
  26254. "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
  26255. "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
  26256. "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
  26257. "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
  26258. "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
  26259. "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
  26260. "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
  26261. "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
  26262. "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
  26263. .len = 512,
  26264. },
  26265. };
  26266. /*
  26267. * SEED test vectors
  26268. */
  26269. static const struct cipher_testvec seed_tv_template[] = {
  26270. {
  26271. .key = zeroed_string,
  26272. .klen = 16,
  26273. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  26274. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  26275. .ctext = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
  26276. "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
  26277. .len = 16,
  26278. }, {
  26279. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  26280. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  26281. .klen = 16,
  26282. .ptext = zeroed_string,
  26283. .ctext = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
  26284. "\x84\x48\x35\x97\xe4\x37\x0f\x43",
  26285. .len = 16,
  26286. }, {
  26287. .key = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
  26288. "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
  26289. .klen = 16,
  26290. .ptext = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
  26291. "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
  26292. .ctext = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
  26293. "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
  26294. .len = 16,
  26295. }, {
  26296. .key = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
  26297. "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
  26298. .klen = 16,
  26299. .ptext = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
  26300. "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
  26301. .ctext = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
  26302. "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
  26303. .len = 16,
  26304. }
  26305. };
  26306. /*
  26307. * ARIA test vectors
  26308. */
  26309. static const struct cipher_testvec aria_tv_template[] = {
  26310. {
  26311. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  26312. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  26313. .klen = 16,
  26314. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  26315. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  26316. .ctext = "\xd7\x18\xfb\xd6\xab\x64\x4c\x73"
  26317. "\x9d\xa9\x5f\x3b\xe6\x45\x17\x78",
  26318. .len = 16,
  26319. }, {
  26320. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  26321. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  26322. "\x10\x11\x12\x13\x14\x15\x16\x17",
  26323. .klen = 24,
  26324. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  26325. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  26326. .ctext = "\x26\x44\x9c\x18\x05\xdb\xe7\xaa"
  26327. "\x25\xa4\x68\xce\x26\x3a\x9e\x79",
  26328. .len = 16,
  26329. }, {
  26330. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  26331. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  26332. "\x10\x11\x12\x13\x14\x15\x16\x17"
  26333. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  26334. .klen = 32,
  26335. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  26336. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  26337. .ctext = "\xf9\x2b\xd7\xc7\x9f\xb7\x2e\x2f"
  26338. "\x2b\x8f\x80\xc1\x97\x2d\x24\xfc",
  26339. .len = 16,
  26340. }
  26341. };
  26342. static const struct cipher_testvec aria_cbc_tv_template[] = {
  26343. {
  26344. .key = "\x7c\x95\x0d\x07\xe6\x14\x98\x92"
  26345. "\x07\xac\x22\x41\x4d\x23\x27\x37",
  26346. .klen = 16,
  26347. .iv = "\x9d\xd5\x62\xce\x3d\x07\xd9\x89"
  26348. "\xf2\x78\x19\x4b\x65\x39\xc3\xc6",
  26349. .ptext = "\xcb\xbf\x47\x35\xc5\x37\xf0\x4e"
  26350. "\x85\x19\x21\x72\x33\x00\xde\x28",
  26351. .ctext = "\xf4\x80\x89\x89\x4a\x37\xda\x98"
  26352. "\x80\x52\x74\x75\xd9\xef\x58\xff",
  26353. .len = 16,
  26354. }, {
  26355. .key = "\x8f\xb9\x8d\xc9\xd7\x99\xfe\x7d"
  26356. "\xeb\x14\xaa\x65\xaf\x8c\x38\x1a",
  26357. .klen = 16,
  26358. .iv = "\xb1\x67\x46\x57\x0c\x64\x65\xf2"
  26359. "\x8c\x2f\x65\x11\x12\x33\xd4\x9a",
  26360. .ptext = "\x3a\xaf\xc1\xeb\x3c\x0c\xc5\xcc"
  26361. "\x10\x6e\x45\xa1\xd6\x89\xf1\xe5"
  26362. "\x74\xb6\x90\xd3\x81\x45\x00\x66"
  26363. "\x62\x15\x78\x84\xb2\x63\x11\x76",
  26364. .ctext = "\x3d\x7d\x3a\xeb\x23\x85\x3e\x72"
  26365. "\x12\x45\xbb\x5b\x42\x99\xec\xa0"
  26366. "\xa2\xbe\x75\xd6\xb1\xd8\xea\x6f"
  26367. "\x97\xfe\xfd\xcc\xfc\x08\x38\x00",
  26368. .len = 32,
  26369. }, {
  26370. .key = "\xe8\xe0\x85\x9c\x33\x06\x36\x5f"
  26371. "\xa9\xab\x72\x66\xa1\xd7\xf5\x0d",
  26372. .klen = 16,
  26373. .iv = "\x5d\xd3\xaf\x13\xed\x82\xc8\x92"
  26374. "\x4f\xf4\xe2\x35\xdb\x39\x9e\xa5",
  26375. .ptext = "\xdf\x73\x61\x44\x86\x2f\x58\x1e"
  26376. "\xfe\xf6\xb9\x1d\xd9\x1e\x4c\x7c"
  26377. "\xb4\xe6\x2b\x7d\x17\xc3\xc6\x5f"
  26378. "\x9d\xf4\x29\x8a\x55\x5c\x82\x0e"
  26379. "\x67\x91\xdd\x4b\xfb\x31\x33\xf1"
  26380. "\x56\x75\xa3\x2c\x46\x08\xff\x18",
  26381. .ctext = "\x85\x07\x8c\x88\x70\x7b\x39\xb8"
  26382. "\xfd\x1d\xa1\xd0\x89\x5f\x3f\x85"
  26383. "\x18\x5a\xde\x64\xbd\x54\xd5\x67"
  26384. "\xd1\x27\x4c\x98\x82\x76\xea\x22"
  26385. "\x52\x98\x79\xb4\x1d\xe8\x16\xd0"
  26386. "\xc6\xea\xf7\xbb\x38\x89\xf2\x5d",
  26387. .len = 48,
  26388. }, {
  26389. .key = "\xc1\x19\x8a\x7b\xc9\xaf\x00\xb3"
  26390. "\x92\x3c\xd7\xed\xe7\x76\xc5\x98",
  26391. .klen = 16,
  26392. .iv = "\xca\x62\x82\x1a\x5b\xb1\xcf\xc1"
  26393. "\xfb\x50\xb7\xfc\xb0\x3b\x15\xcb",
  26394. .ptext = "\xcb\x92\x56\x74\xc9\xee\x80\x78"
  26395. "\x78\xf5\x73\xc5\x5b\x2c\x70\x2d"
  26396. "\x4e\x0d\xd7\x17\x6d\x5a\x35\x74"
  26397. "\x33\xb0\x7d\xf5\xdf\x5f\x96\x7b"
  26398. "\x1c\x79\x16\xd0\xe0\x29\x4e\x94"
  26399. "\x95\x46\x86\x7a\x77\x28\x89\xb4"
  26400. "\x3d\xbb\x65\xab\xfb\xd1\x6c\xf4"
  26401. "\x47\xbd\x7e\x7f\x9b\x1d\x8b\x12",
  26402. .ctext = "\x69\xd2\x56\xdf\xa8\x1a\x97\xbd"
  26403. "\x69\xb5\xbb\x6b\x29\x1d\x5f\x0f"
  26404. "\xdf\x5f\x63\xc0\x83\x0b\xd7\xb1"
  26405. "\x31\x2d\xbf\x73\xe1\xe5\x5d\x0e"
  26406. "\x0c\x8d\xc4\x8a\xa9\xbd\x5f\xc7"
  26407. "\xb5\x61\xa0\x2b\x90\x64\x1a\xde"
  26408. "\xd2\xe1\x61\xb9\xce\xf4\x0b\x1c"
  26409. "\x9c\x43\x69\x6d\xb2\x32\x98\x44",
  26410. .len = 64,
  26411. }, {
  26412. .key = "\xfa\xf7\x53\xf6\xd6\x08\x70\xf1"
  26413. "\x32\x58\x97\x74\x04\x12\x1b\x14",
  26414. .klen = 16,
  26415. .iv = "\xdd\x93\xb2\x3e\xcb\xc1\x7c\x27"
  26416. "\x7f\x9e\x41\x03\xab\x1d\xfb\x77",
  26417. .ptext = "\xae\x34\x94\x50\x73\x32\xf0\x75"
  26418. "\x96\x53\x2e\x1a\xc9\x91\x2b\x37"
  26419. "\x77\xbe\x48\x39\xa7\xd0\x6e\xf7"
  26420. "\x22\x7c\x4f\xe7\xd8\x06\xee\x92"
  26421. "\x80\x57\x61\x45\x7f\x50\xd5\x0a"
  26422. "\x0b\x5e\xd4\xd6\x90\x4e\xc3\x04"
  26423. "\x52\x63\xaf\x02\x55\xa6\x49\x4b"
  26424. "\x7a\x7e\x2e\x95\xea\x80\x6c\x4b"
  26425. "\xb7\x88\x42\x3d\xc1\x09\x28\x97"
  26426. "\xd7\xa1\x0f\x0f\x1f\xf1\xea\x63",
  26427. .ctext = "\x6b\x83\x00\xf1\x79\xb2\x23\xbf"
  26428. "\x17\x26\x8a\xef\xd3\xe1\x0e\x82"
  26429. "\x5b\xc7\xde\x3e\x39\x72\x2d\xb0"
  26430. "\xad\x25\x3b\xe6\x3b\x9f\xe9\x4b"
  26431. "\x6e\xe8\x77\xf5\x9d\x7d\x00\xae"
  26432. "\x73\x7b\x81\xff\xe3\x55\x8e\x90"
  26433. "\xdf\xe4\xcd\xd5\xdc\x16\x8b\x7a"
  26434. "\xe5\x04\x92\x18\xff\xcc\x63\x1b"
  26435. "\x53\xf3\x26\x44\x5c\x48\x1d\xa2"
  26436. "\x1f\x3f\xe0\x8b\x8f\x6f\xc2\x38",
  26437. .len = 80,
  26438. }, {
  26439. .key = "\xb8\xab\x6d\x03\x9d\xec\x15\x0a"
  26440. "\xcd\xcd\x68\x73\xa9\x35\x7e\x8a",
  26441. .klen = 16,
  26442. .iv = "\x9d\xf1\xc0\xa0\x02\x06\xf0\x03"
  26443. "\x43\x45\x6a\x2e\x3f\x21\xa9\x3c",
  26444. .ptext = "\xef\xbe\x0c\xa3\x49\x4a\xda\x1e"
  26445. "\x64\x90\x85\xeb\xdc\xca\x2b\x37"
  26446. "\x78\xb7\x62\xd7\x0a\xee\x35\x38"
  26447. "\x97\x72\x6a\x99\xb8\x86\x07\x77"
  26448. "\x40\xc3\x14\x49\x1f\x67\xa1\x6e"
  26449. "\x87\xf0\x0b\x64\x4d\xea\x7c\x3a"
  26450. "\x91\x05\xb1\x48\xa1\x6a\x00\x1d"
  26451. "\x1b\x4f\x99\xb9\x52\xc9\x0c\xfd"
  26452. "\xf3\xe2\x0b\x5f\xe9\xec\x71\xe2"
  26453. "\x7d\x15\x84\x46\xc2\x3b\x77\x7b"
  26454. "\x30\x01\x34\x5c\x8f\x22\x58\x9a"
  26455. "\x17\x05\x7e\xf6\xd5\x92\xc0\xb4",
  26456. .ctext = "\x79\x50\x9b\x34\xd7\x22\x9a\x72"
  26457. "\x61\xd7\xd8\xa9\xdb\xcf\x2f\xb0"
  26458. "\x81\x11\xe3\xed\xa0\xe4\xbd\x8d"
  26459. "\xe6\xf2\x52\x52\x40\xec\x9f\x3b"
  26460. "\xd4\x48\xc6\xdf\xfd\x36\x90\x8a"
  26461. "\x2f\x3b\xb0\xfb\xf4\x2b\x99\xa5"
  26462. "\xb2\x39\xc7\x52\x57\x2b\xbc\xd7"
  26463. "\x3f\x06\x10\x15\x2e\xf7\xaa\x79"
  26464. "\xd6\x6a\xe5\x4e\x2d\x0f\x5f\xaf"
  26465. "\xf9\x5a\x63\x28\x33\xf0\x85\x8a"
  26466. "\x06\x45\xce\x73\xaa\x96\x1d\xcc"
  26467. "\x6e\xb9\x25\xb8\x4c\xfe\xeb\x64",
  26468. .len = 96,
  26469. }, {
  26470. .key = "\x50\x45\x7b\x4c\x6d\x80\x53\x62"
  26471. "\x90\x26\x77\xf8\x04\x65\x26\xe3",
  26472. .klen = 16,
  26473. .iv = "\x9d\xd3\x73\x7b\x9b\xbd\x45\x97"
  26474. "\xd2\xbb\xa1\xb9\x08\x88\x2c\x85",
  26475. .ptext = "\x9f\x11\xeb\x78\x74\xcc\x4e\xd6"
  26476. "\x06\x4b\x6d\xe4\xdb\x11\x91\x58"
  26477. "\x1f\xa4\xf6\x0e\x8f\xe4\xcf\xfc"
  26478. "\x95\x9a\x8b\x68\xb4\x54\x57\x58"
  26479. "\x27\x71\xe4\x4b\xc5\x78\x6a\x26"
  26480. "\x28\xae\xed\x71\x0e\xe7\xbf\xc3"
  26481. "\xff\x9c\x46\x7b\x31\x3e\xff\xb1"
  26482. "\xa8\xca\xc3\x6d\xa1\x9e\x49\x16"
  26483. "\x31\x8b\xed\x2d\x2a\x2b\xaf\x3b"
  26484. "\x3e\x74\x7f\x07\x67\x8e\xb8\x0d"
  26485. "\x86\xe2\xea\x2c\x4a\x74\xdc\x9f"
  26486. "\x53\x72\xd1\x2e\x97\x0d\x0b\xa5"
  26487. "\x05\x87\x8e\x86\x69\x8d\x26\xfb"
  26488. "\x90\xc8\xab\x0e\xac\xaf\x84\x1c",
  26489. .ctext = "\x3c\x91\xab\x71\xe4\x77\x3e\xb0"
  26490. "\x7f\x20\x2e\xd0\xe1\xbe\xfd\x3c"
  26491. "\x06\x6c\x36\x75\x46\x27\xfd\x2d"
  26492. "\xba\x0f\xf0\x3c\x6d\x1e\x4b\x20"
  26493. "\xe9\x5e\x30\xd8\x03\xc6\xa0\x86"
  26494. "\xa8\xc7\xa4\x7f\x0e\x1f\x35\x55"
  26495. "\x24\x53\x02\xd5\x77\x30\x73\xdc"
  26496. "\xa5\xaf\x19\x92\x5b\x36\x86\x0e"
  26497. "\xcf\xf2\x5c\x00\xde\x92\xbf\x89"
  26498. "\x76\x46\xd5\x26\xb1\x8d\xa4\xef"
  26499. "\x61\x7e\x78\xb4\x68\xf5\x5b\x1d"
  26500. "\x39\x65\x32\x3a\xad\xff\x8b\x37"
  26501. "\x60\xc2\x8a\xaf\x48\x96\x8b\x9f"
  26502. "\x12\x6c\x70\x77\x95\xf3\x58\xb0",
  26503. .len = 112,
  26504. }, {
  26505. .key = "\xf9\x9f\x6a\x87\xa1\x2d\x6e\xac"
  26506. "\xde\xbb\x3e\x15\x5e\x49\xa4\xef",
  26507. .klen = 16,
  26508. .iv = "\xeb\x8e\x4f\xbe\x4b\x47\xd6\x4f"
  26509. "\x65\xd0\xfa\xee\xa6\xf1\x2c\xda",
  26510. .ptext = "\xa3\xfa\x4f\xf6\x00\x12\xbe\xc1"
  26511. "\x90\xcc\x91\x88\xbd\xfb\x1c\xdb"
  26512. "\x2b\xc8\xb9\x3d\x98\x01\xc8\x1f"
  26513. "\x07\xb4\xf3\x10\x1d\xfd\xb7\x2e"
  26514. "\xcb\x1c\x1f\xe0\x2d\xca\xd3\xc7"
  26515. "\xb2\xce\x52\xf1\x7e\xcb\x7c\x50"
  26516. "\x0c\x5c\x53\x6b\x18\x62\x02\x54"
  26517. "\xbc\x9d\x1f\xda\xd9\x7a\x2d\xff"
  26518. "\xb8\x2c\x65\xad\xf1\xfe\xb6\xa4"
  26519. "\x8c\xe8\x0a\xb7\x67\x60\xcb\x38"
  26520. "\xd7\x72\xa5\xb1\x92\x13\x8e\xd4"
  26521. "\xcd\xb3\x04\xb5\xa1\x11\x96\x37"
  26522. "\xb3\x53\xa6\xc4\x14\x56\x6d\x42"
  26523. "\x66\x43\x40\x42\x41\x63\x11\x7a"
  26524. "\xd5\x34\x38\x75\xd0\xbc\x74\x89"
  26525. "\x82\x1d\x2c\x0a\x3e\x6a\xfb\xbd",
  26526. .ctext = "\x09\x58\xf3\x22\xe5\x10\xf6\x3d"
  26527. "\xba\xb1\xfa\x5a\x16\xfe\xc5\x32"
  26528. "\x3d\x34\x59\x2e\x81\xde\x99\x2f"
  26529. "\xeb\x6a\x97\x86\x1f\x47\x8d\xe6"
  26530. "\x87\x79\x0e\xfe\xa4\xca\x09\xdc"
  26531. "\x24\x9b\xbb\xb1\x90\x33\xce\xd7"
  26532. "\x62\xfd\xfd\xa3\x65\x50\x07\x7c"
  26533. "\x4c\xa2\x10\xc7\x32\x0a\x0d\x5e"
  26534. "\x22\x29\x40\x71\xe5\xcc\x3a\x5b"
  26535. "\x5b\x53\x51\xa5\x5b\xc1\x76\x05"
  26536. "\x84\x6e\xe3\x58\x2b\xf2\x28\x76"
  26537. "\x5c\x66\x90\xfe\x63\x30\x1c\x45"
  26538. "\x26\x34\x80\xfe\x76\x87\x5b\xb1"
  26539. "\x63\x10\x09\xf6\x9d\x35\xcb\xee"
  26540. "\x3c\x60\x9d\x77\x5b\x36\x70\x09"
  26541. "\x4b\x63\x63\x90\x97\x3a\x6c\x8a",
  26542. .len = 128,
  26543. }, {
  26544. .key = "\x04\xb9\x6c\x8f\x5e\x79\x02\x87"
  26545. "\x88\x06\x7c\xfa\xd3\x7b\x56\xfe",
  26546. .klen = 16,
  26547. .iv = "\x4b\xc8\x93\x20\x98\x04\xba\x5a"
  26548. "\x22\x04\x1f\x3f\x79\x2c\x63\x79",
  26549. .ptext = "\xf3\x85\x3e\x75\x97\x10\x7c\x5d"
  26550. "\x39\x5a\x46\x47\xe7\x51\xa3\xac"
  26551. "\x84\x56\x3f\x1b\xb3\x93\x6a\x2e"
  26552. "\xf7\x8f\x63\xbe\x18\xff\xd7\x53"
  26553. "\xc8\xe0\xa5\xde\x86\xc2\xe4\xab"
  26554. "\xc3\x67\x27\x91\x43\x8c\xff\x6c"
  26555. "\xc7\x07\xc2\xcd\xe9\x12\x8b\xef"
  26556. "\x47\xe7\x82\xed\xe3\x8d\x5e\x33"
  26557. "\xca\xf1\x28\x32\xf4\x38\x41\x59"
  26558. "\x6c\x54\xa6\x40\xb0\xd5\x73\x26"
  26559. "\x5b\x02\xa6\x9d\x01\x29\x26\x84"
  26560. "\x5b\x33\x04\x36\xa4\x7b\x00\x01"
  26561. "\x42\xe1\x4f\xda\xa9\x1a\x9b\x4e"
  26562. "\x7d\x4a\x4c\xbc\xf6\xd4\x06\xc2"
  26563. "\x89\x70\x72\xf5\xc5\x7f\x42\xd5"
  26564. "\x7b\x9c\x6f\x00\x21\x74\xc5\xa5"
  26565. "\x78\xd7\xa2\x3c\x6d\x0f\xfb\x74"
  26566. "\x3d\x70\x9f\x6d\xdd\x30\xc0\x28",
  26567. .ctext = "\xc0\x49\x98\xb9\xf6\x58\xeb\x56"
  26568. "\x36\x76\x7a\x40\x7c\x27\x80\x62"
  26569. "\xe3\xcb\x9c\x87\x2c\x03\xc2\x0c"
  26570. "\x82\x00\x50\xd2\xe4\x61\x4d\x54"
  26571. "\x88\x10\x6f\x0a\xb4\x25\x57\xba"
  26572. "\xf0\x07\xe3\x55\x06\xb3\x72\xe9"
  26573. "\x2f\x9f\x1e\x50\xa8\x15\x69\x71"
  26574. "\xe3\xe5\x50\x32\xe5\xe0\x47\x0f"
  26575. "\x3a\xaa\x7d\xc0\x09\x0e\xdb\x1a"
  26576. "\xae\xb6\xa5\x87\x63\xd6\xbe\x8b"
  26577. "\xb2\x3d\x10\x1e\xb3\x68\xcf\x8a"
  26578. "\xe5\xa8\x89\xa9\xfe\x79\x13\x77"
  26579. "\xc4\x3f\x6f\x9f\xdd\x76\x5b\xf2"
  26580. "\x05\x67\x8a\x58\xb4\x31\xac\x64"
  26581. "\x6f\xc4\xc1\x6b\x08\x79\x3f\xe5"
  26582. "\x1c\x9a\x66\x3f\x7d\x1f\x18\xb1"
  26583. "\x07\xa5\x7b\x4f\x2c\x43\x33\x84"
  26584. "\xab\x1b\xc0\x7d\x49\x2f\x27\x9b",
  26585. .len = 144,
  26586. }, {
  26587. .key = "\x99\x79\xaf\x3c\xfb\xbd\xe7\xca"
  26588. "\xee\x4a\x4d\xb2\x23\x1e\xb6\x07",
  26589. .klen = 16,
  26590. .iv = "\xb4\xfc\xaa\xc1\x08\xbf\x68\xb2"
  26591. "\xf6\xef\x29\xbc\x2d\x92\xa9\x40",
  26592. .ptext = "\xd3\x44\xe4\xd9\x6c\x8a\x1d\x4b"
  26593. "\xfe\x64\x25\xb6\x72\x21\xda\x10"
  26594. "\x3e\x77\xee\xd1\x41\xd3\xea\xf0"
  26595. "\xee\xee\x72\x0f\xad\xa1\xca\xf3"
  26596. "\x7e\xfa\x99\x36\xe0\x8f\xed\x40"
  26597. "\xf1\x12\x80\x73\xd6\x26\x3a\xa6"
  26598. "\x5d\x71\xf6\xd5\xe1\xf3\x89\x16"
  26599. "\x6f\x96\x00\xcf\x26\x06\x2a\x27"
  26600. "\xe4\xc2\x57\xba\x1f\x74\x5e\x91"
  26601. "\x10\x7e\xe5\x51\x17\xd5\xdc\xb2"
  26602. "\x5b\x12\x4b\x33\xb1\xc6\x4e\x0d"
  26603. "\xbf\x0e\x5d\x65\x61\x68\xd1\xc5"
  26604. "\x4b\xc5\xa4\xcd\xf0\xe0\x79\x26"
  26605. "\xa3\xcd\xdc\xb8\xfc\xd5\xca\x1d"
  26606. "\x7e\x81\x74\x55\x76\xf5\x40\xbb"
  26607. "\x26\x7f\x11\x37\x23\x70\xc8\xb6"
  26608. "\xfc\x2b\x0b\xd7\x1c\x7b\x45\xe7"
  26609. "\xf2\x2a\xed\x10\x4f\xcf\x0c\xcd"
  26610. "\x0f\xe7\xf9\xa1\xfb\x27\x67\x09"
  26611. "\xee\x11\xa2\xaf\x37\xc6\x16\xe0",
  26612. .ctext = "\x60\xce\x9a\xdb\xb2\xe8\xa2\x64"
  26613. "\x35\x9c\x5b\x97\x21\x9b\x95\x89"
  26614. "\x7b\x89\x15\x01\x97\x8b\xec\x9b"
  26615. "\xb9\xce\x7d\xb9\x9d\xcc\xd0\xa0"
  26616. "\xda\x39\x5d\xfd\xb9\x51\xe7\x2f"
  26617. "\xe7\x9b\x73\x1b\x07\xfb\xfd\xbb"
  26618. "\xce\x84\x68\x76\x12\xc9\x6c\x38"
  26619. "\xc0\xdc\x67\x96\x5e\x63\xcf\xe5"
  26620. "\x57\x84\x7a\x14\x8c\xab\x38\x94"
  26621. "\x1c\x27\xc3\xe0\x03\x58\xfe\x98"
  26622. "\x97\xfc\x96\xba\x65\x87\x1e\x44"
  26623. "\xf8\x00\x91\x6a\x14\x05\xf3\xf9"
  26624. "\x8e\x3e\x7a\x3c\x41\x96\x15\x4f"
  26625. "\xa8\xc0\x73\x1f\x1b\xeb\xaf\xec"
  26626. "\xc4\x5a\x35\xed\x42\x2f\x47\xea"
  26627. "\xfd\x2f\x29\xf6\x0f\x58\x8b\x3d"
  26628. "\x15\x81\xe3\xa4\xa6\x5f\x33\x33"
  26629. "\xe9\x0d\x06\x4f\x7f\x89\x2c\x3d"
  26630. "\x18\x45\x1f\xd1\xc5\x74\xf7\x52"
  26631. "\x2f\x9b\x72\x3d\x1f\xad\x12\x1b",
  26632. .len = 160,
  26633. }, {
  26634. .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
  26635. "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
  26636. "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
  26637. .klen = 24,
  26638. .iv = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
  26639. "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
  26640. .ptext = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
  26641. "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
  26642. .ctext = "\x2d\x8f\x39\x71\x0a\x2c\xc9\x93"
  26643. "\xb6\x1a\x5c\x53\x06\x4d\xaa\xcf",
  26644. .len = 16,
  26645. }, {
  26646. .key = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
  26647. "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
  26648. "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
  26649. .klen = 24,
  26650. .iv = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
  26651. "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
  26652. .ptext = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
  26653. "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
  26654. "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
  26655. "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
  26656. .ctext = "\xc1\x53\x86\xf8\x60\x5d\x72\x59"
  26657. "\x7e\xdf\xc8\xdb\x85\xd6\x9f\x2a"
  26658. "\xa1\xda\xe5\x85\x78\x4f\x1b\x6f"
  26659. "\x58\xf3\x2b\xff\x34\xe4\x97\x4e",
  26660. .len = 32,
  26661. }, {
  26662. .key = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
  26663. "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
  26664. "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
  26665. .klen = 24,
  26666. .iv = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
  26667. "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
  26668. .ptext = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
  26669. "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
  26670. "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
  26671. "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
  26672. "\x77\xb5\xca\x90\xda\x1d\x22\x17"
  26673. "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
  26674. .ctext = "\x25\x5f\x66\x15\xb5\x62\xfb\x55"
  26675. "\xb3\x77\xa1\x7d\x03\xba\x86\x0a"
  26676. "\x0d\x5b\xbb\x06\xe9\xe2\xa8\x41"
  26677. "\xa3\x58\xd6\x4b\xcb\x7f\xd0\x15"
  26678. "\x3b\x02\x74\x5d\x4c\x4c\xb0\xa5"
  26679. "\x06\xc9\x59\x53\x2a\x36\xeb\x59",
  26680. .len = 48,
  26681. }, {
  26682. .key = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
  26683. "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
  26684. "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
  26685. .klen = 24,
  26686. .iv = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
  26687. "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
  26688. .ptext = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
  26689. "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
  26690. "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
  26691. "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
  26692. "\x30\x9d\x59\x8d\x64\x76\xad\x37"
  26693. "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
  26694. "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
  26695. "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
  26696. .ctext = "\x91\x02\xa9\xd3\x4b\x9a\x8f\xe6"
  26697. "\x9f\xe4\x51\x57\xc9\x42\xda\x68"
  26698. "\xca\xf6\x54\x51\x90\xec\x20\x2e"
  26699. "\xab\x25\x6c\xd9\x8b\x99\xa6\x1c"
  26700. "\x72\xc9\x01\xd6\xbc\x2b\x26\x78"
  26701. "\x42\x00\x84\x0a\xdd\xa8\xd9\xb5"
  26702. "\xc6\xc8\x30\xb6\xab\xea\x71\x84"
  26703. "\xb2\x57\x97\x32\xdb\x35\x23\xd8",
  26704. .len = 64,
  26705. }, {
  26706. .key = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
  26707. "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
  26708. "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
  26709. .klen = 24,
  26710. .iv = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
  26711. "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
  26712. .ptext = "\x91\xac\x17\x11\x1c\x03\x69\x53"
  26713. "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
  26714. "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
  26715. "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
  26716. "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
  26717. "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
  26718. "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
  26719. "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
  26720. "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
  26721. "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
  26722. .ctext = "\x28\x23\x3a\x4a\x18\xb7\xb6\x05"
  26723. "\xd4\x1b\x6a\x9e\xa7\xf2\x38\x01"
  26724. "\x78\xd3\xb0\x1b\x95\x68\x59\xf1"
  26725. "\xc0\xed\x30\x46\x2e\xb9\xa6\xdc"
  26726. "\xde\xef\xa6\x85\x19\xfc\x4d\x36"
  26727. "\x5d\x24\x92\x62\x75\x32\x76\x6d"
  26728. "\x6d\xa9\x07\xe1\x4f\x59\x84\x1a"
  26729. "\x68\x9a\x07\x48\xd3\x86\xf6\xf1"
  26730. "\x5b\xf9\x35\xec\x7c\xaf\x47\x13"
  26731. "\x9c\xc9\x33\x12\x10\x2f\x94\x8a",
  26732. .len = 80,
  26733. }, {
  26734. .key = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
  26735. "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
  26736. "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
  26737. .klen = 24,
  26738. .iv = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
  26739. "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
  26740. .ptext = "\x84\xa0\x53\x97\x61\x30\x70\x15"
  26741. "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
  26742. "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
  26743. "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
  26744. "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
  26745. "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
  26746. "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
  26747. "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
  26748. "\xee\xb7\x0d\x65\x00\x38\xab\x71"
  26749. "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
  26750. "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
  26751. "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
  26752. .ctext = "\x38\x5b\x16\xef\xb8\x8c\x74\x7a"
  26753. "\x55\x17\x71\xa7\x7d\x34\xd7\x6a"
  26754. "\xc6\x31\x55\x6f\xbb\x61\xf4\x12"
  26755. "\x81\x8c\x91\x0d\x10\xdb\xd5\x22"
  26756. "\x77\x36\x32\xb6\x77\xb1\x5e\x21"
  26757. "\xb5\xec\xf9\x64\x04\x90\x6f\xc6"
  26758. "\x8a\x86\x23\xb5\xfe\xa4\xb6\x84"
  26759. "\x91\xa1\x60\xe3\xd7\xf3\xb9\xda"
  26760. "\x96\x23\x4a\xb3\xab\x75\x84\x04"
  26761. "\x15\x1a\xbb\xe8\x02\x1e\x80\x7c"
  26762. "\xc1\x93\x01\x0f\x5c\x4a\xde\x85"
  26763. "\xbb\x93\x05\x66\x53\x74\x40\x56",
  26764. .len = 96,
  26765. }, {
  26766. .key = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
  26767. "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
  26768. "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
  26769. .klen = 24,
  26770. .iv = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
  26771. "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
  26772. .ptext = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
  26773. "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
  26774. "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
  26775. "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
  26776. "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
  26777. "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
  26778. "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
  26779. "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
  26780. "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
  26781. "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
  26782. "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
  26783. "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
  26784. "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
  26785. "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
  26786. .ctext = "\x4b\x56\xe0\xc2\x65\x2f\x7c\x6f"
  26787. "\xee\x22\xeb\x34\x1c\xa5\xb7\xc8"
  26788. "\x35\xd7\x51\xfd\x6a\xf4\xdd\xc3"
  26789. "\x38\xf4\xfc\x9d\x2e\xc2\x77\xb7"
  26790. "\x93\x8e\x8c\xb3\x44\x9b\xaf\xbb"
  26791. "\x99\xb9\xa8\x38\x1c\xfe\x63\xfb"
  26792. "\x1f\xa0\xaa\x35\x29\x7b\x87\x49"
  26793. "\x8e\x93\xa5\xb8\x5a\x85\x37\xa7"
  26794. "\x67\x69\x49\xbd\xc3\xfa\x89\x1c"
  26795. "\xf5\x60\x9b\xe7\x71\x96\x95\xd9"
  26796. "\x0b\x98\xe6\x74\x1d\xa3\xd9\x89"
  26797. "\x03\xe4\xf6\x66\xb3\x73\xb1\xac"
  26798. "\x9f\xee\x8f\xc2\x96\xcc\x97\x78"
  26799. "\x1b\x96\x63\x64\x00\x9c\x2d\x29",
  26800. .len = 112,
  26801. }, {
  26802. .key = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
  26803. "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
  26804. "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
  26805. .klen = 24,
  26806. .iv = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
  26807. "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
  26808. .ptext = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
  26809. "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
  26810. "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
  26811. "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
  26812. "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
  26813. "\x6a\x55\x84\x98\x28\x03\x02\xc2"
  26814. "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
  26815. "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
  26816. "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
  26817. "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
  26818. "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
  26819. "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
  26820. "\x87\x96\x77\x1a\x10\x81\x63\x8a"
  26821. "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
  26822. "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
  26823. "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
  26824. .ctext = "\x4d\x35\x70\xf1\x25\x02\x1d\x7f"
  26825. "\x9e\x0f\x5b\x4b\x65\xab\xcc\x6b"
  26826. "\x62\xab\x2b\xfa\xc0\x66\xee\x56"
  26827. "\xb4\x66\x95\x22\x84\x39\xd8\x3f"
  26828. "\x74\xba\x4f\x3f\xcd\xef\xcf\xf6"
  26829. "\x76\xeb\x9e\x8a\xec\x9c\x31\xa0"
  26830. "\x3e\x0c\xf9\xfa\x57\x90\xb4\x02"
  26831. "\xac\xc8\x28\xda\xa0\x05\xb7\x7e"
  26832. "\x75\x9c\x79\x36\xa9\x2f\x1a\x36"
  26833. "\x56\x77\xda\x74\xc7\xb3\xdf\xf3"
  26834. "\xb9\x83\x10\xf3\x6b\xe1\xdf\xcb"
  26835. "\x11\x70\xb1\xa0\x68\x48\x26\x95"
  26836. "\x10\x91\x94\xf3\xe9\x82\xb4\x8a"
  26837. "\xaa\xde\xf8\x9f\xce\x82\x47\x18"
  26838. "\x37\x5d\xda\x34\x74\x4d\x36\xbd"
  26839. "\xa5\x6c\xa4\xb3\x70\xad\x00\xbd",
  26840. .len = 128,
  26841. }, {
  26842. .key = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
  26843. "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
  26844. "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
  26845. .klen = 24,
  26846. .iv = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
  26847. "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
  26848. .ptext = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
  26849. "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
  26850. "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
  26851. "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
  26852. "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
  26853. "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
  26854. "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
  26855. "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
  26856. "\xc2\xab\x62\x54\xef\xba\xae\x46"
  26857. "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
  26858. "\x05\x26\x23\x81\x19\x27\xad\x7b"
  26859. "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
  26860. "\x44\xbf\x59\xde\x03\x61\x11\x12"
  26861. "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
  26862. "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
  26863. "\xb6\x09\x21\x12\x42\x98\x13\xa1"
  26864. "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
  26865. "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
  26866. .ctext = "\xa1\x4a\x83\xb2\xe0\xef\x3d\x94"
  26867. "\xa4\x34\x66\x93\xb4\x89\x4e\x12"
  26868. "\xe5\x61\xc9\xea\xe0\x16\x96\x1a"
  26869. "\x3e\x94\x20\x81\xd4\x12\x7f\xf4"
  26870. "\xb8\x3f\xc9\xe2\x99\xb5\x0f\x9e"
  26871. "\x71\x86\x4f\x13\x78\x4e\xf1\x51"
  26872. "\xd4\x7d\x6e\x47\x31\x9a\xd8\xf7"
  26873. "\xb9\xb1\x17\xd0\xbd\xbf\x72\x86"
  26874. "\xb4\x58\x85\xf0\x05\x67\xc4\x00"
  26875. "\xca\xcb\xa7\x1a\x1d\x88\x29\xf4"
  26876. "\xe2\xf6\xdd\x5a\x3e\x5a\xbb\x29"
  26877. "\x48\x5a\x4a\x18\xcd\x5c\xf1\x09"
  26878. "\x5b\xbe\x1a\x43\x12\xc5\x6e\x6e"
  26879. "\x5e\x6d\x3b\x22\xf7\x58\xbd\xc8"
  26880. "\xb1\x04\xaf\x44\x9c\x2b\x98\x5a"
  26881. "\x14\xb7\x35\xb8\x9a\xce\x32\x28"
  26882. "\x1f\x8d\x08\x8a\xb9\x82\xf0\xa5"
  26883. "\x6a\x37\x29\xb6\x29\x3a\x53\x5e",
  26884. .len = 144,
  26885. }, {
  26886. .key = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
  26887. "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
  26888. "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
  26889. .klen = 24,
  26890. .iv = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
  26891. "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
  26892. .ptext = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
  26893. "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
  26894. "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
  26895. "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
  26896. "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
  26897. "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
  26898. "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
  26899. "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
  26900. "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
  26901. "\x20\xf0\x79\x67\xb1\x83\x26\x66"
  26902. "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
  26903. "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
  26904. "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
  26905. "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
  26906. "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
  26907. "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
  26908. "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
  26909. "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
  26910. "\x52\xf1\x34\x78\x34\x53\x30\x5b"
  26911. "\x43\x43\x51\x6a\x02\x81\x64\x0c",
  26912. .ctext = "\xd9\xed\xc8\xc7\x66\xcd\x06\xc5"
  26913. "\xc1\x25\x9b\xf5\x14\x71\x1d\x69"
  26914. "\xc9\x7c\x04\x40\xab\xc0\x44\xf4"
  26915. "\xa1\xe6\x57\x8b\x35\x62\x4e\x3f"
  26916. "\xce\x4a\x99\xcd\x95\xc4\xd1\xf3"
  26917. "\xbc\x25\xa2\x18\xe6\xd1\xf7\xc0"
  26918. "\x13\x98\x60\x4c\x5c\xb1\x4f\x7a"
  26919. "\xbc\x45\x12\x52\xe8\x71\xb0\xf1"
  26920. "\x18\xef\x6f\x8a\x63\x35\x17\xae"
  26921. "\x90\x31\x41\x9d\xf4\xdc\x35\xcc"
  26922. "\x49\x72\x10\x11\x3b\xe3\x40\x7a"
  26923. "\x8e\x21\x39\xd0\x5b\x82\xb1\xe9"
  26924. "\x0c\x37\x5a\x7c\x11\xcb\x96\xd9"
  26925. "\xd4\x1c\x47\x4b\x70\xcb\xca\x08"
  26926. "\x5f\x71\xe9\x48\xf6\x29\xd8\xbb"
  26927. "\x5c\xad\x9b\x23\x9f\x62\xaf\xef"
  26928. "\x8e\xd8\x99\x1d\x60\xad\xc3\x6f"
  26929. "\xed\x06\x1a\xec\xfa\xc0\x0f\x0d"
  26930. "\xb7\x00\x02\x45\x7c\x94\x23\xb6"
  26931. "\xd7\x26\x6a\x16\x62\xc4\xd9\xee",
  26932. .len = 160,
  26933. }, {
  26934. .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
  26935. "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
  26936. "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
  26937. "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
  26938. .klen = 32,
  26939. .iv = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
  26940. "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
  26941. .ptext = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
  26942. "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
  26943. .ctext = "\x05\x31\x46\x6d\xb8\xf4\x92\x64"
  26944. "\x46\xfd\x0d\x96\x60\x01\xd7\x94",
  26945. .len = 16,
  26946. }, {
  26947. .key = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
  26948. "\x53\x39\xfc\xc1\xf5\xc0\x56\x22"
  26949. "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
  26950. "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
  26951. .klen = 32,
  26952. .iv = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
  26953. "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
  26954. .ptext = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
  26955. "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d"
  26956. "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
  26957. "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
  26958. .ctext = "\x24\x36\xe4\x14\xb7\xe1\x56\x8a"
  26959. "\xf3\xc5\xaf\x0e\xa7\xeb\xbd\xcd"
  26960. "\x2d\xe9\xd7\x19\xae\x24\x5d\x3b"
  26961. "\x1d\xfb\xdc\x21\xb3\x1a\x37\x0b",
  26962. .len = 32,
  26963. }, {
  26964. .key = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
  26965. "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
  26966. "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
  26967. "\x39\x56\x34\x63\x2c\xc5\x51\x13",
  26968. .klen = 32,
  26969. .iv = "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
  26970. "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
  26971. .ptext = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
  26972. "\x77\xb5\xca\x90\xda\x1d\x22\x17"
  26973. "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
  26974. "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
  26975. "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
  26976. "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
  26977. .ctext = "\x2e\x73\x60\xec\xd3\x95\x78\xe8"
  26978. "\x0f\x98\x1a\xc2\x92\x49\x0b\x49"
  26979. "\x71\x42\xf4\xb0\xaa\x8b\xf8\x53"
  26980. "\x16\xab\x6d\x74\xc0\xda\xab\xcd"
  26981. "\x85\x52\x11\x20\x2c\x59\x16\x00"
  26982. "\x26\x47\x4a\xea\x08\x5f\x38\x68",
  26983. .len = 48,
  26984. }, {
  26985. .key = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
  26986. "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
  26987. "\xa0\x82\x09\x60\x47\xbb\x16\x56"
  26988. "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c",
  26989. .klen = 32,
  26990. .iv = "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
  26991. "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
  26992. .ptext = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
  26993. "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
  26994. "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
  26995. "\x54\x74\x8f\x3d\xe2\xd6\x85\x44"
  26996. "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
  26997. "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
  26998. "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
  26999. "\xb2\x92\x83\x70\x1e\xa3\x97\xa6",
  27000. .ctext = "\xfb\xd3\xc3\x8b\xf7\x89\xcc\x31"
  27001. "\xb1\x7f\xc3\x91\xdc\x04\xc6\xd7"
  27002. "\x33\xbd\xe0\xee\x0c\xd5\x70\xed"
  27003. "\x1b\x1d\xad\x49\x6f\x5c\xa1\x68"
  27004. "\xd7\x03\xc9\x65\xa7\x90\x30\x2b"
  27005. "\x26\xeb\xf4\x7a\xac\xcc\x03\xe1"
  27006. "\x6a\xe5\xdb\x23\x10\x8a\xcd\x70"
  27007. "\x39\x4d\x7a\xc9\xcd\x62\xd1\x65",
  27008. .len = 64,
  27009. }, {
  27010. .key = "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
  27011. "\x91\xac\x17\x11\x1c\x03\x69\x53"
  27012. "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
  27013. "\xb6\x02\xc4\xfa\x95\x01\x33\xa8",
  27014. .klen = 32,
  27015. .iv = "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
  27016. "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
  27017. .ptext = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
  27018. "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
  27019. "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
  27020. "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
  27021. "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
  27022. "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
  27023. "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
  27024. "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
  27025. "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
  27026. "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
  27027. .ctext = "\xa2\x51\x28\xc2\x5e\x58\x1c\xaf"
  27028. "\x84\x92\x1c\xe1\x92\xf0\xf9\x9e"
  27029. "\xf2\xb3\xc6\x2b\x34\xd2\x8d\xa0"
  27030. "\xb3\xd7\x87\x56\xeb\xd9\x32\x6a"
  27031. "\xca\x90\x28\x26\x49\x34\xca\x41"
  27032. "\xce\xc5\x9e\xd6\xfe\x57\x71\x3c"
  27033. "\x98\xaf\xdd\xfc\x7d\xdf\x26\x7e"
  27034. "\xb7\x9c\xd5\x15\xe5\x81\x7a\x4f"
  27035. "\x4f\x4f\xe5\x77\xf2\x2e\x67\x68"
  27036. "\x52\xc1\xac\x28\x2c\x88\xf4\x38",
  27037. .len = 80,
  27038. }, {
  27039. .key = "\x84\xa0\x53\x97\x61\x30\x70\x15"
  27040. "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
  27041. "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
  27042. "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95",
  27043. .klen = 32,
  27044. .iv = "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
  27045. "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
  27046. .ptext = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
  27047. "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
  27048. "\xee\xb7\x0d\x65\x00\x38\xab\x71"
  27049. "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
  27050. "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
  27051. "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
  27052. "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
  27053. "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
  27054. "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
  27055. "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
  27056. "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
  27057. "\x58\x2b\x1d\x73\x9a\x9c\x63\x18",
  27058. .ctext = "\xd1\xce\xbe\xe0\x4a\x6e\x6d\x7f"
  27059. "\x89\x19\x28\xb1\xca\xe8\xc1\x9c"
  27060. "\x8c\x0b\x7d\x63\xfe\xff\x3d\xf4"
  27061. "\x65\x9e\xd6\xe7\x2f\x5a\xc1\x31"
  27062. "\x1e\xe7\x59\x27\x54\x92\xcc\xaa"
  27063. "\x5b\x3d\xeb\xe7\x96\xc1\x49\x54"
  27064. "\x18\xf3\x14\xaa\x56\x03\x28\x53"
  27065. "\xaa\x0a\x91\xdf\x92\x96\x9b\x06"
  27066. "\x1a\x24\x02\x09\xe7\xa6\xdc\x75"
  27067. "\xeb\x00\x1d\xf5\xf2\xa7\x4a\x9d"
  27068. "\x75\x80\xb7\x47\x63\xfc\xad\x18"
  27069. "\x85\x5f\xfc\x64\x03\x72\x38\xe7",
  27070. .len = 96,
  27071. }, {
  27072. .key = "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
  27073. "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
  27074. "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
  27075. "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0",
  27076. .klen = 32,
  27077. .iv = "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
  27078. "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
  27079. .ptext = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
  27080. "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
  27081. "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
  27082. "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
  27083. "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
  27084. "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
  27085. "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
  27086. "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
  27087. "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
  27088. "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
  27089. "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
  27090. "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
  27091. "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
  27092. "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c",
  27093. .ctext = "\x0b\x07\xdc\x6a\x47\x45\xd2\xb0"
  27094. "\xa3\xf2\x42\x2f\xa4\x79\x6b\x4c"
  27095. "\x53\x9c\x8a\x2f\x48\x9c\xf2\x89"
  27096. "\x73\x8b\xdd\x97\xde\x41\x06\xc8"
  27097. "\x8a\x30\x7a\xa9\x90\x4a\x43\xd0"
  27098. "\xd5\xee\x16\x51\x44\xda\xe4\xb8"
  27099. "\xe8\x5f\x6f\xef\x84\xf3\x44\x43"
  27100. "\xbd\xdc\xc3\xdf\x65\x2b\xaf\xf6"
  27101. "\xfe\xd0\x4a\x5b\x30\x47\x8c\xaf"
  27102. "\x8d\xed\x2d\x91\xa1\x03\x9a\x80"
  27103. "\x58\xdd\xaa\x8f\x3b\x6b\x39\x10"
  27104. "\xe5\x92\xbc\xac\xaa\x25\xa1\x13"
  27105. "\x7e\xaa\x03\x83\x05\x83\x11\xfe"
  27106. "\x19\x5f\x04\x01\x48\x00\x3b\x58",
  27107. .len = 112,
  27108. }, {
  27109. .key = "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
  27110. "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
  27111. "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
  27112. "\x6a\x55\x84\x98\x28\x03\x02\xc2",
  27113. .klen = 32,
  27114. .iv = "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
  27115. "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
  27116. .ptext = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
  27117. "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
  27118. "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
  27119. "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
  27120. "\x87\x96\x77\x1a\x10\x81\x63\x8a"
  27121. "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
  27122. "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
  27123. "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
  27124. "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
  27125. "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
  27126. "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
  27127. "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
  27128. "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
  27129. "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
  27130. "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
  27131. "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a",
  27132. .ctext = "\xfe\xba\x8f\x68\x47\x55\xaa\x61"
  27133. "\x48\xdd\xf3\x7c\xc4\xdc\xa6\x93"
  27134. "\x4e\x72\x3f\xc7\xd0\x2b\x9b\xac"
  27135. "\xc1\xb5\x95\xf8\x8e\x75\x62\x0c"
  27136. "\x05\x6a\x90\x76\x35\xed\x73\xf2"
  27137. "\x0f\x44\x3d\xaf\xd4\x00\xeb\x1d"
  27138. "\xad\x27\xf2\x2f\x55\x65\x91\x0f"
  27139. "\xe4\x04\x9c\xfb\x8a\x18\x22\x8e"
  27140. "\x21\xbe\x93\x09\xdd\x3e\x93\x34"
  27141. "\x60\x82\xcd\xff\x42\x10\xed\x43"
  27142. "\x3a\x4b\xb8\x5c\x6c\xa8\x9e\x1c"
  27143. "\x95\x6a\x17\xa7\xa3\xe0\x7d\xdb"
  27144. "\x6e\xca\xaf\xc1\x1f\xb2\x86\x15"
  27145. "\xf0\xc1\x55\x72\xf2\x74\x44\xeb"
  27146. "\x09\x09\x83\x8b\x2c\xc9\x63\x13"
  27147. "\x99\xe3\xe1\x4b\x5c\xf7\xb1\x04",
  27148. .len = 128,
  27149. }, {
  27150. .key = "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
  27151. "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
  27152. "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
  27153. "\xcd\x56\x02\x95\xc9\x54\x6e\x62",
  27154. .klen = 32,
  27155. .iv = "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
  27156. "\xc2\xab\x62\x54\xef\xba\xae\x46",
  27157. .ptext = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
  27158. "\x05\x26\x23\x81\x19\x27\xad\x7b"
  27159. "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
  27160. "\x44\xbf\x59\xde\x03\x61\x11\x12"
  27161. "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
  27162. "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
  27163. "\xb6\x09\x21\x12\x42\x98\x13\xa1"
  27164. "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
  27165. "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
  27166. "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
  27167. "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
  27168. "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
  27169. "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
  27170. "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
  27171. "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
  27172. "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
  27173. "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
  27174. "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01",
  27175. .ctext = "\xa5\x19\x33\xad\x2d\x1a\x7b\x34"
  27176. "\xb0\x21\x68\x0e\x20\x11\x7a\x37"
  27177. "\xef\x35\x33\x64\x31\x0a\x42\x77"
  27178. "\x2c\x7f\x1a\x34\xd6\x93\x2d\xe9"
  27179. "\x26\xb9\x15\xec\x4f\x83\xbd\x48"
  27180. "\x5b\xe9\x63\xea\x10\x3b\xec\xfb"
  27181. "\xb0\x5e\x81\x90\xf0\x07\x43\xc4"
  27182. "\xda\x54\x69\x98\x13\x5d\x93\x16"
  27183. "\xca\x06\x81\x64\x36\xbe\x36\xa2"
  27184. "\xd4\xd8\x48\x63\xc7\x53\x39\x93"
  27185. "\x6d\x6b\xd6\x49\x00\x72\x5e\x02"
  27186. "\xc7\x88\x61\x0f\x10\x88\xd4\x9e"
  27187. "\x17\x81\xa4\xdc\x43\x4e\x83\x43"
  27188. "\xd4\xc3\xd7\x25\x9a\xd4\x76\xde"
  27189. "\x88\xe3\x98\x5a\x0e\x80\x23\xfb"
  27190. "\x49\xb3\x83\xf6\xb9\x16\x00\x06"
  27191. "\xa5\x06\x24\x17\x65\xbb\x68\xa9"
  27192. "\x56\x6d\xeb\xcd\x3c\x14\xd2\x64",
  27193. .len = 144,
  27194. }, {
  27195. .key = "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
  27196. "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
  27197. "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
  27198. "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53",
  27199. .klen = 32,
  27200. .iv = "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
  27201. "\x20\xf0\x79\x67\xb1\x83\x26\x66",
  27202. .ptext = "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
  27203. "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
  27204. "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
  27205. "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
  27206. "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
  27207. "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
  27208. "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
  27209. "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
  27210. "\x52\xf1\x34\x78\x34\x53\x30\x5b"
  27211. "\x43\x43\x51\x6a\x02\x81\x64\x0c"
  27212. "\xcd\x4b\xbf\x0f\xcb\x81\xd4\xec"
  27213. "\x1e\x07\x05\x4d\x5c\x6b\xba\xcc"
  27214. "\x43\xc7\xb1\xfe\xa8\xe9\x96\xb0"
  27215. "\xb1\xb2\xd4\x70\x44\xbc\xaa\x50"
  27216. "\xbf\x3f\x81\xe6\xea\x36\x7d\x97"
  27217. "\x2a\xbd\x52\x16\xf7\xbe\x59\x27"
  27218. "\x8f\xcc\xe3\xa9\xec\x4f\xcd\xd3"
  27219. "\xf4\xe2\x54\xbe\xf1\xf9\x2b\x23"
  27220. "\x40\xc7\xcb\x67\x4d\x5f\x0b\xd4"
  27221. "\xbf\x19\xf0\x2a\xef\x37\xc6\x56",
  27222. .ctext = "\x0a\x69\xd8\x67\x33\x2a\x2f\xa9"
  27223. "\x26\x79\x65\xd6\x75\x1e\x98\xe8"
  27224. "\x52\x56\x32\xbf\x67\x71\xf4\x01"
  27225. "\xb1\x6f\xef\xf9\xc9\xad\xb3\x49"
  27226. "\x7a\x4f\x24\x9a\xae\x06\x62\x26"
  27227. "\x3e\xe4\xa7\x6f\x5a\xbf\xe9\x52"
  27228. "\x13\x01\x74\x8b\x6e\xb1\x65\x24"
  27229. "\xaa\x8d\xbb\x54\x21\x20\x60\xa4"
  27230. "\xb7\xa5\xf9\x4e\x7b\xf5\x0b\x70"
  27231. "\xd2\xb9\xdc\x9b\xdb\x2c\xb2\x43"
  27232. "\xf7\x71\x30\xa5\x13\x6f\x16\x75"
  27233. "\xd0\xdf\x72\xae\xe4\xed\xc1\xa3"
  27234. "\x81\xe0\xd5\xc0\x0e\x62\xe8\xe5"
  27235. "\x86\x2c\x37\xde\xf8\xb0\x21\xe4"
  27236. "\xcd\xa6\x76\x9b\xa1\x56\xd3\x67"
  27237. "\x70\x69\xd6\x5d\xc7\x65\x19\x59"
  27238. "\x43\x9c\xca\x32\xe9\xd1\x48\x92"
  27239. "\x71\x79\x87\x73\x24\xcb\xc0\x0f"
  27240. "\x23\x3b\x8f\x51\x8a\xb3\x3a\x9c"
  27241. "\x74\xa4\x19\xa7\xe4\x4f\x6b\x32",
  27242. .len = 160,
  27243. }
  27244. };
  27245. static const struct cipher_testvec aria_ctr_tv_template[] = {
  27246. {
  27247. .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
  27248. "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1",
  27249. .klen = 16,
  27250. .iv = "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
  27251. "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
  27252. .ptext = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
  27253. "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
  27254. .ctext = "\x19\x28\xb5\xf2\x1c\xbc\xf8\xaf"
  27255. "\xb9\xae\x1b\x23\x4f\xe1\x6e\x40",
  27256. .len = 16,
  27257. }, {
  27258. .key = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
  27259. "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
  27260. .klen = 16,
  27261. .iv = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
  27262. "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
  27263. .ptext = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
  27264. "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e"
  27265. "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
  27266. "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
  27267. .ctext = "\x3f\x8c\xa9\x19\xd6\xb4\xfb\xed"
  27268. "\x9c\x6d\xaa\x1b\xe1\xc1\xe6\xa8"
  27269. "\xa9\x0a\x63\xd3\xa2\x1e\x6b\xa8"
  27270. "\x52\x97\x1e\x81\x34\x6f\x98\x0e",
  27271. .len = 32,
  27272. }, {
  27273. .key = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
  27274. "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
  27275. .klen = 16,
  27276. .iv = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
  27277. "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
  27278. .ptext = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
  27279. "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
  27280. "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
  27281. "\x39\x56\x34\x63\x2c\xc5\x51\x13"
  27282. "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
  27283. "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
  27284. .ctext = "\x28\xd8\xa7\xf8\x74\x98\x00\xfc"
  27285. "\xd6\x48\xad\xbd\xbe\x3f\x0e\x7b"
  27286. "\x3d\x46\xfd\xde\x3e\x4f\x12\x43"
  27287. "\xac\x85\xda\xff\x70\x24\x44\x9d"
  27288. "\x1e\xf8\x9f\x30\xba\xca\xe0\x97"
  27289. "\x03\x6d\xe1\x1d\xc7\x21\x79\x37",
  27290. .len = 48,
  27291. }, {
  27292. .key = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
  27293. "\x77\xb5\xca\x90\xda\x1d\x22\x17",
  27294. .klen = 16,
  27295. .iv = "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
  27296. "\x07\x2c\xf4\x61\x79\x09\x01\x8f",
  27297. .ptext = "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
  27298. "\x07\x60\xba\xf0\x2e\xc3\x4a\x57"
  27299. "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
  27300. "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
  27301. "\xa0\x82\x09\x60\x47\xbb\x16\x56"
  27302. "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
  27303. "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
  27304. "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
  27305. .ctext = "\x29\x31\x55\xd2\xe5\x0b\x81\x39"
  27306. "\xf9\xbc\x63\xe2\xfa\x26\x99\xde"
  27307. "\xde\x18\x93\x68\x81\x7b\x0a\x4d"
  27308. "\xf6\x03\xe1\xee\xf9\x0e\x1f\xe8"
  27309. "\xa8\x80\x81\x46\xdc\x24\x43\x3f"
  27310. "\xff\xfe\x8c\x3e\x17\x0a\x6d\xa2"
  27311. "\x47\x55\x62\xa0\x03\x4e\x48\x67"
  27312. "\xa2\x64\xc0\x9b\x6c\xa4\xfd\x6a",
  27313. .len = 64,
  27314. }, {
  27315. .key = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
  27316. "\xba\xbc\x46\x6a\x69\x17\x3c\xac",
  27317. .klen = 16,
  27318. .iv = "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
  27319. "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
  27320. .ptext = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
  27321. "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
  27322. "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
  27323. "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
  27324. "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
  27325. "\x91\xac\x17\x11\x1c\x03\x69\x53"
  27326. "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
  27327. "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
  27328. "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
  27329. "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
  27330. .ctext = "\x38\xbc\xf5\x9d\x0e\x26\xa6\x18"
  27331. "\x95\x0b\x23\x54\x09\xa1\xf9\x46"
  27332. "\x12\xf1\x42\x57\xa1\xaa\x52\xfa"
  27333. "\x8a\xbd\xf2\x03\x63\x4e\xbc\xf7"
  27334. "\x21\xea\xed\xca\xdd\x42\x41\x94"
  27335. "\xe4\x6c\x07\x06\x19\x59\x30\xff"
  27336. "\x8c\x9d\x51\xbf\x2c\x2e\x5b\xa5"
  27337. "\x7d\x11\xec\x6b\x21\x08\x12\x18"
  27338. "\xe4\xdf\x5a\xfd\xa6\x5f\xee\x2f"
  27339. "\x5c\x24\xb7\xea\xc1\xcd\x6d\x68",
  27340. .len = 80,
  27341. }, {
  27342. .key = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
  27343. "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3",
  27344. .klen = 16,
  27345. .iv = "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
  27346. "\xcc\x6f\x70\x26\x87\xc7\x10\x8a",
  27347. .ptext = "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
  27348. "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
  27349. "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
  27350. "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
  27351. "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
  27352. "\xaf\x06\xea\xf4\x65\x59\xd6\xc2"
  27353. "\x84\xa0\x53\x97\x61\x30\x70\x15"
  27354. "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
  27355. "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
  27356. "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
  27357. "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
  27358. "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
  27359. .ctext = "\xdf\x79\x58\x30\x6f\x47\x12\x78"
  27360. "\x04\xb2\x0b\x1a\x62\x22\xe2\x9f"
  27361. "\xfe\xc2\xf5\x6d\x9e\x0e\x2e\x56"
  27362. "\x76\x01\x7f\x25\x8f\x6e\xc5\xf3"
  27363. "\x91\xff\xcd\x67\xc6\xae\x0b\x01"
  27364. "\x4d\x5f\x40\x25\x88\xc5\xe0\x3d"
  27365. "\x37\x62\x12\x58\xfe\xc5\x4a\x21"
  27366. "\x4a\x86\x8d\x94\xdd\xfd\xe6\xf6"
  27367. "\x1e\xa6\x78\x4f\x90\x66\xda\xe4"
  27368. "\x4e\x64\xa8\x05\xc6\xd8\x7d\xfb"
  27369. "\xac\xc9\x1d\x14\xb5\xb0\xfa\x9c"
  27370. "\xe8\x84\xef\x87\xbe\xb4\x2a\x87",
  27371. .len = 96,
  27372. }, {
  27373. .key = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
  27374. "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1",
  27375. .klen = 16,
  27376. .iv = "\xee\xb7\x0d\x65\x00\x38\xab\x71"
  27377. "\x70\x6e\xb3\x97\x86\xd3\xcd\xad",
  27378. .ptext = "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
  27379. "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
  27380. "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
  27381. "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
  27382. "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
  27383. "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
  27384. "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
  27385. "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
  27386. "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
  27387. "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
  27388. "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
  27389. "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
  27390. "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
  27391. "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
  27392. .ctext = "\xe4\x25\x0d\x22\xeb\xbe\x5e\x90"
  27393. "\x01\xe5\xae\xc9\x94\xbd\x93\x89"
  27394. "\x5f\x98\xf1\x46\x6a\x50\x3b\xa2"
  27395. "\x79\xd9\xe4\x9c\x9a\xde\xf2\x8c"
  27396. "\x25\x49\x4c\xda\xb4\x2c\x76\xab"
  27397. "\x0a\xa8\x51\xaf\xc0\x62\x1b\xe9"
  27398. "\xe9\x7a\x35\x6a\x4b\x1f\x48\x00"
  27399. "\xeb\x24\x1d\x5e\xdd\x06\x09\x23"
  27400. "\x2a\xfa\x8f\x3b\x3e\x9e\x14\x6f"
  27401. "\x2a\x3c\xef\x6d\x73\x67\xdd\x6c"
  27402. "\xc8\xa5\x57\xc8\x02\xb6\x9a\xe8"
  27403. "\x8d\xcf\x10\xfa\x3e\x9c\x4d\xeb"
  27404. "\x44\xd2\x05\x31\x40\x94\x77\x87"
  27405. "\xf0\x83\xb5\xd2\x2a\x9c\xbc\xe4",
  27406. .len = 112,
  27407. }, {
  27408. .key = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
  27409. "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15",
  27410. .klen = 16,
  27411. .iv = "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
  27412. "\xb1\x9b\x5d\x00\x10\xe9\x70\x12",
  27413. .ptext = "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
  27414. "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
  27415. "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
  27416. "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
  27417. "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
  27418. "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
  27419. "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
  27420. "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
  27421. "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
  27422. "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
  27423. "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
  27424. "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
  27425. "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
  27426. "\x6a\x55\x84\x98\x28\x03\x02\xc2"
  27427. "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
  27428. "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
  27429. .ctext = "\xa7\x4c\x96\x55\x7c\x07\xce\xb2"
  27430. "\x6f\x63\x9f\xc6\x8b\x6f\xc6\x4a"
  27431. "\x2c\x47\x8d\x99\xdf\x65\x75\x96"
  27432. "\xb7\x1d\x50\x5b\x57\x4a\x69\xcc"
  27433. "\xc9\x3a\x18\x8a\xd1\xab\x70\x4a"
  27434. "\xa3\x13\x80\xdd\x48\xc0\x6a\x7d"
  27435. "\x21\xa8\x22\x06\x32\x47\xc0\x16"
  27436. "\x1f\x9a\xc0\x21\x33\x66\xf2\xd8"
  27437. "\x69\x79\xae\x02\x82\x3f\xaf\xa6"
  27438. "\x98\xdb\xcd\x2a\xe5\x12\x39\x80"
  27439. "\x8a\xc1\x73\x99\xe5\xe4\x17\xe3"
  27440. "\x56\xc2\x43\xa6\x41\x6b\xb2\xa4"
  27441. "\x9f\x81\xc4\xe9\xf4\x29\x65\x50"
  27442. "\x69\x81\x80\x4b\x86\xab\x5e\x30"
  27443. "\xd0\x81\x9d\x6f\x24\x59\x42\xc7"
  27444. "\x6d\x5e\x41\xb8\xf5\x99\xc2\xae",
  27445. .len = 128,
  27446. }, {
  27447. .key = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
  27448. "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c",
  27449. .klen = 16,
  27450. .iv = "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
  27451. "\x8c\xaf\x36\x3d\xff\x29\x8b\x33",
  27452. .ptext = "\x87\x96\x77\x1a\x10\x81\x63\x8a"
  27453. "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
  27454. "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
  27455. "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
  27456. "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
  27457. "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
  27458. "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
  27459. "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
  27460. "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
  27461. "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
  27462. "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
  27463. "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
  27464. "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
  27465. "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
  27466. "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
  27467. "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
  27468. "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
  27469. "\xc2\xab\x62\x54\xef\xba\xae\x46",
  27470. .ctext = "\x11\x7f\xea\x49\xaf\x24\x52\xa2"
  27471. "\xde\x60\x99\x58\x23\xf9\x9e\x91"
  27472. "\x73\xd5\x9a\xcb\xdd\x10\xcd\x68"
  27473. "\xb8\x9e\xef\xa4\xe9\x2d\xf0\x27"
  27474. "\x44\xd4\x9a\xd6\xb6\x9c\x7a\xec"
  27475. "\x17\x17\xea\xa7\x8e\xa8\x40\x6b"
  27476. "\x43\x3d\x50\x59\x0f\x74\x1b\x9e"
  27477. "\x03\xed\x4f\x2f\xb8\xda\xef\xc3"
  27478. "\x3f\x29\xb3\xf4\x5c\xcd\xce\x3c"
  27479. "\xba\xfb\xc6\xd1\x1d\x6f\x61\x3a"
  27480. "\x2b\xbd\xde\x30\xc5\x53\xe0\x6e"
  27481. "\xbe\xae\x2f\x81\x13\x0f\xd2\xd5"
  27482. "\x14\xda\xd3\x60\x9c\xf8\x00\x86"
  27483. "\xe9\x97\x3e\x05\xb3\x95\xb3\x21"
  27484. "\x1f\x3c\x56\xef\xcb\x32\x49\x5c"
  27485. "\x89\xf1\x34\xe4\x8d\x7f\xde\x01"
  27486. "\x1f\xd9\x25\x6d\x34\x1d\x6b\x71"
  27487. "\xc9\xa9\xd6\x14\x1a\xf1\x44\x59",
  27488. .len = 144,
  27489. }, {
  27490. .key = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
  27491. "\x05\x26\x23\x81\x19\x27\xad\x7b",
  27492. .klen = 16,
  27493. .iv = "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
  27494. "\x44\xbf\x59\xde\x03\x61\x11\x12",
  27495. .ptext = "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
  27496. "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
  27497. "\xb6\x09\x21\x12\x42\x98\x13\xa1"
  27498. "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
  27499. "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
  27500. "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
  27501. "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
  27502. "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
  27503. "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
  27504. "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
  27505. "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
  27506. "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
  27507. "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
  27508. "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
  27509. "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
  27510. "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
  27511. "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
  27512. "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
  27513. "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
  27514. "\x20\xf0\x79\x67\xb1\x83\x26\x66",
  27515. .ctext = "\x5b\xc0\xe8\x17\xa4\xf9\xea\xce"
  27516. "\x9e\xf9\xe0\xb1\xac\x37\xe9\x41"
  27517. "\x0b\x57\xc6\x55\x54\x50\xfa\xa9"
  27518. "\x60\xaf\x7a\x4e\x98\x56\xde\x81"
  27519. "\x14\xfc\xac\x21\x81\x3e\xf4\x0f"
  27520. "\x40\x92\x30\xa8\x16\x88\x1a\xc3"
  27521. "\xf1\x39\xbd\x0a\xb9\x44\xc8\x67"
  27522. "\x8c\xaa\x2b\x45\x8b\x5b\x7b\x24"
  27523. "\xd5\xd8\x9e\xd3\x59\xa5\xd7\x69"
  27524. "\xdf\xf4\x50\xf9\x5f\x4f\x44\x1f"
  27525. "\x2c\x75\x68\x6e\x3a\xa8\xae\x4b"
  27526. "\x84\xf0\x42\x6c\xc0\x3c\x42\xaf"
  27527. "\x87\x2b\x89\xe9\x51\x69\x16\x63"
  27528. "\xc5\x62\x13\x05\x4c\xb2\xa9\x69"
  27529. "\x01\x14\x73\x88\x8e\x41\x47\xb6"
  27530. "\x68\x74\xbc\xe9\xad\xda\x94\xa1"
  27531. "\x0c\x12\x8e\xd4\x38\x15\x02\x97"
  27532. "\x27\x72\x4d\xdf\x61\xcc\x86\x3d"
  27533. "\xd6\x32\x4a\xc3\xa9\x4c\x35\x4f"
  27534. "\x5b\x91\x7d\x5c\x79\x59\xb3\xd5",
  27535. .len = 160,
  27536. }, {
  27537. .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
  27538. "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
  27539. "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
  27540. .klen = 24,
  27541. .iv = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
  27542. "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
  27543. .ptext = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
  27544. "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
  27545. .ctext = "\xa4\x12\x2f\xc4\xf0\x6d\xd9\x46"
  27546. "\xe4\xe6\xd1\x0b\x6d\x14\xf0\x8f",
  27547. .len = 16,
  27548. }, {
  27549. .key = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
  27550. "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
  27551. "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
  27552. .klen = 24,
  27553. .iv = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
  27554. "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
  27555. .ptext = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
  27556. "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
  27557. "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
  27558. "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
  27559. .ctext = "\x80\x2b\xf0\x88\xb9\x4b\x8d\xf5"
  27560. "\xc3\x0e\x15\x5b\xea\x5d\x5b\xa8"
  27561. "\x07\x95\x78\x72\xc0\xb9\xbf\x25"
  27562. "\x33\x22\xd1\x05\x56\x46\x62\x25",
  27563. .len = 32,
  27564. }, {
  27565. .key = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
  27566. "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
  27567. "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
  27568. .klen = 24,
  27569. .iv = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
  27570. "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
  27571. .ptext = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
  27572. "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
  27573. "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
  27574. "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
  27575. "\x77\xb5\xca\x90\xda\x1d\x22\x17"
  27576. "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
  27577. .ctext = "\x65\x01\x3c\xb0\xac\x4c\x63\xb6"
  27578. "\xe7\xf1\xf4\x61\x35\xf4\x36\xde"
  27579. "\x7f\x85\xba\x41\xa8\xb0\x27\x11"
  27580. "\x86\x2c\x71\x16\x05\x1d\xcf\x70"
  27581. "\x35\xef\x23\x17\xfc\xed\x3f\x1a"
  27582. "\x8e\xb3\xe5\xdb\x90\xb4\xb8\x35",
  27583. .len = 48,
  27584. }, {
  27585. .key = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
  27586. "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
  27587. "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
  27588. .klen = 24,
  27589. .iv = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
  27590. "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
  27591. .ptext = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
  27592. "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
  27593. "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
  27594. "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
  27595. "\x30\x9d\x59\x8d\x64\x76\xad\x37"
  27596. "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
  27597. "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
  27598. "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
  27599. .ctext = "\x5a\xfb\xb1\x2c\x6e\xe5\xb8\xe0"
  27600. "\x80\xb6\x77\xa8\xfe\x10\x3a\x99"
  27601. "\x00\x8e\x30\x23\x7d\x50\x87\xda"
  27602. "\xc6\x46\x73\x37\x8b\xf1\xab\x26"
  27603. "\x2d\xa8\x0c\xa8\x9e\x77\xee\xfc"
  27604. "\x78\x4f\x03\x0f\xeb\xc6\x03\x34"
  27605. "\xb9\x9c\x4f\x59\x55\xc5\x99\x47"
  27606. "\xd4\x7e\xe8\x06\x43\x5f\xa1\x6b",
  27607. .len = 64,
  27608. }, {
  27609. .key = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
  27610. "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
  27611. "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
  27612. .klen = 24,
  27613. .iv = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
  27614. "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
  27615. .ptext = "\x91\xac\x17\x11\x1c\x03\x69\x53"
  27616. "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
  27617. "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
  27618. "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
  27619. "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
  27620. "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
  27621. "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
  27622. "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
  27623. "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
  27624. "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
  27625. .ctext = "\xc9\x5f\xe0\x60\x61\x38\x7e\x79"
  27626. "\x52\x68\x64\x8f\x55\x9b\x6b\x72"
  27627. "\xbf\x09\xef\x2f\xb2\x92\xbb\xa3"
  27628. "\xe1\x6a\xeb\xe6\x4e\x7c\x5d\xe0"
  27629. "\x6a\x4b\xd0\x57\x3b\x28\x8a\x83"
  27630. "\x75\xd4\x5a\x2e\xd1\x9a\x57\xe3"
  27631. "\xc5\x43\x36\xde\x02\xac\x2c\x75"
  27632. "\xea\x33\x3a\x7e\x5d\xb8\xf6\x12"
  27633. "\x42\xbd\x06\x8a\x09\x6b\xd6\xb6"
  27634. "\x25\x59\xcd\xbd\x17\xeb\x69\xb3",
  27635. .len = 80,
  27636. }, {
  27637. .key = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
  27638. "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
  27639. "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
  27640. .klen = 24,
  27641. .iv = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
  27642. "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
  27643. .ptext = "\x84\xa0\x53\x97\x61\x30\x70\x15"
  27644. "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
  27645. "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
  27646. "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
  27647. "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
  27648. "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
  27649. "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
  27650. "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
  27651. "\xee\xb7\x0d\x65\x00\x38\xab\x71"
  27652. "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
  27653. "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
  27654. "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
  27655. .ctext = "\x03\x2c\x39\x24\x99\xb5\xf6\x79"
  27656. "\x91\x89\xb7\xf8\x89\x68\x37\x9d"
  27657. "\xe7\x4d\x7d\x1c\x36\xae\x98\xd2"
  27658. "\xbf\x2a\xa4\x30\x38\x30\xe7\x5d"
  27659. "\xbb\x00\x09\x40\x34\xa4\xef\x82"
  27660. "\x23\xca\x0e\xb3\x71\x80\x29\x0a"
  27661. "\xa9\x0b\x26\x65\x9a\x12\xbf\x18"
  27662. "\xfb\xf8\xe4\xc2\x62\x57\x18\xfb"
  27663. "\x1e\x98\xea\x5b\xf6\xd6\x7c\x52"
  27664. "\x7a\xba\x0e\x6a\x54\x19\xb6\xfa"
  27665. "\xe5\xd7\x60\x40\xb0\x1a\xf1\x09"
  27666. "\x70\x96\x23\x49\x98\xfc\x79\xd2",
  27667. .len = 96,
  27668. }, {
  27669. .key = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
  27670. "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
  27671. "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
  27672. .klen = 24,
  27673. .iv = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
  27674. "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
  27675. .ptext = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
  27676. "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
  27677. "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
  27678. "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
  27679. "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
  27680. "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
  27681. "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
  27682. "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
  27683. "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
  27684. "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
  27685. "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
  27686. "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
  27687. "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
  27688. "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
  27689. .ctext = "\xd4\x9a\x04\x54\x05\xd2\xe6\x3f"
  27690. "\xb0\xa4\x36\x5e\x1e\x9c\x35\xb0"
  27691. "\xa6\x62\x35\x47\xf4\x4d\x08\x9e"
  27692. "\x1c\x22\x91\x8e\x7f\x00\xa6\x3e"
  27693. "\x0a\x04\x42\x0f\xc4\xa6\x5d\xe2"
  27694. "\x49\x4c\x61\x12\xea\x9d\x7d\x7c"
  27695. "\xfa\x93\x74\x6b\x79\x8c\xdb\xc6"
  27696. "\x47\xf6\xea\x84\x3e\x97\x7d\x87"
  27697. "\x40\x38\x92\xc7\x44\xef\xdf\x63"
  27698. "\x29\xe4\x5b\x3a\x87\x22\xa1\x3f"
  27699. "\x2b\x31\xb1\xa4\x0d\xea\xf3\x0b"
  27700. "\xd7\x4f\xb6\x9c\xba\x40\xa3\x2f"
  27701. "\x21\x2b\x05\xe4\xca\xef\x87\x04"
  27702. "\xe6\xd0\x29\x2c\x29\x26\x57\xcd",
  27703. .len = 112,
  27704. }, {
  27705. .key = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
  27706. "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
  27707. "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
  27708. .klen = 24,
  27709. .iv = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
  27710. "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
  27711. .ptext = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
  27712. "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
  27713. "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
  27714. "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
  27715. "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
  27716. "\x6a\x55\x84\x98\x28\x03\x02\xc2"
  27717. "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
  27718. "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
  27719. "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
  27720. "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
  27721. "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
  27722. "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
  27723. "\x87\x96\x77\x1a\x10\x81\x63\x8a"
  27724. "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
  27725. "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
  27726. "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
  27727. .ctext = "\xbc\x57\x2a\x88\x0a\xd0\x06\x4f"
  27728. "\xdb\x7b\x03\x9f\x97\x1a\x20\xfe"
  27729. "\xdb\xdc\x8e\x7b\x68\x13\xc8\xf5"
  27730. "\x06\xe3\xe0\x7e\xd3\x51\x21\x86"
  27731. "\x4f\x32\xdb\x78\xe3\x26\xbe\x34"
  27732. "\x52\x4c\x4e\x6b\x85\x52\x63\x8b"
  27733. "\x8c\x5c\x0e\x33\xf5\xa3\x88\x2d"
  27734. "\x04\xdc\x01\x2d\xbe\xa1\x48\x6d"
  27735. "\x50\xf4\x16\xb1\xd7\x4d\x1e\x99"
  27736. "\xa8\x1d\x54\xcb\x13\xf9\x85\x51"
  27737. "\x18\x9f\xef\x45\x62\x5d\x48\xe5"
  27738. "\x0c\x54\xf7\x7b\x33\x18\xce\xb0"
  27739. "\xd5\x82\x1b\xe2\x91\xae\xdc\x09"
  27740. "\xe2\x97\xa8\x27\x13\x78\xc6\xb8"
  27741. "\x20\x06\x1a\x71\x5a\xb3\xbc\x1b"
  27742. "\x69\x1f\xcd\x57\x70\xa7\x1e\x35",
  27743. .len = 128,
  27744. }, {
  27745. .key = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
  27746. "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
  27747. "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
  27748. .klen = 24,
  27749. .iv = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
  27750. "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
  27751. .ptext = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
  27752. "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
  27753. "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
  27754. "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
  27755. "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
  27756. "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
  27757. "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
  27758. "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
  27759. "\xc2\xab\x62\x54\xef\xba\xae\x46"
  27760. "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
  27761. "\x05\x26\x23\x81\x19\x27\xad\x7b"
  27762. "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
  27763. "\x44\xbf\x59\xde\x03\x61\x11\x12"
  27764. "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
  27765. "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
  27766. "\xb6\x09\x21\x12\x42\x98\x13\xa1"
  27767. "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
  27768. "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
  27769. .ctext = "\xd7\xb4\xfc\xcc\x1f\xf7\xfc\x7d"
  27770. "\x69\xfa\xcb\x01\x60\xf3\x5a\x14"
  27771. "\x88\xf7\xea\x43\xaa\x47\xf1\x8a"
  27772. "\x4e\xd0\x3c\x50\x58\x35\x95\x21"
  27773. "\x5f\xcc\x73\x0b\x97\xa0\x2c\x6b"
  27774. "\x70\x4d\x3d\xa8\x21\xbe\xfc\xec"
  27775. "\xb6\x55\xf0\x48\x2b\x11\xcc\x4b"
  27776. "\xda\xf7\x09\xd9\x18\x7b\x4f\x00"
  27777. "\x76\x40\xe0\x7d\x33\xcf\x4f\x77"
  27778. "\x91\x97\x63\xfa\x72\xba\x5c\x3d"
  27779. "\xcf\x2e\xb8\x19\x56\x4a\xa5\x02"
  27780. "\xc3\xb1\x80\xa8\x57\x03\x32\x57"
  27781. "\xa8\xe1\x65\xf7\xd3\x52\xc5\xcf"
  27782. "\x55\x1e\x34\xe3\x77\xab\x83\xdb"
  27783. "\xaf\xd3\x8a\xcc\x96\x1c\xc9\x73"
  27784. "\xd9\x0b\xb6\x4c\x31\xac\x2c\x82"
  27785. "\xb8\xb4\xc8\xe1\xa5\x71\xcc\xb3"
  27786. "\x7e\x85\xb8\xfa\x6b\xef\x41\x24",
  27787. .len = 144,
  27788. }, {
  27789. .key = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
  27790. "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
  27791. "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
  27792. .klen = 24,
  27793. .iv = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
  27794. "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
  27795. .ptext = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
  27796. "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
  27797. "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
  27798. "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
  27799. "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
  27800. "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
  27801. "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
  27802. "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
  27803. "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
  27804. "\x20\xf0\x79\x67\xb1\x83\x26\x66"
  27805. "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
  27806. "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
  27807. "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
  27808. "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
  27809. "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
  27810. "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
  27811. "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
  27812. "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
  27813. "\x52\xf1\x34\x78\x34\x53\x30\x5b"
  27814. "\x43\x43\x51\x6a\x02\x81\x64\x0c",
  27815. .ctext = "\x71\xf6\x96\x02\x07\x71\x1a\x08"
  27816. "\x7c\xfe\x33\xc4\xc9\xbe\xe2\xed"
  27817. "\xf8\x46\x69\xce\x1b\xdc\xd3\x05"
  27818. "\x7a\xec\x26\x4d\x27\x2a\x49\x36"
  27819. "\x85\xe1\x5d\xd3\x91\xd7\x68\xb8"
  27820. "\x55\xa5\x27\x55\x2d\xc1\x78\x27"
  27821. "\x0c\x49\x0a\x24\x3b\x76\x3f\x5f"
  27822. "\x29\x1c\x37\x2f\x30\xfc\x50\xcb"
  27823. "\xe2\x54\x26\x7d\x97\xa7\xf3\x58"
  27824. "\x15\xe1\x4c\xeb\x35\xc9\xd1\x1e"
  27825. "\x7e\x7d\xa0\xe5\x62\xa5\x2d\xf6"
  27826. "\x77\xb0\xef\x13\x55\xb4\x66\x2c"
  27827. "\x3b\x50\x1b\x4d\xc2\x64\xce\xc6"
  27828. "\xfe\xf2\xad\xfe\x26\x73\x36\x66"
  27829. "\x0c\x2f\x10\x35\x97\x3c\x9c\x98"
  27830. "\xc1\x90\xa8\x82\xd7\xc6\x31\x68"
  27831. "\xcf\x77\xa8\x5b\xdf\xf9\x5a\x8e"
  27832. "\x84\xb5\x0b\x6e\x5b\xec\x36\x89"
  27833. "\x0b\xb1\xbf\xb9\x70\x02\x5c\x22"
  27834. "\xc3\xd5\xc1\xc6\xfd\x07\xdb\x70",
  27835. .len = 160,
  27836. }, {
  27837. .key = "\x82\x8e\x9e\x06\x7b\xc2\xe9\xb3"
  27838. "\x06\xa3\xfa\x99\x42\x67\x87\xac"
  27839. "\x21\xc7\xb0\x98\x6c\xf8\x26\x57"
  27840. "\x08\xdd\x92\x02\x77\x7b\x35\xe7",
  27841. .klen = 32,
  27842. .iv = "\xa1\xad\xcb\xdd\xd5\x19\xb6\xd4"
  27843. "\x0b\x62\x58\xb0\x6c\xa0\xc1\x58",
  27844. .ptext = "\x14\x0d\x8a\x09\x16\x00\x00\xf1"
  27845. "\xc0\x20\x86\xf9\x21\xd1\x34\xe2",
  27846. .ctext = "\x05\xe3\x34\xaf\x6c\x83\x14\x8b"
  27847. "\x9d\x1c\xd6\x87\x74\x91\xdf\x17",
  27848. .len = 16,
  27849. }, {
  27850. .key = "\xc9\xf3\xc4\x93\xd0\xcc\xaf\xb1"
  27851. "\x1a\x42\x93\x71\xd8\x4e\xd8\xaa"
  27852. "\x52\xad\x93\x2f\xe5\xd9\xaa\x5b"
  27853. "\x47\x37\x3a\xed\x13\x92\x35\x16",
  27854. .klen = 32,
  27855. .iv = "\x81\xc8\x50\xd1\x74\xc3\x1c\x73"
  27856. "\xbb\xab\x72\x83\x90\x5a\x15\xcb",
  27857. .ptext = "\x65\x11\x93\xaf\xe1\x69\x6c\xbe"
  27858. "\x25\x8c\x76\x87\x53\xa4\x80\xae"
  27859. "\x51\x94\x36\x3f\xca\xe7\x45\x41"
  27860. "\x76\x05\xbf\x8f\x9c\xad\xc0\xe3",
  27861. .ctext = "\x6b\x00\x6e\x49\x7a\x6d\xe3\x04"
  27862. "\x4e\xf7\x9f\x8a\x1f\x14\xbd\xb1"
  27863. "\x51\xbf\x13\x9f\x29\x95\x51\x16"
  27864. "\xd0\x23\x9a\x1a\x45\xc2\xc3\xd1",
  27865. .len = 32,
  27866. }, {
  27867. .key = "\xd5\x9f\x52\x34\x12\x99\x8e\x42"
  27868. "\xe0\x85\x04\x6f\xeb\xf1\x5d\xd0"
  27869. "\xc1\xbf\x3f\x84\xd9\x1e\x71\x44"
  27870. "\xd4\xb9\x40\x3c\x02\x2e\x21\x19",
  27871. .klen = 32,
  27872. .iv = "\x28\xc1\x97\x64\x81\x52\x57\x0e"
  27873. "\x02\x8c\xab\x4c\xe2\x60\x14\xa5",
  27874. .ptext = "\x5a\xb1\x33\x48\xaa\x51\xe9\xa4"
  27875. "\x5c\x2d\xbe\x33\xcc\xc4\x7f\x96"
  27876. "\xe8\xde\x2b\xe7\x35\x7a\x11\x4b"
  27877. "\x13\x08\x32\xc6\x41\xd8\xec\x54"
  27878. "\xa3\xd3\xda\x35\x43\x69\xf6\x88"
  27879. "\x97\xca\x00\x1b\x02\x59\x24\x82",
  27880. .ctext = "\x03\xaf\x76\xbd\x5e\x5b\xca\xc0"
  27881. "\xae\x44\xa2\x2f\xc2\x76\x2f\x50"
  27882. "\xfa\x94\x94\x5a\x48\x9d\x9c\x38"
  27883. "\xc9\x75\xc9\xb2\x56\x0a\x2d\x91"
  27884. "\xb8\xe8\x4e\xaa\xcb\x51\x9b\x6a"
  27885. "\x20\x9b\x2b\xc5\xb0\x18\x9d\x01",
  27886. .len = 48,
  27887. }, {
  27888. .key = "\x9c\x5d\xd7\x66\x36\xfa\x02\x20"
  27889. "\x99\x61\x62\x86\x0f\x43\x2e\x05"
  27890. "\x25\x8b\xfb\xf1\xae\x4c\xde\x18"
  27891. "\x0b\xf8\xd0\x9d\xaa\xd4\x56\x04",
  27892. .klen = 32,
  27893. .iv = "\xcd\xa8\x61\x89\x8d\xbb\x72\xb6"
  27894. "\x1e\xfe\x03\x34\x54\x88\x23\xe2",
  27895. .ptext = "\x66\x42\x60\x24\xf3\xe4\xe9\x7e"
  27896. "\x42\x20\xf4\x61\xce\x1c\x5e\x44"
  27897. "\x02\x26\x91\xf7\x41\xa4\xab\x34"
  27898. "\x29\x49\xdd\x78\x19\x8f\x10\x10"
  27899. "\xf0\x61\xcf\x77\x18\x17\x61\xdf"
  27900. "\xc4\xa8\x35\x0e\x75\x1b\x84\x6b"
  27901. "\xc3\x3f\x31\x59\x5a\x9c\xf4\xc3"
  27902. "\x43\xa9\xb7\xf8\x65\x40\x40\xba",
  27903. .ctext = "\xb6\x41\x55\x8f\xeb\x16\x1e\x4c"
  27904. "\x81\xa0\x85\x6c\xf0\x07\xa5\x2a"
  27905. "\x19\x91\xed\x3e\xd6\x30\x8c\xca"
  27906. "\x5d\x0f\x58\xca\xd2\x8a\xac\xa2"
  27907. "\x2b\x86\x4f\xb5\x85\x4d\xac\x6d"
  27908. "\xe5\x39\x1b\x02\x23\x89\x4e\x4f"
  27909. "\x02\x00\xe8\x1b\x40\x85\x21\x2b"
  27910. "\xc6\xb1\x98\xed\x70\xb3\xf8\xc3",
  27911. .len = 64,
  27912. }, {
  27913. .key = "\x4b\x4e\x11\x91\x27\xcf\x8c\x66"
  27914. "\x17\xfa\x5b\x4c\xa8\xb8\x0f\xa1"
  27915. "\x99\x5b\x07\x56\xe1\x8d\x94\x8b"
  27916. "\xf2\x86\x5a\x5f\x40\x83\xfa\x06",
  27917. .klen = 32,
  27918. .iv = "\xfd\x73\xee\x1c\x27\xf3\xb4\x38"
  27919. "\xc5\x7c\x2e\xc5\x6e\xdb\x49\x0d",
  27920. .ptext = "\x0a\xe2\xdd\x97\xdd\x5e\xd4\xb3"
  27921. "\xc1\x49\x8f\x53\xb2\x40\x85\x1c"
  27922. "\x90\x37\x2d\xbd\x21\x6b\x1f\x80"
  27923. "\x56\x98\x76\x1e\xcf\x6c\x78\xd8"
  27924. "\xa0\x3c\x79\xc3\x56\xf7\xfc\x64"
  27925. "\x35\x58\x1c\x7c\xc4\x5f\x2a\x25"
  27926. "\x8c\x01\x98\x1e\x1c\x1f\x15\x64"
  27927. "\x50\xb5\xfa\x02\xd3\x54\xe5\x29"
  27928. "\xe3\xd2\xa3\x83\x54\x40\x54\xc5"
  27929. "\xd8\x1c\xc9\x84\x7d\xc8\x31\x49",
  27930. .ctext = "\x53\x2a\xa8\xa0\x15\xaf\x2f\xc4"
  27931. "\x7d\x31\xb4\x61\x80\x5f\xd1\xb6"
  27932. "\x7c\xca\x86\xb9\x28\x6e\xb6\x2b"
  27933. "\xe3\x4b\x7e\xea\xb3\x4f\xa2\xa2"
  27934. "\x4e\x8f\xbe\x22\x66\xb3\x92\xbc"
  27935. "\x70\x91\xaf\xa6\x09\x5d\xe2\x05"
  27936. "\x38\x62\xd3\x6e\x07\x63\x91\xad"
  27937. "\x48\x5a\x42\xe7\xdc\x0d\xb1\xe3"
  27938. "\x92\x88\x64\xee\x93\xaa\xaf\x31"
  27939. "\x68\x57\x35\x8d\x54\x2c\xfa\xb1",
  27940. .len = 80,
  27941. }, {
  27942. .key = "\x77\x3b\xf5\xe7\x20\xf7\xe0\x0c"
  27943. "\x3d\x3a\x83\x17\x83\x79\xd8\x29"
  27944. "\x5a\x0a\x25\x7f\xe0\x21\x23\xff"
  27945. "\x31\xfd\x60\x10\xe6\x63\xe2\xaf",
  27946. .klen = 32,
  27947. .iv = "\xdb\x4c\x0d\xc0\x36\xdb\xc7\xa1"
  27948. "\xa4\x91\xd9\x05\xe6\xc4\x98\x00",
  27949. .ptext = "\x8d\x4d\xc6\x5e\x01\x82\xb3\x39"
  27950. "\xc8\x64\xa7\xcb\x05\x19\x84\x80"
  27951. "\x3f\x9c\xa8\x4f\x64\xb3\x11\x4b"
  27952. "\x0e\x21\xc4\x75\x04\x1d\x6f\xd5"
  27953. "\x04\x04\x4d\xc9\xc0\x4b\x4a\x9c"
  27954. "\x26\xb7\x68\x5a\xe4\xd0\x61\xe3"
  27955. "\x2c\x93\x8e\x3f\xb4\x67\x07\x31"
  27956. "\x02\x52\x0c\x0f\xe6\x6d\xa3\xd0"
  27957. "\x48\x95\x83\x67\x23\x64\x31\x50"
  27958. "\xd2\x5f\x69\x68\x8b\x71\xbf\x01"
  27959. "\x29\x99\x86\x36\x2e\xdf\xf1\x7c"
  27960. "\x08\x8c\x78\x7a\x93\x9a\x7d\x1b",
  27961. .ctext = "\x92\x90\x48\x2f\x3a\x6b\x68\x43"
  27962. "\x28\x9b\x7d\x1e\x46\x28\xd8\x58"
  27963. "\xd9\x1e\x44\xd7\x24\x91\x65\xb1"
  27964. "\x15\xde\xc4\x63\xf1\xb1\x34\x9e"
  27965. "\xae\x8c\x51\x94\xc5\x22\x65\x8d"
  27966. "\x3d\x85\xf5\x34\x5f\x04\x68\x95"
  27967. "\xf2\x66\x62\xbb\xc8\x3f\xe4\x0a"
  27968. "\x8a\xb2\x70\xc0\x77\xd5\x96\xef"
  27969. "\x9e\x39\x3a\x3e\x0d\x2b\xf9\xfe"
  27970. "\xa9\xbc\x00\xba\xc5\x43\xd7\x70"
  27971. "\x2f\xef\x1e\x1e\x93\xc2\x5d\xf1"
  27972. "\xb5\x50\xb8\xf5\xee\xf4\x26\x6f",
  27973. .len = 96,
  27974. }, {
  27975. .key = "\xe0\x6a\x30\xe1\x35\xb5\xb0\x7c"
  27976. "\x54\xc5\x73\x9b\x00\xe5\xe7\x02"
  27977. "\xbe\x16\x59\xdc\xd9\x03\x17\x53"
  27978. "\xa8\x37\xd1\x5f\x13\x8e\x45\xdb",
  27979. .klen = 32,
  27980. .iv = "\x54\xe9\x1c\xde\xfb\x26\x0e\x48"
  27981. "\x35\x50\x4d\x9b\x4d\x12\x21\x0d",
  27982. .ptext = "\x73\x72\xcf\xdb\xbd\xbc\xc0\xdf"
  27983. "\x6b\xbb\xdf\x65\x6f\x2f\x43\x3b"
  27984. "\x2d\x7c\x0e\x07\x7f\xa0\x95\xdd"
  27985. "\xfc\x67\xc1\x11\x7a\xe2\xb5\x4a"
  27986. "\xd1\x15\xb0\xd8\xe2\xf0\x35\x48"
  27987. "\xd8\x81\x6a\x35\xae\x67\xbf\x61"
  27988. "\xf2\x8a\xcf\x04\xc8\x09\x8b\x63"
  27989. "\x31\x74\x95\xa5\x8d\x3c\xea\xe2"
  27990. "\x5f\x67\xc4\x7e\x51\x88\xbf\xb5"
  27991. "\x78\xef\x3a\x76\xd8\x1d\x00\x75"
  27992. "\x2b\x7b\x28\x7c\xde\x4b\x39\x01"
  27993. "\x5d\xde\x92\xfe\x90\x07\x09\xfd"
  27994. "\xa5\xd1\xd3\x72\x11\x6d\xa4\x4e"
  27995. "\xd1\x6e\x16\xd1\xf6\x39\x4f\xa0",
  27996. .ctext = "\x3b\xc5\xee\xfc\x05\xaf\xa6\xb7"
  27997. "\xfe\x12\x24\x79\x31\xad\x32\xb5"
  27998. "\xfb\x71\x9b\x02\xad\xf4\x94\x20"
  27999. "\x25\x7b\xdb\xdf\x97\x99\xca\xea"
  28000. "\xc4\xed\x32\x26\x6b\xc8\xd4\x7b"
  28001. "\x5b\x55\xfa\xf9\x5b\xab\x88\xdb"
  28002. "\x48\xfe\x67\xd5\x5a\x47\x81\x4e"
  28003. "\x3e\x1e\x83\xca\x1d\x04\xe1\xb5"
  28004. "\x6c\x1b\xbd\xf2\x2d\xf1\xae\x75"
  28005. "\x09\x6a\xf8\xb2\xc3\x27\xee\x08"
  28006. "\x66\x94\x72\xc0\x2b\x12\x47\x23"
  28007. "\x4d\xde\xb4\xca\xf7\x66\xca\x14"
  28008. "\xe7\x68\x1b\xfb\x48\x70\x3e\x4c"
  28009. "\x43\xbb\x88\x32\x25\xff\x77\x6a",
  28010. .len = 112,
  28011. }, {
  28012. .key = "\x60\xb6\xde\x17\xca\x4c\xe7\xe0"
  28013. "\x07\x0d\x80\xc5\x8a\x2d\x5a\xc2"
  28014. "\x2c\xb9\xa4\x5f\x2a\x85\x2c\x3d"
  28015. "\x6d\x67\xc8\xee\x0f\xa2\xf4\x09",
  28016. .klen = 32,
  28017. .iv = "\x1a\xa5\xbc\x7e\x93\xf6\xdd\x28"
  28018. "\xb7\x69\x27\xa1\x84\x95\x25\x5a",
  28019. .ptext = "\x7b\x88\x00\xeb\xa5\xba\xa1\xa7"
  28020. "\xd4\x40\x16\x74\x2b\x42\x37\xda"
  28021. "\xe0\xaf\x89\x59\x41\x2f\x62\x00"
  28022. "\xf5\x5a\x4e\x3b\x85\x27\xb2\xed"
  28023. "\x1b\xa7\xaf\xbe\x89\xf3\x49\xb7"
  28024. "\x8c\x63\xc9\x0c\x52\x00\x5f\x38"
  28025. "\x3b\x3c\x0c\x4f\xdd\xe1\xbf\x90"
  28026. "\x4a\x48\xbf\x3a\x95\xcb\x48\xa2"
  28027. "\x92\x7c\x79\x81\xde\x18\x6e\x92"
  28028. "\x1f\x36\xa9\x5d\x8d\xc4\xb6\x4d"
  28029. "\xb2\xb4\x0e\x09\x6d\xf3\x3d\x01"
  28030. "\x3d\x9b\x40\x47\xbc\x69\x31\xa1"
  28031. "\x6a\x71\x26\xdc\xac\x10\x56\x63"
  28032. "\x15\x23\x7d\x10\xe3\x76\x82\x41"
  28033. "\xcd\x80\x57\x2f\xfc\x4d\x22\x7b"
  28034. "\x57\xbb\x9a\x0a\x03\xe9\xb3\x13",
  28035. .ctext = "\x37\x0d\x47\x21\xbc\x28\x0b\xf7"
  28036. "\x85\x5f\x60\x57\xf2\x7f\x92\x20"
  28037. "\x5f\xa7\xf6\xf4\xa6\xf5\xdf\x1e"
  28038. "\xae\x8e\xeb\x97\xfc\xce\x6a\x25"
  28039. "\x6d\x6a\x5b\xd1\x99\xf6\x27\x77"
  28040. "\x52\x0c\xf1\xd7\x94\xa0\x67\x5d"
  28041. "\x60\x35\xb0\x6d\x01\x45\x52\xc8"
  28042. "\x05\xd8\x7f\x69\xaf\x8e\x68\x05"
  28043. "\xa8\xa5\x24\x2f\x95\xef\xf1\xd2"
  28044. "\x8c\x45\x12\xc5\x7a\xcf\xbb\x99"
  28045. "\x25\xaa\xa3\x9b\x3f\xf1\xfc\x9d"
  28046. "\xfa\x2c\x26\x9b\x92\x47\x61\x6b"
  28047. "\x63\x1e\x41\x67\xcb\xb7\x0f\x52"
  28048. "\x70\xd4\x0d\x7e\xef\x34\xa2\x75"
  28049. "\x4f\x6a\x55\x9c\x2b\x4a\x02\xdd"
  28050. "\x96\x5d\xcb\xca\x45\xa1\xec\xaa",
  28051. .len = 128,
  28052. }, {
  28053. .key = "\x2a\xed\x7d\x76\xfc\xc5\x49\x50"
  28054. "\xf4\x90\x0f\xcc\x5d\xff\x0c\x3c"
  28055. "\x14\x06\xaf\x68\x8f\xd7\xb6\x25"
  28056. "\x1e\x10\x95\x2a\x71\x33\x17\x20",
  28057. .klen = 32,
  28058. .iv = "\x5b\x58\x47\xf8\xd5\x1e\x91\x81"
  28059. "\x46\xe7\x25\x3a\x02\x45\x9c\x65",
  28060. .ptext = "\x10\xaf\xde\x5c\x30\x79\x43\x28"
  28061. "\x1c\x03\xf8\x50\x0f\x30\xa5\xef"
  28062. "\x84\x19\x4c\x09\x40\x03\x75\x1f"
  28063. "\x92\x8f\x88\x01\xda\x31\x7a\xe4"
  28064. "\x48\xe3\xab\xb4\xe6\x1b\x0f\xac"
  28065. "\xd9\xfa\x8d\x23\xe4\xc6\xa4\xa9"
  28066. "\x2d\x9a\x54\x52\x44\x5c\x3c\x52"
  28067. "\x61\xf0\x00\xca\xed\xab\xed\xe2"
  28068. "\x44\x0b\xe0\x18\xba\xa5\x63\xd8"
  28069. "\xdc\x5e\x1a\x4c\xf8\xde\x5e\x75"
  28070. "\xdf\x42\x27\x7b\xe9\x11\x2f\x41"
  28071. "\x3a\x72\x54\x3d\x44\x9c\x3e\x87"
  28072. "\x8d\x8d\x43\x2f\xb2\xff\x87\xd4"
  28073. "\xad\x98\x68\x72\x53\x61\x19\x7c"
  28074. "\x20\x79\x8c\x2b\x37\x0b\x96\x15"
  28075. "\xa5\x7d\x4e\x01\xe6\xea\xb6\xfa"
  28076. "\xaa\xd3\x9d\xa2\xd9\x11\xc3\xc9"
  28077. "\xd4\x0e\x3f\x3e\xfe\x35\x1e\xe5",
  28078. .ctext = "\xb0\x2b\x75\x5f\x33\x1b\x05\x49"
  28079. "\x06\xf1\x43\x91\xc2\x85\xfa\xac"
  28080. "\x3f\x47\xf3\x89\x73\xb2\x0e\xa4"
  28081. "\x30\xcb\x87\x39\x53\x5d\x36\x89"
  28082. "\x77\xd9\x17\x01\x95\xa6\xe9\x71"
  28083. "\x51\x53\xd9\x4f\xa6\xc2\x79\x3d"
  28084. "\x2e\x50\x90\x52\x0d\x27\x1a\x46"
  28085. "\xf1\xe8\x6e\x7e\x7b\x32\xe5\x22"
  28086. "\x22\x1f\xba\x5e\xcf\x25\x6b\x26"
  28087. "\x76\xf0\xca\x8e\xdd\x5b\xd3\x09"
  28088. "\x6f\x82\x08\x56\x1f\x51\x72\x57"
  28089. "\xca\xd1\x60\x07\xfb\x9f\x71\x54"
  28090. "\x0f\xf6\x48\x71\xfa\x8f\xcb\xdd"
  28091. "\xce\xd3\x16\xcd\xae\x0e\x67\x5e"
  28092. "\xea\x8d\xa2\x4a\x4f\x11\xc8\xc8"
  28093. "\x2f\x04\xfe\xa8\x2a\x07\x1c\xb1"
  28094. "\x77\x39\xda\x8b\xd9\x5c\x94\x6c"
  28095. "\x4d\x4d\x13\x51\x6f\x07\x06\x5b",
  28096. .len = 144,
  28097. }, {
  28098. .key = "\x7b\xa7\x4d\x0a\x37\x30\xb9\xf5"
  28099. "\x2a\x79\xb4\xbf\xdb\x7f\x9b\x64"
  28100. "\x23\x43\xb5\x18\x34\xc4\x5f\xdf"
  28101. "\xd9\x2a\x66\x58\x00\x44\xb5\xd9",
  28102. .klen = 32,
  28103. .iv = "\x75\x34\x30\xc1\xf0\x69\xdf\x0a"
  28104. "\x52\xce\x4f\x1e\x2c\x41\x35\xec",
  28105. .ptext = "\x81\x47\x55\x3a\xcd\xfe\xa2\x3d"
  28106. "\x45\x53\xa7\x67\x61\x74\x25\x80"
  28107. "\x98\x89\xfe\xf8\x6a\x9f\x51\x7c"
  28108. "\xa4\xe4\xe7\xc7\xe0\x1a\xce\xbb"
  28109. "\x4b\x46\x43\xb0\xab\xa8\xd6\x0c"
  28110. "\xa0\xf0\xc8\x13\x29\xaf\xb8\x01"
  28111. "\x6b\x0c\x7e\x56\xae\xb8\x58\x72"
  28112. "\xa9\x24\x44\x61\xff\xf1\xac\xf8"
  28113. "\x09\xa8\x48\x21\xd6\xab\x41\x73"
  28114. "\x70\x6b\x92\x06\x61\xdc\xb4\x85"
  28115. "\x76\x26\x7a\x84\xc3\x9e\x3a\x14"
  28116. "\xe7\xf4\x2d\x95\x92\xad\x18\xcc"
  28117. "\x44\xd4\x2c\x36\x57\xed\x2b\x9b"
  28118. "\x3f\x2b\xcd\xe5\x11\xe3\x62\x33"
  28119. "\x42\x3f\xb8\x2a\xb1\x37\x3f\x8b"
  28120. "\xe8\xbd\x6b\x0b\x9f\x38\x5a\x5f"
  28121. "\x82\x34\xb7\x96\x35\x58\xde\xab"
  28122. "\x94\x98\x41\x5b\x3f\xac\x0a\x34"
  28123. "\x56\xc0\x02\xef\x81\x6d\xb1\xff"
  28124. "\x34\xe8\xc7\x6a\x31\x79\xba\xd8",
  28125. .ctext = "\x4e\x00\x7c\x52\x45\x76\xf9\x3d"
  28126. "\x1a\xd1\x72\xbc\xb9\x0f\xa9\xfb"
  28127. "\x0e\x5b\xe2\x3c\xc7\xae\x92\xf6"
  28128. "\xb8\x0b\x0a\x95\x40\xe9\x7f\xe0"
  28129. "\x54\x10\xf9\xf6\x23\x1f\x51\xc8"
  28130. "\x16\x8b\x2e\x79\xe1\x8c\x0b\x43"
  28131. "\xe5\xeb\xb5\x9d\x1e\xc3\x28\x07"
  28132. "\x5c\x8d\xb1\xe7\x80\xd3\xce\x62"
  28133. "\x8d\xf8\x31\x1f\x29\x8b\x90\xee"
  28134. "\xe5\xc3\xfa\x16\xc4\xf0\xc3\x99"
  28135. "\xe9\x5e\x19\xba\x37\xb8\xc0\x87"
  28136. "\xb5\xc6\xc9\x31\xcb\x6e\x30\xce"
  28137. "\x03\x1d\xfe\xce\x08\x32\x00\xeb"
  28138. "\x86\xc4\xfb\x48\x01\xda\x93\x73"
  28139. "\xcc\xb7\xae\x4e\x94\x20\xeb\xc7"
  28140. "\xe3\x33\x4c\xeb\xed\xe2\xfc\x86"
  28141. "\x0e\x73\x32\xf9\x1b\xf3\x25\xf3"
  28142. "\x74\xad\xd1\xf4\x2c\x45\xa4\xfd"
  28143. "\x52\x40\xa2\x4e\xa5\x62\xf6\x02"
  28144. "\xbb\xb0\xe3\x23\x86\x67\xb8\xf6",
  28145. .len = 160,
  28146. }
  28147. };
  28148. static const struct cipher_testvec aria_cfb_tv_template[] = {
  28149. {
  28150. .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
  28151. "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1",
  28152. .klen = 16,
  28153. .iv = "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
  28154. "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
  28155. .ptext = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
  28156. "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
  28157. .ctext = "\x19\x28\xb5\xf2\x1c\xbc\xf8\xaf"
  28158. "\xb9\xae\x1b\x23\x4f\xe1\x6e\x40",
  28159. }, {
  28160. .key = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
  28161. "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
  28162. .klen = 16,
  28163. .iv = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
  28164. "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
  28165. .ptext = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
  28166. "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e"
  28167. "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
  28168. "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
  28169. .ctext = "\x3f\x8c\xa9\x19\xd6\xb4\xfb\xed"
  28170. "\x9c\x6d\xaa\x1b\xe1\xc1\xe6\xa8"
  28171. "\x47\x35\x7d\xa3\x96\x7d\x53\x60"
  28172. "\xa9\x33\x9c\x34\xae\x7d\x7c\x74",
  28173. .len = 32,
  28174. }, {
  28175. .key = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
  28176. "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
  28177. .klen = 16,
  28178. .iv = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
  28179. "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
  28180. .ptext = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
  28181. "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
  28182. "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
  28183. "\x39\x56\x34\x63\x2c\xc5\x51\x13"
  28184. "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
  28185. "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
  28186. .ctext = "\x28\xd8\xa7\xf8\x74\x98\x00\xfc"
  28187. "\xd6\x48\xad\xbd\xbe\x3f\x0e\x7b"
  28188. "\xa3\xec\x03\x6a\xfb\xc9\x01\x83"
  28189. "\xb3\x2f\xda\x5e\x66\xa0\xc3\xec"
  28190. "\xe9\xd4\x72\x2a\xa2\x90\x41\xcf"
  28191. "\xde\x30\x79\xc3\x82\x10\x51\xe1",
  28192. .len = 48,
  28193. }, {
  28194. .key = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
  28195. "\x77\xb5\xca\x90\xda\x1d\x22\x17",
  28196. .klen = 16,
  28197. .iv = "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
  28198. "\x07\x2c\xf4\x61\x79\x09\x01\x8f",
  28199. .ptext = "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
  28200. "\x07\x60\xba\xf0\x2e\xc3\x4a\x57"
  28201. "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
  28202. "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
  28203. "\xa0\x82\x09\x60\x47\xbb\x16\x56"
  28204. "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
  28205. "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
  28206. "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
  28207. .ctext = "\x29\x31\x55\xd2\xe5\x0b\x81\x39"
  28208. "\xf9\xbc\x63\xe2\xfa\x26\x99\xde"
  28209. "\x5c\xd3\x0a\x56\xe5\xfc\x83\xdd"
  28210. "\xab\x26\x90\x7d\xa8\x0f\x01\xa6"
  28211. "\x0e\x01\xdc\x1f\xfa\xa7\xdd\x09"
  28212. "\xf9\xbf\x12\xf4\xc6\x9f\xbd\x57"
  28213. "\x23\x68\x54\x0f\xe0\xcf\x1c\x6d"
  28214. "\xe1\x5e\x0b\x4a\x1e\x71\x1d\xaa",
  28215. .len = 64,
  28216. }, {
  28217. .key = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
  28218. "\xba\xbc\x46\x6a\x69\x17\x3c\xac",
  28219. .klen = 16,
  28220. .iv = "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
  28221. "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
  28222. .ptext = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
  28223. "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
  28224. "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
  28225. "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
  28226. "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
  28227. "\x91\xac\x17\x11\x1c\x03\x69\x53"
  28228. "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
  28229. "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
  28230. "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
  28231. "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
  28232. .ctext = "\x38\xbc\xf5\x9d\x0e\x26\xa6\x18"
  28233. "\x95\x0b\x23\x54\x09\xa1\xf9\x46"
  28234. "\x7a\x31\xa0\xd7\x4a\xec\xb3\x10"
  28235. "\x8a\x8e\x99\x78\x6c\x6e\x76\xf2"
  28236. "\x63\x8a\x3b\x90\xaa\xd5\x64\x65"
  28237. "\x5a\x52\xb0\x36\x4c\xce\xed\xc7"
  28238. "\x51\x3c\x06\xb0\xee\x54\xec\x10"
  28239. "\xc0\x5f\xfd\xa9\x44\x9a\x29\x32"
  28240. "\x19\x79\x7d\x2b\x14\x26\x96\x13"
  28241. "\x9d\xa5\x61\xbd\xb6\x72\x37\x26",
  28242. .len = 80,
  28243. }, {
  28244. .key = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
  28245. "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3",
  28246. .klen = 16,
  28247. .iv = "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
  28248. "\xcc\x6f\x70\x26\x87\xc7\x10\x8a",
  28249. .ptext = "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
  28250. "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
  28251. "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
  28252. "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
  28253. "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
  28254. "\xaf\x06\xea\xf4\x65\x59\xd6\xc2"
  28255. "\x84\xa0\x53\x97\x61\x30\x70\x15"
  28256. "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
  28257. "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
  28258. "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
  28259. "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
  28260. "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
  28261. .ctext = "\xdf\x79\x58\x30\x6f\x47\x12\x78"
  28262. "\x04\xb2\x0b\x1a\x62\x22\xe2\x9f"
  28263. "\xfe\x90\x50\x41\x1b\x6a\x6a\x9c"
  28264. "\x4e\x77\x8f\xca\xd1\x68\x31\xcd"
  28265. "\x41\x82\xa5\x5b\xc0\x08\x2b\x37"
  28266. "\x62\xec\x95\xf1\x56\x12\x38\x66"
  28267. "\x84\x82\x72\xda\x00\x21\x96\x82"
  28268. "\x33\xd4\x99\xaa\xb9\xeb\xd5\xc3"
  28269. "\x2b\xa8\xf7\xdc\x13\x0e\x21\x9f"
  28270. "\x4b\xf9\x42\x58\xa8\x39\x10\xd5"
  28271. "\x86\xa5\xc6\x78\x3b\x34\x05\x03"
  28272. "\x54\x43\x2b\x80\xa9\x53\x4d\x0e",
  28273. .len = 96,
  28274. }, {
  28275. .key = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
  28276. "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1",
  28277. .klen = 16,
  28278. .iv = "\xee\xb7\x0d\x65\x00\x38\xab\x71"
  28279. "\x70\x6e\xb3\x97\x86\xd3\xcd\xad",
  28280. .ptext = "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
  28281. "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
  28282. "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
  28283. "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
  28284. "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
  28285. "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
  28286. "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
  28287. "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
  28288. "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
  28289. "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
  28290. "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
  28291. "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
  28292. "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
  28293. "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
  28294. .ctext = "\xe4\x25\x0d\x22\xeb\xbe\x5e\x90"
  28295. "\x01\xe5\xae\xc9\x94\xbd\x93\x89"
  28296. "\x5e\x5a\x5a\x2f\xf6\xdf\xf8\x16"
  28297. "\xd3\xb2\xed\x29\x51\xe2\x75\xb0"
  28298. "\x1a\x48\xb5\xe6\xd3\x58\x40\xc7"
  28299. "\x6f\x6f\xcf\x57\x82\x43\x5a\x36"
  28300. "\xef\x27\xe1\x34\x85\x01\xec\x98"
  28301. "\x00\xbd\x94\x6f\x12\x39\xa8\x13"
  28302. "\xfe\x3c\x39\xc0\xc6\xe1\xcc\x05"
  28303. "\x0e\xd5\xc9\xda\xbd\xdd\xdb\xaa"
  28304. "\x5a\xaa\x8e\xe8\xa8\x0a\xc5\x18"
  28305. "\xb4\x1d\x13\x81\xc9\xc4\xaa\x61"
  28306. "\xa9\xbd\xaa\x03\x12\x93\xbb\xed"
  28307. "\x0c\x6e\xbd\x1c\x05\x16\x8a\x59",
  28308. .len = 112,
  28309. }, {
  28310. .key = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
  28311. "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15",
  28312. .klen = 16,
  28313. .iv = "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
  28314. "\xb1\x9b\x5d\x00\x10\xe9\x70\x12",
  28315. .ptext = "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
  28316. "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
  28317. "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
  28318. "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
  28319. "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
  28320. "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
  28321. "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
  28322. "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
  28323. "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
  28324. "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
  28325. "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
  28326. "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
  28327. "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
  28328. "\x6a\x55\x84\x98\x28\x03\x02\xc2"
  28329. "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
  28330. "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
  28331. .ctext = "\xa7\x4c\x96\x55\x7c\x07\xce\xb2"
  28332. "\x6f\x63\x9f\xc6\x8b\x6f\xc6\x4a"
  28333. "\x85\xf2\x4b\xdf\x62\x0c\x6c\x8d"
  28334. "\x13\x5d\xd3\x40\x58\xa6\xf9\x03"
  28335. "\xd9\xf2\x48\x4e\x12\x64\x9a\x55"
  28336. "\xa2\xa3\xd0\x19\xe5\x5b\xaa\x62"
  28337. "\x7b\xe9\x2a\x23\xab\xb5\xa6\xcf"
  28338. "\x53\x59\x70\xc6\xb8\x92\x12\x3b"
  28339. "\x93\x68\x24\xba\x7d\xd6\xc0\x5b"
  28340. "\x06\x2e\x7f\x2e\x32\x5d\x42\x9c"
  28341. "\x13\x8e\x92\x3c\x99\x20\x32\x2b"
  28342. "\x4a\x41\xb2\x4a\x81\xe8\x6e\x7f"
  28343. "\x5b\x8e\xca\x4d\xd7\x29\x96\xde"
  28344. "\x30\x9c\xa6\x84\x90\xe7\xc2\xae"
  28345. "\xf4\x7e\x73\x32\x4c\x25\xec\xef"
  28346. "\x58\x69\x63\x3f\x4e\x71\x4b\x1c",
  28347. .len = 128,
  28348. }, {
  28349. .key = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
  28350. "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c",
  28351. .klen = 16,
  28352. .iv = "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
  28353. "\x8c\xaf\x36\x3d\xff\x29\x8b\x33",
  28354. .ptext = "\x87\x96\x77\x1a\x10\x81\x63\x8a"
  28355. "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
  28356. "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
  28357. "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
  28358. "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
  28359. "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
  28360. "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
  28361. "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
  28362. "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
  28363. "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
  28364. "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
  28365. "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
  28366. "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
  28367. "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
  28368. "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
  28369. "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
  28370. "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
  28371. "\xc2\xab\x62\x54\xef\xba\xae\x46",
  28372. .ctext = "\x11\x7f\xea\x49\xaf\x24\x52\xa2"
  28373. "\xde\x60\x99\x58\x23\xf9\x9e\x91"
  28374. "\x94\x52\x31\xa3\x28\x07\x14\xad"
  28375. "\x00\x24\x4a\x4a\xe7\x18\xd7\x24"
  28376. "\xcc\x8b\x66\x53\x82\x65\x31\xa5"
  28377. "\x54\x76\x59\x0b\x69\x6f\x90\x2c"
  28378. "\x8d\xa5\x2b\x61\x05\x80\xfb\xe0"
  28379. "\xf9\x6e\xaf\xb9\xc4\x15\x67\xcc"
  28380. "\x15\xce\xa0\xc0\xf2\xae\xa6\x15"
  28381. "\x24\x9a\xe5\xcb\x09\x42\xcf\x41"
  28382. "\x95\xa4\x8d\xbf\xe8\xb8\x40\xcd"
  28383. "\xb0\x33\x2c\xb3\xc4\xdd\xf9\x45"
  28384. "\xda\xb2\xeb\xb3\xf8\xfa\x7f\xe3"
  28385. "\xc0\x3a\x98\xe7\x17\x4a\x0c\x60"
  28386. "\xb2\x22\xba\x3b\x21\x85\x27\x56"
  28387. "\xe0\xb2\xf7\x2a\x59\xb1\x56\x20"
  28388. "\x0b\xa9\x13\x73\xe0\x6f\x61\x32"
  28389. "\xa5\x38\x14\xb3\xe3\xaa\x70\x44",
  28390. .len = 144,
  28391. }, {
  28392. .key = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
  28393. "\x05\x26\x23\x81\x19\x27\xad\x7b",
  28394. .klen = 16,
  28395. .iv = "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
  28396. "\x44\xbf\x59\xde\x03\x61\x11\x12",
  28397. .ptext = "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
  28398. "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
  28399. "\xb6\x09\x21\x12\x42\x98\x13\xa1"
  28400. "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
  28401. "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
  28402. "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
  28403. "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
  28404. "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
  28405. "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
  28406. "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
  28407. "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
  28408. "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
  28409. "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
  28410. "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
  28411. "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
  28412. "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
  28413. "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
  28414. "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
  28415. "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
  28416. "\x20\xf0\x79\x67\xb1\x83\x26\x66",
  28417. .ctext = "\x5b\xc0\xe8\x17\xa4\xf9\xea\xce"
  28418. "\x9e\xf9\xe0\xb1\xac\x37\xe9\x41"
  28419. "\xc8\x06\xf9\x1c\x1a\xfc\xe8\x7a"
  28420. "\x38\xf2\x80\x66\xc2\x70\x59\x4e"
  28421. "\xe0\x32\x5b\x27\x39\xf5\xfb\x03"
  28422. "\xc8\xaf\xd6\x7e\x57\xc7\xc6\x71"
  28423. "\xd9\xd0\x48\x39\xb1\x0d\xa8\x1a"
  28424. "\x23\x8a\x3d\x05\xe2\x90\x7e\x18"
  28425. "\xd7\x20\x04\x3b\x82\x76\x3f\xaa"
  28426. "\xc2\x89\xb6\x9e\x14\x2f\x46\xcd"
  28427. "\x51\x9b\xa8\x7b\x62\x7b\x9c\x17"
  28428. "\xc4\xe1\x8b\x3f\xb5\x4d\xac\x66"
  28429. "\x49\xf6\xb6\x4c\x3e\x16\x46\xb0"
  28430. "\xca\x04\xef\x72\x5c\x03\x0a\xe5"
  28431. "\x2f\x4e\x36\x38\x36\x9f\xf4\xe2"
  28432. "\x81\x7a\x4c\xdf\x36\x27\xd5\x9d"
  28433. "\x03\xad\x1d\x3a\xe9\x2a\x99\xb0"
  28434. "\x2c\xba\x13\x75\xc8\x37\x97\x11"
  28435. "\xf4\x15\x0f\xb7\x75\x26\xa1\x14"
  28436. "\x79\xec\x1f\xab\xd2\x10\x8c\x5f",
  28437. .len = 160,
  28438. }, {
  28439. .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
  28440. "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
  28441. "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
  28442. .klen = 24,
  28443. .iv = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
  28444. "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
  28445. .ptext = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
  28446. "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
  28447. .ctext = "\xa4\x12\x2f\xc4\xf0\x6d\xd9\x46"
  28448. "\xe4\xe6\xd1\x0b\x6d\x14\xf0\x8f",
  28449. .len = 16,
  28450. }, {
  28451. .key = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
  28452. "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
  28453. "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
  28454. .klen = 24,
  28455. .iv = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
  28456. "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
  28457. .ptext = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
  28458. "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
  28459. "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
  28460. "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
  28461. .ctext = "\x80\x2b\xf0\x88\xb9\x4b\x8d\xf5"
  28462. "\xc3\x0e\x15\x5b\xea\x5d\x5b\xa8"
  28463. "\x52\xe7\x83\x3c\xa1\x51\x1c\x1f"
  28464. "\x38\xd9\x7c\x88\x3c\x3a\xcd\x3e",
  28465. .len = 32,
  28466. }, {
  28467. .key = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
  28468. "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
  28469. "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
  28470. .klen = 24,
  28471. .iv = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
  28472. "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
  28473. .ptext = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
  28474. "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
  28475. "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
  28476. "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
  28477. "\x77\xb5\xca\x90\xda\x1d\x22\x17"
  28478. "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
  28479. .ctext = "\x65\x01\x3c\xb0\xac\x4c\x63\xb6"
  28480. "\xe7\xf1\xf4\x61\x35\xf4\x36\xde"
  28481. "\xeb\x0f\x8c\x34\xd1\x78\xb4\x00"
  28482. "\xb2\xc1\x7c\x28\xb2\xb7\xbb\xa3"
  28483. "\xc6\xb7\x27\xf7\x6d\x56\x79\xfa"
  28484. "\x61\x57\xba\x30\x6f\x56\xe9\x8c",
  28485. .len = 48,
  28486. }, {
  28487. .key = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
  28488. "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
  28489. "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
  28490. .klen = 24,
  28491. .iv = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
  28492. "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
  28493. .ptext = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
  28494. "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
  28495. "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
  28496. "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
  28497. "\x30\x9d\x59\x8d\x64\x76\xad\x37"
  28498. "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
  28499. "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
  28500. "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
  28501. .ctext = "\x5a\xfb\xb1\x2c\x6e\xe5\xb8\xe0"
  28502. "\x80\xb6\x77\xa8\xfe\x10\x3a\x99"
  28503. "\xbf\xc0\x2a\xfe\x6f\x38\xf2\x1d"
  28504. "\x53\x6c\x05\x83\xb1\x13\x00\x87"
  28505. "\x92\x92\x42\x70\xcf\x9f\xf7\x8f"
  28506. "\x53\x55\x18\x6f\x35\x68\x35\x50"
  28507. "\x3a\xc8\x45\x3e\xa3\xf1\x33\x2e"
  28508. "\xa1\x65\x42\xe2\x6d\x31\x8c\x4b",
  28509. .len = 64,
  28510. }, {
  28511. .key = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
  28512. "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
  28513. "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
  28514. .klen = 24,
  28515. .iv = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
  28516. "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
  28517. .ptext = "\x91\xac\x17\x11\x1c\x03\x69\x53"
  28518. "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
  28519. "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
  28520. "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
  28521. "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
  28522. "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
  28523. "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
  28524. "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
  28525. "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
  28526. "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
  28527. .ctext = "\xc9\x5f\xe0\x60\x61\x38\x7e\x79"
  28528. "\x52\x68\x64\x8f\x55\x9b\x6b\x72"
  28529. "\xa5\x17\x61\xb7\xce\x02\xa9\xa4"
  28530. "\x5c\x73\x45\x33\xd1\x07\x5e\xdc"
  28531. "\xe5\xbe\xa7\xde\x69\xa0\x97\x98"
  28532. "\x02\xef\xa4\x67\x51\x60\x69\x4f"
  28533. "\x03\xf5\xa8\x5f\x03\x69\xbc\xc2"
  28534. "\x34\x59\x7e\xd4\xd2\xb3\x32\x2f"
  28535. "\x0c\xb4\x37\xca\xc4\xc7\x93\xf4"
  28536. "\xa4\xab\x01\x3f\x91\x29\x55\x98",
  28537. .len = 80,
  28538. }, {
  28539. .key = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
  28540. "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
  28541. "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
  28542. .klen = 24,
  28543. .iv = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
  28544. "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
  28545. .ptext = "\x84\xa0\x53\x97\x61\x30\x70\x15"
  28546. "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
  28547. "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
  28548. "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
  28549. "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
  28550. "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
  28551. "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
  28552. "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
  28553. "\xee\xb7\x0d\x65\x00\x38\xab\x71"
  28554. "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
  28555. "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
  28556. "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
  28557. .ctext = "\x03\x2c\x39\x24\x99\xb5\xf6\x79"
  28558. "\x91\x89\xb7\xf8\x89\x68\x37\x9d"
  28559. "\xa2\x80\x95\x74\x87\x64\xb9\xeb"
  28560. "\x85\x28\x92\x9a\x6e\xd3\x3b\x50"
  28561. "\x4c\x80\x5b\xe4\xf2\x7e\xda\x2a"
  28562. "\xd4\xf8\xcb\xe3\x6f\xdf\xae\x0e"
  28563. "\xc5\x6c\x0b\x49\x2e\x29\x1c\xf2"
  28564. "\x3f\x44\x44\x12\x67\xa6\xff\x44"
  28565. "\xe0\xec\xd8\xf7\x32\xde\x21\x15"
  28566. "\xab\x8f\x98\x4d\xed\xb0\x42\xfd"
  28567. "\x83\x94\xe2\xcc\x69\x6d\xe8\xdb"
  28568. "\x62\x93\x1f\xd0\xf4\x8c\x62\xc0",
  28569. .len = 96,
  28570. }, {
  28571. .key = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
  28572. "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
  28573. "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
  28574. .klen = 24,
  28575. .iv = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
  28576. "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
  28577. .ptext = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
  28578. "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
  28579. "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
  28580. "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
  28581. "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
  28582. "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
  28583. "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
  28584. "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
  28585. "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
  28586. "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
  28587. "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
  28588. "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
  28589. "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
  28590. "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
  28591. .ctext = "\xd4\x9a\x04\x54\x05\xd2\xe6\x3f"
  28592. "\xb0\xa4\x36\x5e\x1e\x9c\x35\xb0"
  28593. "\xc0\x89\xbd\x1c\xaa\x45\xa6\xc8"
  28594. "\x16\x68\x4a\x06\x93\x67\x88\xd7"
  28595. "\x72\x6e\x48\x0a\x17\xa3\x52\x8b"
  28596. "\x96\x5f\x41\xf6\x17\x64\x55\x8b"
  28597. "\xac\xce\xf6\x8c\xce\xd2\xd4\xd4"
  28598. "\x8d\x92\x32\xe0\x0d\xb4\xf7\x4a"
  28599. "\x90\xaf\x7b\x85\x21\x46\x2e\xa6"
  28600. "\x9e\xac\x0d\x22\xf2\x26\xf6\xd3"
  28601. "\x27\xcd\x59\xa0\xe2\xbb\x22\xcd"
  28602. "\x35\xb6\x28\x45\x0a\x46\xb0\x3a"
  28603. "\xac\x3e\xd3\x5b\xc6\x54\xa2\xa3"
  28604. "\x6d\xbb\xb3\xcd\xc5\x64\x62\x92",
  28605. .len = 112,
  28606. }, {
  28607. .key = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
  28608. "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
  28609. "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
  28610. .klen = 24,
  28611. .iv = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
  28612. "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
  28613. .ptext = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
  28614. "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
  28615. "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
  28616. "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
  28617. "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
  28618. "\x6a\x55\x84\x98\x28\x03\x02\xc2"
  28619. "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
  28620. "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
  28621. "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
  28622. "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
  28623. "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
  28624. "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
  28625. "\x87\x96\x77\x1a\x10\x81\x63\x8a"
  28626. "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
  28627. "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
  28628. "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
  28629. .ctext = "\xbc\x57\x2a\x88\x0a\xd0\x06\x4f"
  28630. "\xdb\x7b\x03\x9f\x97\x1a\x20\xfe"
  28631. "\x15\x91\xb4\xed\x5d\x78\x89\x2a"
  28632. "\x67\x6b\x9c\x47\x36\xc2\x80\x0e"
  28633. "\x03\x8d\x6f\xfc\x94\xc7\xc5\xc2"
  28634. "\xeb\x43\x74\x5d\xfe\xc4\x5a\xa1"
  28635. "\x80\x51\x8a\x63\xd1\x27\x1b\x0a"
  28636. "\x88\x2c\xc4\x7f\x1a\xa3\x28\xe5"
  28637. "\xfd\xd0\x8a\xd4\x36\xa6\x19\xd5"
  28638. "\xff\x41\x7a\x8b\x6e\x9a\x97\x14"
  28639. "\x2a\xc8\xd0\xb8\xa3\x8e\x64\x32"
  28640. "\xb7\x2d\x76\x9b\x3b\xe2\x3f\x91"
  28641. "\xb4\x64\xbf\x59\x67\x14\xc3\xf5"
  28642. "\xa8\x92\x4b\x85\xdf\x80\xcb\xb5"
  28643. "\xc7\x80\xf9\x4a\xbc\xed\x67\x5a"
  28644. "\x0b\x58\x65\x1f\xc9\x6e\x9b\x0a",
  28645. .len = 128,
  28646. }, {
  28647. .key = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
  28648. "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
  28649. "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
  28650. .klen = 24,
  28651. .iv = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
  28652. "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
  28653. .ptext = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
  28654. "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
  28655. "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
  28656. "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
  28657. "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
  28658. "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
  28659. "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
  28660. "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
  28661. "\xc2\xab\x62\x54\xef\xba\xae\x46"
  28662. "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
  28663. "\x05\x26\x23\x81\x19\x27\xad\x7b"
  28664. "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
  28665. "\x44\xbf\x59\xde\x03\x61\x11\x12"
  28666. "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
  28667. "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
  28668. "\xb6\x09\x21\x12\x42\x98\x13\xa1"
  28669. "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
  28670. "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
  28671. .ctext = "\xd7\xb4\xfc\xcc\x1f\xf7\xfc\x7d"
  28672. "\x69\xfa\xcb\x01\x60\xf3\x5a\x14"
  28673. "\xfe\x8c\x4e\xfa\x09\xb5\x0d\xda"
  28674. "\xff\xdd\xba\xdf\xa3\x6b\x3a\x87"
  28675. "\x21\xbb\xf8\x62\x14\x22\xdd\x9b"
  28676. "\x92\x23\xaa\xd7\xcc\xb2\x15\xd0"
  28677. "\xbd\x81\x95\x24\xc2\xc6\x53\x5b"
  28678. "\xf7\x3c\xa0\xf7\x36\xbc\xbf\xf3"
  28679. "\xfc\x1c\x6e\xe0\x71\x8d\xa1\x3d"
  28680. "\x8e\x1a\xc5\xba\xd5\x68\xd4\x7a"
  28681. "\xe0\x4f\x0a\x14\x89\x0b\xa6\x2f"
  28682. "\x18\xc5\x38\x76\xf1\xe7\x5c\xae"
  28683. "\x7a\xbb\x27\x1c\xf0\x7c\x6c\x14"
  28684. "\x07\xb7\x49\x6e\x29\x04\x38\x31"
  28685. "\x91\xe8\x1d\x0f\xfc\x3b\xb8\x20"
  28686. "\x58\x64\x11\xa1\xf5\xba\xa3\x62"
  28687. "\x92\xcf\x44\x63\x2c\xe8\x10\xb5"
  28688. "\xf0\x97\x86\xcb\x5f\xc1\x80\x7a",
  28689. .len = 144,
  28690. }, {
  28691. .key = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
  28692. "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
  28693. "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
  28694. .klen = 24,
  28695. .iv = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
  28696. "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
  28697. .ptext = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
  28698. "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
  28699. "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
  28700. "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
  28701. "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
  28702. "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
  28703. "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
  28704. "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
  28705. "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
  28706. "\x20\xf0\x79\x67\xb1\x83\x26\x66"
  28707. "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
  28708. "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
  28709. "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
  28710. "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
  28711. "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
  28712. "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
  28713. "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
  28714. "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
  28715. "\x52\xf1\x34\x78\x34\x53\x30\x5b"
  28716. "\x43\x43\x51\x6a\x02\x81\x64\x0c",
  28717. .ctext = "\x71\xf6\x96\x02\x07\x71\x1a\x08"
  28718. "\x7c\xfe\x33\xc4\xc9\xbe\xe2\xed"
  28719. "\xd0\xcc\x5d\x27\x75\xb4\x5d\x8d"
  28720. "\x24\x03\xe4\x96\x31\x94\x0e\x38"
  28721. "\x14\x4f\xad\x16\x58\x0d\x73\xdc"
  28722. "\xbe\x5b\xcb\x38\xeb\x4d\xbc\x9a"
  28723. "\x44\x69\x7a\x12\x91\x14\x52\xfa"
  28724. "\xd2\xa2\xc5\x66\xd7\xaf\x4d\xb9"
  28725. "\xb1\x58\x24\x10\xde\x6a\xee\x7e"
  28726. "\x45\xf3\x76\xea\x47\x8a\xe6\x96"
  28727. "\x41\xf2\x96\x2d\x3c\xec\xcf\xc6"
  28728. "\x1d\xf4\x26\xc0\xea\x90\x27\x6e"
  28729. "\x87\xef\xb5\x39\x38\xdb\xad\xbf"
  28730. "\x57\x9a\x1d\xbc\x1d\xe5\x16\x91"
  28731. "\x41\x45\xbe\x67\x6c\x42\x0f\xad"
  28732. "\xcf\xfb\xcd\xf1\x4c\xd8\x73\xe7"
  28733. "\x24\x3b\xd7\x03\xeb\xd1\xb1\x1b"
  28734. "\x7d\xc9\x3d\x34\xd7\xb8\x69\x03"
  28735. "\x76\x95\x32\x26\xed\x88\x76\x89"
  28736. "\x13\xc6\xc8\xa6\x60\xf9\x73\x4d",
  28737. .len = 160,
  28738. }, {
  28739. .key = "\x82\x8e\x9e\x06\x7b\xc2\xe9\xb3"
  28740. "\x06\xa3\xfa\x99\x42\x67\x87\xac"
  28741. "\x21\xc7\xb0\x98\x6c\xf8\x26\x57"
  28742. "\x08\xdd\x92\x02\x77\x7b\x35\xe7",
  28743. .klen = 32,
  28744. .iv = "\xa1\xad\xcb\xdd\xd5\x19\xb6\xd4"
  28745. "\x0b\x62\x58\xb0\x6c\xa0\xc1\x58",
  28746. .ptext = "\x14\x0d\x8a\x09\x16\x00\x00\xf1"
  28747. "\xc0\x20\x86\xf9\x21\xd1\x34\xe2",
  28748. .ctext = "\x05\xe3\x34\xaf\x6c\x83\x14\x8b"
  28749. "\x9d\x1c\xd6\x87\x74\x91\xdf\x17",
  28750. .len = 16,
  28751. }, {
  28752. .key = "\xc9\xf3\xc4\x93\xd0\xcc\xaf\xb1"
  28753. "\x1a\x42\x93\x71\xd8\x4e\xd8\xaa"
  28754. "\x52\xad\x93\x2f\xe5\xd9\xaa\x5b"
  28755. "\x47\x37\x3a\xed\x13\x92\x35\x16",
  28756. .klen = 32,
  28757. .iv = "\x81\xc8\x50\xd1\x74\xc3\x1c\x73"
  28758. "\xbb\xab\x72\x83\x90\x5a\x15\xcb",
  28759. .ptext = "\x65\x11\x93\xaf\xe1\x69\x6c\xbe"
  28760. "\x25\x8c\x76\x87\x53\xa4\x80\xae"
  28761. "\x51\x94\x36\x3f\xca\xe7\x45\x41"
  28762. "\x76\x05\xbf\x8f\x9c\xad\xc0\xe3",
  28763. .ctext = "\x6B\x00\x6E\x49\x7A\x6D\xE3\x04"
  28764. "\x4E\xF7\x9F\x8A\x1F\x14\xBD\xB1"
  28765. "\xD3\x5D\xA4\x30\x26\x85\x85\xEF"
  28766. "\x12\xBC\xC7\xA1\x65\x82\xA7\x74",
  28767. .len = 32,
  28768. }, {
  28769. .key = "\xd5\x9f\x52\x34\x12\x99\x8e\x42"
  28770. "\xe0\x85\x04\x6f\xeb\xf1\x5d\xd0"
  28771. "\xc1\xbf\x3f\x84\xd9\x1e\x71\x44"
  28772. "\xd4\xb9\x40\x3c\x02\x2e\x21\x19",
  28773. .klen = 32,
  28774. .iv = "\x28\xc1\x97\x64\x81\x52\x57\x0e"
  28775. "\x02\x8c\xab\x4c\xe2\x60\x14\xa5",
  28776. .ptext = "\x5a\xb1\x33\x48\xaa\x51\xe9\xa4"
  28777. "\x5c\x2d\xbe\x33\xcc\xc4\x7f\x96"
  28778. "\xe8\xde\x2b\xe7\x35\x7a\x11\x4b"
  28779. "\x13\x08\x32\xc6\x41\xd8\xec\x54"
  28780. "\xa3\xd3\xda\x35\x43\x69\xf6\x88"
  28781. "\x97\xca\x00\x1b\x02\x59\x24\x82",
  28782. .ctext = "\x03\xaf\x76\xbd\x5e\x5b\xca\xc0"
  28783. "\xae\x44\xa2\x2f\xc2\x76\x2f\x50"
  28784. "\x6a\x73\x28\xf2\xba\xe8\xb2\xb8"
  28785. "\x43\x61\x41\x92\xff\xac\xcb\xa6"
  28786. "\x84\x31\xe3\x34\xd0\x37\x81\xab"
  28787. "\x2b\x0e\x97\x3c\x4a\x2d\xa4\x83",
  28788. .len = 48,
  28789. }, {
  28790. .key = "\x9c\x5d\xd7\x66\x36\xfa\x02\x20"
  28791. "\x99\x61\x62\x86\x0f\x43\x2e\x05"
  28792. "\x25\x8b\xfb\xf1\xae\x4c\xde\x18"
  28793. "\x0b\xf8\xd0\x9d\xaa\xd4\x56\x04",
  28794. .klen = 32,
  28795. .iv = "\xcd\xa8\x61\x89\x8d\xbb\x72\xb6"
  28796. "\x1e\xfe\x03\x34\x54\x88\x23\xe2",
  28797. .ptext = "\x66\x42\x60\x24\xf3\xe4\xe9\x7e"
  28798. "\x42\x20\xf4\x61\xce\x1c\x5e\x44"
  28799. "\x02\x26\x91\xf7\x41\xa4\xab\x34"
  28800. "\x29\x49\xdd\x78\x19\x8f\x10\x10"
  28801. "\xf0\x61\xcf\x77\x18\x17\x61\xdf"
  28802. "\xc4\xa8\x35\x0e\x75\x1b\x84\x6b"
  28803. "\xc3\x3f\x31\x59\x5a\x9c\xf4\xc3"
  28804. "\x43\xa9\xb7\xf8\x65\x40\x40\xba",
  28805. .ctext = "\xb6\x41\x55\x8f\xeb\x16\x1e\x4c"
  28806. "\x81\xa0\x85\x6c\xf0\x07\xa5\x2a"
  28807. "\x12\x0f\x1d\xb2\xaa\xba\x85\x0f"
  28808. "\xa6\x27\x1a\x91\xa6\xc5\x8c\x2a"
  28809. "\xde\x8d\x3a\xa9\x8b\xcf\x24\xf1"
  28810. "\x82\x51\x6b\xc8\x01\xd7\x7b\x89"
  28811. "\x6c\xfc\xb1\x96\x6c\xa2\xd7\x1f"
  28812. "\x4b\x7a\xd9\x8d\x34\xaa\xa0\x8a",
  28813. .len = 64,
  28814. }, {
  28815. .key = "\x4b\x4e\x11\x91\x27\xcf\x8c\x66"
  28816. "\x17\xfa\x5b\x4c\xa8\xb8\x0f\xa1"
  28817. "\x99\x5b\x07\x56\xe1\x8d\x94\x8b"
  28818. "\xf2\x86\x5a\x5f\x40\x83\xfa\x06",
  28819. .klen = 32,
  28820. .iv = "\xfd\x73\xee\x1c\x27\xf3\xb4\x38"
  28821. "\xc5\x7c\x2e\xc5\x6e\xdb\x49\x0d",
  28822. .ptext = "\x0a\xe2\xdd\x97\xdd\x5e\xd4\xb3"
  28823. "\xc1\x49\x8f\x53\xb2\x40\x85\x1c"
  28824. "\x90\x37\x2d\xbd\x21\x6b\x1f\x80"
  28825. "\x56\x98\x76\x1e\xcf\x6c\x78\xd8"
  28826. "\xa0\x3c\x79\xc3\x56\xf7\xfc\x64"
  28827. "\x35\x58\x1c\x7c\xc4\x5f\x2a\x25"
  28828. "\x8c\x01\x98\x1e\x1c\x1f\x15\x64"
  28829. "\x50\xb5\xfa\x02\xd3\x54\xe5\x29"
  28830. "\xe3\xd2\xa3\x83\x54\x40\x54\xc5"
  28831. "\xd8\x1c\xc9\x84\x7d\xc8\x31\x49",
  28832. .ctext = "\x53\x2a\xa8\xa0\x15\xaf\x2f\xc4"
  28833. "\x7d\x31\xb4\x61\x80\x5f\xd1\xb6"
  28834. "\xa4\x29\x40\x72\x1b\xb2\x96\xb7"
  28835. "\x4d\x5e\x5b\x53\x44\xa4\xf1\xe9"
  28836. "\xf0\x27\x2f\x26\x84\x66\x13\xa4"
  28837. "\xb2\x19\x55\xb1\x18\xf3\x69\xfd"
  28838. "\xb0\x2f\x08\x3f\xa5\x41\xe2\x34"
  28839. "\x5e\x63\x57\x0e\xef\x17\x78\xbc"
  28840. "\xc3\x65\x7c\xbe\x6b\xa3\xa3\xef"
  28841. "\x58\x05\x30\x5a\x08\xbd\xf7\x0e",
  28842. .len = 80,
  28843. }, {
  28844. .key = "\x77\x3b\xf5\xe7\x20\xf7\xe0\x0c"
  28845. "\x3d\x3a\x83\x17\x83\x79\xd8\x29"
  28846. "\x5a\x0a\x25\x7f\xe0\x21\x23\xff"
  28847. "\x31\xfd\x60\x10\xe6\x63\xe2\xaf",
  28848. .klen = 32,
  28849. .iv = "\xdb\x4c\x0d\xc0\x36\xdb\xc7\xa1"
  28850. "\xa4\x91\xd9\x05\xe6\xc4\x98\x00",
  28851. .ptext = "\x8d\x4d\xc6\x5e\x01\x82\xb3\x39"
  28852. "\xc8\x64\xa7\xcb\x05\x19\x84\x80"
  28853. "\x3f\x9c\xa8\x4f\x64\xb3\x11\x4b"
  28854. "\x0e\x21\xc4\x75\x04\x1d\x6f\xd5"
  28855. "\x04\x04\x4d\xc9\xc0\x4b\x4a\x9c"
  28856. "\x26\xb7\x68\x5a\xe4\xd0\x61\xe3"
  28857. "\x2c\x93\x8e\x3f\xb4\x67\x07\x31"
  28858. "\x02\x52\x0c\x0f\xe6\x6d\xa3\xd0"
  28859. "\x48\x95\x83\x67\x23\x64\x31\x50"
  28860. "\xd2\x5f\x69\x68\x8b\x71\xbf\x01"
  28861. "\x29\x99\x86\x36\x2e\xdf\xf1\x7c"
  28862. "\x08\x8c\x78\x7a\x93\x9a\x7d\x1b",
  28863. .ctext = "\x92\x90\x48\x2f\x3a\x6b\x68\x43"
  28864. "\x28\x9b\x7d\x1e\x46\x28\xd8\x58"
  28865. "\x0f\x47\x8b\xb5\x83\x35\x35\x3e"
  28866. "\xdf\x59\x3d\xb3\x47\xfc\xfc\x52"
  28867. "\x86\xeb\xb3\x58\x54\xd5\x0a\xb4"
  28868. "\xad\xbd\x5c\x09\xfc\x08\xc2\x01"
  28869. "\x5e\x9b\x30\x11\xc4\x40\x2e\x32"
  28870. "\x9c\xa0\xf1\xfd\xae\xd4\x75\x5e"
  28871. "\x52\xd9\x19\x4d\xc1\xd4\xb6\x19"
  28872. "\x88\xfb\x29\x17\x15\xbb\x60\xd6"
  28873. "\x5a\xe9\x82\x89\xaf\x30\x4e\xd4"
  28874. "\x47\xde\x86\x88\x95\x4c\x13\x59",
  28875. .len = 96,
  28876. }, {
  28877. .key = "\xe0\x6a\x30\xe1\x35\xb5\xb0\x7c"
  28878. "\x54\xc5\x73\x9b\x00\xe5\xe7\x02"
  28879. "\xbe\x16\x59\xdc\xd9\x03\x17\x53"
  28880. "\xa8\x37\xd1\x5f\x13\x8e\x45\xdb",
  28881. .klen = 32,
  28882. .iv = "\x54\xe9\x1c\xde\xfb\x26\x0e\x48"
  28883. "\x35\x50\x4d\x9b\x4d\x12\x21\x0d",
  28884. .ptext = "\x73\x72\xcf\xdb\xbd\xbc\xc0\xdf"
  28885. "\x6b\xbb\xdf\x65\x6f\x2f\x43\x3b"
  28886. "\x2d\x7c\x0e\x07\x7f\xa0\x95\xdd"
  28887. "\xfc\x67\xc1\x11\x7a\xe2\xb5\x4a"
  28888. "\xd1\x15\xb0\xd8\xe2\xf0\x35\x48"
  28889. "\xd8\x81\x6a\x35\xae\x67\xbf\x61"
  28890. "\xf2\x8a\xcf\x04\xc8\x09\x8b\x63"
  28891. "\x31\x74\x95\xa5\x8d\x3c\xea\xe2"
  28892. "\x5f\x67\xc4\x7e\x51\x88\xbf\xb5"
  28893. "\x78\xef\x3a\x76\xd8\x1d\x00\x75"
  28894. "\x2b\x7b\x28\x7c\xde\x4b\x39\x01"
  28895. "\x5d\xde\x92\xfe\x90\x07\x09\xfd"
  28896. "\xa5\xd1\xd3\x72\x11\x6d\xa4\x4e"
  28897. "\xd1\x6e\x16\xd1\xf6\x39\x4f\xa0",
  28898. .ctext = "\x3b\xc5\xee\xfc\x05\xaf\xa6\xb7"
  28899. "\xfe\x12\x24\x79\x31\xad\x32\xb5"
  28900. "\x64\x5a\x17\xc9\xbf\x1f\xdc\xce"
  28901. "\x8d\x73\x00\x71\xd9\xfb\xd2\xe6"
  28902. "\xc3\x54\xb4\xf3\x36\xe8\x89\x12"
  28903. "\x5a\x32\x0b\xa6\xec\x5f\x89\xe7"
  28904. "\xe8\x34\x92\xa6\xce\xde\x8f\xf9"
  28905. "\x4f\xda\xed\x61\x8e\xb2\x81\xbe"
  28906. "\xf2\x15\x85\xbe\xa1\x5f\x19\x85"
  28907. "\x71\x7e\xda\x46\x59\xed\x5d\xb0"
  28908. "\xd9\x68\x97\xe0\xcd\x1d\x1b\x65"
  28909. "\xf5\xc9\x44\xe2\xb4\x42\x17\x7c"
  28910. "\xe7\x58\xf3\x2f\xcf\xbe\x5c\x66"
  28911. "\xaa\xd3\x61\xa5\x9a\x79\xbb\xa0",
  28912. .len = 112,
  28913. }, {
  28914. .key = "\x60\xb6\xde\x17\xca\x4c\xe7\xe0"
  28915. "\x07\x0d\x80\xc5\x8a\x2d\x5a\xc2"
  28916. "\x2c\xb9\xa4\x5f\x2a\x85\x2c\x3d"
  28917. "\x6d\x67\xc8\xee\x0f\xa2\xf4\x09",
  28918. .klen = 32,
  28919. .iv = "\x1a\xa5\xbc\x7e\x93\xf6\xdd\x28"
  28920. "\xb7\x69\x27\xa1\x84\x95\x25\x5a",
  28921. .ptext = "\x7b\x88\x00\xeb\xa5\xba\xa1\xa7"
  28922. "\xd4\x40\x16\x74\x2b\x42\x37\xda"
  28923. "\xe0\xaf\x89\x59\x41\x2f\x62\x00"
  28924. "\xf5\x5a\x4e\x3b\x85\x27\xb2\xed"
  28925. "\x1b\xa7\xaf\xbe\x89\xf3\x49\xb7"
  28926. "\x8c\x63\xc9\x0c\x52\x00\x5f\x38"
  28927. "\x3b\x3c\x0c\x4f\xdd\xe1\xbf\x90"
  28928. "\x4a\x48\xbf\x3a\x95\xcb\x48\xa2"
  28929. "\x92\x7c\x79\x81\xde\x18\x6e\x92"
  28930. "\x1f\x36\xa9\x5d\x8d\xc4\xb6\x4d"
  28931. "\xb2\xb4\x0e\x09\x6d\xf3\x3d\x01"
  28932. "\x3d\x9b\x40\x47\xbc\x69\x31\xa1"
  28933. "\x6a\x71\x26\xdc\xac\x10\x56\x63"
  28934. "\x15\x23\x7d\x10\xe3\x76\x82\x41"
  28935. "\xcd\x80\x57\x2f\xfc\x4d\x22\x7b"
  28936. "\x57\xbb\x9a\x0a\x03\xe9\xb3\x13",
  28937. .ctext = "\x37\x0d\x47\x21\xbc\x28\x0b\xf7"
  28938. "\x85\x5f\x60\x57\xf2\x7f\x92\x20"
  28939. "\x53\x1a\xbf\xd1\x7f\x8c\x39\x29"
  28940. "\x0e\x18\xab\x0c\x00\x92\xd3\x68"
  28941. "\x60\x56\x3b\x00\xef\xf8\x02\xfa"
  28942. "\xcb\x92\x1a\x91\xe1\xf0\x4f\x8a"
  28943. "\xc6\x4f\x65\x16\x71\x8b\x5d\xd5"
  28944. "\x79\xa9\x6d\x68\x1b\x59\xe7\x2a"
  28945. "\x1c\xd0\x5d\xfb\x06\x3b\x15\x72"
  28946. "\xa8\xd1\x59\x9a\xb2\x6c\xf2\xd5"
  28947. "\x19\xef\xde\x03\x4c\x75\x65\x38"
  28948. "\x5b\xda\xc9\xf0\x44\x99\xb2\x6e"
  28949. "\x78\xfb\x85\x5a\x92\x91\x1a\x0a"
  28950. "\x13\x0c\x1b\x1c\xbe\xbe\x46\x6e"
  28951. "\x73\xff\xc2\x6e\xb9\x06\x16\x7e"
  28952. "\xf6\xc0\x01\x30\x34\x56\x46\x55",
  28953. .len = 128,
  28954. }, {
  28955. .key = "\x2a\xed\x7d\x76\xfc\xc5\x49\x50"
  28956. "\xf4\x90\x0f\xcc\x5d\xff\x0c\x3c"
  28957. "\x14\x06\xaf\x68\x8f\xd7\xb6\x25"
  28958. "\x1e\x10\x95\x2a\x71\x33\x17\x20",
  28959. .klen = 32,
  28960. .iv = "\x5b\x58\x47\xf8\xd5\x1e\x91\x81"
  28961. "\x46\xe7\x25\x3a\x02\x45\x9c\x65",
  28962. .ptext = "\x10\xaf\xde\x5c\x30\x79\x43\x28"
  28963. "\x1c\x03\xf8\x50\x0f\x30\xa5\xef"
  28964. "\x84\x19\x4c\x09\x40\x03\x75\x1f"
  28965. "\x92\x8f\x88\x01\xda\x31\x7a\xe4"
  28966. "\x48\xe3\xab\xb4\xe6\x1b\x0f\xac"
  28967. "\xd9\xfa\x8d\x23\xe4\xc6\xa4\xa9"
  28968. "\x2d\x9a\x54\x52\x44\x5c\x3c\x52"
  28969. "\x61\xf0\x00\xca\xed\xab\xed\xe2"
  28970. "\x44\x0b\xe0\x18\xba\xa5\x63\xd8"
  28971. "\xdc\x5e\x1a\x4c\xf8\xde\x5e\x75"
  28972. "\xdf\x42\x27\x7b\xe9\x11\x2f\x41"
  28973. "\x3a\x72\x54\x3d\x44\x9c\x3e\x87"
  28974. "\x8d\x8d\x43\x2f\xb2\xff\x87\xd4"
  28975. "\xad\x98\x68\x72\x53\x61\x19\x7c"
  28976. "\x20\x79\x8c\x2b\x37\x0b\x96\x15"
  28977. "\xa5\x7d\x4e\x01\xe6\xea\xb6\xfa"
  28978. "\xaa\xd3\x9d\xa2\xd9\x11\xc3\xc9"
  28979. "\xd4\x0e\x3f\x3e\xfe\x35\x1e\xe5",
  28980. .ctext = "\xb0\x2b\x75\x5f\x33\x1b\x05\x49"
  28981. "\x06\xf1\x43\x91\xc2\x85\xfa\xac"
  28982. "\x74\xd5\x8c\xc9\x47\x6e\x5a\xf6"
  28983. "\x69\x33\x4c\xcb\x2f\x36\x4b\x41"
  28984. "\xec\x05\x69\xab\x7f\x42\xc9\xd2"
  28985. "\x26\x64\x51\x9e\x3d\x65\x35\xf0"
  28986. "\x8d\x5e\x8a\xb1\xee\xdf\x1a\x98"
  28987. "\x36\xd2\x37\x49\x5b\xe2\x57\x00"
  28988. "\x1d\x72\x7e\xe8\x38\x11\x83\x15"
  28989. "\xc7\x4e\x65\xa4\x2c\x9e\x6a\x3e"
  28990. "\xb4\x78\x3f\xe9\x91\x5d\x06\xa9"
  28991. "\xf1\xfc\x6b\x08\xe5\x2b\x2a\x99"
  28992. "\x65\xa7\x2e\x47\xf9\xc2\xb1\x8b"
  28993. "\x88\x2f\xb7\x62\x84\x63\x94\x00"
  28994. "\x49\xa7\xd0\x2b\x54\x7a\x69\xb3"
  28995. "\x04\x66\xfc\x97\x40\x92\xd1\xb8"
  28996. "\xb4\x2a\x9e\xdb\x31\xcd\x48\x84"
  28997. "\x29\x3b\x02\xac\xb8\x54\x95\xb4",
  28998. .len = 144,
  28999. }, {
  29000. .key = "\x7b\xa7\x4d\x0a\x37\x30\xb9\xf5"
  29001. "\x2a\x79\xb4\xbf\xdb\x7f\x9b\x64"
  29002. "\x23\x43\xb5\x18\x34\xc4\x5f\xdf"
  29003. "\xd9\x2a\x66\x58\x00\x44\xb5\xd9",
  29004. .klen = 32,
  29005. .iv = "\x75\x34\x30\xc1\xf0\x69\xdf\x0a"
  29006. "\x52\xce\x4f\x1e\x2c\x41\x35\xec",
  29007. .ptext = "\x81\x47\x55\x3a\xcd\xfe\xa2\x3d"
  29008. "\x45\x53\xa7\x67\x61\x74\x25\x80"
  29009. "\x98\x89\xfe\xf8\x6a\x9f\x51\x7c"
  29010. "\xa4\xe4\xe7\xc7\xe0\x1a\xce\xbb"
  29011. "\x4b\x46\x43\xb0\xab\xa8\xd6\x0c"
  29012. "\xa0\xf0\xc8\x13\x29\xaf\xb8\x01"
  29013. "\x6b\x0c\x7e\x56\xae\xb8\x58\x72"
  29014. "\xa9\x24\x44\x61\xff\xf1\xac\xf8"
  29015. "\x09\xa8\x48\x21\xd6\xab\x41\x73"
  29016. "\x70\x6b\x92\x06\x61\xdc\xb4\x85"
  29017. "\x76\x26\x7a\x84\xc3\x9e\x3a\x14"
  29018. "\xe7\xf4\x2d\x95\x92\xad\x18\xcc"
  29019. "\x44\xd4\x2c\x36\x57\xed\x2b\x9b"
  29020. "\x3f\x2b\xcd\xe5\x11\xe3\x62\x33"
  29021. "\x42\x3f\xb8\x2a\xb1\x37\x3f\x8b"
  29022. "\xe8\xbd\x6b\x0b\x9f\x38\x5a\x5f"
  29023. "\x82\x34\xb7\x96\x35\x58\xde\xab"
  29024. "\x94\x98\x41\x5b\x3f\xac\x0a\x34"
  29025. "\x56\xc0\x02\xef\x81\x6d\xb1\xff"
  29026. "\x34\xe8\xc7\x6a\x31\x79\xba\xd8",
  29027. .ctext = "\x4e\x00\x7c\x52\x45\x76\xf9\x3d"
  29028. "\x1a\xd1\x72\xbc\xb9\x0f\xa9\xfb"
  29029. "\x0a\xf5\xe8\x11\x66\x8b\xad\x68"
  29030. "\x5a\x2e\xbf\x09\x33\x9d\xb6\x67"
  29031. "\xe5\xcb\x0a\xe0\xac\xed\x73\x4b"
  29032. "\xbb\x15\xde\xd8\xab\x33\x28\x5f"
  29033. "\x96\x07\x3c\x28\x79\x88\x84\xc7"
  29034. "\x13\xf7\x0d\xa5\x97\x3b\xd9\xb1"
  29035. "\xf2\x65\xb0\xac\xbb\x8a\x97\xd1"
  29036. "\x70\x3a\x91\x65\xc8\x39\x04\xe7"
  29037. "\x1a\x9c\x80\x65\x2b\x69\x4b\xdc"
  29038. "\xdc\xc7\xf1\x31\xda\xab\xb4\xd7"
  29039. "\x46\x2e\x1d\xc9\x2e\xe9\x46\xec"
  29040. "\xa4\xa1\x91\x6b\x4a\x09\xf9\x39"
  29041. "\x7b\x7d\x6d\xf5\x43\x7f\xcc\x74"
  29042. "\x96\xfa\x48\xd0\xe1\x74\x24\xd0"
  29043. "\x19\x22\x24\x84\x2b\x12\x10\x46"
  29044. "\x90\xbd\xa9\x93\xb7\xf7\x36\xd4"
  29045. "\x48\xc7\x32\x83\x8c\xa9\xcd\x5a"
  29046. "\x2f\x05\x33\xc1\x5b\x50\x70\xc4",
  29047. .len = 160,
  29048. }
  29049. };
  29050. static const struct aead_testvec aria_gcm_tv_template[] = {
  29051. {
  29052. .key = "\xe9\x1e\x5e\x75\xda\x65\x55\x4a"
  29053. "\x48\x18\x1f\x38\x46\x34\x95\x62",
  29054. .klen = 16,
  29055. .iv = "\x00\x00\x20\xe8\xf5\xeb\x00\x00"
  29056. "\x00\x00\x31\x5e",
  29057. .assoc = "\x80\x08\x31\x5e\xbf\x2e\x6f\xe0"
  29058. "\x20\xe8\xf5\xeb",
  29059. .alen = 12,
  29060. .ptext = "\xf5\x7a\xf5\xfd\x4a\xe1\x95\x62"
  29061. "\x97\x6e\xc5\x7a\x5a\x7a\xd5\x5a"
  29062. "\x5a\xf5\xc5\xe5\xc5\xfd\xf5\xc5"
  29063. "\x5a\xd5\x7a\x4a\x72\x72\xd5\x72"
  29064. "\x62\xe9\x72\x95\x66\xed\x66\xe9"
  29065. "\x7a\xc5\x4a\x4a\x5a\x7a\xd5\xe1"
  29066. "\x5a\xe5\xfd\xd5\xfd\x5a\xc5\xd5"
  29067. "\x6a\xe5\x6a\xd5\xc5\x72\xd5\x4a"
  29068. "\xe5\x4a\xc5\x5a\x95\x6a\xfd\x6a"
  29069. "\xed\x5a\x4a\xc5\x62\x95\x7a\x95"
  29070. "\x16\x99\x16\x91\xd5\x72\xfd\x14"
  29071. "\xe9\x7a\xe9\x62\xed\x7a\x9f\x4a"
  29072. "\x95\x5a\xf5\x72\xe1\x62\xf5\x7a"
  29073. "\x95\x66\x66\xe1\x7a\xe1\xf5\x4a"
  29074. "\x95\xf5\x66\xd5\x4a\x66\xe1\x6e"
  29075. "\x4a\xfd\x6a\x9f\x7a\xe1\xc5\xc5"
  29076. "\x5a\xe5\xd5\x6a\xfd\xe9\x16\xc5"
  29077. "\xe9\x4a\x6e\xc5\x66\x95\xe1\x4a"
  29078. "\xfd\xe1\x14\x84\x16\xe9\x4a\xd5"
  29079. "\x7a\xc5\x14\x6e\xd5\x9d\x1c\xc5",
  29080. .plen = 160,
  29081. .ctext = "\x4d\x8a\x9a\x06\x75\x55\x0c\x70"
  29082. "\x4b\x17\xd8\xc9\xdd\xc8\x1a\x5c"
  29083. "\xd6\xf7\xda\x34\xf2\xfe\x1b\x3d"
  29084. "\xb7\xcb\x3d\xfb\x96\x97\x10\x2e"
  29085. "\xa0\xf3\xc1\xfc\x2d\xbc\x87\x3d"
  29086. "\x44\xbc\xee\xae\x8e\x44\x42\x97"
  29087. "\x4b\xa2\x1f\xf6\x78\x9d\x32\x72"
  29088. "\x61\x3f\xb9\x63\x1a\x7c\xf3\xf1"
  29089. "\x4b\xac\xbe\xb4\x21\x63\x3a\x90"
  29090. "\xff\xbe\x58\xc2\xfa\x6b\xdc\xa5"
  29091. "\x34\xf1\x0d\x0d\xe0\x50\x2c\xe1"
  29092. "\xd5\x31\xb6\x33\x6e\x58\x87\x82"
  29093. "\x78\x53\x1e\x5c\x22\xbc\x6c\x85"
  29094. "\xbb\xd7\x84\xd7\x8d\x9e\x68\x0a"
  29095. "\xa1\x90\x31\xaa\xf8\x91\x01\xd6"
  29096. "\x69\xd7\xa3\x96\x5c\x1f\x7e\x16"
  29097. "\x22\x9d\x74\x63\xe0\x53\x5f\x4e"
  29098. "\x25\x3f\x5d\x18\x18\x7d\x40\xb8"
  29099. "\xae\x0f\x56\x4b\xd9\x70\xb5\xe7"
  29100. "\xe2\xad\xfb\x21\x1e\x89\xa9\x53"
  29101. "\x5a\xba\xce\x3f\x37\xf5\xa7\x36"
  29102. "\xf4\xbe\x98\x4b\xbf\xfb\xed\xc1",
  29103. .clen = 176,
  29104. }, {
  29105. .key = "\x0c\x5f\xfd\x37\xa1\x1e\xdc\x42"
  29106. "\xc3\x25\x28\x7f\xc0\x60\x4f\x2e"
  29107. "\x3e\x8c\xd5\x67\x1a\x00\xfe\x32"
  29108. "\x16\xaa\x5e\xb1\x05\x78\x3b\x54",
  29109. .klen = 32,
  29110. .iv = "\x00\x00\x20\xe8\xf5\xeb\x00\x00"
  29111. "\x00\x00\x31\x5e",
  29112. .assoc = "\x80\x08\x31\x5e\xbf\x2e\x6f\xe0"
  29113. "\x20\xe8\xf5\xeb",
  29114. .alen = 12,
  29115. .ptext = "\xf5\x7a\xf5\xfd\x4a\xe1\x95\x62"
  29116. "\x97\x6e\xc5\x7a\x5a\x7a\xd5\x5a"
  29117. "\x5a\xf5\xc5\xe5\xc5\xfd\xf5\xc5"
  29118. "\x5a\xd5\x7a\x4a\x72\x72\xd5\x72"
  29119. "\x62\xe9\x72\x95\x66\xed\x66\xe9"
  29120. "\x7a\xc5\x4a\x4a\x5a\x7a\xd5\xe1"
  29121. "\x5a\xe5\xfd\xd5\xfd\x5a\xc5\xd5"
  29122. "\x6a\xe5\x6a\xd5\xc5\x72\xd5\x4a"
  29123. "\xe5\x4a\xc5\x5a\x95\x6a\xfd\x6a"
  29124. "\xed\x5a\x4a\xc5\x62\x95\x7a\x95"
  29125. "\x16\x99\x16\x91\xd5\x72\xfd\x14"
  29126. "\xe9\x7a\xe9\x62\xed\x7a\x9f\x4a"
  29127. "\x95\x5a\xf5\x72\xe1\x62\xf5\x7a"
  29128. "\x95\x66\x66\xe1\x7a\xe1\xf5\x4a"
  29129. "\x95\xf5\x66\xd5\x4a\x66\xe1\x6e"
  29130. "\x4a\xfd\x6a\x9f\x7a\xe1\xc5\xc5"
  29131. "\x5a\xe5\xd5\x6a\xfd\xe9\x16\xc5"
  29132. "\xe9\x4a\x6e\xc5\x66\x95\xe1\x4a"
  29133. "\xfd\xe1\x14\x84\x16\xe9\x4a\xd5"
  29134. "\x7a\xc5\x14\x6e\xd5\x9d\x1c\xc5",
  29135. .plen = 160,
  29136. .ctext = "\x6f\x9e\x4b\xcb\xc8\xc8\x5f\xc0"
  29137. "\x12\x8f\xb1\xe4\xa0\xa2\x0c\xb9"
  29138. "\x93\x2f\xf7\x45\x81\xf5\x4f\xc0"
  29139. "\x13\xdd\x05\x4b\x19\xf9\x93\x71"
  29140. "\x42\x5b\x35\x2d\x97\xd3\xf3\x37"
  29141. "\xb9\x0b\x63\xd1\xb0\x82\xad\xee"
  29142. "\xea\x9d\x2d\x73\x91\x89\x7d\x59"
  29143. "\x1b\x98\x5e\x55\xfb\x50\xcb\x53"
  29144. "\x50\xcf\x7d\x38\xdc\x27\xdd\xa1"
  29145. "\x27\xc0\x78\xa1\x49\xc8\xeb\x98"
  29146. "\x08\x3d\x66\x36\x3a\x46\xe3\x72"
  29147. "\x6a\xf2\x17\xd3\xa0\x02\x75\xad"
  29148. "\x5b\xf7\x72\xc7\x61\x0e\xa4\xc2"
  29149. "\x30\x06\x87\x8f\x0e\xe6\x9a\x83"
  29150. "\x97\x70\x31\x69\xa4\x19\x30\x3f"
  29151. "\x40\xb7\x2e\x45\x73\x71\x4d\x19"
  29152. "\xe2\x69\x7d\xf6\x1e\x7c\x72\x52"
  29153. "\xe5\xab\xc6\xba\xde\x87\x6a\xc4"
  29154. "\x96\x1b\xfa\xc4\xd5\xe8\x67\xaf"
  29155. "\xca\x35\x1a\x48\xae\xd5\x28\x22"
  29156. "\xe2\x10\xd6\xce\xd2\xcf\x43\x0f"
  29157. "\xf8\x41\x47\x29\x15\xe7\xef\x48",
  29158. .clen = 176,
  29159. }
  29160. };
  29161. static const struct cipher_testvec chacha20_tv_template[] = {
  29162. { /* RFC7539 A.2. Test Vector #1 */
  29163. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29164. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29165. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29166. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29167. .klen = 32,
  29168. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29169. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29170. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29171. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29172. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29173. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29174. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29175. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29176. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29177. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29178. .ctext = "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
  29179. "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
  29180. "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
  29181. "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
  29182. "\xda\x41\x59\x7c\x51\x57\x48\x8d"
  29183. "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
  29184. "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
  29185. "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
  29186. .len = 64,
  29187. }, { /* RFC7539 A.2. Test Vector #2 */
  29188. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29189. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29190. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29191. "\x00\x00\x00\x00\x00\x00\x00\x01",
  29192. .klen = 32,
  29193. .iv = "\x01\x00\x00\x00\x00\x00\x00\x00"
  29194. "\x00\x00\x00\x00\x00\x00\x00\x02",
  29195. .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  29196. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  29197. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  29198. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  29199. "\x64\x65\x64\x20\x62\x79\x20\x74"
  29200. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  29201. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  29202. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  29203. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  29204. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  29205. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  29206. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  29207. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  29208. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  29209. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  29210. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  29211. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  29212. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  29213. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  29214. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  29215. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  29216. "\x45\x54\x46\x20\x61\x63\x74\x69"
  29217. "\x76\x69\x74\x79\x20\x69\x73\x20"
  29218. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  29219. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  29220. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  29221. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  29222. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  29223. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  29224. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  29225. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  29226. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  29227. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  29228. "\x54\x46\x20\x73\x65\x73\x73\x69"
  29229. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  29230. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  29231. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  29232. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  29233. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  29234. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  29235. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  29236. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  29237. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  29238. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  29239. "\x20\x77\x68\x69\x63\x68\x20\x61"
  29240. "\x72\x65\x20\x61\x64\x64\x72\x65"
  29241. "\x73\x73\x65\x64\x20\x74\x6f",
  29242. .ctext = "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
  29243. "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
  29244. "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
  29245. "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
  29246. "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
  29247. "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
  29248. "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
  29249. "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
  29250. "\x40\x42\xe0\x27\x85\xec\xec\xfa"
  29251. "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
  29252. "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
  29253. "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
  29254. "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
  29255. "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
  29256. "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
  29257. "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
  29258. "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
  29259. "\xd6\x62\xab\x05\x26\x91\xca\x66"
  29260. "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
  29261. "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
  29262. "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
  29263. "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
  29264. "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
  29265. "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
  29266. "\x08\x71\xcd\xac\x63\x89\x39\xe2"
  29267. "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
  29268. "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
  29269. "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
  29270. "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
  29271. "\x37\x20\xfc\x88\xdc\x95\xed\x84"
  29272. "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
  29273. "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
  29274. "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
  29275. "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
  29276. "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
  29277. "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
  29278. "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
  29279. "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
  29280. "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
  29281. "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
  29282. "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
  29283. "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
  29284. "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
  29285. "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
  29286. "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
  29287. "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
  29288. "\xc4\xfd\x80\x6c\x22\xf2\x21",
  29289. .len = 375,
  29290. }, { /* RFC7539 A.2. Test Vector #3 */
  29291. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  29292. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  29293. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  29294. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  29295. .klen = 32,
  29296. .iv = "\x2a\x00\x00\x00\x00\x00\x00\x00"
  29297. "\x00\x00\x00\x00\x00\x00\x00\x02",
  29298. .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
  29299. "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
  29300. "\x6e\x64\x20\x74\x68\x65\x20\x73"
  29301. "\x6c\x69\x74\x68\x79\x20\x74\x6f"
  29302. "\x76\x65\x73\x0a\x44\x69\x64\x20"
  29303. "\x67\x79\x72\x65\x20\x61\x6e\x64"
  29304. "\x20\x67\x69\x6d\x62\x6c\x65\x20"
  29305. "\x69\x6e\x20\x74\x68\x65\x20\x77"
  29306. "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
  29307. "\x20\x6d\x69\x6d\x73\x79\x20\x77"
  29308. "\x65\x72\x65\x20\x74\x68\x65\x20"
  29309. "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
  29310. "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
  29311. "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
  29312. "\x72\x61\x74\x68\x73\x20\x6f\x75"
  29313. "\x74\x67\x72\x61\x62\x65\x2e",
  29314. .ctext = "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
  29315. "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
  29316. "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
  29317. "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
  29318. "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
  29319. "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
  29320. "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
  29321. "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
  29322. "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
  29323. "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
  29324. "\x1a\x55\x32\x05\x57\x16\xea\xd6"
  29325. "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
  29326. "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
  29327. "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
  29328. "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
  29329. "\x75\x7a\x79\x7a\xc1\x88\xd1",
  29330. .len = 127,
  29331. }, { /* Self-made test vector for long data */
  29332. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  29333. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  29334. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  29335. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  29336. .klen = 32,
  29337. .iv = "\x1c\x00\x00\x00\x00\x00\x00\x00"
  29338. "\x00\x00\x00\x00\x00\x00\x00\x01",
  29339. .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
  29340. "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
  29341. "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
  29342. "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
  29343. "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
  29344. "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
  29345. "\x01\xc6\x67\xda\x03\x91\x18\x90"
  29346. "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
  29347. "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
  29348. "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
  29349. "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
  29350. "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
  29351. "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
  29352. "\x33\x97\xc3\x77\xba\xc5\x70\xde"
  29353. "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
  29354. "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
  29355. "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
  29356. "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
  29357. "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
  29358. "\x79\x49\x41\xf4\x58\x18\xcb\x86"
  29359. "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
  29360. "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
  29361. "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
  29362. "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
  29363. "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
  29364. "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
  29365. "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
  29366. "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
  29367. "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
  29368. "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
  29369. "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
  29370. "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
  29371. "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
  29372. "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
  29373. "\x24\x74\x75\x7f\x95\x81\xb7\x30"
  29374. "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
  29375. "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
  29376. "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
  29377. "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
  29378. "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
  29379. "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
  29380. "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
  29381. "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
  29382. "\x49\x46\x00\x88\x22\x8d\xce\xea"
  29383. "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
  29384. "\x72\x11\xf5\x50\x73\x04\x40\x47"
  29385. "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
  29386. "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
  29387. "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
  29388. "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
  29389. "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
  29390. "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
  29391. "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
  29392. "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
  29393. "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
  29394. "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
  29395. "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
  29396. "\x8b\x10\x67\xa3\x01\x57\x94\x25"
  29397. "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
  29398. "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
  29399. "\x58\xb1\x47\x90\xfe\x42\x21\x72"
  29400. "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
  29401. "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
  29402. "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
  29403. "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
  29404. "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
  29405. "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
  29406. "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
  29407. "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
  29408. "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
  29409. "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
  29410. "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
  29411. "\x65\x69\x8a\x45\x29\xef\x74\x85"
  29412. "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
  29413. "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
  29414. "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
  29415. "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
  29416. "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
  29417. "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
  29418. "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
  29419. "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
  29420. "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
  29421. "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
  29422. "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
  29423. "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
  29424. "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
  29425. "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
  29426. "\x10\x26\x38\x07\xe5\xc7\x36\x80"
  29427. "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
  29428. "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
  29429. "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
  29430. "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
  29431. "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
  29432. "\x83\x66\x80\x47\x80\xe8\xfd\x35"
  29433. "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
  29434. "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
  29435. "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
  29436. "\x25\x94\x10\x5f\x40\x00\x64\x99"
  29437. "\xdc\xae\xd7\x21\x09\x78\x50\x15"
  29438. "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
  29439. "\x87\x6e\x6d\xab\xde\x08\x51\x16"
  29440. "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
  29441. "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
  29442. "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
  29443. "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
  29444. "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
  29445. "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
  29446. "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
  29447. "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
  29448. "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
  29449. "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
  29450. "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
  29451. "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
  29452. "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
  29453. "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
  29454. "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
  29455. "\xb9\x83\x90\xef\x20\x59\x46\xff"
  29456. "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
  29457. "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
  29458. "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
  29459. "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
  29460. "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
  29461. "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
  29462. "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
  29463. "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
  29464. "\x94\x97\xea\xdd\x58\x9e\xae\x76"
  29465. "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
  29466. "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
  29467. "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
  29468. "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
  29469. "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
  29470. "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
  29471. "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
  29472. "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
  29473. "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
  29474. "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
  29475. "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
  29476. "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
  29477. "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
  29478. "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
  29479. "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
  29480. "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
  29481. "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
  29482. "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
  29483. "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
  29484. "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
  29485. "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
  29486. "\xac\xf3\x13\x53\x27\x45\xaf\x64"
  29487. "\x46\xdc\xea\x23\xda\x97\xd1\xab"
  29488. "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
  29489. "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
  29490. "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
  29491. "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
  29492. "\xca\x34\x83\x27\x10\x5b\x68\x45"
  29493. "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
  29494. "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
  29495. "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
  29496. "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
  29497. "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
  29498. "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
  29499. "\x72",
  29500. .ctext = "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
  29501. "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
  29502. "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
  29503. "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
  29504. "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
  29505. "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
  29506. "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
  29507. "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
  29508. "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
  29509. "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
  29510. "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
  29511. "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
  29512. "\x33\x4a\x71\x15\xfe\xee\x12\x54"
  29513. "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
  29514. "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
  29515. "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
  29516. "\x57\x0e\x94\x17\x26\x39\xbb\x54"
  29517. "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
  29518. "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
  29519. "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
  29520. "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
  29521. "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
  29522. "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
  29523. "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
  29524. "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
  29525. "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
  29526. "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
  29527. "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
  29528. "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
  29529. "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
  29530. "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
  29531. "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
  29532. "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
  29533. "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
  29534. "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
  29535. "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
  29536. "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
  29537. "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
  29538. "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
  29539. "\xae\xe7\x61\x32\xef\x41\x6c\x75"
  29540. "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
  29541. "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
  29542. "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
  29543. "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
  29544. "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
  29545. "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
  29546. "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
  29547. "\xc1\x22\xf3\x79\xae\x95\x78\x66"
  29548. "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
  29549. "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
  29550. "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
  29551. "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
  29552. "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
  29553. "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
  29554. "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
  29555. "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
  29556. "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
  29557. "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
  29558. "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
  29559. "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
  29560. "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
  29561. "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
  29562. "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
  29563. "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
  29564. "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
  29565. "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
  29566. "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
  29567. "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
  29568. "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
  29569. "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
  29570. "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
  29571. "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
  29572. "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
  29573. "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
  29574. "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
  29575. "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
  29576. "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
  29577. "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
  29578. "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
  29579. "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
  29580. "\x54\x1c\x34\x72\xde\x0c\x68\x39"
  29581. "\x9d\x32\xa5\x75\x92\x13\x32\xea"
  29582. "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
  29583. "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
  29584. "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
  29585. "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
  29586. "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
  29587. "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
  29588. "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
  29589. "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
  29590. "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
  29591. "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
  29592. "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
  29593. "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
  29594. "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
  29595. "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
  29596. "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
  29597. "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
  29598. "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
  29599. "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
  29600. "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
  29601. "\x79\x61\x23\xe0\xa2\x99\x73\x55"
  29602. "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
  29603. "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
  29604. "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
  29605. "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
  29606. "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
  29607. "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
  29608. "\x48\x56\xaa\x85\x22\xd8\x36\xed"
  29609. "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
  29610. "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
  29611. "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
  29612. "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
  29613. "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
  29614. "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
  29615. "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
  29616. "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
  29617. "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
  29618. "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
  29619. "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
  29620. "\xec\x83\x92\x99\x87\x47\xe0\x7c"
  29621. "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
  29622. "\x98\xb0\x87\xb6\x86\x13\x64\x33"
  29623. "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
  29624. "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
  29625. "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
  29626. "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
  29627. "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
  29628. "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
  29629. "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
  29630. "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
  29631. "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
  29632. "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
  29633. "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
  29634. "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
  29635. "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
  29636. "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
  29637. "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
  29638. "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
  29639. "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
  29640. "\x5f\xae\x25\x84\x22\x90\x5f\x26"
  29641. "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
  29642. "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
  29643. "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
  29644. "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
  29645. "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
  29646. "\x74\x06\x89\x0e\x90\xeb\x85\xff"
  29647. "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
  29648. "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
  29649. "\x02\x85\x68\xd0\x03\x12\xde\x92"
  29650. "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
  29651. "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
  29652. "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
  29653. "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
  29654. "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
  29655. "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
  29656. "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
  29657. "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
  29658. "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
  29659. "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
  29660. "\x98",
  29661. .len = 1281,
  29662. },
  29663. };
  29664. static const struct cipher_testvec xchacha20_tv_template[] = {
  29665. { /* from libsodium test/default/xchacha20.c */
  29666. .key = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
  29667. "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
  29668. "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
  29669. "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
  29670. .klen = 32,
  29671. .iv = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
  29672. "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
  29673. "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
  29674. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29675. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29676. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29677. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29678. "\x00\x00\x00\x00\x00",
  29679. .ctext = "\xc6\xe9\x75\x81\x60\x08\x3a\xc6"
  29680. "\x04\xef\x90\xe7\x12\xce\x6e\x75"
  29681. "\xd7\x79\x75\x90\x74\x4e\x0c\xf0"
  29682. "\x60\xf0\x13\x73\x9c",
  29683. .len = 29,
  29684. }, { /* from libsodium test/default/xchacha20.c */
  29685. .key = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
  29686. "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
  29687. "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
  29688. "\x22\x35\xea\xaf\x60\x1d\x62\x32",
  29689. .klen = 32,
  29690. .iv = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
  29691. "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
  29692. "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
  29693. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29694. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29695. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29696. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29697. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29698. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29699. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29700. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29701. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29702. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29703. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29704. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29705. "\x00\x00\x00",
  29706. .ctext = "\xa2\x12\x09\x09\x65\x94\xde\x8c"
  29707. "\x56\x67\xb1\xd1\x3a\xd9\x3f\x74"
  29708. "\x41\x06\xd0\x54\xdf\x21\x0e\x47"
  29709. "\x82\xcd\x39\x6f\xec\x69\x2d\x35"
  29710. "\x15\xa2\x0b\xf3\x51\xee\xc0\x11"
  29711. "\xa9\x2c\x36\x78\x88\xbc\x46\x4c"
  29712. "\x32\xf0\x80\x7a\xcd\x6c\x20\x3a"
  29713. "\x24\x7e\x0d\xb8\x54\x14\x84\x68"
  29714. "\xe9\xf9\x6b\xee\x4c\xf7\x18\xd6"
  29715. "\x8d\x5f\x63\x7c\xbd\x5a\x37\x64"
  29716. "\x57\x78\x8e\x6f\xae\x90\xfc\x31"
  29717. "\x09\x7c\xfc",
  29718. .len = 91,
  29719. }, { /* Taken from the ChaCha20 test vectors, appended 12 random bytes
  29720. to the nonce, zero-padded the stream position from 4 to 8 bytes,
  29721. and recomputed the ciphertext using libsodium's XChaCha20 */
  29722. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29723. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29724. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29725. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29726. .klen = 32,
  29727. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29728. "\x00\x00\x00\x00\x67\xc6\x69\x73"
  29729. "\x51\xff\x4a\xec\x29\xcd\xba\xab"
  29730. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29731. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29732. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29733. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29734. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29735. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29736. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29737. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29738. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29739. .ctext = "\x9c\x49\x2a\xe7\x8a\x2f\x93\xc7"
  29740. "\xb3\x33\x6f\x82\x17\xd8\xc4\x1e"
  29741. "\xad\x80\x11\x11\x1d\x4c\x16\x18"
  29742. "\x07\x73\x9b\x4f\xdb\x7c\xcb\x47"
  29743. "\xfd\xef\x59\x74\xfa\x3f\xe5\x4c"
  29744. "\x9b\xd0\xea\xbc\xba\x56\xad\x32"
  29745. "\x03\xdc\xf8\x2b\xc1\xe1\x75\x67"
  29746. "\x23\x7b\xe6\xfc\xd4\x03\x86\x54",
  29747. .len = 64,
  29748. }, { /* Derived from a ChaCha20 test vector, via the process above */
  29749. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29750. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29751. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29752. "\x00\x00\x00\x00\x00\x00\x00\x01",
  29753. .klen = 32,
  29754. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29755. "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
  29756. "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
  29757. "\x01\x00\x00\x00\x00\x00\x00\x00",
  29758. .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  29759. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  29760. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  29761. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  29762. "\x64\x65\x64\x20\x62\x79\x20\x74"
  29763. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  29764. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  29765. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  29766. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  29767. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  29768. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  29769. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  29770. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  29771. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  29772. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  29773. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  29774. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  29775. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  29776. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  29777. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  29778. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  29779. "\x45\x54\x46\x20\x61\x63\x74\x69"
  29780. "\x76\x69\x74\x79\x20\x69\x73\x20"
  29781. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  29782. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  29783. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  29784. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  29785. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  29786. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  29787. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  29788. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  29789. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  29790. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  29791. "\x54\x46\x20\x73\x65\x73\x73\x69"
  29792. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  29793. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  29794. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  29795. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  29796. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  29797. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  29798. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  29799. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  29800. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  29801. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  29802. "\x20\x77\x68\x69\x63\x68\x20\x61"
  29803. "\x72\x65\x20\x61\x64\x64\x72\x65"
  29804. "\x73\x73\x65\x64\x20\x74\x6f",
  29805. .ctext = "\xf9\xab\x7a\x4a\x60\xb8\x5f\xa0"
  29806. "\x50\xbb\x57\xce\xef\x8c\xc1\xd9"
  29807. "\x24\x15\xb3\x67\x5e\x7f\x01\xf6"
  29808. "\x1c\x22\xf6\xe5\x71\xb1\x43\x64"
  29809. "\x63\x05\xd5\xfc\x5c\x3d\xc0\x0e"
  29810. "\x23\xef\xd3\x3b\xd9\xdc\x7f\xa8"
  29811. "\x58\x26\xb3\xd0\xc2\xd5\x04\x3f"
  29812. "\x0a\x0e\x8f\x17\xe4\xcd\xf7\x2a"
  29813. "\xb4\x2c\x09\xe4\x47\xec\x8b\xfb"
  29814. "\x59\x37\x7a\xa1\xd0\x04\x7e\xaa"
  29815. "\xf1\x98\x5f\x24\x3d\x72\x9a\x43"
  29816. "\xa4\x36\x51\x92\x22\x87\xff\x26"
  29817. "\xce\x9d\xeb\x59\x78\x84\x5e\x74"
  29818. "\x97\x2e\x63\xc0\xef\x29\xf7\x8a"
  29819. "\xb9\xee\x35\x08\x77\x6a\x35\x9a"
  29820. "\x3e\xe6\x4f\x06\x03\x74\x1b\xc1"
  29821. "\x5b\xb3\x0b\x89\x11\x07\xd3\xb7"
  29822. "\x53\xd6\x25\x04\xd9\x35\xb4\x5d"
  29823. "\x4c\x33\x5a\xc2\x42\x4c\xe6\xa4"
  29824. "\x97\x6e\x0e\xd2\xb2\x8b\x2f\x7f"
  29825. "\x28\xe5\x9f\xac\x4b\x2e\x02\xab"
  29826. "\x85\xfa\xa9\x0d\x7c\x2d\x10\xe6"
  29827. "\x91\xab\x55\x63\xf0\xde\x3a\x94"
  29828. "\x25\x08\x10\x03\xc2\x68\xd1\xf4"
  29829. "\xaf\x7d\x9c\x99\xf7\x86\x96\x30"
  29830. "\x60\xfc\x0b\xe6\xa8\x80\x15\xb0"
  29831. "\x81\xb1\x0c\xbe\xb9\x12\x18\x25"
  29832. "\xe9\x0e\xb1\xe7\x23\xb2\xef\x4a"
  29833. "\x22\x8f\xc5\x61\x89\xd4\xe7\x0c"
  29834. "\x64\x36\x35\x61\xb6\x34\x60\xf7"
  29835. "\x7b\x61\x37\x37\x12\x10\xa2\xf6"
  29836. "\x7e\xdb\x7f\x39\x3f\xb6\x8e\x89"
  29837. "\x9e\xf3\xfe\x13\x98\xbb\x66\x5a"
  29838. "\xec\xea\xab\x3f\x9c\x87\xc4\x8c"
  29839. "\x8a\x04\x18\x49\xfc\x77\x11\x50"
  29840. "\x16\xe6\x71\x2b\xee\xc0\x9c\xb6"
  29841. "\x87\xfd\x80\xff\x0b\x1d\x73\x38"
  29842. "\xa4\x1d\x6f\xae\xe4\x12\xd7\x93"
  29843. "\x9d\xcd\x38\x26\x09\x40\x52\xcd"
  29844. "\x67\x01\x67\x26\xe0\x3e\x98\xa8"
  29845. "\xe8\x1a\x13\x41\xbb\x90\x4d\x87"
  29846. "\xbb\x42\x82\x39\xce\x3a\xd0\x18"
  29847. "\x6d\x7b\x71\x8f\xbb\x2c\x6a\xd1"
  29848. "\xbd\xf5\xc7\x8a\x7e\xe1\x1e\x0f"
  29849. "\x0d\x0d\x13\x7c\xd9\xd8\x3c\x91"
  29850. "\xab\xff\x1f\x12\xc3\xee\xe5\x65"
  29851. "\x12\x8d\x7b\x61\xe5\x1f\x98",
  29852. .len = 375,
  29853. }, { /* Derived from a ChaCha20 test vector, via the process above */
  29854. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  29855. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  29856. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  29857. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  29858. .klen = 32,
  29859. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29860. "\x00\x00\x00\x02\x76\x5a\x2e\x63"
  29861. "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
  29862. "\x2a\x00\x00\x00\x00\x00\x00\x00",
  29863. .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
  29864. "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
  29865. "\x6e\x64\x20\x74\x68\x65\x20\x73"
  29866. "\x6c\x69\x74\x68\x79\x20\x74\x6f"
  29867. "\x76\x65\x73\x0a\x44\x69\x64\x20"
  29868. "\x67\x79\x72\x65\x20\x61\x6e\x64"
  29869. "\x20\x67\x69\x6d\x62\x6c\x65\x20"
  29870. "\x69\x6e\x20\x74\x68\x65\x20\x77"
  29871. "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
  29872. "\x20\x6d\x69\x6d\x73\x79\x20\x77"
  29873. "\x65\x72\x65\x20\x74\x68\x65\x20"
  29874. "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
  29875. "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
  29876. "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
  29877. "\x72\x61\x74\x68\x73\x20\x6f\x75"
  29878. "\x74\x67\x72\x61\x62\x65\x2e",
  29879. .ctext = "\x95\xb9\x51\xe7\x8f\xb4\xa4\x03"
  29880. "\xca\x37\xcc\xde\x60\x1d\x8c\xe2"
  29881. "\xf1\xbb\x8a\x13\x7f\x61\x85\xcc"
  29882. "\xad\xf4\xf0\xdc\x86\xa6\x1e\x10"
  29883. "\xbc\x8e\xcb\x38\x2b\xa5\xc8\x8f"
  29884. "\xaa\x03\x3d\x53\x4a\x42\xb1\x33"
  29885. "\xfc\xd3\xef\xf0\x8e\x7e\x10\x9c"
  29886. "\x6f\x12\x5e\xd4\x96\xfe\x5b\x08"
  29887. "\xb6\x48\xf0\x14\x74\x51\x18\x7c"
  29888. "\x07\x92\xfc\xac\x9d\xf1\x94\xc0"
  29889. "\xc1\x9d\xc5\x19\x43\x1f\x1d\xbb"
  29890. "\x07\xf0\x1b\x14\x25\x45\xbb\xcb"
  29891. "\x5c\xe2\x8b\x28\xf3\xcf\x47\x29"
  29892. "\x27\x79\x67\x24\xa6\x87\xc2\x11"
  29893. "\x65\x03\xfa\x45\xf7\x9e\x53\x7a"
  29894. "\x99\xf1\x82\x25\x4f\x8d\x07",
  29895. .len = 127,
  29896. }, { /* Derived from a ChaCha20 test vector, via the process above */
  29897. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  29898. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  29899. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  29900. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  29901. .klen = 32,
  29902. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29903. "\x00\x00\x00\x01\x31\x58\xa3\x5a"
  29904. "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
  29905. "\x1c\x00\x00\x00\x00\x00\x00\x00",
  29906. .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
  29907. "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
  29908. "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
  29909. "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
  29910. "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
  29911. "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
  29912. "\x01\xc6\x67\xda\x03\x91\x18\x90"
  29913. "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
  29914. "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
  29915. "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
  29916. "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
  29917. "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
  29918. "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
  29919. "\x33\x97\xc3\x77\xba\xc5\x70\xde"
  29920. "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
  29921. "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
  29922. "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
  29923. "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
  29924. "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
  29925. "\x79\x49\x41\xf4\x58\x18\xcb\x86"
  29926. "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
  29927. "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
  29928. "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
  29929. "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
  29930. "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
  29931. "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
  29932. "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
  29933. "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
  29934. "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
  29935. "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
  29936. "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
  29937. "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
  29938. "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
  29939. "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
  29940. "\x24\x74\x75\x7f\x95\x81\xb7\x30"
  29941. "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
  29942. "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
  29943. "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
  29944. "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
  29945. "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
  29946. "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
  29947. "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
  29948. "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
  29949. "\x49\x46\x00\x88\x22\x8d\xce\xea"
  29950. "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
  29951. "\x72\x11\xf5\x50\x73\x04\x40\x47"
  29952. "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
  29953. "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
  29954. "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
  29955. "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
  29956. "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
  29957. "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
  29958. "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
  29959. "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
  29960. "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
  29961. "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
  29962. "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
  29963. "\x8b\x10\x67\xa3\x01\x57\x94\x25"
  29964. "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
  29965. "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
  29966. "\x58\xb1\x47\x90\xfe\x42\x21\x72"
  29967. "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
  29968. "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
  29969. "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
  29970. "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
  29971. "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
  29972. "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
  29973. "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
  29974. "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
  29975. "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
  29976. "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
  29977. "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
  29978. "\x65\x69\x8a\x45\x29\xef\x74\x85"
  29979. "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
  29980. "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
  29981. "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
  29982. "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
  29983. "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
  29984. "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
  29985. "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
  29986. "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
  29987. "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
  29988. "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
  29989. "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
  29990. "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
  29991. "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
  29992. "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
  29993. "\x10\x26\x38\x07\xe5\xc7\x36\x80"
  29994. "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
  29995. "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
  29996. "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
  29997. "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
  29998. "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
  29999. "\x83\x66\x80\x47\x80\xe8\xfd\x35"
  30000. "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
  30001. "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
  30002. "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
  30003. "\x25\x94\x10\x5f\x40\x00\x64\x99"
  30004. "\xdc\xae\xd7\x21\x09\x78\x50\x15"
  30005. "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
  30006. "\x87\x6e\x6d\xab\xde\x08\x51\x16"
  30007. "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
  30008. "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
  30009. "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
  30010. "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
  30011. "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
  30012. "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
  30013. "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
  30014. "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
  30015. "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
  30016. "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
  30017. "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
  30018. "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
  30019. "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
  30020. "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
  30021. "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
  30022. "\xb9\x83\x90\xef\x20\x59\x46\xff"
  30023. "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
  30024. "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
  30025. "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
  30026. "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
  30027. "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
  30028. "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
  30029. "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
  30030. "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
  30031. "\x94\x97\xea\xdd\x58\x9e\xae\x76"
  30032. "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
  30033. "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
  30034. "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
  30035. "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
  30036. "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
  30037. "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
  30038. "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
  30039. "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
  30040. "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
  30041. "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
  30042. "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
  30043. "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
  30044. "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
  30045. "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
  30046. "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
  30047. "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
  30048. "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
  30049. "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
  30050. "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
  30051. "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
  30052. "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
  30053. "\xac\xf3\x13\x53\x27\x45\xaf\x64"
  30054. "\x46\xdc\xea\x23\xda\x97\xd1\xab"
  30055. "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
  30056. "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
  30057. "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
  30058. "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
  30059. "\xca\x34\x83\x27\x10\x5b\x68\x45"
  30060. "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
  30061. "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
  30062. "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
  30063. "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
  30064. "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
  30065. "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
  30066. "\x72",
  30067. .ctext = "\x3a\x92\xee\x53\x31\xaf\x2b\x60"
  30068. "\x5f\x55\x8d\x00\x5d\xfc\x74\x97"
  30069. "\x28\x54\xf4\xa5\x75\xf1\x9b\x25"
  30070. "\x62\x1c\xc0\xe0\x13\xc8\x87\x53"
  30071. "\xd0\xf3\xa7\x97\x1f\x3b\x1e\xea"
  30072. "\xe0\xe5\x2a\xd1\xdd\xa4\x3b\x50"
  30073. "\x45\xa3\x0d\x7e\x1b\xc9\xa0\xad"
  30074. "\xb9\x2c\x54\xa6\xc7\x55\x16\xd0"
  30075. "\xc5\x2e\x02\x44\x35\xd0\x7e\x67"
  30076. "\xf2\xc4\x9b\xcd\x95\x10\xcc\x29"
  30077. "\x4b\xfa\x86\x87\xbe\x40\x36\xbe"
  30078. "\xe1\xa3\x52\x89\x55\x20\x9b\xc2"
  30079. "\xab\xf2\x31\x34\x16\xad\xc8\x17"
  30080. "\x65\x24\xc0\xff\x12\x37\xfe\x5a"
  30081. "\x62\x3b\x59\x47\x6c\x5f\x3a\x8e"
  30082. "\x3b\xd9\x30\xc8\x7f\x2f\x88\xda"
  30083. "\x80\xfd\x02\xda\x7f\x9a\x7a\x73"
  30084. "\x59\xc5\x34\x09\x9a\x11\xcb\xa7"
  30085. "\xfc\xf6\xa1\xa0\x60\xfb\x43\xbb"
  30086. "\xf1\xe9\xd7\xc6\x79\x27\x4e\xff"
  30087. "\x22\xb4\x24\xbf\x76\xee\x47\xb9"
  30088. "\x6d\x3f\x8b\xb0\x9c\x3c\x43\xdd"
  30089. "\xff\x25\x2e\x6d\xa4\x2b\xfb\x5d"
  30090. "\x1b\x97\x6c\x55\x0a\x82\x7a\x7b"
  30091. "\x94\x34\xc2\xdb\x2f\x1f\xc1\xea"
  30092. "\xd4\x4d\x17\x46\x3b\x51\x69\x09"
  30093. "\xe4\x99\x32\x25\xfd\x94\xaf\xfb"
  30094. "\x10\xf7\x4f\xdd\x0b\x3c\x8b\x41"
  30095. "\xb3\x6a\xb7\xd1\x33\xa8\x0c\x2f"
  30096. "\x62\x4c\x72\x11\xd7\x74\xe1\x3b"
  30097. "\x38\x43\x66\x7b\x6c\x36\x48\xe7"
  30098. "\xe3\xe7\x9d\xb9\x42\x73\x7a\x2a"
  30099. "\x89\x20\x1a\x41\x80\x03\xf7\x8f"
  30100. "\x61\x78\x13\xbf\xfe\x50\xf5\x04"
  30101. "\x52\xf9\xac\x47\xf8\x62\x4b\xb2"
  30102. "\x24\xa9\xbf\x64\xb0\x18\x69\xd2"
  30103. "\xf5\xe4\xce\xc8\xb1\x87\x75\xd6"
  30104. "\x2c\x24\x79\x00\x7d\x26\xfb\x44"
  30105. "\xe7\x45\x7a\xee\x58\xa5\x83\xc1"
  30106. "\xb4\x24\xab\x23\x2f\x4d\xd7\x4f"
  30107. "\x1c\xc7\xaa\xa9\x50\xf4\xa3\x07"
  30108. "\x12\x13\x89\x74\xdc\x31\x6a\xb2"
  30109. "\xf5\x0f\x13\x8b\xb9\xdb\x85\x1f"
  30110. "\xf5\xbc\x88\xd9\x95\xea\x31\x6c"
  30111. "\x36\x60\xb6\x49\xdc\xc4\xf7\x55"
  30112. "\x3f\x21\xc1\xb5\x92\x18\x5e\xbc"
  30113. "\x9f\x87\x7f\xe7\x79\x25\x40\x33"
  30114. "\xd6\xb9\x33\xd5\x50\xb3\xc7\x89"
  30115. "\x1b\x12\xa0\x46\xdd\xa7\xd8\x3e"
  30116. "\x71\xeb\x6f\x66\xa1\x26\x0c\x67"
  30117. "\xab\xb2\x38\x58\x17\xd8\x44\x3b"
  30118. "\x16\xf0\x8e\x62\x8d\x16\x10\x00"
  30119. "\x32\x8b\xef\xb9\x28\xd3\xc5\xad"
  30120. "\x0a\x19\xa2\xe4\x03\x27\x7d\x94"
  30121. "\x06\x18\xcd\xd6\x27\x00\xf9\x1f"
  30122. "\xb6\xb3\xfe\x96\x35\x5f\xc4\x1c"
  30123. "\x07\x62\x10\x79\x68\x50\xf1\x7e"
  30124. "\x29\xe7\xc4\xc4\xe7\xee\x54\xd6"
  30125. "\x58\x76\x84\x6d\x8d\xe4\x59\x31"
  30126. "\xe9\xf4\xdc\xa1\x1f\xe5\x1a\xd6"
  30127. "\xe6\x64\x46\xf5\x77\x9c\x60\x7a"
  30128. "\x5e\x62\xe3\x0a\xd4\x9f\x7a\x2d"
  30129. "\x7a\xa5\x0a\x7b\x29\x86\x7a\x74"
  30130. "\x74\x71\x6b\xca\x7d\x1d\xaa\xba"
  30131. "\x39\x84\x43\x76\x35\xfe\x4f\x9b"
  30132. "\xbb\xbb\xb5\x6a\x32\xb5\x5d\x41"
  30133. "\x51\xf0\x5b\x68\x03\x47\x4b\x8a"
  30134. "\xca\x88\xf6\x37\xbd\x73\x51\x70"
  30135. "\x66\xfe\x9e\x5f\x21\x9c\xf3\xdd"
  30136. "\xc3\xea\x27\xf9\x64\x94\xe1\x19"
  30137. "\xa0\xa9\xab\x60\xe0\x0e\xf7\x78"
  30138. "\x70\x86\xeb\xe0\xd1\x5c\x05\xd3"
  30139. "\xd7\xca\xe0\xc0\x47\x47\x34\xee"
  30140. "\x11\xa3\xa3\x54\x98\xb7\x49\x8e"
  30141. "\x84\x28\x70\x2c\x9e\xfb\x55\x54"
  30142. "\x4d\xf8\x86\xf7\x85\x7c\xbd\xf3"
  30143. "\x17\xd8\x47\xcb\xac\xf4\x20\x85"
  30144. "\x34\x66\xad\x37\x2d\x5e\x52\xda"
  30145. "\x8a\xfe\x98\x55\x30\xe7\x2d\x2b"
  30146. "\x19\x10\x8e\x7b\x66\x5e\xdc\xe0"
  30147. "\x45\x1f\x7b\xb4\x08\xfb\x8f\xf6"
  30148. "\x8c\x89\x21\x34\x55\x27\xb2\x76"
  30149. "\xb2\x07\xd9\xd6\x68\x9b\xea\x6b"
  30150. "\x2d\xb4\xc4\x35\xdd\xd2\x79\xae"
  30151. "\xc7\xd6\x26\x7f\x12\x01\x8c\xa7"
  30152. "\xe3\xdb\xa8\xf4\xf7\x2b\xec\x99"
  30153. "\x11\x00\xf1\x35\x8c\xcf\xd5\xc9"
  30154. "\xbd\x91\x36\x39\x70\xcf\x7d\x70"
  30155. "\x47\x1a\xfc\x6b\x56\xe0\x3f\x9c"
  30156. "\x60\x49\x01\x72\xa9\xaf\x2c\x9c"
  30157. "\xe8\xab\xda\x8c\x14\x19\xf3\x75"
  30158. "\x07\x17\x9d\x44\x67\x7a\x2e\xef"
  30159. "\xb7\x83\x35\x4a\xd1\x3d\x1c\x84"
  30160. "\x32\xdd\xaa\xea\xca\x1d\xdc\x72"
  30161. "\x2c\xcc\x43\xcd\x5d\xe3\x21\xa4"
  30162. "\xd0\x8a\x4b\x20\x12\xa3\xd5\x86"
  30163. "\x76\x96\xff\x5f\x04\x57\x0f\xe6"
  30164. "\xba\xe8\x76\x50\x0c\x64\x1d\x83"
  30165. "\x9c\x9b\x9a\x9a\x58\x97\x9c\x5c"
  30166. "\xb4\xa4\xa6\x3e\x19\xeb\x8f\x5a"
  30167. "\x61\xb2\x03\x7b\x35\x19\xbe\xa7"
  30168. "\x63\x0c\xfd\xdd\xf9\x90\x6c\x08"
  30169. "\x19\x11\xd3\x65\x4a\xf5\x96\x92"
  30170. "\x59\xaa\x9c\x61\x0c\x29\xa7\xf8"
  30171. "\x14\x39\x37\xbf\x3c\xf2\x16\x72"
  30172. "\x02\xfa\xa2\xf3\x18\x67\x5d\xcb"
  30173. "\xdc\x4d\xbb\x96\xff\x70\x08\x2d"
  30174. "\xc2\xa8\x52\xe1\x34\x5f\x72\xfe"
  30175. "\x64\xbf\xca\xa7\x74\x38\xfb\x74"
  30176. "\x55\x9c\xfa\x8a\xed\xfb\x98\xeb"
  30177. "\x58\x2e\x6c\xe1\x52\x76\x86\xd7"
  30178. "\xcf\xa1\xa4\xfc\xb2\x47\x41\x28"
  30179. "\xa3\xc1\xe5\xfd\x53\x19\x28\x2b"
  30180. "\x37\x04\x65\x96\x99\x7a\x28\x0f"
  30181. "\x07\x68\x4b\xc7\x52\x0a\x55\x35"
  30182. "\x40\x19\x95\x61\xe8\x59\x40\x1f"
  30183. "\x9d\xbf\x78\x7d\x8f\x84\xff\x6f"
  30184. "\xd0\xd5\x63\xd2\x22\xbd\xc8\x4e"
  30185. "\xfb\xe7\x9f\x06\xe6\xe7\x39\x6d"
  30186. "\x6a\x96\x9f\xf0\x74\x7e\xc9\x35"
  30187. "\xb7\x26\xb8\x1c\x0a\xa6\x27\x2c"
  30188. "\xa2\x2b\xfe\xbe\x0f\x07\x73\xae"
  30189. "\x7f\x7f\x54\xf5\x7c\x6a\x0a\x56"
  30190. "\x49\xd4\x81\xe5\x85\x53\x99\x1f"
  30191. "\x95\x05\x13\x58\x8d\x0e\x1b\x90"
  30192. "\xc3\x75\x48\x64\x58\x98\x67\x84"
  30193. "\xae\xe2\x21\xa2\x8a\x04\x0a\x0b"
  30194. "\x61\xaa\xb0\xd4\x28\x60\x7a\xf8"
  30195. "\xbc\x52\xfb\x24\x7f\xed\x0d\x2a"
  30196. "\x0a\xb2\xf9\xc6\x95\xb5\x11\xc9"
  30197. "\xf4\x0f\x26\x11\xcf\x2a\x57\x87"
  30198. "\x7a\xf3\xe7\x94\x65\xc2\xb5\xb3"
  30199. "\xab\x98\xe3\xc1\x2b\x59\x19\x7c"
  30200. "\xd6\xf3\xf9\xbf\xff\x6d\xc6\x82"
  30201. "\x13\x2f\x4a\x2e\xcd\x26\xfe\x2d"
  30202. "\x01\x70\xf4\xc2\x7f\x1f\x4c\xcb"
  30203. "\x47\x77\x0c\xa0\xa3\x03\xec\xda"
  30204. "\xa9\xbf\x0d\x2d\xae\xe4\xb8\x7b"
  30205. "\xa9\xbc\x08\xb4\x68\x2e\xc5\x60"
  30206. "\x8d\x87\x41\x2b\x0f\x69\xf0\xaf"
  30207. "\x5f\xba\x72\x20\x0f\x33\xcd\x6d"
  30208. "\x36\x7d\x7b\xd5\x05\xf1\x4b\x05"
  30209. "\xc4\xfc\x7f\x80\xb9\x4d\xbd\xf7"
  30210. "\x7c\x84\x07\x01\xc2\x40\x66\x5b"
  30211. "\x98\xc7\x2c\xe3\x97\xfa\xdf\x87"
  30212. "\xa0\x1f\xe9\x21\x42\x0f\x3b\xeb"
  30213. "\x89\x1c\x3b\xca\x83\x61\x77\x68"
  30214. "\x84\xbb\x60\x87\x38\x2e\x25\xd5"
  30215. "\x9e\x04\x41\x70\xac\xda\xc0\x9c"
  30216. "\x9c\x69\xea\x8d\x4e\x55\x2a\x29"
  30217. "\xed\x05\x4b\x7b\x73\x71\x90\x59"
  30218. "\x4d\xc8\xd8\x44\xf0\x4c\xe1\x5e"
  30219. "\x84\x47\x55\xcc\x32\x3f\xe7\x97"
  30220. "\x42\xc6\x32\xac\x40\xe5\xa5\xc7"
  30221. "\x8b\xed\xdb\xf7\x83\xd6\xb1\xc2"
  30222. "\x52\x5e\x34\xb7\xeb\x6e\xd9\xfc"
  30223. "\xe5\x93\x9a\x97\x3e\xb0\xdc\xd9"
  30224. "\xd7\x06\x10\xb6\x1d\x80\x59\xdd"
  30225. "\x0d\xfe\x64\x35\xcd\x5d\xec\xf0"
  30226. "\xba\xd0\x34\xc9\x2d\x91\xc5\x17"
  30227. "\x11",
  30228. .len = 1281,
  30229. }, { /* test vector from https://tools.ietf.org/html/draft-arciszewski-xchacha-02#appendix-A.3.2 */
  30230. .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
  30231. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  30232. "\x90\x91\x92\x93\x94\x95\x96\x97"
  30233. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
  30234. .klen = 32,
  30235. .iv = "\x40\x41\x42\x43\x44\x45\x46\x47"
  30236. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  30237. "\x50\x51\x52\x53\x54\x55\x56\x58"
  30238. "\x00\x00\x00\x00\x00\x00\x00\x00",
  30239. .ptext = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
  30240. "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
  30241. "\x75\x6e\x63\x65\x64\x20\x22\x64"
  30242. "\x6f\x6c\x65\x22\x29\x20\x69\x73"
  30243. "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
  30244. "\x6f\x77\x6e\x20\x61\x73\x20\x74"
  30245. "\x68\x65\x20\x41\x73\x69\x61\x74"
  30246. "\x69\x63\x20\x77\x69\x6c\x64\x20"
  30247. "\x64\x6f\x67\x2c\x20\x72\x65\x64"
  30248. "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
  30249. "\x64\x20\x77\x68\x69\x73\x74\x6c"
  30250. "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
  30251. "\x20\x49\x74\x20\x69\x73\x20\x61"
  30252. "\x62\x6f\x75\x74\x20\x74\x68\x65"
  30253. "\x20\x73\x69\x7a\x65\x20\x6f\x66"
  30254. "\x20\x61\x20\x47\x65\x72\x6d\x61"
  30255. "\x6e\x20\x73\x68\x65\x70\x68\x65"
  30256. "\x72\x64\x20\x62\x75\x74\x20\x6c"
  30257. "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
  30258. "\x65\x20\x6c\x69\x6b\x65\x20\x61"
  30259. "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
  30260. "\x67\x67\x65\x64\x20\x66\x6f\x78"
  30261. "\x2e\x20\x54\x68\x69\x73\x20\x68"
  30262. "\x69\x67\x68\x6c\x79\x20\x65\x6c"
  30263. "\x75\x73\x69\x76\x65\x20\x61\x6e"
  30264. "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
  30265. "\x64\x20\x6a\x75\x6d\x70\x65\x72"
  30266. "\x20\x69\x73\x20\x63\x6c\x61\x73"
  30267. "\x73\x69\x66\x69\x65\x64\x20\x77"
  30268. "\x69\x74\x68\x20\x77\x6f\x6c\x76"
  30269. "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
  30270. "\x74\x65\x73\x2c\x20\x6a\x61\x63"
  30271. "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
  30272. "\x64\x20\x66\x6f\x78\x65\x73\x20"
  30273. "\x69\x6e\x20\x74\x68\x65\x20\x74"
  30274. "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
  30275. "\x20\x66\x61\x6d\x69\x6c\x79\x20"
  30276. "\x43\x61\x6e\x69\x64\x61\x65\x2e",
  30277. .ctext = "\x45\x59\xab\xba\x4e\x48\xc1\x61"
  30278. "\x02\xe8\xbb\x2c\x05\xe6\x94\x7f"
  30279. "\x50\xa7\x86\xde\x16\x2f\x9b\x0b"
  30280. "\x7e\x59\x2a\x9b\x53\xd0\xd4\xe9"
  30281. "\x8d\x8d\x64\x10\xd5\x40\xa1\xa6"
  30282. "\x37\x5b\x26\xd8\x0d\xac\xe4\xfa"
  30283. "\xb5\x23\x84\xc7\x31\xac\xbf\x16"
  30284. "\xa5\x92\x3c\x0c\x48\xd3\x57\x5d"
  30285. "\x4d\x0d\x2c\x67\x3b\x66\x6f\xaa"
  30286. "\x73\x10\x61\x27\x77\x01\x09\x3a"
  30287. "\x6b\xf7\xa1\x58\xa8\x86\x42\x92"
  30288. "\xa4\x1c\x48\xe3\xa9\xb4\xc0\xda"
  30289. "\xec\xe0\xf8\xd9\x8d\x0d\x7e\x05"
  30290. "\xb3\x7a\x30\x7b\xbb\x66\x33\x31"
  30291. "\x64\xec\x9e\x1b\x24\xea\x0d\x6c"
  30292. "\x3f\xfd\xdc\xec\x4f\x68\xe7\x44"
  30293. "\x30\x56\x19\x3a\x03\xc8\x10\xe1"
  30294. "\x13\x44\xca\x06\xd8\xed\x8a\x2b"
  30295. "\xfb\x1e\x8d\x48\xcf\xa6\xbc\x0e"
  30296. "\xb4\xe2\x46\x4b\x74\x81\x42\x40"
  30297. "\x7c\x9f\x43\x1a\xee\x76\x99\x60"
  30298. "\xe1\x5b\xa8\xb9\x68\x90\x46\x6e"
  30299. "\xf2\x45\x75\x99\x85\x23\x85\xc6"
  30300. "\x61\xf7\x52\xce\x20\xf9\xda\x0c"
  30301. "\x09\xab\x6b\x19\xdf\x74\xe7\x6a"
  30302. "\x95\x96\x74\x46\xf8\xd0\xfd\x41"
  30303. "\x5e\x7b\xee\x2a\x12\xa1\x14\xc2"
  30304. "\x0e\xb5\x29\x2a\xe7\xa3\x49\xae"
  30305. "\x57\x78\x20\xd5\x52\x0a\x1f\x3f"
  30306. "\xb6\x2a\x17\xce\x6a\x7e\x68\xfa"
  30307. "\x7c\x79\x11\x1d\x88\x60\x92\x0b"
  30308. "\xc0\x48\xef\x43\xfe\x84\x48\x6c"
  30309. "\xcb\x87\xc2\x5f\x0a\xe0\x45\xf0"
  30310. "\xcc\xe1\xe7\x98\x9a\x9a\xa2\x20"
  30311. "\xa2\x8b\xdd\x48\x27\xe7\x51\xa2"
  30312. "\x4a\x6d\x5c\x62\xd7\x90\xa6\x63"
  30313. "\x93\xb9\x31\x11\xc1\xa5\x5d\xd7"
  30314. "\x42\x1a\x10\x18\x49\x74\xc7\xc5",
  30315. .len = 304,
  30316. }
  30317. };
  30318. /*
  30319. * Same as XChaCha20 test vectors above, but recomputed the ciphertext with
  30320. * XChaCha12, using a modified libsodium.
  30321. */
  30322. static const struct cipher_testvec xchacha12_tv_template[] = {
  30323. {
  30324. .key = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
  30325. "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
  30326. "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
  30327. "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
  30328. .klen = 32,
  30329. .iv = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
  30330. "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
  30331. "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
  30332. "\x00\x00\x00\x00\x00\x00\x00\x00",
  30333. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30334. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30335. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30336. "\x00\x00\x00\x00\x00",
  30337. .ctext = "\x1b\x78\x7f\xd7\xa1\x41\x68\xab"
  30338. "\x3d\x3f\xd1\x7b\x69\x56\xb2\xd5"
  30339. "\x43\xce\xeb\xaf\x36\xf0\x29\x9d"
  30340. "\x3a\xfb\x18\xae\x1b",
  30341. .len = 29,
  30342. }, {
  30343. .key = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
  30344. "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
  30345. "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
  30346. "\x22\x35\xea\xaf\x60\x1d\x62\x32",
  30347. .klen = 32,
  30348. .iv = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
  30349. "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
  30350. "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
  30351. "\x00\x00\x00\x00\x00\x00\x00\x00",
  30352. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30353. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30354. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30355. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30356. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30357. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30358. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30359. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30360. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30361. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30362. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30363. "\x00\x00\x00",
  30364. .ctext = "\xfb\x32\x09\x1d\x83\x05\xae\x4c"
  30365. "\x13\x1f\x12\x71\xf2\xca\xb2\xeb"
  30366. "\x5b\x83\x14\x7d\x83\xf6\x57\x77"
  30367. "\x2e\x40\x1f\x92\x2c\xf9\xec\x35"
  30368. "\x34\x1f\x93\xdf\xfb\x30\xd7\x35"
  30369. "\x03\x05\x78\xc1\x20\x3b\x7a\xe3"
  30370. "\x62\xa3\x89\xdc\x11\x11\x45\xa8"
  30371. "\x82\x89\xa0\xf1\x4e\xc7\x0f\x11"
  30372. "\x69\xdd\x0c\x84\x2b\x89\x5c\xdc"
  30373. "\xf0\xde\x01\xef\xc5\x65\x79\x23"
  30374. "\x87\x67\xd6\x50\xd9\x8d\xd9\x92"
  30375. "\x54\x5b\x0e",
  30376. .len = 91,
  30377. }, {
  30378. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30379. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30380. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30381. "\x00\x00\x00\x00\x00\x00\x00\x00",
  30382. .klen = 32,
  30383. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30384. "\x00\x00\x00\x00\x67\xc6\x69\x73"
  30385. "\x51\xff\x4a\xec\x29\xcd\xba\xab"
  30386. "\x00\x00\x00\x00\x00\x00\x00\x00",
  30387. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30388. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30389. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30390. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30391. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30392. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30393. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30394. "\x00\x00\x00\x00\x00\x00\x00\x00",
  30395. .ctext = "\xdf\x2d\xc6\x21\x2a\x9d\xa1\xbb"
  30396. "\xc2\x77\x66\x0c\x5c\x46\xef\xa7"
  30397. "\x79\x1b\xb9\xdf\x55\xe2\xf9\x61"
  30398. "\x4c\x7b\xa4\x52\x24\xaf\xa2\xda"
  30399. "\xd1\x8f\x8f\xa2\x9e\x53\x4d\xc4"
  30400. "\xb8\x55\x98\x08\x7c\x08\xd4\x18"
  30401. "\x67\x8f\xef\x50\xb1\x5f\xa5\x77"
  30402. "\x4c\x25\xe7\x86\x26\x42\xca\x44",
  30403. .len = 64,
  30404. }, {
  30405. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30406. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30407. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30408. "\x00\x00\x00\x00\x00\x00\x00\x01",
  30409. .klen = 32,
  30410. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30411. "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
  30412. "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
  30413. "\x01\x00\x00\x00\x00\x00\x00\x00",
  30414. .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  30415. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  30416. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  30417. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  30418. "\x64\x65\x64\x20\x62\x79\x20\x74"
  30419. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  30420. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  30421. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  30422. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  30423. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  30424. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  30425. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  30426. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  30427. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  30428. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  30429. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  30430. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  30431. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  30432. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  30433. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  30434. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  30435. "\x45\x54\x46\x20\x61\x63\x74\x69"
  30436. "\x76\x69\x74\x79\x20\x69\x73\x20"
  30437. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  30438. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  30439. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  30440. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  30441. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  30442. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  30443. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  30444. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  30445. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  30446. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  30447. "\x54\x46\x20\x73\x65\x73\x73\x69"
  30448. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  30449. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  30450. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  30451. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  30452. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  30453. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  30454. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  30455. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  30456. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  30457. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  30458. "\x20\x77\x68\x69\x63\x68\x20\x61"
  30459. "\x72\x65\x20\x61\x64\x64\x72\x65"
  30460. "\x73\x73\x65\x64\x20\x74\x6f",
  30461. .ctext = "\xe4\xa6\xc8\x30\xc4\x23\x13\xd6"
  30462. "\x08\x4d\xc9\xb7\xa5\x64\x7c\xb9"
  30463. "\x71\xe2\xab\x3e\xa8\x30\x8a\x1c"
  30464. "\x4a\x94\x6d\x9b\xe0\xb3\x6f\xf1"
  30465. "\xdc\xe3\x1b\xb3\xa9\x6d\x0d\xd6"
  30466. "\xd0\xca\x12\xef\xe7\x5f\xd8\x61"
  30467. "\x3c\x82\xd3\x99\x86\x3c\x6f\x66"
  30468. "\x02\x06\xdc\x55\xf9\xed\xdf\x38"
  30469. "\xb4\xa6\x17\x00\x7f\xef\xbf\x4f"
  30470. "\xf8\x36\xf1\x60\x7e\x47\xaf\xdb"
  30471. "\x55\x9b\x12\xcb\x56\x44\xa7\x1f"
  30472. "\xd3\x1a\x07\x3b\x00\xec\xe6\x4c"
  30473. "\xa2\x43\x27\xdf\x86\x19\x4f\x16"
  30474. "\xed\xf9\x4a\xf3\x63\x6f\xfa\x7f"
  30475. "\x78\x11\xf6\x7d\x97\x6f\xec\x6f"
  30476. "\x85\x0f\x5c\x36\x13\x8d\x87\xe0"
  30477. "\x80\xb1\x69\x0b\x98\x89\x9c\x4e"
  30478. "\xf8\xdd\xee\x5c\x0a\x85\xce\xd4"
  30479. "\xea\x1b\x48\xbe\x08\xf8\xe2\xa8"
  30480. "\xa5\xb0\x3c\x79\xb1\x15\xb4\xb9"
  30481. "\x75\x10\x95\x35\x81\x7e\x26\xe6"
  30482. "\x78\xa4\x88\xcf\xdb\x91\x34\x18"
  30483. "\xad\xd7\x8e\x07\x7d\xab\x39\xf9"
  30484. "\xa3\x9e\xa5\x1d\xbb\xed\x61\xfd"
  30485. "\xdc\xb7\x5a\x27\xfc\xb5\xc9\x10"
  30486. "\xa8\xcc\x52\x7f\x14\x76\x90\xe7"
  30487. "\x1b\x29\x60\x74\xc0\x98\x77\xbb"
  30488. "\xe0\x54\xbb\x27\x49\x59\x1e\x62"
  30489. "\x3d\xaf\x74\x06\xa4\x42\x6f\xc6"
  30490. "\x52\x97\xc4\x1d\xc4\x9f\xe2\xe5"
  30491. "\x38\x57\x91\xd1\xa2\x28\xcc\x40"
  30492. "\xcc\x70\x59\x37\xfc\x9f\x4b\xda"
  30493. "\xa0\xeb\x97\x9a\x7d\xed\x14\x5c"
  30494. "\x9c\xb7\x93\x26\x41\xa8\x66\xdd"
  30495. "\x87\x6a\xc0\xd3\xc2\xa9\x3e\xae"
  30496. "\xe9\x72\xfe\xd1\xb3\xac\x38\xea"
  30497. "\x4d\x15\xa9\xd5\x36\x61\xe9\x96"
  30498. "\x6c\x23\xf8\x43\xe4\x92\x29\xd9"
  30499. "\x8b\x78\xf7\x0a\x52\xe0\x19\x5b"
  30500. "\x59\x69\x5b\x5d\xa1\x53\xc4\x68"
  30501. "\xe1\xbb\xac\x89\x14\xe2\xe2\x85"
  30502. "\x41\x18\xf5\xb3\xd1\xfa\x68\x19"
  30503. "\x44\x78\xdc\xcf\xe7\x88\x2d\x52"
  30504. "\x5f\x40\xb5\x7e\xf8\x88\xa2\xae"
  30505. "\x4a\xb2\x07\x35\x9d\x9b\x07\x88"
  30506. "\xb7\x00\xd0\x0c\xb6\xa0\x47\x59"
  30507. "\xda\x4e\xc9\xab\x9b\x8a\x7b",
  30508. .len = 375,
  30509. }, {
  30510. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  30511. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  30512. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  30513. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  30514. .klen = 32,
  30515. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30516. "\x00\x00\x00\x02\x76\x5a\x2e\x63"
  30517. "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
  30518. "\x2a\x00\x00\x00\x00\x00\x00\x00",
  30519. .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
  30520. "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
  30521. "\x6e\x64\x20\x74\x68\x65\x20\x73"
  30522. "\x6c\x69\x74\x68\x79\x20\x74\x6f"
  30523. "\x76\x65\x73\x0a\x44\x69\x64\x20"
  30524. "\x67\x79\x72\x65\x20\x61\x6e\x64"
  30525. "\x20\x67\x69\x6d\x62\x6c\x65\x20"
  30526. "\x69\x6e\x20\x74\x68\x65\x20\x77"
  30527. "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
  30528. "\x20\x6d\x69\x6d\x73\x79\x20\x77"
  30529. "\x65\x72\x65\x20\x74\x68\x65\x20"
  30530. "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
  30531. "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
  30532. "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
  30533. "\x72\x61\x74\x68\x73\x20\x6f\x75"
  30534. "\x74\x67\x72\x61\x62\x65\x2e",
  30535. .ctext = "\xb9\x68\xbc\x6a\x24\xbc\xcc\xd8"
  30536. "\x9b\x2a\x8d\x5b\x96\xaf\x56\xe3"
  30537. "\x11\x61\xe7\xa7\x9b\xce\x4e\x7d"
  30538. "\x60\x02\x48\xac\xeb\xd5\x3a\x26"
  30539. "\x9d\x77\x3b\xb5\x32\x13\x86\x8e"
  30540. "\x20\x82\x26\x72\xae\x64\x1b\x7e"
  30541. "\x2e\x01\x68\xb4\x87\x45\xa1\x24"
  30542. "\xe4\x48\x40\xf0\xaa\xac\xee\xa9"
  30543. "\xfc\x31\xad\x9d\x89\xa3\xbb\xd2"
  30544. "\xe4\x25\x13\xad\x0f\x5e\xdf\x3c"
  30545. "\x27\xab\xb8\x62\x46\x22\x30\x48"
  30546. "\x55\x2c\x4e\x84\x78\x1d\x0d\x34"
  30547. "\x8d\x3c\x91\x0a\x7f\x5b\x19\x9f"
  30548. "\x97\x05\x4c\xa7\x62\x47\x8b\xc5"
  30549. "\x44\x2e\x20\x33\xdd\xa0\x82\xa9"
  30550. "\x25\x76\x37\xe6\x3c\x67\x5b",
  30551. .len = 127,
  30552. }, {
  30553. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  30554. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  30555. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  30556. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  30557. .klen = 32,
  30558. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30559. "\x00\x00\x00\x01\x31\x58\xa3\x5a"
  30560. "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
  30561. "\x1c\x00\x00\x00\x00\x00\x00\x00",
  30562. .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
  30563. "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
  30564. "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
  30565. "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
  30566. "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
  30567. "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
  30568. "\x01\xc6\x67\xda\x03\x91\x18\x90"
  30569. "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
  30570. "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
  30571. "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
  30572. "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
  30573. "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
  30574. "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
  30575. "\x33\x97\xc3\x77\xba\xc5\x70\xde"
  30576. "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
  30577. "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
  30578. "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
  30579. "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
  30580. "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
  30581. "\x79\x49\x41\xf4\x58\x18\xcb\x86"
  30582. "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
  30583. "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
  30584. "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
  30585. "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
  30586. "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
  30587. "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
  30588. "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
  30589. "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
  30590. "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
  30591. "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
  30592. "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
  30593. "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
  30594. "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
  30595. "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
  30596. "\x24\x74\x75\x7f\x95\x81\xb7\x30"
  30597. "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
  30598. "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
  30599. "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
  30600. "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
  30601. "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
  30602. "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
  30603. "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
  30604. "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
  30605. "\x49\x46\x00\x88\x22\x8d\xce\xea"
  30606. "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
  30607. "\x72\x11\xf5\x50\x73\x04\x40\x47"
  30608. "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
  30609. "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
  30610. "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
  30611. "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
  30612. "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
  30613. "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
  30614. "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
  30615. "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
  30616. "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
  30617. "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
  30618. "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
  30619. "\x8b\x10\x67\xa3\x01\x57\x94\x25"
  30620. "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
  30621. "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
  30622. "\x58\xb1\x47\x90\xfe\x42\x21\x72"
  30623. "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
  30624. "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
  30625. "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
  30626. "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
  30627. "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
  30628. "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
  30629. "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
  30630. "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
  30631. "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
  30632. "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
  30633. "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
  30634. "\x65\x69\x8a\x45\x29\xef\x74\x85"
  30635. "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
  30636. "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
  30637. "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
  30638. "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
  30639. "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
  30640. "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
  30641. "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
  30642. "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
  30643. "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
  30644. "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
  30645. "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
  30646. "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
  30647. "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
  30648. "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
  30649. "\x10\x26\x38\x07\xe5\xc7\x36\x80"
  30650. "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
  30651. "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
  30652. "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
  30653. "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
  30654. "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
  30655. "\x83\x66\x80\x47\x80\xe8\xfd\x35"
  30656. "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
  30657. "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
  30658. "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
  30659. "\x25\x94\x10\x5f\x40\x00\x64\x99"
  30660. "\xdc\xae\xd7\x21\x09\x78\x50\x15"
  30661. "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
  30662. "\x87\x6e\x6d\xab\xde\x08\x51\x16"
  30663. "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
  30664. "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
  30665. "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
  30666. "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
  30667. "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
  30668. "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
  30669. "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
  30670. "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
  30671. "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
  30672. "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
  30673. "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
  30674. "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
  30675. "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
  30676. "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
  30677. "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
  30678. "\xb9\x83\x90\xef\x20\x59\x46\xff"
  30679. "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
  30680. "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
  30681. "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
  30682. "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
  30683. "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
  30684. "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
  30685. "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
  30686. "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
  30687. "\x94\x97\xea\xdd\x58\x9e\xae\x76"
  30688. "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
  30689. "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
  30690. "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
  30691. "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
  30692. "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
  30693. "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
  30694. "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
  30695. "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
  30696. "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
  30697. "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
  30698. "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
  30699. "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
  30700. "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
  30701. "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
  30702. "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
  30703. "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
  30704. "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
  30705. "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
  30706. "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
  30707. "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
  30708. "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
  30709. "\xac\xf3\x13\x53\x27\x45\xaf\x64"
  30710. "\x46\xdc\xea\x23\xda\x97\xd1\xab"
  30711. "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
  30712. "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
  30713. "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
  30714. "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
  30715. "\xca\x34\x83\x27\x10\x5b\x68\x45"
  30716. "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
  30717. "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
  30718. "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
  30719. "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
  30720. "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
  30721. "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
  30722. "\x72",
  30723. .ctext = "\xe1\xb6\x8b\x5c\x80\xb8\xcc\x08"
  30724. "\x1b\x84\xb2\xd1\xad\xa4\x70\xac"
  30725. "\x67\xa9\x39\x27\xac\xb4\x5b\xb7"
  30726. "\x4c\x26\x77\x23\x1d\xce\x0a\xbe"
  30727. "\x18\x9e\x42\x8b\xbd\x7f\xd6\xf1"
  30728. "\xf1\x6b\xe2\x6d\x7f\x92\x0e\xcb"
  30729. "\xb8\x79\xba\xb4\xac\x7e\x2d\xc0"
  30730. "\x9e\x83\x81\x91\xd5\xea\xc3\x12"
  30731. "\x8d\xa4\x26\x70\xa4\xf9\x71\x0b"
  30732. "\xbd\x2e\xe1\xb3\x80\x42\x25\xb3"
  30733. "\x0b\x31\x99\xe1\x0d\xde\xa6\x90"
  30734. "\xf2\xa3\x10\xf7\xe5\xf3\x83\x1e"
  30735. "\x2c\xfb\x4d\xf0\x45\x3d\x28\x3c"
  30736. "\xb8\xf1\xcb\xbf\x67\xd8\x43\x5a"
  30737. "\x9d\x7b\x73\x29\x88\x0f\x13\x06"
  30738. "\x37\x50\x0d\x7c\xe6\x9b\x07\xdd"
  30739. "\x7e\x01\x1f\x81\x90\x10\x69\xdb"
  30740. "\xa4\xad\x8a\x5e\xac\x30\x72\xf2"
  30741. "\x36\xcd\xe3\x23\x49\x02\x93\xfa"
  30742. "\x3d\xbb\xe2\x98\x83\xeb\xe9\x8d"
  30743. "\xb3\x8f\x11\xaa\x53\xdb\xaf\x2e"
  30744. "\x95\x13\x99\x3d\x71\xbd\x32\x92"
  30745. "\xdd\xfc\x9d\x5e\x6f\x63\x2c\xee"
  30746. "\x91\x1f\x4c\x64\x3d\x87\x55\x0f"
  30747. "\xcc\x3d\x89\x61\x53\x02\x57\x8f"
  30748. "\xe4\x77\x29\x32\xaf\xa6\x2f\x0a"
  30749. "\xae\x3c\x3f\x3f\xf4\xfb\x65\x52"
  30750. "\xc5\xc1\x78\x78\x53\x28\xad\xed"
  30751. "\xd1\x67\x37\xc7\x59\x70\xcd\x0a"
  30752. "\xb8\x0f\x80\x51\x9f\xc0\x12\x5e"
  30753. "\x06\x0a\x7e\xec\x24\x5f\x73\x00"
  30754. "\xb1\x0b\x31\x47\x4f\x73\x8d\xb4"
  30755. "\xce\xf3\x55\x45\x6c\x84\x27\xba"
  30756. "\xb9\x6f\x03\x4a\xeb\x98\x88\x6e"
  30757. "\x53\xed\x25\x19\x0d\x8f\xfe\xca"
  30758. "\x60\xe5\x00\x93\x6e\x3c\xff\x19"
  30759. "\xae\x08\x3b\x8a\xa6\x84\x05\xfe"
  30760. "\x9b\x59\xa0\x8c\xc8\x05\x45\xf5"
  30761. "\x05\x37\xdc\x45\x6f\x8b\x95\x8c"
  30762. "\x4e\x11\x45\x7a\xce\x21\xa5\xf7"
  30763. "\x71\x67\xb9\xce\xd7\xf9\xe9\x5e"
  30764. "\x60\xf5\x53\x7a\xa8\x85\x14\x03"
  30765. "\xa0\x92\xec\xf3\x51\x80\x84\xc4"
  30766. "\xdc\x11\x9e\x57\xce\x4b\x45\xcf"
  30767. "\x90\x95\x85\x0b\x96\xe9\xee\x35"
  30768. "\x10\xb8\x9b\xf2\x59\x4a\xc6\x7e"
  30769. "\x85\xe5\x6f\x38\x51\x93\x40\x0c"
  30770. "\x99\xd7\x7f\x32\xa8\x06\x27\xd1"
  30771. "\x2b\xd5\xb5\x3a\x1a\xe1\x5e\xda"
  30772. "\xcd\x5a\x50\x30\x3c\xc7\xe7\x65"
  30773. "\xa6\x07\x0b\x98\x91\xc6\x20\x27"
  30774. "\x2a\x03\x63\x1b\x1e\x3d\xaf\xc8"
  30775. "\x71\x48\x46\x6a\x64\x28\xf9\x3d"
  30776. "\xd1\x1d\xab\xc8\x40\x76\xc2\x39"
  30777. "\x4e\x00\x75\xd2\x0e\x82\x58\x8c"
  30778. "\xd3\x73\x5a\xea\x46\x89\xbe\xfd"
  30779. "\x4e\x2c\x0d\x94\xaa\x9b\x68\xac"
  30780. "\x86\x87\x30\x7e\xa9\x16\xcd\x59"
  30781. "\xd2\xa6\xbe\x0a\xd8\xf5\xfd\x2d"
  30782. "\x49\x69\xd2\x1a\x90\xd2\x1b\xed"
  30783. "\xff\x71\x04\x87\x87\x21\xc4\xb8"
  30784. "\x1f\x5b\x51\x33\xd0\xd6\x59\x9a"
  30785. "\x03\x0e\xd3\x8b\xfb\x57\x73\xfd"
  30786. "\x5a\x52\x63\x82\xc8\x85\x2f\xcb"
  30787. "\x74\x6d\x4e\xd9\x68\x37\x85\x6a"
  30788. "\xd4\xfb\x94\xed\x8d\xd1\x1a\xaf"
  30789. "\x76\xa7\xb7\x88\xd0\x2b\x4e\xda"
  30790. "\xec\x99\x94\x27\x6f\x87\x8c\xdf"
  30791. "\x4b\x5e\xa6\x66\xdd\xcb\x33\x7b"
  30792. "\x64\x94\x31\xa8\x37\xa6\x1d\xdb"
  30793. "\x0d\x5c\x93\xa4\x40\xf9\x30\x53"
  30794. "\x4b\x74\x8d\xdd\xf6\xde\x3c\xac"
  30795. "\x5c\x80\x01\x3a\xef\xb1\x9a\x02"
  30796. "\x0c\x22\x8e\xe7\x44\x09\x74\x4c"
  30797. "\xf2\x9a\x27\x69\x7f\x12\x32\x36"
  30798. "\xde\x92\xdf\xde\x8f\x5b\x31\xab"
  30799. "\x4a\x01\x26\xe0\xb1\xda\xe8\x37"
  30800. "\x21\x64\xe8\xff\x69\xfc\x9e\x41"
  30801. "\xd2\x96\x2d\x18\x64\x98\x33\x78"
  30802. "\x24\x61\x73\x9b\x47\x29\xf1\xa7"
  30803. "\xcb\x27\x0f\xf0\x85\x6d\x8c\x9d"
  30804. "\x2c\x95\x9e\xe5\xb2\x8e\x30\x29"
  30805. "\x78\x8a\x9d\x65\xb4\x8e\xde\x7b"
  30806. "\xd9\x00\x50\xf5\x7f\x81\xc3\x1b"
  30807. "\x25\x85\xeb\xc2\x8c\x33\x22\x1e"
  30808. "\x68\x38\x22\x30\xd8\x2e\x00\x98"
  30809. "\x85\x16\x06\x56\xb4\x81\x74\x20"
  30810. "\x95\xdb\x1c\x05\x19\xe8\x23\x4d"
  30811. "\x65\x5d\xcc\xd8\x7f\xc4\x2d\x0f"
  30812. "\x57\x26\x71\x07\xad\xaa\x71\x9f"
  30813. "\x19\x76\x2f\x25\x51\x88\xe4\xc0"
  30814. "\x82\x6e\x08\x05\x37\x04\xee\x25"
  30815. "\x23\x90\xe9\x4e\xce\x9b\x16\xc1"
  30816. "\x31\xe7\x6e\x2c\x1b\xe1\x85\x9a"
  30817. "\x0c\x8c\xbb\x12\x1e\x68\x7b\x93"
  30818. "\xa9\x3c\x39\x56\x23\x3e\x6e\xc7"
  30819. "\x77\x84\xd3\xe0\x86\x59\xaa\xb9"
  30820. "\xd5\x53\x58\xc9\x0a\x83\x5f\x85"
  30821. "\xd8\x47\x14\x67\x8a\x3c\x17\xe0"
  30822. "\xab\x02\x51\xea\xf1\xf0\x4f\x30"
  30823. "\x7d\xe0\x92\xc2\x5f\xfb\x19\x5a"
  30824. "\x3f\xbd\xf4\x39\xa4\x31\x0c\x39"
  30825. "\xd1\xae\x4e\xf7\x65\x7f\x1f\xce"
  30826. "\xc2\x39\xd1\x84\xd4\xe5\x02\xe0"
  30827. "\x58\xaa\xf1\x5e\x81\xaf\x7f\x72"
  30828. "\x0f\x08\x99\x43\xb9\xd8\xac\x41"
  30829. "\x35\x55\xf2\xb2\xd4\x98\xb8\x3b"
  30830. "\x2b\x3c\x3e\x16\x06\x31\xfc\x79"
  30831. "\x47\x38\x63\x51\xc5\xd0\x26\xd7"
  30832. "\x43\xb4\x2b\xd9\xc5\x05\xf2\x9d"
  30833. "\x18\xc9\x26\x82\x56\xd2\x11\x05"
  30834. "\xb6\x89\xb4\x43\x9c\xb5\x9d\x11"
  30835. "\x6c\x83\x37\x71\x27\x1c\xae\xbf"
  30836. "\xcd\x57\xd2\xee\x0d\x5a\x15\x26"
  30837. "\x67\x88\x80\x80\x1b\xdc\xc1\x62"
  30838. "\xdd\x4c\xff\x92\x5c\x6c\xe1\xa0"
  30839. "\xe3\x79\xa9\x65\x8c\x8c\x14\x42"
  30840. "\xe5\x11\xd2\x1a\xad\xa9\x56\x6f"
  30841. "\x98\xfc\x8a\x7b\x56\x1f\xc6\xc1"
  30842. "\x52\x12\x92\x9b\x41\x0f\x4b\xae"
  30843. "\x1b\x4a\xbc\xfe\x23\xb6\x94\x70"
  30844. "\x04\x30\x9e\x69\x47\xbe\xb8\x8f"
  30845. "\xca\x45\xd7\x8a\xf4\x78\x3e\xaa"
  30846. "\x71\x17\xd8\x1e\xb8\x11\x8f\xbc"
  30847. "\xc8\x1a\x65\x7b\x41\x89\x72\xc7"
  30848. "\x5f\xbe\xc5\x2a\xdb\x5c\x54\xf9"
  30849. "\x25\xa3\x7a\x80\x56\x9c\x8c\xab"
  30850. "\x26\x19\x10\x36\xa6\xf3\x14\x79"
  30851. "\x40\x98\x70\x68\xb7\x35\xd9\xb9"
  30852. "\x27\xd4\xe7\x74\x5b\x3d\x97\xb4"
  30853. "\xd9\xaa\xd9\xf2\xb5\x14\x84\x1f"
  30854. "\xa9\xde\x12\x44\x5b\x00\xc0\xbc"
  30855. "\xc8\x11\x25\x1b\x67\x7a\x15\x72"
  30856. "\xa6\x31\x6f\xf4\x68\x7a\x86\x9d"
  30857. "\x43\x1c\x5f\x16\xd3\xad\x2e\x52"
  30858. "\xf3\xb4\xc3\xfa\x27\x2e\x68\x6c"
  30859. "\x06\xe7\x4c\x4f\xa2\xe0\xe4\x21"
  30860. "\x5d\x9e\x33\x58\x8d\xbf\xd5\x70"
  30861. "\xf8\x80\xa5\xdd\xe7\x18\x79\xfa"
  30862. "\x7b\xfd\x09\x69\x2c\x37\x32\xa8"
  30863. "\x65\xfa\x8d\x8b\x5c\xcc\xe8\xf3"
  30864. "\x37\xf6\xa6\xc6\x5c\xa2\x66\x79"
  30865. "\xfa\x8a\xa7\xd1\x0b\x2e\x1b\x5e"
  30866. "\x95\x35\x00\x76\xae\x42\xf7\x50"
  30867. "\x51\x78\xfb\xb4\x28\x24\xde\x1a"
  30868. "\x70\x8b\xed\xca\x3c\x5e\xe4\xbd"
  30869. "\x28\xb5\xf3\x76\x4f\x67\x5d\x81"
  30870. "\xb2\x60\x87\xd9\x7b\x19\x1a\xa7"
  30871. "\x79\xa2\xfa\x3f\x9e\xa9\xd7\x25"
  30872. "\x61\xe1\x74\x31\xa2\x77\xa0\x1b"
  30873. "\xf6\xf7\xcb\xc5\xaa\x9e\xce\xf9"
  30874. "\x9b\x96\xef\x51\xc3\x1a\x44\x96"
  30875. "\xae\x17\x50\xab\x29\x08\xda\xcc"
  30876. "\x1a\xb3\x12\xd0\x24\xe4\xe2\xe0"
  30877. "\xc6\xe3\xcc\x82\xd0\xba\x47\x4c"
  30878. "\x3f\x49\xd7\xe8\xb6\x61\xaa\x65"
  30879. "\x25\x18\x40\x2d\x62\x25\x02\x71"
  30880. "\x61\xa2\xc1\xb2\x13\xd2\x71\x3f"
  30881. "\x43\x1a\xc9\x09\x92\xff\xd5\x57"
  30882. "\xf0\xfc\x5e\x1c\xf1\xf5\xf9\xf3"
  30883. "\x5b",
  30884. .len = 1281,
  30885. }, {
  30886. .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
  30887. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  30888. "\x90\x91\x92\x93\x94\x95\x96\x97"
  30889. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
  30890. .klen = 32,
  30891. .iv = "\x40\x41\x42\x43\x44\x45\x46\x47"
  30892. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  30893. "\x50\x51\x52\x53\x54\x55\x56\x58"
  30894. "\x00\x00\x00\x00\x00\x00\x00\x00",
  30895. .ptext = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
  30896. "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
  30897. "\x75\x6e\x63\x65\x64\x20\x22\x64"
  30898. "\x6f\x6c\x65\x22\x29\x20\x69\x73"
  30899. "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
  30900. "\x6f\x77\x6e\x20\x61\x73\x20\x74"
  30901. "\x68\x65\x20\x41\x73\x69\x61\x74"
  30902. "\x69\x63\x20\x77\x69\x6c\x64\x20"
  30903. "\x64\x6f\x67\x2c\x20\x72\x65\x64"
  30904. "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
  30905. "\x64\x20\x77\x68\x69\x73\x74\x6c"
  30906. "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
  30907. "\x20\x49\x74\x20\x69\x73\x20\x61"
  30908. "\x62\x6f\x75\x74\x20\x74\x68\x65"
  30909. "\x20\x73\x69\x7a\x65\x20\x6f\x66"
  30910. "\x20\x61\x20\x47\x65\x72\x6d\x61"
  30911. "\x6e\x20\x73\x68\x65\x70\x68\x65"
  30912. "\x72\x64\x20\x62\x75\x74\x20\x6c"
  30913. "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
  30914. "\x65\x20\x6c\x69\x6b\x65\x20\x61"
  30915. "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
  30916. "\x67\x67\x65\x64\x20\x66\x6f\x78"
  30917. "\x2e\x20\x54\x68\x69\x73\x20\x68"
  30918. "\x69\x67\x68\x6c\x79\x20\x65\x6c"
  30919. "\x75\x73\x69\x76\x65\x20\x61\x6e"
  30920. "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
  30921. "\x64\x20\x6a\x75\x6d\x70\x65\x72"
  30922. "\x20\x69\x73\x20\x63\x6c\x61\x73"
  30923. "\x73\x69\x66\x69\x65\x64\x20\x77"
  30924. "\x69\x74\x68\x20\x77\x6f\x6c\x76"
  30925. "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
  30926. "\x74\x65\x73\x2c\x20\x6a\x61\x63"
  30927. "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
  30928. "\x64\x20\x66\x6f\x78\x65\x73\x20"
  30929. "\x69\x6e\x20\x74\x68\x65\x20\x74"
  30930. "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
  30931. "\x20\x66\x61\x6d\x69\x6c\x79\x20"
  30932. "\x43\x61\x6e\x69\x64\x61\x65\x2e",
  30933. .ctext = "\x9f\x1a\xab\x8a\x95\xf4\x7e\xcd"
  30934. "\xee\x34\xc0\x39\xd6\x23\x43\x94"
  30935. "\xf6\x01\xc1\x7f\x60\x91\xa5\x23"
  30936. "\x4a\x8a\xe6\xb1\x14\x8b\xd7\x58"
  30937. "\xee\x02\xad\xab\xce\x1e\x7d\xdf"
  30938. "\xf9\x49\x27\x69\xd0\x8d\x0c\x20"
  30939. "\x6e\x17\xc4\xae\x87\x7a\xc6\x61"
  30940. "\x91\xe2\x8e\x0a\x1d\x61\xcc\x38"
  30941. "\x02\x64\x43\x49\xc6\xb2\x59\x59"
  30942. "\x42\xe7\x9d\x83\x00\x60\x90\xd2"
  30943. "\xb9\xcd\x97\x6e\xc7\x95\x71\xbc"
  30944. "\x23\x31\x58\x07\xb3\xb4\xac\x0b"
  30945. "\x87\x64\x56\xe5\xe3\xec\x63\xa1"
  30946. "\x71\x8c\x08\x48\x33\x20\x29\x81"
  30947. "\xea\x01\x25\x20\xc3\xda\xe6\xee"
  30948. "\x6a\x03\xf6\x68\x4d\x26\xa0\x91"
  30949. "\x9e\x44\xb8\xc1\xc0\x8f\x5a\x6a"
  30950. "\xc0\xcd\xbf\x24\x5e\x40\x66\xd2"
  30951. "\x42\x24\xb5\xbf\xc1\xeb\x12\x60"
  30952. "\x56\xbe\xb1\xa6\xc4\x0f\xfc\x49"
  30953. "\x69\x9f\xcc\x06\x5c\xe3\x26\xd7"
  30954. "\x52\xc0\x42\xe8\xb4\x76\xc3\xee"
  30955. "\xb2\x97\xe3\x37\x61\x29\x5a\xb5"
  30956. "\x8e\xe8\x8c\xc5\x38\xcc\xcb\xec"
  30957. "\x64\x1a\xa9\x12\x5f\xf7\x79\xdf"
  30958. "\x64\xca\x77\x4e\xbd\xf9\x83\xa0"
  30959. "\x13\x27\x3f\x31\x03\x63\x30\x26"
  30960. "\x27\x0b\x3e\xb3\x23\x13\x61\x0b"
  30961. "\x70\x1d\xd4\xad\x85\x1e\xbf\xdf"
  30962. "\xc6\x8e\x4d\x08\xcc\x7e\x77\xbd"
  30963. "\x1e\x18\x77\x38\x3a\xfe\xc0\x5d"
  30964. "\x16\xfc\xf0\xa9\x2f\xe9\x17\xc7"
  30965. "\xd3\x23\x17\x18\xa3\xe6\x54\x77"
  30966. "\x6f\x1b\xbe\x8a\x6e\x7e\xca\x97"
  30967. "\x08\x05\x36\x76\xaf\x12\x7a\x42"
  30968. "\xf7\x7a\xc2\x35\xc3\xb4\x93\x40"
  30969. "\x54\x14\x90\xa0\x4d\x65\x1c\x37"
  30970. "\x50\x70\x44\x29\x6d\x6e\x62\x68",
  30971. .len = 304,
  30972. }
  30973. };
  30974. /* Adiantum test vectors from https://github.com/google/adiantum */
  30975. static const struct cipher_testvec adiantum_xchacha12_aes_tv_template[] = {
  30976. {
  30977. .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
  30978. "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
  30979. "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
  30980. "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
  30981. .klen = 32,
  30982. .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
  30983. "\x33\x81\x37\x60\x7d\xfa\x73\x08"
  30984. "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
  30985. "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
  30986. .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
  30987. "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
  30988. .ctext = "\x6d\x32\x86\x18\x67\x86\x0f\x3f"
  30989. "\x96\x7c\x9d\x28\x0d\x53\xec\x9f",
  30990. .len = 16,
  30991. }, {
  30992. .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
  30993. "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
  30994. "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
  30995. "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
  30996. .klen = 32,
  30997. .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
  30998. "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
  30999. "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
  31000. "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
  31001. .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
  31002. "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
  31003. "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
  31004. "\x43\x5a\x46\x06\x94\x2d\xf2",
  31005. .ctext = "\xc7\xc6\xf1\x73\x8f\xc4\xff\x4a"
  31006. "\x39\xbe\x78\xbe\x8d\x28\xc8\x89"
  31007. "\x46\x63\xe7\x0c\x7d\x87\xe8\x4e"
  31008. "\xc9\x18\x7b\xbe\x18\x60\x50",
  31009. .len = 31,
  31010. }, {
  31011. .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
  31012. "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
  31013. "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
  31014. "\x19\x09\x00\xa9\x04\x31\x4f\x11",
  31015. .klen = 32,
  31016. .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
  31017. "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
  31018. "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
  31019. "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
  31020. .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
  31021. "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
  31022. "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
  31023. "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
  31024. "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
  31025. "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
  31026. "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
  31027. "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
  31028. "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
  31029. "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
  31030. "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
  31031. "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
  31032. "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
  31033. "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
  31034. "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
  31035. "\x56\x65\xc5\x54\x23\x28\xb0\x03",
  31036. .ctext = "\x9e\x16\xab\xed\x4b\xa7\x42\x5a"
  31037. "\xc6\xfb\x4e\x76\xff\xbe\x03\xa0"
  31038. "\x0f\xe3\xad\xba\xe4\x98\x2b\x0e"
  31039. "\x21\x48\xa0\xb8\x65\x48\x27\x48"
  31040. "\x84\x54\x54\xb2\x9a\x94\x7b\xe6"
  31041. "\x4b\x29\xe9\xcf\x05\x91\x80\x1a"
  31042. "\x3a\xf3\x41\x96\x85\x1d\x9f\x74"
  31043. "\x51\x56\x63\xfa\x7c\x28\x85\x49"
  31044. "\xf7\x2f\xf9\xf2\x18\x46\xf5\x33"
  31045. "\x80\xa3\x3c\xce\xb2\x57\x93\xf5"
  31046. "\xae\xbd\xa9\xf5\x7b\x30\xc4\x93"
  31047. "\x66\xe0\x30\x77\x16\xe4\xa0\x31"
  31048. "\xba\x70\xbc\x68\x13\xf5\xb0\x9a"
  31049. "\xc1\xfc\x7e\xfe\x55\x80\x5c\x48"
  31050. "\x74\xa6\xaa\xa3\xac\xdc\xc2\xf5"
  31051. "\x8d\xde\x34\x86\x78\x60\x75\x8d",
  31052. .len = 128,
  31053. }, {
  31054. .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
  31055. "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
  31056. "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
  31057. "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
  31058. .klen = 32,
  31059. .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
  31060. "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
  31061. "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
  31062. "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
  31063. .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
  31064. "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
  31065. "\x05\xa3\x69\x60\x91\x36\x98\x57"
  31066. "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
  31067. "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
  31068. "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
  31069. "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
  31070. "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
  31071. "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
  31072. "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
  31073. "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
  31074. "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
  31075. "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
  31076. "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
  31077. "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
  31078. "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
  31079. "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
  31080. "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
  31081. "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
  31082. "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
  31083. "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
  31084. "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
  31085. "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
  31086. "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
  31087. "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
  31088. "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
  31089. "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
  31090. "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
  31091. "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
  31092. "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
  31093. "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
  31094. "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
  31095. "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
  31096. "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
  31097. "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
  31098. "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
  31099. "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
  31100. "\xd7\x31\x87\x89\x09\xab\xd5\x96"
  31101. "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
  31102. "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
  31103. "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
  31104. "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
  31105. "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
  31106. "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
  31107. "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
  31108. "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
  31109. "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
  31110. "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
  31111. "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
  31112. "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
  31113. "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
  31114. "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
  31115. "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
  31116. "\x17\x7c\x25\x48\x52\x67\x11\x27"
  31117. "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
  31118. "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
  31119. "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
  31120. "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
  31121. "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
  31122. "\x79\x50\x33\xca\xd0\xd7\x42\x55"
  31123. "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
  31124. "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
  31125. "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
  31126. "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
  31127. .ctext = "\x15\x97\xd0\x86\x18\x03\x9c\x51"
  31128. "\xc5\x11\x36\x62\x13\x92\xe6\x73"
  31129. "\x29\x79\xde\xa1\x00\x3e\x08\x64"
  31130. "\x17\x1a\xbc\xd5\xfe\x33\x0e\x0c"
  31131. "\x7c\x94\xa7\xc6\x3c\xbe\xac\xa2"
  31132. "\x89\xe6\xbc\xdf\x0c\x33\x27\x42"
  31133. "\x46\x73\x2f\xba\x4e\xa6\x46\x8f"
  31134. "\xe4\xee\x39\x63\x42\x65\xa3\x88"
  31135. "\x7a\xad\x33\x23\xa9\xa7\x20\x7f"
  31136. "\x0b\xe6\x6a\xc3\x60\xda\x9e\xb4"
  31137. "\xd6\x07\x8a\x77\x26\xd1\xab\x44"
  31138. "\x99\x55\x03\x5e\xed\x8d\x7b\xbd"
  31139. "\xc8\x21\xb7\x21\x30\x3f\xc0\xb5"
  31140. "\xc8\xec\x6c\x23\xa6\xa3\x6d\xf1"
  31141. "\x30\x0a\xd0\xa6\xa9\x28\x69\xae"
  31142. "\x2a\xe6\x54\xac\x82\x9d\x6a\x95"
  31143. "\x6f\x06\x44\xc5\x5a\x77\x6e\xec"
  31144. "\xf8\xf8\x63\xb2\xe6\xaa\xbd\x8e"
  31145. "\x0e\x8a\x62\x00\x03\xc8\x84\xdd"
  31146. "\x47\x4a\xc3\x55\xba\xb7\xe7\xdf"
  31147. "\x08\xbf\x62\xf5\xe8\xbc\xb6\x11"
  31148. "\xe4\xcb\xd0\x66\x74\x32\xcf\xd4"
  31149. "\xf8\x51\x80\x39\x14\x05\x12\xdb"
  31150. "\x87\x93\xe2\x26\x30\x9c\x3a\x21"
  31151. "\xe5\xd0\x38\x57\x80\x15\xe4\x08"
  31152. "\x58\x05\x49\x7d\xe6\x92\x77\x70"
  31153. "\xfb\x1e\x2d\x6a\x84\x00\xc8\x68"
  31154. "\xf7\x1a\xdd\xf0\x7b\x38\x1e\xd8"
  31155. "\x2c\x78\x78\x61\xcf\xe3\xde\x69"
  31156. "\x1f\xd5\x03\xd5\x1a\xb4\xcf\x03"
  31157. "\xc8\x7a\x70\x68\x35\xb4\xf6\xbe"
  31158. "\x90\x62\xb2\x28\x99\x86\xf5\x44"
  31159. "\x99\xeb\x31\xcf\xca\xdf\xd0\x21"
  31160. "\xd6\x60\xf7\x0f\x40\xb4\x80\xb7"
  31161. "\xab\xe1\x9b\x45\xba\x66\xda\xee"
  31162. "\xdd\x04\x12\x40\x98\xe1\x69\xe5"
  31163. "\x2b\x9c\x59\x80\xe7\x7b\xcc\x63"
  31164. "\xa6\xc0\x3a\xa9\xfe\x8a\xf9\x62"
  31165. "\x11\x34\x61\x94\x35\xfe\xf2\x99"
  31166. "\xfd\xee\x19\xea\x95\xb6\x12\xbf"
  31167. "\x1b\xdf\x02\x1a\xcc\x3e\x7e\x65"
  31168. "\x78\x74\x10\x50\x29\x63\x28\xea"
  31169. "\x6b\xab\xd4\x06\x4d\x15\x24\x31"
  31170. "\xc7\x0a\xc9\x16\xb6\x48\xf0\xbf"
  31171. "\x49\xdb\x68\x71\x31\x8f\x87\xe2"
  31172. "\x13\x05\x64\xd6\x22\x0c\xf8\x36"
  31173. "\x84\x24\x3e\x69\x5e\xb8\x9e\x16"
  31174. "\x73\x6c\x83\x1e\xe0\x9f\x9e\xba"
  31175. "\xe5\x59\x21\x33\x1b\xa9\x26\xc2"
  31176. "\xc7\xd9\x30\x73\xb6\xa6\x73\x82"
  31177. "\x19\xfa\x44\x4d\x40\x8b\x69\x04"
  31178. "\x94\x74\xea\x6e\xb3\x09\x47\x01"
  31179. "\x2a\xb9\x78\x34\x43\x11\xed\xd6"
  31180. "\x8c\x95\x65\x1b\x85\x67\xa5\x40"
  31181. "\xac\x9c\x05\x4b\x57\x4a\xa9\x96"
  31182. "\x0f\xdd\x4f\xa1\xe0\xcf\x6e\xc7"
  31183. "\x1b\xed\xa2\xb4\x56\x8c\x09\x6e"
  31184. "\xa6\x65\xd7\x55\x81\xb7\xed\x11"
  31185. "\x9b\x40\x75\xa8\x6b\x56\xaf\x16"
  31186. "\x8b\x3d\xf4\xcb\xfe\xd5\x1d\x3d"
  31187. "\x85\xc2\xc0\xde\x43\x39\x4a\x96"
  31188. "\xba\x88\x97\xc0\xd6\x00\x0e\x27"
  31189. "\x21\xb0\x21\x52\xba\xa7\x37\xaa"
  31190. "\xcc\xbf\x95\xa8\xf4\xd0\x91\xf6",
  31191. .len = 512,
  31192. }, {
  31193. .key = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
  31194. "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
  31195. "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
  31196. "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
  31197. .klen = 32,
  31198. .iv = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
  31199. "\x88\x76\x65\xb4\x1a\x29\x27\x12"
  31200. "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
  31201. "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
  31202. .ptext = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
  31203. "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
  31204. "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
  31205. "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
  31206. "\x38\x24\x62\xdb\x65\x82\x10\x7f"
  31207. "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
  31208. "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
  31209. "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
  31210. "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
  31211. "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
  31212. "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
  31213. "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
  31214. "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
  31215. "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
  31216. "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
  31217. "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
  31218. "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
  31219. "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
  31220. "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
  31221. "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
  31222. "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
  31223. "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
  31224. "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
  31225. "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
  31226. "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
  31227. "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
  31228. "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
  31229. "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
  31230. "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
  31231. "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
  31232. "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
  31233. "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
  31234. "\x28\x04\x4c\xff\x98\x20\x08\x10"
  31235. "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
  31236. "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
  31237. "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
  31238. "\x24\x62\xcf\x17\x36\x84\xc0\x72"
  31239. "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
  31240. "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
  31241. "\x71\x73\x08\x4e\x22\x31\xfd\x88"
  31242. "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
  31243. "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
  31244. "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
  31245. "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
  31246. "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
  31247. "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
  31248. "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
  31249. "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
  31250. "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
  31251. "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
  31252. "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
  31253. "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
  31254. "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
  31255. "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
  31256. "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
  31257. "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
  31258. "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
  31259. "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
  31260. "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
  31261. "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
  31262. "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
  31263. "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
  31264. "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
  31265. "\x85\x12\xca\x61\x65\xd1\x66\xd8"
  31266. "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
  31267. "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
  31268. "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
  31269. "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
  31270. "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
  31271. "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
  31272. "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
  31273. "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
  31274. "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
  31275. "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
  31276. "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
  31277. "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
  31278. "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
  31279. "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
  31280. "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
  31281. "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
  31282. "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
  31283. "\x16\xcb\xae\x7d\x38\x21\x67\x74"
  31284. "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
  31285. "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
  31286. "\xa8\x88\x27\x86\x44\x75\x5b\x29"
  31287. "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
  31288. "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
  31289. "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
  31290. "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
  31291. "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
  31292. "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
  31293. "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
  31294. "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
  31295. "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
  31296. "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
  31297. "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
  31298. "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
  31299. "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
  31300. "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
  31301. "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
  31302. "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
  31303. "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
  31304. "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
  31305. "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
  31306. "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
  31307. "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
  31308. "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
  31309. "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
  31310. "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
  31311. "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
  31312. "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
  31313. "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
  31314. "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
  31315. "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
  31316. "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
  31317. "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
  31318. "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
  31319. "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
  31320. "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
  31321. "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
  31322. "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
  31323. "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
  31324. "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
  31325. "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
  31326. "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
  31327. "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
  31328. "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
  31329. "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
  31330. "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
  31331. "\x55\x9a\xe0\x09\x21\xac\x61\x85"
  31332. "\x4b\x20\x95\x73\x63\x26\xe3\x83"
  31333. "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
  31334. "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
  31335. "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
  31336. "\x98\x09\x11\xb7\x00\x06\x24\x5a"
  31337. "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
  31338. "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
  31339. "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
  31340. "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
  31341. "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
  31342. "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
  31343. "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
  31344. "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
  31345. "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
  31346. "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
  31347. "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
  31348. "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
  31349. "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
  31350. "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
  31351. "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
  31352. "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
  31353. "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
  31354. "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
  31355. "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
  31356. "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
  31357. "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
  31358. "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
  31359. "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
  31360. "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
  31361. "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
  31362. "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
  31363. "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
  31364. "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
  31365. "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
  31366. "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
  31367. "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
  31368. "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
  31369. "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
  31370. "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
  31371. "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
  31372. "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
  31373. "\x62\x96\x79\x0c\x81\x05\x41\xf2"
  31374. "\x07\x20\x26\xe5\x8e\x10\x54\x03"
  31375. "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
  31376. "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
  31377. "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
  31378. "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
  31379. "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
  31380. "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
  31381. "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
  31382. "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
  31383. "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
  31384. "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
  31385. "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
  31386. "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
  31387. "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
  31388. "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
  31389. "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
  31390. "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
  31391. "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
  31392. "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
  31393. "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
  31394. .ctext = "\xcb\x78\x87\x9c\xc7\x13\xc1\x30"
  31395. "\xdd\x2c\x7d\xb2\x97\xab\x06\x69"
  31396. "\x47\x87\x8a\x12\x2b\x5d\x86\xd7"
  31397. "\x2e\xe6\x7a\x0d\x58\x5d\xe7\x01"
  31398. "\x78\x0e\xff\xc7\xc5\xd2\x94\xd6"
  31399. "\xdd\x6b\x38\x1f\xa4\xe3\x3d\xe7"
  31400. "\xc5\x8a\xb5\xbe\x65\x11\x2b\xe1"
  31401. "\x2b\x8e\x84\xe8\xe0\x00\x7f\xdd"
  31402. "\x15\x15\xab\xbd\x22\x94\xf7\xce"
  31403. "\x99\x6f\xfd\x0e\x9b\x16\xeb\xeb"
  31404. "\x24\xc7\xbb\xc6\xe1\x6c\x57\xba"
  31405. "\x84\xab\x16\xf2\x57\xd6\x42\x9d"
  31406. "\x56\x92\x5b\x44\x18\xd4\xa2\x1b"
  31407. "\x1e\xa9\xdc\x7a\x16\x88\xc4\x4f"
  31408. "\x6d\x77\x9a\x2e\x82\xa9\xc3\xee"
  31409. "\xa4\xca\x05\x1b\x0e\xdc\x48\x96"
  31410. "\xd0\x50\x21\x1f\x46\xc7\xc7\x70"
  31411. "\x53\xcd\x1e\x4e\x5f\x2d\x4b\xb2"
  31412. "\x86\xe5\x3a\xe6\x1d\xec\x7b\x9d"
  31413. "\x8f\xd6\x41\xc6\xbb\x00\x4f\xe6"
  31414. "\x02\x47\x07\x73\x50\x6b\xcf\xb2"
  31415. "\x9e\x1c\x01\xc9\x09\xcc\xc3\x52"
  31416. "\x27\xe6\x63\xe0\x5b\x55\x60\x4d"
  31417. "\x72\xd0\xda\x4b\xec\xcb\x72\x5d"
  31418. "\x37\x4a\xf5\xb8\xd9\xe2\x08\x10"
  31419. "\xf3\xb9\xdc\x07\xc0\x02\x10\x14"
  31420. "\x9f\xe6\x8f\xc4\xc4\xe1\x39\x7b"
  31421. "\x47\xea\xae\x7c\xdd\x27\xa8\x4c"
  31422. "\x6b\x0f\x4c\xf8\xff\x16\x4e\xcb"
  31423. "\xec\x88\x33\x0d\x15\x10\x82\x66"
  31424. "\xa7\x3d\x2c\xb6\xbc\x2e\xe4\xce"
  31425. "\x4c\x2f\x4b\x46\x0f\x67\x78\xa5"
  31426. "\xff\x6a\x7d\x0d\x5e\x6d\xab\xfb"
  31427. "\x59\x99\xd8\x1f\x30\xd4\x33\xe8"
  31428. "\x7d\x11\xae\xe3\xba\xd0\x3f\xa7"
  31429. "\xa5\x5e\x43\xda\xf3\x0f\x3a\x5f"
  31430. "\xba\xb0\x47\xb2\x08\x60\xf4\xed"
  31431. "\x35\x23\x0c\xe9\x4f\x81\xc4\xc5"
  31432. "\xa8\x35\xdc\x99\x52\x33\x19\xd4"
  31433. "\x00\x01\x8d\x5a\x10\x82\x39\x78"
  31434. "\xfc\x72\x24\x63\x4a\x38\xc5\x6f"
  31435. "\xfe\xec\x2f\x26\x0c\x3c\x1c\xf6"
  31436. "\x4d\x99\x7a\x77\x59\xfe\x10\xa5"
  31437. "\xa1\x35\xbf\x2f\x15\xfa\x4e\x52"
  31438. "\xe6\xd5\x1c\x88\x90\x75\xd5\xcc"
  31439. "\xdb\x2a\xb1\xf0\x70\x54\x89\xc7"
  31440. "\xeb\x1d\x6e\x61\x45\xa3\x50\x48"
  31441. "\xcd\xdb\x32\xba\x7f\x6b\xaf\xef"
  31442. "\x50\xcb\x0d\x36\xf7\x29\x3a\x10"
  31443. "\x02\x73\xca\x8f\x3f\x5d\x82\x17"
  31444. "\x91\x9a\xd8\x15\x15\xe3\xe1\x41"
  31445. "\x43\xef\x85\xa6\xb0\xc7\x3b\x0f"
  31446. "\xf0\xa5\xaa\x66\x77\x70\x5e\x70"
  31447. "\xce\x17\x84\x68\x45\x39\x2c\x25"
  31448. "\xc6\xc1\x5f\x7e\xe8\xfa\xe4\x3a"
  31449. "\x47\x51\x7b\x9d\x54\x84\x98\x04"
  31450. "\x5f\xf7\x5f\x3c\x34\xe7\xa3\x1d"
  31451. "\xea\xb7\x6d\x05\xab\x28\xe4\x2c"
  31452. "\xb1\x7f\x08\xa8\x5d\x07\xbf\xfe"
  31453. "\x39\x72\x44\x87\x51\xc5\x73\xe4"
  31454. "\x9a\x5f\xdd\x46\xbc\x4e\xb1\x39"
  31455. "\xe4\x78\xb8\xbf\xdc\x5b\x88\x9b"
  31456. "\xc1\x3f\xd9\xd0\xb3\x5a\xdf\xaa"
  31457. "\x53\x6a\x91\x6d\x2a\x09\xf0\x0b"
  31458. "\x5e\xe8\xb2\xa0\xb4\x73\x07\x1d"
  31459. "\xc8\x33\x84\xe6\xda\xe6\xad\xd6"
  31460. "\xad\x91\x01\x4e\x14\x42\x34\x2c"
  31461. "\xe5\xf9\x99\x21\x56\x1f\x6c\x2b"
  31462. "\x4c\xe3\xd5\x9e\x04\xdc\x9a\x16"
  31463. "\xd1\x54\xe9\xc2\xf7\xc0\xd5\x06"
  31464. "\x2f\xa1\x38\x2a\x55\x88\x23\xf8"
  31465. "\xb0\xdb\x87\x32\xc9\x4e\xb0\x0c"
  31466. "\xc5\x05\x78\x58\xa1\x2e\x75\x75"
  31467. "\x68\xdc\xea\xdd\x0c\x33\x16\x5e"
  31468. "\xe7\xdc\xfd\x42\x74\xbe\xae\x60"
  31469. "\x3c\x37\x4b\x27\xf5\x2c\x5f\x55"
  31470. "\x4a\x0b\x64\xfd\xa2\x01\x65\x9c"
  31471. "\x27\x9f\x5e\x87\xd5\x95\x88\x66"
  31472. "\x09\x84\x42\xab\x00\xe2\x58\xc3"
  31473. "\x97\x45\xf1\x93\xe2\x34\x37\x3d"
  31474. "\xfe\x93\x8c\x17\xb9\x79\x65\x06"
  31475. "\xf7\x58\xe5\x1b\x3b\x4e\xda\x36"
  31476. "\x17\xe3\x56\xec\x26\x0f\x2e\xfa"
  31477. "\xd1\xb9\x2b\x3e\x7f\x1d\xe3\x4b"
  31478. "\x67\xdf\x43\x53\x10\xba\xa3\xfb"
  31479. "\x5d\x5a\xd8\xc4\xab\x19\x7e\x12"
  31480. "\xaa\x83\xf1\xc0\xa1\xe0\xbf\x72"
  31481. "\x5f\xe8\x68\x39\xef\x1a\xbe\xee"
  31482. "\x6f\x47\x79\x19\xed\xf2\xa1\x4a"
  31483. "\xe5\xfc\xb5\x58\xae\x63\x82\xcb"
  31484. "\x16\x0b\x94\xbb\x3e\x02\x49\xc4"
  31485. "\x3c\x33\xf1\xec\x1b\x11\x71\x9b"
  31486. "\x5b\x80\xf1\x6f\x88\x1c\x05\x36"
  31487. "\xa8\xd8\xee\x44\xb5\x18\xc3\x14"
  31488. "\x62\xba\x98\xb9\xc0\x2a\x70\x93"
  31489. "\xb3\xd8\x11\x69\x95\x1d\x43\x7b"
  31490. "\x39\xc1\x91\x05\xc4\xe3\x1e\xc2"
  31491. "\x1e\x5d\xe7\xde\xbe\xfd\xae\x99"
  31492. "\x4b\x8f\x83\x1e\xf4\x9b\xb0\x2b"
  31493. "\x66\x6e\x62\x24\x8d\xe0\x1b\x22"
  31494. "\x59\xeb\xbd\x2a\x6b\x2e\x37\x17"
  31495. "\x9e\x1f\x66\xcb\x66\xb4\xfb\x2c"
  31496. "\x36\x22\x5d\x73\x56\xc1\xb0\x27"
  31497. "\xe0\xf0\x1b\xe4\x47\x8b\xc6\xdc"
  31498. "\x7c\x0c\x3d\x29\xcb\x33\x10\xfe"
  31499. "\xc3\xc3\x1e\xff\x4c\x9b\x27\x86"
  31500. "\xe2\xb0\xaf\xb7\x89\xce\x61\x69"
  31501. "\xe7\x00\x3e\x92\xea\x5f\x9e\xc1"
  31502. "\xfa\x6b\x20\xe2\x41\x23\x82\xeb"
  31503. "\x07\x76\x4c\x4c\x2a\x96\x33\xbe"
  31504. "\x89\xa9\xa8\xb9\x9a\x7d\x27\x18"
  31505. "\x48\x23\x70\x46\xf3\x87\xa7\x91"
  31506. "\x58\xb8\x74\xba\xed\xc6\xb2\xa1"
  31507. "\x4d\xb6\x43\x9a\xe1\xa2\x41\xa5"
  31508. "\x35\xd3\x90\x8a\xc7\x4d\xb7\x88"
  31509. "\x0b\xe3\x74\x9f\x84\xfc\xd9\x73"
  31510. "\xf2\x86\x0c\xad\xeb\x5d\x70\xac"
  31511. "\x65\x07\x14\x8e\x57\xf6\xdc\xb4"
  31512. "\xc2\x02\x7c\xd6\x89\xe2\x8a\x3e"
  31513. "\x8e\x08\x3c\x12\x37\xaf\xe1\xa8"
  31514. "\x04\x11\x5c\xae\x5a\x2b\x60\xa0"
  31515. "\x03\x3c\x7a\xa2\x38\x92\xbe\xce"
  31516. "\x09\xa2\x5e\x0f\xc2\xb2\xb5\x06"
  31517. "\xc2\x97\x97\x9b\x09\x2f\x04\xfe"
  31518. "\x2c\xe7\xa3\xc4\x42\xe9\xa3\x40"
  31519. "\xa5\x52\x07\x2c\x3b\x89\x1a\xa5"
  31520. "\x28\xb1\x93\x05\x98\x0c\x2f\x3d"
  31521. "\xc6\xf5\x83\xac\x24\x1d\x28\x9f"
  31522. "\x32\x66\x4d\x70\xb7\xe0\xab\xb8"
  31523. "\x75\xc5\xf3\xd2\x7b\x26\x3e\xec"
  31524. "\x64\xe6\xf7\x70\xe7\xf8\x10\x8e"
  31525. "\x67\xd2\xb3\x87\x69\x40\x06\x9a"
  31526. "\x2f\x6a\x1a\xfd\x62\x0c\xee\x31"
  31527. "\x2e\xbe\x58\x97\x77\xd1\x09\x08"
  31528. "\x1f\x8d\x42\x29\x34\xd5\xd8\xb5"
  31529. "\x1f\xd7\x21\x18\xe3\xe7\x2e\x4a"
  31530. "\x42\xfc\xdb\x19\xe9\xee\xb9\x22"
  31531. "\xad\x5c\x07\xe9\xc8\x07\xe5\xe9"
  31532. "\x95\xa2\x0d\x30\x46\xe2\x65\x51"
  31533. "\x01\xa5\x74\x85\xe2\x52\x6e\x07"
  31534. "\xc9\xf5\x33\x09\xde\x78\x62\xa9"
  31535. "\x30\x2a\xd3\x86\xe5\x46\x2e\x60"
  31536. "\xff\x74\xb0\x5f\xec\x76\xb7\xd1"
  31537. "\x5e\x4d\x61\x97\x3c\x9c\x99\xc3"
  31538. "\x41\x65\x21\x47\xf9\xb1\x06\xec"
  31539. "\x18\xf8\x3f\xc7\x38\xfa\x7b\x14"
  31540. "\x62\x79\x6a\x0b\x0c\xf5\x2c\xb7"
  31541. "\xab\xcf\x63\x49\x6d\x1f\x46\xa8"
  31542. "\xbc\x7d\x42\x53\x75\x6b\xca\x38"
  31543. "\xac\x8b\xe7\xa1\xa1\x92\x19\x6b"
  31544. "\x0d\x75\x80\x5b\x7d\x35\x86\x70"
  31545. "\x12\x6b\xe5\x3e\xe5\x85\xa0\xa4"
  31546. "\xd6\x77\x5e\x4d\x24\x57\x84\xa9"
  31547. "\xe5\xa4\xbf\x25\xfb\x36\x65\x3b"
  31548. "\x81\x39\x61\xec\x5e\x4a\x7e\x10"
  31549. "\x58\x19\x13\x5c\x0f\x79\xec\xcf"
  31550. "\xbb\x5f\x69\x21\xc3\xa7\x5a\xff"
  31551. "\x3b\xc7\x85\x9b\x47\xbc\x3e\xad"
  31552. "\xbf\x54\x60\xb6\x5b\x3f\xfc\x50"
  31553. "\x68\x83\x76\x24\xb0\xc3\x3f\x93"
  31554. "\x0d\xce\x36\x0a\x58\x9d\xcc\xe9"
  31555. "\x52\xbb\xd0\x0b\x65\xe5\x0f\x62"
  31556. "\x82\x16\xaa\xd2\xba\x5a\x4c\xd0"
  31557. "\x67\xb5\x4e\x84\x1c\x02\x6e\xa3"
  31558. "\xaa\x22\x54\x96\xc8\xd9\x9c\x58"
  31559. "\x15\x63\xf4\x98\x1a\xa1\xd9\x11"
  31560. "\x64\x25\x56\xb5\x03\x8e\x29\x85"
  31561. "\x75\x88\xd1\xd2\xe4\xe6\x27\x48"
  31562. "\x13\x9c\x2b\xaa\xfb\xd3\x6e\x2c"
  31563. "\xe6\xd4\xe4\x8b\xd9\xf7\x01\x16"
  31564. "\x46\xf9\x5c\x88\x7a\x93\x9e\x2d"
  31565. "\xa6\xeb\x01\x2a\x72\xe4\x7f\xb4"
  31566. "\x78\x0c\x50\x18\xd3\x8e\x65\xa7"
  31567. "\x1b\xf9\x28\x5d\x89\x70\x96\x2f"
  31568. "\xa1\xc2\x9b\x34\xfc\x7c\x27\x63"
  31569. "\x93\xe6\xe3\xa4\x9d\x17\x97\x7e"
  31570. "\x13\x79\x9c\x4b\x2c\x23\x91\x2c"
  31571. "\x4f\xb1\x1d\x4b\xb4\x61\x6e\xe8"
  31572. "\x32\x35\xc3\x41\x7a\x50\x60\xc8"
  31573. "\x3e\xd8\x3f\x38\xfc\xc2\xa2\xe0"
  31574. "\x3a\x21\x25\x8f\xc2\x22\xed\x04"
  31575. "\x31\xb8\x72\x69\xaf\x6c\x6d\xab"
  31576. "\x25\x16\x95\x87\x92\xc7\x46\x3f"
  31577. "\x47\x05\x6c\xad\xa0\xa6\x1d\xf0"
  31578. "\x66\x2e\x01\x1a\xc3\xbe\xe4\xf6"
  31579. "\x51\xec\xa3\x95\x81\xe1\xcc\xab"
  31580. "\xc1\x71\x65\x0a\xe6\x53\xfb\xb8"
  31581. "\x53\x69\xad\x8b\xab\x8b\xa7\xcd"
  31582. "\x8f\x15\x01\x25\xb1\x1f\x9c\x3b"
  31583. "\x9b\x47\xad\x38\x38\x89\x6b\x1c"
  31584. "\x8a\x33\xdd\x8a\x06\x23\x06\x0b"
  31585. "\x7f\x70\xbe\x7e\xa1\x80\xbc\x7a",
  31586. .len = 1536,
  31587. }, {
  31588. .key = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
  31589. "\x70\x47\x8c\xea\x87\x30\x1d\x58"
  31590. "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
  31591. "\x56\x95\x83\x98\x38\x80\x84\x8a",
  31592. .klen = 32,
  31593. .iv = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
  31594. "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
  31595. "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
  31596. "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
  31597. .ptext = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
  31598. "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
  31599. "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
  31600. "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
  31601. "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
  31602. "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
  31603. "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
  31604. "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
  31605. "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
  31606. "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
  31607. "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
  31608. "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
  31609. "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
  31610. "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
  31611. "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
  31612. "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
  31613. "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
  31614. "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
  31615. "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
  31616. "\x35\x21\x66\x78\x3d\xb6\x65\x83"
  31617. "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
  31618. "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
  31619. "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
  31620. "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
  31621. "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
  31622. "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
  31623. "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
  31624. "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
  31625. "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
  31626. "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
  31627. "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
  31628. "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
  31629. "\x96\x87\xc9\x34\x02\x26\xde\x20"
  31630. "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
  31631. "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
  31632. "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
  31633. "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
  31634. "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
  31635. "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
  31636. "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
  31637. "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
  31638. "\x85\xfd\x22\x08\x00\xae\x72\x10"
  31639. "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
  31640. "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
  31641. "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
  31642. "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
  31643. "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
  31644. "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
  31645. "\x93\x45\x38\x95\xb9\x69\xe9\x62"
  31646. "\x21\x73\xbd\x81\x73\xac\x15\x74"
  31647. "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
  31648. "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
  31649. "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
  31650. "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
  31651. "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
  31652. "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
  31653. "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
  31654. "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
  31655. "\x24\x43\xb3\x0e\xba\xad\x63\x63"
  31656. "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
  31657. "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
  31658. "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
  31659. "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
  31660. "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
  31661. "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
  31662. "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
  31663. "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
  31664. "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
  31665. "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
  31666. "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
  31667. "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
  31668. "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
  31669. "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
  31670. "\x9d\x46\xae\x67\x00\x3b\x40\x94"
  31671. "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
  31672. "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
  31673. "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
  31674. "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
  31675. "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
  31676. "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
  31677. "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
  31678. "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
  31679. "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
  31680. "\x76\xca\x9f\x56\xae\x04\x2e\x75"
  31681. "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
  31682. "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
  31683. "\x08\x67\x02\x01\xe3\x64\x82\xee"
  31684. "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
  31685. "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
  31686. "\x85\x48\xb6\x97\x97\x02\x43\x1f"
  31687. "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
  31688. "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
  31689. "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
  31690. "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
  31691. "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
  31692. "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
  31693. "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
  31694. "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
  31695. "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
  31696. "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
  31697. "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
  31698. "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
  31699. "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
  31700. "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
  31701. "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
  31702. "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
  31703. "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
  31704. "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
  31705. "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
  31706. "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
  31707. "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
  31708. "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
  31709. "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
  31710. "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
  31711. "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
  31712. "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
  31713. "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
  31714. "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
  31715. "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
  31716. "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
  31717. "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
  31718. "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
  31719. "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
  31720. "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
  31721. "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
  31722. "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
  31723. "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
  31724. "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
  31725. "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
  31726. "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
  31727. "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
  31728. "\x36\x12\x35\x28\x64\x12\xe7\xbb"
  31729. "\x50\xac\x45\x15\x7b\x16\x23\x5e"
  31730. "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
  31731. "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
  31732. "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
  31733. "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
  31734. "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
  31735. "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
  31736. "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
  31737. "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
  31738. "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
  31739. "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
  31740. "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
  31741. "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
  31742. "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
  31743. "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
  31744. "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
  31745. "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
  31746. "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
  31747. "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
  31748. "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
  31749. "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
  31750. "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
  31751. "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
  31752. "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
  31753. "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
  31754. "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
  31755. "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
  31756. "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
  31757. "\x7d\x65\x57\x65\x98\xff\x8b\x02"
  31758. "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
  31759. "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
  31760. "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
  31761. "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
  31762. "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
  31763. "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
  31764. "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
  31765. "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
  31766. "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
  31767. "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
  31768. "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
  31769. "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
  31770. "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
  31771. "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
  31772. "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
  31773. "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
  31774. "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
  31775. "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
  31776. "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
  31777. "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
  31778. "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
  31779. "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
  31780. "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
  31781. "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
  31782. "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
  31783. "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
  31784. "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
  31785. "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
  31786. "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
  31787. "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
  31788. "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
  31789. "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
  31790. "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
  31791. "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
  31792. "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
  31793. "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
  31794. "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
  31795. "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
  31796. "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
  31797. "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
  31798. "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
  31799. "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
  31800. "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
  31801. "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
  31802. "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
  31803. "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
  31804. "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
  31805. "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
  31806. "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
  31807. "\x53\xf1\x61\x97\x63\x52\x38\x86"
  31808. "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
  31809. "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
  31810. "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
  31811. "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
  31812. "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
  31813. "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
  31814. "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
  31815. "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
  31816. "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
  31817. "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
  31818. "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
  31819. "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
  31820. "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
  31821. "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
  31822. "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
  31823. "\x48\xb9\x27\x62\x00\x12\xc5\x03"
  31824. "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
  31825. "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
  31826. "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
  31827. "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
  31828. "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
  31829. "\x99\xd5\xff\x34\x93\x8f\x31\x45"
  31830. "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
  31831. "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
  31832. "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
  31833. "\x26\xec\x3a\x64\xc4\xab\x74\x97"
  31834. "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
  31835. "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
  31836. "\x68\x50\x22\x16\x96\x2f\xc4\x23"
  31837. "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
  31838. "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
  31839. "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
  31840. "\x20\x89\xef\x44\x22\x38\x3c\x14"
  31841. "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
  31842. "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
  31843. "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
  31844. "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
  31845. "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
  31846. "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
  31847. "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
  31848. "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
  31849. "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
  31850. "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
  31851. "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
  31852. "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
  31853. "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
  31854. "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
  31855. "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
  31856. "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
  31857. "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
  31858. "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
  31859. "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
  31860. "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
  31861. "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
  31862. "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
  31863. "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
  31864. "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
  31865. "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
  31866. "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
  31867. "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
  31868. "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
  31869. "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
  31870. "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
  31871. "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
  31872. "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
  31873. "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
  31874. "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
  31875. "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
  31876. "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
  31877. "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
  31878. "\x60\x81\x75\x29\x9e\xce\x2a\x70"
  31879. "\x28\x0c\x87\xe5\x46\x73\x76\x66"
  31880. "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
  31881. "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
  31882. "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
  31883. "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
  31884. "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
  31885. "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
  31886. "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
  31887. "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
  31888. "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
  31889. "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
  31890. "\xf1\x11\x02\x64\x09\x25\x7c\x26"
  31891. "\xee\xad\x50\x68\x31\x26\x16\x0f"
  31892. "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
  31893. "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
  31894. "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
  31895. "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
  31896. "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
  31897. "\x40\x12\x43\x31\xb8\x12\xe0\x95"
  31898. "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
  31899. "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
  31900. "\xab\x03\xda\x41\xab\xc5\x4e\x33"
  31901. "\x5a\x63\x94\x90\x22\x72\x54\x26"
  31902. "\x93\x65\x99\x45\x55\xd3\x55\x56"
  31903. "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
  31904. "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
  31905. "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
  31906. "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
  31907. "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
  31908. "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
  31909. "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
  31910. "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
  31911. "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
  31912. "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
  31913. "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
  31914. "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
  31915. "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
  31916. "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
  31917. "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
  31918. "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
  31919. "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
  31920. "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
  31921. "\xad\x6e\x83\x90\x21\x10\xb8\x07"
  31922. "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
  31923. "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
  31924. "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
  31925. "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
  31926. "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
  31927. "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
  31928. "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
  31929. "\x02\x5a\x20\x4d\x43\x08\x71\x49"
  31930. "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
  31931. "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
  31932. "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
  31933. "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
  31934. "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
  31935. "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
  31936. "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
  31937. "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
  31938. "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
  31939. "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
  31940. "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
  31941. "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
  31942. "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
  31943. "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
  31944. "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
  31945. "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
  31946. "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
  31947. "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
  31948. "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
  31949. "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
  31950. "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
  31951. "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
  31952. "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
  31953. "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
  31954. "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
  31955. "\x08\x48\xfd\x9b\x47\x41\x10\xae"
  31956. "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
  31957. "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
  31958. "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
  31959. "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
  31960. "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
  31961. "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
  31962. "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
  31963. "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
  31964. "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
  31965. "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
  31966. "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
  31967. "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
  31968. "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
  31969. "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
  31970. "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
  31971. "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
  31972. "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
  31973. "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
  31974. "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
  31975. "\x54\x14\x91\x12\x41\x41\x54\xa2"
  31976. "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
  31977. "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
  31978. "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
  31979. "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
  31980. "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
  31981. "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
  31982. "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
  31983. "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
  31984. "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
  31985. "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
  31986. "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
  31987. "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
  31988. "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
  31989. "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
  31990. "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
  31991. "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
  31992. "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
  31993. "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
  31994. "\x58\xec\x70\x4f\x40\x25\x2b\xba"
  31995. "\x96\x59\xac\x34\x45\x29\xc6\x57"
  31996. "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
  31997. "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
  31998. "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
  31999. "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
  32000. "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
  32001. "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
  32002. "\xea\xa5\x56\x02\x5b\x93\x13\x46"
  32003. "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
  32004. "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
  32005. "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
  32006. "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
  32007. "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
  32008. "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
  32009. "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
  32010. "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
  32011. "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
  32012. "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
  32013. "\xad\x57\xae\x98\x83\xd5\x92\x4e"
  32014. "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
  32015. "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
  32016. "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
  32017. "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
  32018. "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
  32019. "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
  32020. "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
  32021. "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
  32022. "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
  32023. "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
  32024. "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
  32025. "\x32\x06\x3f\x12\x23\x19\x22\x82"
  32026. "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
  32027. "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
  32028. "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
  32029. "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
  32030. "\x35\x79\x84\x78\x06\x68\x97\x30"
  32031. "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
  32032. "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
  32033. "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
  32034. "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
  32035. "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
  32036. "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
  32037. "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
  32038. "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
  32039. "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
  32040. "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
  32041. "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
  32042. "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
  32043. "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
  32044. "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
  32045. "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
  32046. "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
  32047. "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
  32048. "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
  32049. "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
  32050. "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
  32051. "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
  32052. "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
  32053. "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
  32054. "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
  32055. "\x13\xa7\x47\x89\x62\xa3\x03\x19"
  32056. "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
  32057. "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
  32058. "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
  32059. "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
  32060. "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
  32061. "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
  32062. "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
  32063. "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
  32064. "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
  32065. "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
  32066. "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
  32067. "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
  32068. "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
  32069. "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
  32070. "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
  32071. "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
  32072. "\x20\xa9\x37\x78\x32\x03\x60\xcc"
  32073. "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
  32074. "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
  32075. "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
  32076. "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
  32077. "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
  32078. "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
  32079. "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
  32080. "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
  32081. "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
  32082. "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
  32083. "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
  32084. "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
  32085. "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
  32086. "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
  32087. "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
  32088. "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
  32089. "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
  32090. "\x12\xab\x95\x66\xec\x09\x64\xea"
  32091. "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
  32092. "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
  32093. "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
  32094. "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
  32095. "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
  32096. "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
  32097. "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
  32098. "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
  32099. "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
  32100. "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
  32101. "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
  32102. "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
  32103. "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
  32104. "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
  32105. "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
  32106. "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
  32107. "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
  32108. "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
  32109. .ctext = "\x57\xd1\xcf\x26\xe5\x07\x7a\x3f"
  32110. "\xa5\x5e\xd4\xa8\x12\xe9\x4e\x36"
  32111. "\x9c\x28\x65\xe0\xbd\xef\xf1\x49"
  32112. "\x04\xd4\xd4\x01\x4d\xf5\xfc\x2a"
  32113. "\x32\xd8\x19\x21\xcd\x58\x2a\x1a"
  32114. "\x43\x78\xa4\x57\x69\xa0\x52\xeb"
  32115. "\xcd\xa5\x9c\x4d\x03\x28\xef\x8b"
  32116. "\x54\xc6\x6c\x31\xab\x3e\xaf\x6d"
  32117. "\x0a\x87\x83\x3d\xb7\xea\x6b\x3d"
  32118. "\x11\x58\x7d\x5f\xaf\xc9\xfc\x50"
  32119. "\x58\x9a\x84\xa1\xcf\x76\xdc\x77"
  32120. "\x83\x9a\x28\x74\x69\xc9\x0c\xc2"
  32121. "\x7b\x1e\x4e\xe4\x25\x41\x23\x0d"
  32122. "\x4e\x0e\x2d\x7a\x87\xaa\x0f\x7c"
  32123. "\x98\xad\xf0\x6f\xbf\xcb\xd5\x1a"
  32124. "\x3e\xcf\x0e\xc5\xde\xbd\x8d\xf1"
  32125. "\xaa\x19\x16\xb8\xc5\x25\x02\x33"
  32126. "\xbd\x5a\x85\xe2\xc0\x77\x71\xda"
  32127. "\x12\x4c\xdf\x7f\xce\xc0\x32\x95"
  32128. "\x1a\xde\xcb\x0a\x70\xd0\x9e\x89"
  32129. "\xc5\x97\x18\x04\xab\x8c\x38\x56"
  32130. "\x69\xe5\xf6\xa5\x76\x2c\x52\x7a"
  32131. "\x49\xd2\x9a\x95\xa6\xa8\x82\x42"
  32132. "\x20\x1f\x58\x57\x4e\x22\xdb\x92"
  32133. "\xec\xbd\x4a\x21\x66\x9b\x7a\xcb"
  32134. "\x73\xcd\x6d\x15\x07\xc9\x97\xb8"
  32135. "\x11\x35\xee\x29\xa4\x90\xfc\x46"
  32136. "\x0f\x39\x56\xc6\x4a\x3a\xcf\xcc"
  32137. "\xb1\xbf\x62\x1c\x16\xc5\x12\x6c"
  32138. "\x0e\x69\x89\xce\xcf\x11\x4e\xe5"
  32139. "\x7e\x4e\x7c\x8f\xb4\xc9\xe6\x54"
  32140. "\x42\x89\x28\x27\xe6\xec\x50\xb7"
  32141. "\x69\x91\x44\x3e\x46\xd4\x64\xf6"
  32142. "\x25\x4c\x4d\x2f\x60\xd9\x9a\xd3"
  32143. "\x1c\x70\xf4\xd8\x24\x1e\xdb\xcf"
  32144. "\xa8\xc0\x22\xe6\x82\x57\xf6\xf0"
  32145. "\xe1\x1e\x38\x66\xec\xdc\x20\xdb"
  32146. "\x6a\x57\x68\xb1\x43\x61\xe1\x12"
  32147. "\x18\x5f\x31\x57\x39\xcb\xea\x3c"
  32148. "\x6e\x5d\x9a\xe0\xa6\x70\x4d\xd8"
  32149. "\xf9\x47\x4e\xef\x31\xa5\x66\x9b"
  32150. "\xb7\xf1\xd9\x59\x85\xfc\xdb\x7e"
  32151. "\xa2\x7a\x70\x25\x0c\xfd\x18\x0d"
  32152. "\x00\x42\xc9\x48\x8a\xbd\x74\xc5"
  32153. "\x3e\xe1\x20\x5a\x5d\x2e\xe5\x32"
  32154. "\x1d\x1c\x08\x65\x80\x69\xae\x24"
  32155. "\x80\xde\xb6\xdf\x97\xaa\x42\x8d"
  32156. "\xce\x39\x07\xe6\x69\x94\x5a\x75"
  32157. "\x39\xda\x5e\x1a\xed\x4a\x4c\x23"
  32158. "\x66\x1f\xf3\xb1\x6e\x8f\x21\x94"
  32159. "\x45\xc4\x63\xbd\x06\x93\x5e\x30"
  32160. "\xe7\x8f\xcb\xe0\xbb\x2a\x27\xcf"
  32161. "\x57\xa9\xa6\x28\xaf\xae\xcb\xa5"
  32162. "\x7b\x36\x61\x77\x3a\x4f\xec\x51"
  32163. "\x71\xfd\x52\x9e\x32\x7b\x98\x09"
  32164. "\xae\x27\xbc\x93\x96\xab\xb6\x02"
  32165. "\xf7\x21\xd3\x42\x00\x7e\x7a\x92"
  32166. "\x17\xfe\x1b\x3d\xcf\xb6\xfe\x1e"
  32167. "\x40\xc3\x10\x25\xac\x22\x9e\xcc"
  32168. "\xc2\x02\x61\xf5\x0a\x4b\xc3\xec"
  32169. "\xb1\x44\x06\x05\xb8\xd6\xcb\xd5"
  32170. "\xf1\xf5\xb5\x65\xbc\x1a\x19\xa2"
  32171. "\x7d\x60\x87\x11\x06\x83\x25\xe3"
  32172. "\x5e\xf0\xeb\x15\x93\xb6\x8e\xab"
  32173. "\x49\x52\xe8\xdb\xde\xd1\x8e\xa2"
  32174. "\x3a\x64\x13\x30\xaa\x20\xaf\x81"
  32175. "\x8d\x3c\x24\x2a\x76\x6d\xca\x32"
  32176. "\x63\x51\x6b\x8e\x4b\xa7\xf6\xad"
  32177. "\xa5\x94\x16\x82\xa6\x97\x3b\xe5"
  32178. "\x41\xcd\x87\x33\xdc\xc1\x48\xca"
  32179. "\x4e\xa2\x82\xad\x8e\x1b\xae\xcb"
  32180. "\x12\x93\x27\xa3\x2b\xfa\xe6\x26"
  32181. "\x43\xbd\xb0\x00\x01\x22\x1d\xd3"
  32182. "\x28\x9d\x69\xe0\xd4\xf8\x5b\x01"
  32183. "\x40\x7d\x54\xe5\xe2\xbd\x78\x5a"
  32184. "\x0e\xab\x51\xfc\xd4\xde\xba\xbc"
  32185. "\xa4\x7a\x74\x6d\xf8\x36\xc2\x70"
  32186. "\x03\x27\x36\xa2\xc0\xde\xf2\xc7"
  32187. "\x55\xd4\x66\xee\x9a\x9e\xaa\x99"
  32188. "\x2b\xeb\xa2\x6f\x17\x80\x60\x64"
  32189. "\xed\x73\xdb\xc1\x70\xda\xde\x67"
  32190. "\xcd\x6e\xc9\xfa\x3f\xef\x49\xd9"
  32191. "\x18\x42\xf1\x87\x6e\x2c\xac\xe1"
  32192. "\x12\x26\x52\xbe\x3e\xf1\xcc\x85"
  32193. "\x9a\xd1\x9e\xc1\x02\xd3\xca\x2b"
  32194. "\x99\xe7\xe8\x95\x7f\x91\x4b\xc0"
  32195. "\xab\xd4\x5a\xf7\x88\x1c\x7e\xea"
  32196. "\xd3\x15\x38\x26\xb5\xa3\xf2\xfc"
  32197. "\xc4\x12\x70\x5a\x37\x83\x49\xac"
  32198. "\xf4\x5e\x4c\xc8\x64\x03\x98\xad"
  32199. "\xd2\xbb\x8d\x90\x01\x80\xa1\x2a"
  32200. "\x23\xd1\x8d\x26\x43\x7d\x2b\xd0"
  32201. "\x87\xe1\x8e\x6a\xb3\x73\x9d\xc2"
  32202. "\x66\x75\xee\x2b\x41\x1a\xa0\x3b"
  32203. "\x1b\xdd\xb9\x21\x69\x5c\xef\x52"
  32204. "\x21\x57\xd6\x53\x31\x67\x7e\xd1"
  32205. "\xd0\x67\x8b\xc0\x97\x2c\x0a\x09"
  32206. "\x1d\xd4\x35\xc5\xd4\x11\x68\xf8"
  32207. "\x5e\x75\xaf\x0c\xc3\x9d\xa7\x09"
  32208. "\x38\xf5\x77\xb9\x80\xa9\x6b\xbd"
  32209. "\x0c\x98\xb4\x8d\xf0\x35\x5a\x19"
  32210. "\x1d\xf8\xb3\x5b\x45\xad\x4e\x4e"
  32211. "\xd5\x59\xf5\xd7\x53\x63\x3e\x97"
  32212. "\x7f\x91\x50\x65\x61\x21\xa9\xb7"
  32213. "\x65\x12\xdc\x01\x56\x40\xe0\xb1"
  32214. "\xe1\x23\xba\x9d\xb9\xc4\x8b\x1f"
  32215. "\xa6\xfe\x24\x19\xe9\x42\x9f\x9b"
  32216. "\x02\x48\xaa\x60\x0b\xf5\x7f\x8f"
  32217. "\x35\x70\xed\x85\xb8\xc4\xdc\xb7"
  32218. "\x16\xb7\x03\xe0\x2e\xa0\x25\xab"
  32219. "\x02\x1f\x97\x8e\x5a\x48\xb6\xdb"
  32220. "\x25\x7a\x16\xf6\x4c\xec\xec\xa6"
  32221. "\xc1\x4e\xe3\x4e\xe3\x27\x78\xc8"
  32222. "\xb6\xd7\x01\x61\x98\x1b\x38\xaa"
  32223. "\x36\x93\xac\x6d\x05\x61\x4d\x5a"
  32224. "\xc9\xe5\x27\xa9\x22\xf2\x38\x5e"
  32225. "\x9e\xe5\xf7\x4a\x64\xd2\x14\x15"
  32226. "\x71\x7c\x65\x6e\x90\x31\xc7\x49"
  32227. "\x25\xec\x9f\xf1\xb2\xd6\xbc\x20"
  32228. "\x6a\x13\xd5\x70\x65\xfc\x8b\x66"
  32229. "\x2c\xf1\x57\xc2\xe7\xb8\x89\xf7"
  32230. "\x17\xb2\x45\x64\xe0\xb3\x8c\x0d"
  32231. "\x69\x57\xf9\x5c\xff\xc2\x3c\x18"
  32232. "\x1e\xfd\x4b\x5e\x0d\x20\x01\x1a"
  32233. "\xa3\xa3\xb3\x76\x98\x9c\x92\x41"
  32234. "\xb4\xcd\x9f\x8f\x88\xcb\xb1\xb5"
  32235. "\x25\x87\x45\x4c\x07\xa7\x15\x99"
  32236. "\x24\x85\x15\x9e\xfc\x28\x98\x2b"
  32237. "\xd0\x22\x0a\xcc\x62\x12\x86\x0a"
  32238. "\xa8\x0e\x7d\x15\x32\x98\xae\x2d"
  32239. "\x95\x25\x55\x33\x41\x5b\x8d\x75"
  32240. "\x46\x61\x01\xa4\xfb\xf8\x6e\xe5"
  32241. "\xec\x24\xfe\xd2\xd2\x46\xe2\x3a"
  32242. "\x77\xf3\xa1\x39\xd3\x39\x32\xd8"
  32243. "\x2a\x6b\x44\xd7\x70\x36\x23\x89"
  32244. "\x4f\x75\x85\x42\x70\xd4\x2d\x4f"
  32245. "\xea\xfc\xc9\xfe\xb4\x86\xd8\x73"
  32246. "\x1d\xeb\xf7\x54\x0a\x47\x7e\x2c"
  32247. "\x04\x7b\x47\xea\x52\x8f\x13\x1a"
  32248. "\xf0\x19\x65\xe2\x0a\x1c\xae\x89"
  32249. "\xe1\xc5\x87\x6e\x5d\x7f\xf8\x79"
  32250. "\x08\xbf\xd2\x7f\x2c\x95\x22\xba"
  32251. "\x32\x78\xa9\xf6\x03\x98\x18\xed"
  32252. "\x15\xbf\x49\xb0\x6c\xa1\x4b\xb0"
  32253. "\xf3\x17\xd5\x35\x5d\x19\x57\x5b"
  32254. "\xf1\x07\x1e\xaa\x4d\xef\xd0\xd6"
  32255. "\x72\x12\x6b\xd9\xbc\x10\x49\xc5"
  32256. "\x28\xd4\xec\xe9\x8a\xb1\x6d\x50"
  32257. "\x4b\xf3\x44\xb8\x49\x04\x62\xe9"
  32258. "\xa4\xd8\x5a\xe7\x90\x02\xb7\x1e"
  32259. "\x66\x89\xbc\x5a\x71\x4e\xbd\xf8"
  32260. "\x18\xfb\x34\x2f\x67\xa2\x65\x71"
  32261. "\x00\x63\x22\xef\x3a\xa5\x18\x0e"
  32262. "\x54\x76\xaa\x58\xae\x87\x23\x93"
  32263. "\xb0\x3c\xa2\xa4\x07\x77\x3e\xd7"
  32264. "\x1a\x9c\xfe\x32\xc3\x54\x04\x4e"
  32265. "\xd6\x98\x44\xda\x98\xf8\xd3\xc8"
  32266. "\x1c\x07\x4b\xcd\x97\x5d\x96\x95"
  32267. "\x9a\x1d\x4a\xfc\x19\xcb\x0b\xd0"
  32268. "\x6d\x43\x3a\x9a\x39\x1c\xa8\x90"
  32269. "\x9f\x53\x8b\xc4\x41\x75\xb5\xb9"
  32270. "\x91\x5f\x02\x0a\x57\x6c\x8f\xc3"
  32271. "\x1b\x0b\x3a\x8b\x58\x3b\xbe\x2e"
  32272. "\xdc\x4c\x23\x71\x2e\x14\x06\x21"
  32273. "\x0b\x3b\x58\xb8\x97\xd1\x00\x62"
  32274. "\x2e\x74\x3e\x6e\x21\x8a\xcf\x60"
  32275. "\xda\x0c\xf8\x7c\xfd\x07\x55\x7f"
  32276. "\xb9\x1d\xda\x34\xc7\x27\xbf\x2a"
  32277. "\xd9\xba\x41\x9b\x37\xa1\xc4\x5d"
  32278. "\x03\x01\xce\xbb\x58\xff\xee\x74"
  32279. "\x08\xbd\x0b\x80\xb1\xd5\xf8\xb5"
  32280. "\x92\xf9\xbb\xbe\x03\xb5\xec\xbe"
  32281. "\x17\xee\xd7\x4e\x87\x2b\x61\x1b"
  32282. "\x27\xc3\x51\x50\xa0\x02\x73\x00"
  32283. "\x1a\xea\x2a\x2b\xf8\xf6\xe6\x96"
  32284. "\x75\x00\x56\xcc\xcb\x7a\x24\x29"
  32285. "\xe8\xdb\x95\xbf\x4e\x8f\x0a\x78"
  32286. "\xb8\xeb\x5a\x90\x37\xd0\x21\x94"
  32287. "\x6a\x89\x6b\x41\x3a\x1b\xa7\x20"
  32288. "\x43\x37\xda\xad\x81\xdd\xb4\xfc"
  32289. "\xe9\x60\x82\x77\x44\x3f\x89\x23"
  32290. "\x35\x04\x8f\xa1\xe8\xc0\xb6\x9f"
  32291. "\x56\xa7\x86\x3d\x65\x9c\x57\xbb"
  32292. "\x27\xdb\xe1\xb2\x13\x07\x9c\xb1"
  32293. "\x60\x8b\x38\x6b\x7f\x24\x28\x14"
  32294. "\xfe\xbf\xc0\xda\x61\x6e\xc2\xc7"
  32295. "\x63\x36\xa8\x02\x54\x93\xb0\xba"
  32296. "\xbd\x4d\x29\x14\x5a\x8b\xbc\x78"
  32297. "\xb3\xa6\xc5\x15\x5d\x36\x4d\x38"
  32298. "\x20\x9c\x1e\x98\x2e\x16\x89\x33"
  32299. "\x66\xa2\x54\x57\xcc\xde\x12\xa6"
  32300. "\x3b\x44\xf1\xac\x36\x3b\x97\xc1"
  32301. "\x96\x94\xf2\x67\x57\x23\x9c\x29"
  32302. "\xcd\xb7\x24\x2a\x8c\x86\xee\xaa"
  32303. "\x0f\xee\xaf\xa0\xec\x40\x8c\x08"
  32304. "\x18\xa1\xb4\x2c\x09\x46\x11\x7e"
  32305. "\x97\x84\xb1\x03\xa5\x3e\x59\x05"
  32306. "\x07\xc5\xf0\xcc\xb6\x71\x72\x2a"
  32307. "\xa2\x02\x78\x60\x0b\xc4\x47\x93"
  32308. "\xab\xcd\x67\x2b\xf5\xc5\x67\xa0"
  32309. "\xc0\x3c\x6a\xd4\x7e\xc9\x93\x0c"
  32310. "\x02\xdc\x15\x87\x48\x16\x26\x18"
  32311. "\x4e\x0b\x16\x0e\xb3\x02\x3e\x4b"
  32312. "\xc2\xe4\x49\x08\x9f\xb9\x8b\x1a"
  32313. "\xca\x10\xe8\x6c\x58\xa9\x7e\xb8"
  32314. "\xbe\xff\x58\x0e\x8a\xfb\x35\x93"
  32315. "\xcc\x76\x7d\xd9\x44\x7c\x31\x96"
  32316. "\xc0\x29\x73\xd3\x91\x0a\xc0\x65"
  32317. "\x5c\xbe\xe7\x4e\xda\x31\x85\xf2"
  32318. "\x72\xee\x34\xbe\x41\x90\xd4\x07"
  32319. "\x50\x64\x56\x81\xe3\x27\xfb\xcc"
  32320. "\xb7\x5c\x36\xb4\x6e\xbd\x23\xf8"
  32321. "\xe8\x71\xce\xa8\x73\x77\x82\x74"
  32322. "\xab\x8d\x0e\xe5\x93\x68\xb1\xd2"
  32323. "\x51\xc2\x18\x58\xd5\x3f\x29\x6b"
  32324. "\x2e\xd0\x88\x7f\x4a\x9d\xa2\xb8"
  32325. "\xae\x96\x09\xbf\x47\xae\x7d\x12"
  32326. "\x70\x67\xf1\xdd\xda\xdf\x47\x57"
  32327. "\xc9\x2c\x0f\xcb\xf3\x57\xd4\xda"
  32328. "\x00\x2e\x13\x48\x8f\xc0\xaa\x46"
  32329. "\xe1\xc1\x57\x75\x1e\xce\x74\xc2"
  32330. "\x82\xef\x31\x85\x8e\x38\x56\xff"
  32331. "\xcb\xab\xe0\x78\x40\x51\xd3\xc5"
  32332. "\xc3\xb1\xee\x9b\xd7\x72\x7f\x13"
  32333. "\x83\x7f\x45\x49\x45\xa1\x05\x8e"
  32334. "\xdc\x83\x81\x3c\x24\x28\x87\x08"
  32335. "\xa0\x70\x73\x80\x42\xcf\x5c\x26"
  32336. "\x39\xa5\xc5\x90\x5c\x56\xda\x58"
  32337. "\x93\x45\x5d\x45\x64\x59\x16\x3f"
  32338. "\xf1\x20\xf7\xa8\x2a\xd4\x3d\xbd"
  32339. "\x17\xfb\x90\x01\xcf\x1e\x71\xab"
  32340. "\x22\xa2\x24\xb5\x80\xac\xa2\x9a"
  32341. "\x9c\x2d\x85\x69\xa7\x87\x33\x55"
  32342. "\x65\x72\xc0\x91\x2a\x3d\x05\x33"
  32343. "\x25\x0d\x29\x25\x9f\x45\x4e\xfa"
  32344. "\x5d\x90\x3f\x34\x08\x54\xdb\x7d"
  32345. "\x94\x20\xa2\x3b\x10\x01\xa4\x89"
  32346. "\x1e\x90\x4f\x36\x3f\xc2\x40\x07"
  32347. "\x3f\xab\x2e\x89\xce\x80\xe1\xf5"
  32348. "\xac\xaf\x17\x10\x18\x0f\x4d\xe3"
  32349. "\xfc\x82\x2b\xbe\xe2\x91\xfa\x5b"
  32350. "\x9a\x9b\x2a\xd7\x99\x8d\x8f\xdc"
  32351. "\x54\x99\xc4\xa3\x97\xfd\xd3\xdb"
  32352. "\xd1\x51\x7c\xce\x13\x5c\x3b\x74"
  32353. "\xda\x9a\xe3\xdc\xdc\x87\x84\x98"
  32354. "\x16\x6d\xb0\x3d\x65\x57\x0b\xb2"
  32355. "\xb8\x04\xd4\xea\x49\x72\xc3\x66"
  32356. "\xbc\xdc\x91\x05\x2b\xa6\x5e\xeb"
  32357. "\x55\x72\x3e\x34\xd4\x28\x4b\x9c"
  32358. "\x07\x51\xf7\x30\xf3\xca\x04\xc1"
  32359. "\xd3\x69\x50\x2c\x27\x27\xc4\xb9"
  32360. "\x56\xc7\xa2\xd2\x66\x29\xea\xe0"
  32361. "\x25\xb8\x49\xd1\x60\xc9\x5e\xb5"
  32362. "\xed\x87\xb8\x74\x98\x0d\x16\x86"
  32363. "\x2a\x02\x24\xde\xb9\xa9\x5e\xf0"
  32364. "\xdd\xf7\x55\xb0\x26\x7a\x93\xd4"
  32365. "\xe6\x7d\xd2\x43\xb2\x8f\x7e\x9a"
  32366. "\x5d\x81\xe6\x28\xe5\x96\x7d\xc8"
  32367. "\x33\xe0\x56\x57\xe2\xa0\xf2\x1d"
  32368. "\x61\x78\x60\xd5\x81\x70\xa4\x11"
  32369. "\x43\x36\xe9\xd1\x68\x27\x21\x3c"
  32370. "\xb2\xa2\xad\x5f\x04\xd4\x55\x00"
  32371. "\x25\x71\x91\xed\x3a\xc9\x7b\x57"
  32372. "\x7b\xd1\x8a\xfb\x0e\xf5\x7b\x08"
  32373. "\xa9\x26\x4f\x24\x5f\xdd\x79\xed"
  32374. "\x19\xc4\xe1\xd5\xa8\x66\x60\xfc"
  32375. "\x5d\x48\x11\xb0\xa3\xc3\xe6\xc0"
  32376. "\xc6\x16\x7d\x20\x3f\x7c\x25\x52"
  32377. "\xdf\x05\xdd\xb5\x0b\x92\xee\xc5"
  32378. "\xe6\xd2\x7c\x3e\x2e\xd5\xac\xda"
  32379. "\xdb\x48\x31\xac\x87\x13\x8c\xfa"
  32380. "\xac\x18\xbc\xd1\x7f\x2d\xc6\x19"
  32381. "\x8a\xfa\xa0\x97\x89\x26\x50\x46"
  32382. "\x9c\xca\xe1\x73\x97\x26\x0a\x50"
  32383. "\x95\xec\x79\x19\xf6\xbd\x9a\xa1"
  32384. "\xcf\xc9\xab\xf7\x85\x84\xb2\xf5"
  32385. "\x2c\x7c\x73\xaa\xe2\xc2\xfb\xcd"
  32386. "\x5f\x08\x46\x2f\x8e\xd9\xff\xfd"
  32387. "\x19\xf6\xf4\x5d\x2b\x4b\x54\xe2"
  32388. "\x27\xaa\xfd\x2c\x5f\x75\x7c\xf6"
  32389. "\x2c\x95\x77\xcc\x90\xa2\xda\x1e"
  32390. "\x85\x37\x18\x34\x1d\xcf\x1b\xf2"
  32391. "\x86\xda\x71\xfb\x72\xab\x87\x0f"
  32392. "\x1e\x10\xb3\xba\x51\xea\x29\xd3"
  32393. "\x8c\x87\xce\x4b\x66\xbf\x60\x6d"
  32394. "\x81\x7c\xb8\x9c\xcc\x2e\x35\x02"
  32395. "\x02\x32\x4a\x7a\x24\xc4\x9f\xce"
  32396. "\xf0\x8a\x85\x90\xf3\x24\x95\x02"
  32397. "\xec\x13\xc1\xa4\xdd\x44\x01\xef"
  32398. "\xf6\xaa\x30\x70\xbf\x4e\x1a\xb9"
  32399. "\xc0\xff\x3b\x57\x5d\x12\xfe\xc3"
  32400. "\x1d\x5c\x3f\x74\xf9\xd9\x64\x61"
  32401. "\x20\xb2\x76\x79\x38\xd2\x21\xfb"
  32402. "\xc9\x32\xe8\xcc\x8e\x5f\xd7\x01"
  32403. "\x9e\x25\x76\x4d\xa7\xc1\x33\x21"
  32404. "\xfa\xcf\x98\x40\xd2\x1d\x48\xbd"
  32405. "\xd0\xc0\x38\x90\x27\x9b\x89\x4a"
  32406. "\x10\x1e\xaf\xa0\x78\x7d\x87\x2b"
  32407. "\x72\x10\x02\xf0\x5d\x22\x8b\x22"
  32408. "\xd7\x56\x7c\xd7\x6d\xcd\x9b\xc6"
  32409. "\xbc\xb2\xa6\x36\xde\xac\x87\x14"
  32410. "\x92\x93\x47\xca\x7d\xf4\x0b\x88"
  32411. "\xea\xbf\x3f\x2f\xa9\x94\x24\x13"
  32412. "\xa1\x52\x29\xfd\x5d\xa9\x76\x85"
  32413. "\x21\x62\x39\xa3\xf0\xf7\xb5\xa3"
  32414. "\xe0\x6c\x1b\xcb\xdb\x41\x91\xc6"
  32415. "\x4f\xaa\x26\x8b\x15\xd5\x84\x3a"
  32416. "\xda\xd6\x05\xc8\x8c\x0f\xe9\x19"
  32417. "\x00\x81\x38\xfb\x8f\xdf\xb0\x63"
  32418. "\x75\xe0\xe8\x8f\xef\x4a\xe0\x83"
  32419. "\x34\xe9\x4e\x06\xd7\xbb\xcd\xed"
  32420. "\x70\x0c\x72\x80\x64\x94\x67\xad"
  32421. "\x4a\xda\x82\xcf\x60\xfc\x92\x43"
  32422. "\xe3\x2f\xd1\x1e\x81\x1d\xdc\x62"
  32423. "\xec\xb1\xb0\xad\x4f\x43\x1d\x38"
  32424. "\x4e\x0d\x90\x40\x29\x1b\x98\xf1"
  32425. "\xbc\x70\x4e\x5a\x08\xbe\x88\x3a"
  32426. "\x55\xfb\x8c\x33\x1f\x0a\x7d\x2d"
  32427. "\xdc\x75\x03\xd2\x3b\xe8\xb8\x32"
  32428. "\x13\xab\x04\xbc\xe2\x33\x44\xa6"
  32429. "\xff\x6e\xba\xbd\xdc\xe2\xbf\x54"
  32430. "\x99\x71\x76\x59\x3b\x7a\xbc\xde"
  32431. "\xa1\x6e\x73\x62\x96\x73\x56\x66"
  32432. "\xfb\x1a\x56\x91\x2a\x8b\x12\xb0"
  32433. "\x82\x9f\x9b\x0c\x42\xc7\x22\x2c"
  32434. "\xbc\x49\xc5\x3c\x3b\xbf\x52\x64"
  32435. "\xd6\xd4\x03\x52\xf3\xfd\x13\x98"
  32436. "\xcc\xd8\xaa\x3e\x1d\x1f\x04\x8a"
  32437. "\x03\x41\x19\x5b\x31\xf3\x48\x83"
  32438. "\x49\xa3\xdd\xc9\x7c\x01\x34\x64"
  32439. "\xe5\xf3\xdf\xc9\x7f\x17\xa2\xf5"
  32440. "\x9c\x21\x79\x93\x91\x93\xbf\x9b"
  32441. "\xa5\xa5\xda\x1d\x55\x32\x72\x78"
  32442. "\xa6\x45\x2d\x21\x97\x6b\xfe\xbc"
  32443. "\xd0\xe7\x8e\x97\x66\x85\x9e\x41"
  32444. "\xfa\x2c\x8a\xee\x0d\x5a\x18\xf2"
  32445. "\x15\x89\x8f\xfb\xbc\xd8\xa6\x0c"
  32446. "\x83\xcc\x20\x08\xce\x70\xe5\xe6"
  32447. "\xbb\x7d\x9f\x11\x5f\x1e\x16\x68"
  32448. "\x18\xad\xa9\x4b\x04\x97\x8c\x18"
  32449. "\xed\x2a\x70\x79\x39\xcf\x36\x72"
  32450. "\x1e\x3e\x6d\x3c\x19\xce\x13\x19"
  32451. "\xb5\x13\xe7\x02\xd8\x5c\xec\x0c"
  32452. "\x81\xc5\xe5\x86\x10\x83\x9e\x67"
  32453. "\x3b\x74\x29\x63\xda\x23\xbc\x43"
  32454. "\xe9\x73\xa6\x2d\x25\x77\x66\xd0"
  32455. "\x2e\x05\x38\xae\x2e\x0e\x7f\xaf"
  32456. "\x82\xed\xef\x28\x39\x4c\x4b\x6f"
  32457. "\xdb\xa1\xb5\x79\xd0\x5b\x50\x77"
  32458. "\x6d\x75\x9f\x3c\xcf\xde\x41\xb8"
  32459. "\xa9\x13\x11\x60\x19\x23\xc7\x35"
  32460. "\x48\xbc\x14\x08\xf9\x57\xfe\x15"
  32461. "\xfd\xb2\xbb\x8c\x44\x3b\xf1\x62"
  32462. "\xbc\x0e\x01\x45\x39\xc0\xbb\xce"
  32463. "\xf5\xb7\xe1\x16\x7b\xcc\x8d\x7f"
  32464. "\xd3\x15\x36\xef\x8e\x4b\xaa\xee"
  32465. "\x49\x0c\x6e\x9b\x8c\x0e\x9f\xe0"
  32466. "\xd5\x7b\xdd\xbc\xb3\x67\x53\x6d"
  32467. "\x8b\xbe\xa3\xcd\x1e\x37\x9d\xc3"
  32468. "\x61\x36\xf4\x77\xec\x2b\xc7\x8b"
  32469. "\xd7\xad\x8d\x23\xdd\xf7\x9d\xf1"
  32470. "\x61\x1c\xbf\x09\xa5\x5e\xb9\x14"
  32471. "\xa6\x3f\x1a\xd9\x12\xb4\xef\x56"
  32472. "\x20\xa0\x77\x3e\xab\xf1\xb9\x91"
  32473. "\x5a\x92\x85\x5c\x92\x15\xb2\x1f"
  32474. "\xaf\xb0\x92\x23\x2d\x27\x8b\x7e"
  32475. "\x12\xcc\x56\xaa\x62\x85\x15\xd7"
  32476. "\x41\x89\x62\xd6\xd9\xd0\x6d\xbd"
  32477. "\x21\xa8\x49\xb6\x35\x40\x2f\x8d"
  32478. "\x2e\xfa\x24\x1e\x30\x12\x9c\x05"
  32479. "\x59\xfa\xe1\xad\xc0\x53\x09\xda"
  32480. "\xc0\x2e\x9d\x24\x0e\x4b\x6e\xd7"
  32481. "\x68\x32\x6a\xa0\x3c\x23\xb6\x5a"
  32482. "\x90\xb1\x1f\x62\xc8\x37\x36\x88"
  32483. "\xa4\x4d\x91\x12\x8d\x51\x8d\x81"
  32484. "\x44\x21\xfe\xd3\x61\x8d\xea\x5b"
  32485. "\x87\x24\xa9\xe9\x87\xde\x75\x77"
  32486. "\xc6\xa0\xd3\xf6\x99\x8b\x32\x56"
  32487. "\x47\xc6\x60\x65\xb6\x4f\xd1\x59"
  32488. "\x08\xb2\xe0\x15\x3e\xcb\x2c\xd6"
  32489. "\x8d\xc6\xbf\xda\x63\xe2\x04\x88"
  32490. "\x30\x9f\x37\x38\x98\x1c\x3e\x7a"
  32491. "\xa8\x8f\x3e\x2c\xcf\x90\x15\x6e"
  32492. "\x5d\xe9\x76\xd5\xdf\xc6\x2f\xf6"
  32493. "\xf5\x4a\x86\xbd\x36\x2a\xda\xdf"
  32494. "\x2f\xd8\x6e\x15\x18\x6b\xe9\xdb"
  32495. "\x26\x54\x6e\x60\x3b\xb8\xf9\x91"
  32496. "\xc1\x1d\xc0\x4f\x26\x8b\xdf\x55"
  32497. "\x47\x2f\xce\xdd\x4e\x93\x58\x3f"
  32498. "\x70\xdc\xf9\x4e\x9b\x37\x5e\x4f"
  32499. "\x39\xb9\x30\xe6\xce\xdb\xaf\x46"
  32500. "\xca\xfa\x52\xc9\x75\x3e\xd6\x96"
  32501. "\xe8\x97\xf1\xb1\x64\x31\x71\x1e"
  32502. "\x9f\xb6\xff\x69\xd6\xcd\x85\x4e"
  32503. "\x20\xf5\xfc\x84\x3c\xaf\xcc\x8d"
  32504. "\x5b\x52\xb8\xa2\x1c\x38\x47\x82"
  32505. "\x96\xff\x06\x4c\xaf\x8a\xf4\x8f"
  32506. "\xf8\x15\x97\xf6\xc3\xbc\x8c\x9e"
  32507. "\xc2\x06\xd9\x64\xb8\x1b\x0d\xd1"
  32508. "\x53\x55\x83\x7d\xcb\x8b\x7d\x20"
  32509. "\xa7\x70\xcb\xaa\x25\xae\x5a\x4f"
  32510. "\xdc\x66\xad\xe4\x54\xff\x09\xef"
  32511. "\x25\xcb\xac\x59\x89\x1d\x06\xcf"
  32512. "\xc7\x74\xe0\x5d\xa6\xd0\x04\xb4"
  32513. "\x41\x75\x34\x80\x6c\x4c\xc9\xd0"
  32514. "\x51\x0c\x0f\x84\x26\x75\x69\x23"
  32515. "\x81\x67\xde\xbf\x6c\x57\x8a\xc4"
  32516. "\xba\x91\xba\x8c\x2c\x75\xeb\x55"
  32517. "\xe5\x1b\x13\xbc\xaa\xec\x31\xdb"
  32518. "\xcc\x00\x3b\xe6\x50\xd8\xc3\xcc"
  32519. "\x9c\xb8\x6e\xb4\x9b\x16\xee\x74"
  32520. "\x26\x51\xda\x39\xe6\x31\xa1\xb2"
  32521. "\xd7\x6f\xcb\xae\x7d\x9f\x38\x7d"
  32522. "\x86\x49\x2a\x16\x5c\xc0\x08\xea"
  32523. "\x6b\x55\x85\x47\xbb\x90\xba\x69"
  32524. "\x56\xa5\x44\x62\x5b\xe6\x3b\xcc"
  32525. "\xe7\x6d\x1e\xca\x4b\xf3\x86\xe0"
  32526. "\x09\x76\x51\x83\x0a\x46\x19\x61"
  32527. "\xf0\xce\xe1\x06\x7d\x06\xb4\xfe"
  32528. "\xd9\xd3\x64\x8e\x0f\xd9\x64\x9e"
  32529. "\x74\x44\x97\x5d\x92\x7b\xe3\xcf"
  32530. "\x51\x44\xe7\xf2\xe7\xc0\x0c\xc2"
  32531. "\xf1\xf7\xa6\x36\x52\x2f\x7c\x09"
  32532. "\xfe\x8c\x59\x77\x52\x6a\x7e\xb3"
  32533. "\x2b\xb9\x17\x78\xe4\xf2\x82\x62"
  32534. "\x7f\x68\x8e\x04\xb4\x8f\x60\xd2"
  32535. "\xc6\x22\x1e\x0f\x3a\x8e\x3c\xb2"
  32536. "\x60\xbc\xa9\xb3\xda\xbd\x50\xe4"
  32537. "\x33\x98\xdd\x6f\xe9\x3b\x77\x57"
  32538. "\xeb\x7c\x8f\xbc\xfc\x34\x34\xb9"
  32539. "\x40\x31\x67\xcf\xfe\x22\x20\xa5"
  32540. "\x97\xe8\x4c\xa2\xc3\x94\xc6\x28"
  32541. "\xa6\x24\xe5\xa6\xb5\xd8\x24\xef"
  32542. "\x16\xa1\xc9\xe5\x92\xe6\x8c\x45"
  32543. "\x24\x24\x51\x22\x1e\xad\xef\x2f"
  32544. "\xb6\xbe\xfc\x92\x20\xac\x45\xe6"
  32545. "\xc0\xb0\xc8\xfb\x21\x34\xd4\x05"
  32546. "\x54\xb3\x99\xa4\xfe\xa9\xd5\xb5"
  32547. "\x3b\x72\x83\xf6\xe2\xf9\x88\x0e"
  32548. "\x20\x80\x3e\x4e\x8f\xa1\x75\x69"
  32549. "\x43\x5a\x7c\x38\x62\x51\xb5\xb7"
  32550. "\x84\x95\x3f\x6d\x24\xcc\xfd\x4b"
  32551. "\x4a\xaa\x97\x83\x6d\x16\xa8\xc5"
  32552. "\x18\xd9\xb9\xfe\xe2\x3f\xe8\xbd"
  32553. "\x37\x44\xdf\x79\x3b\x34\x19\x1a"
  32554. "\x65\x5e\xc7\x61\x1f\x17\x5e\x84"
  32555. "\x20\x72\x32\x98\x8c\x9e\xac\x1f"
  32556. "\x6e\x32\xae\x86\x46\x4f\x0f\x64"
  32557. "\x3f\xce\x96\xe6\x02\x41\x53\x1f"
  32558. "\x35\x30\x57\x7f\xfe\xb7\x47\xb9"
  32559. "\x0c\x2f\x14\x34\x9b\x1c\x88\x17"
  32560. "\xb5\xe5\x94\x17\x3e\xdc\x4d\x49"
  32561. "\xe1\x5d\x75\x3e\xa6\x16\x42\xd4"
  32562. "\x59\xb5\x24\x7c\x4c\x54\x1c\xf9"
  32563. "\xd6\xed\x69\x22\x5f\x74\xc9\xa9"
  32564. "\x7c\xb8\x09\xa7\xf9\x2b\x0d\x5f"
  32565. "\x42\xff\x4e\x57\xde\x0c\x67\x45"
  32566. "\xa4\x6e\xa0\x7e\x28\x34\xc5\xfe"
  32567. "\x58\x7e\xda\xec\x9f\x0b\x31\x2a"
  32568. "\x1f\x1b\x98\xad\x14\xcf\x9f\x96"
  32569. "\xf8\x87\x0e\x14\x19\x81\x23\x53"
  32570. "\x5f\x38\x08\xd9\xc1\xcb\xb2\xc5"
  32571. "\x19\x72\x75\x01\xd4\xcf\xd9\x91"
  32572. "\xfc\x48\xcc\xa3\x3c\xe6\x4c\xc6"
  32573. "\x73\xde\x5e\x90\xce\x6c\x85\x43"
  32574. "\x0d\xdf\xe3\x8c\x02\x62\xef\xac"
  32575. "\xb8\x05\x80\x81\xf6\x22\x30\xad"
  32576. "\x30\xa8\xcb\x55\x1e\xe6\x05\x7f"
  32577. "\xc5\x58\x1a\x78\xb7\x2f\x8e\x3c"
  32578. "\x80\x09\xca\xa2\x9a\x72\xeb\x10"
  32579. "\x84\x54\xaa\x98\x35\x5e\xb1\xc2"
  32580. "\xb7\x73\x14\x69\xef\xf8\x28\x43"
  32581. "\x36\xd3\x10\x0a\xd6\x69\xf8\xc8"
  32582. "\xbb\xe9\xe9\xf9\x29\x52\xf8\x6f"
  32583. "\x12\x78\xf9\xc6\xb2\x12\xfd\x39"
  32584. "\xa9\xeb\xe2\x47\xb9\x22\xc5\x8f"
  32585. "\x4d\xb1\x17\x40\x02\x84\xed\x53"
  32586. "\xc5\xfa\xc1\xcd\x59\x56\x93\xaa"
  32587. "\x3f\x23\x3f\x02\xb7\xe9\x6e\xa0"
  32588. "\xbc\x96\xb8\xb2\xf8\x04\x19\x87"
  32589. "\xe9\x4f\x29\xbf\x3a\xcb\x6d\x48"
  32590. "\xc9\xe7\x1f\xb7\xa8\xf8\xd4\xb4"
  32591. "\x6d\x0f\xb4\xf6\x44\x11\x0f\xf7"
  32592. "\x3d\xd2\x36\x05\x67\xa1\x46\x81"
  32593. "\x90\xe9\x60\x64\xfa\x52\x87\x37"
  32594. "\x44\x01\xbd\x58\xe1\xda\xda\x1e"
  32595. "\xa7\x09\xf7\x43\x31\x2b\x4b\x55"
  32596. "\xbd\x0d\x53\x7f\x12\x6c\xf5\x07"
  32597. "\xfc\x61\xda\xd6\x0a\xbd\x89\x5f"
  32598. "\x2c\xf5\xa8\x1f\x0d\x60\xe4\x3c"
  32599. "\x5d\x94\x8a\x1f\x64\xce\xd5\x16"
  32600. "\x73\xbc\xbe\xb1\x85\x28\xcb\x0b"
  32601. "\x47\x5c\x1f\x66\x25\x89\x61\x6a"
  32602. "\xa7\xcd\xf8\x1b\x31\x88\x42\x71"
  32603. "\x58\x65\x53\xd5\xc0\xa3\x56\x2e"
  32604. "\xb6\x86\x9e\x13\x78\x34\x36\x85"
  32605. "\xbb\xce\x6e\x54\x33\xb9\x97\xc5"
  32606. "\x72\xb8\xe0\x13\x34\x04\xbf\x83"
  32607. "\xbf\x78\x1d\x7c\x23\x34\x90\xe0"
  32608. "\x57\xd4\x3f\xc6\x61\xe3\xca\x96"
  32609. "\x13\xdd\x9e\x20\x51\x18\x73\x37"
  32610. "\x69\x37\xfb\xe5\x60\x1f\xf2\xa1"
  32611. "\xef\xa2\x6e\x16\x32\x8e\xc3\xb6"
  32612. "\x21\x5e\xc2\x1c\xb6\xc6\x96\x72"
  32613. "\x4f\xa6\x85\x69\xa9\x5d\xb2\x2e"
  32614. "\xac\xfe\x6e\xc3\xe7\xb3\x51\x08"
  32615. "\x66\x2a\xac\x59\xb3\x73\x86\xae"
  32616. "\x6d\x85\x97\x37\x68\xef\xa7\x85"
  32617. "\xb7\xdd\xdd\xd9\x85\xc9\x57\x01"
  32618. "\x10\x2b\x9a\x1e\x44\x12\x87\xa5"
  32619. "\x60\x1f\x88\xae\xbf\x14\x2d\x05"
  32620. "\x4c\x60\x85\x8a\x45\xac\x0f\xc2",
  32621. .len = 4096,
  32622. }
  32623. };
  32624. /* Adiantum with XChaCha20 instead of XChaCha12 */
  32625. /* Test vectors from https://github.com/google/adiantum */
  32626. static const struct cipher_testvec adiantum_xchacha20_aes_tv_template[] = {
  32627. {
  32628. .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
  32629. "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
  32630. "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
  32631. "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
  32632. .klen = 32,
  32633. .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
  32634. "\x33\x81\x37\x60\x7d\xfa\x73\x08"
  32635. "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
  32636. "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
  32637. .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
  32638. "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
  32639. .ctext = "\xf6\x78\x97\xd6\xaa\x94\x01\x27"
  32640. "\x2e\x4d\x83\xe0\x6e\x64\x9a\xdf",
  32641. .len = 16,
  32642. }, {
  32643. .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
  32644. "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
  32645. "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
  32646. "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
  32647. .klen = 32,
  32648. .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
  32649. "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
  32650. "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
  32651. "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
  32652. .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
  32653. "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
  32654. "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
  32655. "\x43\x5a\x46\x06\x94\x2d\xf2",
  32656. .ctext = "\x4b\xb8\x90\x10\xdf\x7f\x64\x08"
  32657. "\x0e\x14\x42\x5f\x00\x74\x09\x36"
  32658. "\x57\x72\xb5\xfd\xb5\x5d\xb8\x28"
  32659. "\x0c\x04\x91\x14\x91\xe9\x37",
  32660. .len = 31,
  32661. }, {
  32662. .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
  32663. "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
  32664. "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
  32665. "\x19\x09\x00\xa9\x04\x31\x4f\x11",
  32666. .klen = 32,
  32667. .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
  32668. "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
  32669. "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
  32670. "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
  32671. .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
  32672. "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
  32673. "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
  32674. "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
  32675. "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
  32676. "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
  32677. "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
  32678. "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
  32679. "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
  32680. "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
  32681. "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
  32682. "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
  32683. "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
  32684. "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
  32685. "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
  32686. "\x56\x65\xc5\x54\x23\x28\xb0\x03",
  32687. .ctext = "\xb1\x8b\xa0\x05\x77\xa8\x4d\x59"
  32688. "\x1b\x8e\x21\xfc\x3a\x49\xfa\xd4"
  32689. "\xeb\x36\xf3\xc4\xdf\xdc\xae\x67"
  32690. "\x07\x3f\x70\x0e\xe9\x66\xf5\x0c"
  32691. "\x30\x4d\x66\xc9\xa4\x2f\x73\x9c"
  32692. "\x13\xc8\x49\x44\xcc\x0a\x90\x9d"
  32693. "\x7c\xdd\x19\x3f\xea\x72\x8d\x58"
  32694. "\xab\xe7\x09\x2c\xec\xb5\x44\xd2"
  32695. "\xca\xa6\x2d\x7a\x5c\x9c\x2b\x15"
  32696. "\xec\x2a\xa6\x69\x91\xf9\xf3\x13"
  32697. "\xf7\x72\xc1\xc1\x40\xd5\xe1\x94"
  32698. "\xf4\x29\xa1\x3e\x25\x02\xa8\x3e"
  32699. "\x94\xc1\x91\x14\xa1\x14\xcb\xbe"
  32700. "\x67\x4c\xb9\x38\xfe\xa7\xaa\x32"
  32701. "\x29\x62\x0d\xb2\xf6\x3c\x58\x57"
  32702. "\xc1\xd5\x5a\xbb\xd6\xa6\x2a\xe5",
  32703. .len = 128,
  32704. }, {
  32705. .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
  32706. "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
  32707. "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
  32708. "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
  32709. .klen = 32,
  32710. .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
  32711. "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
  32712. "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
  32713. "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
  32714. .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
  32715. "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
  32716. "\x05\xa3\x69\x60\x91\x36\x98\x57"
  32717. "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
  32718. "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
  32719. "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
  32720. "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
  32721. "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
  32722. "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
  32723. "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
  32724. "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
  32725. "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
  32726. "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
  32727. "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
  32728. "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
  32729. "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
  32730. "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
  32731. "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
  32732. "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
  32733. "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
  32734. "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
  32735. "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
  32736. "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
  32737. "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
  32738. "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
  32739. "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
  32740. "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
  32741. "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
  32742. "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
  32743. "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
  32744. "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
  32745. "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
  32746. "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
  32747. "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
  32748. "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
  32749. "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
  32750. "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
  32751. "\xd7\x31\x87\x89\x09\xab\xd5\x96"
  32752. "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
  32753. "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
  32754. "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
  32755. "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
  32756. "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
  32757. "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
  32758. "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
  32759. "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
  32760. "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
  32761. "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
  32762. "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
  32763. "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
  32764. "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
  32765. "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
  32766. "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
  32767. "\x17\x7c\x25\x48\x52\x67\x11\x27"
  32768. "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
  32769. "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
  32770. "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
  32771. "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
  32772. "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
  32773. "\x79\x50\x33\xca\xd0\xd7\x42\x55"
  32774. "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
  32775. "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
  32776. "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
  32777. "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
  32778. .ctext = "\xe0\x33\xf6\xe0\xb4\xa5\xdd\x2b"
  32779. "\xdd\xce\xfc\x12\x1e\xfc\x2d\xf2"
  32780. "\x8b\xc7\xeb\xc1\xc4\x2a\xe8\x44"
  32781. "\x0f\x3d\x97\x19\x2e\x6d\xa2\x38"
  32782. "\x9d\xa6\xaa\xe1\x96\xb9\x08\xe8"
  32783. "\x0b\x70\x48\x5c\xed\xb5\x9b\xcb"
  32784. "\x8b\x40\x88\x7e\x69\x73\xf7\x16"
  32785. "\x71\xbb\x5b\xfc\xa3\x47\x5d\xa6"
  32786. "\xae\x3a\x64\xc4\xe7\xb8\xa8\xe7"
  32787. "\xb1\x32\x19\xdb\xe3\x01\xb8\xf0"
  32788. "\xa4\x86\xb4\x4c\xc2\xde\x5c\xd2"
  32789. "\x6c\x77\xd2\xe8\x18\xb7\x0a\xc9"
  32790. "\x3d\x53\xb5\xc4\x5c\xf0\x8c\x06"
  32791. "\xdc\x90\xe0\x74\x47\x1b\x0b\xf6"
  32792. "\xd2\x71\x6b\xc4\xf1\x97\x00\x2d"
  32793. "\x63\x57\x44\x1f\x8c\xf4\xe6\x9b"
  32794. "\xe0\x7a\xdd\xec\x32\x73\x42\x32"
  32795. "\x7f\x35\x67\x60\x0d\xcf\x10\x52"
  32796. "\x61\x22\x53\x8d\x8e\xbb\x33\x76"
  32797. "\x59\xd9\x10\xce\xdf\xef\xc0\x41"
  32798. "\xd5\x33\x29\x6a\xda\x46\xa4\x51"
  32799. "\xf0\x99\x3d\x96\x31\xdd\xb5\xcb"
  32800. "\x3e\x2a\x1f\xc7\x5c\x79\xd3\xc5"
  32801. "\x20\xa1\xb1\x39\x1b\xc6\x0a\x70"
  32802. "\x26\x39\x95\x07\xad\x7a\xc9\x69"
  32803. "\xfe\x81\xc7\x88\x08\x38\xaf\xad"
  32804. "\x9e\x8d\xfb\xe8\x24\x0d\x22\xb8"
  32805. "\x0e\xed\xbe\x37\x53\x7c\xa6\xc6"
  32806. "\x78\x62\xec\xa3\x59\xd9\xc6\x9d"
  32807. "\xb8\x0e\x69\x77\x84\x2d\x6a\x4c"
  32808. "\xc5\xd9\xb2\xa0\x2b\xa8\x80\xcc"
  32809. "\xe9\x1e\x9c\x5a\xc4\xa1\xb2\x37"
  32810. "\x06\x9b\x30\x32\x67\xf7\xe7\xd2"
  32811. "\x42\xc7\xdf\x4e\xd4\xcb\xa0\x12"
  32812. "\x94\xa1\x34\x85\x93\x50\x4b\x0a"
  32813. "\x3c\x7d\x49\x25\x01\x41\x6b\x96"
  32814. "\xa9\x12\xbb\x0b\xc0\xd7\xd0\x93"
  32815. "\x1f\x70\x38\xb8\x21\xee\xf6\xa7"
  32816. "\xee\xeb\xe7\x81\xa4\x13\xb4\x87"
  32817. "\xfa\xc1\xb0\xb5\x37\x8b\x74\xa2"
  32818. "\x4e\xc7\xc2\xad\x3d\x62\x3f\xf8"
  32819. "\x34\x42\xe5\xae\x45\x13\x63\xfe"
  32820. "\xfc\x2a\x17\x46\x61\xa9\xd3\x1c"
  32821. "\x4c\xaf\xf0\x09\x62\x26\x66\x1e"
  32822. "\x74\xcf\xd6\x68\x3d\x7d\xd8\xb7"
  32823. "\xe7\xe6\xf8\xf0\x08\x20\xf7\x47"
  32824. "\x1c\x52\xaa\x0f\x3e\x21\xa3\xf2"
  32825. "\xbf\x2f\x95\x16\xa8\xc8\xc8\x8c"
  32826. "\x99\x0f\x5d\xfb\xfa\x2b\x58\x8a"
  32827. "\x7e\xd6\x74\x02\x60\xf0\xd0\x5b"
  32828. "\x65\xa8\xac\xea\x8d\x68\x46\x34"
  32829. "\x26\x9d\x4f\xb1\x9a\x8e\xc0\x1a"
  32830. "\xf1\xed\xc6\x7a\x83\xfd\x8a\x57"
  32831. "\xf2\xe6\xe4\xba\xfc\xc6\x3c\xad"
  32832. "\x5b\x19\x50\x2f\x3a\xcc\x06\x46"
  32833. "\x04\x51\x3f\x91\x97\xf0\xd2\x07"
  32834. "\xe7\x93\x89\x7e\xb5\x32\x0f\x03"
  32835. "\xe5\x58\x9e\x74\x72\xeb\xc2\x38"
  32836. "\x00\x0c\x91\x72\x69\xed\x7d\x6d"
  32837. "\xc8\x71\xf0\xec\xff\x80\xd9\x1c"
  32838. "\x9e\xd2\xfa\x15\xfc\x6c\x4e\xbc"
  32839. "\xb1\xa6\xbd\xbd\x70\x40\xca\x20"
  32840. "\xb8\x78\xd2\xa3\xc6\xf3\x79\x9c"
  32841. "\xc7\x27\xe1\x6a\x29\xad\xa4\x03",
  32842. .len = 512,
  32843. }, {
  32844. .key = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
  32845. "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
  32846. "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
  32847. "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
  32848. .klen = 32,
  32849. .iv = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
  32850. "\x88\x76\x65\xb4\x1a\x29\x27\x12"
  32851. "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
  32852. "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
  32853. .ptext = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
  32854. "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
  32855. "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
  32856. "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
  32857. "\x38\x24\x62\xdb\x65\x82\x10\x7f"
  32858. "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
  32859. "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
  32860. "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
  32861. "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
  32862. "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
  32863. "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
  32864. "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
  32865. "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
  32866. "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
  32867. "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
  32868. "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
  32869. "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
  32870. "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
  32871. "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
  32872. "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
  32873. "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
  32874. "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
  32875. "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
  32876. "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
  32877. "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
  32878. "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
  32879. "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
  32880. "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
  32881. "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
  32882. "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
  32883. "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
  32884. "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
  32885. "\x28\x04\x4c\xff\x98\x20\x08\x10"
  32886. "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
  32887. "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
  32888. "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
  32889. "\x24\x62\xcf\x17\x36\x84\xc0\x72"
  32890. "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
  32891. "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
  32892. "\x71\x73\x08\x4e\x22\x31\xfd\x88"
  32893. "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
  32894. "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
  32895. "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
  32896. "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
  32897. "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
  32898. "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
  32899. "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
  32900. "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
  32901. "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
  32902. "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
  32903. "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
  32904. "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
  32905. "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
  32906. "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
  32907. "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
  32908. "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
  32909. "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
  32910. "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
  32911. "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
  32912. "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
  32913. "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
  32914. "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
  32915. "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
  32916. "\x85\x12\xca\x61\x65\xd1\x66\xd8"
  32917. "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
  32918. "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
  32919. "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
  32920. "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
  32921. "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
  32922. "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
  32923. "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
  32924. "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
  32925. "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
  32926. "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
  32927. "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
  32928. "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
  32929. "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
  32930. "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
  32931. "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
  32932. "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
  32933. "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
  32934. "\x16\xcb\xae\x7d\x38\x21\x67\x74"
  32935. "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
  32936. "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
  32937. "\xa8\x88\x27\x86\x44\x75\x5b\x29"
  32938. "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
  32939. "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
  32940. "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
  32941. "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
  32942. "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
  32943. "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
  32944. "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
  32945. "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
  32946. "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
  32947. "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
  32948. "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
  32949. "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
  32950. "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
  32951. "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
  32952. "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
  32953. "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
  32954. "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
  32955. "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
  32956. "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
  32957. "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
  32958. "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
  32959. "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
  32960. "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
  32961. "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
  32962. "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
  32963. "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
  32964. "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
  32965. "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
  32966. "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
  32967. "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
  32968. "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
  32969. "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
  32970. "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
  32971. "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
  32972. "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
  32973. "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
  32974. "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
  32975. "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
  32976. "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
  32977. "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
  32978. "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
  32979. "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
  32980. "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
  32981. "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
  32982. "\x55\x9a\xe0\x09\x21\xac\x61\x85"
  32983. "\x4b\x20\x95\x73\x63\x26\xe3\x83"
  32984. "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
  32985. "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
  32986. "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
  32987. "\x98\x09\x11\xb7\x00\x06\x24\x5a"
  32988. "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
  32989. "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
  32990. "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
  32991. "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
  32992. "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
  32993. "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
  32994. "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
  32995. "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
  32996. "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
  32997. "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
  32998. "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
  32999. "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
  33000. "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
  33001. "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
  33002. "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
  33003. "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
  33004. "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
  33005. "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
  33006. "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
  33007. "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
  33008. "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
  33009. "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
  33010. "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
  33011. "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
  33012. "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
  33013. "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
  33014. "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
  33015. "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
  33016. "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
  33017. "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
  33018. "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
  33019. "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
  33020. "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
  33021. "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
  33022. "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
  33023. "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
  33024. "\x62\x96\x79\x0c\x81\x05\x41\xf2"
  33025. "\x07\x20\x26\xe5\x8e\x10\x54\x03"
  33026. "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
  33027. "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
  33028. "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
  33029. "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
  33030. "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
  33031. "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
  33032. "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
  33033. "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
  33034. "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
  33035. "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
  33036. "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
  33037. "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
  33038. "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
  33039. "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
  33040. "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
  33041. "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
  33042. "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
  33043. "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
  33044. "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
  33045. .ctext = "\xfc\x02\x83\x13\x73\x06\x70\x3f"
  33046. "\x71\x28\x98\x61\xe5\x2c\x45\x49"
  33047. "\x18\xa2\x0e\x17\xc9\xdb\x4d\xf6"
  33048. "\xbe\x05\x02\x35\xc1\x18\x61\x28"
  33049. "\xff\x28\x0a\xd9\x00\xb8\xed\xec"
  33050. "\x14\x80\x88\x56\xcf\x98\x32\xcc"
  33051. "\xb0\xee\xb4\x5e\x2d\x61\x59\xcb"
  33052. "\x48\xc9\x25\xaa\x7e\x5f\xe5\x4f"
  33053. "\x95\x8f\x5d\x47\xe8\xc3\x09\xb4"
  33054. "\xce\xe7\x74\xcd\xc6\x09\x5c\xfc"
  33055. "\xc7\x79\xc9\x39\xe4\xe3\x9b\x59"
  33056. "\x67\x61\x10\xc9\xb7\x7a\xa8\x11"
  33057. "\x59\xf6\x7a\x67\x1c\x3a\x70\x76"
  33058. "\x2e\x0e\xbd\x10\x93\x01\x06\xea"
  33059. "\x51\xc6\x5c\xa7\xda\xd1\x7d\x06"
  33060. "\x8b\x1d\x5b\xb6\x87\xf0\x32\xbe"
  33061. "\xff\x55\xaa\x58\x5a\x28\xd1\x64"
  33062. "\x45\x3b\x0b\x5c\xee\xc4\x12\x2d"
  33063. "\x1f\xb7\xa5\x73\xf5\x20\xf5\xa8"
  33064. "\x10\x9d\xd8\x16\xd2\x05\x4d\x49"
  33065. "\x99\x4a\x71\x56\xec\xa3\xc7\x27"
  33066. "\xb0\x98\xcd\x59\x3c\x8a\xd1\x9e"
  33067. "\x33\xa5\x92\xf2\xb7\x87\x23\x5d"
  33068. "\x53\x9a\x8e\x7c\x63\x57\x5e\x9a"
  33069. "\x21\x54\x7a\x3c\x5a\xd5\x68\x69"
  33070. "\x35\x17\x51\x06\x19\x82\x9d\x44"
  33071. "\x9e\x8a\x75\xc5\x16\x55\xa4\x78"
  33072. "\x95\x63\xc3\xf0\x91\x73\x77\x44"
  33073. "\x0c\xff\xb9\xb3\xa7\x5f\xcf\x2a"
  33074. "\xa2\x54\x9c\xe3\x8b\x7e\x9d\x65"
  33075. "\xe5\x64\x8b\xbe\x06\x3a\x90\x31"
  33076. "\xdb\x42\x78\xe9\xe6\x8a\xae\xba"
  33077. "\x8f\xfb\xc9\x3d\xd9\xc2\x3e\x57"
  33078. "\xd5\x58\xfe\x70\x44\xe5\x2a\xd5"
  33079. "\x87\xcf\x9f\x6a\x02\xde\x48\xe9"
  33080. "\x13\xed\x8d\x2b\xf2\xa1\x56\x07"
  33081. "\x36\x2d\xcf\xc3\x5c\xd4\x4b\x20"
  33082. "\xb0\xdf\x1a\x70\xed\x0a\xe4\x2e"
  33083. "\x9a\xfc\x88\xa1\xc4\x2d\xd6\xb8"
  33084. "\xf1\x6e\x2c\x5c\xdc\x0e\xb0\x21"
  33085. "\x2d\x76\xb8\xc3\x05\x4c\xf5\xc5"
  33086. "\x9a\x14\xab\x08\xc2\x67\x59\x30"
  33087. "\x7a\xef\xd8\x4a\x89\x49\xd4\xf0"
  33088. "\x22\x39\xf2\x61\xaa\x70\x36\xcf"
  33089. "\x65\xee\x43\x83\x2e\x32\xe4\xc9"
  33090. "\xc2\xf1\xc7\x08\x28\x59\x10\x6f"
  33091. "\x7a\xeb\x8f\x78\x9e\xdf\x07\x0f"
  33092. "\xca\xc7\x02\x6a\x2e\x2a\xf0\x64"
  33093. "\xfa\x4c\x8c\x4c\xfc\x13\x23\x63"
  33094. "\x54\xeb\x1d\x41\xdf\x88\xd6\x66"
  33095. "\xae\x5e\x31\x74\x5d\x84\x65\xb8"
  33096. "\x61\x1c\x88\x1b\x8f\xb6\x14\x4e"
  33097. "\x73\x23\x27\x71\x85\x04\x07\x59"
  33098. "\x18\xa3\x2b\x69\x2a\x42\x81\xbf"
  33099. "\x40\xf4\x40\xdf\x04\xb8\x6c\x2e"
  33100. "\x21\x5b\x22\x25\x61\x01\x96\xce"
  33101. "\xfb\xbc\x75\x25\x2c\x03\x55\xea"
  33102. "\xb6\x56\x31\x03\xc8\x98\x77\xd6"
  33103. "\x30\x19\x9e\x45\x05\xfd\xca\xdf"
  33104. "\xae\x89\x30\xa3\xc1\x65\x41\x67"
  33105. "\x12\x8e\xa4\x61\xd0\x87\x04\x0a"
  33106. "\xe6\xf3\x43\x3a\x38\xce\x22\x36"
  33107. "\x41\xdc\xe1\x7d\xd2\xa6\xe2\x66"
  33108. "\x21\x8d\xc9\x59\x73\x52\x34\xd8"
  33109. "\x1f\xf1\x87\x00\x9b\x12\x74\xeb"
  33110. "\xbb\xa9\x34\x0c\x8e\x79\x74\x64"
  33111. "\xbf\x94\x97\xe4\x94\xda\xf0\x39"
  33112. "\x66\xa8\xd9\x82\xe3\x11\x3d\xe7"
  33113. "\xb3\x9a\x40\x7a\x6f\x71\xc7\x0f"
  33114. "\x7b\x6d\x59\x79\x18\x2f\x11\x60"
  33115. "\x1e\xe0\xae\x1b\x1b\xb4\xad\x4d"
  33116. "\x63\xd9\x3e\xa0\x8f\xe3\x66\x8c"
  33117. "\xfe\x5a\x73\x07\x95\x27\x1a\x07"
  33118. "\x6e\xd6\x14\x3f\xbe\xc5\x99\x94"
  33119. "\xcf\x40\xf4\x39\x1c\xf2\x99\x5b"
  33120. "\xb7\xfb\xb4\x4e\x5f\x21\x10\x04"
  33121. "\x24\x08\xd4\x0d\x10\x7a\x2f\x52"
  33122. "\x7d\x91\xc3\x38\xd3\x16\xf0\xfd"
  33123. "\x53\xba\xda\x88\xa5\xf6\xc7\xfd"
  33124. "\x63\x4a\x9f\x48\xb5\x31\xc2\xe1"
  33125. "\x7b\x3e\xac\x8d\xc9\x95\x02\x92"
  33126. "\xcc\xbd\x0e\x15\x2d\x97\x08\x82"
  33127. "\xa6\x99\xbc\x2c\x96\x91\xde\xa4"
  33128. "\x9c\xf5\x2c\xef\x12\x29\xb0\x72"
  33129. "\x5f\x60\x5d\x3d\xf3\x85\x59\x79"
  33130. "\xac\x06\x63\x74\xcc\x1a\x8d\x0e"
  33131. "\xa7\x5f\xd9\x3e\x84\xf7\xbb\xde"
  33132. "\x06\xd9\x4b\xab\xee\xb2\x03\xbe"
  33133. "\x68\x49\x72\x84\x8e\xf8\x45\x2b"
  33134. "\x59\x99\x17\xd3\xe9\x32\x79\xc3"
  33135. "\x83\x4c\x7a\x6c\x71\x53\x8c\x09"
  33136. "\x76\xfb\x3e\x80\x99\xbc\x2c\x7d"
  33137. "\x42\xe5\x70\x08\x80\xc7\xaf\x15"
  33138. "\x90\xda\x98\x98\x81\x04\x1c\x4d"
  33139. "\x78\xf1\xf3\xcc\x1b\x3a\x7b\xef"
  33140. "\xea\xe1\xee\x0e\xd2\x32\xb6\x63"
  33141. "\xbf\xb2\xb5\x86\x8d\x16\xd3\x23"
  33142. "\x04\x59\x51\xbb\x17\x03\xc0\x07"
  33143. "\x93\xbf\x72\x58\x30\xf2\x0a\xa2"
  33144. "\xbc\x60\x86\x3b\x68\x91\x67\x14"
  33145. "\x10\x76\xda\xa3\x98\x2d\xfc\x8a"
  33146. "\xb8\x95\xf7\xd2\x8b\x97\x8b\xfc"
  33147. "\xf2\x9e\x86\x20\xb6\xdf\x93\x41"
  33148. "\x06\x5e\x37\x3e\xe2\xb8\xd5\x06"
  33149. "\x59\xd2\x8d\x43\x91\x5a\xed\x94"
  33150. "\x54\xc2\x77\xbc\x0b\xb4\x29\x80"
  33151. "\x22\x19\xe7\x35\x1f\x29\x4f\xd8"
  33152. "\x02\x98\xee\x83\xca\x4c\x94\xa3"
  33153. "\xec\xde\x4b\xf5\xca\x57\x93\xa3"
  33154. "\x72\x69\xfe\x27\x7d\x39\x24\x9a"
  33155. "\x60\x19\x72\xbe\x24\xb2\x2d\x99"
  33156. "\x8c\xb7\x32\xf8\x74\x77\xfc\x8d"
  33157. "\xb2\xc1\x7a\x88\x28\x26\xea\xb7"
  33158. "\xad\xf0\x38\x49\x88\x78\x73\xcd"
  33159. "\x01\xef\xb9\x30\x1a\x33\xa3\x24"
  33160. "\x9b\x0b\xc5\x89\x64\x3f\xbe\x76"
  33161. "\xd5\xa5\x28\x74\xa2\xc6\xa0\xa0"
  33162. "\xdd\x13\x81\x64\x2f\xd1\xab\x15"
  33163. "\xab\x13\xb5\x68\x59\xa4\x9f\x0e"
  33164. "\x1e\x0a\xaf\xf7\x0b\x6e\x6b\x0b"
  33165. "\xf7\x95\x4c\xbc\x1d\x40\x6d\x9c"
  33166. "\x08\x42\xef\x07\x03\xb7\xa3\xea"
  33167. "\x2a\x5f\xec\x41\x3c\x72\x31\x9d"
  33168. "\xdc\x6b\x3a\x5e\x35\x3d\x12\x09"
  33169. "\x27\xe8\x63\xbe\xcf\xb3\xbc\x01"
  33170. "\x2d\x0c\x86\xb2\xab\x4a\x69\xe5"
  33171. "\xf8\x45\x97\x76\x0e\x31\xe5\xc6"
  33172. "\x4c\x4f\x94\xa5\x26\x19\x9f\x1b"
  33173. "\xe1\xf4\x79\x04\xb4\x93\x92\xdc"
  33174. "\xa5\x2a\x66\x25\x0d\xb2\x9e\xea"
  33175. "\xa8\xf6\x02\x77\x2d\xd1\x3f\x59"
  33176. "\x5c\x04\xe2\x36\x52\x5f\xa1\x27"
  33177. "\x0a\x07\x56\xb6\x2d\xd5\x90\x32"
  33178. "\x64\xee\x3f\x42\x8f\x61\xf8\xa0"
  33179. "\xc1\x8b\x1e\x0b\xa2\x73\xa9\xf3"
  33180. "\xc9\x0e\xb1\x96\x3a\x67\x5f\x1e"
  33181. "\xd1\x98\x57\xa2\xba\xb3\x23\x9d"
  33182. "\xa3\xc6\x3c\x7d\x5e\x3e\xb3\xe8"
  33183. "\x80\xae\x2d\xda\x85\x90\x69\x3c"
  33184. "\xf0\xe7\xdd\x9e\x20\x10\x52\xdb"
  33185. "\xc3\xa0\x15\x73\xee\xb1\xf1\x0f"
  33186. "\xf1\xf8\x3f\x40\xe5\x17\x80\x4e"
  33187. "\x91\x95\xc7\xec\xd1\x9c\xd9\x1a"
  33188. "\x8b\xac\xec\xc9\x0c\x07\xf4\xdc"
  33189. "\x77\x2d\xa2\xc4\xf8\x27\xb5\x41"
  33190. "\x2f\x85\xa6\x48\xad\x2a\x58\xc5"
  33191. "\xea\xfa\x1c\xdb\xfd\xb7\x70\x45"
  33192. "\xfc\xad\x11\xaf\x05\xed\xbf\xb6"
  33193. "\x3c\xe1\x57\xb8\x72\x4a\xa0\x6b"
  33194. "\x40\xd3\xda\xa9\xbc\xa5\x02\x95"
  33195. "\x8c\xf0\x4e\x67\xb2\x58\x66\xea"
  33196. "\x58\x0e\xc4\x88\xbc\x1d\x3b\x15"
  33197. "\x17\xc8\xf5\xd0\x69\x08\x0a\x01"
  33198. "\x80\x2e\x9e\x69\x4c\x37\x0b\xba"
  33199. "\xfb\x1a\xa9\xc3\x5f\xec\x93\x7c"
  33200. "\x4f\x72\x68\x1a\x05\xa1\x32\xe1"
  33201. "\x16\x57\x9e\xa6\xe0\x42\xfa\x76"
  33202. "\xc2\xf6\xd3\x9b\x37\x0d\xa3\x58"
  33203. "\x30\x27\xe7\xea\xb1\xc3\x43\xfb"
  33204. "\x67\x04\x70\x86\x0a\x71\x69\x34"
  33205. "\xca\xb1\xe3\x4a\x56\xc9\x29\xd1"
  33206. "\x12\x6a\xee\x89\xfd\x27\x83\xdf"
  33207. "\x32\x1a\xc2\xe9\x94\xcc\x44\x2e"
  33208. "\x0f\x3e\xc8\xc1\x70\x5b\xb0\xe8"
  33209. "\x6d\x47\xe3\x39\x75\xd5\x45\x8a"
  33210. "\x48\x4c\x64\x76\x6f\xae\x24\x6f"
  33211. "\xae\x77\x33\x5b\xf5\xca\x9c\x30"
  33212. "\x2c\x27\x15\x5e\x9c\x65\xad\x2a"
  33213. "\x88\xb1\x36\xf6\xcd\x5e\x73\x72"
  33214. "\x99\x5c\xe2\xe4\xb8\x3e\x12\xfb"
  33215. "\x55\x86\xfa\xab\x53\x12\xdc\x6a"
  33216. "\xe3\xfe\x6a\xeb\x9b\x5d\xeb\x72"
  33217. "\x9d\xf1\xbb\x80\x80\x76\x2d\x57"
  33218. "\x11\xde\xcf\xae\x46\xad\xdb\xcd"
  33219. "\x62\x66\x3d\x7b\x7f\xcb\xc4\x43"
  33220. "\x81\x0c\x7e\xb9\xb7\x47\x1a\x40"
  33221. "\xfd\x08\x51\xbe\x01\x1a\xd8\x31"
  33222. "\x43\x5e\x24\x91\xa2\x53\xa1\xc5"
  33223. "\x8a\xe4\xbc\x00\x8e\xf7\x0c\x30"
  33224. "\xdf\x03\x34\x2f\xce\xe4\x2e\xda"
  33225. "\x2b\x87\xfc\xf8\x9b\x50\xd5\xb0"
  33226. "\x5b\x08\xc6\x17\xa0\xae\x6b\x24"
  33227. "\xe2\x1d\xd0\x47\xbe\xc4\x8f\x62"
  33228. "\x1d\x12\x26\xc7\x78\xd4\xf2\xa3"
  33229. "\xea\x39\x8c\xcb\x54\x3e\x2b\xb9"
  33230. "\x9a\x8f\x97\xcf\x68\x53\x40\x02"
  33231. "\x56\xac\x52\xbb\x62\x3c\xc6\x3f"
  33232. "\x3a\x53\x3c\xe8\x21\x9a\x60\x65"
  33233. "\x10\x6e\x59\xc3\x4f\xc3\x07\xc8"
  33234. "\x61\x1c\xea\x62\x6e\xa2\x5a\x12"
  33235. "\xd6\x10\x91\xbe\x5e\x58\x73\xbe"
  33236. "\x77\xb8\xb7\x98\xc7\x7e\x78\x9a",
  33237. .len = 1536,
  33238. }, {
  33239. .key = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
  33240. "\x70\x47\x8c\xea\x87\x30\x1d\x58"
  33241. "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
  33242. "\x56\x95\x83\x98\x38\x80\x84\x8a",
  33243. .klen = 32,
  33244. .iv = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
  33245. "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
  33246. "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
  33247. "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
  33248. .ptext = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
  33249. "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
  33250. "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
  33251. "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
  33252. "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
  33253. "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
  33254. "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
  33255. "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
  33256. "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
  33257. "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
  33258. "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
  33259. "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
  33260. "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
  33261. "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
  33262. "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
  33263. "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
  33264. "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
  33265. "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
  33266. "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
  33267. "\x35\x21\x66\x78\x3d\xb6\x65\x83"
  33268. "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
  33269. "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
  33270. "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
  33271. "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
  33272. "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
  33273. "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
  33274. "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
  33275. "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
  33276. "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
  33277. "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
  33278. "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
  33279. "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
  33280. "\x96\x87\xc9\x34\x02\x26\xde\x20"
  33281. "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
  33282. "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
  33283. "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
  33284. "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
  33285. "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
  33286. "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
  33287. "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
  33288. "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
  33289. "\x85\xfd\x22\x08\x00\xae\x72\x10"
  33290. "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
  33291. "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
  33292. "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
  33293. "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
  33294. "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
  33295. "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
  33296. "\x93\x45\x38\x95\xb9\x69\xe9\x62"
  33297. "\x21\x73\xbd\x81\x73\xac\x15\x74"
  33298. "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
  33299. "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
  33300. "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
  33301. "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
  33302. "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
  33303. "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
  33304. "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
  33305. "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
  33306. "\x24\x43\xb3\x0e\xba\xad\x63\x63"
  33307. "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
  33308. "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
  33309. "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
  33310. "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
  33311. "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
  33312. "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
  33313. "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
  33314. "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
  33315. "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
  33316. "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
  33317. "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
  33318. "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
  33319. "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
  33320. "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
  33321. "\x9d\x46\xae\x67\x00\x3b\x40\x94"
  33322. "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
  33323. "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
  33324. "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
  33325. "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
  33326. "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
  33327. "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
  33328. "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
  33329. "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
  33330. "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
  33331. "\x76\xca\x9f\x56\xae\x04\x2e\x75"
  33332. "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
  33333. "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
  33334. "\x08\x67\x02\x01\xe3\x64\x82\xee"
  33335. "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
  33336. "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
  33337. "\x85\x48\xb6\x97\x97\x02\x43\x1f"
  33338. "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
  33339. "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
  33340. "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
  33341. "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
  33342. "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
  33343. "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
  33344. "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
  33345. "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
  33346. "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
  33347. "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
  33348. "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
  33349. "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
  33350. "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
  33351. "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
  33352. "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
  33353. "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
  33354. "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
  33355. "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
  33356. "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
  33357. "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
  33358. "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
  33359. "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
  33360. "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
  33361. "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
  33362. "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
  33363. "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
  33364. "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
  33365. "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
  33366. "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
  33367. "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
  33368. "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
  33369. "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
  33370. "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
  33371. "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
  33372. "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
  33373. "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
  33374. "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
  33375. "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
  33376. "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
  33377. "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
  33378. "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
  33379. "\x36\x12\x35\x28\x64\x12\xe7\xbb"
  33380. "\x50\xac\x45\x15\x7b\x16\x23\x5e"
  33381. "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
  33382. "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
  33383. "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
  33384. "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
  33385. "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
  33386. "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
  33387. "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
  33388. "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
  33389. "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
  33390. "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
  33391. "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
  33392. "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
  33393. "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
  33394. "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
  33395. "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
  33396. "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
  33397. "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
  33398. "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
  33399. "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
  33400. "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
  33401. "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
  33402. "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
  33403. "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
  33404. "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
  33405. "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
  33406. "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
  33407. "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
  33408. "\x7d\x65\x57\x65\x98\xff\x8b\x02"
  33409. "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
  33410. "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
  33411. "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
  33412. "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
  33413. "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
  33414. "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
  33415. "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
  33416. "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
  33417. "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
  33418. "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
  33419. "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
  33420. "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
  33421. "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
  33422. "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
  33423. "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
  33424. "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
  33425. "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
  33426. "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
  33427. "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
  33428. "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
  33429. "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
  33430. "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
  33431. "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
  33432. "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
  33433. "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
  33434. "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
  33435. "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
  33436. "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
  33437. "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
  33438. "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
  33439. "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
  33440. "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
  33441. "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
  33442. "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
  33443. "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
  33444. "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
  33445. "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
  33446. "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
  33447. "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
  33448. "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
  33449. "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
  33450. "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
  33451. "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
  33452. "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
  33453. "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
  33454. "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
  33455. "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
  33456. "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
  33457. "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
  33458. "\x53\xf1\x61\x97\x63\x52\x38\x86"
  33459. "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
  33460. "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
  33461. "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
  33462. "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
  33463. "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
  33464. "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
  33465. "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
  33466. "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
  33467. "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
  33468. "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
  33469. "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
  33470. "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
  33471. "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
  33472. "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
  33473. "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
  33474. "\x48\xb9\x27\x62\x00\x12\xc5\x03"
  33475. "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
  33476. "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
  33477. "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
  33478. "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
  33479. "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
  33480. "\x99\xd5\xff\x34\x93\x8f\x31\x45"
  33481. "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
  33482. "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
  33483. "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
  33484. "\x26\xec\x3a\x64\xc4\xab\x74\x97"
  33485. "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
  33486. "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
  33487. "\x68\x50\x22\x16\x96\x2f\xc4\x23"
  33488. "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
  33489. "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
  33490. "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
  33491. "\x20\x89\xef\x44\x22\x38\x3c\x14"
  33492. "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
  33493. "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
  33494. "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
  33495. "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
  33496. "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
  33497. "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
  33498. "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
  33499. "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
  33500. "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
  33501. "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
  33502. "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
  33503. "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
  33504. "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
  33505. "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
  33506. "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
  33507. "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
  33508. "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
  33509. "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
  33510. "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
  33511. "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
  33512. "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
  33513. "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
  33514. "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
  33515. "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
  33516. "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
  33517. "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
  33518. "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
  33519. "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
  33520. "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
  33521. "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
  33522. "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
  33523. "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
  33524. "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
  33525. "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
  33526. "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
  33527. "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
  33528. "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
  33529. "\x60\x81\x75\x29\x9e\xce\x2a\x70"
  33530. "\x28\x0c\x87\xe5\x46\x73\x76\x66"
  33531. "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
  33532. "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
  33533. "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
  33534. "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
  33535. "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
  33536. "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
  33537. "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
  33538. "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
  33539. "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
  33540. "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
  33541. "\xf1\x11\x02\x64\x09\x25\x7c\x26"
  33542. "\xee\xad\x50\x68\x31\x26\x16\x0f"
  33543. "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
  33544. "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
  33545. "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
  33546. "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
  33547. "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
  33548. "\x40\x12\x43\x31\xb8\x12\xe0\x95"
  33549. "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
  33550. "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
  33551. "\xab\x03\xda\x41\xab\xc5\x4e\x33"
  33552. "\x5a\x63\x94\x90\x22\x72\x54\x26"
  33553. "\x93\x65\x99\x45\x55\xd3\x55\x56"
  33554. "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
  33555. "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
  33556. "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
  33557. "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
  33558. "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
  33559. "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
  33560. "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
  33561. "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
  33562. "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
  33563. "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
  33564. "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
  33565. "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
  33566. "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
  33567. "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
  33568. "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
  33569. "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
  33570. "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
  33571. "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
  33572. "\xad\x6e\x83\x90\x21\x10\xb8\x07"
  33573. "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
  33574. "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
  33575. "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
  33576. "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
  33577. "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
  33578. "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
  33579. "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
  33580. "\x02\x5a\x20\x4d\x43\x08\x71\x49"
  33581. "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
  33582. "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
  33583. "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
  33584. "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
  33585. "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
  33586. "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
  33587. "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
  33588. "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
  33589. "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
  33590. "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
  33591. "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
  33592. "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
  33593. "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
  33594. "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
  33595. "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
  33596. "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
  33597. "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
  33598. "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
  33599. "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
  33600. "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
  33601. "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
  33602. "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
  33603. "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
  33604. "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
  33605. "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
  33606. "\x08\x48\xfd\x9b\x47\x41\x10\xae"
  33607. "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
  33608. "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
  33609. "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
  33610. "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
  33611. "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
  33612. "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
  33613. "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
  33614. "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
  33615. "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
  33616. "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
  33617. "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
  33618. "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
  33619. "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
  33620. "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
  33621. "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
  33622. "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
  33623. "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
  33624. "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
  33625. "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
  33626. "\x54\x14\x91\x12\x41\x41\x54\xa2"
  33627. "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
  33628. "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
  33629. "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
  33630. "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
  33631. "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
  33632. "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
  33633. "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
  33634. "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
  33635. "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
  33636. "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
  33637. "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
  33638. "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
  33639. "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
  33640. "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
  33641. "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
  33642. "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
  33643. "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
  33644. "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
  33645. "\x58\xec\x70\x4f\x40\x25\x2b\xba"
  33646. "\x96\x59\xac\x34\x45\x29\xc6\x57"
  33647. "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
  33648. "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
  33649. "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
  33650. "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
  33651. "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
  33652. "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
  33653. "\xea\xa5\x56\x02\x5b\x93\x13\x46"
  33654. "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
  33655. "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
  33656. "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
  33657. "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
  33658. "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
  33659. "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
  33660. "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
  33661. "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
  33662. "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
  33663. "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
  33664. "\xad\x57\xae\x98\x83\xd5\x92\x4e"
  33665. "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
  33666. "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
  33667. "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
  33668. "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
  33669. "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
  33670. "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
  33671. "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
  33672. "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
  33673. "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
  33674. "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
  33675. "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
  33676. "\x32\x06\x3f\x12\x23\x19\x22\x82"
  33677. "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
  33678. "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
  33679. "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
  33680. "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
  33681. "\x35\x79\x84\x78\x06\x68\x97\x30"
  33682. "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
  33683. "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
  33684. "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
  33685. "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
  33686. "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
  33687. "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
  33688. "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
  33689. "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
  33690. "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
  33691. "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
  33692. "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
  33693. "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
  33694. "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
  33695. "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
  33696. "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
  33697. "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
  33698. "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
  33699. "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
  33700. "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
  33701. "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
  33702. "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
  33703. "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
  33704. "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
  33705. "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
  33706. "\x13\xa7\x47\x89\x62\xa3\x03\x19"
  33707. "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
  33708. "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
  33709. "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
  33710. "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
  33711. "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
  33712. "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
  33713. "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
  33714. "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
  33715. "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
  33716. "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
  33717. "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
  33718. "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
  33719. "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
  33720. "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
  33721. "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
  33722. "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
  33723. "\x20\xa9\x37\x78\x32\x03\x60\xcc"
  33724. "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
  33725. "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
  33726. "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
  33727. "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
  33728. "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
  33729. "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
  33730. "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
  33731. "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
  33732. "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
  33733. "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
  33734. "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
  33735. "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
  33736. "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
  33737. "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
  33738. "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
  33739. "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
  33740. "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
  33741. "\x12\xab\x95\x66\xec\x09\x64\xea"
  33742. "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
  33743. "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
  33744. "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
  33745. "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
  33746. "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
  33747. "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
  33748. "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
  33749. "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
  33750. "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
  33751. "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
  33752. "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
  33753. "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
  33754. "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
  33755. "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
  33756. "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
  33757. "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
  33758. "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
  33759. "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
  33760. .ctext = "\x2c\xf5\x4c\xc9\x99\x19\x83\x84"
  33761. "\x09\xbc\xe6\xad\xbe\xb6\x6b\x1b"
  33762. "\x75\x0b\x3d\x33\x10\xb4\x8b\xf7"
  33763. "\xa7\xc7\xba\x9f\x6e\xd7\xc7\xfd"
  33764. "\x58\xef\x24\xf4\xdc\x26\x3f\x35"
  33765. "\x02\x98\xf2\x8c\x96\xca\xfc\xca"
  33766. "\xca\xfa\x27\xe6\x23\x1f\xf0\xc7"
  33767. "\xe3\x46\xbf\xca\x7b\x4e\x24\xcd"
  33768. "\xd0\x13\x3f\x80\xd6\x5b\x0b\xdc"
  33769. "\xad\xc6\x49\x77\xd7\x58\xf5\xfd"
  33770. "\x58\xba\x72\x0d\x9e\x0b\x63\xc3"
  33771. "\x86\xac\x06\x97\x70\x42\xec\x3a"
  33772. "\x0d\x53\x27\x17\xbd\x3e\xcb\xe0"
  33773. "\xaa\x19\xb4\xfe\x5d\x1b\xcb\xd7"
  33774. "\x99\xc3\x19\x45\x6f\xdf\x64\x44"
  33775. "\x9f\xf8\x55\x1b\x72\x8d\x78\x51"
  33776. "\x3c\x83\x48\x8f\xaf\x05\x60\x7d"
  33777. "\x22\xce\x07\x53\xfd\x91\xcf\xfa"
  33778. "\x5f\x86\x66\x3e\x72\x67\x7f\xc1"
  33779. "\x49\x82\xc7\x1c\x91\x1e\x48\xcd"
  33780. "\x5e\xc6\x5f\xd9\xc9\x43\x88\x35"
  33781. "\x80\xba\x91\xe1\x54\x4b\x14\xbe"
  33782. "\xbd\x75\x48\xb8\xde\x22\x64\xb5"
  33783. "\x8c\xcb\x5e\x92\x99\x8f\x4a\xab"
  33784. "\x00\x6c\xb4\x2e\x03\x3b\x0e\xee"
  33785. "\x4d\x39\x05\xbc\x94\x80\xbb\xb2"
  33786. "\x36\x16\xa3\xd9\x8f\x61\xd7\x67"
  33787. "\xb5\x90\x46\x85\xe1\x4e\x71\x84"
  33788. "\xd0\x84\xc0\xc0\x8f\xad\xdb\xeb"
  33789. "\x44\xf4\x66\x35\x3f\x92\xa2\x05"
  33790. "\xa4\x9c\xb8\xdc\x77\x6c\x85\x34"
  33791. "\xd2\x6a\xea\x32\xb8\x08\xf6\x13"
  33792. "\x78\x1e\x29\xef\x12\x54\x16\x28"
  33793. "\x25\xf8\x32\x0e\x4f\x94\xe6\xb3"
  33794. "\x0b\x97\x79\x97\xb3\xb0\x37\x61"
  33795. "\xa4\x10\x6f\x15\x9c\x7d\x22\x41"
  33796. "\xe2\xd7\xa7\xa0\xfc\xc5\x62\x55"
  33797. "\xed\x68\x39\x7b\x09\xd2\x17\xaa"
  33798. "\xf2\xb8\xc9\x1d\xa2\x23\xfd\xaa"
  33799. "\x9c\x57\x16\x0d\xe3\x63\x3c\x2b"
  33800. "\x13\xdd\xa2\xf0\x8e\xd3\x02\x81"
  33801. "\x09\xba\x80\x02\xdb\x97\xfe\x0f"
  33802. "\x77\x8d\x18\xf1\xf4\x59\x27\x79"
  33803. "\xa3\x46\x88\xda\x51\x67\xd0\xe9"
  33804. "\x5d\x22\x98\xc1\xe4\xea\x08\xda"
  33805. "\xf7\xb9\x16\x71\x36\xbd\x43\x8a"
  33806. "\x4b\x6e\xf3\xaa\xb0\xba\x1a\xbc"
  33807. "\xaa\xca\xde\x5c\xc0\xa5\x11\x6d"
  33808. "\x8a\x8f\xcc\x04\xfc\x6c\x89\x75"
  33809. "\x4b\x2c\x29\x6f\x41\xc7\x6e\xda"
  33810. "\xea\xa6\xaf\xb0\xb1\x46\x9e\x30"
  33811. "\x5e\x11\x46\x07\x3b\xd6\xaa\x36"
  33812. "\xa4\x01\x84\x1d\xb9\x8e\x58\x9d"
  33813. "\xa9\xb6\x1c\x56\x5c\x5a\xde\xfa"
  33814. "\x66\x96\xe6\x29\x26\xd4\x68\xd0"
  33815. "\x1a\xcb\x98\xbb\xce\x19\xbb\x87"
  33816. "\x00\x6c\x59\x17\xe3\xd1\xe6\x5c"
  33817. "\xd0\x98\xe1\x91\xc4\x28\xaf\xbf"
  33818. "\xbb\xdf\x75\x4e\xd9\x9d\x99\x0f"
  33819. "\xc6\x0c\x03\x24\x3e\xb6\xd7\x3f"
  33820. "\xd5\x43\x4a\x47\x26\xab\xf6\x3f"
  33821. "\x7f\xf1\x15\x0c\xde\x68\xa0\x5f"
  33822. "\x63\xf9\xe2\x5e\x5d\x42\xf1\x36"
  33823. "\x38\x90\x06\x18\x84\xf2\xfa\x81"
  33824. "\x36\x33\x29\x18\xaa\x8c\x49\x0e"
  33825. "\xda\x27\x38\x9c\x12\x8b\x83\xfa"
  33826. "\x40\xd0\xb6\x0a\x72\x85\xf0\xc7"
  33827. "\xaa\x5f\x30\x1a\x6f\x45\xe4\x35"
  33828. "\x4c\xf3\x4c\xe4\x1c\xd7\x48\x77"
  33829. "\xdd\x3e\xe4\x73\x44\xb1\xb8\x1c"
  33830. "\x42\x40\x90\x61\xb1\x6d\x8b\x20"
  33831. "\x2d\x30\x63\x01\x26\x71\xbc\x5a"
  33832. "\x76\xce\xc1\xfb\x13\xf9\x4c\x6e"
  33833. "\x7a\x16\x8a\x53\xcb\x07\xaa\xa1"
  33834. "\xba\xd0\x68\x7a\x2d\x25\x48\x85"
  33835. "\xb7\x6b\x0a\x05\xf2\xdf\x0e\x46"
  33836. "\x4e\xc8\xcd\x59\x5b\x9a\x2e\x9e"
  33837. "\xdb\x4a\xf6\xfd\x7b\xa4\x5c\x4d"
  33838. "\x78\x8d\xe7\xb0\x84\x3f\xf0\xc1"
  33839. "\x47\x39\xbf\x1e\x8c\xc2\x11\x0d"
  33840. "\x90\xd1\x17\x42\xb3\x50\xeb\xaa"
  33841. "\xcd\xc0\x98\x36\x84\xd0\xfe\x75"
  33842. "\xf8\x8f\xdc\xa0\xa1\x53\xe5\x8c"
  33843. "\xf2\x0f\x4a\x31\x48\xae\x3d\xaf"
  33844. "\x19\x4b\x75\x2e\xc1\xe3\xcd\x4d"
  33845. "\x2c\xa4\x54\x7b\x4d\x5e\x93\xa2"
  33846. "\xe7\x1f\x34\x19\x9f\xb2\xbf\x22"
  33847. "\x65\x1a\x03\x48\x12\x66\x50\x3e"
  33848. "\x0e\x5d\x60\x29\x44\x69\x90\xee"
  33849. "\x9d\x8b\x55\x78\xdf\x63\x31\xc3"
  33850. "\x1b\x21\x7d\x06\x21\x86\x60\xb0"
  33851. "\x9d\xdb\x3d\xcc\xe2\x20\xf4\x88"
  33852. "\x20\x62\x2e\xe8\xa9\xea\x42\x41"
  33853. "\xb0\xab\x73\x61\x40\x39\xac\x11"
  33854. "\x55\x27\x51\x5f\x11\xef\xb1\x23"
  33855. "\xff\x81\x99\x86\x0c\x6f\x16\xaf"
  33856. "\xf6\x89\x86\xd8\xf6\x41\xc2\x80"
  33857. "\x21\xf4\xd5\x6d\xef\xa3\x0c\x4d"
  33858. "\x59\xfd\xdc\x93\x1a\x4f\xe6\x22"
  33859. "\x83\x40\x0c\x98\x67\xba\x7c\x93"
  33860. "\x0b\xa9\x89\xfc\x3e\xff\x84\x12"
  33861. "\x3e\x27\xa3\x8a\x48\x17\xd6\x08"
  33862. "\x85\x2f\xf1\xa8\x90\x90\x71\xbe"
  33863. "\x44\xd6\x34\xbf\x74\x52\x0a\x17"
  33864. "\x39\x64\x78\x1a\xbc\x81\xbe\xc8"
  33865. "\xea\x7f\x0b\x5a\x2c\x77\xff\xac"
  33866. "\xdd\x37\x35\x78\x09\x28\x29\x4a"
  33867. "\xd1\xd6\x6c\xc3\xd5\x70\xdd\xfc"
  33868. "\x21\xcd\xce\xeb\x51\x11\xf7\xbc"
  33869. "\x12\x43\x1e\x6c\xa1\xa3\x79\xe6"
  33870. "\x1d\x63\x52\xff\xf0\xbb\xcf\xec"
  33871. "\x56\x58\x63\xe2\x21\x0b\x2d\x5c"
  33872. "\x64\x09\xf3\xee\x05\x42\x34\x93"
  33873. "\x38\xa8\x60\xea\x1d\x95\x90\x65"
  33874. "\xad\x2f\xda\x1d\xdd\x21\x1a\xf1"
  33875. "\x94\xe0\x6a\x81\xa1\xd3\x63\x31"
  33876. "\x45\x73\xce\x54\x4e\xb1\x75\x26"
  33877. "\x59\x18\xc2\x31\x73\xe6\xf5\x7d"
  33878. "\x06\x5b\x65\x67\xe5\x69\x90\xdf"
  33879. "\x27\x6a\xbf\x81\x7d\x92\xbe\xd1"
  33880. "\x4e\x0b\xa8\x18\x94\x72\xe1\xd0"
  33881. "\xb6\x2a\x16\x08\x7a\x34\xb8\xf2"
  33882. "\xe1\xac\x08\x66\xe6\x78\x66\xfd"
  33883. "\x36\xbd\xee\xc6\x71\xa4\x09\x4e"
  33884. "\x3b\x09\xf2\x8e\x3a\x90\xba\xa0"
  33885. "\xc2\x1d\x9f\xad\x52\x0e\xc9\x10"
  33886. "\x99\x40\x90\xd5\x7d\x73\x56\xef"
  33887. "\x48\x1e\x56\x5c\x7d\x3c\xcb\x84"
  33888. "\x10\x0a\xcc\xda\xce\xad\xd8\xa8"
  33889. "\x79\xc7\x29\x95\x31\x3b\xd9\x9b"
  33890. "\xb6\x84\x3e\x03\x74\xc5\x76\xba"
  33891. "\x4b\xd9\x4f\x7c\xc4\x5f\x7f\x70"
  33892. "\xc5\xe3\x6e\xd0\x14\x32\xec\x60"
  33893. "\xb0\x69\x78\xb7\xef\xda\x5a\xe7"
  33894. "\x4e\x50\x97\xd4\x94\x58\x67\x57"
  33895. "\x4e\x7c\x75\xe0\xcf\x8d\xe1\x78"
  33896. "\x97\x52\xc8\x73\x81\xf9\xb6\x02"
  33897. "\x54\x72\x6d\xc0\x70\xff\xe2\xeb"
  33898. "\x6c\xe1\x30\x0a\x94\xd0\x55\xec"
  33899. "\xed\x61\x9c\x6d\xd9\xa0\x92\x62"
  33900. "\x4e\xfd\xd8\x79\x27\x02\x4e\x13"
  33901. "\xb2\x04\xba\x00\x9a\x77\xed\xc3"
  33902. "\x5b\xa4\x22\x02\xa9\xed\xaf\xac"
  33903. "\x4f\xe1\x74\x73\x51\x36\x78\x8b"
  33904. "\xdb\xf5\x32\xfd\x0d\xb9\xcb\x15"
  33905. "\x4c\xae\x43\x72\xeb\xbe\xc0\xf8"
  33906. "\x91\x67\xf1\x4f\x5a\xd4\xa4\x69"
  33907. "\x8f\x3e\x16\xd2\x09\x31\x72\x5a"
  33908. "\x5e\x0a\xc4\xbc\x44\xd4\xbb\x82"
  33909. "\x7a\xdf\x52\x25\x8c\x45\xdc\xe4"
  33910. "\xe0\x71\x84\xe4\xe0\x3d\x59\x30"
  33911. "\x5b\x94\x12\x33\x78\x85\x90\x84"
  33912. "\x52\x05\x33\xa7\xa7\x16\xe0\x4d"
  33913. "\x6a\xf7\xfa\x03\x98\x6c\x4f\xb0"
  33914. "\x06\x66\x06\xa1\xdd\x3c\xbe\xbb"
  33915. "\xb2\x62\xab\x64\xd3\xbf\x2c\x30"
  33916. "\x0e\xfc\xd9\x95\x32\x32\xf3\x3b"
  33917. "\x39\x7e\xda\x62\x62\x0f\xc3\xfe"
  33918. "\x55\x76\x09\xf5\x8a\x09\x91\x93"
  33919. "\x32\xea\xbc\x2b\x0b\xcf\x1d\x65"
  33920. "\x48\x33\xba\xeb\x0f\xd4\xf9\x3b"
  33921. "\x1e\x90\x74\x6d\x93\x52\x61\x81"
  33922. "\xa3\xf2\xb5\xea\x1d\x61\x86\x68"
  33923. "\x00\x40\xcc\x58\xdd\xf2\x64\x01"
  33924. "\xab\xfd\x94\xc0\xa3\x83\x83\x33"
  33925. "\xa4\xb0\xb8\xd3\x9d\x08\x3c\x7f"
  33926. "\x8e\xa8\xaf\x87\xa5\xe7\xcd\x36"
  33927. "\x92\x96\xdc\xa1\xf2\xea\xe6\xd1"
  33928. "\x1e\xe9\x65\xa4\xff\xda\x17\x96"
  33929. "\xad\x91\x4a\xc5\x26\xb4\x1d\x1c"
  33930. "\x2b\x50\x48\x26\xc8\x86\x3f\x05"
  33931. "\xb8\x87\x1b\x3f\xee\x2e\x55\x61"
  33932. "\x0d\xdc\xcf\x56\x0e\xe2\xcc\xda"
  33933. "\x87\xee\xc5\xcd\x0e\xf4\xa4\xaf"
  33934. "\x8a\x02\xee\x16\x0b\xc4\xdd\x6d"
  33935. "\x80\x3e\xf3\xfe\x95\xb4\xfe\x97"
  33936. "\x0d\xe2\xab\xbb\x27\x84\xee\x25"
  33937. "\x39\x74\xb0\xfb\xdc\x5a\x0f\x65"
  33938. "\x31\x2a\x89\x08\xa4\x8c\x9f\x25"
  33939. "\x5f\x93\x83\x39\xda\xb4\x22\x17"
  33940. "\xbd\xd2\x0d\xfc\xde\xf8\x00\x34"
  33941. "\xc2\x48\x55\x06\x4c\x8b\x79\xe5"
  33942. "\xba\x0c\x50\x4f\x98\xa3\x59\x3d"
  33943. "\xc4\xec\xd1\x85\xf3\x60\x41\x16"
  33944. "\x0a\xe2\xf4\x38\x33\x24\xc1\xe0"
  33945. "\x0d\x86\x1f\x5a\xd2\xba\x7c\x5f"
  33946. "\x97\x60\x54\xa3\x52\x31\x78\x57"
  33947. "\x7a\xc0\xc7\x1e\xd4\x11\x8f\xef"
  33948. "\x86\x0a\x60\x26\x4a\x8f\x06\xf7"
  33949. "\x1f\x47\x45\x6e\x87\x13\x15\xf3"
  33950. "\x91\x08\xbf\x2a\x6e\x71\x21\x8e"
  33951. "\x92\x90\xde\x01\x97\x81\x46\x87"
  33952. "\x8a\xfc\xab\x12\x0c\x60\x3e\x9d"
  33953. "\xbd\x40\x0a\x45\x3f\x5b\x83\x04"
  33954. "\xb5\x8f\x42\x78\x68\xfe\x3a\xd1"
  33955. "\x59\xf7\x12\xaa\x86\x86\x1c\x77"
  33956. "\xfc\xc6\x64\x47\x0f\x7e\xd3\xbc"
  33957. "\x95\x90\x23\xb3\x60\xdc\x0d\xf4"
  33958. "\x67\xe6\x32\xee\xad\xbf\x60\x07"
  33959. "\xbd\xdb\x6e\x3f\x55\x88\xdb\x93"
  33960. "\x62\x41\xd6\xeb\x34\xd6\xa3\x96"
  33961. "\xd2\xbc\x29\xaa\x75\x65\x41\x9f"
  33962. "\x70\x43\xbb\x6d\xd9\xa5\x95\x22"
  33963. "\x3e\xf9\x07\xa0\x7d\x75\xba\xb8"
  33964. "\xcd\x81\x3b\x94\x01\x19\xc3\x67"
  33965. "\x9d\xa4\x7f\xa0\x99\xcc\x4a\xc4"
  33966. "\xfa\x76\x3f\xab\x5c\xea\x26\xdf"
  33967. "\xa2\x4c\x5b\x11\x55\xa3\x6a\x70"
  33968. "\xcb\xbc\x93\x11\x48\x38\x73\x7a"
  33969. "\x40\xbf\xbc\x04\x05\xb0\x2d\x9b"
  33970. "\x9a\x23\x57\xa5\xf6\x63\xfa\xc7"
  33971. "\xd8\x4d\xc2\xc0\xf8\xbd\xfb\x7d"
  33972. "\xea\x20\xa2\xe0\x4d\xaa\x63\x1e"
  33973. "\x9a\xa2\xed\x54\xe6\x49\xaf\x52"
  33974. "\xaf\x7e\x94\x57\x19\x07\x06\x74"
  33975. "\x57\x5b\x62\x61\x99\x20\xe7\x95"
  33976. "\x14\x19\xcf\x42\x83\x6a\x94\xf5"
  33977. "\xab\xa7\xf2\x48\xf6\x0b\x40\x3d"
  33978. "\x93\x8d\x3d\x14\x5d\xf2\x45\x2c"
  33979. "\xac\x1c\x0b\x12\xc9\x56\x3f\x7c"
  33980. "\x17\xeb\x1d\xed\x7e\x5c\xaa\x37"
  33981. "\xe3\xb4\x56\xf9\x0e\xb9\x8e\xc8"
  33982. "\x16\x70\x3e\xff\x95\xb9\x89\x9c"
  33983. "\x19\x0d\x0d\x48\xbd\xb9\xe3\x73"
  33984. "\xdf\x4e\x67\x9d\x93\x6c\x0b\x75"
  33985. "\x8a\x2d\x89\x5c\x32\x9d\x75\x05"
  33986. "\xd9\x13\xbe\x14\x5f\xf0\xb7\xb4"
  33987. "\xd9\x2c\x02\x22\x41\xf2\x9c\x1f"
  33988. "\xc1\x8c\xf5\x6a\x8c\xd5\xa5\x6b"
  33989. "\x54\x47\xec\x3a\x76\x08\xf6\xf7"
  33990. "\xed\x7c\x7e\x3b\x55\xb8\xa9\x20"
  33991. "\xa6\xec\x2d\x8c\x03\x38\x9d\x74"
  33992. "\xe9\x36\xe7\x05\x40\xec\xf4\xa1"
  33993. "\xa7\x70\xa7\x6f\x1f\x93\xc2\x1d"
  33994. "\x2c\x4e\x5f\xe8\x04\x6d\x91\x67"
  33995. "\x23\xd9\x47\xb4\xf6\xbc\x35\x25"
  33996. "\x1b\xa8\xe1\x17\xa8\x21\x38\xd8"
  33997. "\x7a\x55\xd9\xc6\x6f\x0a\x1b\xcb"
  33998. "\xde\xf8\x1e\x20\x8c\xa1\x14\x49"
  33999. "\x49\x00\x00\x31\x0f\xa8\x24\x67"
  34000. "\x97\x7a\x1f\x04\xb9\x6b\x60\xd0"
  34001. "\x32\xc3\xf4\xf9\x4f\xb2\xfd\x7b"
  34002. "\xf9\xb3\x43\xd8\x23\xaa\x21\x37"
  34003. "\x9e\x91\xc5\xa4\xce\xd8\xe4\xf5"
  34004. "\x55\x3e\xc9\xe4\xc5\x51\xd3\x4d"
  34005. "\xc6\x83\xe9\x23\x8e\x3e\x21\xe0"
  34006. "\x40\x23\x4e\x2b\x2d\x89\xc4\x5d"
  34007. "\x58\xdc\x43\x03\x8e\x9a\xfb\xef"
  34008. "\x76\xac\x78\x57\xc3\xb8\xf7\x9f"
  34009. "\xf5\xb1\xc2\xa4\x0c\xee\x58\x52"
  34010. "\x45\xdf\x1a\xd9\x0e\xe0\x56\x1f"
  34011. "\x23\x79\x99\x5f\x34\xad\x9f\x41"
  34012. "\x67\x2a\xc7\x8b\xe7\x82\x6e\x67"
  34013. "\x58\xb5\xae\x18\xd7\x2f\x8f\x57"
  34014. "\x0e\xa4\x21\x3c\x84\x21\x05\x50"
  34015. "\x57\xb0\xd1\xb1\xc8\x9d\xd4\x44"
  34016. "\x25\x40\x6b\xd5\x6f\x18\x92\x89"
  34017. "\x6d\x5b\xe9\x5a\x3c\x74\xc0\x33"
  34018. "\x2c\x7a\xa7\x99\x71\x4e\x9d\x1b"
  34019. "\xe1\x1d\xcb\x62\x8b\x3c\x07\x07"
  34020. "\x67\xf6\xa6\x54\x10\x72\x3f\xea"
  34021. "\xe5\xcd\xe6\xf1\xeb\x3d\x43\x0b"
  34022. "\xfe\x4b\xc7\x1d\x3d\xd9\xa3\xe2"
  34023. "\x9b\x79\x47\xc7\xab\x28\xcc\x4d"
  34024. "\xa8\x77\x9c\xec\xef\x56\xf8\x92"
  34025. "\x07\x48\x1b\x21\x04\xa8\x24\xb0"
  34026. "\x82\x7d\xd1\x17\xa4\xaf\x5f\xfa"
  34027. "\x92\xbf\x6a\xb7\x7e\xc7\xb7\x75"
  34028. "\x40\x3c\x14\x09\x57\xae\xe0\x4e"
  34029. "\xf8\xc9\xda\x1e\x5d\x27\xc4\x8c"
  34030. "\x27\xe3\x4d\xe3\x55\x8c\xd2\xef"
  34031. "\x0c\xab\x67\x53\x96\xd3\x48\xfb"
  34032. "\x75\x4f\x74\x9e\xcb\x82\xa4\x96"
  34033. "\x91\x41\x48\xaa\x65\xdb\x34\x72"
  34034. "\xc9\xee\xa2\x77\x8b\x6e\x44\x12"
  34035. "\x4e\x51\x51\xc3\xf5\xef\x6a\x50"
  34036. "\x99\x26\x41\x1e\x66\xa4\x2b\xb9"
  34037. "\x21\x15\x38\xc2\x0b\x7f\x37\xb6"
  34038. "\x89\x8b\x27\x70\xae\xa1\x90\x28"
  34039. "\x04\xe7\xd5\x17\xcb\x60\x99\xb4"
  34040. "\xe2\xd7\x04\xd3\x11\x27\x86\xe4"
  34041. "\xd0\x0d\x36\x04\x68\xe0\xb4\x71"
  34042. "\xe8\x86\x4b\x9f\xa3\xd2\xda\x87"
  34043. "\xc2\x2c\xad\x66\xfa\x53\x18\xf8"
  34044. "\xec\x10\x74\xc5\xb6\x53\x09\x93"
  34045. "\x21\x09\xbd\x77\x2d\x2a\x12\x4c"
  34046. "\x86\xfe\x50\x8e\xd1\x16\xab\xb1"
  34047. "\xfd\xd7\x87\xde\xc3\x6f\x7c\x16"
  34048. "\xe2\x88\x3d\x41\xac\x36\x7e\xf8"
  34049. "\xc2\x3b\x46\xd5\x44\x3d\x9d\xe8"
  34050. "\xe9\x0c\xb7\xb3\xc6\xb9\xe5\xe7"
  34051. "\x27\x17\x78\x03\xd4\xda\xe4\x73"
  34052. "\x38\x34\xe7\x53\x29\xc4\xcb\x93"
  34053. "\xc9\xa1\x10\x8a\xb2\xfc\x0b\x07"
  34054. "\x47\xb8\xb1\x13\x49\x86\x24\x8b"
  34055. "\x10\xb1\xd9\x5f\xbb\xd8\x90\x37"
  34056. "\x06\x03\xe0\x76\xff\x19\x1a\x16"
  34057. "\xd8\x2d\xa7\x4a\xea\x22\x64\xbe"
  34058. "\xed\x1c\xc8\x33\xb4\xf4\xb1\x48"
  34059. "\x95\xb5\x2f\xaa\x05\xc7\x03\xa0"
  34060. "\xf1\xa4\xf3\x63\x4b\xbe\x79\xb9"
  34061. "\x4b\x67\x7e\x4e\x3e\x81\x8f\xef"
  34062. "\xe9\x55\x99\x30\xd0\x26\xec\x5d"
  34063. "\x89\xb6\x3f\x28\x38\x81\x7a\x00"
  34064. "\x89\x85\xb8\xff\x19\x0f\x8f\x5d"
  34065. "\x5c\x6d\x6a\x3d\x6c\xb9\xfb\x7c"
  34066. "\x0c\x4b\x7e\xbc\x0c\xc4\xad\xbb"
  34067. "\x0a\x8b\xc8\x48\xb7\xfa\x4d\x53"
  34068. "\x82\x10\xd6\x29\x58\x83\x50\x3c"
  34069. "\xd4\x5a\xfd\x14\xa3\xb5\x88\xfb"
  34070. "\x23\xee\xc9\xcc\xab\x92\x52\xb3"
  34071. "\x0b\x07\xf3\x1e\x9a\x2a\x2e\x35"
  34072. "\x32\x37\xa5\x86\xd0\xe5\x5f\xdd"
  34073. "\x3d\x67\x70\xb4\x9a\xc9\x93\xdc"
  34074. "\x31\x33\xe3\x3a\xc5\xcf\xd9\x44"
  34075. "\x2f\x3f\x87\xb2\x0c\x36\x55\x17"
  34076. "\xa9\xda\xb1\xca\x00\x09\x87\xe6"
  34077. "\x66\x34\xb3\x9f\x52\x37\x98\x10"
  34078. "\x2e\x5d\xa4\x14\x7f\x63\xa6\xcd"
  34079. "\x6c\x2d\x7c\x74\x4c\xae\x9c\x65"
  34080. "\xe0\x79\xc0\xd6\xc3\xfe\xa8\xf4"
  34081. "\x1a\x4f\xf5\xbc\xea\x7a\x92\x40"
  34082. "\x51\xa7\x05\x45\x40\xd8\x9c\x3c"
  34083. "\xde\x5f\x0b\x6e\x10\x5c\x1c\xdc"
  34084. "\xd2\x65\x60\xbb\x70\x68\x5c\xa9"
  34085. "\x59\x25\x0e\x4e\x93\xb8\x49\x89"
  34086. "\xf6\xae\xeb\x1f\x8b\x56\xc8\x56"
  34087. "\xb0\xb5\xc9\xee\xa5\x15\x07\x4d"
  34088. "\x8a\xcc\xad\x04\x4d\x99\x8c\x49"
  34089. "\x8d\x7c\xe0\xa5\x7d\x7f\x33\x61"
  34090. "\xf2\xfc\xe7\x88\x3f\x2b\x73\xab"
  34091. "\x2e\x38\x17\x48\xa9\x86\xdd\x81"
  34092. "\x21\x45\xbc\x98\x1d\xe5\xa5\xbc"
  34093. "\x0d\x0b\x18\x8e\x86\x1e\x76\x0a"
  34094. "\x30\x12\x21\xf0\x51\xed\xc1\xcd"
  34095. "\x9a\xf1\x7e\x7e\x64\xb2\xa3\xd6"
  34096. "\x37\xe7\xc6\xde\x97\xb9\x5d\x05"
  34097. "\xf5\x50\xe2\x0a\xaa\x68\x16\xa6"
  34098. "\x26\x9c\x7d\xff\x4c\x05\xce\x48"
  34099. "\xa7\xff\x10\x19\x5e\xef\x46\x54"
  34100. "\xec\xe4\x7b\xb6\x12\x23\xae\x93"
  34101. "\x4f\x79\xf8\x3c\x1c\x07\x15\x66"
  34102. "\x07\xc1\x52\xde\x7f\xda\x51\x7b"
  34103. "\xfe\x13\x67\xab\x8d\x56\xdc\xc1"
  34104. "\x70\x4b\x13\xd2\x30\x00\xc1\x97"
  34105. "\x22\xa7\x83\xf8\x18\xd9\x6d\x40"
  34106. "\x54\xe0\xc1\xdb\x3e\x83\x73\x12"
  34107. "\xe1\x48\x49\xb9\xd4\x20\x0c\x06"
  34108. "\x1c\x82\xb5\xbe\x5a\xae\x60\x5e"
  34109. "\xe2\x09\xba\x05\xbb\x9a\x80\x63"
  34110. "\xf2\xc4\x4b\x41\x39\x16\x76\x26"
  34111. "\xb1\x03\x06\x23\x65\x37\x33\x92"
  34112. "\xca\xf9\x72\xf5\xcd\x95\xc1\xc0"
  34113. "\x91\x5a\xfd\x28\xb9\x62\x59\x84"
  34114. "\x87\x9d\x82\xcb\xe0\x67\x7c\x26"
  34115. "\xb8\x00\x16\xd9\x5d\xb4\x74\xd4"
  34116. "\x75\x8c\x75\xf8\x87\x3b\xa8\x77"
  34117. "\xcd\x82\x3d\x7b\xb9\x63\x44\x0f"
  34118. "\x44\x83\x55\x5b\xc7\xdc\x18\x0b"
  34119. "\x8c\x36\xb3\x59\xeb\x58\x13\x38"
  34120. "\x4b\x8a\xb7\xa3\x9a\xa2\xf3\xeb"
  34121. "\xc6\x30\x84\x86\x0a\xcf\x8b\xfa"
  34122. "\x36\x66\x26\xbc\xd0\x96\xa3\xb4"
  34123. "\x8d\x6b\xf7\x5b\x75\x59\xbb\xd3"
  34124. "\x14\x78\x57\x2f\x27\xa8\x95\xcf"
  34125. "\xa2\xa5\x76\x28\xbd\xab\x8b\x59"
  34126. "\x04\x91\x8a\xc5\x3c\xc3\xa7\xcf"
  34127. "\xe0\xfb\xdd\x7a\xbb\x10\xde\x36"
  34128. "\x43\x1c\x59\xf7\x41\xb6\xa5\x80"
  34129. "\x72\x7b\xe3\x7a\xa3\x01\xc3\x8c"
  34130. "\x7e\xf3\xf2\x42\x1a\x0c\x7e\xf3"
  34131. "\xfc\x5b\x6e\x1f\x20\xf1\x32\x76"
  34132. "\x83\x71\x36\x3e\x7e\xa7\xf7\xdd"
  34133. "\x25\x2e\xe6\x04\xe2\x5b\x44\xb5"
  34134. "\x16\xfb\xdf\x9b\x46\x2a\xa8\x81"
  34135. "\x89\x15\x3e\xb5\xb0\x09\x40\x33"
  34136. "\x60\xc7\x37\x63\x14\x09\xc1\x6e"
  34137. "\x56\x52\xbe\xe4\x88\xe0\x75\xbc"
  34138. "\x49\x62\x8c\xf1\xdf\x62\xe6\xac"
  34139. "\xd5\x87\xf7\xc9\x92\x52\x36\x59"
  34140. "\x22\x6f\x31\x99\x76\xdb\x41\xb6"
  34141. "\x26\x91\x79\x7e\xd2\x78\xaf\x07"
  34142. "\x78\x4b\xed\x54\x30\xb2\xff\xbc"
  34143. "\x2c\x0a\x1a\xbe\xbf\xd5\x5a\x4d"
  34144. "\xd1\xbc\x30\xc2\xf4\xf1\xc1\x9e"
  34145. "\x9a\x96\x89\x00\x50\xfc\xf6\xaf"
  34146. "\xfa\x60\xbf\x1a\x32\x8f\x57\x36"
  34147. "\x2f\x02\xb7\x28\x50\xc3\xd3\xfd"
  34148. "\x6b\xc4\xe6\xbb\xc9\xec\xed\x86"
  34149. "\xdf\x27\x45\x2c\x0c\x6d\x65\x3b"
  34150. "\x6e\x63\x96\xc7\xd6\xb5\xb2\x05"
  34151. "\x8b\xe0\x02\x2a\xfa\x20\x0c\x82"
  34152. "\xa5\x45\x75\x12\x01\x40\xff\x3e"
  34153. "\xfd\xfc\xfb\xbc\x30\x49\xe8\x99"
  34154. "\x8d\x48\x8e\x49\x65\x2a\xe3\xa5"
  34155. "\x06\xe3\x22\x68\x3b\xd9\xa4\xcf"
  34156. "\x84\x6f\xfa\x2b\xb1\xd8\x8c\x30"
  34157. "\xd5\x5d\x0c\x63\x32\x59\x28\x6e"
  34158. "\x2a\x60\xa4\x57\x12\xf8\xc2\x95"
  34159. "\x0a\xf6\xc6\x48\x23\xce\x72\x40"
  34160. "\x0d\x75\xa0\xd4\x48\x03\xf5\xc4"
  34161. "\xcd\x26\xe7\x83\xcc\x0d\xcf\x7f"
  34162. "\x22\x5f\x91\xb3\x42\x02\x9a\x26"
  34163. "\x12\x26\x68\x12\x25\x0b\x08\x61"
  34164. "\xcb\x25\x86\x95\xfc\x57\x4d\xb6"
  34165. "\x36\x6c\xb4\xdc\xa9\x2d\x76\x7f"
  34166. "\x25\x06\xa2\x08\x69\x09\xd9\x09"
  34167. "\x3c\x40\xe1\xfd\x30\x8f\xc2\x13"
  34168. "\x92\xd4\xb5\x3b\x0c\xb2\x32\x4f"
  34169. "\x10\xc9\x1a\x41\xa6\xb2\x11\xf6"
  34170. "\x3b\x1b\x88\x56\xbf\x61\x3c\xb2"
  34171. "\xe6\xdb\x24\x9a\x55\x7e\x35\xf8"
  34172. "\x82\x5e\x52\xe3\xf2\xb3\x40\x1c"
  34173. "\xdd\xe3\x29\x37\xe0\x85\x08\x8b"
  34174. "\xb2\x8b\x09\x38\xac\xa9\x85\xe5"
  34175. "\x9e\x36\xb8\x95\x0b\x84\x9d\x10"
  34176. "\xcc\xae\xe2\x06\x56\x3c\x85\xce"
  34177. "\xc0\xdc\x36\x59\x17\xf9\x48\xf4"
  34178. "\x5b\x08\x8e\x86\x00\xa0\xf5\xdd"
  34179. "\x0c\xb6\x63\xfd\x5a\xe5\x1e\xa6"
  34180. "\x0a\xef\x76\xc2\xc7\x9b\x96\x2f"
  34181. "\x66\x2b\x7d\x50\xa6\x0c\x42\xc6"
  34182. "\xa5\x05\x05\x10\xeb\xd8\xda\x15"
  34183. "\x03\xbe\x2f\x24\x34\x8f\x84\xd8"
  34184. "\x58\xb8\xa3\xf2\x63\xc8\xc3\xf6"
  34185. "\xc2\xde\x27\x58\x69\xf9\x07\xca"
  34186. "\x12\x3e\xe2\xf4\xc8\x29\x60\x30"
  34187. "\x2f\x87\xf4\x50\xc2\x25\xcc\xfd"
  34188. "\xdc\x76\x4f\x56\x1c\xb2\xd9\x78"
  34189. "\x11\x6b\x6e\xb4\x67\xbf\x25\xc4"
  34190. "\xae\x7d\x50\x7f\xb2\x5c\x69\x26"
  34191. "\xed\x6b\xd2\x3b\x42\x64\xe3\x0c"
  34192. "\x15\xa6\xd1\xb6\x3e\x23\x76\x09"
  34193. "\x48\xd2\x08\x41\x76\xc9\x7d\x5f"
  34194. "\x50\x5d\x8e\xf9\x04\x96\xed\x3a"
  34195. "\xf8\x7c\x3b\x7d\x84\xba\xea\xe6"
  34196. "\x24\xd2\x0f\x7f\x5a\x0b\x6f\xd9"
  34197. "\x33\x14\x67\xfb\x9f\xe7\x44\x4e"
  34198. "\x3b\x4b\x06\xaa\xb4\x7a\x8b\x83"
  34199. "\x82\x74\xa6\x5e\x10\xea\xd6\x4b"
  34200. "\x56\x32\xd7\x79\x7c\x05\xf4\x64"
  34201. "\x9c\x64\x25\x9c\xc2\xda\x21\x9a"
  34202. "\xd8\xde\x37\x83\x3f\xd8\x83\xa2"
  34203. "\x1e\x3c\x1e\x41\x7e\xf2\x97\x84"
  34204. "\xe5\xa2\x02\x2b\x6e\xc5\xd7\x91"
  34205. "\x24\x66\xc1\xf0\x05\x1c\x0f\x3d"
  34206. "\xcf\x63\x94\x10\x2e\x0e\x89\xda"
  34207. "\x0d\xe9\x58\x2a\x48\x0c\xc8\x36"
  34208. "\xc4\x7b\xf0\xd3\xe2\x5b\xf1\xf6"
  34209. "\xad\x3d\xe7\x25\x6b\x83\x08\x5c"
  34210. "\xd9\x79\xde\x93\x37\x93\x92\x46"
  34211. "\xe7\xf4\x1c\x9e\x94\x91\x30\xd9"
  34212. "\xb6\x57\xf1\x04\xb5\x2f\xe3\xb9"
  34213. "\x0a\x78\xfe\xcb\xb5\x31\xc1\xc6"
  34214. "\x99\xb3\xaf\x73\xfb\x69\xcb\x49"
  34215. "\xd2\xec\xea\xd3\x0f\x45\x13\x23"
  34216. "\xc8\xae\x92\x29\xce\x71\xd0\xba"
  34217. "\xcf\xfd\xb2\x14\x61\xfd\xf6\x7b"
  34218. "\xdf\x05\xe5\xbb\x58\xf7\x41\x3b"
  34219. "\x6e\xd2\x14\x28\x7c\x15\xb7\x70"
  34220. "\xca\xc7\x7a\xd7\x4e\x4b\x35\x6e"
  34221. "\x9e\x09\x24\x33\xaf\xca\x41\x1f"
  34222. "\x0d\xe3\xf1\x7c\x35\xcb\xe2\x0a"
  34223. "\xb2\xeb\x94\x7a\xbc\x53\xd7\xe1"
  34224. "\x5e\xbc\xa1\x55\xef\x3c\x37\xef"
  34225. "\x6d\xfe\x3a\xcd\xcf\x48\x36\x26"
  34226. "\xdb\x3e\x44\xdd\xc8\x03\xa6\xa6"
  34227. "\x85\xb5\xfe\xf3\xec\x44\xb3\x22"
  34228. "\x9d\x21\x82\xc6\x0b\x1a\x7c\xc6"
  34229. "\xf7\xa9\x8e\x7e\x13\x1a\x85\x1f"
  34230. "\x93\x81\x38\x47\xc0\x83\x21\xa3"
  34231. "\xde\xec\xc0\x8f\x4c\x3b\x57\x2f"
  34232. "\x92\xbb\x66\xe3\x24\xeb\xae\x1e"
  34233. "\xb3\x18\x57\xf2\xf3\x4a\x50\x52"
  34234. "\xe9\x91\x08\x1f\x85\x44\xc1\x07"
  34235. "\xa1\xd3\x62\xe9\xe0\x82\x38\xfd"
  34236. "\x27\x3f\x7e\x10\x7d\xaf\xa1\x7a"
  34237. "\xf0\xaa\x79\xee\x6e\xa2\xc0\xbb"
  34238. "\x01\xda\xfb\xc4\x85\x26\x85\x31"
  34239. "\x15\xf4\x3c\xe0\x96\x79\x0e\xd7"
  34240. "\x50\x68\x37\x57\xb5\x31\xf7\x3c"
  34241. "\xbd\xaa\xcc\x2c\x8f\x57\x59\xa5"
  34242. "\xd4\x4b\xc6\x45\xc0\x32\x3d\x85"
  34243. "\x6d\xee\xf4\x6b\x63\xf9\x3a\xfb"
  34244. "\x2f\xdb\xb8\x42\x19\x8e\x88\x1f"
  34245. "\xfd\x7d\x0b\x69\x14\x8f\x36\xb2"
  34246. "\xd9\x27\x34\x53\x9c\x52\x00\x94"
  34247. "\xcc\x8b\x37\x82\xaf\x8e\xb3\xc0"
  34248. "\x8a\xcf\x44\xc6\x3a\x19\xbe\x1f"
  34249. "\x23\x33\x68\xc4\xb6\xbb\x13\x20"
  34250. "\xec\x6a\x87\x5b\xc2\x7c\xd3\x04"
  34251. "\x34\x97\x32\xd5\x11\x02\x06\x45"
  34252. "\x98\x0b\xaa\xab\xbe\xfb\xd0\x2c"
  34253. "\x0e\xf1\x8b\x7f\x1c\x70\x85\x67"
  34254. "\x60\x50\x66\x79\xbb\x45\x21\xc4"
  34255. "\xb5\xd3\xb9\x4f\xe5\x41\x49\x86"
  34256. "\x6b\x20\xef\xac\x16\x74\xe9\x23"
  34257. "\xa5\x2d\x5c\x2b\x85\xb2\x33\xe8"
  34258. "\x2a\xd1\x24\xd1\x5b\x9b\x7f\xfc"
  34259. "\x2f\x3b\xf7\x6a\x8b\xde\x55\x7e"
  34260. "\xda\x13\x1b\xd6\x90\x74\xb0\xbe"
  34261. "\x46\x0d\xcf\xc7\x78\x33\x31\xdc"
  34262. "\x6a\x6a\x50\x3e\x4c\xe2\xab\x48"
  34263. "\xbc\x4e\x7d\x62\xb9\xfc\xdd\x85"
  34264. "\x1c\x5d\x93\x15\x5e\x01\xd9\x2b"
  34265. "\x48\x71\x82\xd6\x44\xd6\x0e\x92"
  34266. "\x6e\x75\xc9\x3c\x1d\x31\x18\x6f"
  34267. "\x8b\xd7\x18\xf3\x09\x08\x45\xb1"
  34268. "\x3e\xa4\x25\xc6\x34\x48\xaf\x42"
  34269. "\x77\x33\x03\x65\x3e\x2f\xff\x8f"
  34270. "\xe9\xe1\xa0\xfe\xb2\xc3\x80\x77"
  34271. "\x20\x05\xe4\x9b\x47\x3b\xb2\xbd",
  34272. .len = 4096,
  34273. }
  34274. };
  34275. /*
  34276. * CTS (Cipher Text Stealing) mode tests
  34277. */
  34278. static const struct cipher_testvec cts_mode_tv_template[] = {
  34279. { /* from rfc3962 */
  34280. .klen = 16,
  34281. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  34282. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  34283. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  34284. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  34285. "\x20",
  34286. .len = 17,
  34287. .ctext = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
  34288. "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
  34289. "\x97",
  34290. }, {
  34291. .klen = 16,
  34292. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  34293. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  34294. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  34295. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  34296. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  34297. "\x20\x47\x61\x75\x27\x73\x20",
  34298. .len = 31,
  34299. .ctext = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
  34300. "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
  34301. "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  34302. "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
  34303. }, {
  34304. .klen = 16,
  34305. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  34306. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  34307. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  34308. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  34309. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  34310. "\x20\x47\x61\x75\x27\x73\x20\x43",
  34311. .len = 32,
  34312. .ctext = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
  34313. "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
  34314. "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  34315. "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
  34316. }, {
  34317. .klen = 16,
  34318. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  34319. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  34320. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  34321. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  34322. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  34323. "\x20\x47\x61\x75\x27\x73\x20\x43"
  34324. "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
  34325. "\x70\x6c\x65\x61\x73\x65\x2c",
  34326. .len = 47,
  34327. .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  34328. "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
  34329. "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
  34330. "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
  34331. "\x39\x31\x25\x23\xa7\x86\x62\xd5"
  34332. "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
  34333. }, {
  34334. .klen = 16,
  34335. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  34336. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  34337. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  34338. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  34339. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  34340. "\x20\x47\x61\x75\x27\x73\x20\x43"
  34341. "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
  34342. "\x70\x6c\x65\x61\x73\x65\x2c\x20",
  34343. .len = 48,
  34344. .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  34345. "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
  34346. "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
  34347. "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
  34348. "\x39\x31\x25\x23\xa7\x86\x62\xd5"
  34349. "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
  34350. }, {
  34351. .klen = 16,
  34352. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  34353. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  34354. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  34355. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  34356. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  34357. "\x20\x47\x61\x75\x27\x73\x20\x43"
  34358. "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
  34359. "\x70\x6c\x65\x61\x73\x65\x2c\x20"
  34360. "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
  34361. "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
  34362. .len = 64,
  34363. .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  34364. "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
  34365. "\x39\x31\x25\x23\xa7\x86\x62\xd5"
  34366. "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
  34367. "\x48\x07\xef\xe8\x36\xee\x89\xa5"
  34368. "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
  34369. "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
  34370. "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
  34371. }
  34372. };
  34373. /*
  34374. * Compression stuff.
  34375. */
  34376. #define COMP_BUF_SIZE 512
  34377. struct comp_testvec {
  34378. int inlen, outlen;
  34379. char input[COMP_BUF_SIZE];
  34380. char output[COMP_BUF_SIZE];
  34381. };
  34382. /*
  34383. * Deflate test vectors (null-terminated strings).
  34384. * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
  34385. */
  34386. static const struct comp_testvec deflate_comp_tv_template[] = {
  34387. {
  34388. .inlen = 70,
  34389. .outlen = 38,
  34390. .input = "Join us now and share the software "
  34391. "Join us now and share the software ",
  34392. .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
  34393. "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
  34394. "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
  34395. "\x48\x55\x28\xce\x4f\x2b\x29\x07"
  34396. "\x71\xbc\x08\x2b\x01\x00",
  34397. }, {
  34398. .inlen = 191,
  34399. .outlen = 122,
  34400. .input = "This document describes a compression method based on the DEFLATE"
  34401. "compression algorithm. This document defines the application of "
  34402. "the DEFLATE algorithm to the IP Payload Compression Protocol.",
  34403. .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
  34404. "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
  34405. "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
  34406. "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
  34407. "\x68\x12\x51\xae\x76\x67\xd6\x27"
  34408. "\x19\x88\x1a\xde\x85\xab\x21\xf2"
  34409. "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
  34410. "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
  34411. "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
  34412. "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
  34413. "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
  34414. "\x52\x37\xed\x0e\x52\x6b\x59\x02"
  34415. "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
  34416. "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
  34417. "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
  34418. "\xfa\x02",
  34419. },
  34420. };
  34421. static const struct comp_testvec deflate_decomp_tv_template[] = {
  34422. {
  34423. .inlen = 122,
  34424. .outlen = 191,
  34425. .input = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
  34426. "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
  34427. "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
  34428. "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
  34429. "\x68\x12\x51\xae\x76\x67\xd6\x27"
  34430. "\x19\x88\x1a\xde\x85\xab\x21\xf2"
  34431. "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
  34432. "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
  34433. "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
  34434. "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
  34435. "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
  34436. "\x52\x37\xed\x0e\x52\x6b\x59\x02"
  34437. "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
  34438. "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
  34439. "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
  34440. "\xfa\x02",
  34441. .output = "This document describes a compression method based on the DEFLATE"
  34442. "compression algorithm. This document defines the application of "
  34443. "the DEFLATE algorithm to the IP Payload Compression Protocol.",
  34444. }, {
  34445. .inlen = 38,
  34446. .outlen = 70,
  34447. .input = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
  34448. "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
  34449. "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
  34450. "\x48\x55\x28\xce\x4f\x2b\x29\x07"
  34451. "\x71\xbc\x08\x2b\x01\x00",
  34452. .output = "Join us now and share the software "
  34453. "Join us now and share the software ",
  34454. },
  34455. };
  34456. static const struct comp_testvec zlib_deflate_comp_tv_template[] = {
  34457. {
  34458. .inlen = 70,
  34459. .outlen = 44,
  34460. .input = "Join us now and share the software "
  34461. "Join us now and share the software ",
  34462. .output = "\x78\x5e\xf3\xca\xcf\xcc\x53\x28"
  34463. "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
  34464. "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
  34465. "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
  34466. "\x29\x07\x71\xbc\x08\x2b\x01\x00"
  34467. "\x7c\x65\x19\x3d",
  34468. }, {
  34469. .inlen = 191,
  34470. .outlen = 129,
  34471. .input = "This document describes a compression method based on the DEFLATE"
  34472. "compression algorithm. This document defines the application of "
  34473. "the DEFLATE algorithm to the IP Payload Compression Protocol.",
  34474. .output = "\x78\x5e\x5d\xce\x41\x0a\xc3\x30"
  34475. "\x0c\x04\xc0\xaf\xec\x0b\xf2\x87"
  34476. "\xd2\xa6\x50\xe8\xc1\x07\x7f\x40"
  34477. "\xb1\x95\x5a\x60\x5b\xc6\x56\x0f"
  34478. "\xfd\x7d\x93\x1e\x42\xe8\x51\xec"
  34479. "\xee\x20\x9f\x64\x20\x6a\x78\x17"
  34480. "\xae\x86\xc8\x23\x74\x59\x78\x80"
  34481. "\x10\xb4\xb4\xce\x63\x88\x56\x14"
  34482. "\xb6\xa4\x11\x0b\x0d\x8e\xd8\x6e"
  34483. "\x4b\x8c\xdb\x7c\x7f\x5e\xfc\x7c"
  34484. "\xae\x51\x7e\x69\x17\x4b\x65\x02"
  34485. "\xfc\x1f\xbc\x4a\xdd\xd8\x7d\x48"
  34486. "\xad\x65\x09\x64\x3b\xac\xeb\xd9"
  34487. "\xc2\x01\xc0\xf4\x17\x3c\x1c\x1c"
  34488. "\x7d\xb2\x52\xc4\xf5\xf4\x8f\xeb"
  34489. "\x6a\x1a\x34\x4f\x5f\x2e\x32\x45"
  34490. "\x4e",
  34491. },
  34492. };
  34493. static const struct comp_testvec zlib_deflate_decomp_tv_template[] = {
  34494. {
  34495. .inlen = 128,
  34496. .outlen = 191,
  34497. .input = "\x78\x9c\x5d\x8d\x31\x0e\xc2\x30"
  34498. "\x10\x04\xbf\xb2\x2f\xc8\x1f\x10"
  34499. "\x04\x09\x89\xc2\x85\x3f\x70\xb1"
  34500. "\x2f\xf8\x24\xdb\x67\xd9\x47\xc1"
  34501. "\xef\x49\x68\x12\x51\xae\x76\x67"
  34502. "\xd6\x27\x19\x88\x1a\xde\x85\xab"
  34503. "\x21\xf2\x08\x5d\x16\x1e\x20\x04"
  34504. "\x2d\xad\xf3\x18\xa2\x15\x85\x2d"
  34505. "\x69\xc4\x42\x83\x23\xb6\x6c\x89"
  34506. "\x71\x9b\xef\xcf\x8b\x9f\xcf\x33"
  34507. "\xca\x2f\xed\x62\xa9\x4c\x80\xff"
  34508. "\x13\xaf\x52\x37\xed\x0e\x52\x6b"
  34509. "\x59\x02\xd9\x4e\xe8\x7a\x76\x1d"
  34510. "\x02\x98\xfe\x8a\x87\x83\xa3\x4f"
  34511. "\x56\x8a\xb8\x9e\x8e\x5c\x57\xd3"
  34512. "\xa0\x79\xfa\x02\x2e\x32\x45\x4e",
  34513. .output = "This document describes a compression method based on the DEFLATE"
  34514. "compression algorithm. This document defines the application of "
  34515. "the DEFLATE algorithm to the IP Payload Compression Protocol.",
  34516. }, {
  34517. .inlen = 44,
  34518. .outlen = 70,
  34519. .input = "\x78\x9c\xf3\xca\xcf\xcc\x53\x28"
  34520. "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
  34521. "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
  34522. "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
  34523. "\x29\x07\x71\xbc\x08\x2b\x01\x00"
  34524. "\x7c\x65\x19\x3d",
  34525. .output = "Join us now and share the software "
  34526. "Join us now and share the software ",
  34527. },
  34528. };
  34529. /*
  34530. * LZO test vectors (null-terminated strings).
  34531. */
  34532. static const struct comp_testvec lzo_comp_tv_template[] = {
  34533. {
  34534. .inlen = 70,
  34535. .outlen = 57,
  34536. .input = "Join us now and share the software "
  34537. "Join us now and share the software ",
  34538. .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
  34539. "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
  34540. "\x64\x20\x73\x68\x61\x72\x65\x20"
  34541. "\x74\x68\x65\x20\x73\x6f\x66\x74"
  34542. "\x77\x70\x01\x32\x88\x00\x0c\x65"
  34543. "\x20\x74\x68\x65\x20\x73\x6f\x66"
  34544. "\x74\x77\x61\x72\x65\x20\x11\x00"
  34545. "\x00",
  34546. }, {
  34547. .inlen = 159,
  34548. .outlen = 131,
  34549. .input = "This document describes a compression method based on the LZO "
  34550. "compression algorithm. This document defines the application of "
  34551. "the LZO algorithm used in UBIFS.",
  34552. .output = "\x00\x2c\x54\x68\x69\x73\x20\x64"
  34553. "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
  34554. "\x64\x65\x73\x63\x72\x69\x62\x65"
  34555. "\x73\x20\x61\x20\x63\x6f\x6d\x70"
  34556. "\x72\x65\x73\x73\x69\x6f\x6e\x20"
  34557. "\x6d\x65\x74\x68\x6f\x64\x20\x62"
  34558. "\x61\x73\x65\x64\x20\x6f\x6e\x20"
  34559. "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
  34560. "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
  34561. "\x72\x69\x74\x68\x6d\x2e\x20\x20"
  34562. "\x2e\x54\x01\x03\x66\x69\x6e\x65"
  34563. "\x73\x20\x74\x06\x05\x61\x70\x70"
  34564. "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
  34565. "\x66\x88\x02\x60\x09\x27\xf0\x00"
  34566. "\x0c\x20\x75\x73\x65\x64\x20\x69"
  34567. "\x6e\x20\x55\x42\x49\x46\x53\x2e"
  34568. "\x11\x00\x00",
  34569. },
  34570. };
  34571. static const struct comp_testvec lzo_decomp_tv_template[] = {
  34572. {
  34573. .inlen = 133,
  34574. .outlen = 159,
  34575. .input = "\x00\x2b\x54\x68\x69\x73\x20\x64"
  34576. "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
  34577. "\x64\x65\x73\x63\x72\x69\x62\x65"
  34578. "\x73\x20\x61\x20\x63\x6f\x6d\x70"
  34579. "\x72\x65\x73\x73\x69\x6f\x6e\x20"
  34580. "\x6d\x65\x74\x68\x6f\x64\x20\x62"
  34581. "\x61\x73\x65\x64\x20\x6f\x6e\x20"
  34582. "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
  34583. "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
  34584. "\x69\x74\x68\x6d\x2e\x20\x20\x54"
  34585. "\x68\x69\x73\x2a\x54\x01\x02\x66"
  34586. "\x69\x6e\x65\x73\x94\x06\x05\x61"
  34587. "\x70\x70\x6c\x69\x63\x61\x74\x76"
  34588. "\x0a\x6f\x66\x88\x02\x60\x09\x27"
  34589. "\xf0\x00\x0c\x20\x75\x73\x65\x64"
  34590. "\x20\x69\x6e\x20\x55\x42\x49\x46"
  34591. "\x53\x2e\x11\x00\x00",
  34592. .output = "This document describes a compression method based on the LZO "
  34593. "compression algorithm. This document defines the application of "
  34594. "the LZO algorithm used in UBIFS.",
  34595. }, {
  34596. .inlen = 46,
  34597. .outlen = 70,
  34598. .input = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
  34599. "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
  34600. "\x64\x20\x73\x68\x61\x72\x65\x20"
  34601. "\x74\x68\x65\x20\x73\x6f\x66\x74"
  34602. "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
  34603. "\x3d\x88\x00\x11\x00\x00",
  34604. .output = "Join us now and share the software "
  34605. "Join us now and share the software ",
  34606. },
  34607. };
  34608. static const struct comp_testvec lzorle_comp_tv_template[] = {
  34609. {
  34610. .inlen = 70,
  34611. .outlen = 59,
  34612. .input = "Join us now and share the software "
  34613. "Join us now and share the software ",
  34614. .output = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
  34615. "\x20\x75\x73\x20\x6e\x6f\x77\x20"
  34616. "\x61\x6e\x64\x20\x73\x68\x61\x72"
  34617. "\x65\x20\x74\x68\x65\x20\x73\x6f"
  34618. "\x66\x74\x77\x70\x01\x32\x88\x00"
  34619. "\x0c\x65\x20\x74\x68\x65\x20\x73"
  34620. "\x6f\x66\x74\x77\x61\x72\x65\x20"
  34621. "\x11\x00\x00",
  34622. }, {
  34623. .inlen = 159,
  34624. .outlen = 133,
  34625. .input = "This document describes a compression method based on the LZO "
  34626. "compression algorithm. This document defines the application of "
  34627. "the LZO algorithm used in UBIFS.",
  34628. .output = "\x11\x01\x00\x2c\x54\x68\x69\x73"
  34629. "\x20\x64\x6f\x63\x75\x6d\x65\x6e"
  34630. "\x74\x20\x64\x65\x73\x63\x72\x69"
  34631. "\x62\x65\x73\x20\x61\x20\x63\x6f"
  34632. "\x6d\x70\x72\x65\x73\x73\x69\x6f"
  34633. "\x6e\x20\x6d\x65\x74\x68\x6f\x64"
  34634. "\x20\x62\x61\x73\x65\x64\x20\x6f"
  34635. "\x6e\x20\x74\x68\x65\x20\x4c\x5a"
  34636. "\x4f\x20\x2a\x8c\x00\x09\x61\x6c"
  34637. "\x67\x6f\x72\x69\x74\x68\x6d\x2e"
  34638. "\x20\x20\x2e\x54\x01\x03\x66\x69"
  34639. "\x6e\x65\x73\x20\x74\x06\x05\x61"
  34640. "\x70\x70\x6c\x69\x63\x61\x74\x76"
  34641. "\x0a\x6f\x66\x88\x02\x60\x09\x27"
  34642. "\xf0\x00\x0c\x20\x75\x73\x65\x64"
  34643. "\x20\x69\x6e\x20\x55\x42\x49\x46"
  34644. "\x53\x2e\x11\x00\x00",
  34645. },
  34646. };
  34647. static const struct comp_testvec lzorle_decomp_tv_template[] = {
  34648. {
  34649. .inlen = 133,
  34650. .outlen = 159,
  34651. .input = "\x00\x2b\x54\x68\x69\x73\x20\x64"
  34652. "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
  34653. "\x64\x65\x73\x63\x72\x69\x62\x65"
  34654. "\x73\x20\x61\x20\x63\x6f\x6d\x70"
  34655. "\x72\x65\x73\x73\x69\x6f\x6e\x20"
  34656. "\x6d\x65\x74\x68\x6f\x64\x20\x62"
  34657. "\x61\x73\x65\x64\x20\x6f\x6e\x20"
  34658. "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
  34659. "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
  34660. "\x69\x74\x68\x6d\x2e\x20\x20\x54"
  34661. "\x68\x69\x73\x2a\x54\x01\x02\x66"
  34662. "\x69\x6e\x65\x73\x94\x06\x05\x61"
  34663. "\x70\x70\x6c\x69\x63\x61\x74\x76"
  34664. "\x0a\x6f\x66\x88\x02\x60\x09\x27"
  34665. "\xf0\x00\x0c\x20\x75\x73\x65\x64"
  34666. "\x20\x69\x6e\x20\x55\x42\x49\x46"
  34667. "\x53\x2e\x11\x00\x00",
  34668. .output = "This document describes a compression method based on the LZO "
  34669. "compression algorithm. This document defines the application of "
  34670. "the LZO algorithm used in UBIFS.",
  34671. }, {
  34672. .inlen = 59,
  34673. .outlen = 70,
  34674. .input = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
  34675. "\x20\x75\x73\x20\x6e\x6f\x77\x20"
  34676. "\x61\x6e\x64\x20\x73\x68\x61\x72"
  34677. "\x65\x20\x74\x68\x65\x20\x73\x6f"
  34678. "\x66\x74\x77\x70\x01\x32\x88\x00"
  34679. "\x0c\x65\x20\x74\x68\x65\x20\x73"
  34680. "\x6f\x66\x74\x77\x61\x72\x65\x20"
  34681. "\x11\x00\x00",
  34682. .output = "Join us now and share the software "
  34683. "Join us now and share the software ",
  34684. },
  34685. };
  34686. /*
  34687. * Michael MIC test vectors from IEEE 802.11i
  34688. */
  34689. #define MICHAEL_MIC_TEST_VECTORS 6
  34690. static const struct hash_testvec michael_mic_tv_template[] = {
  34691. {
  34692. .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
  34693. .ksize = 8,
  34694. .plaintext = zeroed_string,
  34695. .psize = 0,
  34696. .digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
  34697. },
  34698. {
  34699. .key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
  34700. .ksize = 8,
  34701. .plaintext = "M",
  34702. .psize = 1,
  34703. .digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
  34704. },
  34705. {
  34706. .key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
  34707. .ksize = 8,
  34708. .plaintext = "Mi",
  34709. .psize = 2,
  34710. .digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
  34711. },
  34712. {
  34713. .key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
  34714. .ksize = 8,
  34715. .plaintext = "Mic",
  34716. .psize = 3,
  34717. .digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
  34718. },
  34719. {
  34720. .key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
  34721. .ksize = 8,
  34722. .plaintext = "Mich",
  34723. .psize = 4,
  34724. .digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
  34725. },
  34726. {
  34727. .key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
  34728. .ksize = 8,
  34729. .plaintext = "Michael",
  34730. .psize = 7,
  34731. .digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
  34732. }
  34733. };
  34734. /*
  34735. * CRC32 test vectors
  34736. */
  34737. static const struct hash_testvec crc32_tv_template[] = {
  34738. {
  34739. .psize = 0,
  34740. .digest = "\x00\x00\x00\x00",
  34741. },
  34742. {
  34743. .plaintext = "abcdefg",
  34744. .psize = 7,
  34745. .digest = "\xd8\xb5\x46\xac",
  34746. },
  34747. {
  34748. .key = "\x87\xa9\xcb\xed",
  34749. .ksize = 4,
  34750. .psize = 0,
  34751. .digest = "\x87\xa9\xcb\xed",
  34752. },
  34753. {
  34754. .key = "\xff\xff\xff\xff",
  34755. .ksize = 4,
  34756. .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
  34757. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  34758. "\x11\x12\x13\x14\x15\x16\x17\x18"
  34759. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  34760. "\x21\x22\x23\x24\x25\x26\x27\x28",
  34761. .psize = 40,
  34762. .digest = "\x3a\xdf\x4b\xb0",
  34763. },
  34764. {
  34765. .key = "\xff\xff\xff\xff",
  34766. .ksize = 4,
  34767. .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  34768. "\x31\x32\x33\x34\x35\x36\x37\x38"
  34769. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  34770. "\x41\x42\x43\x44\x45\x46\x47\x48"
  34771. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
  34772. .psize = 40,
  34773. .digest = "\xa9\x7a\x7f\x7b",
  34774. },
  34775. {
  34776. .key = "\xff\xff\xff\xff",
  34777. .ksize = 4,
  34778. .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
  34779. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  34780. "\x61\x62\x63\x64\x65\x66\x67\x68"
  34781. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  34782. "\x71\x72\x73\x74\x75\x76\x77\x78",
  34783. .psize = 40,
  34784. .digest = "\xba\xd3\xf8\x1c",
  34785. },
  34786. {
  34787. .key = "\xff\xff\xff\xff",
  34788. .ksize = 4,
  34789. .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  34790. "\x81\x82\x83\x84\x85\x86\x87\x88"
  34791. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  34792. "\x91\x92\x93\x94\x95\x96\x97\x98"
  34793. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
  34794. .psize = 40,
  34795. .digest = "\xa8\xa9\xc2\x02",
  34796. },
  34797. {
  34798. .key = "\xff\xff\xff\xff",
  34799. .ksize = 4,
  34800. .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  34801. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  34802. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  34803. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  34804. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
  34805. .psize = 40,
  34806. .digest = "\x27\xf0\x57\xe2",
  34807. },
  34808. {
  34809. .key = "\xff\xff\xff\xff",
  34810. .ksize = 4,
  34811. .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  34812. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  34813. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  34814. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  34815. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  34816. .psize = 40,
  34817. .digest = "\x49\x78\x10\x08",
  34818. },
  34819. {
  34820. .key = "\x80\xea\xd3\xf1",
  34821. .ksize = 4,
  34822. .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  34823. "\x31\x32\x33\x34\x35\x36\x37\x38"
  34824. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  34825. "\x41\x42\x43\x44\x45\x46\x47\x48"
  34826. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
  34827. .psize = 40,
  34828. .digest = "\x9a\xb1\xdc\xf0",
  34829. },
  34830. {
  34831. .key = "\xf3\x4a\x1d\x5d",
  34832. .ksize = 4,
  34833. .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
  34834. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  34835. "\x61\x62\x63\x64\x65\x66\x67\x68"
  34836. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  34837. "\x71\x72\x73\x74\x75\x76\x77\x78",
  34838. .psize = 40,
  34839. .digest = "\xb4\x97\xcc\xd4",
  34840. },
  34841. {
  34842. .key = "\x2e\x80\x04\x59",
  34843. .ksize = 4,
  34844. .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  34845. "\x81\x82\x83\x84\x85\x86\x87\x88"
  34846. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  34847. "\x91\x92\x93\x94\x95\x96\x97\x98"
  34848. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
  34849. .psize = 40,
  34850. .digest = "\x67\x9b\xfa\x79",
  34851. },
  34852. {
  34853. .key = "\xa6\xcc\x19\x85",
  34854. .ksize = 4,
  34855. .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  34856. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  34857. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  34858. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  34859. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
  34860. .psize = 40,
  34861. .digest = "\x24\xb5\x16\xef",
  34862. },
  34863. {
  34864. .key = "\x41\xfc\xfe\x2d",
  34865. .ksize = 4,
  34866. .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  34867. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  34868. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  34869. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  34870. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  34871. .psize = 40,
  34872. .digest = "\x15\x94\x80\x39",
  34873. },
  34874. {
  34875. .key = "\xff\xff\xff\xff",
  34876. .ksize = 4,
  34877. .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
  34878. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  34879. "\x11\x12\x13\x14\x15\x16\x17\x18"
  34880. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  34881. "\x21\x22\x23\x24\x25\x26\x27\x28"
  34882. "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  34883. "\x31\x32\x33\x34\x35\x36\x37\x38"
  34884. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  34885. "\x41\x42\x43\x44\x45\x46\x47\x48"
  34886. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
  34887. "\x51\x52\x53\x54\x55\x56\x57\x58"
  34888. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  34889. "\x61\x62\x63\x64\x65\x66\x67\x68"
  34890. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  34891. "\x71\x72\x73\x74\x75\x76\x77\x78"
  34892. "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  34893. "\x81\x82\x83\x84\x85\x86\x87\x88"
  34894. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  34895. "\x91\x92\x93\x94\x95\x96\x97\x98"
  34896. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
  34897. "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  34898. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  34899. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  34900. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  34901. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
  34902. "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  34903. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  34904. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  34905. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  34906. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  34907. .psize = 240,
  34908. .digest = "\x6c\xc6\x56\xde",
  34909. }, {
  34910. .key = "\xff\xff\xff\xff",
  34911. .ksize = 4,
  34912. .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
  34913. "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
  34914. "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
  34915. "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
  34916. "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
  34917. "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
  34918. "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
  34919. "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
  34920. "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
  34921. "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
  34922. "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
  34923. "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
  34924. "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
  34925. "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
  34926. "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
  34927. "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
  34928. "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
  34929. "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
  34930. "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
  34931. "\x58\xef\x63\xfa\x91\x05\x9c\x33"
  34932. "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
  34933. "\x19\xb0\x47\xde\x52\xe9\x80\x17"
  34934. "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
  34935. "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
  34936. "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
  34937. "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
  34938. "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
  34939. "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
  34940. "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
  34941. "\x86\x1d\x91\x28\xbf\x33\xca\x61"
  34942. "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
  34943. "\x47\xde\x75\x0c\x80\x17\xae\x22"
  34944. "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
  34945. "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
  34946. "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
  34947. "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
  34948. "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
  34949. "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
  34950. "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
  34951. "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
  34952. "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
  34953. "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
  34954. "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
  34955. "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
  34956. "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
  34957. "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
  34958. "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
  34959. "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
  34960. "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
  34961. "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
  34962. "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
  34963. "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
  34964. "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
  34965. "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
  34966. "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
  34967. "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
  34968. "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
  34969. "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
  34970. "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
  34971. "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
  34972. "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
  34973. "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
  34974. "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
  34975. "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
  34976. "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
  34977. "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
  34978. "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
  34979. "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
  34980. "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
  34981. "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
  34982. "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
  34983. "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
  34984. "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
  34985. "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
  34986. "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
  34987. "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
  34988. "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
  34989. "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
  34990. "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
  34991. "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
  34992. "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
  34993. "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
  34994. "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
  34995. "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
  34996. "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
  34997. "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
  34998. "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
  34999. "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
  35000. "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
  35001. "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
  35002. "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
  35003. "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
  35004. "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
  35005. "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
  35006. "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
  35007. "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
  35008. "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
  35009. "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
  35010. "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
  35011. "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
  35012. "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
  35013. "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
  35014. "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
  35015. "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
  35016. "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
  35017. "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
  35018. "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
  35019. "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
  35020. "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
  35021. "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
  35022. "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
  35023. "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
  35024. "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
  35025. "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
  35026. "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
  35027. "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
  35028. "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
  35029. "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
  35030. "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
  35031. "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
  35032. "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
  35033. "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
  35034. "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
  35035. "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
  35036. "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
  35037. "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
  35038. "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
  35039. "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
  35040. "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
  35041. "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
  35042. "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
  35043. "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
  35044. "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
  35045. "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
  35046. "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
  35047. "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
  35048. "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
  35049. "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
  35050. "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
  35051. "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
  35052. "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
  35053. "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
  35054. "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
  35055. "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
  35056. "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
  35057. "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
  35058. "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
  35059. "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
  35060. "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
  35061. "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
  35062. "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
  35063. "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
  35064. "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
  35065. "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
  35066. "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
  35067. "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
  35068. "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
  35069. "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
  35070. "\x47\xde\x52\xe9\x80\x17\x8b\x22"
  35071. "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
  35072. "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
  35073. "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
  35074. "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
  35075. "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
  35076. "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
  35077. "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
  35078. "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
  35079. "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
  35080. "\x75\x0c\x80\x17\xae\x22\xb9\x50"
  35081. "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
  35082. "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
  35083. "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
  35084. "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
  35085. "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
  35086. "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
  35087. "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
  35088. "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
  35089. "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
  35090. "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
  35091. "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
  35092. "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
  35093. "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
  35094. "\x48\xdf\x53\xea\x81\x18\x8c\x23"
  35095. "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
  35096. "\x09\xa0\x37\xce\x42\xd9\x70\x07"
  35097. "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
  35098. "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
  35099. "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
  35100. "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
  35101. "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
  35102. "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
  35103. "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
  35104. "\x76\x0d\x81\x18\xaf\x23\xba\x51"
  35105. "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
  35106. "\x37\xce\x65\xfc\x70\x07\x9e\x12"
  35107. "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
  35108. "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
  35109. "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
  35110. "\xff\x73\x0a\xa1\x15\xac\x43\xda"
  35111. "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
  35112. "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
  35113. "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
  35114. "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
  35115. "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
  35116. "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
  35117. "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
  35118. "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
  35119. "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
  35120. "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
  35121. "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
  35122. "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
  35123. "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
  35124. "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
  35125. "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
  35126. "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
  35127. "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
  35128. "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
  35129. "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
  35130. "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
  35131. "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
  35132. "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
  35133. "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
  35134. "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
  35135. "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
  35136. "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
  35137. "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
  35138. "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
  35139. "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
  35140. "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
  35141. "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
  35142. "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
  35143. "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
  35144. "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
  35145. "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
  35146. "\xef\x86\x1d\x91\x28\xbf\x33\xca"
  35147. "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
  35148. "\xd3\x47\xde\x75\x0c\x80\x17\xae"
  35149. "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
  35150. "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
  35151. "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
  35152. "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
  35153. "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
  35154. "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
  35155. "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
  35156. "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
  35157. "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
  35158. "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
  35159. "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
  35160. "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
  35161. "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
  35162. "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
  35163. "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
  35164. "\x67\xfe\x95\x09\xa0\x37\xce\x42"
  35165. "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
  35166. "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
  35167. "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
  35168. .psize = 2048,
  35169. .digest = "\xfb\x3a\x7a\xda",
  35170. }
  35171. };
  35172. /*
  35173. * CRC32C test vectors
  35174. */
  35175. static const struct hash_testvec crc32c_tv_template[] = {
  35176. {
  35177. .psize = 0,
  35178. .digest = "\x00\x00\x00\x00",
  35179. },
  35180. {
  35181. .plaintext = "abcdefg",
  35182. .psize = 7,
  35183. .digest = "\x41\xf4\x27\xe6",
  35184. },
  35185. {
  35186. .key = "\x87\xa9\xcb\xed",
  35187. .ksize = 4,
  35188. .psize = 0,
  35189. .digest = "\x78\x56\x34\x12",
  35190. },
  35191. {
  35192. .key = "\xff\xff\xff\xff",
  35193. .ksize = 4,
  35194. .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
  35195. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  35196. "\x11\x12\x13\x14\x15\x16\x17\x18"
  35197. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  35198. "\x21\x22\x23\x24\x25\x26\x27\x28",
  35199. .psize = 40,
  35200. .digest = "\x7f\x15\x2c\x0e",
  35201. },
  35202. {
  35203. .key = "\xff\xff\xff\xff",
  35204. .ksize = 4,
  35205. .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  35206. "\x31\x32\x33\x34\x35\x36\x37\x38"
  35207. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  35208. "\x41\x42\x43\x44\x45\x46\x47\x48"
  35209. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
  35210. .psize = 40,
  35211. .digest = "\xf6\xeb\x80\xe9",
  35212. },
  35213. {
  35214. .key = "\xff\xff\xff\xff",
  35215. .ksize = 4,
  35216. .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
  35217. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  35218. "\x61\x62\x63\x64\x65\x66\x67\x68"
  35219. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  35220. "\x71\x72\x73\x74\x75\x76\x77\x78",
  35221. .psize = 40,
  35222. .digest = "\xed\xbd\x74\xde",
  35223. },
  35224. {
  35225. .key = "\xff\xff\xff\xff",
  35226. .ksize = 4,
  35227. .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  35228. "\x81\x82\x83\x84\x85\x86\x87\x88"
  35229. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  35230. "\x91\x92\x93\x94\x95\x96\x97\x98"
  35231. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
  35232. .psize = 40,
  35233. .digest = "\x62\xc8\x79\xd5",
  35234. },
  35235. {
  35236. .key = "\xff\xff\xff\xff",
  35237. .ksize = 4,
  35238. .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  35239. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  35240. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  35241. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  35242. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
  35243. .psize = 40,
  35244. .digest = "\xd0\x9a\x97\xba",
  35245. },
  35246. {
  35247. .key = "\xff\xff\xff\xff",
  35248. .ksize = 4,
  35249. .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  35250. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  35251. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  35252. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  35253. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  35254. .psize = 40,
  35255. .digest = "\x13\xd9\x29\x2b",
  35256. },
  35257. {
  35258. .key = "\x80\xea\xd3\xf1",
  35259. .ksize = 4,
  35260. .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  35261. "\x31\x32\x33\x34\x35\x36\x37\x38"
  35262. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  35263. "\x41\x42\x43\x44\x45\x46\x47\x48"
  35264. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
  35265. .psize = 40,
  35266. .digest = "\x0c\xb5\xe2\xa2",
  35267. },
  35268. {
  35269. .key = "\xf3\x4a\x1d\x5d",
  35270. .ksize = 4,
  35271. .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
  35272. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  35273. "\x61\x62\x63\x64\x65\x66\x67\x68"
  35274. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  35275. "\x71\x72\x73\x74\x75\x76\x77\x78",
  35276. .psize = 40,
  35277. .digest = "\xd1\x7f\xfb\xa6",
  35278. },
  35279. {
  35280. .key = "\x2e\x80\x04\x59",
  35281. .ksize = 4,
  35282. .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  35283. "\x81\x82\x83\x84\x85\x86\x87\x88"
  35284. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  35285. "\x91\x92\x93\x94\x95\x96\x97\x98"
  35286. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
  35287. .psize = 40,
  35288. .digest = "\x59\x33\xe6\x7a",
  35289. },
  35290. {
  35291. .key = "\xa6\xcc\x19\x85",
  35292. .ksize = 4,
  35293. .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  35294. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  35295. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  35296. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  35297. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
  35298. .psize = 40,
  35299. .digest = "\xbe\x03\x01\xd2",
  35300. },
  35301. {
  35302. .key = "\x41\xfc\xfe\x2d",
  35303. .ksize = 4,
  35304. .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  35305. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  35306. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  35307. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  35308. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  35309. .psize = 40,
  35310. .digest = "\x75\xd3\xc5\x24",
  35311. },
  35312. {
  35313. .key = "\xff\xff\xff\xff",
  35314. .ksize = 4,
  35315. .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
  35316. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  35317. "\x11\x12\x13\x14\x15\x16\x17\x18"
  35318. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  35319. "\x21\x22\x23\x24\x25\x26\x27\x28"
  35320. "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  35321. "\x31\x32\x33\x34\x35\x36\x37\x38"
  35322. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  35323. "\x41\x42\x43\x44\x45\x46\x47\x48"
  35324. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
  35325. "\x51\x52\x53\x54\x55\x56\x57\x58"
  35326. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  35327. "\x61\x62\x63\x64\x65\x66\x67\x68"
  35328. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  35329. "\x71\x72\x73\x74\x75\x76\x77\x78"
  35330. "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  35331. "\x81\x82\x83\x84\x85\x86\x87\x88"
  35332. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  35333. "\x91\x92\x93\x94\x95\x96\x97\x98"
  35334. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
  35335. "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  35336. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  35337. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  35338. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  35339. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
  35340. "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  35341. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  35342. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  35343. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  35344. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  35345. .psize = 240,
  35346. .digest = "\x75\xd3\xc5\x24",
  35347. }, {
  35348. .key = "\xff\xff\xff\xff",
  35349. .ksize = 4,
  35350. .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
  35351. "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
  35352. "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
  35353. "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
  35354. "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
  35355. "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
  35356. "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
  35357. "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
  35358. "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
  35359. "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
  35360. "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
  35361. "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
  35362. "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
  35363. "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
  35364. "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
  35365. "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
  35366. "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
  35367. "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
  35368. "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
  35369. "\x58\xef\x63\xfa\x91\x05\x9c\x33"
  35370. "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
  35371. "\x19\xb0\x47\xde\x52\xe9\x80\x17"
  35372. "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
  35373. "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
  35374. "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
  35375. "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
  35376. "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
  35377. "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
  35378. "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
  35379. "\x86\x1d\x91\x28\xbf\x33\xca\x61"
  35380. "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
  35381. "\x47\xde\x75\x0c\x80\x17\xae\x22"
  35382. "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
  35383. "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
  35384. "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
  35385. "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
  35386. "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
  35387. "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
  35388. "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
  35389. "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
  35390. "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
  35391. "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
  35392. "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
  35393. "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
  35394. "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
  35395. "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
  35396. "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
  35397. "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
  35398. "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
  35399. "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
  35400. "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
  35401. "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
  35402. "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
  35403. "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
  35404. "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
  35405. "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
  35406. "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
  35407. "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
  35408. "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
  35409. "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
  35410. "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
  35411. "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
  35412. "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
  35413. "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
  35414. "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
  35415. "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
  35416. "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
  35417. "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
  35418. "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
  35419. "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
  35420. "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
  35421. "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
  35422. "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
  35423. "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
  35424. "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
  35425. "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
  35426. "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
  35427. "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
  35428. "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
  35429. "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
  35430. "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
  35431. "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
  35432. "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
  35433. "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
  35434. "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
  35435. "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
  35436. "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
  35437. "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
  35438. "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
  35439. "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
  35440. "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
  35441. "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
  35442. "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
  35443. "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
  35444. "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
  35445. "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
  35446. "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
  35447. "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
  35448. "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
  35449. "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
  35450. "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
  35451. "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
  35452. "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
  35453. "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
  35454. "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
  35455. "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
  35456. "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
  35457. "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
  35458. "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
  35459. "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
  35460. "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
  35461. "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
  35462. "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
  35463. "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
  35464. "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
  35465. "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
  35466. "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
  35467. "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
  35468. "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
  35469. "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
  35470. "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
  35471. "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
  35472. "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
  35473. "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
  35474. "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
  35475. "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
  35476. "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
  35477. "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
  35478. "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
  35479. "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
  35480. "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
  35481. "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
  35482. "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
  35483. "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
  35484. "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
  35485. "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
  35486. "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
  35487. "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
  35488. "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
  35489. "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
  35490. "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
  35491. "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
  35492. "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
  35493. "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
  35494. "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
  35495. "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
  35496. "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
  35497. "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
  35498. "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
  35499. "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
  35500. "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
  35501. "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
  35502. "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
  35503. "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
  35504. "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
  35505. "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
  35506. "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
  35507. "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
  35508. "\x47\xde\x52\xe9\x80\x17\x8b\x22"
  35509. "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
  35510. "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
  35511. "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
  35512. "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
  35513. "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
  35514. "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
  35515. "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
  35516. "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
  35517. "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
  35518. "\x75\x0c\x80\x17\xae\x22\xb9\x50"
  35519. "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
  35520. "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
  35521. "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
  35522. "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
  35523. "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
  35524. "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
  35525. "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
  35526. "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
  35527. "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
  35528. "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
  35529. "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
  35530. "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
  35531. "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
  35532. "\x48\xdf\x53\xea\x81\x18\x8c\x23"
  35533. "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
  35534. "\x09\xa0\x37\xce\x42\xd9\x70\x07"
  35535. "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
  35536. "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
  35537. "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
  35538. "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
  35539. "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
  35540. "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
  35541. "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
  35542. "\x76\x0d\x81\x18\xaf\x23\xba\x51"
  35543. "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
  35544. "\x37\xce\x65\xfc\x70\x07\x9e\x12"
  35545. "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
  35546. "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
  35547. "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
  35548. "\xff\x73\x0a\xa1\x15\xac\x43\xda"
  35549. "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
  35550. "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
  35551. "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
  35552. "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
  35553. "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
  35554. "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
  35555. "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
  35556. "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
  35557. "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
  35558. "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
  35559. "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
  35560. "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
  35561. "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
  35562. "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
  35563. "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
  35564. "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
  35565. "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
  35566. "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
  35567. "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
  35568. "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
  35569. "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
  35570. "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
  35571. "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
  35572. "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
  35573. "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
  35574. "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
  35575. "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
  35576. "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
  35577. "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
  35578. "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
  35579. "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
  35580. "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
  35581. "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
  35582. "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
  35583. "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
  35584. "\xef\x86\x1d\x91\x28\xbf\x33\xca"
  35585. "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
  35586. "\xd3\x47\xde\x75\x0c\x80\x17\xae"
  35587. "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
  35588. "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
  35589. "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
  35590. "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
  35591. "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
  35592. "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
  35593. "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
  35594. "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
  35595. "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
  35596. "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
  35597. "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
  35598. "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
  35599. "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
  35600. "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
  35601. "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
  35602. "\x67\xfe\x95\x09\xa0\x37\xce\x42"
  35603. "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
  35604. "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
  35605. "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
  35606. .psize = 2048,
  35607. .digest = "\xec\x26\x4d\x95",
  35608. }
  35609. };
  35610. static const struct hash_testvec xxhash64_tv_template[] = {
  35611. {
  35612. .psize = 0,
  35613. .digest = "\x99\xe9\xd8\x51\x37\xdb\x46\xef",
  35614. },
  35615. {
  35616. .plaintext = "\x40",
  35617. .psize = 1,
  35618. .digest = "\x20\x5c\x91\xaa\x88\xeb\x59\xd0",
  35619. },
  35620. {
  35621. .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
  35622. "\x88\xc7\x9a\x09\x1a\x9b",
  35623. .psize = 14,
  35624. .digest = "\xa8\xe8\x2b\xa9\x92\xa1\x37\x4a",
  35625. },
  35626. {
  35627. .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
  35628. "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
  35629. "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
  35630. "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
  35631. "\x31\x65\x05\xbb\x31\xae\x51\x11"
  35632. "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
  35633. "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
  35634. "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
  35635. "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
  35636. "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
  35637. "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
  35638. "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
  35639. "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
  35640. "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
  35641. "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
  35642. "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
  35643. "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
  35644. "\x43\x99\x4d\x81\x85\xae\x82\x00"
  35645. "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
  35646. "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
  35647. "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
  35648. "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
  35649. "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
  35650. "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
  35651. "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
  35652. "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
  35653. "\x12\x02\x0c\xdb\x94\x00\x38\x95"
  35654. "\xed\xfd\x08\xf7\xe8\x04",
  35655. .psize = 222,
  35656. .digest = "\x41\xfc\xd4\x29\xfe\xe7\x85\x17",
  35657. },
  35658. {
  35659. .psize = 0,
  35660. .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
  35661. .ksize = 8,
  35662. .digest = "\xef\x17\x9b\x92\xa2\xfd\x75\xac",
  35663. },
  35664. {
  35665. .plaintext = "\x40",
  35666. .psize = 1,
  35667. .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
  35668. .ksize = 8,
  35669. .digest = "\xd1\x70\x4f\x14\x02\xc4\x9e\x71",
  35670. },
  35671. {
  35672. .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
  35673. "\x88\xc7\x9a\x09\x1a\x9b",
  35674. .psize = 14,
  35675. .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
  35676. .ksize = 8,
  35677. .digest = "\xa4\xcd\xfe\x8e\x37\xe2\x1c\x64"
  35678. },
  35679. {
  35680. .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
  35681. "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
  35682. "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
  35683. "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
  35684. "\x31\x65\x05\xbb\x31\xae\x51\x11"
  35685. "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
  35686. "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
  35687. "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
  35688. "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
  35689. "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
  35690. "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
  35691. "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
  35692. "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
  35693. "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
  35694. "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
  35695. "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
  35696. "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
  35697. "\x43\x99\x4d\x81\x85\xae\x82\x00"
  35698. "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
  35699. "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
  35700. "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
  35701. "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
  35702. "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
  35703. "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
  35704. "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
  35705. "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
  35706. "\x12\x02\x0c\xdb\x94\x00\x38\x95"
  35707. "\xed\xfd\x08\xf7\xe8\x04",
  35708. .psize = 222,
  35709. .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
  35710. .ksize = 8,
  35711. .digest = "\x58\xbc\x55\xf2\x42\x81\x5c\xf0"
  35712. },
  35713. };
  35714. static const struct comp_testvec lz4_comp_tv_template[] = {
  35715. {
  35716. .inlen = 255,
  35717. .outlen = 218,
  35718. .input = "LZ4 is lossless compression algorithm, providing"
  35719. " compression speed at 400 MB/s per core, scalable "
  35720. "with multi-cores CPU. It features an extremely fast "
  35721. "decoder, with speed in multiple GB/s per core, "
  35722. "typically reaching RAM speed limits on multi-core "
  35723. "systems.",
  35724. .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
  35725. "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
  35726. "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
  35727. "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
  35728. "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
  35729. "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
  35730. "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
  35731. "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
  35732. "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
  35733. "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
  35734. "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
  35735. "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
  35736. "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
  35737. "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
  35738. "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
  35739. "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
  35740. "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
  35741. },
  35742. };
  35743. static const struct comp_testvec lz4_decomp_tv_template[] = {
  35744. {
  35745. .inlen = 218,
  35746. .outlen = 255,
  35747. .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
  35748. "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
  35749. "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
  35750. "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
  35751. "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
  35752. "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
  35753. "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
  35754. "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
  35755. "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
  35756. "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
  35757. "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
  35758. "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
  35759. "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
  35760. "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
  35761. "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
  35762. "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
  35763. "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
  35764. .output = "LZ4 is lossless compression algorithm, providing"
  35765. " compression speed at 400 MB/s per core, scalable "
  35766. "with multi-cores CPU. It features an extremely fast "
  35767. "decoder, with speed in multiple GB/s per core, "
  35768. "typically reaching RAM speed limits on multi-core "
  35769. "systems.",
  35770. },
  35771. };
  35772. static const struct comp_testvec lz4hc_comp_tv_template[] = {
  35773. {
  35774. .inlen = 255,
  35775. .outlen = 216,
  35776. .input = "LZ4 is lossless compression algorithm, providing"
  35777. " compression speed at 400 MB/s per core, scalable "
  35778. "with multi-cores CPU. It features an extremely fast "
  35779. "decoder, with speed in multiple GB/s per core, "
  35780. "typically reaching RAM speed limits on multi-core "
  35781. "systems.",
  35782. .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
  35783. "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
  35784. "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
  35785. "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
  35786. "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
  35787. "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
  35788. "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
  35789. "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
  35790. "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
  35791. "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
  35792. "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
  35793. "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
  35794. "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
  35795. "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
  35796. "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
  35797. "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
  35798. "\x73\x79\x73\x74\x65\x6d\x73\x2e",
  35799. },
  35800. };
  35801. static const struct comp_testvec lz4hc_decomp_tv_template[] = {
  35802. {
  35803. .inlen = 216,
  35804. .outlen = 255,
  35805. .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
  35806. "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
  35807. "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
  35808. "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
  35809. "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
  35810. "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
  35811. "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
  35812. "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
  35813. "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
  35814. "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
  35815. "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
  35816. "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
  35817. "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
  35818. "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
  35819. "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
  35820. "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
  35821. "\x73\x79\x73\x74\x65\x6d\x73\x2e",
  35822. .output = "LZ4 is lossless compression algorithm, providing"
  35823. " compression speed at 400 MB/s per core, scalable "
  35824. "with multi-cores CPU. It features an extremely fast "
  35825. "decoder, with speed in multiple GB/s per core, "
  35826. "typically reaching RAM speed limits on multi-core "
  35827. "systems.",
  35828. },
  35829. };
  35830. static const struct comp_testvec zstd_comp_tv_template[] = {
  35831. {
  35832. .inlen = 68,
  35833. .outlen = 39,
  35834. .input = "The algorithm is zstd. "
  35835. "The algorithm is zstd. "
  35836. "The algorithm is zstd.",
  35837. .output = "\x28\xb5\x2f\xfd\x00\x50\xf5\x00\x00\xb8\x54\x68\x65"
  35838. "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
  35839. "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
  35840. ,
  35841. },
  35842. {
  35843. .inlen = 244,
  35844. .outlen = 151,
  35845. .input = "zstd, short for Zstandard, is a fast lossless "
  35846. "compression algorithm, targeting real-time "
  35847. "compression scenarios at zlib-level and better "
  35848. "compression ratios. The zstd compression library "
  35849. "provides in-memory compression and decompression "
  35850. "functions.",
  35851. .output = "\x28\xb5\x2f\xfd\x00\x50\x75\x04\x00\x42\x4b\x1e\x17"
  35852. "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
  35853. "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
  35854. "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
  35855. "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
  35856. "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
  35857. "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
  35858. "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
  35859. "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
  35860. "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
  35861. "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
  35862. "\x20\xa9\x0e\x82\xb9\x43\x45\x01",
  35863. },
  35864. };
  35865. static const struct comp_testvec zstd_decomp_tv_template[] = {
  35866. {
  35867. .inlen = 43,
  35868. .outlen = 68,
  35869. .input = "\x28\xb5\x2f\xfd\x04\x50\xf5\x00\x00\xb8\x54\x68\x65"
  35870. "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
  35871. "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
  35872. "\x6b\xf4\x13\x35",
  35873. .output = "The algorithm is zstd. "
  35874. "The algorithm is zstd. "
  35875. "The algorithm is zstd.",
  35876. },
  35877. {
  35878. .inlen = 155,
  35879. .outlen = 244,
  35880. .input = "\x28\xb5\x2f\xfd\x04\x50\x75\x04\x00\x42\x4b\x1e\x17"
  35881. "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
  35882. "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
  35883. "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
  35884. "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
  35885. "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
  35886. "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
  35887. "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
  35888. "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
  35889. "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
  35890. "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
  35891. "\x20\xa9\x0e\x82\xb9\x43\x45\x01\xaa\x6d\xda\x0d",
  35892. .output = "zstd, short for Zstandard, is a fast lossless "
  35893. "compression algorithm, targeting real-time "
  35894. "compression scenarios at zlib-level and better "
  35895. "compression ratios. The zstd compression library "
  35896. "provides in-memory compression and decompression "
  35897. "functions.",
  35898. },
  35899. };
  35900. /* based on aes_cbc_tv_template */
  35901. static const struct cipher_testvec essiv_aes_cbc_tv_template[] = {
  35902. {
  35903. .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  35904. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  35905. .klen = 16,
  35906. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  35907. "\x00\x00\x00\x00\x00\x00\x00\x00",
  35908. .ptext = "Single block msg",
  35909. .ctext = "\xfa\x59\xe7\x5f\x41\x56\x65\xc3"
  35910. "\x36\xca\x6b\x72\x10\x9f\x8c\xd4",
  35911. .len = 16,
  35912. }, {
  35913. .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  35914. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  35915. .klen = 16,
  35916. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  35917. "\x00\x00\x00\x00\x00\x00\x00\x00",
  35918. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  35919. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  35920. "\x10\x11\x12\x13\x14\x15\x16\x17"
  35921. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  35922. .ctext = "\xc8\x59\x9a\xfe\x79\xe6\x7b\x20"
  35923. "\x06\x7d\x55\x0a\x5e\xc7\xb5\xa7"
  35924. "\x0b\x9c\x80\xd2\x15\xa1\xb8\x6d"
  35925. "\xc6\xab\x7b\x65\xd9\xfd\x88\xeb",
  35926. .len = 32,
  35927. }, {
  35928. .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  35929. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  35930. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  35931. .klen = 24,
  35932. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  35933. "\x00\x00\x00\x00\x00\x00\x00\x00",
  35934. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  35935. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  35936. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  35937. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  35938. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  35939. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  35940. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  35941. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  35942. .ctext = "\x96\x6d\xa9\x7a\x42\xe6\x01\xc7"
  35943. "\x17\xfc\xa7\x41\xd3\x38\x0b\xe5"
  35944. "\x51\x48\xf7\x7e\x5e\x26\xa9\xfe"
  35945. "\x45\x72\x1c\xd9\xde\xab\xf3\x4d"
  35946. "\x39\x47\xc5\x4f\x97\x3a\x55\x63"
  35947. "\x80\x29\x64\x4c\x33\xe8\x21\x8a"
  35948. "\x6a\xef\x6b\x6a\x8f\x43\xc0\xcb"
  35949. "\xf0\xf3\x6e\x74\x54\x44\x92\x44",
  35950. .len = 64,
  35951. }, {
  35952. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  35953. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  35954. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  35955. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  35956. .klen = 32,
  35957. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  35958. "\x00\x00\x00\x00\x00\x00\x00\x00",
  35959. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  35960. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  35961. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  35962. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  35963. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  35964. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  35965. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  35966. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  35967. .ctext = "\x24\x52\xf1\x48\x74\xd0\xa7\x93"
  35968. "\x75\x9b\x63\x46\xc0\x1c\x1e\x17"
  35969. "\x4d\xdc\x5b\x3a\x27\x93\x2a\x63"
  35970. "\xf7\xf1\xc7\xb3\x54\x56\x5b\x50"
  35971. "\xa3\x31\xa5\x8b\xd6\xfd\xb6\x3c"
  35972. "\x8b\xf6\xf2\x45\x05\x0c\xc8\xbb"
  35973. "\x32\x0b\x26\x1c\xe9\x8b\x02\xc0"
  35974. "\xb2\x6f\x37\xa7\x5b\xa8\xa9\x42",
  35975. .len = 64,
  35976. }, {
  35977. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
  35978. "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
  35979. "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
  35980. "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
  35981. .klen = 32,
  35982. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
  35983. "\x00\x00\x00\x00\x00\x00\x00\x00",
  35984. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  35985. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  35986. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  35987. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  35988. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  35989. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  35990. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  35991. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  35992. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  35993. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  35994. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  35995. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  35996. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  35997. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  35998. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  35999. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  36000. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  36001. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  36002. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  36003. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  36004. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  36005. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  36006. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  36007. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  36008. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  36009. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  36010. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  36011. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  36012. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  36013. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  36014. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  36015. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  36016. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  36017. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  36018. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  36019. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  36020. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  36021. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  36022. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  36023. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  36024. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  36025. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  36026. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  36027. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  36028. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  36029. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  36030. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  36031. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  36032. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  36033. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  36034. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  36035. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  36036. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  36037. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  36038. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  36039. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  36040. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  36041. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  36042. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  36043. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  36044. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  36045. "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
  36046. .ctext = "\x97\x7f\x69\x0f\x0f\x34\xa6\x33"
  36047. "\x66\x49\x7e\xd0\x4d\x1b\xc9\x64"
  36048. "\xf9\x61\x95\x98\x11\x00\x88\xf8"
  36049. "\x2e\x88\x01\x0f\x2b\xe1\xae\x3e"
  36050. "\xfe\xd6\x47\x30\x11\x68\x7d\x99"
  36051. "\xad\x69\x6a\xe8\x41\x5f\x1e\x16"
  36052. "\x00\x3a\x47\xdf\x8e\x7d\x23\x1c"
  36053. "\x19\x5b\x32\x76\x60\x03\x05\xc1"
  36054. "\xa0\xff\xcf\xcc\x74\x39\x46\x63"
  36055. "\xfe\x5f\xa6\x35\xa7\xb4\xc1\xf9"
  36056. "\x4b\x5e\x38\xcc\x8c\xc1\xa2\xcf"
  36057. "\x9a\xc3\xae\x55\x42\x46\x93\xd9"
  36058. "\xbd\x22\xd3\x8a\x19\x96\xc3\xb3"
  36059. "\x7d\x03\x18\xf9\x45\x09\x9c\xc8"
  36060. "\x90\xf3\x22\xb3\x25\x83\x9a\x75"
  36061. "\xbb\x04\x48\x97\x3a\x63\x08\x04"
  36062. "\xa0\x69\xf6\x52\xd4\x89\x93\x69"
  36063. "\xb4\x33\xa2\x16\x58\xec\x4b\x26"
  36064. "\x76\x54\x10\x0b\x6e\x53\x1e\xbc"
  36065. "\x16\x18\x42\xb1\xb1\xd3\x4b\xda"
  36066. "\x06\x9f\x8b\x77\xf7\xab\xd6\xed"
  36067. "\xa3\x1d\x90\xda\x49\x38\x20\xb8"
  36068. "\x6c\xee\xae\x3e\xae\x6c\x03\xb8"
  36069. "\x0b\xed\xc8\xaa\x0e\xc5\x1f\x90"
  36070. "\x60\xe2\xec\x1b\x76\xd0\xcf\xda"
  36071. "\x29\x1b\xb8\x5a\xbc\xf4\xba\x13"
  36072. "\x91\xa6\xcb\x83\x3f\xeb\xe9\x7b"
  36073. "\x03\xba\x40\x9e\xe6\x7a\xb2\x4a"
  36074. "\x73\x49\xfc\xed\xfb\x55\xa4\x24"
  36075. "\xc7\xa4\xd7\x4b\xf5\xf7\x16\x62"
  36076. "\x80\xd3\x19\x31\x52\x25\xa8\x69"
  36077. "\xda\x9a\x87\xf5\xf2\xee\x5d\x61"
  36078. "\xc1\x12\x72\x3e\x52\x26\x45\x3a"
  36079. "\xd8\x9d\x57\xfa\x14\xe2\x9b\x2f"
  36080. "\xd4\xaa\x5e\x31\xf4\x84\x89\xa4"
  36081. "\xe3\x0e\xb0\x58\x41\x75\x6a\xcb"
  36082. "\x30\x01\x98\x90\x15\x80\xf5\x27"
  36083. "\x92\x13\x81\xf0\x1c\x1e\xfc\xb1"
  36084. "\x33\xf7\x63\xb0\x67\xec\x2e\x5c"
  36085. "\x85\xe3\x5b\xd0\x43\x8a\xb8\x5f"
  36086. "\x44\x9f\xec\x19\xc9\x8f\xde\xdf"
  36087. "\x79\xef\xf8\xee\x14\x87\xb3\x34"
  36088. "\x76\x00\x3a\x9b\xc7\xed\xb1\x3d"
  36089. "\xef\x07\xb0\xe4\xfd\x68\x9e\xeb"
  36090. "\xc2\xb4\x1a\x85\x9a\x7d\x11\x88"
  36091. "\xf8\xab\x43\x55\x2b\x8a\x4f\x60"
  36092. "\x85\x9a\xf4\xba\xae\x48\x81\xeb"
  36093. "\x93\x07\x97\x9e\xde\x2a\xfc\x4e"
  36094. "\x31\xde\xaa\x44\xf7\x2a\xc3\xee"
  36095. "\x60\xa2\x98\x2c\x0a\x88\x50\xc5"
  36096. "\x6d\x89\xd3\xe4\xb6\xa7\xf4\xb0"
  36097. "\xcf\x0e\x89\xe3\x5e\x8f\x82\xf4"
  36098. "\x9d\xd1\xa9\x51\x50\x8a\xd2\x18"
  36099. "\x07\xb2\xaa\x3b\x7f\x58\x9b\xf4"
  36100. "\xb7\x24\x39\xd3\x66\x2f\x1e\xc0"
  36101. "\x11\xa3\x56\x56\x2a\x10\x73\xbc"
  36102. "\xe1\x23\xbf\xa9\x37\x07\x9c\xc3"
  36103. "\xb2\xc9\xa8\x1c\x5b\x5c\x58\xa4"
  36104. "\x77\x02\x26\xad\xc3\x40\x11\x53"
  36105. "\x93\x68\x72\xde\x05\x8b\x10\xbc"
  36106. "\xa6\xd4\x1b\xd9\x27\xd8\x16\x12"
  36107. "\x61\x2b\x31\x2a\x44\x87\x96\x58",
  36108. .len = 496,
  36109. },
  36110. };
  36111. /* based on hmac_sha256_aes_cbc_tv_temp */
  36112. static const struct aead_testvec essiv_hmac_sha256_aes_cbc_tv_temp[] = {
  36113. {
  36114. #ifdef __LITTLE_ENDIAN
  36115. .key = "\x08\x00" /* rta length */
  36116. "\x01\x00" /* rta type */
  36117. #else
  36118. .key = "\x00\x08" /* rta length */
  36119. "\x00\x01" /* rta type */
  36120. #endif
  36121. "\x00\x00\x00\x10" /* enc key length */
  36122. "\x00\x00\x00\x00\x00\x00\x00\x00"
  36123. "\x00\x00\x00\x00\x00\x00\x00\x00"
  36124. "\x00\x00\x00\x00\x00\x00\x00\x00"
  36125. "\x00\x00\x00\x00\x00\x00\x00\x00"
  36126. "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  36127. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  36128. .klen = 8 + 32 + 16,
  36129. .iv = "\xb3\x0c\x5a\x11\x41\xad\xc1\x04"
  36130. "\xbc\x1e\x7e\x35\xb0\x5d\x78\x29",
  36131. .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  36132. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  36133. .alen = 16,
  36134. .ptext = "Single block msg",
  36135. .plen = 16,
  36136. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  36137. "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
  36138. "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
  36139. "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
  36140. "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
  36141. "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
  36142. .clen = 16 + 32,
  36143. }, {
  36144. #ifdef __LITTLE_ENDIAN
  36145. .key = "\x08\x00" /* rta length */
  36146. "\x01\x00" /* rta type */
  36147. #else
  36148. .key = "\x00\x08" /* rta length */
  36149. "\x00\x01" /* rta type */
  36150. #endif
  36151. "\x00\x00\x00\x10" /* enc key length */
  36152. "\x20\x21\x22\x23\x24\x25\x26\x27"
  36153. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  36154. "\x30\x31\x32\x33\x34\x35\x36\x37"
  36155. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  36156. "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  36157. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  36158. .klen = 8 + 32 + 16,
  36159. .iv = "\x56\xe8\x14\xa5\x74\x18\x75\x13"
  36160. "\x2f\x79\xe7\xc8\x65\xe3\x48\x45",
  36161. .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  36162. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  36163. .alen = 16,
  36164. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  36165. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  36166. "\x10\x11\x12\x13\x14\x15\x16\x17"
  36167. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  36168. .plen = 32,
  36169. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  36170. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  36171. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  36172. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
  36173. "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
  36174. "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
  36175. "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
  36176. "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
  36177. .clen = 32 + 32,
  36178. }, {
  36179. #ifdef __LITTLE_ENDIAN
  36180. .key = "\x08\x00" /* rta length */
  36181. "\x01\x00" /* rta type */
  36182. #else
  36183. .key = "\x00\x08" /* rta length */
  36184. "\x00\x01" /* rta type */
  36185. #endif
  36186. "\x00\x00\x00\x10" /* enc key length */
  36187. "\x11\x22\x33\x44\x55\x66\x77\x88"
  36188. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  36189. "\x22\x33\x44\x55\x66\x77\x88\x99"
  36190. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  36191. "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
  36192. "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
  36193. .klen = 8 + 32 + 16,
  36194. .iv = "\x1f\x6b\xfb\xd6\x6b\x72\x2f\xc9"
  36195. "\xb6\x9f\x8c\x10\xa8\x96\x15\x64",
  36196. .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  36197. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  36198. .alen = 16,
  36199. .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
  36200. .plen = 48,
  36201. .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
  36202. "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
  36203. "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
  36204. "\x50\x69\x39\x27\x67\x72\xf8\xd5"
  36205. "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
  36206. "\x85\x79\x69\x5d\x83\xba\x26\x84"
  36207. "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
  36208. "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
  36209. "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
  36210. "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
  36211. .clen = 48 + 32,
  36212. }, {
  36213. #ifdef __LITTLE_ENDIAN
  36214. .key = "\x08\x00" /* rta length */
  36215. "\x01\x00" /* rta type */
  36216. #else
  36217. .key = "\x00\x08" /* rta length */
  36218. "\x00\x01" /* rta type */
  36219. #endif
  36220. "\x00\x00\x00\x10" /* enc key length */
  36221. "\x11\x22\x33\x44\x55\x66\x77\x88"
  36222. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  36223. "\x22\x33\x44\x55\x66\x77\x88\x99"
  36224. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  36225. "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
  36226. "\xbc\x46\x90\x3d\xba\x29\x03\x49",
  36227. .klen = 8 + 32 + 16,
  36228. .iv = "\x13\xe5\xf2\xef\x61\x97\x59\x35"
  36229. "\x9b\x36\x84\x46\x4e\x63\xd1\x41",
  36230. .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  36231. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  36232. .alen = 16,
  36233. .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  36234. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  36235. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  36236. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  36237. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  36238. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  36239. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  36240. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
  36241. .plen = 64,
  36242. .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
  36243. "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
  36244. "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
  36245. "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
  36246. "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
  36247. "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
  36248. "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
  36249. "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
  36250. "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
  36251. "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
  36252. "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
  36253. "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
  36254. .clen = 64 + 32,
  36255. }, {
  36256. #ifdef __LITTLE_ENDIAN
  36257. .key = "\x08\x00" /* rta length */
  36258. "\x01\x00" /* rta type */
  36259. #else
  36260. .key = "\x00\x08" /* rta length */
  36261. "\x00\x01" /* rta type */
  36262. #endif
  36263. "\x00\x00\x00\x10" /* enc key length */
  36264. "\x11\x22\x33\x44\x55\x66\x77\x88"
  36265. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  36266. "\x22\x33\x44\x55\x66\x77\x88\x99"
  36267. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  36268. "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
  36269. "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
  36270. .klen = 8 + 32 + 16,
  36271. .iv = "\xe4\x13\xa1\x15\xe9\x6b\xb8\x23"
  36272. "\x81\x7a\x94\x29\xab\xfd\xd2\x2c",
  36273. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  36274. "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  36275. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  36276. .alen = 24,
  36277. .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
  36278. "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
  36279. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  36280. "\x10\x11\x12\x13\x14\x15\x16\x17"
  36281. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  36282. "\x20\x21\x22\x23\x24\x25\x26\x27"
  36283. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  36284. "\x30\x31\x32\x33\x34\x35\x36\x37"
  36285. "\x01\x02\x03\x04\x05\x06\x07\x08"
  36286. "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
  36287. .plen = 80,
  36288. .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
  36289. "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
  36290. "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
  36291. "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
  36292. "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
  36293. "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
  36294. "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
  36295. "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
  36296. "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
  36297. "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
  36298. "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
  36299. "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
  36300. "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
  36301. "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
  36302. .clen = 80 + 32,
  36303. }, {
  36304. #ifdef __LITTLE_ENDIAN
  36305. .key = "\x08\x00" /* rta length */
  36306. "\x01\x00" /* rta type */
  36307. #else
  36308. .key = "\x00\x08" /* rta length */
  36309. "\x00\x01" /* rta type */
  36310. #endif
  36311. "\x00\x00\x00\x18" /* enc key length */
  36312. "\x11\x22\x33\x44\x55\x66\x77\x88"
  36313. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  36314. "\x22\x33\x44\x55\x66\x77\x88\x99"
  36315. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  36316. "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  36317. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  36318. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  36319. .klen = 8 + 32 + 24,
  36320. .iv = "\x49\xca\x41\xc9\x6b\xbf\x6c\x98"
  36321. "\x38\x2f\xa7\x3d\x4d\x80\x49\xb0",
  36322. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  36323. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  36324. .alen = 16,
  36325. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  36326. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  36327. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  36328. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  36329. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  36330. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  36331. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  36332. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  36333. .plen = 64,
  36334. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  36335. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  36336. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  36337. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  36338. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  36339. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  36340. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  36341. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
  36342. "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
  36343. "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
  36344. "\xca\x71\x85\x93\xf7\x85\x55\x8b"
  36345. "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
  36346. .clen = 64 + 32,
  36347. }, {
  36348. #ifdef __LITTLE_ENDIAN
  36349. .key = "\x08\x00" /* rta length */
  36350. "\x01\x00" /* rta type */
  36351. #else
  36352. .key = "\x00\x08" /* rta length */
  36353. "\x00\x01" /* rta type */
  36354. #endif
  36355. "\x00\x00\x00\x20" /* enc key length */
  36356. "\x11\x22\x33\x44\x55\x66\x77\x88"
  36357. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  36358. "\x22\x33\x44\x55\x66\x77\x88\x99"
  36359. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  36360. "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  36361. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  36362. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  36363. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  36364. .klen = 8 + 32 + 32,
  36365. .iv = "\xdf\xab\xf2\x7c\xdc\xe0\x33\x4c"
  36366. "\xf9\x75\xaf\xf9\x2f\x60\x3a\x9b",
  36367. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  36368. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  36369. .alen = 16,
  36370. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  36371. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  36372. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  36373. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  36374. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  36375. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  36376. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  36377. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  36378. .plen = 64,
  36379. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  36380. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  36381. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  36382. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  36383. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  36384. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  36385. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  36386. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
  36387. "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
  36388. "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
  36389. "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
  36390. "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
  36391. .clen = 64 + 32,
  36392. },
  36393. };
  36394. static const char blake2_ordered_sequence[] =
  36395. "\x00\x01\x02\x03\x04\x05\x06\x07"
  36396. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  36397. "\x10\x11\x12\x13\x14\x15\x16\x17"
  36398. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  36399. "\x20\x21\x22\x23\x24\x25\x26\x27"
  36400. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  36401. "\x30\x31\x32\x33\x34\x35\x36\x37"
  36402. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  36403. "\x40\x41\x42\x43\x44\x45\x46\x47"
  36404. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  36405. "\x50\x51\x52\x53\x54\x55\x56\x57"
  36406. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  36407. "\x60\x61\x62\x63\x64\x65\x66\x67"
  36408. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  36409. "\x70\x71\x72\x73\x74\x75\x76\x77"
  36410. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  36411. "\x80\x81\x82\x83\x84\x85\x86\x87"
  36412. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  36413. "\x90\x91\x92\x93\x94\x95\x96\x97"
  36414. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  36415. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  36416. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  36417. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  36418. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  36419. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  36420. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  36421. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  36422. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  36423. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  36424. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  36425. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  36426. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
  36427. static const struct hash_testvec blake2b_160_tv_template[] = {{
  36428. .digest = (u8[]){ 0x33, 0x45, 0x52, 0x4a, 0xbf, 0x6b, 0xbe, 0x18,
  36429. 0x09, 0x44, 0x92, 0x24, 0xb5, 0x97, 0x2c, 0x41,
  36430. 0x79, 0x0b, 0x6c, 0xf2, },
  36431. }, {
  36432. .plaintext = blake2_ordered_sequence,
  36433. .psize = 64,
  36434. .digest = (u8[]){ 0x11, 0xcc, 0x66, 0x61, 0xe9, 0x22, 0xb0, 0xe4,
  36435. 0x07, 0xe0, 0xa5, 0x72, 0x49, 0xc3, 0x8d, 0x4f,
  36436. 0xf7, 0x6d, 0x8e, 0xc8, },
  36437. }, {
  36438. .ksize = 32,
  36439. .key = blake2_ordered_sequence,
  36440. .plaintext = blake2_ordered_sequence,
  36441. .psize = 1,
  36442. .digest = (u8[]){ 0x31, 0xe3, 0xd9, 0xd5, 0x4e, 0x72, 0xd8, 0x0b,
  36443. 0x2b, 0x3b, 0xd7, 0x6b, 0x82, 0x7a, 0x1d, 0xfb,
  36444. 0x56, 0x2f, 0x79, 0x4c, },
  36445. }, {
  36446. .ksize = 64,
  36447. .key = blake2_ordered_sequence,
  36448. .plaintext = blake2_ordered_sequence,
  36449. .psize = 7,
  36450. .digest = (u8[]){ 0x28, 0x20, 0xd1, 0xbe, 0x7f, 0xcc, 0xc1, 0x62,
  36451. 0xd9, 0x0d, 0x9a, 0x4b, 0x47, 0xd1, 0x5e, 0x04,
  36452. 0x74, 0x2a, 0x53, 0x17, },
  36453. }, {
  36454. .ksize = 1,
  36455. .key = "B",
  36456. .plaintext = blake2_ordered_sequence,
  36457. .psize = 15,
  36458. .digest = (u8[]){ 0x45, 0xe9, 0x95, 0xb6, 0xc4, 0xe8, 0x22, 0xea,
  36459. 0xfe, 0xd2, 0x37, 0xdb, 0x46, 0xbf, 0xf1, 0x25,
  36460. 0xd5, 0x03, 0x1d, 0x81, },
  36461. }, {
  36462. .ksize = 32,
  36463. .key = blake2_ordered_sequence,
  36464. .plaintext = blake2_ordered_sequence,
  36465. .psize = 247,
  36466. .digest = (u8[]){ 0x7e, 0xb9, 0xf2, 0x9b, 0x2f, 0xc2, 0x01, 0xd4,
  36467. 0xb0, 0x4f, 0x08, 0x2b, 0x8e, 0xbd, 0x06, 0xef,
  36468. 0x1c, 0xc4, 0x25, 0x95, },
  36469. }, {
  36470. .ksize = 64,
  36471. .key = blake2_ordered_sequence,
  36472. .plaintext = blake2_ordered_sequence,
  36473. .psize = 256,
  36474. .digest = (u8[]){ 0x6e, 0x35, 0x01, 0x70, 0xbf, 0xb6, 0xc4, 0xba,
  36475. 0x33, 0x1b, 0xa6, 0xd3, 0xc2, 0x5d, 0xb4, 0x03,
  36476. 0x95, 0xaf, 0x29, 0x16, },
  36477. }};
  36478. static const struct hash_testvec blake2b_256_tv_template[] = {{
  36479. .plaintext = blake2_ordered_sequence,
  36480. .psize = 7,
  36481. .digest = (u8[]){ 0x9d, 0xf1, 0x4b, 0x72, 0x48, 0x76, 0x4a, 0x86,
  36482. 0x91, 0x97, 0xc3, 0x5e, 0x39, 0x2d, 0x2a, 0x6d,
  36483. 0x6f, 0xdc, 0x5b, 0x79, 0xd5, 0x97, 0x29, 0x79,
  36484. 0x20, 0xfd, 0x3f, 0x14, 0x91, 0xb4, 0x42, 0xd2, },
  36485. }, {
  36486. .plaintext = blake2_ordered_sequence,
  36487. .psize = 256,
  36488. .digest = (u8[]){ 0x39, 0xa7, 0xeb, 0x9f, 0xed, 0xc1, 0x9a, 0xab,
  36489. 0xc8, 0x34, 0x25, 0xc6, 0x75, 0x5d, 0xd9, 0x0e,
  36490. 0x6f, 0x9d, 0x0c, 0x80, 0x49, 0x64, 0xa1, 0xf4,
  36491. 0xaa, 0xee, 0xa3, 0xb9, 0xfb, 0x59, 0x98, 0x35, },
  36492. }, {
  36493. .ksize = 1,
  36494. .key = "B",
  36495. .digest = (u8[]){ 0xc3, 0x08, 0xb1, 0xbf, 0xe4, 0xf9, 0xbc, 0xb4,
  36496. 0x75, 0xaf, 0x3f, 0x59, 0x6e, 0xae, 0xde, 0x6a,
  36497. 0xa3, 0x8e, 0xb5, 0x94, 0xad, 0x30, 0xf0, 0x17,
  36498. 0x1c, 0xfb, 0xd8, 0x3e, 0x8a, 0xbe, 0xed, 0x9c, },
  36499. }, {
  36500. .ksize = 64,
  36501. .key = blake2_ordered_sequence,
  36502. .plaintext = blake2_ordered_sequence,
  36503. .psize = 1,
  36504. .digest = (u8[]){ 0x34, 0x75, 0x8b, 0x64, 0x71, 0x35, 0x62, 0x82,
  36505. 0x97, 0xfb, 0x09, 0xc7, 0x93, 0x0c, 0xd0, 0x4e,
  36506. 0x95, 0x28, 0xe5, 0x66, 0x91, 0x12, 0xf5, 0xb1,
  36507. 0x31, 0x84, 0x93, 0xe1, 0x4d, 0xe7, 0x7e, 0x55, },
  36508. }, {
  36509. .ksize = 32,
  36510. .key = blake2_ordered_sequence,
  36511. .plaintext = blake2_ordered_sequence,
  36512. .psize = 15,
  36513. .digest = (u8[]){ 0xce, 0x74, 0xa9, 0x2e, 0xe9, 0x40, 0x3d, 0xa2,
  36514. 0x11, 0x4a, 0x99, 0x25, 0x7a, 0x34, 0x5d, 0x35,
  36515. 0xdf, 0x6a, 0x48, 0x79, 0x2a, 0x93, 0x93, 0xff,
  36516. 0x1f, 0x3c, 0x39, 0xd0, 0x71, 0x1f, 0x20, 0x7b, },
  36517. }, {
  36518. .ksize = 1,
  36519. .key = "B",
  36520. .plaintext = blake2_ordered_sequence,
  36521. .psize = 64,
  36522. .digest = (u8[]){ 0x2e, 0x84, 0xdb, 0xa2, 0x5f, 0x0e, 0xe9, 0x52,
  36523. 0x79, 0x50, 0x69, 0x9f, 0xf1, 0xfd, 0xfc, 0x9d,
  36524. 0x89, 0x83, 0xa9, 0xb6, 0xa4, 0xd5, 0xfa, 0xb5,
  36525. 0xbe, 0x35, 0x1a, 0x17, 0x8a, 0x2c, 0x7f, 0x7d, },
  36526. }, {
  36527. .ksize = 64,
  36528. .key = blake2_ordered_sequence,
  36529. .plaintext = blake2_ordered_sequence,
  36530. .psize = 247,
  36531. .digest = (u8[]){ 0x2e, 0x26, 0xf0, 0x09, 0x02, 0x65, 0x90, 0x09,
  36532. 0xcc, 0xf5, 0x4c, 0x44, 0x74, 0x0e, 0xa0, 0xa8,
  36533. 0x25, 0x4a, 0xda, 0x61, 0x56, 0x95, 0x7d, 0x3f,
  36534. 0x6d, 0xc0, 0x43, 0x17, 0x95, 0x89, 0xcd, 0x9d, },
  36535. }};
  36536. static const struct hash_testvec blake2b_384_tv_template[] = {{
  36537. .plaintext = blake2_ordered_sequence,
  36538. .psize = 1,
  36539. .digest = (u8[]){ 0xcc, 0x01, 0x08, 0x85, 0x36, 0xf7, 0x84, 0xf0,
  36540. 0xbb, 0x76, 0x9e, 0x41, 0xc4, 0x95, 0x7b, 0x6d,
  36541. 0x0c, 0xde, 0x1f, 0xcc, 0x8c, 0xf1, 0xd9, 0x1f,
  36542. 0xc4, 0x77, 0xd4, 0xdd, 0x6e, 0x3f, 0xbf, 0xcd,
  36543. 0x43, 0xd1, 0x69, 0x8d, 0x14, 0x6f, 0x34, 0x8b,
  36544. 0x2c, 0x36, 0xa3, 0x39, 0x68, 0x2b, 0xec, 0x3f, },
  36545. }, {
  36546. .plaintext = blake2_ordered_sequence,
  36547. .psize = 247,
  36548. .digest = (u8[]){ 0xc8, 0xf8, 0xf0, 0xa2, 0x69, 0xfa, 0xcc, 0x4d,
  36549. 0x32, 0x5f, 0x13, 0x88, 0xca, 0x71, 0x99, 0x8f,
  36550. 0xf7, 0x30, 0x41, 0x5d, 0x6e, 0x34, 0xb7, 0x6e,
  36551. 0x3e, 0xd0, 0x46, 0xb6, 0xca, 0x30, 0x66, 0xb2,
  36552. 0x6f, 0x0c, 0x35, 0x54, 0x17, 0xcd, 0x26, 0x1b,
  36553. 0xef, 0x48, 0x98, 0xe0, 0x56, 0x7c, 0x05, 0xd2, },
  36554. }, {
  36555. .ksize = 32,
  36556. .key = blake2_ordered_sequence,
  36557. .digest = (u8[]){ 0x15, 0x09, 0x7a, 0x90, 0x13, 0x23, 0xab, 0x0c,
  36558. 0x0b, 0x43, 0x21, 0x9a, 0xb5, 0xc6, 0x0c, 0x2e,
  36559. 0x7c, 0x57, 0xfc, 0xcc, 0x4b, 0x0f, 0xf0, 0x57,
  36560. 0xb7, 0x9c, 0xe7, 0x0f, 0xe1, 0x57, 0xac, 0x37,
  36561. 0x77, 0xd4, 0xf4, 0x2f, 0x03, 0x3b, 0x64, 0x09,
  36562. 0x84, 0xa0, 0xb3, 0x24, 0xb7, 0xae, 0x47, 0x5e, },
  36563. }, {
  36564. .ksize = 1,
  36565. .key = "B",
  36566. .plaintext = blake2_ordered_sequence,
  36567. .psize = 7,
  36568. .digest = (u8[]){ 0x0b, 0x82, 0x88, 0xca, 0x05, 0x2f, 0x1b, 0x15,
  36569. 0xdc, 0xbb, 0x22, 0x27, 0x11, 0x6b, 0xf4, 0xd1,
  36570. 0xe9, 0x8f, 0x1b, 0x0b, 0x58, 0x3f, 0x5e, 0x86,
  36571. 0x80, 0x82, 0x6f, 0x8e, 0x54, 0xc1, 0x9f, 0x12,
  36572. 0xcf, 0xe9, 0x56, 0xc1, 0xfc, 0x1a, 0x08, 0xb9,
  36573. 0x4a, 0x57, 0x0a, 0x76, 0x3c, 0x15, 0x33, 0x18, },
  36574. }, {
  36575. .ksize = 64,
  36576. .key = blake2_ordered_sequence,
  36577. .plaintext = blake2_ordered_sequence,
  36578. .psize = 15,
  36579. .digest = (u8[]){ 0x4a, 0x81, 0x55, 0xb9, 0x79, 0x42, 0x8c, 0xc6,
  36580. 0x4f, 0xfe, 0xca, 0x82, 0x3b, 0xb2, 0xf7, 0xbc,
  36581. 0x5e, 0xfc, 0xab, 0x09, 0x1c, 0xd6, 0x3b, 0xe1,
  36582. 0x50, 0x82, 0x3b, 0xde, 0xc7, 0x06, 0xee, 0x3b,
  36583. 0x29, 0xce, 0xe5, 0x68, 0xe0, 0xff, 0xfa, 0xe1,
  36584. 0x7a, 0xf1, 0xc0, 0xfe, 0x57, 0xf4, 0x60, 0x49, },
  36585. }, {
  36586. .ksize = 32,
  36587. .key = blake2_ordered_sequence,
  36588. .plaintext = blake2_ordered_sequence,
  36589. .psize = 64,
  36590. .digest = (u8[]){ 0x34, 0xbd, 0xe1, 0x99, 0x43, 0x9f, 0x82, 0x72,
  36591. 0xe7, 0xed, 0x94, 0x9e, 0xe1, 0x84, 0xee, 0x82,
  36592. 0xfd, 0x26, 0x23, 0xc4, 0x17, 0x8d, 0xf5, 0x04,
  36593. 0xeb, 0xb7, 0xbc, 0xb8, 0xf3, 0x68, 0xb7, 0xad,
  36594. 0x94, 0x8e, 0x05, 0x3f, 0x8a, 0x5d, 0x8d, 0x81,
  36595. 0x3e, 0x88, 0xa7, 0x8c, 0xa2, 0xd5, 0xdc, 0x76, },
  36596. }, {
  36597. .ksize = 1,
  36598. .key = "B",
  36599. .plaintext = blake2_ordered_sequence,
  36600. .psize = 256,
  36601. .digest = (u8[]){ 0x22, 0x14, 0xf4, 0xb0, 0x4c, 0xa8, 0xb5, 0x7d,
  36602. 0xa7, 0x5c, 0x04, 0xeb, 0xd8, 0x8d, 0x04, 0x71,
  36603. 0xc7, 0x3c, 0xc7, 0x6e, 0x8b, 0x20, 0x36, 0x40,
  36604. 0x9d, 0xd0, 0x60, 0xc6, 0xe3, 0x0b, 0x6e, 0x50,
  36605. 0xf5, 0xaf, 0xf5, 0xc6, 0x3b, 0xe3, 0x84, 0x6a,
  36606. 0x93, 0x1b, 0x12, 0xd6, 0x18, 0x27, 0xba, 0x36, },
  36607. }};
  36608. static const struct hash_testvec blake2b_512_tv_template[] = {{
  36609. .plaintext = blake2_ordered_sequence,
  36610. .psize = 15,
  36611. .digest = (u8[]){ 0x44, 0x4b, 0x24, 0x0f, 0xe3, 0xed, 0x86, 0xd0,
  36612. 0xe2, 0xef, 0x4c, 0xe7, 0xd8, 0x51, 0xed, 0xde,
  36613. 0x22, 0x15, 0x55, 0x82, 0xaa, 0x09, 0x14, 0x79,
  36614. 0x7b, 0x72, 0x6c, 0xd0, 0x58, 0xb6, 0xf4, 0x59,
  36615. 0x32, 0xe0, 0xe1, 0x29, 0x51, 0x68, 0x76, 0x52,
  36616. 0x7b, 0x1d, 0xd8, 0x8f, 0xc6, 0x6d, 0x71, 0x19,
  36617. 0xf4, 0xab, 0x3b, 0xed, 0x93, 0xa6, 0x1a, 0x0e,
  36618. 0x2d, 0x2d, 0x2a, 0xea, 0xc3, 0x36, 0xd9, 0x58, },
  36619. }, {
  36620. .ksize = 64,
  36621. .key = blake2_ordered_sequence,
  36622. .digest = (u8[]){ 0x10, 0xeb, 0xb6, 0x77, 0x00, 0xb1, 0x86, 0x8e,
  36623. 0xfb, 0x44, 0x17, 0x98, 0x7a, 0xcf, 0x46, 0x90,
  36624. 0xae, 0x9d, 0x97, 0x2f, 0xb7, 0xa5, 0x90, 0xc2,
  36625. 0xf0, 0x28, 0x71, 0x79, 0x9a, 0xaa, 0x47, 0x86,
  36626. 0xb5, 0xe9, 0x96, 0xe8, 0xf0, 0xf4, 0xeb, 0x98,
  36627. 0x1f, 0xc2, 0x14, 0xb0, 0x05, 0xf4, 0x2d, 0x2f,
  36628. 0xf4, 0x23, 0x34, 0x99, 0x39, 0x16, 0x53, 0xdf,
  36629. 0x7a, 0xef, 0xcb, 0xc1, 0x3f, 0xc5, 0x15, 0x68, },
  36630. }, {
  36631. .ksize = 1,
  36632. .key = "B",
  36633. .plaintext = blake2_ordered_sequence,
  36634. .psize = 1,
  36635. .digest = (u8[]){ 0xd2, 0x11, 0x31, 0x29, 0x3f, 0xea, 0xca, 0x72,
  36636. 0x21, 0xe4, 0x06, 0x65, 0x05, 0x2a, 0xd1, 0x02,
  36637. 0xc0, 0x8d, 0x7b, 0xf1, 0x09, 0x3c, 0xef, 0x88,
  36638. 0xe1, 0x68, 0x0c, 0xf1, 0x3b, 0xa4, 0xe3, 0x03,
  36639. 0xed, 0xa0, 0xe3, 0x60, 0x58, 0xa0, 0xdb, 0x52,
  36640. 0x8a, 0x66, 0x43, 0x09, 0x60, 0x1a, 0xbb, 0x67,
  36641. 0xc5, 0x84, 0x31, 0x40, 0xfa, 0xde, 0xc1, 0xd0,
  36642. 0xff, 0x3f, 0x4a, 0x69, 0xd9, 0x92, 0x26, 0x86, },
  36643. }, {
  36644. .ksize = 32,
  36645. .key = blake2_ordered_sequence,
  36646. .plaintext = blake2_ordered_sequence,
  36647. .psize = 7,
  36648. .digest = (u8[]){ 0xa3, 0x3e, 0x50, 0xbc, 0xfb, 0xd9, 0xf0, 0x82,
  36649. 0xa6, 0xd1, 0xdf, 0xaf, 0x82, 0xd0, 0xcf, 0x84,
  36650. 0x9a, 0x25, 0x3c, 0xae, 0x6d, 0xb5, 0xaf, 0x01,
  36651. 0xd7, 0xaf, 0xed, 0x50, 0xdc, 0xe2, 0xba, 0xcc,
  36652. 0x8c, 0x38, 0xf5, 0x16, 0x89, 0x38, 0x86, 0xce,
  36653. 0x68, 0x10, 0x63, 0x64, 0xa5, 0x79, 0x53, 0xb5,
  36654. 0x2e, 0x8e, 0xbc, 0x0a, 0xce, 0x95, 0xc0, 0x1e,
  36655. 0x69, 0x59, 0x1d, 0x3b, 0xd8, 0x19, 0x90, 0xd7, },
  36656. }, {
  36657. .ksize = 64,
  36658. .key = blake2_ordered_sequence,
  36659. .plaintext = blake2_ordered_sequence,
  36660. .psize = 64,
  36661. .digest = (u8[]){ 0x65, 0x67, 0x6d, 0x80, 0x06, 0x17, 0x97, 0x2f,
  36662. 0xbd, 0x87, 0xe4, 0xb9, 0x51, 0x4e, 0x1c, 0x67,
  36663. 0x40, 0x2b, 0x7a, 0x33, 0x10, 0x96, 0xd3, 0xbf,
  36664. 0xac, 0x22, 0xf1, 0xab, 0xb9, 0x53, 0x74, 0xab,
  36665. 0xc9, 0x42, 0xf1, 0x6e, 0x9a, 0xb0, 0xea, 0xd3,
  36666. 0x3b, 0x87, 0xc9, 0x19, 0x68, 0xa6, 0xe5, 0x09,
  36667. 0xe1, 0x19, 0xff, 0x07, 0x78, 0x7b, 0x3e, 0xf4,
  36668. 0x83, 0xe1, 0xdc, 0xdc, 0xcf, 0x6e, 0x30, 0x22, },
  36669. }, {
  36670. .ksize = 1,
  36671. .key = "B",
  36672. .plaintext = blake2_ordered_sequence,
  36673. .psize = 247,
  36674. .digest = (u8[]){ 0xc2, 0x96, 0x2c, 0x6b, 0x84, 0xff, 0xee, 0xea,
  36675. 0x9b, 0xb8, 0x55, 0x2d, 0x6b, 0xa5, 0xd5, 0xe5,
  36676. 0xbd, 0xb1, 0x54, 0xb6, 0x1e, 0xfb, 0x63, 0x16,
  36677. 0x6e, 0x22, 0x04, 0xf0, 0x82, 0x7a, 0xc6, 0x99,
  36678. 0xf7, 0x4c, 0xff, 0x93, 0x71, 0x57, 0x64, 0xd0,
  36679. 0x08, 0x60, 0x39, 0x98, 0xb8, 0xd2, 0x2b, 0x4e,
  36680. 0x81, 0x8d, 0xe4, 0x8f, 0xb2, 0x1e, 0x8f, 0x99,
  36681. 0x98, 0xf1, 0x02, 0x9b, 0x4c, 0x7c, 0x97, 0x1a, },
  36682. }, {
  36683. .ksize = 32,
  36684. .key = blake2_ordered_sequence,
  36685. .plaintext = blake2_ordered_sequence,
  36686. .psize = 256,
  36687. .digest = (u8[]){ 0x0f, 0x32, 0x05, 0x09, 0xad, 0x9f, 0x25, 0xf7,
  36688. 0xf2, 0x00, 0x71, 0xc9, 0x9f, 0x08, 0x58, 0xd1,
  36689. 0x67, 0xc3, 0xa6, 0x2c, 0x0d, 0xe5, 0x7c, 0x15,
  36690. 0x35, 0x18, 0x5a, 0x68, 0xc1, 0xca, 0x1c, 0x6e,
  36691. 0x0f, 0xc4, 0xf6, 0x0c, 0x43, 0xe1, 0xb4, 0x3d,
  36692. 0x28, 0xe4, 0xc7, 0xa1, 0xcf, 0x6b, 0x17, 0x4e,
  36693. 0xf1, 0x5b, 0xb5, 0x53, 0xd4, 0xa7, 0xd0, 0x5b,
  36694. 0xae, 0x15, 0x81, 0x15, 0xd0, 0x88, 0xa0, 0x3c, },
  36695. }};
  36696. /*
  36697. * Test vectors generated using https://github.com/google/hctr2
  36698. */
  36699. static const struct cipher_testvec aes_xctr_tv_template[] = {
  36700. {
  36701. .key = "\x9c\x8d\xc4\xbd\x71\x36\xdc\x82"
  36702. "\x7c\xa1\xca\xa3\x23\x5a\xdb\xa4",
  36703. .iv = "\x8d\xe7\xa5\x6a\x95\x86\x42\xde"
  36704. "\xba\xea\x6e\x69\x03\x33\x86\x0f",
  36705. .ptext = "\xbd",
  36706. .ctext = "\xb9",
  36707. .klen = 16,
  36708. .len = 1,
  36709. },
  36710. {
  36711. .key = "\xbc\x1b\x12\x0c\x3f\x18\xcc\x1f"
  36712. "\x5a\x1d\xab\x81\xa8\x68\x7c\x63",
  36713. .iv = "\x22\xc1\xdd\x25\x0b\x18\xcb\xa5"
  36714. "\x4a\xda\x15\x07\x73\xd9\x88\x10",
  36715. .ptext = "\x24\x6e\x64\xc6\x15\x26\x9c\xda"
  36716. "\x2a\x4b\x57\x12\xff\x7c\xd6\xb5",
  36717. .ctext = "\xd6\x47\x8d\x58\x92\xb2\x84\xf9"
  36718. "\xb7\xee\x0d\x98\xa1\x39\x4d\x8f",
  36719. .klen = 16,
  36720. .len = 16,
  36721. },
  36722. {
  36723. .key = "\x44\x03\xbf\x4c\x30\xf0\xa7\xd6"
  36724. "\xbd\x54\xbb\x66\x8e\xa6\x0e\x8a",
  36725. .iv = "\xe6\xf7\x26\xdf\x8c\x3c\xaa\x88"
  36726. "\xce\xc1\xbd\x43\x3b\x09\x62\xad",
  36727. .ptext = "\x3c\xe3\x46\xb9\x8f\x9d\x3f\x8d"
  36728. "\xef\xf2\x53\xab\x24\xe2\x29\x08"
  36729. "\xf8\x7e\x1d\xa6\x6d\x86\x7d\x60"
  36730. "\x97\x63\x93\x29\x71\x94\xb4",
  36731. .ctext = "\xd4\xa3\xc6\xb8\xc1\x6f\x70\x1a"
  36732. "\x52\x0c\xed\x4c\xaf\x51\x56\x23"
  36733. "\x48\x45\x07\x10\x34\xc5\xba\x71"
  36734. "\xe5\xf8\x1e\xd8\xcb\xa6\xe7",
  36735. .klen = 16,
  36736. .len = 31,
  36737. },
  36738. {
  36739. .key = "\x5b\x17\x30\x94\x19\x31\xa1\xae"
  36740. "\x24\x8e\x42\x1e\x82\xe6\xec\xb8",
  36741. .iv = "\xd1\x2e\xb9\xb8\xf8\x49\xeb\x68"
  36742. "\x06\xeb\x65\x33\x34\xa2\xeb\xf0",
  36743. .ptext = "\x19\x75\xec\x59\x60\x1b\x7a\x3e"
  36744. "\x62\x46\x87\xf0\xde\xab\x81\x36"
  36745. "\x63\x53\x11\xa0\x1f\xce\x25\x85"
  36746. "\x49\x6b\x28\xfa\x1c\x92\xe5\x18"
  36747. "\x38\x14\x00\x79\xf2\x9e\xeb\xfc"
  36748. "\x36\xa7\x6b\xe1\xe5\xcf\x04\x48"
  36749. "\x44\x6d\xbd\x64\xb3\xcb\x78\x05"
  36750. "\x8d\x7f\x9a\xaf\x3c\xcf\x6c\x45"
  36751. "\x6c\x7c\x46\x4c\xa8\xc0\x1e\xe4"
  36752. "\x33\xa5\x7b\xbb\x26\xd9\xc0\x32"
  36753. "\x9d\x8a\xb3\xf3\x3d\x52\xe6\x48"
  36754. "\x4c\x9b\x4c\x6e\xa4\xa3\xad\x66"
  36755. "\x56\x48\xd5\x98\x3a\x93\xc4\x85"
  36756. "\xe9\x89\xca\xa6\xc1\xc8\xe7\xf8"
  36757. "\xc3\xe9\xef\xbe\x77\xe6\xd1\x3a"
  36758. "\xa6\x99\xc8\x2d\xdf\x40\x0f\x44",
  36759. .ctext = "\xc6\x1a\x01\x1a\x00\xba\x04\xff"
  36760. "\x10\xd1\x7e\x5d\xad\x91\xde\x8c"
  36761. "\x08\x55\x95\xae\xd7\x22\x77\x40"
  36762. "\xf0\x33\x1b\x51\xef\xfe\x3d\x67"
  36763. "\xdf\xc4\x9f\x39\x47\x67\x93\xab"
  36764. "\xaa\x37\x55\xfe\x41\xe0\xba\xcd"
  36765. "\x25\x02\x7c\x61\x51\xa1\xcc\x72"
  36766. "\x7a\x20\x26\xb9\x06\x68\xbd\x19"
  36767. "\xc5\x2e\x1b\x75\x4a\x40\xb2\xd2"
  36768. "\xc4\xee\xd8\x5b\xa4\x55\x7d\x25"
  36769. "\xfc\x01\x4d\x6f\x0a\xfd\x37\x5d"
  36770. "\x3e\x67\xc0\x35\x72\x53\x7b\xe2"
  36771. "\xd6\x19\x5b\x92\x6c\x3a\x8c\x2a"
  36772. "\xe2\xc2\xa2\x4f\x2a\xf2\xb5\x15"
  36773. "\x65\xc5\x8d\x97\xf9\xbf\x8c\x98"
  36774. "\xe4\x50\x1a\xf2\x76\x55\x07\x49",
  36775. .klen = 16,
  36776. .len = 128,
  36777. },
  36778. {
  36779. .key = "\x17\xa6\x01\x3d\x5d\xd6\xef\x2d"
  36780. "\x69\x8f\x4c\x54\x5b\xae\x43\xf0",
  36781. .iv = "\xa9\x1b\x47\x60\x26\x82\xf7\x1c"
  36782. "\x80\xf8\x88\xdd\xfb\x44\xd9\xda",
  36783. .ptext = "\xf7\x67\xcd\xa6\x04\x65\x53\x99"
  36784. "\x90\x5c\xa2\x56\x74\xd7\x9d\xf2"
  36785. "\x0b\x03\x7f\x4e\xa7\x84\x72\x2b"
  36786. "\xf0\xa5\xbf\xe6\x9a\x62\x3a\xfe"
  36787. "\x69\x5c\x93\x79\x23\x86\x64\x85"
  36788. "\xeb\x13\xb1\x5a\xd5\x48\x39\xa0"
  36789. "\x70\xfb\x06\x9a\xd7\x12\x5a\xb9"
  36790. "\xbe\xed\x2c\x81\x64\xf7\xcf\x80"
  36791. "\xee\xe6\x28\x32\x2d\x37\x4c\x32"
  36792. "\xf4\x1f\x23\x21\xe9\xc8\xc9\xbf"
  36793. "\x54\xbc\xcf\xb4\xc2\x65\x39\xdf"
  36794. "\xa5\xfb\x14\x11\xed\x62\x38\xcf"
  36795. "\x9b\x58\x11\xdd\xe9\xbd\x37\x57"
  36796. "\x75\x4c\x9e\xd5\x67\x0a\x48\xc6"
  36797. "\x0d\x05\x4e\xb1\x06\xd7\xec\x2e"
  36798. "\x9e\x59\xde\x4f\xab\x38\xbb\xe5"
  36799. "\x87\x04\x5a\x2c\x2a\xa2\x8f\x3c"
  36800. "\xe7\xe1\x46\xa9\x49\x9f\x24\xad"
  36801. "\x2d\xb0\x55\x40\x64\xd5\xda\x7e"
  36802. "\x1e\x77\xb8\x29\x72\x73\xc3\x84"
  36803. "\xcd\xf3\x94\x90\x58\x76\xc9\x2c"
  36804. "\x2a\xad\x56\xde\x33\x18\xb6\x3b"
  36805. "\x10\xe9\xe9\x8d\xf0\xa9\x7f\x05"
  36806. "\xf7\xb5\x8c\x13\x7e\x11\x3d\x1e"
  36807. "\x02\xbb\x5b\xea\x69\xff\x85\xcf"
  36808. "\x6a\x18\x97\x45\xe3\x96\xba\x4d"
  36809. "\x2d\x7a\x70\x78\x15\x2c\xe9\xdc"
  36810. "\x4e\x09\x92\x57\x04\xd8\x0b\xa6"
  36811. "\x20\x71\x76\x47\x76\x96\x89\xa0"
  36812. "\xd9\x29\xa2\x5a\x06\xdb\x56\x39"
  36813. "\x60\x33\x59\x04\x95\x89\xf6\x18"
  36814. "\x1d\x70\x75\x85\x3a\xb7\x6e",
  36815. .ctext = "\xe1\xe7\x3f\xd3\x6a\xb9\x2f\x64"
  36816. "\x37\xc5\xa4\xe9\xca\x0a\xa1\xd6"
  36817. "\xea\x7d\x39\xe5\xe6\xcc\x80\x54"
  36818. "\x74\x31\x2a\x04\x33\x79\x8c\x8e"
  36819. "\x4d\x47\x84\x28\x27\x9b\x3c\x58"
  36820. "\x54\x58\x20\x4f\x70\x01\x52\x5b"
  36821. "\xac\x95\x61\x49\x5f\xef\xba\xce"
  36822. "\xd7\x74\x56\xe7\xbb\xe0\x3c\xd0"
  36823. "\x7f\xa9\x23\x57\x33\x2a\xf6\xcb"
  36824. "\xbe\x42\x14\x95\xa8\xf9\x7a\x7e"
  36825. "\x12\x53\x3a\xe2\x13\xfe\x2d\x89"
  36826. "\xeb\xac\xd7\xa8\xa5\xf8\x27\xf3"
  36827. "\x74\x9a\x65\x63\xd1\x98\x3a\x7e"
  36828. "\x27\x7b\xc0\x20\x00\x4d\xf4\xe5"
  36829. "\x7b\x69\xa6\xa8\x06\x50\x85\xb6"
  36830. "\x7f\xac\x7f\xda\x1f\xf5\x37\x56"
  36831. "\x9b\x2f\xd3\x86\x6b\x70\xbd\x0e"
  36832. "\x55\x9a\x9d\x4b\x08\xb5\x5b\x7b"
  36833. "\xd4\x7c\xb4\x71\x49\x92\x4a\x1e"
  36834. "\xed\x6d\x11\x09\x47\x72\x32\x6a"
  36835. "\x97\x53\x36\xaf\xf3\x06\x06\x2c"
  36836. "\x69\xf1\x59\x00\x36\x95\x28\x2a"
  36837. "\xb6\xcd\x10\x21\x84\x73\x5c\x96"
  36838. "\x86\x14\x2c\x3d\x02\xdb\x53\x9a"
  36839. "\x61\xde\xea\x99\x84\x7a\x27\xf6"
  36840. "\xf7\xc8\x49\x73\x4b\xb8\xeb\xd3"
  36841. "\x41\x33\xdd\x09\x68\xe2\x64\xb8"
  36842. "\x5f\x75\x74\x97\x91\x54\xda\xc2"
  36843. "\x73\x2c\x1e\x5a\x84\x48\x01\x1a"
  36844. "\x0d\x8b\x0a\xdf\x07\x2e\xee\x77"
  36845. "\x1d\x17\x41\x7a\xc9\x33\x63\xfa"
  36846. "\x9f\xc3\x74\x57\x5f\x03\x4c",
  36847. .klen = 16,
  36848. .len = 255,
  36849. },
  36850. {
  36851. .key = "\xe5\xf1\x48\x2e\x88\xdb\xc7\x28"
  36852. "\xa2\x55\x5d\x2f\x90\x02\xdc\xd3"
  36853. "\xf5\xd3\x9e\x87\xd5\x58\x30\x4a",
  36854. .iv = "\xa6\x40\x39\xf9\x63\x6c\x2d\xd4"
  36855. "\x1b\x71\x05\xa4\x88\x86\x11\xd3",
  36856. .ptext = "\xb6\x06\xae\x15\x11\x96\xc1\x44"
  36857. "\x44\xc2\x98\xf9\xa8\x0a\x0b",
  36858. .ctext = "\x27\x3b\x68\x40\xa9\x5e\x74\x6b"
  36859. "\x74\x67\x18\xf9\x37\xed\xed",
  36860. .klen = 24,
  36861. .len = 15,
  36862. },
  36863. {
  36864. .key = "\xc8\xa0\x27\x67\x04\x3f\xed\xa5"
  36865. "\xb4\x0c\x51\x91\x2d\x27\x77\x33"
  36866. "\xa5\xfc\x2a\x9f\x78\xd8\x1c\x68",
  36867. .iv = "\x83\x99\x1a\xe2\x84\xca\xa9\x16"
  36868. "\x8d\xc4\x2d\x1b\x67\xc8\x86\x21",
  36869. .ptext = "\xd6\x22\x85\xb8\x5d\x7e\x26\x2e"
  36870. "\xbe\x04\x9d\x0c\x03\x91\x45\x4a"
  36871. "\x36",
  36872. .ctext = "\x0f\x44\xa9\x62\x72\xec\x12\x26"
  36873. "\x3a\xc6\x83\x26\x62\x5e\xb7\x13"
  36874. "\x05",
  36875. .klen = 24,
  36876. .len = 17,
  36877. },
  36878. {
  36879. .key = "\xc5\x87\x18\x09\x0a\x4e\x66\x3e"
  36880. "\x50\x90\x19\x93\xc0\x33\xcf\x80"
  36881. "\x3a\x36\x6b\x6c\x43\xd7\xe4\x93",
  36882. .iv = "\xdd\x0b\x75\x1f\xee\x2f\xb4\x52"
  36883. "\x10\x82\x1f\x79\x8a\xa4\x9b\x87",
  36884. .ptext = "\x56\xf9\x13\xce\x9f\x30\x10\x11"
  36885. "\x1b\x59\xfd\x39\x5a\x29\xa3\x44"
  36886. "\x78\x97\x8c\xf6\x99\x6d\x26\xf1"
  36887. "\x32\x60\x6a\xeb\x04\x47\x29\x4c"
  36888. "\x7e\x14\xef\x4d\x55\x29\xfe\x36"
  36889. "\x37\xcf\x0b\x6e\xf3\xce\x15\xd2",
  36890. .ctext = "\x8f\x98\xe1\x5a\x7f\xfe\xc7\x05"
  36891. "\x76\xb0\xd5\xde\x90\x52\x2b\xa8"
  36892. "\xf3\x6e\x3c\x77\xa5\x33\x63\xdd"
  36893. "\x6f\x62\x12\xb0\x80\x10\xc1\x28"
  36894. "\x58\xe5\xd6\x24\x44\x04\x55\xf3"
  36895. "\x6d\x94\xcb\x2c\x7e\x7a\x85\x79",
  36896. .klen = 24,
  36897. .len = 48,
  36898. },
  36899. {
  36900. .key = "\x84\x9b\xe8\x10\x4c\xb3\xd1\x7a"
  36901. "\xb3\xab\x4e\x6f\x90\x12\x07\xf8"
  36902. "\xef\xde\x42\x09\xbf\x34\x95\xb2",
  36903. .iv = "\x66\x62\xf9\x48\x9d\x17\xf7\xdf"
  36904. "\x06\x67\xf4\x6d\xf2\xbc\xa2\xe5",
  36905. .ptext = "\x2f\xd6\x16\x6b\xf9\x4b\x44\x14"
  36906. "\x90\x93\xe5\xfd\x05\xaa\x00\x26"
  36907. "\xbd\xab\x11\xb8\xf0\xcb\x11\x72"
  36908. "\xdd\xc5\x15\x4f\x4e\x1b\xf8\xc9"
  36909. "\x8f\x4a\xd5\x69\xf8\x9e\xfb\x05"
  36910. "\x8a\x37\x46\xfe\xfa\x58\x9b\x0e"
  36911. "\x72\x90\x9a\x06\xa5\x42\xf4\x7c"
  36912. "\x35\xd5\x64\x70\x72\x67\xfc\x8b"
  36913. "\xab\x5a\x2f\x64\x9b\xa1\xec\xe7"
  36914. "\xe6\x92\x69\xdb\x62\xa4\xe7\x44"
  36915. "\x88\x28\xd4\x52\x64\x19\xa9\xd7"
  36916. "\x0c\x00\xe6\xe7\xc1\x28\xc1\xf5"
  36917. "\x72\xc5\xfa\x09\x22\x2e\xf4\x82"
  36918. "\xa3\xdc\xc1\x68\xf9\x29\x55\x8d"
  36919. "\x04\x67\x13\xa6\x52\x04\x3c\x0c"
  36920. "\x14\xf2\x87\x23\x61\xab\x82\xcb"
  36921. "\x49\x5b\x6b\xd4\x4f\x0d\xd4\x95"
  36922. "\x82\xcd\xe3\x69\x47\x1b\x31\x73"
  36923. "\x73\x77\xc1\x53\x7d\x43\x5e\x4a"
  36924. "\x80\x3a\xca\x9c\xc7\x04\x1a\x31"
  36925. "\x8e\xe6\x76\x7f\xe1\xb3\xd0\x57"
  36926. "\xa2\xb2\xf6\x09\x51\xc9\x6d\xbc"
  36927. "\x79\xed\x57\x50\x36\xd2\x93\xa4"
  36928. "\x40\x5d\xac\x3a\x3b\xb6\x2d\x89"
  36929. "\x78\xa2\xbd\x23\xec\x35\x06\xf0"
  36930. "\xa8\xc8\xc9\xb0\xe3\x28\x2b\xba"
  36931. "\x70\xa0\xfe\xed\x13\xc4\xd7\x90"
  36932. "\xb1\x6a\xe0\xe1\x30\x71\x15\xd0"
  36933. "\xe2\xb3\xa6\x4e\xb0\x01\xf9\xe7"
  36934. "\x59\xc6\x1e\xed\x46\x2b\xe3\xa8"
  36935. "\x22\xeb\x7f\x1c\xd9\xcd\xe0\xa6"
  36936. "\x72\x42\x2c\x06\x75\xbb\xb7\x6b"
  36937. "\xca\x49\x5e\xa1\x47\x8d\x9e\xfe"
  36938. "\x60\xcc\x34\x95\x8e\xfa\x1e\x3e"
  36939. "\x85\x4b\x03\x54\xea\x34\x1c\x41"
  36940. "\x90\x45\xa6\xbe\xcf\x58\x4f\xca"
  36941. "\x2c\x79\xc0\x3e\x8f\xd7\x3b\xd4"
  36942. "\x55\x74\xa8\xe1\x57\x09\xbf\xab"
  36943. "\x2c\xf9\xe4\xdd\x17\x99\x57\x60"
  36944. "\x4b\x88\x2a\x7f\x43\x86\xb9\x9a"
  36945. "\x60\xbf\x4c\xcf\x9b\x41\xb8\x99"
  36946. "\x69\x15\x4f\x91\x4d\xeb\xdf\x6f"
  36947. "\xcc\x4c\xf9\x6f\xf2\x33\x23\xe7"
  36948. "\x02\x44\xaa\xa2\xfa\xb1\x39\xa5"
  36949. "\xff\x88\xf5\x37\x02\x33\x24\xfc"
  36950. "\x79\x11\x4c\x94\xc2\x31\x87\x9c"
  36951. "\x53\x19\x99\x32\xe4\xde\x18\xf4"
  36952. "\x8f\xe2\xe8\xa3\xfb\x0b\xaa\x7c"
  36953. "\xdb\x83\x0f\xf6\xc0\x8a\x9b\xcd"
  36954. "\x7b\x16\x05\x5b\xe4\xb4\x34\x03"
  36955. "\xe3\x8f\xc9\x4b\x56\x84\x2a\x4c"
  36956. "\x36\x72\x3c\x84\x4f\xba\xa2\x7f"
  36957. "\xf7\x1b\xba\x4d\x8a\xb8\x5d\x51"
  36958. "\x36\xfb\xef\x23\x18\x6f\x33\x2d"
  36959. "\xbb\x06\x24\x8e\x33\x98\x6e\xcd"
  36960. "\x63\x11\x18\x6b\xcc\x1b\x66\xb9"
  36961. "\x38\x8d\x06\x8d\x98\x1a\xef\xaa"
  36962. "\x35\x4a\x90\xfa\xb1\xd3\xcc\x11"
  36963. "\x50\x4c\x54\x18\x60\x5d\xe4\x11"
  36964. "\xfc\x19\xe1\x53\x20\x5c\xe7\xef"
  36965. "\x8a\x2b\xa8\x82\x51\x5f\x5d\x43"
  36966. "\x34\xe5\xcf\x7b\x1b\x6f\x81\x19"
  36967. "\xb7\xdf\xa8\x9e\x81\x89\x5f\x33"
  36968. "\x69\xaf\xde\x89\x68\x88\xf0\x71",
  36969. .ctext = "\xab\x15\x46\x5b\xed\x4f\xa8\xac"
  36970. "\xbf\x31\x30\x84\x55\xa4\xb8\x98"
  36971. "\x79\xba\xa0\x15\xa4\x55\x20\xec"
  36972. "\xf9\x94\x71\xe6\x6a\x6f\xee\x87"
  36973. "\x2e\x3a\xa2\x95\xae\x6e\x56\x09"
  36974. "\xe9\xc0\x0f\xe2\xc6\xb7\x30\xa9"
  36975. "\x73\x8e\x59\x7c\xfd\xe3\x71\xf7"
  36976. "\xae\x8b\x91\xab\x5e\x36\xe9\xa8"
  36977. "\xff\x17\xfa\xa2\x94\x93\x11\x42"
  36978. "\x67\x96\x99\xc5\xf0\xad\x2a\x57"
  36979. "\xf9\xa6\x70\x4a\xdf\x71\xff\xc0"
  36980. "\xe2\xaf\x9a\xae\x57\x58\x13\x3b"
  36981. "\x2d\xf1\xc7\x8f\xdb\x8a\xcc\xce"
  36982. "\x53\x1a\x69\x55\x39\xc8\xbe\xc3"
  36983. "\x2d\xb1\x03\xd9\xa3\x99\xf4\x8d"
  36984. "\xd9\x2d\x27\xae\xa5\xe7\x77\x7f"
  36985. "\xbb\x88\x84\xea\xfa\x19\x3f\x44"
  36986. "\x61\x21\x8a\x1f\xbe\xac\x60\xb4"
  36987. "\xaf\xe9\x00\xab\xef\x3c\x53\x56"
  36988. "\xcd\x4b\x53\xd8\x9b\xfe\x88\x23"
  36989. "\x5b\x85\x76\x08\xec\xd1\x6e\x4a"
  36990. "\x87\xa4\x7d\x29\x4e\x4f\x3f\xc9"
  36991. "\xa4\xab\x63\xea\xdd\xef\x9f\x79"
  36992. "\x38\x18\x7d\x90\x90\xf9\x12\x57"
  36993. "\x1d\x89\xea\xfe\xd4\x47\x45\x32"
  36994. "\x6a\xf6\xe7\xde\x22\x7e\xee\xc1"
  36995. "\xbc\x2d\xc3\xbb\xe5\xd4\x13\xac"
  36996. "\x63\xff\x5b\xb1\x05\x96\xd5\xf3"
  36997. "\x07\x9a\x62\xb6\x30\xea\x7d\x1e"
  36998. "\xee\x75\x0a\x1b\xcc\x6e\x4d\xa7"
  36999. "\xf7\x4d\x74\xd8\x60\x32\x5e\xd0"
  37000. "\x93\xd7\x19\x90\x4e\x26\xdb\xe4"
  37001. "\x5e\xd4\xa8\xb9\x76\xba\x56\x91"
  37002. "\xc4\x75\x04\x1e\xc2\x77\x24\x6f"
  37003. "\xf9\xe8\x4a\xec\x7f\x86\x95\xb3"
  37004. "\x5c\x2c\x97\xab\xf0\xf7\x74\x5b"
  37005. "\x0b\xc2\xda\x42\x40\x34\x16\xed"
  37006. "\x06\xc1\x25\x53\x17\x0d\x81\x4e"
  37007. "\xe6\xf2\x0f\x6d\x94\x3c\x90\x7a"
  37008. "\xae\x20\xe9\x3f\xf8\x18\x67\x6a"
  37009. "\x49\x1e\x41\xb6\x46\xab\xc8\xa7"
  37010. "\xcb\x19\x96\xf5\x99\xc0\x66\x3e"
  37011. "\x77\xcf\x73\x52\x83\x2a\xe2\x48"
  37012. "\x27\x6c\xeb\xe7\xe7\xc4\xd5\x6a"
  37013. "\x40\x67\xbc\xbf\x6b\x3c\xf3\xbb"
  37014. "\x51\x5e\x31\xac\x03\x81\xab\x61"
  37015. "\xfa\xa5\xa6\x7d\x8b\xc3\x8a\x75"
  37016. "\x28\x7a\x71\x9c\xac\x8f\x76\xfc"
  37017. "\xf9\x6c\x5d\x9b\xd7\xf6\x36\x2d"
  37018. "\x61\xd5\x61\xaa\xdd\x01\xfc\x57"
  37019. "\x91\x10\xcd\xcd\x6d\x27\x63\x24"
  37020. "\x67\x46\x7a\xbb\x61\x56\x39\xb1"
  37021. "\xd6\x79\xfe\x77\xca\xd6\x73\x59"
  37022. "\x6e\x58\x11\x90\x03\x26\x74\x2a"
  37023. "\xfa\x52\x12\x47\xfb\x12\xeb\x3e"
  37024. "\x88\xf0\x52\x6c\xc0\x54\x7a\x88"
  37025. "\x8c\xe5\xde\x9e\xba\xb9\xf2\xe1"
  37026. "\x97\x2e\x5c\xbd\xf4\x13\x7e\xf3"
  37027. "\xc4\xe1\x87\xa5\x35\xfa\x7c\x71"
  37028. "\x1a\xc9\xf4\xa8\x57\xe2\x5a\x6b"
  37029. "\x14\xe0\x73\xaf\x56\x6b\xa0\x00"
  37030. "\x9e\x5f\x64\xac\x00\xfb\xc4\x92"
  37031. "\xe5\xe2\x8a\xb2\x9e\x75\x49\x85"
  37032. "\x25\x66\xa5\x1a\xf9\x7d\x1d\x60",
  37033. .klen = 24,
  37034. .len = 512,
  37035. },
  37036. {
  37037. .key = "\x05\x60\x3a\x7e\x60\x90\x46\x18"
  37038. "\x6c\x60\xba\xeb\x12\xd7\xbe\xd1"
  37039. "\xd3\xf6\x10\x46\x9d\xf1\x0c\xb4"
  37040. "\x73\xe3\x93\x27\xa8\x2c\x13\xaa",
  37041. .iv = "\xf5\x96\xd1\xb6\xcb\x44\xd8\xd0"
  37042. "\x3e\xdb\x92\x80\x08\x94\xcd\xd3",
  37043. .ptext = "\x78",
  37044. .ctext = "\xc5",
  37045. .klen = 32,
  37046. .len = 1,
  37047. },
  37048. {
  37049. .key = "\x35\xca\x38\xf3\xd9\xd6\x34\xef"
  37050. "\xcd\xee\xa3\x26\x86\xba\xfb\x45"
  37051. "\x01\xfa\x52\x67\xff\xc5\x9d\xaa"
  37052. "\x64\x9a\x05\xbb\x85\x20\xa7\xf2",
  37053. .iv = "\xe3\xda\xf5\xff\x42\x59\x87\x86"
  37054. "\xee\x7b\xd6\xb4\x6a\x25\x44\xff",
  37055. .ptext = "\x44\x67\x1e\x04\x53\xd2\x4b\xd9"
  37056. "\x96\x33\x07\x54\xe4\x8e\x20",
  37057. .ctext = "\xcc\x55\x40\x79\x47\x5c\x8b\xa6"
  37058. "\xca\x7b\x9f\x50\xe3\x21\xea",
  37059. .klen = 32,
  37060. .len = 15,
  37061. },
  37062. {
  37063. .key = "\xaf\xd9\x14\x14\xd5\xdb\xc9\xce"
  37064. "\x76\x5c\x5a\xbf\x43\x05\x29\x24"
  37065. "\xc4\x13\x68\xcc\xe8\x37\xbd\xb9"
  37066. "\x41\x20\xf5\x53\x48\xd0\xa2\xd6",
  37067. .iv = "\xa7\xb4\x00\x08\x79\x10\xae\xf5"
  37068. "\x02\xbf\x85\xb2\x69\x4c\xc6\x04",
  37069. .ptext = "\xac\x6a\xa8\x0c\xb0\x84\xbf\x4c"
  37070. "\xae\x94\x20\x58\x7e\x00\x93\x89",
  37071. .ctext = "\xd5\xaa\xe2\xe9\x86\x4c\x95\x4e"
  37072. "\xde\xb6\x15\xcb\xdc\x1f\x13\x38",
  37073. .klen = 32,
  37074. .len = 16,
  37075. },
  37076. {
  37077. .key = "\xed\xe3\x8b\xe7\x1c\x17\xbf\x4a"
  37078. "\x02\xe2\xfc\x76\xac\xf5\x3c\x00"
  37079. "\x5d\xdc\xfc\x83\xeb\x45\xb4\xcb"
  37080. "\x59\x62\x60\xec\x69\x9c\x16\x45",
  37081. .iv = "\xe4\x0e\x2b\x90\xd2\xfa\x94\x2e"
  37082. "\x10\xe5\x64\x2b\x97\x28\x15\xc7",
  37083. .ptext = "\xe6\x53\xff\x60\x0e\xc4\x51\xe4"
  37084. "\x93\x4d\xe5\x55\xc5\xd9\xad\x48"
  37085. "\x52",
  37086. .ctext = "\xba\x25\x28\xf5\xcf\x31\x91\x80"
  37087. "\xda\x2b\x95\x5f\x20\xcb\xfb\x9f"
  37088. "\xc6",
  37089. .klen = 32,
  37090. .len = 17,
  37091. },
  37092. {
  37093. .key = "\x77\x5c\xc0\x73\x9a\x64\x97\x91"
  37094. "\x2f\xee\xe0\x20\xc2\x04\x59\x2e"
  37095. "\x97\xd2\xa7\x70\xb3\xb0\x21\x6b"
  37096. "\x8f\xbf\xb8\x51\xa8\xea\x0f\x62",
  37097. .iv = "\x31\x8e\x1f\xcd\xfd\x23\xeb\x7f"
  37098. "\x8a\x1f\x1b\x23\x53\x27\x44\xe5",
  37099. .ptext = "\xcd\xff\x8c\x9b\x94\x5a\x51\x3f"
  37100. "\x40\x93\x56\x93\x66\x39\x63\x1f"
  37101. "\xbf\xe6\xa4\xfa\xbe\x79\x93\x03"
  37102. "\xf5\x66\x74\x16\xfc\xe4\xce",
  37103. .ctext = "\x8b\xd3\xc3\xce\x66\xf8\x66\x4c"
  37104. "\xad\xd6\xf5\x0f\xd8\x99\x5a\x75"
  37105. "\xa1\x3c\xab\x0b\x21\x36\x57\x72"
  37106. "\x88\x29\xe9\xea\x4a\x8d\xe9",
  37107. .klen = 32,
  37108. .len = 31,
  37109. },
  37110. {
  37111. .key = "\xa1\x2f\x4d\xde\xfe\xa1\xff\xa8"
  37112. "\x73\xdd\xe3\xe2\x95\xfc\xea\x9c"
  37113. "\xd0\x80\x42\x0c\xb8\x43\x3e\x99"
  37114. "\x39\x38\x0a\x8c\xe8\x45\x3a\x7b",
  37115. .iv = "\x32\xc4\x6f\xb1\x14\x43\xd1\x87"
  37116. "\xe2\x6f\x5a\x58\x02\x36\x7e\x2a",
  37117. .ptext = "\x9e\x5c\x1e\xf1\xd6\x7d\x09\x57"
  37118. "\x18\x48\x55\xda\x7d\x44\xf9\x6d"
  37119. "\xac\xcd\x59\xbb\x10\xa2\x94\x67"
  37120. "\xd1\x6f\xfe\x6b\x4a\x11\xe8\x04"
  37121. "\x09\x26\x4f\x8d\x5d\xa1\x7b\x42"
  37122. "\xf9\x4b\x66\x76\x38\x12\xfe\xfe",
  37123. .ctext = "\x42\xbc\xa7\x64\x15\x9a\x04\x71"
  37124. "\x2c\x5f\x94\xba\x89\x3a\xad\xbc"
  37125. "\x87\xb3\xf4\x09\x4f\x57\x06\x18"
  37126. "\xdc\x84\x20\xf7\x64\x85\xca\x3b"
  37127. "\xab\xe6\x33\x56\x34\x60\x5d\x4b"
  37128. "\x2e\x16\x13\xd4\x77\xde\x2d\x2b",
  37129. .klen = 32,
  37130. .len = 48,
  37131. },
  37132. {
  37133. .key = "\xfb\xf5\xb7\x3d\xa6\x95\x42\xbf"
  37134. "\xd2\x94\x6c\x74\x0f\xbc\x5a\x28"
  37135. "\x35\x3c\x51\x58\x84\xfb\x7d\x11"
  37136. "\x16\x1e\x00\x97\x37\x08\xb7\x16",
  37137. .iv = "\x9b\x53\x57\x40\xe6\xd9\xa7\x27"
  37138. "\x78\xd4\x9b\xd2\x29\x1d\x24\xa9",
  37139. .ptext = "\x8b\x02\x60\x0a\x3e\xb7\x10\x59"
  37140. "\xc3\xac\xd5\x2a\x75\x81\xf2\xdb"
  37141. "\x55\xca\x65\x86\x44\xfb\xfe\x91"
  37142. "\x26\xbb\x45\xb2\x46\x22\x3e\x08"
  37143. "\xa2\xbf\x46\xcb\x68\x7d\x45\x7b"
  37144. "\xa1\x6a\x3c\x6e\x25\xeb\xed\x31"
  37145. "\x7a\x8b\x47\xf9\xde\xec\x3d\x87"
  37146. "\x09\x20\x2e\xfa\xba\x8b\x9b\xc5"
  37147. "\x6c\x25\x9c\x9d\x2a\xe8\xab\x90"
  37148. "\x3f\x86\xee\x61\x13\x21\xd4\xde"
  37149. "\xe1\x0c\x95\xfc\x5c\x8a\x6e\x0a"
  37150. "\x73\xcf\x08\x69\x44\x4e\xde\x25"
  37151. "\xaf\xaa\x56\x04\xc4\xb3\x60\x44"
  37152. "\x3b\x8b\x3d\xee\xae\x42\x4b\xd2"
  37153. "\x9a\x6c\xa0\x8e\x52\x06\xb2\xd1"
  37154. "\x5d\x38\x30\x6d\x27\x9b\x1a\xd8",
  37155. .ctext = "\xa3\x78\x33\x78\x95\x95\x97\x07"
  37156. "\x53\xa3\xa1\x5b\x18\x32\x27\xf7"
  37157. "\x09\x12\x53\x70\x83\xb5\x6a\x9f"
  37158. "\x26\x6d\x10\x0d\xe0\x1c\xe6\x2b"
  37159. "\x70\x00\xdc\xa1\x60\xef\x1b\xee"
  37160. "\xc5\xa5\x51\x17\xae\xcc\xf2\xed"
  37161. "\xc4\x60\x07\xdf\xd5\x7a\xe9\x90"
  37162. "\x3c\x9f\x96\x5d\x72\x65\x5d\xef"
  37163. "\xd0\x94\x32\xc4\x85\x90\x78\xa1"
  37164. "\x2e\x64\xf6\xee\x8e\x74\x3f\x20"
  37165. "\x2f\x12\x3b\x3d\xd5\x39\x8e\x5a"
  37166. "\xf9\x8f\xce\x94\x5d\x82\x18\x66"
  37167. "\x14\xaf\x4c\xfe\xe0\x91\xc3\x4a"
  37168. "\x85\xcf\xe7\xe8\xf7\xcb\xf0\x31"
  37169. "\x88\x7d\xc9\x5b\x71\x9d\x5f\xd2"
  37170. "\xfa\xed\xa6\x24\xda\xbb\xb1\x84",
  37171. .klen = 32,
  37172. .len = 128,
  37173. },
  37174. {
  37175. .key = "\x32\x37\x2b\x8f\x7b\xb1\x23\x79"
  37176. "\x05\x52\xde\x05\xf1\x68\x3f\x6c"
  37177. "\xa4\xae\xbc\x21\xc2\xc6\xf0\xbd"
  37178. "\x0f\x20\xb7\xa4\xc5\x05\x7b\x64",
  37179. .iv = "\xff\x26\x4e\x67\x48\xdd\xcf\xfe"
  37180. "\x42\x09\x04\x98\x5f\x1e\xfa\x80",
  37181. .ptext = "\x99\xdc\x3b\x19\x41\xf9\xff\x6e"
  37182. "\x76\xb5\x03\xfa\x61\xed\xf8\x44"
  37183. "\x70\xb9\xf0\x83\x80\x6e\x31\x77"
  37184. "\x77\xe4\xc7\xb4\x77\x02\xab\x91"
  37185. "\x82\xc6\xf8\x7c\x46\x61\x03\x69"
  37186. "\x09\xa0\xf7\x12\xb7\x81\x6c\xa9"
  37187. "\x10\x5c\xbb\x55\xb3\x44\xed\xb5"
  37188. "\xa2\x52\x48\x71\x90\x5d\xda\x40"
  37189. "\x0b\x7f\x4a\x11\x6d\xa7\x3d\x8e"
  37190. "\x1b\xcd\x9d\x4e\x75\x8b\x7d\x87"
  37191. "\xe5\x39\x34\x32\x1e\xe6\x8d\x51"
  37192. "\xd4\x1f\xe3\x1d\x50\xa0\x22\x37"
  37193. "\x7c\xb0\xd9\xfb\xb6\xb2\x16\xf6"
  37194. "\x6d\x26\xa0\x4e\x8c\x6a\xe6\xb6"
  37195. "\xbe\x4c\x7c\xe3\x88\x10\x18\x90"
  37196. "\x11\x50\x19\x90\xe7\x19\x3f\xd0"
  37197. "\x31\x15\x0f\x06\x96\xfe\xa7\x7b"
  37198. "\xc3\x32\x88\x69\xa4\x12\xe3\x64"
  37199. "\x02\x30\x17\x74\x6c\x88\x7c\x9b"
  37200. "\xd6\x6d\x75\xdf\x11\x86\x70\x79"
  37201. "\x48\x7d\x34\x3e\x33\x58\x07\x8b"
  37202. "\xd2\x50\xac\x35\x15\x45\x05\xb4"
  37203. "\x4d\x31\x97\x19\x87\x23\x4b\x87"
  37204. "\x53\xdc\xa9\x19\x78\xf1\xbf\x35"
  37205. "\x30\x04\x14\xd4\xcf\xb2\x8c\x87"
  37206. "\x7d\xdb\x69\xc9\xcd\xfe\x40\x3e"
  37207. "\x8d\x66\x5b\x61\xe5\xf0\x2d\x87"
  37208. "\x93\x3a\x0c\x2b\x04\x98\x05\xc2"
  37209. "\x56\x4d\xc4\x6c\xcd\x7a\x98\x7e"
  37210. "\xe2\x2d\x79\x07\x91\x9f\xdf\x2f"
  37211. "\x72\xc9\x8f\xcb\x0b\x87\x1b\xb7"
  37212. "\x04\x86\xcb\x47\xfa\x5d\x03",
  37213. .ctext = "\x0b\x00\xf7\xf2\xc8\x6a\xba\x9a"
  37214. "\x0a\x97\x18\x7a\x00\xa0\xdb\xf4"
  37215. "\x5e\x8e\x4a\xb7\xe0\x51\xf1\x75"
  37216. "\x17\x8b\xb4\xf1\x56\x11\x05\x9f"
  37217. "\x2f\x2e\xba\x67\x04\xe1\xb4\xa5"
  37218. "\xfc\x7c\x8c\xad\xc6\xb9\xd1\x64"
  37219. "\xca\xbd\x5d\xaf\xdb\x65\x48\x4f"
  37220. "\x1b\xb3\x94\x5c\x0b\xd0\xee\xcd"
  37221. "\xb5\x7f\x43\x8a\xd8\x8b\x66\xde"
  37222. "\xd2\x9c\x13\x65\xa4\x47\xa7\x03"
  37223. "\xc5\xa1\x46\x8f\x2f\x84\xbc\xef"
  37224. "\x48\x9d\x9d\xb5\xbd\x43\xff\xd2"
  37225. "\xd2\x7a\x5a\x13\xbf\xb4\xf6\x05"
  37226. "\x17\xcd\x01\x12\xf0\x35\x27\x96"
  37227. "\xf4\xc1\x65\xf7\x69\xef\x64\x1b"
  37228. "\x6e\x4a\xe8\x77\xce\x83\x01\xb7"
  37229. "\x60\xe6\x45\x2a\xcd\x41\x4a\xb5"
  37230. "\x8e\xcc\x45\x93\xf1\xd6\x64\x5f"
  37231. "\x32\x60\xe4\x29\x4a\x82\x6c\x86"
  37232. "\x16\xe4\xcc\xdb\x5f\xc8\x11\xa6"
  37233. "\xfe\x88\xd6\xc3\xe5\x5c\xbb\x67"
  37234. "\xec\xa5\x7b\xf5\xa8\x4f\x77\x25"
  37235. "\x5d\x0c\x2a\x99\xf9\xb9\xd1\xae"
  37236. "\x3c\x83\x2a\x93\x9b\x66\xec\x68"
  37237. "\x2c\x93\x02\x8a\x8a\x1e\x2f\x50"
  37238. "\x09\x37\x19\x5c\x2a\x3a\xc2\xcb"
  37239. "\xcb\x89\x82\x81\xb7\xbb\xef\x73"
  37240. "\x8b\xc9\xae\x42\x96\xef\x70\xc0"
  37241. "\x89\xc7\x3e\x6a\x26\xc3\xe4\x39"
  37242. "\x53\xa9\xcf\x63\x7d\x05\xf3\xff"
  37243. "\x52\x04\xf6\x7f\x23\x96\xe9\xf7"
  37244. "\xff\xd6\x50\xa3\x0e\x20\x71",
  37245. .klen = 32,
  37246. .len = 255,
  37247. },
  37248. {
  37249. .key = "\x39\x5f\xf4\x9c\x90\x3a\x9a\x25"
  37250. "\x15\x11\x79\x39\xed\x26\x5e\xf6"
  37251. "\xda\xcf\x33\x4f\x82\x97\xab\x10"
  37252. "\xc1\x55\x48\x82\x80\xa8\x02\xb2",
  37253. .iv = "\x82\x60\xd9\x06\xeb\x40\x99\x76"
  37254. "\x08\xc5\xa4\x83\x45\xb8\x38\x5a",
  37255. .ptext = "\xa1\xa8\xac\xac\x08\xaf\x8f\x84"
  37256. "\xbf\xcc\x79\x31\x5e\x61\x01\xd1"
  37257. "\x4d\x5f\x9b\xcd\x91\x92\x9a\xa1"
  37258. "\x99\x0d\x49\xb2\xd7\xfd\x25\x93"
  37259. "\x51\x96\xbd\x91\x8b\x08\xf1\xc6"
  37260. "\x0d\x17\xf6\xef\xfd\xd2\x78\x16"
  37261. "\xc8\x08\x27\x7b\xca\x98\xc6\x12"
  37262. "\x86\x11\xdb\xd5\x08\x3d\x5a\x2c"
  37263. "\xcf\x15\x0e\x9b\x42\x78\xeb\x1f"
  37264. "\x52\xbc\xd7\x5a\x8a\x33\x6c\x14"
  37265. "\xfc\x61\xad\x2e\x1e\x03\x66\xea"
  37266. "\x79\x0e\x88\x88\xde\x93\xe3\x81"
  37267. "\xb5\xc4\x1c\xe6\x9c\x08\x18\x8e"
  37268. "\xa0\x87\xda\xe6\xf8\xcb\x30\x44"
  37269. "\x2d\x4e\xc0\xa3\x60\xf9\x62\x7b"
  37270. "\x4b\xd5\x61\x6d\xe2\x67\x95\x54"
  37271. "\x10\xd1\xca\x22\xe8\xb6\xb1\x3a"
  37272. "\x2d\xd7\x35\x5b\x22\x88\x55\x67"
  37273. "\x3d\x83\x8f\x07\x98\xa8\xf2\xcf"
  37274. "\x04\xb7\x9e\x52\xca\xe0\x98\x72"
  37275. "\x5c\xc1\x00\xd4\x1f\x2c\x61\xf3"
  37276. "\xe8\x40\xaf\x4a\xee\x66\x41\xa0"
  37277. "\x02\x77\x29\x30\x65\x59\x4b\x20"
  37278. "\x7b\x0d\x80\x97\x27\x7f\xd5\x90"
  37279. "\xbb\x9d\x76\x90\xe5\x43\x43\x72"
  37280. "\xd0\xd4\x14\x75\x66\xb3\xb6\xaf"
  37281. "\x09\xe4\x23\xb0\x62\xad\x17\x28"
  37282. "\x39\x26\xab\xf5\xf7\x5c\xb6\x33"
  37283. "\xbd\x27\x09\x5b\x29\xe4\x40\x0b"
  37284. "\xc1\x26\x32\xdb\x9a\xdf\xf9\x5a"
  37285. "\xae\x03\x2c\xa4\x40\x84\x9a\xb7"
  37286. "\x4e\x47\xa8\x0f\x23\xc7\xbb\xcf"
  37287. "\x2b\xf2\x32\x6c\x35\x6a\x91\xba"
  37288. "\x0e\xea\xa2\x8b\x2f\xbd\xb5\xea"
  37289. "\x6e\xbc\xb5\x4b\x03\xb3\x86\xe0"
  37290. "\x86\xcf\xba\xcb\x38\x2c\x32\xa6"
  37291. "\x6d\xe5\x28\xa6\xad\xd2\x7f\x73"
  37292. "\x43\x14\xf8\xb1\x99\x12\x2d\x2b"
  37293. "\xdf\xcd\xf2\x81\x43\x94\xdf\xb1"
  37294. "\x17\xc9\x33\xa6\x3d\xef\x96\xb8"
  37295. "\xd6\x0d\x00\xec\x49\x66\x85\x5d"
  37296. "\x44\x62\x12\x04\x55\x5c\x48\xd3"
  37297. "\xbd\x73\xac\x54\x8f\xbf\x97\x8e"
  37298. "\x85\xfd\xc2\xa1\x25\x32\x38\x6a"
  37299. "\x1f\xac\x57\x3c\x4f\x56\x73\xf2"
  37300. "\x1d\xb6\x48\x68\xc7\x0c\xe7\x60"
  37301. "\xd2\x8e\x4d\xfb\xc7\x20\x7b\xb7"
  37302. "\x45\x28\x12\xc6\x26\xae\xea\x7c"
  37303. "\x5d\xe2\x46\xb5\xae\xe1\xc3\x98"
  37304. "\x6f\x72\xd5\xa2\xfd\xed\x40\xfd"
  37305. "\xf9\xdf\x61\xec\x45\x2c\x15\xe0"
  37306. "\x1e\xbb\xde\x71\x37\x5f\x73\xc2"
  37307. "\x11\xcc\x6e\x6d\xe1\xb5\x1b\xd2"
  37308. "\x2a\xdd\x19\x8a\xc2\xe1\xa0\xa4"
  37309. "\x26\xeb\xb2\x2c\x4f\x77\x52\xf1"
  37310. "\x42\x72\x6c\xad\xd7\x78\x5d\x72"
  37311. "\xc9\x16\x26\x25\x1b\x4c\xe6\x58"
  37312. "\x79\x57\xb5\x06\x15\x4f\xe5\xba"
  37313. "\xa2\x7f\x2d\x5b\x87\x8a\x44\x70"
  37314. "\xec\xc7\xef\x84\xae\x60\xa2\x61"
  37315. "\x86\xe9\x18\xcd\x28\xc4\xa4\xf5"
  37316. "\xbc\x84\xb8\x86\xa0\xba\xf1\xf1"
  37317. "\x08\x3b\x32\x75\x35\x22\x7a\x65"
  37318. "\xca\x48\xe8\xef\x6e\xe2\x8e\x00",
  37319. .ctext = "\x2f\xae\xd8\x67\xeb\x15\xde\x75"
  37320. "\x53\xa3\x0e\x5a\xcf\x1c\xbe\xea"
  37321. "\xde\xf9\xcf\xc2\x9f\xfd\x0f\x44"
  37322. "\xc0\xe0\x7a\x76\x1d\xcb\x4a\xf8"
  37323. "\x35\xd6\xe3\x95\x98\x6b\x3f\x89"
  37324. "\xc4\xe6\xb6\x6f\xe1\x8b\x39\x4b"
  37325. "\x1c\x6c\x77\xe4\xe1\x8a\xbc\x61"
  37326. "\x00\x6a\xb1\x37\x2f\x45\xe6\x04"
  37327. "\x52\x0b\xfc\x1e\x32\xc1\xd8\x9d"
  37328. "\xfa\xdd\x67\x5c\xe0\x75\x83\xd0"
  37329. "\x21\x9e\x02\xea\xc0\x7f\xc0\x29"
  37330. "\xb3\x6c\xa5\x97\xb3\x29\x82\x1a"
  37331. "\x94\xa5\xb4\xb6\x49\xe5\xa5\xad"
  37332. "\x95\x40\x52\x7c\x84\x88\xa4\xa8"
  37333. "\x26\xe4\xd9\x5d\x41\xf2\x93\x7b"
  37334. "\xa4\x48\x1b\x66\x91\xb9\x7c\xc2"
  37335. "\x99\x29\xdf\xd8\x30\xac\xd4\x47"
  37336. "\x42\xa0\x14\x87\x67\xb8\xfd\x0b"
  37337. "\x1e\xcb\x5e\x5c\x9a\xc2\x04\x8b"
  37338. "\x17\x29\x9d\x99\x7f\x86\x4c\xe2"
  37339. "\x5c\x96\xa6\x0f\xb6\x47\x33\x5c"
  37340. "\xe4\x50\x49\xd5\x4f\x92\x0b\x9a"
  37341. "\xbc\x52\x4c\x41\xf5\xc9\x3e\x76"
  37342. "\x55\x55\xd4\xdc\x71\x14\x23\xfc"
  37343. "\x5f\xd5\x08\xde\xa0\xf7\x28\xc0"
  37344. "\xe1\x61\xac\x64\x66\xf6\xd1\x31"
  37345. "\xe4\xa4\xa9\xed\xbc\xad\x4f\x3b"
  37346. "\x59\xb9\x48\x1b\xe7\xb1\x6f\xc6"
  37347. "\xba\x40\x1c\x0b\xe7\x2f\x31\x65"
  37348. "\x85\xf5\xe9\x14\x0a\x31\xf5\xf3"
  37349. "\xc0\x1c\x20\x35\x73\x38\x0f\x8e"
  37350. "\x39\xf0\x68\xae\x08\x9c\x87\x4b"
  37351. "\x42\xfc\x22\x17\xee\x96\x51\x2a"
  37352. "\xd8\x57\x5a\x35\xea\x72\x74\xfc"
  37353. "\xb3\x0e\x69\x9a\xe1\x4f\x24\x90"
  37354. "\xc5\x4b\xe5\xd7\xe3\x82\x2f\xc5"
  37355. "\x62\x46\x3e\xab\x72\x4e\xe0\xf3"
  37356. "\x90\x09\x4c\xb2\xe1\xe8\xa0\xf5"
  37357. "\x46\x40\x2b\x47\x85\x3c\x21\x90"
  37358. "\x3d\xad\x25\x5a\x36\xdf\xe5\xbc"
  37359. "\x7e\x80\x4d\x53\x77\xf1\x79\xa6"
  37360. "\xec\x22\x80\x88\x68\xd6\x2d\x8b"
  37361. "\x3e\xf7\x52\xc7\x2a\x20\x42\x5c"
  37362. "\xed\x99\x4f\x32\x80\x00\x7e\x73"
  37363. "\xd7\x6d\x7f\x7d\x42\x54\x4a\xfe"
  37364. "\xff\x6f\x61\xca\x2a\xbb\x4f\xeb"
  37365. "\x4f\xe4\x4e\xaf\x2c\x4f\x82\xcd"
  37366. "\xa1\xa7\x11\xb3\x34\x33\xcf\x32"
  37367. "\x63\x0e\x24\x3a\x35\xbe\x06\xd5"
  37368. "\x17\xcb\x02\x30\x33\x6e\x8c\x49"
  37369. "\x40\x6e\x34\x8c\x07\xd4\x3e\xe6"
  37370. "\xaf\x78\x6d\x8c\x10\x5f\x21\x58"
  37371. "\x49\x26\xc5\xaf\x0d\x7d\xd4\xaf"
  37372. "\xcd\x5b\xa1\xe3\xf6\x39\x1c\x9b"
  37373. "\x8e\x00\xa1\xa7\x9e\x17\x4a\xc0"
  37374. "\x54\x56\x9e\xcf\xcf\x88\x79\x8d"
  37375. "\x50\xf7\x56\x8e\x0a\x73\x46\x6b"
  37376. "\xc3\xb9\x9b\x6c\x7d\xc4\xc8\xb6"
  37377. "\x03\x5f\x30\x62\x7d\xe6\xdb\x15"
  37378. "\xe1\x39\x02\x8c\xff\xda\xc8\x43"
  37379. "\xf2\xa9\xbf\x00\xe7\x3a\x61\x89"
  37380. "\xdf\xb0\xca\x7d\x8c\x8a\x6a\x9f"
  37381. "\x18\x89\x3d\x39\xac\x36\x6f\x05"
  37382. "\x1f\xb5\xda\x00\xea\xe1\x51\x21",
  37383. .klen = 32,
  37384. .len = 512,
  37385. },
  37386. };
  37387. /*
  37388. * Test vectors generated using https://github.com/google/hctr2
  37389. *
  37390. * To ensure compatibility with RFC 8452, some tests were sourced from
  37391. * https://datatracker.ietf.org/doc/html/rfc8452
  37392. */
  37393. static const struct hash_testvec polyval_tv_template[] = {
  37394. { // From RFC 8452
  37395. .key = "\x31\x07\x28\xd9\x91\x1f\x1f\x38"
  37396. "\x37\xb2\x43\x16\xc3\xfa\xb9\xa0",
  37397. .plaintext = "\x65\x78\x61\x6d\x70\x6c\x65\x00"
  37398. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37399. "\x48\x65\x6c\x6c\x6f\x20\x77\x6f"
  37400. "\x72\x6c\x64\x00\x00\x00\x00\x00"
  37401. "\x38\x00\x00\x00\x00\x00\x00\x00"
  37402. "\x58\x00\x00\x00\x00\x00\x00\x00",
  37403. .digest = "\xad\x7f\xcf\x0b\x51\x69\x85\x16"
  37404. "\x62\x67\x2f\x3c\x5f\x95\x13\x8f",
  37405. .psize = 48,
  37406. .ksize = 16,
  37407. },
  37408. { // From RFC 8452
  37409. .key = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
  37410. "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
  37411. .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  37412. "\x00\x00\x00\x00\x00\x00\x00\x00",
  37413. .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
  37414. "\x00\x00\x00\x00\x00\x00\x00\x00",
  37415. .psize = 16,
  37416. .ksize = 16,
  37417. },
  37418. { // From RFC 8452
  37419. .key = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
  37420. "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
  37421. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  37422. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37423. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37424. "\x40\x00\x00\x00\x00\x00\x00\x00",
  37425. .digest = "\xeb\x93\xb7\x74\x09\x62\xc5\xe4"
  37426. "\x9d\x2a\x90\xa7\xdc\x5c\xec\x74",
  37427. .psize = 32,
  37428. .ksize = 16,
  37429. },
  37430. { // From RFC 8452
  37431. .key = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
  37432. "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
  37433. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  37434. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37435. "\x02\x00\x00\x00\x00\x00\x00\x00"
  37436. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37437. "\x03\x00\x00\x00\x00\x00\x00\x00"
  37438. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37439. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37440. "\x80\x01\x00\x00\x00\x00\x00\x00",
  37441. .digest = "\x81\x38\x87\x46\xbc\x22\xd2\x6b"
  37442. "\x2a\xbc\x3d\xcb\x15\x75\x42\x22",
  37443. .psize = 64,
  37444. .ksize = 16,
  37445. },
  37446. { // From RFC 8452
  37447. .key = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
  37448. "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
  37449. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  37450. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37451. "\x02\x00\x00\x00\x00\x00\x00\x00"
  37452. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37453. "\x03\x00\x00\x00\x00\x00\x00\x00"
  37454. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37455. "\x04\x00\x00\x00\x00\x00\x00\x00"
  37456. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37457. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37458. "\x00\x02\x00\x00\x00\x00\x00\x00",
  37459. .digest = "\x1e\x39\xb6\xd3\x34\x4d\x34\x8f"
  37460. "\x60\x44\xf8\x99\x35\xd1\xcf\x78",
  37461. .psize = 80,
  37462. .ksize = 16,
  37463. },
  37464. { // From RFC 8452
  37465. .key = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
  37466. "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
  37467. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  37468. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37469. "\x02\x00\x00\x00\x00\x00\x00\x00"
  37470. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37471. "\x03\x00\x00\x00\x00\x00\x00\x00"
  37472. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37473. "\x04\x00\x00\x00\x00\x00\x00\x00"
  37474. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37475. "\x05\x00\x00\x00\x00\x00\x00\x00"
  37476. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37477. "\x08\x00\x00\x00\x00\x00\x00\x00"
  37478. "\x00\x02\x00\x00\x00\x00\x00\x00",
  37479. .digest = "\xff\xcd\x05\xd5\x77\x0f\x34\xad"
  37480. "\x92\x67\xf0\xa5\x99\x94\xb1\x5a",
  37481. .psize = 96,
  37482. .ksize = 16,
  37483. },
  37484. { // Random ( 1)
  37485. .key = "\x90\xcc\xac\xee\xba\xd7\xd4\x68"
  37486. "\x98\xa6\x79\x70\xdf\x66\x15\x6c",
  37487. .plaintext = "",
  37488. .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
  37489. "\x00\x00\x00\x00\x00\x00\x00\x00",
  37490. .psize = 0,
  37491. .ksize = 16,
  37492. },
  37493. { // Random ( 1)
  37494. .key = "\xc1\x45\x71\xf0\x30\x07\x94\xe7"
  37495. "\x3a\xdd\xe4\xc6\x19\x2d\x02\xa2",
  37496. .plaintext = "\xc1\x5d\x47\xc7\x4c\x7c\x5e\x07"
  37497. "\x85\x14\x8f\x79\xcc\x73\x83\xf7"
  37498. "\x35\xb8\xcb\x73\x61\xf0\x53\x31"
  37499. "\xbf\x84\xde\xb6\xde\xaf\xb0\xb8"
  37500. "\xb7\xd9\x11\x91\x89\xfd\x1e\x4c"
  37501. "\x84\x4a\x1f\x2a\x87\xa4\xaf\x62"
  37502. "\x8d\x7d\x58\xf6\x43\x35\xfc\x53"
  37503. "\x8f\x1a\xf6\x12\xe1\x13\x3f\x66"
  37504. "\x91\x4b\x13\xd6\x45\xfb\xb0\x7a"
  37505. "\xe0\x8b\x8e\x99\xf7\x86\x46\x37"
  37506. "\xd1\x22\x9e\x52\xf3\x3f\xd9\x75"
  37507. "\x2c\x2c\xc6\xbb\x0e\x08\x14\x29"
  37508. "\xe8\x50\x2f\xd8\xbe\xf4\xe9\x69"
  37509. "\x4a\xee\xf7\xae\x15\x65\x35\x1e",
  37510. .digest = "\x00\x4f\x5d\xe9\x3b\xc0\xd6\x50"
  37511. "\x3e\x38\x73\x86\xc6\xda\xca\x7f",
  37512. .psize = 112,
  37513. .ksize = 16,
  37514. },
  37515. { // Random ( 1)
  37516. .key = "\x37\xbe\x68\x16\x50\xb9\x4e\xb0"
  37517. "\x47\xde\xe2\xbd\xde\xe4\x48\x09",
  37518. .plaintext = "\x87\xfc\x68\x9f\xff\xf2\x4a\x1e"
  37519. "\x82\x3b\x73\x8f\xc1\xb2\x1b\x7a"
  37520. "\x6c\x4f\x81\xbc\x88\x9b\x6c\xa3"
  37521. "\x9c\xc2\xa5\xbc\x14\x70\x4c\x9b"
  37522. "\x0c\x9f\x59\x92\x16\x4b\x91\x3d"
  37523. "\x18\x55\x22\x68\x12\x8c\x63\xb2"
  37524. "\x51\xcb\x85\x4b\xd2\xae\x0b\x1c"
  37525. "\x5d\x28\x9d\x1d\xb1\xc8\xf0\x77"
  37526. "\xe9\xb5\x07\x4e\x06\xc8\xee\xf8"
  37527. "\x1b\xed\x72\x2a\x55\x7d\x16\xc9"
  37528. "\xf2\x54\xe7\xe9\xe0\x44\x5b\x33"
  37529. "\xb1\x49\xee\xff\x43\xfb\x82\xcd"
  37530. "\x4a\x70\x78\x81\xa4\x34\x36\xe8"
  37531. "\x4c\x28\x54\xa6\x6c\xc3\x6b\x78"
  37532. "\xe7\xc0\x5d\xc6\x5d\x81\xab\x70"
  37533. "\x08\x86\xa1\xfd\xf4\x77\x55\xfd"
  37534. "\xa3\xe9\xe2\x1b\xdf\x99\xb7\x80"
  37535. "\xf9\x0a\x4f\x72\x4a\xd3\xaf\xbb"
  37536. "\xb3\x3b\xeb\x08\x58\x0f\x79\xce"
  37537. "\xa5\x99\x05\x12\x34\xd4\xf4\x86"
  37538. "\x37\x23\x1d\xc8\x49\xc0\x92\xae"
  37539. "\xa6\xac\x9b\x31\x55\xed\x15\xc6"
  37540. "\x05\x17\x37\x8d\x90\x42\xe4\x87"
  37541. "\x89\x62\x88\x69\x1c\x6a\xfd\xe3"
  37542. "\x00\x2b\x47\x1a\x73\xc1\x51\xc2"
  37543. "\xc0\x62\x74\x6a\x9e\xb2\xe5\x21"
  37544. "\xbe\x90\xb5\xb0\x50\xca\x88\x68"
  37545. "\xe1\x9d\x7a\xdf\x6c\xb7\xb9\x98"
  37546. "\xee\x28\x62\x61\x8b\xd1\x47\xf9"
  37547. "\x04\x7a\x0b\x5d\xcd\x2b\x65\xf5"
  37548. "\x12\xa3\xfe\x1a\xaa\x2c\x78\x42"
  37549. "\xb8\xbe\x7d\x74\xeb\x59\xba\xba",
  37550. .digest = "\xae\x11\xd4\x60\x2a\x5f\x9e\x42"
  37551. "\x89\x04\xc2\x34\x8d\x55\x94\x0a",
  37552. .psize = 256,
  37553. .ksize = 16,
  37554. },
  37555. };
  37556. /*
  37557. * Test vectors generated using https://github.com/google/hctr2
  37558. */
  37559. static const struct cipher_testvec aes_hctr2_tv_template[] = {
  37560. {
  37561. .key = "\xe1\x15\x66\x3c\x8d\xc6\x3a\xff"
  37562. "\xef\x41\xd7\x47\xa2\xcc\x8a\xba",
  37563. .iv = "\xc3\xbe\x2a\xcb\xb5\x39\x86\xf1"
  37564. "\x91\xad\x6c\xf4\xde\x74\x45\x63"
  37565. "\x5c\x7a\xd5\xcc\x8b\x76\xef\x0e"
  37566. "\xcf\x2c\x60\x69\x37\xfd\x07\x96",
  37567. .ptext = "\x65\x75\xae\xd3\xe2\xbc\x43\x5c"
  37568. "\xb3\x1a\xd8\x05\xc3\xd0\x56\x29",
  37569. .ctext = "\x11\x91\xea\x74\x58\xcc\xd5\xa2"
  37570. "\xd0\x55\x9e\x3d\xfe\x7f\xc8\xfe",
  37571. .klen = 16,
  37572. .len = 16,
  37573. },
  37574. {
  37575. .key = "\xe7\xd1\x77\x48\x76\x0b\xcd\x34"
  37576. "\x2a\x2d\xe7\x74\xca\x11\x9c\xae",
  37577. .iv = "\x71\x1c\x49\x62\xd9\x5b\x50\x5e"
  37578. "\x68\x87\xbc\xf6\x89\xff\xed\x30"
  37579. "\xe4\xe5\xbd\xb6\x10\x4f\x9f\x66"
  37580. "\x28\x06\x5a\xf4\x27\x35\xcd\xe5",
  37581. .ptext = "\x87\x03\x8f\x06\xa8\x61\x54\xda"
  37582. "\x01\x45\xd4\x01\xef\x4a\x22\xcf"
  37583. "\x78\x15\x9f\xbd\x64\xbd\x2c\xb9"
  37584. "\x40\x1d\x72\xae\x53\x63\xa5",
  37585. .ctext = "\x4e\xa1\x05\x27\xb8\x45\xe4\xa1"
  37586. "\xbb\x30\xb4\xa6\x12\x74\x63\xd6"
  37587. "\x17\xc9\xcc\x2f\x18\x64\xe0\x06"
  37588. "\x0a\xa0\xff\x72\x10\x7b\x22",
  37589. .klen = 16,
  37590. .len = 31,
  37591. },
  37592. {
  37593. .key = "\x59\x65\x3b\x1d\x43\x5e\xc0\xae"
  37594. "\xb8\x9d\x9b\xdd\x22\x03\xbf\xca",
  37595. .iv = "\xec\x95\xfa\x5a\xcf\x5e\xd2\x93"
  37596. "\xa3\xb5\xe5\xbe\xf3\x01\x7b\x01"
  37597. "\xd1\xca\x6c\x06\x82\xf0\xbd\x67"
  37598. "\xd9\x6c\xa4\xdc\xb4\x38\x0f\x74",
  37599. .ptext = "\x45\xdf\x75\x87\xbc\x72\xce\x55"
  37600. "\xc9\xfa\xcb\xfc\x9f\x40\x82\x2b"
  37601. "\xc6\x4f\x4f\x5b\x8b\x3b\x6d\x67"
  37602. "\xa6\x93\x62\x89\x8c\x19\xf4\xe3"
  37603. "\x08\x92\x9c\xc9\x47\x2c\x6e\xd0"
  37604. "\xa3\x02\x2b\xdb\x2c\xf2\x8d\x46"
  37605. "\xcd\xb0\x9d\x26\x63\x4c\x40\x6b"
  37606. "\x79\x43\xe5\xce\x42\xa8\xec\x3b"
  37607. "\x5b\xd0\xea\xa4\xe6\xdb\x66\x55"
  37608. "\x7a\x76\xec\xab\x7d\x2a\x2b\xbd"
  37609. "\xa9\xab\x22\x64\x1a\xa1\xae\x84"
  37610. "\x86\x79\x67\xe9\xb2\x50\xbe\x12"
  37611. "\x2f\xb2\x14\xf0\xdb\x71\xd8\xa7"
  37612. "\x41\x8a\x88\xa0\x6a\x6e\x9d\x2a"
  37613. "\xfa\x11\x37\x40\x32\x09\x4c\x47"
  37614. "\x41\x07\x31\x85\x3d\xa8\xf7\x64",
  37615. .ctext = "\x2d\x4b\x9f\x93\xca\x5a\x48\x26"
  37616. "\x01\xcc\x54\xe4\x31\x50\x12\xf0"
  37617. "\x49\xff\x59\x42\x68\xbd\x87\x8f"
  37618. "\x9e\x62\x96\xcd\xb9\x24\x57\xa4"
  37619. "\x0b\x7b\xf5\x2e\x0e\xa8\x65\x07"
  37620. "\xab\x05\xd5\xca\xe7\x9c\x6c\x34"
  37621. "\x5d\x42\x34\xa4\x62\xe9\x75\x48"
  37622. "\x3d\x9e\x8f\xfa\x42\xe9\x75\x08"
  37623. "\x4e\x54\x91\x2b\xbd\x11\x0f\x8e"
  37624. "\xf0\x82\xf5\x24\xf1\xc4\xfc\xae"
  37625. "\x42\x54\x7f\xce\x15\xa8\xb2\x33"
  37626. "\xc0\x86\xb6\x2b\xe8\x44\xce\x1f"
  37627. "\x68\x57\x66\x94\x6e\xad\xeb\xf3"
  37628. "\x30\xf8\x11\xbd\x60\x00\xc6\xd5"
  37629. "\x4c\x81\xf1\x20\x2b\x4a\x5b\x99"
  37630. "\x79\x3b\xc9\x5c\x74\x23\xe6\x5d",
  37631. .klen = 16,
  37632. .len = 128,
  37633. },
  37634. {
  37635. .key = "\x3e\x08\x5d\x64\x6c\x98\xec\xec"
  37636. "\x70\x0e\x0d\xa1\x41\x20\x99\x82",
  37637. .iv = "\x11\xb7\x77\x91\x0d\x99\xd9\x8d"
  37638. "\x35\x3a\xf7\x14\x6b\x09\x37\xe5"
  37639. "\xad\x51\xf6\xc3\x96\x4b\x64\x56"
  37640. "\xa8\xbd\x81\xcc\xbe\x94\xaf\xe4",
  37641. .ptext = "\xff\x8d\xb9\xc0\xe3\x69\xb3\xb2"
  37642. "\x8b\x11\x26\xb3\x11\xec\xfb\xb9"
  37643. "\x9c\xc1\x71\xd6\xe3\x26\x0e\xe0"
  37644. "\x68\x40\x60\xb9\x3a\x63\x56\x8a"
  37645. "\x9e\xc1\xf0\x10\xb1\x64\x32\x70"
  37646. "\xf8\xcd\xc6\xc4\x49\x4c\xe1\xce"
  37647. "\xf3\xe1\x03\xf8\x35\xae\xe0\x5e"
  37648. "\xef\x5f\xbc\x41\x75\x26\x13\xcc"
  37649. "\x37\x85\xdf\xc0\x5d\xa6\x47\x98"
  37650. "\xf1\x97\x52\x58\x04\xe6\xb5\x01"
  37651. "\xc0\xb8\x17\x6d\x74\xbd\x9a\xdf"
  37652. "\xa4\x37\x94\x86\xb0\x13\x83\x28"
  37653. "\xc9\xa2\x07\x3f\xb5\xb2\x72\x40"
  37654. "\x0e\x60\xdf\x57\x07\xb7\x2c\x66"
  37655. "\x10\x3f\x8d\xdd\x30\x0a\x47\xd5"
  37656. "\xe8\x9d\xfb\xa1\xaf\x53\xd7\x05"
  37657. "\xc7\xd2\xba\xe7\x2c\xa0\xbf\xb8"
  37658. "\xd1\x93\xe7\x41\x82\xa3\x41\x3a"
  37659. "\xaf\x12\xd6\xf8\x34\xda\x92\x46"
  37660. "\xad\xa2\x2f\xf6\x7e\x46\x96\xd8"
  37661. "\x03\xf3\x49\x64\xde\xd8\x06\x8b"
  37662. "\xa0\xbc\x63\x35\x38\xb6\x6b\xda"
  37663. "\x5b\x50\x3f\x13\xa5\x84\x1b\x1b"
  37664. "\x66\x89\x95\xb7\xc2\x16\x3c\xe9"
  37665. "\x24\xb0\x8c\x6f\x49\xef\xf7\x28"
  37666. "\x6a\x24\xfd\xbe\x25\xe2\xb4\x90"
  37667. "\x77\x44\x08\xb8\xda\xd2\xde\x2c"
  37668. "\xa0\x57\x45\x57\x29\x47\x6b\x89"
  37669. "\x4a\xf6\xa7\x2a\xc3\x9e\x7b\xc8"
  37670. "\xfd\x9f\x89\xab\xee\x6d\xa3\xb4"
  37671. "\x23\x90\x7a\xe9\x89\xa0\xc7\xb3"
  37672. "\x17\x41\x87\x91\xfc\x97\x42",
  37673. .ctext = "\xfc\x9b\x96\x66\xc4\x82\x2a\x4a"
  37674. "\xb1\x24\xba\xc7\x78\x5f\x79\xc1"
  37675. "\x57\x2e\x47\x29\x4d\x7b\xd2\x9a"
  37676. "\xbd\xc6\xc1\x26\x7b\x8e\x3f\x5d"
  37677. "\xd4\xb4\x9f\x6a\x02\x24\x4a\xad"
  37678. "\x0c\x00\x1b\xdf\x92\xc5\x8a\xe1"
  37679. "\x77\x79\xcc\xd5\x20\xbf\x83\xf4"
  37680. "\x4b\xad\x11\xbf\xdb\x47\x65\x70"
  37681. "\x43\xf3\x65\xdf\xb7\xdc\xb2\xb9"
  37682. "\xaa\x3f\xb3\xdf\x79\x69\x0d\xa0"
  37683. "\x86\x1c\xba\x48\x0b\x01\xc1\x88"
  37684. "\xdf\x03\xb1\x06\x3c\x1d\x56\xa1"
  37685. "\x8e\x98\xc1\xa6\x95\xa2\x5b\x72"
  37686. "\x76\x59\xd2\x26\x25\xcd\xef\x7c"
  37687. "\xc9\x60\xea\x43\xd1\x12\x8a\x8a"
  37688. "\x63\x12\x78\xcb\x2f\x88\x1e\x88"
  37689. "\x78\x59\xde\xba\x4d\x2c\x78\x61"
  37690. "\x75\x37\x54\xfd\x80\xc7\x5e\x98"
  37691. "\xcf\x14\x62\x8e\xfb\x72\xee\x4d"
  37692. "\x9f\xaf\x8b\x09\xe5\x21\x0a\x91"
  37693. "\x8f\x88\x87\xd5\xb1\x84\xab\x18"
  37694. "\x08\x57\xed\x72\x35\xa6\x0e\xc6"
  37695. "\xff\xcb\xfe\x2c\x48\x39\x14\x44"
  37696. "\xba\x59\x32\x3a\x2d\xc4\x5f\xcb"
  37697. "\xbe\x68\x8e\x7b\xee\x21\xa4\x32"
  37698. "\x11\xa0\x99\xfd\x90\xde\x59\x43"
  37699. "\xeb\xed\xd5\x87\x68\x46\xc6\xde"
  37700. "\x0b\x07\x17\x59\x6a\xab\xca\x15"
  37701. "\x65\x02\x01\xb6\x71\x8c\x3b\xaa"
  37702. "\x18\x3b\x30\xae\x38\x5b\x2c\x74"
  37703. "\xd4\xee\x4a\xfc\xf7\x1b\x09\xd4"
  37704. "\xda\x8b\x1d\x5d\x6f\x21\x6c",
  37705. .klen = 16,
  37706. .len = 255,
  37707. },
  37708. {
  37709. .key = "\x24\xf6\xe1\x62\xe5\xaf\x99\xda"
  37710. "\x84\xec\x41\xb0\xa3\x0b\xd5\xa8"
  37711. "\xa0\x3e\x7b\xa6\xdd\x6c\x8f\xa8",
  37712. .iv = "\x7f\x80\x24\x62\x32\xdd\xab\x66"
  37713. "\xf2\x87\x29\x24\xec\xd2\x4b\x9f"
  37714. "\x0c\x33\x52\xd9\xe0\xcc\x6e\xe4"
  37715. "\x90\x85\x43\x97\xc4\x62\x14\x33",
  37716. .ptext = "\xef\x58\xe7\x7f\xa9\xd9\xb8\xd7"
  37717. "\xa2\x91\x97\x07\x27\x9e\xba\xe8"
  37718. "\xaa",
  37719. .ctext = "\xd7\xc3\x81\x91\xf2\x40\x17\x73"
  37720. "\x3e\x3b\x1c\x2a\x8e\x11\x9c\x17"
  37721. "\xf1",
  37722. .klen = 24,
  37723. .len = 17,
  37724. },
  37725. {
  37726. .key = "\xbf\xaf\xd7\x67\x8c\x47\xcf\x21"
  37727. "\x8a\xa5\xdd\x32\x25\x47\xbe\x4f"
  37728. "\xf1\x3a\x0b\xa6\xaa\x2d\xcf\x09",
  37729. .iv = "\xd9\xe8\xf0\x92\x4e\xfc\x1d\xf2"
  37730. "\x81\x37\x7c\x8f\xf1\x59\x09\x20"
  37731. "\xf4\x46\x51\x86\x4f\x54\x8b\x32"
  37732. "\x58\xd1\x99\x8b\x8c\x03\xeb\x5d",
  37733. .ptext = "\xcd\x64\x90\xf9\x7c\xe5\x0e\x5a"
  37734. "\x75\xe7\x8e\x39\x86\xec\x20\x43"
  37735. "\x8a\x49\x09\x15\x47\xf4\x3c\x89"
  37736. "\x21\xeb\xcf\x4e\xcf\x91\xb5\x40"
  37737. "\xcd\xe5\x4d\x5c\x6f\xf2\xd2\x80"
  37738. "\xfa\xab\xb3\x76\x9f\x7f\x84\x0a",
  37739. .ctext = "\x44\x98\x64\x15\xb7\x0b\x80\xa3"
  37740. "\xb9\xca\x23\xff\x3b\x0b\x68\x74"
  37741. "\xbb\x3e\x20\x19\x9f\x28\x71\x2a"
  37742. "\x48\x3c\x7c\xe2\xef\xb5\x10\xac"
  37743. "\x82\x9f\xcd\x08\x8f\x6b\x16\x6f"
  37744. "\xc3\xbb\x07\xfb\x3c\xb0\x1b\x27",
  37745. .klen = 24,
  37746. .len = 48,
  37747. },
  37748. {
  37749. .key = "\xb8\x35\xa2\x5f\x86\xbb\x82\x99"
  37750. "\x27\xeb\x01\x3f\x92\xaf\x80\x24"
  37751. "\x4c\x66\xa2\x89\xff\x2e\xa2\x25",
  37752. .iv = "\x0a\x1d\x96\xd3\xe0\xe8\x0c\x9b"
  37753. "\x9d\x6f\x21\x97\xc2\x17\xdb\x39"
  37754. "\x3f\xd8\x64\x48\x80\x04\xee\x43"
  37755. "\x02\xce\x88\xe2\x81\x81\x5f\x81",
  37756. .ptext = "\xb8\xf9\x16\x8b\x25\x68\xd0\x9c"
  37757. "\xd2\x28\xac\xa8\x79\xc2\x30\xc1"
  37758. "\x31\xde\x1c\x37\x1b\xa2\xb5\xe6"
  37759. "\xf0\xd0\xf8\x9c\x7f\xc6\x46\x07"
  37760. "\x5c\xc3\x06\xe4\xf0\x02\xec\xf8"
  37761. "\x59\x7c\xc2\x5d\xf8\x0c\x21\xae"
  37762. "\x9e\x82\xb1\x1a\x5f\x78\x44\x15"
  37763. "\x00\xa7\x2e\x52\xc5\x98\x98\x35"
  37764. "\x03\xae\xd0\x8e\x07\x57\xe2\x5a"
  37765. "\x17\xbf\x52\x40\x54\x5b\x74\xe5"
  37766. "\x2d\x35\xaf\x9e\x37\xf7\x7e\x4a"
  37767. "\x8c\x9e\xa1\xdc\x40\xb4\x5b\x36"
  37768. "\xdc\x3a\x68\xe6\xb7\x35\x0b\x8a"
  37769. "\x90\xec\x74\x8f\x09\x9a\x7f\x02"
  37770. "\x4d\x03\x46\x35\x62\xb1\xbd\x08"
  37771. "\x3f\x54\x2a\x10\x0b\xdc\x69\xaf"
  37772. "\x25\x3a\x0c\x5f\xe0\x51\xe7\x11"
  37773. "\xb7\x00\xab\xbb\x9a\xb0\xdc\x4d"
  37774. "\xc3\x7d\x1a\x6e\xd1\x09\x52\xbd"
  37775. "\x6b\x43\x55\x22\x3a\x78\x14\x7d"
  37776. "\x79\xfd\x8d\xfc\x9b\x1d\x0f\xa2"
  37777. "\xc7\xb9\xf8\x87\xd5\x96\x50\x61"
  37778. "\xa7\x5e\x1e\x57\x97\xe0\xad\x2f"
  37779. "\x93\xe6\xe8\x83\xec\x85\x26\x5e"
  37780. "\xd9\x2a\x15\xe0\xe9\x09\x25\xa1"
  37781. "\x77\x2b\x88\xdc\xa4\xa5\x48\xb6"
  37782. "\xf7\xcc\xa6\xa9\xba\xf3\x42\x5c"
  37783. "\x70\x9d\xe9\x29\xc1\xf1\x33\xdd"
  37784. "\x56\x48\x17\x86\x14\x51\x5c\x10"
  37785. "\xab\xfd\xd3\x26\x8c\x21\xf5\x93"
  37786. "\x1b\xeb\x47\x97\x73\xbb\x88\x10"
  37787. "\xf3\xfe\xf5\xde\xf3\x2e\x05\x46"
  37788. "\x1c\x0d\xa3\x10\x48\x9c\x71\x16"
  37789. "\x78\x33\x4d\x0a\x74\x3b\xe9\x34"
  37790. "\x0b\xa7\x0e\x9e\x61\xe9\xe9\xfd"
  37791. "\x85\xa0\xcb\x19\xfd\x7c\x33\xe3"
  37792. "\x0e\xce\xc2\x6f\x9d\xa4\x2d\x77"
  37793. "\xfd\xad\xee\x5e\x08\x3e\xd7\xf5"
  37794. "\xfb\xc3\xd7\x93\x96\x08\x96\xca"
  37795. "\x58\x81\x16\x9b\x98\x0a\xe2\xef"
  37796. "\x7f\xda\x40\xe4\x1f\x46\x9e\x67"
  37797. "\x2b\x84\xcb\x42\xc4\xd6\x6a\xcf"
  37798. "\x2d\xb2\x33\xc0\x56\xb3\x35\x6f"
  37799. "\x29\x36\x8f\x6a\x5b\xec\xd5\x4f"
  37800. "\xa0\x70\xff\xb6\x5b\xde\x6a\x93"
  37801. "\x20\x3c\xe2\x76\x7a\xef\x3c\x79"
  37802. "\x31\x65\xce\x3a\x0e\xd0\xbe\xa8"
  37803. "\x21\x95\xc7\x2b\x62\x8e\x67\xdd"
  37804. "\x20\x79\xe4\xe5\x01\x15\xc0\xec"
  37805. "\x0f\xd9\x23\xc8\xca\xdf\xd4\x7d"
  37806. "\x1d\xf8\x64\x4f\x56\xb1\x83\xa7"
  37807. "\x43\xbe\xfc\xcf\xc2\x8c\x33\xda"
  37808. "\x36\xd0\x52\xef\x9e\x9e\x88\xf4"
  37809. "\xa8\x21\x0f\xaa\xee\x8d\xa0\x24"
  37810. "\x4d\xcb\xb1\x72\x07\xf0\xc2\x06"
  37811. "\x60\x65\x85\x84\x2c\x60\xcf\x61"
  37812. "\xe7\x56\x43\x5b\x2b\x50\x74\xfa"
  37813. "\xdb\x4e\xea\x88\xd4\xb3\x83\x8f"
  37814. "\x6f\x97\x4b\x57\x7a\x64\x64\xae"
  37815. "\x0a\x37\x66\xc5\x03\xad\xb5\xf9"
  37816. "\x08\xb0\x3a\x74\xde\x97\x51\xff"
  37817. "\x48\x4f\x5c\xa4\xf8\x7a\xb4\x05"
  37818. "\x27\x70\x52\x86\x1b\x78\xfc\x18"
  37819. "\x06\x27\xa9\x62\xf7\xda\xd2\x8e",
  37820. .ctext = "\x3b\xe1\xdb\xb3\xc5\x9a\xde\x69"
  37821. "\x58\x05\xcc\xeb\x02\x51\x78\x4a"
  37822. "\xac\x28\xe9\xed\xd1\xc9\x15\x7d"
  37823. "\x33\x7d\xc1\x47\x12\x41\x11\xf8"
  37824. "\x4a\x2c\xb7\xa3\x41\xbe\x59\xf7"
  37825. "\x22\xdb\x2c\xda\x9c\x00\x61\x9b"
  37826. "\x73\xb3\x0b\x84\x2b\xc1\xf3\x80"
  37827. "\x84\xeb\x19\x60\x80\x09\xe1\xcd"
  37828. "\x16\x3a\x20\x23\xc4\x82\x4f\xba"
  37829. "\x3b\x8e\x55\xd7\xa9\x0b\x75\xd0"
  37830. "\xda\xce\xd2\xee\x7e\x4b\x7f\x65"
  37831. "\x4d\x28\xc5\xd3\x15\x2c\x40\x96"
  37832. "\x52\xd4\x18\x61\x2b\xe7\x83\xec"
  37833. "\x89\x62\x9c\x4c\x50\xe6\xe2\xbb"
  37834. "\x25\xa1\x0f\xa7\xb0\xb4\xb2\xde"
  37835. "\x54\x20\xae\xa3\x56\xa5\x26\x4c"
  37836. "\xd5\xcc\xe5\xcb\x28\x44\xb1\xef"
  37837. "\x67\x2e\x93\x6d\x00\x88\x83\x9a"
  37838. "\xf2\x1c\x48\x38\xec\x1a\x24\x90"
  37839. "\x73\x0a\xdb\xe8\xce\x95\x7a\x2c"
  37840. "\x8c\xe9\xb7\x07\x1d\xb3\xa3\x20"
  37841. "\xbe\xad\x61\x84\xac\xde\x76\xb5"
  37842. "\xa6\x28\x29\x47\x63\xc4\xfc\x13"
  37843. "\x3f\x71\xfb\x58\x37\x34\x82\xed"
  37844. "\x9e\x05\x19\x1f\xc1\x67\xc1\xab"
  37845. "\xf5\xfd\x7c\xea\xfa\xa4\xf8\x0a"
  37846. "\xac\x4c\x92\xdf\x65\x73\xd7\xdb"
  37847. "\xed\x2c\xe0\x84\x5f\x57\x8c\x76"
  37848. "\x3e\x05\xc0\xc3\x68\x96\x95\x0b"
  37849. "\x88\x97\xfe\x2e\x99\xd5\xc2\xb9"
  37850. "\x53\x9f\xf3\x32\x10\x1f\x1f\x5d"
  37851. "\xdf\x21\x95\x70\x91\xe8\xa1\x3e"
  37852. "\x19\x3e\xb6\x0b\xa8\xdb\xf8\xd4"
  37853. "\x54\x27\xb8\xab\x5d\x78\x0c\xe6"
  37854. "\xb7\x08\xee\xa4\xb6\x6b\xeb\x5a"
  37855. "\x89\x69\x2b\xbd\xd4\x21\x5b\xbf"
  37856. "\x79\xbb\x0f\xff\xdb\x23\x9a\xeb"
  37857. "\x8d\xf2\xc4\x39\xb4\x90\x77\x6f"
  37858. "\x68\xe2\xb8\xf3\xf1\x65\x4f\xd5"
  37859. "\x24\x80\x06\xaf\x7c\x8d\x15\x0c"
  37860. "\xfd\x56\xe5\xe3\x01\xa5\xf7\x1c"
  37861. "\x31\xd6\xa2\x01\x1e\x59\xf9\xa9"
  37862. "\x42\xd5\xc2\x34\xda\x25\xde\xc6"
  37863. "\x5d\x38\xef\xd1\x4c\xc1\xd9\x1b"
  37864. "\x98\xfd\xcd\x57\x6f\xfd\x46\x91"
  37865. "\x90\x3d\x52\x2b\x2c\x7d\xcf\x71"
  37866. "\xcf\xd1\x77\x23\x71\x36\xb1\xce"
  37867. "\xc7\x5d\xf0\x5b\x44\x3d\x43\x71"
  37868. "\xac\xb8\xa0\x6a\xea\x89\x5c\xff"
  37869. "\x81\x73\xd4\x83\xd1\xc9\xe9\xe2"
  37870. "\xa8\xa6\x0f\x36\xe6\xaa\x57\xd4"
  37871. "\x27\xd2\xc9\xda\x94\x02\x1f\xfb"
  37872. "\xe1\xa1\x07\xbe\xe1\x1b\x15\x94"
  37873. "\x1e\xac\x2f\x57\xbb\x41\x22\xaf"
  37874. "\x60\x5e\xcc\x66\xcb\x16\x62\xab"
  37875. "\xb8\x7c\x99\xf4\x84\x93\x0c\xc2"
  37876. "\xa2\x49\xe4\xfd\x17\x55\xe1\xa6"
  37877. "\x8d\x5b\xc6\x1b\xc8\xac\xec\x11"
  37878. "\x33\xcf\xb0\xe8\xc7\x28\x4f\xb2"
  37879. "\x5c\xa6\xe2\x71\xab\x80\x0a\xa7"
  37880. "\x5c\x59\x50\x9f\x7a\x32\xb7\xe5"
  37881. "\x24\x9a\x8e\x25\x21\x2e\xb7\x18"
  37882. "\xd0\xf2\xe7\x27\x6f\xda\xc1\x00"
  37883. "\xd9\xa6\x03\x59\xac\x4b\xcb\xba",
  37884. .klen = 24,
  37885. .len = 512,
  37886. },
  37887. {
  37888. .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
  37889. "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
  37890. "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
  37891. "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
  37892. .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
  37893. "\x33\x81\x37\x60\x7d\xfa\x73\x08"
  37894. "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
  37895. "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
  37896. .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
  37897. "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
  37898. .ctext = "\x27\x38\x78\x47\x16\xd9\x71\x35"
  37899. "\x2e\x7e\xdd\x7e\x43\x3c\xb8\x40",
  37900. .klen = 32,
  37901. .len = 16,
  37902. },
  37903. {
  37904. .key = "\x93\xfa\x7e\xe2\x0e\x67\xc4\x39"
  37905. "\xe7\xca\x47\x95\x68\x9d\x5e\x5a"
  37906. "\x7c\x26\x19\xab\xc6\xca\x6a\x4c"
  37907. "\x45\xa6\x96\x42\xae\x6c\xff\xe7",
  37908. .iv = "\xea\x82\x47\x95\x3b\x22\xa1\x3a"
  37909. "\x6a\xca\x24\x4c\x50\x7e\x23\xcd"
  37910. "\x0e\x50\xe5\x41\xb6\x65\x29\xd8"
  37911. "\x30\x23\x00\xd2\x54\xa7\xd6\x56",
  37912. .ptext = "\xdb\x1f\x1f\xec\xad\x83\x6e\x5d"
  37913. "\x19\xa5\xf6\x3b\xb4\x93\x5a\x57"
  37914. "\x6f",
  37915. .ctext = "\xf1\x46\x6e\x9d\xb3\x01\xf0\x6b"
  37916. "\xc2\xac\x57\x88\x48\x6d\x40\x72"
  37917. "\x68",
  37918. .klen = 32,
  37919. .len = 17,
  37920. },
  37921. {
  37922. .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
  37923. "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
  37924. "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
  37925. "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
  37926. .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
  37927. "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
  37928. "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
  37929. "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
  37930. .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
  37931. "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
  37932. "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
  37933. "\x43\x5a\x46\x06\x94\x2d\xf2",
  37934. .ctext = "\xdb\xfd\xc8\x03\xd0\xec\xc1\xfe"
  37935. "\xbd\x64\x37\xb8\x82\x43\x62\x4e"
  37936. "\x7e\x54\xa3\xe2\x24\xa7\x27\xe8"
  37937. "\xa4\xd5\xb3\x6c\xb2\x26\xb4",
  37938. .klen = 32,
  37939. .len = 31,
  37940. },
  37941. {
  37942. .key = "\x03\x65\x03\x6e\x4d\xe6\xe8\x4e"
  37943. "\x8b\xbe\x22\x19\x48\x31\xee\xd9"
  37944. "\xa0\x91\x21\xbe\x62\x89\xde\x78"
  37945. "\xd9\xb0\x36\xa3\x3c\xce\x43\xd5",
  37946. .iv = "\xa9\xc3\x4b\xe7\x0f\xfc\x6d\xbf"
  37947. "\x56\x27\x21\x1c\xfc\xd6\x04\x10"
  37948. "\x5f\x43\xe2\x30\x35\x29\x6c\x10"
  37949. "\x90\xf1\xbf\x61\xed\x0f\x8a\x91",
  37950. .ptext = "\x07\xaa\x02\x26\xb4\x98\x11\x5e"
  37951. "\x33\x41\x21\x51\x51\x63\x2c\x72"
  37952. "\x00\xab\x32\xa7\x1c\xc8\x3c\x9c"
  37953. "\x25\x0e\x8b\x9a\xdf\x85\xed\x2d"
  37954. "\xf4\xf2\xbc\x55\xca\x92\x6d\x22"
  37955. "\xfd\x22\x3b\x42\x4c\x0b\x74\xec",
  37956. .ctext = "\x7b\xb1\x43\x6d\xd8\x72\x6c\xf6"
  37957. "\x67\x6a\x00\xc4\xf1\xf0\xf5\xa4"
  37958. "\xfc\x60\x91\xab\x46\x0b\x15\xfc"
  37959. "\xd7\xc1\x28\x15\xa1\xfc\xf7\x68"
  37960. "\x8e\xcc\x27\x62\x00\x64\x56\x72"
  37961. "\xa6\x17\xd7\x3f\x67\x80\x10\x58",
  37962. .klen = 32,
  37963. .len = 48,
  37964. },
  37965. {
  37966. .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
  37967. "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
  37968. "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
  37969. "\x19\x09\x00\xa9\x04\x31\x4f\x11",
  37970. .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
  37971. "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
  37972. "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
  37973. "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
  37974. .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
  37975. "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
  37976. "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
  37977. "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
  37978. "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
  37979. "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
  37980. "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
  37981. "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
  37982. "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
  37983. "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
  37984. "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
  37985. "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
  37986. "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
  37987. "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
  37988. "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
  37989. "\x56\x65\xc5\x54\x23\x28\xb0\x03",
  37990. .ctext = "\xeb\xf9\x98\x86\x3c\x40\x9f\x16"
  37991. "\x84\x01\xf9\x06\x0f\xeb\x3c\xa9"
  37992. "\x4c\xa4\x8e\x5d\xc3\x8d\xe5\xd3"
  37993. "\xae\xa6\xe6\xcc\xd6\x2d\x37\x4f"
  37994. "\x99\xc8\xa3\x21\x46\xb8\x69\xf2"
  37995. "\xe3\x14\x89\xd7\xb9\xf5\x9e\x4e"
  37996. "\x07\x93\x6f\x78\x8e\x6b\xea\x8f"
  37997. "\xfb\x43\xb8\x3e\x9b\x4c\x1d\x7e"
  37998. "\x20\x9a\xc5\x87\xee\xaf\xf6\xf9"
  37999. "\x46\xc5\x18\x8a\xe8\x69\xe7\x96"
  38000. "\x52\x55\x5f\x00\x1e\x1a\xdc\xcc"
  38001. "\x13\xa5\xee\xff\x4b\x27\xca\xdc"
  38002. "\x10\xa6\x48\x76\x98\x43\x94\xa3"
  38003. "\xc7\xe2\xc9\x65\x9b\x08\x14\x26"
  38004. "\x1d\x68\xfb\x15\x0a\x33\x49\x84"
  38005. "\x84\x33\x5a\x1b\x24\x46\x31\x92",
  38006. .klen = 32,
  38007. .len = 128,
  38008. },
  38009. {
  38010. .key = "\x36\x45\x11\xa2\x98\x5f\x96\x7c"
  38011. "\xc6\xb4\x94\x31\x0a\x67\x09\x32"
  38012. "\x6c\x6f\x6f\x00\xf0\x17\xcb\xac"
  38013. "\xa5\xa9\x47\x9e\x2e\x85\x2f\xfa",
  38014. .iv = "\x28\x88\xaa\x9b\x59\x3b\x1e\x97"
  38015. "\x82\xe5\x5c\x9e\x6d\x14\x11\x19"
  38016. "\x6e\x38\x8f\xd5\x40\x2b\xca\xf9"
  38017. "\x7b\x4c\xe4\xa3\xd0\xd2\x8a\x13",
  38018. .ptext = "\x95\xd2\xf7\x71\x1b\xca\xa5\x86"
  38019. "\xd9\x48\x01\x93\x2f\x79\x55\x29"
  38020. "\x71\x13\x15\x0e\xe6\x12\xbc\x4d"
  38021. "\x8a\x31\xe3\x40\x2a\xc6\x5e\x0d"
  38022. "\x68\xbb\x4a\x62\x8d\xc7\x45\x77"
  38023. "\xd2\xb8\xc7\x1d\xf1\xd2\x5d\x97"
  38024. "\xcf\xac\x52\xe5\x32\x77\xb6\xda"
  38025. "\x30\x85\xcf\x2b\x98\xe9\xaa\x34"
  38026. "\x62\xb5\x23\x9e\xb7\xa6\xd4\xe0"
  38027. "\xb4\x58\x18\x8c\x4d\xde\x4d\x01"
  38028. "\x83\x89\x24\xca\xfb\x11\xd4\x82"
  38029. "\x30\x7a\x81\x35\xa0\xb4\xd4\xb6"
  38030. "\x84\xea\x47\x91\x8c\x19\x86\x25"
  38031. "\xa6\x06\x8d\x78\xe6\xed\x87\xeb"
  38032. "\xda\xea\x73\x7c\xbf\x66\xb8\x72"
  38033. "\xe3\x0a\xb8\x0c\xcb\x1a\x73\xf1"
  38034. "\xa7\xca\x0a\xde\x57\x2b\xbd\x2b"
  38035. "\xeb\x8b\x24\x38\x22\xd3\x0e\x1f"
  38036. "\x17\xa0\x84\x98\x31\x77\xfd\x34"
  38037. "\x6a\x4e\x3d\x84\x4c\x0e\xfb\xed"
  38038. "\xc8\x2a\x51\xfa\xd8\x73\x21\x8a"
  38039. "\xdb\xb5\xfe\x1f\xee\xc4\xe8\x65"
  38040. "\x54\x84\xdd\x96\x6d\xfd\xd3\x31"
  38041. "\x77\x36\x52\x6b\x80\x4f\x9e\xb4"
  38042. "\xa2\x55\xbf\x66\x41\x49\x4e\x87"
  38043. "\xa7\x0c\xca\xe7\xa5\xc5\xf6\x6f"
  38044. "\x27\x56\xe2\x48\x22\xdd\x5f\x59"
  38045. "\x3c\xf1\x9f\x83\xe5\x2d\xfb\x71"
  38046. "\xad\xd1\xae\x1b\x20\x5c\x47\xb7"
  38047. "\x3b\xd3\x14\xce\x81\x42\xb1\x0a"
  38048. "\xf0\x49\xfa\xc2\xe7\x86\xbf\xcd"
  38049. "\xb0\x95\x9f\x8f\x79\x41\x54",
  38050. .ctext = "\xf6\x57\x51\xc4\x25\x61\x2d\xfa"
  38051. "\xd6\xd9\x3f\x9a\x81\x51\xdd\x8e"
  38052. "\x3d\xe7\xaa\x2d\xb1\xda\xc8\xa6"
  38053. "\x9d\xaa\x3c\xab\x62\xf2\x80\xc3"
  38054. "\x2c\xe7\x58\x72\x1d\x44\xc5\x28"
  38055. "\x7f\xb4\xf9\xbc\x9c\xb2\xab\x8e"
  38056. "\xfa\xd1\x4d\x72\xd9\x79\xf5\xa0"
  38057. "\x24\x3e\x90\x25\x31\x14\x38\x45"
  38058. "\x59\xc8\xf6\xe2\xc6\xf6\xc1\xa7"
  38059. "\xb2\xf8\xa7\xa9\x2b\x6f\x12\x3a"
  38060. "\xb0\x81\xa4\x08\x57\x59\xb1\x56"
  38061. "\x4c\x8f\x18\x55\x33\x5f\xd6\x6a"
  38062. "\xc6\xa0\x4b\xd6\x6b\x64\x3e\x9e"
  38063. "\xfd\x66\x16\xe2\xdb\xeb\x5f\xb3"
  38064. "\x50\x50\x3e\xde\x8d\x72\x76\x01"
  38065. "\xbe\xcc\xc9\x52\x09\x2d\x8d\xe7"
  38066. "\xd6\xc3\x66\xdb\x36\x08\xd1\x77"
  38067. "\xc8\x73\x46\x26\x24\x29\xbf\x68"
  38068. "\x2d\x2a\x99\x43\x56\x55\xe4\x93"
  38069. "\xaf\xae\x4d\xe7\x55\x4a\xc0\x45"
  38070. "\x26\xeb\x3b\x12\x90\x7c\xdc\xd1"
  38071. "\xd5\x6f\x0a\xd0\xa9\xd7\x4b\x89"
  38072. "\x0b\x07\xd8\x86\xad\xa1\xc4\x69"
  38073. "\x1f\x5e\x8b\xc4\x9e\x91\x41\x25"
  38074. "\x56\x98\x69\x78\x3a\x9e\xae\x91"
  38075. "\xd8\xd9\xfa\xfb\xff\x81\x25\x09"
  38076. "\xfc\xed\x2d\x87\xbc\x04\x62\x97"
  38077. "\x35\xe1\x26\xc2\x46\x1c\xcf\xd7"
  38078. "\x14\xed\x02\x09\xa5\xb2\xb6\xaa"
  38079. "\x27\x4e\x61\xb3\x71\x6b\x47\x16"
  38080. "\xb7\xe8\xd4\xaf\x52\xeb\x6a\x6b"
  38081. "\xdb\x4c\x65\x21\x9e\x1c\x36",
  38082. .klen = 32,
  38083. .len = 255,
  38084. },
  38085. {
  38086. .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
  38087. "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
  38088. "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
  38089. "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
  38090. .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
  38091. "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
  38092. "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
  38093. "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
  38094. .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
  38095. "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
  38096. "\x05\xa3\x69\x60\x91\x36\x98\x57"
  38097. "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
  38098. "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
  38099. "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
  38100. "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
  38101. "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
  38102. "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
  38103. "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
  38104. "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
  38105. "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
  38106. "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
  38107. "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
  38108. "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
  38109. "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
  38110. "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
  38111. "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
  38112. "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
  38113. "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
  38114. "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
  38115. "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
  38116. "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
  38117. "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
  38118. "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
  38119. "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
  38120. "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
  38121. "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
  38122. "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
  38123. "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
  38124. "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
  38125. "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
  38126. "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
  38127. "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
  38128. "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
  38129. "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
  38130. "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
  38131. "\xd7\x31\x87\x89\x09\xab\xd5\x96"
  38132. "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
  38133. "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
  38134. "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
  38135. "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
  38136. "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
  38137. "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
  38138. "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
  38139. "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
  38140. "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
  38141. "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
  38142. "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
  38143. "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
  38144. "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
  38145. "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
  38146. "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
  38147. "\x17\x7c\x25\x48\x52\x67\x11\x27"
  38148. "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
  38149. "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
  38150. "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
  38151. "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
  38152. "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
  38153. "\x79\x50\x33\xca\xd0\xd7\x42\x55"
  38154. "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
  38155. "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
  38156. "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
  38157. "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
  38158. .ctext = "\x9f\x72\x87\xc7\x17\xfb\x20\x15"
  38159. "\x65\xb3\x55\xa8\x1c\x8e\x52\x32"
  38160. "\xb1\x82\x8d\xbf\xb5\x9f\x10\x0a"
  38161. "\xe8\x0c\x70\x62\xef\x89\xb6\x1f"
  38162. "\x73\xcc\xe4\xcc\x7a\x3a\x75\x4a"
  38163. "\x26\xe7\xf5\xd7\x7b\x17\x39\x2d"
  38164. "\xd2\x27\x6e\xf9\x2f\x9e\xe2\xf6"
  38165. "\xfa\x16\xc2\xf2\x49\x26\xa7\x5b"
  38166. "\xe7\xca\x25\x0e\x45\xa0\x34\xc2"
  38167. "\x9a\x37\x79\x7e\x7c\x58\x18\x94"
  38168. "\x10\xa8\x7c\x48\xa9\xd7\x63\x89"
  38169. "\x9e\x61\x4d\x26\x34\xd9\xf0\xb1"
  38170. "\x2d\x17\x2c\x6f\x7c\x35\x0e\xbe"
  38171. "\x77\x71\x7c\x17\x5b\xab\x70\xdb"
  38172. "\x2f\x54\x0f\xa9\xc8\xf4\xf5\xab"
  38173. "\x52\x04\x3a\xb8\x03\xa7\xfd\x57"
  38174. "\x45\x5e\xbc\x77\xe1\xee\x79\x8c"
  38175. "\x58\x7b\x1f\xf7\x75\xde\x68\x17"
  38176. "\x98\x85\x8a\x18\x5c\xd2\x39\x78"
  38177. "\x7a\x6f\x26\x6e\xe1\x13\x91\xdd"
  38178. "\xdf\x0e\x6e\x67\xcc\x51\x53\xd8"
  38179. "\x17\x5e\xce\xa7\xe4\xaf\xfa\xf3"
  38180. "\x4f\x9f\x01\x9b\x04\xe7\xfc\xf9"
  38181. "\x6a\xdc\x1d\x0c\x9a\xaa\x3a\x7a"
  38182. "\x73\x03\xdf\xbf\x3b\x82\xbe\xb0"
  38183. "\xb4\xa4\xcf\x07\xd7\xde\x71\x25"
  38184. "\xc5\x10\xee\x0a\x15\x96\x8b\x4f"
  38185. "\xfe\xb8\x28\xbd\x4a\xcd\xeb\x9f"
  38186. "\x5d\x00\xc1\xee\xe8\x16\x44\xec"
  38187. "\xe9\x7b\xd6\x85\x17\x29\xcf\x58"
  38188. "\x20\xab\xf7\xce\x6b\xe7\x71\x7d"
  38189. "\x4f\xa8\xb0\xe9\x7d\x70\xd6\x0b"
  38190. "\x2e\x20\xb1\x1a\x63\x37\xaa\x2c"
  38191. "\x94\xee\xd5\xf6\x58\x2a\xf4\x7a"
  38192. "\x4c\xba\xf5\xe9\x3c\x6f\x95\x13"
  38193. "\x5f\x96\x81\x5b\xb5\x62\xf2\xd7"
  38194. "\x8d\xbe\xa1\x31\x51\xe6\xfe\xc9"
  38195. "\x07\x7d\x0f\x00\x3a\x66\x8c\x4b"
  38196. "\x94\xaa\xe5\x56\xde\xcd\x74\xa7"
  38197. "\x48\x67\x6f\xed\xc9\x6a\xef\xaf"
  38198. "\x9a\xb7\xae\x60\xfa\xc0\x37\x39"
  38199. "\xa5\x25\xe5\x22\xea\x82\x55\x68"
  38200. "\x3e\x30\xc3\x5a\xb6\x29\x73\x7a"
  38201. "\xb6\xfb\x34\xee\x51\x7c\x54\xe5"
  38202. "\x01\x4d\x72\x25\x32\x4a\xa3\x68"
  38203. "\x80\x9a\x89\xc5\x11\x66\x4c\x8c"
  38204. "\x44\x50\xbe\xd7\xa0\xee\xa6\xbb"
  38205. "\x92\x0c\xe6\xd7\x83\x51\xb1\x69"
  38206. "\x63\x40\xf3\xf4\x92\x84\xc4\x38"
  38207. "\x29\xfb\xb4\x84\xa0\x19\x75\x16"
  38208. "\x60\xbf\x0a\x9c\x89\xee\xad\xb4"
  38209. "\x43\xf9\x71\x39\x45\x7c\x24\x83"
  38210. "\x30\xbb\xee\x28\xb0\x86\x7b\xec"
  38211. "\x93\xc1\xbf\xb9\x97\x1b\x96\xef"
  38212. "\xee\x58\x35\x61\x12\x19\xda\x25"
  38213. "\x77\xe5\x80\x1a\x31\x27\x9b\xe4"
  38214. "\xda\x8b\x7e\x51\x4d\xcb\x01\x19"
  38215. "\x4f\xdc\x92\x1a\x17\xd5\x6b\xf4"
  38216. "\x50\xe3\x06\xe4\x76\x9f\x65\x00"
  38217. "\xbd\x7a\xe2\x64\x26\xf2\xe4\x7e"
  38218. "\x40\xf2\x80\xab\x62\xd5\xef\x23"
  38219. "\x8b\xfb\x6f\x24\x6e\x9b\x66\x0e"
  38220. "\xf4\x1c\x24\x1e\x1d\x26\x95\x09"
  38221. "\x94\x3c\xb2\xb6\x02\xa7\xd9\x9a",
  38222. .klen = 32,
  38223. .len = 512,
  38224. },
  38225. };
  38226. #endif /* _CRYPTO_TESTMGR_H */