testmgr.h 1.4 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Algorithm testing framework and tests.
  4. *
  5. * Copyright (c) 2002 James Morris <jmorris@intercode.com.au>
  6. * Copyright (c) 2002 Jean-Francois Dive <jef@linuxbe.org>
  7. * Copyright (c) 2007 Nokia Siemens Networks
  8. * Copyright (c) 2008 Herbert Xu <herbert@gondor.apana.org.au>
  9. * Copyright (c) 2019 Google LLC
  10. *
  11. * Updated RFC4106 AES-GCM testing. Some test vectors were taken from
  12. * http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/
  13. * gcm/gcm-test-vectors.tar.gz
  14. * Authors: Aidan O'Mahony (aidan.o.mahony@intel.com)
  15. * Adrian Hoban <adrian.hoban@intel.com>
  16. * Gabriele Paoloni <gabriele.paoloni@intel.com>
  17. * Tadeusz Struk (tadeusz.struk@intel.com)
  18. * Copyright (c) 2010, Intel Corporation.
  19. */
  20. #ifndef _CRYPTO_TESTMGR_H
  21. #define _CRYPTO_TESTMGR_H
  22. #include <linux/oid_registry.h>
  23. #define MAX_IVLEN 32
  24. /*
  25. * hash_testvec: structure to describe a hash (message digest) test
  26. * @key: Pointer to key (NULL if none)
  27. * @plaintext: Pointer to source data
  28. * @digest: Pointer to expected digest
  29. * @psize: Length of source data in bytes
  30. * @ksize: Length of @key in bytes (0 if no key)
  31. * @setkey_error: Expected error from setkey()
  32. * @digest_error: Expected error from digest()
  33. * @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. static const struct akcipher_testvec ecdsa_nist_p521_tv_template[] = {
  1060. {
  1061. .key = /* secp521r1(sha224) */
  1062. "\x04\x01\x4f\x43\x18\xb6\xa9\xc9\x5d\x68\xd3\xa9\x42\xf8\x98\xc0"
  1063. "\xd2\xd1\xa9\x50\x3b\xe8\xc4\x40\xe6\x11\x78\x88\x4b\xbd\x76\xa7"
  1064. "\x9a\xe0\xdd\x31\xa4\x67\x78\x45\x33\x9e\x8c\xd1\xc7\x44\xac\x61"
  1065. "\x68\xc8\x04\xe7\x5c\x79\xb1\xf1\x41\x0c\x71\xc0\x53\xa8\xbc\xfb"
  1066. "\xf5\xca\xd4\x01\x40\xfd\xa3\x45\xda\x08\xe0\xb4\xcb\x28\x3b\x0a"
  1067. "\x02\x35\x5f\x02\x9f\x3f\xcd\xef\x08\x22\x40\x97\x74\x65\xb7\x76"
  1068. "\x85\xc7\xc0\x5c\xfb\x81\xe1\xa5\xde\x0c\x4e\x8b\x12\x31\xb6\x47"
  1069. "\xed\x37\x0f\x99\x3f\x26\xba\xa3\x8e\xff\x79\x34\x7c\x3a\xfe\x1f"
  1070. "\x3b\x83\x82\x2f\x14",
  1071. .key_len = 133,
  1072. .params =
  1073. "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
  1074. "\x00\x23",
  1075. .param_len = 18,
  1076. .m =
  1077. "\xa2\x3a\x6a\x8c\x7b\x3c\xf2\x51\xf8\xbe\x5f\x4f\x3b\x15\x05\xc4"
  1078. "\xb5\xbc\x19\xe7\x21\x85\xe9\x23\x06\x33\x62\xfb",
  1079. .m_size = 28,
  1080. .algo = OID_id_ecdsa_with_sha224,
  1081. .c =
  1082. "\x30\x81\x86\x02\x41\x01\xd6\x43\xe7\xff\x42\xb2\xba\x74\x35\xf6"
  1083. "\xdc\x6d\x02\x7b\x22\xac\xe2\xef\x07\x92\xee\x60\x94\x06\xf8\x3f"
  1084. "\x59\x0f\x74\xf0\x3f\xd8\x18\xc6\x37\x8a\xcb\xa7\xd8\x7d\x98\x85"
  1085. "\x29\x88\xff\x0b\x94\x94\x6c\xa6\x9b\x89\x8b\x1e\xfd\x09\x46\x6b"
  1086. "\xc7\xaf\x7a\xb9\x19\x0a\x02\x41\x3a\x26\x0d\x55\xcd\x23\x1e\x7d"
  1087. "\xa0\x5e\xf9\x88\xf3\xd2\x32\x90\x57\x0f\xf8\x65\x97\x6b\x09\x4d"
  1088. "\x22\x26\x0b\x5f\x49\x32\x6b\x91\x99\x30\x90\x0f\x1c\x8f\x78\xd3"
  1089. "\x9f\x0e\x64\xcc\xc4\xe8\x43\xd9\x0e\x1c\xad\x22\xda\x82\x00\x35"
  1090. "\xa3\x50\xb1\xa5\x98\x92\x2a\xa5\x52",
  1091. .c_size = 137,
  1092. .public_key_vec = true,
  1093. .siggen_sigver_test = true,
  1094. },
  1095. {
  1096. .key = /* secp521r1(sha256) */
  1097. "\x04\x01\x05\x3a\x6b\x3b\x5a\x0f\xa7\xb9\xb7\x32\x53\x4e\xe2\xae"
  1098. "\x0a\x52\xc5\xda\xdd\x5a\x79\x1c\x30\x2d\x33\x07\x79\xd5\x70\x14"
  1099. "\x61\x0c\xec\x26\x4d\xd8\x35\x57\x04\x1d\x88\x33\x4d\xce\x05\x36"
  1100. "\xa5\xaf\x56\x84\xfa\x0b\x9e\xff\x7b\x30\x4b\x92\x1d\x06\xf8\x81"
  1101. "\x24\x1e\x51\x00\x09\x21\x51\xf7\x46\x0a\x77\xdb\xb5\x0c\xe7\x9c"
  1102. "\xff\x27\x3c\x02\x71\xd7\x85\x36\xf1\xaa\x11\x59\xd8\xb8\xdc\x09"
  1103. "\xdc\x6d\x5a\x6f\x63\x07\x6c\xe1\xe5\x4d\x6e\x0f\x6e\xfb\x7c\x05"
  1104. "\x8a\xe9\x53\xa8\xcf\xce\x43\x0e\x82\x20\x86\xbc\x88\x9c\xb7\xe3"
  1105. "\xe6\x77\x1e\x1f\x8a",
  1106. .key_len = 133,
  1107. .params =
  1108. "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
  1109. "\x00\x23",
  1110. .param_len = 18,
  1111. .m =
  1112. "\xcc\x97\x73\x0c\x73\xa2\x53\x2b\xfa\xd7\x83\x1d\x0c\x72\x1b\x39"
  1113. "\x80\x71\x8d\xdd\xc5\x9b\xff\x55\x32\x98\x25\xa2\x58\x2e\xb7\x73",
  1114. .m_size = 32,
  1115. .algo = OID_id_ecdsa_with_sha256,
  1116. .c =
  1117. "\x30\x81\x88\x02\x42\x00\xcd\xa5\x5f\x57\x52\x27\x78\x3a\xb5\x06"
  1118. "\x0f\xfd\x83\xfc\x0e\xd9\xce\x50\x9f\x7d\x1f\xca\x8b\xa8\x2d\x56"
  1119. "\x3c\xf6\xf0\xd8\xe1\xb7\x5d\x95\x35\x6f\x02\x0e\xaf\xe1\x4c\xae"
  1120. "\xce\x54\x76\x9a\xc2\x8f\xb8\x38\x1f\x46\x0b\x04\x64\x34\x79\xde"
  1121. "\x7e\xd7\x59\x10\xe9\xd9\xd5\x02\x42\x01\xcf\x50\x85\x38\xf9\x15"
  1122. "\x83\x18\x04\x6b\x35\xae\x65\xb5\x99\x12\x0a\xa9\x79\x24\xb9\x37"
  1123. "\x35\xdd\xa0\xe0\x87\x2c\x44\x4b\x5a\xee\xaf\xfa\x10\xdd\x9b\xfb"
  1124. "\x36\x1a\x31\x03\x42\x02\x5f\x50\xf0\xa2\x0d\x1c\x57\x56\x8f\x12"
  1125. "\xb7\x1d\x91\x55\x38\xb6\xf6\x34\x65\xc7\xbd",
  1126. .c_size = 139,
  1127. .public_key_vec = true,
  1128. .siggen_sigver_test = true,
  1129. },
  1130. {
  1131. .key = /* secp521r1(sha384) */
  1132. "\x04\x00\x2e\xd6\x21\x04\x75\xc3\xdc\x7d\xff\x0e\xf3\x70\x25\x2b"
  1133. "\xad\x72\xfc\x5a\x91\xf1\xd5\x9c\x64\xf3\x1f\x47\x11\x10\x62\x33"
  1134. "\xfd\x2e\xe8\x32\xca\x9e\x6f\x0a\x4c\x5b\x35\x9a\x46\xc5\xe7\xd4"
  1135. "\x38\xda\xb2\xf0\xf4\x87\xf3\x86\xf4\xea\x70\xad\x1e\xd4\x78\x8c"
  1136. "\x36\x18\x17\x00\xa2\xa0\x34\x1b\x2e\x6a\xdf\x06\xd6\x99\x2d\x47"
  1137. "\x50\x92\x1a\x8a\x72\x9c\x23\x44\xfa\xa7\xa9\xed\xa6\xef\x26\x14"
  1138. "\xb3\x9d\xfe\x5e\xa3\x8c\xd8\x29\xf8\xdf\xad\xa6\xab\xfc\xdd\x46"
  1139. "\x22\x6e\xd7\x35\xc7\x23\xb7\x13\xae\xb6\x34\xff\xd7\x80\xe5\x39"
  1140. "\xb3\x3b\x5b\x1b\x94",
  1141. .key_len = 133,
  1142. .params =
  1143. "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
  1144. "\x00\x23",
  1145. .param_len = 18,
  1146. .m =
  1147. "\x36\x98\xd6\x82\xfa\xad\xed\x3c\xb9\x40\xb6\x4d\x9e\xb7\x04\x26"
  1148. "\xad\x72\x34\x44\xd2\x81\xb4\x9b\xbe\x01\x04\x7a\xd8\x50\xf8\x59"
  1149. "\xba\xad\x23\x85\x6b\x59\xbe\xfb\xf6\x86\xd4\x67\xa8\x43\x28\x76",
  1150. .m_size = 48,
  1151. .algo = OID_id_ecdsa_with_sha384,
  1152. .c =
  1153. "\x30\x81\x88\x02\x42\x00\x93\x96\x76\x3c\x27\xea\xaa\x9c\x26\xec"
  1154. "\x51\xdc\xe8\x35\x5e\xae\x16\xf2\x4b\x64\x98\xf7\xec\xda\xc7\x7e"
  1155. "\x42\x71\x86\x57\x2d\xf1\x7d\xe4\xdf\x9b\x7d\x9e\x47\xca\x33\x32"
  1156. "\x76\x06\xd0\xf9\xc0\xe4\xe6\x84\x59\xfd\x1a\xc4\x40\xdd\x43\xb8"
  1157. "\x6a\xdd\xfb\xe6\x63\x4e\x28\x02\x42\x00\xff\xc3\x6a\x87\x6e\xb5"
  1158. "\x13\x1f\x20\x55\xce\x37\x97\xc9\x05\x51\xe5\xe4\x3c\xbc\x93\x65"
  1159. "\x57\x1c\x30\xda\xa7\xcd\x26\x28\x76\x3b\x52\xdf\xc4\xc0\xdb\x54"
  1160. "\xdb\x8a\x0d\x6a\xc3\xf3\x7a\xd1\xfa\xe7\xa7\xe5\x5a\x94\x56\xcf"
  1161. "\x8f\xb4\x22\xc6\x4f\xab\x2b\x62\xc1\x42\xb1",
  1162. .c_size = 139,
  1163. .public_key_vec = true,
  1164. .siggen_sigver_test = true,
  1165. },
  1166. {
  1167. .key = /* secp521r1(sha512) */
  1168. "\x04\x00\xc7\x65\xee\x0b\x86\x7d\x8f\x02\xf1\x74\x5b\xb0\x4c\x3f"
  1169. "\xa6\x35\x60\x9f\x55\x23\x11\xcc\xdf\xb8\x42\x99\xee\x6c\x96\x6a"
  1170. "\x27\xa2\x56\xb2\x2b\x03\xad\x0f\xe7\x97\xde\x09\x5d\xb4\xc5\x5f"
  1171. "\xbd\x87\x37\xbf\x5a\x16\x35\x56\x08\xfd\x6f\x06\x1a\x1c\x84\xee"
  1172. "\xc3\x64\xb3\x00\x9e\xbd\x6e\x60\x76\xee\x69\xfd\x3a\xb8\xcd\x7e"
  1173. "\x91\x68\x53\x57\x44\x13\x2e\x77\x09\x2a\xbe\x48\xbd\x91\xd8\xf6"
  1174. "\x21\x16\x53\x99\xd5\xf0\x40\xad\xa6\xf8\x58\x26\xb6\x9a\xf8\x77"
  1175. "\xfe\x3a\x05\x1a\xdb\xa9\x0f\xc0\x6c\x76\x30\x8c\xd8\xde\x44\xae"
  1176. "\xd0\x17\xdf\x49\x6a",
  1177. .key_len = 133,
  1178. .params =
  1179. "\x30\x10\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x05\x2b\x81\x04"
  1180. "\x00\x23",
  1181. .param_len = 18,
  1182. .m =
  1183. "\x5c\xa6\xbc\x79\xb8\xa0\x1e\x11\x83\xf7\xe9\x05\xdf\xba\xf7\x69"
  1184. "\x97\x22\x32\xe4\x94\x7c\x65\xbd\x74\xc6\x9a\x8b\xbd\x0d\xdc\xed"
  1185. "\xf5\x9c\xeb\xe1\xc5\x68\x40\xf2\xc7\x04\xde\x9e\x0d\x76\xc5\xa3"
  1186. "\xf9\x3c\x6c\x98\x08\x31\xbd\x39\xe8\x42\x7f\x80\x39\x6f\xfe\x68",
  1187. .m_size = 64,
  1188. .algo = OID_id_ecdsa_with_sha512,
  1189. .c =
  1190. "\x30\x81\x88\x02\x42\x01\x5c\x71\x86\x96\xac\x21\x33\x7e\x4e\xaa"
  1191. "\x86\xec\xa8\x05\x03\x52\x56\x63\x0e\x02\xcc\x94\xa9\x05\xb9\xfb"
  1192. "\x62\x1e\x42\x03\x6c\x74\x8a\x1f\x12\x3e\xb7\x7e\x51\xff\x7f\x27"
  1193. "\x93\xe8\x6c\x49\x7d\x28\xfc\x80\xa6\x13\xfc\xb6\x90\xf7\xbb\x28"
  1194. "\xb5\x04\xb0\xb6\x33\x1c\x7e\x02\x42\x01\x70\x43\x52\x1d\xe3\xc6"
  1195. "\xbd\x5a\x40\x95\x35\x89\x4f\x41\x5f\x9e\x19\x88\x05\x3e\x43\x39"
  1196. "\x01\xbd\xb7\x7a\x76\x37\x51\x47\x49\x98\x12\x71\xd0\xe9\xca\xa7"
  1197. "\xc0\xcb\xaa\x00\x55\xbb\x6a\xb4\x73\x00\xd2\x72\x74\x13\x63\x39"
  1198. "\xa6\xe5\x25\x46\x1e\x77\x44\x78\xe0\xd1\x04",
  1199. .c_size = 139,
  1200. .public_key_vec = true,
  1201. .siggen_sigver_test = true,
  1202. },
  1203. };
  1204. /*
  1205. * EC-RDSA test vectors are generated by gost-engine.
  1206. */
  1207. static const struct akcipher_testvec ecrdsa_tv_template[] = {
  1208. {
  1209. .key =
  1210. "\x04\x40\xd5\xa7\x77\xf9\x26\x2f\x8c\xbd\xcc\xe3\x1f\x01\x94\x05"
  1211. "\x3d\x2f\xec\xb5\x00\x34\xf5\x51\x6d\x3b\x90\x4b\x23\x28\x6f\x1d"
  1212. "\xc8\x36\x61\x60\x36\xec\xbb\xb4\x0b\x95\x4e\x54\x4f\x15\x21\x05"
  1213. "\xd8\x52\x66\x44\x31\x7e\x5d\xc5\xd1\x26\x00\x5f\x60\xd8\xf0\xc7"
  1214. "\x27\xfc",
  1215. .key_len = 66,
  1216. .params = /* OID_gostCPSignA */
  1217. "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x01\x06\x08\x2a\x85\x03"
  1218. "\x07\x01\x01\x02\x02",
  1219. .param_len = 21,
  1220. .c =
  1221. "\x41\x32\x09\x73\xa4\xc1\x38\xd6\x63\x7d\x8b\xf7\x50\x3f\xda\x9f"
  1222. "\x68\x48\xc1\x50\xe3\x42\x3a\x9b\x2b\x28\x12\x2a\xa7\xc2\x75\x31"
  1223. "\x65\x77\x8c\x3c\x9e\x0d\x56\xb2\xf9\xdc\x04\x33\x3e\xb0\x9e\xf9"
  1224. "\x74\x4e\x59\xb3\x83\xf2\x91\x27\xda\x5e\xc7\x33\xc0\xc1\x8f\x41",
  1225. .c_size = 64,
  1226. .algo = OID_gost2012PKey256,
  1227. .m =
  1228. "\x75\x1b\x9b\x40\x25\xb9\x96\xd2\x9b\x00\x41\xb3\x58\xbf\x23\x14"
  1229. "\x79\xd2\x76\x64\xa3\xbd\x66\x10\x79\x05\x5a\x06\x42\xec\xb9\xc9",
  1230. .m_size = 32,
  1231. .public_key_vec = true,
  1232. .siggen_sigver_test = true,
  1233. },
  1234. {
  1235. .key =
  1236. "\x04\x40\x66\x6f\xd6\xb7\x06\xd0\xf5\xa5\x6f\x69\x5c\xa5\x13\x45"
  1237. "\x14\xdd\xcb\x12\x9c\x1b\xf5\x28\x64\x7a\x49\x48\x29\x14\x66\x42"
  1238. "\xb8\x1b\x5c\xf9\x56\x6d\x08\x3b\xce\xbb\x62\x2f\xc2\x3c\xc5\x49"
  1239. "\x93\x27\x70\x20\xcc\x79\xeb\xdc\x76\x8e\x48\x6e\x04\x96\xc3\x29"
  1240. "\xa0\x73",
  1241. .key_len = 66,
  1242. .params = /* OID_gostCPSignB */
  1243. "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x02\x06\x08\x2a\x85\x03"
  1244. "\x07\x01\x01\x02\x02",
  1245. .param_len = 21,
  1246. .c =
  1247. "\x45\x6d\x4a\x03\x1d\x5c\x0b\x17\x79\xe7\x19\xdb\xbf\x81\x9f\x82"
  1248. "\xae\x06\xda\xf5\x47\x00\x05\x80\xc3\x16\x06\x9a\x8e\x7c\xb2\x8e"
  1249. "\x7f\x74\xaa\xec\x6b\x7b\x7f\x8b\xc6\x0b\x10\x42\x4e\x91\x2c\xdf"
  1250. "\x7b\x8b\x15\xf4\x9e\x59\x0f\xc7\xa4\x68\x2e\xce\x89\xdf\x84\xe9",
  1251. .c_size = 64,
  1252. .algo = OID_gost2012PKey256,
  1253. .m =
  1254. "\xd0\x54\x00\x27\x6a\xeb\xce\x6c\xf5\xf6\xfb\x57\x18\x18\x21\x13"
  1255. "\x11\x23\x4a\x70\x43\x52\x7a\x68\x11\x65\x45\x37\xbb\x25\xb7\x40",
  1256. .m_size = 32,
  1257. .public_key_vec = true,
  1258. .siggen_sigver_test = true,
  1259. },
  1260. {
  1261. .key =
  1262. "\x04\x40\x05\x91\xa9\x7d\xcb\x87\xdc\x98\xa1\xbf\xff\xdd\x20\x61"
  1263. "\xaa\x58\x3b\x2d\x8e\x9c\x41\x9d\x4f\xc6\x23\x17\xf9\xca\x60\x65"
  1264. "\xbc\x97\x97\xf6\x6b\x24\xe8\xac\xb1\xa7\x61\x29\x3c\x71\xdc\xad"
  1265. "\xcb\x20\xbe\x96\xe8\xf4\x44\x2e\x49\xd5\x2c\xb9\xc9\x3b\x9c\xaa"
  1266. "\xba\x15",
  1267. .key_len = 66,
  1268. .params = /* OID_gostCPSignC */
  1269. "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x03\x06\x08\x2a\x85\x03"
  1270. "\x07\x01\x01\x02\x02",
  1271. .param_len = 21,
  1272. .c =
  1273. "\x3b\x2e\x2e\x74\x74\x47\xda\xea\x93\x90\x6a\xe2\xf5\xf5\xe6\x46"
  1274. "\x11\xfc\xab\xdc\x52\xbc\x58\xdb\x45\x44\x12\x4a\xf7\xd0\xab\xc9"
  1275. "\x73\xba\x64\xab\x0d\xac\x4e\x72\x10\xa8\x04\xf6\x1e\xe0\x48\x6a"
  1276. "\xcd\xe8\xe3\x78\x73\x77\x82\x24\x8d\xf1\xd3\xeb\x4c\x25\x7e\xc0",
  1277. .c_size = 64,
  1278. .algo = OID_gost2012PKey256,
  1279. .m =
  1280. "\x52\x33\xf4\x3f\x7b\x5d\xcf\x20\xee\xe4\x5c\xab\x0b\x3f\x14\xd6"
  1281. "\x9f\x16\xc6\x1c\xb1\x3f\x84\x41\x69\xec\x34\xfd\xf1\xf9\xa3\x39",
  1282. .m_size = 32,
  1283. .public_key_vec = true,
  1284. .siggen_sigver_test = true,
  1285. },
  1286. {
  1287. .key =
  1288. "\x04\x81\x80\x85\x46\x8f\x16\xf8\x7a\x7e\x4a\xc3\x81\x9e\xf1\x6e"
  1289. "\x94\x1e\x5d\x02\x87\xea\xfa\xa0\x0a\x17\x70\x49\x64\xad\x95\x68"
  1290. "\x60\x0a\xf0\x57\x29\x41\x79\x30\x3c\x61\x69\xf2\xa6\x94\x87\x17"
  1291. "\x54\xfa\x97\x2c\xe6\x1e\x0a\xbb\x55\x10\x57\xbe\xf7\xc1\x77\x2b"
  1292. "\x11\x74\x0a\x50\x37\x14\x10\x2a\x45\xfc\x7a\xae\x1c\x4c\xce\x08"
  1293. "\x05\xb7\xa4\x50\xc8\x3d\x39\x3d\xdc\x5c\x8f\x96\x6c\xe7\xfc\x21"
  1294. "\xc3\x2d\x1e\x9f\x11\xb3\xec\x22\x18\x8a\x8c\x08\x6b\x8b\xed\xf5"
  1295. "\xc5\x47\x3c\x7e\x73\x59\x44\x1e\x77\x83\x84\x52\x9e\x3b\x7d\xff"
  1296. "\x9d\x86\x1a",
  1297. .key_len = 131,
  1298. .params = /* OID_gostTC26Sign512A */
  1299. "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x01",
  1300. .param_len = 13,
  1301. .c =
  1302. "\x92\x81\x74\x5f\x95\x48\x38\x87\xd9\x8f\x5e\xc8\x8a\xbb\x01\x4e"
  1303. "\xb0\x75\x3c\x2f\xc7\x5a\x08\x4c\x68\xab\x75\x01\x32\x75\x75\xb5"
  1304. "\x37\xe0\x74\x6d\x94\x84\x31\x2a\x6b\xf4\xf7\xb7\xa7\x39\x7b\x46"
  1305. "\x07\xf0\x98\xbd\x33\x18\xa1\x72\xb2\x6d\x54\xe3\xde\x91\xc2\x2e"
  1306. "\x4f\x6a\xf8\xb7\xec\xa8\x83\xc9\x8f\xd9\xce\x7c\x45\x06\x02\xf4"
  1307. "\x4f\x21\xb5\x24\x3d\xb4\xb5\xd8\x58\x42\xbe\x2d\x29\xae\x93\xc0"
  1308. "\x13\x41\x96\x35\x08\x69\xe8\x36\xc7\xd1\x83\x81\xd7\xca\xfb\xc0"
  1309. "\xd2\xb7\x78\x32\x3e\x30\x1a\x1e\xce\xdc\x34\x35\xc6\xad\x68\x24",
  1310. .c_size = 128,
  1311. .algo = OID_gost2012PKey512,
  1312. .m =
  1313. "\x1f\x70\xb5\xe9\x55\x12\xd6\x88\xcc\x55\xb9\x0c\x7f\xc4\x94\xf2"
  1314. "\x04\x77\x41\x12\x02\xd6\xf1\x1f\x83\x56\xe9\xd6\x5a\x6a\x72\xb9"
  1315. "\x6e\x8e\x24\x2a\x84\xf1\xba\x67\xe8\xbf\xff\xc1\xd3\xde\xfb\xc6"
  1316. "\xa8\xf6\x80\x01\xb9\x27\xac\xd8\x45\x96\x66\xa1\xee\x48\x08\x3f",
  1317. .m_size = 64,
  1318. .public_key_vec = true,
  1319. .siggen_sigver_test = true,
  1320. },
  1321. {
  1322. .key =
  1323. "\x04\x81\x80\x28\xf3\x2b\x92\x04\x32\xea\x66\x20\xde\xa0\x2f\x74"
  1324. "\xbf\x2d\xf7\xb5\x30\x76\xb1\xc8\xee\x38\x9f\xea\xe5\xad\xc6\xa3"
  1325. "\x28\x1e\x51\x3d\x67\xa3\x41\xcc\x6b\x81\xe2\xe2\x9e\x82\xf3\x78"
  1326. "\x56\xd7\x2e\xb2\xb5\xbe\xb4\x50\x21\x05\xe5\x29\x82\xef\x15\x1b"
  1327. "\xc0\xd7\x30\xd6\x2f\x96\xe8\xff\x99\x4c\x25\xcf\x9a\xfc\x54\x30"
  1328. "\xce\xdf\x59\xe9\xc6\x45\xce\xe4\x22\xe8\x01\xd5\xcd\x2f\xaa\x78"
  1329. "\x99\xc6\x04\x1e\x6f\x4c\x25\x6a\x76\xad\xff\x48\xf3\xb3\xb4\xd6"
  1330. "\x14\x5c\x2c\x0e\xea\xa2\x4b\xb9\x7e\x89\x77\x02\x3a\x29\xc8\x16"
  1331. "\x8e\x78\x48",
  1332. .key_len = 131,
  1333. .params = /* OID_gostTC26Sign512B */
  1334. "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x02",
  1335. .param_len = 13,
  1336. .c =
  1337. "\x0a\xed\xb6\x27\xea\xa7\xa6\x7e\x2f\xc1\x02\x21\x74\xce\x27\xd2"
  1338. "\xee\x8a\x92\x4d\xa9\x43\x2d\xa4\x5b\xdc\x23\x02\xfc\x3a\xf3\xb2"
  1339. "\x10\x93\x0b\x40\x1b\x75\x95\x3e\x39\x41\x37\xb9\xab\x51\x09\xeb"
  1340. "\xf1\xb9\x49\x58\xec\x58\xc7\xf9\x2e\xb9\xc9\x40\xf2\x00\x39\x7e"
  1341. "\x3f\xde\x72\xe3\x85\x67\x06\xbe\xd8\xb8\xc1\x81\x1e\xe3\x0a\xfe"
  1342. "\xce\xd3\x77\x92\x56\x8c\x58\xf9\x37\x60\x2d\xe6\x8b\x66\xa3\xdd"
  1343. "\xd2\xf0\xf8\xda\x1b\x20\xbc\x9c\xec\x29\x5d\xd1\x8f\xcc\x37\xd1"
  1344. "\x3b\x8d\xb7\xc1\xe0\xb8\x3b\xef\x14\x1b\x87\xbc\xc1\x03\x9a\x93",
  1345. .c_size = 128,
  1346. .algo = OID_gost2012PKey512,
  1347. .m =
  1348. "\x11\x24\x21\x27\xf2\x42\x9f\xce\x5a\xf9\x01\x70\xe0\x07\x2b\x57"
  1349. "\xfb\x7d\x77\x5e\x74\x66\xe6\xa5\x40\x4c\x1a\x85\x18\xff\xd0\x63"
  1350. "\xe0\x39\xd3\xd6\xe5\x17\xf8\xc3\x4b\xc6\x1c\x33\x1a\xca\xa6\x66"
  1351. "\x6d\xf4\xd2\x45\xc2\x83\xa0\x42\x95\x05\x9d\x89\x8e\x0a\xca\xcc",
  1352. .m_size = 64,
  1353. .public_key_vec = true,
  1354. .siggen_sigver_test = true,
  1355. },
  1356. };
  1357. /*
  1358. * PKCS#1 RSA test vectors. Obtained from CAVS testing.
  1359. */
  1360. static const struct akcipher_testvec pkcs1pad_rsa_tv_template[] = {
  1361. {
  1362. .key =
  1363. "\x30\x82\x04\xa5\x02\x01\x00\x02\x82\x01\x01\x00\xd7\x1e\x77\x82"
  1364. "\x8c\x92\x31\xe7\x69\x02\xa2\xd5\x5c\x78\xde\xa2\x0c\x8f\xfe\x28"
  1365. "\x59\x31\xdf\x40\x9c\x60\x61\x06\xb9\x2f\x62\x40\x80\x76\xcb\x67"
  1366. "\x4a\xb5\x59\x56\x69\x17\x07\xfa\xf9\x4c\xbd\x6c\x37\x7a\x46\x7d"
  1367. "\x70\xa7\x67\x22\xb3\x4d\x7a\x94\xc3\xba\x4b\x7c\x4b\xa9\x32\x7c"
  1368. "\xb7\x38\x95\x45\x64\xa4\x05\xa8\x9f\x12\x7c\x4e\xc6\xc8\x2d\x40"
  1369. "\x06\x30\xf4\x60\xa6\x91\xbb\x9b\xca\x04\x79\x11\x13\x75\xf0\xae"
  1370. "\xd3\x51\x89\xc5\x74\xb9\xaa\x3f\xb6\x83\xe4\x78\x6b\xcd\xf9\x5c"
  1371. "\x4c\x85\xea\x52\x3b\x51\x93\xfc\x14\x6b\x33\x5d\x30\x70\xfa\x50"
  1372. "\x1b\x1b\x38\x81\x13\x8d\xf7\xa5\x0c\xc0\x8e\xf9\x63\x52\x18\x4e"
  1373. "\xa9\xf9\xf8\x5c\x5d\xcd\x7a\x0d\xd4\x8e\x7b\xee\x91\x7b\xad\x7d"
  1374. "\xb4\x92\xd5\xab\x16\x3b\x0a\x8a\xce\x8e\xde\x47\x1a\x17\x01\x86"
  1375. "\x7b\xab\x99\xf1\x4b\x0c\x3a\x0d\x82\x47\xc1\x91\x8c\xbb\x2e\x22"
  1376. "\x9e\x49\x63\x6e\x02\xc1\xc9\x3a\x9b\xa5\x22\x1b\x07\x95\xd6\x10"
  1377. "\x02\x50\xfd\xfd\xd1\x9b\xbe\xab\xc2\xc0\x74\xd7\xec\x00\xfb\x11"
  1378. "\x71\xcb\x7a\xdc\x81\x79\x9f\x86\x68\x46\x63\x82\x4d\xb7\xf1\xe6"
  1379. "\x16\x6f\x42\x63\xf4\x94\xa0\xca\x33\xcc\x75\x13\x02\x03\x01\x00"
  1380. "\x01\x02\x82\x01\x00\x62\xb5\x60\x31\x4f\x3f\x66\x16\xc1\x60\xac"
  1381. "\x47\x2a\xff\x6b\x69\x00\x4a\xb2\x5c\xe1\x50\xb9\x18\x74\xa8\xe4"
  1382. "\xdc\xa8\xec\xcd\x30\xbb\xc1\xc6\xe3\xc6\xac\x20\x2a\x3e\x5e\x8b"
  1383. "\x12\xe6\x82\x08\x09\x38\x0b\xab\x7c\xb3\xcc\x9c\xce\x97\x67\xdd"
  1384. "\xef\x95\x40\x4e\x92\xe2\x44\xe9\x1d\xc1\x14\xfd\xa9\xb1\xdc\x71"
  1385. "\x9c\x46\x21\xbd\x58\x88\x6e\x22\x15\x56\xc1\xef\xe0\xc9\x8d\xe5"
  1386. "\x80\x3e\xda\x7e\x93\x0f\x52\xf6\xf5\xc1\x91\x90\x9e\x42\x49\x4f"
  1387. "\x8d\x9c\xba\x38\x83\xe9\x33\xc2\x50\x4f\xec\xc2\xf0\xa8\xb7\x6e"
  1388. "\x28\x25\x56\x6b\x62\x67\xfe\x08\xf1\x56\xe5\x6f\x0e\x99\xf1\xe5"
  1389. "\x95\x7b\xef\xeb\x0a\x2c\x92\x97\x57\x23\x33\x36\x07\xdd\xfb\xae"
  1390. "\xf1\xb1\xd8\x33\xb7\x96\x71\x42\x36\xc5\xa4\xa9\x19\x4b\x1b\x52"
  1391. "\x4c\x50\x69\x91\xf0\x0e\xfa\x80\x37\x4b\xb5\xd0\x2f\xb7\x44\x0d"
  1392. "\xd4\xf8\x39\x8d\xab\x71\x67\x59\x05\x88\x3d\xeb\x48\x48\x33\x88"
  1393. "\x4e\xfe\xf8\x27\x1b\xd6\x55\x60\x5e\x48\xb7\x6d\x9a\xa8\x37\xf9"
  1394. "\x7a\xde\x1b\xcd\x5d\x1a\x30\xd4\xe9\x9e\x5b\x3c\x15\xf8\x9c\x1f"
  1395. "\xda\xd1\x86\x48\x55\xce\x83\xee\x8e\x51\xc7\xde\x32\x12\x47\x7d"
  1396. "\x46\xb8\x35\xdf\x41\x02\x81\x81\x00\xe4\x4c\xae\xde\x16\xfd\x9f"
  1397. "\x83\x55\x5b\x84\x4a\xcf\x1c\xf1\x37\x95\xad\xca\x29\x7f\x2d\x6e"
  1398. "\x32\x81\xa4\x2b\x26\x14\x96\x1d\x40\x05\xec\x0c\xaf\x3f\x2c\x6f"
  1399. "\x2c\xe8\xbf\x1d\xee\xd0\xb3\xef\x7c\x5b\x9e\x88\x4f\x2a\x8b\x0e"
  1400. "\x4a\xbd\xb7\x8c\xfa\x10\x0e\x3b\xda\x68\xad\x41\x2b\xe4\x96\xfa"
  1401. "\x7f\x80\x52\x5f\x07\x9f\x0e\x3b\x5e\x96\x45\x1a\x13\x2b\x94\xce"
  1402. "\x1f\x07\x69\x85\x35\xfc\x69\x63\x5b\xf8\xf8\x3f\xce\x9d\x40\x1e"
  1403. "\x7c\xad\xfb\x9e\xce\xe0\x01\xf8\xef\x59\x5d\xdc\x00\x79\xab\x8a"
  1404. "\x3f\x80\xa2\x76\x32\x94\xa9\xea\x65\x02\x81\x81\x00\xf1\x38\x60"
  1405. "\x90\x0d\x0c\x2e\x3d\x34\xe5\x90\xea\x21\x43\x1f\x68\x63\x16\x7b"
  1406. "\x25\x8d\xde\x82\x2b\x52\xf8\xa3\xfd\x0f\x39\xe7\xe9\x5e\x32\x75"
  1407. "\x15\x7d\xd0\xc9\xce\x06\xe5\xfb\xa9\xcb\x22\xe5\xdb\x49\x09\xf2"
  1408. "\xe6\xb7\xa5\xa7\x75\x2e\x91\x2d\x2b\x5d\xf1\x48\x61\x45\x43\xd7"
  1409. "\xbd\xfc\x11\x73\xb5\x11\x9f\xb2\x18\x3a\x6f\x36\xa7\xc2\xd3\x18"
  1410. "\x4d\xf0\xc5\x1f\x70\x8c\x9b\xc5\x1d\x95\xa8\x5a\x9e\x8c\xb1\x4b"
  1411. "\x6a\x2a\x84\x76\x2c\xd8\x4f\x47\xb0\x81\x84\x02\x45\xf0\x85\xf8"
  1412. "\x0c\x6d\xa7\x0c\x4d\x2c\xb2\x5b\x81\x70\xfd\x6e\x17\x02\x81\x81"
  1413. "\x00\x8d\x07\xc5\xfa\x92\x4f\x48\xcb\xd3\xdd\xfe\x02\x4c\xa1\x7f"
  1414. "\x6d\xab\xfc\x38\xe7\x9b\x95\xcf\xfe\x49\x51\xc6\x09\xf7\x2b\xa8"
  1415. "\x94\x15\x54\x75\x9d\x88\xb4\x05\x55\xc3\xcd\xd4\x4a\xe4\x08\x53"
  1416. "\xc8\x09\xbd\x0c\x4d\x83\x65\x75\x85\xbc\x5e\xf8\x2a\xbd\xe2\x5d"
  1417. "\x1d\x16\x0e\xf9\x34\x89\x38\xaf\x34\x36\x6c\x2c\x22\x44\x22\x81"
  1418. "\x90\x73\xd9\xea\x3a\xaf\x70\x74\x48\x7c\xc6\xb5\xb0\xdc\xe5\xa9"
  1419. "\xa8\x76\x4b\xbc\xf7\x00\xf3\x4c\x22\x0f\x44\x62\x1d\x40\x0a\x57"
  1420. "\xe2\x5b\xdd\x7c\x7b\x9a\xad\xda\x70\x52\x21\x8a\x4c\xc2\xc3\x98"
  1421. "\x75\x02\x81\x81\x00\xed\x24\x5c\xa2\x21\x81\xa1\x0f\xa1\x2a\x33"
  1422. "\x0e\x49\xc7\x00\x60\x92\x51\x6e\x9d\x9b\xdc\x6d\x22\x04\x7e\xd6"
  1423. "\x51\x19\x9f\xf6\xe3\x91\x2c\x8f\xb8\xa2\x29\x19\xcc\x47\x31\xdf"
  1424. "\xf8\xab\xf0\xd2\x02\x83\xca\x99\x16\xc2\xe2\xc3\x3f\x4b\x99\x83"
  1425. "\xcb\x87\x9e\x86\x66\xc2\x3e\x91\x21\x80\x66\xf3\xd6\xc5\xcd\xb6"
  1426. "\xbb\x64\xef\x22\xcf\x48\x94\x58\xe7\x7e\xd5\x7c\x34\x1c\xb7\xa2"
  1427. "\xd0\x93\xe9\x9f\xb5\x11\x61\xd7\x5f\x37\x0f\x64\x52\x70\x11\x78"
  1428. "\xcc\x08\x77\xeb\xf8\x30\x1e\xb4\x9e\x1b\x4a\xc7\xa8\x33\x51\xe0"
  1429. "\xed\xdf\x53\xf6\xdf\x02\x81\x81\x00\x86\xd9\x4c\xee\x65\x61\xc1"
  1430. "\x19\xa9\xd5\x74\x9b\xd5\xca\xf6\x83\x2b\x06\xb4\x20\xfe\x45\x29"
  1431. "\xe8\xe3\xfa\xe1\x4f\x28\x8e\x63\x2f\x74\xc3\x3a\x5c\x9a\xf5\x9e"
  1432. "\x0e\x0d\xc5\xfe\xa0\x4c\x00\xce\x7b\xa4\x19\x17\x59\xaf\x13\x3a"
  1433. "\x03\x8f\x54\xf5\x60\x39\x2e\xd9\x06\xb3\x7c\xd6\x90\x06\x41\x77"
  1434. "\xf3\x93\xe1\x7a\x01\x41\xc1\x8f\xfe\x4c\x88\x39\xdb\xde\x71\x9e"
  1435. "\x58\xd1\x49\x50\x80\xb2\x5a\x4f\x69\x8b\xb8\xfe\x63\xd4\x42\x3d"
  1436. "\x37\x61\xa8\x4c\xff\xb6\x99\x4c\xf4\x51\xe0\x44\xaa\x69\x79\x3f"
  1437. "\x81\xa4\x61\x3d\x26\xe9\x04\x52\x64",
  1438. .key_len = 1193,
  1439. /*
  1440. * m is SHA256 hash of following message:
  1441. * "\x49\x41\xbe\x0a\x0c\xc9\xf6\x35\x51\xe4\x27\x56\x13\x71\x4b\xd0"
  1442. * "\x36\x92\x84\x89\x1b\xf8\x56\x4a\x72\x61\x14\x69\x4f\x5e\x98\xa5"
  1443. * "\x80\x5a\x37\x51\x1f\xd8\xf5\xb5\x63\xfc\xf4\xb1\xbb\x4d\x33\xa3"
  1444. * "\x1e\xb9\x75\x8b\x9c\xda\x7e\x6d\x3a\x77\x85\xf7\xfc\x4e\xe7\x64"
  1445. * "\x43\x10\x19\xa0\x59\xae\xe0\xad\x4b\xd3\xc4\x45\xf7\xb1\xc2\xc1"
  1446. * "\x65\x01\x41\x39\x5b\x45\x47\xed\x2b\x51\xed\xe3\xd0\x09\x10\xd2"
  1447. * "\x39\x6c\x4a\x3f\xe5\xd2\x20\xe6\xb0\x71\x7d\x5b\xed\x26\x60\xf1"
  1448. * "\xb4\x73\xd1\xdb\x7d\xc4\x19\x91\xee\xf6\x32\x76\xf2\x19\x7d\xb7"
  1449. */
  1450. .m =
  1451. "\x3e\xc8\xa1\x26\x20\x54\x44\x52\x48\x0d\xe5\x66\xf3\xb3\xf5\x04"
  1452. "\xbe\x10\xa8\x48\x94\x22\x2d\xdd\xba\x7a\xb4\x76\x8d\x79\x98\x89",
  1453. .m_size = 32,
  1454. .c =
  1455. "\xc7\xa3\x98\xeb\x43\xd1\x08\xc2\x3d\x78\x45\x04\x70\xc9\x01\xee"
  1456. "\xf8\x85\x37\x7c\x0b\xf9\x19\x70\x5c\x45\x7b\x2f\x3a\x0b\xb7\x8b"
  1457. "\xc4\x0d\x7b\x3a\x64\x0b\x0f\xdb\x78\xa9\x0b\xfd\x8d\x82\xa4\x86"
  1458. "\x39\xbf\x21\xb8\x84\xc4\xce\x9f\xc2\xe8\xb6\x61\x46\x17\xb9\x4e"
  1459. "\x0b\x57\x05\xb4\x4f\xf9\x9c\x93\x2d\x9b\xd5\x48\x1d\x80\x12\xef"
  1460. "\x3a\x77\x7f\xbc\xb5\x8e\x2b\x6b\x7c\xfc\x9f\x8c\x9d\xa2\xc4\x85"
  1461. "\xb0\x87\xe9\x17\x9b\xb6\x23\x62\xd2\xa9\x9f\x57\xe8\xf7\x04\x45"
  1462. "\x24\x3a\x45\xeb\xeb\x6a\x08\x8e\xaf\xc8\xa0\x84\xbc\x5d\x13\x38"
  1463. "\xf5\x17\x8c\xa3\x96\x9b\xa9\x38\x8d\xf0\x35\xad\x32\x8a\x72\x5b"
  1464. "\xdf\x21\xab\x4b\x0e\xa8\x29\xbb\x61\x54\xbf\x05\xdb\x84\x84\xde"
  1465. "\xdd\x16\x36\x31\xda\xf3\x42\x6d\x7a\x90\x22\x9b\x11\x29\xa6\xf8"
  1466. "\x30\x61\xda\xd3\x8b\x54\x1e\x42\xd1\x47\x1d\x6f\xd1\xcd\x42\x0b"
  1467. "\xd1\xe4\x15\x85\x7e\x08\xd6\x59\x64\x4c\x01\x34\x91\x92\x26\xe8"
  1468. "\xb0\x25\x8c\xf8\xf4\xfa\x8b\xc9\x31\x33\x76\x72\xfb\x64\x92\x9f"
  1469. "\xda\x62\x8d\xe1\x2a\x71\x91\x43\x40\x61\x3c\x5a\xbe\x86\xfc\x5b"
  1470. "\xe6\xf9\xa9\x16\x31\x1f\xaf\x25\x6d\xc2\x4a\x23\x6e\x63\x02\xa2",
  1471. .c_size = 256,
  1472. .siggen_sigver_test = true,
  1473. }
  1474. };
  1475. static const struct kpp_testvec dh_tv_template[] = {
  1476. {
  1477. .secret =
  1478. #ifdef __LITTLE_ENDIAN
  1479. "\x01\x00" /* type */
  1480. "\x11\x02" /* len */
  1481. "\x00\x01\x00\x00" /* key_size */
  1482. "\x00\x01\x00\x00" /* p_size */
  1483. "\x01\x00\x00\x00" /* g_size */
  1484. #else
  1485. "\x00\x01" /* type */
  1486. "\x02\x11" /* len */
  1487. "\x00\x00\x01\x00" /* key_size */
  1488. "\x00\x00\x01\x00" /* p_size */
  1489. "\x00\x00\x00\x01" /* g_size */
  1490. #endif
  1491. /* xa */
  1492. "\x44\xc1\x48\x36\xa7\x2b\x6f\x4e\x43\x03\x68\xad\x31\x00\xda\xf3"
  1493. "\x2a\x01\xa8\x32\x63\x5f\x89\x32\x1f\xdf\x4c\xa1\x6a\xbc\x10\x15"
  1494. "\x90\x35\xc9\x26\x41\xdf\x7b\xaa\x56\x56\x3d\x85\x44\xb5\xc0\x8e"
  1495. "\x37\x83\x06\x50\xb3\x5f\x0e\x28\x2c\xd5\x46\x15\xe3\xda\x7d\x74"
  1496. "\x87\x13\x91\x4f\xd4\x2d\xf6\xc7\x5e\x14\x2c\x11\xc2\x26\xb4\x3a"
  1497. "\xe3\xb2\x36\x20\x11\x3b\x22\xf2\x06\x65\x66\xe2\x57\x58\xf8\x22"
  1498. "\x1a\x94\xbd\x2b\x0e\x8c\x55\xad\x61\x23\x45\x2b\x19\x1e\x63\x3a"
  1499. "\x13\x61\xe3\xa0\x79\x70\x3e\x6d\x98\x32\xbc\x7f\x82\xc3\x11\xd8"
  1500. "\xeb\x53\xb5\xfc\xb5\xd5\x3c\x4a\xea\x92\x3e\x01\xce\x15\x65\xd4"
  1501. "\xaa\x85\xc1\x11\x90\x83\x31\x6e\xfe\xe7\x7f\x7d\xed\xab\xf9\x29"
  1502. "\xf8\xc7\xf1\x68\xc6\xb7\xe4\x1f\x2f\x28\xa0\xc9\x1a\x50\x64\x29"
  1503. "\x4b\x01\x6d\x1a\xda\x46\x63\x21\x07\x40\x8c\x8e\x4c\x6f\xb5\xe5"
  1504. "\x12\xf3\xc2\x1b\x48\x27\x5e\x27\x01\xb1\xaa\xed\x68\x9b\x83\x18"
  1505. "\x8f\xb1\xeb\x1f\x04\xd1\x3c\x79\xed\x4b\xf7\x0a\x33\xdc\xe0\xc6"
  1506. "\xd8\x02\x51\x59\x00\x74\x30\x07\x4c\x2d\xac\xe4\x13\xf1\x80\xf0"
  1507. "\xce\xfa\xff\xa9\xce\x29\x46\xdd\x9d\xad\xd1\xc3\xc6\x58\x1a\x63"
  1508. /* p */
  1509. "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
  1510. "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
  1511. "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
  1512. "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
  1513. "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
  1514. "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
  1515. "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
  1516. "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
  1517. "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
  1518. "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
  1519. "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
  1520. "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
  1521. "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
  1522. "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
  1523. "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
  1524. "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
  1525. /* g */
  1526. "\x02",
  1527. .b_public =
  1528. "\x2a\x67\x5c\xfd\x63\x5d\xc0\x97\x0a\x8b\xa2\x1f\xf8\x8a\xcb\x54"
  1529. "\xca\x2f\xd3\x49\x3f\x01\x8e\x87\xfe\xcc\x94\xa0\x3e\xd4\x26\x79"
  1530. "\x9a\x94\x3c\x11\x81\x58\x5c\x60\x3d\xf5\x98\x90\x89\x64\x62\x1f"
  1531. "\xbd\x05\x6d\x2b\xcd\x84\x40\x9b\x4a\x1f\xe0\x19\xf1\xca\x20\xb3"
  1532. "\x4e\xa0\x4f\x15\xcc\xa5\xfe\xa5\xb4\xf5\x0b\x18\x7a\x5a\x37\xaa"
  1533. "\x58\x00\x19\x7f\xe2\xa3\xd9\x1c\x44\x57\xcc\xde\x2e\xc1\x38\xea"
  1534. "\xeb\xe3\x90\x40\xc4\x6c\xf7\xcd\xe9\x22\x50\x71\xf5\x7c\xdb\x37"
  1535. "\x0e\x80\xc3\xed\x7e\xb1\x2b\x2f\xbe\x71\xa6\x11\xa5\x9d\xf5\x39"
  1536. "\xf1\xa2\xe5\x85\xbc\x25\x91\x4e\x84\x8d\x26\x9f\x4f\xe6\x0f\xa6"
  1537. "\x2b\x6b\xf9\x0d\xaf\x6f\xbb\xfa\x2d\x79\x15\x31\x57\xae\x19\x60"
  1538. "\x22\x0a\xf5\xfd\x98\x0e\xbf\x5d\x49\x75\x58\x37\xbc\x7f\xf5\x21"
  1539. "\x56\x1e\xd5\xb3\x50\x0b\xca\x96\xf3\xd1\x3f\xb3\x70\xa8\x6d\x63"
  1540. "\x48\xfb\x3d\xd7\x29\x91\x45\xb5\x48\xcd\xb6\x78\x30\xf2\x3f\x1e"
  1541. "\xd6\x22\xd6\x35\x9b\xf9\x1f\x85\xae\xab\x4b\xd7\xe0\xc7\x86\x67"
  1542. "\x3f\x05\x7f\xa6\x0d\x2f\x0d\xbf\x53\x5f\x4d\x2c\x6d\x5e\x57\x40"
  1543. "\x30\x3a\x23\x98\xf9\xb4\x32\xf5\x32\x83\xdd\x0b\xae\x33\x97\x2f",
  1544. .expected_a_public =
  1545. "\x5c\x24\xdf\xeb\x5b\x4b\xf8\xc5\xef\x39\x48\x82\xe0\x1e\x62\xee"
  1546. "\x8a\xae\xdf\x93\x6c\x2b\x16\x95\x92\x16\x3f\x16\x7b\x75\x03\x85"
  1547. "\xd9\xf1\x69\xc2\x14\x87\x45\xfc\xa4\x19\xf6\xf0\xa4\xf3\xec\xd4"
  1548. "\x6c\x5c\x03\x3b\x94\xc2\x2f\x92\xe4\xce\xb3\xe4\x72\xe8\x17\xe6"
  1549. "\x23\x7e\x00\x01\x09\x59\x13\xbf\xc1\x2f\x99\xa9\x07\xaa\x02\x23"
  1550. "\x4a\xca\x39\x4f\xbc\xec\x0f\x27\x4f\x19\x93\x6c\xb9\x30\x52\xfd"
  1551. "\x2b\x9d\x86\xf1\x06\x1e\xb6\x56\x27\x4a\xc9\x8a\xa7\x8a\x48\x5e"
  1552. "\xb5\x60\xcb\xdf\xff\x03\x26\x10\xbf\x90\x8f\x46\x60\xeb\x9b\x9a"
  1553. "\xd6\x6f\x44\x91\x03\x92\x18\x2c\x96\x5e\x40\x19\xfb\xf4\x4f\x3a"
  1554. "\x02\x7b\xaf\xcc\x22\x20\x79\xb9\xf8\x9f\x8f\x85\x6b\xec\x44\xbb"
  1555. "\xe6\xa8\x8e\xb1\xe8\x2c\xee\x64\xee\xf8\xbd\x00\xf3\xe2\x2b\x93"
  1556. "\xcd\xe7\xc4\xdf\xc9\x19\x46\xfe\xb6\x07\x73\xc1\x8a\x64\x79\x26"
  1557. "\xe7\x30\xad\x2a\xdf\xe6\x8f\x59\xf5\x81\xbf\x4a\x29\x91\xe7\xb7"
  1558. "\xcf\x48\x13\x27\x75\x79\x40\xd9\xd6\x32\x52\x4e\x6a\x86\xae\x6f"
  1559. "\xc2\xbf\xec\x1f\xc2\x69\xb2\xb6\x59\xe5\xa5\x17\xa4\x77\xb7\x62"
  1560. "\x46\xde\xe8\xd2\x89\x78\x9a\xef\xa3\xb5\x8f\x26\xec\x80\xda\x39",
  1561. .expected_ss =
  1562. "\x8f\xf3\xac\xa2\xea\x22\x11\x5c\x45\x65\x1a\x77\x75\x2e\xcf\x46"
  1563. "\x23\x14\x1e\x67\x53\x4d\x35\xb0\x38\x1d\x4e\xb9\x41\x9a\x21\x24"
  1564. "\x6e\x9f\x40\xfe\x90\x51\xb1\x06\xa4\x7b\x87\x17\x2f\xe7\x5e\x22"
  1565. "\xf0\x7b\x54\x84\x0a\xac\x0a\x90\xd2\xd7\xe8\x7f\xe7\xe3\x30\x75"
  1566. "\x01\x1f\x24\x75\x56\xbe\xcc\x8d\x1e\x68\x0c\x41\x72\xd3\xfa\xbb"
  1567. "\xe5\x9c\x60\xc7\x28\x77\x0c\xbe\x89\xab\x08\xd6\x21\xe7\x2e\x1a"
  1568. "\x58\x7a\xca\x4f\x22\xf3\x2b\x30\xfd\xf4\x98\xc1\xa3\xf8\xf6\xcc"
  1569. "\xa9\xe4\xdb\x5b\xee\xd5\x5c\x6f\x62\x4c\xd1\x1a\x02\x2a\x23\xe4"
  1570. "\xb5\x57\xf3\xf9\xec\x04\x83\x54\xfe\x08\x5e\x35\xac\xfb\xa8\x09"
  1571. "\x82\x32\x60\x11\xb2\x16\x62\x6b\xdf\xda\xde\x9c\xcb\x63\x44\x6c"
  1572. "\x59\x26\x6a\x8f\xb0\x24\xcb\xa6\x72\x48\x1e\xeb\xe0\xe1\x09\x44"
  1573. "\xdd\xee\x66\x6d\x84\xcf\xa5\xc1\xb8\x36\x74\xd3\x15\x96\xc3\xe4"
  1574. "\xc6\x5a\x4d\x23\x97\x0c\x5c\xcb\xa9\xf5\x29\xc2\x0e\xff\x93\x82"
  1575. "\xd3\x34\x49\xad\x64\xa6\xb1\xc0\x59\x28\x75\x60\xa7\x8a\xb0\x11"
  1576. "\x56\x89\x42\x74\x11\xf5\xf6\x5e\x6f\x16\x54\x6a\xb1\x76\x4d\x50"
  1577. "\x8a\x68\xc1\x5b\x82\xb9\x0d\x00\x32\x50\xed\x88\x87\x48\x92\x17",
  1578. .secret_size = 529,
  1579. .b_public_size = 256,
  1580. .expected_a_public_size = 256,
  1581. .expected_ss_size = 256,
  1582. },
  1583. {
  1584. .secret =
  1585. #ifdef __LITTLE_ENDIAN
  1586. "\x01\x00" /* type */
  1587. "\x11\x02" /* len */
  1588. "\x00\x01\x00\x00" /* key_size */
  1589. "\x00\x01\x00\x00" /* p_size */
  1590. "\x01\x00\x00\x00" /* g_size */
  1591. #else
  1592. "\x00\x01" /* type */
  1593. "\x02\x11" /* len */
  1594. "\x00\x00\x01\x00" /* key_size */
  1595. "\x00\x00\x01\x00" /* p_size */
  1596. "\x00\x00\x00\x01" /* g_size */
  1597. #endif
  1598. /* xa */
  1599. "\x4d\x75\xa8\x6e\xba\x23\x3a\x0c\x63\x56\xc8\xc9\x5a\xa7\xd6\x0e"
  1600. "\xed\xae\x40\x78\x87\x47\x5f\xe0\xa7\x7b\xba\x84\x88\x67\x4e\xe5"
  1601. "\x3c\xcc\x5c\x6a\xe7\x4a\x20\xec\xbe\xcb\xf5\x52\x62\x9f\x37\x80"
  1602. "\x0c\x72\x7b\x83\x66\xa4\xf6\x7f\x95\x97\x1c\x6a\x5c\x7e\xf1\x67"
  1603. "\x37\xb3\x93\x39\x3d\x0b\x55\x35\xd9\xe5\x22\x04\x9f\xf8\xc1\x04"
  1604. "\xce\x13\xa5\xac\xe1\x75\x05\xd1\x2b\x53\xa2\x84\xef\xb1\x18\xf4"
  1605. "\x66\xdd\xea\xe6\x24\x69\x5a\x49\xe0\x7a\xd8\xdf\x1b\xb7\xf1\x6d"
  1606. "\x9b\x50\x2c\xc8\x1c\x1c\xa3\xb4\x37\xfb\x66\x3f\x67\x71\x73\xa9"
  1607. "\xff\x5f\xd9\xa2\x25\x6e\x25\x1b\x26\x54\xbf\x0c\xc6\xdb\xea\x0a"
  1608. "\x52\x6c\x16\x7c\x27\x68\x15\x71\x58\x73\x9d\xe6\xc2\x80\xaa\x97"
  1609. "\x31\x66\xfb\xa6\xfb\xfd\xd0\x9c\x1d\xbe\x81\x48\xf5\x9a\x32\xf1"
  1610. "\x69\x62\x18\x78\xae\x72\x36\xe6\x94\x27\xd1\xff\x18\x4f\x28\x6a"
  1611. "\x16\xbd\x6a\x60\xee\xe5\xf9\x6d\x16\xe4\xb8\xa6\x41\x9b\x23\x7e"
  1612. "\xf7\x9d\xd1\x1d\x03\x15\x66\x3a\xcf\xb6\x2c\x13\x96\x2c\x52\x21"
  1613. "\xe4\x2d\x48\x7a\x8a\x5d\xb2\x88\xed\x98\x61\x79\x8b\x6a\x1e\x5f"
  1614. "\xd0\x8a\x2d\x99\x5a\x2b\x0f\xbc\xef\x53\x8f\x32\xc1\xa2\x99\x26"
  1615. /* p */
  1616. "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
  1617. "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
  1618. "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
  1619. "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
  1620. "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
  1621. "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
  1622. "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
  1623. "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
  1624. "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
  1625. "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
  1626. "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
  1627. "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
  1628. "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
  1629. "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
  1630. "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
  1631. "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
  1632. /* g */
  1633. "\x02",
  1634. .b_public =
  1635. "\x99\x4d\xd9\x01\x84\x8e\x4a\x5b\xb8\xa5\x64\x8c\x6c\x00\x5c\x0e"
  1636. "\x1e\x1b\xee\x5d\x9f\x53\xe3\x16\x70\x01\xed\xbf\x4f\x14\x36\x6e"
  1637. "\xe4\x43\x45\x43\x49\xcc\xb1\xb0\x2a\xc0\x6f\x22\x55\x42\x17\x94"
  1638. "\x18\x83\xd7\x2a\x5c\x51\x54\xf8\x4e\x7c\x10\xda\x76\x68\x57\x77"
  1639. "\x1e\x62\x03\x30\x04\x7b\x4c\x39\x9c\x54\x01\x54\xec\xef\xb3\x55"
  1640. "\xa4\xc0\x24\x6d\x3d\xbd\xcc\x46\x5b\x00\x96\xc7\xea\x93\xd1\x3f"
  1641. "\xf2\x6a\x72\xe3\xf2\xc1\x92\x24\x5b\xda\x48\x70\x2c\xa9\x59\x97"
  1642. "\x19\xb1\xd6\x54\xb3\x9c\x2e\xb0\x63\x07\x9b\x5e\xac\xb5\xf2\xb1"
  1643. "\x5b\xf8\xf3\xd7\x2d\x37\x9b\x68\x6c\xf8\x90\x07\xbc\x37\x9a\xa5"
  1644. "\xe2\x91\x12\x25\x47\x77\xe3\x3d\xb2\x95\x69\x44\x0b\x91\x1e\xaf"
  1645. "\x7c\x8c\x7c\x34\x41\x6a\xab\x60\x6e\xc6\x52\xec\x7e\x94\x0a\x37"
  1646. "\xec\x98\x90\xdf\x3f\x02\xbd\x23\x52\xdd\xd9\xe5\x31\x80\x74\x25"
  1647. "\xb6\xd2\xd3\xcc\xd5\xcc\x6d\xf9\x7e\x4d\x78\xab\x77\x51\xfa\x77"
  1648. "\x19\x94\x49\x8c\x05\xd4\x75\xed\xd2\xb3\x64\x57\xe0\x52\x99\xc0"
  1649. "\x83\xe3\xbb\x5e\x2b\xf1\xd2\xc0\xb1\x37\x36\x0b\x7c\xb5\x63\x96"
  1650. "\x8e\xde\x04\x23\x11\x95\x62\x11\x9a\xce\x6f\x63\xc8\xd5\xd1\x8f",
  1651. .expected_a_public =
  1652. "\x90\x89\xe4\x82\xd6\x0a\xcf\x1a\xae\xce\x1b\x66\xa7\x19\x71\x18"
  1653. "\x8f\x95\x4b\x5b\x80\x45\x4a\x5a\x43\x99\x4d\x37\xcf\xa3\xa7\x28"
  1654. "\x9c\xc7\x73\xf1\xb2\x17\xf6\x99\xe3\x6b\x56\xcb\x3e\x35\x60\x7d"
  1655. "\x65\xc7\x84\x6b\x3e\x60\xee\xcd\xd2\x70\xe7\xc9\x32\x1c\xf0\xb4"
  1656. "\xf9\x52\xd9\x88\x75\xfd\x40\x2c\xa7\xbe\x19\x1c\x0a\xae\x93\xe1"
  1657. "\x71\xc7\xcd\x4f\x33\x5c\x10\x7d\x39\x56\xfc\x73\x84\xb2\x67\xc3"
  1658. "\x77\x26\x20\x97\x2b\xf8\x13\x43\x93\x9c\x9a\xa4\x08\xc7\x34\x83"
  1659. "\xe6\x98\x61\xe7\x16\x30\x2c\xb1\xdb\x2a\xb2\xcc\xc3\x02\xa5\x3c"
  1660. "\x71\x50\x14\x83\xc7\xbb\xa4\xbe\x98\x1b\xfe\xcb\x43\xe9\x97\x62"
  1661. "\xd6\xf0\x8c\xcb\x1c\xba\x1e\xa8\xa6\xa6\x50\xfc\x85\x7d\x47\xbf"
  1662. "\xf4\x3e\x23\xd3\x5f\xb2\x71\x3e\x40\x94\xaa\x87\x83\x2c\x6c\x8e"
  1663. "\x60\xfd\xdd\xf7\xf4\x76\x03\xd3\x1d\xec\x18\x51\xa3\xf2\x44\x1a"
  1664. "\x3f\xb4\x7c\x18\x0d\x68\x65\x92\x54\x0d\x2d\x81\x16\xf1\x84\x66"
  1665. "\x89\x92\xd0\x1a\x5e\x1f\x42\x46\x5b\xe5\x83\x86\x80\xd9\xcd\x3a"
  1666. "\x5a\x2f\xb9\x59\x9b\xe4\x43\x84\x64\xf3\x09\x1a\x0a\xa2\x64\x0f"
  1667. "\x77\x4e\x8d\x8b\xe6\x88\xd1\xfc\xaf\x8f\xdf\x1d\xbc\x31\xb3\xbd",
  1668. .expected_ss =
  1669. "\x34\xc3\x35\x14\x88\x46\x26\x23\x97\xbb\xdd\x28\x5c\x94\xf6\x47"
  1670. "\xca\xb3\x19\xaf\xca\x44\x9b\xc2\x7d\x89\xfd\x96\x14\xfd\x6d\x58"
  1671. "\xd8\xc4\x6b\x61\x2a\x0d\xf2\x36\x45\xc8\xe4\xa4\xed\x81\x53\x81"
  1672. "\x66\x1e\xe0\x5a\xb1\x78\x2d\x0b\x5c\xb4\xd1\xfc\x90\xc6\x9c\xdb"
  1673. "\x5a\x30\x0b\x14\x7d\xbe\xb3\x7d\xb1\xb2\x76\x3c\x6c\xef\x74\x6b"
  1674. "\xe7\x1f\x64\x0c\xab\x65\xe1\x76\x5c\x3d\x83\xb5\x8a\xfb\xaf\x0f"
  1675. "\xf2\x06\x14\x8f\xa0\xf6\xc1\x89\x78\xf2\xba\x72\x73\x3c\xf7\x76"
  1676. "\x21\x67\xbc\x24\x31\xb8\x09\x65\x0f\x0c\x02\x32\x4a\x98\x14\xfc"
  1677. "\x72\x2c\x25\x60\x68\x5f\x2f\x30\x1e\x5b\xf0\x3b\xd1\xa2\x87\xa0"
  1678. "\x54\xdf\xdb\xc0\xee\x0a\x0f\x47\xc9\x90\x20\x2c\xf9\xe3\x52\xad"
  1679. "\x27\x65\x8d\x54\x8d\xa8\xa1\xf3\xed\x15\xd4\x94\x28\x90\x31\x93"
  1680. "\x1b\xc0\x51\xbb\x43\x5d\x76\x3b\x1d\x2a\x71\x50\xea\x5d\x48\x94"
  1681. "\x7f\x6f\xf1\x48\xdb\x30\xe5\xae\x64\x79\xd9\x7a\xdb\xc6\xff\xd8"
  1682. "\x5e\x5a\x64\xbd\xf6\x85\x04\xe8\x28\x6a\xac\xef\xce\x19\x8e\x9a"
  1683. "\xfe\x75\xc0\x27\x69\xe3\xb3\x7b\x21\xa7\xb1\x16\xa4\x85\x23\xee"
  1684. "\xb0\x1b\x04\x6e\xbd\xab\x16\xde\xfd\x86\x6b\xa9\x95\xd7\x0b\xfd",
  1685. .secret_size = 529,
  1686. .b_public_size = 256,
  1687. .expected_a_public_size = 256,
  1688. .expected_ss_size = 256,
  1689. }
  1690. };
  1691. static const struct kpp_testvec ffdhe2048_dh_tv_template[] __maybe_unused = {
  1692. {
  1693. .secret =
  1694. #ifdef __LITTLE_ENDIAN
  1695. "\x01\x00" /* type */
  1696. "\x10\x01" /* len */
  1697. "\x00\x01\x00\x00" /* key_size */
  1698. "\x00\x00\x00\x00" /* p_size */
  1699. "\x00\x00\x00\x00" /* g_size */
  1700. #else
  1701. "\x00\x01" /* type */
  1702. "\x01\x10" /* len */
  1703. "\x00\x00\x01\x00" /* key_size */
  1704. "\x00\x00\x00\x00" /* p_size */
  1705. "\x00\x00\x00\x00" /* g_size */
  1706. #endif
  1707. /* xa */
  1708. "\x23\x7d\xd0\x06\xfd\x7a\xe5\x7a\x08\xda\x98\x31\xc0\xb3\xd5\x85"
  1709. "\xe2\x0d\x2a\x91\x5f\x78\x4b\xa6\x62\xd0\xa6\x35\xd4\xef\x86\x39"
  1710. "\xf1\xdb\x71\x5e\xb0\x11\x2e\xee\x91\x3a\xaa\xf9\xe3\xdf\x8d\x8b"
  1711. "\x48\x41\xde\xe8\x78\x53\xc5\x5f\x93\xd2\x79\x0d\xbe\x8d\x83\xe8"
  1712. "\x8f\x00\xd2\xde\x13\x18\x04\x05\x20\x6d\xda\xfa\x1d\x0b\x24\x52"
  1713. "\x3a\x18\x2b\xe1\x1e\xae\x15\x3b\x0f\xaa\x09\x09\xf6\x01\x98\xe9"
  1714. "\x81\x5d\x6b\x83\x6e\x55\xf1\x5d\x6f\x6f\x0d\x9d\xa8\x72\x32\x63"
  1715. "\x60\xe6\x0b\xc5\x22\xe2\xf9\x46\x58\xa2\x1c\x2a\xb0\xd5\xaf\xe3"
  1716. "\x5b\x03\xb7\x36\xb7\xba\x55\x20\x08\x7c\x51\xd4\x89\x42\x9c\x14"
  1717. "\x23\xe2\x71\x3e\x15\x2a\x0d\x34\x8a\xde\xad\x84\x11\x15\x72\x18"
  1718. "\x42\x43\x0a\xe2\x58\x29\xb3\x90\x0f\x56\xd8\x8a\x0f\x0e\xbc\x0e"
  1719. "\x9c\xe7\xd5\xe6\x5b\xbf\x06\x64\x38\x12\xa5\x8d\x5b\x68\x34\xdd"
  1720. "\x75\x48\xc9\xa7\xa3\x58\x5a\x1c\xe1\xb2\xc5\xe3\x39\x03\xcf\xab"
  1721. "\xc2\x14\x07\xaf\x55\x80\xc7\x63\xe4\x03\xeb\xe9\x0a\x25\x61\x85"
  1722. "\x1d\x0e\x81\x52\x7b\xbc\x4a\x0c\xc8\x59\x6a\xac\x18\xfb\x8c\x0c"
  1723. "\xb4\x79\xbd\xa1\x4c\xbb\x02\xc9\xd5\x13\x88\x3d\x25\xaa\x77\x49",
  1724. .b_public =
  1725. "\x5c\x00\x6f\xda\xfe\x4c\x0c\xc2\x18\xff\xa9\xec\x7a\xbe\x8a\x51"
  1726. "\x64\x6b\x57\xf8\xed\xe2\x36\x77\xc1\x23\xbf\x56\xa6\x48\x76\x34"
  1727. "\x0e\xf3\x68\x05\x45\x6a\x98\x5b\x9e\x8b\xc0\x11\x29\xcb\x5b\x66"
  1728. "\x2d\xc2\xeb\x4c\xf1\x7d\x85\x30\xaa\xd5\xf5\xb8\xd3\x62\x1e\x97"
  1729. "\x1e\x34\x18\xf8\x76\x8c\x10\xca\x1f\xe4\x5d\x62\xe1\xbe\x61\xef"
  1730. "\xaf\x2c\x8d\x97\x15\xa5\x86\xd5\xd3\x12\x6f\xec\xe2\xa4\xb2\x5a"
  1731. "\x35\x1d\xd4\x91\xa6\xef\x13\x09\x65\x9c\x45\xc0\x12\xad\x7f\xee"
  1732. "\x93\x5d\xfa\x89\x26\x7d\xae\xee\xea\x8c\xa3\xcf\x04\x2d\xa0\xc7"
  1733. "\xd9\x14\x62\xaf\xdf\xa0\x33\xd7\x5e\x83\xa2\xe6\x0e\x0e\x5d\x77"
  1734. "\xce\xe6\x72\xe4\xec\x9d\xff\x72\x9f\x38\x95\x19\x96\xba\x4c\xe3"
  1735. "\x5f\xb8\x46\x4a\x1d\xe9\x62\x7b\xa8\xdc\xe7\x61\x90\x6b\xb9\xd4"
  1736. "\xad\x0b\xa3\x06\xb3\x70\xfa\xea\x2b\xc4\x2c\xde\x43\x37\xf6\x8d"
  1737. "\x72\xf0\x86\x9a\xbb\x3b\x8e\x7a\x71\x03\x30\x30\x2a\x5d\xcd\x1e"
  1738. "\xe4\xd3\x08\x07\x75\x17\x17\x72\x1e\x77\x6c\x98\x0d\x29\x7f\xac"
  1739. "\xe7\xb2\xee\xa9\x1c\x33\x9d\x08\x39\xe1\xd8\x5b\xe5\xbc\x48\xb2"
  1740. "\xb6\xdf\xcd\xa0\x42\x06\xcc\xfb\xed\x60\x6f\xbc\x57\xac\x09\x45",
  1741. .expected_a_public =
  1742. "\x8b\xdb\xc1\xf7\xc6\xba\xa1\x38\x95\x6a\xa1\xb6\x04\x5e\xae\x52"
  1743. "\x72\xfc\xef\x2d\x9d\x71\x05\x9c\xd3\x02\xa9\xfb\x55\x0f\xfa\xc9"
  1744. "\xb4\x34\x51\xa3\x28\x89\x8d\x93\x92\xcb\xd9\xb5\xb9\x66\xfc\x67"
  1745. "\x15\x92\x6f\x73\x85\x15\xe2\xfc\x11\x6b\x97\x8c\x4b\x0f\x12\xfa"
  1746. "\x8d\x72\x76\x9b\x8f\x3b\xfe\x31\xbe\x42\x88\x4c\xd2\xb2\x70\xa6"
  1747. "\xa5\xe3\x7e\x73\x07\x12\x36\xaa\xc9\x5c\x83\xe1\xf1\x46\x41\x4f"
  1748. "\x7c\x52\xaf\xdc\xa4\xe6\x82\xa3\x86\x83\x47\x5a\x12\x3a\x0c\xe3"
  1749. "\xdd\xdb\x94\x03\x2a\x59\x91\xa0\x19\xe5\xf8\x07\xdd\x54\x6a\x22"
  1750. "\x43\xb7\xf3\x74\xd7\xb9\x30\xfe\x9c\xe8\xd1\xcf\x06\x43\x68\xb9"
  1751. "\x54\x8f\x54\xa2\xe5\x3c\xf2\xc3\x4c\xee\xd4\x7c\x5d\x0e\xb1\x7b"
  1752. "\x16\x68\xb5\xb3\x7d\xd4\x11\x83\x5c\x77\x17\xc4\xf0\x59\x76\x7a"
  1753. "\x83\x40\xe5\xd9\x4c\x76\x23\x5b\x17\x6d\xee\x4a\x92\x68\x4b\x89"
  1754. "\xa0\x6d\x23\x8c\x80\x31\x33\x3a\x12\xf4\x50\xa6\xcb\x13\x97\x01"
  1755. "\xb8\x2c\xe6\xd2\x38\xdf\xd0\x7f\xc6\x27\x19\x0e\xb2\x07\xfd\x1f"
  1756. "\x1b\x9c\x1b\x87\xf9\x73\x6a\x3f\x7f\xb0\xf9\x2f\x3c\x19\x9f\xc9"
  1757. "\x8f\x97\x21\x0e\x8e\xbb\x1a\x17\x20\x15\xdd\xc6\x42\x60\xae\x4d",
  1758. .expected_ss =
  1759. "\xf3\x0e\x64\x7b\x66\xd7\x82\x7e\xab\x7e\x4a\xbe\x13\x6f\x43\x3d"
  1760. "\xea\x4f\x1f\x8b\x9d\x41\x56\x71\xe1\x06\x96\x02\x68\xfa\x44\x6e"
  1761. "\xe7\xf2\x26\xd4\x01\x4a\xf0\x28\x25\x76\xad\xd7\xe0\x17\x74\xfe"
  1762. "\xf9\xe1\x6d\xd3\xf7\xc7\xdf\xc0\x62\xa5\xf3\x4e\x1b\x5c\x77\x2a"
  1763. "\xfb\x0b\x87\xc3\xde\x1e\xc1\xe0\xd3\x7a\xb8\x02\x02\xec\x9c\x97"
  1764. "\xfb\x34\xa0\x20\x10\x23\x87\xb2\x9a\x72\xe3\x3d\xb2\x18\x50\xf3"
  1765. "\x6a\xd3\xd3\x19\xc4\x36\xd5\x59\xd6\xd6\xa7\x5c\xc3\xf9\x09\x33"
  1766. "\xa1\xf5\xb9\x4b\xf3\x0b\xe1\x4f\x79\x6b\x45\xf2\xec\x8b\xe5\x69"
  1767. "\x9f\xc6\x05\x01\xfe\x3a\x13\xfd\x6d\xea\x03\x83\x29\x7c\x7f\xf5"
  1768. "\x41\x55\x95\xde\x7e\x62\xae\xaf\x28\xdb\x7c\xa9\x90\x1e\xb2\xb1"
  1769. "\x1b\xef\xf1\x2e\xde\x47\xaa\xa8\x92\x9a\x49\x3d\xc0\xe0\x8d\xbb"
  1770. "\x0c\x42\x86\xaf\x00\xce\xb0\xab\x22\x7c\xe9\xbe\xb9\x72\x2f\xcf"
  1771. "\x5e\x5d\x62\x52\x2a\xd1\xfe\xcc\xa2\xf3\x40\xfd\x01\xa7\x54\x0a"
  1772. "\xa1\xfb\x1c\xf2\x44\xa6\x47\x30\x5a\xba\x2a\x05\xff\xd0\x6c\xab"
  1773. "\xeb\xe6\x8f\xf6\xd7\x73\xa3\x0e\x6c\x0e\xcf\xfd\x8e\x16\x5d\xe0"
  1774. "\x2c\x11\x05\x82\x3c\x22\x16\x6c\x52\x61\xcf\xbb\xff\xf8\x06\xd0",
  1775. .secret_size = 272,
  1776. .b_public_size = 256,
  1777. .expected_a_public_size = 256,
  1778. .expected_ss_size = 256,
  1779. },
  1780. {
  1781. .secret =
  1782. #ifdef __LITTLE_ENDIAN
  1783. "\x01\x00" /* type */
  1784. "\x10\x00" /* len */
  1785. "\x00\x00\x00\x00" /* key_size */
  1786. "\x00\x00\x00\x00" /* p_size */
  1787. "\x00\x00\x00\x00", /* g_size */
  1788. #else
  1789. "\x00\x01" /* type */
  1790. "\x00\x10" /* len */
  1791. "\x00\x00\x00\x00" /* key_size */
  1792. "\x00\x00\x00\x00" /* p_size */
  1793. "\x00\x00\x00\x00", /* g_size */
  1794. #endif
  1795. .b_secret =
  1796. #ifdef __LITTLE_ENDIAN
  1797. "\x01\x00" /* type */
  1798. "\x10\x01" /* len */
  1799. "\x00\x01\x00\x00" /* key_size */
  1800. "\x00\x00\x00\x00" /* p_size */
  1801. "\x00\x00\x00\x00" /* g_size */
  1802. #else
  1803. "\x00\x01" /* type */
  1804. "\x01\x10" /* len */
  1805. "\x00\x00\x01\x00" /* key_size */
  1806. "\x00\x00\x00\x00" /* p_size */
  1807. "\x00\x00\x00\x00" /* g_size */
  1808. #endif
  1809. /* xa */
  1810. "\x23\x7d\xd0\x06\xfd\x7a\xe5\x7a\x08\xda\x98\x31\xc0\xb3\xd5\x85"
  1811. "\xe2\x0d\x2a\x91\x5f\x78\x4b\xa6\x62\xd0\xa6\x35\xd4\xef\x86\x39"
  1812. "\xf1\xdb\x71\x5e\xb0\x11\x2e\xee\x91\x3a\xaa\xf9\xe3\xdf\x8d\x8b"
  1813. "\x48\x41\xde\xe8\x78\x53\xc5\x5f\x93\xd2\x79\x0d\xbe\x8d\x83\xe8"
  1814. "\x8f\x00\xd2\xde\x13\x18\x04\x05\x20\x6d\xda\xfa\x1d\x0b\x24\x52"
  1815. "\x3a\x18\x2b\xe1\x1e\xae\x15\x3b\x0f\xaa\x09\x09\xf6\x01\x98\xe9"
  1816. "\x81\x5d\x6b\x83\x6e\x55\xf1\x5d\x6f\x6f\x0d\x9d\xa8\x72\x32\x63"
  1817. "\x60\xe6\x0b\xc5\x22\xe2\xf9\x46\x58\xa2\x1c\x2a\xb0\xd5\xaf\xe3"
  1818. "\x5b\x03\xb7\x36\xb7\xba\x55\x20\x08\x7c\x51\xd4\x89\x42\x9c\x14"
  1819. "\x23\xe2\x71\x3e\x15\x2a\x0d\x34\x8a\xde\xad\x84\x11\x15\x72\x18"
  1820. "\x42\x43\x0a\xe2\x58\x29\xb3\x90\x0f\x56\xd8\x8a\x0f\x0e\xbc\x0e"
  1821. "\x9c\xe7\xd5\xe6\x5b\xbf\x06\x64\x38\x12\xa5\x8d\x5b\x68\x34\xdd"
  1822. "\x75\x48\xc9\xa7\xa3\x58\x5a\x1c\xe1\xb2\xc5\xe3\x39\x03\xcf\xab"
  1823. "\xc2\x14\x07\xaf\x55\x80\xc7\x63\xe4\x03\xeb\xe9\x0a\x25\x61\x85"
  1824. "\x1d\x0e\x81\x52\x7b\xbc\x4a\x0c\xc8\x59\x6a\xac\x18\xfb\x8c\x0c"
  1825. "\xb4\x79\xbd\xa1\x4c\xbb\x02\xc9\xd5\x13\x88\x3d\x25\xaa\x77\x49",
  1826. .b_public =
  1827. "\x8b\xdb\xc1\xf7\xc6\xba\xa1\x38\x95\x6a\xa1\xb6\x04\x5e\xae\x52"
  1828. "\x72\xfc\xef\x2d\x9d\x71\x05\x9c\xd3\x02\xa9\xfb\x55\x0f\xfa\xc9"
  1829. "\xb4\x34\x51\xa3\x28\x89\x8d\x93\x92\xcb\xd9\xb5\xb9\x66\xfc\x67"
  1830. "\x15\x92\x6f\x73\x85\x15\xe2\xfc\x11\x6b\x97\x8c\x4b\x0f\x12\xfa"
  1831. "\x8d\x72\x76\x9b\x8f\x3b\xfe\x31\xbe\x42\x88\x4c\xd2\xb2\x70\xa6"
  1832. "\xa5\xe3\x7e\x73\x07\x12\x36\xaa\xc9\x5c\x83\xe1\xf1\x46\x41\x4f"
  1833. "\x7c\x52\xaf\xdc\xa4\xe6\x82\xa3\x86\x83\x47\x5a\x12\x3a\x0c\xe3"
  1834. "\xdd\xdb\x94\x03\x2a\x59\x91\xa0\x19\xe5\xf8\x07\xdd\x54\x6a\x22"
  1835. "\x43\xb7\xf3\x74\xd7\xb9\x30\xfe\x9c\xe8\xd1\xcf\x06\x43\x68\xb9"
  1836. "\x54\x8f\x54\xa2\xe5\x3c\xf2\xc3\x4c\xee\xd4\x7c\x5d\x0e\xb1\x7b"
  1837. "\x16\x68\xb5\xb3\x7d\xd4\x11\x83\x5c\x77\x17\xc4\xf0\x59\x76\x7a"
  1838. "\x83\x40\xe5\xd9\x4c\x76\x23\x5b\x17\x6d\xee\x4a\x92\x68\x4b\x89"
  1839. "\xa0\x6d\x23\x8c\x80\x31\x33\x3a\x12\xf4\x50\xa6\xcb\x13\x97\x01"
  1840. "\xb8\x2c\xe6\xd2\x38\xdf\xd0\x7f\xc6\x27\x19\x0e\xb2\x07\xfd\x1f"
  1841. "\x1b\x9c\x1b\x87\xf9\x73\x6a\x3f\x7f\xb0\xf9\x2f\x3c\x19\x9f\xc9"
  1842. "\x8f\x97\x21\x0e\x8e\xbb\x1a\x17\x20\x15\xdd\xc6\x42\x60\xae\x4d",
  1843. .secret_size = 16,
  1844. .b_secret_size = 272,
  1845. .b_public_size = 256,
  1846. .expected_a_public_size = 256,
  1847. .expected_ss_size = 256,
  1848. .genkey = true,
  1849. },
  1850. };
  1851. static const struct kpp_testvec ffdhe3072_dh_tv_template[] __maybe_unused = {
  1852. {
  1853. .secret =
  1854. #ifdef __LITTLE_ENDIAN
  1855. "\x01\x00" /* type */
  1856. "\x90\x01" /* len */
  1857. "\x80\x01\x00\x00" /* key_size */
  1858. "\x00\x00\x00\x00" /* p_size */
  1859. "\x00\x00\x00\x00" /* g_size */
  1860. #else
  1861. "\x00\x01" /* type */
  1862. "\x01\x90" /* len */
  1863. "\x00\x00\x01\x80" /* key_size */
  1864. "\x00\x00\x00\x00" /* p_size */
  1865. "\x00\x00\x00\x00" /* g_size */
  1866. #endif
  1867. /* xa */
  1868. "\x6b\xb4\x97\x23\xfa\xc8\x5e\xa9\x7b\x63\xe7\x3e\x0e\x99\xc3\xb9"
  1869. "\xda\xb7\x48\x0d\xc3\xb1\xbf\x4f\x17\xc7\xa9\x51\xf6\x64\xff\xc4"
  1870. "\x31\x58\x87\x25\x83\x2c\x00\xf0\x41\x29\xf7\xee\xf9\xe6\x36\x76"
  1871. "\xd6\x3a\x24\xbe\xa7\x07\x0b\x93\xc7\x9f\x6c\x75\x0a\x26\x75\x76"
  1872. "\xe3\x0c\x42\xe0\x00\x04\x69\xd9\xec\x0b\x59\x54\x28\x8f\xd7\x9a"
  1873. "\x63\xf4\x5b\xdf\x85\x65\xc4\xe1\x95\x27\x4a\x42\xad\x36\x47\xa9"
  1874. "\x0a\xf8\x14\x1c\xf3\x94\x3b\x7e\x47\x99\x35\xa8\x18\xec\x70\x10"
  1875. "\xdf\xcb\xd2\x78\x88\xc1\x2d\x59\x93\xc1\xa4\x6d\xd7\x1d\xb9\xd5"
  1876. "\xf8\x30\x06\x7f\x98\x90\x0c\x74\x5e\x89\x2f\x64\x5a\xad\x5f\x53"
  1877. "\xb2\xa3\xa8\x83\xbf\xfc\x37\xef\xb8\x36\x0a\x5c\x62\x81\x64\x74"
  1878. "\x16\x2f\x45\x39\x2a\x91\x26\x87\xc0\x12\xcc\x75\x11\xa3\xa1\xc5"
  1879. "\xae\x20\xcf\xcb\x20\x25\x6b\x7a\x31\x93\x9d\x38\xb9\x57\x72\x46"
  1880. "\xd4\x84\x65\x87\xf1\xb5\xd3\xab\xfc\xc3\x4d\x40\x92\x94\x1e\xcd"
  1881. "\x1c\x87\xec\x3f\xcd\xbe\xd0\x95\x6b\x40\x02\xdd\x62\xeb\x0a\xda"
  1882. "\x4f\xbe\x8e\x32\x48\x8b\x6d\x83\xa0\x96\x62\x23\xec\x83\x91\x44"
  1883. "\xf9\x72\x01\xac\xa0\xe4\x72\x1d\x5a\x75\x05\x57\x90\xae\x7e\xb4"
  1884. "\x71\x39\x01\x05\xdc\xe9\xee\xcb\xf0\x61\x28\x91\x69\x8c\x31\x03"
  1885. "\x7a\x92\x15\xa1\x58\x67\x3d\x70\x82\xa6\x2c\xfe\x10\x56\x58\xd3"
  1886. "\x94\x67\xe1\xbe\xee\xc1\x64\x5c\x4b\xc8\x28\x3d\xc5\x66\x3a\xab"
  1887. "\x22\xc1\x7e\xa1\xbb\xf3\x19\x3b\xda\x46\x82\x45\xd4\x3c\x7c\xc6"
  1888. "\xce\x1f\x7f\x95\xa2\x17\xff\x88\xba\xd6\x4d\xdb\xd2\xea\xde\x39"
  1889. "\xd6\xa5\x18\x73\xbb\x64\x6e\x79\xe9\xdc\x3f\x92\x7f\xda\x1f\x49"
  1890. "\x33\x70\x65\x73\xa2\xd9\x06\xb8\x1b\x29\x29\x1a\xe0\xa3\xe6\x05"
  1891. "\x9a\xa8\xc2\x4e\x7a\x78\x1d\x22\x57\x21\xc8\xa3\x8d\x66\x3e\x23",
  1892. .b_public =
  1893. "\x73\x40\x8b\xce\xe8\x6a\x1c\x03\x50\x54\x42\x36\x22\xc6\x1d\xe8"
  1894. "\xe1\xef\x5c\x89\xa5\x55\xc1\xc4\x1c\xd7\x4f\xee\x5d\xba\x62\x60"
  1895. "\xfe\x93\x2f\xfd\x93\x2c\x8f\x70\xc6\x47\x17\x25\xb2\x95\xd7\x7d"
  1896. "\x41\x81\x4d\x52\x1c\xbe\x4d\x57\x3e\x26\x51\x28\x03\x8f\x67\xf5"
  1897. "\x22\x16\x1c\x67\xf7\x62\xcb\xfd\xa3\xee\x8d\xe0\xfa\x15\x9a\x53"
  1898. "\xbe\x7b\x9f\xc0\x12\x7a\xfc\x5e\x77\x2d\x60\x06\xba\x71\xc5\xca"
  1899. "\xd7\x26\xaf\x3b\xba\x6f\xd3\xc4\x82\x57\x19\x26\xb0\x16\x7b\xbd"
  1900. "\x83\xf2\x21\x03\x79\xff\x0a\x6f\xc5\x7b\x00\x15\xad\x5b\xf4\x42"
  1901. "\x1f\xcb\x7f\x3d\x34\x77\x3c\xc3\xe0\x38\xa5\x40\x51\xbe\x6f\xd9"
  1902. "\xc9\x77\x9c\xfc\x0d\xc1\x8e\xef\x0f\xaa\x5e\xa8\xbb\x16\x4a\x3e"
  1903. "\x26\x55\xae\xc1\xb6\x3e\xfd\x73\xf7\x59\xd2\xe5\x4b\x91\x8e\x28"
  1904. "\x77\x1e\x5a\xe2\xcd\xce\x92\x35\xbb\x1e\xbb\xcf\x79\x94\xdf\x31"
  1905. "\xde\x31\xa8\x75\xf6\xe0\xaa\x2e\xe9\x4f\x44\xc8\xba\xb9\xab\x80"
  1906. "\x29\xa1\xea\x58\x2e\x40\x96\xa0\x1a\xf5\x2c\x38\x47\x43\x5d\x26"
  1907. "\x2c\xd8\xad\xea\xd3\xad\xe8\x51\x49\xad\x45\x2b\x25\x7c\xde\xe4"
  1908. "\xaf\x03\x2a\x39\x26\x86\x66\x10\xbc\xa8\x71\xda\xe0\xe8\xf1\xdd"
  1909. "\x50\xff\x44\xb2\xd3\xc7\xff\x66\x63\xf6\x42\xe3\x97\x9d\x9e\xf4"
  1910. "\xa6\x89\xb9\xab\x12\x17\xf2\x85\x56\x9c\x6b\x24\x71\x83\x57\x7d"
  1911. "\x3c\x7b\x2b\x88\x92\x19\xd7\x1a\x00\xd5\x38\x94\x43\x60\x4d\xa7"
  1912. "\x12\x9e\x0d\xf6\x5c\x9a\xd3\xe2\x9e\xb1\x21\xe8\xe2\x9e\xe9\x1e"
  1913. "\x9d\xa5\x94\x95\xa6\x3d\x12\x15\xd8\x8b\xac\xe0\x8c\xde\xe6\x40"
  1914. "\x98\xaa\x5e\x55\x4f\x3d\x86\x87\x0d\xe3\xc6\x68\x15\xe6\xde\x17"
  1915. "\x78\x21\xc8\x6c\x06\xc7\x94\x56\xb4\xaf\xa2\x35\x0b\x0c\x97\xd7"
  1916. "\xa4\x12\xee\xf4\xd2\xef\x80\x28\xb3\xee\xe9\x15\x8b\x01\x32\x79",
  1917. .expected_a_public =
  1918. "\x1b\x6a\xba\xea\xa3\xcc\x50\x69\xa9\x41\x89\xaf\x04\xe1\x44\x22"
  1919. "\x97\x20\xd1\xf6\x1e\xcb\x64\x36\x6f\xee\x0b\x16\xc1\xd9\x91\xbe"
  1920. "\x57\xc8\xd9\xf2\xa1\x96\x91\xec\x41\xc7\x79\x00\x1a\x48\x25\x55"
  1921. "\xbe\xf3\x20\x8c\x38\xc6\x7b\xf2\x8b\x5a\xc3\xb5\x87\x0a\x86\x3d"
  1922. "\xb7\xd6\xce\xb0\x96\x2e\x5d\xc4\x00\x5e\x42\xe4\xe5\x50\x4f\xb8"
  1923. "\x6f\x18\xa4\xe1\xd3\x20\xfc\x3c\xf5\x0a\xff\x23\xa6\x5b\xb4\x17"
  1924. "\x3e\x7b\xdf\xb9\xb5\x3c\x1b\x76\x29\xcd\xb4\x46\x4f\x27\x8f\xd2"
  1925. "\xe8\x27\x66\xdb\xe8\xb3\xf5\xe1\xd0\x04\xcd\x89\xff\xba\x76\x67"
  1926. "\xe8\x4d\xcf\x86\x1c\x8a\xd1\xcf\x99\x27\xfb\xa9\x78\xcc\x94\xaf"
  1927. "\x3d\x04\xfd\x25\xc0\x47\xfa\x29\x80\x05\xf4\xde\xad\xdb\xab\x12"
  1928. "\xb0\x2b\x8e\xca\x02\x06\x6d\xad\x3e\x09\xb1\x22\xa3\xf5\x4c\x6d"
  1929. "\x69\x99\x58\x8b\xd8\x45\x2e\xe0\xc9\x3c\xf7\x92\xce\x21\x90\x6b"
  1930. "\x3b\x65\x9f\x64\x79\x8d\x67\x22\x1a\x37\xd3\xee\x51\xe2\xe7\x5a"
  1931. "\x93\x51\xaa\x3c\x4b\x04\x16\x32\xef\xe3\x66\xbe\x18\x94\x88\x64"
  1932. "\x79\xce\x06\x3f\xb8\xd6\xee\xdc\x13\x79\x6f\x20\x14\xc2\x6b\xce"
  1933. "\xc8\xda\x42\xa5\x93\x5b\xe4\x7f\x1a\xe6\xda\x0f\xb3\xc1\x5f\x30"
  1934. "\x50\x76\xe8\x37\x3d\xca\x77\x2c\xa8\xe4\x3b\xf9\x6f\xe0\x17\xed"
  1935. "\x0e\xef\xb7\x31\x14\xb5\xea\xd9\x39\x22\x89\xb6\x40\x57\xcc\x84"
  1936. "\xef\x73\xa7\xe9\x27\x21\x85\x89\xfa\xaf\x03\xda\x9c\x8b\xfd\x52"
  1937. "\x7d\xb0\xa4\xe4\xf9\xd8\x90\x55\xc4\x39\xd6\x9d\xaf\x3b\xce\xac"
  1938. "\xaa\x36\x14\x7a\x9b\x8b\x12\x43\xe1\xca\x61\xae\x46\x5b\xe7\xe5"
  1939. "\x88\x32\x80\xa0\x2d\x51\xbb\x2f\xea\xeb\x3c\x71\xb2\xae\xce\xca"
  1940. "\x61\xd2\x76\xe0\x45\x46\x78\x4e\x09\x2d\xc2\x54\xc2\xa9\xc7\xa8"
  1941. "\x55\x8e\x72\xa4\x8b\x8a\xc9\x01\xdb\xe9\x58\x11\xa1\xc4\xe7\x12",
  1942. .expected_ss =
  1943. "\x47\x8e\xb2\x19\x09\xf0\x46\x99\x6b\x41\x86\xf7\x34\xad\xbf\x2a"
  1944. "\x18\x1b\x7d\xec\xa9\xb2\x47\x2f\x40\xfb\x9a\x64\x30\x44\xf3\x4c"
  1945. "\x01\x67\xad\x57\x5a\xbc\xd4\xc8\xef\x7e\x8a\x14\x74\x1d\x6d\x8c"
  1946. "\x7b\xce\xc5\x57\x5f\x95\xe8\x72\xba\xdf\xa3\xcd\x00\xbe\x09\x4c"
  1947. "\x06\x72\xe7\x17\xb0\xe5\xe5\xb7\x20\xa5\xcb\xd9\x68\x99\xad\x3f"
  1948. "\xde\xf3\xde\x1d\x1c\x00\x74\xd2\xd1\x57\x55\x5d\xce\x76\x0c\xc4"
  1949. "\x7a\xc4\x65\x7c\x19\x17\x0a\x09\x66\x7d\x3a\xab\xf7\x61\x3a\xe3"
  1950. "\x5b\xac\xcf\x69\xb0\x8b\xee\x5d\x28\x36\xbb\x3f\x74\xce\x6e\x38"
  1951. "\x1e\x39\xab\x26\xca\x89\xdc\x58\x59\xcb\x95\xe4\xbc\xd6\x19\x48"
  1952. "\xd0\x55\x68\x7b\xb4\x27\x95\x3c\xd9\x58\x10\x4f\x8f\x55\x1c\x3f"
  1953. "\x04\xce\x89\x1f\x82\x28\xe9\x48\x17\x47\x8f\xee\xb7\x8f\xeb\xb1"
  1954. "\x29\xa8\x23\x18\x73\x33\x9f\x83\x08\xca\xcd\x54\x6e\xca\xec\x78"
  1955. "\x7b\x16\x83\x3f\xdb\x0a\xef\xfd\x87\x94\x19\x08\x6e\x6e\x22\x57"
  1956. "\xd7\xd2\x79\xf9\xf6\xeb\xe0\x6c\x93\x9d\x95\xfa\x41\x7a\xa9\xd6"
  1957. "\x2a\xa3\x26\x9b\x24\x1b\x8b\xa0\xed\x04\xb2\xe4\x6c\x4e\xc4\x3f"
  1958. "\x61\xe5\xe0\x4d\x09\x28\xaf\x58\x35\x25\x0b\xd5\x38\x18\x69\x51"
  1959. "\x18\x51\x73\x7b\x28\x19\x9f\xe4\x69\xfc\x2c\x25\x08\x99\x8f\x62"
  1960. "\x65\x62\xa5\x28\xf1\xf4\xfb\x02\x29\x27\xb0\x5e\xbb\x4f\xf9\x1a"
  1961. "\xa7\xc4\x38\x63\x5b\x01\xfe\x00\x66\xe3\x47\x77\x21\x85\x17\xd5"
  1962. "\x34\x19\xd3\x87\xab\x44\x62\x08\x59\xb2\x6b\x1f\x21\x0c\x23\x84"
  1963. "\xf7\xba\x92\x67\xf9\x16\x85\x6a\xe0\xeb\xe7\x4f\x06\x80\x81\x81"
  1964. "\x28\x9c\xe8\x2e\x71\x97\x48\xe0\xd1\xbc\xce\xe9\x42\x2c\x89\xdf"
  1965. "\x0b\xa9\xa1\x07\x84\x33\x78\x7f\x49\x2f\x1c\x55\xc3\x7f\xc3\x37"
  1966. "\x40\xdf\x13\xf4\xa0\x21\x79\x6e\x3a\xe3\xb8\x23\x9e\x8a\x6e\x9c",
  1967. .secret_size = 400,
  1968. .b_public_size = 384,
  1969. .expected_a_public_size = 384,
  1970. .expected_ss_size = 384,
  1971. },
  1972. {
  1973. .secret =
  1974. #ifdef __LITTLE_ENDIAN
  1975. "\x01\x00" /* type */
  1976. "\x10\x00" /* len */
  1977. "\x00\x00\x00\x00" /* key_size */
  1978. "\x00\x00\x00\x00" /* p_size */
  1979. "\x00\x00\x00\x00", /* g_size */
  1980. #else
  1981. "\x00\x01" /* type */
  1982. "\x00\x10" /* len */
  1983. "\x00\x00\x00\x00" /* key_size */
  1984. "\x00\x00\x00\x00" /* p_size */
  1985. "\x00\x00\x00\x00", /* g_size */
  1986. #endif
  1987. .b_secret =
  1988. #ifdef __LITTLE_ENDIAN
  1989. "\x01\x00" /* type */
  1990. "\x90\x01" /* len */
  1991. "\x80\x01\x00\x00" /* key_size */
  1992. "\x00\x00\x00\x00" /* p_size */
  1993. "\x00\x00\x00\x00" /* g_size */
  1994. #else
  1995. "\x00\x01" /* type */
  1996. "\x01\x90" /* len */
  1997. "\x00\x00\x01\x80" /* key_size */
  1998. "\x00\x00\x00\x00" /* p_size */
  1999. "\x00\x00\x00\x00" /* g_size */
  2000. #endif
  2001. /* xa */
  2002. "\x6b\xb4\x97\x23\xfa\xc8\x5e\xa9\x7b\x63\xe7\x3e\x0e\x99\xc3\xb9"
  2003. "\xda\xb7\x48\x0d\xc3\xb1\xbf\x4f\x17\xc7\xa9\x51\xf6\x64\xff\xc4"
  2004. "\x31\x58\x87\x25\x83\x2c\x00\xf0\x41\x29\xf7\xee\xf9\xe6\x36\x76"
  2005. "\xd6\x3a\x24\xbe\xa7\x07\x0b\x93\xc7\x9f\x6c\x75\x0a\x26\x75\x76"
  2006. "\xe3\x0c\x42\xe0\x00\x04\x69\xd9\xec\x0b\x59\x54\x28\x8f\xd7\x9a"
  2007. "\x63\xf4\x5b\xdf\x85\x65\xc4\xe1\x95\x27\x4a\x42\xad\x36\x47\xa9"
  2008. "\x0a\xf8\x14\x1c\xf3\x94\x3b\x7e\x47\x99\x35\xa8\x18\xec\x70\x10"
  2009. "\xdf\xcb\xd2\x78\x88\xc1\x2d\x59\x93\xc1\xa4\x6d\xd7\x1d\xb9\xd5"
  2010. "\xf8\x30\x06\x7f\x98\x90\x0c\x74\x5e\x89\x2f\x64\x5a\xad\x5f\x53"
  2011. "\xb2\xa3\xa8\x83\xbf\xfc\x37\xef\xb8\x36\x0a\x5c\x62\x81\x64\x74"
  2012. "\x16\x2f\x45\x39\x2a\x91\x26\x87\xc0\x12\xcc\x75\x11\xa3\xa1\xc5"
  2013. "\xae\x20\xcf\xcb\x20\x25\x6b\x7a\x31\x93\x9d\x38\xb9\x57\x72\x46"
  2014. "\xd4\x84\x65\x87\xf1\xb5\xd3\xab\xfc\xc3\x4d\x40\x92\x94\x1e\xcd"
  2015. "\x1c\x87\xec\x3f\xcd\xbe\xd0\x95\x6b\x40\x02\xdd\x62\xeb\x0a\xda"
  2016. "\x4f\xbe\x8e\x32\x48\x8b\x6d\x83\xa0\x96\x62\x23\xec\x83\x91\x44"
  2017. "\xf9\x72\x01\xac\xa0\xe4\x72\x1d\x5a\x75\x05\x57\x90\xae\x7e\xb4"
  2018. "\x71\x39\x01\x05\xdc\xe9\xee\xcb\xf0\x61\x28\x91\x69\x8c\x31\x03"
  2019. "\x7a\x92\x15\xa1\x58\x67\x3d\x70\x82\xa6\x2c\xfe\x10\x56\x58\xd3"
  2020. "\x94\x67\xe1\xbe\xee\xc1\x64\x5c\x4b\xc8\x28\x3d\xc5\x66\x3a\xab"
  2021. "\x22\xc1\x7e\xa1\xbb\xf3\x19\x3b\xda\x46\x82\x45\xd4\x3c\x7c\xc6"
  2022. "\xce\x1f\x7f\x95\xa2\x17\xff\x88\xba\xd6\x4d\xdb\xd2\xea\xde\x39"
  2023. "\xd6\xa5\x18\x73\xbb\x64\x6e\x79\xe9\xdc\x3f\x92\x7f\xda\x1f\x49"
  2024. "\x33\x70\x65\x73\xa2\xd9\x06\xb8\x1b\x29\x29\x1a\xe0\xa3\xe6\x05"
  2025. "\x9a\xa8\xc2\x4e\x7a\x78\x1d\x22\x57\x21\xc8\xa3\x8d\x66\x3e\x23",
  2026. .b_public =
  2027. "\x1b\x6a\xba\xea\xa3\xcc\x50\x69\xa9\x41\x89\xaf\x04\xe1\x44\x22"
  2028. "\x97\x20\xd1\xf6\x1e\xcb\x64\x36\x6f\xee\x0b\x16\xc1\xd9\x91\xbe"
  2029. "\x57\xc8\xd9\xf2\xa1\x96\x91\xec\x41\xc7\x79\x00\x1a\x48\x25\x55"
  2030. "\xbe\xf3\x20\x8c\x38\xc6\x7b\xf2\x8b\x5a\xc3\xb5\x87\x0a\x86\x3d"
  2031. "\xb7\xd6\xce\xb0\x96\x2e\x5d\xc4\x00\x5e\x42\xe4\xe5\x50\x4f\xb8"
  2032. "\x6f\x18\xa4\xe1\xd3\x20\xfc\x3c\xf5\x0a\xff\x23\xa6\x5b\xb4\x17"
  2033. "\x3e\x7b\xdf\xb9\xb5\x3c\x1b\x76\x29\xcd\xb4\x46\x4f\x27\x8f\xd2"
  2034. "\xe8\x27\x66\xdb\xe8\xb3\xf5\xe1\xd0\x04\xcd\x89\xff\xba\x76\x67"
  2035. "\xe8\x4d\xcf\x86\x1c\x8a\xd1\xcf\x99\x27\xfb\xa9\x78\xcc\x94\xaf"
  2036. "\x3d\x04\xfd\x25\xc0\x47\xfa\x29\x80\x05\xf4\xde\xad\xdb\xab\x12"
  2037. "\xb0\x2b\x8e\xca\x02\x06\x6d\xad\x3e\x09\xb1\x22\xa3\xf5\x4c\x6d"
  2038. "\x69\x99\x58\x8b\xd8\x45\x2e\xe0\xc9\x3c\xf7\x92\xce\x21\x90\x6b"
  2039. "\x3b\x65\x9f\x64\x79\x8d\x67\x22\x1a\x37\xd3\xee\x51\xe2\xe7\x5a"
  2040. "\x93\x51\xaa\x3c\x4b\x04\x16\x32\xef\xe3\x66\xbe\x18\x94\x88\x64"
  2041. "\x79\xce\x06\x3f\xb8\xd6\xee\xdc\x13\x79\x6f\x20\x14\xc2\x6b\xce"
  2042. "\xc8\xda\x42\xa5\x93\x5b\xe4\x7f\x1a\xe6\xda\x0f\xb3\xc1\x5f\x30"
  2043. "\x50\x76\xe8\x37\x3d\xca\x77\x2c\xa8\xe4\x3b\xf9\x6f\xe0\x17\xed"
  2044. "\x0e\xef\xb7\x31\x14\xb5\xea\xd9\x39\x22\x89\xb6\x40\x57\xcc\x84"
  2045. "\xef\x73\xa7\xe9\x27\x21\x85\x89\xfa\xaf\x03\xda\x9c\x8b\xfd\x52"
  2046. "\x7d\xb0\xa4\xe4\xf9\xd8\x90\x55\xc4\x39\xd6\x9d\xaf\x3b\xce\xac"
  2047. "\xaa\x36\x14\x7a\x9b\x8b\x12\x43\xe1\xca\x61\xae\x46\x5b\xe7\xe5"
  2048. "\x88\x32\x80\xa0\x2d\x51\xbb\x2f\xea\xeb\x3c\x71\xb2\xae\xce\xca"
  2049. "\x61\xd2\x76\xe0\x45\x46\x78\x4e\x09\x2d\xc2\x54\xc2\xa9\xc7\xa8"
  2050. "\x55\x8e\x72\xa4\x8b\x8a\xc9\x01\xdb\xe9\x58\x11\xa1\xc4\xe7\x12",
  2051. .secret_size = 16,
  2052. .b_secret_size = 400,
  2053. .b_public_size = 384,
  2054. .expected_a_public_size = 384,
  2055. .expected_ss_size = 384,
  2056. .genkey = true,
  2057. },
  2058. };
  2059. static const struct kpp_testvec ffdhe4096_dh_tv_template[] __maybe_unused = {
  2060. {
  2061. .secret =
  2062. #ifdef __LITTLE_ENDIAN
  2063. "\x01\x00" /* type */
  2064. "\x10\x02" /* len */
  2065. "\x00\x02\x00\x00" /* key_size */
  2066. "\x00\x00\x00\x00" /* p_size */
  2067. "\x00\x00\x00\x00" /* g_size */
  2068. #else
  2069. "\x00\x01" /* type */
  2070. "\x02\x10" /* len */
  2071. "\x00\x00\x02\x00" /* key_size */
  2072. "\x00\x00\x00\x00" /* p_size */
  2073. "\x00\x00\x00\x00" /* g_size */
  2074. #endif
  2075. /* xa */
  2076. "\x1a\x48\xf3\x6c\x61\x03\x42\x43\xd7\x42\x3b\xfa\xdb\x55\x6f\xa2"
  2077. "\xe1\x79\x52\x0b\x47\xc5\x03\x60\x2f\x26\xb9\x1a\x14\x15\x1a\xd9"
  2078. "\xe0\xbb\xa7\x82\x63\x41\xec\x26\x55\x00\xab\xe5\x21\x9d\x31\x14"
  2079. "\x0e\xe2\xc2\xb2\xb8\x37\xe6\xc3\x5a\xab\xae\x25\xdb\x71\x1e\xed"
  2080. "\xe8\x75\x9a\x04\xa7\x92\x2a\x99\x7e\xc0\x5b\x64\x75\x7f\xe5\xb5"
  2081. "\xdb\x6c\x95\x4f\xe9\xdc\x39\x76\x79\xb0\xf7\x00\x30\x8e\x86\xe7"
  2082. "\x36\xd1\xd2\x0c\x68\x7b\x94\xe9\x91\x85\x08\x86\xbc\x64\x87\xd2"
  2083. "\xf5\x5b\xaf\x03\xf6\x5f\x28\x25\xf1\xa3\x20\x5c\x1b\xb5\x26\x45"
  2084. "\x9a\x47\xab\xd6\xad\x49\xab\x92\x8e\x62\x6f\x48\x31\xea\xf6\x76"
  2085. "\xff\xa2\xb6\x28\x78\xef\x59\xc3\x71\x5d\xa8\xd9\x70\x89\xcc\xe2"
  2086. "\x63\x58\x5e\x3a\xa2\xa2\x88\xbf\x77\x20\x84\x33\x65\x64\x4e\x73"
  2087. "\xe5\x08\xd5\x89\x23\xd6\x07\xac\x29\x65\x2e\x02\xa8\x35\x96\x48"
  2088. "\xe7\x5d\x43\x6a\x42\xcc\xda\x98\xc4\x75\x90\x2e\xf6\xc4\xbf\xd4"
  2089. "\xbc\x31\x14\x0d\x54\x30\x11\xb2\xc9\xcf\xbb\xba\xbc\xc6\xf2\xcf"
  2090. "\xfe\x4a\x9d\xf3\xec\x78\x5d\x5d\xb4\x99\xd0\x67\x0f\x5a\x21\x1c"
  2091. "\x7b\x95\x2b\xcf\x49\x44\x94\x05\x1a\x21\x81\x25\x7f\xe3\x8a\x2a"
  2092. "\xdd\x88\xac\x44\x94\x23\x20\x3b\x75\xf6\x2a\x8a\x45\xf8\xb5\x1f"
  2093. "\xb9\x8b\xeb\xab\x9b\x38\x23\x26\xf1\x0f\x34\x47\x4f\x7f\xe1\x9e"
  2094. "\x84\x84\x78\xe5\xe3\x49\xeb\xcc\x2f\x02\x85\xa4\x18\x91\xde\x1a"
  2095. "\x60\x54\x33\x81\xd5\xae\xdb\x23\x9c\x4d\xa4\xdb\x22\x5b\xdf\xf4"
  2096. "\x8e\x05\x2b\x60\xba\xe8\x75\xfc\x34\x99\xcf\x35\xe1\x06\xba\xdc"
  2097. "\x79\x2a\x5e\xec\x1c\xbe\x79\x33\x63\x1c\xe7\x5f\x1e\x30\xd6\x1b"
  2098. "\xdb\x11\xb8\xea\x63\xff\xfe\x1a\x3c\x24\xf4\x78\x9c\xcc\x5d\x9a"
  2099. "\xc9\x2d\xc4\x9a\xd4\xa7\x65\x84\x98\xdb\x66\x76\xf0\x34\x31\x9f"
  2100. "\xce\xb5\xfb\x28\x07\xde\x1e\x0d\x9b\x01\x64\xeb\x2a\x37\x2f\x20"
  2101. "\xa5\x95\x72\x2b\x54\x51\x59\x91\xea\x50\x54\x0f\x2e\xb0\x1d\xf6"
  2102. "\xb9\x46\x43\xf9\xd0\x13\x21\x20\x47\x61\x1a\x1c\x30\xc6\x9e\x75"
  2103. "\x22\xe4\xf2\xb1\xab\x01\xdc\x5b\x3c\x1e\xa2\x6d\xc0\xb9\x9a\x2a"
  2104. "\x84\x61\xea\x85\x63\xa0\x77\xd0\xeb\x20\x68\xd5\x95\x6a\x1b\x8f"
  2105. "\x1f\x9a\xba\x44\x49\x8c\x77\xa6\xd9\xa0\x14\xf8\x7d\x9b\x4e\xfa"
  2106. "\xdc\x4f\x1c\x4d\x60\x50\x26\x7f\xd6\xc1\x91\x2b\xa6\x37\x5d\x94"
  2107. "\x69\xb2\x47\x59\xd6\xc3\x59\xbb\xd6\x9b\x71\x52\x85\x7a\xcb\x2d",
  2108. .b_public =
  2109. "\x24\x38\x02\x02\x2f\xeb\x54\xdd\x73\x21\x91\x4a\xd8\xa4\x0a\xbf"
  2110. "\xf4\xf5\x9a\x45\xb5\xcd\x42\xa3\x57\xcc\x65\x4a\x23\x2e\xee\x59"
  2111. "\xba\x6f\x14\x89\xae\x2e\x14\x0a\x72\x77\x23\x7f\x6c\x2e\xba\x52"
  2112. "\x3f\x71\xbf\xe4\x60\x03\x16\xaa\x61\xf5\x80\x1d\x8a\x45\x9e\x53"
  2113. "\x7b\x07\xd9\x7e\xfe\xaf\xcb\xda\xff\x20\x71\xba\x89\x39\x75\xc3"
  2114. "\xb3\x65\x0c\xb1\xa7\xfa\x4a\xe7\xe0\x85\xc5\x4e\x91\x47\x41\xf4"
  2115. "\xdd\xcd\xc5\x3d\x17\x12\xed\xee\xc0\x31\xb1\xaf\xc1\xd5\x3c\x07"
  2116. "\xa1\x5a\xc4\x05\x45\xe3\x10\x0c\xc3\x14\xae\x65\xca\x40\xae\x31"
  2117. "\x5c\x13\x0d\x32\x85\xa7\x6e\xf4\x5e\x29\x3d\x4e\xd3\xd7\x49\x58"
  2118. "\xe1\x73\xbb\x0a\x7b\xd6\x13\xea\x49\xd7\x20\x3d\x31\xaa\x77\xab"
  2119. "\x21\x74\xe9\x2f\xe9\x5e\xbe\x2f\xb4\xa2\x79\xf2\xbc\xcc\x51\x94"
  2120. "\xd2\x1d\xb2\xe6\xc5\x39\x66\xd7\xe5\x46\x75\x53\x76\xed\x49\xea"
  2121. "\x3b\xdd\x01\x27\xdb\x83\xa5\x9f\xd2\xee\xc8\xde\x9e\xde\xd2\xe7"
  2122. "\x99\xad\x9c\xe0\x71\x66\x29\xd8\x0d\xfe\xdc\xd1\xbc\xc7\x9a\xbe"
  2123. "\x8b\x26\x46\x57\xb6\x79\xfa\xad\x8b\x45\x2e\xb5\xe5\x89\x34\x01"
  2124. "\x93\x00\x9d\xe9\x58\x74\x8b\xda\x07\x92\xb5\x01\x4a\xe1\x44\x36"
  2125. "\xc7\x6c\xde\xc8\x7a\x17\xd0\xde\xee\x68\x92\xb5\xde\x21\x2b\x1c"
  2126. "\xbc\x65\x30\x1e\xae\x15\x3d\x9a\xaf\x20\xa3\xc4\x21\x70\xfb\x2f"
  2127. "\x36\x72\x31\xc0\xe8\x85\xdf\xc5\x50\x4c\x90\x10\x32\xa4\xc7\xee"
  2128. "\x59\x5a\x21\xf4\xf1\x33\xcf\xbe\xac\x67\xb1\x40\x7c\x0b\x3f\x64"
  2129. "\xe5\xd2\x2d\xb7\x7d\x0f\xce\xf7\x9b\x05\xee\x37\x61\xd2\x61\x9e"
  2130. "\x1a\x80\x2e\x79\xe6\x1b\x25\xb3\x61\x3d\x53\xe7\xe5\x97\x9a\xc2"
  2131. "\x39\xb1\xe3\x91\xc6\xee\x96\x2e\xa9\xb4\xb8\xad\xd8\x04\x3e\x11"
  2132. "\x31\x67\xb8\x6a\xcb\x6e\x1a\x4c\x7f\x74\xc7\x1f\x09\xd1\xd0\x6b"
  2133. "\x17\xde\xea\xe8\x0b\xe6\x6a\xee\x2f\xe3\x5b\x9c\x59\x5d\x00\x57"
  2134. "\xbf\x24\x25\xba\x22\x34\xb9\xc5\x3c\xc4\x57\x26\xd0\x6d\x89\xee"
  2135. "\x67\x79\x3c\x70\xf9\xc3\xb4\x30\xf0\x2e\xca\xfa\x74\x00\xd1\x00"
  2136. "\x6d\x03\x97\xd5\x08\x3f\x0b\x8e\xb8\x1d\xa3\x91\x7f\xa9\x3a\xf0"
  2137. "\x37\x57\x46\x87\x82\xa3\xb5\x8f\x51\xaa\xc7\x7b\xfe\x86\x26\xb9"
  2138. "\xfa\xe6\x1e\xee\x92\x9d\x3a\xed\x5b\x5e\x3f\xe5\xca\x5e\x13\x01"
  2139. "\xdd\x4c\x8d\x85\xf0\x60\x61\xb7\x60\x24\x83\x9f\xbe\x72\x21\x81"
  2140. "\x55\x7e\x7e\x6d\xf3\x28\xc8\x77\x5a\xae\x5a\x32\x86\xd5\x61\xad",
  2141. .expected_a_public =
  2142. "\x1f\xff\xd6\xc4\x59\xf3\x4a\x9e\x81\x74\x4d\x27\xa7\xc6\x6b\x35"
  2143. "\xd8\xf5\xb3\x24\x97\x82\xe7\x2e\xf3\x21\x91\x23\x2f\x3d\x57\x7f"
  2144. "\x15\x8c\x84\x71\xe7\x25\x35\xe8\x07\x14\x06\x4c\x83\xdc\x55\x4a"
  2145. "\xf8\x45\xc5\xe9\xfa\x6e\xae\x6e\xcf\x4d\x11\x91\x26\x16\x6f\x86"
  2146. "\x89\x78\xaa\xb4\x25\x54\xb2\x74\x07\xe5\x26\x26\x0c\xad\xa4\x57"
  2147. "\x59\x61\x66\x71\x43\x22\xff\x49\x51\xa4\x76\x0e\x55\x7b\x60\x45"
  2148. "\x4f\xaf\xbd\x9c\xec\x64\x3f\x80\x0b\x0c\x31\x41\xf0\xfe\x2c\xb7"
  2149. "\x0a\xbe\xa5\x71\x08\x0d\x8d\x1e\x8a\x77\x9a\xd2\x90\x31\x96\xd0"
  2150. "\x3b\x31\xdc\xc6\x18\x59\x43\xa1\x19\x5a\x84\x68\x29\xad\x5e\x58"
  2151. "\xa2\x50\x3e\x83\xf5\x7a\xbd\x88\x17\x60\x89\x98\x9c\x19\x89\x27"
  2152. "\x89\xfc\x33\x87\x42\xd5\xde\x19\x14\xf2\x95\x82\x10\x87\xad\x82"
  2153. "\xdd\x6b\x51\x2d\x8d\x0e\x81\x4b\xde\xb3\x35\x6c\x0f\x4b\x56\x45"
  2154. "\x48\x87\xe9\x5a\xf9\x70\x10\x30\x8e\xa1\xbb\xa4\x70\xbf\xa0\xab"
  2155. "\x10\x31\x3c\x2c\xdc\xc4\xed\xe3\x51\xdc\xee\xd2\xa5\x5c\x4e\x6e"
  2156. "\xf6\xed\x60\x5a\xeb\xf3\x02\x19\x2a\x95\xe9\x46\xff\x37\x1b\xf0"
  2157. "\x1d\x10\x4a\x8f\x4f\x3a\x6e\xf5\xfc\x02\x6d\x09\x7d\xea\x69\x7b"
  2158. "\x13\xb0\xb6\x80\x5c\x15\x20\xa8\x4d\x15\x56\x11\x72\x49\xdb\x48"
  2159. "\x54\x40\x66\xd5\xcd\x17\x3a\x26\x95\xf6\xd7\xf2\x59\xa3\xda\xbb"
  2160. "\x26\xd0\xe5\x46\xbf\xee\x0e\x7d\xf1\xe0\x11\x02\x4d\xd3\xdc\xe2"
  2161. "\x3f\xc2\x51\x7e\xc7\x90\x33\x3c\x1c\xa0\x4c\x69\xcc\x1e\xc7\xac"
  2162. "\x17\xe0\xe5\xf4\x8c\x05\x64\x34\xfe\x84\x70\xd7\x6b\xed\xab\xf5"
  2163. "\x88\x9d\x3e\x4c\x5a\x9e\xd4\x74\xfd\xdd\x91\xd5\xd4\xcb\xbf\xf8"
  2164. "\xb7\x56\xb5\xe9\x22\xa6\x6d\x7a\x44\x05\x41\xbf\xdb\x61\x28\xc6"
  2165. "\x99\x49\x87\x3d\x28\x77\xf8\x83\x23\x7e\xa9\xa7\xee\x20\xdb\x6d"
  2166. "\x21\x50\xb7\xc9\x52\x57\x53\xa3\xcf\xdf\xd0\xf9\xb9\x62\x96\x89"
  2167. "\xf5\x5c\xa9\x8a\x11\x95\x01\x25\xc9\x81\x15\x76\xae\xf0\xc7\xc5"
  2168. "\x50\xae\x6f\xb5\xd2\x8a\x8e\x9a\xd4\x30\x55\xc6\xe9\x2c\x81\x6e"
  2169. "\x95\xf6\x45\x89\x55\x28\x34\x7b\xe5\x72\x9a\x2a\xe2\x98\x09\x35"
  2170. "\xe0\xe9\x75\x94\xe9\x34\x95\xb9\x13\x6e\xd5\xa1\x62\x5a\x1c\x94"
  2171. "\x28\xed\x84\x46\x76\x6d\x10\x37\x71\xa3\x31\x46\x64\xe4\x59\x44"
  2172. "\x17\x70\x1c\x23\xc9\x7e\xf6\xab\x8a\x24\xae\x25\xe2\xb2\x5f\x33"
  2173. "\xe4\xd7\xd3\x34\x2a\x49\x22\x16\x15\x9b\x90\x40\xda\x99\xd5\xaf",
  2174. .expected_ss =
  2175. "\xe2\xce\x0e\x4b\x64\xf3\x84\x62\x38\xfd\xe3\x6f\x69\x40\x22\xb0"
  2176. "\x73\x27\x03\x12\x82\xa4\x6e\x03\x57\xec\x3d\xa0\xc1\x4f\x4b\x09"
  2177. "\xa1\xd4\xe0\x1a\x5d\x91\x2e\x08\xad\x57\xfa\xcc\x55\x90\x5f\xa0"
  2178. "\x52\x27\x62\x8d\xe5\x2d\xa1\x5f\xf0\x30\x43\x77\x4e\x3f\x02\x58"
  2179. "\xcb\xa0\x51\xae\x1d\x24\xf9\x0a\xd1\x36\x0b\x95\x0f\x07\xd9\xf7"
  2180. "\xe2\x36\x14\x2f\xf0\x11\xc2\xc9\xaf\x66\x4e\x0d\xb4\x60\x01\x4e"
  2181. "\xa8\x49\xc6\xec\x5f\xb2\xbc\x05\x48\x91\x4e\xe1\xc3\x99\x9f\xeb"
  2182. "\x4a\xc1\xde\x05\x9a\x65\x39\x7d\x2f\x89\x85\xb2\xcf\xec\x25\x27"
  2183. "\x5f\x1c\x11\x63\xcf\x7b\x86\x98\x39\xae\xc2\x16\x8f\x79\xd1\x20"
  2184. "\xd0\xb4\xa0\xba\x44\xd8\xf5\x3a\x0a\x08\x4c\xd1\xb9\xdd\x0a\x5b"
  2185. "\x9e\x62\xf3\x52\x0c\x84\x12\x43\x9b\xd7\xdf\x86\x71\x03\xdd\x04"
  2186. "\x98\x55\x0c\x7b\xe2\xe8\x03\x17\x25\x84\xd9\xbd\xe1\xce\x64\xbe"
  2187. "\xca\x55\xd4\x5b\xef\x61\x5b\x68\x4b\x80\x37\x40\xae\x28\x87\x81"
  2188. "\x55\x34\x96\x50\x21\x47\x49\xc0\xda\x26\x46\xb8\xe8\xcc\x5a\x27"
  2189. "\x9c\x9d\x0a\x3d\xcc\x4c\x63\x27\x81\x82\x2e\xf4\xa8\x91\x37\x3e"
  2190. "\xa7\x34\x6a\x0f\x60\x44\xdd\x2e\xdc\xf9\x19\xf2\x2e\x81\x05\x51"
  2191. "\x16\xbc\xc0\x85\xa5\xd5\x08\x09\x1f\xcd\xed\xa4\xc5\xdb\x16\x43"
  2192. "\xb5\x7a\x71\x66\x19\x2e\xef\x13\xbc\x40\x39\x0a\x00\x45\x7e\x61"
  2193. "\xe9\x68\x60\x83\x00\x70\xd1\x71\xd3\xa2\x61\x3e\x00\x46\x93\x0d"
  2194. "\xbf\xe6\xa2\x07\xe6\x40\x1a\xf4\x57\xc6\x67\x39\xd8\xd7\x6b\xc5"
  2195. "\xa5\xd8\x38\x78\x12\xb4\x97\x12\xbe\x97\x13\xef\xe4\x74\x0c\xe0"
  2196. "\x75\x89\x64\xf4\xe8\x85\xda\x84\x7b\x1d\xfe\xdd\x21\xba\xda\x01"
  2197. "\x52\xdc\x59\xe5\x47\x50\x7e\x15\x20\xd0\x43\x37\x6e\x48\x39\x00"
  2198. "\xee\xd9\x54\x6d\x00\x65\xc9\x4b\x85\xa2\x8a\x40\x55\xd0\x63\x0c"
  2199. "\xb5\x7a\x0d\x37\x67\x27\x73\x18\x7f\x5a\xf5\x0e\x22\xb9\xb0\x3f"
  2200. "\xda\xf1\xec\x7c\x24\x01\x49\xa9\x09\x0e\x0f\xc4\xa9\xef\xc8\x2b"
  2201. "\x13\xd1\x0a\x6f\xf8\x92\x4b\x1d\xdd\x6c\x9c\x35\xde\x75\x46\x32"
  2202. "\xe6\xfb\xda\x58\xba\x81\x08\xca\xa9\xb6\x69\x71\x96\x2a\x1f\x2e"
  2203. "\x25\xe0\x37\xfe\xee\x4d\x27\xaa\x04\xda\x95\xbb\x93\xcf\x8f\xa2"
  2204. "\x1d\x67\x35\xe3\x51\x8f\x87\x3b\xa9\x62\x05\xee\x44\xb7\x2e\xd0"
  2205. "\x07\x63\x32\xf5\xcd\x64\x18\x20\xcf\x22\x42\x28\x22\x1a\xa8\xbb"
  2206. "\x74\x8a\x6f\x2a\xea\x8a\x48\x0a\xad\xd7\xed\xba\xa3\x89\x37\x01",
  2207. .secret_size = 528,
  2208. .b_public_size = 512,
  2209. .expected_a_public_size = 512,
  2210. .expected_ss_size = 512,
  2211. },
  2212. {
  2213. .secret =
  2214. #ifdef __LITTLE_ENDIAN
  2215. "\x01\x00" /* type */
  2216. "\x10\x00" /* len */
  2217. "\x00\x00\x00\x00" /* key_size */
  2218. "\x00\x00\x00\x00" /* p_size */
  2219. "\x00\x00\x00\x00", /* g_size */
  2220. #else
  2221. "\x00\x01" /* type */
  2222. "\x00\x10" /* len */
  2223. "\x00\x00\x00\x00" /* key_size */
  2224. "\x00\x00\x00\x00" /* p_size */
  2225. "\x00\x00\x00\x00", /* g_size */
  2226. #endif
  2227. .b_secret =
  2228. #ifdef __LITTLE_ENDIAN
  2229. "\x01\x00" /* type */
  2230. "\x10\x02" /* len */
  2231. "\x00\x02\x00\x00" /* key_size */
  2232. "\x00\x00\x00\x00" /* p_size */
  2233. "\x00\x00\x00\x00" /* g_size */
  2234. #else
  2235. "\x00\x01" /* type */
  2236. "\x02\x10" /* len */
  2237. "\x00\x00\x02\x00" /* key_size */
  2238. "\x00\x00\x00\x00" /* p_size */
  2239. "\x00\x00\x00\x00" /* g_size */
  2240. #endif
  2241. /* xa */
  2242. "\x1a\x48\xf3\x6c\x61\x03\x42\x43\xd7\x42\x3b\xfa\xdb\x55\x6f\xa2"
  2243. "\xe1\x79\x52\x0b\x47\xc5\x03\x60\x2f\x26\xb9\x1a\x14\x15\x1a\xd9"
  2244. "\xe0\xbb\xa7\x82\x63\x41\xec\x26\x55\x00\xab\xe5\x21\x9d\x31\x14"
  2245. "\x0e\xe2\xc2\xb2\xb8\x37\xe6\xc3\x5a\xab\xae\x25\xdb\x71\x1e\xed"
  2246. "\xe8\x75\x9a\x04\xa7\x92\x2a\x99\x7e\xc0\x5b\x64\x75\x7f\xe5\xb5"
  2247. "\xdb\x6c\x95\x4f\xe9\xdc\x39\x76\x79\xb0\xf7\x00\x30\x8e\x86\xe7"
  2248. "\x36\xd1\xd2\x0c\x68\x7b\x94\xe9\x91\x85\x08\x86\xbc\x64\x87\xd2"
  2249. "\xf5\x5b\xaf\x03\xf6\x5f\x28\x25\xf1\xa3\x20\x5c\x1b\xb5\x26\x45"
  2250. "\x9a\x47\xab\xd6\xad\x49\xab\x92\x8e\x62\x6f\x48\x31\xea\xf6\x76"
  2251. "\xff\xa2\xb6\x28\x78\xef\x59\xc3\x71\x5d\xa8\xd9\x70\x89\xcc\xe2"
  2252. "\x63\x58\x5e\x3a\xa2\xa2\x88\xbf\x77\x20\x84\x33\x65\x64\x4e\x73"
  2253. "\xe5\x08\xd5\x89\x23\xd6\x07\xac\x29\x65\x2e\x02\xa8\x35\x96\x48"
  2254. "\xe7\x5d\x43\x6a\x42\xcc\xda\x98\xc4\x75\x90\x2e\xf6\xc4\xbf\xd4"
  2255. "\xbc\x31\x14\x0d\x54\x30\x11\xb2\xc9\xcf\xbb\xba\xbc\xc6\xf2\xcf"
  2256. "\xfe\x4a\x9d\xf3\xec\x78\x5d\x5d\xb4\x99\xd0\x67\x0f\x5a\x21\x1c"
  2257. "\x7b\x95\x2b\xcf\x49\x44\x94\x05\x1a\x21\x81\x25\x7f\xe3\x8a\x2a"
  2258. "\xdd\x88\xac\x44\x94\x23\x20\x3b\x75\xf6\x2a\x8a\x45\xf8\xb5\x1f"
  2259. "\xb9\x8b\xeb\xab\x9b\x38\x23\x26\xf1\x0f\x34\x47\x4f\x7f\xe1\x9e"
  2260. "\x84\x84\x78\xe5\xe3\x49\xeb\xcc\x2f\x02\x85\xa4\x18\x91\xde\x1a"
  2261. "\x60\x54\x33\x81\xd5\xae\xdb\x23\x9c\x4d\xa4\xdb\x22\x5b\xdf\xf4"
  2262. "\x8e\x05\x2b\x60\xba\xe8\x75\xfc\x34\x99\xcf\x35\xe1\x06\xba\xdc"
  2263. "\x79\x2a\x5e\xec\x1c\xbe\x79\x33\x63\x1c\xe7\x5f\x1e\x30\xd6\x1b"
  2264. "\xdb\x11\xb8\xea\x63\xff\xfe\x1a\x3c\x24\xf4\x78\x9c\xcc\x5d\x9a"
  2265. "\xc9\x2d\xc4\x9a\xd4\xa7\x65\x84\x98\xdb\x66\x76\xf0\x34\x31\x9f"
  2266. "\xce\xb5\xfb\x28\x07\xde\x1e\x0d\x9b\x01\x64\xeb\x2a\x37\x2f\x20"
  2267. "\xa5\x95\x72\x2b\x54\x51\x59\x91\xea\x50\x54\x0f\x2e\xb0\x1d\xf6"
  2268. "\xb9\x46\x43\xf9\xd0\x13\x21\x20\x47\x61\x1a\x1c\x30\xc6\x9e\x75"
  2269. "\x22\xe4\xf2\xb1\xab\x01\xdc\x5b\x3c\x1e\xa2\x6d\xc0\xb9\x9a\x2a"
  2270. "\x84\x61\xea\x85\x63\xa0\x77\xd0\xeb\x20\x68\xd5\x95\x6a\x1b\x8f"
  2271. "\x1f\x9a\xba\x44\x49\x8c\x77\xa6\xd9\xa0\x14\xf8\x7d\x9b\x4e\xfa"
  2272. "\xdc\x4f\x1c\x4d\x60\x50\x26\x7f\xd6\xc1\x91\x2b\xa6\x37\x5d\x94"
  2273. "\x69\xb2\x47\x59\xd6\xc3\x59\xbb\xd6\x9b\x71\x52\x85\x7a\xcb\x2d",
  2274. .b_public =
  2275. "\x1f\xff\xd6\xc4\x59\xf3\x4a\x9e\x81\x74\x4d\x27\xa7\xc6\x6b\x35"
  2276. "\xd8\xf5\xb3\x24\x97\x82\xe7\x2e\xf3\x21\x91\x23\x2f\x3d\x57\x7f"
  2277. "\x15\x8c\x84\x71\xe7\x25\x35\xe8\x07\x14\x06\x4c\x83\xdc\x55\x4a"
  2278. "\xf8\x45\xc5\xe9\xfa\x6e\xae\x6e\xcf\x4d\x11\x91\x26\x16\x6f\x86"
  2279. "\x89\x78\xaa\xb4\x25\x54\xb2\x74\x07\xe5\x26\x26\x0c\xad\xa4\x57"
  2280. "\x59\x61\x66\x71\x43\x22\xff\x49\x51\xa4\x76\x0e\x55\x7b\x60\x45"
  2281. "\x4f\xaf\xbd\x9c\xec\x64\x3f\x80\x0b\x0c\x31\x41\xf0\xfe\x2c\xb7"
  2282. "\x0a\xbe\xa5\x71\x08\x0d\x8d\x1e\x8a\x77\x9a\xd2\x90\x31\x96\xd0"
  2283. "\x3b\x31\xdc\xc6\x18\x59\x43\xa1\x19\x5a\x84\x68\x29\xad\x5e\x58"
  2284. "\xa2\x50\x3e\x83\xf5\x7a\xbd\x88\x17\x60\x89\x98\x9c\x19\x89\x27"
  2285. "\x89\xfc\x33\x87\x42\xd5\xde\x19\x14\xf2\x95\x82\x10\x87\xad\x82"
  2286. "\xdd\x6b\x51\x2d\x8d\x0e\x81\x4b\xde\xb3\x35\x6c\x0f\x4b\x56\x45"
  2287. "\x48\x87\xe9\x5a\xf9\x70\x10\x30\x8e\xa1\xbb\xa4\x70\xbf\xa0\xab"
  2288. "\x10\x31\x3c\x2c\xdc\xc4\xed\xe3\x51\xdc\xee\xd2\xa5\x5c\x4e\x6e"
  2289. "\xf6\xed\x60\x5a\xeb\xf3\x02\x19\x2a\x95\xe9\x46\xff\x37\x1b\xf0"
  2290. "\x1d\x10\x4a\x8f\x4f\x3a\x6e\xf5\xfc\x02\x6d\x09\x7d\xea\x69\x7b"
  2291. "\x13\xb0\xb6\x80\x5c\x15\x20\xa8\x4d\x15\x56\x11\x72\x49\xdb\x48"
  2292. "\x54\x40\x66\xd5\xcd\x17\x3a\x26\x95\xf6\xd7\xf2\x59\xa3\xda\xbb"
  2293. "\x26\xd0\xe5\x46\xbf\xee\x0e\x7d\xf1\xe0\x11\x02\x4d\xd3\xdc\xe2"
  2294. "\x3f\xc2\x51\x7e\xc7\x90\x33\x3c\x1c\xa0\x4c\x69\xcc\x1e\xc7\xac"
  2295. "\x17\xe0\xe5\xf4\x8c\x05\x64\x34\xfe\x84\x70\xd7\x6b\xed\xab\xf5"
  2296. "\x88\x9d\x3e\x4c\x5a\x9e\xd4\x74\xfd\xdd\x91\xd5\xd4\xcb\xbf\xf8"
  2297. "\xb7\x56\xb5\xe9\x22\xa6\x6d\x7a\x44\x05\x41\xbf\xdb\x61\x28\xc6"
  2298. "\x99\x49\x87\x3d\x28\x77\xf8\x83\x23\x7e\xa9\xa7\xee\x20\xdb\x6d"
  2299. "\x21\x50\xb7\xc9\x52\x57\x53\xa3\xcf\xdf\xd0\xf9\xb9\x62\x96\x89"
  2300. "\xf5\x5c\xa9\x8a\x11\x95\x01\x25\xc9\x81\x15\x76\xae\xf0\xc7\xc5"
  2301. "\x50\xae\x6f\xb5\xd2\x8a\x8e\x9a\xd4\x30\x55\xc6\xe9\x2c\x81\x6e"
  2302. "\x95\xf6\x45\x89\x55\x28\x34\x7b\xe5\x72\x9a\x2a\xe2\x98\x09\x35"
  2303. "\xe0\xe9\x75\x94\xe9\x34\x95\xb9\x13\x6e\xd5\xa1\x62\x5a\x1c\x94"
  2304. "\x28\xed\x84\x46\x76\x6d\x10\x37\x71\xa3\x31\x46\x64\xe4\x59\x44"
  2305. "\x17\x70\x1c\x23\xc9\x7e\xf6\xab\x8a\x24\xae\x25\xe2\xb2\x5f\x33"
  2306. "\xe4\xd7\xd3\x34\x2a\x49\x22\x16\x15\x9b\x90\x40\xda\x99\xd5\xaf",
  2307. .secret_size = 16,
  2308. .b_secret_size = 528,
  2309. .b_public_size = 512,
  2310. .expected_a_public_size = 512,
  2311. .expected_ss_size = 512,
  2312. .genkey = true,
  2313. },
  2314. };
  2315. static const struct kpp_testvec ffdhe6144_dh_tv_template[] __maybe_unused = {
  2316. {
  2317. .secret =
  2318. #ifdef __LITTLE_ENDIAN
  2319. "\x01\x00" /* type */
  2320. "\x10\x03" /* len */
  2321. "\x00\x03\x00\x00" /* key_size */
  2322. "\x00\x00\x00\x00" /* p_size */
  2323. "\x00\x00\x00\x00" /* g_size */
  2324. #else
  2325. "\x00\x01" /* type */
  2326. "\x03\x10" /* len */
  2327. "\x00\x00\x03\x00" /* key_size */
  2328. "\x00\x00\x00\x00" /* p_size */
  2329. "\x00\x00\x00\x00" /* g_size */
  2330. #endif
  2331. /* xa */
  2332. "\x63\x3e\x6f\xe0\xfe\x9f\x4a\x01\x62\x77\xce\xf1\xc7\xcc\x49\x4d"
  2333. "\x92\x53\x56\xe3\x39\x15\x81\xb2\xcd\xdc\xaf\x5e\xbf\x31\x1f\x69"
  2334. "\xce\x41\x35\x24\xaa\x46\x53\xb5\xb7\x3f\x2b\xad\x95\x14\xfb\xe4"
  2335. "\x9a\x61\xcd\x0f\x1f\x02\xee\xa4\x79\x2c\x9d\x1a\x7c\x62\x82\x39"
  2336. "\xdd\x43\xcc\x58\x9f\x62\x47\x56\x1d\x0f\xc2\x67\xbc\x24\xd0\xf9"
  2337. "\x0a\x50\x1b\x10\xe7\xbb\xd1\xc2\x01\xbb\xc4\x4c\xda\x12\x60\x0e"
  2338. "\x95\x2b\xde\x09\xd6\x67\xe1\xbc\x4c\xb9\x67\xdf\xd0\x1f\x97\xb4"
  2339. "\xde\xcb\x6b\x78\x83\x51\x74\x33\x01\x7f\xf6\x0a\x95\x69\x93\x00"
  2340. "\x2a\xc3\x75\x8e\xef\xbe\x53\x11\x6d\xc4\xd0\x9f\x6d\x63\x48\xc1"
  2341. "\x91\x1f\x7d\x88\xa7\x90\x78\xd1\x7e\x52\x42\x10\x01\xb4\x27\x95"
  2342. "\x91\x43\xcc\x82\x91\x86\x62\xa0\x9d\xef\x65\x6e\x67\xcf\x19\x11"
  2343. "\x35\x37\x5e\x94\x97\x83\xa6\x83\x1c\x7e\x8a\x3e\x32\xb0\xce\xff"
  2344. "\x20\xdc\x7b\x6e\x18\xd9\x6b\x27\x31\xfc\xc3\xef\x47\x8d\xbe\x34"
  2345. "\x2b\xc7\x60\x74\x3c\x93\xb3\x8e\x54\x77\x4e\x73\xe6\x40\x72\x35"
  2346. "\xb0\xf0\x06\x53\x43\xbe\xd0\xc3\x87\xcc\x38\x96\xa9\x10\xa0\xd6"
  2347. "\x17\xed\xa5\x6a\xf4\xf6\xaa\x77\x40\xed\x7d\x2e\x58\x0f\x5b\x04"
  2348. "\x5a\x41\x12\x95\x22\xcb\xa3\xce\x8b\x6d\x6d\x89\xec\x7c\x1d\x25"
  2349. "\x27\x52\x50\xa0\x5b\x93\x8c\x5d\x3f\x56\xb9\xa6\x5e\xe5\xf7\x9b"
  2350. "\xc7\x9a\x4a\x2e\x79\xb5\xca\x29\x58\x52\xa0\x63\xe4\x9d\xeb\x4c"
  2351. "\x4c\xa8\x37\x0b\xe9\xa0\x18\xf1\x86\xf6\x4d\x32\xfb\x9e\x4f\xb3"
  2352. "\x7b\x5d\x58\x78\x70\xbd\x56\xac\x99\x75\x25\x71\x66\x76\x4e\x5e"
  2353. "\x67\x4f\xb1\x17\xa7\x8b\x55\x12\x87\x01\x4e\xd1\x66\xef\xd0\x70"
  2354. "\xaf\x14\x34\xee\x2a\x76\x49\x25\xa6\x2e\x43\x37\x75\x7d\x1a\xad"
  2355. "\x08\xd5\x01\x85\x9c\xe1\x20\xd8\x38\x5c\x57\xa5\xed\x9d\x46\x3a"
  2356. "\xb7\x46\x60\x29\x8b\xc4\x21\x50\x0a\x30\x9c\x57\x42\xe4\x35\xf8"
  2357. "\x12\x5c\x4f\xa2\x20\xc2\xc9\x43\xe3\x6d\x20\xbc\xdf\xb8\x37\x33"
  2358. "\x45\x43\x06\x4e\x08\x6f\x8a\xcd\x61\xc3\x1b\x05\x28\x82\xbe\xf0"
  2359. "\x48\x33\xe5\x93\xc9\x1a\x61\x16\x67\x03\x9d\x47\x9d\x74\xeb\xae"
  2360. "\x13\xf2\xb4\x1b\x09\x11\xf5\x15\xcb\x28\xfd\x50\xe0\xbc\x58\x36"
  2361. "\x38\x91\x2c\x07\x27\x1f\x49\x68\xf4\xce\xad\xf7\xba\xec\x5d\x3d"
  2362. "\xfd\x27\xe2\xcf\xf4\x56\xfe\x08\xa6\x11\x61\xcb\x6c\x9f\xf9\x3c"
  2363. "\x57\x0b\x8b\xaa\x00\x16\x18\xba\x1f\xe8\x4f\x01\xe2\x79\x2a\x0b"
  2364. "\xc1\xbd\x52\xef\xe6\xf7\x5a\x66\xfe\x07\x3b\x50\x6b\xbb\xcb\x39"
  2365. "\x3c\x94\xf6\x21\x0d\x68\x69\xa4\xed\x2e\xb5\x85\x03\x11\x38\x79"
  2366. "\xec\xb5\x22\x23\xdf\x9e\xad\xb4\xbe\xd7\xc7\xdf\xea\x30\x23\x8a"
  2367. "\xb7\x21\x0a\x9d\xbd\x99\x13\x7d\x5f\x7e\xaf\x28\x54\x3f\xca\x5e"
  2368. "\xf4\xfc\x05\x0d\x65\x67\xd8\xf6\x8e\x90\x9d\x0d\xcf\x62\x82\xd6"
  2369. "\x9f\x02\xf8\xca\xfa\x42\x24\x7f\x4d\xb7\xfc\x92\xa6\x4a\x51\xc4"
  2370. "\xd8\xae\x19\x87\xc6\xa3\x83\xbe\x7b\x6d\xc3\xf5\xb8\xad\x4a\x05"
  2371. "\x78\x84\x3a\x15\x2e\x40\xbe\x79\xa9\xc0\x12\xa1\x48\x39\xc3\xdb"
  2372. "\x47\x4f\x7d\xea\x6d\xc7\xfa\x2c\x4e\xe9\xa5\x85\x81\xea\x6c\xcd"
  2373. "\x8a\xe5\x74\x17\x76\x31\x31\x75\x96\x83\xca\x81\xbb\x5c\xa9\x79"
  2374. "\x2c\xbd\x09\xfe\xe4\x86\x0d\x8c\x76\x9c\xbc\xe8\x93\xe4\xd0\xe4"
  2375. "\x0f\xf8\xff\x24\x7e\x66\x61\x69\xfb\xe4\x46\x08\x94\x99\xa5\x53"
  2376. "\xd7\xe4\x29\x72\x86\x86\xe8\x1d\x37\xfa\xcb\xd0\x8d\x51\xd0\xbf"
  2377. "\x81\xcf\x55\xb9\xc5\x78\x8c\x74\xa0\x16\x3a\xd2\x19\x94\x29\x6a"
  2378. "\x5e\xec\xd3\x20\xa0\xb2\xfd\xce\xd4\x14\xa3\x39\x10\xa9\xf4\x4e"
  2379. "\xba\x21\x09\x5c\xe6\x61\x43\x51\xae\xc4\x71\xd7\x21\xef\x98\x39",
  2380. .b_public =
  2381. "\x30\x31\xbe\x43\xd0\x14\x22\x6b\x4b\x8c\x9a\xca\xc6\xdd\xe5\x99"
  2382. "\xce\xb8\x30\x23\xb6\xa8\x8c\x4d\xfa\xef\xad\xa6\x6a\x21\x50\xa6"
  2383. "\x45\x2d\x19\x2a\x29\x81\xc5\xac\xb4\xa8\x5f\x6d\x5b\xc8\x5f\x12"
  2384. "\x35\x21\xfb\x37\xaa\x0c\x79\xeb\xd4\x83\x01\xda\xa3\xf3\x51\x6e"
  2385. "\x17\xf9\xef\x3f\xbd\x2f\xd2\x43\x82\x12\x48\xeb\x61\x4c\x8e\xf2"
  2386. "\x6c\x76\xf9\x6d\x42\x2a\xcb\x10\x13\x3b\xf6\x9b\xcd\x46\x1e\xa2"
  2387. "\xa7\x2c\x08\x56\xd2\x42\xf5\x03\xf0\x3e\xef\xa2\xa2\xf2\x4c\xf2"
  2388. "\xdb\x4f\xeb\x40\x15\x53\x27\xf7\xd4\x8e\x58\x23\xf5\x2c\x88\x04"
  2389. "\x1e\xb1\xb6\xe3\xd6\x9c\x49\x08\xa1\x4b\xb8\x33\xe4\x75\x85\xa1"
  2390. "\x86\x97\xce\x1d\xe9\x9f\xe2\xd8\xf2\x7e\xad\xdc\x8a\x4d\xbd\x06"
  2391. "\x52\x00\x9a\x2c\x69\xdd\x02\x0c\x69\x5a\xf9\x1d\xfd\xdc\xfb\x82"
  2392. "\xb2\xe5\xf3\x24\xba\xd1\x09\x76\x90\xb5\x7a\x92\xa6\x6b\x97\xc0"
  2393. "\xce\x13\x9b\x4b\xbc\x30\x91\xb2\x13\x8b\x57\x6c\x8b\x66\x6e\x58"
  2394. "\x3e\x91\x50\xc7\x6c\xe1\x18\xec\xbf\x69\xcd\xcb\xa0\xbc\x0d\x05"
  2395. "\xc4\xf8\x45\x92\xe0\x05\xd3\x08\xb3\x30\x19\xc8\x80\xf8\x17\x9f"
  2396. "\x1e\x6a\x49\x8e\x43\xef\x7a\x49\xa5\x93\xd9\xed\xd1\x07\x03\xe4"
  2397. "\xa3\x55\xeb\x1e\x2f\x69\xd7\x40\x8f\x6e\x1c\xb6\x94\xfb\xba\x4e"
  2398. "\x46\xd0\x38\x71\x00\x88\x93\x6a\x55\xfc\x16\x95\x1f\xb1\xf6\x2f"
  2399. "\x26\x45\x50\x54\x30\x62\x62\xe8\x80\xe5\x24\x0b\xe4\x15\x6b\x32"
  2400. "\x16\xc2\x30\x9b\x56\xb4\xc9\x5e\x50\xb4\x27\x82\x86\x01\xda\x68"
  2401. "\x44\x4b\x15\x81\x31\x13\x52\xd8\x08\xbc\xae\xf3\xa5\x94\x1c\x81"
  2402. "\xe8\x42\xd6\x42\xd6\xff\x99\x58\x0f\x61\x3e\x82\x9e\x2d\x13\x03"
  2403. "\x54\x02\x74\xf4\x6b\x43\x43\xce\x54\x44\x36\x3f\x55\xfa\xb2\x56"
  2404. "\xdc\xac\xb5\x65\x89\xbe\x36\xd2\x58\x65\x79\x4c\xf3\xe2\x01\xf1"
  2405. "\x69\x96\x29\x20\x5d\xee\xf5\x8a\x8b\x9f\x72\xf7\x27\x02\xde\x3b"
  2406. "\xc7\x52\x19\xdc\x8e\x22\x36\x09\x14\x59\x07\xbb\x1e\x49\x69\x4f"
  2407. "\x00\x7b\x9a\x5d\x23\xe9\xbe\x0d\x52\x90\xa3\x0d\xde\xe7\x80\x57"
  2408. "\x53\x69\x39\xe6\xf8\x33\xeb\x92\x0d\x9e\x04\x8b\x16\x16\x16\x1c"
  2409. "\xa9\xe6\xe3\x0e\x0a\xc6\xf6\x61\xd1\x44\x2b\x3e\x5e\x02\xfe\xaa"
  2410. "\xe3\xf3\x8f\xf9\xc8\x20\x37\xad\xbc\x95\xb8\xc5\xe7\x95\xda\xfb"
  2411. "\x80\x5b\xf6\x40\x28\xae\xc1\x4c\x09\xde\xff\x1e\xbf\x51\xd2\xfe"
  2412. "\x08\xdc\xb0\x48\x21\xf5\x4c\x43\xdc\x7b\x69\x83\xc8\x69\x5c\xc4"
  2413. "\xa9\x98\x76\x4b\xc4\x4a\xac\x1d\xa5\x52\xe3\x35\x43\xdd\x30\xd4"
  2414. "\xa0\x51\x9c\xc2\x62\x4c\x7e\xa5\xfb\xd3\x2c\x8a\x09\x7f\x53\xa3"
  2415. "\xcd\xca\x58\x1b\x4c\xaf\xba\x21\x8b\x88\x1d\xc0\xe9\x0a\x17\x30"
  2416. "\x33\xd6\xa2\xa5\x49\x50\x61\x3b\xff\x37\x71\x66\xef\x61\xbc\xb2"
  2417. "\x53\x82\xe5\x70\xef\x32\xff\x9d\x97\xe0\x82\xe0\xbb\x49\xc2\x29"
  2418. "\x58\x89\xdd\xe9\x62\x52\xfb\xba\x22\xa6\xd9\x16\xfa\x55\xb3\x06"
  2419. "\xed\x6d\x70\x6e\xdc\x47\x7c\x67\x1a\xcc\x27\x98\xd4\xd7\xe6\xf0"
  2420. "\xf8\x9f\x51\x3e\xf0\xee\xad\xb6\x78\x69\x71\xb5\xcb\x09\xa3\xa6"
  2421. "\x3f\x29\x24\x46\xe0\x65\xbc\x9f\x6c\xe9\xf9\x49\x49\x96\x75\xe5"
  2422. "\xe1\xff\x82\x70\xf4\x7e\xff\x8f\xec\x47\x98\x6d\x5b\x88\x60\xee"
  2423. "\x43\xb1\xe2\x14\xc1\x49\x95\x74\x46\xd3\x3f\x73\xb2\xe9\x88\xe0"
  2424. "\xd3\xb1\xc4\x2c\xef\xee\xdd\x6c\xc5\xa1\x29\xef\x86\xd2\x36\x8a"
  2425. "\x2f\x7c\x9d\x28\x0a\x6d\xc9\x5a\xdb\xd4\x04\x06\x36\x96\x09\x03"
  2426. "\x71\x5d\x38\x67\xa2\x08\x2a\x04\xe7\xd6\x51\x5a\x19\x9d\xe7\xf1"
  2427. "\x5d\x6f\xe2\xff\x48\x37\xb7\x8b\xb1\x14\xb4\x96\xcd\xf0\xa7\xbd"
  2428. "\xef\x20\xff\x0a\x8d\x08\xb7\x15\x98\x5a\x13\xd2\xda\x2a\x27\x75",
  2429. .expected_a_public =
  2430. "\x45\x96\x5a\xb7\x78\x5c\xa4\x4d\x39\xb2\x5f\xc8\xc2\xaa\x1a\xf4"
  2431. "\xa6\x68\xf6\x6f\x7e\xa8\x4a\x5b\x0e\xba\x0a\x99\x85\xf9\x63\xd4"
  2432. "\x58\x21\x6d\xa8\x3c\xf4\x05\x10\xb0\x0d\x6f\x1c\xa0\x17\x85\xae"
  2433. "\x68\xbf\xcc\x00\xc8\x86\x1b\x24\x31\xc9\x49\x23\x91\xe0\x71\x29"
  2434. "\x06\x39\x39\x93\x49\x9c\x75\x18\x1a\x8b\x61\x73\x1c\x7f\x37\xd5"
  2435. "\xf1\xab\x20\x5e\x62\x25\xeb\x58\xd5\xfa\xc9\x7f\xad\x57\xd5\xcc"
  2436. "\x0d\xc1\x7a\x2b\x33\x2a\x76\x84\x33\x26\x97\xcf\x47\x9d\x72\x2a"
  2437. "\xc9\x39\xde\xa8\x42\x27\x2d\xdc\xee\x00\x60\xd2\x4f\x13\xe0\xde"
  2438. "\xd5\xc7\xf6\x7d\x8b\x2a\x43\x49\x40\x99\xc2\x61\x84\x8e\x57\x09"
  2439. "\x7c\xcc\x19\x46\xbd\x4c\xd2\x7c\x7d\x02\x4d\x88\xdf\x58\x24\x80"
  2440. "\xeb\x19\x3b\x2a\x13\x2b\x19\x85\x3c\xd8\x31\x03\x00\xa4\xd4\x57"
  2441. "\x23\x2c\x24\x37\xb3\x62\xea\x35\x29\xd0\x2c\xac\xfd\xbd\xdf\x3d"
  2442. "\xa6\xce\xfa\x0d\x5b\xb6\x15\x8b\xe3\x58\xe9\xad\x99\x87\x29\x51"
  2443. "\x8d\x97\xd7\xa9\x55\xf0\x72\x6e\x4e\x58\xcb\x2b\x4d\xbd\xd0\x48"
  2444. "\x7d\x14\x86\xdb\x3f\xa2\x5f\x6e\x35\x4a\xe1\x70\xb1\x53\x72\xb7"
  2445. "\xbc\xe9\x3d\x1b\x33\xc0\x54\x6f\x43\x55\x76\x85\x7f\x9b\xa5\xb3"
  2446. "\xc1\x1d\xd3\xfe\xe2\xd5\x96\x3d\xdd\x92\x04\xb1\xad\x75\xdb\x13"
  2447. "\x4e\x49\xfc\x35\x34\xc5\xda\x13\x98\xb8\x12\xbe\xda\x90\x55\x7c"
  2448. "\x11\x6c\xbe\x2b\x8c\x51\x29\x23\xc1\x51\xbc\x0c\x1c\xe2\x20\xfc"
  2449. "\xfe\xf2\xaa\x71\x9b\x21\xdf\x25\x1f\x68\x21\x7e\xe1\xc9\x87\xa0"
  2450. "\x20\xf6\x8d\x4f\x27\x8c\x3c\x0f\x9d\xf4\x69\x25\xaa\x49\xab\x94"
  2451. "\x22\x5a\x92\x3a\xba\xb4\xc2\x8c\x5a\xaa\x04\xbf\x46\xc5\xaa\x93"
  2452. "\xab\x0d\xe9\x54\x6c\x3a\x64\xa6\xa2\x21\x66\xee\x1c\x10\x21\x84"
  2453. "\xf2\x9e\xcc\x57\xac\xc2\x25\x62\xad\xbb\x59\xef\x25\x61\x6c\x81"
  2454. "\x38\x8a\xdc\x8c\xeb\x7b\x18\x1d\xaf\xa9\xc5\x9a\xf4\x49\x26\x8a"
  2455. "\x25\xc4\x3e\x31\x95\x28\xef\xf7\x72\xe9\xc5\xaa\x59\x72\x2b\x67"
  2456. "\x47\xe8\x6b\x51\x05\x24\xb8\x18\xb3\x34\x0f\x8c\x2b\x80\xba\x61"
  2457. "\x1c\xbe\x9e\x9a\x7c\xe3\x60\x5e\x49\x02\xff\x50\x8a\x64\x28\x64"
  2458. "\x46\x7b\x83\x14\x72\x6e\x59\x9b\x56\x09\xb4\xf0\xde\x52\xc3\xf3"
  2459. "\x58\x17\x6a\xae\xb1\x0f\xf4\x39\xcc\xd8\xce\x4d\xe1\x51\x17\x88"
  2460. "\xe4\x98\xd9\xd1\xa9\x55\xbc\xbf\x7e\xc4\x51\x96\xdb\x44\x1d\xcd"
  2461. "\x8d\x74\xad\xa7\x8f\x87\x83\x75\xfc\x36\xb7\xd2\xd4\x89\x16\x97"
  2462. "\xe4\xc6\x2a\xe9\x65\xc8\xca\x1c\xbd\x86\xaf\x57\x80\xf7\xdd\x42"
  2463. "\xc0\x3b\x3f\x87\x51\x02\x2f\xf8\xd8\x68\x0f\x3d\x95\x2d\xf1\x67"
  2464. "\x09\xa6\x5d\x0b\x7e\x01\xb4\xb2\x32\x01\xa8\xd0\x58\x0d\xe6\xa2"
  2465. "\xd8\x4b\x22\x10\x7d\x11\xf3\xc2\x4e\xb8\x43\x8e\x31\x79\x59\xe2"
  2466. "\xc4\x96\x29\x17\x40\x06\x0d\xdf\xdf\xc3\x02\x30\x2a\xd1\x8e\xf2"
  2467. "\xee\x2d\xd2\x12\x63\x5a\x1d\x3c\xba\x4a\xc4\x56\x90\xc6\x12\x0b"
  2468. "\xe0\x04\x3f\x35\x59\x8e\x40\x75\xf4\x4c\x10\x61\xb9\x30\x89\x7c"
  2469. "\x8d\x0e\x25\xb7\x5a\x6b\x97\x05\xc6\x37\x80\x6e\x94\x56\xa8\x5f"
  2470. "\x03\x94\x59\xc8\xc5\x3e\xdc\x23\xe5\x68\x4f\xd7\xbb\x6d\x7e\xc1"
  2471. "\x8d\xf9\xcc\x3f\x38\xad\x77\xb3\x18\x61\xed\x04\xc0\x71\xa7\x96"
  2472. "\xb1\xaf\x1d\x69\x78\xda\x6d\x89\x8b\x50\x75\x99\x44\xb3\xb2\x75"
  2473. "\xd1\xc8\x14\x40\xa1\x0a\xbf\xc4\x45\xc4\xee\x12\x90\x76\x26\x64"
  2474. "\xb7\x73\x2e\x0b\x0c\xfa\xc3\x55\x29\x24\x1b\x7a\x00\x27\x07\x26"
  2475. "\x36\xf0\x38\x1a\xe3\xb7\xc4\x8d\x1c\x9c\xa9\xc0\xc1\x45\x91\x9e"
  2476. "\x86\xdd\x82\x94\x45\xfa\xcd\x5a\x19\x12\x7d\xef\xda\x17\xad\x21"
  2477. "\x17\x89\x8b\x45\xa7\xf5\xed\x51\x9e\x58\x13\xdc\x84\xa4\xe6\x37",
  2478. .expected_ss =
  2479. "\x9a\x9c\x1c\xb7\x73\x2f\xf2\x12\xed\x59\x01\xbb\x75\xf7\xf5\xe4"
  2480. "\xa0\xa8\xbc\x3f\x3f\xb6\xf7\x74\x6e\xc4\xba\x6d\x6c\x4d\x93\x31"
  2481. "\x2b\xa7\xa4\xb3\x47\x8f\x77\x04\xb5\xa5\xab\xca\x6b\x5a\xe2\x86"
  2482. "\x02\x60\xca\xb4\xd7\x5e\xe0\x0f\x73\xdd\xa2\x38\x7c\xae\x0f\x5a"
  2483. "\x1a\xd7\xfd\xb6\xc8\x6f\xdd\xe0\x98\xd5\x07\xea\x1f\x2a\xbb\x9e"
  2484. "\xef\x01\x24\x04\xee\xf5\x89\xb1\x12\x26\x54\x95\xef\xcb\x84\xe9"
  2485. "\xae\x05\xef\x63\x25\x15\x65\x79\x79\x79\x91\xc3\x76\x72\xb4\x85"
  2486. "\x86\xd9\xd3\x03\xb0\xff\x04\x96\x05\x3c\xde\xbf\x47\x34\x76\x70"
  2487. "\x17\xd2\x24\x83\xb9\xbb\xcf\x70\x7c\xb8\xc6\x7b\x4e\x01\x86\x36"
  2488. "\xc7\xc5\xe5\x8b\x7c\x69\x74\x9a\xfe\x1f\x58\x85\x0f\x00\xf8\x4e"
  2489. "\xf1\x56\xdc\xd1\x11\x28\x2c\xcf\x6c\xb9\xc9\x57\x17\x2e\x19\x19"
  2490. "\x55\xb3\x4c\xd8\xfb\xe7\x6f\x70\x63\xf9\x53\x45\xdd\xd5\x62\x95"
  2491. "\xd3\x7d\x7e\xa0\x00\x1a\x62\x9f\x96\x0a\x5d\x0a\x25\x02\xbb\xff"
  2492. "\x5a\xe8\x9e\x5a\x66\x08\x93\xbc\x92\xaf\xd2\x28\x04\x97\xc1\x54"
  2493. "\xfe\xcc\x0a\x25\xa2\xf4\x1d\x5a\x9a\xb1\x3e\x9c\xba\x78\xe2\xcf"
  2494. "\x71\x70\xe3\x40\xea\xba\x69\x9b\x03\xdd\x99\x26\x09\x84\x9d\x69"
  2495. "\x4d\x3d\x0b\xe9\x3f\x51\xcd\x05\xe5\x00\xaf\x2c\xd3\xf6\xc0\x68"
  2496. "\xb5\x23\x53\x33\x14\xbd\x39\x1c\xbd\x1b\xe6\x72\x90\xcc\xc2\x86"
  2497. "\x1a\x42\x83\x55\xb3\xed\x0b\x62\x6d\x0e\xbb\x9e\x2a\x42\x32\x05"
  2498. "\x3f\xf2\x2c\xc8\x9f\x3c\xd2\xb1\x0b\xb6\x4c\xa0\x22\x36\xee\xb9"
  2499. "\x55\x23\x3e\x80\xc7\x28\x7c\x39\x11\xd3\x4a\x96\x2e\xef\x52\x34"
  2500. "\xf2\xda\xb1\xc6\xf5\x02\x10\xbf\x56\x6b\x50\x56\xcd\x2c\xfe\xe1"
  2501. "\x94\x14\x19\x24\x6e\x9a\xdf\x0c\xb8\xe2\xb8\xd5\xa3\xc1\x22\x8e"
  2502. "\x84\x92\x00\x16\xf1\x3f\x83\xf6\x36\x31\xa5\x38\xc6\xcf\xf8\x9b"
  2503. "\x03\xc7\x6f\xb9\xa1\x04\xdf\x20\x0f\x0b\x0f\x70\xff\x57\x36\x7f"
  2504. "\xb3\x6b\xcb\x8f\x48\xf7\xb2\xdb\x85\x05\xd1\xfe\x34\x05\xf6\x57"
  2505. "\xb4\x5b\xcc\x3f\x0e\xba\x36\x59\xb0\xfd\x4d\xf6\xf4\x5e\xd2\x65"
  2506. "\x1d\x98\x87\xb4\x5e\xff\x29\xaa\x84\x9b\x44\x0f\x06\x36\x61\xbd"
  2507. "\xdb\x51\xda\x56\xc2\xd6\x19\xe2\x57\x4f\xd0\x29\x71\xc8\xe4\xd6"
  2508. "\xfb\x8c\xd0\xfc\x4f\x25\x09\xa6\xfc\x67\xe2\xb8\xac\xd3\x88\x8f"
  2509. "\x1f\xf6\xa1\xe3\x45\xa6\x34\xe3\xb1\x6b\xb7\x37\x0e\x06\xc7\x63"
  2510. "\xde\xac\x3b\xac\x07\x91\x64\xcc\x12\x10\x46\x85\x14\x0b\x6b\x03"
  2511. "\xba\x4a\x85\xae\xc5\x8c\xa5\x9d\x36\x38\x33\xca\x42\x9c\x4b\x0c"
  2512. "\x46\xe1\x77\xe9\x1f\x80\xfe\xb7\x1d\x5a\xf4\xc6\x11\x26\x78\xea"
  2513. "\x81\x25\x77\x47\xed\x8b\x59\xc2\x6b\x49\xff\x83\x56\xec\xa5\xf0"
  2514. "\xe0\x8b\x15\xd4\x99\x40\x2a\x65\x2a\x98\xf4\x71\x35\x63\x84\x08"
  2515. "\x4d\xcd\x71\x85\x55\xbc\xa4\x1c\x90\x93\x03\x41\xde\xed\x78\x62"
  2516. "\x07\x30\x50\xac\x60\x21\x06\xc3\xab\xa4\x04\xc0\xc2\x32\x07\xc4"
  2517. "\x1f\x2f\xec\xe2\x32\xbf\xbe\x5e\x50\x5b\x2a\x19\x71\x44\x37\x76"
  2518. "\x8b\xbc\xdb\x73\x98\x65\x78\xc9\x33\x97\x7e\xdc\x60\xa8\x87\xf2"
  2519. "\xb5\x96\x55\x7f\x44\x07\xcb\x3b\xf3\xd7\x82\xfd\x77\x21\x82\x21"
  2520. "\x1a\x8b\xa2\xf5\x1f\x66\xd0\x57\x00\x4f\xa9\xa5\x33\xb8\x69\x91"
  2521. "\xe8\x2e\xf7\x73\x47\x89\x30\x9b\xb1\xfd\xe1\x5d\x11\xfd\x84\xd9"
  2522. "\xa2\x91\x1f\x8a\xa7\x7a\x77\x8e\x3b\x10\x1d\x0a\x59\x50\x34\xb0"
  2523. "\xc3\x90\x9f\x56\xb7\x43\xeb\x51\x99\x2b\x8e\x6d\x7b\x58\xe7\xc0"
  2524. "\x7f\x3d\xa0\x27\x50\xf2\x6e\xc8\x1e\x7f\x84\xb3\xe1\xf7\x09\x85"
  2525. "\xd2\x9b\x56\x6b\xba\xa5\x19\x2e\xec\xd8\x5c\xf5\x4e\x43\x36\x2e"
  2526. "\x89\x85\x41\x7f\x9c\x91\x2e\x62\xc3\x41\xcf\x0e\xa1\x7f\xeb\x50",
  2527. .secret_size = 784,
  2528. .b_public_size = 768,
  2529. .expected_a_public_size = 768,
  2530. .expected_ss_size = 768,
  2531. },
  2532. {
  2533. .secret =
  2534. #ifdef __LITTLE_ENDIAN
  2535. "\x01\x00" /* type */
  2536. "\x10\x00" /* len */
  2537. "\x00\x00\x00\x00" /* key_size */
  2538. "\x00\x00\x00\x00" /* p_size */
  2539. "\x00\x00\x00\x00", /* g_size */
  2540. #else
  2541. "\x00\x01" /* type */
  2542. "\x00\x10" /* len */
  2543. "\x00\x00\x00\x00" /* key_size */
  2544. "\x00\x00\x00\x00" /* p_size */
  2545. "\x00\x00\x00\x00", /* g_size */
  2546. #endif
  2547. .b_secret =
  2548. #ifdef __LITTLE_ENDIAN
  2549. "\x01\x00" /* type */
  2550. "\x10\x03" /* len */
  2551. "\x00\x03\x00\x00" /* key_size */
  2552. "\x00\x00\x00\x00" /* p_size */
  2553. "\x00\x00\x00\x00" /* g_size */
  2554. #else
  2555. "\x00\x01" /* type */
  2556. "\x03\x10" /* len */
  2557. "\x00\x00\x03\x00" /* key_size */
  2558. "\x00\x00\x00\x00" /* p_size */
  2559. "\x00\x00\x00\x00" /* g_size */
  2560. #endif
  2561. /* xa */
  2562. "\x63\x3e\x6f\xe0\xfe\x9f\x4a\x01\x62\x77\xce\xf1\xc7\xcc\x49\x4d"
  2563. "\x92\x53\x56\xe3\x39\x15\x81\xb2\xcd\xdc\xaf\x5e\xbf\x31\x1f\x69"
  2564. "\xce\x41\x35\x24\xaa\x46\x53\xb5\xb7\x3f\x2b\xad\x95\x14\xfb\xe4"
  2565. "\x9a\x61\xcd\x0f\x1f\x02\xee\xa4\x79\x2c\x9d\x1a\x7c\x62\x82\x39"
  2566. "\xdd\x43\xcc\x58\x9f\x62\x47\x56\x1d\x0f\xc2\x67\xbc\x24\xd0\xf9"
  2567. "\x0a\x50\x1b\x10\xe7\xbb\xd1\xc2\x01\xbb\xc4\x4c\xda\x12\x60\x0e"
  2568. "\x95\x2b\xde\x09\xd6\x67\xe1\xbc\x4c\xb9\x67\xdf\xd0\x1f\x97\xb4"
  2569. "\xde\xcb\x6b\x78\x83\x51\x74\x33\x01\x7f\xf6\x0a\x95\x69\x93\x00"
  2570. "\x2a\xc3\x75\x8e\xef\xbe\x53\x11\x6d\xc4\xd0\x9f\x6d\x63\x48\xc1"
  2571. "\x91\x1f\x7d\x88\xa7\x90\x78\xd1\x7e\x52\x42\x10\x01\xb4\x27\x95"
  2572. "\x91\x43\xcc\x82\x91\x86\x62\xa0\x9d\xef\x65\x6e\x67\xcf\x19\x11"
  2573. "\x35\x37\x5e\x94\x97\x83\xa6\x83\x1c\x7e\x8a\x3e\x32\xb0\xce\xff"
  2574. "\x20\xdc\x7b\x6e\x18\xd9\x6b\x27\x31\xfc\xc3\xef\x47\x8d\xbe\x34"
  2575. "\x2b\xc7\x60\x74\x3c\x93\xb3\x8e\x54\x77\x4e\x73\xe6\x40\x72\x35"
  2576. "\xb0\xf0\x06\x53\x43\xbe\xd0\xc3\x87\xcc\x38\x96\xa9\x10\xa0\xd6"
  2577. "\x17\xed\xa5\x6a\xf4\xf6\xaa\x77\x40\xed\x7d\x2e\x58\x0f\x5b\x04"
  2578. "\x5a\x41\x12\x95\x22\xcb\xa3\xce\x8b\x6d\x6d\x89\xec\x7c\x1d\x25"
  2579. "\x27\x52\x50\xa0\x5b\x93\x8c\x5d\x3f\x56\xb9\xa6\x5e\xe5\xf7\x9b"
  2580. "\xc7\x9a\x4a\x2e\x79\xb5\xca\x29\x58\x52\xa0\x63\xe4\x9d\xeb\x4c"
  2581. "\x4c\xa8\x37\x0b\xe9\xa0\x18\xf1\x86\xf6\x4d\x32\xfb\x9e\x4f\xb3"
  2582. "\x7b\x5d\x58\x78\x70\xbd\x56\xac\x99\x75\x25\x71\x66\x76\x4e\x5e"
  2583. "\x67\x4f\xb1\x17\xa7\x8b\x55\x12\x87\x01\x4e\xd1\x66\xef\xd0\x70"
  2584. "\xaf\x14\x34\xee\x2a\x76\x49\x25\xa6\x2e\x43\x37\x75\x7d\x1a\xad"
  2585. "\x08\xd5\x01\x85\x9c\xe1\x20\xd8\x38\x5c\x57\xa5\xed\x9d\x46\x3a"
  2586. "\xb7\x46\x60\x29\x8b\xc4\x21\x50\x0a\x30\x9c\x57\x42\xe4\x35\xf8"
  2587. "\x12\x5c\x4f\xa2\x20\xc2\xc9\x43\xe3\x6d\x20\xbc\xdf\xb8\x37\x33"
  2588. "\x45\x43\x06\x4e\x08\x6f\x8a\xcd\x61\xc3\x1b\x05\x28\x82\xbe\xf0"
  2589. "\x48\x33\xe5\x93\xc9\x1a\x61\x16\x67\x03\x9d\x47\x9d\x74\xeb\xae"
  2590. "\x13\xf2\xb4\x1b\x09\x11\xf5\x15\xcb\x28\xfd\x50\xe0\xbc\x58\x36"
  2591. "\x38\x91\x2c\x07\x27\x1f\x49\x68\xf4\xce\xad\xf7\xba\xec\x5d\x3d"
  2592. "\xfd\x27\xe2\xcf\xf4\x56\xfe\x08\xa6\x11\x61\xcb\x6c\x9f\xf9\x3c"
  2593. "\x57\x0b\x8b\xaa\x00\x16\x18\xba\x1f\xe8\x4f\x01\xe2\x79\x2a\x0b"
  2594. "\xc1\xbd\x52\xef\xe6\xf7\x5a\x66\xfe\x07\x3b\x50\x6b\xbb\xcb\x39"
  2595. "\x3c\x94\xf6\x21\x0d\x68\x69\xa4\xed\x2e\xb5\x85\x03\x11\x38\x79"
  2596. "\xec\xb5\x22\x23\xdf\x9e\xad\xb4\xbe\xd7\xc7\xdf\xea\x30\x23\x8a"
  2597. "\xb7\x21\x0a\x9d\xbd\x99\x13\x7d\x5f\x7e\xaf\x28\x54\x3f\xca\x5e"
  2598. "\xf4\xfc\x05\x0d\x65\x67\xd8\xf6\x8e\x90\x9d\x0d\xcf\x62\x82\xd6"
  2599. "\x9f\x02\xf8\xca\xfa\x42\x24\x7f\x4d\xb7\xfc\x92\xa6\x4a\x51\xc4"
  2600. "\xd8\xae\x19\x87\xc6\xa3\x83\xbe\x7b\x6d\xc3\xf5\xb8\xad\x4a\x05"
  2601. "\x78\x84\x3a\x15\x2e\x40\xbe\x79\xa9\xc0\x12\xa1\x48\x39\xc3\xdb"
  2602. "\x47\x4f\x7d\xea\x6d\xc7\xfa\x2c\x4e\xe9\xa5\x85\x81\xea\x6c\xcd"
  2603. "\x8a\xe5\x74\x17\x76\x31\x31\x75\x96\x83\xca\x81\xbb\x5c\xa9\x79"
  2604. "\x2c\xbd\x09\xfe\xe4\x86\x0d\x8c\x76\x9c\xbc\xe8\x93\xe4\xd0\xe4"
  2605. "\x0f\xf8\xff\x24\x7e\x66\x61\x69\xfb\xe4\x46\x08\x94\x99\xa5\x53"
  2606. "\xd7\xe4\x29\x72\x86\x86\xe8\x1d\x37\xfa\xcb\xd0\x8d\x51\xd0\xbf"
  2607. "\x81\xcf\x55\xb9\xc5\x78\x8c\x74\xa0\x16\x3a\xd2\x19\x94\x29\x6a"
  2608. "\x5e\xec\xd3\x20\xa0\xb2\xfd\xce\xd4\x14\xa3\x39\x10\xa9\xf4\x4e"
  2609. "\xba\x21\x09\x5c\xe6\x61\x43\x51\xae\xc4\x71\xd7\x21\xef\x98\x39",
  2610. .b_public =
  2611. "\x45\x96\x5a\xb7\x78\x5c\xa4\x4d\x39\xb2\x5f\xc8\xc2\xaa\x1a\xf4"
  2612. "\xa6\x68\xf6\x6f\x7e\xa8\x4a\x5b\x0e\xba\x0a\x99\x85\xf9\x63\xd4"
  2613. "\x58\x21\x6d\xa8\x3c\xf4\x05\x10\xb0\x0d\x6f\x1c\xa0\x17\x85\xae"
  2614. "\x68\xbf\xcc\x00\xc8\x86\x1b\x24\x31\xc9\x49\x23\x91\xe0\x71\x29"
  2615. "\x06\x39\x39\x93\x49\x9c\x75\x18\x1a\x8b\x61\x73\x1c\x7f\x37\xd5"
  2616. "\xf1\xab\x20\x5e\x62\x25\xeb\x58\xd5\xfa\xc9\x7f\xad\x57\xd5\xcc"
  2617. "\x0d\xc1\x7a\x2b\x33\x2a\x76\x84\x33\x26\x97\xcf\x47\x9d\x72\x2a"
  2618. "\xc9\x39\xde\xa8\x42\x27\x2d\xdc\xee\x00\x60\xd2\x4f\x13\xe0\xde"
  2619. "\xd5\xc7\xf6\x7d\x8b\x2a\x43\x49\x40\x99\xc2\x61\x84\x8e\x57\x09"
  2620. "\x7c\xcc\x19\x46\xbd\x4c\xd2\x7c\x7d\x02\x4d\x88\xdf\x58\x24\x80"
  2621. "\xeb\x19\x3b\x2a\x13\x2b\x19\x85\x3c\xd8\x31\x03\x00\xa4\xd4\x57"
  2622. "\x23\x2c\x24\x37\xb3\x62\xea\x35\x29\xd0\x2c\xac\xfd\xbd\xdf\x3d"
  2623. "\xa6\xce\xfa\x0d\x5b\xb6\x15\x8b\xe3\x58\xe9\xad\x99\x87\x29\x51"
  2624. "\x8d\x97\xd7\xa9\x55\xf0\x72\x6e\x4e\x58\xcb\x2b\x4d\xbd\xd0\x48"
  2625. "\x7d\x14\x86\xdb\x3f\xa2\x5f\x6e\x35\x4a\xe1\x70\xb1\x53\x72\xb7"
  2626. "\xbc\xe9\x3d\x1b\x33\xc0\x54\x6f\x43\x55\x76\x85\x7f\x9b\xa5\xb3"
  2627. "\xc1\x1d\xd3\xfe\xe2\xd5\x96\x3d\xdd\x92\x04\xb1\xad\x75\xdb\x13"
  2628. "\x4e\x49\xfc\x35\x34\xc5\xda\x13\x98\xb8\x12\xbe\xda\x90\x55\x7c"
  2629. "\x11\x6c\xbe\x2b\x8c\x51\x29\x23\xc1\x51\xbc\x0c\x1c\xe2\x20\xfc"
  2630. "\xfe\xf2\xaa\x71\x9b\x21\xdf\x25\x1f\x68\x21\x7e\xe1\xc9\x87\xa0"
  2631. "\x20\xf6\x8d\x4f\x27\x8c\x3c\x0f\x9d\xf4\x69\x25\xaa\x49\xab\x94"
  2632. "\x22\x5a\x92\x3a\xba\xb4\xc2\x8c\x5a\xaa\x04\xbf\x46\xc5\xaa\x93"
  2633. "\xab\x0d\xe9\x54\x6c\x3a\x64\xa6\xa2\x21\x66\xee\x1c\x10\x21\x84"
  2634. "\xf2\x9e\xcc\x57\xac\xc2\x25\x62\xad\xbb\x59\xef\x25\x61\x6c\x81"
  2635. "\x38\x8a\xdc\x8c\xeb\x7b\x18\x1d\xaf\xa9\xc5\x9a\xf4\x49\x26\x8a"
  2636. "\x25\xc4\x3e\x31\x95\x28\xef\xf7\x72\xe9\xc5\xaa\x59\x72\x2b\x67"
  2637. "\x47\xe8\x6b\x51\x05\x24\xb8\x18\xb3\x34\x0f\x8c\x2b\x80\xba\x61"
  2638. "\x1c\xbe\x9e\x9a\x7c\xe3\x60\x5e\x49\x02\xff\x50\x8a\x64\x28\x64"
  2639. "\x46\x7b\x83\x14\x72\x6e\x59\x9b\x56\x09\xb4\xf0\xde\x52\xc3\xf3"
  2640. "\x58\x17\x6a\xae\xb1\x0f\xf4\x39\xcc\xd8\xce\x4d\xe1\x51\x17\x88"
  2641. "\xe4\x98\xd9\xd1\xa9\x55\xbc\xbf\x7e\xc4\x51\x96\xdb\x44\x1d\xcd"
  2642. "\x8d\x74\xad\xa7\x8f\x87\x83\x75\xfc\x36\xb7\xd2\xd4\x89\x16\x97"
  2643. "\xe4\xc6\x2a\xe9\x65\xc8\xca\x1c\xbd\x86\xaf\x57\x80\xf7\xdd\x42"
  2644. "\xc0\x3b\x3f\x87\x51\x02\x2f\xf8\xd8\x68\x0f\x3d\x95\x2d\xf1\x67"
  2645. "\x09\xa6\x5d\x0b\x7e\x01\xb4\xb2\x32\x01\xa8\xd0\x58\x0d\xe6\xa2"
  2646. "\xd8\x4b\x22\x10\x7d\x11\xf3\xc2\x4e\xb8\x43\x8e\x31\x79\x59\xe2"
  2647. "\xc4\x96\x29\x17\x40\x06\x0d\xdf\xdf\xc3\x02\x30\x2a\xd1\x8e\xf2"
  2648. "\xee\x2d\xd2\x12\x63\x5a\x1d\x3c\xba\x4a\xc4\x56\x90\xc6\x12\x0b"
  2649. "\xe0\x04\x3f\x35\x59\x8e\x40\x75\xf4\x4c\x10\x61\xb9\x30\x89\x7c"
  2650. "\x8d\x0e\x25\xb7\x5a\x6b\x97\x05\xc6\x37\x80\x6e\x94\x56\xa8\x5f"
  2651. "\x03\x94\x59\xc8\xc5\x3e\xdc\x23\xe5\x68\x4f\xd7\xbb\x6d\x7e\xc1"
  2652. "\x8d\xf9\xcc\x3f\x38\xad\x77\xb3\x18\x61\xed\x04\xc0\x71\xa7\x96"
  2653. "\xb1\xaf\x1d\x69\x78\xda\x6d\x89\x8b\x50\x75\x99\x44\xb3\xb2\x75"
  2654. "\xd1\xc8\x14\x40\xa1\x0a\xbf\xc4\x45\xc4\xee\x12\x90\x76\x26\x64"
  2655. "\xb7\x73\x2e\x0b\x0c\xfa\xc3\x55\x29\x24\x1b\x7a\x00\x27\x07\x26"
  2656. "\x36\xf0\x38\x1a\xe3\xb7\xc4\x8d\x1c\x9c\xa9\xc0\xc1\x45\x91\x9e"
  2657. "\x86\xdd\x82\x94\x45\xfa\xcd\x5a\x19\x12\x7d\xef\xda\x17\xad\x21"
  2658. "\x17\x89\x8b\x45\xa7\xf5\xed\x51\x9e\x58\x13\xdc\x84\xa4\xe6\x37",
  2659. .secret_size = 16,
  2660. .b_secret_size = 784,
  2661. .b_public_size = 768,
  2662. .expected_a_public_size = 768,
  2663. .expected_ss_size = 768,
  2664. .genkey = true,
  2665. },
  2666. };
  2667. static const struct kpp_testvec ffdhe8192_dh_tv_template[] __maybe_unused = {
  2668. {
  2669. .secret =
  2670. #ifdef __LITTLE_ENDIAN
  2671. "\x01\x00" /* type */
  2672. "\x10\x04" /* len */
  2673. "\x00\x04\x00\x00" /* key_size */
  2674. "\x00\x00\x00\x00" /* p_size */
  2675. "\x00\x00\x00\x00" /* g_size */
  2676. #else
  2677. "\x00\x01" /* type */
  2678. "\x04\x10" /* len */
  2679. "\x00\x00\x04\x00" /* key_size */
  2680. "\x00\x00\x00\x00" /* p_size */
  2681. "\x00\x00\x00\x00" /* g_size */
  2682. #endif
  2683. /* xa */
  2684. "\x76\x6e\xeb\xf9\xeb\x76\xae\x37\xcb\x19\x49\x8b\xeb\xaf\xb0\x4b"
  2685. "\x6d\xe9\x15\xad\xda\xf2\xef\x58\xe9\xd6\xdd\x4c\xb3\x56\xd0\x3b"
  2686. "\x00\xb0\x65\xed\xae\xe0\x2e\xdf\x8f\x45\x3f\x3c\x5d\x2f\xfa\x96"
  2687. "\x36\x33\xb2\x01\x8b\x0f\xe8\x46\x15\x6d\x60\x5b\xec\x32\xc3\x3b"
  2688. "\x06\xf3\xb4\x1b\x9a\xef\x3c\x03\x0e\xcc\xce\x1d\x24\xa0\xc9\x08"
  2689. "\x65\xf9\x45\xe5\xd2\x43\x08\x88\x58\xd6\x46\xe7\xbb\x25\xac\xed"
  2690. "\x3b\xac\x6f\x5e\xfb\xd6\x19\xa6\x20\x3a\x1d\x0c\xe8\x00\x72\x54"
  2691. "\xd7\xd9\xc9\x26\x49\x18\xc6\xb8\xbc\xdd\xf3\xce\xf3\x7b\x69\x04"
  2692. "\x5c\x6f\x11\xdb\x44\x42\x72\xb6\xb7\x84\x17\x86\x47\x3f\xc5\xa1"
  2693. "\xd8\x86\xef\xe2\x27\x49\x2b\x8f\x3e\x91\x12\xd9\x45\x96\xf7\xe6"
  2694. "\x77\x76\x36\x58\x71\x9a\xb1\xdb\xcf\x24\x9e\x7e\xad\xce\x45\xba"
  2695. "\xb5\xec\x8e\xb9\xd6\x7b\x3d\x76\xa4\x85\xad\xd8\x49\x9b\x80\x9d"
  2696. "\x7f\x9f\x85\x09\x9e\x86\x5b\x6b\xf3\x8d\x39\x5e\x6f\xe4\x30\xc8"
  2697. "\xa5\xf3\xdf\x68\x73\x6b\x2e\x9a\xcb\xac\x0a\x0d\x44\xc1\xaf\xb2"
  2698. "\x11\x1b\x7c\x43\x08\x44\x43\xe2\x4e\xfd\x93\x30\x99\x09\x12\xbb"
  2699. "\xf6\x31\x34\xa5\x3d\x45\x98\xee\xd7\x2a\x1a\x89\xf5\x37\x92\x33"
  2700. "\xa0\xdd\xf5\xfb\x1f\x90\x42\x55\x5a\x0b\x82\xff\xf0\x96\x92\x15"
  2701. "\x65\x5a\x55\x96\xca\x1b\xd5\xe5\xb5\x94\xde\x2e\xa6\x03\x57\x9e"
  2702. "\x15\xe4\x32\x2b\x1f\xb2\x22\x21\xe9\xa0\x05\xd3\x65\x6c\x11\x66"
  2703. "\x25\x38\xbb\xa3\x6c\xc2\x0b\x2b\xd0\x7a\x20\x26\x29\x37\x5d\x5f"
  2704. "\xd8\xff\x2a\xcd\x46\x6c\xd6\x6e\xe5\x77\x1a\xe6\x33\xf1\x8e\xc8"
  2705. "\x10\x30\x11\x00\x27\xf9\x7d\x0e\x28\x43\xa7\x67\x38\x7f\x16\xda"
  2706. "\xd0\x01\x8e\xa4\xe8\x6f\xcd\x23\xaf\x77\x52\x34\xad\x7e\xc3\xed"
  2707. "\x2d\x10\x0a\x33\xdc\xcf\x1b\x88\x0f\xcc\x48\x7f\x42\xf0\x9e\x13"
  2708. "\x1f\xf5\xd1\xe9\x90\x87\xbd\xfa\x5f\x1d\x77\x55\xcb\xc3\x05\xaf"
  2709. "\x71\xd0\xe0\xab\x46\x31\xd7\xea\x89\x54\x2d\x39\xaf\xf6\x4f\x74"
  2710. "\xaf\x46\x58\x89\x78\x95\x2e\xe6\x90\xb7\xaa\x00\x73\x9f\xed\xb9"
  2711. "\x00\xd6\xf6\x6d\x26\x59\xcd\x56\xdb\xf7\x3d\x5f\xeb\x6e\x46\x33"
  2712. "\xb1\x23\xed\x9f\x8d\x58\xdc\xb4\x28\x3b\x90\x09\xc4\x61\x02\x1f"
  2713. "\xf8\x62\xf2\x6e\xc1\x94\x71\x66\x93\x11\xdf\xaa\x3e\xd7\xb5\xe5"
  2714. "\xc1\x78\xe9\x14\xcd\x55\x16\x51\xdf\x8d\xd0\x94\x8c\x43\xe9\xb8"
  2715. "\x1d\x42\x7f\x76\xbc\x6f\x87\x42\x88\xde\xd7\x52\x78\x00\x4f\x18"
  2716. "\x02\xe7\x7b\xe2\x8a\xc3\xd1\x43\xa5\xac\xda\xb0\x8d\x19\x96\xd4"
  2717. "\x81\xe0\x75\xe9\xca\x41\x7e\x1f\x93\x0b\x26\x24\xb3\xaa\xdd\x10"
  2718. "\x20\xd3\xf2\x9f\x3f\xdf\x65\xde\x67\x79\xdc\x76\x9f\x3c\x72\x75"
  2719. "\x65\x8a\x30\xcc\xd2\xcc\x06\xb1\xab\x62\x86\x78\x5d\xb8\xce\x72"
  2720. "\xb3\x12\xc7\x9f\x07\xd0\x6b\x98\x82\x9b\x6c\xbb\x15\xe5\xcc\xf4"
  2721. "\xc8\xf4\x60\x81\xdc\xd3\x09\x1b\x5e\xd4\xf3\x55\xcf\x1c\x16\x83"
  2722. "\x61\xb4\x2e\xcc\x08\x67\x58\xfd\x46\x64\xbc\x29\x4b\xdd\xda\xec"
  2723. "\xdc\xc6\xa9\xa5\x73\xfb\xf8\xf3\xaf\x89\xa8\x9e\x25\x14\xfa\xac"
  2724. "\xeb\x1c\x7c\x80\x96\x66\x4d\x41\x67\x9b\x07\x4f\x0a\x97\x17\x1c"
  2725. "\x4d\x61\xc7\x2e\x6f\x36\x98\x29\x50\x39\x6d\xe7\x70\xda\xf0\xc8"
  2726. "\x05\x80\x7b\x32\xff\xfd\x12\xde\x61\x0d\xf9\x4c\x21\xf1\x56\x72"
  2727. "\x3d\x61\x46\xc0\x2d\x07\xd1\x6c\xd3\xbe\x9a\x21\x83\x85\xf7\xed"
  2728. "\x53\x95\x44\x40\x8f\x75\x12\x18\xc2\x9a\xfd\x5e\xce\x66\xa6\x7f"
  2729. "\x57\xc0\xd7\x73\x76\xb3\x13\xda\x2e\x58\xc6\x27\x40\xb2\x2d\xef"
  2730. "\x7d\x72\xb4\xa8\x75\x6f\xcc\x5f\x42\x3e\x2c\x90\x36\x59\xa0\x34"
  2731. "\xaa\xce\xbc\x04\x4c\xe6\x56\xc2\xcd\xa6\x1c\x59\x04\x56\x53\xcf"
  2732. "\x6d\xd7\xf0\xb1\x4f\x91\xfa\x84\xcf\x4b\x8d\x50\x4c\xf8\x2a\x31"
  2733. "\x5f\xe3\xba\x79\xb4\xcc\x59\x64\xe3\x7a\xfa\xf6\x06\x9d\x04\xbb"
  2734. "\xce\x61\xbf\x9e\x59\x0a\x09\x51\x6a\xbb\x0b\x80\xe0\x91\xc1\x51"
  2735. "\x04\x58\x67\x67\x4b\x42\x4f\x95\x68\x75\xe2\x1f\x9c\x14\x70\xfd"
  2736. "\x3a\x8a\xce\x8b\x04\xa1\x89\xe7\xb4\xbf\x70\xfe\xf3\x0c\x48\x04"
  2737. "\x3a\xd2\x85\x68\x03\xe7\xfa\xec\x5b\x55\xb7\x95\xfd\x5b\x19\x35"
  2738. "\xad\xcb\x4a\x63\x03\x44\x64\x2a\x48\x59\x9a\x26\x43\x96\x8c\xe6"
  2739. "\xbd\xb7\x90\xd4\x5f\x8d\x08\x28\xa8\xc5\x89\x70\xb9\x6e\xd3\x3b"
  2740. "\x76\x0e\x37\x98\x15\x27\xca\xc9\xb0\xe0\xfd\xf3\xc6\xdf\x69\xce"
  2741. "\xe1\x5f\x6a\x3e\x5c\x86\xe2\x58\x41\x11\xf0\x7e\x56\xec\xe4\xc9"
  2742. "\x0d\x87\x91\xfb\xb9\xc8\x0d\x34\xab\xb0\xc6\xf2\xa6\x00\x7b\x18"
  2743. "\x92\xf4\x43\x7f\x01\x85\x2e\xef\x8c\x72\x50\x10\xdb\xf1\x37\x62"
  2744. "\x16\x85\x71\x01\xa8\x2b\xf0\x13\xd3\x7c\x0b\xaf\xf1\xf3\xd1\xee"
  2745. "\x90\x41\x5f\x7d\x5b\xa9\x83\x4b\xfa\x80\x59\x50\x73\xe1\xc4\xf9"
  2746. "\x5e\x4b\xde\xd9\xf5\x22\x68\x5e\x65\xd9\x37\xe4\x1a\x08\x0e\xb1"
  2747. "\x28\x2f\x40\x9e\x37\xa8\x12\x56\xb7\xb8\x64\x94\x68\x94\xff\x9f",
  2748. .b_public =
  2749. "\x26\xa8\x3a\x97\xe0\x52\x76\x07\x26\xa7\xbb\x21\xfd\xe5\x69\xde"
  2750. "\xe6\xe0\xb5\xa0\xf1\xaa\x51\x2b\x56\x1c\x3c\x6c\xe5\x9f\x8f\x75"
  2751. "\x71\x04\x86\xf6\x43\x2f\x20\x7f\x45\x4f\x5c\xb9\xf3\x90\xbe\xa9"
  2752. "\xa0\xd7\xe8\x03\x0e\xfe\x99\x9b\x8a\x1c\xbe\xa7\x63\xe8\x2b\x45"
  2753. "\xd4\x2c\x65\x25\x4c\x33\xda\xc5\x85\x77\x5d\x62\xea\x93\xe4\x45"
  2754. "\x59\xff\xa1\xd2\xf1\x73\x11\xed\x02\x64\x8a\x1a\xfb\xe1\x88\xa6"
  2755. "\x50\x6f\xff\x87\x12\xbb\xfc\x10\xcf\x19\x41\xb0\x35\x44\x7d\x51"
  2756. "\xe9\xc0\x77\xf2\x73\x21\x2e\x62\xbf\x65\xa5\xd1\x3b\xb1\x3e\x19"
  2757. "\x75\x4b\xb7\x8e\x03\xc3\xdf\xc8\xb2\xe6\xec\x2d\x7d\xa5\x6a\xba"
  2758. "\x93\x47\x50\xeb\x6e\xdb\x88\x05\x45\xad\x03\x8c\xf7\x9a\xe1\xc9"
  2759. "\x1e\x16\x96\x37\xa5\x3e\xe9\xb9\xa8\xdc\xb9\xa9\xf6\xa1\x3d\xed"
  2760. "\xbe\x12\x29\x8a\x3d\x3d\x90\xfc\x94\xfe\x66\x28\x1c\x1b\xa4\x89"
  2761. "\x47\x66\x4f\xac\x14\x00\x22\x2d\x5c\x03\xea\x71\x4d\x19\x7d\xd6"
  2762. "\x58\x39\x4c\x3d\x06\x2b\x30\xa6\xdc\x2c\x8d\xd1\xde\x79\x77\xfa"
  2763. "\x9c\x6b\x72\x11\x8a\x7f\x7d\x37\x28\x2a\x88\xbf\x0a\xdb\xac\x3b"
  2764. "\xc5\xa5\xd5\x7e\x25\xec\xa6\x7f\x5b\x53\x75\x83\x49\xd4\x77\xcc"
  2765. "\x7d\x7e\xd3\x3d\x30\x2c\x98\x3f\x18\x9a\x11\x8a\x37\xda\x99\x0f"
  2766. "\x3b\x06\xe1\x87\xd5\xe9\x4e\xe0\x9c\x0e\x39\x34\xe2\xdd\xf6\x58"
  2767. "\x60\x63\xa6\xea\xe8\xc0\xb4\xde\xdf\xa0\xbc\x21\xc3\x2d\xf4\xa4"
  2768. "\xc8\x6f\x62\x6c\x0f\x71\x88\xf9\xda\x2d\x30\xd5\x95\xe1\xfc\x6d"
  2769. "\x88\xc5\xc3\x95\x51\x83\xde\x41\x46\x6f\x7e\x1b\x10\x48\xad\x2b"
  2770. "\x82\x88\xa2\x6f\x57\x4d\x4a\xbd\x90\xc8\x06\x8f\x52\x5d\x6e\xee"
  2771. "\x09\xe6\xa3\xcb\x30\x9c\x14\xf6\xac\x66\x9b\x81\x0a\x75\x42\x6b"
  2772. "\xab\x27\xec\x76\xfb\x8d\xc5\xbf\x0e\x93\x81\x7b\x81\xd4\x85\xa6"
  2773. "\x90\x5a\xa6\xa2\x8b\xa9\xb7\x34\xe6\x15\x36\x93\x8b\xe2\x99\xc7"
  2774. "\xad\x66\x7e\xd6\x89\xa9\xc8\x15\xcb\xc5\xeb\x06\x85\xd4\x2f\x6e"
  2775. "\x9b\x95\x7a\x06\x6c\xfa\x31\x1d\xc4\xe5\x7d\xfb\x10\x35\x88\xc2"
  2776. "\xbe\x1c\x16\x5d\xc2\xf4\x0d\xf3\xc9\x94\xb2\x7e\xa7\xbd\x9c\x03"
  2777. "\x32\xaf\x8b\x1a\xc8\xcc\x82\xd8\x87\x96\x6e\x3d\xcc\x93\xd2\x43"
  2778. "\x73\xf9\xde\xec\x49\x49\xf4\x56\x2a\xc8\x6e\x32\x70\x48\xf8\x70"
  2779. "\xa3\x96\x31\xf4\xf2\x08\xc5\x12\xd2\xeb\xb6\xea\xa3\x07\x05\x61"
  2780. "\x74\xa3\x04\x2f\x17\x82\x40\x5e\x4c\xd1\x51\xb8\x10\x5b\xc8\x9f"
  2781. "\x87\x73\x80\x0d\x6f\xc6\xb9\xf6\x7c\x31\x0a\xcc\xd9\x03\x0f\x7a"
  2782. "\x47\x69\xb1\x55\xab\xe9\xb5\x75\x62\x9e\x95\xbe\x7b\xa9\x53\x6e"
  2783. "\x28\x73\xdc\xb3\xa4\x8a\x1c\x91\xf5\x8a\xf9\x32\x2b\xbd\xa5\xdc"
  2784. "\x07\xb5\xaf\x49\xdb\x9c\x35\xc9\x69\xde\xac\xb1\xd0\x86\xcb\x31"
  2785. "\x0b\xc4\x4f\x63\x4e\x70\xa7\x80\xe3\xbc\x0b\x73\x0e\xf2\x8c\x87"
  2786. "\x88\x7b\xa9\x6d\xde\x8a\x73\x14\xb9\x80\x55\x03\x2b\x29\x64\x6a"
  2787. "\xda\x48\x0e\x78\x07\x40\x48\x46\x58\xa9\x4e\x68\x1d\xd1\xc1\xc8"
  2788. "\x3b\x35\x53\x61\xd5\xe3\x0d\x4c\x42\x74\x10\x67\x85\x9f\x66\x2a"
  2789. "\xf7\x2b\x7b\x77\x8b\x6e\xda\x2c\xc1\x5a\x20\x34\x3f\xf5\x8b\x6f"
  2790. "\xe4\x61\xf5\x58\xab\x72\x1a\xf1\x8d\x28\xcc\xa5\x30\x68\xb5\x50"
  2791. "\x7b\x81\x43\x89\x8e\xa9\xac\x63\x3a\x4a\x78\x7b\xd2\x45\xe6\xe0"
  2792. "\xdc\x5d\xf2\x1a\x2b\x54\x50\xa5\x9d\xf6\xe7\x9f\x25\xaf\x56\x6a"
  2793. "\x84\x2a\x75\xa3\x9a\xc7\xfa\x94\xec\x83\xab\xa5\xaa\xe1\xf9\x89"
  2794. "\x29\xa9\xf6\x53\x24\x24\xae\x4a\xe8\xbc\xe8\x9e\x5c\xd7\x54\x7c"
  2795. "\x65\x20\x97\x28\x94\x76\xf9\x9e\x81\xcf\x98\x6a\x3a\x7b\xec\xf3"
  2796. "\x09\x60\x2e\x43\x18\xb5\xf6\x8c\x44\x0f\xf2\x0a\x17\x5b\xac\x98"
  2797. "\x30\xab\x6e\xd5\xb3\xef\x25\x68\x50\xb6\xe1\xc0\xe4\x5a\x63\x43"
  2798. "\xea\xca\xda\x23\xc1\xc2\xe9\x30\xec\xb3\x9f\xbf\x1f\x09\x76\xaf"
  2799. "\x65\xbc\xb5\xab\x30\xac\x0b\x05\xef\x5c\xa3\x65\x77\x33\x1c\xc5"
  2800. "\xdf\xc9\x39\xab\xca\xf4\x3b\x88\x25\x6d\x50\x87\xb1\x79\xc2\x23"
  2801. "\x9d\xb5\x21\x01\xaa\xa3\xb7\x61\xa3\x48\x91\x72\x3d\x54\x85\x86"
  2802. "\x91\x81\x35\x78\xbf\x8f\x27\x57\xcb\x9b\x34\xab\x63\x40\xf1\xbc"
  2803. "\x23\x5a\x26\x6a\xba\x57\xe2\x8f\x2a\xdc\x82\xe0\x3b\x7f\xec\xd3"
  2804. "\xd8\x9d\xd3\x13\x54\x70\x64\xc3\xfd\xbf\xa3\x46\xa7\x53\x42\x7f"
  2805. "\xc1\xbd\x7b\xb3\x13\x47\x2a\x45\x1e\x76\x2c\x0d\x6d\x46\x26\x24"
  2806. "\xa8\xc7\x00\x2b\x10\x7f\x2a\x6c\xfc\x68\x4e\x6e\x85\x53\x00\xaf"
  2807. "\xd5\xfb\x59\x64\xc7\x9b\x24\xd1\x05\xdc\x34\x53\x6d\x27\xa9\x79"
  2808. "\xff\xd7\x5e\x7a\x40\x81\x8e\xc3\xf2\x38\xc9\x8d\x87\xb5\x38\xda"
  2809. "\x43\x64\x1b\x59\x62\x88\xc1\x6e\x85\x84\x33\xcd\x6d\x7b\x62\x1d"
  2810. "\x60\xf9\x98\xf7\xd1\xb1\xd4\xbe\x56\x6e\xa8\x6f\xff\xe7\x8b\x60"
  2811. "\x53\x80\xc7\x7c\xe0\x78\x89\xa9\xab\x42\x8f\x8e\x4d\x92\xac\xa7"
  2812. "\xfd\x47\x11\xc7\xdb\x7c\x77\xfb\xa4\x1d\x70\xaf\x56\x14\x52\xb0",
  2813. .expected_a_public =
  2814. "\xa1\x6c\x9e\xda\x45\x4d\xf6\x59\x04\x00\xc1\xc6\x8b\x12\x3b\xcd"
  2815. "\x07\xe4\x3e\xec\xac\x9b\xfc\xf7\x6d\x73\x39\x9e\x52\xf8\xbe\x33"
  2816. "\xe2\xca\xea\x99\x76\xc7\xc9\x94\x5c\xf3\x1b\xea\x6b\x66\x4b\x51"
  2817. "\x90\xf6\x4f\x75\xd5\x85\xf4\x28\xfd\x74\xa5\x57\xb1\x71\x0c\xb6"
  2818. "\xb6\x95\x70\x2d\xfa\x4b\x56\xe0\x56\x10\x21\xe5\x60\xa6\x18\xa4"
  2819. "\x78\x8c\x07\xc0\x2b\x59\x9c\x84\x5b\xe9\xb9\x74\xbf\xbc\x65\x48"
  2820. "\x27\x82\x40\x53\x46\x32\xa2\x92\x91\x9d\xf6\xd1\x07\x0e\x1d\x07"
  2821. "\x1b\x41\x04\xb1\xd4\xce\xae\x6e\x46\xf1\x72\x50\x7f\xff\xa8\xa2"
  2822. "\xbc\x3a\xc1\xbb\x28\xd7\x7d\xcd\x7a\x22\x01\xaf\x57\xb0\xa9\x02"
  2823. "\xd4\x8a\x92\xd5\xe6\x8e\x6f\x11\x39\xfe\x36\x87\x89\x42\x25\x42"
  2824. "\xd9\xbe\x67\x15\xe1\x82\x8a\x5e\x98\xc2\xd5\xde\x9e\x13\x1a\xe7"
  2825. "\xf9\x9f\x8e\x2d\x49\xdc\x4d\x98\x8c\xdd\xfd\x24\x7c\x46\xa9\x69"
  2826. "\x3b\x31\xb3\x12\xce\x54\xf6\x65\x75\x40\xc2\xf1\x04\x92\xe3\x83"
  2827. "\xeb\x02\x3d\x79\xc0\xf9\x7c\x28\xb3\x97\x03\xf7\x61\x1c\xce\x95"
  2828. "\x1a\xa0\xb3\x77\x1b\xc1\x9f\xf8\xf6\x3f\x4d\x0a\xfb\xfa\x64\x1c"
  2829. "\xcb\x37\x5b\xc3\x28\x60\x9f\xd1\xf2\xc4\xee\x77\xaa\x1f\xe9\xa2"
  2830. "\x89\x4c\xc6\xb7\xb3\xe4\xa5\xed\xa7\xe8\xac\x90\xdc\xc3\xfb\x56"
  2831. "\x9c\xda\x2c\x1d\x1a\x9a\x8c\x82\x92\xee\xdc\xa0\xa4\x01\x6e\x7f"
  2832. "\xc7\x0e\xc2\x73\x7d\xa6\xac\x12\x01\xc0\xc0\xc8\x7c\x84\x86\xc7"
  2833. "\xa5\x94\xe5\x33\x84\x71\x6e\x36\xe3\x3b\x81\x30\xe0\xc8\x51\x52"
  2834. "\x2b\x9e\x68\xa2\x6e\x09\x95\x8c\x7f\x78\x82\xbd\x53\x26\xe7\x95"
  2835. "\xe0\x03\xda\xc0\xc3\x6e\xcf\xdc\xb3\x14\xfc\xe9\x5b\x9b\x70\x6c"
  2836. "\x93\x04\xab\x13\xf7\x17\x6d\xee\xad\x32\x48\xe9\xa0\x94\x1b\x14"
  2837. "\x64\x4f\xa1\xb3\x8d\x6a\xca\x28\xfe\x4a\xf4\xf0\xc5\xb7\xf9\x8a"
  2838. "\x8e\xff\xfe\x57\x6f\x20\xdb\x04\xab\x02\x31\x22\x42\xfd\xbd\x77"
  2839. "\xea\xce\xe8\xc7\x5d\xe0\x8e\xd6\x66\xd0\xe4\x04\x2f\x5f\x71\xc7"
  2840. "\x61\x2d\xa5\x3f\x2f\x46\xf2\xd8\x5b\x25\x82\xf0\x52\x88\xc0\x59"
  2841. "\xd3\xa3\x90\x17\xc2\x04\x13\xc3\x13\x69\x4f\x17\xb1\xb3\x46\x4f"
  2842. "\xa7\xe6\x8b\x5e\x3e\x95\x0e\xf5\x42\x17\x7f\x4d\x1f\x1b\x7d\x65"
  2843. "\x86\xc5\xc8\xae\xae\xd8\x4f\xe7\x89\x41\x69\xfd\x06\xce\x5d\xed"
  2844. "\x44\x55\xad\x51\x98\x15\x78\x8d\x68\xfc\x93\x72\x9d\x22\xe5\x1d"
  2845. "\x21\xc3\xbe\x3a\x44\x34\xc0\xa3\x1f\xca\xdf\x45\xd0\x5c\xcd\xb7"
  2846. "\x72\xeb\xae\x7a\xad\x3f\x05\xa0\xe3\x6e\x5a\xd8\x52\xa7\xf1\x1e"
  2847. "\xb4\xf2\xcf\xe7\xdf\xa7\xf2\x22\x00\xb2\xc4\x17\x3d\x2c\x15\x04"
  2848. "\x71\x28\x69\x5c\x69\x21\xc8\xf1\x9b\xd8\xc7\xbc\x27\xa3\x85\xe9"
  2849. "\x53\x77\xd3\x65\xc3\x86\xdd\xb3\x76\x13\xfb\xa1\xd4\xee\x9d\xe4"
  2850. "\x51\x3f\x83\x59\xe4\x47\xa8\xa6\x0d\x68\xd5\xf6\xf4\xca\x31\xcd"
  2851. "\x30\x48\x34\x90\x11\x8e\x87\xe9\xea\xc9\xd0\xc3\xba\x28\xf9\xc0"
  2852. "\xc9\x8e\x23\xe5\xc2\xee\xf2\x47\x9c\x41\x1c\x10\x33\x27\x23\x49"
  2853. "\xe5\x0d\x18\xbe\x19\xc1\xba\x6c\xdc\xb7\xa1\xe7\xc5\x0d\x6f\xf0"
  2854. "\x8c\x62\x6e\x0d\x14\xef\xef\xf2\x8e\x01\xd2\x76\xf5\xc1\xe1\x92"
  2855. "\x3c\xb3\x76\xcd\xd8\xdd\x9b\xe0\x8e\xdc\x24\x34\x13\x65\x0f\x11"
  2856. "\xaf\x99\x7a\x2f\xe6\x1f\x7d\x17\x3e\x8a\x68\x9a\x37\xc8\x8d\x3e"
  2857. "\xa3\xfe\xfe\x57\x22\xe6\x0e\x50\xb5\x98\x0b\x71\xd8\x01\xa2\x8d"
  2858. "\x51\x96\x50\xc2\x41\x31\xd8\x23\x98\xfc\xd1\x9d\x7e\x27\xbb\x69"
  2859. "\x78\xe0\x87\xf7\xe4\xdd\x58\x13\x9d\xec\x00\xe4\xb9\x70\xa2\x94"
  2860. "\x5d\x52\x4e\xf2\x5c\xd1\xbc\xfd\xee\x9b\xb9\xe5\xc4\xc0\xa8\x77"
  2861. "\x67\xa4\xd1\x95\x34\xe4\x6d\x5f\x25\x02\x8d\x65\xdd\x11\x63\x55"
  2862. "\x04\x01\x21\x60\xc1\x5c\xef\x77\x33\x01\x1c\xa2\x11\x2b\xdd\x2b"
  2863. "\x74\x99\x23\x38\x05\x1b\x7e\x2e\x01\x52\xfe\x9c\x23\xde\x3e\x1a"
  2864. "\x72\xf4\xff\x7b\x02\xaa\x08\xcf\xe0\x5b\x83\xbe\x85\x5a\xe8\x9d"
  2865. "\x11\x3e\xff\x2f\xc6\x97\x67\x36\x6c\x0f\x81\x9c\x26\x29\xb1\x0f"
  2866. "\xbb\x53\xbd\xf4\xec\x2a\x84\x41\x28\x3b\x86\x40\x95\x69\x55\x5f"
  2867. "\x30\xee\xda\x1e\x6c\x4b\x25\xd6\x2f\x2c\x0e\x3c\x1a\x26\xa0\x3e"
  2868. "\xef\x09\xc6\x2b\xe5\xa1\x0c\x03\xa8\xf5\x39\x70\x31\xc4\x32\x79"
  2869. "\xd1\xd9\xc2\xcc\x32\x4a\xf1\x2f\x57\x5a\xcc\xe5\xc3\xc5\xd5\x4e"
  2870. "\x86\x56\xca\x64\xdb\xab\x61\x85\x8f\xf9\x20\x02\x40\x66\x76\x9e"
  2871. "\x5e\xd4\xac\xf0\x47\xa6\x50\x5f\xc2\xaf\x55\x9b\xa3\xc9\x8b\xf8"
  2872. "\x42\xd5\xcf\x1a\x95\x22\xd9\xd1\x0b\x92\x51\xca\xde\x46\x02\x0d"
  2873. "\x8b\xee\xd9\xa0\x04\x74\xf5\x0e\xb0\x3a\x62\xec\x3c\x91\x29\x33"
  2874. "\xa7\x78\x22\x92\xac\x27\xe6\x2d\x6f\x56\x8a\x5d\x72\xc2\xf1\x5c"
  2875. "\x54\x11\x97\x24\x61\xcb\x0c\x52\xd4\x57\x56\x22\x86\xf0\x19\x27"
  2876. "\x76\x30\x04\xf4\x39\x7b\x1a\x5a\x04\x0d\xec\x59\x9a\x31\x4c\x40"
  2877. "\x19\x6d\x3c\x41\x1b\x0c\xca\xeb\x25\x39\x6c\x96\xf8\x55\xd0\xec",
  2878. .expected_ss =
  2879. "\xf9\x55\x4f\x48\x38\x74\xb7\x46\xa3\xc4\x2e\x88\xf0\x34\xab\x1d"
  2880. "\xcd\xa5\x58\xa7\x95\x88\x36\x62\x6f\x8a\xbd\xf2\xfb\x6f\x3e\xb9"
  2881. "\x91\x65\x58\xef\x70\x2f\xd5\xc2\x97\x70\xcb\xce\x8b\x78\x1c\xe0"
  2882. "\xb9\xfa\x77\x34\xd2\x4a\x19\x58\x11\xfd\x93\x84\x40\xc0\x8c\x19"
  2883. "\x8b\x98\x50\x83\xba\xfb\xe2\xad\x8b\x81\x84\x63\x90\x41\x4b\xf8"
  2884. "\xe8\x78\x86\x04\x09\x8d\x84\xd1\x43\xfd\xa3\x58\x21\x2a\x3b\xb1"
  2885. "\xa2\x5b\x48\x74\x3c\xa9\x16\x34\x28\xf0\x8e\xde\xe2\xcf\x8e\x68"
  2886. "\x53\xab\x65\x06\xb7\x86\xb1\x08\x4f\x73\x97\x00\x10\x95\xd1\x84"
  2887. "\x72\xcf\x14\xdb\xff\xa7\x80\xd8\xe5\xf2\x2c\x89\x37\xb0\x81\x2c"
  2888. "\xf5\xd6\x7d\x1b\xb0\xe2\x8e\x87\x32\x3d\x37\x6a\x79\xaa\xe7\x08"
  2889. "\xc9\x67\x55\x5f\x1c\xae\xa6\xf5\xef\x79\x3a\xaf\x3f\x82\x14\xe2"
  2890. "\xf3\x69\x91\xed\xb7\x9e\xc9\xde\xd0\x29\x70\xd9\xeb\x0f\xf5\xc7"
  2891. "\xf6\x7c\xa7\x7f\xec\xed\xe1\xbd\x13\xe1\x43\xe4\x42\x30\xe3\x5f"
  2892. "\xe0\xf3\x15\x55\x2f\x7a\x42\x17\x67\xcb\xc2\x4f\xd0\x85\xfc\x6c"
  2893. "\xec\xe8\xfc\x25\x78\x4b\xe4\x0f\xd4\x3d\x78\x28\xd3\x53\x79\xcb"
  2894. "\x2c\x82\x67\x9a\xdc\x32\x55\xd2\xda\xae\xd8\x61\xce\xd6\x59\x0b"
  2895. "\xc5\x44\xeb\x08\x81\x8c\x65\xb2\xb7\xa6\xff\xf7\xbf\x99\xc6\x8a"
  2896. "\xbe\xde\xc2\x17\x56\x05\x6e\xd2\xf1\x1e\xa2\x04\xeb\x02\x74\xaa"
  2897. "\x04\xfc\xf0\x6b\xd4\xfc\xf0\x7a\x5f\xfe\xe2\x74\x7f\xeb\x9b\x6a"
  2898. "\x8a\x09\x96\x5d\xe1\x91\xb6\x9e\x37\xd7\x63\xd7\xb3\x5c\xb5\xa3"
  2899. "\x5f\x62\x00\xdf\xc5\xbf\x85\xba\xa7\xa9\xb6\x1f\x76\x78\x65\x01"
  2900. "\xfe\x1d\x6c\xfe\x15\x9e\xf4\xb1\xbc\x8d\xad\x3c\xec\x69\x27\x57"
  2901. "\xa4\x89\x77\x46\xe1\x49\xc7\x22\xde\x79\xe0\xf7\x3a\xa1\x59\x8b"
  2902. "\x59\x71\xcc\xd6\x18\x24\xc1\x8a\x2f\xe3\xdf\xdd\x6c\xf7\x62\xaa"
  2903. "\x15\xaa\x39\x37\x3b\xaf\x7d\x6e\x88\xeb\x19\xa8\xa0\x26\xd3\xaa"
  2904. "\x2d\xcc\x5f\x56\x99\x86\xa9\xed\x4d\x02\x31\x40\x97\x70\x83\xa7"
  2905. "\x08\x98\x7e\x49\x46\xd9\x75\xb5\x7a\x6a\x40\x69\xa0\x6d\xb2\x18"
  2906. "\xc0\xad\x88\x05\x02\x95\x6f\xf7\x8f\xcb\xa2\xe4\x7b\xab\x4a\x0f"
  2907. "\x9a\x1b\xef\xcc\xd1\x6a\x5d\x1e\x6a\x2a\x8b\x5b\x80\xbc\x5f\x38"
  2908. "\xdd\xaf\xad\x44\x15\xb4\xaf\x26\x1c\x1a\x4d\xa7\x4b\xec\x88\x33"
  2909. "\x24\x42\xb5\x0c\x9c\x56\xd4\xba\xa7\xb9\x65\xd5\x76\xb2\xbc\x16"
  2910. "\x8e\xfa\x0c\x7a\xc0\xa2\x2c\x5a\x39\x56\x7d\xe6\xf8\xa9\xf4\x49"
  2911. "\xd0\x50\xf2\x5e\x4b\x0a\x43\xe4\x9a\xbb\xea\x35\x28\x99\x84\x83"
  2912. "\xec\xc1\xa0\x68\x15\x9a\x2b\x01\x04\x48\x09\x11\x1b\xb6\xa4\xd8"
  2913. "\x03\xad\xb6\x4c\x9e\x1d\x90\xae\x88\x0f\x75\x95\x25\xa0\x27\x13"
  2914. "\xb7\x4f\xe2\x3e\xd5\x59\x1a\x7c\xde\x95\x14\x28\xd1\xde\x84\xe4"
  2915. "\x07\x7c\x5b\x06\xd6\xe6\x9c\x8a\xbe\xd2\xb4\x62\xd1\x67\x8a\x9c"
  2916. "\xac\x4f\xfa\x70\xd6\xc8\xc0\xeb\x5e\xf6\x3e\xdc\x48\x8e\xce\x3f"
  2917. "\x92\x3e\x60\x77\x63\x60\x6b\x76\x04\xa5\xba\xc9\xab\x92\x4e\x0d"
  2918. "\xdc\xca\x82\x44\x5f\x3a\x42\xeb\x01\xe7\xe0\x33\xb3\x32\xaf\x4b"
  2919. "\x81\x35\x2d\xb6\x57\x15\xfe\x52\xc7\x54\x2e\x41\x3b\x22\x6b\x12"
  2920. "\x72\xdb\x5c\x66\xd0\xb6\xb4\xfe\x90\xc0\x20\x34\x95\xf9\xe4\xc7"
  2921. "\x7e\x71\x89\x4f\x6f\xfb\x2a\xf3\xdf\x3f\xe3\xcf\x0e\x1a\xd9\xf2"
  2922. "\xc1\x02\x67\x5d\xdc\xf1\x7d\xe8\xcf\x64\x77\x4d\x12\x03\x77\x2c"
  2923. "\xfb\xe1\x59\xf7\x2c\x96\x9c\xaf\x46\x9c\xc7\x67\xcf\xee\x94\x50"
  2924. "\xc7\xa1\x23\xe6\x9f\x4d\x73\x92\xad\xf9\x4a\xce\xdb\x44\xd5\xe3"
  2925. "\x17\x05\x37\xdb\x9c\x6c\xc5\x7e\xb7\xd4\x11\x4a\x8c\x51\x03\xaa"
  2926. "\x73\x4b\x16\xd9\x79\xf5\xf1\x67\x20\x9b\x25\xe5\x41\x52\x59\x06"
  2927. "\x8b\xf2\x23\x2f\x6e\xea\xf3\x24\x0a\x94\xbb\xb8\x7e\xd9\x23\x4a"
  2928. "\x9f\x1f\xe1\x13\xb5\xfe\x85\x2f\x4c\xbe\x6a\x66\x02\x1d\x90\xd2"
  2929. "\x01\x25\x8a\xfd\x78\x3a\x28\xb8\x18\xc1\x38\x16\x21\x6b\xb4\xf9"
  2930. "\x64\x0f\xf1\x73\xc4\x5c\xd1\x41\xf2\xfe\xe7\x26\xad\x79\x12\x75"
  2931. "\x49\x48\xdb\x21\x71\x35\xf7\xb7\x46\x5a\xa1\x81\x25\x47\x31\xea"
  2932. "\x1d\x76\xbb\x32\x5a\x90\xb0\x42\x1a\x47\xe8\x0c\x82\x92\x43\x1c"
  2933. "\x0b\xdd\xe5\x25\xce\xd3\x06\xcc\x59\x5a\xc9\xa0\x01\xac\x29\x12"
  2934. "\x31\x2e\x3d\x1a\xed\x3b\xf3\xa7\xef\x52\xc2\x0d\x18\x1f\x03\x28"
  2935. "\xc9\x2b\x38\x61\xa4\x01\xc9\x3c\x11\x08\x14\xd4\xe5\x31\xe9\x3c"
  2936. "\x1d\xad\xf8\x76\xc4\x84\x9f\xea\x16\x61\x3d\x6d\xa3\x32\x31\xcd"
  2937. "\x1c\xca\xb8\x74\xc2\x45\xf3\x01\x9c\x7a\xaf\xfd\xe7\x1e\x5a\x18"
  2938. "\xb1\x9d\xbb\x7a\x2d\x34\x40\x17\x49\xad\x1f\xeb\x2d\xa2\x26\xb8"
  2939. "\x16\x28\x4b\x72\xdd\xd0\x8d\x85\x4c\xdd\xf8\x57\x48\xd5\x1d\xfb"
  2940. "\xbd\xec\x11\x5d\x1e\x9c\x26\x81\xbf\xf1\x16\x12\x32\xc3\xf3\x07"
  2941. "\x0e\x6e\x7f\x17\xec\xfb\xf4\x5d\xe2\xb1\xca\x97\xca\x46\x20\x2d"
  2942. "\x09\x85\x19\x25\x89\xa8\x9b\x51\x74\xae\xc9\x1b\x4c\xb6\x80\x62",
  2943. .secret_size = 1040,
  2944. .b_public_size = 1024,
  2945. .expected_a_public_size = 1024,
  2946. .expected_ss_size = 1024,
  2947. },
  2948. {
  2949. .secret =
  2950. #ifdef __LITTLE_ENDIAN
  2951. "\x01\x00" /* type */
  2952. "\x10\x00" /* len */
  2953. "\x00\x00\x00\x00" /* key_size */
  2954. "\x00\x00\x00\x00" /* p_size */
  2955. "\x00\x00\x00\x00", /* g_size */
  2956. #else
  2957. "\x00\x01" /* type */
  2958. "\x00\x10" /* len */
  2959. "\x00\x00\x00\x00" /* key_size */
  2960. "\x00\x00\x00\x00" /* p_size */
  2961. "\x00\x00\x00\x00", /* g_size */
  2962. #endif
  2963. .b_secret =
  2964. #ifdef __LITTLE_ENDIAN
  2965. "\x01\x00" /* type */
  2966. "\x10\x04" /* len */
  2967. "\x00\x04\x00\x00" /* key_size */
  2968. "\x00\x00\x00\x00" /* p_size */
  2969. "\x00\x00\x00\x00" /* g_size */
  2970. #else
  2971. "\x00\x01" /* type */
  2972. "\x04\x10" /* len */
  2973. "\x00\x00\x04\x00" /* key_size */
  2974. "\x00\x00\x00\x00" /* p_size */
  2975. "\x00\x00\x00\x00" /* g_size */
  2976. #endif
  2977. /* xa */
  2978. "\x76\x6e\xeb\xf9\xeb\x76\xae\x37\xcb\x19\x49\x8b\xeb\xaf\xb0\x4b"
  2979. "\x6d\xe9\x15\xad\xda\xf2\xef\x58\xe9\xd6\xdd\x4c\xb3\x56\xd0\x3b"
  2980. "\x00\xb0\x65\xed\xae\xe0\x2e\xdf\x8f\x45\x3f\x3c\x5d\x2f\xfa\x96"
  2981. "\x36\x33\xb2\x01\x8b\x0f\xe8\x46\x15\x6d\x60\x5b\xec\x32\xc3\x3b"
  2982. "\x06\xf3\xb4\x1b\x9a\xef\x3c\x03\x0e\xcc\xce\x1d\x24\xa0\xc9\x08"
  2983. "\x65\xf9\x45\xe5\xd2\x43\x08\x88\x58\xd6\x46\xe7\xbb\x25\xac\xed"
  2984. "\x3b\xac\x6f\x5e\xfb\xd6\x19\xa6\x20\x3a\x1d\x0c\xe8\x00\x72\x54"
  2985. "\xd7\xd9\xc9\x26\x49\x18\xc6\xb8\xbc\xdd\xf3\xce\xf3\x7b\x69\x04"
  2986. "\x5c\x6f\x11\xdb\x44\x42\x72\xb6\xb7\x84\x17\x86\x47\x3f\xc5\xa1"
  2987. "\xd8\x86\xef\xe2\x27\x49\x2b\x8f\x3e\x91\x12\xd9\x45\x96\xf7\xe6"
  2988. "\x77\x76\x36\x58\x71\x9a\xb1\xdb\xcf\x24\x9e\x7e\xad\xce\x45\xba"
  2989. "\xb5\xec\x8e\xb9\xd6\x7b\x3d\x76\xa4\x85\xad\xd8\x49\x9b\x80\x9d"
  2990. "\x7f\x9f\x85\x09\x9e\x86\x5b\x6b\xf3\x8d\x39\x5e\x6f\xe4\x30\xc8"
  2991. "\xa5\xf3\xdf\x68\x73\x6b\x2e\x9a\xcb\xac\x0a\x0d\x44\xc1\xaf\xb2"
  2992. "\x11\x1b\x7c\x43\x08\x44\x43\xe2\x4e\xfd\x93\x30\x99\x09\x12\xbb"
  2993. "\xf6\x31\x34\xa5\x3d\x45\x98\xee\xd7\x2a\x1a\x89\xf5\x37\x92\x33"
  2994. "\xa0\xdd\xf5\xfb\x1f\x90\x42\x55\x5a\x0b\x82\xff\xf0\x96\x92\x15"
  2995. "\x65\x5a\x55\x96\xca\x1b\xd5\xe5\xb5\x94\xde\x2e\xa6\x03\x57\x9e"
  2996. "\x15\xe4\x32\x2b\x1f\xb2\x22\x21\xe9\xa0\x05\xd3\x65\x6c\x11\x66"
  2997. "\x25\x38\xbb\xa3\x6c\xc2\x0b\x2b\xd0\x7a\x20\x26\x29\x37\x5d\x5f"
  2998. "\xd8\xff\x2a\xcd\x46\x6c\xd6\x6e\xe5\x77\x1a\xe6\x33\xf1\x8e\xc8"
  2999. "\x10\x30\x11\x00\x27\xf9\x7d\x0e\x28\x43\xa7\x67\x38\x7f\x16\xda"
  3000. "\xd0\x01\x8e\xa4\xe8\x6f\xcd\x23\xaf\x77\x52\x34\xad\x7e\xc3\xed"
  3001. "\x2d\x10\x0a\x33\xdc\xcf\x1b\x88\x0f\xcc\x48\x7f\x42\xf0\x9e\x13"
  3002. "\x1f\xf5\xd1\xe9\x90\x87\xbd\xfa\x5f\x1d\x77\x55\xcb\xc3\x05\xaf"
  3003. "\x71\xd0\xe0\xab\x46\x31\xd7\xea\x89\x54\x2d\x39\xaf\xf6\x4f\x74"
  3004. "\xaf\x46\x58\x89\x78\x95\x2e\xe6\x90\xb7\xaa\x00\x73\x9f\xed\xb9"
  3005. "\x00\xd6\xf6\x6d\x26\x59\xcd\x56\xdb\xf7\x3d\x5f\xeb\x6e\x46\x33"
  3006. "\xb1\x23\xed\x9f\x8d\x58\xdc\xb4\x28\x3b\x90\x09\xc4\x61\x02\x1f"
  3007. "\xf8\x62\xf2\x6e\xc1\x94\x71\x66\x93\x11\xdf\xaa\x3e\xd7\xb5\xe5"
  3008. "\xc1\x78\xe9\x14\xcd\x55\x16\x51\xdf\x8d\xd0\x94\x8c\x43\xe9\xb8"
  3009. "\x1d\x42\x7f\x76\xbc\x6f\x87\x42\x88\xde\xd7\x52\x78\x00\x4f\x18"
  3010. "\x02\xe7\x7b\xe2\x8a\xc3\xd1\x43\xa5\xac\xda\xb0\x8d\x19\x96\xd4"
  3011. "\x81\xe0\x75\xe9\xca\x41\x7e\x1f\x93\x0b\x26\x24\xb3\xaa\xdd\x10"
  3012. "\x20\xd3\xf2\x9f\x3f\xdf\x65\xde\x67\x79\xdc\x76\x9f\x3c\x72\x75"
  3013. "\x65\x8a\x30\xcc\xd2\xcc\x06\xb1\xab\x62\x86\x78\x5d\xb8\xce\x72"
  3014. "\xb3\x12\xc7\x9f\x07\xd0\x6b\x98\x82\x9b\x6c\xbb\x15\xe5\xcc\xf4"
  3015. "\xc8\xf4\x60\x81\xdc\xd3\x09\x1b\x5e\xd4\xf3\x55\xcf\x1c\x16\x83"
  3016. "\x61\xb4\x2e\xcc\x08\x67\x58\xfd\x46\x64\xbc\x29\x4b\xdd\xda\xec"
  3017. "\xdc\xc6\xa9\xa5\x73\xfb\xf8\xf3\xaf\x89\xa8\x9e\x25\x14\xfa\xac"
  3018. "\xeb\x1c\x7c\x80\x96\x66\x4d\x41\x67\x9b\x07\x4f\x0a\x97\x17\x1c"
  3019. "\x4d\x61\xc7\x2e\x6f\x36\x98\x29\x50\x39\x6d\xe7\x70\xda\xf0\xc8"
  3020. "\x05\x80\x7b\x32\xff\xfd\x12\xde\x61\x0d\xf9\x4c\x21\xf1\x56\x72"
  3021. "\x3d\x61\x46\xc0\x2d\x07\xd1\x6c\xd3\xbe\x9a\x21\x83\x85\xf7\xed"
  3022. "\x53\x95\x44\x40\x8f\x75\x12\x18\xc2\x9a\xfd\x5e\xce\x66\xa6\x7f"
  3023. "\x57\xc0\xd7\x73\x76\xb3\x13\xda\x2e\x58\xc6\x27\x40\xb2\x2d\xef"
  3024. "\x7d\x72\xb4\xa8\x75\x6f\xcc\x5f\x42\x3e\x2c\x90\x36\x59\xa0\x34"
  3025. "\xaa\xce\xbc\x04\x4c\xe6\x56\xc2\xcd\xa6\x1c\x59\x04\x56\x53\xcf"
  3026. "\x6d\xd7\xf0\xb1\x4f\x91\xfa\x84\xcf\x4b\x8d\x50\x4c\xf8\x2a\x31"
  3027. "\x5f\xe3\xba\x79\xb4\xcc\x59\x64\xe3\x7a\xfa\xf6\x06\x9d\x04\xbb"
  3028. "\xce\x61\xbf\x9e\x59\x0a\x09\x51\x6a\xbb\x0b\x80\xe0\x91\xc1\x51"
  3029. "\x04\x58\x67\x67\x4b\x42\x4f\x95\x68\x75\xe2\x1f\x9c\x14\x70\xfd"
  3030. "\x3a\x8a\xce\x8b\x04\xa1\x89\xe7\xb4\xbf\x70\xfe\xf3\x0c\x48\x04"
  3031. "\x3a\xd2\x85\x68\x03\xe7\xfa\xec\x5b\x55\xb7\x95\xfd\x5b\x19\x35"
  3032. "\xad\xcb\x4a\x63\x03\x44\x64\x2a\x48\x59\x9a\x26\x43\x96\x8c\xe6"
  3033. "\xbd\xb7\x90\xd4\x5f\x8d\x08\x28\xa8\xc5\x89\x70\xb9\x6e\xd3\x3b"
  3034. "\x76\x0e\x37\x98\x15\x27\xca\xc9\xb0\xe0\xfd\xf3\xc6\xdf\x69\xce"
  3035. "\xe1\x5f\x6a\x3e\x5c\x86\xe2\x58\x41\x11\xf0\x7e\x56\xec\xe4\xc9"
  3036. "\x0d\x87\x91\xfb\xb9\xc8\x0d\x34\xab\xb0\xc6\xf2\xa6\x00\x7b\x18"
  3037. "\x92\xf4\x43\x7f\x01\x85\x2e\xef\x8c\x72\x50\x10\xdb\xf1\x37\x62"
  3038. "\x16\x85\x71\x01\xa8\x2b\xf0\x13\xd3\x7c\x0b\xaf\xf1\xf3\xd1\xee"
  3039. "\x90\x41\x5f\x7d\x5b\xa9\x83\x4b\xfa\x80\x59\x50\x73\xe1\xc4\xf9"
  3040. "\x5e\x4b\xde\xd9\xf5\x22\x68\x5e\x65\xd9\x37\xe4\x1a\x08\x0e\xb1"
  3041. "\x28\x2f\x40\x9e\x37\xa8\x12\x56\xb7\xb8\x64\x94\x68\x94\xff\x9f",
  3042. .b_public =
  3043. "\xa1\x6c\x9e\xda\x45\x4d\xf6\x59\x04\x00\xc1\xc6\x8b\x12\x3b\xcd"
  3044. "\x07\xe4\x3e\xec\xac\x9b\xfc\xf7\x6d\x73\x39\x9e\x52\xf8\xbe\x33"
  3045. "\xe2\xca\xea\x99\x76\xc7\xc9\x94\x5c\xf3\x1b\xea\x6b\x66\x4b\x51"
  3046. "\x90\xf6\x4f\x75\xd5\x85\xf4\x28\xfd\x74\xa5\x57\xb1\x71\x0c\xb6"
  3047. "\xb6\x95\x70\x2d\xfa\x4b\x56\xe0\x56\x10\x21\xe5\x60\xa6\x18\xa4"
  3048. "\x78\x8c\x07\xc0\x2b\x59\x9c\x84\x5b\xe9\xb9\x74\xbf\xbc\x65\x48"
  3049. "\x27\x82\x40\x53\x46\x32\xa2\x92\x91\x9d\xf6\xd1\x07\x0e\x1d\x07"
  3050. "\x1b\x41\x04\xb1\xd4\xce\xae\x6e\x46\xf1\x72\x50\x7f\xff\xa8\xa2"
  3051. "\xbc\x3a\xc1\xbb\x28\xd7\x7d\xcd\x7a\x22\x01\xaf\x57\xb0\xa9\x02"
  3052. "\xd4\x8a\x92\xd5\xe6\x8e\x6f\x11\x39\xfe\x36\x87\x89\x42\x25\x42"
  3053. "\xd9\xbe\x67\x15\xe1\x82\x8a\x5e\x98\xc2\xd5\xde\x9e\x13\x1a\xe7"
  3054. "\xf9\x9f\x8e\x2d\x49\xdc\x4d\x98\x8c\xdd\xfd\x24\x7c\x46\xa9\x69"
  3055. "\x3b\x31\xb3\x12\xce\x54\xf6\x65\x75\x40\xc2\xf1\x04\x92\xe3\x83"
  3056. "\xeb\x02\x3d\x79\xc0\xf9\x7c\x28\xb3\x97\x03\xf7\x61\x1c\xce\x95"
  3057. "\x1a\xa0\xb3\x77\x1b\xc1\x9f\xf8\xf6\x3f\x4d\x0a\xfb\xfa\x64\x1c"
  3058. "\xcb\x37\x5b\xc3\x28\x60\x9f\xd1\xf2\xc4\xee\x77\xaa\x1f\xe9\xa2"
  3059. "\x89\x4c\xc6\xb7\xb3\xe4\xa5\xed\xa7\xe8\xac\x90\xdc\xc3\xfb\x56"
  3060. "\x9c\xda\x2c\x1d\x1a\x9a\x8c\x82\x92\xee\xdc\xa0\xa4\x01\x6e\x7f"
  3061. "\xc7\x0e\xc2\x73\x7d\xa6\xac\x12\x01\xc0\xc0\xc8\x7c\x84\x86\xc7"
  3062. "\xa5\x94\xe5\x33\x84\x71\x6e\x36\xe3\x3b\x81\x30\xe0\xc8\x51\x52"
  3063. "\x2b\x9e\x68\xa2\x6e\x09\x95\x8c\x7f\x78\x82\xbd\x53\x26\xe7\x95"
  3064. "\xe0\x03\xda\xc0\xc3\x6e\xcf\xdc\xb3\x14\xfc\xe9\x5b\x9b\x70\x6c"
  3065. "\x93\x04\xab\x13\xf7\x17\x6d\xee\xad\x32\x48\xe9\xa0\x94\x1b\x14"
  3066. "\x64\x4f\xa1\xb3\x8d\x6a\xca\x28\xfe\x4a\xf4\xf0\xc5\xb7\xf9\x8a"
  3067. "\x8e\xff\xfe\x57\x6f\x20\xdb\x04\xab\x02\x31\x22\x42\xfd\xbd\x77"
  3068. "\xea\xce\xe8\xc7\x5d\xe0\x8e\xd6\x66\xd0\xe4\x04\x2f\x5f\x71\xc7"
  3069. "\x61\x2d\xa5\x3f\x2f\x46\xf2\xd8\x5b\x25\x82\xf0\x52\x88\xc0\x59"
  3070. "\xd3\xa3\x90\x17\xc2\x04\x13\xc3\x13\x69\x4f\x17\xb1\xb3\x46\x4f"
  3071. "\xa7\xe6\x8b\x5e\x3e\x95\x0e\xf5\x42\x17\x7f\x4d\x1f\x1b\x7d\x65"
  3072. "\x86\xc5\xc8\xae\xae\xd8\x4f\xe7\x89\x41\x69\xfd\x06\xce\x5d\xed"
  3073. "\x44\x55\xad\x51\x98\x15\x78\x8d\x68\xfc\x93\x72\x9d\x22\xe5\x1d"
  3074. "\x21\xc3\xbe\x3a\x44\x34\xc0\xa3\x1f\xca\xdf\x45\xd0\x5c\xcd\xb7"
  3075. "\x72\xeb\xae\x7a\xad\x3f\x05\xa0\xe3\x6e\x5a\xd8\x52\xa7\xf1\x1e"
  3076. "\xb4\xf2\xcf\xe7\xdf\xa7\xf2\x22\x00\xb2\xc4\x17\x3d\x2c\x15\x04"
  3077. "\x71\x28\x69\x5c\x69\x21\xc8\xf1\x9b\xd8\xc7\xbc\x27\xa3\x85\xe9"
  3078. "\x53\x77\xd3\x65\xc3\x86\xdd\xb3\x76\x13\xfb\xa1\xd4\xee\x9d\xe4"
  3079. "\x51\x3f\x83\x59\xe4\x47\xa8\xa6\x0d\x68\xd5\xf6\xf4\xca\x31\xcd"
  3080. "\x30\x48\x34\x90\x11\x8e\x87\xe9\xea\xc9\xd0\xc3\xba\x28\xf9\xc0"
  3081. "\xc9\x8e\x23\xe5\xc2\xee\xf2\x47\x9c\x41\x1c\x10\x33\x27\x23\x49"
  3082. "\xe5\x0d\x18\xbe\x19\xc1\xba\x6c\xdc\xb7\xa1\xe7\xc5\x0d\x6f\xf0"
  3083. "\x8c\x62\x6e\x0d\x14\xef\xef\xf2\x8e\x01\xd2\x76\xf5\xc1\xe1\x92"
  3084. "\x3c\xb3\x76\xcd\xd8\xdd\x9b\xe0\x8e\xdc\x24\x34\x13\x65\x0f\x11"
  3085. "\xaf\x99\x7a\x2f\xe6\x1f\x7d\x17\x3e\x8a\x68\x9a\x37\xc8\x8d\x3e"
  3086. "\xa3\xfe\xfe\x57\x22\xe6\x0e\x50\xb5\x98\x0b\x71\xd8\x01\xa2\x8d"
  3087. "\x51\x96\x50\xc2\x41\x31\xd8\x23\x98\xfc\xd1\x9d\x7e\x27\xbb\x69"
  3088. "\x78\xe0\x87\xf7\xe4\xdd\x58\x13\x9d\xec\x00\xe4\xb9\x70\xa2\x94"
  3089. "\x5d\x52\x4e\xf2\x5c\xd1\xbc\xfd\xee\x9b\xb9\xe5\xc4\xc0\xa8\x77"
  3090. "\x67\xa4\xd1\x95\x34\xe4\x6d\x5f\x25\x02\x8d\x65\xdd\x11\x63\x55"
  3091. "\x04\x01\x21\x60\xc1\x5c\xef\x77\x33\x01\x1c\xa2\x11\x2b\xdd\x2b"
  3092. "\x74\x99\x23\x38\x05\x1b\x7e\x2e\x01\x52\xfe\x9c\x23\xde\x3e\x1a"
  3093. "\x72\xf4\xff\x7b\x02\xaa\x08\xcf\xe0\x5b\x83\xbe\x85\x5a\xe8\x9d"
  3094. "\x11\x3e\xff\x2f\xc6\x97\x67\x36\x6c\x0f\x81\x9c\x26\x29\xb1\x0f"
  3095. "\xbb\x53\xbd\xf4\xec\x2a\x84\x41\x28\x3b\x86\x40\x95\x69\x55\x5f"
  3096. "\x30\xee\xda\x1e\x6c\x4b\x25\xd6\x2f\x2c\x0e\x3c\x1a\x26\xa0\x3e"
  3097. "\xef\x09\xc6\x2b\xe5\xa1\x0c\x03\xa8\xf5\x39\x70\x31\xc4\x32\x79"
  3098. "\xd1\xd9\xc2\xcc\x32\x4a\xf1\x2f\x57\x5a\xcc\xe5\xc3\xc5\xd5\x4e"
  3099. "\x86\x56\xca\x64\xdb\xab\x61\x85\x8f\xf9\x20\x02\x40\x66\x76\x9e"
  3100. "\x5e\xd4\xac\xf0\x47\xa6\x50\x5f\xc2\xaf\x55\x9b\xa3\xc9\x8b\xf8"
  3101. "\x42\xd5\xcf\x1a\x95\x22\xd9\xd1\x0b\x92\x51\xca\xde\x46\x02\x0d"
  3102. "\x8b\xee\xd9\xa0\x04\x74\xf5\x0e\xb0\x3a\x62\xec\x3c\x91\x29\x33"
  3103. "\xa7\x78\x22\x92\xac\x27\xe6\x2d\x6f\x56\x8a\x5d\x72\xc2\xf1\x5c"
  3104. "\x54\x11\x97\x24\x61\xcb\x0c\x52\xd4\x57\x56\x22\x86\xf0\x19\x27"
  3105. "\x76\x30\x04\xf4\x39\x7b\x1a\x5a\x04\x0d\xec\x59\x9a\x31\x4c\x40"
  3106. "\x19\x6d\x3c\x41\x1b\x0c\xca\xeb\x25\x39\x6c\x96\xf8\x55\xd0\xec",
  3107. .secret_size = 16,
  3108. .b_secret_size = 1040,
  3109. .b_public_size = 1024,
  3110. .expected_a_public_size = 1024,
  3111. .expected_ss_size = 1024,
  3112. .genkey = true,
  3113. },
  3114. };
  3115. static const struct kpp_testvec curve25519_tv_template[] = {
  3116. {
  3117. .secret = (u8[32]){ 0x77, 0x07, 0x6d, 0x0a, 0x73, 0x18, 0xa5, 0x7d,
  3118. 0x3c, 0x16, 0xc1, 0x72, 0x51, 0xb2, 0x66, 0x45,
  3119. 0xdf, 0x4c, 0x2f, 0x87, 0xeb, 0xc0, 0x99, 0x2a,
  3120. 0xb1, 0x77, 0xfb, 0xa5, 0x1d, 0xb9, 0x2c, 0x2a },
  3121. .b_public = (u8[32]){ 0xde, 0x9e, 0xdb, 0x7d, 0x7b, 0x7d, 0xc1, 0xb4,
  3122. 0xd3, 0x5b, 0x61, 0xc2, 0xec, 0xe4, 0x35, 0x37,
  3123. 0x3f, 0x83, 0x43, 0xc8, 0x5b, 0x78, 0x67, 0x4d,
  3124. 0xad, 0xfc, 0x7e, 0x14, 0x6f, 0x88, 0x2b, 0x4f },
  3125. .expected_ss = (u8[32]){ 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
  3126. 0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
  3127. 0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
  3128. 0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42 },
  3129. .secret_size = 32,
  3130. .b_public_size = 32,
  3131. .expected_ss_size = 32,
  3132. },
  3133. {
  3134. .secret = (u8[32]){ 0x5d, 0xab, 0x08, 0x7e, 0x62, 0x4a, 0x8a, 0x4b,
  3135. 0x79, 0xe1, 0x7f, 0x8b, 0x83, 0x80, 0x0e, 0xe6,
  3136. 0x6f, 0x3b, 0xb1, 0x29, 0x26, 0x18, 0xb6, 0xfd,
  3137. 0x1c, 0x2f, 0x8b, 0x27, 0xff, 0x88, 0xe0, 0xeb },
  3138. .b_public = (u8[32]){ 0x85, 0x20, 0xf0, 0x09, 0x89, 0x30, 0xa7, 0x54,
  3139. 0x74, 0x8b, 0x7d, 0xdc, 0xb4, 0x3e, 0xf7, 0x5a,
  3140. 0x0d, 0xbf, 0x3a, 0x0d, 0x26, 0x38, 0x1a, 0xf4,
  3141. 0xeb, 0xa4, 0xa9, 0x8e, 0xaa, 0x9b, 0x4e, 0x6a },
  3142. .expected_ss = (u8[32]){ 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1,
  3143. 0x72, 0x8e, 0x3b, 0xf4, 0x80, 0x35, 0x0f, 0x25,
  3144. 0xe0, 0x7e, 0x21, 0xc9, 0x47, 0xd1, 0x9e, 0x33,
  3145. 0x76, 0xf0, 0x9b, 0x3c, 0x1e, 0x16, 0x17, 0x42 },
  3146. .secret_size = 32,
  3147. .b_public_size = 32,
  3148. .expected_ss_size = 32,
  3149. },
  3150. {
  3151. .secret = (u8[32]){ 1 },
  3152. .b_public = (u8[32]){ 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3153. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3154. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3155. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3156. .expected_ss = (u8[32]){ 0x3c, 0x77, 0x77, 0xca, 0xf9, 0x97, 0xb2, 0x64,
  3157. 0x41, 0x60, 0x77, 0x66, 0x5b, 0x4e, 0x22, 0x9d,
  3158. 0x0b, 0x95, 0x48, 0xdc, 0x0c, 0xd8, 0x19, 0x98,
  3159. 0xdd, 0xcd, 0xc5, 0xc8, 0x53, 0x3c, 0x79, 0x7f },
  3160. .secret_size = 32,
  3161. .b_public_size = 32,
  3162. .expected_ss_size = 32,
  3163. },
  3164. {
  3165. .secret = (u8[32]){ 1 },
  3166. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3167. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3168. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3169. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3170. .expected_ss = (u8[32]){ 0xb3, 0x2d, 0x13, 0x62, 0xc2, 0x48, 0xd6, 0x2f,
  3171. 0xe6, 0x26, 0x19, 0xcf, 0xf0, 0x4d, 0xd4, 0x3d,
  3172. 0xb7, 0x3f, 0xfc, 0x1b, 0x63, 0x08, 0xed, 0xe3,
  3173. 0x0b, 0x78, 0xd8, 0x73, 0x80, 0xf1, 0xe8, 0x34 },
  3174. .secret_size = 32,
  3175. .b_public_size = 32,
  3176. .expected_ss_size = 32,
  3177. },
  3178. {
  3179. .secret = (u8[32]){ 0xa5, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d,
  3180. 0x3b, 0x16, 0x15, 0x4b, 0x82, 0x46, 0x5e, 0xdd,
  3181. 0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc, 0x5a, 0x18,
  3182. 0x50, 0x6a, 0x22, 0x44, 0xba, 0x44, 0x9a, 0xc4 },
  3183. .b_public = (u8[32]){ 0xe6, 0xdb, 0x68, 0x67, 0x58, 0x30, 0x30, 0xdb,
  3184. 0x35, 0x94, 0xc1, 0xa4, 0x24, 0xb1, 0x5f, 0x7c,
  3185. 0x72, 0x66, 0x24, 0xec, 0x26, 0xb3, 0x35, 0x3b,
  3186. 0x10, 0xa9, 0x03, 0xa6, 0xd0, 0xab, 0x1c, 0x4c },
  3187. .expected_ss = (u8[32]){ 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90,
  3188. 0x8e, 0x94, 0xea, 0x4d, 0xf2, 0x8d, 0x08, 0x4f,
  3189. 0x32, 0xec, 0xcf, 0x03, 0x49, 0x1c, 0x71, 0xf7,
  3190. 0x54, 0xb4, 0x07, 0x55, 0x77, 0xa2, 0x85, 0x52 },
  3191. .secret_size = 32,
  3192. .b_public_size = 32,
  3193. .expected_ss_size = 32,
  3194. },
  3195. {
  3196. .secret = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0x0a, 0xff, 0xff, 0xff,
  3197. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3198. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3199. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3200. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3201. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3202. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3203. 0xff, 0xff, 0xff, 0xff, 0x0a, 0x00, 0xfb, 0x9f },
  3204. .expected_ss = (u8[32]){ 0x77, 0x52, 0xb6, 0x18, 0xc1, 0x2d, 0x48, 0xd2,
  3205. 0xc6, 0x93, 0x46, 0x83, 0x81, 0x7c, 0xc6, 0x57,
  3206. 0xf3, 0x31, 0x03, 0x19, 0x49, 0x48, 0x20, 0x05,
  3207. 0x42, 0x2b, 0x4e, 0xae, 0x8d, 0x1d, 0x43, 0x23 },
  3208. .secret_size = 32,
  3209. .b_public_size = 32,
  3210. .expected_ss_size = 32,
  3211. },
  3212. {
  3213. .secret = (u8[32]){ 0x8e, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3214. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3215. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3216. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3217. .b_public = (u8[32]){ 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. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8e, 0x06 },
  3221. .expected_ss = (u8[32]){ 0x5a, 0xdf, 0xaa, 0x25, 0x86, 0x8e, 0x32, 0x3d,
  3222. 0xae, 0x49, 0x62, 0xc1, 0x01, 0x5c, 0xb3, 0x12,
  3223. 0xe1, 0xc5, 0xc7, 0x9e, 0x95, 0x3f, 0x03, 0x99,
  3224. 0xb0, 0xba, 0x16, 0x22, 0xf3, 0xb6, 0xf7, 0x0c },
  3225. .secret_size = 32,
  3226. .b_public_size = 32,
  3227. .expected_ss_size = 32,
  3228. },
  3229. /* wycheproof - normal case */
  3230. {
  3231. .secret = (u8[32]){ 0x48, 0x52, 0x83, 0x4d, 0x9d, 0x6b, 0x77, 0xda,
  3232. 0xde, 0xab, 0xaa, 0xf2, 0xe1, 0x1d, 0xca, 0x66,
  3233. 0xd1, 0x9f, 0xe7, 0x49, 0x93, 0xa7, 0xbe, 0xc3,
  3234. 0x6c, 0x6e, 0x16, 0xa0, 0x98, 0x3f, 0xea, 0xba },
  3235. .b_public = (u8[32]){ 0x9c, 0x64, 0x7d, 0x9a, 0xe5, 0x89, 0xb9, 0xf5,
  3236. 0x8f, 0xdc, 0x3c, 0xa4, 0x94, 0x7e, 0xfb, 0xc9,
  3237. 0x15, 0xc4, 0xb2, 0xe0, 0x8e, 0x74, 0x4a, 0x0e,
  3238. 0xdf, 0x46, 0x9d, 0xac, 0x59, 0xc8, 0xf8, 0x5a },
  3239. .expected_ss = (u8[32]){ 0x87, 0xb7, 0xf2, 0x12, 0xb6, 0x27, 0xf7, 0xa5,
  3240. 0x4c, 0xa5, 0xe0, 0xbc, 0xda, 0xdd, 0xd5, 0x38,
  3241. 0x9d, 0x9d, 0xe6, 0x15, 0x6c, 0xdb, 0xcf, 0x8e,
  3242. 0xbe, 0x14, 0xff, 0xbc, 0xfb, 0x43, 0x65, 0x51 },
  3243. .secret_size = 32,
  3244. .b_public_size = 32,
  3245. .expected_ss_size = 32,
  3246. },
  3247. /* wycheproof - public key on twist */
  3248. {
  3249. .secret = (u8[32]){ 0x58, 0x8c, 0x06, 0x1a, 0x50, 0x80, 0x4a, 0xc4,
  3250. 0x88, 0xad, 0x77, 0x4a, 0xc7, 0x16, 0xc3, 0xf5,
  3251. 0xba, 0x71, 0x4b, 0x27, 0x12, 0xe0, 0x48, 0x49,
  3252. 0x13, 0x79, 0xa5, 0x00, 0x21, 0x19, 0x98, 0xa8 },
  3253. .b_public = (u8[32]){ 0x63, 0xaa, 0x40, 0xc6, 0xe3, 0x83, 0x46, 0xc5,
  3254. 0xca, 0xf2, 0x3a, 0x6d, 0xf0, 0xa5, 0xe6, 0xc8,
  3255. 0x08, 0x89, 0xa0, 0x86, 0x47, 0xe5, 0x51, 0xb3,
  3256. 0x56, 0x34, 0x49, 0xbe, 0xfc, 0xfc, 0x97, 0x33 },
  3257. .expected_ss = (u8[32]){ 0xb1, 0xa7, 0x07, 0x51, 0x94, 0x95, 0xff, 0xff,
  3258. 0xb2, 0x98, 0xff, 0x94, 0x17, 0x16, 0xb0, 0x6d,
  3259. 0xfa, 0xb8, 0x7c, 0xf8, 0xd9, 0x11, 0x23, 0xfe,
  3260. 0x2b, 0xe9, 0xa2, 0x33, 0xdd, 0xa2, 0x22, 0x12 },
  3261. .secret_size = 32,
  3262. .b_public_size = 32,
  3263. .expected_ss_size = 32,
  3264. },
  3265. /* wycheproof - public key on twist */
  3266. {
  3267. .secret = (u8[32]){ 0xb0, 0x5b, 0xfd, 0x32, 0xe5, 0x53, 0x25, 0xd9,
  3268. 0xfd, 0x64, 0x8c, 0xb3, 0x02, 0x84, 0x80, 0x39,
  3269. 0x00, 0x0b, 0x39, 0x0e, 0x44, 0xd5, 0x21, 0xe5,
  3270. 0x8a, 0xab, 0x3b, 0x29, 0xa6, 0x96, 0x0b, 0xa8 },
  3271. .b_public = (u8[32]){ 0x0f, 0x83, 0xc3, 0x6f, 0xde, 0xd9, 0xd3, 0x2f,
  3272. 0xad, 0xf4, 0xef, 0xa3, 0xae, 0x93, 0xa9, 0x0b,
  3273. 0xb5, 0xcf, 0xa6, 0x68, 0x93, 0xbc, 0x41, 0x2c,
  3274. 0x43, 0xfa, 0x72, 0x87, 0xdb, 0xb9, 0x97, 0x79 },
  3275. .expected_ss = (u8[32]){ 0x67, 0xdd, 0x4a, 0x6e, 0x16, 0x55, 0x33, 0x53,
  3276. 0x4c, 0x0e, 0x3f, 0x17, 0x2e, 0x4a, 0xb8, 0x57,
  3277. 0x6b, 0xca, 0x92, 0x3a, 0x5f, 0x07, 0xb2, 0xc0,
  3278. 0x69, 0xb4, 0xc3, 0x10, 0xff, 0x2e, 0x93, 0x5b },
  3279. .secret_size = 32,
  3280. .b_public_size = 32,
  3281. .expected_ss_size = 32,
  3282. },
  3283. /* wycheproof - public key on twist */
  3284. {
  3285. .secret = (u8[32]){ 0x70, 0xe3, 0x4b, 0xcb, 0xe1, 0xf4, 0x7f, 0xbc,
  3286. 0x0f, 0xdd, 0xfd, 0x7c, 0x1e, 0x1a, 0xa5, 0x3d,
  3287. 0x57, 0xbf, 0xe0, 0xf6, 0x6d, 0x24, 0x30, 0x67,
  3288. 0xb4, 0x24, 0xbb, 0x62, 0x10, 0xbe, 0xd1, 0x9c },
  3289. .b_public = (u8[32]){ 0x0b, 0x82, 0x11, 0xa2, 0xb6, 0x04, 0x90, 0x97,
  3290. 0xf6, 0x87, 0x1c, 0x6c, 0x05, 0x2d, 0x3c, 0x5f,
  3291. 0xc1, 0xba, 0x17, 0xda, 0x9e, 0x32, 0xae, 0x45,
  3292. 0x84, 0x03, 0xb0, 0x5b, 0xb2, 0x83, 0x09, 0x2a },
  3293. .expected_ss = (u8[32]){ 0x4a, 0x06, 0x38, 0xcf, 0xaa, 0x9e, 0xf1, 0x93,
  3294. 0x3b, 0x47, 0xf8, 0x93, 0x92, 0x96, 0xa6, 0xb2,
  3295. 0x5b, 0xe5, 0x41, 0xef, 0x7f, 0x70, 0xe8, 0x44,
  3296. 0xc0, 0xbc, 0xc0, 0x0b, 0x13, 0x4d, 0xe6, 0x4a },
  3297. .secret_size = 32,
  3298. .b_public_size = 32,
  3299. .expected_ss_size = 32,
  3300. },
  3301. /* wycheproof - public key on twist */
  3302. {
  3303. .secret = (u8[32]){ 0x68, 0xc1, 0xf3, 0xa6, 0x53, 0xa4, 0xcd, 0xb1,
  3304. 0xd3, 0x7b, 0xba, 0x94, 0x73, 0x8f, 0x8b, 0x95,
  3305. 0x7a, 0x57, 0xbe, 0xb2, 0x4d, 0x64, 0x6e, 0x99,
  3306. 0x4d, 0xc2, 0x9a, 0x27, 0x6a, 0xad, 0x45, 0x8d },
  3307. .b_public = (u8[32]){ 0x34, 0x3a, 0xc2, 0x0a, 0x3b, 0x9c, 0x6a, 0x27,
  3308. 0xb1, 0x00, 0x81, 0x76, 0x50, 0x9a, 0xd3, 0x07,
  3309. 0x35, 0x85, 0x6e, 0xc1, 0xc8, 0xd8, 0xfc, 0xae,
  3310. 0x13, 0x91, 0x2d, 0x08, 0xd1, 0x52, 0xf4, 0x6c },
  3311. .expected_ss = (u8[32]){ 0x39, 0x94, 0x91, 0xfc, 0xe8, 0xdf, 0xab, 0x73,
  3312. 0xb4, 0xf9, 0xf6, 0x11, 0xde, 0x8e, 0xa0, 0xb2,
  3313. 0x7b, 0x28, 0xf8, 0x59, 0x94, 0x25, 0x0b, 0x0f,
  3314. 0x47, 0x5d, 0x58, 0x5d, 0x04, 0x2a, 0xc2, 0x07 },
  3315. .secret_size = 32,
  3316. .b_public_size = 32,
  3317. .expected_ss_size = 32,
  3318. },
  3319. /* wycheproof - public key on twist */
  3320. {
  3321. .secret = (u8[32]){ 0xd8, 0x77, 0xb2, 0x6d, 0x06, 0xdf, 0xf9, 0xd9,
  3322. 0xf7, 0xfd, 0x4c, 0x5b, 0x37, 0x69, 0xf8, 0xcd,
  3323. 0xd5, 0xb3, 0x05, 0x16, 0xa5, 0xab, 0x80, 0x6b,
  3324. 0xe3, 0x24, 0xff, 0x3e, 0xb6, 0x9e, 0xa0, 0xb2 },
  3325. .b_public = (u8[32]){ 0xfa, 0x69, 0x5f, 0xc7, 0xbe, 0x8d, 0x1b, 0xe5,
  3326. 0xbf, 0x70, 0x48, 0x98, 0xf3, 0x88, 0xc4, 0x52,
  3327. 0xba, 0xfd, 0xd3, 0xb8, 0xea, 0xe8, 0x05, 0xf8,
  3328. 0x68, 0x1a, 0x8d, 0x15, 0xc2, 0xd4, 0xe1, 0x42 },
  3329. .expected_ss = (u8[32]){ 0x2c, 0x4f, 0xe1, 0x1d, 0x49, 0x0a, 0x53, 0x86,
  3330. 0x17, 0x76, 0xb1, 0x3b, 0x43, 0x54, 0xab, 0xd4,
  3331. 0xcf, 0x5a, 0x97, 0x69, 0x9d, 0xb6, 0xe6, 0xc6,
  3332. 0x8c, 0x16, 0x26, 0xd0, 0x76, 0x62, 0xf7, 0x58 },
  3333. .secret_size = 32,
  3334. .b_public_size = 32,
  3335. .expected_ss_size = 32,
  3336. },
  3337. /* wycheproof - edge case on twist */
  3338. {
  3339. .secret = (u8[32]){ 0x38, 0xdd, 0xe9, 0xf3, 0xe7, 0xb7, 0x99, 0x04,
  3340. 0x5f, 0x9a, 0xc3, 0x79, 0x3d, 0x4a, 0x92, 0x77,
  3341. 0xda, 0xde, 0xad, 0xc4, 0x1b, 0xec, 0x02, 0x90,
  3342. 0xf8, 0x1f, 0x74, 0x4f, 0x73, 0x77, 0x5f, 0x84 },
  3343. .b_public = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3344. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3345. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3346. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3347. .expected_ss = (u8[32]){ 0x9a, 0x2c, 0xfe, 0x84, 0xff, 0x9c, 0x4a, 0x97,
  3348. 0x39, 0x62, 0x5c, 0xae, 0x4a, 0x3b, 0x82, 0xa9,
  3349. 0x06, 0x87, 0x7a, 0x44, 0x19, 0x46, 0xf8, 0xd7,
  3350. 0xb3, 0xd7, 0x95, 0xfe, 0x8f, 0x5d, 0x16, 0x39 },
  3351. .secret_size = 32,
  3352. .b_public_size = 32,
  3353. .expected_ss_size = 32,
  3354. },
  3355. /* wycheproof - edge case on twist */
  3356. {
  3357. .secret = (u8[32]){ 0x98, 0x57, 0xa9, 0x14, 0xe3, 0xc2, 0x90, 0x36,
  3358. 0xfd, 0x9a, 0x44, 0x2b, 0xa5, 0x26, 0xb5, 0xcd,
  3359. 0xcd, 0xf2, 0x82, 0x16, 0x15, 0x3e, 0x63, 0x6c,
  3360. 0x10, 0x67, 0x7a, 0xca, 0xb6, 0xbd, 0x6a, 0xa5 },
  3361. .b_public = (u8[32]){ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3362. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3363. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3364. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3365. .expected_ss = (u8[32]){ 0x4d, 0xa4, 0xe0, 0xaa, 0x07, 0x2c, 0x23, 0x2e,
  3366. 0xe2, 0xf0, 0xfa, 0x4e, 0x51, 0x9a, 0xe5, 0x0b,
  3367. 0x52, 0xc1, 0xed, 0xd0, 0x8a, 0x53, 0x4d, 0x4e,
  3368. 0xf3, 0x46, 0xc2, 0xe1, 0x06, 0xd2, 0x1d, 0x60 },
  3369. .secret_size = 32,
  3370. .b_public_size = 32,
  3371. .expected_ss_size = 32,
  3372. },
  3373. /* wycheproof - edge case on twist */
  3374. {
  3375. .secret = (u8[32]){ 0x48, 0xe2, 0x13, 0x0d, 0x72, 0x33, 0x05, 0xed,
  3376. 0x05, 0xe6, 0xe5, 0x89, 0x4d, 0x39, 0x8a, 0x5e,
  3377. 0x33, 0x36, 0x7a, 0x8c, 0x6a, 0xac, 0x8f, 0xcd,
  3378. 0xf0, 0xa8, 0x8e, 0x4b, 0x42, 0x82, 0x0d, 0xb7 },
  3379. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0x03, 0x00, 0x00, 0xf8, 0xff,
  3380. 0xff, 0x1f, 0x00, 0x00, 0xc0, 0xff, 0xff, 0xff,
  3381. 0x00, 0x00, 0x00, 0xfe, 0xff, 0xff, 0x07, 0x00,
  3382. 0x00, 0xf0, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00 },
  3383. .expected_ss = (u8[32]){ 0x9e, 0xd1, 0x0c, 0x53, 0x74, 0x7f, 0x64, 0x7f,
  3384. 0x82, 0xf4, 0x51, 0x25, 0xd3, 0xde, 0x15, 0xa1,
  3385. 0xe6, 0xb8, 0x24, 0x49, 0x6a, 0xb4, 0x04, 0x10,
  3386. 0xff, 0xcc, 0x3c, 0xfe, 0x95, 0x76, 0x0f, 0x3b },
  3387. .secret_size = 32,
  3388. .b_public_size = 32,
  3389. .expected_ss_size = 32,
  3390. },
  3391. /* wycheproof - edge case on twist */
  3392. {
  3393. .secret = (u8[32]){ 0x28, 0xf4, 0x10, 0x11, 0x69, 0x18, 0x51, 0xb3,
  3394. 0xa6, 0x2b, 0x64, 0x15, 0x53, 0xb3, 0x0d, 0x0d,
  3395. 0xfd, 0xdc, 0xb8, 0xff, 0xfc, 0xf5, 0x37, 0x00,
  3396. 0xa7, 0xbe, 0x2f, 0x6a, 0x87, 0x2e, 0x9f, 0xb0 },
  3397. .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0xfc, 0xff, 0xff, 0x07, 0x00,
  3398. 0x00, 0xe0, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00,
  3399. 0xff, 0xff, 0xff, 0x01, 0x00, 0x00, 0xf8, 0xff,
  3400. 0xff, 0x0f, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x7f },
  3401. .expected_ss = (u8[32]){ 0xcf, 0x72, 0xb4, 0xaa, 0x6a, 0xa1, 0xc9, 0xf8,
  3402. 0x94, 0xf4, 0x16, 0x5b, 0x86, 0x10, 0x9a, 0xa4,
  3403. 0x68, 0x51, 0x76, 0x48, 0xe1, 0xf0, 0xcc, 0x70,
  3404. 0xe1, 0xab, 0x08, 0x46, 0x01, 0x76, 0x50, 0x6b },
  3405. .secret_size = 32,
  3406. .b_public_size = 32,
  3407. .expected_ss_size = 32,
  3408. },
  3409. /* wycheproof - edge case on twist */
  3410. {
  3411. .secret = (u8[32]){ 0x18, 0xa9, 0x3b, 0x64, 0x99, 0xb9, 0xf6, 0xb3,
  3412. 0x22, 0x5c, 0xa0, 0x2f, 0xef, 0x41, 0x0e, 0x0a,
  3413. 0xde, 0xc2, 0x35, 0x32, 0x32, 0x1d, 0x2d, 0x8e,
  3414. 0xf1, 0xa6, 0xd6, 0x02, 0xa8, 0xc6, 0x5b, 0x83 },
  3415. .b_public = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
  3416. 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
  3417. 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
  3418. 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x7f },
  3419. .expected_ss = (u8[32]){ 0x5d, 0x50, 0xb6, 0x28, 0x36, 0xbb, 0x69, 0x57,
  3420. 0x94, 0x10, 0x38, 0x6c, 0xf7, 0xbb, 0x81, 0x1c,
  3421. 0x14, 0xbf, 0x85, 0xb1, 0xc7, 0xb1, 0x7e, 0x59,
  3422. 0x24, 0xc7, 0xff, 0xea, 0x91, 0xef, 0x9e, 0x12 },
  3423. .secret_size = 32,
  3424. .b_public_size = 32,
  3425. .expected_ss_size = 32,
  3426. },
  3427. /* wycheproof - edge case on twist */
  3428. {
  3429. .secret = (u8[32]){ 0xc0, 0x1d, 0x13, 0x05, 0xa1, 0x33, 0x8a, 0x1f,
  3430. 0xca, 0xc2, 0xba, 0x7e, 0x2e, 0x03, 0x2b, 0x42,
  3431. 0x7e, 0x0b, 0x04, 0x90, 0x31, 0x65, 0xac, 0xa9,
  3432. 0x57, 0xd8, 0xd0, 0x55, 0x3d, 0x87, 0x17, 0xb0 },
  3433. .b_public = (u8[32]){ 0xea, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3434. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3435. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3436. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3437. .expected_ss = (u8[32]){ 0x19, 0x23, 0x0e, 0xb1, 0x48, 0xd5, 0xd6, 0x7c,
  3438. 0x3c, 0x22, 0xab, 0x1d, 0xae, 0xff, 0x80, 0xa5,
  3439. 0x7e, 0xae, 0x42, 0x65, 0xce, 0x28, 0x72, 0x65,
  3440. 0x7b, 0x2c, 0x80, 0x99, 0xfc, 0x69, 0x8e, 0x50 },
  3441. .secret_size = 32,
  3442. .b_public_size = 32,
  3443. .expected_ss_size = 32,
  3444. },
  3445. /* wycheproof - edge case for public key */
  3446. {
  3447. .secret = (u8[32]){ 0x38, 0x6f, 0x7f, 0x16, 0xc5, 0x07, 0x31, 0xd6,
  3448. 0x4f, 0x82, 0xe6, 0xa1, 0x70, 0xb1, 0x42, 0xa4,
  3449. 0xe3, 0x4f, 0x31, 0xfd, 0x77, 0x68, 0xfc, 0xb8,
  3450. 0x90, 0x29, 0x25, 0xe7, 0xd1, 0xe2, 0x1a, 0xbe },
  3451. .b_public = (u8[32]){ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3452. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3453. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3454. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3455. .expected_ss = (u8[32]){ 0x0f, 0xca, 0xb5, 0xd8, 0x42, 0xa0, 0x78, 0xd7,
  3456. 0xa7, 0x1f, 0xc5, 0x9b, 0x57, 0xbf, 0xb4, 0xca,
  3457. 0x0b, 0xe6, 0x87, 0x3b, 0x49, 0xdc, 0xdb, 0x9f,
  3458. 0x44, 0xe1, 0x4a, 0xe8, 0xfb, 0xdf, 0xa5, 0x42 },
  3459. .secret_size = 32,
  3460. .b_public_size = 32,
  3461. .expected_ss_size = 32,
  3462. },
  3463. /* wycheproof - edge case for public key */
  3464. {
  3465. .secret = (u8[32]){ 0xe0, 0x23, 0xa2, 0x89, 0xbd, 0x5e, 0x90, 0xfa,
  3466. 0x28, 0x04, 0xdd, 0xc0, 0x19, 0xa0, 0x5e, 0xf3,
  3467. 0xe7, 0x9d, 0x43, 0x4b, 0xb6, 0xea, 0x2f, 0x52,
  3468. 0x2e, 0xcb, 0x64, 0x3a, 0x75, 0x29, 0x6e, 0x95 },
  3469. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
  3470. 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
  3471. 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
  3472. 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 },
  3473. .expected_ss = (u8[32]){ 0x54, 0xce, 0x8f, 0x22, 0x75, 0xc0, 0x77, 0xe3,
  3474. 0xb1, 0x30, 0x6a, 0x39, 0x39, 0xc5, 0xe0, 0x3e,
  3475. 0xef, 0x6b, 0xbb, 0x88, 0x06, 0x05, 0x44, 0x75,
  3476. 0x8d, 0x9f, 0xef, 0x59, 0xb0, 0xbc, 0x3e, 0x4f },
  3477. .secret_size = 32,
  3478. .b_public_size = 32,
  3479. .expected_ss_size = 32,
  3480. },
  3481. /* wycheproof - edge case for public key */
  3482. {
  3483. .secret = (u8[32]){ 0x68, 0xf0, 0x10, 0xd6, 0x2e, 0xe8, 0xd9, 0x26,
  3484. 0x05, 0x3a, 0x36, 0x1c, 0x3a, 0x75, 0xc6, 0xea,
  3485. 0x4e, 0xbd, 0xc8, 0x60, 0x6a, 0xb2, 0x85, 0x00,
  3486. 0x3a, 0x6f, 0x8f, 0x40, 0x76, 0xb0, 0x1e, 0x83 },
  3487. .b_public = (u8[32]){ 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, 0xff,
  3490. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03 },
  3491. .expected_ss = (u8[32]){ 0xf1, 0x36, 0x77, 0x5c, 0x5b, 0xeb, 0x0a, 0xf8,
  3492. 0x11, 0x0a, 0xf1, 0x0b, 0x20, 0x37, 0x23, 0x32,
  3493. 0x04, 0x3c, 0xab, 0x75, 0x24, 0x19, 0x67, 0x87,
  3494. 0x75, 0xa2, 0x23, 0xdf, 0x57, 0xc9, 0xd3, 0x0d },
  3495. .secret_size = 32,
  3496. .b_public_size = 32,
  3497. .expected_ss_size = 32,
  3498. },
  3499. /* wycheproof - edge case for public key */
  3500. {
  3501. .secret = (u8[32]){ 0x58, 0xeb, 0xcb, 0x35, 0xb0, 0xf8, 0x84, 0x5c,
  3502. 0xaf, 0x1e, 0xc6, 0x30, 0xf9, 0x65, 0x76, 0xb6,
  3503. 0x2c, 0x4b, 0x7b, 0x6c, 0x36, 0xb2, 0x9d, 0xeb,
  3504. 0x2c, 0xb0, 0x08, 0x46, 0x51, 0x75, 0x5c, 0x96 },
  3505. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xfb, 0xff,
  3506. 0xff, 0xdf, 0xff, 0xff, 0xdf, 0xff, 0xff, 0xff,
  3507. 0xfe, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xf7, 0xff,
  3508. 0xff, 0xf7, 0xff, 0xff, 0xbf, 0xff, 0xff, 0x3f },
  3509. .expected_ss = (u8[32]){ 0xbf, 0x9a, 0xff, 0xd0, 0x6b, 0x84, 0x40, 0x85,
  3510. 0x58, 0x64, 0x60, 0x96, 0x2e, 0xf2, 0x14, 0x6f,
  3511. 0xf3, 0xd4, 0x53, 0x3d, 0x94, 0x44, 0xaa, 0xb0,
  3512. 0x06, 0xeb, 0x88, 0xcc, 0x30, 0x54, 0x40, 0x7d },
  3513. .secret_size = 32,
  3514. .b_public_size = 32,
  3515. .expected_ss_size = 32,
  3516. },
  3517. /* wycheproof - edge case for public key */
  3518. {
  3519. .secret = (u8[32]){ 0x18, 0x8c, 0x4b, 0xc5, 0xb9, 0xc4, 0x4b, 0x38,
  3520. 0xbb, 0x65, 0x8b, 0x9b, 0x2a, 0xe8, 0x2d, 0x5b,
  3521. 0x01, 0x01, 0x5e, 0x09, 0x31, 0x84, 0xb1, 0x7c,
  3522. 0xb7, 0x86, 0x35, 0x03, 0xa7, 0x83, 0xe1, 0xbb },
  3523. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3524. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3525. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3526. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  3527. .expected_ss = (u8[32]){ 0xd4, 0x80, 0xde, 0x04, 0xf6, 0x99, 0xcb, 0x3b,
  3528. 0xe0, 0x68, 0x4a, 0x9c, 0xc2, 0xe3, 0x12, 0x81,
  3529. 0xea, 0x0b, 0xc5, 0xa9, 0xdc, 0xc1, 0x57, 0xd3,
  3530. 0xd2, 0x01, 0x58, 0xd4, 0x6c, 0xa5, 0x24, 0x6d },
  3531. .secret_size = 32,
  3532. .b_public_size = 32,
  3533. .expected_ss_size = 32,
  3534. },
  3535. /* wycheproof - edge case for public key */
  3536. {
  3537. .secret = (u8[32]){ 0xe0, 0x6c, 0x11, 0xbb, 0x2e, 0x13, 0xce, 0x3d,
  3538. 0xc7, 0x67, 0x3f, 0x67, 0xf5, 0x48, 0x22, 0x42,
  3539. 0x90, 0x94, 0x23, 0xa9, 0xae, 0x95, 0xee, 0x98,
  3540. 0x6a, 0x98, 0x8d, 0x98, 0xfa, 0xee, 0x23, 0xa2 },
  3541. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
  3542. 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
  3543. 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f,
  3544. 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0x7f },
  3545. .expected_ss = (u8[32]){ 0x4c, 0x44, 0x01, 0xcc, 0xe6, 0xb5, 0x1e, 0x4c,
  3546. 0xb1, 0x8f, 0x27, 0x90, 0x24, 0x6c, 0x9b, 0xf9,
  3547. 0x14, 0xdb, 0x66, 0x77, 0x50, 0xa1, 0xcb, 0x89,
  3548. 0x06, 0x90, 0x92, 0xaf, 0x07, 0x29, 0x22, 0x76 },
  3549. .secret_size = 32,
  3550. .b_public_size = 32,
  3551. .expected_ss_size = 32,
  3552. },
  3553. /* wycheproof - edge case for public key */
  3554. {
  3555. .secret = (u8[32]){ 0xc0, 0x65, 0x8c, 0x46, 0xdd, 0xe1, 0x81, 0x29,
  3556. 0x29, 0x38, 0x77, 0x53, 0x5b, 0x11, 0x62, 0xb6,
  3557. 0xf9, 0xf5, 0x41, 0x4a, 0x23, 0xcf, 0x4d, 0x2c,
  3558. 0xbc, 0x14, 0x0a, 0x4d, 0x99, 0xda, 0x2b, 0x8f },
  3559. .b_public = (u8[32]){ 0xeb, 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. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3563. .expected_ss = (u8[32]){ 0x57, 0x8b, 0xa8, 0xcc, 0x2d, 0xbd, 0xc5, 0x75,
  3564. 0xaf, 0xcf, 0x9d, 0xf2, 0xb3, 0xee, 0x61, 0x89,
  3565. 0xf5, 0x33, 0x7d, 0x68, 0x54, 0xc7, 0x9b, 0x4c,
  3566. 0xe1, 0x65, 0xea, 0x12, 0x29, 0x3b, 0x3a, 0x0f },
  3567. .secret_size = 32,
  3568. .b_public_size = 32,
  3569. .expected_ss_size = 32,
  3570. },
  3571. /* wycheproof - public key >= p */
  3572. {
  3573. .secret = (u8[32]){ 0xf0, 0x1e, 0x48, 0xda, 0xfa, 0xc9, 0xd7, 0xbc,
  3574. 0xf5, 0x89, 0xcb, 0xc3, 0x82, 0xc8, 0x78, 0xd1,
  3575. 0x8b, 0xda, 0x35, 0x50, 0x58, 0x9f, 0xfb, 0x5d,
  3576. 0x50, 0xb5, 0x23, 0xbe, 0xbe, 0x32, 0x9d, 0xae },
  3577. .b_public = (u8[32]){ 0xef, 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. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3581. .expected_ss = (u8[32]){ 0xbd, 0x36, 0xa0, 0x79, 0x0e, 0xb8, 0x83, 0x09,
  3582. 0x8c, 0x98, 0x8b, 0x21, 0x78, 0x67, 0x73, 0xde,
  3583. 0x0b, 0x3a, 0x4d, 0xf1, 0x62, 0x28, 0x2c, 0xf1,
  3584. 0x10, 0xde, 0x18, 0xdd, 0x48, 0x4c, 0xe7, 0x4b },
  3585. .secret_size = 32,
  3586. .b_public_size = 32,
  3587. .expected_ss_size = 32,
  3588. },
  3589. /* wycheproof - public key >= p */
  3590. {
  3591. .secret = (u8[32]){ 0x28, 0x87, 0x96, 0xbc, 0x5a, 0xff, 0x4b, 0x81,
  3592. 0xa3, 0x75, 0x01, 0x75, 0x7b, 0xc0, 0x75, 0x3a,
  3593. 0x3c, 0x21, 0x96, 0x47, 0x90, 0xd3, 0x86, 0x99,
  3594. 0x30, 0x8d, 0xeb, 0xc1, 0x7a, 0x6e, 0xaf, 0x8d },
  3595. .b_public = (u8[32]){ 0xf0, 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. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3599. .expected_ss = (u8[32]){ 0xb4, 0xe0, 0xdd, 0x76, 0xda, 0x7b, 0x07, 0x17,
  3600. 0x28, 0xb6, 0x1f, 0x85, 0x67, 0x71, 0xaa, 0x35,
  3601. 0x6e, 0x57, 0xed, 0xa7, 0x8a, 0x5b, 0x16, 0x55,
  3602. 0xcc, 0x38, 0x20, 0xfb, 0x5f, 0x85, 0x4c, 0x5c },
  3603. .secret_size = 32,
  3604. .b_public_size = 32,
  3605. .expected_ss_size = 32,
  3606. },
  3607. /* wycheproof - public key >= p */
  3608. {
  3609. .secret = (u8[32]){ 0x98, 0xdf, 0x84, 0x5f, 0x66, 0x51, 0xbf, 0x11,
  3610. 0x38, 0x22, 0x1f, 0x11, 0x90, 0x41, 0xf7, 0x2b,
  3611. 0x6d, 0xbc, 0x3c, 0x4a, 0xce, 0x71, 0x43, 0xd9,
  3612. 0x9f, 0xd5, 0x5a, 0xd8, 0x67, 0x48, 0x0d, 0xa8 },
  3613. .b_public = (u8[32]){ 0xf1, 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. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3617. .expected_ss = (u8[32]){ 0x6f, 0xdf, 0x6c, 0x37, 0x61, 0x1d, 0xbd, 0x53,
  3618. 0x04, 0xdc, 0x0f, 0x2e, 0xb7, 0xc9, 0x51, 0x7e,
  3619. 0xb3, 0xc5, 0x0e, 0x12, 0xfd, 0x05, 0x0a, 0xc6,
  3620. 0xde, 0xc2, 0x70, 0x71, 0xd4, 0xbf, 0xc0, 0x34 },
  3621. .secret_size = 32,
  3622. .b_public_size = 32,
  3623. .expected_ss_size = 32,
  3624. },
  3625. /* wycheproof - public key >= p */
  3626. {
  3627. .secret = (u8[32]){ 0xf0, 0x94, 0x98, 0xe4, 0x6f, 0x02, 0xf8, 0x78,
  3628. 0x82, 0x9e, 0x78, 0xb8, 0x03, 0xd3, 0x16, 0xa2,
  3629. 0xed, 0x69, 0x5d, 0x04, 0x98, 0xa0, 0x8a, 0xbd,
  3630. 0xf8, 0x27, 0x69, 0x30, 0xe2, 0x4e, 0xdc, 0xb0 },
  3631. .b_public = (u8[32]){ 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. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  3635. .expected_ss = (u8[32]){ 0x4c, 0x8f, 0xc4, 0xb1, 0xc6, 0xab, 0x88, 0xfb,
  3636. 0x21, 0xf1, 0x8f, 0x6d, 0x4c, 0x81, 0x02, 0x40,
  3637. 0xd4, 0xe9, 0x46, 0x51, 0xba, 0x44, 0xf7, 0xa2,
  3638. 0xc8, 0x63, 0xce, 0xc7, 0xdc, 0x56, 0x60, 0x2d },
  3639. .secret_size = 32,
  3640. .b_public_size = 32,
  3641. .expected_ss_size = 32,
  3642. },
  3643. /* wycheproof - public key >= p */
  3644. {
  3645. .secret = (u8[32]){ 0x18, 0x13, 0xc1, 0x0a, 0x5c, 0x7f, 0x21, 0xf9,
  3646. 0x6e, 0x17, 0xf2, 0x88, 0xc0, 0xcc, 0x37, 0x60,
  3647. 0x7c, 0x04, 0xc5, 0xf5, 0xae, 0xa2, 0xdb, 0x13,
  3648. 0x4f, 0x9e, 0x2f, 0xfc, 0x66, 0xbd, 0x9d, 0xb8 },
  3649. .b_public = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3650. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3651. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3652. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
  3653. .expected_ss = (u8[32]){ 0x1c, 0xd0, 0xb2, 0x82, 0x67, 0xdc, 0x54, 0x1c,
  3654. 0x64, 0x2d, 0x6d, 0x7d, 0xca, 0x44, 0xa8, 0xb3,
  3655. 0x8a, 0x63, 0x73, 0x6e, 0xef, 0x5c, 0x4e, 0x65,
  3656. 0x01, 0xff, 0xbb, 0xb1, 0x78, 0x0c, 0x03, 0x3c },
  3657. .secret_size = 32,
  3658. .b_public_size = 32,
  3659. .expected_ss_size = 32,
  3660. },
  3661. /* wycheproof - public key >= p */
  3662. {
  3663. .secret = (u8[32]){ 0x78, 0x57, 0xfb, 0x80, 0x86, 0x53, 0x64, 0x5a,
  3664. 0x0b, 0xeb, 0x13, 0x8a, 0x64, 0xf5, 0xf4, 0xd7,
  3665. 0x33, 0xa4, 0x5e, 0xa8, 0x4c, 0x3c, 0xda, 0x11,
  3666. 0xa9, 0xc0, 0x6f, 0x7e, 0x71, 0x39, 0x14, 0x9e },
  3667. .b_public = (u8[32]){ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3668. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3669. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3670. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
  3671. .expected_ss = (u8[32]){ 0x87, 0x55, 0xbe, 0x01, 0xc6, 0x0a, 0x7e, 0x82,
  3672. 0x5c, 0xff, 0x3e, 0x0e, 0x78, 0xcb, 0x3a, 0xa4,
  3673. 0x33, 0x38, 0x61, 0x51, 0x6a, 0xa5, 0x9b, 0x1c,
  3674. 0x51, 0xa8, 0xb2, 0xa5, 0x43, 0xdf, 0xa8, 0x22 },
  3675. .secret_size = 32,
  3676. .b_public_size = 32,
  3677. .expected_ss_size = 32,
  3678. },
  3679. /* wycheproof - public key >= p */
  3680. {
  3681. .secret = (u8[32]){ 0xe0, 0x3a, 0xa8, 0x42, 0xe2, 0xab, 0xc5, 0x6e,
  3682. 0x81, 0xe8, 0x7b, 0x8b, 0x9f, 0x41, 0x7b, 0x2a,
  3683. 0x1e, 0x59, 0x13, 0xc7, 0x23, 0xee, 0xd2, 0x8d,
  3684. 0x75, 0x2f, 0x8d, 0x47, 0xa5, 0x9f, 0x49, 0x8f },
  3685. .b_public = (u8[32]){ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3686. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3687. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3688. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 },
  3689. .expected_ss = (u8[32]){ 0x54, 0xc9, 0xa1, 0xed, 0x95, 0xe5, 0x46, 0xd2,
  3690. 0x78, 0x22, 0xa3, 0x60, 0x93, 0x1d, 0xda, 0x60,
  3691. 0xa1, 0xdf, 0x04, 0x9d, 0xa6, 0xf9, 0x04, 0x25,
  3692. 0x3c, 0x06, 0x12, 0xbb, 0xdc, 0x08, 0x74, 0x76 },
  3693. .secret_size = 32,
  3694. .b_public_size = 32,
  3695. .expected_ss_size = 32,
  3696. },
  3697. /* wycheproof - public key >= p */
  3698. {
  3699. .secret = (u8[32]){ 0xf8, 0xf7, 0x07, 0xb7, 0x99, 0x9b, 0x18, 0xcb,
  3700. 0x0d, 0x6b, 0x96, 0x12, 0x4f, 0x20, 0x45, 0x97,
  3701. 0x2c, 0xa2, 0x74, 0xbf, 0xc1, 0x54, 0xad, 0x0c,
  3702. 0x87, 0x03, 0x8c, 0x24, 0xc6, 0xd0, 0xd4, 0xb2 },
  3703. .b_public = (u8[32]){ 0xda, 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. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3707. .expected_ss = (u8[32]){ 0xcc, 0x1f, 0x40, 0xd7, 0x43, 0xcd, 0xc2, 0x23,
  3708. 0x0e, 0x10, 0x43, 0xda, 0xba, 0x8b, 0x75, 0xe8,
  3709. 0x10, 0xf1, 0xfb, 0xab, 0x7f, 0x25, 0x52, 0x69,
  3710. 0xbd, 0x9e, 0xbb, 0x29, 0xe6, 0xbf, 0x49, 0x4f },
  3711. .secret_size = 32,
  3712. .b_public_size = 32,
  3713. .expected_ss_size = 32,
  3714. },
  3715. /* wycheproof - public key >= p */
  3716. {
  3717. .secret = (u8[32]){ 0xa0, 0x34, 0xf6, 0x84, 0xfa, 0x63, 0x1e, 0x1a,
  3718. 0x34, 0x81, 0x18, 0xc1, 0xce, 0x4c, 0x98, 0x23,
  3719. 0x1f, 0x2d, 0x9e, 0xec, 0x9b, 0xa5, 0x36, 0x5b,
  3720. 0x4a, 0x05, 0xd6, 0x9a, 0x78, 0x5b, 0x07, 0x96 },
  3721. .b_public = (u8[32]){ 0xdb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3722. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3723. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3724. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3725. .expected_ss = (u8[32]){ 0x54, 0x99, 0x8e, 0xe4, 0x3a, 0x5b, 0x00, 0x7b,
  3726. 0xf4, 0x99, 0xf0, 0x78, 0xe7, 0x36, 0x52, 0x44,
  3727. 0x00, 0xa8, 0xb5, 0xc7, 0xe9, 0xb9, 0xb4, 0x37,
  3728. 0x71, 0x74, 0x8c, 0x7c, 0xdf, 0x88, 0x04, 0x12 },
  3729. .secret_size = 32,
  3730. .b_public_size = 32,
  3731. .expected_ss_size = 32,
  3732. },
  3733. /* wycheproof - public key >= p */
  3734. {
  3735. .secret = (u8[32]){ 0x30, 0xb6, 0xc6, 0xa0, 0xf2, 0xff, 0xa6, 0x80,
  3736. 0x76, 0x8f, 0x99, 0x2b, 0xa8, 0x9e, 0x15, 0x2d,
  3737. 0x5b, 0xc9, 0x89, 0x3d, 0x38, 0xc9, 0x11, 0x9b,
  3738. 0xe4, 0xf7, 0x67, 0xbf, 0xab, 0x6e, 0x0c, 0xa5 },
  3739. .b_public = (u8[32]){ 0xdc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3740. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3741. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3742. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3743. .expected_ss = (u8[32]){ 0xea, 0xd9, 0xb3, 0x8e, 0xfd, 0xd7, 0x23, 0x63,
  3744. 0x79, 0x34, 0xe5, 0x5a, 0xb7, 0x17, 0xa7, 0xae,
  3745. 0x09, 0xeb, 0x86, 0xa2, 0x1d, 0xc3, 0x6a, 0x3f,
  3746. 0xee, 0xb8, 0x8b, 0x75, 0x9e, 0x39, 0x1e, 0x09 },
  3747. .secret_size = 32,
  3748. .b_public_size = 32,
  3749. .expected_ss_size = 32,
  3750. },
  3751. /* wycheproof - public key >= p */
  3752. {
  3753. .secret = (u8[32]){ 0x90, 0x1b, 0x9d, 0xcf, 0x88, 0x1e, 0x01, 0xe0,
  3754. 0x27, 0x57, 0x50, 0x35, 0xd4, 0x0b, 0x43, 0xbd,
  3755. 0xc1, 0xc5, 0x24, 0x2e, 0x03, 0x08, 0x47, 0x49,
  3756. 0x5b, 0x0c, 0x72, 0x86, 0x46, 0x9b, 0x65, 0x91 },
  3757. .b_public = (u8[32]){ 0xea, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3758. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3759. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3760. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3761. .expected_ss = (u8[32]){ 0x60, 0x2f, 0xf4, 0x07, 0x89, 0xb5, 0x4b, 0x41,
  3762. 0x80, 0x59, 0x15, 0xfe, 0x2a, 0x62, 0x21, 0xf0,
  3763. 0x7a, 0x50, 0xff, 0xc2, 0xc3, 0xfc, 0x94, 0xcf,
  3764. 0x61, 0xf1, 0x3d, 0x79, 0x04, 0xe8, 0x8e, 0x0e },
  3765. .secret_size = 32,
  3766. .b_public_size = 32,
  3767. .expected_ss_size = 32,
  3768. },
  3769. /* wycheproof - public key >= p */
  3770. {
  3771. .secret = (u8[32]){ 0x80, 0x46, 0x67, 0x7c, 0x28, 0xfd, 0x82, 0xc9,
  3772. 0xa1, 0xbd, 0xb7, 0x1a, 0x1a, 0x1a, 0x34, 0xfa,
  3773. 0xba, 0x12, 0x25, 0xe2, 0x50, 0x7f, 0xe3, 0xf5,
  3774. 0x4d, 0x10, 0xbd, 0x5b, 0x0d, 0x86, 0x5f, 0x8e },
  3775. .b_public = (u8[32]){ 0xeb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3776. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3777. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3778. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3779. .expected_ss = (u8[32]){ 0xe0, 0x0a, 0xe8, 0xb1, 0x43, 0x47, 0x12, 0x47,
  3780. 0xba, 0x24, 0xf1, 0x2c, 0x88, 0x55, 0x36, 0xc3,
  3781. 0xcb, 0x98, 0x1b, 0x58, 0xe1, 0xe5, 0x6b, 0x2b,
  3782. 0xaf, 0x35, 0xc1, 0x2a, 0xe1, 0xf7, 0x9c, 0x26 },
  3783. .secret_size = 32,
  3784. .b_public_size = 32,
  3785. .expected_ss_size = 32,
  3786. },
  3787. /* wycheproof - public key >= p */
  3788. {
  3789. .secret = (u8[32]){ 0x60, 0x2f, 0x7e, 0x2f, 0x68, 0xa8, 0x46, 0xb8,
  3790. 0x2c, 0xc2, 0x69, 0xb1, 0xd4, 0x8e, 0x93, 0x98,
  3791. 0x86, 0xae, 0x54, 0xfd, 0x63, 0x6c, 0x1f, 0xe0,
  3792. 0x74, 0xd7, 0x10, 0x12, 0x7d, 0x47, 0x24, 0x91 },
  3793. .b_public = (u8[32]){ 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3794. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3795. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3796. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3797. .expected_ss = (u8[32]){ 0x98, 0xcb, 0x9b, 0x50, 0xdd, 0x3f, 0xc2, 0xb0,
  3798. 0xd4, 0xf2, 0xd2, 0xbf, 0x7c, 0x5c, 0xfd, 0xd1,
  3799. 0x0c, 0x8f, 0xcd, 0x31, 0xfc, 0x40, 0xaf, 0x1a,
  3800. 0xd4, 0x4f, 0x47, 0xc1, 0x31, 0x37, 0x63, 0x62 },
  3801. .secret_size = 32,
  3802. .b_public_size = 32,
  3803. .expected_ss_size = 32,
  3804. },
  3805. /* wycheproof - public key >= p */
  3806. {
  3807. .secret = (u8[32]){ 0x60, 0x88, 0x7b, 0x3d, 0xc7, 0x24, 0x43, 0x02,
  3808. 0x6e, 0xbe, 0xdb, 0xbb, 0xb7, 0x06, 0x65, 0xf4,
  3809. 0x2b, 0x87, 0xad, 0xd1, 0x44, 0x0e, 0x77, 0x68,
  3810. 0xfb, 0xd7, 0xe8, 0xe2, 0xce, 0x5f, 0x63, 0x9d },
  3811. .b_public = (u8[32]){ 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3812. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3813. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3814. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3815. .expected_ss = (u8[32]){ 0x38, 0xd6, 0x30, 0x4c, 0x4a, 0x7e, 0x6d, 0x9f,
  3816. 0x79, 0x59, 0x33, 0x4f, 0xb5, 0x24, 0x5b, 0xd2,
  3817. 0xc7, 0x54, 0x52, 0x5d, 0x4c, 0x91, 0xdb, 0x95,
  3818. 0x02, 0x06, 0x92, 0x62, 0x34, 0xc1, 0xf6, 0x33 },
  3819. .secret_size = 32,
  3820. .b_public_size = 32,
  3821. .expected_ss_size = 32,
  3822. },
  3823. /* wycheproof - public key >= p */
  3824. {
  3825. .secret = (u8[32]){ 0x78, 0xd3, 0x1d, 0xfa, 0x85, 0x44, 0x97, 0xd7,
  3826. 0x2d, 0x8d, 0xef, 0x8a, 0x1b, 0x7f, 0xb0, 0x06,
  3827. 0xce, 0xc2, 0xd8, 0xc4, 0x92, 0x46, 0x47, 0xc9,
  3828. 0x38, 0x14, 0xae, 0x56, 0xfa, 0xed, 0xa4, 0x95 },
  3829. .b_public = (u8[32]){ 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3830. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3831. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3832. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3833. .expected_ss = (u8[32]){ 0x78, 0x6c, 0xd5, 0x49, 0x96, 0xf0, 0x14, 0xa5,
  3834. 0xa0, 0x31, 0xec, 0x14, 0xdb, 0x81, 0x2e, 0xd0,
  3835. 0x83, 0x55, 0x06, 0x1f, 0xdb, 0x5d, 0xe6, 0x80,
  3836. 0xa8, 0x00, 0xac, 0x52, 0x1f, 0x31, 0x8e, 0x23 },
  3837. .secret_size = 32,
  3838. .b_public_size = 32,
  3839. .expected_ss_size = 32,
  3840. },
  3841. /* wycheproof - public key >= p */
  3842. {
  3843. .secret = (u8[32]){ 0xc0, 0x4c, 0x5b, 0xae, 0xfa, 0x83, 0x02, 0xdd,
  3844. 0xde, 0xd6, 0xa4, 0xbb, 0x95, 0x77, 0x61, 0xb4,
  3845. 0xeb, 0x97, 0xae, 0xfa, 0x4f, 0xc3, 0xb8, 0x04,
  3846. 0x30, 0x85, 0xf9, 0x6a, 0x56, 0x59, 0xb3, 0xa5 },
  3847. .b_public = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3848. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3849. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3850. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff },
  3851. .expected_ss = (u8[32]){ 0x29, 0xae, 0x8b, 0xc7, 0x3e, 0x9b, 0x10, 0xa0,
  3852. 0x8b, 0x4f, 0x68, 0x1c, 0x43, 0xc3, 0xe0, 0xac,
  3853. 0x1a, 0x17, 0x1d, 0x31, 0xb3, 0x8f, 0x1a, 0x48,
  3854. 0xef, 0xba, 0x29, 0xae, 0x63, 0x9e, 0xa1, 0x34 },
  3855. .secret_size = 32,
  3856. .b_public_size = 32,
  3857. .expected_ss_size = 32,
  3858. },
  3859. /* wycheproof - RFC 7748 */
  3860. {
  3861. .secret = (u8[32]){ 0xa0, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d,
  3862. 0x3b, 0x16, 0x15, 0x4b, 0x82, 0x46, 0x5e, 0xdd,
  3863. 0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc, 0x5a, 0x18,
  3864. 0x50, 0x6a, 0x22, 0x44, 0xba, 0x44, 0x9a, 0x44 },
  3865. .b_public = (u8[32]){ 0xe6, 0xdb, 0x68, 0x67, 0x58, 0x30, 0x30, 0xdb,
  3866. 0x35, 0x94, 0xc1, 0xa4, 0x24, 0xb1, 0x5f, 0x7c,
  3867. 0x72, 0x66, 0x24, 0xec, 0x26, 0xb3, 0x35, 0x3b,
  3868. 0x10, 0xa9, 0x03, 0xa6, 0xd0, 0xab, 0x1c, 0x4c },
  3869. .expected_ss = (u8[32]){ 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90,
  3870. 0x8e, 0x94, 0xea, 0x4d, 0xf2, 0x8d, 0x08, 0x4f,
  3871. 0x32, 0xec, 0xcf, 0x03, 0x49, 0x1c, 0x71, 0xf7,
  3872. 0x54, 0xb4, 0x07, 0x55, 0x77, 0xa2, 0x85, 0x52 },
  3873. .secret_size = 32,
  3874. .b_public_size = 32,
  3875. .expected_ss_size = 32,
  3876. },
  3877. /* wycheproof - RFC 7748 */
  3878. {
  3879. .secret = (u8[32]){ 0x48, 0x66, 0xe9, 0xd4, 0xd1, 0xb4, 0x67, 0x3c,
  3880. 0x5a, 0xd2, 0x26, 0x91, 0x95, 0x7d, 0x6a, 0xf5,
  3881. 0xc1, 0x1b, 0x64, 0x21, 0xe0, 0xea, 0x01, 0xd4,
  3882. 0x2c, 0xa4, 0x16, 0x9e, 0x79, 0x18, 0xba, 0x4d },
  3883. .b_public = (u8[32]){ 0xe5, 0x21, 0x0f, 0x12, 0x78, 0x68, 0x11, 0xd3,
  3884. 0xf4, 0xb7, 0x95, 0x9d, 0x05, 0x38, 0xae, 0x2c,
  3885. 0x31, 0xdb, 0xe7, 0x10, 0x6f, 0xc0, 0x3c, 0x3e,
  3886. 0xfc, 0x4c, 0xd5, 0x49, 0xc7, 0x15, 0xa4, 0x13 },
  3887. .expected_ss = (u8[32]){ 0x95, 0xcb, 0xde, 0x94, 0x76, 0xe8, 0x90, 0x7d,
  3888. 0x7a, 0xad, 0xe4, 0x5c, 0xb4, 0xb8, 0x73, 0xf8,
  3889. 0x8b, 0x59, 0x5a, 0x68, 0x79, 0x9f, 0xa1, 0x52,
  3890. 0xe6, 0xf8, 0xf7, 0x64, 0x7a, 0xac, 0x79, 0x57 },
  3891. .secret_size = 32,
  3892. .b_public_size = 32,
  3893. .expected_ss_size = 32,
  3894. },
  3895. /* wycheproof - edge case for shared secret */
  3896. {
  3897. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3898. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3899. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3900. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3901. .b_public = (u8[32]){ 0x0a, 0xb4, 0xe7, 0x63, 0x80, 0xd8, 0x4d, 0xde,
  3902. 0x4f, 0x68, 0x33, 0xc5, 0x8f, 0x2a, 0x9f, 0xb8,
  3903. 0xf8, 0x3b, 0xb0, 0x16, 0x9b, 0x17, 0x2b, 0xe4,
  3904. 0xb6, 0xe0, 0x59, 0x28, 0x87, 0x74, 0x1a, 0x36 },
  3905. .expected_ss = (u8[32]){ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3906. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3907. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3908. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3909. .secret_size = 32,
  3910. .b_public_size = 32,
  3911. .expected_ss_size = 32,
  3912. },
  3913. /* wycheproof - edge case for shared secret */
  3914. {
  3915. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3916. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3917. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3918. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3919. .b_public = (u8[32]){ 0x89, 0xe1, 0x0d, 0x57, 0x01, 0xb4, 0x33, 0x7d,
  3920. 0x2d, 0x03, 0x21, 0x81, 0x53, 0x8b, 0x10, 0x64,
  3921. 0xbd, 0x40, 0x84, 0x40, 0x1c, 0xec, 0xa1, 0xfd,
  3922. 0x12, 0x66, 0x3a, 0x19, 0x59, 0x38, 0x80, 0x00 },
  3923. .expected_ss = (u8[32]){ 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3924. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3925. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3926. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3927. .secret_size = 32,
  3928. .b_public_size = 32,
  3929. .expected_ss_size = 32,
  3930. },
  3931. /* wycheproof - edge case for shared secret */
  3932. {
  3933. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3934. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3935. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3936. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3937. .b_public = (u8[32]){ 0x2b, 0x55, 0xd3, 0xaa, 0x4a, 0x8f, 0x80, 0xc8,
  3938. 0xc0, 0xb2, 0xae, 0x5f, 0x93, 0x3e, 0x85, 0xaf,
  3939. 0x49, 0xbe, 0xac, 0x36, 0xc2, 0xfa, 0x73, 0x94,
  3940. 0xba, 0xb7, 0x6c, 0x89, 0x33, 0xf8, 0xf8, 0x1d },
  3941. .expected_ss = (u8[32]){ 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3942. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3943. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  3944. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
  3945. .secret_size = 32,
  3946. .b_public_size = 32,
  3947. .expected_ss_size = 32,
  3948. },
  3949. /* wycheproof - edge case for shared secret */
  3950. {
  3951. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3952. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3953. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3954. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3955. .b_public = (u8[32]){ 0x63, 0xe5, 0xb1, 0xfe, 0x96, 0x01, 0xfe, 0x84,
  3956. 0x38, 0x5d, 0x88, 0x66, 0xb0, 0x42, 0x12, 0x62,
  3957. 0xf7, 0x8f, 0xbf, 0xa5, 0xaf, 0xf9, 0x58, 0x5e,
  3958. 0x62, 0x66, 0x79, 0xb1, 0x85, 0x47, 0xd9, 0x59 },
  3959. .expected_ss = (u8[32]){ 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3960. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3961. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3962. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  3963. .secret_size = 32,
  3964. .b_public_size = 32,
  3965. .expected_ss_size = 32,
  3966. },
  3967. /* wycheproof - edge case for shared secret */
  3968. {
  3969. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3970. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3971. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3972. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3973. .b_public = (u8[32]){ 0xe4, 0x28, 0xf3, 0xda, 0xc1, 0x78, 0x09, 0xf8,
  3974. 0x27, 0xa5, 0x22, 0xce, 0x32, 0x35, 0x50, 0x58,
  3975. 0xd0, 0x73, 0x69, 0x36, 0x4a, 0xa7, 0x89, 0x02,
  3976. 0xee, 0x10, 0x13, 0x9b, 0x9f, 0x9d, 0xd6, 0x53 },
  3977. .expected_ss = (u8[32]){ 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3978. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3979. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3980. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  3981. .secret_size = 32,
  3982. .b_public_size = 32,
  3983. .expected_ss_size = 32,
  3984. },
  3985. /* wycheproof - edge case for shared secret */
  3986. {
  3987. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  3988. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  3989. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  3990. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  3991. .b_public = (u8[32]){ 0xb3, 0xb5, 0x0e, 0x3e, 0xd3, 0xa4, 0x07, 0xb9,
  3992. 0x5d, 0xe9, 0x42, 0xef, 0x74, 0x57, 0x5b, 0x5a,
  3993. 0xb8, 0xa1, 0x0c, 0x09, 0xee, 0x10, 0x35, 0x44,
  3994. 0xd6, 0x0b, 0xdf, 0xed, 0x81, 0x38, 0xab, 0x2b },
  3995. .expected_ss = (u8[32]){ 0xf9, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3996. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3997. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  3998. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  3999. .secret_size = 32,
  4000. .b_public_size = 32,
  4001. .expected_ss_size = 32,
  4002. },
  4003. /* wycheproof - edge case for shared secret */
  4004. {
  4005. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  4006. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  4007. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  4008. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  4009. .b_public = (u8[32]){ 0x21, 0x3f, 0xff, 0xe9, 0x3d, 0x5e, 0xa8, 0xcd,
  4010. 0x24, 0x2e, 0x46, 0x28, 0x44, 0x02, 0x99, 0x22,
  4011. 0xc4, 0x3c, 0x77, 0xc9, 0xe3, 0xe4, 0x2f, 0x56,
  4012. 0x2f, 0x48, 0x5d, 0x24, 0xc5, 0x01, 0xa2, 0x0b },
  4013. .expected_ss = (u8[32]){ 0xf3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4014. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4015. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4016. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f },
  4017. .secret_size = 32,
  4018. .b_public_size = 32,
  4019. .expected_ss_size = 32,
  4020. },
  4021. /* wycheproof - edge case for shared secret */
  4022. {
  4023. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  4024. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  4025. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  4026. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  4027. .b_public = (u8[32]){ 0x91, 0xb2, 0x32, 0xa1, 0x78, 0xb3, 0xcd, 0x53,
  4028. 0x09, 0x32, 0x44, 0x1e, 0x61, 0x39, 0x41, 0x8f,
  4029. 0x72, 0x17, 0x22, 0x92, 0xf1, 0xda, 0x4c, 0x18,
  4030. 0x34, 0xfc, 0x5e, 0xbf, 0xef, 0xb5, 0x1e, 0x3f },
  4031. .expected_ss = (u8[32]){ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4032. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4033. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4034. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03 },
  4035. .secret_size = 32,
  4036. .b_public_size = 32,
  4037. .expected_ss_size = 32,
  4038. },
  4039. /* wycheproof - edge case for shared secret */
  4040. {
  4041. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  4042. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  4043. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  4044. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  4045. .b_public = (u8[32]){ 0x04, 0x5c, 0x6e, 0x11, 0xc5, 0xd3, 0x32, 0x55,
  4046. 0x6c, 0x78, 0x22, 0xfe, 0x94, 0xeb, 0xf8, 0x9b,
  4047. 0x56, 0xa3, 0x87, 0x8d, 0xc2, 0x7c, 0xa0, 0x79,
  4048. 0x10, 0x30, 0x58, 0x84, 0x9f, 0xab, 0xcb, 0x4f },
  4049. .expected_ss = (u8[32]){ 0xe5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4050. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4051. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4052. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  4053. .secret_size = 32,
  4054. .b_public_size = 32,
  4055. .expected_ss_size = 32,
  4056. },
  4057. /* wycheproof - edge case for shared secret */
  4058. {
  4059. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  4060. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  4061. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  4062. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  4063. .b_public = (u8[32]){ 0x1c, 0xa2, 0x19, 0x0b, 0x71, 0x16, 0x35, 0x39,
  4064. 0x06, 0x3c, 0x35, 0x77, 0x3b, 0xda, 0x0c, 0x9c,
  4065. 0x92, 0x8e, 0x91, 0x36, 0xf0, 0x62, 0x0a, 0xeb,
  4066. 0x09, 0x3f, 0x09, 0x91, 0x97, 0xb7, 0xf7, 0x4e },
  4067. .expected_ss = (u8[32]){ 0xe3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4068. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4069. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4070. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  4071. .secret_size = 32,
  4072. .b_public_size = 32,
  4073. .expected_ss_size = 32,
  4074. },
  4075. /* wycheproof - edge case for shared secret */
  4076. {
  4077. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  4078. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  4079. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  4080. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  4081. .b_public = (u8[32]){ 0xf7, 0x6e, 0x90, 0x10, 0xac, 0x33, 0xc5, 0x04,
  4082. 0x3b, 0x2d, 0x3b, 0x76, 0xa8, 0x42, 0x17, 0x10,
  4083. 0x00, 0xc4, 0x91, 0x62, 0x22, 0xe9, 0xe8, 0x58,
  4084. 0x97, 0xa0, 0xae, 0xc7, 0xf6, 0x35, 0x0b, 0x3c },
  4085. .expected_ss = (u8[32]){ 0xdd, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4086. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4087. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4088. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  4089. .secret_size = 32,
  4090. .b_public_size = 32,
  4091. .expected_ss_size = 32,
  4092. },
  4093. /* wycheproof - edge case for shared secret */
  4094. {
  4095. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  4096. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  4097. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  4098. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  4099. .b_public = (u8[32]){ 0xbb, 0x72, 0x68, 0x8d, 0x8f, 0x8a, 0xa7, 0xa3,
  4100. 0x9c, 0xd6, 0x06, 0x0c, 0xd5, 0xc8, 0x09, 0x3c,
  4101. 0xde, 0xc6, 0xfe, 0x34, 0x19, 0x37, 0xc3, 0x88,
  4102. 0x6a, 0x99, 0x34, 0x6c, 0xd0, 0x7f, 0xaa, 0x55 },
  4103. .expected_ss = (u8[32]){ 0xdb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4104. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4105. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4106. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f },
  4107. .secret_size = 32,
  4108. .b_public_size = 32,
  4109. .expected_ss_size = 32,
  4110. },
  4111. /* wycheproof - edge case for shared secret */
  4112. {
  4113. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  4114. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  4115. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  4116. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  4117. .b_public = (u8[32]){ 0x88, 0xfd, 0xde, 0xa1, 0x93, 0x39, 0x1c, 0x6a,
  4118. 0x59, 0x33, 0xef, 0x9b, 0x71, 0x90, 0x15, 0x49,
  4119. 0x44, 0x72, 0x05, 0xaa, 0xe9, 0xda, 0x92, 0x8a,
  4120. 0x6b, 0x91, 0xa3, 0x52, 0xba, 0x10, 0xf4, 0x1f },
  4121. .expected_ss = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  4122. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  4123. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  4124. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 },
  4125. .secret_size = 32,
  4126. .b_public_size = 32,
  4127. .expected_ss_size = 32,
  4128. },
  4129. /* wycheproof - edge case for shared secret */
  4130. {
  4131. .secret = (u8[32]){ 0xa0, 0xa4, 0xf1, 0x30, 0xb9, 0x8a, 0x5b, 0xe4,
  4132. 0xb1, 0xce, 0xdb, 0x7c, 0xb8, 0x55, 0x84, 0xa3,
  4133. 0x52, 0x0e, 0x14, 0x2d, 0x47, 0x4d, 0xc9, 0xcc,
  4134. 0xb9, 0x09, 0xa0, 0x73, 0xa9, 0x76, 0xbf, 0x63 },
  4135. .b_public = (u8[32]){ 0x30, 0x3b, 0x39, 0x2f, 0x15, 0x31, 0x16, 0xca,
  4136. 0xd9, 0xcc, 0x68, 0x2a, 0x00, 0xcc, 0xc4, 0x4c,
  4137. 0x95, 0xff, 0x0d, 0x3b, 0xbe, 0x56, 0x8b, 0xeb,
  4138. 0x6c, 0x4e, 0x73, 0x9b, 0xaf, 0xdc, 0x2c, 0x68 },
  4139. .expected_ss = (u8[32]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  4140. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  4141. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  4142. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00 },
  4143. .secret_size = 32,
  4144. .b_public_size = 32,
  4145. .expected_ss_size = 32,
  4146. },
  4147. /* wycheproof - checking for overflow */
  4148. {
  4149. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  4150. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  4151. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  4152. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  4153. .b_public = (u8[32]){ 0xfd, 0x30, 0x0a, 0xeb, 0x40, 0xe1, 0xfa, 0x58,
  4154. 0x25, 0x18, 0x41, 0x2b, 0x49, 0xb2, 0x08, 0xa7,
  4155. 0x84, 0x2b, 0x1e, 0x1f, 0x05, 0x6a, 0x04, 0x01,
  4156. 0x78, 0xea, 0x41, 0x41, 0x53, 0x4f, 0x65, 0x2d },
  4157. .expected_ss = (u8[32]){ 0xb7, 0x34, 0x10, 0x5d, 0xc2, 0x57, 0x58, 0x5d,
  4158. 0x73, 0xb5, 0x66, 0xcc, 0xb7, 0x6f, 0x06, 0x27,
  4159. 0x95, 0xcc, 0xbe, 0xc8, 0x91, 0x28, 0xe5, 0x2b,
  4160. 0x02, 0xf3, 0xe5, 0x96, 0x39, 0xf1, 0x3c, 0x46 },
  4161. .secret_size = 32,
  4162. .b_public_size = 32,
  4163. .expected_ss_size = 32,
  4164. },
  4165. /* wycheproof - checking for overflow */
  4166. {
  4167. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  4168. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  4169. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  4170. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  4171. .b_public = (u8[32]){ 0xc8, 0xef, 0x79, 0xb5, 0x14, 0xd7, 0x68, 0x26,
  4172. 0x77, 0xbc, 0x79, 0x31, 0xe0, 0x6e, 0xe5, 0xc2,
  4173. 0x7c, 0x9b, 0x39, 0x2b, 0x4a, 0xe9, 0x48, 0x44,
  4174. 0x73, 0xf5, 0x54, 0xe6, 0x67, 0x8e, 0xcc, 0x2e },
  4175. .expected_ss = (u8[32]){ 0x64, 0x7a, 0x46, 0xb6, 0xfc, 0x3f, 0x40, 0xd6,
  4176. 0x21, 0x41, 0xee, 0x3c, 0xee, 0x70, 0x6b, 0x4d,
  4177. 0x7a, 0x92, 0x71, 0x59, 0x3a, 0x7b, 0x14, 0x3e,
  4178. 0x8e, 0x2e, 0x22, 0x79, 0x88, 0x3e, 0x45, 0x50 },
  4179. .secret_size = 32,
  4180. .b_public_size = 32,
  4181. .expected_ss_size = 32,
  4182. },
  4183. /* wycheproof - checking for overflow */
  4184. {
  4185. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  4186. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  4187. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  4188. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  4189. .b_public = (u8[32]){ 0x64, 0xae, 0xac, 0x25, 0x04, 0x14, 0x48, 0x61,
  4190. 0x53, 0x2b, 0x7b, 0xbc, 0xb6, 0xc8, 0x7d, 0x67,
  4191. 0xdd, 0x4c, 0x1f, 0x07, 0xeb, 0xc2, 0xe0, 0x6e,
  4192. 0xff, 0xb9, 0x5a, 0xec, 0xc6, 0x17, 0x0b, 0x2c },
  4193. .expected_ss = (u8[32]){ 0x4f, 0xf0, 0x3d, 0x5f, 0xb4, 0x3c, 0xd8, 0x65,
  4194. 0x7a, 0x3c, 0xf3, 0x7c, 0x13, 0x8c, 0xad, 0xce,
  4195. 0xcc, 0xe5, 0x09, 0xe4, 0xeb, 0xa0, 0x89, 0xd0,
  4196. 0xef, 0x40, 0xb4, 0xe4, 0xfb, 0x94, 0x61, 0x55 },
  4197. .secret_size = 32,
  4198. .b_public_size = 32,
  4199. .expected_ss_size = 32,
  4200. },
  4201. /* wycheproof - checking for overflow */
  4202. {
  4203. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  4204. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  4205. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  4206. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  4207. .b_public = (u8[32]){ 0xbf, 0x68, 0xe3, 0x5e, 0x9b, 0xdb, 0x7e, 0xee,
  4208. 0x1b, 0x50, 0x57, 0x02, 0x21, 0x86, 0x0f, 0x5d,
  4209. 0xcd, 0xad, 0x8a, 0xcb, 0xab, 0x03, 0x1b, 0x14,
  4210. 0x97, 0x4c, 0xc4, 0x90, 0x13, 0xc4, 0x98, 0x31 },
  4211. .expected_ss = (u8[32]){ 0x21, 0xce, 0xe5, 0x2e, 0xfd, 0xbc, 0x81, 0x2e,
  4212. 0x1d, 0x02, 0x1a, 0x4a, 0xf1, 0xe1, 0xd8, 0xbc,
  4213. 0x4d, 0xb3, 0xc4, 0x00, 0xe4, 0xd2, 0xa2, 0xc5,
  4214. 0x6a, 0x39, 0x26, 0xdb, 0x4d, 0x99, 0xc6, 0x5b },
  4215. .secret_size = 32,
  4216. .b_public_size = 32,
  4217. .expected_ss_size = 32,
  4218. },
  4219. /* wycheproof - checking for overflow */
  4220. {
  4221. .secret = (u8[32]){ 0xc8, 0x17, 0x24, 0x70, 0x40, 0x00, 0xb2, 0x6d,
  4222. 0x31, 0x70, 0x3c, 0xc9, 0x7e, 0x3a, 0x37, 0x8d,
  4223. 0x56, 0xfa, 0xd8, 0x21, 0x93, 0x61, 0xc8, 0x8c,
  4224. 0xca, 0x8b, 0xd7, 0xc5, 0x71, 0x9b, 0x12, 0xb2 },
  4225. .b_public = (u8[32]){ 0x53, 0x47, 0xc4, 0x91, 0x33, 0x1a, 0x64, 0xb4,
  4226. 0x3d, 0xdc, 0x68, 0x30, 0x34, 0xe6, 0x77, 0xf5,
  4227. 0x3d, 0xc3, 0x2b, 0x52, 0xa5, 0x2a, 0x57, 0x7c,
  4228. 0x15, 0xa8, 0x3b, 0xf2, 0x98, 0xe9, 0x9f, 0x19 },
  4229. .expected_ss = (u8[32]){ 0x18, 0xcb, 0x89, 0xe4, 0xe2, 0x0c, 0x0c, 0x2b,
  4230. 0xd3, 0x24, 0x30, 0x52, 0x45, 0x26, 0x6c, 0x93,
  4231. 0x27, 0x69, 0x0b, 0xbe, 0x79, 0xac, 0xb8, 0x8f,
  4232. 0x5b, 0x8f, 0xb3, 0xf7, 0x4e, 0xca, 0x3e, 0x52 },
  4233. .secret_size = 32,
  4234. .b_public_size = 32,
  4235. .expected_ss_size = 32,
  4236. },
  4237. /* wycheproof - private key == -1 (mod order) */
  4238. {
  4239. .secret = (u8[32]){ 0xa0, 0x23, 0xcd, 0xd0, 0x83, 0xef, 0x5b, 0xb8,
  4240. 0x2f, 0x10, 0xd6, 0x2e, 0x59, 0xe1, 0x5a, 0x68,
  4241. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  4242. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50 },
  4243. .b_public = (u8[32]){ 0x25, 0x8e, 0x04, 0x52, 0x3b, 0x8d, 0x25, 0x3e,
  4244. 0xe6, 0x57, 0x19, 0xfc, 0x69, 0x06, 0xc6, 0x57,
  4245. 0x19, 0x2d, 0x80, 0x71, 0x7e, 0xdc, 0x82, 0x8f,
  4246. 0xa0, 0xaf, 0x21, 0x68, 0x6e, 0x2f, 0xaa, 0x75 },
  4247. .expected_ss = (u8[32]){ 0x25, 0x8e, 0x04, 0x52, 0x3b, 0x8d, 0x25, 0x3e,
  4248. 0xe6, 0x57, 0x19, 0xfc, 0x69, 0x06, 0xc6, 0x57,
  4249. 0x19, 0x2d, 0x80, 0x71, 0x7e, 0xdc, 0x82, 0x8f,
  4250. 0xa0, 0xaf, 0x21, 0x68, 0x6e, 0x2f, 0xaa, 0x75 },
  4251. .secret_size = 32,
  4252. .b_public_size = 32,
  4253. .expected_ss_size = 32,
  4254. },
  4255. /* wycheproof - private key == 1 (mod order) on twist */
  4256. {
  4257. .secret = (u8[32]){ 0x58, 0x08, 0x3d, 0xd2, 0x61, 0xad, 0x91, 0xef,
  4258. 0xf9, 0x52, 0x32, 0x2e, 0xc8, 0x24, 0xc6, 0x82,
  4259. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  4260. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x5f },
  4261. .b_public = (u8[32]){ 0x2e, 0xae, 0x5e, 0xc3, 0xdd, 0x49, 0x4e, 0x9f,
  4262. 0x2d, 0x37, 0xd2, 0x58, 0xf8, 0x73, 0xa8, 0xe6,
  4263. 0xe9, 0xd0, 0xdb, 0xd1, 0xe3, 0x83, 0xef, 0x64,
  4264. 0xd9, 0x8b, 0xb9, 0x1b, 0x3e, 0x0b, 0xe0, 0x35 },
  4265. .expected_ss = (u8[32]){ 0x2e, 0xae, 0x5e, 0xc3, 0xdd, 0x49, 0x4e, 0x9f,
  4266. 0x2d, 0x37, 0xd2, 0x58, 0xf8, 0x73, 0xa8, 0xe6,
  4267. 0xe9, 0xd0, 0xdb, 0xd1, 0xe3, 0x83, 0xef, 0x64,
  4268. 0xd9, 0x8b, 0xb9, 0x1b, 0x3e, 0x0b, 0xe0, 0x35 },
  4269. .secret_size = 32,
  4270. .b_public_size = 32,
  4271. .expected_ss_size = 32,
  4272. }
  4273. };
  4274. static const struct kpp_testvec ecdh_p192_tv_template[] = {
  4275. {
  4276. .secret =
  4277. #ifdef __LITTLE_ENDIAN
  4278. "\x02\x00" /* type */
  4279. "\x1e\x00" /* len */
  4280. "\x18\x00" /* key_size */
  4281. #else
  4282. "\x00\x02" /* type */
  4283. "\x00\x1e" /* len */
  4284. "\x00\x18" /* key_size */
  4285. #endif
  4286. "\xb5\x05\xb1\x71\x1e\xbf\x8c\xda"
  4287. "\x4e\x19\x1e\x62\x1f\x23\x23\x31"
  4288. "\x36\x1e\xd3\x84\x2f\xcc\x21\x72",
  4289. .b_public =
  4290. "\xc3\xba\x67\x4b\x71\xec\xd0\x76"
  4291. "\x7a\x99\x75\x64\x36\x13\x9a\x94"
  4292. "\x5d\x8b\xdc\x60\x90\x91\xfd\x3f"
  4293. "\xb0\x1f\x8a\x0a\x68\xc6\x88\x6e"
  4294. "\x83\x87\xdd\x67\x09\xf8\x8d\x96"
  4295. "\x07\xd6\xbd\x1c\xe6\x8d\x9d\x67",
  4296. .expected_a_public =
  4297. "\x1a\x04\xdb\xa5\xe1\xdd\x4e\x79"
  4298. "\xa3\xe6\xef\x0e\x5c\x80\x49\x85"
  4299. "\xfa\x78\xb4\xef\x49\xbd\x4c\x7c"
  4300. "\x22\x90\x21\x02\xf9\x1b\x81\x5d"
  4301. "\x0c\x8a\xa8\x98\xd6\x27\x69\x88"
  4302. "\x5e\xbc\x94\xd8\x15\x9e\x21\xce",
  4303. .expected_ss =
  4304. "\xf4\x57\xcc\x4f\x1f\x4e\x31\xcc"
  4305. "\xe3\x40\x60\xc8\x06\x93\xc6\x2e"
  4306. "\x99\x80\x81\x28\xaf\xc5\x51\x74",
  4307. .secret_size = 30,
  4308. .b_public_size = 48,
  4309. .expected_a_public_size = 48,
  4310. .expected_ss_size = 24
  4311. }
  4312. };
  4313. static const struct kpp_testvec ecdh_p256_tv_template[] = {
  4314. {
  4315. .secret =
  4316. #ifdef __LITTLE_ENDIAN
  4317. "\x02\x00" /* type */
  4318. "\x26\x00" /* len */
  4319. "\x20\x00" /* key_size */
  4320. #else
  4321. "\x00\x02" /* type */
  4322. "\x00\x26" /* len */
  4323. "\x00\x20" /* key_size */
  4324. #endif
  4325. "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
  4326. "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
  4327. "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
  4328. "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
  4329. .expected_a_public =
  4330. "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
  4331. "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
  4332. "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
  4333. "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
  4334. "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
  4335. "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
  4336. "\x6a\x02\x6e\x41\x87\x68\x38\x77"
  4337. "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
  4338. .expected_ss =
  4339. "\xea\x17\x6f\x7e\x6e\x57\x26\x38"
  4340. "\x8b\xfb\x41\xeb\xba\xc8\x6d\xa5"
  4341. "\xa8\x72\xd1\xff\xc9\x47\x3d\xaa"
  4342. "\x58\x43\x9f\x34\x0f\x8c\xf3\xc9",
  4343. .b_public =
  4344. "\xcc\xb4\xda\x74\xb1\x47\x3f\xea"
  4345. "\x6c\x70\x9e\x38\x2d\xc7\xaa\xb7"
  4346. "\x29\xb2\x47\x03\x19\xab\xdd\x34"
  4347. "\xbd\xa8\x2c\x93\xe1\xa4\x74\xd9"
  4348. "\x64\x63\xf7\x70\x20\x2f\xa4\xe6"
  4349. "\x9f\x4a\x38\xcc\xc0\x2c\x49\x2f"
  4350. "\xb1\x32\xbb\xaf\x22\x61\xda\xcb"
  4351. "\x6f\xdb\xa9\xaa\xfc\x77\x81\xf3",
  4352. .secret_size = 38,
  4353. .b_public_size = 64,
  4354. .expected_a_public_size = 64,
  4355. .expected_ss_size = 32
  4356. }, {
  4357. .secret =
  4358. #ifdef __LITTLE_ENDIAN
  4359. "\x02\x00" /* type */
  4360. "\x06\x00" /* len */
  4361. "\x00\x00", /* key_size */
  4362. #else
  4363. "\x00\x02" /* type */
  4364. "\x00\x06" /* len */
  4365. "\x00\x00", /* key_size */
  4366. #endif
  4367. .b_secret =
  4368. #ifdef __LITTLE_ENDIAN
  4369. "\x02\x00" /* type */
  4370. "\x26\x00" /* len */
  4371. "\x20\x00" /* key_size */
  4372. #else
  4373. "\x00\x02" /* type */
  4374. "\x00\x26" /* len */
  4375. "\x00\x20" /* key_size */
  4376. #endif
  4377. "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
  4378. "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
  4379. "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
  4380. "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
  4381. .b_public =
  4382. "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
  4383. "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
  4384. "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
  4385. "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
  4386. "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
  4387. "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
  4388. "\x6a\x02\x6e\x41\x87\x68\x38\x77"
  4389. "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
  4390. .secret_size = 6,
  4391. .b_secret_size = 38,
  4392. .b_public_size = 64,
  4393. .expected_a_public_size = 64,
  4394. .expected_ss_size = 32,
  4395. .genkey = true,
  4396. }
  4397. };
  4398. /*
  4399. * NIST P384 test vectors from RFC5903
  4400. */
  4401. static const struct kpp_testvec ecdh_p384_tv_template[] = {
  4402. {
  4403. .secret =
  4404. #ifdef __LITTLE_ENDIAN
  4405. "\x02\x00" /* type */
  4406. "\x36\x00" /* len */
  4407. "\x30\x00" /* key_size */
  4408. #else
  4409. "\x00\x02" /* type */
  4410. "\x00\x36" /* len */
  4411. "\x00\x30" /* key_size */
  4412. #endif
  4413. "\x09\x9F\x3C\x70\x34\xD4\xA2\xC6"
  4414. "\x99\x88\x4D\x73\xA3\x75\xA6\x7F"
  4415. "\x76\x24\xEF\x7C\x6B\x3C\x0F\x16"
  4416. "\x06\x47\xB6\x74\x14\xDC\xE6\x55"
  4417. "\xE3\x5B\x53\x80\x41\xE6\x49\xEE"
  4418. "\x3F\xAE\xF8\x96\x78\x3A\xB1\x94",
  4419. .b_public =
  4420. "\xE5\x58\xDB\xEF\x53\xEE\xCD\xE3"
  4421. "\xD3\xFC\xCF\xC1\xAE\xA0\x8A\x89"
  4422. "\xA9\x87\x47\x5D\x12\xFD\x95\x0D"
  4423. "\x83\xCF\xA4\x17\x32\xBC\x50\x9D"
  4424. "\x0D\x1A\xC4\x3A\x03\x36\xDE\xF9"
  4425. "\x6F\xDA\x41\xD0\x77\x4A\x35\x71"
  4426. "\xDC\xFB\xEC\x7A\xAC\xF3\x19\x64"
  4427. "\x72\x16\x9E\x83\x84\x30\x36\x7F"
  4428. "\x66\xEE\xBE\x3C\x6E\x70\xC4\x16"
  4429. "\xDD\x5F\x0C\x68\x75\x9D\xD1\xFF"
  4430. "\xF8\x3F\xA4\x01\x42\x20\x9D\xFF"
  4431. "\x5E\xAA\xD9\x6D\xB9\xE6\x38\x6C",
  4432. .expected_a_public =
  4433. "\x66\x78\x42\xD7\xD1\x80\xAC\x2C"
  4434. "\xDE\x6F\x74\xF3\x75\x51\xF5\x57"
  4435. "\x55\xC7\x64\x5C\x20\xEF\x73\xE3"
  4436. "\x16\x34\xFE\x72\xB4\xC5\x5E\xE6"
  4437. "\xDE\x3A\xC8\x08\xAC\xB4\xBD\xB4"
  4438. "\xC8\x87\x32\xAE\xE9\x5F\x41\xAA"
  4439. "\x94\x82\xED\x1F\xC0\xEE\xB9\xCA"
  4440. "\xFC\x49\x84\x62\x5C\xCF\xC2\x3F"
  4441. "\x65\x03\x21\x49\xE0\xE1\x44\xAD"
  4442. "\xA0\x24\x18\x15\x35\xA0\xF3\x8E"
  4443. "\xEB\x9F\xCF\xF3\xC2\xC9\x47\xDA"
  4444. "\xE6\x9B\x4C\x63\x45\x73\xA8\x1C",
  4445. .expected_ss =
  4446. "\x11\x18\x73\x31\xC2\x79\x96\x2D"
  4447. "\x93\xD6\x04\x24\x3F\xD5\x92\xCB"
  4448. "\x9D\x0A\x92\x6F\x42\x2E\x47\x18"
  4449. "\x75\x21\x28\x7E\x71\x56\xC5\xC4"
  4450. "\xD6\x03\x13\x55\x69\xB9\xE9\xD0"
  4451. "\x9C\xF5\xD4\xA2\x70\xF5\x97\x46",
  4452. .secret_size = 54,
  4453. .b_public_size = 96,
  4454. .expected_a_public_size = 96,
  4455. .expected_ss_size = 48
  4456. }
  4457. };
  4458. /*
  4459. * MD4 test vectors from RFC1320
  4460. */
  4461. static const struct hash_testvec md4_tv_template[] = {
  4462. {
  4463. .plaintext = "",
  4464. .digest = "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
  4465. "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
  4466. }, {
  4467. .plaintext = "a",
  4468. .psize = 1,
  4469. .digest = "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
  4470. "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
  4471. }, {
  4472. .plaintext = "abc",
  4473. .psize = 3,
  4474. .digest = "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
  4475. "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
  4476. }, {
  4477. .plaintext = "message digest",
  4478. .psize = 14,
  4479. .digest = "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
  4480. "\x18\x87\x48\x06\xe1\xc7\x01\x4b",
  4481. }, {
  4482. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  4483. .psize = 26,
  4484. .digest = "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
  4485. "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
  4486. }, {
  4487. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
  4488. .psize = 62,
  4489. .digest = "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
  4490. "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
  4491. }, {
  4492. .plaintext = "123456789012345678901234567890123456789012345678901234567890123"
  4493. "45678901234567890",
  4494. .psize = 80,
  4495. .digest = "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
  4496. "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
  4497. },
  4498. };
  4499. static const struct hash_testvec sha3_224_tv_template[] = {
  4500. {
  4501. .plaintext = "",
  4502. .digest = "\x6b\x4e\x03\x42\x36\x67\xdb\xb7"
  4503. "\x3b\x6e\x15\x45\x4f\x0e\xb1\xab"
  4504. "\xd4\x59\x7f\x9a\x1b\x07\x8e\x3f"
  4505. "\x5b\x5a\x6b\xc7",
  4506. }, {
  4507. .plaintext = "a",
  4508. .psize = 1,
  4509. .digest = "\x9e\x86\xff\x69\x55\x7c\xa9\x5f"
  4510. "\x40\x5f\x08\x12\x69\x68\x5b\x38"
  4511. "\xe3\xa8\x19\xb3\x09\xee\x94\x2f"
  4512. "\x48\x2b\x6a\x8b",
  4513. }, {
  4514. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
  4515. "jklmklmnlmnomnopnopq",
  4516. .psize = 56,
  4517. .digest = "\x8a\x24\x10\x8b\x15\x4a\xda\x21"
  4518. "\xc9\xfd\x55\x74\x49\x44\x79\xba"
  4519. "\x5c\x7e\x7a\xb7\x6e\xf2\x64\xea"
  4520. "\xd0\xfc\xce\x33",
  4521. }, {
  4522. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  4523. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  4524. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  4525. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  4526. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  4527. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  4528. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  4529. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  4530. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  4531. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  4532. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  4533. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  4534. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  4535. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  4536. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  4537. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  4538. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  4539. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  4540. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  4541. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  4542. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  4543. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  4544. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  4545. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  4546. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  4547. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  4548. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  4549. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  4550. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  4551. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  4552. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  4553. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  4554. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  4555. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  4556. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  4557. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  4558. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  4559. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  4560. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  4561. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  4562. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  4563. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  4564. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  4565. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  4566. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  4567. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  4568. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  4569. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  4570. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  4571. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  4572. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  4573. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  4574. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  4575. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  4576. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  4577. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  4578. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  4579. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  4580. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  4581. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  4582. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  4583. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  4584. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  4585. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  4586. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  4587. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  4588. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  4589. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  4590. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  4591. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  4592. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  4593. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  4594. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  4595. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  4596. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  4597. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  4598. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  4599. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  4600. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  4601. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  4602. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  4603. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  4604. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  4605. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  4606. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  4607. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  4608. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  4609. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  4610. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  4611. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  4612. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  4613. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  4614. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  4615. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  4616. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  4617. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  4618. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  4619. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  4620. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  4621. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  4622. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  4623. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  4624. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  4625. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  4626. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  4627. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  4628. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  4629. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  4630. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  4631. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  4632. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  4633. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  4634. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  4635. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  4636. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  4637. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  4638. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  4639. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  4640. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  4641. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  4642. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  4643. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  4644. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  4645. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  4646. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  4647. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  4648. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  4649. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  4650. .psize = 1023,
  4651. .digest = "\x7d\x0f\x2f\xb7\x65\x3b\xa7\x26"
  4652. "\xc3\x88\x20\x71\x15\x06\xe8\x2d"
  4653. "\xa3\x92\x44\xab\x3e\xe7\xff\x86"
  4654. "\xb6\x79\x10\x72",
  4655. },
  4656. };
  4657. static const struct hash_testvec sha3_256_tv_template[] = {
  4658. {
  4659. .plaintext = "",
  4660. .digest = "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
  4661. "\x51\xc1\x47\x56\xa0\x61\xd6\x62"
  4662. "\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
  4663. "\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
  4664. }, {
  4665. .plaintext = "a",
  4666. .psize = 1,
  4667. .digest = "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
  4668. "\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
  4669. "\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
  4670. "\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
  4671. }, {
  4672. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
  4673. "jklmklmnlmnomnopnopq",
  4674. .psize = 56,
  4675. .digest = "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
  4676. "\x49\x10\x03\x76\xa8\x23\x5e\x2c"
  4677. "\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
  4678. "\xdb\x32\xdd\x97\x49\x6d\x33\x76",
  4679. }, {
  4680. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  4681. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  4682. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  4683. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  4684. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  4685. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  4686. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  4687. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  4688. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  4689. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  4690. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  4691. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  4692. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  4693. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  4694. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  4695. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  4696. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  4697. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  4698. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  4699. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  4700. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  4701. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  4702. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  4703. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  4704. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  4705. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  4706. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  4707. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  4708. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  4709. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  4710. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  4711. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  4712. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  4713. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  4714. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  4715. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  4716. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  4717. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  4718. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  4719. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  4720. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  4721. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  4722. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  4723. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  4724. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  4725. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  4726. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  4727. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  4728. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  4729. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  4730. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  4731. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  4732. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  4733. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  4734. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  4735. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  4736. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  4737. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  4738. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  4739. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  4740. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  4741. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  4742. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  4743. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  4744. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  4745. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  4746. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  4747. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  4748. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  4749. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  4750. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  4751. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  4752. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  4753. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  4754. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  4755. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  4756. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  4757. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  4758. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  4759. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  4760. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  4761. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  4762. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  4763. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  4764. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  4765. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  4766. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  4767. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  4768. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  4769. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  4770. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  4771. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  4772. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  4773. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  4774. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  4775. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  4776. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  4777. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  4778. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  4779. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  4780. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  4781. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  4782. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  4783. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  4784. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  4785. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  4786. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  4787. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  4788. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  4789. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  4790. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  4791. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  4792. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  4793. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  4794. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  4795. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  4796. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  4797. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  4798. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  4799. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  4800. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  4801. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  4802. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  4803. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  4804. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  4805. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  4806. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  4807. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  4808. .psize = 1023,
  4809. .digest = "\xde\x41\x04\xbd\xda\xda\xd9\x71"
  4810. "\xf7\xfa\x80\xf5\xea\x11\x03\xb1"
  4811. "\x3b\x6a\xbc\x5f\xb9\x66\x26\xf7"
  4812. "\x8a\x97\xbb\xf2\x07\x08\x38\x30",
  4813. },
  4814. };
  4815. static const struct hash_testvec sha3_384_tv_template[] = {
  4816. {
  4817. .plaintext = "",
  4818. .digest = "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
  4819. "\x01\x10\x7d\x85\x2e\x4c\x24\x85"
  4820. "\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
  4821. "\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
  4822. "\xc3\x71\x38\x31\x26\x4a\xdb\x47"
  4823. "\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
  4824. }, {
  4825. .plaintext = "a",
  4826. .psize = 1,
  4827. .digest = "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
  4828. "\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
  4829. "\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
  4830. "\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
  4831. "\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
  4832. "\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
  4833. }, {
  4834. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
  4835. "jklmklmnlmnomnopnopq",
  4836. .psize = 56,
  4837. .digest = "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
  4838. "\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
  4839. "\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
  4840. "\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
  4841. "\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
  4842. "\x9e\xef\x51\xac\xd0\x65\x7c\x22",
  4843. }, {
  4844. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  4845. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  4846. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  4847. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  4848. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  4849. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  4850. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  4851. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  4852. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  4853. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  4854. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  4855. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  4856. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  4857. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  4858. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  4859. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  4860. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  4861. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  4862. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  4863. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  4864. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  4865. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  4866. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  4867. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  4868. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  4869. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  4870. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  4871. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  4872. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  4873. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  4874. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  4875. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  4876. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  4877. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  4878. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  4879. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  4880. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  4881. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  4882. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  4883. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  4884. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  4885. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  4886. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  4887. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  4888. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  4889. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  4890. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  4891. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  4892. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  4893. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  4894. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  4895. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  4896. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  4897. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  4898. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  4899. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  4900. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  4901. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  4902. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  4903. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  4904. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  4905. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  4906. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  4907. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  4908. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  4909. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  4910. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  4911. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  4912. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  4913. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  4914. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  4915. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  4916. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  4917. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  4918. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  4919. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  4920. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  4921. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  4922. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  4923. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  4924. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  4925. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  4926. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  4927. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  4928. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  4929. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  4930. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  4931. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  4932. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  4933. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  4934. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  4935. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  4936. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  4937. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  4938. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  4939. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  4940. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  4941. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  4942. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  4943. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  4944. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  4945. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  4946. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  4947. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  4948. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  4949. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  4950. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  4951. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  4952. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  4953. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  4954. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  4955. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  4956. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  4957. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  4958. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  4959. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  4960. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  4961. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  4962. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  4963. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  4964. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  4965. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  4966. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  4967. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  4968. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  4969. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  4970. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  4971. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  4972. .psize = 1023,
  4973. .digest = "\x1b\x19\x4d\x8f\xd5\x36\x87\x71"
  4974. "\xcf\xca\x30\x85\x9b\xc1\x25\xc7"
  4975. "\x00\xcb\x73\x8a\x8e\xd4\xfe\x2b"
  4976. "\x1a\xa2\xdc\x2e\x41\xfd\x52\x51"
  4977. "\xd2\x21\xae\x2d\xc7\xae\x8c\x40"
  4978. "\xb9\xe6\x56\x48\x03\xcd\x88\x6b",
  4979. },
  4980. };
  4981. static const struct hash_testvec sha3_512_tv_template[] = {
  4982. {
  4983. .plaintext = "",
  4984. .digest = "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
  4985. "\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
  4986. "\x97\xc9\x82\x16\x4f\xe2\x58\x59"
  4987. "\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
  4988. "\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
  4989. "\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
  4990. "\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
  4991. "\x01\x75\x85\x86\x28\x1d\xcd\x26",
  4992. }, {
  4993. .plaintext = "a",
  4994. .psize = 1,
  4995. .digest = "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
  4996. "\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
  4997. "\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
  4998. "\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
  4999. "\x3f\x4f\x93\xff\x24\x39\x35\x86"
  5000. "\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
  5001. "\x69\x42\x0c\xe5\x33\x32\x71\x2f"
  5002. "\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
  5003. }, {
  5004. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
  5005. "jklmklmnlmnomnopnopq",
  5006. .psize = 56,
  5007. .digest = "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
  5008. "\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
  5009. "\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
  5010. "\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
  5011. "\xee\x69\x1f\xbe\x0c\x98\x53\x02"
  5012. "\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
  5013. "\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
  5014. "\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
  5015. }, {
  5016. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  5017. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  5018. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  5019. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  5020. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  5021. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  5022. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  5023. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  5024. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  5025. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  5026. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  5027. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  5028. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  5029. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  5030. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  5031. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  5032. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  5033. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  5034. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  5035. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  5036. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  5037. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  5038. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  5039. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  5040. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  5041. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  5042. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  5043. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  5044. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  5045. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  5046. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  5047. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  5048. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  5049. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  5050. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  5051. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  5052. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  5053. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  5054. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  5055. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  5056. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  5057. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  5058. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  5059. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  5060. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  5061. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  5062. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  5063. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  5064. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  5065. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  5066. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  5067. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  5068. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  5069. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  5070. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  5071. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  5072. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  5073. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  5074. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  5075. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  5076. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  5077. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  5078. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  5079. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  5080. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  5081. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  5082. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  5083. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  5084. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  5085. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  5086. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  5087. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  5088. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  5089. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  5090. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  5091. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  5092. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  5093. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  5094. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  5095. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  5096. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  5097. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  5098. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  5099. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  5100. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  5101. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  5102. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  5103. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  5104. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  5105. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  5106. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  5107. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  5108. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  5109. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  5110. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  5111. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  5112. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  5113. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  5114. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  5115. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  5116. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  5117. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  5118. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  5119. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  5120. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  5121. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  5122. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  5123. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  5124. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  5125. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  5126. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  5127. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  5128. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  5129. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  5130. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  5131. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  5132. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  5133. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  5134. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  5135. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  5136. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  5137. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  5138. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  5139. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  5140. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  5141. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  5142. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  5143. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  5144. .psize = 1023,
  5145. .digest = "\x59\xda\x30\xe3\x90\xe4\x3d\xde"
  5146. "\xf0\xc6\x42\x17\xd7\xb2\x26\x47"
  5147. "\x90\x28\xa6\x84\xe8\x49\x7a\x86"
  5148. "\xd6\xb8\x9e\xf8\x07\x59\x21\x03"
  5149. "\xad\xd2\xed\x48\xa3\xb9\xa5\xf0"
  5150. "\xb3\xae\x02\x2b\xb8\xaf\xc3\x3b"
  5151. "\xd6\xb0\x8f\xcb\x76\x8b\xa7\x41"
  5152. "\x32\xc2\x8e\x50\x91\x86\x90\xfb",
  5153. },
  5154. };
  5155. /*
  5156. * MD5 test vectors from RFC1321
  5157. */
  5158. static const struct hash_testvec md5_tv_template[] = {
  5159. {
  5160. .digest = "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
  5161. "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
  5162. }, {
  5163. .plaintext = "a",
  5164. .psize = 1,
  5165. .digest = "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
  5166. "\x31\xc3\x99\xe2\x69\x77\x26\x61",
  5167. }, {
  5168. .plaintext = "abc",
  5169. .psize = 3,
  5170. .digest = "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
  5171. "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
  5172. }, {
  5173. .plaintext = "message digest",
  5174. .psize = 14,
  5175. .digest = "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
  5176. "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
  5177. }, {
  5178. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  5179. .psize = 26,
  5180. .digest = "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
  5181. "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
  5182. }, {
  5183. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
  5184. .psize = 62,
  5185. .digest = "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
  5186. "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
  5187. }, {
  5188. .plaintext = "12345678901234567890123456789012345678901234567890123456789012"
  5189. "345678901234567890",
  5190. .psize = 80,
  5191. .digest = "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
  5192. "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
  5193. }
  5194. };
  5195. /*
  5196. * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
  5197. */
  5198. static const struct hash_testvec rmd160_tv_template[] = {
  5199. {
  5200. .digest = "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
  5201. "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
  5202. }, {
  5203. .plaintext = "a",
  5204. .psize = 1,
  5205. .digest = "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
  5206. "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
  5207. }, {
  5208. .plaintext = "abc",
  5209. .psize = 3,
  5210. .digest = "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
  5211. "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
  5212. }, {
  5213. .plaintext = "message digest",
  5214. .psize = 14,
  5215. .digest = "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
  5216. "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
  5217. }, {
  5218. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  5219. .psize = 26,
  5220. .digest = "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
  5221. "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
  5222. }, {
  5223. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
  5224. "fghijklmnopqrstuvwxyz0123456789",
  5225. .psize = 62,
  5226. .digest = "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
  5227. "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
  5228. }, {
  5229. .plaintext = "1234567890123456789012345678901234567890"
  5230. "1234567890123456789012345678901234567890",
  5231. .psize = 80,
  5232. .digest = "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
  5233. "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
  5234. }, {
  5235. .plaintext = "abcdbcdecdefdefgefghfghighij"
  5236. "hijkijkljklmklmnlmnomnopnopq",
  5237. .psize = 56,
  5238. .digest = "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
  5239. "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
  5240. }, {
  5241. .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
  5242. "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
  5243. "lmnopqrsmnopqrstnopqrstu",
  5244. .psize = 112,
  5245. .digest = "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
  5246. "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
  5247. }, {
  5248. .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
  5249. .psize = 32,
  5250. .digest = "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
  5251. "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
  5252. }
  5253. };
  5254. static const u8 zeroes[4096] = { [0 ... 4095] = 0 };
  5255. static const u8 ones[4096] = { [0 ... 4095] = 0xff };
  5256. static const struct hash_testvec crc64_rocksoft_tv_template[] = {
  5257. {
  5258. .plaintext = zeroes,
  5259. .psize = 4096,
  5260. .digest = "\x4e\xb6\x22\xeb\x67\xd3\x82\x64",
  5261. }, {
  5262. .plaintext = ones,
  5263. .psize = 4096,
  5264. .digest = "\xac\xa3\xec\x02\x73\xba\xdd\xc0",
  5265. }
  5266. };
  5267. static const struct hash_testvec crct10dif_tv_template[] = {
  5268. {
  5269. .plaintext = "abc",
  5270. .psize = 3,
  5271. .digest = (u8 *)(u16 []){ 0x443b },
  5272. }, {
  5273. .plaintext = "1234567890123456789012345678901234567890"
  5274. "123456789012345678901234567890123456789",
  5275. .psize = 79,
  5276. .digest = (u8 *)(u16 []){ 0x4b70 },
  5277. }, {
  5278. .plaintext = "abcdddddddddddddddddddddddddddddddddddddddd"
  5279. "ddddddddddddd",
  5280. .psize = 56,
  5281. .digest = (u8 *)(u16 []){ 0x9ce3 },
  5282. }, {
  5283. .plaintext = "1234567890123456789012345678901234567890"
  5284. "1234567890123456789012345678901234567890"
  5285. "1234567890123456789012345678901234567890"
  5286. "1234567890123456789012345678901234567890"
  5287. "1234567890123456789012345678901234567890"
  5288. "1234567890123456789012345678901234567890"
  5289. "1234567890123456789012345678901234567890"
  5290. "123456789012345678901234567890123456789",
  5291. .psize = 319,
  5292. .digest = (u8 *)(u16 []){ 0x44c6 },
  5293. }, {
  5294. .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
  5295. "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
  5296. "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
  5297. "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
  5298. "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
  5299. "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
  5300. "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
  5301. "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
  5302. "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
  5303. "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
  5304. "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
  5305. "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
  5306. "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
  5307. "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
  5308. "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
  5309. "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
  5310. "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
  5311. "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
  5312. "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
  5313. "\x58\xef\x63\xfa\x91\x05\x9c\x33"
  5314. "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
  5315. "\x19\xb0\x47\xde\x52\xe9\x80\x17"
  5316. "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
  5317. "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
  5318. "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
  5319. "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
  5320. "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
  5321. "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
  5322. "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
  5323. "\x86\x1d\x91\x28\xbf\x33\xca\x61"
  5324. "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
  5325. "\x47\xde\x75\x0c\x80\x17\xae\x22"
  5326. "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
  5327. "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
  5328. "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
  5329. "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
  5330. "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
  5331. "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
  5332. "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
  5333. "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
  5334. "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
  5335. "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
  5336. "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
  5337. "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
  5338. "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
  5339. "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
  5340. "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
  5341. "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
  5342. "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
  5343. "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
  5344. "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
  5345. "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
  5346. "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
  5347. "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
  5348. "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
  5349. "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
  5350. "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
  5351. "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
  5352. "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
  5353. "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
  5354. "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
  5355. "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
  5356. "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
  5357. "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
  5358. "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
  5359. "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
  5360. "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
  5361. "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
  5362. "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
  5363. "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
  5364. "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
  5365. "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
  5366. "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
  5367. "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
  5368. "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
  5369. "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
  5370. "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
  5371. "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
  5372. "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
  5373. "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
  5374. "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
  5375. "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
  5376. "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
  5377. "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
  5378. "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
  5379. "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
  5380. "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
  5381. "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
  5382. "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
  5383. "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
  5384. "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
  5385. "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
  5386. "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
  5387. "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
  5388. "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
  5389. "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
  5390. "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
  5391. "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
  5392. "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
  5393. "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
  5394. "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
  5395. "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
  5396. "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
  5397. "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
  5398. "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
  5399. "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
  5400. "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
  5401. "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
  5402. "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
  5403. "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
  5404. "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
  5405. "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
  5406. "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
  5407. "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
  5408. "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
  5409. "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
  5410. "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
  5411. "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
  5412. "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
  5413. "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
  5414. "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
  5415. "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
  5416. "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
  5417. "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
  5418. "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
  5419. "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
  5420. "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
  5421. "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
  5422. "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
  5423. "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
  5424. "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
  5425. "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
  5426. "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
  5427. "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
  5428. "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
  5429. "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
  5430. "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
  5431. "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
  5432. "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
  5433. "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
  5434. "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
  5435. "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
  5436. "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
  5437. "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
  5438. "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
  5439. "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
  5440. "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
  5441. "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
  5442. "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
  5443. "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
  5444. "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
  5445. "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
  5446. "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
  5447. "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
  5448. "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
  5449. "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
  5450. "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
  5451. "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
  5452. "\x47\xde\x52\xe9\x80\x17\x8b\x22"
  5453. "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
  5454. "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
  5455. "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
  5456. "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
  5457. "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
  5458. "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
  5459. "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
  5460. "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
  5461. "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
  5462. "\x75\x0c\x80\x17\xae\x22\xb9\x50"
  5463. "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
  5464. "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
  5465. "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
  5466. "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
  5467. "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
  5468. "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
  5469. "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
  5470. "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
  5471. "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
  5472. "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
  5473. "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
  5474. "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
  5475. "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
  5476. "\x48\xdf\x53\xea\x81\x18\x8c\x23"
  5477. "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
  5478. "\x09\xa0\x37\xce\x42\xd9\x70\x07"
  5479. "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
  5480. "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
  5481. "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
  5482. "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
  5483. "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
  5484. "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
  5485. "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
  5486. "\x76\x0d\x81\x18\xaf\x23\xba\x51"
  5487. "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
  5488. "\x37\xce\x65\xfc\x70\x07\x9e\x12"
  5489. "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
  5490. "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
  5491. "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
  5492. "\xff\x73\x0a\xa1\x15\xac\x43\xda"
  5493. "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
  5494. "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
  5495. "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
  5496. "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
  5497. "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
  5498. "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
  5499. "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
  5500. "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
  5501. "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
  5502. "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
  5503. "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
  5504. "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
  5505. "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
  5506. "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
  5507. "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
  5508. "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
  5509. "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
  5510. "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
  5511. "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
  5512. "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
  5513. "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
  5514. "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
  5515. "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
  5516. "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
  5517. "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
  5518. "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
  5519. "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
  5520. "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
  5521. "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
  5522. "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
  5523. "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
  5524. "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
  5525. "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
  5526. "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
  5527. "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
  5528. "\xef\x86\x1d\x91\x28\xbf\x33\xca"
  5529. "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
  5530. "\xd3\x47\xde\x75\x0c\x80\x17\xae"
  5531. "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
  5532. "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
  5533. "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
  5534. "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
  5535. "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
  5536. "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
  5537. "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
  5538. "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
  5539. "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
  5540. "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
  5541. "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
  5542. "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
  5543. "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
  5544. "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
  5545. "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
  5546. "\x67\xfe\x95\x09\xa0\x37\xce\x42"
  5547. "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
  5548. "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
  5549. "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
  5550. .psize = 2048,
  5551. .digest = (u8 *)(u16 []){ 0x23ca },
  5552. }
  5553. };
  5554. /*
  5555. * Streebog test vectors from RFC 6986 and GOST R 34.11-2012
  5556. */
  5557. static const struct hash_testvec streebog256_tv_template[] = {
  5558. { /* M1 */
  5559. .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
  5560. .psize = 63,
  5561. .digest =
  5562. "\x9d\x15\x1e\xef\xd8\x59\x0b\x89"
  5563. "\xda\xa6\xba\x6c\xb7\x4a\xf9\x27"
  5564. "\x5d\xd0\x51\x02\x6b\xb1\x49\xa4"
  5565. "\x52\xfd\x84\xe5\xe5\x7b\x55\x00",
  5566. },
  5567. { /* M2 */
  5568. .plaintext =
  5569. "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
  5570. "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
  5571. "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
  5572. "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
  5573. "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
  5574. "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
  5575. "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
  5576. "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
  5577. "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
  5578. .psize = 72,
  5579. .digest =
  5580. "\x9d\xd2\xfe\x4e\x90\x40\x9e\x5d"
  5581. "\xa8\x7f\x53\x97\x6d\x74\x05\xb0"
  5582. "\xc0\xca\xc6\x28\xfc\x66\x9a\x74"
  5583. "\x1d\x50\x06\x3c\x55\x7e\x8f\x50",
  5584. },
  5585. };
  5586. static const struct hash_testvec streebog512_tv_template[] = {
  5587. { /* M1 */
  5588. .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
  5589. .psize = 63,
  5590. .digest =
  5591. "\x1b\x54\xd0\x1a\x4a\xf5\xb9\xd5"
  5592. "\xcc\x3d\x86\xd6\x8d\x28\x54\x62"
  5593. "\xb1\x9a\xbc\x24\x75\x22\x2f\x35"
  5594. "\xc0\x85\x12\x2b\xe4\xba\x1f\xfa"
  5595. "\x00\xad\x30\xf8\x76\x7b\x3a\x82"
  5596. "\x38\x4c\x65\x74\xf0\x24\xc3\x11"
  5597. "\xe2\xa4\x81\x33\x2b\x08\xef\x7f"
  5598. "\x41\x79\x78\x91\xc1\x64\x6f\x48",
  5599. },
  5600. { /* M2 */
  5601. .plaintext =
  5602. "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
  5603. "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
  5604. "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
  5605. "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
  5606. "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
  5607. "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
  5608. "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
  5609. "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
  5610. "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
  5611. .psize = 72,
  5612. .digest =
  5613. "\x1e\x88\xe6\x22\x26\xbf\xca\x6f"
  5614. "\x99\x94\xf1\xf2\xd5\x15\x69\xe0"
  5615. "\xda\xf8\x47\x5a\x3b\x0f\xe6\x1a"
  5616. "\x53\x00\xee\xe4\x6d\x96\x13\x76"
  5617. "\x03\x5f\xe8\x35\x49\xad\xa2\xb8"
  5618. "\x62\x0f\xcd\x7c\x49\x6c\xe5\xb3"
  5619. "\x3f\x0c\xb9\xdd\xdc\x2b\x64\x60"
  5620. "\x14\x3b\x03\xda\xba\xc9\xfb\x28",
  5621. },
  5622. };
  5623. /*
  5624. * Two HMAC-Streebog test vectors from RFC 7836 and R 50.1.113-2016 A
  5625. */
  5626. static const struct hash_testvec hmac_streebog256_tv_template[] = {
  5627. {
  5628. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  5629. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  5630. "\x10\x11\x12\x13\x14\x15\x16\x17"
  5631. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  5632. .ksize = 32,
  5633. .plaintext =
  5634. "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
  5635. "\x43\x41\x45\x65\x63\x78\x01\x00",
  5636. .psize = 16,
  5637. .digest =
  5638. "\xa1\xaa\x5f\x7d\xe4\x02\xd7\xb3"
  5639. "\xd3\x23\xf2\x99\x1c\x8d\x45\x34"
  5640. "\x01\x31\x37\x01\x0a\x83\x75\x4f"
  5641. "\xd0\xaf\x6d\x7c\xd4\x92\x2e\xd9",
  5642. },
  5643. };
  5644. static const struct hash_testvec hmac_streebog512_tv_template[] = {
  5645. {
  5646. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  5647. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  5648. "\x10\x11\x12\x13\x14\x15\x16\x17"
  5649. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  5650. .ksize = 32,
  5651. .plaintext =
  5652. "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
  5653. "\x43\x41\x45\x65\x63\x78\x01\x00",
  5654. .psize = 16,
  5655. .digest =
  5656. "\xa5\x9b\xab\x22\xec\xae\x19\xc6"
  5657. "\x5f\xbd\xe6\xe5\xf4\xe9\xf5\xd8"
  5658. "\x54\x9d\x31\xf0\x37\xf9\xdf\x9b"
  5659. "\x90\x55\x00\xe1\x71\x92\x3a\x77"
  5660. "\x3d\x5f\x15\x30\xf2\xed\x7e\x96"
  5661. "\x4c\xb2\xee\xdc\x29\xe9\xad\x2f"
  5662. "\x3a\xfe\x93\xb2\x81\x4f\x79\xf5"
  5663. "\x00\x0f\xfc\x03\x66\xc2\x51\xe6",
  5664. },
  5665. };
  5666. /* Example vectors below taken from
  5667. * http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
  5668. *
  5669. * The rest taken from
  5670. * https://github.com/adamws/oscca-sm3
  5671. */
  5672. static const struct hash_testvec sm3_tv_template[] = {
  5673. {
  5674. .plaintext = "",
  5675. .psize = 0,
  5676. .digest = (u8 *)(u8 []) {
  5677. 0x1A, 0xB2, 0x1D, 0x83, 0x55, 0xCF, 0xA1, 0x7F,
  5678. 0x8e, 0x61, 0x19, 0x48, 0x31, 0xE8, 0x1A, 0x8F,
  5679. 0x22, 0xBE, 0xC8, 0xC7, 0x28, 0xFE, 0xFB, 0x74,
  5680. 0x7E, 0xD0, 0x35, 0xEB, 0x50, 0x82, 0xAA, 0x2B }
  5681. }, {
  5682. .plaintext = "a",
  5683. .psize = 1,
  5684. .digest = (u8 *)(u8 []) {
  5685. 0x62, 0x34, 0x76, 0xAC, 0x18, 0xF6, 0x5A, 0x29,
  5686. 0x09, 0xE4, 0x3C, 0x7F, 0xEC, 0x61, 0xB4, 0x9C,
  5687. 0x7E, 0x76, 0x4A, 0x91, 0xA1, 0x8C, 0xCB, 0x82,
  5688. 0xF1, 0x91, 0x7A, 0x29, 0xC8, 0x6C, 0x5E, 0x88 }
  5689. }, {
  5690. /* A.1. Example 1 */
  5691. .plaintext = "abc",
  5692. .psize = 3,
  5693. .digest = (u8 *)(u8 []) {
  5694. 0x66, 0xC7, 0xF0, 0xF4, 0x62, 0xEE, 0xED, 0xD9,
  5695. 0xD1, 0xF2, 0xD4, 0x6B, 0xDC, 0x10, 0xE4, 0xE2,
  5696. 0x41, 0x67, 0xC4, 0x87, 0x5C, 0xF2, 0xF7, 0xA2,
  5697. 0x29, 0x7D, 0xA0, 0x2B, 0x8F, 0x4B, 0xA8, 0xE0 }
  5698. }, {
  5699. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  5700. .psize = 26,
  5701. .digest = (u8 *)(u8 []) {
  5702. 0xB8, 0x0F, 0xE9, 0x7A, 0x4D, 0xA2, 0x4A, 0xFC,
  5703. 0x27, 0x75, 0x64, 0xF6, 0x6A, 0x35, 0x9E, 0xF4,
  5704. 0x40, 0x46, 0x2A, 0xD2, 0x8D, 0xCC, 0x6D, 0x63,
  5705. 0xAD, 0xB2, 0x4D, 0x5C, 0x20, 0xA6, 0x15, 0x95 }
  5706. }, {
  5707. /* A.1. Example 2 */
  5708. .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdab"
  5709. "cdabcdabcdabcdabcd",
  5710. .psize = 64,
  5711. .digest = (u8 *)(u8 []) {
  5712. 0xDE, 0xBE, 0x9F, 0xF9, 0x22, 0x75, 0xB8, 0xA1,
  5713. 0x38, 0x60, 0x48, 0x89, 0xC1, 0x8E, 0x5A, 0x4D,
  5714. 0x6F, 0xDB, 0x70, 0xE5, 0x38, 0x7E, 0x57, 0x65,
  5715. 0x29, 0x3D, 0xCB, 0xA3, 0x9C, 0x0C, 0x57, 0x32 }
  5716. }, {
  5717. .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  5718. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  5719. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  5720. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  5721. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  5722. "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
  5723. "abcdabcdabcdabcdabcdabcdabcdabcd",
  5724. .psize = 256,
  5725. .digest = (u8 *)(u8 []) {
  5726. 0xB9, 0x65, 0x76, 0x4C, 0x8B, 0xEB, 0xB0, 0x91,
  5727. 0xC7, 0x60, 0x2B, 0x74, 0xAF, 0xD3, 0x4E, 0xEF,
  5728. 0xB5, 0x31, 0xDC, 0xCB, 0x4E, 0x00, 0x76, 0xD9,
  5729. 0xB7, 0xCD, 0x81, 0x31, 0x99, 0xB4, 0x59, 0x71 }
  5730. }
  5731. };
  5732. /* Example vectors below taken from
  5733. * GM/T 0042-2015 Appendix D.3
  5734. */
  5735. static const struct hash_testvec hmac_sm3_tv_template[] = {
  5736. {
  5737. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  5738. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  5739. "\x11\x12\x13\x14\x15\x16\x17\x18"
  5740. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
  5741. .ksize = 32,
  5742. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
  5743. "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  5744. .psize = 112,
  5745. .digest = "\xca\x05\xe1\x44\xed\x05\xd1\x85"
  5746. "\x78\x40\xd1\xf3\x18\xa4\xa8\x66"
  5747. "\x9e\x55\x9f\xc8\x39\x1f\x41\x44"
  5748. "\x85\xbf\xdf\x7b\xb4\x08\x96\x3a",
  5749. }, {
  5750. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  5751. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  5752. "\x11\x12\x13\x14\x15\x16\x17\x18"
  5753. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  5754. "\x21\x22\x23\x24\x25",
  5755. .ksize = 37,
  5756. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5757. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5758. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  5759. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  5760. .psize = 50,
  5761. .digest = "\x22\x0b\xf5\x79\xde\xd5\x55\x39"
  5762. "\x3f\x01\x59\xf6\x6c\x99\x87\x78"
  5763. "\x22\xa3\xec\xf6\x10\xd1\x55\x21"
  5764. "\x54\xb4\x1d\x44\xb9\x4d\xb3\xae",
  5765. }, {
  5766. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  5767. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  5768. "\x0b\x0b\x0b\x0b\x0b\x0b",
  5769. .ksize = 32,
  5770. .plaintext = "Hi There",
  5771. .psize = 8,
  5772. .digest = "\xc0\xba\x18\xc6\x8b\x90\xc8\x8b"
  5773. "\xc0\x7d\xe7\x94\xbf\xc7\xd2\xc8"
  5774. "\xd1\x9e\xc3\x1e\xd8\x77\x3b\xc2"
  5775. "\xb3\x90\xc9\x60\x4e\x0b\xe1\x1e",
  5776. }, {
  5777. .key = "Jefe",
  5778. .ksize = 4,
  5779. .plaintext = "what do ya want for nothing?",
  5780. .psize = 28,
  5781. .digest = "\x2e\x87\xf1\xd1\x68\x62\xe6\xd9"
  5782. "\x64\xb5\x0a\x52\x00\xbf\x2b\x10"
  5783. "\xb7\x64\xfa\xa9\x68\x0a\x29\x6a"
  5784. "\x24\x05\xf2\x4b\xec\x39\xf8\x82",
  5785. },
  5786. };
  5787. /*
  5788. * SHA1 test vectors from FIPS PUB 180-1
  5789. * Long vector from CAVS 5.0
  5790. */
  5791. static const struct hash_testvec sha1_tv_template[] = {
  5792. {
  5793. .plaintext = "",
  5794. .psize = 0,
  5795. .digest = "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
  5796. "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
  5797. }, {
  5798. .plaintext = "abc",
  5799. .psize = 3,
  5800. .digest = "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
  5801. "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
  5802. }, {
  5803. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  5804. .psize = 56,
  5805. .digest = "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
  5806. "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
  5807. }, {
  5808. .plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
  5809. "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
  5810. "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
  5811. "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
  5812. "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
  5813. "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
  5814. "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
  5815. "\x72\x28\x26\xc0\x66\x86\x9e\xda"
  5816. "\xcd\x73\xb2\x54\x80\x35\x18\x58"
  5817. "\x13\xe2\x26\x34\xa9\xda\x44\x00"
  5818. "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
  5819. "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
  5820. "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
  5821. "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
  5822. "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
  5823. "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
  5824. "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
  5825. "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
  5826. "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
  5827. "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
  5828. "\x5a\x90\x11",
  5829. .psize = 163,
  5830. .digest = "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
  5831. "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
  5832. }, {
  5833. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
  5834. .psize = 64,
  5835. .digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
  5836. "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
  5837. }, {
  5838. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  5839. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  5840. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  5841. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  5842. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  5843. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  5844. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  5845. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  5846. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  5847. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  5848. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  5849. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  5850. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  5851. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  5852. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  5853. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  5854. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  5855. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  5856. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  5857. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  5858. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  5859. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  5860. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  5861. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  5862. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  5863. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  5864. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  5865. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  5866. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  5867. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  5868. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  5869. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  5870. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  5871. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  5872. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  5873. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  5874. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  5875. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  5876. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  5877. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  5878. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  5879. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  5880. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  5881. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  5882. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  5883. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  5884. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  5885. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  5886. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  5887. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  5888. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  5889. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  5890. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  5891. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  5892. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  5893. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  5894. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  5895. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  5896. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  5897. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  5898. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  5899. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  5900. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  5901. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  5902. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  5903. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  5904. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  5905. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  5906. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  5907. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  5908. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  5909. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  5910. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  5911. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  5912. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  5913. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  5914. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  5915. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  5916. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  5917. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  5918. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  5919. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  5920. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  5921. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  5922. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  5923. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  5924. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  5925. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  5926. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  5927. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  5928. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  5929. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  5930. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  5931. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  5932. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  5933. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  5934. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  5935. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  5936. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  5937. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  5938. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  5939. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  5940. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  5941. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  5942. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  5943. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  5944. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  5945. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  5946. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  5947. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  5948. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  5949. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  5950. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  5951. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  5952. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  5953. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  5954. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  5955. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  5956. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  5957. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  5958. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  5959. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  5960. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  5961. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  5962. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  5963. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  5964. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  5965. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  5966. .psize = 1023,
  5967. .digest = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
  5968. "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
  5969. "\x30\xd6\xc9\x85",
  5970. }
  5971. };
  5972. /*
  5973. * SHA224 test vectors from FIPS PUB 180-2
  5974. */
  5975. static const struct hash_testvec sha224_tv_template[] = {
  5976. {
  5977. .plaintext = "",
  5978. .psize = 0,
  5979. .digest = "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
  5980. "\x47\x61\x02\xbb\x28\x82\x34\xc4"
  5981. "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
  5982. "\xc5\xb3\xe4\x2f",
  5983. }, {
  5984. .plaintext = "abc",
  5985. .psize = 3,
  5986. .digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
  5987. "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
  5988. "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
  5989. "\xE3\x6C\x9D\xA7",
  5990. }, {
  5991. .plaintext =
  5992. "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  5993. .psize = 56,
  5994. .digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
  5995. "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
  5996. "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
  5997. "\x52\x52\x25\x25",
  5998. }, {
  5999. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
  6000. .psize = 64,
  6001. .digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
  6002. "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
  6003. "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
  6004. "\xef\x3b\xcb\x0e",
  6005. }, {
  6006. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  6007. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  6008. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  6009. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  6010. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  6011. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  6012. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  6013. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  6014. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  6015. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  6016. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  6017. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  6018. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  6019. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  6020. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  6021. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  6022. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  6023. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  6024. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  6025. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  6026. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  6027. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  6028. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  6029. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  6030. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  6031. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  6032. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  6033. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  6034. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  6035. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  6036. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  6037. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  6038. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  6039. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  6040. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  6041. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  6042. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  6043. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  6044. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  6045. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  6046. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  6047. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  6048. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  6049. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  6050. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  6051. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  6052. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  6053. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  6054. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  6055. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  6056. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  6057. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  6058. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  6059. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  6060. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  6061. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  6062. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  6063. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  6064. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  6065. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  6066. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  6067. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  6068. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  6069. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  6070. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  6071. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  6072. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  6073. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  6074. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  6075. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  6076. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  6077. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  6078. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  6079. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  6080. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  6081. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  6082. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  6083. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  6084. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  6085. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  6086. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  6087. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  6088. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  6089. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  6090. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  6091. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  6092. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  6093. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  6094. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  6095. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  6096. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  6097. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  6098. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  6099. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  6100. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  6101. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  6102. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  6103. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  6104. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  6105. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  6106. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  6107. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  6108. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  6109. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  6110. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  6111. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  6112. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  6113. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  6114. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  6115. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  6116. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  6117. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  6118. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  6119. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  6120. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  6121. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  6122. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  6123. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  6124. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  6125. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  6126. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  6127. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  6128. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  6129. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  6130. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  6131. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  6132. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  6133. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  6134. .psize = 1023,
  6135. .digest = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
  6136. "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
  6137. "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
  6138. "\xe6\xf9\x4f\xcc",
  6139. }
  6140. };
  6141. /*
  6142. * SHA256 test vectors from NIST
  6143. */
  6144. static const struct hash_testvec sha256_tv_template[] = {
  6145. {
  6146. .plaintext = "",
  6147. .psize = 0,
  6148. .digest = "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
  6149. "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
  6150. "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
  6151. "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
  6152. }, {
  6153. .plaintext = "abc",
  6154. .psize = 3,
  6155. .digest = "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
  6156. "\x41\x41\x40\xde\x5d\xae\x22\x23"
  6157. "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
  6158. "\xb4\x10\xff\x61\xf2\x00\x15\xad",
  6159. }, {
  6160. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  6161. .psize = 56,
  6162. .digest = "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
  6163. "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
  6164. "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
  6165. "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
  6166. }, {
  6167. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
  6168. .psize = 64,
  6169. .digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
  6170. "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
  6171. "\xd6\xff\x94\xa3\x72\x91\x85\x66"
  6172. "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
  6173. }, {
  6174. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  6175. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  6176. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  6177. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  6178. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  6179. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  6180. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  6181. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  6182. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  6183. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  6184. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  6185. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  6186. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  6187. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  6188. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  6189. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  6190. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  6191. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  6192. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  6193. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  6194. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  6195. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  6196. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  6197. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  6198. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  6199. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  6200. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  6201. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  6202. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  6203. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  6204. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  6205. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  6206. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  6207. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  6208. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  6209. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  6210. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  6211. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  6212. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  6213. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  6214. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  6215. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  6216. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  6217. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  6218. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  6219. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  6220. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  6221. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  6222. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  6223. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  6224. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  6225. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  6226. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  6227. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  6228. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  6229. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  6230. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  6231. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  6232. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  6233. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  6234. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  6235. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  6236. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  6237. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  6238. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  6239. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  6240. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  6241. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  6242. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  6243. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  6244. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  6245. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  6246. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  6247. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  6248. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  6249. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  6250. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  6251. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  6252. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  6253. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  6254. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  6255. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  6256. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  6257. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  6258. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  6259. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  6260. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  6261. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  6262. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  6263. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  6264. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  6265. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  6266. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  6267. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  6268. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  6269. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  6270. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  6271. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  6272. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  6273. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  6274. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  6275. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  6276. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  6277. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  6278. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  6279. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  6280. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  6281. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  6282. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  6283. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  6284. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  6285. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  6286. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  6287. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  6288. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  6289. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  6290. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  6291. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  6292. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  6293. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  6294. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  6295. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  6296. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  6297. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  6298. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  6299. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  6300. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  6301. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  6302. .psize = 1023,
  6303. .digest = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
  6304. "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
  6305. "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
  6306. "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
  6307. }
  6308. };
  6309. /*
  6310. * SHA384 test vectors from NIST and kerneli
  6311. */
  6312. static const struct hash_testvec sha384_tv_template[] = {
  6313. {
  6314. .plaintext = "",
  6315. .psize = 0,
  6316. .digest = "\x38\xb0\x60\xa7\x51\xac\x96\x38"
  6317. "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
  6318. "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
  6319. "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
  6320. "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
  6321. "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
  6322. }, {
  6323. .plaintext= "abc",
  6324. .psize = 3,
  6325. .digest = "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
  6326. "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
  6327. "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
  6328. "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
  6329. "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
  6330. "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
  6331. }, {
  6332. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  6333. .psize = 56,
  6334. .digest = "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
  6335. "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
  6336. "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
  6337. "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
  6338. "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
  6339. "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
  6340. }, {
  6341. .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
  6342. "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
  6343. .psize = 112,
  6344. .digest = "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
  6345. "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
  6346. "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
  6347. "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
  6348. "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
  6349. "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
  6350. }, {
  6351. .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
  6352. "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
  6353. .psize = 104,
  6354. .digest = "\x3d\x20\x89\x73\xab\x35\x08\xdb"
  6355. "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
  6356. "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
  6357. "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
  6358. "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
  6359. "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
  6360. }, {
  6361. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  6362. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  6363. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  6364. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  6365. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  6366. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  6367. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  6368. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  6369. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  6370. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  6371. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  6372. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  6373. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  6374. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  6375. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  6376. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  6377. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  6378. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  6379. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  6380. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  6381. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  6382. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  6383. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  6384. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  6385. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  6386. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  6387. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  6388. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  6389. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  6390. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  6391. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  6392. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  6393. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  6394. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  6395. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  6396. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  6397. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  6398. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  6399. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  6400. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  6401. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  6402. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  6403. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  6404. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  6405. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  6406. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  6407. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  6408. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  6409. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  6410. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  6411. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  6412. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  6413. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  6414. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  6415. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  6416. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  6417. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  6418. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  6419. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  6420. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  6421. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  6422. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  6423. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  6424. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  6425. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  6426. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  6427. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  6428. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  6429. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  6430. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  6431. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  6432. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  6433. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  6434. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  6435. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  6436. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  6437. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  6438. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  6439. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  6440. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  6441. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  6442. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  6443. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  6444. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  6445. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  6446. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  6447. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  6448. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  6449. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  6450. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  6451. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  6452. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  6453. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  6454. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  6455. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  6456. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  6457. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  6458. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  6459. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  6460. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  6461. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  6462. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  6463. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  6464. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  6465. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  6466. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  6467. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  6468. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  6469. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  6470. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  6471. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  6472. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  6473. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  6474. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  6475. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  6476. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  6477. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  6478. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  6479. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  6480. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  6481. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  6482. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  6483. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  6484. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  6485. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  6486. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  6487. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  6488. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  6489. .psize = 1023,
  6490. .digest = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
  6491. "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
  6492. "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
  6493. "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
  6494. "\x75\x29\x62\x83\xae\x3f\x17\xab"
  6495. "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
  6496. }
  6497. };
  6498. /*
  6499. * SHA512 test vectors from NIST and kerneli
  6500. */
  6501. static const struct hash_testvec sha512_tv_template[] = {
  6502. {
  6503. .plaintext = "",
  6504. .psize = 0,
  6505. .digest = "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
  6506. "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
  6507. "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
  6508. "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
  6509. "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
  6510. "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
  6511. "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
  6512. "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
  6513. }, {
  6514. .plaintext = "abc",
  6515. .psize = 3,
  6516. .digest = "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
  6517. "\xcc\x41\x73\x49\xae\x20\x41\x31"
  6518. "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
  6519. "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
  6520. "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
  6521. "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
  6522. "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
  6523. "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
  6524. }, {
  6525. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  6526. .psize = 56,
  6527. .digest = "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
  6528. "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
  6529. "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
  6530. "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
  6531. "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
  6532. "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
  6533. "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
  6534. "\x54\xec\x63\x12\x38\xca\x34\x45",
  6535. }, {
  6536. .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
  6537. "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
  6538. .psize = 112,
  6539. .digest = "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
  6540. "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
  6541. "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
  6542. "\x72\x99\xae\xad\xb6\x88\x90\x18"
  6543. "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
  6544. "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
  6545. "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
  6546. "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
  6547. }, {
  6548. .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
  6549. "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
  6550. .psize = 104,
  6551. .digest = "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
  6552. "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
  6553. "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
  6554. "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
  6555. "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
  6556. "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
  6557. "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
  6558. "\xed\xb4\x19\x87\x23\x28\x50\xc9",
  6559. }, {
  6560. .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
  6561. "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
  6562. "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
  6563. "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
  6564. "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
  6565. "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
  6566. "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
  6567. "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
  6568. "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
  6569. "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
  6570. "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
  6571. "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
  6572. "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
  6573. "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
  6574. "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
  6575. "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
  6576. "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
  6577. "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
  6578. "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
  6579. "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
  6580. "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
  6581. "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
  6582. "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
  6583. "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
  6584. "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
  6585. "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
  6586. "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
  6587. "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
  6588. "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
  6589. "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
  6590. "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
  6591. "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
  6592. "\x53\xea\x81\x18\x8c\x23\xba\x2e"
  6593. "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
  6594. "\x37\xce\x42\xd9\x70\x07\x7b\x12"
  6595. "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
  6596. "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
  6597. "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
  6598. "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
  6599. "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
  6600. "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
  6601. "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
  6602. "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
  6603. "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
  6604. "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
  6605. "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
  6606. "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
  6607. "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
  6608. "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
  6609. "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
  6610. "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
  6611. "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
  6612. "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
  6613. "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
  6614. "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
  6615. "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
  6616. "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
  6617. "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
  6618. "\x38\xcf\x43\xda\x71\x08\x7c\x13"
  6619. "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
  6620. "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
  6621. "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
  6622. "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
  6623. "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
  6624. "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
  6625. "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
  6626. "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
  6627. "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
  6628. "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
  6629. "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
  6630. "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
  6631. "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
  6632. "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
  6633. "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
  6634. "\xef\x63\xfa\x91\x05\x9c\x33\xca"
  6635. "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
  6636. "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
  6637. "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
  6638. "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
  6639. "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
  6640. "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
  6641. "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
  6642. "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
  6643. "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
  6644. "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
  6645. "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
  6646. "\xde\x75\x0c\x80\x17\xae\x22\xb9"
  6647. "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
  6648. "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
  6649. "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
  6650. "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
  6651. "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
  6652. "\x67\xfe\x72\x09\xa0\x14\xab\x42"
  6653. "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
  6654. "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
  6655. "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
  6656. "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
  6657. "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
  6658. "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
  6659. "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
  6660. "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
  6661. "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
  6662. "\x95\x09\xa0\x37\xce\x42\xd9\x70"
  6663. "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
  6664. "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
  6665. "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
  6666. "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
  6667. "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
  6668. "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
  6669. "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
  6670. "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
  6671. "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
  6672. "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
  6673. "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
  6674. "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
  6675. "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
  6676. "\x68\xff\x73\x0a\xa1\x15\xac\x43"
  6677. "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
  6678. "\x29\xc0\x57\xee\x62\xf9\x90\x04"
  6679. "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
  6680. "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
  6681. "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
  6682. "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
  6683. "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
  6684. "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
  6685. "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
  6686. "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
  6687. "\x08\x7c\x13\xaa\x1e\xb5\x4c",
  6688. .psize = 1023,
  6689. .digest = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
  6690. "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
  6691. "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
  6692. "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
  6693. "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
  6694. "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
  6695. "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
  6696. "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
  6697. }
  6698. };
  6699. /*
  6700. * WHIRLPOOL test vectors from Whirlpool package
  6701. * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
  6702. * submission
  6703. */
  6704. static const struct hash_testvec wp512_tv_template[] = {
  6705. {
  6706. .plaintext = "",
  6707. .psize = 0,
  6708. .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
  6709. "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
  6710. "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
  6711. "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
  6712. "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
  6713. "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
  6714. "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
  6715. "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
  6716. }, {
  6717. .plaintext = "a",
  6718. .psize = 1,
  6719. .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
  6720. "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
  6721. "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
  6722. "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
  6723. "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
  6724. "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
  6725. "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
  6726. "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
  6727. }, {
  6728. .plaintext = "abc",
  6729. .psize = 3,
  6730. .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
  6731. "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
  6732. "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
  6733. "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
  6734. "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
  6735. "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
  6736. "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
  6737. "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
  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. "\x92\xED\x92\x00\x52\x83\x8F\x33"
  6748. "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
  6749. }, {
  6750. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  6751. .psize = 26,
  6752. .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
  6753. "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
  6754. "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
  6755. "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
  6756. "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
  6757. "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
  6758. "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
  6759. "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
  6760. }, {
  6761. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  6762. "abcdefghijklmnopqrstuvwxyz0123456789",
  6763. .psize = 62,
  6764. .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
  6765. "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
  6766. "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
  6767. "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
  6768. "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
  6769. "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
  6770. "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
  6771. "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
  6772. }, {
  6773. .plaintext = "1234567890123456789012345678901234567890"
  6774. "1234567890123456789012345678901234567890",
  6775. .psize = 80,
  6776. .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
  6777. "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
  6778. "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
  6779. "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
  6780. "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
  6781. "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
  6782. "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
  6783. "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
  6784. }, {
  6785. .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
  6786. .psize = 32,
  6787. .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
  6788. "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
  6789. "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
  6790. "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
  6791. "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
  6792. "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
  6793. "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
  6794. "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
  6795. },
  6796. };
  6797. static const struct hash_testvec wp384_tv_template[] = {
  6798. {
  6799. .plaintext = "",
  6800. .psize = 0,
  6801. .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
  6802. "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
  6803. "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
  6804. "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
  6805. "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
  6806. "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
  6807. }, {
  6808. .plaintext = "a",
  6809. .psize = 1,
  6810. .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
  6811. "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
  6812. "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
  6813. "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
  6814. "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
  6815. "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
  6816. }, {
  6817. .plaintext = "abc",
  6818. .psize = 3,
  6819. .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
  6820. "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
  6821. "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
  6822. "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
  6823. "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
  6824. "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
  6825. }, {
  6826. .plaintext = "message digest",
  6827. .psize = 14,
  6828. .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
  6829. "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
  6830. "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
  6831. "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
  6832. "\x84\x21\x55\x76\x59\xEF\x55\xC1"
  6833. "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
  6834. }, {
  6835. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  6836. .psize = 26,
  6837. .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
  6838. "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
  6839. "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
  6840. "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
  6841. "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
  6842. "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
  6843. }, {
  6844. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  6845. "abcdefghijklmnopqrstuvwxyz0123456789",
  6846. .psize = 62,
  6847. .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
  6848. "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
  6849. "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
  6850. "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
  6851. "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
  6852. "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
  6853. }, {
  6854. .plaintext = "1234567890123456789012345678901234567890"
  6855. "1234567890123456789012345678901234567890",
  6856. .psize = 80,
  6857. .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
  6858. "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
  6859. "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
  6860. "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
  6861. "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
  6862. "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
  6863. }, {
  6864. .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
  6865. .psize = 32,
  6866. .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
  6867. "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
  6868. "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
  6869. "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
  6870. "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
  6871. "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
  6872. },
  6873. };
  6874. static const struct hash_testvec wp256_tv_template[] = {
  6875. {
  6876. .plaintext = "",
  6877. .psize = 0,
  6878. .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
  6879. "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
  6880. "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
  6881. "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
  6882. }, {
  6883. .plaintext = "a",
  6884. .psize = 1,
  6885. .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
  6886. "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
  6887. "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
  6888. "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
  6889. }, {
  6890. .plaintext = "abc",
  6891. .psize = 3,
  6892. .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
  6893. "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
  6894. "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
  6895. "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
  6896. }, {
  6897. .plaintext = "message digest",
  6898. .psize = 14,
  6899. .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
  6900. "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
  6901. "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
  6902. "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
  6903. }, {
  6904. .plaintext = "abcdefghijklmnopqrstuvwxyz",
  6905. .psize = 26,
  6906. .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
  6907. "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
  6908. "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
  6909. "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
  6910. }, {
  6911. .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  6912. "abcdefghijklmnopqrstuvwxyz0123456789",
  6913. .psize = 62,
  6914. .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
  6915. "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
  6916. "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
  6917. "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
  6918. }, {
  6919. .plaintext = "1234567890123456789012345678901234567890"
  6920. "1234567890123456789012345678901234567890",
  6921. .psize = 80,
  6922. .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
  6923. "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
  6924. "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
  6925. "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
  6926. }, {
  6927. .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
  6928. .psize = 32,
  6929. .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
  6930. "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
  6931. "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
  6932. "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
  6933. },
  6934. };
  6935. static const struct hash_testvec ghash_tv_template[] =
  6936. {
  6937. {
  6938. .key = "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
  6939. "\xff\xca\xff\x95\xf8\x30\xf0\x61",
  6940. .ksize = 16,
  6941. .plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
  6942. "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
  6943. .psize = 16,
  6944. .digest = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
  6945. "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
  6946. }, {
  6947. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  6948. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
  6949. .ksize = 16,
  6950. .plaintext = "what do ya want for nothing?",
  6951. .psize = 28,
  6952. .digest = "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
  6953. "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
  6954. }, {
  6955. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  6956. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  6957. .ksize = 16,
  6958. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  6959. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  6960. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  6961. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  6962. .psize = 50,
  6963. .digest = "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
  6964. "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
  6965. }, {
  6966. .key = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
  6967. "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
  6968. .ksize = 16,
  6969. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  6970. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  6971. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  6972. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  6973. .psize = 50,
  6974. .digest = "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
  6975. "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
  6976. }, {
  6977. .key = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
  6978. "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
  6979. .ksize = 16,
  6980. .plaintext = "Test With Truncation",
  6981. .psize = 20,
  6982. .digest = "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
  6983. "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
  6984. }, {
  6985. .key = "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
  6986. "\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
  6987. .ksize = 16,
  6988. .plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
  6989. "\x65\x72\x20\x4c\x61\x75\x73\x63"
  6990. "\x68\x65\x6e\x20\x75\x6e\x64\x20"
  6991. "\x53\x74\x61\x75\x6e\x65\x6e\x20"
  6992. "\x73\x65\x69\x20\x73\x74\x69\x6c"
  6993. "\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
  6994. "\x69\x6e\x20\x74\x69\x65\x66\x74"
  6995. "\x69\x65\x66\x65\x73\x20\x4c\x65"
  6996. "\x62\x65\x6e\x3b\x0a\x64\x61\x73"
  6997. "\x73\x20\x64\x75\x20\x77\x65\x69"
  6998. "\xc3\x9f\x74\x20\x77\x61\x73\x20"
  6999. "\x64\x65\x72\x20\x57\x69\x6e\x64"
  7000. "\x20\x64\x69\x72\x20\x77\x69\x6c"
  7001. "\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
  7002. "\x63\x68\x20\x64\x69\x65\x20\x42"
  7003. "\x69\x72\x6b\x65\x6e\x20\x62\x65"
  7004. "\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
  7005. "\x64\x20\x77\x65\x6e\x6e\x20\x64"
  7006. "\x69\x72\x20\x65\x69\x6e\x6d\x61"
  7007. "\x6c\x20\x64\x61\x73\x20\x53\x63"
  7008. "\x68\x77\x65\x69\x67\x65\x6e\x20"
  7009. "\x73\x70\x72\x61\x63\x68\x2c\x0a"
  7010. "\x6c\x61\x73\x73\x20\x64\x65\x69"
  7011. "\x6e\x65\x20\x53\x69\x6e\x6e\x65"
  7012. "\x20\x62\x65\x73\x69\x65\x67\x65"
  7013. "\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
  7014. "\x20\x48\x61\x75\x63\x68\x65\x20"
  7015. "\x67\x69\x62\x74\x20\x64\x69\x63"
  7016. "\x68\x2c\x20\x67\x69\x62\x20\x6e"
  7017. "\x61\x63\x68\x2c\x0a\x65\x72\x20"
  7018. "\x77\x69\x72\x64\x20\x64\x69\x63"
  7019. "\x68\x20\x6c\x69\x65\x62\x65\x6e"
  7020. "\x20\x75\x6e\x64\x20\x77\x69\x65"
  7021. "\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
  7022. "\x64\x20\x64\x61\x6e\x6e\x20\x6d"
  7023. "\x65\x69\x6e\x65\x20\x53\x65\x65"
  7024. "\x6c\x65\x20\x73\x65\x69\x74\x20"
  7025. "\x77\x65\x69\x74\x2c\x20\x73\x65"
  7026. "\x69\x20\x77\x65\x69\x74\x2c\x0a"
  7027. "\x64\x61\x73\x73\x20\x64\x69\x72"
  7028. "\x20\x64\x61\x73\x20\x4c\x65\x62"
  7029. "\x65\x6e\x20\x67\x65\x6c\x69\x6e"
  7030. "\x67\x65\x2c\x0a\x62\x72\x65\x69"
  7031. "\x74\x65\x20\x64\x69\x63\x68\x20"
  7032. "\x77\x69\x65\x20\x65\x69\x6e\x20"
  7033. "\x46\x65\x69\x65\x72\x6b\x6c\x65"
  7034. "\x69\x64\x0a\xc3\xbc\x62\x65\x72"
  7035. "\x20\x64\x69\x65\x20\x73\x69\x6e"
  7036. "\x6e\x65\x6e\x64\x65\x6e\x20\x44"
  7037. "\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
  7038. .psize = 400,
  7039. .digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
  7040. "\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
  7041. },
  7042. };
  7043. /*
  7044. * HMAC-MD5 test vectors from RFC2202
  7045. * (These need to be fixed to not use strlen).
  7046. */
  7047. static const struct hash_testvec hmac_md5_tv_template[] =
  7048. {
  7049. {
  7050. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
  7051. .ksize = 16,
  7052. .plaintext = "Hi There",
  7053. .psize = 8,
  7054. .digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
  7055. "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
  7056. }, {
  7057. .key = "Jefe",
  7058. .ksize = 4,
  7059. .plaintext = "what do ya want for nothing?",
  7060. .psize = 28,
  7061. .digest = "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
  7062. "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
  7063. }, {
  7064. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  7065. .ksize = 16,
  7066. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7067. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7068. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7069. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  7070. .psize = 50,
  7071. .digest = "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
  7072. "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
  7073. }, {
  7074. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  7075. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  7076. "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
  7077. .ksize = 25,
  7078. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7079. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7080. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7081. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  7082. .psize = 50,
  7083. .digest = "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
  7084. "\x3a\x75\x16\x47\x46\xff\xaa\x79",
  7085. }, {
  7086. .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
  7087. .ksize = 16,
  7088. .plaintext = "Test With Truncation",
  7089. .psize = 20,
  7090. .digest = "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
  7091. "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
  7092. }, {
  7093. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7094. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7095. "\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",
  7100. .ksize = 80,
  7101. .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
  7102. .psize = 54,
  7103. .digest = "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
  7104. "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
  7105. }, {
  7106. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7107. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7108. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7109. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7110. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7111. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7112. "\xaa\xaa",
  7113. .ksize = 80,
  7114. .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
  7115. "Block-Size Data",
  7116. .psize = 73,
  7117. .digest = "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
  7118. "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
  7119. },
  7120. };
  7121. /*
  7122. * HMAC-RIPEMD160 test vectors from RFC2286
  7123. */
  7124. static const struct hash_testvec hmac_rmd160_tv_template[] = {
  7125. {
  7126. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
  7127. .ksize = 20,
  7128. .plaintext = "Hi There",
  7129. .psize = 8,
  7130. .digest = "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
  7131. "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
  7132. }, {
  7133. .key = "Jefe",
  7134. .ksize = 4,
  7135. .plaintext = "what do ya want for nothing?",
  7136. .psize = 28,
  7137. .digest = "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
  7138. "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
  7139. }, {
  7140. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  7141. .ksize = 20,
  7142. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7143. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7144. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7145. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  7146. .psize = 50,
  7147. .digest = "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
  7148. "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
  7149. }, {
  7150. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  7151. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  7152. "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
  7153. .ksize = 25,
  7154. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7155. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7156. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7157. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  7158. .psize = 50,
  7159. .digest = "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
  7160. "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
  7161. }, {
  7162. .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
  7163. .ksize = 20,
  7164. .plaintext = "Test With Truncation",
  7165. .psize = 20,
  7166. .digest = "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
  7167. "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
  7168. }, {
  7169. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7170. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7171. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7172. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7173. "\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",
  7176. .ksize = 80,
  7177. .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
  7178. .psize = 54,
  7179. .digest = "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
  7180. "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
  7181. }, {
  7182. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7183. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7184. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7185. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7186. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7187. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7188. "\xaa\xaa",
  7189. .ksize = 80,
  7190. .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
  7191. "Block-Size Data",
  7192. .psize = 73,
  7193. .digest = "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
  7194. "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
  7195. },
  7196. };
  7197. /*
  7198. * HMAC-SHA1 test vectors from RFC2202
  7199. */
  7200. static const struct hash_testvec hmac_sha1_tv_template[] = {
  7201. {
  7202. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
  7203. .ksize = 20,
  7204. .plaintext = "Hi There",
  7205. .psize = 8,
  7206. .digest = "\xb6\x17\x31\x86\x55\x05\x72\x64"
  7207. "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
  7208. "\x46\xbe",
  7209. }, {
  7210. .key = "Jefe",
  7211. .ksize = 4,
  7212. .plaintext = "what do ya want for nothing?",
  7213. .psize = 28,
  7214. .digest = "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
  7215. "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
  7216. .fips_skip = 1,
  7217. }, {
  7218. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  7219. .ksize = 20,
  7220. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7221. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7222. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7223. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  7224. .psize = 50,
  7225. .digest = "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
  7226. "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
  7227. }, {
  7228. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  7229. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  7230. "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
  7231. .ksize = 25,
  7232. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7233. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7234. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7235. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  7236. .psize = 50,
  7237. .digest = "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
  7238. "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
  7239. }, {
  7240. .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
  7241. .ksize = 20,
  7242. .plaintext = "Test With Truncation",
  7243. .psize = 20,
  7244. .digest = "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
  7245. "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
  7246. }, {
  7247. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7248. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7249. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7250. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7251. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7252. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7253. "\xaa\xaa",
  7254. .ksize = 80,
  7255. .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
  7256. .psize = 54,
  7257. .digest = "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
  7258. "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
  7259. }, {
  7260. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7261. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7262. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7263. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7264. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7265. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7266. "\xaa\xaa",
  7267. .ksize = 80,
  7268. .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
  7269. "Block-Size Data",
  7270. .psize = 73,
  7271. .digest = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
  7272. "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
  7273. },
  7274. };
  7275. /*
  7276. * SHA224 HMAC test vectors from RFC4231
  7277. */
  7278. static const struct hash_testvec hmac_sha224_tv_template[] = {
  7279. {
  7280. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  7281. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  7282. "\x0b\x0b\x0b\x0b",
  7283. .ksize = 20,
  7284. /* ("Hi There") */
  7285. .plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
  7286. .psize = 8,
  7287. .digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
  7288. "\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
  7289. "\x47\xb4\xb1\x16\x99\x12\xba\x4f"
  7290. "\x53\x68\x4b\x22",
  7291. }, {
  7292. .key = "Jefe",
  7293. .ksize = 4,
  7294. /* ("what do ya want for nothing?") */
  7295. .plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
  7296. "\x79\x61\x20\x77\x61\x6e\x74\x20"
  7297. "\x66\x6f\x72\x20\x6e\x6f\x74\x68"
  7298. "\x69\x6e\x67\x3f",
  7299. .psize = 28,
  7300. .digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
  7301. "\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
  7302. "\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
  7303. "\x8f\xd0\x5e\x44",
  7304. .fips_skip = 1,
  7305. }, {
  7306. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7307. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7308. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7309. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7310. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7311. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7312. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7313. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7314. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7315. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7316. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7317. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7318. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7319. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7320. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7321. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7322. "\xaa\xaa\xaa",
  7323. .ksize = 131,
  7324. /* ("Test Using Larger Than Block-Size Key - Hash Key First") */
  7325. .plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
  7326. "\x6e\x67\x20\x4c\x61\x72\x67\x65"
  7327. "\x72\x20\x54\x68\x61\x6e\x20\x42"
  7328. "\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
  7329. "\x65\x20\x4b\x65\x79\x20\x2d\x20"
  7330. "\x48\x61\x73\x68\x20\x4b\x65\x79"
  7331. "\x20\x46\x69\x72\x73\x74",
  7332. .psize = 54,
  7333. .digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
  7334. "\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
  7335. "\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
  7336. "\x3f\xa6\x87\x0e",
  7337. }, {
  7338. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7339. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7340. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7341. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7342. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7343. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7344. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7345. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7346. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7347. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7348. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7349. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7350. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7351. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7352. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7353. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7354. "\xaa\xaa\xaa",
  7355. .ksize = 131,
  7356. /* ("This is a test using a larger than block-size key and a")
  7357. (" larger than block-size data. The key needs to be")
  7358. (" hashed before being used by the HMAC algorithm.") */
  7359. .plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
  7360. "\x61\x20\x74\x65\x73\x74\x20\x75"
  7361. "\x73\x69\x6e\x67\x20\x61\x20\x6c"
  7362. "\x61\x72\x67\x65\x72\x20\x74\x68"
  7363. "\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
  7364. "\x2d\x73\x69\x7a\x65\x20\x6b\x65"
  7365. "\x79\x20\x61\x6e\x64\x20\x61\x20"
  7366. "\x6c\x61\x72\x67\x65\x72\x20\x74"
  7367. "\x68\x61\x6e\x20\x62\x6c\x6f\x63"
  7368. "\x6b\x2d\x73\x69\x7a\x65\x20\x64"
  7369. "\x61\x74\x61\x2e\x20\x54\x68\x65"
  7370. "\x20\x6b\x65\x79\x20\x6e\x65\x65"
  7371. "\x64\x73\x20\x74\x6f\x20\x62\x65"
  7372. "\x20\x68\x61\x73\x68\x65\x64\x20"
  7373. "\x62\x65\x66\x6f\x72\x65\x20\x62"
  7374. "\x65\x69\x6e\x67\x20\x75\x73\x65"
  7375. "\x64\x20\x62\x79\x20\x74\x68\x65"
  7376. "\x20\x48\x4d\x41\x43\x20\x61\x6c"
  7377. "\x67\x6f\x72\x69\x74\x68\x6d\x2e",
  7378. .psize = 152,
  7379. .digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
  7380. "\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
  7381. "\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
  7382. "\xf6\xf5\x65\xd1",
  7383. },
  7384. };
  7385. /*
  7386. * HMAC-SHA256 test vectors from
  7387. * draft-ietf-ipsec-ciph-sha-256-01.txt
  7388. */
  7389. static const struct hash_testvec hmac_sha256_tv_template[] = {
  7390. {
  7391. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  7392. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  7393. "\x11\x12\x13\x14\x15\x16\x17\x18"
  7394. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
  7395. .ksize = 32,
  7396. .plaintext = "abc",
  7397. .psize = 3,
  7398. .digest = "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
  7399. "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
  7400. "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
  7401. "\x92\x75\x90\x21\xcf\xab\x81\x81",
  7402. }, {
  7403. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  7404. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  7405. "\x11\x12\x13\x14\x15\x16\x17\x18"
  7406. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
  7407. .ksize = 32,
  7408. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  7409. .psize = 56,
  7410. .digest = "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
  7411. "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
  7412. "\xe6\x98\xe3\x61\x19\x42\x11\x49"
  7413. "\xea\x8c\x71\x24\x56\x69\x7d\x30",
  7414. }, {
  7415. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  7416. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  7417. "\x11\x12\x13\x14\x15\x16\x17\x18"
  7418. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
  7419. .ksize = 32,
  7420. .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
  7421. "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
  7422. .psize = 112,
  7423. .digest = "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
  7424. "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
  7425. "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
  7426. "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
  7427. }, {
  7428. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  7429. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  7430. "\x0b\x0b\x0b\x0b\x0b\x0b",
  7431. .ksize = 32,
  7432. .plaintext = "Hi There",
  7433. .psize = 8,
  7434. .digest = "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
  7435. "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
  7436. "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
  7437. "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
  7438. }, {
  7439. .key = "Jefe",
  7440. .ksize = 4,
  7441. .plaintext = "what do ya want for nothing?",
  7442. .psize = 28,
  7443. .digest = "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
  7444. "\x6a\x04\x24\x26\x08\x95\x75\xc7"
  7445. "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
  7446. "\x9d\xec\x58\xb9\x64\xec\x38\x43",
  7447. .fips_skip = 1,
  7448. }, {
  7449. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7450. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7451. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
  7452. .ksize = 32,
  7453. .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7454. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7455. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  7456. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
  7457. .psize = 50,
  7458. .digest = "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
  7459. "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
  7460. "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
  7461. "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
  7462. }, {
  7463. .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
  7464. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  7465. "\x11\x12\x13\x14\x15\x16\x17\x18"
  7466. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  7467. "\x21\x22\x23\x24\x25",
  7468. .ksize = 37,
  7469. .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7470. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7471. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
  7472. "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
  7473. .psize = 50,
  7474. .digest = "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
  7475. "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
  7476. "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
  7477. "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
  7478. }, {
  7479. .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
  7480. "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
  7481. "\x0c\x0c\x0c\x0c\x0c\x0c",
  7482. .ksize = 32,
  7483. .plaintext = "Test With Truncation",
  7484. .psize = 20,
  7485. .digest = "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
  7486. "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
  7487. "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
  7488. "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
  7489. }, {
  7490. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7491. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7492. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7493. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7494. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7495. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7496. "\xaa\xaa",
  7497. .ksize = 80,
  7498. .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
  7499. .psize = 54,
  7500. .digest = "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
  7501. "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
  7502. "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
  7503. "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
  7504. }, {
  7505. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7506. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7507. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7508. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7509. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7510. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7511. "\xaa\xaa",
  7512. .ksize = 80,
  7513. .plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
  7514. "One Block-Size Data",
  7515. .psize = 73,
  7516. .digest = "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
  7517. "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
  7518. "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
  7519. "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
  7520. },
  7521. };
  7522. static const struct hash_testvec aes_cmac128_tv_template[] = {
  7523. { /* From NIST Special Publication 800-38B, AES-128 */
  7524. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  7525. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  7526. .plaintext = zeroed_string,
  7527. .digest = "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
  7528. "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
  7529. .psize = 0,
  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. .digest = "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
  7537. "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
  7538. .psize = 16,
  7539. .ksize = 16,
  7540. }, {
  7541. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  7542. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  7543. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7544. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7545. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  7546. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  7547. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
  7548. .digest = "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
  7549. "\x30\xca\x32\x61\x14\x97\xc8\x27",
  7550. .psize = 40,
  7551. .ksize = 16,
  7552. }, {
  7553. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  7554. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  7555. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7556. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7557. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  7558. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  7559. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  7560. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  7561. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  7562. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  7563. .digest = "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
  7564. "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
  7565. .psize = 64,
  7566. .ksize = 16,
  7567. }, { /* From NIST Special Publication 800-38B, AES-256 */
  7568. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  7569. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  7570. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  7571. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  7572. .plaintext = zeroed_string,
  7573. .digest = "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
  7574. "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
  7575. .psize = 0,
  7576. .ksize = 32,
  7577. }, {
  7578. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  7579. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  7580. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  7581. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  7582. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7583. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7584. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  7585. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  7586. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  7587. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  7588. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  7589. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  7590. .digest = "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
  7591. "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
  7592. .psize = 64,
  7593. .ksize = 32,
  7594. }
  7595. };
  7596. static const struct hash_testvec aes_cbcmac_tv_template[] = {
  7597. {
  7598. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  7599. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  7600. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7601. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
  7602. .digest = "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
  7603. "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
  7604. .psize = 16,
  7605. .ksize = 16,
  7606. }, {
  7607. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  7608. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  7609. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7610. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7611. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  7612. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  7613. "\x30",
  7614. .digest = "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
  7615. "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
  7616. .psize = 33,
  7617. .ksize = 16,
  7618. }, {
  7619. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  7620. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  7621. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7622. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7623. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  7624. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  7625. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  7626. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  7627. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  7628. "\xad\x2b\x41\x7b\xe6\x6c\x37",
  7629. .digest = "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
  7630. "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
  7631. .psize = 63,
  7632. .ksize = 16,
  7633. }, {
  7634. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  7635. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  7636. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  7637. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  7638. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7639. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7640. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  7641. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  7642. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  7643. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  7644. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  7645. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
  7646. "\x1c",
  7647. .digest = "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
  7648. "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
  7649. .psize = 65,
  7650. .ksize = 32,
  7651. }
  7652. };
  7653. static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
  7654. /*
  7655. * From NIST Special Publication 800-38B, Three Key TDEA
  7656. * Corrected test vectors from:
  7657. * http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
  7658. */
  7659. {
  7660. .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
  7661. "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
  7662. "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
  7663. .plaintext = zeroed_string,
  7664. .digest = "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
  7665. .psize = 0,
  7666. .ksize = 24,
  7667. }, {
  7668. .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
  7669. "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
  7670. "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
  7671. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
  7672. .digest = "\x8e\x8f\x29\x31\x36\x28\x37\x97",
  7673. .psize = 8,
  7674. .ksize = 24,
  7675. }, {
  7676. .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
  7677. "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
  7678. "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
  7679. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7680. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7681. "\xae\x2d\x8a\x57",
  7682. .digest = "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
  7683. .psize = 20,
  7684. .ksize = 24,
  7685. }, {
  7686. .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
  7687. "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
  7688. "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
  7689. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  7690. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  7691. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  7692. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
  7693. .digest = "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
  7694. .psize = 32,
  7695. .ksize = 24,
  7696. }
  7697. };
  7698. static const struct hash_testvec aes_xcbc128_tv_template[] = {
  7699. {
  7700. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7701. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7702. .plaintext = zeroed_string,
  7703. .digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
  7704. "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
  7705. .psize = 0,
  7706. .ksize = 16,
  7707. }, {
  7708. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7709. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7710. .plaintext = "\x00\x01\x02",
  7711. .digest = "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
  7712. "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
  7713. .psize = 3,
  7714. .ksize = 16,
  7715. } , {
  7716. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7717. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7718. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7719. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7720. .digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
  7721. "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
  7722. .psize = 16,
  7723. .ksize = 16,
  7724. }, {
  7725. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7726. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7727. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7728. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  7729. "\x10\x11\x12\x13",
  7730. .digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
  7731. "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
  7732. .psize = 20,
  7733. .ksize = 16,
  7734. }, {
  7735. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7736. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7737. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7738. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  7739. "\x10\x11\x12\x13\x14\x15\x16\x17"
  7740. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  7741. .digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
  7742. "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
  7743. .psize = 32,
  7744. .ksize = 16,
  7745. }, {
  7746. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7747. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7748. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7749. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  7750. "\x10\x11\x12\x13\x14\x15\x16\x17"
  7751. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  7752. "\x20\x21",
  7753. .digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
  7754. "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
  7755. .psize = 34,
  7756. .ksize = 16,
  7757. }
  7758. };
  7759. static const char vmac64_string1[144] = {
  7760. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7761. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7762. '\x01', '\x01', '\x01', '\x01', '\x02', '\x03', '\x02', '\x02',
  7763. '\x02', '\x04', '\x01', '\x07', '\x04', '\x01', '\x04', '\x03',
  7764. };
  7765. static const char vmac64_string2[144] = {
  7766. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7767. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7768. 'a', 'b', 'c',
  7769. };
  7770. static const char vmac64_string3[144] = {
  7771. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7772. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7773. 'a', 'b', 'c', 'a', 'b', 'c', 'a', 'b',
  7774. 'c', 'a', 'b', 'c', 'a', 'b', 'c', 'a',
  7775. 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c',
  7776. 'a', 'b', 'c', 'a', 'b', 'c', 'a', 'b',
  7777. 'c', 'a', 'b', 'c', 'a', 'b', 'c', 'a',
  7778. 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c',
  7779. };
  7780. static const char vmac64_string4[33] = {
  7781. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7782. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7783. 'b', 'c', 'e', 'f', 'i', 'j', 'l', 'm',
  7784. 'o', 'p', 'r', 's', 't', 'u', 'w', 'x',
  7785. 'z',
  7786. };
  7787. static const char vmac64_string5[143] = {
  7788. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7789. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7790. 'r', 'm', 'b', 't', 'c', 'o', 'l', 'k',
  7791. ']', '%', '9', '2', '7', '!', 'A',
  7792. };
  7793. static const char vmac64_string6[145] = {
  7794. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7795. '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
  7796. 'p', 't', '*', '7', 'l', 'i', '!', '#',
  7797. 'w', '0', 'z', '/', '4', 'A', 'n',
  7798. };
  7799. static const struct hash_testvec vmac64_aes_tv_template[] = {
  7800. { /* draft-krovetz-vmac-01 test vector 1 */
  7801. .key = "abcdefghijklmnop",
  7802. .ksize = 16,
  7803. .plaintext = "\0\0\0\0\0\0\0\0bcdefghi",
  7804. .psize = 16,
  7805. .digest = "\x25\x76\xbe\x1c\x56\xd8\xb8\x1b",
  7806. }, { /* draft-krovetz-vmac-01 test vector 2 */
  7807. .key = "abcdefghijklmnop",
  7808. .ksize = 16,
  7809. .plaintext = "\0\0\0\0\0\0\0\0bcdefghiabc",
  7810. .psize = 19,
  7811. .digest = "\x2d\x37\x6c\xf5\xb1\x81\x3c\xe5",
  7812. }, { /* draft-krovetz-vmac-01 test vector 3 */
  7813. .key = "abcdefghijklmnop",
  7814. .ksize = 16,
  7815. .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
  7816. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
  7817. .psize = 64,
  7818. .digest = "\xe8\x42\x1f\x61\xd5\x73\xd2\x98",
  7819. }, { /* draft-krovetz-vmac-01 test vector 4 */
  7820. .key = "abcdefghijklmnop",
  7821. .ksize = 16,
  7822. .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
  7823. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  7824. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  7825. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  7826. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  7827. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
  7828. "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
  7829. .psize = 316,
  7830. .digest = "\x44\x92\xdf\x6c\x5c\xac\x1b\xbe",
  7831. }, {
  7832. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7833. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7834. .ksize = 16,
  7835. .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  7836. "\x00\x00\x00\x00\x00\x00\x00\x00",
  7837. .psize = 16,
  7838. .digest = "\x54\x7b\xa4\x77\x35\x80\x58\x07",
  7839. }, {
  7840. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7841. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7842. .ksize = 16,
  7843. .plaintext = vmac64_string1,
  7844. .psize = sizeof(vmac64_string1),
  7845. .digest = "\xa1\x8c\x68\xae\xd3\x3c\xf5\xce",
  7846. }, {
  7847. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7848. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7849. .ksize = 16,
  7850. .plaintext = vmac64_string2,
  7851. .psize = sizeof(vmac64_string2),
  7852. .digest = "\x2d\x14\xbd\x81\x73\xb0\x27\xc9",
  7853. }, {
  7854. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  7855. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  7856. .ksize = 16,
  7857. .plaintext = vmac64_string3,
  7858. .psize = sizeof(vmac64_string3),
  7859. .digest = "\x19\x0b\x47\x98\x8c\x95\x1a\x8d",
  7860. }, {
  7861. .key = "abcdefghijklmnop",
  7862. .ksize = 16,
  7863. .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  7864. "\x00\x00\x00\x00\x00\x00\x00\x00",
  7865. .psize = 16,
  7866. .digest = "\x84\x8f\x55\x9e\x26\xa1\x89\x3b",
  7867. }, {
  7868. .key = "abcdefghijklmnop",
  7869. .ksize = 16,
  7870. .plaintext = vmac64_string1,
  7871. .psize = sizeof(vmac64_string1),
  7872. .digest = "\xc2\x74\x8d\xf6\xb0\xab\x5e\xab",
  7873. }, {
  7874. .key = "abcdefghijklmnop",
  7875. .ksize = 16,
  7876. .plaintext = vmac64_string2,
  7877. .psize = sizeof(vmac64_string2),
  7878. .digest = "\xdf\x09\x7b\x3d\x42\x68\x15\x11",
  7879. }, {
  7880. .key = "abcdefghijklmnop",
  7881. .ksize = 16,
  7882. .plaintext = vmac64_string3,
  7883. .psize = sizeof(vmac64_string3),
  7884. .digest = "\xd4\xfa\x8f\xed\xe1\x8f\x32\x8b",
  7885. }, {
  7886. .key = "a09b5cd!f#07K\x00\x00\x00",
  7887. .ksize = 16,
  7888. .plaintext = vmac64_string4,
  7889. .psize = sizeof(vmac64_string4),
  7890. .digest = "\x5f\xa1\x4e\x42\xea\x0f\xa5\xab",
  7891. }, {
  7892. .key = "a09b5cd!f#07K\x00\x00\x00",
  7893. .ksize = 16,
  7894. .plaintext = vmac64_string5,
  7895. .psize = sizeof(vmac64_string5),
  7896. .digest = "\x60\x67\xe8\x1d\xbc\x98\x31\x25",
  7897. }, {
  7898. .key = "a09b5cd!f#07K\x00\x00\x00",
  7899. .ksize = 16,
  7900. .plaintext = vmac64_string6,
  7901. .psize = sizeof(vmac64_string6),
  7902. .digest = "\x41\xeb\x65\x95\x47\x9b\xae\xc4",
  7903. },
  7904. };
  7905. /*
  7906. * SHA384 HMAC test vectors from RFC4231
  7907. */
  7908. static const struct hash_testvec hmac_sha384_tv_template[] = {
  7909. {
  7910. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  7911. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  7912. "\x0b\x0b\x0b\x0b",
  7913. .ksize = 20,
  7914. .plaintext = "Hi There",
  7915. .psize = 8,
  7916. .digest = "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
  7917. "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
  7918. "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
  7919. "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
  7920. "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
  7921. "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
  7922. }, {
  7923. .key = "Jefe",
  7924. .ksize = 4,
  7925. .plaintext = "what do ya want for nothing?",
  7926. .psize = 28,
  7927. .digest = "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
  7928. "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
  7929. "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
  7930. "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
  7931. "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
  7932. "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
  7933. .fips_skip = 1,
  7934. }, {
  7935. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7936. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7937. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7938. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7939. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7940. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7941. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7942. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7943. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7944. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7945. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7946. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7947. "\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",
  7952. .ksize = 131,
  7953. .plaintext = "Test Using Larger Than Block-Siz"
  7954. "e Key - Hash Key First",
  7955. .psize = 54,
  7956. .digest = "\x4e\xce\x08\x44\x85\x81\x3e\x90"
  7957. "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
  7958. "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
  7959. "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
  7960. "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
  7961. "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
  7962. }, {
  7963. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7964. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7965. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7966. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7967. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7968. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7969. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7970. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7971. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7972. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7973. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7974. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7975. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7976. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7977. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7978. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  7979. "\xaa\xaa\xaa",
  7980. .ksize = 131,
  7981. .plaintext = "This is a test u"
  7982. "sing a larger th"
  7983. "an block-size ke"
  7984. "y and a larger t"
  7985. "han block-size d"
  7986. "ata. The key nee"
  7987. "ds to be hashed "
  7988. "before being use"
  7989. "d by the HMAC al"
  7990. "gorithm.",
  7991. .psize = 152,
  7992. .digest = "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
  7993. "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
  7994. "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
  7995. "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
  7996. "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
  7997. "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
  7998. },
  7999. };
  8000. /*
  8001. * SHA512 HMAC test vectors from RFC4231
  8002. */
  8003. static const struct hash_testvec hmac_sha512_tv_template[] = {
  8004. {
  8005. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  8006. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  8007. "\x0b\x0b\x0b\x0b",
  8008. .ksize = 20,
  8009. .plaintext = "Hi There",
  8010. .psize = 8,
  8011. .digest = "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
  8012. "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
  8013. "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
  8014. "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
  8015. "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
  8016. "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
  8017. "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
  8018. "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
  8019. }, {
  8020. .key = "Jefe",
  8021. .ksize = 4,
  8022. .plaintext = "what do ya want for nothing?",
  8023. .psize = 28,
  8024. .digest = "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
  8025. "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
  8026. "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
  8027. "\x10\x27\x0c\xd7\xea\x25\x05\x54"
  8028. "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
  8029. "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
  8030. "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
  8031. "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
  8032. .fips_skip = 1,
  8033. }, {
  8034. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8035. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8036. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8037. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8038. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8039. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8040. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8041. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8042. "\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",
  8051. .ksize = 131,
  8052. .plaintext = "Test Using Large"
  8053. "r Than Block-Siz"
  8054. "e Key - Hash Key"
  8055. " First",
  8056. .psize = 54,
  8057. .digest = "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
  8058. "\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
  8059. "\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
  8060. "\x12\x1b\x01\x37\x83\xf8\xf3\x52"
  8061. "\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
  8062. "\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
  8063. "\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
  8064. "\x8b\x91\x5a\x98\x5d\x78\x65\x98",
  8065. }, {
  8066. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8067. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8068. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8069. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8070. "\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",
  8083. .ksize = 131,
  8084. .plaintext =
  8085. "This is a test u"
  8086. "sing a larger th"
  8087. "an block-size ke"
  8088. "y and a larger t"
  8089. "han block-size d"
  8090. "ata. The key nee"
  8091. "ds to be hashed "
  8092. "before being use"
  8093. "d by the HMAC al"
  8094. "gorithm.",
  8095. .psize = 152,
  8096. .digest = "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
  8097. "\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
  8098. "\xde\xbd\x71\xf8\x86\x72\x89\x86"
  8099. "\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
  8100. "\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
  8101. "\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
  8102. "\x13\x46\x76\xfb\x6d\xe0\x44\x60"
  8103. "\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
  8104. },
  8105. };
  8106. static const struct hash_testvec hmac_sha3_224_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 = "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
  8115. "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
  8116. "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
  8117. "\xf3\xc8\x60\xf7",
  8118. }, {
  8119. .key = "Jefe",
  8120. .ksize = 4,
  8121. .plaintext = "what do ya want for nothing?",
  8122. .psize = 28,
  8123. .digest = "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
  8124. "\x1b\x79\x86\x34\xad\x38\x68\x11"
  8125. "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
  8126. "\xba\xce\x5e\x66",
  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 = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
  8153. "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
  8154. "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
  8155. "\x5f\xb9\x99\x5f",
  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 = "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
  8188. "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
  8189. "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
  8190. "\x29\xcd\x62\xa0",
  8191. },
  8192. };
  8193. static const struct hash_testvec hmac_sha3_256_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 = "\xba\x85\x19\x23\x10\xdf\xfa\x96"
  8202. "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
  8203. "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
  8204. "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
  8205. }, {
  8206. .key = "Jefe",
  8207. .ksize = 4,
  8208. .plaintext = "what do ya want for nothing?",
  8209. .psize = 28,
  8210. .digest = "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
  8211. "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
  8212. "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
  8213. "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
  8214. .fips_skip = 1,
  8215. }, {
  8216. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8217. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8218. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8219. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8220. "\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",
  8233. .ksize = 131,
  8234. .plaintext = "Test Using Large"
  8235. "r Than Block-Siz"
  8236. "e Key - Hash Key"
  8237. " First",
  8238. .psize = 54,
  8239. .digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
  8240. "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
  8241. "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
  8242. "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
  8243. }, {
  8244. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8245. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8246. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8247. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8248. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8249. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8250. "\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",
  8261. .ksize = 131,
  8262. .plaintext =
  8263. "This is a test u"
  8264. "sing a larger th"
  8265. "an block-size ke"
  8266. "y and a larger t"
  8267. "han block-size d"
  8268. "ata. The key nee"
  8269. "ds to be hashed "
  8270. "before being use"
  8271. "d by the HMAC al"
  8272. "gorithm.",
  8273. .psize = 152,
  8274. .digest = "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
  8275. "\x7a\xef\x87\x63\x26\x1e\x49\xad"
  8276. "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
  8277. "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
  8278. },
  8279. };
  8280. static const struct hash_testvec hmac_sha3_384_tv_template[] = {
  8281. {
  8282. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  8283. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  8284. "\x0b\x0b\x0b\x0b",
  8285. .ksize = 20,
  8286. .plaintext = "Hi There",
  8287. .psize = 8,
  8288. .digest = "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
  8289. "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
  8290. "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
  8291. "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
  8292. "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
  8293. "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
  8294. }, {
  8295. .key = "Jefe",
  8296. .ksize = 4,
  8297. .plaintext = "what do ya want for nothing?",
  8298. .psize = 28,
  8299. .digest = "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
  8300. "\x67\x64\xd2\xed\x61\x90\x3f\x21"
  8301. "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
  8302. "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
  8303. "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
  8304. "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
  8305. .fips_skip = 1,
  8306. }, {
  8307. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8308. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8309. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8310. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8311. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8312. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8313. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8314. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8315. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8316. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8317. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8318. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8319. "\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",
  8324. .ksize = 131,
  8325. .plaintext = "Test Using Large"
  8326. "r Than Block-Siz"
  8327. "e Key - Hash Key"
  8328. " First",
  8329. .psize = 54,
  8330. .digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
  8331. "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
  8332. "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
  8333. "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
  8334. "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
  8335. "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
  8336. }, {
  8337. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8338. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8339. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8340. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8341. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8342. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8343. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8344. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8345. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8346. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8347. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8348. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8349. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8350. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8351. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8352. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8353. "\xaa\xaa\xaa",
  8354. .ksize = 131,
  8355. .plaintext =
  8356. "This is a test u"
  8357. "sing a larger th"
  8358. "an block-size ke"
  8359. "y and a larger t"
  8360. "han block-size d"
  8361. "ata. The key nee"
  8362. "ds to be hashed "
  8363. "before being use"
  8364. "d by the HMAC al"
  8365. "gorithm.",
  8366. .psize = 152,
  8367. .digest = "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
  8368. "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
  8369. "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
  8370. "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
  8371. "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
  8372. "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
  8373. },
  8374. };
  8375. static const struct hash_testvec hmac_sha3_512_tv_template[] = {
  8376. {
  8377. .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  8378. "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
  8379. "\x0b\x0b\x0b\x0b",
  8380. .ksize = 20,
  8381. .plaintext = "Hi There",
  8382. .psize = 8,
  8383. .digest = "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
  8384. "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
  8385. "\xec\x15\x77\x0a\x7c\xab\xac\x53"
  8386. "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
  8387. "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
  8388. "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
  8389. "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
  8390. "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
  8391. }, {
  8392. .key = "Jefe",
  8393. .ksize = 4,
  8394. .plaintext = "what do ya want for nothing?",
  8395. .psize = 28,
  8396. .digest = "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
  8397. "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
  8398. "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
  8399. "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
  8400. "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
  8401. "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
  8402. "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
  8403. "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
  8404. .fips_skip = 1,
  8405. }, {
  8406. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8407. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8408. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8409. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8410. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8411. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8412. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8413. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8414. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8415. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8416. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8417. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8418. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8419. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8420. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8421. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8422. "\xaa\xaa\xaa",
  8423. .ksize = 131,
  8424. .plaintext = "Test Using Large"
  8425. "r Than Block-Siz"
  8426. "e Key - Hash Key"
  8427. " First",
  8428. .psize = 54,
  8429. .digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
  8430. "\x90\xed\x69\x11\xa4\xb6\x55\x24"
  8431. "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
  8432. "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
  8433. "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
  8434. "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
  8435. "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
  8436. "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
  8437. }, {
  8438. .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8439. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8440. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8441. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8442. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8443. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8444. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8445. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8446. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8447. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8448. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8449. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8450. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8451. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8452. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8453. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  8454. "\xaa\xaa\xaa",
  8455. .ksize = 131,
  8456. .plaintext =
  8457. "This is a test u"
  8458. "sing a larger th"
  8459. "an block-size ke"
  8460. "y and a larger t"
  8461. "han block-size d"
  8462. "ata. The key nee"
  8463. "ds to be hashed "
  8464. "before being use"
  8465. "d by the HMAC al"
  8466. "gorithm.",
  8467. .psize = 152,
  8468. .digest = "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
  8469. "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
  8470. "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
  8471. "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
  8472. "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
  8473. "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
  8474. "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
  8475. "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
  8476. },
  8477. };
  8478. /*
  8479. * Poly1305 test vectors from RFC7539 A.3.
  8480. */
  8481. static const struct hash_testvec poly1305_tv_template[] = {
  8482. { /* Test Vector #1 */
  8483. .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  8484. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8485. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8486. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8487. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8488. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8489. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8490. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8491. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8492. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8493. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8494. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8495. .psize = 96,
  8496. .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
  8497. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8498. }, { /* Test Vector #2 */
  8499. .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  8500. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8501. "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
  8502. "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
  8503. "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  8504. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  8505. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  8506. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  8507. "\x64\x65\x64\x20\x62\x79\x20\x74"
  8508. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  8509. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  8510. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  8511. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  8512. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  8513. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  8514. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  8515. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  8516. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  8517. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  8518. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  8519. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  8520. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  8521. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  8522. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  8523. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  8524. "\x45\x54\x46\x20\x61\x63\x74\x69"
  8525. "\x76\x69\x74\x79\x20\x69\x73\x20"
  8526. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  8527. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  8528. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  8529. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  8530. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  8531. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  8532. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  8533. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  8534. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  8535. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  8536. "\x54\x46\x20\x73\x65\x73\x73\x69"
  8537. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  8538. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  8539. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  8540. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  8541. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  8542. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  8543. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  8544. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  8545. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  8546. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  8547. "\x20\x77\x68\x69\x63\x68\x20\x61"
  8548. "\x72\x65\x20\x61\x64\x64\x72\x65"
  8549. "\x73\x73\x65\x64\x20\x74\x6f",
  8550. .psize = 407,
  8551. .digest = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
  8552. "\xf0\xef\xca\x96\x22\x7a\x86\x3e",
  8553. }, { /* Test Vector #3 */
  8554. .plaintext = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
  8555. "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
  8556. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8557. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8558. "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  8559. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  8560. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  8561. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  8562. "\x64\x65\x64\x20\x62\x79\x20\x74"
  8563. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  8564. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  8565. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  8566. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  8567. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  8568. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  8569. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  8570. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  8571. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  8572. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  8573. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  8574. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  8575. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  8576. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  8577. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  8578. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  8579. "\x45\x54\x46\x20\x61\x63\x74\x69"
  8580. "\x76\x69\x74\x79\x20\x69\x73\x20"
  8581. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  8582. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  8583. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  8584. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  8585. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  8586. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  8587. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  8588. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  8589. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  8590. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  8591. "\x54\x46\x20\x73\x65\x73\x73\x69"
  8592. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  8593. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  8594. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  8595. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  8596. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  8597. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  8598. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  8599. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  8600. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  8601. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  8602. "\x20\x77\x68\x69\x63\x68\x20\x61"
  8603. "\x72\x65\x20\x61\x64\x64\x72\x65"
  8604. "\x73\x73\x65\x64\x20\x74\x6f",
  8605. .psize = 407,
  8606. .digest = "\xf3\x47\x7e\x7c\xd9\x54\x17\xaf"
  8607. "\x89\xa6\xb8\x79\x4c\x31\x0c\xf0",
  8608. }, { /* Test Vector #4 */
  8609. .plaintext = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  8610. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  8611. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  8612. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
  8613. "\x27\x54\x77\x61\x73\x20\x62\x72"
  8614. "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
  8615. "\x6e\x64\x20\x74\x68\x65\x20\x73"
  8616. "\x6c\x69\x74\x68\x79\x20\x74\x6f"
  8617. "\x76\x65\x73\x0a\x44\x69\x64\x20"
  8618. "\x67\x79\x72\x65\x20\x61\x6e\x64"
  8619. "\x20\x67\x69\x6d\x62\x6c\x65\x20"
  8620. "\x69\x6e\x20\x74\x68\x65\x20\x77"
  8621. "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
  8622. "\x20\x6d\x69\x6d\x73\x79\x20\x77"
  8623. "\x65\x72\x65\x20\x74\x68\x65\x20"
  8624. "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
  8625. "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
  8626. "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
  8627. "\x72\x61\x74\x68\x73\x20\x6f\x75"
  8628. "\x74\x67\x72\x61\x62\x65\x2e",
  8629. .psize = 159,
  8630. .digest = "\x45\x41\x66\x9a\x7e\xaa\xee\x61"
  8631. "\xe7\x08\xdc\x7c\xbc\xc5\xeb\x62",
  8632. }, { /* Test Vector #5 */
  8633. .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
  8634. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8635. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8636. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8637. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8638. "\xff\xff\xff\xff\xff\xff\xff\xff",
  8639. .psize = 48,
  8640. .digest = "\x03\x00\x00\x00\x00\x00\x00\x00"
  8641. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8642. }, { /* Test Vector #6 */
  8643. .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
  8644. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8645. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8646. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8647. "\x02\x00\x00\x00\x00\x00\x00\x00"
  8648. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8649. .psize = 48,
  8650. .digest = "\x03\x00\x00\x00\x00\x00\x00\x00"
  8651. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8652. }, { /* Test Vector #7 */
  8653. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  8654. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8655. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8656. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8657. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8658. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8659. "\xf0\xff\xff\xff\xff\xff\xff\xff"
  8660. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8661. "\x11\x00\x00\x00\x00\x00\x00\x00"
  8662. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8663. .psize = 80,
  8664. .digest = "\x05\x00\x00\x00\x00\x00\x00\x00"
  8665. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8666. }, { /* Test Vector #8 */
  8667. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  8668. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8669. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8670. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8671. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8672. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8673. "\xfb\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  8674. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  8675. "\x01\x01\x01\x01\x01\x01\x01\x01"
  8676. "\x01\x01\x01\x01\x01\x01\x01\x01",
  8677. .psize = 80,
  8678. .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
  8679. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8680. }, { /* Test Vector #9 */
  8681. .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
  8682. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8683. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8684. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8685. "\xfd\xff\xff\xff\xff\xff\xff\xff"
  8686. "\xff\xff\xff\xff\xff\xff\xff\xff",
  8687. .psize = 48,
  8688. .digest = "\xfa\xff\xff\xff\xff\xff\xff\xff"
  8689. "\xff\xff\xff\xff\xff\xff\xff\xff",
  8690. }, { /* Test Vector #10 */
  8691. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  8692. "\x04\x00\x00\x00\x00\x00\x00\x00"
  8693. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8694. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8695. "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
  8696. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8697. "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
  8698. "\x01\x00\x00\x00\x00\x00\x00\x00"
  8699. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8700. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8701. "\x01\x00\x00\x00\x00\x00\x00\x00"
  8702. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8703. .psize = 96,
  8704. .digest = "\x14\x00\x00\x00\x00\x00\x00\x00"
  8705. "\x55\x00\x00\x00\x00\x00\x00\x00",
  8706. }, { /* Test Vector #11 */
  8707. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  8708. "\x04\x00\x00\x00\x00\x00\x00\x00"
  8709. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8710. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8711. "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
  8712. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8713. "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
  8714. "\x01\x00\x00\x00\x00\x00\x00\x00"
  8715. "\x00\x00\x00\x00\x00\x00\x00\x00"
  8716. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8717. .psize = 80,
  8718. .digest = "\x13\x00\x00\x00\x00\x00\x00\x00"
  8719. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8720. }, { /* Regression test for overflow in AVX2 implementation */
  8721. .plaintext = "\xff\xff\xff\xff\xff\xff\xff\xff"
  8722. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8723. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8724. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8725. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8726. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8727. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8728. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8729. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8730. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8731. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8732. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8733. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8734. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8735. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8736. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8737. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8738. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8739. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8740. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8741. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8742. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8743. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8744. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8745. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8746. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8747. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8748. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8749. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8750. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8751. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8752. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8753. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8754. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8755. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8756. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8757. "\xff\xff\xff\xff\xff\xff\xff\xff"
  8758. "\xff\xff\xff\xff",
  8759. .psize = 300,
  8760. .digest = "\xfb\x5e\x96\xd8\x61\xd5\xc7\xc8"
  8761. "\x78\xe5\x87\xcc\x2d\x5a\x22\xe1",
  8762. }
  8763. };
  8764. /* NHPoly1305 test vectors from https://github.com/google/adiantum */
  8765. static const struct hash_testvec nhpoly1305_tv_template[] = {
  8766. {
  8767. .key = "\xd2\x5d\x4c\xdd\x8d\x2b\x7f\x7a"
  8768. "\xd9\xbe\x71\xec\xd1\x83\x52\xe3"
  8769. "\xe1\xad\xd7\x5c\x0a\x75\x9d\xec"
  8770. "\x1d\x13\x7e\x5d\x71\x07\xc9\xe4"
  8771. "\x57\x2d\x44\x68\xcf\xd8\xd6\xc5"
  8772. "\x39\x69\x7d\x32\x75\x51\x4f\x7e"
  8773. "\xb2\x4c\xc6\x90\x51\x6e\xd9\xd6"
  8774. "\xa5\x8b\x2d\xf1\x94\xf9\xf7\x5e"
  8775. "\x2c\x84\x7b\x41\x0f\x88\x50\x89"
  8776. "\x30\xd9\xa1\x38\x46\x6c\xc0\x4f"
  8777. "\xe8\xdf\xdc\x66\xab\x24\x43\x41"
  8778. "\x91\x55\x29\x65\x86\x28\x5e\x45"
  8779. "\xd5\x2d\xb7\x80\x08\x9a\xc3\xd4"
  8780. "\x9a\x77\x0a\xd4\xef\x3e\xe6\x3f"
  8781. "\x6f\x2f\x9b\x3a\x7d\x12\x1e\x80"
  8782. "\x6c\x44\xa2\x25\xe1\xf6\x60\xe9"
  8783. "\x0d\xaf\xc5\x3c\xa5\x79\xae\x64"
  8784. "\xbc\xa0\x39\xa3\x4d\x10\xe5\x4d"
  8785. "\xd5\xe7\x89\x7a\x13\xee\x06\x78"
  8786. "\xdc\xa4\xdc\x14\x27\xe6\x49\x38"
  8787. "\xd0\xe0\x45\x25\x36\xc5\xf4\x79"
  8788. "\x2e\x9a\x98\x04\xe4\x2b\x46\x52"
  8789. "\x7c\x33\xca\xe2\x56\x51\x50\xe2"
  8790. "\xa5\x9a\xae\x18\x6a\x13\xf8\xd2"
  8791. "\x21\x31\x66\x02\xe2\xda\x8d\x7e"
  8792. "\x41\x19\xb2\x61\xee\x48\x8f\xf1"
  8793. "\x65\x24\x2e\x1e\x68\xce\x05\xd9"
  8794. "\x2a\xcf\xa5\x3a\x57\xdd\x35\x91"
  8795. "\x93\x01\xca\x95\xfc\x2b\x36\x04"
  8796. "\xe6\x96\x97\x28\xf6\x31\xfe\xa3"
  8797. "\x9d\xf6\x6a\x1e\x80\x8d\xdc\xec"
  8798. "\xaf\x66\x11\x13\x02\x88\xd5\x27"
  8799. "\x33\xb4\x1a\xcd\xa3\xf6\xde\x31"
  8800. "\x8e\xc0\x0e\x6c\xd8\x5a\x97\x5e"
  8801. "\xdd\xfd\x60\x69\x38\x46\x3f\x90"
  8802. "\x5e\x97\xd3\x32\x76\xc7\x82\x49"
  8803. "\xfe\xba\x06\x5f\x2f\xa2\xfd\xff"
  8804. "\x80\x05\x40\xe4\x33\x03\xfb\x10"
  8805. "\xc0\xde\x65\x8c\xc9\x8d\x3a\x9d"
  8806. "\xb5\x7b\x36\x4b\xb5\x0c\xcf\x00"
  8807. "\x9c\x87\xe4\x49\xad\x90\xda\x4a"
  8808. "\xdd\xbd\xff\xe2\x32\x57\xd6\x78"
  8809. "\x36\x39\x6c\xd3\x5b\x9b\x88\x59"
  8810. "\x2d\xf0\x46\xe4\x13\x0e\x2b\x35"
  8811. "\x0d\x0f\x73\x8a\x4f\x26\x84\x75"
  8812. "\x88\x3c\xc5\x58\x66\x18\x1a\xb4"
  8813. "\x64\x51\x34\x27\x1b\xa4\x11\xc9"
  8814. "\x6d\x91\x8a\xfa\x32\x60\x9d\xd7"
  8815. "\x87\xe5\xaa\x43\x72\xf8\xda\xd1"
  8816. "\x48\x44\x13\x61\xdc\x8c\x76\x17"
  8817. "\x0c\x85\x4e\xf3\xdd\xa2\x42\xd2"
  8818. "\x74\xc1\x30\x1b\xeb\x35\x31\x29"
  8819. "\x5b\xd7\x4c\x94\x46\x35\xa1\x23"
  8820. "\x50\xf2\xa2\x8e\x7e\x4f\x23\x4f"
  8821. "\x51\xff\xe2\xc9\xa3\x7d\x56\x8b"
  8822. "\x41\xf2\xd0\xc5\x57\x7e\x59\xac"
  8823. "\xbb\x65\xf3\xfe\xf7\x17\xef\x63"
  8824. "\x7c\x6f\x23\xdd\x22\x8e\xed\x84"
  8825. "\x0e\x3b\x09\xb3\xf3\xf4\x8f\xcd"
  8826. "\x37\xa8\xe1\xa7\x30\xdb\xb1\xa2"
  8827. "\x9c\xa2\xdf\x34\x17\x3e\x68\x44"
  8828. "\xd0\xde\x03\x50\xd1\x48\x6b\x20"
  8829. "\xe2\x63\x45\xa5\xea\x87\xc2\x42"
  8830. "\x95\x03\x49\x05\xed\xe0\x90\x29"
  8831. "\x1a\xb8\xcf\x9b\x43\xcf\x29\x7a"
  8832. "\x63\x17\x41\x9f\xe0\xc9\x10\xfd"
  8833. "\x2c\x56\x8c\x08\x55\xb4\xa9\x27"
  8834. "\x0f\x23\xb1\x05\x6a\x12\x46\xc7"
  8835. "\xe1\xfe\x28\x93\x93\xd7\x2f\xdc"
  8836. "\x98\x30\xdb\x75\x8a\xbe\x97\x7a"
  8837. "\x02\xfb\x8c\xba\xbe\x25\x09\xbe"
  8838. "\xce\xcb\xa2\xef\x79\x4d\x0e\x9d"
  8839. "\x1b\x9d\xb6\x39\x34\x38\xfa\x07"
  8840. "\xec\xe8\xfc\x32\x85\x1d\xf7\x85"
  8841. "\x63\xc3\x3c\xc0\x02\x75\xd7\x3f"
  8842. "\xb2\x68\x60\x66\x65\x81\xc6\xb1"
  8843. "\x42\x65\x4b\x4b\x28\xd7\xc7\xaa"
  8844. "\x9b\xd2\xdc\x1b\x01\xe0\x26\x39"
  8845. "\x01\xc1\x52\x14\xd1\x3f\xb7\xe6"
  8846. "\x61\x41\xc7\x93\xd2\xa2\x67\xc6"
  8847. "\xf7\x11\xb5\xf5\xea\xdd\x19\xfb"
  8848. "\x4d\x21\x12\xd6\x7d\xf1\x10\xb0"
  8849. "\x89\x07\xc7\x5a\x52\x73\x70\x2f"
  8850. "\x32\xef\x65\x2b\x12\xb2\xf0\xf5"
  8851. "\x20\xe0\x90\x59\x7e\x64\xf1\x4c"
  8852. "\x41\xb3\xa5\x91\x08\xe6\x5e\x5f"
  8853. "\x05\x56\x76\xb4\xb0\xcd\x70\x53"
  8854. "\x10\x48\x9c\xff\xc2\x69\x55\x24"
  8855. "\x87\xef\x84\xea\xfb\xa7\xbf\xa0"
  8856. "\x91\x04\xad\x4f\x8b\x57\x54\x4b"
  8857. "\xb6\xe9\xd1\xac\x37\x2f\x1d\x2e"
  8858. "\xab\xa5\xa4\xe8\xff\xfb\xd9\x39"
  8859. "\x2f\xb7\xac\xd1\xfe\x0b\x9a\x80"
  8860. "\x0f\xb6\xf4\x36\x39\x90\x51\xe3"
  8861. "\x0a\x2f\xb6\x45\x76\x89\xcd\x61"
  8862. "\xfe\x48\x5f\x75\x1d\x13\x00\x62"
  8863. "\x80\x24\x47\xe7\xbc\x37\xd7\xe3"
  8864. "\x15\xe8\x68\x22\xaf\x80\x6f\x4b"
  8865. "\xa8\x9f\x01\x10\x48\x14\xc3\x02"
  8866. "\x52\xd2\xc7\x75\x9b\x52\x6d\x30"
  8867. "\xac\x13\x85\xc8\xf7\xa3\x58\x4b"
  8868. "\x49\xf7\x1c\x45\x55\x8c\x39\x9a"
  8869. "\x99\x6d\x97\x27\x27\xe6\xab\xdd"
  8870. "\x2c\x42\x1b\x35\xdd\x9d\x73\xbb"
  8871. "\x6c\xf3\x64\xf1\xfb\xb9\xf7\xe6"
  8872. "\x4a\x3c\xc0\x92\xc0\x2e\xb7\x1a"
  8873. "\xbe\xab\xb3\x5a\xe5\xea\xb1\x48"
  8874. "\x58\x13\x53\x90\xfd\xc3\x8e\x54"
  8875. "\xf9\x18\x16\x73\xe8\xcb\x6d\x39"
  8876. "\x0e\xd7\xe0\xfe\xb6\x9f\x43\x97"
  8877. "\xe8\xd0\x85\x56\x83\x3e\x98\x68"
  8878. "\x7f\xbd\x95\xa8\x9a\x61\x21\x8f"
  8879. "\x06\x98\x34\xa6\xc8\xd6\x1d\xf3"
  8880. "\x3d\x43\xa4\x9a\x8c\xe5\xd3\x5a"
  8881. "\x32\xa2\x04\x22\xa4\x19\x1a\x46"
  8882. "\x42\x7e\x4d\xe5\xe0\xe6\x0e\xca"
  8883. "\xd5\x58\x9d\x2c\xaf\xda\x33\x5c"
  8884. "\xb0\x79\x9e\xc9\xfc\xca\xf0\x2f"
  8885. "\xa8\xb2\x77\xeb\x7a\xa2\xdd\x37"
  8886. "\x35\x83\x07\xd6\x02\x1a\xb6\x6c"
  8887. "\x24\xe2\x59\x08\x0e\xfd\x3e\x46"
  8888. "\xec\x40\x93\xf4\x00\x26\x4f\x2a"
  8889. "\xff\x47\x2f\xeb\x02\x92\x26\x5b"
  8890. "\x53\x17\xc2\x8d\x2a\xc7\xa3\x1b"
  8891. "\xcd\xbc\xa7\xe8\xd1\x76\xe3\x80"
  8892. "\x21\xca\x5d\x3b\xe4\x9c\x8f\xa9"
  8893. "\x5b\x7f\x29\x7f\x7c\xd8\xed\x6d"
  8894. "\x8c\xb2\x86\x85\xe7\x77\xf2\x85"
  8895. "\xab\x38\xa9\x9d\xc1\x4e\xc5\x64"
  8896. "\x33\x73\x8b\x59\x03\xad\x05\xdf"
  8897. "\x25\x98\x31\xde\xef\x13\xf1\x9b"
  8898. "\x3c\x91\x9d\x7b\xb1\xfa\xe6\xbf"
  8899. "\x5b\xed\xa5\x55\xe6\xea\x6c\x74"
  8900. "\xf4\xb9\xe4\x45\x64\x72\x81\xc2"
  8901. "\x4c\x28\xd4\xcd\xac\xe2\xde\xf9"
  8902. "\xeb\x5c\xeb\x61\x60\x5a\xe5\x28",
  8903. .ksize = 1088,
  8904. .plaintext = "",
  8905. .psize = 0,
  8906. .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
  8907. "\x00\x00\x00\x00\x00\x00\x00\x00",
  8908. }, {
  8909. .key = "\x29\x21\x43\xcb\xcb\x13\x07\xde"
  8910. "\xbf\x48\xdf\x8a\x7f\xa2\x84\xde"
  8911. "\x72\x23\x9d\xf5\xf0\x07\xf2\x4c"
  8912. "\x20\x3a\x93\xb9\xcd\x5d\xfe\xcb"
  8913. "\x99\x2c\x2b\x58\xc6\x50\x5f\x94"
  8914. "\x56\xc3\x7c\x0d\x02\x3f\xb8\x5e"
  8915. "\x7b\xc0\x6c\x51\x34\x76\xc0\x0e"
  8916. "\xc6\x22\xc8\x9e\x92\xa0\x21\xc9"
  8917. "\x85\x5c\x7c\xf8\xe2\x64\x47\xc9"
  8918. "\xe4\xa2\x57\x93\xf8\xa2\x69\xcd"
  8919. "\x62\x98\x99\xf4\xd7\x7b\x14\xb1"
  8920. "\xd8\x05\xff\x04\x15\xc9\xe1\x6e"
  8921. "\x9b\xe6\x50\x6b\x0b\x3f\x22\x1f"
  8922. "\x08\xde\x0c\x5b\x08\x7e\xc6\x2f"
  8923. "\x6c\xed\xd6\xb2\x15\xa4\xb3\xf9"
  8924. "\xa7\x46\x38\x2a\xea\x69\xa5\xde"
  8925. "\x02\xc3\x96\x89\x4d\x55\x3b\xed"
  8926. "\x3d\x3a\x85\x77\xbf\x97\x45\x5c"
  8927. "\x9e\x02\x69\xe2\x1b\x68\xbe\x96"
  8928. "\xfb\x64\x6f\x0f\xf6\x06\x40\x67"
  8929. "\xfa\x04\xe3\x55\xfa\xbe\xa4\x60"
  8930. "\xef\x21\x66\x97\xe6\x9d\x5c\x1f"
  8931. "\x62\x37\xaa\x31\xde\xe4\x9c\x28"
  8932. "\x95\xe0\x22\x86\xf4\x4d\xf3\x07"
  8933. "\xfd\x5f\x3a\x54\x2c\x51\x80\x71"
  8934. "\xba\x78\x69\x5b\x65\xab\x1f\x81"
  8935. "\xed\x3b\xff\x34\xa3\xfb\xbc\x73"
  8936. "\x66\x7d\x13\x7f\xdf\x6e\xe2\xe2"
  8937. "\xeb\x4f\x6c\xda\x7d\x33\x57\xd0"
  8938. "\xd3\x7c\x95\x4f\x33\x58\x21\xc7"
  8939. "\xc0\xe5\x6f\x42\x26\xc6\x1f\x5e"
  8940. "\x85\x1b\x98\x9a\xa2\x1e\x55\x77"
  8941. "\x23\xdf\x81\x5e\x79\x55\x05\xfc"
  8942. "\xfb\xda\xee\xba\x5a\xba\xf7\x77"
  8943. "\x7f\x0e\xd3\xe1\x37\xfe\x8d\x2b"
  8944. "\xd5\x3f\xfb\xd0\xc0\x3c\x0b\x3f"
  8945. "\xcf\x3c\x14\xcf\xfb\x46\x72\x4c"
  8946. "\x1f\x39\xe2\xda\x03\x71\x6d\x23"
  8947. "\xef\x93\xcd\x39\xd9\x37\x80\x4d"
  8948. "\x65\x61\xd1\x2c\x03\xa9\x47\x72"
  8949. "\x4d\x1e\x0e\x16\x33\x0f\x21\x17"
  8950. "\xec\x92\xea\x6f\x37\x22\xa4\xd8"
  8951. "\x03\x33\x9e\xd8\x03\x69\x9a\xe8"
  8952. "\xb2\x57\xaf\x78\x99\x05\x12\xab"
  8953. "\x48\x90\x80\xf0\x12\x9b\x20\x64"
  8954. "\x7a\x1d\x47\x5f\xba\x3c\xf9\xc3"
  8955. "\x0a\x0d\x8d\xa1\xf9\x1b\x82\x13"
  8956. "\x3e\x0d\xec\x0a\x83\xc0\x65\xe1"
  8957. "\xe9\x95\xff\x97\xd6\xf2\xe4\xd5"
  8958. "\x86\xc0\x1f\x29\x27\x63\xd7\xde"
  8959. "\xb7\x0a\x07\x99\x04\x2d\xa3\x89"
  8960. "\xa2\x43\xcf\xf3\xe1\x43\xac\x4a"
  8961. "\x06\x97\xd0\x05\x4f\x87\xfa\xf9"
  8962. "\x9b\xbf\x52\x70\xbd\xbc\x6c\xf3"
  8963. "\x03\x13\x60\x41\x28\x09\xec\xcc"
  8964. "\xb1\x1a\xec\xd6\xfb\x6f\x2a\x89"
  8965. "\x5d\x0b\x53\x9c\x59\xc1\x84\x21"
  8966. "\x33\x51\x47\x19\x31\x9c\xd4\x0a"
  8967. "\x4d\x04\xec\x50\x90\x61\xbd\xbc"
  8968. "\x7e\xc8\xd9\x6c\x98\x1d\x45\x41"
  8969. "\x17\x5e\x97\x1c\xc5\xa8\xe8\xea"
  8970. "\x46\x58\x53\xf7\x17\xd5\xad\x11"
  8971. "\xc8\x54\xf5\x7a\x33\x90\xf5\x19"
  8972. "\xba\x36\xb4\xfc\x52\xa5\x72\x3d"
  8973. "\x14\xbb\x55\xa7\xe9\xe3\x12\xf7"
  8974. "\x1c\x30\xa2\x82\x03\xbf\x53\x91"
  8975. "\x2e\x60\x41\x9f\x5b\x69\x39\xf6"
  8976. "\x4d\xc8\xf8\x46\x7a\x7f\xa4\x98"
  8977. "\x36\xff\x06\xcb\xca\xe7\x33\xf2"
  8978. "\xc0\x4a\xf4\x3c\x14\x44\x5f\x6b"
  8979. "\x75\xef\x02\x36\x75\x08\x14\xfd"
  8980. "\x10\x8e\xa5\x58\xd0\x30\x46\x49"
  8981. "\xaf\x3a\xf8\x40\x3d\x35\xdb\x84"
  8982. "\x11\x2e\x97\x6a\xb7\x87\x7f\xad"
  8983. "\xf1\xfa\xa5\x63\x60\xd8\x5e\xbf"
  8984. "\x41\x78\x49\xcf\x77\xbb\x56\xbb"
  8985. "\x7d\x01\x67\x05\x22\xc8\x8f\x41"
  8986. "\xba\x81\xd2\xca\x2c\x38\xac\x76"
  8987. "\x06\xc1\x1a\xc2\xce\xac\x90\x67"
  8988. "\x57\x3e\x20\x12\x5b\xd9\x97\x58"
  8989. "\x65\x05\xb7\x04\x61\x7e\xd8\x3a"
  8990. "\xbf\x55\x3b\x13\xe9\x34\x5a\x37"
  8991. "\x36\xcb\x94\x45\xc5\x32\xb3\xa0"
  8992. "\x0c\x3e\x49\xc5\xd3\xed\xa7\xf0"
  8993. "\x1c\x69\xcc\xea\xcc\x83\xc9\x16"
  8994. "\x95\x72\x4b\xf4\x89\xd5\xb9\x10"
  8995. "\xf6\x2d\x60\x15\xea\x3c\x06\x66"
  8996. "\x9f\x82\xad\x17\xce\xd2\xa4\x48"
  8997. "\x7c\x65\xd9\xf8\x02\x4d\x9b\x4c"
  8998. "\x89\x06\x3a\x34\x85\x48\x89\x86"
  8999. "\xf9\x24\xa9\x54\x72\xdb\x44\x95"
  9000. "\xc7\x44\x1c\x19\x11\x4c\x04\xdc"
  9001. "\x13\xb9\x67\xc8\xc3\x3a\x6a\x50"
  9002. "\xfa\xd1\xfb\xe1\x88\xb6\xf1\xa3"
  9003. "\xc5\x3b\xdc\x38\x45\x16\x26\x02"
  9004. "\x3b\xb8\x8f\x8b\x58\x7d\x23\x04"
  9005. "\x50\x6b\x81\x9f\xae\x66\xac\x6f"
  9006. "\xcf\x2a\x9d\xf1\xfd\x1d\x57\x07"
  9007. "\xbe\x58\xeb\x77\x0c\xe3\xc2\x19"
  9008. "\x14\x74\x1b\x51\x1c\x4f\x41\xf3"
  9009. "\x32\x89\xb3\xe7\xde\x62\xf6\x5f"
  9010. "\xc7\x6a\x4a\x2a\x5b\x0f\x5f\x87"
  9011. "\x9c\x08\xb9\x02\x88\xc8\x29\xb7"
  9012. "\x94\x52\xfa\x52\xfe\xaa\x50\x10"
  9013. "\xba\x48\x75\x5e\x11\x1b\xe6\x39"
  9014. "\xd7\x82\x2c\x87\xf1\x1e\xa4\x38"
  9015. "\x72\x3e\x51\xe7\xd8\x3e\x5b\x7b"
  9016. "\x31\x16\x89\xba\xd6\xad\x18\x5e"
  9017. "\xba\xf8\x12\xb3\xf4\x6c\x47\x30"
  9018. "\xc0\x38\x58\xb3\x10\x8d\x58\x5d"
  9019. "\xb4\xfb\x19\x7e\x41\xc3\x66\xb8"
  9020. "\xd6\x72\x84\xe1\x1a\xc2\x71\x4c"
  9021. "\x0d\x4a\x21\x7a\xab\xa2\xc0\x36"
  9022. "\x15\xc5\xe9\x46\xd7\x29\x17\x76"
  9023. "\x5e\x47\x36\x7f\x72\x05\xa7\xcc"
  9024. "\x36\x63\xf9\x47\x7d\xe6\x07\x3c"
  9025. "\x8b\x79\x1d\x96\x61\x8d\x90\x65"
  9026. "\x7c\xf5\xeb\x4e\x6e\x09\x59\x6d"
  9027. "\x62\x50\x1b\x0f\xe0\xdc\x78\xf2"
  9028. "\x5b\x83\x1a\xa1\x11\x75\xfd\x18"
  9029. "\xd7\xe2\x8d\x65\x14\x21\xce\xbe"
  9030. "\xb5\x87\xe3\x0a\xda\x24\x0a\x64"
  9031. "\xa9\x9f\x03\x8d\x46\x5d\x24\x1a"
  9032. "\x8a\x0c\x42\x01\xca\xb1\x5f\x7c"
  9033. "\xa5\xac\x32\x4a\xb8\x07\x91\x18"
  9034. "\x6f\xb0\x71\x3c\xc9\xb1\xa8\xf8"
  9035. "\x5f\x69\xa5\xa1\xca\x9e\x7a\xaa"
  9036. "\xac\xe9\xc7\x47\x41\x75\x25\xc3"
  9037. "\x73\xe2\x0b\xdd\x6d\x52\x71\xbe"
  9038. "\xc5\xdc\xb4\xe7\x01\x26\x53\x77"
  9039. "\x86\x90\x85\x68\x6b\x7b\x03\x53"
  9040. "\xda\x52\x52\x51\x68\xc8\xf3\xec"
  9041. "\x6c\xd5\x03\x7a\xa3\x0e\xb4\x02"
  9042. "\x5f\x1a\xab\xee\xca\x67\x29\x7b"
  9043. "\xbd\x96\x59\xb3\x8b\x32\x7a\x92"
  9044. "\x9f\xd8\x25\x2b\xdf\xc0\x4c\xda",
  9045. .ksize = 1088,
  9046. .plaintext = "\xbc\xda\x81\xa8\x78\x79\x1c\xbf"
  9047. "\x77\x53\xba\x4c\x30\x5b\xb8\x33",
  9048. .psize = 16,
  9049. .digest = "\x04\xbf\x7f\x6a\xce\x72\xea\x6a"
  9050. "\x79\xdb\xb0\xc9\x60\xf6\x12\xcc",
  9051. }, {
  9052. .key = "\x2e\x77\x1e\x2c\x63\x76\x34\x3f"
  9053. "\x71\x08\x4f\x5a\xe3\x3d\x74\x56"
  9054. "\xc7\x98\x46\x52\xe5\x8a\xba\x0d"
  9055. "\x72\x41\x11\x15\x14\x72\x50\x8a"
  9056. "\xd5\xec\x60\x09\xdd\x71\xcc\xb9"
  9057. "\x59\x81\x65\x2d\x9e\x50\x18\xf3"
  9058. "\x32\xf3\xf1\xe7\x01\x82\x1c\xad"
  9059. "\x88\xa0\x21\x0c\x4b\x80\x5e\x62"
  9060. "\xfc\x81\xec\x52\xaa\xe4\xa5\x86"
  9061. "\xc2\xe6\x03\x11\xdc\x66\x09\x86"
  9062. "\x3c\x3b\xf0\x59\x0f\xb3\xf7\x44"
  9063. "\x24\xb7\x88\xc5\xfc\xc8\x77\x9f"
  9064. "\x8c\x44\xc4\x11\x55\xce\x7a\xa3"
  9065. "\xe0\xa2\xb8\xbf\xb5\x3d\x07\x2c"
  9066. "\x32\xb6\x6c\xfc\xb4\x42\x95\x95"
  9067. "\x98\x32\x81\xc4\xe7\xe2\xd9\x6a"
  9068. "\x87\xf4\xf4\x1e\x74\x7c\xb5\xcd"
  9069. "\x51\x45\x68\x38\x51\xdb\x30\x74"
  9070. "\x11\xe0\xaa\xae\x19\x8f\x15\x55"
  9071. "\xdd\x47\x4a\x35\xb9\x0c\xb4\x4e"
  9072. "\xa9\xce\x2f\xfa\x8f\xc1\x8a\x5e"
  9073. "\x5b\xec\xa5\x81\x3b\xb3\x43\x06"
  9074. "\x24\x81\xf4\x24\xe2\x21\xfa\xcb"
  9075. "\x49\xa8\xf8\xbd\x31\x4a\x5b\x2d"
  9076. "\x64\x0a\x07\xf0\x80\xc9\x0d\x81"
  9077. "\x14\x58\x54\x2b\xba\x22\x31\xba"
  9078. "\xef\x66\xc9\x49\x69\x69\x83\x0d"
  9079. "\xf2\xf9\x80\x9d\x30\x36\xfb\xe3"
  9080. "\xc0\x72\x2b\xcc\x5a\x81\x2c\x5d"
  9081. "\x3b\x5e\xf8\x2b\xd3\x14\x28\x73"
  9082. "\xf9\x1c\x70\xe6\xd8\xbb\xac\x30"
  9083. "\xf9\xd9\xa0\xe2\x33\x7c\x33\x34"
  9084. "\xa5\x6a\x77\x6d\xd5\xaf\xf4\xf3"
  9085. "\xc7\xb3\x0e\x83\x3d\xcb\x01\xcc"
  9086. "\x81\xc0\xf9\x4a\xae\x36\x92\xf7"
  9087. "\x69\x7b\x65\x01\xc3\xc8\xb8\xae"
  9088. "\x16\xd8\x30\xbb\xba\x6d\x78\x6e"
  9089. "\x0d\xf0\x7d\x84\xb7\x87\xda\x28"
  9090. "\x7a\x18\x10\x0b\x29\xec\x29\xf3"
  9091. "\xb0\x7b\xa1\x28\xbf\xbc\x2b\x2c"
  9092. "\x92\x2c\x16\xfb\x02\x39\xf9\xa6"
  9093. "\xa2\x15\x05\xa6\x72\x10\xbc\x62"
  9094. "\x4a\x6e\xb8\xb5\x5d\x59\xae\x3c"
  9095. "\x32\xd3\x68\xd7\x8e\x5a\xcd\x1b"
  9096. "\xef\xf6\xa7\x5e\x10\x51\x15\x4b"
  9097. "\x2c\xe3\xba\x70\x4f\x2c\xa0\x1c"
  9098. "\x7b\x97\xd7\xb2\xa5\x05\x17\xcc"
  9099. "\xf7\x3a\x29\x6f\xd5\x4b\xb8\x24"
  9100. "\xf4\x65\x95\x12\xc0\x86\xd1\x64"
  9101. "\x81\xdf\x46\x55\x0d\x22\x06\x77"
  9102. "\xd8\xca\x8d\xc8\x87\xc3\xfa\xb9"
  9103. "\xe1\x98\x94\xe6\x7b\xed\x65\x66"
  9104. "\x0e\xc7\x25\x15\xee\x4a\xe6\x7e"
  9105. "\xea\x1b\x58\xee\x96\xa0\x75\x9a"
  9106. "\xa3\x00\x9e\x42\xc2\x26\x20\x8c"
  9107. "\x3d\x22\x1f\x94\x3e\x74\x43\x72"
  9108. "\xe9\x1d\xa6\xa1\x6c\xa7\xb8\x03"
  9109. "\xdf\xb9\x7a\xaf\xe9\xe9\x3b\xfe"
  9110. "\xdf\x91\xc1\x01\xa8\xba\x5d\x29"
  9111. "\xa5\xe0\x98\x9b\x13\xe5\x13\x11"
  9112. "\x7c\x04\x3a\xe8\x44\x7e\x78\xfc"
  9113. "\xd6\x96\xa8\xbc\x7d\xc1\x89\x3d"
  9114. "\x75\x64\xa9\x0e\x86\x33\xfb\x73"
  9115. "\xf7\x15\xbc\x2c\x9a\x3f\x29\xce"
  9116. "\x1c\x9d\x10\x4e\x85\xe1\x77\x41"
  9117. "\x01\xe2\xbc\x88\xec\x81\xef\xc2"
  9118. "\x6a\xed\x4f\xf7\xdf\xac\x10\x71"
  9119. "\x94\xed\x71\xa4\x01\xd4\xd6\xbe"
  9120. "\xfe\x3e\xc3\x92\x6a\xf2\x2b\xb5"
  9121. "\xab\x15\x96\xb7\x88\x2c\xc2\xe1"
  9122. "\xb0\x04\x22\xe7\x3d\xa9\xc9\x7d"
  9123. "\x2c\x7c\x21\xff\x97\x86\x6b\x0c"
  9124. "\x2b\x5b\xe0\xb6\x48\x74\x8f\x24"
  9125. "\xef\x8e\xdd\x0f\x2a\x5f\xff\x33"
  9126. "\xf4\x8e\xc5\xeb\x9c\xd7\x2a\x45"
  9127. "\xf3\x50\xf1\xc0\x91\x8f\xc7\xf9"
  9128. "\x97\xc1\x3c\x9c\xf4\xed\x8a\x23"
  9129. "\x61\x5b\x40\x1a\x09\xee\x23\xa8"
  9130. "\x7c\x7a\x96\xe1\x31\x55\x3d\x12"
  9131. "\x04\x1f\x21\x78\x72\xf0\x0f\xa5"
  9132. "\x80\x58\x7c\x2f\x37\xb5\x67\x24"
  9133. "\x2f\xce\xf9\xf6\x86\x9f\xb3\x34"
  9134. "\x0c\xfe\x0a\xaf\x27\xe6\x5e\x0a"
  9135. "\x21\x44\x68\xe1\x5d\x84\x25\xae"
  9136. "\x2c\x5a\x94\x66\x9a\x3f\x0e\x5a"
  9137. "\xd0\x60\x2a\xd5\x3a\x4e\x2f\x40"
  9138. "\x87\xe9\x27\x3e\xee\x92\xe1\x07"
  9139. "\x22\x43\x52\xed\x67\x49\x13\xdd"
  9140. "\x68\xd7\x54\xc2\x76\x72\x7e\x75"
  9141. "\xaf\x24\x98\x5c\xe8\x22\xaa\x35"
  9142. "\x0f\x9a\x1c\x4c\x0b\x43\x68\x99"
  9143. "\x45\xdd\xbf\x82\xa5\x6f\x0a\xef"
  9144. "\x44\x90\x85\xe7\x57\x23\x22\x41"
  9145. "\x2e\xda\x24\x28\x65\x7f\x96\x85"
  9146. "\x9f\x4b\x0d\x43\xb9\xa8\xbd\x84"
  9147. "\xad\x0b\x09\xcc\x2c\x4a\x0c\xec"
  9148. "\x71\x58\xba\xf1\xfc\x49\x4c\xca"
  9149. "\x5c\x5d\xb2\x77\x0c\x99\xae\x1c"
  9150. "\xce\x70\x05\x5b\x73\x6b\x7c\x28"
  9151. "\x3b\xeb\x21\x3f\xa3\x71\xe1\x6a"
  9152. "\xf4\x87\xd0\xbf\x73\xaa\x0b\x0b"
  9153. "\xed\x70\xb3\xd4\xa3\xca\x76\x3a"
  9154. "\xdb\xfa\xd8\x08\x95\xec\xac\x59"
  9155. "\xd0\x79\x90\xc2\x33\x7b\xcc\x28"
  9156. "\x65\xb6\x5f\x92\xc4\xac\x23\x40"
  9157. "\xd1\x20\x44\x1f\xd7\x29\xab\x46"
  9158. "\x79\x32\xc6\x8f\x79\xe5\xaa\x2c"
  9159. "\xa6\x76\x70\x3a\x9e\x46\x3f\x8c"
  9160. "\x1a\x89\x32\x28\x61\x5c\xcf\x93"
  9161. "\x1e\xde\x9e\x98\xbe\x06\x30\x23"
  9162. "\xc4\x8b\xda\x1c\xd1\x67\x46\x93"
  9163. "\x9d\x41\xa2\x8c\x03\x22\xbd\x55"
  9164. "\x7e\x91\x51\x13\xdc\xcf\x5c\x1e"
  9165. "\xcb\x5d\xfb\x14\x16\x1a\x44\x56"
  9166. "\x27\x77\xfd\xed\x7d\xbd\xd1\x49"
  9167. "\x7f\x0d\xc3\x59\x48\x6b\x3c\x02"
  9168. "\x6b\xb5\xd0\x83\xd5\x81\x29\xe7"
  9169. "\xe0\xc9\x36\x23\x8d\x41\x33\x77"
  9170. "\xff\x5f\x54\xde\x4d\x3f\xd2\x4e"
  9171. "\xb6\x4d\xdd\x85\xf8\x9b\x20\x7d"
  9172. "\x39\x27\x68\x63\xd3\x8e\x61\x39"
  9173. "\xfa\xe1\xc3\x04\x74\x27\x5a\x34"
  9174. "\x7f\xec\x59\x2d\xc5\x6e\x54\x23"
  9175. "\xf5\x7b\x4b\xbe\x58\x2b\xf2\x81"
  9176. "\x93\x63\xcc\x13\xd9\x90\xbb\x6a"
  9177. "\x41\x03\x8d\x95\xeb\xbb\x5d\x06"
  9178. "\x38\x4c\x0e\xd6\xa9\x5b\x84\x97"
  9179. "\x3e\x64\x72\xe9\x96\x07\x0f\x73"
  9180. "\x6e\xc6\x3b\x32\xbe\xac\x13\x14"
  9181. "\xd0\x0a\x17\x5f\xb9\x9c\x3e\x34"
  9182. "\xd9\xec\xd6\x8f\x89\xbf\x1e\xd3"
  9183. "\xda\x80\xb2\x29\xff\x28\x96\xb3"
  9184. "\x46\x50\x5b\x15\x80\x97\xee\x1f"
  9185. "\x6c\xd8\xe8\xe0\xbd\x09\xe7\x20"
  9186. "\x8c\x23\x8e\xd9\xbb\x92\xfa\x82"
  9187. "\xaa\x0f\xb5\xf8\x78\x60\x11\xf0",
  9188. .ksize = 1088,
  9189. .plaintext = "\x0b\xb2\x31\x2d\xad\xfe\xce\xf9"
  9190. "\xec\x5d\x3d\x64\x5f\x3f\x75\x43"
  9191. "\x05\x5b\x97",
  9192. .psize = 19,
  9193. .digest = "\x5f\x02\xae\x65\x6c\x13\x21\x67"
  9194. "\x77\x9e\xc4\x43\x58\x68\xde\x8f",
  9195. }, {
  9196. .key = "\x65\x4d\xe3\xf8\xd2\x4c\xac\x28"
  9197. "\x68\xf5\xb3\x81\x71\x4b\xa1\xfa"
  9198. "\x04\x0e\xd3\x81\x36\xbe\x0c\x81"
  9199. "\x5e\xaf\xbc\x3a\xa4\xc0\x8e\x8b"
  9200. "\x55\x63\xd3\x52\x97\x88\xd6\x19"
  9201. "\xbc\x96\xdf\x49\xff\x04\x63\xf5"
  9202. "\x0c\x11\x13\xaa\x9e\x1f\x5a\xf7"
  9203. "\xdd\xbd\x37\x80\xc3\xd0\xbe\xa7"
  9204. "\x05\xc8\x3c\x98\x1e\x05\x3c\x84"
  9205. "\x39\x61\xc4\xed\xed\x71\x1b\xc4"
  9206. "\x74\x45\x2c\xa1\x56\x70\x97\xfd"
  9207. "\x44\x18\x07\x7d\xca\x60\x1f\x73"
  9208. "\x3b\x6d\x21\xcb\x61\x87\x70\x25"
  9209. "\x46\x21\xf1\x1f\x21\x91\x31\x2d"
  9210. "\x5d\xcc\xb7\xd1\x84\x3e\x3d\xdb"
  9211. "\x03\x53\x2a\x82\xa6\x9a\x95\xbc"
  9212. "\x1a\x1e\x0a\x5e\x07\x43\xab\x43"
  9213. "\xaf\x92\x82\x06\x91\x04\x09\xf4"
  9214. "\x17\x0a\x9a\x2c\x54\xdb\xb8\xf4"
  9215. "\xd0\xf0\x10\x66\x24\x8d\xcd\xda"
  9216. "\xfe\x0e\x45\x9d\x6f\xc4\x4e\xf4"
  9217. "\x96\xaf\x13\xdc\xa9\xd4\x8c\xc4"
  9218. "\xc8\x57\x39\x3c\xc2\xd3\x0a\x76"
  9219. "\x4a\x1f\x75\x83\x44\xc7\xd1\x39"
  9220. "\xd8\xb5\x41\xba\x73\x87\xfa\x96"
  9221. "\xc7\x18\x53\xfb\x9b\xda\xa0\x97"
  9222. "\x1d\xee\x60\x85\x9e\x14\xc3\xce"
  9223. "\xc4\x05\x29\x3b\x95\x30\xa3\xd1"
  9224. "\x9f\x82\x6a\x04\xf5\xa7\x75\x57"
  9225. "\x82\x04\xfe\x71\x51\x71\xb1\x49"
  9226. "\x50\xf8\xe0\x96\xf1\xfa\xa8\x88"
  9227. "\x3f\xa0\x86\x20\xd4\x60\x79\x59"
  9228. "\x17\x2d\xd1\x09\xf4\xec\x05\x57"
  9229. "\xcf\x62\x7e\x0e\x7e\x60\x78\xe6"
  9230. "\x08\x60\x29\xd8\xd5\x08\x1a\x24"
  9231. "\xc4\x6c\x24\xe7\x92\x08\x3d\x8a"
  9232. "\x98\x7a\xcf\x99\x0a\x65\x0e\xdc"
  9233. "\x8c\x8a\xbe\x92\x82\x91\xcc\x62"
  9234. "\x30\xb6\xf4\x3f\xc6\x8a\x7f\x12"
  9235. "\x4a\x8a\x49\xfa\x3f\x5c\xd4\x5a"
  9236. "\xa6\x82\xa3\xe6\xaa\x34\x76\xb2"
  9237. "\xab\x0a\x30\xef\x6c\x77\x58\x3f"
  9238. "\x05\x6b\xcc\x5c\xae\xdc\xd7\xb9"
  9239. "\x51\x7e\x8d\x32\x5b\x24\x25\xbe"
  9240. "\x2b\x24\x01\xcf\x80\xda\x16\xd8"
  9241. "\x90\x72\x2c\xad\x34\x8d\x0c\x74"
  9242. "\x02\xcb\xfd\xcf\x6e\xef\x97\xb5"
  9243. "\x4c\xf2\x68\xca\xde\x43\x9e\x8a"
  9244. "\xc5\x5f\x31\x7f\x14\x71\x38\xec"
  9245. "\xbd\x98\xe5\x71\xc4\xb5\xdb\xef"
  9246. "\x59\xd2\xca\xc0\xc1\x86\x75\x01"
  9247. "\xd4\x15\x0d\x6f\xa4\xf7\x7b\x37"
  9248. "\x47\xda\x18\x93\x63\xda\xbe\x9e"
  9249. "\x07\xfb\xb2\x83\xd5\xc4\x34\x55"
  9250. "\xee\x73\xa1\x42\x96\xf9\x66\x41"
  9251. "\xa4\xcc\xd2\x93\x6e\xe1\x0a\xbb"
  9252. "\xd2\xdd\x18\x23\xe6\x6b\x98\x0b"
  9253. "\x8a\x83\x59\x2c\xc3\xa6\x59\x5b"
  9254. "\x01\x22\x59\xf7\xdc\xb0\x87\x7e"
  9255. "\xdb\x7d\xf4\x71\x41\xab\xbd\xee"
  9256. "\x79\xbe\x3c\x01\x76\x0b\x2d\x0a"
  9257. "\x42\xc9\x77\x8c\xbb\x54\x95\x60"
  9258. "\x43\x2e\xe0\x17\x52\xbd\x90\xc9"
  9259. "\xc2\x2c\xdd\x90\x24\x22\x76\x40"
  9260. "\x5c\xb9\x41\xc9\xa1\xd5\xbd\xe3"
  9261. "\x44\xe0\xa4\xab\xcc\xb8\xe2\x32"
  9262. "\x02\x15\x04\x1f\x8c\xec\x5d\x14"
  9263. "\xac\x18\xaa\xef\x6e\x33\x19\x6e"
  9264. "\xde\xfe\x19\xdb\xeb\x61\xca\x18"
  9265. "\xad\xd8\x3d\xbf\x09\x11\xc7\xa5"
  9266. "\x86\x0b\x0f\xe5\x3e\xde\xe8\xd9"
  9267. "\x0a\x69\x9e\x4c\x20\xff\xf9\xc5"
  9268. "\xfa\xf8\xf3\x7f\xa5\x01\x4b\x5e"
  9269. "\x0f\xf0\x3b\x68\xf0\x46\x8c\x2a"
  9270. "\x7a\xc1\x8f\xa0\xfe\x6a\x5b\x44"
  9271. "\x70\x5c\xcc\x92\x2c\x6f\x0f\xbd"
  9272. "\x25\x3e\xb7\x8e\x73\x58\xda\xc9"
  9273. "\xa5\xaa\x9e\xf3\x9b\xfd\x37\x3e"
  9274. "\xe2\x88\xa4\x7b\xc8\x5c\xa8\x93"
  9275. "\x0e\xe7\x9a\x9c\x2e\x95\x18\x9f"
  9276. "\xc8\x45\x0c\x88\x9e\x53\x4f\x3a"
  9277. "\x76\xc1\x35\xfa\x17\xd8\xac\xa0"
  9278. "\x0c\x2d\x47\x2e\x4f\x69\x9b\xf7"
  9279. "\xd0\xb6\x96\x0c\x19\xb3\x08\x01"
  9280. "\x65\x7a\x1f\xc7\x31\x86\xdb\xc8"
  9281. "\xc1\x99\x8f\xf8\x08\x4a\x9d\x23"
  9282. "\x22\xa8\xcf\x27\x01\x01\x88\x93"
  9283. "\x9c\x86\x45\xbd\xe0\x51\xca\x52"
  9284. "\x84\xba\xfe\x03\xf7\xda\xc5\xce"
  9285. "\x3e\x77\x75\x86\xaf\x84\xc8\x05"
  9286. "\x44\x01\x0f\x02\xf3\x58\xb0\x06"
  9287. "\x5a\xd7\x12\x30\x8d\xdf\x1f\x1f"
  9288. "\x0a\xe6\xd2\xea\xf6\x3a\x7a\x99"
  9289. "\x63\xe8\xd2\xc1\x4a\x45\x8b\x40"
  9290. "\x4d\x0a\xa9\x76\x92\xb3\xda\x87"
  9291. "\x36\x33\xf0\x78\xc3\x2f\x5f\x02"
  9292. "\x1a\x6a\x2c\x32\xcd\x76\xbf\xbd"
  9293. "\x5a\x26\x20\x28\x8c\x8c\xbc\x52"
  9294. "\x3d\x0a\xc9\xcb\xab\xa4\x21\xb0"
  9295. "\x54\x40\x81\x44\xc7\xd6\x1c\x11"
  9296. "\x44\xc6\x02\x92\x14\x5a\xbf\x1a"
  9297. "\x09\x8a\x18\xad\xcd\x64\x3d\x53"
  9298. "\x4a\xb6\xa5\x1b\x57\x0e\xef\xe0"
  9299. "\x8c\x44\x5f\x7d\xbd\x6c\xfd\x60"
  9300. "\xae\x02\x24\xb6\x99\xdd\x8c\xaf"
  9301. "\x59\x39\x75\x3c\xd1\x54\x7b\x86"
  9302. "\xcc\x99\xd9\x28\x0c\xb0\x94\x62"
  9303. "\xf9\x51\xd1\x19\x96\x2d\x66\xf5"
  9304. "\x55\xcf\x9e\x59\xe2\x6b\x2c\x08"
  9305. "\xc0\x54\x48\x24\x45\xc3\x8c\x73"
  9306. "\xea\x27\x6e\x66\x7d\x1d\x0e\x6e"
  9307. "\x13\xe8\x56\x65\x3a\xb0\x81\x5c"
  9308. "\xf0\xe8\xd8\x00\x6b\xcd\x8f\xad"
  9309. "\xdd\x53\xf3\xa4\x6c\x43\xd6\x31"
  9310. "\xaf\xd2\x76\x1e\x91\x12\xdb\x3c"
  9311. "\x8c\xc2\x81\xf0\x49\xdb\xe2\x6b"
  9312. "\x76\x62\x0a\x04\xe4\xaa\x8a\x7c"
  9313. "\x08\x0b\x5d\xd0\xee\x1d\xfb\xc4"
  9314. "\x02\x75\x42\xd6\xba\xa7\x22\xa8"
  9315. "\x47\x29\xb7\x85\x6d\x93\x3a\xdb"
  9316. "\x00\x53\x0b\xa2\xeb\xf8\xfe\x01"
  9317. "\x6f\x8a\x31\xd6\x17\x05\x6f\x67"
  9318. "\x88\x95\x32\xfe\x4f\xa6\x4b\xf8"
  9319. "\x03\xe4\xcd\x9a\x18\xe8\x4e\x2d"
  9320. "\xf7\x97\x9a\x0c\x7d\x9f\x7e\x44"
  9321. "\x69\x51\xe0\x32\x6b\x62\x86\x8f"
  9322. "\xa6\x8e\x0b\x21\x96\xe5\xaf\x77"
  9323. "\xc0\x83\xdf\xa5\x0e\xd0\xa1\x04"
  9324. "\xaf\xc1\x10\xcb\x5a\x40\xe4\xe3"
  9325. "\x38\x7e\x07\xe8\x4d\xfa\xed\xc5"
  9326. "\xf0\x37\xdf\xbb\x8a\xcf\x3d\xdc"
  9327. "\x61\xd2\xc6\x2b\xff\x07\xc9\x2f"
  9328. "\x0c\x2d\x5c\x07\xa8\x35\x6a\xfc"
  9329. "\xae\x09\x03\x45\x74\x51\x4d\xc4"
  9330. "\xb8\x23\x87\x4a\x99\x27\x20\x87"
  9331. "\x62\x44\x0a\x4a\xce\x78\x47\x22",
  9332. .ksize = 1088,
  9333. .plaintext = "\x8e\xb0\x4c\xde\x9c\x4a\x04\x5a"
  9334. "\xf6\xa9\x7f\x45\x25\xa5\x7b\x3a"
  9335. "\xbc\x4d\x73\x39\x81\xb5\xbd\x3d"
  9336. "\x21\x6f\xd7\x37\x50\x3c\x7b\x28"
  9337. "\xd1\x03\x3a\x17\xed\x7b\x7c\x2a"
  9338. "\x16\xbc\xdf\x19\x89\x52\x71\x31"
  9339. "\xb6\xc0\xfd\xb5\xd3\xba\x96\x99"
  9340. "\xb6\x34\x0b\xd0\x99\x93\xfc\x1a"
  9341. "\x01\x3c\x85\xc6\x9b\x78\x5c\x8b"
  9342. "\xfe\xae\xd2\xbf\xb2\x6f\xf9\xed"
  9343. "\xc8\x25\x17\xfe\x10\x3b\x7d\xda"
  9344. "\xf4\x8d\x35\x4b\x7c\x7b\x82\xe7"
  9345. "\xc2\xb3\xee\x60\x4a\x03\x86\xc9"
  9346. "\x4e\xb5\xc4\xbe\xd2\xbd\x66\xf1"
  9347. "\x13\xf1\x09\xab\x5d\xca\x63\x1f"
  9348. "\xfc\xfb\x57\x2a\xfc\xca\x66\xd8"
  9349. "\x77\x84\x38\x23\x1d\xac\xd3\xb3"
  9350. "\x7a\xad\x4c\x70\xfa\x9c\xc9\x61"
  9351. "\xa6\x1b\xba\x33\x4b\x4e\x33\xec"
  9352. "\xa0\xa1\x64\x39\x40\x05\x1c\xc2"
  9353. "\x3f\x49\x9d\xae\xf2\xc5\xf2\xc5"
  9354. "\xfe\xe8\xf4\xc2\xf9\x96\x2d\x28"
  9355. "\x92\x30\x44\xbc\xd2\x7f\xe1\x6e"
  9356. "\x62\x02\x8f\x3d\x1c\x80\xda\x0e"
  9357. "\x6a\x90\x7e\x75\xff\xec\x3e\xc4"
  9358. "\xcd\x16\x34\x3b\x05\x6d\x4d\x20"
  9359. "\x1c\x7b\xf5\x57\x4f\xfa\x3d\xac"
  9360. "\xd0\x13\x55\xe8\xb3\xe1\x1b\x78"
  9361. "\x30\xe6\x9f\x84\xd4\x69\xd1\x08"
  9362. "\x12\x77\xa7\x4a\xbd\xc0\xf2\xd2"
  9363. "\x78\xdd\xa3\x81\x12\xcb\x6c\x14"
  9364. "\x90\x61\xe2\x84\xc6\x2b\x16\xcc"
  9365. "\x40\x99\x50\x88\x01\x09\x64\x4f"
  9366. "\x0a\x80\xbe\x61\xae\x46\xc9\x0a"
  9367. "\x5d\xe0\xfb\x72\x7a\x1a\xdd\x61"
  9368. "\x63\x20\x05\xa0\x4a\xf0\x60\x69"
  9369. "\x7f\x92\xbc\xbf\x4e\x39\x4d\xdd"
  9370. "\x74\xd1\xb7\xc0\x5a\x34\xb7\xae"
  9371. "\x76\x65\x2e\xbc\x36\xb9\x04\x95"
  9372. "\x42\xe9\x6f\xca\x78\xb3\x72\x07"
  9373. "\xa3\xba\x02\x94\x67\x4c\xb1\xd7"
  9374. "\xe9\x30\x0d\xf0\x3b\xb8\x10\x6d"
  9375. "\xea\x2b\x21\xbf\x74\x59\x82\x97"
  9376. "\x85\xaa\xf1\xd7\x54\x39\xeb\x05"
  9377. "\xbd\xf3\x40\xa0\x97\xe6\x74\xfe"
  9378. "\xb4\x82\x5b\xb1\x36\xcb\xe8\x0d"
  9379. "\xce\x14\xd9\xdf\xf1\x94\x22\xcd"
  9380. "\xd6\x00\xba\x04\x4c\x05\x0c\xc0"
  9381. "\xd1\x5a\xeb\x52\xd5\xa8\x8e\xc8"
  9382. "\x97\xa1\xaa\xc1\xea\xc1\xbe\x7c"
  9383. "\x36\xb3\x36\xa0\xc6\x76\x66\xc5"
  9384. "\xe2\xaf\xd6\x5c\xe2\xdb\x2c\xb3"
  9385. "\x6c\xb9\x99\x7f\xff\x9f\x03\x24"
  9386. "\xe1\x51\x44\x66\xd8\x0c\x5d\x7f"
  9387. "\x5c\x85\x22\x2a\xcf\x6d\x79\x28"
  9388. "\xab\x98\x01\x72\xfe\x80\x87\x5f"
  9389. "\x46\xba\xef\x81\x24\xee\xbf\xb0"
  9390. "\x24\x74\xa3\x65\x97\x12\xc4\xaf"
  9391. "\x8b\xa0\x39\xda\x8a\x7e\x74\x6e"
  9392. "\x1b\x42\xb4\x44\x37\xfc\x59\xfd"
  9393. "\x86\xed\xfb\x8c\x66\x33\xda\x63"
  9394. "\x75\xeb\xe1\xa4\x85\x4f\x50\x8f"
  9395. "\x83\x66\x0d\xd3\x37\xfa\xe6\x9c"
  9396. "\x4f\x30\x87\x35\x18\xe3\x0b\xb7"
  9397. "\x6e\x64\x54\xcd\x70\xb3\xde\x54"
  9398. "\xb7\x1d\xe6\x4c\x4d\x55\x12\x12"
  9399. "\xaf\x5f\x7f\x5e\xee\x9d\xe8\x8e"
  9400. "\x32\x9d\x4e\x75\xeb\xc6\xdd\xaa"
  9401. "\x48\x82\xa4\x3f\x3c\xd7\xd3\xa8"
  9402. "\x63\x9e\x64\xfe\xe3\x97\x00\x62"
  9403. "\xe5\x40\x5d\xc3\xad\x72\xe1\x28"
  9404. "\x18\x50\xb7\x75\xef\xcd\x23\xbf"
  9405. "\x3f\xc0\x51\x36\xf8\x41\xc3\x08"
  9406. "\xcb\xf1\x8d\x38\x34\xbd\x48\x45"
  9407. "\x75\xed\xbc\x65\x7b\xb5\x0c\x9b"
  9408. "\xd7\x67\x7d\x27\xb4\xc4\x80\xd7"
  9409. "\xa9\xb9\xc7\x4a\x97\xaa\xda\xc8"
  9410. "\x3c\x74\xcf\x36\x8f\xe4\x41\xe3"
  9411. "\xd4\xd3\x26\xa7\xf3\x23\x9d\x8f"
  9412. "\x6c\x20\x05\x32\x3e\xe0\xc3\xc8"
  9413. "\x56\x3f\xa7\x09\xb7\xfb\xc7\xf7"
  9414. "\xbe\x2a\xdd\x0f\x06\x7b\x0d\xdd"
  9415. "\xb0\xb4\x86\x17\xfd\xb9\x04\xe5"
  9416. "\xc0\x64\x5d\xad\x2a\x36\x38\xdb"
  9417. "\x24\xaf\x5b\xff\xca\xf9\x41\xe8"
  9418. "\xf9\x2f\x1e\x5e\xf9\xf5\xd5\xf2"
  9419. "\xb2\x88\xca\xc9\xa1\x31\xe2\xe8"
  9420. "\x10\x95\x65\xbf\xf1\x11\x61\x7a"
  9421. "\x30\x1a\x54\x90\xea\xd2\x30\xf6"
  9422. "\xa5\xad\x60\xf9\x4d\x84\x21\x1b"
  9423. "\xe4\x42\x22\xc8\x12\x4b\xb0\x58"
  9424. "\x3e\x9c\x2d\x32\x95\x0a\x8e\xb0"
  9425. "\x0a\x7e\x77\x2f\xe8\x97\x31\x6a"
  9426. "\xf5\x59\xb4\x26\xe6\x37\x12\xc9"
  9427. "\xcb\xa0\x58\x33\x6f\xd5\x55\x55"
  9428. "\x3c\xa1\x33\xb1\x0b\x7e\x2e\xb4"
  9429. "\x43\x2a\x84\x39\xf0\x9c\xf4\x69"
  9430. "\x4f\x1e\x79\xa6\x15\x1b\x87\xbb"
  9431. "\xdb\x9b\xe0\xf1\x0b\xba\xe3\x6e"
  9432. "\xcc\x2f\x49\x19\x22\x29\xfc\x71"
  9433. "\xbb\x77\x38\x18\x61\xaf\x85\x76"
  9434. "\xeb\xd1\x09\xcc\x86\x04\x20\x9a"
  9435. "\x66\x53\x2f\x44\x8b\xc6\xa3\xd2"
  9436. "\x5f\xc7\x79\x82\x66\xa8\x6e\x75"
  9437. "\x7d\x94\xd1\x86\x75\x0f\xa5\x4f"
  9438. "\x3c\x7a\x33\xce\xd1\x6e\x9d\x7b"
  9439. "\x1f\x91\x37\xb8\x37\x80\xfb\xe0"
  9440. "\x52\x26\xd0\x9a\xd4\x48\x02\x41"
  9441. "\x05\xe3\x5a\x94\xf1\x65\x61\x19"
  9442. "\xb8\x88\x4e\x2b\xea\xba\x8b\x58"
  9443. "\x8b\x42\x01\x00\xa8\xfe\x00\x5c"
  9444. "\xfe\x1c\xee\x31\x15\x69\xfa\xb3"
  9445. "\x9b\x5f\x22\x8e\x0d\x2c\xe3\xa5"
  9446. "\x21\xb9\x99\x8a\x8e\x94\x5a\xef"
  9447. "\x13\x3e\x99\x96\x79\x6e\xd5\x42"
  9448. "\x36\x03\xa9\xe2\xca\x65\x4e\x8a"
  9449. "\x8a\x30\xd2\x7d\x74\xe7\xf0\xaa"
  9450. "\x23\x26\xdd\xcb\x82\x39\xfc\x9d"
  9451. "\x51\x76\x21\x80\xa2\xbe\x93\x03"
  9452. "\x47\xb0\xc1\xb6\xdc\x63\xfd\x9f"
  9453. "\xca\x9d\xa5\xca\x27\x85\xe2\xd8"
  9454. "\x15\x5b\x7e\x14\x7a\xc4\x89\xcc"
  9455. "\x74\x14\x4b\x46\xd2\xce\xac\x39"
  9456. "\x6b\x6a\x5a\xa4\x0e\xe3\x7b\x15"
  9457. "\x94\x4b\x0f\x74\xcb\x0c\x7f\xa9"
  9458. "\xbe\x09\x39\xa3\xdd\x56\x5c\xc7"
  9459. "\x99\x56\x65\x39\xf4\x0b\x7d\x87"
  9460. "\xec\xaa\xe3\x4d\x22\x65\x39\x4e",
  9461. .psize = 1024,
  9462. .digest = "\x64\x3a\xbc\xc3\x3f\x74\x40\x51"
  9463. "\x6e\x56\x01\x1a\x51\xec\x36\xde",
  9464. }, {
  9465. .key = "\x1b\x82\x2e\x1b\x17\x23\xb9\x6d"
  9466. "\xdc\x9c\xda\x99\x07\xe3\x5f\xd8"
  9467. "\xd2\xf8\x43\x80\x8d\x86\x7d\x80"
  9468. "\x1a\xd0\xcc\x13\xb9\x11\x05\x3f"
  9469. "\x7e\xcf\x7e\x80\x0e\xd8\x25\x48"
  9470. "\x8b\xaa\x63\x83\x92\xd0\x72\xf5"
  9471. "\x4f\x67\x7e\x50\x18\x25\xa4\xd1"
  9472. "\xe0\x7e\x1e\xba\xd8\xa7\x6e\xdb"
  9473. "\x1a\xcc\x0d\xfe\x9f\x6d\x22\x35"
  9474. "\xe1\xe6\xe0\xa8\x7b\x9c\xb1\x66"
  9475. "\xa3\xf8\xff\x4d\x90\x84\x28\xbc"
  9476. "\xdc\x19\xc7\x91\x49\xfc\xf6\x33"
  9477. "\xc9\x6e\x65\x7f\x28\x6f\x68\x2e"
  9478. "\xdf\x1a\x75\xe9\xc2\x0c\x96\xb9"
  9479. "\x31\x22\xc4\x07\xc6\x0a\x2f\xfd"
  9480. "\x36\x06\x5f\x5c\xc5\xb1\x3a\xf4"
  9481. "\x5e\x48\xa4\x45\x2b\x88\xa7\xee"
  9482. "\xa9\x8b\x52\xcc\x99\xd9\x2f\xb8"
  9483. "\xa4\x58\x0a\x13\xeb\x71\x5a\xfa"
  9484. "\xe5\x5e\xbe\xf2\x64\xad\x75\xbc"
  9485. "\x0b\x5b\x34\x13\x3b\x23\x13\x9a"
  9486. "\x69\x30\x1e\x9a\xb8\x03\xb8\x8b"
  9487. "\x3e\x46\x18\x6d\x38\xd9\xb3\xd8"
  9488. "\xbf\xf1\xd0\x28\xe6\x51\x57\x80"
  9489. "\x5e\x99\xfb\xd0\xce\x1e\x83\xf7"
  9490. "\xe9\x07\x5a\x63\xa9\xef\xce\xa5"
  9491. "\xfb\x3f\x37\x17\xfc\x0b\x37\x0e"
  9492. "\xbb\x4b\x21\x62\xb7\x83\x0e\xa9"
  9493. "\x9e\xb0\xc4\xad\x47\xbe\x35\xe7"
  9494. "\x51\xb2\xf2\xac\x2b\x65\x7b\x48"
  9495. "\xe3\x3f\x5f\xb6\x09\x04\x0c\x58"
  9496. "\xce\x99\xa9\x15\x2f\x4e\xc1\xf2"
  9497. "\x24\x48\xc0\xd8\x6c\xd3\x76\x17"
  9498. "\x83\x5d\xe6\xe3\xfd\x01\x8e\xf7"
  9499. "\x42\xa5\x04\x29\x30\xdf\xf9\x00"
  9500. "\x4a\xdc\x71\x22\x1a\x33\x15\xb6"
  9501. "\xd7\x72\xfb\x9a\xb8\xeb\x2b\x38"
  9502. "\xea\xa8\x61\xa8\x90\x11\x9d\x73"
  9503. "\x2e\x6c\xce\x81\x54\x5a\x9f\xcd"
  9504. "\xcf\xd5\xbd\x26\x5d\x66\xdb\xfb"
  9505. "\xdc\x1e\x7c\x10\xfe\x58\x82\x10"
  9506. "\x16\x24\x01\xce\x67\x55\x51\xd1"
  9507. "\xdd\x6b\x44\xa3\x20\x8e\xa9\xa6"
  9508. "\x06\xa8\x29\x77\x6e\x00\x38\x5b"
  9509. "\xde\x4d\x58\xd8\x1f\x34\xdf\xf9"
  9510. "\x2c\xac\x3e\xad\xfb\x92\x0d\x72"
  9511. "\x39\xa4\xac\x44\x10\xc0\x43\xc4"
  9512. "\xa4\x77\x3b\xfc\xc4\x0d\x37\xd3"
  9513. "\x05\x84\xda\x53\x71\xf8\x80\xd3"
  9514. "\x34\x44\xdb\x09\xb4\x2b\x8e\xe3"
  9515. "\x00\x75\x50\x9e\x43\x22\x00\x0b"
  9516. "\x7c\x70\xab\xd4\x41\xf1\x93\xcd"
  9517. "\x25\x2d\x84\x74\xb5\xf2\x92\xcd"
  9518. "\x0a\x28\xea\x9a\x49\x02\x96\xcb"
  9519. "\x85\x9e\x2f\x33\x03\x86\x1d\xdc"
  9520. "\x1d\x31\xd5\xfc\x9d\xaa\xc5\xe9"
  9521. "\x9a\xc4\x57\xf5\x35\xed\xf4\x4b"
  9522. "\x3d\x34\xc2\x29\x13\x86\x36\x42"
  9523. "\x5d\xbf\x90\x86\x13\x77\xe5\xc3"
  9524. "\x62\xb4\xfe\x0b\x70\x39\x35\x65"
  9525. "\x02\xea\xf6\xce\x57\x0c\xbb\x74"
  9526. "\x29\xe3\xfd\x60\x90\xfd\x10\x38"
  9527. "\xd5\x4e\x86\xbd\x37\x70\xf0\x97"
  9528. "\xa6\xab\x3b\x83\x64\x52\xca\x66"
  9529. "\x2f\xf9\xa4\xca\x3a\x55\x6b\xb0"
  9530. "\xe8\x3a\x34\xdb\x9e\x48\x50\x2f"
  9531. "\x3b\xef\xfd\x08\x2d\x5f\xc1\x37"
  9532. "\x5d\xbe\x73\xe4\xd8\xe9\xac\xca"
  9533. "\x8a\xaa\x48\x7c\x5c\xf4\xa6\x96"
  9534. "\x5f\xfa\x70\xa6\xb7\x8b\x50\xcb"
  9535. "\xa6\xf5\xa9\xbd\x7b\x75\x4c\x22"
  9536. "\x0b\x19\x40\x2e\xc9\x39\x39\x32"
  9537. "\x83\x03\xa8\xa4\x98\xe6\x8e\x16"
  9538. "\xb9\xde\x08\xc5\xfc\xbf\xad\x39"
  9539. "\xa8\xc7\x93\x6c\x6f\x23\xaf\xc1"
  9540. "\xab\xe1\xdf\xbb\x39\xae\x93\x29"
  9541. "\x0e\x7d\x80\x8d\x3e\x65\xf3\xfd"
  9542. "\x96\x06\x65\x90\xa1\x28\x64\x4b"
  9543. "\x69\xf9\xa8\x84\x27\x50\xfc\x87"
  9544. "\xf7\xbf\x55\x8e\x56\x13\x58\x7b"
  9545. "\x85\xb4\x6a\x72\x0f\x40\xf1\x4f"
  9546. "\x83\x81\x1f\x76\xde\x15\x64\x7a"
  9547. "\x7a\x80\xe4\xc7\x5e\x63\x01\x91"
  9548. "\xd7\x6b\xea\x0b\x9b\xa2\x99\x3b"
  9549. "\x6c\x88\xd8\xfd\x59\x3c\x8d\x22"
  9550. "\x86\x56\xbe\xab\xa1\x37\x08\x01"
  9551. "\x50\x85\x69\x29\xee\x9f\xdf\x21"
  9552. "\x3e\x20\x20\xf5\xb0\xbb\x6b\xd0"
  9553. "\x9c\x41\x38\xec\x54\x6f\x2d\xbd"
  9554. "\x0f\xe1\xbd\xf1\x2b\x6e\x60\x56"
  9555. "\x29\xe5\x7a\x70\x1c\xe2\xfc\x97"
  9556. "\x82\x68\x67\xd9\x3d\x1f\xfb\xd8"
  9557. "\x07\x9f\xbf\x96\x74\xba\x6a\x0e"
  9558. "\x10\x48\x20\xd8\x13\x1e\xb5\x44"
  9559. "\xf2\xcc\xb1\x8b\xfb\xbb\xec\xd7"
  9560. "\x37\x70\x1f\x7c\x55\xd2\x4b\xb9"
  9561. "\xfd\x70\x5e\xa3\x91\x73\x63\x52"
  9562. "\x13\x47\x5a\x06\xfb\x01\x67\xa5"
  9563. "\xc0\xd0\x49\x19\x56\x66\x9a\x77"
  9564. "\x64\xaf\x8c\x25\x91\x52\x87\x0e"
  9565. "\x18\xf3\x5f\x97\xfd\x71\x13\xf8"
  9566. "\x05\xa5\x39\xcc\x65\xd3\xcc\x63"
  9567. "\x5b\xdb\x5f\x7e\x5f\x6e\xad\xc4"
  9568. "\xf4\xa0\xc5\xc2\x2b\x4d\x97\x38"
  9569. "\x4f\xbc\xfa\x33\x17\xb4\x47\xb9"
  9570. "\x43\x24\x15\x8d\xd2\xed\x80\x68"
  9571. "\x84\xdb\x04\x80\xca\x5e\x6a\x35"
  9572. "\x2c\x2c\xe7\xc5\x03\x5f\x54\xb0"
  9573. "\x5e\x4f\x1d\x40\x54\x3d\x78\x9a"
  9574. "\xac\xda\x80\x27\x4d\x15\x4c\x1a"
  9575. "\x6e\x80\xc9\xc4\x3b\x84\x0e\xd9"
  9576. "\x2e\x93\x01\x8c\xc3\xc8\x91\x4b"
  9577. "\xb3\xaa\x07\x04\x68\x5b\x93\xa5"
  9578. "\xe7\xc4\x9d\xe7\x07\xee\xf5\x3b"
  9579. "\x40\x89\xcc\x60\x34\x9d\xb4\x06"
  9580. "\x1b\xef\x92\xe6\xc1\x2a\x7d\x0f"
  9581. "\x81\xaa\x56\xe3\xd7\xed\xa7\xd4"
  9582. "\xa7\x3a\x49\xc4\xad\x81\x5c\x83"
  9583. "\x55\x8e\x91\x54\xb7\x7d\x65\xa5"
  9584. "\x06\x16\xd5\x9a\x16\xc1\xb0\xa2"
  9585. "\x06\xd8\x98\x47\x73\x7e\x73\xa0"
  9586. "\xb8\x23\xb1\x52\xbf\x68\x74\x5d"
  9587. "\x0b\xcb\xfa\x8c\x46\xe3\x24\xe6"
  9588. "\xab\xd4\x69\x8d\x8c\xf2\x8a\x59"
  9589. "\xbe\x48\x46\x50\x8c\x9a\xe8\xe3"
  9590. "\x31\x55\x0a\x06\xed\x4f\xf8\xb7"
  9591. "\x4f\xe3\x85\x17\x30\xbd\xd5\x20"
  9592. "\xe7\x5b\xb2\x32\xcf\x6b\x16\x44"
  9593. "\xd2\xf5\x7e\xd7\xd1\x2f\xee\x64"
  9594. "\x3e\x9d\x10\xef\x27\x35\x43\x64"
  9595. "\x67\xfb\x7a\x7b\xe0\x62\x31\x9a"
  9596. "\x4d\xdf\xa5\xab\xc0\x20\xbb\x01"
  9597. "\xe9\x7b\x54\xf1\xde\xb2\x79\x50"
  9598. "\x6c\x4b\x91\xdb\x7f\xbb\x50\xc1"
  9599. "\x55\x44\x38\x9a\xe0\x9f\xe8\x29"
  9600. "\x6f\x15\xf8\x4e\xa6\xec\xa0\x60",
  9601. .ksize = 1088,
  9602. .plaintext = "\x15\x68\x9e\x2f\xad\x15\x52\xdf"
  9603. "\xf0\x42\x62\x24\x2a\x2d\xea\xbf"
  9604. "\xc7\xf3\xb4\x1a\xf5\xed\xb2\x08"
  9605. "\x15\x60\x1c\x00\x77\xbf\x0b\x0e"
  9606. "\xb7\x2c\xcf\x32\x3a\xc7\x01\x77"
  9607. "\xef\xa6\x75\xd0\x29\xc7\x68\x20"
  9608. "\xb2\x92\x25\xbf\x12\x34\xe9\xa4"
  9609. "\xfd\x32\x7b\x3f\x7c\xbd\xa5\x02"
  9610. "\x38\x41\xde\xc9\xc1\x09\xd9\xfc"
  9611. "\x6e\x78\x22\x83\x18\xf7\x50\x8d"
  9612. "\x8f\x9c\x2d\x02\xa5\x30\xac\xff"
  9613. "\xea\x63\x2e\x80\x37\x83\xb0\x58"
  9614. "\xda\x2f\xef\x21\x55\xba\x7b\xb1"
  9615. "\xb6\xed\xf5\xd2\x4d\xaa\x8c\xa9"
  9616. "\xdd\xdb\x0f\xb4\xce\xc1\x9a\xb1"
  9617. "\xc1\xdc\xbd\xab\x86\xc2\xdf\x0b"
  9618. "\xe1\x2c\xf9\xbe\xf6\xd8\xda\x62"
  9619. "\x72\xdd\x98\x09\x52\xc0\xc4\xb6"
  9620. "\x7b\x17\x5c\xf5\xd8\x4b\x88\xd6"
  9621. "\x6b\xbf\x84\x4a\x3f\xf5\x4d\xd2"
  9622. "\x94\xe2\x9c\xff\xc7\x3c\xd9\xc8"
  9623. "\x37\x38\xbc\x8c\xf3\xe7\xb7\xd0"
  9624. "\x1d\x78\xc4\x39\x07\xc8\x5e\x79"
  9625. "\xb6\x5a\x90\x5b\x6e\x97\xc9\xd4"
  9626. "\x82\x9c\xf3\x83\x7a\xe7\x97\xfc"
  9627. "\x1d\xbb\xef\xdb\xce\xe0\x82\xad"
  9628. "\xca\x07\x6c\x54\x62\x6f\x81\xe6"
  9629. "\x7a\x5a\x96\x6e\x80\x3a\xa2\x37"
  9630. "\x6f\xc6\xa4\x29\xc3\x9e\x19\x94"
  9631. "\x9f\xb0\x3e\x38\xfb\x3c\x2b\x7d"
  9632. "\xaa\xb8\x74\xda\x54\x23\x51\x12"
  9633. "\x4b\x96\x36\x8f\x91\x4f\x19\x37"
  9634. "\x83\xc9\xdd\xc7\x1a\x32\x2d\xab"
  9635. "\xc7\x89\xe2\x07\x47\x6c\xe8\xa6"
  9636. "\x70\x6b\x8e\x0c\xda\x5c\x6a\x59"
  9637. "\x27\x33\x0e\xe1\xe1\x20\xe8\xc8"
  9638. "\xae\xdc\xd0\xe3\x6d\xa8\xa6\x06"
  9639. "\x41\xb4\xd4\xd4\xcf\x91\x3e\x06"
  9640. "\xb0\x9a\xf7\xf1\xaa\xa6\x23\x92"
  9641. "\x10\x86\xf0\x94\xd1\x7c\x2e\x07"
  9642. "\x30\xfb\xc5\xd8\xf3\x12\xa9\xe8"
  9643. "\x22\x1c\x97\x1a\xad\x96\xb0\xa1"
  9644. "\x72\x6a\x6b\xb4\xfd\xf7\xe8\xfa"
  9645. "\xe2\x74\xd8\x65\x8d\x35\x17\x4b"
  9646. "\x00\x23\x5c\x8c\x70\xad\x71\xa2"
  9647. "\xca\xc5\x6c\x59\xbf\xb4\xc0\x6d"
  9648. "\x86\x98\x3e\x19\x5a\x90\x92\xb1"
  9649. "\x66\x57\x6a\x91\x68\x7c\xbc\xf3"
  9650. "\xf1\xdb\x94\xf8\x48\xf1\x36\xd8"
  9651. "\x78\xac\x1c\xa9\xcc\xd6\x27\xba"
  9652. "\x91\x54\x22\xf5\xe6\x05\x3f\xcc"
  9653. "\xc2\x8f\x2c\x3b\x2b\xc3\x2b\x2b"
  9654. "\x3b\xb8\xb6\x29\xb7\x2f\x94\xb6"
  9655. "\x7b\xfc\x94\x3e\xd0\x7a\x41\x59"
  9656. "\x7b\x1f\x9a\x09\xa6\xed\x4a\x82"
  9657. "\x9d\x34\x1c\xbd\x4e\x1c\x3a\x66"
  9658. "\x80\x74\x0e\x9a\x4f\x55\x54\x47"
  9659. "\x16\xba\x2a\x0a\x03\x35\x99\xa3"
  9660. "\x5c\x63\x8d\xa2\x72\x8b\x17\x15"
  9661. "\x68\x39\x73\xeb\xec\xf2\xe8\xf5"
  9662. "\x95\x32\x27\xd6\xc4\xfe\xb0\x51"
  9663. "\xd5\x0c\x50\xc5\xcd\x6d\x16\xb3"
  9664. "\xa3\x1e\x95\x69\xad\x78\x95\x06"
  9665. "\xb9\x46\xf2\x6d\x24\x5a\x99\x76"
  9666. "\x73\x6a\x91\xa6\xac\x12\xe1\x28"
  9667. "\x79\xbc\x08\x4e\x97\x00\x98\x63"
  9668. "\x07\x1c\x4e\xd1\x68\xf3\xb3\x81"
  9669. "\xa8\xa6\x5f\xf1\x01\xc9\xc1\xaf"
  9670. "\x3a\x96\xf9\x9d\xb5\x5a\x5f\x8f"
  9671. "\x7e\xc1\x7e\x77\x0a\x40\xc8\x8e"
  9672. "\xfc\x0e\xed\xe1\x0d\xb0\xe5\x5e"
  9673. "\x5e\x6f\xf5\x7f\xab\x33\x7d\xcd"
  9674. "\xf0\x09\x4b\xb2\x11\x37\xdc\x65"
  9675. "\x97\x32\x62\x71\x3a\x29\x54\xb9"
  9676. "\xc7\xa4\xbf\x75\x0f\xf9\x40\xa9"
  9677. "\x8d\xd7\x8b\xa7\xe0\x9a\xbe\x15"
  9678. "\xc6\xda\xd8\x00\x14\x69\x1a\xaf"
  9679. "\x5f\x79\xc3\xf5\xbb\x6c\x2a\x9d"
  9680. "\xdd\x3c\x5f\x97\x21\xe1\x3a\x03"
  9681. "\x84\x6a\xe9\x76\x11\x1f\xd3\xd5"
  9682. "\xf0\x54\x20\x4d\xc2\x91\xc3\xa4"
  9683. "\x36\x25\xbe\x1b\x2a\x06\xb7\xf3"
  9684. "\xd1\xd0\x55\x29\x81\x4c\x83\xa3"
  9685. "\xa6\x84\x1e\x5c\xd1\xd0\x6c\x90"
  9686. "\xa4\x11\xf0\xd7\x63\x6a\x48\x05"
  9687. "\xbc\x48\x18\x53\xcd\xb0\x8d\xdb"
  9688. "\xdc\xfe\x55\x11\x5c\x51\xb3\xab"
  9689. "\xab\x63\x3e\x31\x5a\x8b\x93\x63"
  9690. "\x34\xa9\xba\x2b\x69\x1a\xc0\xe3"
  9691. "\xcb\x41\xbc\xd7\xf5\x7f\x82\x3e"
  9692. "\x01\xa3\x3c\x72\xf4\xfe\xdf\xbe"
  9693. "\xb1\x67\x17\x2b\x37\x60\x0d\xca"
  9694. "\x6f\xc3\x94\x2c\xd2\x92\x6d\x9d"
  9695. "\x75\x18\x77\xaa\x29\x38\x96\xed"
  9696. "\x0e\x20\x70\x92\xd5\xd0\xb4\x00"
  9697. "\xc0\x31\xf2\xc9\x43\x0e\x75\x1d"
  9698. "\x4b\x64\xf2\x1f\xf2\x29\x6c\x7b"
  9699. "\x7f\xec\x59\x7d\x8c\x0d\xd4\xd3"
  9700. "\xac\x53\x4c\xa3\xde\x42\x92\x95"
  9701. "\x6d\xa3\x4f\xd0\xe6\x3d\xe7\xec"
  9702. "\x7a\x4d\x68\xf1\xfe\x67\x66\x09"
  9703. "\x83\x22\xb1\x98\x43\x8c\xab\xb8"
  9704. "\x45\xe6\x6d\xdf\x5e\x50\x71\xce"
  9705. "\xf5\x4e\x40\x93\x2b\xfa\x86\x0e"
  9706. "\xe8\x30\xbd\x82\xcc\x1c\x9c\x5f"
  9707. "\xad\xfd\x08\x31\xbe\x52\xe7\xe6"
  9708. "\xf2\x06\x01\x62\x25\x15\x99\x74"
  9709. "\x33\x51\x52\x57\x3f\x57\x87\x61"
  9710. "\xb9\x7f\x29\x3d\xcd\x92\x5e\xa6"
  9711. "\x5c\x3b\xf1\xed\x5f\xeb\x82\xed"
  9712. "\x56\x7b\x61\xe7\xfd\x02\x47\x0e"
  9713. "\x2a\x15\xa4\xce\x43\x86\x9b\xe1"
  9714. "\x2b\x4c\x2a\xd9\x42\x97\xf7\x9a"
  9715. "\xe5\x47\x46\x48\xd3\x55\x6f\x4d"
  9716. "\xd9\xeb\x4b\xdd\x7b\x21\x2f\xb3"
  9717. "\xa8\x36\x28\xdf\xca\xf1\xf6\xd9"
  9718. "\x10\xf6\x1c\xfd\x2e\x0c\x27\xe0"
  9719. "\x01\xb3\xff\x6d\x47\x08\x4d\xd4"
  9720. "\x00\x25\xee\x55\x4a\xe9\xe8\x5b"
  9721. "\xd8\xf7\x56\x12\xd4\x50\xb2\xe5"
  9722. "\x51\x6f\x34\x63\x69\xd2\x4e\x96"
  9723. "\x4e\xbc\x79\xbf\x18\xae\xc6\x13"
  9724. "\x80\x92\x77\xb0\xb4\x0f\x29\x94"
  9725. "\x6f\x4c\xbb\x53\x11\x36\xc3\x9f"
  9726. "\x42\x8e\x96\x8a\x91\xc8\xe9\xfc"
  9727. "\xfe\xbf\x7c\x2d\x6f\xf9\xb8\x44"
  9728. "\x89\x1b\x09\x53\x0a\x2a\x92\xc3"
  9729. "\x54\x7a\x3a\xf9\xe2\xe4\x75\x87"
  9730. "\xa0\x5e\x4b\x03\x7a\x0d\x8a\xf4"
  9731. "\x55\x59\x94\x2b\x63\x96\x0e\xf5",
  9732. .psize = 1040,
  9733. .digest = "\xb5\xb9\x08\xb3\x24\x3e\x03\xf0"
  9734. "\xd6\x0b\x57\xbc\x0a\x6d\x89\x59",
  9735. }, {
  9736. .key = "\xf6\x34\x42\x71\x35\x52\x8b\x58"
  9737. "\x02\x3a\x8e\x4a\x8d\x41\x13\xe9"
  9738. "\x7f\xba\xb9\x55\x9d\x73\x4d\xf8"
  9739. "\x3f\x5d\x73\x15\xff\xd3\x9e\x7f"
  9740. "\x20\x2a\x6a\xa8\xd1\xf0\x8f\x12"
  9741. "\x6b\x02\xd8\x6c\xde\xba\x80\x22"
  9742. "\x19\x37\xc8\xd0\x4e\x89\x17\x7c"
  9743. "\x7c\xdd\x88\xfd\x41\xc0\x04\xb7"
  9744. "\x1d\xac\x19\xe3\x20\xc7\x16\xcf"
  9745. "\x58\xee\x1d\x7a\x61\x69\xa9\x12"
  9746. "\x4b\xef\x4f\xb6\x38\xdd\x78\xf8"
  9747. "\x28\xee\x70\x08\xc7\x7c\xcc\xc8"
  9748. "\x1e\x41\xf5\x80\x86\x70\xd0\xf0"
  9749. "\xa3\x87\x6b\x0a\x00\xd2\x41\x28"
  9750. "\x74\x26\xf1\x24\xf3\xd0\x28\x77"
  9751. "\xd7\xcd\xf6\x2d\x61\xf4\xa2\x13"
  9752. "\x77\xb4\x6f\xa0\xf4\xfb\xd6\xb5"
  9753. "\x38\x9d\x5a\x0c\x51\xaf\xad\x63"
  9754. "\x27\x67\x8c\x01\xea\x42\x1a\x66"
  9755. "\xda\x16\x7c\x3c\x30\x0c\x66\x53"
  9756. "\x1c\x88\xa4\x5c\xb2\xe3\x78\x0a"
  9757. "\x13\x05\x6d\xe2\xaf\xb3\xe4\x75"
  9758. "\x00\x99\x58\xee\x76\x09\x64\xaa"
  9759. "\xbb\x2e\xb1\x81\xec\xd8\x0e\xd3"
  9760. "\x0c\x33\x5d\xb7\x98\xef\x36\xb6"
  9761. "\xd2\x65\x69\x41\x70\x12\xdc\x25"
  9762. "\x41\x03\x99\x81\x41\x19\x62\x13"
  9763. "\xd1\x0a\x29\xc5\x8c\xe0\x4c\xf3"
  9764. "\xd6\xef\x4c\xf4\x1d\x83\x2e\x6d"
  9765. "\x8e\x14\x87\xed\x80\xe0\xaa\xd3"
  9766. "\x08\x04\x73\x1a\x84\x40\xf5\x64"
  9767. "\xbd\x61\x32\x65\x40\x42\xfb\xb0"
  9768. "\x40\xf6\x40\x8d\xc7\x7f\x14\xd0"
  9769. "\x83\x99\xaa\x36\x7e\x60\xc6\xbf"
  9770. "\x13\x8a\xf9\x21\xe4\x7e\x68\x87"
  9771. "\xf3\x33\x86\xb4\xe0\x23\x7e\x0a"
  9772. "\x21\xb1\xf5\xad\x67\x3c\x9c\x9d"
  9773. "\x09\xab\xaf\x5f\xba\xe0\xd0\x82"
  9774. "\x48\x22\x70\xb5\x6d\x53\xd6\x0e"
  9775. "\xde\x64\x92\x41\xb0\xd3\xfb\xda"
  9776. "\x21\xfe\xab\xea\x20\xc4\x03\x58"
  9777. "\x18\x2e\x7d\x2f\x03\xa9\x47\x66"
  9778. "\xdf\x7b\xa4\x6b\x34\x6b\x55\x9c"
  9779. "\x4f\xd7\x9c\x47\xfb\xa9\x42\xec"
  9780. "\x5a\x12\xfd\xfe\x76\xa0\x92\x9d"
  9781. "\xfe\x1e\x16\xdd\x24\x2a\xe4\x27"
  9782. "\xd5\xa9\xf2\x05\x4f\x83\xa2\xaf"
  9783. "\xfe\xee\x83\x7a\xad\xde\xdf\x9a"
  9784. "\x80\xd5\x81\x14\x93\x16\x7e\x46"
  9785. "\x47\xc2\x14\xef\x49\x6e\xb9\xdb"
  9786. "\x40\xe8\x06\x6f\x9c\x2a\xfd\x62"
  9787. "\x06\x46\xfd\x15\x1d\x36\x61\x6f"
  9788. "\x77\x77\x5e\x64\xce\x78\x1b\x85"
  9789. "\xbf\x50\x9a\xfd\x67\xa6\x1a\x65"
  9790. "\xad\x5b\x33\x30\xf1\x71\xaa\xd9"
  9791. "\x23\x0d\x92\x24\x5f\xae\x57\xb0"
  9792. "\x24\x37\x0a\x94\x12\xfb\xb5\xb1"
  9793. "\xd3\xb8\x1d\x12\x29\xb0\x80\x24"
  9794. "\x2d\x47\x9f\x96\x1f\x95\xf1\xb1"
  9795. "\xda\x35\xf6\x29\xe0\xe1\x23\x96"
  9796. "\xc7\xe8\x22\x9b\x7c\xac\xf9\x41"
  9797. "\x39\x01\xe5\x73\x15\x5e\x99\xec"
  9798. "\xb4\xc1\xf4\xe7\xa7\x97\x6a\xd5"
  9799. "\x90\x9a\xa0\x1d\xf3\x5a\x8b\x5f"
  9800. "\xdf\x01\x52\xa4\x93\x31\x97\xb0"
  9801. "\x93\x24\xb5\xbc\xb2\x14\x24\x98"
  9802. "\x4a\x8f\x19\x85\xc3\x2d\x0f\x74"
  9803. "\x9d\x16\x13\x80\x5e\x59\x62\x62"
  9804. "\x25\xe0\xd1\x2f\x64\xef\xba\xac"
  9805. "\xcd\x09\x07\x15\x8a\xcf\x73\xb5"
  9806. "\x8b\xc9\xd8\x24\xb0\x53\xd5\x6f"
  9807. "\xe1\x2b\x77\xb1\xc5\xe4\xa7\x0e"
  9808. "\x18\x45\xab\x36\x03\x59\xa8\xbd"
  9809. "\x43\xf0\xd8\x2c\x1a\x69\x96\xbb"
  9810. "\x13\xdf\x6c\x33\x77\xdf\x25\x34"
  9811. "\x5b\xa5\x5b\x8c\xf9\x51\x05\xd4"
  9812. "\x8b\x8b\x44\x87\x49\xfc\xa0\x8f"
  9813. "\x45\x15\x5b\x40\x42\xc4\x09\x92"
  9814. "\x98\x0c\x4d\xf4\x26\x37\x1b\x13"
  9815. "\x76\x01\x93\x8d\x4f\xe6\xed\x18"
  9816. "\xd0\x79\x7b\x3f\x44\x50\xcb\xee"
  9817. "\xf7\x4a\xc9\x9e\xe0\x96\x74\xa7"
  9818. "\xe6\x93\xb2\x53\xca\x55\xa8\xdc"
  9819. "\x1e\x68\x07\x87\xb7\x2e\xc1\x08"
  9820. "\xb2\xa4\x5b\xaf\xc6\xdb\x5c\x66"
  9821. "\x41\x1c\x51\xd9\xb0\x07\x00\x0d"
  9822. "\xf0\x4c\xdc\x93\xde\xa9\x1e\x8e"
  9823. "\xd3\x22\x62\xd8\x8b\x88\x2c\xea"
  9824. "\x5e\xf1\x6e\x14\x40\xc7\xbe\xaa"
  9825. "\x42\x28\xd0\x26\x30\x78\x01\x9b"
  9826. "\x83\x07\xbc\x94\xc7\x57\xa2\x9f"
  9827. "\x03\x07\xff\x16\xff\x3c\x6e\x48"
  9828. "\x0a\xd0\xdd\x4c\xf6\x64\x9a\xf1"
  9829. "\xcd\x30\x12\x82\x2c\x38\xd3\x26"
  9830. "\x83\xdb\xab\x3e\xc6\xf8\xe6\xfa"
  9831. "\x77\x0a\x78\x82\x75\xf8\x63\x51"
  9832. "\x59\xd0\x8d\x24\x9f\x25\xe6\xa3"
  9833. "\x4c\xbc\x34\xfc\xe3\x10\xc7\x62"
  9834. "\xd4\x23\xc8\x3d\xa7\xc6\xa6\x0a"
  9835. "\x4f\x7e\x29\x9d\x6d\xbe\xb5\xf1"
  9836. "\xdf\xa4\x53\xfa\xc0\x23\x0f\x37"
  9837. "\x84\x68\xd0\xb5\xc8\xc6\xae\xf8"
  9838. "\xb7\x8d\xb3\x16\xfe\x8f\x87\xad"
  9839. "\xd0\xc1\x08\xee\x12\x1c\x9b\x1d"
  9840. "\x90\xf8\xd1\x63\xa4\x92\x3c\xf0"
  9841. "\xc7\x34\xd8\xf1\x14\xed\xa3\xbc"
  9842. "\x17\x7e\xd4\x62\x42\x54\x57\x2c"
  9843. "\x3e\x7a\x35\x35\x17\x0f\x0b\x7f"
  9844. "\x81\xa1\x3f\xd0\xcd\xc8\x3b\x96"
  9845. "\xe9\xe0\x4a\x04\xe1\xb6\x3c\xa1"
  9846. "\xd6\xca\xc4\xbd\xb6\xb5\x95\x34"
  9847. "\x12\x9d\xc5\x96\xf2\xdf\xba\x54"
  9848. "\x76\xd1\xb2\x6b\x3b\x39\xe0\xb9"
  9849. "\x18\x62\xfb\xf7\xfc\x12\xf1\x5f"
  9850. "\x7e\xc7\xe3\x59\x4c\xa6\xc2\x3d"
  9851. "\x40\x15\xf9\xa3\x95\x64\x4c\x74"
  9852. "\x8b\x73\x77\x33\x07\xa7\x04\x1d"
  9853. "\x33\x5a\x7e\x8f\xbd\x86\x01\x4f"
  9854. "\x3e\xb9\x27\x6f\xe2\x41\xf7\x09"
  9855. "\x67\xfd\x29\x28\xc5\xe4\xf6\x18"
  9856. "\x4c\x1b\x49\xb2\x9c\x5b\xf6\x81"
  9857. "\x4f\xbb\x5c\xcc\x0b\xdf\x84\x23"
  9858. "\x58\xd6\x28\x34\x93\x3a\x25\x97"
  9859. "\xdf\xb2\xc3\x9e\x97\x38\x0b\x7d"
  9860. "\x10\xb3\x54\x35\x23\x8c\x64\xee"
  9861. "\xf0\xd8\x66\xff\x8b\x22\xd2\x5b"
  9862. "\x05\x16\x3c\x89\xf7\xb1\x75\xaf"
  9863. "\xc0\xae\x6a\x4f\x3f\xaf\x9a\xf4"
  9864. "\xf4\x9a\x24\xd9\x80\x82\xc0\x12"
  9865. "\xde\x96\xd1\xbe\x15\x0b\x8d\x6a"
  9866. "\xd7\x12\xe4\x85\x9f\x83\xc9\xc3"
  9867. "\xff\x0b\xb5\xaf\x3b\xd8\x6d\x67"
  9868. "\x81\x45\xe6\xac\xec\xc1\x7b\x16"
  9869. "\x18\x0a\xce\x4b\xc0\x2e\x76\xbc"
  9870. "\x1b\xfa\xb4\x34\xb8\xfc\x3e\xc8"
  9871. "\x5d\x90\x71\x6d\x7a\x79\xef\x06",
  9872. .ksize = 1088,
  9873. .plaintext = "\xaa\x5d\x54\xcb\xea\x1e\x46\x0f"
  9874. "\x45\x87\x70\x51\x8a\x66\x7a\x33"
  9875. "\xb4\x18\xff\xa9\x82\xf9\x45\x4b"
  9876. "\x93\xae\x2e\x7f\xab\x98\xfe\xbf"
  9877. "\x01\xee\xe5\xa0\x37\x8f\x57\xa6"
  9878. "\xb0\x76\x0d\xa4\xd6\x28\x2b\x5d"
  9879. "\xe1\x03\xd6\x1c\x6f\x34\x0d\xe7"
  9880. "\x61\x2d\x2e\xe5\xae\x5d\x47\xc7"
  9881. "\x80\x4b\x18\x8f\xa8\x99\xbc\x28"
  9882. "\xed\x1d\x9d\x86\x7d\xd7\x41\xd1"
  9883. "\xe0\x2b\xe1\x8c\x93\x2a\xa7\x80"
  9884. "\xe1\x07\xa0\xa9\x9f\x8c\x8d\x1a"
  9885. "\x55\xfc\x6b\x24\x7a\xbd\x3e\x51"
  9886. "\x68\x4b\x26\x59\xc8\xa7\x16\xd9"
  9887. "\xb9\x61\x13\xde\x8b\x63\x1c\xf6"
  9888. "\x60\x01\xfb\x08\xb3\x5b\x0a\xbf"
  9889. "\x34\x73\xda\x87\x87\x3d\x6f\x97"
  9890. "\x4a\x0c\xa3\x58\x20\xa2\xc0\x81"
  9891. "\x5b\x8c\xef\xa9\xc2\x01\x1e\x64"
  9892. "\x83\x8c\xbc\x03\xb6\xd0\x29\x9f"
  9893. "\x54\xe2\xce\x8b\xc2\x07\x85\x78"
  9894. "\x25\x38\x96\x4c\xb4\xbe\x17\x4a"
  9895. "\x65\xa6\xfa\x52\x9d\x66\x9d\x65"
  9896. "\x4a\xd1\x01\x01\xf0\xcb\x13\xcc"
  9897. "\xa5\x82\xf3\xf2\x66\xcd\x3f\x9d"
  9898. "\xd1\xaa\xe4\x67\xea\xf2\xad\x88"
  9899. "\x56\x76\xa7\x9b\x59\x3c\xb1\x5d"
  9900. "\x78\xfd\x69\x79\x74\x78\x43\x26"
  9901. "\x7b\xde\x3f\xf1\xf5\x4e\x14\xd9"
  9902. "\x15\xf5\x75\xb5\x2e\x19\xf3\x0c"
  9903. "\x48\x72\xd6\x71\x6d\x03\x6e\xaa"
  9904. "\xa7\x08\xf9\xaa\x70\xa3\x0f\x4d"
  9905. "\x12\x8a\xdd\xe3\x39\x73\x7e\xa7"
  9906. "\xea\x1f\x6d\x06\x26\x2a\xf2\xc5"
  9907. "\x52\xb4\xbf\xfd\x52\x0c\x06\x60"
  9908. "\x90\xd1\xb2\x7b\x56\xae\xac\x58"
  9909. "\x5a\x6b\x50\x2a\xf5\xe0\x30\x3c"
  9910. "\x2a\x98\x0f\x1b\x5b\x0a\x84\x6c"
  9911. "\x31\xae\x92\xe2\xd4\xbb\x7f\x59"
  9912. "\x26\x10\xb9\x89\x37\x68\x26\xbf"
  9913. "\x41\xc8\x49\xc4\x70\x35\x7d\xff"
  9914. "\x2d\x7f\xf6\x8a\x93\x68\x8c\x78"
  9915. "\x0d\x53\xce\x7d\xff\x7d\xfb\xae"
  9916. "\x13\x1b\x75\xc4\x78\xd7\x71\xd8"
  9917. "\xea\xd3\xf4\x9d\x95\x64\x8e\xb4"
  9918. "\xde\xb8\xe4\xa6\x68\xc8\xae\x73"
  9919. "\x58\xaf\xa8\xb0\x5a\x20\xde\x87"
  9920. "\x43\xb9\x0f\xe3\xad\x41\x4b\xd5"
  9921. "\xb7\xad\x16\x00\xa6\xff\xf6\x74"
  9922. "\xbf\x8c\x9f\xb3\x58\x1b\xb6\x55"
  9923. "\xa9\x90\x56\x28\xf0\xb5\x13\x4e"
  9924. "\x9e\xf7\x25\x86\xe0\x07\x7b\x98"
  9925. "\xd8\x60\x5d\x38\x95\x3c\xe4\x22"
  9926. "\x16\x2f\xb2\xa2\xaf\xe8\x90\x17"
  9927. "\xec\x11\x83\x1a\xf4\xa9\x26\xda"
  9928. "\x39\x72\xf5\x94\x61\x05\x51\xec"
  9929. "\xa8\x30\x8b\x2c\x13\xd0\x72\xac"
  9930. "\xb9\xd2\xa0\x4c\x4b\x78\xe8\x6e"
  9931. "\x04\x85\xe9\x04\x49\x82\x91\xff"
  9932. "\x89\xe5\xab\x4c\xaa\x37\x03\x12"
  9933. "\xca\x8b\x74\x10\xfd\x9e\xd9\x7b"
  9934. "\xcb\xdb\x82\x6e\xce\x2e\x33\x39"
  9935. "\xce\xd2\x84\x6e\x34\x71\x51\x6e"
  9936. "\x0d\xd6\x01\x87\xc7\xfa\x0a\xd3"
  9937. "\xad\x36\xf3\x4c\x9f\x96\x5e\x62"
  9938. "\x62\x54\xc3\x03\x78\xd6\xab\xdd"
  9939. "\x89\x73\x55\x25\x30\xf8\xa7\xe6"
  9940. "\x4f\x11\x0c\x7c\x0a\xa1\x2b\x7b"
  9941. "\x3d\x0d\xde\x81\xd4\x9d\x0b\xae"
  9942. "\xdf\x00\xf9\x4c\xb6\x90\x8e\x16"
  9943. "\xcb\x11\xc8\xd1\x2e\x73\x13\x75"
  9944. "\x75\x3e\xaa\xf5\xee\x02\xb3\x18"
  9945. "\xa6\x2d\xf5\x3b\x51\xd1\x1f\x47"
  9946. "\x6b\x2c\xdb\xc4\x10\xe0\xc8\xba"
  9947. "\x9d\xac\xb1\x9d\x75\xd5\x41\x0e"
  9948. "\x7e\xbe\x18\x5b\xa4\x1f\xf8\x22"
  9949. "\x4c\xc1\x68\xda\x6d\x51\x34\x6c"
  9950. "\x19\x59\xec\xb5\xb1\xec\xa7\x03"
  9951. "\xca\x54\x99\x63\x05\x6c\xb1\xac"
  9952. "\x9c\x31\xd6\xdb\xba\x7b\x14\x12"
  9953. "\x7a\xc3\x2f\xbf\x8d\xdc\x37\x46"
  9954. "\xdb\xd2\xbc\xd4\x2f\xab\x30\xd5"
  9955. "\xed\x34\x99\x8e\x83\x3e\xbe\x4c"
  9956. "\x86\x79\x58\xe0\x33\x8d\x9a\xb8"
  9957. "\xa9\xa6\x90\x46\xa2\x02\xb8\xdd"
  9958. "\xf5\xf9\x1a\x5c\x8c\x01\xaa\x6e"
  9959. "\xb4\x22\x12\xf5\x0c\x1b\x9b\x7a"
  9960. "\xc3\x80\xf3\x06\x00\x5f\x30\xd5"
  9961. "\x06\xdb\x7d\x82\xc2\xd4\x0b\x4c"
  9962. "\x5f\xe9\xc5\xf5\xdf\x97\x12\xbf"
  9963. "\x56\xaf\x9b\x69\xcd\xee\x30\xb4"
  9964. "\xa8\x71\xff\x3e\x7d\x73\x7a\xb4"
  9965. "\x0d\xa5\x46\x7a\xf3\xf4\x15\x87"
  9966. "\x5d\x93\x2b\x8c\x37\x64\xb5\xdd"
  9967. "\x48\xd1\xe5\x8c\xae\xd4\xf1\x76"
  9968. "\xda\xf4\xba\x9e\x25\x0e\xad\xa3"
  9969. "\x0d\x08\x7c\xa8\x82\x16\x8d\x90"
  9970. "\x56\x40\x16\x84\xe7\x22\x53\x3a"
  9971. "\x58\xbc\xb9\x8f\x33\xc8\xc2\x84"
  9972. "\x22\xe6\x0d\xe7\xb3\xdc\x5d\xdf"
  9973. "\xd7\x2a\x36\xe4\x16\x06\x07\xd2"
  9974. "\x97\x60\xb2\xf5\x5e\x14\xc9\xfd"
  9975. "\x8b\x05\xd1\xce\xee\x9a\x65\x99"
  9976. "\xb7\xae\x19\xb7\xc8\xbc\xd5\xa2"
  9977. "\x7b\x95\xe1\xcc\xba\x0d\xdc\x8a"
  9978. "\x1d\x59\x52\x50\xaa\x16\x02\x82"
  9979. "\xdf\x61\x33\x2e\x44\xce\x49\xc7"
  9980. "\xe5\xc6\x2e\x76\xcf\x80\x52\xf0"
  9981. "\x3d\x17\x34\x47\x3f\xd3\x80\x48"
  9982. "\xa2\xba\xd5\xc7\x7b\x02\x28\xdb"
  9983. "\xac\x44\xc7\x6e\x05\x5c\xc2\x79"
  9984. "\xb3\x7d\x6a\x47\x77\x66\xf1\x38"
  9985. "\xf0\xf5\x4f\x27\x1a\x31\xca\x6c"
  9986. "\x72\x95\x92\x8e\x3f\xb0\xec\x1d"
  9987. "\xc7\x2a\xff\x73\xee\xdf\x55\x80"
  9988. "\x93\xd2\xbd\x34\xd3\x9f\x00\x51"
  9989. "\xfb\x2e\x41\xba\x6c\x5a\x7c\x17"
  9990. "\x7f\xe6\x70\xac\x8d\x39\x3f\x77"
  9991. "\xe2\x23\xac\x8f\x72\x4e\xe4\x53"
  9992. "\xcc\xf1\x1b\xf1\x35\xfe\x52\xa4"
  9993. "\xd6\xb8\x40\x6b\xc1\xfd\xa0\xa1"
  9994. "\xf5\x46\x65\xc2\x50\xbb\x43\xe2"
  9995. "\xd1\x43\x28\x34\x74\xf5\x87\xa0"
  9996. "\xf2\x5e\x27\x3b\x59\x2b\x3e\x49"
  9997. "\xdf\x46\xee\xaf\x71\xd7\x32\x36"
  9998. "\xc7\x14\x0b\x58\x6e\x3e\x2d\x41"
  9999. "\xfa\x75\x66\x3a\x54\xe0\xb2\xb9"
  10000. "\xaf\xdd\x04\x80\x15\x19\x3f\x6f"
  10001. "\xce\x12\xb4\xd8\xe8\x89\x3c\x05"
  10002. "\x30\xeb\xf3\x3d\xcd\x27\xec\xdc"
  10003. "\x56\x70\x12\xcf\x78\x2b\x77\xbf"
  10004. "\x22\xf0\x1b\x17\x9c\xcc\xd6\x1b"
  10005. "\x2d\x3d\xa0\x3b\xd8\xc9\x70\xa4"
  10006. "\x7a\x3e\x07\xb9\x06\xc3\xfa\xb0"
  10007. "\x33\xee\xc1\xd8\xf6\xe0\xf0\xb2"
  10008. "\x61\x12\x69\xb0\x5f\x28\x99\xda"
  10009. "\xc3\x61\x48\xfa\x07\x16\x03\xc4"
  10010. "\xa8\xe1\x3c\xe8\x0e\x64\x15\x30"
  10011. "\xc1\x9d\x84\x2f\x73\x98\x0e\x3a"
  10012. "\xf2\x86\x21\xa4\x9e\x1d\xb5\x86"
  10013. "\x16\xdb\x2b\x9a\x06\x64\x8e\x79"
  10014. "\x8d\x76\x3e\xc3\xc2\x64\x44\xe3"
  10015. "\xda\xbc\x1a\x52\xd7\x61\x03\x65"
  10016. "\x54\x32\x77\x01\xed\x9d\x8a\x43"
  10017. "\x25\x24\xe3\xc1\xbe\xb8\x2f\xcb"
  10018. "\x89\x14\x64\xab\xf6\xa0\x6e\x02"
  10019. "\x57\xe4\x7d\xa9\x4e\x9a\x03\x36"
  10020. "\xad\xf1\xb1\xfc\x0b\xe6\x79\x51"
  10021. "\x9f\x81\x77\xc4\x14\x78\x9d\xbf"
  10022. "\xb6\xd6\xa3\x8c\xba\x0b\x26\xe7"
  10023. "\xc8\xb9\x5c\xcc\xe1\x5f\xd5\xc6"
  10024. "\xc4\xca\xc2\xa3\x45\xba\x94\x13"
  10025. "\xb2\x8f\xc3\x54\x01\x09\xe7\x8b"
  10026. "\xda\x2a\x0a\x11\x02\x43\xcb\x57"
  10027. "\xc9\xcc\xb5\x5c\xab\xc4\xec\x54"
  10028. "\x00\x06\x34\xe1\x6e\x03\x89\x7c"
  10029. "\xc6\xfb\x6a\xc7\x60\x43\xd6\xc5"
  10030. "\xb5\x68\x72\x89\x8f\x42\xc3\x74"
  10031. "\xbd\x25\xaa\x9f\x67\xb5\xdf\x26"
  10032. "\x20\xe8\xb7\x01\x3c\xe4\x77\xce"
  10033. "\xc4\x65\xa7\x23\x79\xea\x33\xc7"
  10034. "\x82\x14\x5c\x82\xf2\x4e\x3d\xf6"
  10035. "\xc6\x4a\x0e\x29\xbb\xec\x44\xcd"
  10036. "\x2f\xd1\x4f\x21\x71\xa9\xce\x0f"
  10037. "\x5c\xf2\x72\x5c\x08\x2e\x21\xd2"
  10038. "\xc3\x29\x13\xd8\xac\xc3\xda\x13"
  10039. "\x1a\x9d\xa7\x71\x1d\x27\x1d\x27"
  10040. "\x1d\xea\xab\x44\x79\xad\xe5\xeb"
  10041. "\xef\x1f\x22\x0a\x44\x4f\xcb\x87"
  10042. "\xa7\x58\x71\x0e\x66\xf8\x60\xbf"
  10043. "\x60\x74\x4a\xb4\xec\x2e\xfe\xd3"
  10044. "\xf5\xb8\xfe\x46\x08\x50\x99\x6c"
  10045. "\x66\xa5\xa8\x34\x44\xb5\xe5\xf0"
  10046. "\xdd\x2c\x67\x4e\x35\x96\x8e\x67"
  10047. "\x48\x3f\x5f\x37\x44\x60\x51\x2e"
  10048. "\x14\x91\x5e\x57\xc3\x0e\x79\x77"
  10049. "\x2f\x03\xf4\xe2\x1c\x72\xbf\x85"
  10050. "\x5d\xd3\x17\xdf\x6c\xc5\x70\x24"
  10051. "\x42\xdf\x51\x4e\x2a\xb2\xd2\x5b"
  10052. "\x9e\x69\x83\x41\x11\xfe\x73\x22"
  10053. "\xde\x8a\x9e\xd8\x8a\xfb\x20\x38"
  10054. "\xd8\x47\x6f\xd5\xed\x8f\x41\xfd"
  10055. "\x13\x7a\x18\x03\x7d\x0f\xcd\x7d"
  10056. "\xa6\x7d\x31\x9e\xf1\x8f\x30\xa3"
  10057. "\x8b\x4c\x24\xb7\xf5\x48\xd7\xd9"
  10058. "\x12\xe7\x84\x97\x5c\x31\x6d\xfb"
  10059. "\xdf\xf3\xd3\xd1\xd5\x0c\x30\x06"
  10060. "\x01\x6a\xbc\x6c\x78\x7b\xa6\x50"
  10061. "\xfa\x0f\x3c\x42\x2d\xa5\xa3\x3b"
  10062. "\xcf\x62\x50\xff\x71\x6d\xe7\xda"
  10063. "\x27\xab\xc6\x67\x16\x65\x68\x64"
  10064. "\xc7\xd5\x5f\x81\xa9\xf6\x65\xb3"
  10065. "\x5e\x43\x91\x16\xcd\x3d\x55\x37"
  10066. "\x55\xb3\xf0\x28\xc5\x54\x19\xc0"
  10067. "\xe0\xd6\x2a\x61\xd4\xc8\x72\x51"
  10068. "\xe9\xa1\x7b\x48\x21\xad\x44\x09"
  10069. "\xe4\x01\x61\x3c\x8a\x5b\xf9\xa1"
  10070. "\x6e\x1b\xdf\xc0\x04\xa8\x8b\xf2"
  10071. "\x21\xbe\x34\x7b\xfc\xa1\xcd\xc9"
  10072. "\xa9\x96\xf4\xa4\x4c\xf7\x4e\x8f"
  10073. "\x84\xcc\xd3\xa8\x92\x77\x8f\x36"
  10074. "\xe2\x2e\x8c\x33\xe8\x84\xa6\x0c"
  10075. "\x6c\x8a\xda\x14\x32\xc2\x96\xff"
  10076. "\xc6\x4a\xc2\x9b\x30\x7f\xd1\x29"
  10077. "\xc0\xd5\x78\x41\x00\x80\x80\x03"
  10078. "\x2a\xb1\xde\x26\x03\x48\x49\xee"
  10079. "\x57\x14\x76\x51\x3c\x36\x5d\x0a"
  10080. "\x5c\x9f\xe8\xd8\x53\xdb\x4f\xd4"
  10081. "\x38\xbf\x66\xc9\x75\x12\x18\x75"
  10082. "\x34\x2d\x93\x22\x96\x51\x24\x6e"
  10083. "\x4e\xd9\x30\xea\x67\xff\x92\x1c"
  10084. "\x16\x26\xe9\xb5\x33\xab\x8c\x22"
  10085. "\x47\xdb\xa0\x2c\x08\xf0\x12\x69"
  10086. "\x7e\x93\x52\xda\xa5\xe5\xca\xc1"
  10087. "\x0f\x55\x2a\xbd\x09\x30\x88\x1b"
  10088. "\x9c\xc6\x9f\xe6\xdb\xa6\x92\xeb"
  10089. "\xf4\xbd\x5c\xc4\xdb\xc6\x71\x09"
  10090. "\xab\x5e\x48\x0c\xed\x6f\xda\x8e"
  10091. "\x8d\x0c\x98\x71\x7d\x10\xd0\x9c"
  10092. "\x20\x9b\x79\x53\x26\x5d\xb9\x85"
  10093. "\x8a\x31\xb8\xc5\x1c\x97\xde\x88"
  10094. "\x61\x55\x7f\x7c\x21\x06\xea\xc4"
  10095. "\x5f\xaf\xf2\xf0\xd5\x5e\x7d\xb4"
  10096. "\x6e\xcf\xe9\xae\x1b\x0e\x11\x80"
  10097. "\xc1\x9a\x74\x7e\x52\x6f\xa0\xb7"
  10098. "\x24\xcd\x8d\x0a\x11\x40\x63\x72"
  10099. "\xfa\xe2\xc5\xb3\x94\xef\x29\xa2"
  10100. "\x1a\x23\x43\x04\x37\x55\x0d\xe9"
  10101. "\x83\xb2\x29\x51\x49\x64\xa0\xbd"
  10102. "\xde\x73\xfd\xa5\x7c\x95\x70\x62"
  10103. "\x58\xdc\xe2\xd0\xbf\x98\xf5\x8a"
  10104. "\x6a\xfd\xce\xa8\x0e\x42\x2a\xeb"
  10105. "\xd2\xff\x83\x27\x53\x5c\xa0\x6e"
  10106. "\x93\xef\xe2\xb9\x5d\x35\xd6\x98"
  10107. "\xf6\x71\x19\x7a\x54\xa1\xa7\xe8"
  10108. "\x09\xfe\xf6\x9e\xc7\xbd\x3e\x29"
  10109. "\xbd\x6b\x17\xf4\xe7\x3e\x10\x5c"
  10110. "\xc1\xd2\x59\x4f\x4b\x12\x1a\x5b"
  10111. "\x50\x80\x59\xb9\xec\x13\x66\xa8"
  10112. "\xd2\x31\x7b\x6a\x61\x22\xdd\x7d"
  10113. "\x61\xee\x87\x16\x46\x9f\xf9\xc7"
  10114. "\x41\xee\x74\xf8\xd0\x96\x2c\x76"
  10115. "\x2a\xac\x7d\x6e\x9f\x0e\x7f\x95"
  10116. "\xfe\x50\x16\xb2\x23\xca\x62\xd5"
  10117. "\x68\xcf\x07\x3f\x3f\x97\x85\x2a"
  10118. "\x0c\x25\x45\xba\xdb\x32\xcb\x83"
  10119. "\x8c\x4f\xe0\x6d\x9a\x99\xf9\xc9"
  10120. "\xda\xd4\x19\x31\xc1\x7c\x6d\xd9"
  10121. "\x9c\x56\xd3\xec\xc1\x81\x4c\xed"
  10122. "\x28\x9d\x87\xeb\x19\xd7\x1a\x4f"
  10123. "\x04\x6a\xcb\x1f\xcf\x1f\xa2\x16"
  10124. "\xfc\x2a\x0d\xa1\x14\x2d\xfa\xc5"
  10125. "\x5a\xd2\xc5\xf9\x19\x7c\x20\x1f"
  10126. "\x2d\x10\xc0\x66\x7c\xd9\x2d\xe5"
  10127. "\x88\x70\x59\xa7\x85\xd5\x2e\x7c"
  10128. "\x5c\xe3\xb7\x12\xd6\x97\x3f\x29",
  10129. .psize = 2048,
  10130. .digest = "\x37\x90\x92\xc2\xeb\x01\x87\xd9"
  10131. "\x95\xc7\x91\xc3\x17\x8b\x38\x52",
  10132. }
  10133. };
  10134. /*
  10135. * DES test vectors.
  10136. */
  10137. static const struct cipher_testvec des_tv_template[] = {
  10138. { /* From Applied Cryptography */
  10139. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10140. .klen = 8,
  10141. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
  10142. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
  10143. .len = 8,
  10144. }, { /* Same key, different plaintext block */
  10145. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10146. .klen = 8,
  10147. .ptext = "\x22\x33\x44\x55\x66\x77\x88\x99",
  10148. .ctext = "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
  10149. .len = 8,
  10150. }, { /* Sbox test from NBS */
  10151. .key = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
  10152. .klen = 8,
  10153. .ptext = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
  10154. .ctext = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
  10155. .len = 8,
  10156. }, { /* Three blocks */
  10157. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10158. .klen = 8,
  10159. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
  10160. "\x22\x33\x44\x55\x66\x77\x88\x99"
  10161. "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
  10162. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
  10163. "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
  10164. "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
  10165. .len = 24,
  10166. }, { /* Weak key */
  10167. .setkey_error = -EINVAL,
  10168. .wk = 1,
  10169. .key = "\x01\x01\x01\x01\x01\x01\x01\x01",
  10170. .klen = 8,
  10171. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
  10172. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
  10173. .len = 8,
  10174. }, { /* Two blocks -- for testing encryption across pages */
  10175. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10176. .klen = 8,
  10177. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
  10178. "\x22\x33\x44\x55\x66\x77\x88\x99",
  10179. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
  10180. "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
  10181. .len = 16,
  10182. }, {
  10183. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10184. .klen = 8,
  10185. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
  10186. "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
  10187. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
  10188. "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
  10189. .len = 16,
  10190. }, { /* Four blocks -- for testing encryption with chunking */
  10191. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10192. .klen = 8,
  10193. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
  10194. "\x22\x33\x44\x55\x66\x77\x88\x99"
  10195. "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
  10196. "\x22\x33\x44\x55\x66\x77\x88\x99",
  10197. .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
  10198. "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
  10199. "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
  10200. "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
  10201. .len = 32,
  10202. }, { /* Generated with Crypto++ */
  10203. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
  10204. .klen = 8,
  10205. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  10206. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  10207. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  10208. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  10209. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  10210. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  10211. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  10212. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  10213. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  10214. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  10215. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  10216. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  10217. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  10218. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  10219. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  10220. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  10221. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  10222. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  10223. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  10224. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  10225. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  10226. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  10227. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  10228. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  10229. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  10230. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  10231. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  10232. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  10233. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  10234. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  10235. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
  10236. .ctext = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
  10237. "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
  10238. "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
  10239. "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
  10240. "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
  10241. "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
  10242. "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
  10243. "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
  10244. "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
  10245. "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
  10246. "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
  10247. "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
  10248. "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
  10249. "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
  10250. "\x2E\x51\x16\xCA\x09\x89\x54\x62"
  10251. "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
  10252. "\x62\xF0\x02\x58\x83\xAF\x30\x87"
  10253. "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
  10254. "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
  10255. "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
  10256. "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
  10257. "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
  10258. "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
  10259. "\xE9\x95\x61\x74\x12\xED\x07\xD7"
  10260. "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
  10261. "\x51\x96\x16\xF7\x94\x61\xB8\x87"
  10262. "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
  10263. "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
  10264. "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
  10265. "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
  10266. "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
  10267. .len = 248,
  10268. },
  10269. };
  10270. static const struct cipher_testvec des_cbc_tv_template[] = {
  10271. { /* From OpenSSL */
  10272. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10273. .klen = 8,
  10274. .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  10275. .iv_out = "\x46\x8e\x91\x15\x78\x88\xba\x68",
  10276. .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
  10277. "\x4e\x6f\x77\x20\x69\x73\x20\x74"
  10278. "\x68\x65\x20\x74\x69\x6d\x65\x20",
  10279. .ctext = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
  10280. "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
  10281. "\x46\x8e\x91\x15\x78\x88\xba\x68",
  10282. .len = 24,
  10283. }, { /* FIPS Pub 81 */
  10284. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10285. .klen = 8,
  10286. .iv = "\x12\x34\x56\x78\x90\xab\xcd\xef",
  10287. .iv_out = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
  10288. .ptext = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
  10289. .ctext = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
  10290. .len = 8,
  10291. }, {
  10292. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10293. .klen = 8,
  10294. .iv = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
  10295. .iv_out = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
  10296. .ptext = "\x68\x65\x20\x74\x69\x6d\x65\x20",
  10297. .ctext = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
  10298. .len = 8,
  10299. }, {
  10300. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  10301. .klen = 8,
  10302. .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
  10303. .iv_out = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
  10304. .ptext = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
  10305. .ctext = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
  10306. .len = 8,
  10307. }, { /* Generated with Crypto++ */
  10308. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
  10309. .klen = 8,
  10310. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
  10311. .iv_out = "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
  10312. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  10313. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  10314. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  10315. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  10316. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  10317. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  10318. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  10319. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  10320. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  10321. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  10322. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  10323. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  10324. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  10325. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  10326. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  10327. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  10328. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  10329. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  10330. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  10331. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  10332. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  10333. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  10334. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  10335. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  10336. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  10337. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  10338. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  10339. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  10340. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  10341. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  10342. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
  10343. .ctext = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
  10344. "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
  10345. "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
  10346. "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
  10347. "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
  10348. "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
  10349. "\x81\x72\x74\xDE\x30\x19\x69\x49"
  10350. "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
  10351. "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
  10352. "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
  10353. "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
  10354. "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
  10355. "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
  10356. "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
  10357. "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
  10358. "\x49\x90\x88\x6A\x09\x8F\x76\x59"
  10359. "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
  10360. "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
  10361. "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
  10362. "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
  10363. "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
  10364. "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
  10365. "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
  10366. "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
  10367. "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
  10368. "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
  10369. "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
  10370. "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
  10371. "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
  10372. "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
  10373. "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
  10374. .len = 248,
  10375. },
  10376. };
  10377. static const struct cipher_testvec des_ctr_tv_template[] = {
  10378. { /* Generated with Crypto++ */
  10379. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
  10380. .klen = 8,
  10381. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  10382. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x1C",
  10383. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  10384. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  10385. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  10386. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  10387. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  10388. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  10389. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  10390. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  10391. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  10392. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  10393. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  10394. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  10395. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  10396. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  10397. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  10398. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  10399. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  10400. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  10401. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  10402. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  10403. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  10404. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  10405. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  10406. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  10407. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  10408. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  10409. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  10410. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  10411. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  10412. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  10413. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
  10414. .ctext = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
  10415. "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
  10416. "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
  10417. "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
  10418. "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
  10419. "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
  10420. "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
  10421. "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
  10422. "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
  10423. "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
  10424. "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
  10425. "\xBE\x4C\x91\x43\x22\x65\x72\x48"
  10426. "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
  10427. "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
  10428. "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
  10429. "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
  10430. "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
  10431. "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
  10432. "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
  10433. "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
  10434. "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
  10435. "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
  10436. "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
  10437. "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
  10438. "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
  10439. "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
  10440. "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
  10441. "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
  10442. "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
  10443. "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
  10444. "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
  10445. .len = 248,
  10446. }, { /* Generated with Crypto++ */
  10447. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
  10448. .klen = 8,
  10449. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
  10450. .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x66",
  10451. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  10452. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  10453. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  10454. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  10455. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  10456. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  10457. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  10458. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  10459. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  10460. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  10461. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  10462. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  10463. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  10464. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  10465. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  10466. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  10467. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  10468. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  10469. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  10470. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  10471. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  10472. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  10473. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  10474. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  10475. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  10476. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  10477. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  10478. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  10479. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  10480. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  10481. "\xC6\x2F\xBB\x24\x8D\x19\x82",
  10482. .ctext = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
  10483. "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
  10484. "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
  10485. "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
  10486. "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
  10487. "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
  10488. "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
  10489. "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
  10490. "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
  10491. "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
  10492. "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
  10493. "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
  10494. "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
  10495. "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
  10496. "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
  10497. "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
  10498. "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
  10499. "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
  10500. "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
  10501. "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
  10502. "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
  10503. "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
  10504. "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
  10505. "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
  10506. "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
  10507. "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
  10508. "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
  10509. "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
  10510. "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
  10511. "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
  10512. "\x91\x45\x05\x3E\x58\xBF\x32",
  10513. .len = 247,
  10514. },
  10515. };
  10516. static const struct cipher_testvec des3_ede_tv_template[] = {
  10517. { /* These are from openssl */
  10518. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  10519. "\x55\x55\x55\x55\x55\x55\x55\x55"
  10520. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  10521. .klen = 24,
  10522. .ptext = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
  10523. .ctext = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
  10524. .len = 8,
  10525. }, {
  10526. .key = "\x03\x52\x02\x07\x67\x20\x82\x17"
  10527. "\x86\x02\x87\x66\x59\x08\x21\x98"
  10528. "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
  10529. .klen = 24,
  10530. .ptext = "\x73\x71\x75\x69\x67\x67\x6c\x65",
  10531. .ctext = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
  10532. .len = 8,
  10533. }, {
  10534. .key = "\x10\x46\x10\x34\x89\x98\x80\x20"
  10535. "\x91\x07\xd0\x15\x89\x19\x01\x01"
  10536. "\x19\x07\x92\x10\x98\x1a\x01\x01",
  10537. .klen = 24,
  10538. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  10539. .ctext = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
  10540. .len = 8,
  10541. }, { /* Generated with Crypto++ */
  10542. .key = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
  10543. "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
  10544. "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
  10545. .klen = 24,
  10546. .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
  10547. "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
  10548. "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
  10549. "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
  10550. "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
  10551. "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
  10552. "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
  10553. "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
  10554. "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
  10555. "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
  10556. "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
  10557. "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
  10558. "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
  10559. "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
  10560. "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
  10561. "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
  10562. "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
  10563. "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
  10564. "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
  10565. "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
  10566. "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
  10567. "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
  10568. "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
  10569. "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
  10570. "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
  10571. "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
  10572. "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
  10573. "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
  10574. "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
  10575. "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
  10576. "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
  10577. "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
  10578. "\x50\x3B\x82\x15\x99\x60\xCB\x52"
  10579. "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
  10580. "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
  10581. "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
  10582. "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
  10583. "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
  10584. "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
  10585. "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
  10586. "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
  10587. "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
  10588. "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
  10589. "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
  10590. "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
  10591. "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
  10592. "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
  10593. "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
  10594. "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
  10595. "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
  10596. "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
  10597. "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
  10598. "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
  10599. "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
  10600. "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
  10601. "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
  10602. "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
  10603. "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
  10604. "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
  10605. "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
  10606. "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
  10607. "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
  10608. .ctext = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
  10609. "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
  10610. "\x81\x01\x04\x00\x76\xFA\xED\xD3"
  10611. "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
  10612. "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
  10613. "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
  10614. "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
  10615. "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
  10616. "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
  10617. "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
  10618. "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
  10619. "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
  10620. "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
  10621. "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
  10622. "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
  10623. "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
  10624. "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
  10625. "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
  10626. "\x45\x86\x50\x01\x70\x35\x99\x92"
  10627. "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
  10628. "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
  10629. "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
  10630. "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
  10631. "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
  10632. "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
  10633. "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
  10634. "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
  10635. "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
  10636. "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
  10637. "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
  10638. "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
  10639. "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
  10640. "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
  10641. "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
  10642. "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
  10643. "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
  10644. "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
  10645. "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
  10646. "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
  10647. "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
  10648. "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
  10649. "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
  10650. "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
  10651. "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
  10652. "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
  10653. "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
  10654. "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
  10655. "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
  10656. "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
  10657. "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
  10658. "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
  10659. "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
  10660. "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
  10661. "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
  10662. "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
  10663. "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
  10664. "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
  10665. "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
  10666. "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
  10667. "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
  10668. "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
  10669. "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
  10670. .len = 496,
  10671. },
  10672. };
  10673. static const struct cipher_testvec des3_ede_cbc_tv_template[] = {
  10674. { /* Generated from openssl */
  10675. .key = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  10676. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  10677. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  10678. .klen = 24,
  10679. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  10680. .iv_out = "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
  10681. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  10682. "\x53\x20\x63\x65\x65\x72\x73\x74"
  10683. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  10684. "\x20\x79\x65\x53\x72\x63\x74\x65"
  10685. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  10686. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  10687. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  10688. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  10689. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  10690. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  10691. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  10692. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  10693. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  10694. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  10695. "\x63\x65\x65\x72\x73\x74\x54\x20"
  10696. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  10697. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  10698. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  10699. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  10700. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  10701. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  10702. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  10703. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  10704. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  10705. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  10706. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  10707. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  10708. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  10709. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  10710. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  10711. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  10712. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
  10713. .len = 128,
  10714. }, { /* Generated with Crypto++ */
  10715. .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
  10716. "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
  10717. "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
  10718. .klen = 24,
  10719. .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
  10720. "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
  10721. .iv_out = "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
  10722. .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
  10723. "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
  10724. "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
  10725. "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
  10726. "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
  10727. "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
  10728. "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
  10729. "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
  10730. "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
  10731. "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
  10732. "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
  10733. "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
  10734. "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
  10735. "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
  10736. "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
  10737. "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
  10738. "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
  10739. "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
  10740. "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
  10741. "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
  10742. "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
  10743. "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
  10744. "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
  10745. "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
  10746. "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
  10747. "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
  10748. "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
  10749. "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
  10750. "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
  10751. "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
  10752. "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
  10753. "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
  10754. "\x50\x3B\x82\x15\x99\x60\xCB\x52"
  10755. "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
  10756. "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
  10757. "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
  10758. "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
  10759. "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
  10760. "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
  10761. "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
  10762. "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
  10763. "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
  10764. "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
  10765. "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
  10766. "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
  10767. "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
  10768. "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
  10769. "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
  10770. "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
  10771. "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
  10772. "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
  10773. "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
  10774. "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
  10775. "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
  10776. "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
  10777. "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
  10778. "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
  10779. "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
  10780. "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
  10781. "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
  10782. "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
  10783. "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
  10784. .ctext = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
  10785. "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
  10786. "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
  10787. "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
  10788. "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
  10789. "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
  10790. "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
  10791. "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
  10792. "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
  10793. "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
  10794. "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
  10795. "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
  10796. "\x11\x35\x61\x94\x88\x7B\x1C\x48"
  10797. "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
  10798. "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
  10799. "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
  10800. "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
  10801. "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
  10802. "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
  10803. "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
  10804. "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
  10805. "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
  10806. "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
  10807. "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
  10808. "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
  10809. "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
  10810. "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
  10811. "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
  10812. "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
  10813. "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
  10814. "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
  10815. "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
  10816. "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
  10817. "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
  10818. "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
  10819. "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
  10820. "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
  10821. "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
  10822. "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
  10823. "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
  10824. "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
  10825. "\x73\x50\x08\x56\x20\x9B\x94\x23"
  10826. "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
  10827. "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
  10828. "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
  10829. "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
  10830. "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
  10831. "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
  10832. "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
  10833. "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
  10834. "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
  10835. "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
  10836. "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
  10837. "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
  10838. "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
  10839. "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
  10840. "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
  10841. "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
  10842. "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
  10843. "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
  10844. "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
  10845. "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
  10846. .len = 496,
  10847. },
  10848. };
  10849. static const struct cipher_testvec des3_ede_ctr_tv_template[] = {
  10850. { /* Generated with Crypto++ */
  10851. .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
  10852. "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
  10853. "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
  10854. .klen = 24,
  10855. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF",
  10856. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3D",
  10857. .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
  10858. "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
  10859. "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
  10860. "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
  10861. "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
  10862. "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
  10863. "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
  10864. "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
  10865. "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
  10866. "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
  10867. "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
  10868. "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
  10869. "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
  10870. "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
  10871. "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
  10872. "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
  10873. "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
  10874. "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
  10875. "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
  10876. "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
  10877. "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
  10878. "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
  10879. "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
  10880. "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
  10881. "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
  10882. "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
  10883. "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
  10884. "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
  10885. "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
  10886. "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
  10887. "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
  10888. "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
  10889. "\x50\x3B\x82\x15\x99\x60\xCB\x52"
  10890. "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
  10891. "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
  10892. "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
  10893. "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
  10894. "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
  10895. "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
  10896. "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
  10897. "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
  10898. "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
  10899. "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
  10900. "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
  10901. "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
  10902. "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
  10903. "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
  10904. "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
  10905. "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
  10906. "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
  10907. "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
  10908. "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
  10909. "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
  10910. "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
  10911. "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
  10912. "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
  10913. "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
  10914. "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
  10915. "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
  10916. "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
  10917. "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
  10918. "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
  10919. .ctext = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
  10920. "\x19\xCD\x6F\x32\x53\x05\x22\x15"
  10921. "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
  10922. "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
  10923. "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
  10924. "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
  10925. "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
  10926. "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
  10927. "\x13\x78\xDC\x89\x12\x12\x43\xFA"
  10928. "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
  10929. "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
  10930. "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
  10931. "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
  10932. "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
  10933. "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
  10934. "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
  10935. "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
  10936. "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
  10937. "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
  10938. "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
  10939. "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
  10940. "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
  10941. "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
  10942. "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
  10943. "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
  10944. "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
  10945. "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
  10946. "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
  10947. "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
  10948. "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
  10949. "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
  10950. "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
  10951. "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
  10952. "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
  10953. "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
  10954. "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
  10955. "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
  10956. "\x83\x37\x4F\x1F\x48\x30\xED\x04"
  10957. "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
  10958. "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
  10959. "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
  10960. "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
  10961. "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
  10962. "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
  10963. "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
  10964. "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
  10965. "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
  10966. "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
  10967. "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
  10968. "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
  10969. "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
  10970. "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
  10971. "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
  10972. "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
  10973. "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
  10974. "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
  10975. "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
  10976. "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
  10977. "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
  10978. "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
  10979. "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
  10980. "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
  10981. .len = 496,
  10982. }, { /* Generated with Crypto++ */
  10983. .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
  10984. "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
  10985. "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
  10986. .klen = 24,
  10987. .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12",
  10988. .iv_out = "\xB2\xD7\x48\xED\x06\x44\xF9\x51",
  10989. .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
  10990. "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
  10991. "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
  10992. "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
  10993. "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
  10994. "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
  10995. "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
  10996. "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
  10997. "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
  10998. "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
  10999. "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
  11000. "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
  11001. "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
  11002. "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
  11003. "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
  11004. "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
  11005. "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
  11006. "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
  11007. "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
  11008. "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
  11009. "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
  11010. "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
  11011. "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
  11012. "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
  11013. "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
  11014. "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
  11015. "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
  11016. "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
  11017. "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
  11018. "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
  11019. "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
  11020. "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
  11021. "\x50\x3B\x82\x15\x99\x60\xCB\x52"
  11022. "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
  11023. "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
  11024. "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
  11025. "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
  11026. "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
  11027. "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
  11028. "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
  11029. "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
  11030. "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
  11031. "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
  11032. "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
  11033. "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
  11034. "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
  11035. "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
  11036. "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
  11037. "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
  11038. "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
  11039. "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
  11040. "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
  11041. "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
  11042. "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
  11043. "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
  11044. "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
  11045. "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
  11046. "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
  11047. "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
  11048. "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
  11049. "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
  11050. "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
  11051. "\x2E\xB1\x18",
  11052. .ctext = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
  11053. "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
  11054. "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
  11055. "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
  11056. "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
  11057. "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
  11058. "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
  11059. "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
  11060. "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
  11061. "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
  11062. "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
  11063. "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
  11064. "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
  11065. "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
  11066. "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
  11067. "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
  11068. "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
  11069. "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
  11070. "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
  11071. "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
  11072. "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
  11073. "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
  11074. "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
  11075. "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
  11076. "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
  11077. "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
  11078. "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
  11079. "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
  11080. "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
  11081. "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
  11082. "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
  11083. "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
  11084. "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
  11085. "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
  11086. "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
  11087. "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
  11088. "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
  11089. "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
  11090. "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
  11091. "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
  11092. "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
  11093. "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
  11094. "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
  11095. "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
  11096. "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
  11097. "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
  11098. "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
  11099. "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
  11100. "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
  11101. "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
  11102. "\x8A\x19\x08\xE1\x08\x48\x59\x51"
  11103. "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
  11104. "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
  11105. "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
  11106. "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
  11107. "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
  11108. "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
  11109. "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
  11110. "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
  11111. "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
  11112. "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
  11113. "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
  11114. "\xF2\x79\xD9",
  11115. .len = 499,
  11116. },
  11117. };
  11118. /*
  11119. * Blowfish test vectors.
  11120. */
  11121. static const struct cipher_testvec bf_tv_template[] = {
  11122. { /* DES test vectors from OpenSSL */
  11123. .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
  11124. .klen = 8,
  11125. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  11126. .ctext = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
  11127. .len = 8,
  11128. }, {
  11129. .key = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
  11130. .klen = 8,
  11131. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  11132. .ctext = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
  11133. .len = 8,
  11134. }, {
  11135. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
  11136. .klen = 8,
  11137. .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  11138. .ctext = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
  11139. .len = 8,
  11140. }, { /* Vary the keylength... */
  11141. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
  11142. "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
  11143. .klen = 16,
  11144. .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  11145. .ctext = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
  11146. .len = 8,
  11147. }, {
  11148. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
  11149. "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
  11150. "\x00\x11\x22\x33\x44",
  11151. .klen = 21,
  11152. .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  11153. .ctext = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
  11154. .len = 8,
  11155. }, { /* Generated with bf488 */
  11156. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
  11157. "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
  11158. "\x00\x11\x22\x33\x44\x55\x66\x77"
  11159. "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
  11160. "\x58\x40\x23\x64\x1a\xba\x61\x76"
  11161. "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
  11162. "\xff\xff\xff\xff\xff\xff\xff\xff",
  11163. .klen = 56,
  11164. .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  11165. .ctext = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
  11166. .len = 8,
  11167. }, { /* Generated with Crypto++ */
  11168. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11169. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11170. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11171. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11172. .klen = 32,
  11173. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11174. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11175. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11176. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11177. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11178. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11179. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11180. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11181. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11182. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11183. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11184. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11185. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11186. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11187. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11188. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11189. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11190. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11191. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11192. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11193. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11194. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11195. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11196. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11197. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11198. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11199. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11200. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11201. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11202. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11203. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11204. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11205. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11206. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11207. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11208. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11209. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11210. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11211. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11212. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11213. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11214. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11215. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11216. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11217. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11218. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11219. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11220. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11221. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11222. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11223. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11224. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11225. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11226. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11227. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11228. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11229. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11230. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11231. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11232. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11233. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11234. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  11235. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
  11236. .ctext = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
  11237. "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
  11238. "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
  11239. "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
  11240. "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
  11241. "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
  11242. "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
  11243. "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
  11244. "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
  11245. "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
  11246. "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
  11247. "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
  11248. "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
  11249. "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
  11250. "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
  11251. "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
  11252. "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
  11253. "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
  11254. "\x47\x82\x98\x23\x33\x36\xBC\x1B"
  11255. "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
  11256. "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
  11257. "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
  11258. "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
  11259. "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
  11260. "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
  11261. "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
  11262. "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
  11263. "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
  11264. "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
  11265. "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
  11266. "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
  11267. "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
  11268. "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
  11269. "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
  11270. "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
  11271. "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
  11272. "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
  11273. "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
  11274. "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
  11275. "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
  11276. "\x3E\x42\x14\x49\x88\x51\xBF\x68"
  11277. "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
  11278. "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
  11279. "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
  11280. "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
  11281. "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
  11282. "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
  11283. "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
  11284. "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
  11285. "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
  11286. "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
  11287. "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
  11288. "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
  11289. "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
  11290. "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
  11291. "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
  11292. "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
  11293. "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
  11294. "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
  11295. "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
  11296. "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
  11297. "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
  11298. "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
  11299. .len = 504,
  11300. },
  11301. };
  11302. static const struct cipher_testvec bf_cbc_tv_template[] = {
  11303. { /* From OpenSSL */
  11304. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  11305. "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
  11306. .klen = 16,
  11307. .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  11308. .iv_out = "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
  11309. .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
  11310. "\x4e\x6f\x77\x20\x69\x73\x20\x74"
  11311. "\x68\x65\x20\x74\x69\x6d\x65\x20"
  11312. "\x66\x6f\x72\x20\x00\x00\x00\x00",
  11313. .ctext = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
  11314. "\x05\xb1\x56\xe2\x74\x03\x97\x93"
  11315. "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
  11316. "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
  11317. .len = 32,
  11318. }, { /* Generated with Crypto++ */
  11319. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11320. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11321. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11322. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11323. .klen = 32,
  11324. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  11325. .iv_out = "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
  11326. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11327. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11328. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11329. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11330. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11331. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11332. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11333. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11334. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11335. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11336. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11337. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11338. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11339. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11340. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11341. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11342. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11343. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11344. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11345. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11346. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11347. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11348. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11349. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11350. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11351. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11352. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11353. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11354. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11355. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11356. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11357. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11358. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11359. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11360. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11361. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11362. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11363. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11364. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11365. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11366. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11367. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11368. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11369. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11370. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11371. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11372. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11373. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11374. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11375. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11376. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11377. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11378. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11379. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11380. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11381. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11382. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11383. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11384. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11385. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11386. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11387. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  11388. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
  11389. .ctext = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
  11390. "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
  11391. "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
  11392. "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
  11393. "\x01\x9C\x93\x63\x51\x60\x82\xD2"
  11394. "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
  11395. "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
  11396. "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
  11397. "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
  11398. "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
  11399. "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
  11400. "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
  11401. "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
  11402. "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
  11403. "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
  11404. "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
  11405. "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
  11406. "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
  11407. "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
  11408. "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
  11409. "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
  11410. "\x65\xFE\x15\x40\xD0\x62\x41\x02"
  11411. "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
  11412. "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
  11413. "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
  11414. "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
  11415. "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
  11416. "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
  11417. "\x04\xF0\x86\x08\x78\x18\x42\xE0"
  11418. "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
  11419. "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
  11420. "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
  11421. "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
  11422. "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
  11423. "\x97\x18\x92\xFF\x15\x11\xCE\xED"
  11424. "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
  11425. "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
  11426. "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
  11427. "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
  11428. "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
  11429. "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
  11430. "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
  11431. "\x43\x12\x73\x77\xDB\x91\x83\x5B"
  11432. "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
  11433. "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
  11434. "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
  11435. "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
  11436. "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
  11437. "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
  11438. "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
  11439. "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
  11440. "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
  11441. "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
  11442. "\xC5\xF8\x69\x83\x28\x84\x87\x56"
  11443. "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
  11444. "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
  11445. "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
  11446. "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
  11447. "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
  11448. "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
  11449. "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
  11450. "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
  11451. "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
  11452. .len = 504,
  11453. },
  11454. };
  11455. static const struct cipher_testvec bf_ctr_tv_template[] = {
  11456. { /* Generated with Crypto++ */
  11457. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11458. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11459. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11460. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11461. .klen = 32,
  11462. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  11463. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
  11464. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11465. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11466. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11467. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11468. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11469. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11470. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11471. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11472. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11473. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11474. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11475. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11476. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11477. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11478. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11479. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11480. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11481. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11482. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11483. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11484. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11485. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11486. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11487. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11488. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11489. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11490. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11491. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11492. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11493. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11494. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11495. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11496. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11497. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11498. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11499. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11500. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11501. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11502. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11503. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11504. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11505. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11506. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11507. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11508. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11509. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11510. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11511. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11512. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11513. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11514. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11515. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11516. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11517. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11518. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11519. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11520. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11521. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11522. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11523. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11524. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11525. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  11526. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
  11527. .ctext = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
  11528. "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
  11529. "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
  11530. "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
  11531. "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
  11532. "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
  11533. "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
  11534. "\x97\xEB\x98\x75\xC4\x73\x45\x83"
  11535. "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
  11536. "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
  11537. "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
  11538. "\x13\xD2\x96\x68\x69\x10\x67\x0C"
  11539. "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
  11540. "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
  11541. "\x88\x09\x40\x59\xBD\x12\x64\xB5"
  11542. "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
  11543. "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
  11544. "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
  11545. "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
  11546. "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
  11547. "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
  11548. "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
  11549. "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
  11550. "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
  11551. "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
  11552. "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
  11553. "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
  11554. "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
  11555. "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
  11556. "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
  11557. "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
  11558. "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
  11559. "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
  11560. "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
  11561. "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
  11562. "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
  11563. "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
  11564. "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
  11565. "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
  11566. "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
  11567. "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
  11568. "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
  11569. "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
  11570. "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
  11571. "\x82\x63\x11\xB3\x54\x49\x00\x08"
  11572. "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
  11573. "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
  11574. "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
  11575. "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
  11576. "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
  11577. "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
  11578. "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
  11579. "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
  11580. "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
  11581. "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
  11582. "\x91\x04\x94\x99\x03\x3B\x42\x6D"
  11583. "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
  11584. "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
  11585. "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
  11586. "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
  11587. "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
  11588. "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
  11589. "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
  11590. .len = 504,
  11591. }, { /* Generated with Crypto++ */
  11592. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11593. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11594. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11595. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11596. .klen = 32,
  11597. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  11598. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
  11599. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11600. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11601. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11602. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11603. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11604. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11605. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11606. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11607. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11608. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11609. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11610. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11611. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11612. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11613. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11614. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11615. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11616. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11617. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11618. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11619. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11620. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11621. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11622. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11623. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11624. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11625. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11626. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11627. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11628. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11629. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11630. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11631. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11632. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11633. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11634. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11635. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11636. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11637. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11638. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11639. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11640. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11641. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11642. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11643. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11644. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11645. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11646. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11647. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11648. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11649. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11650. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11651. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11652. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11653. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11654. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11655. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11656. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11657. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11658. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11659. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11660. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  11661. "\x2B\xC2\x59\xF0\x64\xFB\x92",
  11662. .ctext = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
  11663. "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
  11664. "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
  11665. "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
  11666. "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
  11667. "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
  11668. "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
  11669. "\x97\xEB\x98\x75\xC4\x73\x45\x83"
  11670. "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
  11671. "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
  11672. "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
  11673. "\x13\xD2\x96\x68\x69\x10\x67\x0C"
  11674. "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
  11675. "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
  11676. "\x88\x09\x40\x59\xBD\x12\x64\xB5"
  11677. "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
  11678. "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
  11679. "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
  11680. "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
  11681. "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
  11682. "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
  11683. "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
  11684. "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
  11685. "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
  11686. "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
  11687. "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
  11688. "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
  11689. "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
  11690. "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
  11691. "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
  11692. "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
  11693. "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
  11694. "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
  11695. "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
  11696. "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
  11697. "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
  11698. "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
  11699. "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
  11700. "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
  11701. "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
  11702. "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
  11703. "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
  11704. "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
  11705. "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
  11706. "\x82\x63\x11\xB3\x54\x49\x00\x08"
  11707. "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
  11708. "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
  11709. "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
  11710. "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
  11711. "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
  11712. "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
  11713. "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
  11714. "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
  11715. "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
  11716. "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
  11717. "\x91\x04\x94\x99\x03\x3B\x42\x6D"
  11718. "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
  11719. "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
  11720. "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
  11721. "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
  11722. "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
  11723. "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
  11724. "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
  11725. .len = 503,
  11726. }, { /* Generated with Crypto++ */
  11727. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  11728. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  11729. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  11730. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  11731. .klen = 32,
  11732. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  11733. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3C",
  11734. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11735. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11736. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11737. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11738. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11739. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11740. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11741. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11742. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11743. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11744. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11745. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11746. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11747. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11748. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11749. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11750. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11751. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11752. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11753. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11754. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11755. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11756. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11757. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11758. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11759. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11760. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11761. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11762. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11763. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11764. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11765. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11766. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11767. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11768. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11769. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11770. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11771. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11772. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11773. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11774. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11775. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11776. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11777. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11778. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11779. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11780. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11781. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11782. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11783. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11784. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11785. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11786. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11787. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11788. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11789. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11790. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11791. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11792. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11793. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11794. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11795. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  11796. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
  11797. .ctext = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
  11798. "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
  11799. "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
  11800. "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
  11801. "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
  11802. "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
  11803. "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
  11804. "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
  11805. "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
  11806. "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
  11807. "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
  11808. "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
  11809. "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
  11810. "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
  11811. "\x0B\x82\x59\x14\x26\x67\x08\x09"
  11812. "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
  11813. "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
  11814. "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
  11815. "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
  11816. "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
  11817. "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
  11818. "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
  11819. "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
  11820. "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
  11821. "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
  11822. "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
  11823. "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
  11824. "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
  11825. "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
  11826. "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
  11827. "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
  11828. "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
  11829. "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
  11830. "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
  11831. "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
  11832. "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
  11833. "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
  11834. "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
  11835. "\xB4\x19\xD8\x19\x45\x66\x27\x02"
  11836. "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
  11837. "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
  11838. "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
  11839. "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
  11840. "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
  11841. "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
  11842. "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
  11843. "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
  11844. "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
  11845. "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
  11846. "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
  11847. "\x91\x51\x4E\x71\xF2\x98\x85\x16"
  11848. "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
  11849. "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
  11850. "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
  11851. "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
  11852. "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
  11853. "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
  11854. "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
  11855. "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
  11856. "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
  11857. "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
  11858. "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
  11859. "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
  11860. .len = 504,
  11861. },
  11862. };
  11863. /*
  11864. * Twofish test vectors.
  11865. */
  11866. static const struct cipher_testvec tf_tv_template[] = {
  11867. {
  11868. .key = zeroed_string,
  11869. .klen = 16,
  11870. .ptext = zeroed_string,
  11871. .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  11872. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
  11873. .len = 16,
  11874. }, {
  11875. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  11876. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  11877. "\x00\x11\x22\x33\x44\x55\x66\x77",
  11878. .klen = 24,
  11879. .ptext = zeroed_string,
  11880. .ctext = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
  11881. "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
  11882. .len = 16,
  11883. }, {
  11884. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  11885. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  11886. "\x00\x11\x22\x33\x44\x55\x66\x77"
  11887. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  11888. .klen = 32,
  11889. .ptext = zeroed_string,
  11890. .ctext = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
  11891. "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
  11892. .len = 16,
  11893. }, { /* Generated with Crypto++ */
  11894. .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
  11895. "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
  11896. "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
  11897. "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
  11898. .klen = 32,
  11899. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  11900. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  11901. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  11902. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  11903. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  11904. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  11905. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  11906. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  11907. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  11908. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  11909. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  11910. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  11911. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  11912. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  11913. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  11914. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  11915. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  11916. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  11917. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  11918. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  11919. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  11920. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  11921. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  11922. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  11923. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  11924. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  11925. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  11926. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  11927. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  11928. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  11929. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  11930. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  11931. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  11932. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  11933. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  11934. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  11935. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  11936. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  11937. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  11938. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  11939. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  11940. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  11941. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  11942. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  11943. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  11944. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  11945. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  11946. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  11947. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  11948. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  11949. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  11950. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  11951. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  11952. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  11953. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  11954. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  11955. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  11956. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  11957. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  11958. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  11959. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  11960. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  11961. .ctext = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
  11962. "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
  11963. "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
  11964. "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
  11965. "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
  11966. "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
  11967. "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
  11968. "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
  11969. "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
  11970. "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
  11971. "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
  11972. "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
  11973. "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
  11974. "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
  11975. "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
  11976. "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
  11977. "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
  11978. "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
  11979. "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
  11980. "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
  11981. "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
  11982. "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
  11983. "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
  11984. "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
  11985. "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
  11986. "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
  11987. "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
  11988. "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
  11989. "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
  11990. "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
  11991. "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
  11992. "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
  11993. "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
  11994. "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
  11995. "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
  11996. "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
  11997. "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
  11998. "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
  11999. "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
  12000. "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
  12001. "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
  12002. "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
  12003. "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
  12004. "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
  12005. "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
  12006. "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
  12007. "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
  12008. "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
  12009. "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
  12010. "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
  12011. "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
  12012. "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
  12013. "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
  12014. "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
  12015. "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
  12016. "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
  12017. "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
  12018. "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
  12019. "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
  12020. "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
  12021. "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
  12022. "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
  12023. .len = 496,
  12024. },
  12025. };
  12026. static const struct cipher_testvec tf_cbc_tv_template[] = {
  12027. { /* Generated with Nettle */
  12028. .key = zeroed_string,
  12029. .klen = 16,
  12030. .iv = zeroed_string,
  12031. .iv_out = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  12032. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
  12033. .ptext = zeroed_string,
  12034. .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  12035. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
  12036. .len = 16,
  12037. }, {
  12038. .key = zeroed_string,
  12039. .klen = 16,
  12040. .iv = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  12041. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
  12042. .iv_out = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
  12043. "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
  12044. .ptext = zeroed_string,
  12045. .ctext = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
  12046. "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
  12047. .len = 16,
  12048. }, {
  12049. .key = zeroed_string,
  12050. .klen = 16,
  12051. .iv = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
  12052. "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
  12053. .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
  12054. "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
  12055. .ptext = zeroed_string,
  12056. .ctext = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
  12057. "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
  12058. .len = 16,
  12059. }, {
  12060. .key = zeroed_string,
  12061. .klen = 16,
  12062. .iv = zeroed_string,
  12063. .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
  12064. "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
  12065. .ptext = zeroed_string,
  12066. .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
  12067. "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
  12068. "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
  12069. "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
  12070. "\x05\xef\x8c\x61\xa8\x11\x58\x26"
  12071. "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
  12072. .len = 48,
  12073. }, { /* Generated with Crypto++ */
  12074. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  12075. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  12076. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  12077. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  12078. .klen = 32,
  12079. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  12080. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  12081. .iv_out = "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
  12082. "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
  12083. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  12084. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  12085. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  12086. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  12087. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  12088. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  12089. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  12090. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  12091. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  12092. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  12093. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  12094. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  12095. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  12096. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  12097. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  12098. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  12099. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  12100. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  12101. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  12102. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  12103. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  12104. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  12105. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  12106. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  12107. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  12108. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  12109. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  12110. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  12111. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  12112. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  12113. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  12114. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  12115. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  12116. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  12117. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  12118. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  12119. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  12120. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  12121. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  12122. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  12123. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  12124. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  12125. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  12126. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  12127. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  12128. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  12129. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  12130. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  12131. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  12132. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  12133. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  12134. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  12135. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  12136. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  12137. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  12138. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  12139. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  12140. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  12141. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  12142. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  12143. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  12144. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  12145. .ctext = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
  12146. "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
  12147. "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
  12148. "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
  12149. "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
  12150. "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
  12151. "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
  12152. "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
  12153. "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
  12154. "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
  12155. "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
  12156. "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
  12157. "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
  12158. "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
  12159. "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
  12160. "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
  12161. "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
  12162. "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
  12163. "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
  12164. "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
  12165. "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
  12166. "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
  12167. "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
  12168. "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
  12169. "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
  12170. "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
  12171. "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
  12172. "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
  12173. "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
  12174. "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
  12175. "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
  12176. "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
  12177. "\x75\x42\x62\x04\x31\x1F\x95\x7C"
  12178. "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
  12179. "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
  12180. "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
  12181. "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
  12182. "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
  12183. "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
  12184. "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
  12185. "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
  12186. "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
  12187. "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
  12188. "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
  12189. "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
  12190. "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
  12191. "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
  12192. "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
  12193. "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
  12194. "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
  12195. "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
  12196. "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
  12197. "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
  12198. "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
  12199. "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
  12200. "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
  12201. "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
  12202. "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
  12203. "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
  12204. "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
  12205. "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
  12206. "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
  12207. .len = 496,
  12208. },
  12209. };
  12210. static const struct cipher_testvec tf_ctr_tv_template[] = {
  12211. { /* Generated with Crypto++ */
  12212. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  12213. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  12214. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  12215. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  12216. .klen = 32,
  12217. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  12218. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  12219. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  12220. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
  12221. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  12222. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  12223. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  12224. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  12225. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  12226. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  12227. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  12228. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  12229. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  12230. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  12231. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  12232. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  12233. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  12234. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  12235. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  12236. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  12237. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  12238. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  12239. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  12240. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  12241. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  12242. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  12243. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  12244. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  12245. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  12246. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  12247. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  12248. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  12249. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  12250. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  12251. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  12252. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  12253. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  12254. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  12255. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  12256. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  12257. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  12258. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  12259. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  12260. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  12261. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  12262. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  12263. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  12264. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  12265. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  12266. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  12267. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  12268. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  12269. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  12270. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  12271. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  12272. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  12273. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  12274. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  12275. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  12276. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  12277. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  12278. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  12279. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  12280. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  12281. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  12282. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  12283. .ctext = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
  12284. "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
  12285. "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
  12286. "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
  12287. "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
  12288. "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
  12289. "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
  12290. "\x01\x41\x21\x12\x38\xAB\x52\x4F"
  12291. "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
  12292. "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
  12293. "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
  12294. "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
  12295. "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
  12296. "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
  12297. "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
  12298. "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
  12299. "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
  12300. "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
  12301. "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
  12302. "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
  12303. "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
  12304. "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
  12305. "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
  12306. "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
  12307. "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
  12308. "\x23\x61\x48\xEA\x80\x04\x27\xAA"
  12309. "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
  12310. "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
  12311. "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
  12312. "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
  12313. "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
  12314. "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
  12315. "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
  12316. "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
  12317. "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
  12318. "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
  12319. "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
  12320. "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
  12321. "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
  12322. "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
  12323. "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
  12324. "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
  12325. "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
  12326. "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
  12327. "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
  12328. "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
  12329. "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
  12330. "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
  12331. "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
  12332. "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
  12333. "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
  12334. "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
  12335. "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
  12336. "\x11\xE9\x43\x83\x76\xAA\x53\x37"
  12337. "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
  12338. "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
  12339. "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
  12340. "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
  12341. "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
  12342. "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
  12343. "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
  12344. "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
  12345. .len = 496,
  12346. }, { /* Generated with Crypto++ */
  12347. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  12348. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  12349. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  12350. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  12351. .klen = 32,
  12352. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  12353. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  12354. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12355. "\x00\x00\x00\x00\x00\x00\x00\x1C",
  12356. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  12357. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  12358. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  12359. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  12360. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  12361. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  12362. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  12363. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  12364. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  12365. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  12366. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  12367. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  12368. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  12369. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  12370. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  12371. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  12372. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  12373. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  12374. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  12375. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  12376. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  12377. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  12378. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  12379. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  12380. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  12381. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  12382. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  12383. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  12384. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  12385. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  12386. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  12387. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  12388. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  12389. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  12390. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  12391. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  12392. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  12393. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  12394. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  12395. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  12396. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  12397. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  12398. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  12399. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  12400. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  12401. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  12402. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  12403. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  12404. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  12405. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  12406. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  12407. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  12408. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  12409. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  12410. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  12411. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  12412. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  12413. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  12414. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  12415. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  12416. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  12417. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  12418. .ctext = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
  12419. "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
  12420. "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
  12421. "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
  12422. "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
  12423. "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
  12424. "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
  12425. "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
  12426. "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
  12427. "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
  12428. "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
  12429. "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
  12430. "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
  12431. "\x39\x18\x09\xA4\x82\x59\x78\xE7"
  12432. "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
  12433. "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
  12434. "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
  12435. "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
  12436. "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
  12437. "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
  12438. "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
  12439. "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
  12440. "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
  12441. "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
  12442. "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
  12443. "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
  12444. "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
  12445. "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
  12446. "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
  12447. "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
  12448. "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
  12449. "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
  12450. "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
  12451. "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
  12452. "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
  12453. "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
  12454. "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
  12455. "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
  12456. "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
  12457. "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
  12458. "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
  12459. "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
  12460. "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
  12461. "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
  12462. "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
  12463. "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
  12464. "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
  12465. "\xDE\x55\x1B\x50\x14\x53\x44\x17"
  12466. "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
  12467. "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
  12468. "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
  12469. "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
  12470. "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
  12471. "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
  12472. "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
  12473. "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
  12474. "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
  12475. "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
  12476. "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
  12477. "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
  12478. "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
  12479. "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
  12480. .len = 496,
  12481. }, { /* Generated with Crypto++ */
  12482. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  12483. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  12484. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  12485. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  12486. .klen = 32,
  12487. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  12488. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  12489. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  12490. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
  12491. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  12492. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  12493. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  12494. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  12495. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  12496. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  12497. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  12498. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  12499. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  12500. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  12501. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  12502. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  12503. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  12504. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  12505. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  12506. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  12507. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  12508. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  12509. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  12510. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  12511. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  12512. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  12513. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  12514. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  12515. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  12516. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  12517. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  12518. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  12519. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  12520. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  12521. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  12522. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  12523. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  12524. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  12525. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  12526. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  12527. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  12528. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  12529. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  12530. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  12531. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  12532. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  12533. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  12534. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  12535. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  12536. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  12537. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  12538. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  12539. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  12540. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  12541. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  12542. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  12543. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  12544. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  12545. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  12546. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  12547. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  12548. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  12549. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  12550. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  12551. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  12552. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  12553. "\x2B\xC2\x59",
  12554. .ctext = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
  12555. "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
  12556. "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
  12557. "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
  12558. "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
  12559. "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
  12560. "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
  12561. "\x01\x41\x21\x12\x38\xAB\x52\x4F"
  12562. "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
  12563. "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
  12564. "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
  12565. "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
  12566. "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
  12567. "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
  12568. "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
  12569. "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
  12570. "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
  12571. "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
  12572. "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
  12573. "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
  12574. "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
  12575. "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
  12576. "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
  12577. "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
  12578. "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
  12579. "\x23\x61\x48\xEA\x80\x04\x27\xAA"
  12580. "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
  12581. "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
  12582. "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
  12583. "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
  12584. "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
  12585. "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
  12586. "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
  12587. "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
  12588. "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
  12589. "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
  12590. "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
  12591. "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
  12592. "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
  12593. "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
  12594. "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
  12595. "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
  12596. "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
  12597. "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
  12598. "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
  12599. "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
  12600. "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
  12601. "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
  12602. "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
  12603. "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
  12604. "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
  12605. "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
  12606. "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
  12607. "\x11\xE9\x43\x83\x76\xAA\x53\x37"
  12608. "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
  12609. "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
  12610. "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
  12611. "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
  12612. "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
  12613. "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
  12614. "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
  12615. "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
  12616. "\x6C\x82\x9D",
  12617. .len = 499,
  12618. },
  12619. };
  12620. static const struct cipher_testvec tf_lrw_tv_template[] = {
  12621. /* Generated from AES-LRW test vectors */
  12622. {
  12623. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  12624. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  12625. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  12626. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  12627. .klen = 32,
  12628. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12629. "\x00\x00\x00\x00\x00\x00\x00\x01",
  12630. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12631. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12632. .ctext = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
  12633. "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
  12634. .len = 16,
  12635. }, {
  12636. .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
  12637. "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
  12638. "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
  12639. "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
  12640. .klen = 32,
  12641. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12642. "\x00\x00\x00\x00\x00\x00\x00\x02",
  12643. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12644. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12645. .ctext = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
  12646. "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
  12647. .len = 16,
  12648. }, {
  12649. .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
  12650. "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
  12651. "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
  12652. "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
  12653. .klen = 32,
  12654. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12655. "\x00\x00\x00\x02\x00\x00\x00\x00",
  12656. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12657. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12658. .ctext = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
  12659. "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
  12660. .len = 16,
  12661. }, {
  12662. .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
  12663. "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
  12664. "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
  12665. "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
  12666. "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
  12667. .klen = 40,
  12668. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12669. "\x00\x00\x00\x00\x00\x00\x00\x01",
  12670. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12671. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12672. .ctext = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
  12673. "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
  12674. .len = 16,
  12675. }, {
  12676. .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
  12677. "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
  12678. "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
  12679. "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
  12680. "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
  12681. .klen = 40,
  12682. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12683. "\x00\x00\x00\x02\x00\x00\x00\x00",
  12684. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12685. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12686. .ctext = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
  12687. "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
  12688. .len = 16,
  12689. }, {
  12690. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  12691. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  12692. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  12693. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  12694. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  12695. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  12696. .klen = 48,
  12697. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12698. "\x00\x00\x00\x00\x00\x00\x00\x01",
  12699. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12700. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12701. .ctext = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
  12702. "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
  12703. .len = 16,
  12704. }, {
  12705. .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
  12706. "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
  12707. "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
  12708. "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
  12709. "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
  12710. "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
  12711. .klen = 48,
  12712. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12713. "\x00\x00\x00\x02\x00\x00\x00\x00",
  12714. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  12715. "\x38\x39\x41\x42\x43\x44\x45\x46",
  12716. .ctext = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
  12717. "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
  12718. .len = 16,
  12719. }, {
  12720. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  12721. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  12722. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  12723. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  12724. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  12725. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  12726. .klen = 48,
  12727. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12728. "\x00\x00\x00\x00\x00\x00\x00\x01",
  12729. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  12730. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  12731. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  12732. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  12733. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  12734. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  12735. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  12736. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  12737. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  12738. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  12739. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  12740. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  12741. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  12742. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  12743. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  12744. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  12745. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  12746. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  12747. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  12748. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  12749. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  12750. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  12751. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  12752. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  12753. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  12754. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  12755. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  12756. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  12757. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  12758. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  12759. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  12760. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  12761. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  12762. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  12763. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  12764. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  12765. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  12766. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  12767. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  12768. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  12769. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  12770. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  12771. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  12772. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  12773. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  12774. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  12775. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  12776. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  12777. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  12778. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  12779. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  12780. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  12781. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  12782. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  12783. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  12784. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  12785. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  12786. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  12787. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  12788. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  12789. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  12790. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  12791. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  12792. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  12793. .ctext = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
  12794. "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
  12795. "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
  12796. "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
  12797. "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
  12798. "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
  12799. "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
  12800. "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
  12801. "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
  12802. "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
  12803. "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
  12804. "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
  12805. "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
  12806. "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
  12807. "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
  12808. "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
  12809. "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
  12810. "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
  12811. "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
  12812. "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
  12813. "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
  12814. "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
  12815. "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
  12816. "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
  12817. "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
  12818. "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
  12819. "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
  12820. "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
  12821. "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
  12822. "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
  12823. "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
  12824. "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
  12825. "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
  12826. "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
  12827. "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
  12828. "\x3e\xae\x71\x90\x07\x70\x1c\x38"
  12829. "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
  12830. "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
  12831. "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
  12832. "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
  12833. "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
  12834. "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
  12835. "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
  12836. "\x93\x51\x1d\x3d\x62\x59\x83\x82"
  12837. "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
  12838. "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
  12839. "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
  12840. "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
  12841. "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
  12842. "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
  12843. "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
  12844. "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
  12845. "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
  12846. "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
  12847. "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
  12848. "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
  12849. "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
  12850. "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
  12851. "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
  12852. "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
  12853. "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
  12854. "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
  12855. "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
  12856. "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
  12857. .len = 512,
  12858. },
  12859. };
  12860. static const struct cipher_testvec tf_xts_tv_template[] = {
  12861. /* Generated from AES-XTS test vectors */
  12862. {
  12863. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12864. "\x00\x00\x00\x00\x00\x00\x00\x00"
  12865. "\x00\x00\x00\x00\x00\x00\x00\x00"
  12866. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12867. .klen = 32,
  12868. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12869. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12870. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12871. "\x00\x00\x00\x00\x00\x00\x00\x00"
  12872. "\x00\x00\x00\x00\x00\x00\x00\x00"
  12873. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12874. .ctext = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
  12875. "\x30\x74\xe4\x44\x52\x77\x97\x43"
  12876. "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
  12877. "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
  12878. .len = 32,
  12879. }, {
  12880. .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
  12881. "\x11\x11\x11\x11\x11\x11\x11\x11"
  12882. "\x22\x22\x22\x22\x22\x22\x22\x22"
  12883. "\x22\x22\x22\x22\x22\x22\x22\x22",
  12884. .klen = 32,
  12885. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  12886. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12887. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  12888. "\x44\x44\x44\x44\x44\x44\x44\x44"
  12889. "\x44\x44\x44\x44\x44\x44\x44\x44"
  12890. "\x44\x44\x44\x44\x44\x44\x44\x44",
  12891. .ctext = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
  12892. "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
  12893. "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
  12894. "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
  12895. .len = 32,
  12896. }, {
  12897. .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
  12898. "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
  12899. "\x22\x22\x22\x22\x22\x22\x22\x22"
  12900. "\x22\x22\x22\x22\x22\x22\x22\x22",
  12901. .klen = 32,
  12902. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  12903. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12904. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  12905. "\x44\x44\x44\x44\x44\x44\x44\x44"
  12906. "\x44\x44\x44\x44\x44\x44\x44\x44"
  12907. "\x44\x44\x44\x44\x44\x44\x44\x44",
  12908. .ctext = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
  12909. "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
  12910. "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
  12911. "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
  12912. .len = 32,
  12913. }, {
  12914. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  12915. "\x23\x53\x60\x28\x74\x71\x35\x26"
  12916. "\x31\x41\x59\x26\x53\x58\x97\x93"
  12917. "\x23\x84\x62\x64\x33\x83\x27\x95",
  12918. .klen = 32,
  12919. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  12920. "\x00\x00\x00\x00\x00\x00\x00\x00",
  12921. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  12922. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  12923. "\x10\x11\x12\x13\x14\x15\x16\x17"
  12924. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  12925. "\x20\x21\x22\x23\x24\x25\x26\x27"
  12926. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  12927. "\x30\x31\x32\x33\x34\x35\x36\x37"
  12928. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  12929. "\x40\x41\x42\x43\x44\x45\x46\x47"
  12930. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  12931. "\x50\x51\x52\x53\x54\x55\x56\x57"
  12932. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  12933. "\x60\x61\x62\x63\x64\x65\x66\x67"
  12934. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  12935. "\x70\x71\x72\x73\x74\x75\x76\x77"
  12936. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  12937. "\x80\x81\x82\x83\x84\x85\x86\x87"
  12938. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  12939. "\x90\x91\x92\x93\x94\x95\x96\x97"
  12940. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  12941. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  12942. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  12943. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  12944. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  12945. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  12946. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  12947. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  12948. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  12949. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  12950. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  12951. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  12952. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  12953. "\x00\x01\x02\x03\x04\x05\x06\x07"
  12954. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  12955. "\x10\x11\x12\x13\x14\x15\x16\x17"
  12956. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  12957. "\x20\x21\x22\x23\x24\x25\x26\x27"
  12958. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  12959. "\x30\x31\x32\x33\x34\x35\x36\x37"
  12960. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  12961. "\x40\x41\x42\x43\x44\x45\x46\x47"
  12962. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  12963. "\x50\x51\x52\x53\x54\x55\x56\x57"
  12964. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  12965. "\x60\x61\x62\x63\x64\x65\x66\x67"
  12966. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  12967. "\x70\x71\x72\x73\x74\x75\x76\x77"
  12968. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  12969. "\x80\x81\x82\x83\x84\x85\x86\x87"
  12970. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  12971. "\x90\x91\x92\x93\x94\x95\x96\x97"
  12972. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  12973. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  12974. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  12975. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  12976. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  12977. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  12978. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  12979. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  12980. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  12981. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  12982. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  12983. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  12984. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  12985. .ctext = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
  12986. "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
  12987. "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
  12988. "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
  12989. "\xea\x35\x35\x8c\xb2\x46\x61\x06"
  12990. "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
  12991. "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
  12992. "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
  12993. "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
  12994. "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
  12995. "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
  12996. "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
  12997. "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
  12998. "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
  12999. "\x01\x73\x68\x32\x25\x19\xfa\xfb"
  13000. "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
  13001. "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
  13002. "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
  13003. "\x39\x80\x39\x09\x97\x65\xf2\x83"
  13004. "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
  13005. "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
  13006. "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
  13007. "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
  13008. "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
  13009. "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
  13010. "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
  13011. "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
  13012. "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
  13013. "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
  13014. "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
  13015. "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
  13016. "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
  13017. "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
  13018. "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
  13019. "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
  13020. "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
  13021. "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
  13022. "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
  13023. "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
  13024. "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
  13025. "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
  13026. "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
  13027. "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
  13028. "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
  13029. "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
  13030. "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
  13031. "\x04\x39\x73\x32\xb2\x86\x79\xe7"
  13032. "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
  13033. "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
  13034. "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
  13035. "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
  13036. "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
  13037. "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
  13038. "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
  13039. "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
  13040. "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
  13041. "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
  13042. "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
  13043. "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
  13044. "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
  13045. "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
  13046. "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
  13047. "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
  13048. "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
  13049. .len = 512,
  13050. }, {
  13051. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  13052. "\x23\x53\x60\x28\x74\x71\x35\x26"
  13053. "\x62\x49\x77\x57\x24\x70\x93\x69"
  13054. "\x99\x59\x57\x49\x66\x96\x76\x27"
  13055. "\x31\x41\x59\x26\x53\x58\x97\x93"
  13056. "\x23\x84\x62\x64\x33\x83\x27\x95"
  13057. "\x02\x88\x41\x97\x16\x93\x99\x37"
  13058. "\x51\x05\x82\x09\x74\x94\x45\x92",
  13059. .klen = 64,
  13060. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  13061. "\x00\x00\x00\x00\x00\x00\x00\x00",
  13062. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13063. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  13064. "\x10\x11\x12\x13\x14\x15\x16\x17"
  13065. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  13066. "\x20\x21\x22\x23\x24\x25\x26\x27"
  13067. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  13068. "\x30\x31\x32\x33\x34\x35\x36\x37"
  13069. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  13070. "\x40\x41\x42\x43\x44\x45\x46\x47"
  13071. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  13072. "\x50\x51\x52\x53\x54\x55\x56\x57"
  13073. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  13074. "\x60\x61\x62\x63\x64\x65\x66\x67"
  13075. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  13076. "\x70\x71\x72\x73\x74\x75\x76\x77"
  13077. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  13078. "\x80\x81\x82\x83\x84\x85\x86\x87"
  13079. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  13080. "\x90\x91\x92\x93\x94\x95\x96\x97"
  13081. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  13082. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  13083. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  13084. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  13085. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  13086. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  13087. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  13088. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  13089. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  13090. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  13091. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  13092. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  13093. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  13094. "\x00\x01\x02\x03\x04\x05\x06\x07"
  13095. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  13096. "\x10\x11\x12\x13\x14\x15\x16\x17"
  13097. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  13098. "\x20\x21\x22\x23\x24\x25\x26\x27"
  13099. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  13100. "\x30\x31\x32\x33\x34\x35\x36\x37"
  13101. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  13102. "\x40\x41\x42\x43\x44\x45\x46\x47"
  13103. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  13104. "\x50\x51\x52\x53\x54\x55\x56\x57"
  13105. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  13106. "\x60\x61\x62\x63\x64\x65\x66\x67"
  13107. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  13108. "\x70\x71\x72\x73\x74\x75\x76\x77"
  13109. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  13110. "\x80\x81\x82\x83\x84\x85\x86\x87"
  13111. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  13112. "\x90\x91\x92\x93\x94\x95\x96\x97"
  13113. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  13114. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  13115. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  13116. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  13117. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  13118. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  13119. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  13120. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  13121. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  13122. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  13123. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  13124. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  13125. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  13126. .ctext = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
  13127. "\x35\x39\x71\x88\x76\x1e\xc9\xea"
  13128. "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
  13129. "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
  13130. "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
  13131. "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
  13132. "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
  13133. "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
  13134. "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
  13135. "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
  13136. "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
  13137. "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
  13138. "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
  13139. "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
  13140. "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
  13141. "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
  13142. "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
  13143. "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
  13144. "\x69\x35\x61\x86\xf8\x86\xb9\x89"
  13145. "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
  13146. "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
  13147. "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
  13148. "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
  13149. "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
  13150. "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
  13151. "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
  13152. "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
  13153. "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
  13154. "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
  13155. "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
  13156. "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
  13157. "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
  13158. "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
  13159. "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
  13160. "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
  13161. "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
  13162. "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
  13163. "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
  13164. "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
  13165. "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
  13166. "\xad\x12\x32\x31\x03\xf7\x21\xbe"
  13167. "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
  13168. "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
  13169. "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
  13170. "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
  13171. "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
  13172. "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
  13173. "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
  13174. "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
  13175. "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
  13176. "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
  13177. "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
  13178. "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
  13179. "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
  13180. "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
  13181. "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
  13182. "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
  13183. "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
  13184. "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
  13185. "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
  13186. "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
  13187. "\xf3\xea\x67\x52\x78\xc2\xce\x70"
  13188. "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
  13189. "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
  13190. .len = 512,
  13191. },
  13192. };
  13193. /*
  13194. * Serpent test vectors. These are backwards because Serpent writes
  13195. * octet sequences in right-to-left mode.
  13196. */
  13197. static const struct cipher_testvec serpent_tv_template[] = {
  13198. {
  13199. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13200. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  13201. .ctext = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
  13202. "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
  13203. .len = 16,
  13204. }, {
  13205. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13206. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  13207. .klen = 16,
  13208. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13209. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  13210. .ctext = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
  13211. "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
  13212. .len = 16,
  13213. }, {
  13214. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13215. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  13216. "\x10\x11\x12\x13\x14\x15\x16\x17"
  13217. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  13218. .klen = 32,
  13219. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  13220. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  13221. .ctext = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
  13222. "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
  13223. .len = 16,
  13224. }, {
  13225. .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
  13226. .klen = 16,
  13227. .ptext = zeroed_string,
  13228. .ctext = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
  13229. "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
  13230. .len = 16,
  13231. }, { /* Generated with Crypto++ */
  13232. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  13233. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  13234. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  13235. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  13236. .klen = 32,
  13237. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  13238. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  13239. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  13240. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  13241. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  13242. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  13243. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  13244. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  13245. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  13246. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  13247. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  13248. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  13249. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  13250. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  13251. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  13252. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  13253. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  13254. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  13255. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  13256. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  13257. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  13258. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  13259. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  13260. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  13261. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  13262. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  13263. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  13264. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  13265. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  13266. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  13267. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  13268. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  13269. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  13270. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  13271. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  13272. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  13273. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  13274. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  13275. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  13276. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  13277. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  13278. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  13279. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  13280. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  13281. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  13282. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  13283. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  13284. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  13285. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  13286. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  13287. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  13288. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  13289. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  13290. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  13291. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  13292. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  13293. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  13294. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  13295. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  13296. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  13297. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  13298. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  13299. .ctext = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
  13300. "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
  13301. "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
  13302. "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
  13303. "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
  13304. "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
  13305. "\x99\x34\x89\x5B\x54\xE9\x12\x13"
  13306. "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
  13307. "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
  13308. "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
  13309. "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
  13310. "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
  13311. "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
  13312. "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
  13313. "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
  13314. "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
  13315. "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
  13316. "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
  13317. "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
  13318. "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
  13319. "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
  13320. "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
  13321. "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
  13322. "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
  13323. "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
  13324. "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
  13325. "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
  13326. "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
  13327. "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
  13328. "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
  13329. "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
  13330. "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
  13331. "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
  13332. "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
  13333. "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
  13334. "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
  13335. "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
  13336. "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
  13337. "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
  13338. "\x87\x70\x14\xD0\x01\x57\xCB\x42"
  13339. "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
  13340. "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
  13341. "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
  13342. "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
  13343. "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
  13344. "\x71\x80\x05\x35\x3F\x40\x0B\x21"
  13345. "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
  13346. "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
  13347. "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
  13348. "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
  13349. "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
  13350. "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
  13351. "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
  13352. "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
  13353. "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
  13354. "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
  13355. "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
  13356. "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
  13357. "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
  13358. "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
  13359. "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
  13360. "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
  13361. .len = 496,
  13362. },
  13363. };
  13364. static const struct cipher_testvec serpent_cbc_tv_template[] = {
  13365. { /* Generated with Crypto++ */
  13366. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  13367. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  13368. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  13369. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  13370. .klen = 32,
  13371. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13372. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  13373. .iv_out = "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
  13374. "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
  13375. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  13376. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  13377. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  13378. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  13379. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  13380. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  13381. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  13382. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  13383. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  13384. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  13385. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  13386. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  13387. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  13388. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  13389. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  13390. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  13391. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  13392. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  13393. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  13394. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  13395. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  13396. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  13397. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  13398. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  13399. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  13400. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  13401. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  13402. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  13403. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  13404. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  13405. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  13406. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  13407. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  13408. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  13409. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  13410. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  13411. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  13412. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  13413. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  13414. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  13415. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  13416. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  13417. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  13418. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  13419. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  13420. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  13421. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  13422. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  13423. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  13424. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  13425. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  13426. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  13427. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  13428. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  13429. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  13430. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  13431. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  13432. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  13433. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  13434. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  13435. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  13436. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  13437. .ctext = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
  13438. "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
  13439. "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
  13440. "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
  13441. "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
  13442. "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
  13443. "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
  13444. "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
  13445. "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
  13446. "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
  13447. "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
  13448. "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
  13449. "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
  13450. "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
  13451. "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
  13452. "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
  13453. "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
  13454. "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
  13455. "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
  13456. "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
  13457. "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
  13458. "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
  13459. "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
  13460. "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
  13461. "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
  13462. "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
  13463. "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
  13464. "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
  13465. "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
  13466. "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
  13467. "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
  13468. "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
  13469. "\x81\x92\x66\x67\x15\x1E\x39\x98"
  13470. "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
  13471. "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
  13472. "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
  13473. "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
  13474. "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
  13475. "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
  13476. "\x04\x05\x46\xD3\x90\x0F\x64\x64"
  13477. "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
  13478. "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
  13479. "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
  13480. "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
  13481. "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
  13482. "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
  13483. "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
  13484. "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
  13485. "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
  13486. "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
  13487. "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
  13488. "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
  13489. "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
  13490. "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
  13491. "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
  13492. "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
  13493. "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
  13494. "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
  13495. "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
  13496. "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
  13497. "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
  13498. "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
  13499. .len = 496,
  13500. },
  13501. };
  13502. static const struct cipher_testvec serpent_ctr_tv_template[] = {
  13503. { /* Generated with Crypto++ */
  13504. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  13505. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  13506. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  13507. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  13508. .klen = 32,
  13509. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13510. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  13511. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13512. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
  13513. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  13514. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  13515. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  13516. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  13517. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  13518. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  13519. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  13520. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  13521. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  13522. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  13523. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  13524. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  13525. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  13526. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  13527. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  13528. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  13529. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  13530. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  13531. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  13532. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  13533. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  13534. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  13535. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  13536. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  13537. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  13538. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  13539. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  13540. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  13541. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  13542. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  13543. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  13544. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  13545. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  13546. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  13547. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  13548. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  13549. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  13550. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  13551. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  13552. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  13553. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  13554. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  13555. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  13556. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  13557. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  13558. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  13559. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  13560. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  13561. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  13562. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  13563. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  13564. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  13565. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  13566. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  13567. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  13568. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  13569. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  13570. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  13571. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  13572. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  13573. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  13574. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  13575. .ctext = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
  13576. "\x37\x69\xE3\x3A\x22\x85\x48\x46"
  13577. "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
  13578. "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
  13579. "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
  13580. "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
  13581. "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
  13582. "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
  13583. "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
  13584. "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
  13585. "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
  13586. "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
  13587. "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
  13588. "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
  13589. "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
  13590. "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
  13591. "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
  13592. "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
  13593. "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
  13594. "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
  13595. "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
  13596. "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
  13597. "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
  13598. "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
  13599. "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
  13600. "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
  13601. "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
  13602. "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
  13603. "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
  13604. "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
  13605. "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
  13606. "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
  13607. "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
  13608. "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
  13609. "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
  13610. "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
  13611. "\x07\x97\x38\x4B\x5C\x56\x98\x67"
  13612. "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
  13613. "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
  13614. "\x18\x06\x15\x9D\x5A\x10\x13\x37"
  13615. "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
  13616. "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
  13617. "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
  13618. "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
  13619. "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
  13620. "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
  13621. "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
  13622. "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
  13623. "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
  13624. "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
  13625. "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
  13626. "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
  13627. "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
  13628. "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
  13629. "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
  13630. "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
  13631. "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
  13632. "\x90\x47\x40\x92\xE6\x69\xD1\x96"
  13633. "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
  13634. "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
  13635. "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
  13636. "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
  13637. .len = 496,
  13638. }, { /* Generated with Crypto++ */
  13639. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  13640. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  13641. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  13642. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  13643. .klen = 32,
  13644. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13645. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  13646. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  13647. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
  13648. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  13649. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  13650. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  13651. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  13652. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  13653. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  13654. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  13655. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  13656. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  13657. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  13658. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  13659. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  13660. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  13661. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  13662. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  13663. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  13664. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  13665. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  13666. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  13667. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  13668. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  13669. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  13670. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  13671. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  13672. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  13673. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  13674. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  13675. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  13676. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  13677. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  13678. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  13679. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  13680. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  13681. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  13682. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  13683. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  13684. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  13685. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  13686. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  13687. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  13688. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  13689. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  13690. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  13691. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  13692. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  13693. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  13694. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  13695. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  13696. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  13697. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  13698. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  13699. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  13700. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  13701. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  13702. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  13703. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  13704. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  13705. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  13706. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  13707. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  13708. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  13709. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  13710. "\x2B\xC2\x59",
  13711. .ctext = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
  13712. "\x37\x69\xE3\x3A\x22\x85\x48\x46"
  13713. "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
  13714. "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
  13715. "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
  13716. "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
  13717. "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
  13718. "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
  13719. "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
  13720. "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
  13721. "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
  13722. "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
  13723. "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
  13724. "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
  13725. "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
  13726. "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
  13727. "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
  13728. "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
  13729. "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
  13730. "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
  13731. "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
  13732. "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
  13733. "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
  13734. "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
  13735. "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
  13736. "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
  13737. "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
  13738. "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
  13739. "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
  13740. "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
  13741. "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
  13742. "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
  13743. "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
  13744. "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
  13745. "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
  13746. "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
  13747. "\x07\x97\x38\x4B\x5C\x56\x98\x67"
  13748. "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
  13749. "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
  13750. "\x18\x06\x15\x9D\x5A\x10\x13\x37"
  13751. "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
  13752. "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
  13753. "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
  13754. "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
  13755. "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
  13756. "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
  13757. "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
  13758. "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
  13759. "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
  13760. "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
  13761. "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
  13762. "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
  13763. "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
  13764. "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
  13765. "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
  13766. "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
  13767. "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
  13768. "\x90\x47\x40\x92\xE6\x69\xD1\x96"
  13769. "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
  13770. "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
  13771. "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
  13772. "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
  13773. "\x38\xE2\xE5",
  13774. .len = 499,
  13775. }, { /* Generated with Crypto++ */
  13776. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  13777. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  13778. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  13779. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  13780. .klen = 32,
  13781. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  13782. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  13783. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13784. "\x00\x00\x00\x00\x00\x00\x00\x1C",
  13785. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  13786. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  13787. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  13788. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  13789. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  13790. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  13791. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  13792. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  13793. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  13794. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  13795. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  13796. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  13797. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  13798. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  13799. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  13800. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  13801. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  13802. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  13803. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  13804. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  13805. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  13806. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  13807. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  13808. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  13809. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  13810. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  13811. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  13812. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  13813. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  13814. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  13815. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  13816. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  13817. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  13818. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  13819. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  13820. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  13821. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  13822. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  13823. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  13824. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  13825. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  13826. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  13827. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  13828. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  13829. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  13830. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  13831. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  13832. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  13833. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  13834. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  13835. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  13836. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  13837. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  13838. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  13839. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  13840. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  13841. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  13842. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  13843. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  13844. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  13845. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  13846. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  13847. .ctext = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
  13848. "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
  13849. "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
  13850. "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
  13851. "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
  13852. "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
  13853. "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
  13854. "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
  13855. "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
  13856. "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
  13857. "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
  13858. "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
  13859. "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
  13860. "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
  13861. "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
  13862. "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
  13863. "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
  13864. "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
  13865. "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
  13866. "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
  13867. "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
  13868. "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
  13869. "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
  13870. "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
  13871. "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
  13872. "\x29\x5E\x01\x47\x13\x32\x78\xBE"
  13873. "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
  13874. "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
  13875. "\x38\x35\x11\x26\x4A\xB4\x06\x32"
  13876. "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
  13877. "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
  13878. "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
  13879. "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
  13880. "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
  13881. "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
  13882. "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
  13883. "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
  13884. "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
  13885. "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
  13886. "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
  13887. "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
  13888. "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
  13889. "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
  13890. "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
  13891. "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
  13892. "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
  13893. "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
  13894. "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
  13895. "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
  13896. "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
  13897. "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
  13898. "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
  13899. "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
  13900. "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
  13901. "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
  13902. "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
  13903. "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
  13904. "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
  13905. "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
  13906. "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
  13907. "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
  13908. "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
  13909. .len = 496,
  13910. },
  13911. };
  13912. static const struct cipher_testvec serpent_lrw_tv_template[] = {
  13913. /* Generated from AES-LRW test vectors */
  13914. {
  13915. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  13916. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  13917. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  13918. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  13919. .klen = 32,
  13920. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13921. "\x00\x00\x00\x00\x00\x00\x00\x01",
  13922. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  13923. "\x38\x39\x41\x42\x43\x44\x45\x46",
  13924. .ctext = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
  13925. "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
  13926. .len = 16,
  13927. }, {
  13928. .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
  13929. "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
  13930. "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
  13931. "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
  13932. .klen = 32,
  13933. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13934. "\x00\x00\x00\x00\x00\x00\x00\x02",
  13935. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  13936. "\x38\x39\x41\x42\x43\x44\x45\x46",
  13937. .ctext = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
  13938. "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
  13939. .len = 16,
  13940. }, {
  13941. .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
  13942. "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
  13943. "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
  13944. "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
  13945. .klen = 32,
  13946. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13947. "\x00\x00\x00\x02\x00\x00\x00\x00",
  13948. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  13949. "\x38\x39\x41\x42\x43\x44\x45\x46",
  13950. .ctext = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
  13951. "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
  13952. .len = 16,
  13953. }, {
  13954. .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
  13955. "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
  13956. "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
  13957. "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
  13958. "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
  13959. .klen = 40,
  13960. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13961. "\x00\x00\x00\x00\x00\x00\x00\x01",
  13962. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  13963. "\x38\x39\x41\x42\x43\x44\x45\x46",
  13964. .ctext = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
  13965. "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
  13966. .len = 16,
  13967. }, {
  13968. .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
  13969. "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
  13970. "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
  13971. "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
  13972. "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
  13973. .klen = 40,
  13974. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13975. "\x00\x00\x00\x02\x00\x00\x00\x00",
  13976. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  13977. "\x38\x39\x41\x42\x43\x44\x45\x46",
  13978. .ctext = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
  13979. "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
  13980. .len = 16,
  13981. }, {
  13982. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  13983. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  13984. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  13985. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  13986. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  13987. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  13988. .klen = 48,
  13989. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  13990. "\x00\x00\x00\x00\x00\x00\x00\x01",
  13991. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  13992. "\x38\x39\x41\x42\x43\x44\x45\x46",
  13993. .ctext = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
  13994. "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
  13995. .len = 16,
  13996. }, {
  13997. .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
  13998. "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
  13999. "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
  14000. "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
  14001. "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
  14002. "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
  14003. .klen = 48,
  14004. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  14005. "\x00\x00\x00\x02\x00\x00\x00\x00",
  14006. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  14007. "\x38\x39\x41\x42\x43\x44\x45\x46",
  14008. .ctext = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
  14009. "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
  14010. .len = 16,
  14011. }, {
  14012. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  14013. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  14014. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  14015. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  14016. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  14017. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  14018. .klen = 48,
  14019. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  14020. "\x00\x00\x00\x00\x00\x00\x00\x01",
  14021. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  14022. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  14023. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  14024. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  14025. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  14026. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  14027. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  14028. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  14029. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  14030. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  14031. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  14032. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  14033. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  14034. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  14035. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  14036. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  14037. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  14038. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  14039. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  14040. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  14041. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  14042. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  14043. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  14044. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  14045. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  14046. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  14047. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  14048. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  14049. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  14050. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  14051. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  14052. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  14053. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  14054. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  14055. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  14056. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  14057. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  14058. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  14059. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  14060. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  14061. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  14062. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  14063. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  14064. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  14065. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  14066. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  14067. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  14068. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  14069. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  14070. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  14071. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  14072. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  14073. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  14074. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  14075. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  14076. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  14077. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  14078. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  14079. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  14080. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  14081. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  14082. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  14083. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  14084. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  14085. .ctext = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
  14086. "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
  14087. "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
  14088. "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
  14089. "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
  14090. "\xce\xab\xda\x33\x30\x20\x12\xfa"
  14091. "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
  14092. "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
  14093. "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
  14094. "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
  14095. "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
  14096. "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
  14097. "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
  14098. "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
  14099. "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
  14100. "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
  14101. "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
  14102. "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
  14103. "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
  14104. "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
  14105. "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
  14106. "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
  14107. "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
  14108. "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
  14109. "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
  14110. "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
  14111. "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
  14112. "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
  14113. "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
  14114. "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
  14115. "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
  14116. "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
  14117. "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
  14118. "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
  14119. "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
  14120. "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
  14121. "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
  14122. "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
  14123. "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
  14124. "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
  14125. "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
  14126. "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
  14127. "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
  14128. "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
  14129. "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
  14130. "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
  14131. "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
  14132. "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
  14133. "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
  14134. "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
  14135. "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
  14136. "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
  14137. "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
  14138. "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
  14139. "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
  14140. "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
  14141. "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
  14142. "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
  14143. "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
  14144. "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
  14145. "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
  14146. "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
  14147. "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
  14148. "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
  14149. .len = 512,
  14150. },
  14151. };
  14152. static const struct cipher_testvec serpent_xts_tv_template[] = {
  14153. /* Generated from AES-XTS test vectors */
  14154. {
  14155. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  14156. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14157. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14158. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14159. .klen = 32,
  14160. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  14161. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14162. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  14163. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14164. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14165. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14166. .ctext = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
  14167. "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
  14168. "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
  14169. "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
  14170. .len = 32,
  14171. }, {
  14172. .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
  14173. "\x11\x11\x11\x11\x11\x11\x11\x11"
  14174. "\x22\x22\x22\x22\x22\x22\x22\x22"
  14175. "\x22\x22\x22\x22\x22\x22\x22\x22",
  14176. .klen = 32,
  14177. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  14178. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14179. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  14180. "\x44\x44\x44\x44\x44\x44\x44\x44"
  14181. "\x44\x44\x44\x44\x44\x44\x44\x44"
  14182. "\x44\x44\x44\x44\x44\x44\x44\x44",
  14183. .ctext = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
  14184. "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
  14185. "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
  14186. "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
  14187. .len = 32,
  14188. }, {
  14189. .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
  14190. "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
  14191. "\x22\x22\x22\x22\x22\x22\x22\x22"
  14192. "\x22\x22\x22\x22\x22\x22\x22\x22",
  14193. .klen = 32,
  14194. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  14195. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14196. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  14197. "\x44\x44\x44\x44\x44\x44\x44\x44"
  14198. "\x44\x44\x44\x44\x44\x44\x44\x44"
  14199. "\x44\x44\x44\x44\x44\x44\x44\x44",
  14200. .ctext = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
  14201. "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
  14202. "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
  14203. "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
  14204. .len = 32,
  14205. }, {
  14206. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  14207. "\x23\x53\x60\x28\x74\x71\x35\x26"
  14208. "\x31\x41\x59\x26\x53\x58\x97\x93"
  14209. "\x23\x84\x62\x64\x33\x83\x27\x95",
  14210. .klen = 32,
  14211. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  14212. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14213. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14214. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14215. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14216. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  14217. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14218. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14219. "\x30\x31\x32\x33\x34\x35\x36\x37"
  14220. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  14221. "\x40\x41\x42\x43\x44\x45\x46\x47"
  14222. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  14223. "\x50\x51\x52\x53\x54\x55\x56\x57"
  14224. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  14225. "\x60\x61\x62\x63\x64\x65\x66\x67"
  14226. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  14227. "\x70\x71\x72\x73\x74\x75\x76\x77"
  14228. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  14229. "\x80\x81\x82\x83\x84\x85\x86\x87"
  14230. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  14231. "\x90\x91\x92\x93\x94\x95\x96\x97"
  14232. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  14233. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  14234. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  14235. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  14236. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  14237. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  14238. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  14239. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  14240. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  14241. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  14242. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  14243. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  14244. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  14245. "\x00\x01\x02\x03\x04\x05\x06\x07"
  14246. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14247. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14248. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  14249. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14250. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14251. "\x30\x31\x32\x33\x34\x35\x36\x37"
  14252. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  14253. "\x40\x41\x42\x43\x44\x45\x46\x47"
  14254. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  14255. "\x50\x51\x52\x53\x54\x55\x56\x57"
  14256. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  14257. "\x60\x61\x62\x63\x64\x65\x66\x67"
  14258. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  14259. "\x70\x71\x72\x73\x74\x75\x76\x77"
  14260. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  14261. "\x80\x81\x82\x83\x84\x85\x86\x87"
  14262. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  14263. "\x90\x91\x92\x93\x94\x95\x96\x97"
  14264. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  14265. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  14266. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  14267. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  14268. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  14269. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  14270. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  14271. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  14272. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  14273. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  14274. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  14275. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  14276. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  14277. .ctext = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
  14278. "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
  14279. "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
  14280. "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
  14281. "\x00\x5c\x75\x14\x06\xd6\x25\x82"
  14282. "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
  14283. "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
  14284. "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
  14285. "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
  14286. "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
  14287. "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
  14288. "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
  14289. "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
  14290. "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
  14291. "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
  14292. "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
  14293. "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
  14294. "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
  14295. "\x58\xfa\x43\x91\x16\x85\x40\xbb"
  14296. "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
  14297. "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
  14298. "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
  14299. "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
  14300. "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
  14301. "\x6e\x29\x60\xbd\x10\x14\x84\x82"
  14302. "\x83\x82\x0c\x63\x73\x92\x02\x7c"
  14303. "\x55\x37\x20\x80\x17\x51\xc8\xbc"
  14304. "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
  14305. "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
  14306. "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
  14307. "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
  14308. "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
  14309. "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
  14310. "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
  14311. "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
  14312. "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
  14313. "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
  14314. "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
  14315. "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
  14316. "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
  14317. "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
  14318. "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
  14319. "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
  14320. "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
  14321. "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
  14322. "\x43\x42\x35\xd0\xcf\xec\x77\x67"
  14323. "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
  14324. "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
  14325. "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
  14326. "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
  14327. "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
  14328. "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
  14329. "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
  14330. "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
  14331. "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
  14332. "\x03\x57\xe6\x98\x52\x2f\x61\x62"
  14333. "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
  14334. "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
  14335. "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
  14336. "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
  14337. "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
  14338. "\xef\x91\x64\x1d\x18\x07\x4e\x31"
  14339. "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
  14340. "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
  14341. .len = 512,
  14342. }, {
  14343. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  14344. "\x23\x53\x60\x28\x74\x71\x35\x26"
  14345. "\x62\x49\x77\x57\x24\x70\x93\x69"
  14346. "\x99\x59\x57\x49\x66\x96\x76\x27"
  14347. "\x31\x41\x59\x26\x53\x58\x97\x93"
  14348. "\x23\x84\x62\x64\x33\x83\x27\x95"
  14349. "\x02\x88\x41\x97\x16\x93\x99\x37"
  14350. "\x51\x05\x82\x09\x74\x94\x45\x92",
  14351. .klen = 64,
  14352. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  14353. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14354. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14355. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14356. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14357. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  14358. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14359. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14360. "\x30\x31\x32\x33\x34\x35\x36\x37"
  14361. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  14362. "\x40\x41\x42\x43\x44\x45\x46\x47"
  14363. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  14364. "\x50\x51\x52\x53\x54\x55\x56\x57"
  14365. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  14366. "\x60\x61\x62\x63\x64\x65\x66\x67"
  14367. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  14368. "\x70\x71\x72\x73\x74\x75\x76\x77"
  14369. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  14370. "\x80\x81\x82\x83\x84\x85\x86\x87"
  14371. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  14372. "\x90\x91\x92\x93\x94\x95\x96\x97"
  14373. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  14374. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  14375. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  14376. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  14377. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  14378. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  14379. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  14380. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  14381. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  14382. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  14383. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  14384. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  14385. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  14386. "\x00\x01\x02\x03\x04\x05\x06\x07"
  14387. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14388. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14389. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  14390. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14391. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14392. "\x30\x31\x32\x33\x34\x35\x36\x37"
  14393. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  14394. "\x40\x41\x42\x43\x44\x45\x46\x47"
  14395. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  14396. "\x50\x51\x52\x53\x54\x55\x56\x57"
  14397. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  14398. "\x60\x61\x62\x63\x64\x65\x66\x67"
  14399. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  14400. "\x70\x71\x72\x73\x74\x75\x76\x77"
  14401. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  14402. "\x80\x81\x82\x83\x84\x85\x86\x87"
  14403. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  14404. "\x90\x91\x92\x93\x94\x95\x96\x97"
  14405. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  14406. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  14407. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  14408. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  14409. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  14410. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  14411. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  14412. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  14413. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  14414. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  14415. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  14416. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  14417. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  14418. .ctext = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
  14419. "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
  14420. "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
  14421. "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
  14422. "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
  14423. "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
  14424. "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
  14425. "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
  14426. "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
  14427. "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
  14428. "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
  14429. "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
  14430. "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
  14431. "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
  14432. "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
  14433. "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
  14434. "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
  14435. "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
  14436. "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
  14437. "\xec\x9a\xda\x64\x96\xb5\x61\xff"
  14438. "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
  14439. "\x81\x85\x14\xa8\x59\xac\x8c\x94"
  14440. "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
  14441. "\x82\xc6\x4d\xca\x86\xea\x53\x28"
  14442. "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
  14443. "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
  14444. "\x05\xca\x81\x7b\xda\xa2\xde\x63"
  14445. "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
  14446. "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
  14447. "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
  14448. "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
  14449. "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
  14450. "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
  14451. "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
  14452. "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
  14453. "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
  14454. "\xfd\x43\x7d\xda\x42\x51\x87\x43"
  14455. "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
  14456. "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
  14457. "\x27\x5f\x11\xac\x71\xc7\x48\x46"
  14458. "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
  14459. "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
  14460. "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
  14461. "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
  14462. "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
  14463. "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
  14464. "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
  14465. "\x50\x88\x97\x40\x69\xb1\x37\xf5"
  14466. "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
  14467. "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
  14468. "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
  14469. "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
  14470. "\xc1\x16\x73\x50\x77\xba\xa6\x65"
  14471. "\x20\x2d\xb0\x02\x27\x89\xda\x99"
  14472. "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
  14473. "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
  14474. "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
  14475. "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
  14476. "\xa3\x0e\x33\x74\x40\x18\x39\x72"
  14477. "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
  14478. "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
  14479. "\x30\x05\xc8\x92\x98\x80\xff\x7a"
  14480. "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
  14481. "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
  14482. .len = 512,
  14483. },
  14484. };
  14485. /*
  14486. * SM4 test vectors taken from the "The SM4 Blockcipher Algorithm And Its
  14487. * Modes Of Operations" draft RFC
  14488. * https://datatracker.ietf.org/doc/draft-ribose-cfrg-sm4
  14489. */
  14490. static const struct cipher_testvec sm4_tv_template[] = {
  14491. { /* GB/T 32907-2016 Example 1. */
  14492. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  14493. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  14494. .klen = 16,
  14495. .ptext = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  14496. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  14497. .ctext = "\x68\x1E\xDF\x34\xD2\x06\x96\x5E"
  14498. "\x86\xB3\xE9\x4F\x53\x6E\x42\x46",
  14499. .len = 16,
  14500. }, { /* Last 10 iterations of GB/T 32907-2016 Example 2. */
  14501. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  14502. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  14503. .klen = 16,
  14504. .ptext = "\x99\x4a\xc3\xe7\xc3\x57\x89\x6a"
  14505. "\x81\xfc\xa8\xe\x38\x3e\xef\x80"
  14506. "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
  14507. "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
  14508. "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
  14509. "\xad\x57\x15\xab\x31\x5d\xc\xef"
  14510. "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
  14511. "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
  14512. "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
  14513. "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
  14514. "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
  14515. "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
  14516. "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
  14517. "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
  14518. "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
  14519. "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
  14520. "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
  14521. "\xed\xce\x0\x19\xe\x16\x2\x6e"
  14522. "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
  14523. "\x31\x51\xec\x47\xc3\x51\x83\xc1",
  14524. .ctext = "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
  14525. "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
  14526. "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
  14527. "\xad\x57\x15\xab\x31\x5d\xc\xef"
  14528. "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
  14529. "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
  14530. "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
  14531. "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
  14532. "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
  14533. "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
  14534. "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
  14535. "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
  14536. "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
  14537. "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
  14538. "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
  14539. "\xed\xce\x0\x19\xe\x16\x2\x6e"
  14540. "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
  14541. "\x31\x51\xec\x47\xc3\x51\x83\xc1"
  14542. "\x59\x52\x98\xc7\xc6\xfd\x27\x1f"
  14543. "\x4\x2\xf8\x4\xc3\x3d\x3f\x66",
  14544. .len = 160
  14545. }, { /* A.2.1.1 SM4-ECB Example 1 */
  14546. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  14547. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  14548. .klen = 16,
  14549. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  14550. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  14551. "\xee\xee\xee\xee\xff\xff\xff\xff"
  14552. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  14553. .ctext = "\x5e\xc8\x14\x3d\xe5\x09\xcf\xf7"
  14554. "\xb5\x17\x9f\x8f\x47\x4b\x86\x19"
  14555. "\x2f\x1d\x30\x5a\x7f\xb1\x7d\xf9"
  14556. "\x85\xf8\x1c\x84\x82\x19\x23\x04",
  14557. .len = 32,
  14558. }, { /* A.2.1.2 SM4-ECB Example 2 */
  14559. .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
  14560. "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
  14561. .klen = 16,
  14562. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  14563. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  14564. "\xee\xee\xee\xee\xff\xff\xff\xff"
  14565. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  14566. .ctext = "\xC5\x87\x68\x97\xE4\xA5\x9B\xBB"
  14567. "\xA7\x2A\x10\xC8\x38\x72\x24\x5B"
  14568. "\x12\xDD\x90\xBC\x2D\x20\x06\x92"
  14569. "\xB5\x29\xA4\x15\x5A\xC9\xE6\x00",
  14570. .len = 32,
  14571. }
  14572. };
  14573. static const struct cipher_testvec sm4_cbc_tv_template[] = {
  14574. { /* A.2.2.1 SM4-CBC Example 1 */
  14575. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  14576. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  14577. .klen = 16,
  14578. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  14579. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  14580. "\xee\xee\xee\xee\xff\xff\xff\xff"
  14581. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  14582. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14583. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
  14584. .iv_out = "\x4C\xB7\x01\x69\x51\x90\x92\x26"
  14585. "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
  14586. .ctext = "\x78\xEB\xB1\x1C\xC4\x0B\x0A\x48"
  14587. "\x31\x2A\xAE\xB2\x04\x02\x44\xCB"
  14588. "\x4C\xB7\x01\x69\x51\x90\x92\x26"
  14589. "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
  14590. .len = 32,
  14591. }, { /* A.2.2.2 SM4-CBC Example 2 */
  14592. .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
  14593. "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
  14594. .klen = 16,
  14595. .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
  14596. "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
  14597. "\xee\xee\xee\xee\xff\xff\xff\xff"
  14598. "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
  14599. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14600. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
  14601. .iv_out = "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
  14602. "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
  14603. .ctext = "\x0d\x3a\x6d\xdc\x2d\x21\xc6\x98"
  14604. "\x85\x72\x15\x58\x7b\x7b\xb5\x9a"
  14605. "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
  14606. "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
  14607. .len = 32,
  14608. }
  14609. };
  14610. static const struct cipher_testvec sm4_ctr_tv_template[] = {
  14611. { /* A.2.5.1 SM4-CTR Example 1 */
  14612. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  14613. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  14614. .klen = 16,
  14615. .ptext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  14616. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
  14617. "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
  14618. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  14619. "\xee\xee\xee\xee\xee\xee\xee\xee"
  14620. "\xff\xff\xff\xff\xff\xff\xff\xff"
  14621. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  14622. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
  14623. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14624. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
  14625. .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14626. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
  14627. .ctext = "\xac\x32\x36\xcb\x97\x0c\xc2\x07"
  14628. "\x91\x36\x4c\x39\x5a\x13\x42\xd1"
  14629. "\xa3\xcb\xc1\x87\x8c\x6f\x30\xcd"
  14630. "\x07\x4c\xce\x38\x5c\xdd\x70\xc7"
  14631. "\xf2\x34\xbc\x0e\x24\xc1\x19\x80"
  14632. "\xfd\x12\x86\x31\x0c\xe3\x7b\x92"
  14633. "\x6e\x02\xfc\xd0\xfa\xa0\xba\xf3"
  14634. "\x8b\x29\x33\x85\x1d\x82\x45\x14",
  14635. .len = 64,
  14636. }, { /* A.2.5.2 SM4-CTR Example 2 */
  14637. .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
  14638. "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
  14639. .klen = 16,
  14640. .ptext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  14641. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
  14642. "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
  14643. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  14644. "\xee\xee\xee\xee\xee\xee\xee\xee"
  14645. "\xff\xff\xff\xff\xff\xff\xff\xff"
  14646. "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  14647. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
  14648. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14649. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
  14650. .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14651. "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
  14652. .ctext = "\x5d\xcc\xcd\x25\xb9\x5a\xb0\x74"
  14653. "\x17\xa0\x85\x12\xee\x16\x0e\x2f"
  14654. "\x8f\x66\x15\x21\xcb\xba\xb4\x4c"
  14655. "\xc8\x71\x38\x44\x5b\xc2\x9e\x5c"
  14656. "\x0a\xe0\x29\x72\x05\xd6\x27\x04"
  14657. "\x17\x3b\x21\x23\x9b\x88\x7f\x6c"
  14658. "\x8c\xb5\xb8\x00\x91\x7a\x24\x88"
  14659. "\x28\x4b\xde\x9e\x16\xea\x29\x06",
  14660. .len = 64,
  14661. }
  14662. };
  14663. static const struct cipher_testvec sm4_ctr_rfc3686_tv_template[] = {
  14664. {
  14665. .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
  14666. "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
  14667. "\x00\x00\x00\x30",
  14668. .klen = 20,
  14669. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  14670. .ptext = "Single block msg",
  14671. .ctext = "\x20\x9b\x77\x31\xd3\x65\xdb\xab"
  14672. "\x9e\x48\x74\x7e\xbd\x13\x83\xeb",
  14673. .len = 16,
  14674. }, {
  14675. .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
  14676. "\x43\xd6\xce\x1f\x32\x53\x91\x63"
  14677. "\x00\x6c\xb6\xdb",
  14678. .klen = 20,
  14679. .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
  14680. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14681. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14682. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14683. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  14684. .ctext = "\x33\xe0\x28\x01\x92\xed\xc9\x1e"
  14685. "\x97\x35\xd9\x4a\xec\xd4\xbc\x23"
  14686. "\x4f\x35\x9f\x1c\x55\x1f\xe0\x27"
  14687. "\xe0\xdf\xc5\x43\xbc\xb0\x23\x94",
  14688. .len = 32,
  14689. }
  14690. };
  14691. static const struct cipher_testvec sm4_cts_tv_template[] = {
  14692. /* Generated from AES-CTS test vectors */
  14693. {
  14694. .klen = 16,
  14695. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  14696. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  14697. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  14698. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  14699. "\x20",
  14700. .len = 17,
  14701. .ctext = "\x05\xfe\x23\xee\x17\xa2\x89\x98"
  14702. "\xbc\x97\x0a\x0b\x54\x67\xca\xd7"
  14703. "\xd6",
  14704. }, {
  14705. .klen = 16,
  14706. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  14707. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  14708. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  14709. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  14710. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  14711. "\x20\x47\x61\x75\x27\x73\x20",
  14712. .len = 31,
  14713. .ctext = "\x15\x46\xe4\x95\xa4\xec\xf0\xb8"
  14714. "\x49\xd6\x6a\x9d\x89\xc7\xfd\x70"
  14715. "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
  14716. "\x93\xf7\x70\xbb\xa8\x3f\xa3",
  14717. }, {
  14718. .klen = 16,
  14719. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  14720. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  14721. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  14722. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  14723. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  14724. "\x20\x47\x61\x75\x27\x73\x20\x43",
  14725. .len = 32,
  14726. .ctext = "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
  14727. "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3"
  14728. "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
  14729. "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf",
  14730. }, {
  14731. .klen = 16,
  14732. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  14733. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  14734. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  14735. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  14736. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  14737. "\x20\x47\x61\x75\x27\x73\x20\x43"
  14738. "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
  14739. "\x70\x6c\x65\x61\x73\x65\x2c",
  14740. .len = 47,
  14741. .ctext = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
  14742. "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
  14743. "\xd3\xe1\xdc\xeb\xfa\x04\x11\x99"
  14744. "\xde\xcf\x6f\x4d\x7b\x09\x92\x7f"
  14745. "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
  14746. "\x01\x6a\xbf\xd4\x3f\x79\x02",
  14747. }, {
  14748. .klen = 16,
  14749. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  14750. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  14751. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  14752. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  14753. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  14754. "\x20\x47\x61\x75\x27\x73\x20\x43"
  14755. "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
  14756. "\x70\x6c\x65\x61\x73\x65\x2c\x20",
  14757. .len = 48,
  14758. .ctext = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
  14759. "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
  14760. "\x9a\xbd\x7b\xfe\x82\xab\xcc\x7f"
  14761. "\xbd\x99\x21\x0c\x5e\x4d\xed\x20"
  14762. "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
  14763. "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3",
  14764. }, {
  14765. .klen = 16,
  14766. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  14767. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  14768. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  14769. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  14770. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  14771. "\x20\x47\x61\x75\x27\x73\x20\x43"
  14772. "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
  14773. "\x70\x6c\x65\x61\x73\x65\x2c\x20"
  14774. "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
  14775. "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
  14776. .len = 64,
  14777. .ctext = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
  14778. "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
  14779. "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
  14780. "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3"
  14781. "\x58\x19\xa4\x8f\xa9\x68\x5e\x6b"
  14782. "\x2c\x0f\x81\x60\x15\x98\x27\x4f"
  14783. "\x9a\xbd\x7b\xfe\x82\xab\xcc\x7f"
  14784. "\xbd\x99\x21\x0c\x5e\x4d\xed\x20",
  14785. }
  14786. };
  14787. static const struct cipher_testvec sm4_xts_tv_template[] = {
  14788. /* Generated from AES-XTS test vectors */
  14789. {
  14790. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  14791. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14792. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14793. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14794. .klen = 32,
  14795. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  14796. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14797. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  14798. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14799. "\x00\x00\x00\x00\x00\x00\x00\x00"
  14800. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14801. .ctext = "\xd9\xb4\x21\xf7\x31\xc8\x94\xfd"
  14802. "\xc3\x5b\x77\x29\x1f\xe4\xe3\xb0"
  14803. "\x2a\x1f\xb7\x66\x98\xd5\x9f\x0e"
  14804. "\x51\x37\x6c\x4a\xda\x5b\xc7\x5d",
  14805. .len = 32,
  14806. }, {
  14807. .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
  14808. "\x11\x11\x11\x11\x11\x11\x11\x11"
  14809. "\x22\x22\x22\x22\x22\x22\x22\x22"
  14810. "\x22\x22\x22\x22\x22\x22\x22\x22",
  14811. .klen = 32,
  14812. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  14813. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14814. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  14815. "\x44\x44\x44\x44\x44\x44\x44\x44"
  14816. "\x44\x44\x44\x44\x44\x44\x44\x44"
  14817. "\x44\x44\x44\x44\x44\x44\x44\x44",
  14818. .ctext = "\xa7\x4d\x72\x6c\x11\x19\x6a\x32"
  14819. "\xbe\x04\xe0\x01\xff\x29\xd0\xc7"
  14820. "\x93\x2f\x9f\x3e\xc2\x9b\xfc\xb6"
  14821. "\x4d\xd1\x7f\x63\xcb\xd3\xea\x31",
  14822. .len = 32,
  14823. }, {
  14824. .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
  14825. "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
  14826. "\x22\x22\x22\x22\x22\x22\x22\x22"
  14827. "\x22\x22\x22\x22\x22\x22\x22\x22",
  14828. .klen = 32,
  14829. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  14830. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14831. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  14832. "\x44\x44\x44\x44\x44\x44\x44\x44"
  14833. "\x44\x44\x44\x44\x44\x44\x44\x44"
  14834. "\x44\x44\x44\x44\x44\x44\x44\x44",
  14835. .ctext = "\x7f\x76\x08\x8e\xff\xad\xf7\x0c"
  14836. "\x02\xea\x9f\x95\xda\x06\x28\xd3"
  14837. "\x51\xbf\xcb\x9e\xac\x05\x63\xbc"
  14838. "\xf1\x7b\x71\x0d\xab\x0a\x98\x26",
  14839. .len = 32,
  14840. }, {
  14841. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  14842. "\x23\x53\x60\x28\x74\x71\x35\x26"
  14843. "\x31\x41\x59\x26\x53\x58\x97\x93"
  14844. "\x23\x84\x62\x64\x33\x83\x27\x95",
  14845. .klen = 32,
  14846. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  14847. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14848. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14849. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14850. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14851. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  14852. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14853. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14854. "\x30\x31\x32\x33\x34\x35\x36\x37"
  14855. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  14856. "\x40\x41\x42\x43\x44\x45\x46\x47"
  14857. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  14858. "\x50\x51\x52\x53\x54\x55\x56\x57"
  14859. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  14860. "\x60\x61\x62\x63\x64\x65\x66\x67"
  14861. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  14862. "\x70\x71\x72\x73\x74\x75\x76\x77"
  14863. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  14864. "\x80\x81\x82\x83\x84\x85\x86\x87"
  14865. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  14866. "\x90\x91\x92\x93\x94\x95\x96\x97"
  14867. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  14868. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  14869. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  14870. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  14871. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  14872. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  14873. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  14874. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  14875. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  14876. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  14877. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  14878. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  14879. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  14880. "\x00\x01\x02\x03\x04\x05\x06\x07"
  14881. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14882. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14883. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  14884. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14885. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14886. "\x30\x31\x32\x33\x34\x35\x36\x37"
  14887. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  14888. "\x40\x41\x42\x43\x44\x45\x46\x47"
  14889. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  14890. "\x50\x51\x52\x53\x54\x55\x56\x57"
  14891. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  14892. "\x60\x61\x62\x63\x64\x65\x66\x67"
  14893. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  14894. "\x70\x71\x72\x73\x74\x75\x76\x77"
  14895. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  14896. "\x80\x81\x82\x83\x84\x85\x86\x87"
  14897. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  14898. "\x90\x91\x92\x93\x94\x95\x96\x97"
  14899. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  14900. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  14901. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  14902. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  14903. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  14904. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  14905. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  14906. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  14907. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  14908. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  14909. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  14910. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  14911. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  14912. .ctext = "\x54\xdd\x65\xb6\x32\x6f\xae\xa8"
  14913. "\xfa\xd1\xa8\x3c\x63\x61\x4a\xf3"
  14914. "\x9f\x72\x1d\x8d\xfe\x17\x7a\x30"
  14915. "\xb6\x6a\xbf\x6a\x44\x99\x80\xe1"
  14916. "\xcd\xbe\x06\xaf\xb7\x33\x36\xf3"
  14917. "\x7a\x4d\x39\xde\x96\x4a\x30\xd7"
  14918. "\xd0\x4a\x37\x99\x16\x9c\x60\x25"
  14919. "\x8f\x6b\x74\x8a\x61\x86\x1a\xa5"
  14920. "\xec\x92\xa2\xc1\x5b\x2b\x7c\x61"
  14921. "\x5a\x42\xab\xa4\x99\xbb\xd6\xb7"
  14922. "\x1d\xb9\xc7\x89\xb2\x18\x20\x89"
  14923. "\xa2\x5d\xd3\xdf\x80\x0e\xd1\x86"
  14924. "\x4d\x19\xf7\xed\x45\xfd\x17\xa9"
  14925. "\x48\x0b\x0f\xb8\x2d\x9b\x7f\xc3"
  14926. "\xed\x57\xe9\xa1\x14\x0e\xaa\x77"
  14927. "\x8d\xd2\xdd\x67\x9e\x3e\xdc\x3d"
  14928. "\xc4\xd5\x5c\x95\x0e\xbc\x53\x1d"
  14929. "\x95\x92\xf7\xc4\x63\x82\x56\xd5"
  14930. "\x65\x18\x29\x2a\x20\xaf\x98\xfd"
  14931. "\xd3\xa6\x36\x00\x35\x0a\x70\xab"
  14932. "\x5a\x40\xf4\xc2\x85\x03\x7c\xa0"
  14933. "\x1f\x25\x1f\x19\xec\xae\x03\x29"
  14934. "\xff\x77\xad\x88\xcd\x5a\x4c\xde"
  14935. "\xa2\xae\xab\xc2\x21\x48\xff\xbd"
  14936. "\x23\x9b\xd1\x05\x15\xbd\xe1\x13"
  14937. "\x1d\xec\x84\x04\xe4\x43\xdc\x76"
  14938. "\x31\x40\xd5\xf2\x2b\xf3\x3e\x0c"
  14939. "\x68\x72\xd6\xb8\x1d\x63\x0f\x6f"
  14940. "\x00\xcd\xd0\x58\xfe\x80\xf9\xcb"
  14941. "\xfb\x77\x70\x7f\x93\xce\xe2\xca"
  14942. "\x92\xb9\x15\xb8\x30\x40\x27\xc1"
  14943. "\x90\xa8\x4e\x2d\x65\xe0\x18\xcc"
  14944. "\x6a\x38\x7d\x37\x66\xac\xdb\x28"
  14945. "\x25\x32\x84\xe8\xdb\x9a\xcf\x8f"
  14946. "\x52\x28\x0d\xdc\x6d\x00\x33\xd2"
  14947. "\xcc\xaa\xa4\xf9\xae\xff\x12\x36"
  14948. "\x69\xbc\x02\x4f\xd6\x76\x8e\xdf"
  14949. "\x8b\xc1\xf8\xd6\x22\xc1\x9c\x60"
  14950. "\x9e\xf9\x7f\x60\x91\x90\xcd\x11"
  14951. "\x02\x41\xe7\xfb\x08\x4e\xd8\x94"
  14952. "\x2d\xa1\xf9\xb9\xcf\x1b\x51\x4b"
  14953. "\x61\xa3\x88\xb3\x0e\xa6\x1a\x4a"
  14954. "\x74\x5b\x38\x1e\xe7\xad\x6c\x4d"
  14955. "\xb1\x27\x54\x53\xb8\x41\x3f\x98"
  14956. "\xdf\x6e\x4a\x40\x98\x6e\xe4\xb5"
  14957. "\x9a\xf5\xdf\xae\xcd\x30\x12\x65"
  14958. "\x17\x90\x67\xa0\x0d\x7c\xa3\x5a"
  14959. "\xb9\x5a\xbd\x61\x7a\xde\xa2\x8e"
  14960. "\xc1\xc2\x6a\x97\xde\x28\xb8\xbf"
  14961. "\xe3\x01\x20\xd6\xae\xfb\xd2\x58"
  14962. "\xc5\x9e\x42\xd1\x61\xe8\x06\x5a"
  14963. "\x78\x10\x6b\xdc\xa5\xcd\x90\xfb"
  14964. "\x3a\xac\x4e\x93\x86\x6c\x8a\x7f"
  14965. "\x96\x76\x86\x0a\x79\x14\x5b\xd9"
  14966. "\x2e\x02\xe8\x19\xa9\x0b\xe0\xb9"
  14967. "\x7c\xc5\x22\xb3\x21\x06\x85\x6f"
  14968. "\xdf\x0e\x54\xd8\x8e\x46\x24\x15"
  14969. "\x5a\x2f\x1c\x14\xea\xea\xa1\x63"
  14970. "\xf8\x58\xe9\x9a\x80\x6e\x79\x1a"
  14971. "\xcd\x82\xf1\xb0\xe2\x9f\x00\x28"
  14972. "\xa4\xc3\x8e\x97\x6f\x57\x1a\x93"
  14973. "\xf4\xfd\x57\xd7\x87\xc2\x4d\xb0"
  14974. "\xe0\x1c\xa3\x04\xe5\xa5\xc4\xdd"
  14975. "\x50\xcf\x8b\xdb\xf4\x91\xe5\x7c",
  14976. .len = 512,
  14977. }, {
  14978. .key = "\x62\x49\x77\x57\x24\x70\x93\x69"
  14979. "\x99\x59\x57\x49\x66\x96\x76\x27"
  14980. "\x02\x88\x41\x97\x16\x93\x99\x37"
  14981. "\x51\x05\x82\x09\x74\x94\x45\x92",
  14982. .klen = 32,
  14983. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  14984. "\x00\x00\x00\x00\x00\x00\x00\x00",
  14985. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  14986. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  14987. "\x10\x11\x12\x13\x14\x15\x16\x17"
  14988. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  14989. "\x20\x21\x22\x23\x24\x25\x26\x27"
  14990. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  14991. "\x30\x31\x32\x33\x34\x35\x36\x37"
  14992. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  14993. "\x40\x41\x42\x43\x44\x45\x46\x47"
  14994. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  14995. "\x50\x51\x52\x53\x54\x55\x56\x57"
  14996. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  14997. "\x60\x61\x62\x63\x64\x65\x66\x67"
  14998. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  14999. "\x70\x71\x72\x73\x74\x75\x76\x77"
  15000. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  15001. "\x80\x81\x82\x83\x84\x85\x86\x87"
  15002. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  15003. "\x90\x91\x92\x93\x94\x95\x96\x97"
  15004. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  15005. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  15006. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  15007. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  15008. "\xf8\xf9\xfa\xfb\xfc",
  15009. .ctext = "\xa2\x9f\x9e\x4e\x71\xdb\x28\x3c"
  15010. "\x80\x0e\xf6\xb7\x8e\x57\x1c\xba"
  15011. "\x90\xda\x3b\x6c\x22\x00\x68\x30"
  15012. "\x1d\x63\x0d\x9e\x6a\xad\x37\x55"
  15013. "\xbc\x77\x1e\xc9\xad\x83\x30\xd5"
  15014. "\x27\xb2\x66\x77\x18\x3c\xa6\x39"
  15015. "\x9c\x0a\xaa\x1f\x02\xe1\xd5\x65"
  15016. "\x9b\x8d\xc5\x97\x3d\xc5\x04\x53"
  15017. "\x78\x00\xe3\xb0\x1a\x43\x4e\xb7"
  15018. "\xc4\x9f\x38\xc5\x7b\xa4\x70\x64"
  15019. "\x78\xe6\x32\xd9\x65\x44\xc5\x64"
  15020. "\xb8\x42\x35\x99\xff\x66\x75\xb0"
  15021. "\x22\xd3\x9b\x6e\x8d\xcf\x6a\x24"
  15022. "\xfd\x92\xb7\x1b\x04\x28\x2a\x61"
  15023. "\xdc\x96\x2a\x20\x7a\x2c\xf1\xf9"
  15024. "\x12\x15\xf0\x4d\xcf\x2b\xde\x33"
  15025. "\x41\xbc\xe7\x85\x87\x22\xb7\x16"
  15026. "\x02\x1c\xd8\xa2\x0f\x1f\xa3\xe9"
  15027. "\xd8\x45\x48\xe7\xbe\x08\x4e\x4e"
  15028. "\x23\x79\x84\xdb\x40\x76\xf5\x13"
  15029. "\x78\x92\x4a\x2f\xf9\x1b\xf2\x80"
  15030. "\x25\x74\x51\x45\x9a\x77\x78\x97"
  15031. "\xd3\xe0\xc7\xc4\x35\x67\x2a\xe6"
  15032. "\xb3\x0d\x62\x9f\x8b",
  15033. .len = 189,
  15034. },
  15035. };
  15036. static const struct aead_testvec sm4_gcm_tv_template[] = {
  15037. { /* From https://datatracker.ietf.org/doc/html/rfc8998#appendix-A.1 */
  15038. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  15039. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  15040. .klen = 16,
  15041. .iv = "\x00\x00\x12\x34\x56\x78\x00\x00"
  15042. "\x00\x00\xAB\xCD",
  15043. .ptext = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
  15044. "\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"
  15045. "\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC"
  15046. "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
  15047. "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
  15048. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  15049. "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
  15050. "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
  15051. .plen = 64,
  15052. .assoc = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
  15053. "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
  15054. "\xAB\xAD\xDA\xD2",
  15055. .alen = 20,
  15056. .ctext = "\x17\xF3\x99\xF0\x8C\x67\xD5\xEE"
  15057. "\x19\xD0\xDC\x99\x69\xC4\xBB\x7D"
  15058. "\x5F\xD4\x6F\xD3\x75\x64\x89\x06"
  15059. "\x91\x57\xB2\x82\xBB\x20\x07\x35"
  15060. "\xD8\x27\x10\xCA\x5C\x22\xF0\xCC"
  15061. "\xFA\x7C\xBF\x93\xD4\x96\xAC\x15"
  15062. "\xA5\x68\x34\xCB\xCF\x98\xC3\x97"
  15063. "\xB4\x02\x4A\x26\x91\x23\x3B\x8D"
  15064. "\x83\xDE\x35\x41\xE4\xC2\xB5\x81"
  15065. "\x77\xE0\x65\xA9\xBF\x7B\x62\xEC",
  15066. .clen = 80,
  15067. }, { /* Generated from AES-GCM test vectors */
  15068. .key = zeroed_string,
  15069. .klen = 16,
  15070. .ctext = "\x23\x2f\x0c\xfe\x30\x8b\x49\xea"
  15071. "\x6f\xc8\x82\x29\xb5\xdc\x85\x8d",
  15072. .clen = 16,
  15073. }, {
  15074. .key = zeroed_string,
  15075. .klen = 16,
  15076. .ptext = zeroed_string,
  15077. .plen = 16,
  15078. .ctext = "\x7d\xe2\xaa\x7f\x11\x10\x18\x82"
  15079. "\x18\x06\x3b\xe1\xbf\xeb\x6d\x89"
  15080. "\xb8\x51\xb5\xf3\x94\x93\x75\x2b"
  15081. "\xe5\x08\xf1\xbb\x44\x82\xc5\x57",
  15082. .clen = 32,
  15083. }, {
  15084. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  15085. "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
  15086. .klen = 16,
  15087. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  15088. "\xde\xca\xf8\x88",
  15089. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  15090. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  15091. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  15092. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  15093. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  15094. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  15095. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  15096. "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
  15097. .plen = 64,
  15098. .ctext = "\xe4\x11\x0f\xf1\xc1\x41\x97\xe6"
  15099. "\x76\x21\x6a\x33\x83\x10\x41\xeb"
  15100. "\x09\x58\x00\x11\x7b\xdc\x3f\x75"
  15101. "\x1a\x49\x6e\xfc\xf2\xbb\xdf\xdb"
  15102. "\x3a\x2e\x13\xfd\xc5\xc1\x9d\x07"
  15103. "\x1a\xe5\x48\x3f\xed\xde\x98\x5d"
  15104. "\x3f\x2d\x5b\x4e\xee\x0b\xb6\xdf"
  15105. "\xe3\x63\x36\x83\x23\xf7\x5b\x80"
  15106. "\x7d\xfe\x77\xef\x71\xb1\x5e\xc9"
  15107. "\x52\x6b\x09\xab\x84\x28\x4b\x8a",
  15108. .clen = 80,
  15109. }, {
  15110. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  15111. "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
  15112. .klen = 16,
  15113. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  15114. "\xde\xca\xf8\x88",
  15115. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  15116. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  15117. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  15118. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  15119. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  15120. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  15121. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  15122. "\xba\x63\x7b\x39",
  15123. .plen = 60,
  15124. .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  15125. "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  15126. "\xab\xad\xda\xd2",
  15127. .alen = 20,
  15128. .ctext = "\xe4\x11\x0f\xf1\xc1\x41\x97\xe6"
  15129. "\x76\x21\x6a\x33\x83\x10\x41\xeb"
  15130. "\x09\x58\x00\x11\x7b\xdc\x3f\x75"
  15131. "\x1a\x49\x6e\xfc\xf2\xbb\xdf\xdb"
  15132. "\x3a\x2e\x13\xfd\xc5\xc1\x9d\x07"
  15133. "\x1a\xe5\x48\x3f\xed\xde\x98\x5d"
  15134. "\x3f\x2d\x5b\x4e\xee\x0b\xb6\xdf"
  15135. "\xe3\x63\x36\x83"
  15136. "\x89\xf6\xba\x35\xb8\x18\xd3\xcc"
  15137. "\x38\x6c\x05\xb3\x8a\xcb\xc9\xde",
  15138. .clen = 76,
  15139. }, {
  15140. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  15141. "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
  15142. .klen = 16,
  15143. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  15144. "\xde\xca\xf8\x88",
  15145. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  15146. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  15147. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  15148. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  15149. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  15150. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  15151. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  15152. "\xba\x63\x7b\x39",
  15153. .plen = 60,
  15154. .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  15155. "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  15156. "\xab\xad\xda\xd2",
  15157. .alen = 20,
  15158. .ctext = "\xc1\x11\x44\x51\xd9\x25\x87\x5b"
  15159. "\x0f\xd9\x06\xf3\x33\x44\xbb\x87"
  15160. "\x8b\xa3\x77\xd2\x0c\x60\xfa\xcc"
  15161. "\x85\x50\x6f\x96\x0c\x54\x54\xc1"
  15162. "\x58\x04\x88\x6e\xf4\x26\x35\x7e"
  15163. "\x94\x80\x48\x6c\xf2\xf4\x88\x1f"
  15164. "\x19\x63\xea\xae\xba\x81\x1a\x5d"
  15165. "\x0e\x6f\x59\x08"
  15166. "\x33\xac\x5b\xa8\x19\x60\xdb\x1d"
  15167. "\xdd\x2e\x22\x2e\xe0\x87\x51\x5d",
  15168. .clen = 76,
  15169. }, {
  15170. .key = "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
  15171. "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
  15172. .klen = 16,
  15173. .iv = "\x00\xff\xff\xff\xff\x00\x00\xff"
  15174. "\xff\xff\x00\xff",
  15175. .ptext = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
  15176. "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
  15177. "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
  15178. "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
  15179. "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
  15180. "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
  15181. "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
  15182. "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
  15183. "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
  15184. "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
  15185. "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
  15186. "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
  15187. "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
  15188. "\x35\x23\xf4\x20\x41\xd4\xad\x82"
  15189. "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
  15190. "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
  15191. "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
  15192. "\xad\x49\x3a\xae\x98\xce\xa6\x66"
  15193. "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
  15194. "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
  15195. "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
  15196. "\x57\xcc\x89\x09\x75\x9b\x78\x70"
  15197. "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
  15198. "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
  15199. "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
  15200. "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
  15201. "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
  15202. "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
  15203. "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
  15204. "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
  15205. "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
  15206. "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
  15207. "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
  15208. "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
  15209. "\x02\x66\x49\xca\x7c\x91\x05\xf2"
  15210. "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
  15211. "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
  15212. "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
  15213. "\x45\xea\x78\x73\xd9\xb7\x39\x11"
  15214. "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
  15215. "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
  15216. "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
  15217. "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
  15218. "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
  15219. "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
  15220. "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
  15221. "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
  15222. "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
  15223. "\x03\x25\x3c\x8d\x48\x58\x71\x34"
  15224. "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
  15225. "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
  15226. "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
  15227. "\x87\x79\x60\x38\x46\xb4\x25\x57"
  15228. "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
  15229. "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
  15230. "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
  15231. "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
  15232. "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
  15233. "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
  15234. "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
  15235. "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
  15236. "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
  15237. "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
  15238. "\x0b\x63\xde\x87\x42\x79\x8a\x68"
  15239. "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
  15240. "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
  15241. "\xe9\x83\x84\xcb\x28\x69\x09\x69"
  15242. "\xce\x99\x46\x00\x54\xcb\xd8\x38"
  15243. "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
  15244. "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
  15245. "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
  15246. "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
  15247. "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
  15248. "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
  15249. "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
  15250. "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
  15251. "\x78\xc6\x91\x22\x40\x91\x80\xbe"
  15252. "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
  15253. "\x67\x10\xa4\x83\x98\x79\x23\xe7"
  15254. "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
  15255. "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
  15256. "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
  15257. "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
  15258. "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
  15259. "\x3f\x73\x09\xe2\x45\x56\x31\x51"
  15260. "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
  15261. "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
  15262. "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
  15263. "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
  15264. "\xa4\x78\xdb\x74\x3d\x8b\xb5",
  15265. .plen = 719,
  15266. .ctext = "\xdc\xb1\x0f\x2a\xe8\x2d\x1c\x57"
  15267. "\xc4\x82\xfa\xd6\x87\xe6\x2f\x50"
  15268. "\xbd\x9e\x0a\x42\x31\xf2\xc7\xbb"
  15269. "\x21\x63\xa7\x05\x43\x33\xef\x33"
  15270. "\x5c\xd3\x47\x55\xce\x5c\xe4\xd4"
  15271. "\xe5\x07\x62\x22\xac\x01\xa8\x35"
  15272. "\x9c\x59\x34\x30\x8e\xff\x9f\xb4"
  15273. "\xd2\x4e\x74\x90\x64\xf2\x78\x5e"
  15274. "\x63\xb7\xc5\x08\x1b\x37\xa5\x9e"
  15275. "\xc0\xde\xff\xa9\x7f\x0b\xd3\x02"
  15276. "\x83\x6e\x33\xfa\x43\x11\xd3\xda"
  15277. "\x02\xcf\xcd\x4a\xc0\x78\x1f\x39"
  15278. "\x62\xcb\xa3\x95\x7e\x13\x92\x28"
  15279. "\xb2\xc4\x7a\xba\xd1\xc6\xf6\x1f"
  15280. "\xda\x0b\xf1\xd1\x99\x54\xd8\x3b"
  15281. "\x16\xf8\xe6\x97\x1e\xa7\xcf\x49"
  15282. "\x69\x84\x01\x4c\xdc\x7a\x34\xff"
  15283. "\x01\x08\xa3\x0b\x39\xac\x21\x37"
  15284. "\xd8\xb4\x04\x19\x8b\x7a\x7d\x17"
  15285. "\x44\xd1\x18\xaf\x1f\xa9\x29\xfe"
  15286. "\xfa\x77\xe0\x40\x42\x0c\x79\xb7"
  15287. "\xc3\x15\x1b\xd9\x0c\x82\xfc\x16"
  15288. "\x70\xd6\x2a\xe9\x94\x72\xc5\xa5"
  15289. "\x8a\x58\xbc\xfa\xe0\x88\x39\x4a"
  15290. "\x80\xe8\xec\xaf\x60\xac\xe7\xf8"
  15291. "\x9c\xf0\xfc\x61\x39\x07\x98\x6b"
  15292. "\x88\xe3\x98\x22\x28\x18\x4a\x2d"
  15293. "\x25\xef\x10\xe3\x83\x66\x3f\xfd"
  15294. "\xc7\x0b\xa3\xfd\x97\xa9\xf4\xbd"
  15295. "\xd8\x2a\xee\x4a\x50\xad\xcc\xb5"
  15296. "\xc7\xab\xb8\x79\x9c\xd1\xf1\x27"
  15297. "\x08\xf5\xf5\xe8\x1b\x66\xce\x41"
  15298. "\x56\x60\x94\x86\xf0\x78\xc2\xfa"
  15299. "\x5b\x63\x40\xb1\xd1\x1a\x38\x69"
  15300. "\x0b\x8c\xb2\xf5\xa2\xbe\x90\x9d"
  15301. "\x46\x23\x79\x8b\x3b\x4a\xf4\xbb"
  15302. "\x55\xf7\x58\x9d\xaf\x59\xff\x74"
  15303. "\xf3\xb9\xc4\x26\xb1\xf8\xe1\x28"
  15304. "\x8b\x5e\x8f\x6d\x64\xe7\xe8\x63"
  15305. "\xd2\x9e\xcb\xee\xae\x19\x04\x1d"
  15306. "\x05\xf0\x9d\x99\x7b\x33\x33\xae"
  15307. "\x6e\xe5\x09\xdd\x67\x51\xc4\xc8"
  15308. "\x6a\xc7\x36\x35\xc9\x93\x76\xa1"
  15309. "\xa8\x1c\xfa\x75\x92\x34\x0e\x7d"
  15310. "\x3d\x1d\xef\x00\xfd\xa5\x25\x12"
  15311. "\x7c\x91\x21\x41\xcc\x50\x47\xa9"
  15312. "\x22\x50\x24\x96\x34\x79\x3d\xe8"
  15313. "\x3f\xa0\x56\xaf\x98\x53\x55\xc3"
  15314. "\x46\x1b\x17\x54\xb8\xb0\xb7\xe0"
  15315. "\xe0\xab\x47\x6f\x06\xda\xcc\x75"
  15316. "\xa7\x96\xb7\x92\xf3\xa0\x5f\xe6"
  15317. "\xba\x97\xe3\x2f\x97\x05\xb2\x99"
  15318. "\xa0\x09\x10\x98\x9c\xd3\x2e\xd1"
  15319. "\x7e\x2a\x30\x54\x3c\xb9\x33\xe3"
  15320. "\xf2\xaf\xd3\xa5\xee\xd0\x0b\x8a"
  15321. "\x19\x54\x0f\x02\x51\x1f\x91\xdf"
  15322. "\x71\x9c\xad\x77\x35\x28\x55\x6d"
  15323. "\xcd\x7a\xd9\xa3\x41\x98\x6b\x37"
  15324. "\x19\x0f\xbe\xae\x69\xb2\x25\x01"
  15325. "\xee\x0e\x51\x4b\x53\xea\x0f\x5f"
  15326. "\x85\x74\x79\x36\x32\x0a\x2a\x40"
  15327. "\xad\x6b\x78\x41\x54\x99\xe9\xc1"
  15328. "\x2b\x6c\x9b\x42\x21\xef\xe2\x50"
  15329. "\x56\x8d\x78\xdf\x58\xbe\x0a\x0f"
  15330. "\xfc\xfc\x0d\x2e\xd0\xcb\xa6\x0a"
  15331. "\xa8\xd9\x1e\xa9\xd4\x7c\x99\x88"
  15332. "\xcf\x11\xad\x1c\xd3\x04\x63\x55"
  15333. "\xef\x85\x0b\x69\xa1\x40\xf1\x75"
  15334. "\x24\xf4\xe5\x2c\xd4\x7a\x24\x50"
  15335. "\x8f\xa2\x71\xc9\x92\x20\xcd\xcf"
  15336. "\xda\x40\xbe\xf6\xfe\x1a\xca\xc7"
  15337. "\x4a\x80\x45\x55\xcb\xdd\xb7\x01"
  15338. "\xb0\x8d\xcb\xd2\xae\xbd\xa4\xd0"
  15339. "\x5c\x10\x05\x66\x7b\xd4\xff\xd9"
  15340. "\xc4\x23\x9d\x8d\x6b\x24\xf8\x3f"
  15341. "\x73\x4d\x5c\x2b\x33\x4c\x5e\x63"
  15342. "\x74\x6d\x03\xa1\x7a\x35\x65\x17"
  15343. "\x38\x7f\x3b\xc1\x69\xcf\x61\x34"
  15344. "\x30\x21\xaf\x97\x47\x12\x3f\xa1"
  15345. "\xa7\x50\xc5\x87\xfb\x3f\x70\x32"
  15346. "\x86\x17\x5f\x25\xe4\x74\xc6\xd0"
  15347. "\x9b\x39\xe6\xe1\x5a\xec\x8f\x40"
  15348. "\xce\xcc\x37\x3b\xd8\x72\x1c\x31"
  15349. "\x75\xa4\xa6\x89\x8c\xdd\xd6\xd2"
  15350. "\x32\x3d\xe8\xc3\x54\xab\x1f\x35"
  15351. "\x52\xb4\x94\x81\xb0\x37\x3a\x03"
  15352. "\xbb\xb1\x99\x30\xa5\xf8\x21\xcd"
  15353. "\x93\x5d\xa7\x13\xed\xc7\x49\x09"
  15354. "\x70\xda\x08\x39\xaa\x15\x9e\x45"
  15355. "\x35\x2b\x0f\x5c\x8c\x8b\xc9"
  15356. "\xa8\xb8\x9f\xfd\x37\x36\x31\x7e"
  15357. "\x34\x4f\xc1\xc0\xca\x8a\x22\xfd",
  15358. .clen = 735,
  15359. }
  15360. };
  15361. static const struct aead_testvec sm4_ccm_tv_template[] = {
  15362. { /* From https://datatracker.ietf.org/doc/html/rfc8998#appendix-A.2 */
  15363. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  15364. "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
  15365. .klen = 16,
  15366. .iv = "\x02\x00\x00\x12\x34\x56\x78\x00"
  15367. "\x00\x00\x00\xAB\xCD\x00\x00\x00",
  15368. .ptext = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
  15369. "\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"
  15370. "\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC"
  15371. "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
  15372. "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
  15373. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  15374. "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
  15375. "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
  15376. .plen = 64,
  15377. .assoc = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
  15378. "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
  15379. "\xAB\xAD\xDA\xD2",
  15380. .alen = 20,
  15381. .ctext = "\x48\xAF\x93\x50\x1F\xA6\x2A\xDB"
  15382. "\xCD\x41\x4C\xCE\x60\x34\xD8\x95"
  15383. "\xDD\xA1\xBF\x8F\x13\x2F\x04\x20"
  15384. "\x98\x66\x15\x72\xE7\x48\x30\x94"
  15385. "\xFD\x12\xE5\x18\xCE\x06\x2C\x98"
  15386. "\xAC\xEE\x28\xD9\x5D\xF4\x41\x6B"
  15387. "\xED\x31\xA2\xF0\x44\x76\xC1\x8B"
  15388. "\xB4\x0C\x84\xA7\x4B\x97\xDC\x5B"
  15389. "\x16\x84\x2D\x4F\xA1\x86\xF5\x6A"
  15390. "\xB3\x32\x56\x97\x1F\xA1\x10\xF4",
  15391. .clen = 80,
  15392. }, { /* Generated from AES-CCM test vectors */
  15393. .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  15394. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
  15395. .klen = 16,
  15396. .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
  15397. "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
  15398. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
  15399. .alen = 8,
  15400. .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  15401. "\x10\x11\x12\x13\x14\x15\x16\x17"
  15402. "\x18\x19\x1a\x1b\x1c\x1d\x1e",
  15403. .plen = 23,
  15404. .ctext = "\x7b\xff\x4a\x15\xf5\x73\xce\x82"
  15405. "\x6e\xc2\x31\x1d\xe2\x53\x02\xac"
  15406. "\xa4\x48\xf9\xe4\xf5\x1f\x81\x70"
  15407. "\x18\xbc\xb6\x84\x01\xb8\xae",
  15408. .clen = 31,
  15409. }, {
  15410. .key = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
  15411. "\x53\x14\x73\x66\x8d\x88\xf6\x80",
  15412. .klen = 16,
  15413. .iv = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
  15414. "\x50\x20\xda\xe2\x00\x00\x00\x00",
  15415. .assoc = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
  15416. "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
  15417. "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
  15418. "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
  15419. .alen = 32,
  15420. .ctext = "\x23\x58\xce\xdc\x40\xb1\xcd\x92"
  15421. "\x47\x96\x59\xfc\x8a\x26\x4f\xcf",
  15422. .clen = 16,
  15423. }, {
  15424. .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
  15425. "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
  15426. .klen = 16,
  15427. .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81"
  15428. "\x7f\x88\x94\x68\x00\x00\x00\x00",
  15429. .alen = 0,
  15430. .ptext = "\x00",
  15431. .plen = 0,
  15432. .ctext = "\x72\x7e\xf5\xd6\x39\x7a\x2b\x43",
  15433. .clen = 8,
  15434. }, {
  15435. .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
  15436. "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
  15437. .klen = 16,
  15438. .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
  15439. "\x57\xba\xfd\x9e\x00\x00\x00\x00",
  15440. .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
  15441. "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
  15442. "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
  15443. "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
  15444. .alen = 32,
  15445. .ptext = "\x00",
  15446. .plen = 0,
  15447. .ctext = "\xb0\x9d\xc6\xfb\x7d\xb5\xa1\x0e",
  15448. .clen = 8,
  15449. }, {
  15450. .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
  15451. "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
  15452. .klen = 16,
  15453. .iv = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
  15454. "\x44\x89\x40\x7b\x00\x00\x00\x00",
  15455. .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
  15456. "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
  15457. "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
  15458. "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
  15459. .alen = 32,
  15460. .ptext = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
  15461. "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
  15462. "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
  15463. "\x04\x49\x3b\x19\x93\x57\x25\x5d",
  15464. .plen = 32,
  15465. .ctext = "\xc9\xae\xef\x1d\xf3\x2c\xd3\x38"
  15466. "\xc9\x7f\x7e\x28\xe8\xaa\xb3\x60"
  15467. "\x49\xdc\x66\xca\x7b\x3d\xe0\x3c"
  15468. "\xcb\x45\x9c\x1b\xb2\xbe\x07\x90"
  15469. "\x87\xa6\x6b\x89\x0d\x0f\x90\xaa"
  15470. "\x7d\xf6\x5a\x9a\x68\x2b\x81\x92",
  15471. .clen = 48,
  15472. }, {
  15473. .key = "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
  15474. "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
  15475. .klen = 16,
  15476. .iv = "\x02\xff\xff\xff\xff\x00\x00\xff"
  15477. "\xff\xff\x00\xff\xff\x00\x00\x00",
  15478. .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
  15479. "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
  15480. "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
  15481. "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe"
  15482. "\xc8\xf3\x5c\x52\x10\x63",
  15483. .alen = 38,
  15484. .ptext = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
  15485. "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
  15486. "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
  15487. "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
  15488. "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
  15489. "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
  15490. "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
  15491. "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
  15492. "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
  15493. "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
  15494. "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
  15495. "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
  15496. "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
  15497. "\x35\x23\xf4\x20\x41\xd4\xad\x82"
  15498. "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
  15499. "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
  15500. "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
  15501. "\xad\x49\x3a\xae\x98\xce\xa6\x66"
  15502. "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
  15503. "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
  15504. "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
  15505. "\x57\xcc\x89\x09\x75\x9b\x78\x70"
  15506. "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
  15507. "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
  15508. "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
  15509. "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
  15510. "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
  15511. "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
  15512. "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
  15513. "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
  15514. "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
  15515. "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
  15516. "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
  15517. "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
  15518. "\x02\x66\x49\xca\x7c\x91\x05\xf2"
  15519. "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
  15520. "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
  15521. "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
  15522. "\x45\xea\x78\x73\xd9\xb7\x39\x11"
  15523. "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
  15524. "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
  15525. "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
  15526. "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
  15527. "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
  15528. "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
  15529. "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
  15530. "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
  15531. "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
  15532. "\x03\x25\x3c\x8d\x48\x58\x71\x34"
  15533. "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
  15534. "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
  15535. "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
  15536. "\x87\x79\x60\x38\x46\xb4\x25\x57"
  15537. "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
  15538. "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
  15539. "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
  15540. "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
  15541. "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
  15542. "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
  15543. "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
  15544. "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
  15545. "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
  15546. "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
  15547. "\x0b\x63\xde\x87\x42\x79\x8a\x68"
  15548. "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
  15549. "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
  15550. "\xe9\x83\x84\xcb\x28\x69\x09\x69"
  15551. "\xce\x99\x46\x00\x54\xcb\xd8\x38"
  15552. "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
  15553. "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
  15554. "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
  15555. "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
  15556. "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
  15557. "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
  15558. "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
  15559. "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
  15560. "\x78\xc6\x91\x22\x40\x91\x80\xbe"
  15561. "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
  15562. "\x67\x10\xa4\x83\x98\x79\x23\xe7"
  15563. "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
  15564. "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
  15565. "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
  15566. "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
  15567. "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
  15568. "\x3f\x73\x09\xe2\x45\x56\x31\x51"
  15569. "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
  15570. "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
  15571. "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
  15572. "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
  15573. "\xa4\x78\xdb\x74\x3d\x8b\xb5",
  15574. .plen = 719,
  15575. .ctext = "\xc5\x50\x85\x02\x72\xa8\xb3\x62"
  15576. "\xf9\xcd\x77\x7b\x43\xa5\x04\x70"
  15577. "\x68\x40\x57\x21\x1c\xfe\xef\x05"
  15578. "\x4d\xb8\x44\xba\x59\xea\x62\x32"
  15579. "\xcb\x6b\x6a\x39\x9b\xf3\xe5\xa4"
  15580. "\x36\x38\xde\x7d\xcf\xb6\xcd\xe3"
  15581. "\x89\xbf\x37\xc9\x96\x3c\x70\x10"
  15582. "\x92\x47\xcc\xac\x6f\xf8\x55\x9a"
  15583. "\x26\x43\x34\xb4\x92\x7d\x68\xfc"
  15584. "\x60\x37\x74\x2a\x55\xba\xc7\xd7"
  15585. "\x98\x69\xb7\xcf\x42\xfd\xb2\x10"
  15586. "\xa0\x59\xe1\x2c\x73\x66\x12\x97"
  15587. "\x85\x8b\x28\xcc\x29\x02\x15\x89"
  15588. "\x23\xd3\x32\x92\x87\x57\x09\x13"
  15589. "\x04\x7e\x8b\x6c\x3a\xc1\x4e\x6c"
  15590. "\xe1\x9f\xc8\xcc\x47\x9c\xd8\x10"
  15591. "\xf4\xb7\x5c\x30\x7a\x8b\x0f\x01"
  15592. "\x52\x38\x02\x92\x99\xac\x03\x90"
  15593. "\x18\x32\x2d\x21\x6a\x0a\x2a\xe7"
  15594. "\xc2\xcc\x15\x84\x4e\x2b\x0b\x3a"
  15595. "\x4c\xdc\xb0\x6b\x10\xd1\x27\x10"
  15596. "\xf0\x4a\x5c\x43\xa0\x34\x34\x59"
  15597. "\x47\x43\x48\xcb\x69\xa7\xff\x52"
  15598. "\xb8\xca\x23\x09\x07\xd7\xc5\xe4"
  15599. "\x2a\x4f\x99\xd5\x83\x36\x2a\x2d"
  15600. "\x59\xd0\xca\xb0\xfa\x40\x8c\xab"
  15601. "\xdf\x69\x08\xd9\x79\x1d\xde\xa8"
  15602. "\x0b\x34\x74\x4d\xf5\xa0\x4c\x81"
  15603. "\x7f\x93\x06\x40\x24\xfe\x7d\xcd"
  15604. "\xe4\xfe\xf8\xf8\x30\xce\xd0\x5d"
  15605. "\x70\xfd\x0d\x5a\x78\x85\x74\x2d"
  15606. "\xe4\xb5\x40\x18\x99\x11\xe4\x6a"
  15607. "\xdf\xfa\x4f\x25\x2c\xde\x15\xb7"
  15608. "\x12\xd8\xc6\x90\x0d\x0f\xc9\xfb"
  15609. "\x21\xf1\xed\xfe\x98\xe1\x03\xe2"
  15610. "\x5c\xef\xb6\xc7\x87\x77\x0e\xcd"
  15611. "\xff\x78\x94\xc9\xbe\xd3\x47\xf7"
  15612. "\x8d\x37\x48\x01\x42\xe2\x17\x96"
  15613. "\xfc\xc0\xcb\x7b\x7b\x57\xaf\x3b"
  15614. "\xc9\xd0\x94\xce\x5e\x1b\xa9\x47"
  15615. "\x02\x4d\x74\xcc\x45\x1d\xd3\x2d"
  15616. "\x5f\x4f\x7f\xf2\x4b\xf9\x59\xee"
  15617. "\x9e\x9e\xb9\x95\x29\x19\xd1\x5f"
  15618. "\x72\xab\x8d\xf1\x28\xd1\x1c\xae"
  15619. "\xc2\xba\xf7\x22\x84\x2c\x83\x51"
  15620. "\x03\xad\xa3\xef\x81\xa7\xdc\xf1"
  15621. "\x44\x51\x50\x96\x70\xd1\xe5\x47"
  15622. "\x57\xf9\x30\x90\xe4\xbf\xfc\x75"
  15623. "\x14\xaa\x4d\xb7\xb1\xe7\x79\x33"
  15624. "\x43\xc2\x5c\xc1\xbc\x09\x92\x0f"
  15625. "\xa7\xaf\x68\x51\x51\xec\x0b\xc3"
  15626. "\x3d\x2b\x94\x30\x45\x29\x1b\x9e"
  15627. "\x70\x56\xf8\xd6\x67\x2d\x39\x3b"
  15628. "\x3c\xd2\xd0\xd3\xdc\x7d\x84\xe9"
  15629. "\x06\x31\x98\xa6\x5c\xbf\x10\x58"
  15630. "\xce\xbb\xa7\xe1\x65\x7e\x51\x87"
  15631. "\x70\x46\xb4\x7f\xf9\xec\x92\x1c"
  15632. "\x9b\x24\x49\xc1\x04\xbe\x1c\x5f"
  15633. "\xcc\xb3\x33\x8c\xad\xe7\xdc\x32"
  15634. "\x54\xa2\x0d\x83\x0f\x3c\x12\x5d"
  15635. "\x71\xe3\x9c\xae\x71\xa3\x2a\x10"
  15636. "\xc5\x91\xb4\x73\x96\x60\xdb\x5d"
  15637. "\x1f\xd5\x9a\xd2\x69\xc3\xd7\x4b"
  15638. "\xa2\x66\x81\x96\x4a\xaa\x02\xd6"
  15639. "\xd5\x44\x9b\x42\x3a\x15\x5f\xe7"
  15640. "\x4d\x7c\xf6\x71\x4a\xea\xe8\x43"
  15641. "\xd7\x68\xe4\xbc\x05\x87\x49\x05"
  15642. "\x3b\x47\xb2\x6d\x5f\xd1\x11\xa6"
  15643. "\x58\xd4\xa2\x45\xec\xb5\x54\x55"
  15644. "\xd3\xd6\xd2\x6a\x8b\x21\x9e\x2c"
  15645. "\xf1\x27\x4b\x5b\xe3\xff\xe0\xfd"
  15646. "\x4b\xf1\xe7\xe2\x84\xf2\x17\x37"
  15647. "\x11\x68\xc4\x92\x4b\x6b\xef\x8e"
  15648. "\x75\xf5\xc2\x7d\x5c\xe9\x7c\xfc"
  15649. "\x2b\x00\x33\x0e\x7d\x69\xd8\xd4"
  15650. "\x9b\xa8\x38\x54\x7e\x6d\x23\x51"
  15651. "\x2c\xd6\xc4\x58\x23\x1c\x22\x2a"
  15652. "\x59\xc5\x9b\xec\x9d\xbf\x03\x0f"
  15653. "\xb3\xdd\xba\x02\x22\xa0\x34\x37"
  15654. "\x19\x56\xc2\x5b\x32\x1d\x1e\x66"
  15655. "\x68\xf4\x47\x05\x04\x18\xa7\x28"
  15656. "\x80\xf2\xc7\x99\xed\x1e\x72\x48"
  15657. "\x8f\x97\x5d\xb3\x74\x42\xfd\x0c"
  15658. "\x0f\x5f\x29\x0c\xf1\x35\x22\x90"
  15659. "\xd6\x7c\xb8\xa3\x2a\x89\x38\x71"
  15660. "\xe9\x7a\x55\x3c\x3b\xf2\x6e\x1a"
  15661. "\x22\x8f\x07\x81\xc1\xe1\xf1\x76"
  15662. "\x2a\x75\xab\x86\xc4\xcc\x52\x59"
  15663. "\x83\x19\x5e\xb3\x53\xe2\x81\xdf"
  15664. "\xe6\x15\xb3\xba\x0c\x0e\xba"
  15665. "\xa9\x2c\xed\x51\xd5\x06\xc8\xc6"
  15666. "\x4b\x9f\x5d\x1b\x61\x31\xad\xf4",
  15667. .clen = 735,
  15668. }
  15669. };
  15670. static const struct hash_testvec sm4_cbcmac_tv_template[] = {
  15671. {
  15672. .key = "\xff\xee\xdd\xcc\xbb\xaa\x99\x88"
  15673. "\x77\x66\x55\x44\x33\x22\x11\x00",
  15674. .plaintext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  15675. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  15676. .digest = "\x97\xb4\x75\x8f\x84\x92\x3d\x3f"
  15677. "\x86\x81\x0e\x0e\xea\x14\x6d\x73",
  15678. .psize = 16,
  15679. .ksize = 16,
  15680. }, {
  15681. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  15682. "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
  15683. .plaintext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  15684. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
  15685. "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
  15686. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  15687. "\xee",
  15688. .digest = "\xc7\xdb\x17\x71\xa1\x5c\x0d\x22"
  15689. "\xa3\x39\x3a\x31\x88\x91\x49\xa1",
  15690. .psize = 33,
  15691. .ksize = 16,
  15692. }, {
  15693. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  15694. "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
  15695. .plaintext = "\xfb\xd1\xbe\x92\x7e\x50\x3f\x16"
  15696. "\xf9\xdd\xbe\x91\x73\x53\x37\x1a"
  15697. "\xfe\xdd\xba\x97\x7e\x53\x3c\x1c"
  15698. "\xfe\xd7\xbf\x9c\x75\x5f\x3e\x11"
  15699. "\xf0\xd8\xbc\x96\x73\x5c\x34\x11"
  15700. "\xf5\xdb\xb1\x99\x7a\x5a\x32\x1f"
  15701. "\xf6\xdf\xb4\x95\x7f\x5f\x3b\x17"
  15702. "\xfd\xdb\xb1\x9b\x76\x5c\x37",
  15703. .digest = "\x9b\x07\x88\x7f\xd5\x95\x23\x12"
  15704. "\x64\x0a\x66\x7f\x4e\x25\xca\xd0",
  15705. .psize = 63,
  15706. .ksize = 16,
  15707. }
  15708. };
  15709. static const struct hash_testvec sm4_cmac128_tv_template[] = {
  15710. {
  15711. .key = "\xff\xee\xdd\xcc\xbb\xaa\x99\x88"
  15712. "\x77\x66\x55\x44\x33\x22\x11\x00",
  15713. .plaintext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  15714. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  15715. .digest = "\x00\xd4\x63\xb4\x9a\xf3\x52\xe2"
  15716. "\x74\xa9\x00\x55\x13\x54\x2a\xd1",
  15717. .psize = 16,
  15718. .ksize = 16,
  15719. }, {
  15720. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  15721. "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
  15722. .plaintext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  15723. "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
  15724. "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
  15725. "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
  15726. "\xee",
  15727. .digest = "\x8a\x8a\xe9\xc0\xc8\x97\x0e\x85"
  15728. "\x21\x57\x02\x10\x1a\xbf\x9c\xc6",
  15729. .psize = 33,
  15730. .ksize = 16,
  15731. }, {
  15732. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  15733. "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
  15734. .plaintext = "\xfb\xd1\xbe\x92\x7e\x50\x3f\x16"
  15735. "\xf9\xdd\xbe\x91\x73\x53\x37\x1a"
  15736. "\xfe\xdd\xba\x97\x7e\x53\x3c\x1c"
  15737. "\xfe\xd7\xbf\x9c\x75\x5f\x3e\x11"
  15738. "\xf0\xd8\xbc\x96\x73\x5c\x34\x11"
  15739. "\xf5\xdb\xb1\x99\x7a\x5a\x32\x1f"
  15740. "\xf6\xdf\xb4\x95\x7f\x5f\x3b\x17"
  15741. "\xfd\xdb\xb1\x9b\x76\x5c\x37",
  15742. .digest = "\x5f\x14\xc9\xa9\x20\xb2\xb4\xf0"
  15743. "\x76\xe0\xd8\xd6\xdc\x4f\xe1\xbc",
  15744. .psize = 63,
  15745. .ksize = 16,
  15746. }
  15747. };
  15748. static const struct hash_testvec sm4_xcbc128_tv_template[] = {
  15749. { /* Generated from AES-XCBC128 test vectors */
  15750. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15751. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15752. .plaintext = zeroed_string,
  15753. .digest = "\xa9\x9a\x5c\x44\xe2\x34\xee\x2c"
  15754. "\x9b\xe4\x9d\xca\x64\xb0\xa5\xc4",
  15755. .psize = 0,
  15756. .ksize = 16,
  15757. }, {
  15758. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15759. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15760. .plaintext = "\x00\x01\x02",
  15761. .digest = "\x17\x27\x62\xf3\x8b\x88\x1d\xc0"
  15762. "\x97\x35\x9c\x3e\x9f\x27\xb7\x83",
  15763. .psize = 3,
  15764. .ksize = 16,
  15765. } , {
  15766. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15767. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15768. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15769. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15770. .digest = "\xda\x45\xd1\xac\xec\x4d\xab\x46"
  15771. "\xdd\x59\xe0\x44\xff\x59\xd5\xfc",
  15772. .psize = 16,
  15773. .ksize = 16,
  15774. }, {
  15775. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15776. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15777. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15778. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  15779. "\x10\x11\x12\x13",
  15780. .digest = "\xbe\x24\x5d\x81\x8c\x8a\x10\xa4"
  15781. "\x8e\xc2\x16\xfa\xa4\x83\xc9\x2a",
  15782. .psize = 20,
  15783. .ksize = 16,
  15784. }, {
  15785. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15786. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15787. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15788. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  15789. "\x10\x11\x12\x13\x14\x15\x16\x17"
  15790. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  15791. .digest = "\x91\x82\x31\x56\xd5\x77\xa4\xc5"
  15792. "\x88\x2d\xce\x3a\x87\x5e\xbd\xba",
  15793. .psize = 32,
  15794. .ksize = 16,
  15795. }, {
  15796. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15797. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  15798. .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  15799. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  15800. "\x10\x11\x12\x13\x14\x15\x16\x17"
  15801. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  15802. "\x20\x21",
  15803. .digest = "\x2a\xae\xa5\x24\x0c\x12\x9f\x5f"
  15804. "\x55\xfb\xae\x35\x13\x0d\x22\x2d",
  15805. .psize = 34,
  15806. .ksize = 16,
  15807. }
  15808. };
  15809. /* Cast6 test vectors from RFC 2612 */
  15810. static const struct cipher_testvec cast6_tv_template[] = {
  15811. {
  15812. .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
  15813. "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
  15814. .klen = 16,
  15815. .ptext = zeroed_string,
  15816. .ctext = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
  15817. "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
  15818. .len = 16,
  15819. }, {
  15820. .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
  15821. "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
  15822. "\xba\xc7\x7a\x77\x17\x94\x28\x63",
  15823. .klen = 24,
  15824. .ptext = zeroed_string,
  15825. .ctext = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
  15826. "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
  15827. .len = 16,
  15828. }, {
  15829. .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
  15830. "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
  15831. "\x8d\x7c\x47\xce\x26\x49\x08\x46"
  15832. "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
  15833. .klen = 32,
  15834. .ptext = zeroed_string,
  15835. .ctext = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
  15836. "\xc9\x87\x01\x36\x55\x33\x17\xfa",
  15837. .len = 16,
  15838. }, { /* Generated from TF test vectors */
  15839. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  15840. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  15841. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  15842. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  15843. .klen = 32,
  15844. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  15845. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  15846. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  15847. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  15848. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  15849. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  15850. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  15851. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  15852. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  15853. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  15854. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  15855. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  15856. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  15857. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  15858. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  15859. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  15860. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  15861. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  15862. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  15863. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  15864. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  15865. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  15866. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  15867. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  15868. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  15869. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  15870. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  15871. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  15872. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  15873. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  15874. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  15875. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  15876. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  15877. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  15878. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  15879. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  15880. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  15881. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  15882. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  15883. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  15884. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  15885. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  15886. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  15887. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  15888. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  15889. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  15890. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  15891. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  15892. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  15893. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  15894. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  15895. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  15896. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  15897. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  15898. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  15899. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  15900. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  15901. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  15902. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  15903. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  15904. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  15905. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  15906. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  15907. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  15908. .ctext = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
  15909. "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
  15910. "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
  15911. "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
  15912. "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
  15913. "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
  15914. "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
  15915. "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
  15916. "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
  15917. "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
  15918. "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
  15919. "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
  15920. "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
  15921. "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
  15922. "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
  15923. "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
  15924. "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
  15925. "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
  15926. "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
  15927. "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
  15928. "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
  15929. "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
  15930. "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
  15931. "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
  15932. "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
  15933. "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
  15934. "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
  15935. "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
  15936. "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
  15937. "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
  15938. "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
  15939. "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
  15940. "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
  15941. "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
  15942. "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
  15943. "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
  15944. "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
  15945. "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
  15946. "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
  15947. "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
  15948. "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
  15949. "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
  15950. "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
  15951. "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
  15952. "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
  15953. "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
  15954. "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
  15955. "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
  15956. "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
  15957. "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
  15958. "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
  15959. "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
  15960. "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
  15961. "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
  15962. "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
  15963. "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
  15964. "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
  15965. "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
  15966. "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
  15967. "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
  15968. "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
  15969. "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
  15970. .len = 496,
  15971. },
  15972. };
  15973. static const struct cipher_testvec cast6_cbc_tv_template[] = {
  15974. { /* Generated from TF test vectors */
  15975. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  15976. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  15977. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  15978. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  15979. .klen = 32,
  15980. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  15981. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  15982. .iv_out = "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
  15983. "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
  15984. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  15985. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  15986. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  15987. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  15988. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  15989. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  15990. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  15991. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  15992. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  15993. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  15994. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  15995. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  15996. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  15997. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  15998. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  15999. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  16000. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  16001. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  16002. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  16003. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  16004. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  16005. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  16006. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  16007. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  16008. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  16009. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  16010. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  16011. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  16012. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  16013. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  16014. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  16015. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  16016. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  16017. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  16018. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  16019. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  16020. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  16021. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  16022. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  16023. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  16024. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  16025. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  16026. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  16027. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  16028. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  16029. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  16030. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  16031. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  16032. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  16033. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  16034. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  16035. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  16036. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  16037. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  16038. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  16039. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  16040. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  16041. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  16042. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  16043. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  16044. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  16045. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  16046. .ctext = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
  16047. "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
  16048. "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
  16049. "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
  16050. "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
  16051. "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
  16052. "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
  16053. "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
  16054. "\x57\x95\xE1\x21\x26\x10\x9A\x21"
  16055. "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
  16056. "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
  16057. "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
  16058. "\x23\x16\x47\x72\x81\x13\x3A\x72"
  16059. "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
  16060. "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
  16061. "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
  16062. "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
  16063. "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
  16064. "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
  16065. "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
  16066. "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
  16067. "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
  16068. "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
  16069. "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
  16070. "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
  16071. "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
  16072. "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
  16073. "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
  16074. "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
  16075. "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
  16076. "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
  16077. "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
  16078. "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
  16079. "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
  16080. "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
  16081. "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
  16082. "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
  16083. "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
  16084. "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
  16085. "\x73\x3F\x12\x91\x47\x54\xBA\x39"
  16086. "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
  16087. "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
  16088. "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
  16089. "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
  16090. "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
  16091. "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
  16092. "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
  16093. "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
  16094. "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
  16095. "\x80\x21\x83\x58\x3C\x76\xFD\x28"
  16096. "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
  16097. "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
  16098. "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
  16099. "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
  16100. "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
  16101. "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
  16102. "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
  16103. "\x56\x4D\x82\x62\x37\xA3\x48\x01"
  16104. "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
  16105. "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
  16106. "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
  16107. "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
  16108. .len = 496,
  16109. },
  16110. };
  16111. static const struct cipher_testvec cast6_ctr_tv_template[] = {
  16112. { /* Generated from TF test vectors */
  16113. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  16114. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  16115. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  16116. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  16117. .klen = 32,
  16118. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  16119. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  16120. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  16121. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x66",
  16122. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  16123. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  16124. "\x3A",
  16125. .ctext = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
  16126. "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
  16127. "\x57",
  16128. .len = 17,
  16129. }, { /* Generated from TF test vectors */
  16130. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  16131. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  16132. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  16133. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  16134. .klen = 32,
  16135. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  16136. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  16137. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  16138. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
  16139. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  16140. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  16141. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  16142. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  16143. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  16144. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  16145. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  16146. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  16147. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  16148. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  16149. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  16150. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  16151. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  16152. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  16153. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  16154. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  16155. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  16156. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  16157. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  16158. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  16159. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  16160. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  16161. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  16162. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  16163. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  16164. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  16165. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  16166. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  16167. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  16168. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  16169. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  16170. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  16171. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  16172. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  16173. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  16174. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  16175. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  16176. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  16177. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  16178. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  16179. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  16180. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  16181. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  16182. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  16183. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  16184. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  16185. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  16186. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  16187. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  16188. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  16189. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  16190. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  16191. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  16192. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  16193. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  16194. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  16195. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  16196. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  16197. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  16198. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  16199. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  16200. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  16201. .ctext = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
  16202. "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
  16203. "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
  16204. "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
  16205. "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
  16206. "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
  16207. "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
  16208. "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
  16209. "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
  16210. "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
  16211. "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
  16212. "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
  16213. "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
  16214. "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
  16215. "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
  16216. "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
  16217. "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
  16218. "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
  16219. "\x49\x61\x22\x52\x64\x8C\x46\x41"
  16220. "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
  16221. "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
  16222. "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
  16223. "\x00\x14\x15\x59\xC1\x30\x64\xAF"
  16224. "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
  16225. "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
  16226. "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
  16227. "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
  16228. "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
  16229. "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
  16230. "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
  16231. "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
  16232. "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
  16233. "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
  16234. "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
  16235. "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
  16236. "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
  16237. "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
  16238. "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
  16239. "\x60\x40\x38\x90\x20\x46\xC7\xB3"
  16240. "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
  16241. "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
  16242. "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
  16243. "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
  16244. "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
  16245. "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
  16246. "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
  16247. "\x73\xFC\x91\xAB\x79\x41\x23\x14"
  16248. "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
  16249. "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
  16250. "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
  16251. "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
  16252. "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
  16253. "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
  16254. "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
  16255. "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
  16256. "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
  16257. "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
  16258. "\x19\x35\x88\x22\x45\x59\x0E\x8F"
  16259. "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
  16260. "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
  16261. "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
  16262. "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
  16263. .len = 496,
  16264. },
  16265. };
  16266. static const struct cipher_testvec cast6_lrw_tv_template[] = {
  16267. { /* Generated from TF test vectors */
  16268. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  16269. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  16270. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  16271. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  16272. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  16273. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  16274. .klen = 48,
  16275. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  16276. "\x00\x00\x00\x00\x00\x00\x00\x01",
  16277. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  16278. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  16279. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  16280. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  16281. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  16282. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  16283. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  16284. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  16285. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  16286. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  16287. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  16288. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  16289. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  16290. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  16291. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  16292. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  16293. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  16294. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  16295. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  16296. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  16297. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  16298. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  16299. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  16300. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  16301. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  16302. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  16303. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  16304. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  16305. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  16306. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  16307. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  16308. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  16309. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  16310. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  16311. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  16312. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  16313. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  16314. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  16315. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  16316. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  16317. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  16318. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  16319. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  16320. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  16321. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  16322. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  16323. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  16324. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  16325. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  16326. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  16327. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  16328. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  16329. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  16330. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  16331. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  16332. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  16333. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  16334. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  16335. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  16336. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  16337. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  16338. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  16339. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  16340. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  16341. .ctext = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
  16342. "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
  16343. "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
  16344. "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
  16345. "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
  16346. "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
  16347. "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
  16348. "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
  16349. "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
  16350. "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
  16351. "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
  16352. "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
  16353. "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
  16354. "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
  16355. "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
  16356. "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
  16357. "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
  16358. "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
  16359. "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
  16360. "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
  16361. "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
  16362. "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
  16363. "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
  16364. "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
  16365. "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
  16366. "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
  16367. "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
  16368. "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
  16369. "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
  16370. "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
  16371. "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
  16372. "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
  16373. "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
  16374. "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
  16375. "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
  16376. "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
  16377. "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
  16378. "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
  16379. "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
  16380. "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
  16381. "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
  16382. "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
  16383. "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
  16384. "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
  16385. "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
  16386. "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
  16387. "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
  16388. "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
  16389. "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
  16390. "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
  16391. "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
  16392. "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
  16393. "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
  16394. "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
  16395. "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
  16396. "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
  16397. "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
  16398. "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
  16399. "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
  16400. "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
  16401. "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
  16402. "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
  16403. "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
  16404. "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
  16405. .len = 512,
  16406. },
  16407. };
  16408. static const struct cipher_testvec cast6_xts_tv_template[] = {
  16409. { /* Generated from TF test vectors */
  16410. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  16411. "\x23\x53\x60\x28\x74\x71\x35\x26"
  16412. "\x62\x49\x77\x57\x24\x70\x93\x69"
  16413. "\x99\x59\x57\x49\x66\x96\x76\x27"
  16414. "\x31\x41\x59\x26\x53\x58\x97\x93"
  16415. "\x23\x84\x62\x64\x33\x83\x27\x95"
  16416. "\x02\x88\x41\x97\x16\x93\x99\x37"
  16417. "\x51\x05\x82\x09\x74\x94\x45\x92",
  16418. .klen = 64,
  16419. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  16420. "\x00\x00\x00\x00\x00\x00\x00\x00",
  16421. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16422. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16423. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16424. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  16425. "\x20\x21\x22\x23\x24\x25\x26\x27"
  16426. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  16427. "\x30\x31\x32\x33\x34\x35\x36\x37"
  16428. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  16429. "\x40\x41\x42\x43\x44\x45\x46\x47"
  16430. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  16431. "\x50\x51\x52\x53\x54\x55\x56\x57"
  16432. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  16433. "\x60\x61\x62\x63\x64\x65\x66\x67"
  16434. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  16435. "\x70\x71\x72\x73\x74\x75\x76\x77"
  16436. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  16437. "\x80\x81\x82\x83\x84\x85\x86\x87"
  16438. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  16439. "\x90\x91\x92\x93\x94\x95\x96\x97"
  16440. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  16441. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  16442. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  16443. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  16444. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  16445. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  16446. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  16447. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  16448. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  16449. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  16450. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  16451. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  16452. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  16453. "\x00\x01\x02\x03\x04\x05\x06\x07"
  16454. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16455. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16456. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  16457. "\x20\x21\x22\x23\x24\x25\x26\x27"
  16458. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  16459. "\x30\x31\x32\x33\x34\x35\x36\x37"
  16460. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  16461. "\x40\x41\x42\x43\x44\x45\x46\x47"
  16462. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  16463. "\x50\x51\x52\x53\x54\x55\x56\x57"
  16464. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  16465. "\x60\x61\x62\x63\x64\x65\x66\x67"
  16466. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  16467. "\x70\x71\x72\x73\x74\x75\x76\x77"
  16468. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  16469. "\x80\x81\x82\x83\x84\x85\x86\x87"
  16470. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  16471. "\x90\x91\x92\x93\x94\x95\x96\x97"
  16472. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  16473. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  16474. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  16475. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  16476. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  16477. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  16478. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  16479. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  16480. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  16481. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  16482. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  16483. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  16484. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  16485. .ctext = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
  16486. "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
  16487. "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
  16488. "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
  16489. "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
  16490. "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
  16491. "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
  16492. "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
  16493. "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
  16494. "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
  16495. "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
  16496. "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
  16497. "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
  16498. "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
  16499. "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
  16500. "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
  16501. "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
  16502. "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
  16503. "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
  16504. "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
  16505. "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
  16506. "\x71\x38\x17\x91\x44\xE8\xFC\x65"
  16507. "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
  16508. "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
  16509. "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
  16510. "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
  16511. "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
  16512. "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
  16513. "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
  16514. "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
  16515. "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
  16516. "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
  16517. "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
  16518. "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
  16519. "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
  16520. "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
  16521. "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
  16522. "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
  16523. "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
  16524. "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
  16525. "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
  16526. "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
  16527. "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
  16528. "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
  16529. "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
  16530. "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
  16531. "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
  16532. "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
  16533. "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
  16534. "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
  16535. "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
  16536. "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
  16537. "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
  16538. "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
  16539. "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
  16540. "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
  16541. "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
  16542. "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
  16543. "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
  16544. "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
  16545. "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
  16546. "\x45\x72\x80\x17\x81\xBD\x9D\x62"
  16547. "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
  16548. "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
  16549. .len = 512,
  16550. },
  16551. };
  16552. /*
  16553. * AES test vectors.
  16554. */
  16555. static const struct cipher_testvec aes_tv_template[] = {
  16556. { /* From FIPS-197 */
  16557. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16558. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16559. .klen = 16,
  16560. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  16561. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  16562. .ctext = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
  16563. "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
  16564. .len = 16,
  16565. }, {
  16566. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16567. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16568. "\x10\x11\x12\x13\x14\x15\x16\x17",
  16569. .klen = 24,
  16570. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  16571. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  16572. .ctext = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
  16573. "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
  16574. .len = 16,
  16575. }, {
  16576. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16577. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16578. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16579. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  16580. .klen = 32,
  16581. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  16582. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  16583. .ctext = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
  16584. "\xea\xfc\x49\x90\x4b\x49\x60\x89",
  16585. .len = 16,
  16586. }, { /* Generated with Crypto++ */
  16587. .key = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
  16588. "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
  16589. "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
  16590. "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
  16591. .klen = 32,
  16592. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  16593. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  16594. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  16595. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  16596. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  16597. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  16598. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  16599. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  16600. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  16601. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  16602. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  16603. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  16604. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  16605. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  16606. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  16607. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  16608. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  16609. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  16610. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  16611. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  16612. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  16613. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  16614. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  16615. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  16616. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  16617. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  16618. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  16619. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  16620. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  16621. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  16622. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  16623. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  16624. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  16625. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  16626. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  16627. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  16628. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  16629. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  16630. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  16631. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  16632. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  16633. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  16634. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  16635. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  16636. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  16637. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  16638. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  16639. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  16640. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  16641. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  16642. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  16643. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  16644. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  16645. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  16646. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  16647. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  16648. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  16649. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  16650. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  16651. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  16652. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  16653. "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
  16654. .ctext = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
  16655. "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
  16656. "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
  16657. "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
  16658. "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
  16659. "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
  16660. "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
  16661. "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
  16662. "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
  16663. "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
  16664. "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
  16665. "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
  16666. "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
  16667. "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
  16668. "\x41\x72\x51\x97\x1D\x07\x49\xA0"
  16669. "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
  16670. "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
  16671. "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
  16672. "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
  16673. "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
  16674. "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
  16675. "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
  16676. "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
  16677. "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
  16678. "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
  16679. "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
  16680. "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
  16681. "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
  16682. "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
  16683. "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
  16684. "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
  16685. "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
  16686. "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
  16687. "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
  16688. "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
  16689. "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
  16690. "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
  16691. "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
  16692. "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
  16693. "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
  16694. "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
  16695. "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
  16696. "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
  16697. "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
  16698. "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
  16699. "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
  16700. "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
  16701. "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
  16702. "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
  16703. "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
  16704. "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
  16705. "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
  16706. "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
  16707. "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
  16708. "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
  16709. "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
  16710. "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
  16711. "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
  16712. "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
  16713. "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
  16714. "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
  16715. "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
  16716. .len = 496,
  16717. },
  16718. };
  16719. static const struct cipher_testvec aes_cbc_tv_template[] = {
  16720. { /* From RFC 3602 */
  16721. .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  16722. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  16723. .klen = 16,
  16724. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  16725. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  16726. .iv_out = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  16727. "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
  16728. .ptext = "Single block msg",
  16729. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  16730. "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
  16731. .len = 16,
  16732. }, {
  16733. .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  16734. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  16735. .klen = 16,
  16736. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  16737. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  16738. .iv_out = "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  16739. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
  16740. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16741. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  16742. "\x10\x11\x12\x13\x14\x15\x16\x17"
  16743. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  16744. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  16745. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  16746. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  16747. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
  16748. .len = 32,
  16749. }, { /* From NIST SP800-38A */
  16750. .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  16751. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  16752. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  16753. .klen = 24,
  16754. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16755. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16756. .iv_out = "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  16757. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
  16758. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  16759. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  16760. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  16761. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  16762. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  16763. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  16764. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  16765. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  16766. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  16767. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  16768. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  16769. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  16770. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  16771. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  16772. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  16773. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
  16774. .len = 64,
  16775. }, {
  16776. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  16777. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  16778. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  16779. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  16780. .klen = 32,
  16781. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  16782. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  16783. .iv_out = "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  16784. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
  16785. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  16786. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  16787. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  16788. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  16789. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  16790. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  16791. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  16792. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  16793. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  16794. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  16795. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  16796. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  16797. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  16798. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  16799. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  16800. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
  16801. .len = 64,
  16802. }, { /* Generated with Crypto++ */
  16803. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
  16804. "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
  16805. "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
  16806. "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
  16807. .klen = 32,
  16808. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
  16809. "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
  16810. .iv_out = "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
  16811. "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
  16812. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  16813. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  16814. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  16815. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  16816. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  16817. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  16818. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  16819. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  16820. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  16821. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  16822. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  16823. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  16824. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  16825. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  16826. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  16827. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  16828. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  16829. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  16830. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  16831. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  16832. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  16833. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  16834. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  16835. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  16836. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  16837. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  16838. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  16839. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  16840. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  16841. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  16842. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  16843. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  16844. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  16845. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  16846. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  16847. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  16848. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  16849. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  16850. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  16851. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  16852. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  16853. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  16854. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  16855. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  16856. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  16857. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  16858. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  16859. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  16860. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  16861. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  16862. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  16863. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  16864. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  16865. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  16866. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  16867. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  16868. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  16869. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  16870. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  16871. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  16872. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  16873. "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
  16874. .ctext = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
  16875. "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
  16876. "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
  16877. "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
  16878. "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
  16879. "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
  16880. "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
  16881. "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
  16882. "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
  16883. "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
  16884. "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
  16885. "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
  16886. "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
  16887. "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
  16888. "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
  16889. "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
  16890. "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
  16891. "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
  16892. "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
  16893. "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
  16894. "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
  16895. "\x16\x24\x02\x07\x48\xAE\xF2\x31"
  16896. "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
  16897. "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
  16898. "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
  16899. "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
  16900. "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
  16901. "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
  16902. "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
  16903. "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
  16904. "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
  16905. "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
  16906. "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
  16907. "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
  16908. "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
  16909. "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
  16910. "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
  16911. "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
  16912. "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
  16913. "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
  16914. "\x22\x39\x7B\x16\x03\x01\x69\xAF"
  16915. "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
  16916. "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
  16917. "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
  16918. "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
  16919. "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
  16920. "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
  16921. "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
  16922. "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
  16923. "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
  16924. "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
  16925. "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
  16926. "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
  16927. "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
  16928. "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
  16929. "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
  16930. "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
  16931. "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
  16932. "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
  16933. "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
  16934. "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
  16935. "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
  16936. .len = 496,
  16937. },
  16938. };
  16939. static const struct aead_testvec hmac_md5_ecb_cipher_null_tv_template[] = {
  16940. { /* Input data from RFC 2410 Case 1 */
  16941. #ifdef __LITTLE_ENDIAN
  16942. .key = "\x08\x00" /* rta length */
  16943. "\x01\x00" /* rta type */
  16944. #else
  16945. .key = "\x00\x08" /* rta length */
  16946. "\x00\x01" /* rta type */
  16947. #endif
  16948. "\x00\x00\x00\x00" /* enc key length */
  16949. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16950. "\x00\x00\x00\x00\x00\x00\x00\x00",
  16951. .klen = 8 + 16 + 0,
  16952. .iv = "",
  16953. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  16954. .plen = 8,
  16955. .ctext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  16956. "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
  16957. "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
  16958. .clen = 8 + 16,
  16959. }, { /* Input data from RFC 2410 Case 2 */
  16960. #ifdef __LITTLE_ENDIAN
  16961. .key = "\x08\x00" /* rta length */
  16962. "\x01\x00" /* rta type */
  16963. #else
  16964. .key = "\x00\x08" /* rta length */
  16965. "\x00\x01" /* rta type */
  16966. #endif
  16967. "\x00\x00\x00\x00" /* enc key length */
  16968. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16969. "\x00\x00\x00\x00\x00\x00\x00\x00",
  16970. .klen = 8 + 16 + 0,
  16971. .iv = "",
  16972. .ptext = "Network Security People Have A Strange Sense Of Humor",
  16973. .plen = 53,
  16974. .ctext = "Network Security People Have A Strange Sense Of Humor"
  16975. "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
  16976. "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
  16977. .clen = 53 + 16,
  16978. },
  16979. };
  16980. static const struct aead_testvec hmac_sha1_aes_cbc_tv_temp[] = {
  16981. { /* RFC 3602 Case 1 */
  16982. #ifdef __LITTLE_ENDIAN
  16983. .key = "\x08\x00" /* rta length */
  16984. "\x01\x00" /* rta type */
  16985. #else
  16986. .key = "\x00\x08" /* rta length */
  16987. "\x00\x01" /* rta type */
  16988. #endif
  16989. "\x00\x00\x00\x10" /* enc key length */
  16990. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16991. "\x00\x00\x00\x00\x00\x00\x00\x00"
  16992. "\x00\x00\x00\x00"
  16993. "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  16994. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  16995. .klen = 8 + 20 + 16,
  16996. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  16997. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  16998. .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  16999. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  17000. .alen = 16,
  17001. .ptext = "Single block msg",
  17002. .plen = 16,
  17003. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  17004. "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
  17005. "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
  17006. "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
  17007. "\x03\x71\xa2\x06",
  17008. .clen = 16 + 20,
  17009. }, { /* RFC 3602 Case 2 */
  17010. #ifdef __LITTLE_ENDIAN
  17011. .key = "\x08\x00" /* rta length */
  17012. "\x01\x00" /* rta type */
  17013. #else
  17014. .key = "\x00\x08" /* rta length */
  17015. "\x00\x01" /* rta type */
  17016. #endif
  17017. "\x00\x00\x00\x10" /* enc key length */
  17018. "\x20\x21\x22\x23\x24\x25\x26\x27"
  17019. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  17020. "\x30\x31\x32\x33"
  17021. "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  17022. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  17023. .klen = 8 + 20 + 16,
  17024. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  17025. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  17026. .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  17027. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  17028. .alen = 16,
  17029. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17030. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  17031. "\x10\x11\x12\x13\x14\x15\x16\x17"
  17032. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  17033. .plen = 32,
  17034. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  17035. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  17036. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  17037. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
  17038. "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
  17039. "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
  17040. "\x65\x39\xf8\xde",
  17041. .clen = 32 + 20,
  17042. }, { /* RFC 3602 Case 3 */
  17043. #ifdef __LITTLE_ENDIAN
  17044. .key = "\x08\x00" /* rta length */
  17045. "\x01\x00" /* rta type */
  17046. #else
  17047. .key = "\x00\x08" /* rta length */
  17048. "\x00\x01" /* rta type */
  17049. #endif
  17050. "\x00\x00\x00\x10" /* enc key length */
  17051. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17052. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17053. "\x22\x33\x44\x55"
  17054. "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
  17055. "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
  17056. .klen = 8 + 20 + 16,
  17057. .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  17058. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  17059. .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  17060. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  17061. .alen = 16,
  17062. .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
  17063. .plen = 48,
  17064. .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
  17065. "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
  17066. "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
  17067. "\x50\x69\x39\x27\x67\x72\xf8\xd5"
  17068. "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
  17069. "\x85\x79\x69\x5d\x83\xba\x26\x84"
  17070. "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
  17071. "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
  17072. "\x8d\x62\xf2\x1e",
  17073. .clen = 48 + 20,
  17074. }, { /* RFC 3602 Case 4 */
  17075. #ifdef __LITTLE_ENDIAN
  17076. .key = "\x08\x00" /* rta length */
  17077. "\x01\x00" /* rta type */
  17078. #else
  17079. .key = "\x00\x08" /* rta length */
  17080. "\x00\x01" /* rta type */
  17081. #endif
  17082. "\x00\x00\x00\x10" /* enc key length */
  17083. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17084. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17085. "\x22\x33\x44\x55"
  17086. "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
  17087. "\xbc\x46\x90\x3d\xba\x29\x03\x49",
  17088. .klen = 8 + 20 + 16,
  17089. .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  17090. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  17091. .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  17092. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  17093. .alen = 16,
  17094. .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  17095. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  17096. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  17097. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  17098. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  17099. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  17100. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  17101. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
  17102. .plen = 64,
  17103. .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
  17104. "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
  17105. "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
  17106. "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
  17107. "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
  17108. "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
  17109. "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
  17110. "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
  17111. "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
  17112. "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
  17113. "\x1d\xbe\xc6\xe9",
  17114. .clen = 64 + 20,
  17115. }, { /* RFC 3602 Case 5 */
  17116. #ifdef __LITTLE_ENDIAN
  17117. .key = "\x08\x00" /* rta length */
  17118. "\x01\x00" /* rta type */
  17119. #else
  17120. .key = "\x00\x08" /* rta length */
  17121. "\x00\x01" /* rta type */
  17122. #endif
  17123. "\x00\x00\x00\x10" /* enc key length */
  17124. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17125. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17126. "\x22\x33\x44\x55"
  17127. "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
  17128. "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
  17129. .klen = 8 + 20 + 16,
  17130. .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  17131. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  17132. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17133. "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  17134. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  17135. .alen = 24,
  17136. .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
  17137. "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
  17138. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  17139. "\x10\x11\x12\x13\x14\x15\x16\x17"
  17140. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  17141. "\x20\x21\x22\x23\x24\x25\x26\x27"
  17142. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  17143. "\x30\x31\x32\x33\x34\x35\x36\x37"
  17144. "\x01\x02\x03\x04\x05\x06\x07\x08"
  17145. "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
  17146. .plen = 80,
  17147. .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
  17148. "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
  17149. "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
  17150. "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
  17151. "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
  17152. "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
  17153. "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
  17154. "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
  17155. "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
  17156. "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
  17157. "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
  17158. "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
  17159. "\x85\xe1\x59\xf7",
  17160. .clen = 80 + 20,
  17161. }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
  17162. #ifdef __LITTLE_ENDIAN
  17163. .key = "\x08\x00" /* rta length */
  17164. "\x01\x00" /* rta type */
  17165. #else
  17166. .key = "\x00\x08" /* rta length */
  17167. "\x00\x01" /* rta type */
  17168. #endif
  17169. "\x00\x00\x00\x18" /* enc key length */
  17170. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17171. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17172. "\x22\x33\x44\x55"
  17173. "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  17174. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  17175. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  17176. .klen = 8 + 20 + 24,
  17177. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17178. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  17179. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17180. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  17181. .alen = 16,
  17182. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  17183. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  17184. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  17185. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  17186. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  17187. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  17188. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  17189. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  17190. .plen = 64,
  17191. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  17192. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  17193. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  17194. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  17195. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  17196. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  17197. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  17198. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
  17199. "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
  17200. "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
  17201. "\x47\x4c\xfc\x36",
  17202. .clen = 64 + 20,
  17203. }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
  17204. #ifdef __LITTLE_ENDIAN
  17205. .key = "\x08\x00" /* rta length */
  17206. "\x01\x00" /* rta type */
  17207. #else
  17208. .key = "\x00\x08" /* rta length */
  17209. "\x00\x01" /* rta type */
  17210. #endif
  17211. "\x00\x00\x00\x20" /* enc key length */
  17212. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17213. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17214. "\x22\x33\x44\x55"
  17215. "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  17216. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  17217. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  17218. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  17219. .klen = 8 + 20 + 32,
  17220. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17221. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  17222. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17223. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  17224. .alen = 16,
  17225. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  17226. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  17227. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  17228. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  17229. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  17230. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  17231. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  17232. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  17233. .plen = 64,
  17234. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  17235. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  17236. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  17237. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  17238. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  17239. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  17240. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  17241. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
  17242. "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
  17243. "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
  17244. "\x51\xee\xd6\x4e",
  17245. .clen = 64 + 20,
  17246. },
  17247. };
  17248. static const struct aead_testvec hmac_sha1_ecb_cipher_null_tv_temp[] = {
  17249. { /* Input data from RFC 2410 Case 1 */
  17250. #ifdef __LITTLE_ENDIAN
  17251. .key = "\x08\x00" /* rta length */
  17252. "\x01\x00" /* rta type */
  17253. #else
  17254. .key = "\x00\x08" /* rta length */
  17255. "\x00\x01" /* rta type */
  17256. #endif
  17257. "\x00\x00\x00\x00" /* enc key length */
  17258. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17259. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17260. "\x00\x00\x00\x00",
  17261. .klen = 8 + 20 + 0,
  17262. .iv = "",
  17263. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  17264. .plen = 8,
  17265. .ctext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  17266. "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
  17267. "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
  17268. "\x8c\x5e\xe4\x08",
  17269. .clen = 8 + 20,
  17270. }, { /* Input data from RFC 2410 Case 2 */
  17271. #ifdef __LITTLE_ENDIAN
  17272. .key = "\x08\x00" /* rta length */
  17273. "\x01\x00" /* rta type */
  17274. #else
  17275. .key = "\x00\x08" /* rta length */
  17276. "\x00\x01" /* rta type */
  17277. #endif
  17278. "\x00\x00\x00\x00" /* enc key length */
  17279. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17280. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17281. "\x00\x00\x00\x00",
  17282. .klen = 8 + 20 + 0,
  17283. .iv = "",
  17284. .ptext = "Network Security People Have A Strange Sense Of Humor",
  17285. .plen = 53,
  17286. .ctext = "Network Security People Have A Strange Sense Of Humor"
  17287. "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
  17288. "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
  17289. "\x91\x56\xe4\xd6",
  17290. .clen = 53 + 20,
  17291. },
  17292. };
  17293. static const struct aead_testvec hmac_sha256_aes_cbc_tv_temp[] = {
  17294. { /* RFC 3602 Case 1 */
  17295. #ifdef __LITTLE_ENDIAN
  17296. .key = "\x08\x00" /* rta length */
  17297. "\x01\x00" /* rta type */
  17298. #else
  17299. .key = "\x00\x08" /* rta length */
  17300. "\x00\x01" /* rta type */
  17301. #endif
  17302. "\x00\x00\x00\x10" /* enc key length */
  17303. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17304. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17305. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17306. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17307. "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  17308. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  17309. .klen = 8 + 32 + 16,
  17310. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  17311. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  17312. .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  17313. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  17314. .alen = 16,
  17315. .ptext = "Single block msg",
  17316. .plen = 16,
  17317. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  17318. "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
  17319. "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
  17320. "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
  17321. "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
  17322. "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
  17323. .clen = 16 + 32,
  17324. }, { /* RFC 3602 Case 2 */
  17325. #ifdef __LITTLE_ENDIAN
  17326. .key = "\x08\x00" /* rta length */
  17327. "\x01\x00" /* rta type */
  17328. #else
  17329. .key = "\x00\x08" /* rta length */
  17330. "\x00\x01" /* rta type */
  17331. #endif
  17332. "\x00\x00\x00\x10" /* enc key length */
  17333. "\x20\x21\x22\x23\x24\x25\x26\x27"
  17334. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  17335. "\x30\x31\x32\x33\x34\x35\x36\x37"
  17336. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  17337. "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  17338. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  17339. .klen = 8 + 32 + 16,
  17340. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  17341. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  17342. .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  17343. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  17344. .alen = 16,
  17345. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17346. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  17347. "\x10\x11\x12\x13\x14\x15\x16\x17"
  17348. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  17349. .plen = 32,
  17350. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  17351. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  17352. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  17353. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
  17354. "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
  17355. "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
  17356. "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
  17357. "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
  17358. .clen = 32 + 32,
  17359. }, { /* RFC 3602 Case 3 */
  17360. #ifdef __LITTLE_ENDIAN
  17361. .key = "\x08\x00" /* rta length */
  17362. "\x01\x00" /* rta type */
  17363. #else
  17364. .key = "\x00\x08" /* rta length */
  17365. "\x00\x01" /* rta type */
  17366. #endif
  17367. "\x00\x00\x00\x10" /* enc key length */
  17368. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17369. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17370. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17371. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17372. "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
  17373. "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
  17374. .klen = 8 + 32 + 16,
  17375. .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  17376. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  17377. .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  17378. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  17379. .alen = 16,
  17380. .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
  17381. .plen = 48,
  17382. .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
  17383. "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
  17384. "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
  17385. "\x50\x69\x39\x27\x67\x72\xf8\xd5"
  17386. "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
  17387. "\x85\x79\x69\x5d\x83\xba\x26\x84"
  17388. "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
  17389. "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
  17390. "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
  17391. "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
  17392. .clen = 48 + 32,
  17393. }, { /* RFC 3602 Case 4 */
  17394. #ifdef __LITTLE_ENDIAN
  17395. .key = "\x08\x00" /* rta length */
  17396. "\x01\x00" /* rta type */
  17397. #else
  17398. .key = "\x00\x08" /* rta length */
  17399. "\x00\x01" /* rta type */
  17400. #endif
  17401. "\x00\x00\x00\x10" /* enc key length */
  17402. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17403. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17404. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17405. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17406. "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
  17407. "\xbc\x46\x90\x3d\xba\x29\x03\x49",
  17408. .klen = 8 + 32 + 16,
  17409. .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  17410. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  17411. .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  17412. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  17413. .alen = 16,
  17414. .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  17415. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  17416. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  17417. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  17418. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  17419. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  17420. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  17421. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
  17422. .plen = 64,
  17423. .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
  17424. "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
  17425. "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
  17426. "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
  17427. "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
  17428. "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
  17429. "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
  17430. "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
  17431. "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
  17432. "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
  17433. "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
  17434. "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
  17435. .clen = 64 + 32,
  17436. }, { /* RFC 3602 Case 5 */
  17437. #ifdef __LITTLE_ENDIAN
  17438. .key = "\x08\x00" /* rta length */
  17439. "\x01\x00" /* rta type */
  17440. #else
  17441. .key = "\x00\x08" /* rta length */
  17442. "\x00\x01" /* rta type */
  17443. #endif
  17444. "\x00\x00\x00\x10" /* enc key length */
  17445. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17446. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17447. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17448. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17449. "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
  17450. "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
  17451. .klen = 8 + 32 + 16,
  17452. .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  17453. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  17454. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17455. "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  17456. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  17457. .alen = 24,
  17458. .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
  17459. "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
  17460. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  17461. "\x10\x11\x12\x13\x14\x15\x16\x17"
  17462. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  17463. "\x20\x21\x22\x23\x24\x25\x26\x27"
  17464. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  17465. "\x30\x31\x32\x33\x34\x35\x36\x37"
  17466. "\x01\x02\x03\x04\x05\x06\x07\x08"
  17467. "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
  17468. .plen = 80,
  17469. .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
  17470. "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
  17471. "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
  17472. "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
  17473. "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
  17474. "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
  17475. "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
  17476. "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
  17477. "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
  17478. "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
  17479. "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
  17480. "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
  17481. "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
  17482. "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
  17483. .clen = 80 + 32,
  17484. }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
  17485. #ifdef __LITTLE_ENDIAN
  17486. .key = "\x08\x00" /* rta length */
  17487. "\x01\x00" /* rta type */
  17488. #else
  17489. .key = "\x00\x08" /* rta length */
  17490. "\x00\x01" /* rta type */
  17491. #endif
  17492. "\x00\x00\x00\x18" /* enc key length */
  17493. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17494. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17495. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17496. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17497. "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  17498. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  17499. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  17500. .klen = 8 + 32 + 24,
  17501. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17502. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  17503. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17504. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  17505. .alen = 16,
  17506. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  17507. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  17508. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  17509. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  17510. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  17511. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  17512. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  17513. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  17514. .plen = 64,
  17515. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  17516. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  17517. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  17518. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  17519. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  17520. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  17521. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  17522. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
  17523. "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
  17524. "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
  17525. "\xca\x71\x85\x93\xf7\x85\x55\x8b"
  17526. "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
  17527. .clen = 64 + 32,
  17528. }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
  17529. #ifdef __LITTLE_ENDIAN
  17530. .key = "\x08\x00" /* rta length */
  17531. "\x01\x00" /* rta type */
  17532. #else
  17533. .key = "\x00\x08" /* rta length */
  17534. "\x00\x01" /* rta type */
  17535. #endif
  17536. "\x00\x00\x00\x20" /* enc key length */
  17537. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17538. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17539. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17540. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17541. "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  17542. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  17543. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  17544. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  17545. .klen = 8 + 32 + 32,
  17546. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17547. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  17548. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17549. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  17550. .alen = 16,
  17551. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  17552. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  17553. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  17554. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  17555. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  17556. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  17557. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  17558. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  17559. .plen = 64,
  17560. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  17561. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  17562. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  17563. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  17564. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  17565. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  17566. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  17567. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
  17568. "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
  17569. "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
  17570. "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
  17571. "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
  17572. .clen = 64 + 32,
  17573. },
  17574. };
  17575. static const struct aead_testvec hmac_sha512_aes_cbc_tv_temp[] = {
  17576. { /* RFC 3602 Case 1 */
  17577. #ifdef __LITTLE_ENDIAN
  17578. .key = "\x08\x00" /* rta length */
  17579. "\x01\x00" /* rta type */
  17580. #else
  17581. .key = "\x00\x08" /* rta length */
  17582. "\x00\x01" /* rta type */
  17583. #endif
  17584. "\x00\x00\x00\x10" /* enc key length */
  17585. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17586. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17587. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17588. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17589. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17590. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17591. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17592. "\x00\x00\x00\x00\x00\x00\x00\x00"
  17593. "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  17594. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  17595. .klen = 8 + 64 + 16,
  17596. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  17597. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  17598. .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  17599. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  17600. .alen = 16,
  17601. .ptext = "Single block msg",
  17602. .plen = 16,
  17603. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  17604. "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
  17605. "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
  17606. "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
  17607. "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
  17608. "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
  17609. "\xec\xbd\x50\x08\x07\x64\x1a\x49"
  17610. "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
  17611. "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
  17612. "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
  17613. .clen = 16 + 64,
  17614. }, { /* RFC 3602 Case 2 */
  17615. #ifdef __LITTLE_ENDIAN
  17616. .key = "\x08\x00" /* rta length */
  17617. "\x01\x00" /* rta type */
  17618. #else
  17619. .key = "\x00\x08" /* rta length */
  17620. "\x00\x01" /* rta type */
  17621. #endif
  17622. "\x00\x00\x00\x10" /* enc key length */
  17623. "\x20\x21\x22\x23\x24\x25\x26\x27"
  17624. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  17625. "\x30\x31\x32\x33\x34\x35\x36\x37"
  17626. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  17627. "\x40\x41\x42\x43\x44\x45\x46\x47"
  17628. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  17629. "\x50\x51\x52\x53\x54\x55\x56\x57"
  17630. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  17631. "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  17632. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  17633. .klen = 8 + 64 + 16,
  17634. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  17635. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  17636. .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  17637. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  17638. .alen = 16,
  17639. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17640. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  17641. "\x10\x11\x12\x13\x14\x15\x16\x17"
  17642. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  17643. .plen = 32,
  17644. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  17645. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  17646. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  17647. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
  17648. "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
  17649. "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
  17650. "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
  17651. "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
  17652. "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
  17653. "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
  17654. "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
  17655. "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
  17656. .clen = 32 + 64,
  17657. }, { /* RFC 3602 Case 3 */
  17658. #ifdef __LITTLE_ENDIAN
  17659. .key = "\x08\x00" /* rta length */
  17660. "\x01\x00" /* rta type */
  17661. #else
  17662. .key = "\x00\x08" /* rta length */
  17663. "\x00\x01" /* rta type */
  17664. #endif
  17665. "\x00\x00\x00\x10" /* enc key length */
  17666. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17667. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17668. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17669. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17670. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  17671. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  17672. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  17673. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  17674. "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
  17675. "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
  17676. .klen = 8 + 64 + 16,
  17677. .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  17678. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  17679. .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  17680. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  17681. .alen = 16,
  17682. .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
  17683. .plen = 48,
  17684. .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
  17685. "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
  17686. "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
  17687. "\x50\x69\x39\x27\x67\x72\xf8\xd5"
  17688. "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
  17689. "\x85\x79\x69\x5d\x83\xba\x26\x84"
  17690. "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
  17691. "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
  17692. "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
  17693. "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
  17694. "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
  17695. "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
  17696. "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
  17697. "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
  17698. .clen = 48 + 64,
  17699. }, { /* RFC 3602 Case 4 */
  17700. #ifdef __LITTLE_ENDIAN
  17701. .key = "\x08\x00" /* rta length */
  17702. "\x01\x00" /* rta type */
  17703. #else
  17704. .key = "\x00\x08" /* rta length */
  17705. "\x00\x01" /* rta type */
  17706. #endif
  17707. "\x00\x00\x00\x10" /* enc key length */
  17708. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17709. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17710. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17711. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17712. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  17713. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  17714. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  17715. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  17716. "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
  17717. "\xbc\x46\x90\x3d\xba\x29\x03\x49",
  17718. .klen = 8 + 64 + 16,
  17719. .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  17720. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  17721. .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  17722. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  17723. .alen = 16,
  17724. .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  17725. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  17726. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  17727. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  17728. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  17729. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  17730. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  17731. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
  17732. .plen = 64,
  17733. .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
  17734. "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
  17735. "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
  17736. "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
  17737. "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
  17738. "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
  17739. "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
  17740. "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
  17741. "\x82\xcd\x42\x28\x21\x20\x15\xcc"
  17742. "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
  17743. "\x61\x32\x82\x85\xcf\x27\xed\xb4"
  17744. "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
  17745. "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
  17746. "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
  17747. "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
  17748. "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
  17749. .clen = 64 + 64,
  17750. }, { /* RFC 3602 Case 5 */
  17751. #ifdef __LITTLE_ENDIAN
  17752. .key = "\x08\x00" /* rta length */
  17753. "\x01\x00" /* rta type */
  17754. #else
  17755. .key = "\x00\x08" /* rta length */
  17756. "\x00\x01" /* rta type */
  17757. #endif
  17758. "\x00\x00\x00\x10" /* enc key length */
  17759. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17760. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17761. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17762. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17763. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  17764. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  17765. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  17766. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  17767. "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
  17768. "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
  17769. .klen = 8 + 64 + 16,
  17770. .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  17771. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  17772. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17773. "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  17774. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  17775. .alen = 24,
  17776. .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
  17777. "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
  17778. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  17779. "\x10\x11\x12\x13\x14\x15\x16\x17"
  17780. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  17781. "\x20\x21\x22\x23\x24\x25\x26\x27"
  17782. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  17783. "\x30\x31\x32\x33\x34\x35\x36\x37"
  17784. "\x01\x02\x03\x04\x05\x06\x07\x08"
  17785. "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
  17786. .plen = 80,
  17787. .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
  17788. "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
  17789. "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
  17790. "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
  17791. "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
  17792. "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
  17793. "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
  17794. "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
  17795. "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
  17796. "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
  17797. "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
  17798. "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
  17799. "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
  17800. "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
  17801. "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
  17802. "\x92\x26\xc1\x76\x20\x11\xeb\xba"
  17803. "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
  17804. "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
  17805. .clen = 80 + 64,
  17806. }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
  17807. #ifdef __LITTLE_ENDIAN
  17808. .key = "\x08\x00" /* rta length */
  17809. "\x01\x00" /* rta type */
  17810. #else
  17811. .key = "\x00\x08" /* rta length */
  17812. "\x00\x01" /* rta type */
  17813. #endif
  17814. "\x00\x00\x00\x18" /* enc key length */
  17815. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17816. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17817. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17818. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17819. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  17820. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  17821. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  17822. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  17823. "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  17824. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  17825. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  17826. .klen = 8 + 64 + 24,
  17827. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17828. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  17829. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17830. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  17831. .alen = 16,
  17832. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  17833. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  17834. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  17835. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  17836. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  17837. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  17838. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  17839. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  17840. .plen = 64,
  17841. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  17842. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  17843. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  17844. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  17845. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  17846. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  17847. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  17848. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
  17849. "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
  17850. "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
  17851. "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
  17852. "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
  17853. "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
  17854. "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
  17855. "\x8d\x43\x98\xa7\x94\x16\x07\x02"
  17856. "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
  17857. .clen = 64 + 64,
  17858. }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
  17859. #ifdef __LITTLE_ENDIAN
  17860. .key = "\x08\x00" /* rta length */
  17861. "\x01\x00" /* rta type */
  17862. #else
  17863. .key = "\x00\x08" /* rta length */
  17864. "\x00\x01" /* rta type */
  17865. #endif
  17866. "\x00\x00\x00\x20" /* enc key length */
  17867. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17868. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17869. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17870. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  17871. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  17872. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  17873. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  17874. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  17875. "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  17876. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  17877. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  17878. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  17879. .klen = 8 + 64 + 32,
  17880. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17881. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  17882. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  17883. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  17884. .alen = 16,
  17885. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  17886. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  17887. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  17888. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  17889. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  17890. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  17891. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  17892. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  17893. .plen = 64,
  17894. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  17895. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  17896. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  17897. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  17898. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  17899. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  17900. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  17901. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
  17902. "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
  17903. "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
  17904. "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
  17905. "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
  17906. "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
  17907. "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
  17908. "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
  17909. "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
  17910. .clen = 64 + 64,
  17911. },
  17912. };
  17913. static const struct aead_testvec hmac_sha1_des_cbc_tv_temp[] = {
  17914. { /*Generated with cryptopp*/
  17915. #ifdef __LITTLE_ENDIAN
  17916. .key = "\x08\x00" /* rta length */
  17917. "\x01\x00" /* rta type */
  17918. #else
  17919. .key = "\x00\x08" /* rta length */
  17920. "\x00\x01" /* rta type */
  17921. #endif
  17922. "\x00\x00\x00\x08" /* enc key length */
  17923. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17924. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17925. "\x22\x33\x44\x55"
  17926. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  17927. .klen = 8 + 20 + 8,
  17928. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17929. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17930. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17931. .alen = 16,
  17932. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  17933. "\x53\x20\x63\x65\x65\x72\x73\x74"
  17934. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  17935. "\x20\x79\x65\x53\x72\x63\x74\x65"
  17936. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  17937. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  17938. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  17939. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  17940. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  17941. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  17942. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  17943. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  17944. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  17945. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  17946. "\x63\x65\x65\x72\x73\x74\x54\x20"
  17947. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  17948. .plen = 128,
  17949. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  17950. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  17951. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  17952. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  17953. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  17954. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  17955. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  17956. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  17957. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  17958. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  17959. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  17960. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  17961. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  17962. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  17963. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  17964. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  17965. "\x95\x16\x20\x09\xf5\x95\x19\xfd"
  17966. "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
  17967. "\x5c\x44\xa9\x37",
  17968. .clen = 128 + 20,
  17969. },
  17970. };
  17971. static const struct aead_testvec hmac_sha224_des_cbc_tv_temp[] = {
  17972. { /*Generated with cryptopp*/
  17973. #ifdef __LITTLE_ENDIAN
  17974. .key = "\x08\x00" /* rta length */
  17975. "\x01\x00" /* rta type */
  17976. #else
  17977. .key = "\x00\x08" /* rta length */
  17978. "\x00\x01" /* rta type */
  17979. #endif
  17980. "\x00\x00\x00\x08" /* enc key length */
  17981. "\x11\x22\x33\x44\x55\x66\x77\x88"
  17982. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  17983. "\x22\x33\x44\x55\x66\x77\x88\x99"
  17984. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  17985. .klen = 8 + 24 + 8,
  17986. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17987. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  17988. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  17989. .alen = 16,
  17990. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  17991. "\x53\x20\x63\x65\x65\x72\x73\x74"
  17992. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  17993. "\x20\x79\x65\x53\x72\x63\x74\x65"
  17994. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  17995. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  17996. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  17997. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  17998. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  17999. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  18000. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  18001. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  18002. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  18003. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  18004. "\x63\x65\x65\x72\x73\x74\x54\x20"
  18005. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  18006. .plen = 128,
  18007. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  18008. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  18009. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  18010. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  18011. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  18012. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  18013. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  18014. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  18015. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  18016. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  18017. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  18018. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  18019. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  18020. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  18021. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  18022. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  18023. "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
  18024. "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
  18025. "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
  18026. .clen = 128 + 24,
  18027. },
  18028. };
  18029. static const struct aead_testvec hmac_sha256_des_cbc_tv_temp[] = {
  18030. { /*Generated with cryptopp*/
  18031. #ifdef __LITTLE_ENDIAN
  18032. .key = "\x08\x00" /* rta length */
  18033. "\x01\x00" /* rta type */
  18034. #else
  18035. .key = "\x00\x08" /* rta length */
  18036. "\x00\x01" /* rta type */
  18037. #endif
  18038. "\x00\x00\x00\x08" /* enc key length */
  18039. "\x11\x22\x33\x44\x55\x66\x77\x88"
  18040. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  18041. "\x22\x33\x44\x55\x66\x77\x88\x99"
  18042. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  18043. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  18044. .klen = 8 + 32 + 8,
  18045. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18046. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  18047. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18048. .alen = 16,
  18049. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  18050. "\x53\x20\x63\x65\x65\x72\x73\x74"
  18051. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  18052. "\x20\x79\x65\x53\x72\x63\x74\x65"
  18053. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  18054. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  18055. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  18056. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  18057. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  18058. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  18059. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  18060. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  18061. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  18062. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  18063. "\x63\x65\x65\x72\x73\x74\x54\x20"
  18064. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  18065. .plen = 128,
  18066. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  18067. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  18068. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  18069. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  18070. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  18071. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  18072. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  18073. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  18074. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  18075. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  18076. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  18077. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  18078. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  18079. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  18080. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  18081. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  18082. "\xc6\x58\xa1\x60\x70\x91\x39\x36"
  18083. "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
  18084. "\xde\x63\xde\x76\x52\xde\x9f\xba"
  18085. "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
  18086. .clen = 128 + 32,
  18087. },
  18088. };
  18089. static const struct aead_testvec hmac_sha384_des_cbc_tv_temp[] = {
  18090. { /*Generated with cryptopp*/
  18091. #ifdef __LITTLE_ENDIAN
  18092. .key = "\x08\x00" /* rta length */
  18093. "\x01\x00" /* rta type */
  18094. #else
  18095. .key = "\x00\x08" /* rta length */
  18096. "\x00\x01" /* rta type */
  18097. #endif
  18098. "\x00\x00\x00\x08" /* enc key length */
  18099. "\x11\x22\x33\x44\x55\x66\x77\x88"
  18100. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  18101. "\x22\x33\x44\x55\x66\x77\x88\x99"
  18102. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  18103. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  18104. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  18105. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  18106. .klen = 8 + 48 + 8,
  18107. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18108. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  18109. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18110. .alen = 16,
  18111. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  18112. "\x53\x20\x63\x65\x65\x72\x73\x74"
  18113. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  18114. "\x20\x79\x65\x53\x72\x63\x74\x65"
  18115. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  18116. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  18117. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  18118. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  18119. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  18120. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  18121. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  18122. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  18123. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  18124. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  18125. "\x63\x65\x65\x72\x73\x74\x54\x20"
  18126. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  18127. .plen = 128,
  18128. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  18129. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  18130. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  18131. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  18132. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  18133. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  18134. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  18135. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  18136. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  18137. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  18138. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  18139. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  18140. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  18141. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  18142. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  18143. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  18144. "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
  18145. "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
  18146. "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
  18147. "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
  18148. "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
  18149. "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
  18150. .clen = 128 + 48,
  18151. },
  18152. };
  18153. static const struct aead_testvec hmac_sha512_des_cbc_tv_temp[] = {
  18154. { /*Generated with cryptopp*/
  18155. #ifdef __LITTLE_ENDIAN
  18156. .key = "\x08\x00" /* rta length */
  18157. "\x01\x00" /* rta type */
  18158. #else
  18159. .key = "\x00\x08" /* rta length */
  18160. "\x00\x01" /* rta type */
  18161. #endif
  18162. "\x00\x00\x00\x08" /* enc key length */
  18163. "\x11\x22\x33\x44\x55\x66\x77\x88"
  18164. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  18165. "\x22\x33\x44\x55\x66\x77\x88\x99"
  18166. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  18167. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  18168. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  18169. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  18170. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  18171. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
  18172. .klen = 8 + 64 + 8,
  18173. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18174. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  18175. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18176. .alen = 16,
  18177. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  18178. "\x53\x20\x63\x65\x65\x72\x73\x74"
  18179. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  18180. "\x20\x79\x65\x53\x72\x63\x74\x65"
  18181. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  18182. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  18183. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  18184. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  18185. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  18186. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  18187. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  18188. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  18189. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  18190. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  18191. "\x63\x65\x65\x72\x73\x74\x54\x20"
  18192. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  18193. .plen = 128,
  18194. .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
  18195. "\x54\x31\x85\x37\xed\x6b\x01\x8d"
  18196. "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
  18197. "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
  18198. "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
  18199. "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
  18200. "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
  18201. "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
  18202. "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
  18203. "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
  18204. "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
  18205. "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
  18206. "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
  18207. "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
  18208. "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
  18209. "\x53\xba\xe1\x76\xe3\x82\x07\x86"
  18210. "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
  18211. "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
  18212. "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
  18213. "\x58\x83\xda\x67\xfb\x21\x24\xa2"
  18214. "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
  18215. "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
  18216. "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
  18217. "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
  18218. .clen = 128 + 64,
  18219. },
  18220. };
  18221. static const struct aead_testvec hmac_sha1_des3_ede_cbc_tv_temp[] = {
  18222. { /*Generated with cryptopp*/
  18223. #ifdef __LITTLE_ENDIAN
  18224. .key = "\x08\x00" /* rta length */
  18225. "\x01\x00" /* rta type */
  18226. #else
  18227. .key = "\x00\x08" /* rta length */
  18228. "\x00\x01" /* rta type */
  18229. #endif
  18230. "\x00\x00\x00\x18" /* enc key length */
  18231. "\x11\x22\x33\x44\x55\x66\x77\x88"
  18232. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  18233. "\x22\x33\x44\x55"
  18234. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  18235. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  18236. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  18237. .klen = 8 + 20 + 24,
  18238. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18239. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  18240. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18241. .alen = 16,
  18242. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  18243. "\x53\x20\x63\x65\x65\x72\x73\x74"
  18244. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  18245. "\x20\x79\x65\x53\x72\x63\x74\x65"
  18246. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  18247. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  18248. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  18249. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  18250. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  18251. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  18252. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  18253. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  18254. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  18255. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  18256. "\x63\x65\x65\x72\x73\x74\x54\x20"
  18257. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  18258. .plen = 128,
  18259. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  18260. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  18261. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  18262. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  18263. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  18264. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  18265. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  18266. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  18267. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  18268. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  18269. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  18270. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  18271. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  18272. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  18273. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  18274. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  18275. "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
  18276. "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
  18277. "\xd1\x60\x91\xb3",
  18278. .clen = 128 + 20,
  18279. },
  18280. };
  18281. static const struct aead_testvec hmac_sha224_des3_ede_cbc_tv_temp[] = {
  18282. { /*Generated with cryptopp*/
  18283. #ifdef __LITTLE_ENDIAN
  18284. .key = "\x08\x00" /* rta length */
  18285. "\x01\x00" /* rta type */
  18286. #else
  18287. .key = "\x00\x08" /* rta length */
  18288. "\x00\x01" /* rta type */
  18289. #endif
  18290. "\x00\x00\x00\x18" /* enc key length */
  18291. "\x11\x22\x33\x44\x55\x66\x77\x88"
  18292. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  18293. "\x22\x33\x44\x55\x66\x77\x88\x99"
  18294. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  18295. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  18296. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  18297. .klen = 8 + 24 + 24,
  18298. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18299. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  18300. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18301. .alen = 16,
  18302. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  18303. "\x53\x20\x63\x65\x65\x72\x73\x74"
  18304. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  18305. "\x20\x79\x65\x53\x72\x63\x74\x65"
  18306. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  18307. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  18308. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  18309. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  18310. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  18311. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  18312. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  18313. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  18314. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  18315. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  18316. "\x63\x65\x65\x72\x73\x74\x54\x20"
  18317. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  18318. .plen = 128,
  18319. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  18320. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  18321. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  18322. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  18323. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  18324. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  18325. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  18326. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  18327. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  18328. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  18329. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  18330. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  18331. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  18332. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  18333. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  18334. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  18335. "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
  18336. "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
  18337. "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
  18338. .clen = 128 + 24,
  18339. },
  18340. };
  18341. static const struct aead_testvec hmac_sha256_des3_ede_cbc_tv_temp[] = {
  18342. { /*Generated with cryptopp*/
  18343. #ifdef __LITTLE_ENDIAN
  18344. .key = "\x08\x00" /* rta length */
  18345. "\x01\x00" /* rta type */
  18346. #else
  18347. .key = "\x00\x08" /* rta length */
  18348. "\x00\x01" /* rta type */
  18349. #endif
  18350. "\x00\x00\x00\x18" /* enc key length */
  18351. "\x11\x22\x33\x44\x55\x66\x77\x88"
  18352. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  18353. "\x22\x33\x44\x55\x66\x77\x88\x99"
  18354. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  18355. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  18356. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  18357. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  18358. .klen = 8 + 32 + 24,
  18359. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18360. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  18361. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18362. .alen = 16,
  18363. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  18364. "\x53\x20\x63\x65\x65\x72\x73\x74"
  18365. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  18366. "\x20\x79\x65\x53\x72\x63\x74\x65"
  18367. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  18368. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  18369. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  18370. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  18371. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  18372. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  18373. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  18374. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  18375. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  18376. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  18377. "\x63\x65\x65\x72\x73\x74\x54\x20"
  18378. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  18379. .plen = 128,
  18380. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  18381. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  18382. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  18383. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  18384. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  18385. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  18386. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  18387. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  18388. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  18389. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  18390. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  18391. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  18392. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  18393. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  18394. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  18395. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  18396. "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
  18397. "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
  18398. "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
  18399. "\xca\x43\x95\xdf\x80\x61\x81\xa9",
  18400. .clen = 128 + 32,
  18401. },
  18402. };
  18403. static const struct aead_testvec hmac_sha384_des3_ede_cbc_tv_temp[] = {
  18404. { /*Generated with cryptopp*/
  18405. #ifdef __LITTLE_ENDIAN
  18406. .key = "\x08\x00" /* rta length */
  18407. "\x01\x00" /* rta type */
  18408. #else
  18409. .key = "\x00\x08" /* rta length */
  18410. "\x00\x01" /* rta type */
  18411. #endif
  18412. "\x00\x00\x00\x18" /* enc key length */
  18413. "\x11\x22\x33\x44\x55\x66\x77\x88"
  18414. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  18415. "\x22\x33\x44\x55\x66\x77\x88\x99"
  18416. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  18417. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  18418. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  18419. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  18420. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  18421. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  18422. .klen = 8 + 48 + 24,
  18423. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18424. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  18425. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18426. .alen = 16,
  18427. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  18428. "\x53\x20\x63\x65\x65\x72\x73\x74"
  18429. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  18430. "\x20\x79\x65\x53\x72\x63\x74\x65"
  18431. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  18432. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  18433. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  18434. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  18435. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  18436. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  18437. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  18438. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  18439. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  18440. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  18441. "\x63\x65\x65\x72\x73\x74\x54\x20"
  18442. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  18443. .plen = 128,
  18444. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  18445. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  18446. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  18447. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  18448. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  18449. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  18450. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  18451. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  18452. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  18453. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  18454. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  18455. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  18456. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  18457. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  18458. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  18459. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  18460. "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
  18461. "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
  18462. "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
  18463. "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
  18464. "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
  18465. "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
  18466. .clen = 128 + 48,
  18467. },
  18468. };
  18469. static const struct aead_testvec hmac_sha512_des3_ede_cbc_tv_temp[] = {
  18470. { /*Generated with cryptopp*/
  18471. #ifdef __LITTLE_ENDIAN
  18472. .key = "\x08\x00" /* rta length */
  18473. "\x01\x00" /* rta type */
  18474. #else
  18475. .key = "\x00\x08" /* rta length */
  18476. "\x00\x01" /* rta type */
  18477. #endif
  18478. "\x00\x00\x00\x18" /* enc key length */
  18479. "\x11\x22\x33\x44\x55\x66\x77\x88"
  18480. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  18481. "\x22\x33\x44\x55\x66\x77\x88\x99"
  18482. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  18483. "\x33\x44\x55\x66\x77\x88\x99\xaa"
  18484. "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
  18485. "\x44\x55\x66\x77\x88\x99\xaa\xbb"
  18486. "\xcc\xdd\xee\xff\x11\x22\x33\x44"
  18487. "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
  18488. "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
  18489. "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
  18490. .klen = 8 + 64 + 24,
  18491. .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18492. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  18493. "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
  18494. .alen = 16,
  18495. .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
  18496. "\x53\x20\x63\x65\x65\x72\x73\x74"
  18497. "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
  18498. "\x20\x79\x65\x53\x72\x63\x74\x65"
  18499. "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
  18500. "\x79\x6e\x53\x20\x63\x65\x65\x72"
  18501. "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
  18502. "\x6e\x61\x20\x79\x65\x53\x72\x63"
  18503. "\x74\x65\x20\x73\x6f\x54\x20\x6f"
  18504. "\x61\x4d\x79\x6e\x53\x20\x63\x65"
  18505. "\x65\x72\x73\x74\x54\x20\x6f\x6f"
  18506. "\x4d\x20\x6e\x61\x20\x79\x65\x53"
  18507. "\x72\x63\x74\x65\x20\x73\x6f\x54"
  18508. "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
  18509. "\x63\x65\x65\x72\x73\x74\x54\x20"
  18510. "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
  18511. .plen = 128,
  18512. .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
  18513. "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
  18514. "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
  18515. "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
  18516. "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
  18517. "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
  18518. "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
  18519. "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
  18520. "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
  18521. "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
  18522. "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
  18523. "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
  18524. "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
  18525. "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
  18526. "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
  18527. "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
  18528. "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
  18529. "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
  18530. "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
  18531. "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
  18532. "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
  18533. "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
  18534. "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
  18535. "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
  18536. .clen = 128 + 64,
  18537. },
  18538. };
  18539. static const struct cipher_testvec aes_lrw_tv_template[] = {
  18540. /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
  18541. { /* LRW-32-AES 1 */
  18542. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  18543. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  18544. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  18545. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  18546. .klen = 32,
  18547. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18548. "\x00\x00\x00\x00\x00\x00\x00\x01",
  18549. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  18550. "\x38\x39\x41\x42\x43\x44\x45\x46",
  18551. .ctext = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
  18552. "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
  18553. .len = 16,
  18554. }, { /* LRW-32-AES 2 */
  18555. .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
  18556. "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
  18557. "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
  18558. "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
  18559. .klen = 32,
  18560. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18561. "\x00\x00\x00\x00\x00\x00\x00\x02",
  18562. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  18563. "\x38\x39\x41\x42\x43\x44\x45\x46",
  18564. .ctext = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
  18565. "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
  18566. .len = 16,
  18567. }, { /* LRW-32-AES 3 */
  18568. .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
  18569. "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
  18570. "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
  18571. "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
  18572. .klen = 32,
  18573. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18574. "\x00\x00\x00\x02\x00\x00\x00\x00",
  18575. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  18576. "\x38\x39\x41\x42\x43\x44\x45\x46",
  18577. .ctext = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
  18578. "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
  18579. .len = 16,
  18580. }, { /* LRW-32-AES 4 */
  18581. .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
  18582. "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
  18583. "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
  18584. "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
  18585. "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
  18586. .klen = 40,
  18587. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18588. "\x00\x00\x00\x00\x00\x00\x00\x01",
  18589. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  18590. "\x38\x39\x41\x42\x43\x44\x45\x46",
  18591. .ctext = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
  18592. "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
  18593. .len = 16,
  18594. }, { /* LRW-32-AES 5 */
  18595. .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
  18596. "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
  18597. "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
  18598. "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
  18599. "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
  18600. .klen = 40,
  18601. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18602. "\x00\x00\x00\x02\x00\x00\x00\x00",
  18603. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  18604. "\x38\x39\x41\x42\x43\x44\x45\x46",
  18605. .ctext = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
  18606. "\xc8\x60\x48\x02\x87\xe3\x34\x06",
  18607. .len = 16,
  18608. }, { /* LRW-32-AES 6 */
  18609. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  18610. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  18611. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  18612. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  18613. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  18614. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  18615. .klen = 48,
  18616. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18617. "\x00\x00\x00\x00\x00\x00\x00\x01",
  18618. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  18619. "\x38\x39\x41\x42\x43\x44\x45\x46",
  18620. .ctext = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
  18621. "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
  18622. .len = 16,
  18623. }, { /* LRW-32-AES 7 */
  18624. .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
  18625. "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
  18626. "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
  18627. "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
  18628. "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
  18629. "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
  18630. .klen = 48,
  18631. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18632. "\x00\x00\x00\x02\x00\x00\x00\x00",
  18633. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  18634. "\x38\x39\x41\x42\x43\x44\x45\x46",
  18635. .ctext = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
  18636. "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
  18637. .len = 16,
  18638. }, { /* Test counter wrap-around, modified from LRW-32-AES 1 */
  18639. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  18640. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  18641. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  18642. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  18643. .klen = 32,
  18644. .iv = "\xff\xff\xff\xff\xff\xff\xff\xff"
  18645. "\xff\xff\xff\xff\xff\xff\xff\xff",
  18646. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  18647. "\x38\x39\x41\x42\x43\x44\x45\x46"
  18648. "\x30\x31\x32\x33\x34\x35\x36\x37"
  18649. "\x38\x39\x41\x42\x43\x44\x45\x46"
  18650. "\x30\x31\x32\x33\x34\x35\x36\x37"
  18651. "\x38\x39\x41\x42\x43\x44\x45\x46",
  18652. .ctext = "\x47\x90\x50\xf6\xf4\x8d\x5c\x7f"
  18653. "\x84\xc7\x83\x95\x2d\xa2\x02\xc0"
  18654. "\xda\x7f\xa3\xc0\x88\x2a\x0a\x50"
  18655. "\xfb\xc1\x78\x03\x39\xfe\x1d\xe5"
  18656. "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
  18657. "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
  18658. .len = 48,
  18659. }, {
  18660. /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
  18661. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  18662. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  18663. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  18664. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  18665. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  18666. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  18667. .klen = 48,
  18668. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18669. "\x00\x00\x00\x00\x00\x00\x00\x01",
  18670. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  18671. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  18672. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  18673. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  18674. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  18675. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  18676. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  18677. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  18678. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  18679. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  18680. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  18681. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  18682. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  18683. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  18684. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  18685. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  18686. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  18687. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  18688. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  18689. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  18690. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  18691. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  18692. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  18693. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  18694. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  18695. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  18696. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  18697. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  18698. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  18699. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  18700. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  18701. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  18702. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  18703. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  18704. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  18705. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  18706. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  18707. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  18708. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  18709. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  18710. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  18711. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  18712. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  18713. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  18714. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  18715. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  18716. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  18717. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  18718. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  18719. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  18720. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  18721. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  18722. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  18723. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  18724. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  18725. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  18726. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  18727. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  18728. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  18729. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  18730. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  18731. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  18732. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  18733. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  18734. .ctext = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
  18735. "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
  18736. "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
  18737. "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
  18738. "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
  18739. "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
  18740. "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
  18741. "\xe8\x58\x46\x97\x39\x51\x07\xde"
  18742. "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
  18743. "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
  18744. "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
  18745. "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
  18746. "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
  18747. "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
  18748. "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
  18749. "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
  18750. "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
  18751. "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
  18752. "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
  18753. "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
  18754. "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
  18755. "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
  18756. "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
  18757. "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
  18758. "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
  18759. "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
  18760. "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
  18761. "\x41\x30\x58\xc5\x62\x74\x52\x1d"
  18762. "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
  18763. "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
  18764. "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
  18765. "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
  18766. "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
  18767. "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
  18768. "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
  18769. "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
  18770. "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
  18771. "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
  18772. "\xb8\x79\x78\x97\x94\xff\x72\x13"
  18773. "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
  18774. "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
  18775. "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
  18776. "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
  18777. "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
  18778. "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
  18779. "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
  18780. "\x1e\x86\x53\x11\x53\x94\x00\xee"
  18781. "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
  18782. "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
  18783. "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
  18784. "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
  18785. "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
  18786. "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
  18787. "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
  18788. "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
  18789. "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
  18790. "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
  18791. "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
  18792. "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
  18793. "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
  18794. "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
  18795. "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
  18796. "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
  18797. "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
  18798. .len = 512,
  18799. }
  18800. };
  18801. static const struct cipher_testvec aes_xts_tv_template[] = {
  18802. /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
  18803. { /* XTS-AES 1 */
  18804. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18805. "\x00\x00\x00\x00\x00\x00\x00\x00"
  18806. "\x00\x00\x00\x00\x00\x00\x00\x00"
  18807. "\x00\x00\x00\x00\x00\x00\x00\x00",
  18808. .klen = 32,
  18809. .fips_skip = 1,
  18810. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18811. "\x00\x00\x00\x00\x00\x00\x00\x00",
  18812. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18813. "\x00\x00\x00\x00\x00\x00\x00\x00"
  18814. "\x00\x00\x00\x00\x00\x00\x00\x00"
  18815. "\x00\x00\x00\x00\x00\x00\x00\x00",
  18816. .ctext = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
  18817. "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
  18818. "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
  18819. "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
  18820. .len = 32,
  18821. }, { /* XTS-AES 2 */
  18822. .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
  18823. "\x11\x11\x11\x11\x11\x11\x11\x11"
  18824. "\x22\x22\x22\x22\x22\x22\x22\x22"
  18825. "\x22\x22\x22\x22\x22\x22\x22\x22",
  18826. .klen = 32,
  18827. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  18828. "\x00\x00\x00\x00\x00\x00\x00\x00",
  18829. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  18830. "\x44\x44\x44\x44\x44\x44\x44\x44"
  18831. "\x44\x44\x44\x44\x44\x44\x44\x44"
  18832. "\x44\x44\x44\x44\x44\x44\x44\x44",
  18833. .ctext = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
  18834. "\x39\x33\x40\x38\xac\xef\x83\x8b"
  18835. "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
  18836. "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
  18837. .len = 32,
  18838. }, { /* XTS-AES 3 */
  18839. .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
  18840. "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
  18841. "\x22\x22\x22\x22\x22\x22\x22\x22"
  18842. "\x22\x22\x22\x22\x22\x22\x22\x22",
  18843. .klen = 32,
  18844. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  18845. "\x00\x00\x00\x00\x00\x00\x00\x00",
  18846. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  18847. "\x44\x44\x44\x44\x44\x44\x44\x44"
  18848. "\x44\x44\x44\x44\x44\x44\x44\x44"
  18849. "\x44\x44\x44\x44\x44\x44\x44\x44",
  18850. .ctext = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
  18851. "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
  18852. "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
  18853. "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
  18854. .len = 32,
  18855. }, { /* XTS-AES 4 */
  18856. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  18857. "\x23\x53\x60\x28\x74\x71\x35\x26"
  18858. "\x31\x41\x59\x26\x53\x58\x97\x93"
  18859. "\x23\x84\x62\x64\x33\x83\x27\x95",
  18860. .klen = 32,
  18861. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  18862. "\x00\x00\x00\x00\x00\x00\x00\x00",
  18863. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  18864. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  18865. "\x10\x11\x12\x13\x14\x15\x16\x17"
  18866. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  18867. "\x20\x21\x22\x23\x24\x25\x26\x27"
  18868. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  18869. "\x30\x31\x32\x33\x34\x35\x36\x37"
  18870. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  18871. "\x40\x41\x42\x43\x44\x45\x46\x47"
  18872. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  18873. "\x50\x51\x52\x53\x54\x55\x56\x57"
  18874. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  18875. "\x60\x61\x62\x63\x64\x65\x66\x67"
  18876. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  18877. "\x70\x71\x72\x73\x74\x75\x76\x77"
  18878. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  18879. "\x80\x81\x82\x83\x84\x85\x86\x87"
  18880. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  18881. "\x90\x91\x92\x93\x94\x95\x96\x97"
  18882. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  18883. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  18884. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  18885. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  18886. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  18887. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  18888. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  18889. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  18890. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  18891. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  18892. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  18893. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  18894. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  18895. "\x00\x01\x02\x03\x04\x05\x06\x07"
  18896. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  18897. "\x10\x11\x12\x13\x14\x15\x16\x17"
  18898. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  18899. "\x20\x21\x22\x23\x24\x25\x26\x27"
  18900. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  18901. "\x30\x31\x32\x33\x34\x35\x36\x37"
  18902. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  18903. "\x40\x41\x42\x43\x44\x45\x46\x47"
  18904. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  18905. "\x50\x51\x52\x53\x54\x55\x56\x57"
  18906. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  18907. "\x60\x61\x62\x63\x64\x65\x66\x67"
  18908. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  18909. "\x70\x71\x72\x73\x74\x75\x76\x77"
  18910. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  18911. "\x80\x81\x82\x83\x84\x85\x86\x87"
  18912. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  18913. "\x90\x91\x92\x93\x94\x95\x96\x97"
  18914. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  18915. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  18916. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  18917. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  18918. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  18919. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  18920. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  18921. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  18922. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  18923. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  18924. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  18925. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  18926. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  18927. .ctext = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
  18928. "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
  18929. "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
  18930. "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
  18931. "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
  18932. "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
  18933. "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
  18934. "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
  18935. "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
  18936. "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
  18937. "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
  18938. "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
  18939. "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
  18940. "\x22\x97\x61\x46\xae\x20\xce\x84"
  18941. "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
  18942. "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
  18943. "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
  18944. "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
  18945. "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
  18946. "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
  18947. "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
  18948. "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
  18949. "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
  18950. "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
  18951. "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
  18952. "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
  18953. "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
  18954. "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
  18955. "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
  18956. "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
  18957. "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
  18958. "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
  18959. "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
  18960. "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
  18961. "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
  18962. "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
  18963. "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
  18964. "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
  18965. "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
  18966. "\x55\xef\x52\x97\xca\x67\xe9\xf3"
  18967. "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
  18968. "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
  18969. "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
  18970. "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
  18971. "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
  18972. "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
  18973. "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
  18974. "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
  18975. "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
  18976. "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
  18977. "\x18\x84\x69\x77\xae\x11\x9f\x7a"
  18978. "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
  18979. "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
  18980. "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
  18981. "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
  18982. "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
  18983. "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
  18984. "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
  18985. "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
  18986. "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
  18987. "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
  18988. "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
  18989. "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
  18990. "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
  18991. .len = 512,
  18992. }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
  18993. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  18994. "\x23\x53\x60\x28\x74\x71\x35\x26"
  18995. "\x62\x49\x77\x57\x24\x70\x93\x69"
  18996. "\x99\x59\x57\x49\x66\x96\x76\x27"
  18997. "\x31\x41\x59\x26\x53\x58\x97\x93"
  18998. "\x23\x84\x62\x64\x33\x83\x27\x95"
  18999. "\x02\x88\x41\x97\x16\x93\x99\x37"
  19000. "\x51\x05\x82\x09\x74\x94\x45\x92",
  19001. .klen = 64,
  19002. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  19003. "\x00\x00\x00\x00\x00\x00\x00\x00",
  19004. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  19005. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  19006. "\x10\x11\x12\x13\x14\x15\x16\x17"
  19007. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  19008. "\x20\x21\x22\x23\x24\x25\x26\x27"
  19009. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  19010. "\x30\x31\x32\x33\x34\x35\x36\x37"
  19011. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  19012. "\x40\x41\x42\x43\x44\x45\x46\x47"
  19013. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  19014. "\x50\x51\x52\x53\x54\x55\x56\x57"
  19015. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  19016. "\x60\x61\x62\x63\x64\x65\x66\x67"
  19017. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  19018. "\x70\x71\x72\x73\x74\x75\x76\x77"
  19019. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  19020. "\x80\x81\x82\x83\x84\x85\x86\x87"
  19021. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  19022. "\x90\x91\x92\x93\x94\x95\x96\x97"
  19023. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  19024. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  19025. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  19026. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  19027. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  19028. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  19029. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  19030. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  19031. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  19032. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  19033. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  19034. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  19035. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  19036. "\x00\x01\x02\x03\x04\x05\x06\x07"
  19037. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  19038. "\x10\x11\x12\x13\x14\x15\x16\x17"
  19039. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  19040. "\x20\x21\x22\x23\x24\x25\x26\x27"
  19041. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  19042. "\x30\x31\x32\x33\x34\x35\x36\x37"
  19043. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  19044. "\x40\x41\x42\x43\x44\x45\x46\x47"
  19045. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  19046. "\x50\x51\x52\x53\x54\x55\x56\x57"
  19047. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  19048. "\x60\x61\x62\x63\x64\x65\x66\x67"
  19049. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  19050. "\x70\x71\x72\x73\x74\x75\x76\x77"
  19051. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  19052. "\x80\x81\x82\x83\x84\x85\x86\x87"
  19053. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  19054. "\x90\x91\x92\x93\x94\x95\x96\x97"
  19055. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  19056. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  19057. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  19058. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  19059. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  19060. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  19061. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  19062. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  19063. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  19064. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  19065. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  19066. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  19067. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  19068. .ctext = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
  19069. "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
  19070. "\xea\x00\x80\x3f\x5e\x48\x23\x57"
  19071. "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
  19072. "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
  19073. "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
  19074. "\x68\x0a\x86\xac\x35\xad\xfc\x33"
  19075. "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
  19076. "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
  19077. "\xb1\x08\xfd\x10\x98\xba\xec\x70"
  19078. "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
  19079. "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
  19080. "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
  19081. "\xae\xba\x12\x29\x61\xd0\x3a\x75"
  19082. "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
  19083. "\x00\x02\x08\x87\x89\x14\x29\xca"
  19084. "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
  19085. "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
  19086. "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
  19087. "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
  19088. "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
  19089. "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
  19090. "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
  19091. "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
  19092. "\x93\xec\x05\xc5\x2e\x04\x93\xef"
  19093. "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
  19094. "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
  19095. "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
  19096. "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
  19097. "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
  19098. "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
  19099. "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
  19100. "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
  19101. "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
  19102. "\xbc\x48\x14\x57\x77\x8f\x61\x60"
  19103. "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
  19104. "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
  19105. "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
  19106. "\xf4\xc3\x33\xec\x44\x23\x88\x51"
  19107. "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
  19108. "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
  19109. "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
  19110. "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
  19111. "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
  19112. "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
  19113. "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
  19114. "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
  19115. "\x92\x5f\xed\xc4\xae\x74\xff\xac"
  19116. "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
  19117. "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
  19118. "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
  19119. "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
  19120. "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
  19121. "\x94\x30\x54\xff\x84\x01\x14\x93"
  19122. "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
  19123. "\x53\x76\x44\x1a\x77\xed\x43\x85"
  19124. "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
  19125. "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
  19126. "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
  19127. "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
  19128. "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
  19129. "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
  19130. "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
  19131. "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
  19132. .len = 512,
  19133. }
  19134. };
  19135. static const struct cipher_testvec aes_ctr_tv_template[] = {
  19136. { /* From NIST Special Publication 800-38A, Appendix F.5 */
  19137. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  19138. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  19139. .klen = 16,
  19140. .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  19141. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  19142. .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  19143. "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
  19144. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  19145. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  19146. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  19147. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  19148. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  19149. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  19150. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  19151. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  19152. .ctext = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
  19153. "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
  19154. "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
  19155. "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
  19156. "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
  19157. "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
  19158. "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
  19159. "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
  19160. .len = 64,
  19161. }, {
  19162. .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  19163. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  19164. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  19165. .klen = 24,
  19166. .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  19167. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  19168. .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  19169. "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
  19170. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  19171. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  19172. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  19173. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  19174. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  19175. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  19176. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  19177. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  19178. .ctext = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
  19179. "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
  19180. "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
  19181. "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
  19182. "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
  19183. "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
  19184. "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
  19185. "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
  19186. .len = 64,
  19187. }, {
  19188. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  19189. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  19190. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  19191. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  19192. .klen = 32,
  19193. .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  19194. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  19195. .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  19196. "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
  19197. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  19198. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  19199. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  19200. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  19201. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  19202. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  19203. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  19204. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  19205. .ctext = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
  19206. "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
  19207. "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
  19208. "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
  19209. "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
  19210. "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
  19211. "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
  19212. "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
  19213. .len = 64,
  19214. }, { /* Generated with Crypto++ */
  19215. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
  19216. "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
  19217. "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
  19218. "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
  19219. .klen = 32,
  19220. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  19221. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  19222. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
  19223. "\x00\x00\x00\x00\x00\x00\x00\x1C",
  19224. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  19225. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  19226. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  19227. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  19228. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  19229. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  19230. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  19231. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  19232. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  19233. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  19234. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  19235. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  19236. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  19237. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  19238. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  19239. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  19240. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  19241. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  19242. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  19243. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  19244. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  19245. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  19246. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  19247. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  19248. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  19249. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  19250. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  19251. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  19252. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  19253. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  19254. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  19255. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  19256. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  19257. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  19258. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  19259. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  19260. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  19261. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  19262. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  19263. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  19264. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  19265. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  19266. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  19267. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  19268. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  19269. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  19270. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  19271. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  19272. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  19273. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  19274. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  19275. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  19276. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  19277. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  19278. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  19279. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  19280. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  19281. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  19282. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  19283. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  19284. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  19285. "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
  19286. .ctext = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
  19287. "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
  19288. "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
  19289. "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
  19290. "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
  19291. "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
  19292. "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
  19293. "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
  19294. "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
  19295. "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
  19296. "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
  19297. "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
  19298. "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
  19299. "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
  19300. "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
  19301. "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
  19302. "\x34\x4B\x31\x69\x84\x66\x96\x44"
  19303. "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
  19304. "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
  19305. "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
  19306. "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
  19307. "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
  19308. "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
  19309. "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
  19310. "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
  19311. "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
  19312. "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
  19313. "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
  19314. "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
  19315. "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
  19316. "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
  19317. "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
  19318. "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
  19319. "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
  19320. "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
  19321. "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
  19322. "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
  19323. "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
  19324. "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
  19325. "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
  19326. "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
  19327. "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
  19328. "\x85\x99\x22\xE8\x91\x38\x70\x83"
  19329. "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
  19330. "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
  19331. "\x2F\x69\xEE\x84\x36\x44\x76\x98"
  19332. "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
  19333. "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
  19334. "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
  19335. "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
  19336. "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
  19337. "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
  19338. "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
  19339. "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
  19340. "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
  19341. "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
  19342. "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
  19343. "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
  19344. "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
  19345. "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
  19346. "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
  19347. "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
  19348. .len = 496,
  19349. }, { /* Generated with Crypto++ */
  19350. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
  19351. "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
  19352. "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
  19353. "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
  19354. .klen = 32,
  19355. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
  19356. "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
  19357. .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
  19358. "\xE2\x7D\x18\xD6\x71\x0C\xA7\x62",
  19359. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  19360. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  19361. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  19362. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  19363. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  19364. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  19365. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  19366. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  19367. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  19368. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  19369. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  19370. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  19371. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  19372. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  19373. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  19374. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  19375. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  19376. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  19377. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  19378. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  19379. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  19380. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  19381. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  19382. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  19383. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  19384. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  19385. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  19386. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  19387. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  19388. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  19389. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  19390. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  19391. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  19392. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  19393. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  19394. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  19395. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  19396. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  19397. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  19398. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  19399. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  19400. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  19401. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  19402. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  19403. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  19404. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  19405. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  19406. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  19407. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  19408. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  19409. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  19410. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  19411. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  19412. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  19413. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  19414. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  19415. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  19416. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  19417. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  19418. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  19419. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  19420. "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
  19421. "\x7B\xE4\x4D",
  19422. .ctext = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
  19423. "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
  19424. "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
  19425. "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
  19426. "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
  19427. "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
  19428. "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
  19429. "\x75\xDE\x71\x86\x3C\x98\x23\x44"
  19430. "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
  19431. "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
  19432. "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
  19433. "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
  19434. "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
  19435. "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
  19436. "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
  19437. "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
  19438. "\xA8\x28\x69\x65\x31\xE1\x45\x83"
  19439. "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
  19440. "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
  19441. "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
  19442. "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
  19443. "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
  19444. "\x45\x18\x18\x74\x19\xAD\x71\x01"
  19445. "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
  19446. "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
  19447. "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
  19448. "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
  19449. "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
  19450. "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
  19451. "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
  19452. "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
  19453. "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
  19454. "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
  19455. "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
  19456. "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
  19457. "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
  19458. "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
  19459. "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
  19460. "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
  19461. "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
  19462. "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
  19463. "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
  19464. "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
  19465. "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
  19466. "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
  19467. "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
  19468. "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
  19469. "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
  19470. "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
  19471. "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
  19472. "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
  19473. "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
  19474. "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
  19475. "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
  19476. "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
  19477. "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
  19478. "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
  19479. "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
  19480. "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
  19481. "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
  19482. "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
  19483. "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
  19484. "\xFB\xF2\x3F",
  19485. .len = 499,
  19486. },
  19487. };
  19488. static const struct cipher_testvec aes_ctr_rfc3686_tv_template[] = {
  19489. { /* From RFC 3686 */
  19490. .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
  19491. "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
  19492. "\x00\x00\x00\x30",
  19493. .klen = 20,
  19494. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  19495. .ptext = "Single block msg",
  19496. .ctext = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
  19497. "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
  19498. .len = 16,
  19499. }, {
  19500. .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
  19501. "\x43\xd6\xce\x1f\x32\x53\x91\x63"
  19502. "\x00\x6c\xb6\xdb",
  19503. .klen = 20,
  19504. .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
  19505. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  19506. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  19507. "\x10\x11\x12\x13\x14\x15\x16\x17"
  19508. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  19509. .ctext = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
  19510. "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
  19511. "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
  19512. "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
  19513. .len = 32,
  19514. }, {
  19515. .key = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
  19516. "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
  19517. "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
  19518. "\x00\x00\x00\x48",
  19519. .klen = 28,
  19520. .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
  19521. .ptext = "Single block msg",
  19522. .ctext = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
  19523. "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
  19524. .len = 16,
  19525. }, {
  19526. .key = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
  19527. "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
  19528. "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
  19529. "\x00\x96\xb0\x3b",
  19530. .klen = 28,
  19531. .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
  19532. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  19533. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  19534. "\x10\x11\x12\x13\x14\x15\x16\x17"
  19535. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  19536. .ctext = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
  19537. "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
  19538. "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
  19539. "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
  19540. .len = 32,
  19541. }, {
  19542. .key = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
  19543. "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
  19544. "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
  19545. "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
  19546. "\x00\x00\x00\x60",
  19547. .klen = 36,
  19548. .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
  19549. .ptext = "Single block msg",
  19550. .ctext = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
  19551. "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
  19552. .len = 16,
  19553. }, {
  19554. .key = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
  19555. "\x07\x96\x36\x58\x79\xef\xf8\x86"
  19556. "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
  19557. "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
  19558. "\x00\xfa\xac\x24",
  19559. .klen = 36,
  19560. .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
  19561. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  19562. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  19563. "\x10\x11\x12\x13\x14\x15\x16\x17"
  19564. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  19565. .ctext = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
  19566. "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
  19567. "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
  19568. "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
  19569. .len = 32,
  19570. }, {
  19571. // generated using Crypto++
  19572. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  19573. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  19574. "\x10\x11\x12\x13\x14\x15\x16\x17"
  19575. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  19576. "\x00\x00\x00\x00",
  19577. .klen = 32 + 4,
  19578. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  19579. .ptext =
  19580. "\x00\x01\x02\x03\x04\x05\x06\x07"
  19581. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  19582. "\x10\x11\x12\x13\x14\x15\x16\x17"
  19583. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  19584. "\x20\x21\x22\x23\x24\x25\x26\x27"
  19585. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  19586. "\x30\x31\x32\x33\x34\x35\x36\x37"
  19587. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  19588. "\x40\x41\x42\x43\x44\x45\x46\x47"
  19589. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  19590. "\x50\x51\x52\x53\x54\x55\x56\x57"
  19591. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  19592. "\x60\x61\x62\x63\x64\x65\x66\x67"
  19593. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  19594. "\x70\x71\x72\x73\x74\x75\x76\x77"
  19595. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  19596. "\x80\x81\x82\x83\x84\x85\x86\x87"
  19597. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  19598. "\x90\x91\x92\x93\x94\x95\x96\x97"
  19599. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  19600. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  19601. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  19602. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  19603. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  19604. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  19605. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  19606. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  19607. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  19608. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  19609. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  19610. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  19611. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  19612. "\x00\x03\x06\x09\x0c\x0f\x12\x15"
  19613. "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
  19614. "\x30\x33\x36\x39\x3c\x3f\x42\x45"
  19615. "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
  19616. "\x60\x63\x66\x69\x6c\x6f\x72\x75"
  19617. "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
  19618. "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
  19619. "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
  19620. "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
  19621. "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
  19622. "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
  19623. "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
  19624. "\x20\x23\x26\x29\x2c\x2f\x32\x35"
  19625. "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
  19626. "\x50\x53\x56\x59\x5c\x5f\x62\x65"
  19627. "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
  19628. "\x80\x83\x86\x89\x8c\x8f\x92\x95"
  19629. "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
  19630. "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
  19631. "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
  19632. "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
  19633. "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
  19634. "\x10\x13\x16\x19\x1c\x1f\x22\x25"
  19635. "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
  19636. "\x40\x43\x46\x49\x4c\x4f\x52\x55"
  19637. "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
  19638. "\x70\x73\x76\x79\x7c\x7f\x82\x85"
  19639. "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
  19640. "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
  19641. "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
  19642. "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
  19643. "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
  19644. "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
  19645. "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
  19646. "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
  19647. "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
  19648. "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
  19649. "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
  19650. "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
  19651. "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
  19652. "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
  19653. "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
  19654. "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
  19655. "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
  19656. "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
  19657. "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
  19658. "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
  19659. "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
  19660. "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
  19661. "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
  19662. "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
  19663. "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
  19664. "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
  19665. "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
  19666. "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
  19667. "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
  19668. "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
  19669. "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
  19670. "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
  19671. "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
  19672. "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
  19673. "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
  19674. "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
  19675. "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
  19676. "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
  19677. "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
  19678. "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
  19679. "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
  19680. "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
  19681. "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
  19682. "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
  19683. "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
  19684. "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
  19685. "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
  19686. "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
  19687. "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
  19688. "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
  19689. "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
  19690. "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
  19691. "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
  19692. "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
  19693. "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
  19694. "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
  19695. "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
  19696. "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
  19697. "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
  19698. "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
  19699. "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
  19700. "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
  19701. "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
  19702. "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
  19703. "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
  19704. "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
  19705. "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
  19706. "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
  19707. "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
  19708. "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
  19709. "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
  19710. "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
  19711. "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
  19712. "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
  19713. "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
  19714. "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
  19715. "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
  19716. "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
  19717. "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
  19718. "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
  19719. "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
  19720. "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
  19721. "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
  19722. "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
  19723. "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
  19724. "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
  19725. "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
  19726. "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
  19727. "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
  19728. "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
  19729. "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
  19730. "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
  19731. "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
  19732. "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
  19733. "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
  19734. "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
  19735. "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
  19736. "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
  19737. "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
  19738. "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
  19739. "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
  19740. "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
  19741. "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
  19742. "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
  19743. "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
  19744. "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
  19745. "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
  19746. "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
  19747. "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
  19748. "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
  19749. "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
  19750. "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
  19751. "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
  19752. "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
  19753. "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
  19754. "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
  19755. "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
  19756. "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
  19757. "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
  19758. "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
  19759. "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
  19760. "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
  19761. "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
  19762. "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
  19763. "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
  19764. "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
  19765. "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
  19766. "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
  19767. "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
  19768. "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
  19769. "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
  19770. "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
  19771. "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
  19772. "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
  19773. "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
  19774. "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
  19775. "\x38\x45\x52\x5f\x6c\x79\x86\x93"
  19776. "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
  19777. "\x08\x15\x22\x2f\x3c\x49\x56\x63"
  19778. "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
  19779. "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
  19780. "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
  19781. "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
  19782. "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
  19783. "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
  19784. "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
  19785. "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
  19786. "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
  19787. "\x18\x25\x32\x3f\x4c\x59\x66\x73"
  19788. "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
  19789. "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
  19790. "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
  19791. "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
  19792. "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
  19793. "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
  19794. "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
  19795. "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
  19796. "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
  19797. "\x28\x35\x42\x4f\x5c\x69\x76\x83"
  19798. "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
  19799. "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
  19800. "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
  19801. "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
  19802. "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
  19803. "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
  19804. "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
  19805. "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
  19806. "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
  19807. "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
  19808. "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
  19809. "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
  19810. "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
  19811. "\x48\x57\x66\x75\x84\x93\xa2\xb1"
  19812. "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
  19813. "\x38\x47\x56\x65\x74\x83\x92\xa1"
  19814. "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
  19815. "\x28\x37\x46\x55\x64\x73\x82\x91"
  19816. "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
  19817. "\x18\x27\x36\x45\x54\x63\x72\x81"
  19818. "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
  19819. "\x08\x17\x26\x35\x44\x53\x62\x71"
  19820. "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
  19821. "\xf8\x07\x16\x25\x34\x43\x52\x61"
  19822. "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
  19823. "\xe8\xf7\x06\x15\x24\x33\x42\x51"
  19824. "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
  19825. "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
  19826. "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
  19827. "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
  19828. "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
  19829. "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
  19830. "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
  19831. "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
  19832. "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
  19833. "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
  19834. "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
  19835. "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
  19836. "\x00\x11\x22\x33\x44\x55\x66\x77"
  19837. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
  19838. "\x10\x21\x32\x43\x54\x65\x76\x87"
  19839. "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
  19840. "\x20\x31\x42\x53\x64\x75\x86\x97"
  19841. "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
  19842. "\x30\x41\x52\x63\x74\x85\x96\xa7"
  19843. "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
  19844. "\x40\x51\x62\x73\x84\x95\xa6\xb7"
  19845. "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
  19846. "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
  19847. "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
  19848. "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
  19849. "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
  19850. "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
  19851. "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
  19852. "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
  19853. "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
  19854. "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
  19855. "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
  19856. "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
  19857. "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
  19858. "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
  19859. "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
  19860. "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
  19861. "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
  19862. "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
  19863. "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
  19864. "\xe0\xf1\x02\x13\x24\x35\x46\x57"
  19865. "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
  19866. "\xf0\x01\x12\x23\x34\x45\x56\x67"
  19867. "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
  19868. "\x00\x13\x26\x39\x4c\x5f\x72\x85"
  19869. "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
  19870. "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
  19871. "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
  19872. "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
  19873. "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
  19874. "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
  19875. "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
  19876. "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
  19877. "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
  19878. "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
  19879. "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
  19880. "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
  19881. "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
  19882. "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
  19883. "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
  19884. "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
  19885. "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
  19886. "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
  19887. "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
  19888. "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
  19889. "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
  19890. "\x10\x23\x36\x49\x5c\x6f\x82\x95"
  19891. "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
  19892. "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
  19893. "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
  19894. "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
  19895. "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
  19896. "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
  19897. "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
  19898. "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
  19899. "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
  19900. "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
  19901. "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
  19902. "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
  19903. "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
  19904. "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
  19905. "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
  19906. "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
  19907. "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
  19908. "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
  19909. "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
  19910. "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
  19911. "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
  19912. "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
  19913. "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
  19914. "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
  19915. "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
  19916. "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
  19917. "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
  19918. "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
  19919. "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
  19920. "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
  19921. "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
  19922. "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
  19923. "\x18\x2d\x42\x57\x6c\x81\x96\xab"
  19924. "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
  19925. "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
  19926. "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
  19927. "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
  19928. "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
  19929. "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
  19930. "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
  19931. "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
  19932. "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
  19933. "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
  19934. "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
  19935. "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
  19936. "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
  19937. "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
  19938. "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
  19939. "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
  19940. "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
  19941. "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
  19942. "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
  19943. "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
  19944. "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
  19945. "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
  19946. "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
  19947. "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
  19948. "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
  19949. "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
  19950. "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
  19951. "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
  19952. "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
  19953. "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
  19954. "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
  19955. "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
  19956. "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
  19957. "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
  19958. "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
  19959. "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
  19960. "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
  19961. "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
  19962. "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
  19963. "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
  19964. "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
  19965. "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
  19966. "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
  19967. "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
  19968. "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
  19969. "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
  19970. "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
  19971. "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
  19972. "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
  19973. "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
  19974. "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
  19975. "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
  19976. "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
  19977. "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
  19978. "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
  19979. "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
  19980. "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
  19981. "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
  19982. "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
  19983. "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
  19984. "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
  19985. "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
  19986. "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
  19987. "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
  19988. "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
  19989. "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
  19990. "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
  19991. "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
  19992. "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
  19993. "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
  19994. "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
  19995. "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
  19996. "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
  19997. "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
  19998. "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
  19999. "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
  20000. "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
  20001. "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
  20002. "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
  20003. "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
  20004. "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
  20005. "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
  20006. "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
  20007. "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
  20008. "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
  20009. "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
  20010. "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
  20011. "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
  20012. "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
  20013. "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
  20014. "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
  20015. "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
  20016. "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
  20017. "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
  20018. "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
  20019. "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
  20020. "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
  20021. "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
  20022. "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
  20023. "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
  20024. "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
  20025. "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
  20026. "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
  20027. "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
  20028. "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
  20029. "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
  20030. "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
  20031. "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
  20032. "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
  20033. "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
  20034. "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
  20035. "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
  20036. "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
  20037. "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
  20038. "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
  20039. "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
  20040. "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
  20041. "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
  20042. "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
  20043. "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
  20044. "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
  20045. "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
  20046. "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
  20047. "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
  20048. "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
  20049. "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
  20050. "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
  20051. "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
  20052. "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
  20053. "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
  20054. "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
  20055. "\x78\x95\xb2\xcf\xec\x09\x26\x43"
  20056. "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
  20057. "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
  20058. "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
  20059. "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
  20060. "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
  20061. "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
  20062. "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
  20063. "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
  20064. "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
  20065. "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
  20066. "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
  20067. "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
  20068. "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
  20069. "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
  20070. "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
  20071. "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
  20072. "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
  20073. "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
  20074. "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
  20075. "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
  20076. "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
  20077. "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
  20078. "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
  20079. "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
  20080. "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
  20081. "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
  20082. "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
  20083. "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
  20084. "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
  20085. "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
  20086. "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
  20087. "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
  20088. "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
  20089. "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
  20090. "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
  20091. "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
  20092. "\x00\x21\x42\x63",
  20093. .ctext =
  20094. "\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
  20095. "\xae\xff\x91\x3a\x44\xcf\x38\x32"
  20096. "\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
  20097. "\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
  20098. "\xf2\x62\x74\x70\x0c\xa4\x46\x08"
  20099. "\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
  20100. "\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
  20101. "\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
  20102. "\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
  20103. "\x18\xff\x75\x6d\x06\x2d\x00\xab"
  20104. "\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
  20105. "\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
  20106. "\x3d\x74\x54\xfa\x44\xcd\x23\x26"
  20107. "\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
  20108. "\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
  20109. "\x61\x00\x1c\x4f\xff\x59\xc4\x22"
  20110. "\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
  20111. "\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
  20112. "\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
  20113. "\x84\xff\x42\x60\xdc\x3a\x18\xa5"
  20114. "\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
  20115. "\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
  20116. "\x8f\xd3\x76\x96\xad\x49\x6d\x38"
  20117. "\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
  20118. "\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
  20119. "\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
  20120. "\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
  20121. "\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
  20122. "\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
  20123. "\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
  20124. "\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
  20125. "\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
  20126. "\x78\x6b\x01\xc9\xc7\x83\xba\x21"
  20127. "\x6a\x25\x15\x33\x4e\x45\x08\xec"
  20128. "\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
  20129. "\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
  20130. "\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
  20131. "\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
  20132. "\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
  20133. "\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
  20134. "\xc8\x53\x07\xaf\x80\x84\xec\xfd"
  20135. "\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
  20136. "\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
  20137. "\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
  20138. "\x06\x51\x48\x4e\xf6\x59\x87\xd2"
  20139. "\x04\x02\xef\xd3\x44\xde\x76\x31"
  20140. "\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
  20141. "\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
  20142. "\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
  20143. "\x65\x83\xd0\x3b\xe3\x30\xea\x94"
  20144. "\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
  20145. "\xb4\x01\xab\x36\x2c\x77\x13\xaf"
  20146. "\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
  20147. "\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
  20148. "\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
  20149. "\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
  20150. "\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
  20151. "\x93\x97\xc6\x48\x45\x1d\x9f\x83"
  20152. "\xdf\x4b\x40\x3e\x42\x25\x87\x80"
  20153. "\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
  20154. "\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
  20155. "\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
  20156. "\x32\x03\xed\xf0\x50\x1c\x56\x39"
  20157. "\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
  20158. "\x53\xfc\x2a\x38\x23\x15\x75\xcd"
  20159. "\x45\xe5\x5a\x82\x55\xba\x21\xfa"
  20160. "\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
  20161. "\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
  20162. "\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
  20163. "\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
  20164. "\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
  20165. "\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
  20166. "\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
  20167. "\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
  20168. "\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
  20169. "\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
  20170. "\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
  20171. "\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
  20172. "\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
  20173. "\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
  20174. "\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
  20175. "\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
  20176. "\x69\x3a\x29\x23\xac\x86\x32\xa5"
  20177. "\x48\x9c\x9e\xf3\x47\x77\x81\x70"
  20178. "\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
  20179. "\x59\x6a\xd3\x50\x59\x43\x59\xde"
  20180. "\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
  20181. "\x18\x34\x0d\x1a\x63\x33\xed\x10"
  20182. "\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
  20183. "\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
  20184. "\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
  20185. "\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
  20186. "\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
  20187. "\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
  20188. "\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
  20189. "\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
  20190. "\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
  20191. "\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
  20192. "\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
  20193. "\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
  20194. "\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
  20195. "\xe8\x99\x57\x8c\x11\xed\x66\xd9"
  20196. "\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
  20197. "\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
  20198. "\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
  20199. "\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
  20200. "\x64\x76\x38\x49\x4d\xfe\x30\x6d"
  20201. "\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
  20202. "\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
  20203. "\x28\xa2\x82\x1f\x61\x69\xad\xc1"
  20204. "\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
  20205. "\x51\xb5\x17\x7f\x12\x69\x8c\x24"
  20206. "\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
  20207. "\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
  20208. "\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
  20209. "\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
  20210. "\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
  20211. "\x4d\x29\x77\x53\x35\x6a\x00\x8d"
  20212. "\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
  20213. "\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
  20214. "\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
  20215. "\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
  20216. "\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
  20217. "\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
  20218. "\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
  20219. "\x26\x39\x83\x94\xef\x27\xd8\x53"
  20220. "\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
  20221. "\x43\x7c\x95\x0a\x53\xef\x66\xda"
  20222. "\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
  20223. "\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
  20224. "\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
  20225. "\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
  20226. "\x88\xee\x73\xcf\x66\x2f\x52\x56"
  20227. "\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
  20228. "\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
  20229. "\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
  20230. "\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
  20231. "\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
  20232. "\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
  20233. "\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
  20234. "\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
  20235. "\xba\x61\x34\x38\x7c\xda\x48\x3e"
  20236. "\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
  20237. "\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
  20238. "\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
  20239. "\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
  20240. "\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
  20241. "\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
  20242. "\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
  20243. "\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
  20244. "\x35\x12\xe3\x36\x28\x27\x36\x58"
  20245. "\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
  20246. "\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
  20247. "\x2b\x9f\x96\x00\x86\x60\xf0\x21"
  20248. "\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
  20249. "\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
  20250. "\x9d\x62\x79\x58\x52\xe6\x65\xb7"
  20251. "\xab\x55\x67\x9c\x89\x7c\x03\xb0"
  20252. "\x73\x59\xc5\x81\xf5\x18\x17\x5c"
  20253. "\x89\xf3\x78\x35\x44\x62\x78\x72"
  20254. "\xd0\x96\xeb\x31\xe7\x87\x77\x14"
  20255. "\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
  20256. "\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
  20257. "\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
  20258. "\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
  20259. "\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
  20260. "\xfb\x79\x2e\x04\x2d\x50\x28\x83"
  20261. "\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
  20262. "\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
  20263. "\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
  20264. "\xd2\x49\x77\x81\x6d\x90\x70\xae"
  20265. "\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
  20266. "\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
  20267. "\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
  20268. "\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
  20269. "\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
  20270. "\x45\x42\x27\x75\x50\xe5\xee\xb8"
  20271. "\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
  20272. "\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
  20273. "\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
  20274. "\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
  20275. "\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
  20276. "\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
  20277. "\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
  20278. "\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
  20279. "\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
  20280. "\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
  20281. "\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
  20282. "\xa9\x21\x2b\x92\x94\x87\x62\x57"
  20283. "\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
  20284. "\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
  20285. "\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
  20286. "\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
  20287. "\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
  20288. "\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
  20289. "\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
  20290. "\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
  20291. "\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
  20292. "\x69\x34\x78\x61\x24\x21\x9c\x8a"
  20293. "\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
  20294. "\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
  20295. "\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
  20296. "\x8a\x59\x94\x3c\xcf\x36\x27\x82"
  20297. "\xc2\x45\xee\x58\xcd\x88\xb4\xec"
  20298. "\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
  20299. "\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
  20300. "\xb1\x95\x28\x86\x20\xe9\x17\x49"
  20301. "\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
  20302. "\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
  20303. "\xdb\x7c\x73\x10\xb9\xba\x89\x76"
  20304. "\x54\xae\x7d\x71\xb3\x93\xf6\x32"
  20305. "\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
  20306. "\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
  20307. "\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
  20308. "\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
  20309. "\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
  20310. "\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
  20311. "\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
  20312. "\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
  20313. "\x79\x00\xa8\x6c\x29\xd9\x18\x24"
  20314. "\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
  20315. "\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
  20316. "\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
  20317. "\x26\x2c\x39\x52\x89\x98\xe7\x2c"
  20318. "\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
  20319. "\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
  20320. "\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
  20321. "\x32\x4d\xed\xab\xfa\x98\x14\x4e"
  20322. "\xc3\x15\x45\x53\x61\xc4\x93\xbd"
  20323. "\x90\xf4\x99\x95\x4c\xe6\x76\x92"
  20324. "\x29\x90\x46\x30\x92\x69\x7d\x13"
  20325. "\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
  20326. "\x63\x40\x36\x5f\x09\xe2\x78\xf8"
  20327. "\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
  20328. "\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
  20329. "\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
  20330. "\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
  20331. "\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
  20332. "\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
  20333. "\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
  20334. "\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
  20335. "\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
  20336. "\x05\xc4\xa6\x96\xec\x05\x98\x4f"
  20337. "\x96\x67\x57\x1f\x20\x86\x1b\x2d"
  20338. "\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
  20339. "\x88\x26\x2c\x67\x02\x4b\x52\xd0"
  20340. "\x83\x7a\x43\x1f\xc0\x71\x15\x25"
  20341. "\x77\x65\x08\x60\x11\x76\x4c\x8d"
  20342. "\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
  20343. "\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
  20344. "\x03\xd1\x24\x95\xec\x6d\xab\x38"
  20345. "\x72\xce\xe2\x8b\x33\xd7\x51\x09"
  20346. "\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
  20347. "\x84\xdc\x73\x73\x2d\x1b\x11\x98"
  20348. "\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
  20349. "\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
  20350. "\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
  20351. "\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
  20352. "\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
  20353. "\x62\x8f\x7a\x73\x32\xab\xc8\x18"
  20354. "\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
  20355. "\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
  20356. "\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
  20357. "\xde\x39\xa4\x01\x72\x63\xf3\xd1"
  20358. "\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
  20359. "\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
  20360. "\x16\xf7\xcd\x92\x9a\x99\x30\x14"
  20361. "\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
  20362. "\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
  20363. "\xe5\x79\x81\x73\xcd\x43\x59\x68"
  20364. "\x73\x02\x3b\x78\x21\x72\x43\x00"
  20365. "\x49\x17\xf7\x00\xaf\x68\x24\x53"
  20366. "\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
  20367. "\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
  20368. "\x11\x94\x13\x69\x51\x09\x28\xde"
  20369. "\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
  20370. "\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
  20371. "\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
  20372. "\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
  20373. "\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
  20374. "\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
  20375. "\x62\x03\x43\xf1\x87\xb4\xb0\x85"
  20376. "\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
  20377. "\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
  20378. "\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
  20379. "\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
  20380. "\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
  20381. "\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
  20382. "\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
  20383. "\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
  20384. "\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
  20385. "\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
  20386. "\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
  20387. "\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
  20388. "\x69\xdc\xab\x24\x57\x60\x47\xc1"
  20389. "\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
  20390. "\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
  20391. "\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
  20392. "\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
  20393. "\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
  20394. "\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
  20395. "\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
  20396. "\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
  20397. "\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
  20398. "\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
  20399. "\x63\x19\x3d\xd5\xec\x1b\x77\x69"
  20400. "\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
  20401. "\x85\x62\x82\x70\x18\xe2\x9a\x78"
  20402. "\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
  20403. "\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
  20404. "\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
  20405. "\x35\xf3\x61\x06\x72\x84\xc4\x32"
  20406. "\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
  20407. "\x04\xc2\xde\x57\x64\x60\x8d\xcf"
  20408. "\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
  20409. "\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
  20410. "\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
  20411. "\xb3\x71\xa0\xde\xca\x96\xf1\x78"
  20412. "\x49\xa2\x99\x81\x80\x5c\x01\xf5"
  20413. "\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
  20414. "\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
  20415. "\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
  20416. "\x4f\x73\x38\x09\x75\x64\x48\xe0"
  20417. "\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
  20418. "\xfe\x16\x26\x62\x49\x74\xf4\xb0"
  20419. "\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
  20420. "\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
  20421. "\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
  20422. "\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
  20423. "\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
  20424. "\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
  20425. "\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
  20426. "\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
  20427. "\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
  20428. "\xef\xa0\x54\xe4\x5e\x16\x53\x81"
  20429. "\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
  20430. "\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
  20431. "\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
  20432. "\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
  20433. "\x53\x5d\x86\xd6\xde\x65\xca\xe3"
  20434. "\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
  20435. "\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
  20436. "\x37\x7a\x93\x7a\x50\x11\x9f\x96"
  20437. "\x86\x25\xfd\xac\xdc\xbe\x18\x93"
  20438. "\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
  20439. "\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
  20440. "\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
  20441. "\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
  20442. "\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
  20443. "\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
  20444. "\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
  20445. "\xce\x4d\x5f\x18\x60\xce\x87\x22"
  20446. "\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
  20447. "\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
  20448. "\x32\xd8\xaf\x1e\x07\x77\x51\x96"
  20449. "\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
  20450. "\xea\x17\x0b\x10\xd2\x3f\x28\x25"
  20451. "\x4f\x05\x77\x02\x14\x69\xf0\x2c"
  20452. "\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
  20453. "\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
  20454. "\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
  20455. "\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
  20456. "\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
  20457. "\x64\xc0\x64\xda\xb1\xae\xdd\x60"
  20458. "\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
  20459. "\x92\x61\xd0\x48\x81\xed\x5e\x1d"
  20460. "\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
  20461. "\x7f\x83\x73\xb6\x70\x18\x65\x3e"
  20462. "\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
  20463. "\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
  20464. "\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
  20465. "\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
  20466. "\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
  20467. "\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
  20468. "\xa7\x22\xec\xe2\x7e\x29\x09\x53"
  20469. "\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
  20470. "\xce\x54\xf9\x18\x58\xb5\xff\x44"
  20471. "\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
  20472. "\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
  20473. "\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
  20474. "\xff\xfd\xb0\x21\x6e\x57\x05\x75"
  20475. "\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
  20476. "\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
  20477. "\x80\x8c\xc8\x78\x40\x24\x4b\x89"
  20478. "\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
  20479. "\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
  20480. "\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
  20481. "\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
  20482. "\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
  20483. "\x0c\xd6\x04\x14\xde\x51\x74\x75"
  20484. "\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
  20485. "\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
  20486. "\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
  20487. "\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
  20488. "\x75\x46\x65\x4e\x07\x34\x37\xa3"
  20489. "\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
  20490. "\x69\x24\x0e\x38\x67\x43\x8c\xde"
  20491. "\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
  20492. "\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
  20493. "\x64\xb1\xdb\xee\x00\x50\x77\xe1"
  20494. "\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
  20495. "\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
  20496. "\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
  20497. "\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
  20498. "\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
  20499. "\x91\x7d\x62\x64\x96\x72\xde\xfc"
  20500. "\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
  20501. "\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
  20502. "\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
  20503. "\x98\x81\x84\x4f\x15\x5c\x76\xe7"
  20504. "\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
  20505. "\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
  20506. "\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
  20507. "\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
  20508. "\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
  20509. "\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
  20510. "\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
  20511. "\xb1\xb2\x52\x94\x75\x2c\x29\x59"
  20512. "\x06\xc2\x25\xe8\x71\x65\x4e\xed"
  20513. "\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
  20514. "\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
  20515. "\xe0\x50\x40\x96\x35\x63\xe4\x0b"
  20516. "\x76\xbd\xa4\x65\x00\x1b\x57\x88"
  20517. "\xae\xed\x39\x88\x42\x11\x3c\xed"
  20518. "\x85\x67\x7d\xb9\x68\x82\xe9\x43"
  20519. "\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
  20520. "\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
  20521. "\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
  20522. "\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
  20523. "\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
  20524. "\xce\x20\x56\x32\xc6\xc5\x99\x1f"
  20525. "\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
  20526. "\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
  20527. "\x66\xf8\x3d\x18\x74\x70\x66\x7a"
  20528. "\x34\x17\xde\xba\x47\xf1\x06\x18"
  20529. "\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
  20530. "\xe0\x3b\x78\x62\x66\xc9\x10\xea"
  20531. "\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
  20532. "\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
  20533. "\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
  20534. "\x63\x4f\x20\x0c\x07\x17\x33\x5e"
  20535. "\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
  20536. "\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
  20537. "\x58\xef\x15\xa9\x83\xd9\x46\xb1"
  20538. "\x42\xaa\xf5\x02\x6c\xce\x92\x06"
  20539. "\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
  20540. "\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
  20541. "\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
  20542. "\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
  20543. "\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
  20544. "\xb6\x67\xc7\x77\xed\x23\xef\x4c"
  20545. "\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
  20546. "\x34\x37\x08\xab\xd9\x1f\x09\xb1"
  20547. "\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
  20548. "\x2c\x56\x39\x79\x0f\x69\x44\x75"
  20549. "\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
  20550. "\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
  20551. "\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
  20552. "\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
  20553. "\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
  20554. "\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
  20555. "\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
  20556. "\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
  20557. "\x63\x9b\xce\x61\x24\x79\xc0\x70"
  20558. "\x52\xd0\xb6\xd4\x28\x95\x24\x87"
  20559. "\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
  20560. "\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
  20561. "\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
  20562. "\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
  20563. "\x74\x56\x58\x40\x02\x37\x52\x2c"
  20564. "\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
  20565. "\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
  20566. "\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
  20567. "\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
  20568. "\x24\x90\xec\x58\xd2\x09\xc7\x2d"
  20569. "\xed\x38\x80\x36\x72\x43\x27\x49"
  20570. "\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
  20571. "\x7d\xb6\x82\x37\x86\x92\x86\x3e"
  20572. "\x08\xb2\x28\x5a\x55\x44\x24\x7d"
  20573. "\x40\x48\x8a\xb6\x89\x58\x08\xa0"
  20574. "\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
  20575. "\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
  20576. "\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
  20577. "\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
  20578. "\x14\x32\x45\x05\xe0\xdb\x9f\x75"
  20579. "\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
  20580. "\x12\xee\x30\xfe\xd8\x30\xef\x34"
  20581. "\x50\xab\x46\x30\x98\x2f\xb7\xc0"
  20582. "\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
  20583. "\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
  20584. "\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
  20585. "\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
  20586. "\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
  20587. "\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
  20588. "\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
  20589. "\x02\x9d\x27\x1f\xef\x85\x05\x8d"
  20590. "\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
  20591. "\xa1\x75\xa0\xd8\x06\x47\x14\xef"
  20592. "\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
  20593. "\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
  20594. "\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
  20595. "\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
  20596. "\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
  20597. "\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
  20598. "\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
  20599. "\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
  20600. "\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
  20601. "\x44\x12\xfb\x73\x77\xd4\x13\x39"
  20602. "\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
  20603. "\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
  20604. "\x41\x01\x18\x5d\x5d\x07\x97\xa6"
  20605. "\x4b\xef\x31\x18\xea\xac\xb1\x84"
  20606. "\x21\xed\xda\x86",
  20607. .len = 4100,
  20608. },
  20609. };
  20610. static const struct aead_testvec aes_gcm_tv_template[] = {
  20611. { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
  20612. .key = zeroed_string,
  20613. .klen = 16,
  20614. .ctext = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
  20615. "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
  20616. .clen = 16,
  20617. }, {
  20618. .key = zeroed_string,
  20619. .klen = 16,
  20620. .ptext = zeroed_string,
  20621. .plen = 16,
  20622. .ctext = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
  20623. "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
  20624. "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
  20625. "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
  20626. .clen = 32,
  20627. }, {
  20628. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  20629. "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
  20630. .klen = 16,
  20631. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  20632. "\xde\xca\xf8\x88",
  20633. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  20634. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  20635. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  20636. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  20637. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  20638. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  20639. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  20640. "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
  20641. .plen = 64,
  20642. .ctext = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
  20643. "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
  20644. "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
  20645. "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
  20646. "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
  20647. "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
  20648. "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
  20649. "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
  20650. "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
  20651. "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
  20652. .clen = 80,
  20653. }, {
  20654. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  20655. "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
  20656. .klen = 16,
  20657. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  20658. "\xde\xca\xf8\x88",
  20659. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  20660. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  20661. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  20662. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  20663. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  20664. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  20665. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  20666. "\xba\x63\x7b\x39",
  20667. .plen = 60,
  20668. .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  20669. "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  20670. "\xab\xad\xda\xd2",
  20671. .alen = 20,
  20672. .ctext = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
  20673. "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
  20674. "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
  20675. "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
  20676. "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
  20677. "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
  20678. "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
  20679. "\x3d\x58\xe0\x91"
  20680. "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
  20681. "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
  20682. .clen = 76,
  20683. }, {
  20684. .key = zeroed_string,
  20685. .klen = 24,
  20686. .ctext = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
  20687. "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
  20688. .clen = 16,
  20689. }, {
  20690. .key = zeroed_string,
  20691. .klen = 24,
  20692. .ptext = zeroed_string,
  20693. .plen = 16,
  20694. .ctext = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
  20695. "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
  20696. "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
  20697. "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
  20698. .clen = 32,
  20699. }, {
  20700. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  20701. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  20702. "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
  20703. .klen = 24,
  20704. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  20705. "\xde\xca\xf8\x88",
  20706. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  20707. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  20708. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  20709. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  20710. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  20711. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  20712. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  20713. "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
  20714. .plen = 64,
  20715. .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
  20716. "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
  20717. "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
  20718. "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
  20719. "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
  20720. "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
  20721. "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
  20722. "\xcc\xda\x27\x10\xac\xad\xe2\x56"
  20723. "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
  20724. "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
  20725. .clen = 80,
  20726. }, {
  20727. .key = zeroed_string,
  20728. .klen = 32,
  20729. .ctext = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
  20730. "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
  20731. .clen = 16,
  20732. }, {
  20733. .key = zeroed_string,
  20734. .klen = 32,
  20735. .ptext = zeroed_string,
  20736. .plen = 16,
  20737. .ctext = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
  20738. "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
  20739. "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
  20740. "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
  20741. .clen = 32,
  20742. }, {
  20743. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  20744. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  20745. "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  20746. "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
  20747. .klen = 32,
  20748. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  20749. "\xde\xca\xf8\x88",
  20750. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  20751. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  20752. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  20753. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  20754. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  20755. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  20756. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  20757. "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
  20758. .plen = 64,
  20759. .ctext = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
  20760. "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
  20761. "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
  20762. "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
  20763. "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
  20764. "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
  20765. "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
  20766. "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
  20767. "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
  20768. "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
  20769. .clen = 80,
  20770. }, {
  20771. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  20772. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  20773. "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  20774. "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
  20775. .klen = 32,
  20776. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  20777. "\xde\xca\xf8\x88",
  20778. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  20779. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  20780. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  20781. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  20782. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  20783. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  20784. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  20785. "\xba\x63\x7b\x39",
  20786. .plen = 60,
  20787. .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  20788. "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  20789. "\xab\xad\xda\xd2",
  20790. .alen = 20,
  20791. .ctext = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
  20792. "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
  20793. "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
  20794. "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
  20795. "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
  20796. "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
  20797. "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
  20798. "\xbc\xc9\xf6\x62"
  20799. "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
  20800. "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
  20801. .clen = 76,
  20802. }, {
  20803. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  20804. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  20805. "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
  20806. .klen = 24,
  20807. .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
  20808. "\xde\xca\xf8\x88",
  20809. .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
  20810. "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
  20811. "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
  20812. "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
  20813. "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
  20814. "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
  20815. "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
  20816. "\xba\x63\x7b\x39",
  20817. .plen = 60,
  20818. .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  20819. "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
  20820. "\xab\xad\xda\xd2",
  20821. .alen = 20,
  20822. .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
  20823. "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
  20824. "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
  20825. "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
  20826. "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
  20827. "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
  20828. "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
  20829. "\xcc\xda\x27\x10"
  20830. "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
  20831. "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
  20832. .clen = 76,
  20833. }, {
  20834. .key = "\x62\x35\xf8\x95\xfc\xa5\xeb\xf6"
  20835. "\x0e\x92\x12\x04\xd3\xa1\x3f\x2e"
  20836. "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
  20837. "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
  20838. .klen = 32,
  20839. .iv = "\x00\xff\xff\xff\xff\x00\x00\xff"
  20840. "\xff\xff\x00\xff",
  20841. .ptext = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
  20842. "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
  20843. "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
  20844. "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
  20845. "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
  20846. "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
  20847. "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
  20848. "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
  20849. "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
  20850. "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
  20851. "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
  20852. "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
  20853. "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
  20854. "\x35\x23\xf4\x20\x41\xd4\xad\x82"
  20855. "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
  20856. "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
  20857. "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
  20858. "\xad\x49\x3a\xae\x98\xce\xa6\x66"
  20859. "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
  20860. "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
  20861. "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
  20862. "\x57\xcc\x89\x09\x75\x9b\x78\x70"
  20863. "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
  20864. "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
  20865. "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
  20866. "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
  20867. "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
  20868. "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
  20869. "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
  20870. "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
  20871. "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
  20872. "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
  20873. "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
  20874. "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
  20875. "\x02\x66\x49\xca\x7c\x91\x05\xf2"
  20876. "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
  20877. "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
  20878. "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
  20879. "\x45\xea\x78\x73\xd9\xb7\x39\x11"
  20880. "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
  20881. "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
  20882. "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
  20883. "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
  20884. "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
  20885. "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
  20886. "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
  20887. "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
  20888. "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
  20889. "\x03\x25\x3c\x8d\x48\x58\x71\x34"
  20890. "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
  20891. "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
  20892. "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
  20893. "\x87\x79\x60\x38\x46\xb4\x25\x57"
  20894. "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
  20895. "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
  20896. "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
  20897. "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
  20898. "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
  20899. "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
  20900. "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
  20901. "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
  20902. "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
  20903. "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
  20904. "\x0b\x63\xde\x87\x42\x79\x8a\x68"
  20905. "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
  20906. "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
  20907. "\xe9\x83\x84\xcb\x28\x69\x09\x69"
  20908. "\xce\x99\x46\x00\x54\xcb\xd8\x38"
  20909. "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
  20910. "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
  20911. "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
  20912. "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
  20913. "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
  20914. "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
  20915. "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
  20916. "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
  20917. "\x78\xc6\x91\x22\x40\x91\x80\xbe"
  20918. "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
  20919. "\x67\x10\xa4\x83\x98\x79\x23\xe7"
  20920. "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
  20921. "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
  20922. "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
  20923. "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
  20924. "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
  20925. "\x3f\x73\x09\xe2\x45\x56\x31\x51"
  20926. "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
  20927. "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
  20928. "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
  20929. "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
  20930. "\xa4\x78\xdb\x74\x3d\x8b\xb5",
  20931. .plen = 719,
  20932. .ctext = "\x84\x0b\xdb\xd5\xb7\xa8\xfe\x20"
  20933. "\xbb\xb1\x12\x7f\x41\xea\xb3\xc0"
  20934. "\xa2\xb4\x37\x19\x11\x58\xb6\x0b"
  20935. "\x4c\x1d\x38\x05\x54\xd1\x16\x73"
  20936. "\x8e\x1c\x20\x90\xa2\x9a\xb7\x74"
  20937. "\x47\xe6\xd8\xfc\x18\x3a\xb4\xea"
  20938. "\xd5\x16\x5a\x2c\x53\x01\x46\xb3"
  20939. "\x18\x33\x74\x6c\x50\xf2\xe8\xc0"
  20940. "\x73\xda\x60\x22\xeb\xe3\xe5\x9b"
  20941. "\x20\x93\x6c\x4b\x37\x99\xb8\x23"
  20942. "\x3b\x4e\xac\xe8\x5b\xe8\x0f\xb7"
  20943. "\xc3\x8f\xfb\x4a\x37\xd9\x39\x95"
  20944. "\x34\xf1\xdb\x8f\x71\xd9\xc7\x0b"
  20945. "\x02\xf1\x63\xfc\x9b\xfc\xc5\xab"
  20946. "\xb9\x14\x13\x21\xdf\xce\xaa\x88"
  20947. "\x44\x30\x1e\xce\x26\x01\x92\xf8"
  20948. "\x9f\x00\x4b\x0c\x4b\xf7\x5f\xe0"
  20949. "\x89\xca\x94\x66\x11\x21\x97\xca"
  20950. "\x3e\x83\x74\x2d\xdb\x4d\x11\xeb"
  20951. "\x97\xc2\x14\xff\x9e\x1e\xa0\x6b"
  20952. "\x08\xb4\x31\x2b\x85\xc6\x85\x6c"
  20953. "\x90\xec\x39\xc0\xec\xb3\xb5\x4e"
  20954. "\xf3\x9c\xe7\x83\x3a\x77\x0a\xf4"
  20955. "\x56\xfe\xce\x18\x33\x6d\x0b\x2d"
  20956. "\x33\xda\xc8\x05\x5c\xb4\x09\x2a"
  20957. "\xde\x6b\x52\x98\x01\xef\x36\x3d"
  20958. "\xbd\xf9\x8f\xa8\x3e\xaa\xcd\xd1"
  20959. "\x01\x2d\x42\x49\xc3\xb6\x84\xbb"
  20960. "\x48\x96\xe0\x90\x93\x6c\x48\x64"
  20961. "\xd4\xfa\x7f\x93\x2c\xa6\x21\xc8"
  20962. "\x7a\x23\x7b\xaa\x20\x56\x12\xae"
  20963. "\x16\x9d\x94\x0f\x54\xa1\xec\xca"
  20964. "\x51\x4e\xf2\x39\xf4\xf8\x5f\x04"
  20965. "\x5a\x0d\xbf\xf5\x83\xa1\x15\xe1"
  20966. "\xf5\x3c\xd8\x62\xa3\xed\x47\x89"
  20967. "\x85\x4c\xe5\xdb\xac\x9e\x17\x1d"
  20968. "\x0c\x09\xe3\x3e\x39\x5b\x4d\x74"
  20969. "\x0e\xf5\x34\xee\x70\x11\x4c\xfd"
  20970. "\xdb\x34\xb1\xb5\x10\x3f\x73\xb7"
  20971. "\xf5\xfa\xed\xb0\x1f\xa5\xcd\x3c"
  20972. "\x8d\x35\x83\xd4\x11\x44\x6e\x6c"
  20973. "\x5b\xe0\x0e\x69\xa5\x39\xe5\xbb"
  20974. "\xa9\x57\x24\x37\xe6\x1f\xdd\xcf"
  20975. "\x16\x2a\x13\xf9\x6a\x2d\x90\xa0"
  20976. "\x03\x60\x7a\xed\x69\xd5\x00\x8b"
  20977. "\x7e\x4f\xcb\xb9\xfa\x91\xb9\x37"
  20978. "\xc1\x26\xce\x90\x97\x22\x64\x64"
  20979. "\xc1\x72\x43\x1b\xf6\xac\xc1\x54"
  20980. "\x8a\x10\x9c\xdd\x8d\xd5\x8e\xb2"
  20981. "\xe4\x85\xda\xe0\x20\x5f\xf4\xb4"
  20982. "\x15\xb5\xa0\x8d\x12\x74\x49\x23"
  20983. "\x3a\xdf\x4a\xd3\xf0\x3b\x89\xeb"
  20984. "\xf8\xcc\x62\x7b\xfb\x93\x07\x41"
  20985. "\x61\x26\x94\x58\x70\xa6\x3c\xe4"
  20986. "\xff\x58\xc4\x13\x3d\xcb\x36\x6b"
  20987. "\x32\xe5\xb2\x6d\x03\x74\x6f\x76"
  20988. "\x93\x77\xde\x48\xc4\xfa\x30\x4a"
  20989. "\xda\x49\x80\x77\x0f\x1c\xbe\x11"
  20990. "\xc8\x48\xb1\xe5\xbb\xf2\x8a\xe1"
  20991. "\x96\x2f\x9f\xd1\x8e\x8a\x5c\xe2"
  20992. "\xf7\xd7\xd8\x54\xf3\x3f\xc4\x91"
  20993. "\xb8\xfb\x86\xdc\x46\x24\x91\x60"
  20994. "\x6c\x2f\xc9\x41\x37\x51\x49\x54"
  20995. "\x09\x81\x21\xf3\x03\x9f\x2b\xe3"
  20996. "\x1f\x39\x63\xaf\xf4\xd7\x53\x60"
  20997. "\xa7\xc7\x54\xf9\xee\xb1\xb1\x7d"
  20998. "\x75\x54\x65\x93\xfe\xb1\x68\x6b"
  20999. "\x57\x02\xf9\xbb\x0e\xf9\xf8\xbf"
  21000. "\x01\x12\x27\xb4\xfe\xe4\x79\x7a"
  21001. "\x40\x5b\x51\x4b\xdf\x38\xec\xb1"
  21002. "\x6a\x56\xff\x35\x4d\x42\x33\xaa"
  21003. "\x6f\x1b\xe4\xdc\xe0\xdb\x85\x35"
  21004. "\x62\x10\xd4\xec\xeb\xc5\x7e\x45"
  21005. "\x1c\x6f\x17\xca\x3b\x8e\x2d\x66"
  21006. "\x4f\x4b\x36\x56\xcd\x1b\x59\xaa"
  21007. "\xd2\x9b\x17\xb9\x58\xdf\x7b\x64"
  21008. "\x8a\xff\x3b\x9c\xa6\xb5\x48\x9e"
  21009. "\xaa\xe2\x5d\x09\x71\x32\x5f\xb6"
  21010. "\x29\xbe\xe7\xc7\x52\x7e\x91\x82"
  21011. "\x6b\x6d\x33\xe1\x34\x06\x36\x21"
  21012. "\x5e\xbe\x1e\x2f\x3e\xc1\xfb\xea"
  21013. "\x49\x2c\xb5\xca\xf7\xb0\x37\xea"
  21014. "\x1f\xed\x10\x04\xd9\x48\x0d\x1a"
  21015. "\x1c\xfb\xe7\x84\x0e\x83\x53\x74"
  21016. "\xc7\x65\xe2\x5c\xe5\xba\x73\x4c"
  21017. "\x0e\xe1\xb5\x11\x45\x61\x43\x46"
  21018. "\xaa\x25\x8f\xbd\x85\x08\xfa\x4c"
  21019. "\x15\xc1\xc0\xd8\xf5\xdc\x16\xbb"
  21020. "\x7b\x1d\xe3\x87\x57\xa7\x2a\x1d"
  21021. "\x38\x58\x9e\x8a\x43\xdc\x57"
  21022. "\xd1\x81\x7d\x2b\xe9\xff\x99\x3a"
  21023. "\x4b\x24\x52\x58\x55\xe1\x49\x14",
  21024. .clen = 735,
  21025. }
  21026. };
  21027. static const struct aead_testvec aes_gcm_rfc4106_tv_template[] = {
  21028. { /* Generated using Crypto++ */
  21029. .key = zeroed_string,
  21030. .klen = 20,
  21031. .iv = zeroed_string,
  21032. .ptext = zeroed_string,
  21033. .plen = 16,
  21034. .assoc = zeroed_string,
  21035. .alen = 16,
  21036. .ctext = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
  21037. "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
  21038. "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
  21039. "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
  21040. .clen = 32,
  21041. },{
  21042. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  21043. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  21044. "\x00\x00\x00\x00",
  21045. .klen = 20,
  21046. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  21047. .ptext = zeroed_string,
  21048. .plen = 16,
  21049. .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
  21050. "\x00\x00\x00\x00\x00\x00\x00\x01",
  21051. .alen = 16,
  21052. .ctext = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
  21053. "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
  21054. "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
  21055. "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
  21056. .clen = 32,
  21057. }, {
  21058. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  21059. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  21060. "\x00\x00\x00\x00",
  21061. .klen = 20,
  21062. .iv = zeroed_string,
  21063. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  21064. "\x01\x01\x01\x01\x01\x01\x01\x01",
  21065. .plen = 16,
  21066. .assoc = zeroed_string,
  21067. .alen = 16,
  21068. .ctext = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
  21069. "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
  21070. "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
  21071. "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
  21072. .clen = 32,
  21073. }, {
  21074. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  21075. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  21076. "\x00\x00\x00\x00",
  21077. .klen = 20,
  21078. .iv = zeroed_string,
  21079. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  21080. "\x01\x01\x01\x01\x01\x01\x01\x01",
  21081. .plen = 16,
  21082. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  21083. "\x00\x00\x00\x00\x00\x00\x00\x00",
  21084. .alen = 16,
  21085. .ctext = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
  21086. "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
  21087. "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
  21088. "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
  21089. .clen = 32,
  21090. }, {
  21091. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  21092. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  21093. "\x00\x00\x00\x00",
  21094. .klen = 20,
  21095. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  21096. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  21097. "\x01\x01\x01\x01\x01\x01\x01\x01",
  21098. .plen = 16,
  21099. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  21100. "\x00\x00\x00\x00\x00\x00\x00\x01",
  21101. .alen = 16,
  21102. .ctext = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
  21103. "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
  21104. "\x64\x50\xF9\x32\x13\xFB\x74\x61"
  21105. "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
  21106. .clen = 32,
  21107. }, {
  21108. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  21109. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  21110. "\x00\x00\x00\x00",
  21111. .klen = 20,
  21112. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  21113. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  21114. "\x01\x01\x01\x01\x01\x01\x01\x01"
  21115. "\x01\x01\x01\x01\x01\x01\x01\x01"
  21116. "\x01\x01\x01\x01\x01\x01\x01\x01"
  21117. "\x01\x01\x01\x01\x01\x01\x01\x01"
  21118. "\x01\x01\x01\x01\x01\x01\x01\x01"
  21119. "\x01\x01\x01\x01\x01\x01\x01\x01"
  21120. "\x01\x01\x01\x01\x01\x01\x01\x01",
  21121. .plen = 64,
  21122. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  21123. "\x00\x00\x00\x00\x00\x00\x00\x01",
  21124. .alen = 16,
  21125. .ctext = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
  21126. "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
  21127. "\x98\x14\xA1\x42\x37\x80\xFD\x90"
  21128. "\x68\x12\x01\xA8\x91\x89\xB9\x83"
  21129. "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
  21130. "\x94\x5F\x18\x12\xBA\x27\x09\x39"
  21131. "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
  21132. "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
  21133. "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
  21134. "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
  21135. .clen = 80,
  21136. }, {
  21137. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  21138. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  21139. "\x00\x00\x00\x00",
  21140. .klen = 20,
  21141. .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
  21142. .ptext = "\xff\xff\xff\xff\xff\xff\xff\xff"
  21143. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21144. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21145. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21146. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21147. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21148. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21149. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21150. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21151. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21152. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21153. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21154. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21155. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21156. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21157. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21158. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21159. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21160. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21161. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21162. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21163. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21164. "\xff\xff\xff\xff\xff\xff\xff\xff"
  21165. "\xff\xff\xff\xff\xff\xff\xff\xff",
  21166. .plen = 192,
  21167. .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  21168. "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
  21169. "\x89\xab\xcd\xef",
  21170. .alen = 20,
  21171. .ctext = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
  21172. "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
  21173. "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
  21174. "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
  21175. "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
  21176. "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
  21177. "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
  21178. "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
  21179. "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
  21180. "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
  21181. "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
  21182. "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
  21183. "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
  21184. "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
  21185. "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
  21186. "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
  21187. "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
  21188. "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
  21189. "\x7E\x13\x06\x82\x08\x17\xA4\x35"
  21190. "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
  21191. "\xA3\x05\x38\x95\x20\x1A\x47\x04"
  21192. "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
  21193. "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
  21194. "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
  21195. "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
  21196. "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
  21197. .clen = 208,
  21198. }, { /* From draft-mcgrew-gcm-test-01 */
  21199. .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
  21200. "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
  21201. "\x2E\x44\x3B\x68",
  21202. .klen = 20,
  21203. .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
  21204. .ptext = "\x45\x00\x00\x48\x69\x9A\x00\x00"
  21205. "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
  21206. "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
  21207. "\x38\xD3\x01\x00\x00\x01\x00\x00"
  21208. "\x00\x00\x00\x00\x04\x5F\x73\x69"
  21209. "\x70\x04\x5F\x75\x64\x70\x03\x73"
  21210. "\x69\x70\x09\x63\x79\x62\x65\x72"
  21211. "\x63\x69\x74\x79\x02\x64\x6B\x00"
  21212. "\x00\x21\x00\x01\x01\x02\x02\x01",
  21213. .plen = 72,
  21214. .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
  21215. "\x00\x00\x00\x00\x49\x56\xED\x7E"
  21216. "\x3B\x24\x4C\xFE",
  21217. .alen = 20,
  21218. .ctext = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
  21219. "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
  21220. "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
  21221. "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
  21222. "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
  21223. "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
  21224. "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
  21225. "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
  21226. "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
  21227. "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
  21228. "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
  21229. .clen = 88,
  21230. }, {
  21231. .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  21232. "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
  21233. "\xCA\xFE\xBA\xBE",
  21234. .klen = 20,
  21235. .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  21236. .ptext = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
  21237. "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
  21238. "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
  21239. "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
  21240. "\x00\x01\x00\x00\x00\x00\x00\x00"
  21241. "\x03\x73\x69\x70\x09\x63\x79\x62"
  21242. "\x65\x72\x63\x69\x74\x79\x02\x64"
  21243. "\x6B\x00\x00\x01\x00\x01\x00\x01",
  21244. .plen = 64,
  21245. .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
  21246. "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  21247. .alen = 16,
  21248. .ctext = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
  21249. "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
  21250. "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
  21251. "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
  21252. "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
  21253. "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
  21254. "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
  21255. "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
  21256. "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
  21257. "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
  21258. .clen = 80,
  21259. }, {
  21260. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21261. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21262. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21263. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21264. "\x11\x22\x33\x44",
  21265. .klen = 36,
  21266. .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
  21267. .ptext = "\x45\x00\x00\x30\x69\xA6\x40\x00"
  21268. "\x80\x06\x26\x90\xC0\xA8\x01\x02"
  21269. "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
  21270. "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
  21271. "\x70\x02\x40\x00\x20\xBF\x00\x00"
  21272. "\x02\x04\x05\xB4\x01\x01\x04\x02"
  21273. "\x01\x02\x02\x01",
  21274. .plen = 52,
  21275. .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
  21276. "\x01\x02\x03\x04\x05\x06\x07\x08",
  21277. .alen = 16,
  21278. .ctext = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
  21279. "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
  21280. "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
  21281. "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
  21282. "\x74\x8A\x63\x79\x85\x77\x1D\x34"
  21283. "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
  21284. "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
  21285. "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
  21286. "\x15\x95\x6C\x96",
  21287. .clen = 68,
  21288. }, {
  21289. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  21290. "\x00\x00\x00\x00\x00\x00\x00\x00"
  21291. "\x00\x00\x00\x00",
  21292. .klen = 20,
  21293. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  21294. .ptext = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
  21295. "\x80\x01\xCB\x7A\x40\x67\x93\x18"
  21296. "\x01\x01\x01\x01\x08\x00\x07\x5C"
  21297. "\x02\x00\x44\x00\x61\x62\x63\x64"
  21298. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  21299. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  21300. "\x75\x76\x77\x61\x62\x63\x64\x65"
  21301. "\x66\x67\x68\x69\x01\x02\x02\x01",
  21302. .plen = 64,
  21303. .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
  21304. "\x00\x00\x00\x00\x00\x00\x00\x00",
  21305. .alen = 16,
  21306. .ctext = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
  21307. "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
  21308. "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
  21309. "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
  21310. "\x45\x64\x76\x49\x27\x19\xFF\xB6"
  21311. "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
  21312. "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
  21313. "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
  21314. "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
  21315. "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
  21316. .clen = 80,
  21317. }, {
  21318. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  21319. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  21320. "\x57\x69\x0E\x43",
  21321. .klen = 20,
  21322. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  21323. .ptext = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
  21324. "\x80\x01\xCB\x7C\x40\x67\x93\x18"
  21325. "\x01\x01\x01\x01\x08\x00\x08\x5C"
  21326. "\x02\x00\x43\x00\x61\x62\x63\x64"
  21327. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  21328. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  21329. "\x75\x76\x77\x61\x62\x63\x64\x65"
  21330. "\x66\x67\x68\x69\x01\x02\x02\x01",
  21331. .plen = 64,
  21332. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  21333. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  21334. "\xA2\xFC\xA1\xA3",
  21335. .alen = 20,
  21336. .ctext = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
  21337. "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
  21338. "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
  21339. "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
  21340. "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
  21341. "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
  21342. "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
  21343. "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
  21344. "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
  21345. "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
  21346. .clen = 80,
  21347. }, {
  21348. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  21349. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  21350. "\x57\x69\x0E\x43",
  21351. .klen = 20,
  21352. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  21353. .ptext = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
  21354. "\x80\x01\x44\x1F\x40\x67\x93\xB6"
  21355. "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
  21356. "\x01\x02\x02\x01",
  21357. .plen = 28,
  21358. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  21359. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  21360. "\xA2\xFC\xA1\xA3",
  21361. .alen = 20,
  21362. .ctext = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
  21363. "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
  21364. "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
  21365. "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
  21366. "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
  21367. "\xE7\xD0\x5D\x35",
  21368. .clen = 44,
  21369. }, {
  21370. .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  21371. "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
  21372. "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  21373. "\xCA\xFE\xBA\xBE",
  21374. .klen = 28,
  21375. .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  21376. .ptext = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
  21377. "\x40\x06\x78\x80\x0A\x01\x03\x8F"
  21378. "\x0A\x01\x06\x12\x80\x23\x06\xB8"
  21379. "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
  21380. "\x50\x10\x16\xD0\x75\x68\x00\x01",
  21381. .plen = 40,
  21382. .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
  21383. "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  21384. .alen = 16,
  21385. .ctext = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
  21386. "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
  21387. "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
  21388. "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
  21389. "\x31\x5B\x27\x45\x21\x44\xCC\x77"
  21390. "\x95\x45\x7B\x96\x52\x03\x7F\x53"
  21391. "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
  21392. .clen = 56,
  21393. }, {
  21394. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21395. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21396. "\xDE\xCA\xF8\x88",
  21397. .klen = 20,
  21398. .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
  21399. .ptext = "\x45\x00\x00\x49\x33\xBA\x00\x00"
  21400. "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
  21401. "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
  21402. "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
  21403. "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
  21404. "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
  21405. "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
  21406. "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
  21407. "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
  21408. "\x23\x01\x01\x01",
  21409. .plen = 76,
  21410. .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
  21411. "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
  21412. "\xCE\xFA\xCE\x74",
  21413. .alen = 20,
  21414. .ctext = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
  21415. "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
  21416. "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
  21417. "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
  21418. "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
  21419. "\x84\xE6\x58\x63\x96\x5D\x74\x72"
  21420. "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
  21421. "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
  21422. "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
  21423. "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
  21424. "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
  21425. "\x69\x62\x34\x36",
  21426. .clen = 92,
  21427. }, {
  21428. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21429. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21430. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21431. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21432. "\x73\x61\x6C\x74",
  21433. .klen = 36,
  21434. .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
  21435. .ptext = "\x45\x08\x00\x28\x73\x2C\x00\x00"
  21436. "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
  21437. "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
  21438. "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
  21439. "\x50\x10\x1F\x64\x6D\x54\x00\x01",
  21440. .plen = 40,
  21441. .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
  21442. "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
  21443. "\x69\x76\x65\x63",
  21444. .alen = 20,
  21445. .ctext = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
  21446. "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
  21447. "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
  21448. "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
  21449. "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
  21450. "\x45\x16\x26\xC2\x41\x57\x71\xE3"
  21451. "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
  21452. .clen = 56,
  21453. }, {
  21454. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  21455. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  21456. "\x57\x69\x0E\x43",
  21457. .klen = 20,
  21458. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  21459. .ptext = "\x45\x00\x00\x49\x33\x3E\x00\x00"
  21460. "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
  21461. "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
  21462. "\x00\x35\xCB\x45\x80\x03\x02\x5B"
  21463. "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
  21464. "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
  21465. "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
  21466. "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
  21467. "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
  21468. "\x15\x01\x01\x01",
  21469. .plen = 76,
  21470. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  21471. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  21472. "\xA2\xFC\xA1\xA3",
  21473. .alen = 20,
  21474. .ctext = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
  21475. "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
  21476. "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
  21477. "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
  21478. "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
  21479. "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
  21480. "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
  21481. "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
  21482. "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
  21483. "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
  21484. "\x76\x91\x89\x60\x97\x63\xB8\xE1"
  21485. "\x8C\xAA\x81\xE2",
  21486. .clen = 92,
  21487. }, {
  21488. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21489. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21490. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21491. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21492. "\x73\x61\x6C\x74",
  21493. .klen = 36,
  21494. .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
  21495. .ptext = "\x63\x69\x73\x63\x6F\x01\x72\x75"
  21496. "\x6C\x65\x73\x01\x74\x68\x65\x01"
  21497. "\x6E\x65\x74\x77\x65\x01\x64\x65"
  21498. "\x66\x69\x6E\x65\x01\x74\x68\x65"
  21499. "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
  21500. "\x67\x69\x65\x73\x01\x74\x68\x61"
  21501. "\x74\x77\x69\x6C\x6C\x01\x64\x65"
  21502. "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
  21503. "\x72\x72\x6F\x77\x01\x02\x02\x01",
  21504. .plen = 72,
  21505. .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
  21506. "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
  21507. "\x69\x76\x65\x63",
  21508. .alen = 20,
  21509. .ctext = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
  21510. "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
  21511. "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
  21512. "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
  21513. "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
  21514. "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
  21515. "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
  21516. "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
  21517. "\x12\xA4\x93\x63\x41\x23\x64\xF8"
  21518. "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
  21519. "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
  21520. .clen = 88,
  21521. }, {
  21522. .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
  21523. "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
  21524. "\xD9\x66\x42\x67",
  21525. .klen = 20,
  21526. .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
  21527. .ptext = "\x01\x02\x02\x01",
  21528. .plen = 4,
  21529. .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
  21530. "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
  21531. .alen = 16,
  21532. .ctext = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
  21533. "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
  21534. "\x04\xBE\xF2\x70",
  21535. .clen = 20,
  21536. }, {
  21537. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  21538. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  21539. "\xDE\xCA\xF8\x88",
  21540. .klen = 20,
  21541. .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
  21542. .ptext = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
  21543. "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
  21544. "\x62\x65\x00\x01",
  21545. .plen = 20,
  21546. .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
  21547. "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
  21548. "\xCE\xFA\xCE\x74",
  21549. .alen = 20,
  21550. .ctext = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
  21551. "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
  21552. "\x43\x33\x21\x64\x41\x25\x03\x52"
  21553. "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
  21554. "\x43\xAF\x8C\x3E",
  21555. .clen = 36,
  21556. }, {
  21557. .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
  21558. "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
  21559. "\x61\x61\x6E\x64\x64\x6F\x69\x74"
  21560. "\x62\x65\x66\x6F\x72\x65\x69\x61"
  21561. "\x74\x75\x72\x6E",
  21562. .klen = 36,
  21563. .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
  21564. .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
  21565. "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
  21566. "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
  21567. "\x02\x00\x07\x00\x61\x62\x63\x64"
  21568. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  21569. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  21570. "\x01\x02\x02\x01",
  21571. .plen = 52,
  21572. .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
  21573. "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
  21574. "\x67\x65\x74\x6D",
  21575. .alen = 20,
  21576. .ctext = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
  21577. "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
  21578. "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
  21579. "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
  21580. "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
  21581. "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
  21582. "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
  21583. "\x94\x5F\x66\x93\x68\x66\x1A\x32"
  21584. "\x9F\xB4\xC0\x53",
  21585. .clen = 68,
  21586. }, {
  21587. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  21588. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  21589. "\x57\x69\x0E\x43",
  21590. .klen = 20,
  21591. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  21592. .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
  21593. "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
  21594. "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
  21595. "\x02\x00\x07\x00\x61\x62\x63\x64"
  21596. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  21597. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  21598. "\x01\x02\x02\x01",
  21599. .plen = 52,
  21600. .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
  21601. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  21602. "\xA2\xFC\xA1\xA3",
  21603. .alen = 20,
  21604. .ctext = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
  21605. "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
  21606. "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
  21607. "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
  21608. "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
  21609. "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
  21610. "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
  21611. "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
  21612. "\x40\xD7\xCB\x05",
  21613. .clen = 68,
  21614. }, {
  21615. .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
  21616. "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
  21617. "\x22\x43\x3C\x64",
  21618. .klen = 20,
  21619. .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
  21620. .ptext = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
  21621. "\x61\x62\x63\x64\x65\x66\x67\x68"
  21622. "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
  21623. "\x71\x72\x73\x74\x01\x02\x02\x01",
  21624. .plen = 32,
  21625. .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
  21626. "\x00\x00\x00\x07\x48\x55\xEC\x7D"
  21627. "\x3A\x23\x4B\xFD",
  21628. .alen = 20,
  21629. .ctext = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
  21630. "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
  21631. "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
  21632. "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
  21633. "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
  21634. "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
  21635. .clen = 48,
  21636. }
  21637. };
  21638. static const struct aead_testvec aes_gcm_rfc4543_tv_template[] = {
  21639. { /* From draft-mcgrew-gcm-test-01 */
  21640. .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
  21641. "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
  21642. "\x22\x43\x3c\x64",
  21643. .klen = 20,
  21644. .iv = zeroed_string,
  21645. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
  21646. "\x00\x00\x00\x00\x00\x00\x00\x00",
  21647. .alen = 16,
  21648. .ptext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
  21649. "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
  21650. "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
  21651. "\x02\x00\x07\x00\x61\x62\x63\x64"
  21652. "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
  21653. "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
  21654. "\x01\x02\x02\x01",
  21655. .plen = 52,
  21656. .ctext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
  21657. "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
  21658. "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
  21659. "\x02\x00\x07\x00\x61\x62\x63\x64"
  21660. "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
  21661. "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
  21662. "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
  21663. "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
  21664. "\xe4\x09\x9a\xaa",
  21665. .clen = 68,
  21666. }, { /* nearly same as previous, but should fail */
  21667. .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
  21668. "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
  21669. "\x22\x43\x3c\x64",
  21670. .klen = 20,
  21671. .iv = zeroed_string,
  21672. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
  21673. "\x00\x00\x00\x00\x00\x00\x00\x00",
  21674. .alen = 16,
  21675. .ptext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
  21676. "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
  21677. "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
  21678. "\x02\x00\x07\x00\x61\x62\x63\x64"
  21679. "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
  21680. "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
  21681. "\x01\x02\x02\x01",
  21682. .plen = 52,
  21683. .novrfy = 1,
  21684. .ctext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
  21685. "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
  21686. "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
  21687. "\x02\x00\x07\x00\x61\x62\x63\x64"
  21688. "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
  21689. "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
  21690. "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
  21691. "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
  21692. "\x00\x00\x00\x00",
  21693. .clen = 68,
  21694. },
  21695. };
  21696. static const struct aead_testvec aes_ccm_tv_template[] = {
  21697. { /* From RFC 3610 */
  21698. .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  21699. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
  21700. .klen = 16,
  21701. .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
  21702. "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
  21703. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
  21704. .alen = 8,
  21705. .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  21706. "\x10\x11\x12\x13\x14\x15\x16\x17"
  21707. "\x18\x19\x1a\x1b\x1c\x1d\x1e",
  21708. .plen = 23,
  21709. .ctext = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
  21710. "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
  21711. "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
  21712. "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
  21713. .clen = 31,
  21714. }, {
  21715. .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  21716. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
  21717. .klen = 16,
  21718. .iv = "\x01\x00\x00\x00\x07\x06\x05\x04"
  21719. "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
  21720. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  21721. "\x08\x09\x0a\x0b",
  21722. .alen = 12,
  21723. .ptext = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
  21724. "\x14\x15\x16\x17\x18\x19\x1a\x1b"
  21725. "\x1c\x1d\x1e\x1f",
  21726. .plen = 20,
  21727. .ctext = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
  21728. "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
  21729. "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
  21730. "\x7d\x9c\x2d\x93",
  21731. .clen = 28,
  21732. }, {
  21733. .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  21734. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
  21735. .klen = 16,
  21736. .iv = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
  21737. "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
  21738. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
  21739. .alen = 8,
  21740. .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  21741. "\x10\x11\x12\x13\x14\x15\x16\x17"
  21742. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  21743. "\x20",
  21744. .plen = 25,
  21745. .ctext = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
  21746. "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
  21747. "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
  21748. "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
  21749. "\x7e\x5f\x4e",
  21750. .clen = 35,
  21751. }, {
  21752. .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  21753. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
  21754. .klen = 16,
  21755. .iv = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
  21756. "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
  21757. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  21758. "\x08\x09\x0a\x0b",
  21759. .alen = 12,
  21760. .ptext = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
  21761. "\x14\x15\x16\x17\x18\x19\x1a\x1b"
  21762. "\x1c\x1d\x1e",
  21763. .plen = 19,
  21764. .ctext = "\x07\x34\x25\x94\x15\x77\x85\x15"
  21765. "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
  21766. "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
  21767. "\x4d\x99\x99\x88\xdd",
  21768. .clen = 29,
  21769. }, {
  21770. .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
  21771. "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
  21772. .klen = 16,
  21773. .iv = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
  21774. "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
  21775. .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
  21776. .alen = 8,
  21777. .ptext = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
  21778. "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
  21779. "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
  21780. .plen = 24,
  21781. .ctext = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
  21782. "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
  21783. "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
  21784. "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
  21785. .clen = 32,
  21786. }, {
  21787. .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
  21788. "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
  21789. .klen = 16,
  21790. .iv = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
  21791. "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
  21792. .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
  21793. "\x20\xea\x60\xc0",
  21794. .alen = 12,
  21795. .ptext = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
  21796. "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
  21797. "\x3a\x80\x3b\xa8\x7f",
  21798. .plen = 21,
  21799. .ctext = "\x00\x97\x69\xec\xab\xdf\x48\x62"
  21800. "\x55\x94\xc5\x92\x51\xe6\x03\x57"
  21801. "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
  21802. "\x5a\xe0\x70\x45\x51",
  21803. .clen = 29,
  21804. }, {
  21805. .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
  21806. "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
  21807. .klen = 16,
  21808. .iv = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
  21809. "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
  21810. .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
  21811. .alen = 8,
  21812. .ptext = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
  21813. "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
  21814. "\x98\x09\xd6\x7d\xbe\xdd\x18",
  21815. .plen = 23,
  21816. .ctext = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
  21817. "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
  21818. "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
  21819. "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
  21820. "\xba",
  21821. .clen = 33,
  21822. }, {
  21823. /* This is taken from FIPS CAVS. */
  21824. .key = "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
  21825. "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
  21826. .klen = 16,
  21827. .iv = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
  21828. .alen = 0,
  21829. .ptext = "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
  21830. "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
  21831. "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
  21832. "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
  21833. .plen = 32,
  21834. .ctext = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
  21835. "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
  21836. "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
  21837. "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
  21838. "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
  21839. "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
  21840. .clen = 48,
  21841. }, {
  21842. .key = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
  21843. "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
  21844. .klen = 16,
  21845. .iv = "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
  21846. "\x30\x60\x15\x56\x00\x00\x00\x00",
  21847. .assoc = "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
  21848. "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
  21849. "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
  21850. "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
  21851. .alen = 32,
  21852. .ptext = "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
  21853. "\xa9\x28\x63\xba\x12\xa3\x14\x85"
  21854. "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
  21855. "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
  21856. .plen = 32,
  21857. .ctext = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
  21858. "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
  21859. "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
  21860. "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
  21861. "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
  21862. "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
  21863. .clen = 48,
  21864. }, {
  21865. .key = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
  21866. "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
  21867. "\x53\x14\x73\x66\x8d\x88\xf6\x80",
  21868. .klen = 24,
  21869. .iv = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
  21870. "\x50\x20\xda\xe2\x00\x00\x00\x00",
  21871. .assoc = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
  21872. "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
  21873. "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
  21874. "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
  21875. .alen = 32,
  21876. .ctext = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
  21877. "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
  21878. .clen = 16,
  21879. }, {
  21880. .key = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
  21881. "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
  21882. "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
  21883. .klen = 24,
  21884. .iv = "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
  21885. "\xef\x09\x2e\x94\x00\x00\x00\x00",
  21886. .assoc = "\x02\x65\x78\x3c\xe9\x21\x30\x91"
  21887. "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
  21888. "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
  21889. "\xe3\x00\x73\x69\x84\x69\x87\x79",
  21890. .alen = 32,
  21891. .ptext = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
  21892. "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
  21893. "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
  21894. "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
  21895. .plen = 32,
  21896. .ctext = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
  21897. "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
  21898. "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
  21899. "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
  21900. "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
  21901. "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
  21902. .clen = 48,
  21903. }, {
  21904. .key = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
  21905. "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
  21906. "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
  21907. "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
  21908. .klen = 32,
  21909. .iv = "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
  21910. "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
  21911. .assoc = "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
  21912. "\x78\x2b\x94\x02\x29\x0f\x42\x27"
  21913. "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
  21914. "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
  21915. .alen = 32,
  21916. .ptext = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
  21917. "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
  21918. "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
  21919. "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
  21920. .plen = 32,
  21921. .ctext = "\x19\xb8\x61\x33\x45\x2b\x43\x96"
  21922. "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
  21923. "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
  21924. "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
  21925. "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
  21926. .clen = 40,
  21927. }, {
  21928. .key = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
  21929. "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
  21930. "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
  21931. "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
  21932. .klen = 32,
  21933. .iv = "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
  21934. "\x43\xf6\x1e\x50\0\0\0\0",
  21935. .assoc = "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
  21936. "\x13\x02\x01\x0c\x83\x4c\x96\x35"
  21937. "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
  21938. "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
  21939. .alen = 32,
  21940. .ptext = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
  21941. "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
  21942. "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
  21943. "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
  21944. .plen = 32,
  21945. .ctext = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
  21946. "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
  21947. "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
  21948. "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
  21949. "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
  21950. "\x7b\x72\x8a\xf7",
  21951. .clen = 44,
  21952. }, {
  21953. .key = "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
  21954. "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
  21955. "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
  21956. "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
  21957. .klen = 32,
  21958. .iv = "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
  21959. "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
  21960. .assoc = "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
  21961. "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
  21962. "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
  21963. "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
  21964. .alen = 32,
  21965. .ptext = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
  21966. "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
  21967. "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
  21968. "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
  21969. .plen = 32,
  21970. .ctext = "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
  21971. "\xef\xbb\x80\x21\x04\x6c\x58\x09"
  21972. "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
  21973. "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
  21974. "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
  21975. "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
  21976. .clen = 48,
  21977. }, {
  21978. /* This is taken from FIPS CAVS. */
  21979. .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
  21980. "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
  21981. .klen = 16,
  21982. .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
  21983. "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
  21984. .alen = 0,
  21985. .ptext = "\x00",
  21986. .plen = 0,
  21987. .ctext = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
  21988. .clen = 8,
  21989. .novrfy = 1,
  21990. }, {
  21991. .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
  21992. "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
  21993. .klen = 16,
  21994. .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81"
  21995. "\x7f\x88\x94\x68\x00\x00\x00\x00",
  21996. .alen = 0,
  21997. .ptext = "\x00",
  21998. .plen = 0,
  21999. .ctext = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
  22000. .clen = 8,
  22001. }, {
  22002. .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
  22003. "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
  22004. .klen = 16,
  22005. .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
  22006. "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
  22007. .assoc = "\xf3\x94\x87\x78\x35\x82\x81\x7f"
  22008. "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
  22009. "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
  22010. "\xd8\x94\x99\x91\x81\x54\x62\x57",
  22011. .alen = 32,
  22012. .ptext = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
  22013. "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
  22014. "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
  22015. "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
  22016. .plen = 32,
  22017. .ctext = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
  22018. "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
  22019. "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
  22020. "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
  22021. "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
  22022. "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
  22023. .clen = 48,
  22024. .novrfy = 1,
  22025. }, {
  22026. .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
  22027. "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
  22028. .klen = 16,
  22029. .iv = "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
  22030. "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
  22031. .assoc = "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
  22032. "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
  22033. "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
  22034. "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
  22035. .alen = 32,
  22036. .ptext = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
  22037. "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
  22038. "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
  22039. "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
  22040. .plen = 32,
  22041. .ctext = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
  22042. "\xad\x83\x52\x6d\x71\x03\x25\x1c"
  22043. "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
  22044. "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
  22045. "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
  22046. "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
  22047. .clen = 48,
  22048. }, {
  22049. .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
  22050. "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
  22051. "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
  22052. .klen = 24,
  22053. .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
  22054. "\x57\xba\xfd\x9e\x00\x00\x00\x00",
  22055. .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
  22056. "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
  22057. "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
  22058. "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
  22059. .alen = 32,
  22060. .ptext = "\x00",
  22061. .plen = 0,
  22062. .ctext = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
  22063. .clen = 8,
  22064. }, {
  22065. .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
  22066. "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
  22067. "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
  22068. .klen = 24,
  22069. .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
  22070. "\x57\xba\xfd\x9e\x00\x00\x00\x00",
  22071. .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
  22072. "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
  22073. "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
  22074. "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
  22075. .alen = 32,
  22076. .ptext = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
  22077. "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
  22078. "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
  22079. "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
  22080. .plen = 32,
  22081. .ctext = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
  22082. "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
  22083. "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
  22084. "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
  22085. "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
  22086. .clen = 40,
  22087. }, {
  22088. .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
  22089. "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
  22090. "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
  22091. .klen = 24,
  22092. .iv = "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
  22093. "\xad\x71\xaa\x1f\x00\x00\x00\x00",
  22094. .assoc = "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
  22095. "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
  22096. "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
  22097. "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
  22098. .alen = 32,
  22099. .ptext = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
  22100. "\x99\x2a\xa8\xca\x04\x25\x45\x90"
  22101. "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
  22102. "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
  22103. .plen = 32,
  22104. .ctext = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
  22105. "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
  22106. "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
  22107. "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
  22108. "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
  22109. "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
  22110. .clen = 48,
  22111. .novrfy = 1,
  22112. }, {
  22113. .key = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
  22114. "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
  22115. "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
  22116. "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
  22117. .klen = 32,
  22118. .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
  22119. "\x57\xba\xfd\x9e\x00\x00\x00\x00",
  22120. .alen = 0,
  22121. .ptext = "\x00",
  22122. .plen = 0,
  22123. .ctext = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
  22124. .clen = 8,
  22125. }, {
  22126. .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
  22127. "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
  22128. "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
  22129. "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
  22130. .klen = 32,
  22131. .iv = "\x03\x85\x34\x66\x42\xc8\x92\x0f"
  22132. "\x36\x58\xe0\x6b\x00\x00\x00\x00",
  22133. .alen = 0,
  22134. .ptext = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
  22135. "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
  22136. "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
  22137. "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
  22138. .plen = 32,
  22139. .ctext = "\x48\x01\x5e\x02\x24\x04\x66\x47"
  22140. "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
  22141. "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
  22142. "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
  22143. "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
  22144. "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
  22145. .clen = 48,
  22146. .novrfy = 1,
  22147. }, {
  22148. .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
  22149. "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
  22150. "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
  22151. "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
  22152. .klen = 32,
  22153. .iv = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
  22154. "\x44\x89\x40\x7b\x00\x00\x00\x00",
  22155. .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
  22156. "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
  22157. "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
  22158. "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
  22159. .alen = 32,
  22160. .ptext = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
  22161. "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
  22162. "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
  22163. "\x04\x49\x3b\x19\x93\x57\x25\x5d",
  22164. .plen = 32,
  22165. .ctext = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
  22166. "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
  22167. "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
  22168. "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
  22169. "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
  22170. "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
  22171. .clen = 48,
  22172. },
  22173. };
  22174. /*
  22175. * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
  22176. * use a 13-byte nonce, we only support an 11-byte nonce. Worse,
  22177. * they use AD lengths which are not valid ESP header lengths.
  22178. *
  22179. * These vectors are copied/generated from the ones for rfc4106 with
  22180. * the key truncated by one byte..
  22181. */
  22182. static const struct aead_testvec aes_ccm_rfc4309_tv_template[] = {
  22183. { /* Generated using Crypto++ */
  22184. .key = zeroed_string,
  22185. .klen = 19,
  22186. .iv = zeroed_string,
  22187. .ptext = zeroed_string,
  22188. .plen = 16,
  22189. .assoc = zeroed_string,
  22190. .alen = 16,
  22191. .ctext = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
  22192. "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
  22193. "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
  22194. "\x27\x50\x01\xAC\x03\x33\x39\xFB",
  22195. .clen = 32,
  22196. },{
  22197. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  22198. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  22199. "\x00\x00\x00",
  22200. .klen = 19,
  22201. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  22202. .ptext = zeroed_string,
  22203. .plen = 16,
  22204. .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
  22205. "\x00\x00\x00\x00\x00\x00\x00\x01",
  22206. .alen = 16,
  22207. .ctext = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
  22208. "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
  22209. "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
  22210. "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
  22211. .clen = 32,
  22212. }, {
  22213. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  22214. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  22215. "\x00\x00\x00",
  22216. .klen = 19,
  22217. .iv = zeroed_string,
  22218. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  22219. "\x01\x01\x01\x01\x01\x01\x01\x01",
  22220. .plen = 16,
  22221. .assoc = zeroed_string,
  22222. .alen = 16,
  22223. .ctext = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
  22224. "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
  22225. "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
  22226. "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
  22227. .clen = 32,
  22228. }, {
  22229. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  22230. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  22231. "\x00\x00\x00",
  22232. .klen = 19,
  22233. .iv = zeroed_string,
  22234. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  22235. "\x01\x01\x01\x01\x01\x01\x01\x01",
  22236. .plen = 16,
  22237. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  22238. "\x00\x00\x00\x00\x00\x00\x00\x00",
  22239. .alen = 16,
  22240. .ctext = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
  22241. "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
  22242. "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
  22243. "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
  22244. .clen = 32,
  22245. }, {
  22246. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  22247. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  22248. "\x00\x00\x00",
  22249. .klen = 19,
  22250. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  22251. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  22252. "\x01\x01\x01\x01\x01\x01\x01\x01",
  22253. .plen = 16,
  22254. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  22255. "\x00\x00\x00\x00\x00\x00\x00\x01",
  22256. .alen = 16,
  22257. .ctext = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
  22258. "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
  22259. "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
  22260. "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
  22261. .clen = 32,
  22262. }, {
  22263. .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
  22264. "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
  22265. "\x00\x00\x00",
  22266. .klen = 19,
  22267. .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
  22268. .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
  22269. "\x01\x01\x01\x01\x01\x01\x01\x01"
  22270. "\x01\x01\x01\x01\x01\x01\x01\x01"
  22271. "\x01\x01\x01\x01\x01\x01\x01\x01"
  22272. "\x01\x01\x01\x01\x01\x01\x01\x01"
  22273. "\x01\x01\x01\x01\x01\x01\x01\x01"
  22274. "\x01\x01\x01\x01\x01\x01\x01\x01"
  22275. "\x01\x01\x01\x01\x01\x01\x01\x01",
  22276. .plen = 64,
  22277. .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
  22278. "\x00\x00\x00\x00\x00\x00\x00\x01",
  22279. .alen = 16,
  22280. .ctext = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
  22281. "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
  22282. "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
  22283. "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
  22284. "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
  22285. "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
  22286. "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
  22287. "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
  22288. "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
  22289. "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
  22290. .clen = 80,
  22291. }, {
  22292. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  22293. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  22294. "\x00\x00\x00",
  22295. .klen = 19,
  22296. .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
  22297. .ptext = "\xff\xff\xff\xff\xff\xff\xff\xff"
  22298. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22299. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22300. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22301. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22302. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22303. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22304. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22305. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22306. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22307. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22308. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22309. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22310. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22311. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22312. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22313. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22314. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22315. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22316. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22317. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22318. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22319. "\xff\xff\xff\xff\xff\xff\xff\xff"
  22320. "\xff\xff\xff\xff\xff\xff\xff\xff",
  22321. .plen = 192,
  22322. .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
  22323. "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
  22324. "\x89\xab\xcd\xef",
  22325. .alen = 20,
  22326. .ctext = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
  22327. "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
  22328. "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
  22329. "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
  22330. "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
  22331. "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
  22332. "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
  22333. "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
  22334. "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
  22335. "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
  22336. "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
  22337. "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
  22338. "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
  22339. "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
  22340. "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
  22341. "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
  22342. "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
  22343. "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
  22344. "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
  22345. "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
  22346. "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
  22347. "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
  22348. "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
  22349. "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
  22350. "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
  22351. "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
  22352. .clen = 208,
  22353. }, { /* From draft-mcgrew-gcm-test-01 */
  22354. .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
  22355. "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
  22356. "\x2E\x44\x3B",
  22357. .klen = 19,
  22358. .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
  22359. .ptext = "\x45\x00\x00\x48\x69\x9A\x00\x00"
  22360. "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
  22361. "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
  22362. "\x38\xD3\x01\x00\x00\x01\x00\x00"
  22363. "\x00\x00\x00\x00\x04\x5F\x73\x69"
  22364. "\x70\x04\x5F\x75\x64\x70\x03\x73"
  22365. "\x69\x70\x09\x63\x79\x62\x65\x72"
  22366. "\x63\x69\x74\x79\x02\x64\x6B\x00"
  22367. "\x00\x21\x00\x01\x01\x02\x02\x01",
  22368. .plen = 72,
  22369. .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
  22370. "\x00\x00\x00\x00\x49\x56\xED\x7E"
  22371. "\x3B\x24\x4C\xFE",
  22372. .alen = 20,
  22373. .ctext = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
  22374. "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
  22375. "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
  22376. "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
  22377. "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
  22378. "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
  22379. "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
  22380. "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
  22381. "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
  22382. "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
  22383. "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
  22384. .clen = 88,
  22385. }, {
  22386. .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  22387. "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
  22388. "\xCA\xFE\xBA",
  22389. .klen = 19,
  22390. .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  22391. .ptext = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
  22392. "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
  22393. "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
  22394. "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
  22395. "\x00\x01\x00\x00\x00\x00\x00\x00"
  22396. "\x03\x73\x69\x70\x09\x63\x79\x62"
  22397. "\x65\x72\x63\x69\x74\x79\x02\x64"
  22398. "\x6B\x00\x00\x01\x00\x01\x00\x01",
  22399. .plen = 64,
  22400. .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
  22401. "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  22402. .alen = 16,
  22403. .ctext = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
  22404. "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
  22405. "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
  22406. "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
  22407. "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
  22408. "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
  22409. "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
  22410. "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
  22411. "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
  22412. "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
  22413. .clen = 80,
  22414. }, {
  22415. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  22416. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  22417. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  22418. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  22419. "\x11\x22\x33",
  22420. .klen = 35,
  22421. .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
  22422. .ptext = "\x45\x00\x00\x30\x69\xA6\x40\x00"
  22423. "\x80\x06\x26\x90\xC0\xA8\x01\x02"
  22424. "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
  22425. "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
  22426. "\x70\x02\x40\x00\x20\xBF\x00\x00"
  22427. "\x02\x04\x05\xB4\x01\x01\x04\x02"
  22428. "\x01\x02\x02\x01",
  22429. .plen = 52,
  22430. .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
  22431. "\x01\x02\x03\x04\x05\x06\x07\x08",
  22432. .alen = 16,
  22433. .ctext = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
  22434. "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
  22435. "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
  22436. "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
  22437. "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
  22438. "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
  22439. "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
  22440. "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
  22441. "\x5A\x48\x6A\x3E",
  22442. .clen = 68,
  22443. }, {
  22444. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  22445. "\x00\x00\x00\x00\x00\x00\x00\x00"
  22446. "\x00\x00\x00",
  22447. .klen = 19,
  22448. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  22449. .ptext = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
  22450. "\x80\x01\xCB\x7A\x40\x67\x93\x18"
  22451. "\x01\x01\x01\x01\x08\x00\x07\x5C"
  22452. "\x02\x00\x44\x00\x61\x62\x63\x64"
  22453. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  22454. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  22455. "\x75\x76\x77\x61\x62\x63\x64\x65"
  22456. "\x66\x67\x68\x69\x01\x02\x02\x01",
  22457. .plen = 64,
  22458. .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
  22459. "\x00\x00\x00\x00\x00\x00\x00\x00",
  22460. .alen = 16,
  22461. .ctext = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
  22462. "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
  22463. "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
  22464. "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
  22465. "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
  22466. "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
  22467. "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
  22468. "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
  22469. "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
  22470. "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
  22471. .clen = 80,
  22472. }, {
  22473. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  22474. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  22475. "\x57\x69\x0E",
  22476. .klen = 19,
  22477. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  22478. .ptext = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
  22479. "\x80\x01\xCB\x7C\x40\x67\x93\x18"
  22480. "\x01\x01\x01\x01\x08\x00\x08\x5C"
  22481. "\x02\x00\x43\x00\x61\x62\x63\x64"
  22482. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  22483. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  22484. "\x75\x76\x77\x61\x62\x63\x64\x65"
  22485. "\x66\x67\x68\x69\x01\x02\x02\x01",
  22486. .plen = 64,
  22487. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  22488. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  22489. "\xA2\xFC\xA1\xA3",
  22490. .alen = 20,
  22491. .ctext = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
  22492. "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
  22493. "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
  22494. "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
  22495. "\x79\x01\x58\x50\x01\x06\xE1\xE0"
  22496. "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
  22497. "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
  22498. "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
  22499. "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
  22500. "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
  22501. .clen = 80,
  22502. }, {
  22503. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  22504. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  22505. "\x57\x69\x0E",
  22506. .klen = 19,
  22507. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  22508. .ptext = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
  22509. "\x80\x01\x44\x1F\x40\x67\x93\xB6"
  22510. "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
  22511. "\x01\x02\x02\x01",
  22512. .plen = 28,
  22513. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  22514. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  22515. "\xA2\xFC\xA1\xA3",
  22516. .alen = 20,
  22517. .ctext = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
  22518. "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
  22519. "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
  22520. "\xA1\xE5\x90\x40\x05\x37\x45\x70"
  22521. "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
  22522. "\x08\xB4\x22\xE4",
  22523. .clen = 44,
  22524. }, {
  22525. .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  22526. "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
  22527. "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
  22528. "\xCA\xFE\xBA",
  22529. .klen = 27,
  22530. .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  22531. .ptext = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
  22532. "\x40\x06\x78\x80\x0A\x01\x03\x8F"
  22533. "\x0A\x01\x06\x12\x80\x23\x06\xB8"
  22534. "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
  22535. "\x50\x10\x16\xD0\x75\x68\x00\x01",
  22536. .plen = 40,
  22537. .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
  22538. "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
  22539. .alen = 16,
  22540. .ctext = "\x05\x22\x15\xD1\x52\x56\x85\x04"
  22541. "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
  22542. "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
  22543. "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
  22544. "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
  22545. "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
  22546. "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
  22547. .clen = 56,
  22548. }, {
  22549. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  22550. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  22551. "\xDE\xCA\xF8",
  22552. .klen = 19,
  22553. .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
  22554. .ptext = "\x45\x00\x00\x49\x33\xBA\x00\x00"
  22555. "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
  22556. "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
  22557. "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
  22558. "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
  22559. "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
  22560. "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
  22561. "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
  22562. "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
  22563. "\x23\x01\x01\x01",
  22564. .plen = 76,
  22565. .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
  22566. "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
  22567. "\xCE\xFA\xCE\x74",
  22568. .alen = 20,
  22569. .ctext = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
  22570. "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
  22571. "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
  22572. "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
  22573. "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
  22574. "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
  22575. "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
  22576. "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
  22577. "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
  22578. "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
  22579. "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
  22580. "\x12\x25\x0B\xF9",
  22581. .clen = 92,
  22582. }, {
  22583. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  22584. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  22585. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  22586. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  22587. "\x73\x61\x6C",
  22588. .klen = 35,
  22589. .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
  22590. .ptext = "\x45\x08\x00\x28\x73\x2C\x00\x00"
  22591. "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
  22592. "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
  22593. "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
  22594. "\x50\x10\x1F\x64\x6D\x54\x00\x01",
  22595. .plen = 40,
  22596. .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
  22597. "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
  22598. "\x69\x76\x65\x63",
  22599. .alen = 20,
  22600. .ctext = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
  22601. "\x2C\x64\x87\x46\x1E\x34\x10\x05"
  22602. "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
  22603. "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
  22604. "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
  22605. "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
  22606. "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
  22607. .clen = 56,
  22608. }, {
  22609. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  22610. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  22611. "\x57\x69\x0E",
  22612. .klen = 19,
  22613. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  22614. .ptext = "\x45\x00\x00\x49\x33\x3E\x00\x00"
  22615. "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
  22616. "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
  22617. "\x00\x35\xCB\x45\x80\x03\x02\x5B"
  22618. "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
  22619. "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
  22620. "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
  22621. "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
  22622. "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
  22623. "\x15\x01\x01\x01",
  22624. .plen = 76,
  22625. .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
  22626. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  22627. "\xA2\xFC\xA1\xA3",
  22628. .alen = 20,
  22629. .ctext = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
  22630. "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
  22631. "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
  22632. "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
  22633. "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
  22634. "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
  22635. "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
  22636. "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
  22637. "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
  22638. "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
  22639. "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
  22640. "\xCC\xF7\x46\x6F",
  22641. .clen = 92,
  22642. }, {
  22643. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  22644. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  22645. "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  22646. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  22647. "\x73\x61\x6C",
  22648. .klen = 35,
  22649. .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
  22650. .ptext = "\x63\x69\x73\x63\x6F\x01\x72\x75"
  22651. "\x6C\x65\x73\x01\x74\x68\x65\x01"
  22652. "\x6E\x65\x74\x77\x65\x01\x64\x65"
  22653. "\x66\x69\x6E\x65\x01\x74\x68\x65"
  22654. "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
  22655. "\x67\x69\x65\x73\x01\x74\x68\x61"
  22656. "\x74\x77\x69\x6C\x6C\x01\x64\x65"
  22657. "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
  22658. "\x72\x72\x6F\x77\x01\x02\x02\x01",
  22659. .plen = 72,
  22660. .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
  22661. "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
  22662. "\x69\x76\x65\x63",
  22663. .alen = 20,
  22664. .ctext = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
  22665. "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
  22666. "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
  22667. "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
  22668. "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
  22669. "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
  22670. "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
  22671. "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
  22672. "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
  22673. "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
  22674. "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
  22675. .clen = 88,
  22676. }, {
  22677. .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
  22678. "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
  22679. "\xD9\x66\x42",
  22680. .klen = 19,
  22681. .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
  22682. .ptext = "\x01\x02\x02\x01",
  22683. .plen = 4,
  22684. .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
  22685. "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
  22686. .alen = 16,
  22687. .ctext = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
  22688. "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
  22689. "\xF7\x61\x24\x62",
  22690. .clen = 20,
  22691. }, {
  22692. .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
  22693. "\x34\x45\x56\x67\x78\x89\x9A\xAB"
  22694. "\xDE\xCA\xF8",
  22695. .klen = 19,
  22696. .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
  22697. .ptext = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
  22698. "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
  22699. "\x62\x65\x00\x01",
  22700. .plen = 20,
  22701. .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
  22702. "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
  22703. "\xCE\xFA\xCE\x74",
  22704. .alen = 20,
  22705. .ctext = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
  22706. "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
  22707. "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
  22708. "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
  22709. "\x17\x17\x65\xAD",
  22710. .clen = 36,
  22711. }, {
  22712. .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
  22713. "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
  22714. "\x61\x61\x6E\x64\x64\x6F\x69\x74"
  22715. "\x62\x65\x66\x6F\x72\x65\x69\x61"
  22716. "\x74\x75\x72",
  22717. .klen = 35,
  22718. .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
  22719. .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
  22720. "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
  22721. "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
  22722. "\x02\x00\x07\x00\x61\x62\x63\x64"
  22723. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  22724. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  22725. "\x01\x02\x02\x01",
  22726. .plen = 52,
  22727. .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
  22728. "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
  22729. "\x67\x65\x74\x6D",
  22730. .alen = 20,
  22731. .ctext = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
  22732. "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
  22733. "\x48\x59\x80\x18\x1A\x18\x1A\x04"
  22734. "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
  22735. "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
  22736. "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
  22737. "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
  22738. "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
  22739. "\x39\xDB\xC8\xDC",
  22740. .clen = 68,
  22741. }, {
  22742. .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
  22743. "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
  22744. "\x57\x69\x0E",
  22745. .klen = 19,
  22746. .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
  22747. .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
  22748. "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
  22749. "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
  22750. "\x02\x00\x07\x00\x61\x62\x63\x64"
  22751. "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
  22752. "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
  22753. "\x01\x02\x02\x01",
  22754. .plen = 52,
  22755. .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
  22756. "\x10\x10\x10\x10\x4E\x28\x00\x00"
  22757. "\xA2\xFC\xA1\xA3",
  22758. .alen = 20,
  22759. .ctext = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
  22760. "\x10\x60\x54\x25\xEB\x80\x04\x93"
  22761. "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
  22762. "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
  22763. "\x79\x01\x58\x50\x01\x06\xE1\xE0"
  22764. "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
  22765. "\x44\xCC\x90\xBF\x00\x94\x94\x92"
  22766. "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
  22767. "\xF4\x95\x5D\x4F",
  22768. .clen = 68,
  22769. }, {
  22770. .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
  22771. "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
  22772. "\x22\x43\x3C",
  22773. .klen = 19,
  22774. .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
  22775. .ptext = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
  22776. "\x61\x62\x63\x64\x65\x66\x67\x68"
  22777. "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
  22778. "\x71\x72\x73\x74\x01\x02\x02\x01",
  22779. .plen = 32,
  22780. .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
  22781. "\x00\x00\x00\x07\x48\x55\xEC\x7D"
  22782. "\x3A\x23\x4B\xFD",
  22783. .alen = 20,
  22784. .ctext = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
  22785. "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
  22786. "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
  22787. "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
  22788. "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
  22789. "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
  22790. .clen = 48,
  22791. }
  22792. };
  22793. /*
  22794. * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
  22795. */
  22796. static const struct aead_testvec rfc7539_tv_template[] = {
  22797. {
  22798. .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
  22799. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  22800. "\x90\x91\x92\x93\x94\x95\x96\x97"
  22801. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
  22802. .klen = 32,
  22803. .iv = "\x07\x00\x00\x00\x40\x41\x42\x43"
  22804. "\x44\x45\x46\x47",
  22805. .assoc = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
  22806. "\xc4\xc5\xc6\xc7",
  22807. .alen = 12,
  22808. .ptext = "\x4c\x61\x64\x69\x65\x73\x20\x61"
  22809. "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
  22810. "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
  22811. "\x74\x68\x65\x20\x63\x6c\x61\x73"
  22812. "\x73\x20\x6f\x66\x20\x27\x39\x39"
  22813. "\x3a\x20\x49\x66\x20\x49\x20\x63"
  22814. "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
  22815. "\x65\x72\x20\x79\x6f\x75\x20\x6f"
  22816. "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
  22817. "\x74\x69\x70\x20\x66\x6f\x72\x20"
  22818. "\x74\x68\x65\x20\x66\x75\x74\x75"
  22819. "\x72\x65\x2c\x20\x73\x75\x6e\x73"
  22820. "\x63\x72\x65\x65\x6e\x20\x77\x6f"
  22821. "\x75\x6c\x64\x20\x62\x65\x20\x69"
  22822. "\x74\x2e",
  22823. .plen = 114,
  22824. .ctext = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
  22825. "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
  22826. "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
  22827. "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
  22828. "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
  22829. "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
  22830. "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
  22831. "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
  22832. "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
  22833. "\x98\x03\xae\xe3\x28\x09\x1b\x58"
  22834. "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
  22835. "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
  22836. "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
  22837. "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
  22838. "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
  22839. "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
  22840. "\x06\x91",
  22841. .clen = 130,
  22842. }, {
  22843. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  22844. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  22845. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  22846. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  22847. .klen = 32,
  22848. .iv = "\x00\x00\x00\x00\x01\x02\x03\x04"
  22849. "\x05\x06\x07\x08",
  22850. .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
  22851. "\x00\x00\x4e\x91",
  22852. .alen = 12,
  22853. .ptext = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
  22854. "\x2d\x44\x72\x61\x66\x74\x73\x20"
  22855. "\x61\x72\x65\x20\x64\x72\x61\x66"
  22856. "\x74\x20\x64\x6f\x63\x75\x6d\x65"
  22857. "\x6e\x74\x73\x20\x76\x61\x6c\x69"
  22858. "\x64\x20\x66\x6f\x72\x20\x61\x20"
  22859. "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
  22860. "\x6f\x66\x20\x73\x69\x78\x20\x6d"
  22861. "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
  22862. "\x64\x20\x6d\x61\x79\x20\x62\x65"
  22863. "\x20\x75\x70\x64\x61\x74\x65\x64"
  22864. "\x2c\x20\x72\x65\x70\x6c\x61\x63"
  22865. "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
  22866. "\x62\x73\x6f\x6c\x65\x74\x65\x64"
  22867. "\x20\x62\x79\x20\x6f\x74\x68\x65"
  22868. "\x72\x20\x64\x6f\x63\x75\x6d\x65"
  22869. "\x6e\x74\x73\x20\x61\x74\x20\x61"
  22870. "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
  22871. "\x20\x49\x74\x20\x69\x73\x20\x69"
  22872. "\x6e\x61\x70\x70\x72\x6f\x70\x72"
  22873. "\x69\x61\x74\x65\x20\x74\x6f\x20"
  22874. "\x75\x73\x65\x20\x49\x6e\x74\x65"
  22875. "\x72\x6e\x65\x74\x2d\x44\x72\x61"
  22876. "\x66\x74\x73\x20\x61\x73\x20\x72"
  22877. "\x65\x66\x65\x72\x65\x6e\x63\x65"
  22878. "\x20\x6d\x61\x74\x65\x72\x69\x61"
  22879. "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
  22880. "\x63\x69\x74\x65\x20\x74\x68\x65"
  22881. "\x6d\x20\x6f\x74\x68\x65\x72\x20"
  22882. "\x74\x68\x61\x6e\x20\x61\x73\x20"
  22883. "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
  22884. "\x20\x69\x6e\x20\x70\x72\x6f\x67"
  22885. "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
  22886. "\x9d",
  22887. .plen = 265,
  22888. .ctext = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
  22889. "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
  22890. "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
  22891. "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
  22892. "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
  22893. "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
  22894. "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
  22895. "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
  22896. "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
  22897. "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
  22898. "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
  22899. "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
  22900. "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
  22901. "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
  22902. "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
  22903. "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
  22904. "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
  22905. "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
  22906. "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
  22907. "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
  22908. "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
  22909. "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
  22910. "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
  22911. "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
  22912. "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
  22913. "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
  22914. "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
  22915. "\x73\xa6\x72\x76\x27\x09\x7a\x10"
  22916. "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
  22917. "\xfa\x68\xf0\xff\x77\x98\x71\x30"
  22918. "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
  22919. "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
  22920. "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
  22921. "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
  22922. "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
  22923. "\x38",
  22924. .clen = 281,
  22925. },
  22926. };
  22927. /*
  22928. * draft-irtf-cfrg-chacha20-poly1305
  22929. */
  22930. static const struct aead_testvec rfc7539esp_tv_template[] = {
  22931. {
  22932. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  22933. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  22934. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  22935. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
  22936. "\x00\x00\x00\x00",
  22937. .klen = 36,
  22938. .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
  22939. .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
  22940. "\x00\x00\x4e\x91\x01\x02\x03\x04"
  22941. "\x05\x06\x07\x08",
  22942. .alen = 20,
  22943. .ptext = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
  22944. "\x2d\x44\x72\x61\x66\x74\x73\x20"
  22945. "\x61\x72\x65\x20\x64\x72\x61\x66"
  22946. "\x74\x20\x64\x6f\x63\x75\x6d\x65"
  22947. "\x6e\x74\x73\x20\x76\x61\x6c\x69"
  22948. "\x64\x20\x66\x6f\x72\x20\x61\x20"
  22949. "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
  22950. "\x6f\x66\x20\x73\x69\x78\x20\x6d"
  22951. "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
  22952. "\x64\x20\x6d\x61\x79\x20\x62\x65"
  22953. "\x20\x75\x70\x64\x61\x74\x65\x64"
  22954. "\x2c\x20\x72\x65\x70\x6c\x61\x63"
  22955. "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
  22956. "\x62\x73\x6f\x6c\x65\x74\x65\x64"
  22957. "\x20\x62\x79\x20\x6f\x74\x68\x65"
  22958. "\x72\x20\x64\x6f\x63\x75\x6d\x65"
  22959. "\x6e\x74\x73\x20\x61\x74\x20\x61"
  22960. "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
  22961. "\x20\x49\x74\x20\x69\x73\x20\x69"
  22962. "\x6e\x61\x70\x70\x72\x6f\x70\x72"
  22963. "\x69\x61\x74\x65\x20\x74\x6f\x20"
  22964. "\x75\x73\x65\x20\x49\x6e\x74\x65"
  22965. "\x72\x6e\x65\x74\x2d\x44\x72\x61"
  22966. "\x66\x74\x73\x20\x61\x73\x20\x72"
  22967. "\x65\x66\x65\x72\x65\x6e\x63\x65"
  22968. "\x20\x6d\x61\x74\x65\x72\x69\x61"
  22969. "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
  22970. "\x63\x69\x74\x65\x20\x74\x68\x65"
  22971. "\x6d\x20\x6f\x74\x68\x65\x72\x20"
  22972. "\x74\x68\x61\x6e\x20\x61\x73\x20"
  22973. "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
  22974. "\x20\x69\x6e\x20\x70\x72\x6f\x67"
  22975. "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
  22976. "\x9d",
  22977. .plen = 265,
  22978. .ctext = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
  22979. "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
  22980. "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
  22981. "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
  22982. "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
  22983. "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
  22984. "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
  22985. "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
  22986. "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
  22987. "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
  22988. "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
  22989. "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
  22990. "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
  22991. "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
  22992. "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
  22993. "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
  22994. "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
  22995. "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
  22996. "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
  22997. "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
  22998. "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
  22999. "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
  23000. "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
  23001. "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
  23002. "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
  23003. "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
  23004. "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
  23005. "\x73\xa6\x72\x76\x27\x09\x7a\x10"
  23006. "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
  23007. "\xfa\x68\xf0\xff\x77\x98\x71\x30"
  23008. "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
  23009. "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
  23010. "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
  23011. "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
  23012. "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
  23013. "\x38",
  23014. .clen = 281,
  23015. },
  23016. };
  23017. /*
  23018. * AEGIS-128 test vectors - generated via reference implementation from
  23019. * SUPERCOP (https://bench.cr.yp.to/supercop.html):
  23020. *
  23021. * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
  23022. * (see crypto_aead/aegis128/)
  23023. */
  23024. static const struct aead_testvec aegis128_tv_template[] = {
  23025. {
  23026. .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
  23027. "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
  23028. .klen = 16,
  23029. .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
  23030. "\x40\x6d\x59\x48\xfc\x92\x61\x03",
  23031. .assoc = "",
  23032. .alen = 0,
  23033. .ptext = "",
  23034. .plen = 0,
  23035. .ctext = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
  23036. "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
  23037. .clen = 16,
  23038. }, {
  23039. .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
  23040. "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
  23041. .klen = 16,
  23042. .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
  23043. "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
  23044. .assoc = "",
  23045. .alen = 0,
  23046. .ptext = "\x79",
  23047. .plen = 1,
  23048. .ctext = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
  23049. "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
  23050. "\xcc",
  23051. .clen = 17,
  23052. }, {
  23053. .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
  23054. "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
  23055. .klen = 16,
  23056. .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
  23057. "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
  23058. .assoc = "",
  23059. .alen = 0,
  23060. .ptext = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
  23061. "\x82\x8e\x16\xb4\xed\x6d\x47",
  23062. .plen = 15,
  23063. .ctext = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
  23064. "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
  23065. "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
  23066. "\x7a\x21\x16\xb3\xe6\x67\x66",
  23067. .clen = 31,
  23068. }, {
  23069. .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
  23070. "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
  23071. .klen = 16,
  23072. .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
  23073. "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
  23074. .assoc = "",
  23075. .alen = 0,
  23076. .ptext = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
  23077. "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
  23078. .plen = 16,
  23079. .ctext = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
  23080. "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
  23081. "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
  23082. "\x51\x10\x16\x27\x70\x9b\x64\x29",
  23083. .clen = 32,
  23084. }, {
  23085. .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
  23086. "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
  23087. .klen = 16,
  23088. .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
  23089. "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
  23090. .assoc = "",
  23091. .alen = 0,
  23092. .ptext = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
  23093. "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
  23094. "\xd3",
  23095. .plen = 17,
  23096. .ctext = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
  23097. "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
  23098. "\x46\x80\xb1\x0e\x18\x30\x40\x97"
  23099. "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
  23100. "\x3b",
  23101. .clen = 33,
  23102. }, {
  23103. .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
  23104. "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
  23105. .klen = 16,
  23106. .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
  23107. "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
  23108. .assoc = "",
  23109. .alen = 0,
  23110. .ptext = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
  23111. "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
  23112. "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
  23113. "\x88\x11\x39\x12\x1c\x3a\xbb",
  23114. .plen = 31,
  23115. .ctext = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
  23116. "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
  23117. "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
  23118. "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
  23119. "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
  23120. "\x75\xc4\x53\x01\x89\x45\x59",
  23121. .clen = 47,
  23122. }, {
  23123. .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
  23124. "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
  23125. .klen = 16,
  23126. .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
  23127. "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
  23128. .assoc = "",
  23129. .alen = 0,
  23130. .ptext = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
  23131. "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
  23132. "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
  23133. "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
  23134. .plen = 32,
  23135. .ctext = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
  23136. "\x95\xf4\x58\x38\x14\x83\x27\x01"
  23137. "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
  23138. "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
  23139. "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
  23140. "\x51\x52\x77\xf2\x5e\x85\x80\x41",
  23141. .clen = 48,
  23142. }, {
  23143. .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
  23144. "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
  23145. .klen = 16,
  23146. .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
  23147. "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
  23148. .assoc = "\xd5",
  23149. .alen = 1,
  23150. .ptext = "",
  23151. .plen = 0,
  23152. .ctext = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
  23153. "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
  23154. .clen = 16,
  23155. }, {
  23156. .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
  23157. "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
  23158. .klen = 16,
  23159. .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
  23160. "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
  23161. .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
  23162. "\x68\x75\x16\xf8\xcb\x7e\xa7",
  23163. .alen = 15,
  23164. .ptext = "",
  23165. .plen = 0,
  23166. .ctext = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
  23167. "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
  23168. .clen = 16,
  23169. }, {
  23170. .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
  23171. "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
  23172. .klen = 16,
  23173. .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
  23174. "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
  23175. .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
  23176. "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
  23177. .alen = 16,
  23178. .ptext = "",
  23179. .plen = 0,
  23180. .ctext = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
  23181. "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
  23182. .clen = 16,
  23183. }, {
  23184. .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
  23185. "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
  23186. .klen = 16,
  23187. .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
  23188. "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
  23189. .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
  23190. "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
  23191. "\x07",
  23192. .alen = 17,
  23193. .ptext = "",
  23194. .plen = 0,
  23195. .ctext = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
  23196. "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
  23197. .clen = 16,
  23198. }, {
  23199. .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
  23200. "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
  23201. .klen = 16,
  23202. .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
  23203. "\xca\xcd\xff\x88\xba\x22\xbe\x47",
  23204. .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
  23205. "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
  23206. "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
  23207. "\xe0\x17\x3a\x2e\x83\x5c\x8f",
  23208. .alen = 31,
  23209. .ptext = "",
  23210. .plen = 0,
  23211. .ctext = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
  23212. "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
  23213. .clen = 16,
  23214. }, {
  23215. .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
  23216. "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
  23217. .klen = 16,
  23218. .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
  23219. "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
  23220. .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
  23221. "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
  23222. "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
  23223. "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
  23224. .alen = 32,
  23225. .ptext = "",
  23226. .plen = 0,
  23227. .ctext = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
  23228. "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
  23229. .clen = 16,
  23230. }, {
  23231. .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
  23232. "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
  23233. .klen = 16,
  23234. .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
  23235. "\xcc\x81\x63\xab\xae\x6b\x43\x54",
  23236. .assoc = "\x40",
  23237. .alen = 1,
  23238. .ptext = "\x4f",
  23239. .plen = 1,
  23240. .ctext = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
  23241. "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
  23242. "\x39",
  23243. .clen = 17,
  23244. }, {
  23245. .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
  23246. "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
  23247. .klen = 16,
  23248. .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
  23249. "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
  23250. .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
  23251. "\x6d\x92\x42\x61\xa7\x58\x37",
  23252. .alen = 15,
  23253. .ptext = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
  23254. "\x8d\xc8\x6e\x85\xa5\x21\x67",
  23255. .plen = 15,
  23256. .ctext = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
  23257. "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
  23258. "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
  23259. "\x98\xbd\x71\x7a\xef\xa4\xfa",
  23260. .clen = 31,
  23261. }, {
  23262. .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
  23263. "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
  23264. .klen = 16,
  23265. .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
  23266. "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
  23267. .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
  23268. "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
  23269. .alen = 16,
  23270. .ptext = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
  23271. "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
  23272. .plen = 16,
  23273. .ctext = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
  23274. "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
  23275. "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
  23276. "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
  23277. .clen = 32,
  23278. }, {
  23279. .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
  23280. "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
  23281. .klen = 16,
  23282. .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
  23283. "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
  23284. .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
  23285. "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
  23286. "\x05",
  23287. .alen = 17,
  23288. .ptext = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
  23289. "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
  23290. "\xd0",
  23291. .plen = 17,
  23292. .ctext = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
  23293. "\x38\x2d\x69\x90\x1c\x71\x38\x98"
  23294. "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
  23295. "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
  23296. "\x93",
  23297. .clen = 33,
  23298. }, {
  23299. .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
  23300. "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
  23301. .klen = 16,
  23302. .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
  23303. "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
  23304. .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
  23305. "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
  23306. "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
  23307. "\x68\x28\x73\x40\x9f\x96\x4a",
  23308. .alen = 31,
  23309. .ptext = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
  23310. "\x10\x57\x85\x39\x93\x8f\xaf\x70"
  23311. "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
  23312. "\x98\x34\xab\x37\x56\xae\x32",
  23313. .plen = 31,
  23314. .ctext = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
  23315. "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
  23316. "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
  23317. "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
  23318. "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
  23319. "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
  23320. .clen = 47,
  23321. }, {
  23322. .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
  23323. "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
  23324. .klen = 16,
  23325. .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
  23326. "\x50\xc4\xde\x82\x90\x21\x11\x73",
  23327. .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
  23328. "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
  23329. "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
  23330. "\x29\x56\x52\x19\x79\xf5\xe9\x37",
  23331. .alen = 32,
  23332. .ptext = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
  23333. "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
  23334. "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
  23335. "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
  23336. .plen = 32,
  23337. .ctext = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
  23338. "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
  23339. "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
  23340. "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
  23341. "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
  23342. "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
  23343. .clen = 48,
  23344. }, {
  23345. .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
  23346. "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
  23347. .klen = 16,
  23348. .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
  23349. "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
  23350. .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
  23351. "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
  23352. "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
  23353. "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
  23354. "\x9d",
  23355. .alen = 33,
  23356. .ptext = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
  23357. "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
  23358. "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
  23359. "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
  23360. "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
  23361. "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
  23362. "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
  23363. "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
  23364. "\xbd",
  23365. .plen = 65,
  23366. .ctext = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
  23367. "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
  23368. "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
  23369. "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
  23370. "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
  23371. "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
  23372. "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
  23373. "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
  23374. "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
  23375. "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
  23376. "\x3f",
  23377. .clen = 81,
  23378. }, {
  23379. .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
  23380. "\x32\x42\x15\x80\x85\xa1\x65\xfe",
  23381. .klen = 16,
  23382. .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
  23383. "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
  23384. .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
  23385. "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
  23386. "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
  23387. "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
  23388. "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
  23389. "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
  23390. "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
  23391. "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
  23392. "\x54",
  23393. .alen = 65,
  23394. .ptext = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
  23395. "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
  23396. "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
  23397. "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
  23398. "\x2f",
  23399. .plen = 33,
  23400. .ctext = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
  23401. "\x77\x09\xac\x74\xef\xd2\x56\xae"
  23402. "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
  23403. "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
  23404. "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
  23405. "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
  23406. "\x39",
  23407. .clen = 49,
  23408. }, {
  23409. .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
  23410. "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
  23411. .klen = 16,
  23412. .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
  23413. "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
  23414. .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
  23415. "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
  23416. .alen = 16,
  23417. .ptext = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
  23418. "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
  23419. .plen = 16,
  23420. .ctext = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
  23421. "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
  23422. "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
  23423. "\xde\x20\x59\x77\xc1\x74\x90",
  23424. .clen = 31,
  23425. }, {
  23426. .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
  23427. "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
  23428. .klen = 16,
  23429. .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
  23430. "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
  23431. .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
  23432. "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
  23433. .alen = 16,
  23434. .ptext = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
  23435. "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
  23436. .plen = 16,
  23437. .ctext = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
  23438. "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
  23439. "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
  23440. "\xe9\xe0\x17\x45\x70\x12",
  23441. .clen = 30,
  23442. }, {
  23443. .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
  23444. "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
  23445. .klen = 16,
  23446. .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
  23447. "\xd5\x07\x58\x59\x72\xd7\xde\x92",
  23448. .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
  23449. "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
  23450. .alen = 16,
  23451. .ptext = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
  23452. "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
  23453. .plen = 16,
  23454. .ctext = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
  23455. "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
  23456. "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
  23457. .clen = 24,
  23458. },
  23459. };
  23460. /*
  23461. * All key wrapping test vectors taken from
  23462. * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip
  23463. *
  23464. * Note: as documented in keywrap.c, the ivout for encryption is the first
  23465. * semiblock of the ciphertext from the test vector. For decryption, iv is
  23466. * the first semiblock of the ciphertext.
  23467. */
  23468. static const struct cipher_testvec aes_kw_tv_template[] = {
  23469. {
  23470. .key = "\x75\x75\xda\x3a\x93\x60\x7c\xc2"
  23471. "\xbf\xd8\xce\xc7\xaa\xdf\xd9\xa6",
  23472. .klen = 16,
  23473. .ptext = "\x42\x13\x6d\x3c\x38\x4a\x3e\xea"
  23474. "\xc9\x5a\x06\x6f\xd2\x8f\xed\x3f",
  23475. .ctext = "\xf6\x85\x94\x81\x6f\x64\xca\xa3"
  23476. "\xf5\x6f\xab\xea\x25\x48\xf5\xfb",
  23477. .len = 16,
  23478. .iv_out = "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
  23479. .generates_iv = true,
  23480. }, {
  23481. .key = "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
  23482. "\x6a\x7a\x41\xa5\x2b\x86\xc3\x71"
  23483. "\x03\x86\xf9\x32\x78\x6e\xf7\x96"
  23484. "\x76\xfa\xfb\x90\xb8\x26\x3c\x5f",
  23485. .klen = 32,
  23486. .ptext = "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
  23487. "\xa0\x2b\xa9\x42\x03\xf1\x5b\xaa",
  23488. .ctext = "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
  23489. "\x59\xf9\x9c\x8a\xcd\x29\x3d\x43",
  23490. .len = 16,
  23491. .iv_out = "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
  23492. .generates_iv = true,
  23493. },
  23494. };
  23495. /*
  23496. * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
  23497. * test vectors, taken from Appendix B.2.9 and B.2.10:
  23498. * http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
  23499. * Only AES-128 is supported at this time.
  23500. */
  23501. static const struct cprng_testvec ansi_cprng_aes_tv_template[] = {
  23502. {
  23503. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  23504. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  23505. .klen = 16,
  23506. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  23507. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
  23508. .dtlen = 16,
  23509. .v = "\x80\x00\x00\x00\x00\x00\x00\x00"
  23510. "\x00\x00\x00\x00\x00\x00\x00\x00",
  23511. .vlen = 16,
  23512. .result = "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
  23513. "\x84\x79\x66\x85\xc1\x2f\x76\x41",
  23514. .rlen = 16,
  23515. .loops = 1,
  23516. }, {
  23517. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  23518. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  23519. .klen = 16,
  23520. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  23521. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
  23522. .dtlen = 16,
  23523. .v = "\xc0\x00\x00\x00\x00\x00\x00\x00"
  23524. "\x00\x00\x00\x00\x00\x00\x00\x00",
  23525. .vlen = 16,
  23526. .result = "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
  23527. "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
  23528. .rlen = 16,
  23529. .loops = 1,
  23530. }, {
  23531. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  23532. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  23533. .klen = 16,
  23534. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  23535. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
  23536. .dtlen = 16,
  23537. .v = "\xe0\x00\x00\x00\x00\x00\x00\x00"
  23538. "\x00\x00\x00\x00\x00\x00\x00\x00",
  23539. .vlen = 16,
  23540. .result = "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
  23541. "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
  23542. .rlen = 16,
  23543. .loops = 1,
  23544. }, {
  23545. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  23546. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  23547. .klen = 16,
  23548. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  23549. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
  23550. .dtlen = 16,
  23551. .v = "\xf0\x00\x00\x00\x00\x00\x00\x00"
  23552. "\x00\x00\x00\x00\x00\x00\x00\x00",
  23553. .vlen = 16,
  23554. .result = "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
  23555. "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
  23556. .rlen = 16,
  23557. .loops = 1,
  23558. }, {
  23559. .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
  23560. "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
  23561. .klen = 16,
  23562. .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
  23563. "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
  23564. .dtlen = 16,
  23565. .v = "\xf8\x00\x00\x00\x00\x00\x00\x00"
  23566. "\x00\x00\x00\x00\x00\x00\x00\x00",
  23567. .vlen = 16,
  23568. .result = "\x05\x25\x92\x46\x61\x79\xd2\xcb"
  23569. "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
  23570. .rlen = 16,
  23571. .loops = 1,
  23572. }, { /* Monte Carlo Test */
  23573. .key = "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
  23574. "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
  23575. .klen = 16,
  23576. .dt = "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
  23577. "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
  23578. .dtlen = 16,
  23579. .v = "\x57\x2c\x8e\x76\x87\x26\x47\x97"
  23580. "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
  23581. .vlen = 16,
  23582. .result = "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
  23583. "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
  23584. .rlen = 16,
  23585. .loops = 10000,
  23586. },
  23587. };
  23588. /*
  23589. * SP800-90A DRBG Test vectors from
  23590. * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
  23591. *
  23592. * Test vectors for DRBG with prediction resistance. All types of DRBGs
  23593. * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
  23594. * w/o personalization string, w/ and w/o additional input string).
  23595. */
  23596. static const struct drbg_testvec drbg_pr_sha256_tv_template[] = {
  23597. {
  23598. .entropy = (unsigned char *)
  23599. "\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
  23600. "\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
  23601. "\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
  23602. "\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
  23603. .entropylen = 48,
  23604. .entpra = (unsigned char *)
  23605. "\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
  23606. "\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
  23607. "\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
  23608. .entprb = (unsigned char *)
  23609. "\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
  23610. "\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
  23611. "\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
  23612. .entprlen = 32,
  23613. .expected = (unsigned char *)
  23614. "\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
  23615. "\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
  23616. "\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
  23617. "\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
  23618. "\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
  23619. "\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
  23620. "\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
  23621. "\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
  23622. "\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
  23623. "\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
  23624. "\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
  23625. .expectedlen = 128,
  23626. .addtla = NULL,
  23627. .addtlb = NULL,
  23628. .addtllen = 0,
  23629. .pers = NULL,
  23630. .perslen = 0,
  23631. }, {
  23632. .entropy = (unsigned char *)
  23633. "\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
  23634. "\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
  23635. "\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
  23636. "\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
  23637. .entropylen = 48,
  23638. .entpra = (unsigned char *)
  23639. "\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
  23640. "\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
  23641. "\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
  23642. .entprb = (unsigned char *)
  23643. "\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
  23644. "\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
  23645. "\x76\xaa\x55\x04\x8b\x0a\x72\x95",
  23646. .entprlen = 32,
  23647. .expected = (unsigned char *)
  23648. "\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
  23649. "\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
  23650. "\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
  23651. "\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
  23652. "\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
  23653. "\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
  23654. "\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
  23655. "\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
  23656. "\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
  23657. "\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
  23658. "\x50\x47\xa3\x63\x81\x16\xaf\x19",
  23659. .expectedlen = 128,
  23660. .addtla = (unsigned char *)
  23661. "\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
  23662. "\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
  23663. "\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
  23664. .addtlb = (unsigned char *)
  23665. "\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
  23666. "\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
  23667. "\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
  23668. .addtllen = 32,
  23669. .pers = NULL,
  23670. .perslen = 0,
  23671. }, {
  23672. .entropy = (unsigned char *)
  23673. "\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
  23674. "\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
  23675. "\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
  23676. "\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
  23677. .entropylen = 48,
  23678. .entpra = (unsigned char *)
  23679. "\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
  23680. "\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
  23681. "\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
  23682. .entprb = (unsigned char *)
  23683. "\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
  23684. "\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
  23685. "\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
  23686. .entprlen = 32,
  23687. .expected = (unsigned char *)
  23688. "\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
  23689. "\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
  23690. "\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
  23691. "\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
  23692. "\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
  23693. "\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
  23694. "\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
  23695. "\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
  23696. "\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
  23697. "\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
  23698. "\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
  23699. .expectedlen = 128,
  23700. .addtla = NULL,
  23701. .addtlb = NULL,
  23702. .addtllen = 0,
  23703. .pers = (unsigned char *)
  23704. "\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
  23705. "\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
  23706. "\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
  23707. .perslen = 32,
  23708. }, {
  23709. .entropy = (unsigned char *)
  23710. "\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
  23711. "\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
  23712. "\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
  23713. "\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
  23714. .entropylen = 48,
  23715. .entpra = (unsigned char *)
  23716. "\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
  23717. "\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
  23718. "\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
  23719. .entprb = (unsigned char *)
  23720. "\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
  23721. "\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
  23722. "\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
  23723. .entprlen = 32,
  23724. .expected = (unsigned char *)
  23725. "\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
  23726. "\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
  23727. "\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
  23728. "\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
  23729. "\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
  23730. "\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
  23731. "\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
  23732. "\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
  23733. "\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
  23734. "\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
  23735. "\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
  23736. .expectedlen = 128,
  23737. .addtla = (unsigned char *)
  23738. "\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
  23739. "\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
  23740. "\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
  23741. .addtlb = (unsigned char *)
  23742. "\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
  23743. "\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
  23744. "\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
  23745. .addtllen = 32,
  23746. .pers = (unsigned char *)
  23747. "\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
  23748. "\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
  23749. "\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
  23750. .perslen = 32,
  23751. },
  23752. };
  23753. static const struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
  23754. {
  23755. .entropy = (unsigned char *)
  23756. "\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
  23757. "\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
  23758. "\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
  23759. "\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
  23760. .entropylen = 48,
  23761. .entpra = (unsigned char *)
  23762. "\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
  23763. "\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
  23764. "\xe2\x9a\x29\x51\x81\x56\x9f\x54",
  23765. .entprb = (unsigned char *)
  23766. "\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
  23767. "\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
  23768. "\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
  23769. .entprlen = 32,
  23770. .expected = (unsigned char *)
  23771. "\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
  23772. "\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
  23773. "\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
  23774. "\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
  23775. "\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
  23776. "\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
  23777. "\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
  23778. "\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
  23779. "\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
  23780. "\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
  23781. "\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
  23782. .expectedlen = 128,
  23783. .addtla = NULL,
  23784. .addtlb = NULL,
  23785. .addtllen = 0,
  23786. .pers = NULL,
  23787. .perslen = 0,
  23788. }, {
  23789. .entropy = (unsigned char *)
  23790. "\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
  23791. "\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
  23792. "\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
  23793. "\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
  23794. .entropylen = 48,
  23795. .entpra = (unsigned char *)
  23796. "\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
  23797. "\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
  23798. "\x46\xd9\x26\xa2\x19\xd4\x94\x43",
  23799. .entprb = (unsigned char *)
  23800. "\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
  23801. "\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
  23802. "\x51\x78\x72\xb2\x79\xfd\x2c\xff",
  23803. .entprlen = 32,
  23804. .expected = (unsigned char *)
  23805. "\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
  23806. "\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
  23807. "\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
  23808. "\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
  23809. "\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
  23810. "\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
  23811. "\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
  23812. "\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
  23813. "\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
  23814. "\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
  23815. "\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
  23816. .expectedlen = 128,
  23817. .addtla = (unsigned char *)
  23818. "\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
  23819. "\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
  23820. "\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
  23821. .addtlb = (unsigned char *)
  23822. "\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
  23823. "\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
  23824. "\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
  23825. .addtllen = 32,
  23826. .pers = NULL,
  23827. .perslen = 0,
  23828. }, {
  23829. .entropy = (unsigned char *)
  23830. "\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
  23831. "\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
  23832. "\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
  23833. "\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
  23834. .entropylen = 48,
  23835. .entpra = (unsigned char *)
  23836. "\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
  23837. "\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
  23838. "\x20\x28\xad\xf2\x60\xd7\xcd\x45",
  23839. .entprb = (unsigned char *)
  23840. "\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
  23841. "\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
  23842. "\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
  23843. .entprlen = 32,
  23844. .expected = (unsigned char *)
  23845. "\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
  23846. "\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
  23847. "\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
  23848. "\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
  23849. "\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
  23850. "\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
  23851. "\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
  23852. "\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
  23853. "\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
  23854. "\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
  23855. "\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
  23856. .expectedlen = 128,
  23857. .addtla = NULL,
  23858. .addtlb = NULL,
  23859. .addtllen = 0,
  23860. .pers = (unsigned char *)
  23861. "\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
  23862. "\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
  23863. "\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
  23864. .perslen = 32,
  23865. }, {
  23866. .entropy = (unsigned char *)
  23867. "\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
  23868. "\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
  23869. "\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
  23870. "\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
  23871. .entropylen = 48,
  23872. .entpra = (unsigned char *)
  23873. "\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
  23874. "\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
  23875. "\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
  23876. .entprb = (unsigned char *)
  23877. "\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
  23878. "\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
  23879. "\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
  23880. .entprlen = 32,
  23881. .expected = (unsigned char *)
  23882. "\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
  23883. "\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
  23884. "\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
  23885. "\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
  23886. "\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
  23887. "\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
  23888. "\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
  23889. "\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
  23890. "\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
  23891. "\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
  23892. "\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
  23893. .expectedlen = 128,
  23894. .addtla = (unsigned char *)
  23895. "\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
  23896. "\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
  23897. "\x86\x88\x55\x28\xc1\x69\xdd\x76",
  23898. .addtlb = (unsigned char *)
  23899. "\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
  23900. "\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
  23901. "\x00\x99\x2a\xdd\x0a\x00\x50\x82",
  23902. .addtllen = 32,
  23903. .pers = (unsigned char *)
  23904. "\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
  23905. "\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
  23906. "\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
  23907. .perslen = 32,
  23908. },
  23909. };
  23910. static const struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
  23911. {
  23912. .entropy = (unsigned char *)
  23913. "\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
  23914. "\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
  23915. .entropylen = 24,
  23916. .entpra = (unsigned char *)
  23917. "\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
  23918. "\xb4\xec\x80\xb1",
  23919. .entprb = (unsigned char *)
  23920. "\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
  23921. "\x28\x07\xeb\xc2",
  23922. .entprlen = 16,
  23923. .expected = (unsigned char *)
  23924. "\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
  23925. "\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
  23926. "\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
  23927. "\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
  23928. "\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
  23929. "\x8a\xf1\x23\xa8",
  23930. .expectedlen = 64,
  23931. .addtla = NULL,
  23932. .addtlb = NULL,
  23933. .addtllen = 0,
  23934. .pers = NULL,
  23935. .perslen = 0,
  23936. }, {
  23937. .entropy = (unsigned char *)
  23938. "\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
  23939. "\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
  23940. .entropylen = 24,
  23941. .entpra = (unsigned char *)
  23942. "\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
  23943. "\x67\xd1\x08\xf8",
  23944. .entprb = (unsigned char *)
  23945. "\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
  23946. "\xd4\xba\x04\x58",
  23947. .entprlen = 16,
  23948. .expected = (unsigned char *)
  23949. "\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
  23950. "\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
  23951. "\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
  23952. "\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
  23953. "\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
  23954. "\xc1\x02\x41\x82",
  23955. .expectedlen = 64,
  23956. .addtla = (unsigned char *)
  23957. "\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
  23958. "\xeb\xb3\x01\x76",
  23959. .addtlb = (unsigned char *)
  23960. "\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
  23961. "\xd0\x7f\xcc\x43",
  23962. .addtllen = 16,
  23963. .pers = NULL,
  23964. .perslen = 0,
  23965. }, {
  23966. .entropy = (unsigned char *)
  23967. "\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
  23968. "\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
  23969. .entropylen = 24,
  23970. .entpra = (unsigned char *)
  23971. "\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
  23972. "\xc3\x0f\xe3\xb0",
  23973. .entprb = (unsigned char *)
  23974. "\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
  23975. "\xd6\x9c\x9d\xe8",
  23976. .entprlen = 16,
  23977. .expected = (unsigned char *)
  23978. "\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
  23979. "\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
  23980. "\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
  23981. "\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
  23982. "\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
  23983. "\x72\x82\x0c\xcf",
  23984. .expectedlen = 64,
  23985. .addtla = NULL,
  23986. .addtlb = NULL,
  23987. .addtllen = 0,
  23988. .pers = (unsigned char *)
  23989. "\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
  23990. "\x21\x52\xb3\xad",
  23991. .perslen = 16,
  23992. }, {
  23993. .entropy = (unsigned char *)
  23994. "\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
  23995. "\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
  23996. .entropylen = 24,
  23997. .entpra = (unsigned char *)
  23998. "\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
  23999. "\xc4\x2c\xe8\x10",
  24000. .entprb = (unsigned char *)
  24001. "\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
  24002. "\x08\xf7\xa5\x01",
  24003. .entprlen = 16,
  24004. .expected = (unsigned char *)
  24005. "\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
  24006. "\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
  24007. "\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
  24008. "\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
  24009. "\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
  24010. "\x23\xc5\x1f\x68",
  24011. .expectedlen = 64,
  24012. .addtla = (unsigned char *)
  24013. "\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
  24014. "\x23\x6d\xad\x1d",
  24015. .addtlb = (unsigned char *)
  24016. "\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
  24017. "\xbc\x59\x31\x8c",
  24018. .addtllen = 16,
  24019. .pers = (unsigned char *)
  24020. "\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
  24021. "\x37\x3c\x5c\x0b",
  24022. .perslen = 16,
  24023. },
  24024. };
  24025. /*
  24026. * SP800-90A DRBG Test vectors from
  24027. * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
  24028. *
  24029. * Test vectors for DRBG without prediction resistance. All types of DRBGs
  24030. * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
  24031. * w/o personalization string, w/ and w/o additional input string).
  24032. */
  24033. static const struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
  24034. {
  24035. .entropy = (unsigned char *)
  24036. "\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
  24037. "\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
  24038. "\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
  24039. "\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
  24040. .entropylen = 48,
  24041. .expected = (unsigned char *)
  24042. "\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
  24043. "\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
  24044. "\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
  24045. "\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
  24046. "\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
  24047. "\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
  24048. "\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
  24049. "\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
  24050. "\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
  24051. "\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
  24052. "\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
  24053. .expectedlen = 128,
  24054. .addtla = NULL,
  24055. .addtlb = NULL,
  24056. .addtllen = 0,
  24057. .pers = NULL,
  24058. .perslen = 0,
  24059. }, {
  24060. .entropy = (unsigned char *)
  24061. "\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
  24062. "\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
  24063. "\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
  24064. "\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
  24065. .entropylen = 48,
  24066. .expected = (unsigned char *)
  24067. "\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
  24068. "\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
  24069. "\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
  24070. "\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
  24071. "\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
  24072. "\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
  24073. "\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
  24074. "\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
  24075. "\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
  24076. "\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
  24077. "\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
  24078. .expectedlen = 128,
  24079. .addtla = (unsigned char *)
  24080. "\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
  24081. "\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
  24082. "\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
  24083. .addtlb = (unsigned char *)
  24084. "\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
  24085. "\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
  24086. "\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
  24087. .addtllen = 32,
  24088. .pers = NULL,
  24089. .perslen = 0,
  24090. }, {
  24091. .entropy = (unsigned char *)
  24092. "\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
  24093. "\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
  24094. "\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
  24095. "\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
  24096. .entropylen = 48,
  24097. .expected = (unsigned char *)
  24098. "\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
  24099. "\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
  24100. "\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
  24101. "\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
  24102. "\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
  24103. "\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
  24104. "\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
  24105. "\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
  24106. "\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
  24107. "\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
  24108. "\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
  24109. .expectedlen = 128,
  24110. .addtla = NULL,
  24111. .addtlb = NULL,
  24112. .addtllen = 0,
  24113. .pers = (unsigned char *)
  24114. "\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
  24115. "\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
  24116. "\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
  24117. .perslen = 32,
  24118. }, {
  24119. .entropy = (unsigned char *)
  24120. "\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
  24121. "\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
  24122. "\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
  24123. "\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
  24124. .entropylen = 48,
  24125. .expected = (unsigned char *)
  24126. "\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
  24127. "\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
  24128. "\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
  24129. "\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
  24130. "\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
  24131. "\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
  24132. "\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
  24133. "\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
  24134. "\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
  24135. "\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
  24136. "\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
  24137. .expectedlen = 128,
  24138. .addtla = (unsigned char *)
  24139. "\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
  24140. "\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
  24141. "\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
  24142. .addtlb = (unsigned char *)
  24143. "\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
  24144. "\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
  24145. "\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
  24146. .addtllen = 32,
  24147. .pers = (unsigned char *)
  24148. "\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
  24149. "\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
  24150. "\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
  24151. .perslen = 32,
  24152. },
  24153. };
  24154. static const struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
  24155. {
  24156. .entropy = (unsigned char *)
  24157. "\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
  24158. "\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
  24159. "\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
  24160. "\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
  24161. .entropylen = 48,
  24162. .expected = (unsigned char *)
  24163. "\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
  24164. "\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
  24165. "\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
  24166. "\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
  24167. "\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
  24168. "\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
  24169. "\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
  24170. "\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
  24171. "\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
  24172. "\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
  24173. "\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
  24174. .expectedlen = 128,
  24175. .addtla = NULL,
  24176. .addtlb = NULL,
  24177. .addtllen = 0,
  24178. .pers = NULL,
  24179. .perslen = 0,
  24180. }, {
  24181. .entropy = (unsigned char *)
  24182. "\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
  24183. "\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
  24184. "\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
  24185. "\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
  24186. .entropylen = 48,
  24187. .expected = (unsigned char *)
  24188. "\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
  24189. "\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
  24190. "\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
  24191. "\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
  24192. "\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
  24193. "\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
  24194. "\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
  24195. "\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
  24196. "\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
  24197. "\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
  24198. "\x50\x9a\x8c\x85\x90\x87\x03\x9c",
  24199. .expectedlen = 128,
  24200. .addtla = (unsigned char *)
  24201. "\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
  24202. "\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
  24203. "\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
  24204. .addtlb = (unsigned char *)
  24205. "\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
  24206. "\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
  24207. "\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
  24208. .addtllen = 32,
  24209. .pers = NULL,
  24210. .perslen = 0,
  24211. }, {
  24212. .entropy = (unsigned char *)
  24213. "\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
  24214. "\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
  24215. "\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
  24216. "\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
  24217. .entropylen = 48,
  24218. .expected = (unsigned char *)
  24219. "\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
  24220. "\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
  24221. "\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
  24222. "\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
  24223. "\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
  24224. "\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
  24225. "\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
  24226. "\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
  24227. "\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
  24228. "\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
  24229. "\x10\x37\x41\x03\x0c\xcc\x3a\x56",
  24230. .expectedlen = 128,
  24231. .addtla = NULL,
  24232. .addtlb = NULL,
  24233. .addtllen = 0,
  24234. .pers = (unsigned char *)
  24235. "\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
  24236. "\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
  24237. "\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
  24238. .perslen = 32,
  24239. }, {
  24240. .entropy = (unsigned char *)
  24241. "\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
  24242. "\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
  24243. "\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
  24244. "\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
  24245. .entropylen = 48,
  24246. .expected = (unsigned char *)
  24247. "\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
  24248. "\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
  24249. "\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
  24250. "\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
  24251. "\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
  24252. "\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
  24253. "\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
  24254. "\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
  24255. "\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
  24256. "\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
  24257. "\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
  24258. .expectedlen = 128,
  24259. .addtla = (unsigned char *)
  24260. "\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
  24261. "\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
  24262. "\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
  24263. .addtlb = (unsigned char *)
  24264. "\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
  24265. "\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
  24266. "\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
  24267. .addtllen = 32,
  24268. .pers = (unsigned char *)
  24269. "\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
  24270. "\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
  24271. "\x36\x60\x3b\xca\x37\xc9\xee\x29",
  24272. .perslen = 32,
  24273. },
  24274. };
  24275. /* Test vector obtained during NIST ACVP testing */
  24276. static const struct drbg_testvec drbg_nopr_hmac_sha512_tv_template[] = {
  24277. {
  24278. .entropy = (unsigned char *)
  24279. "\xDF\xB0\xF2\x18\xF0\x78\x07\x01\x29\xA4\x29\x26"
  24280. "\x2F\x8A\x34\xCB\x37\xEF\xEE\x41\xE6\x96\xF7\xFF"
  24281. "\x61\x47\xD3\xED\x41\x97\xEF\x64\x0C\x48\x56\x5A"
  24282. "\xE6\x40\x6E\x4A\x3B\x9E\x7F\xAC\x08\xEC\x25\xAE"
  24283. "\x0B\x51\x0E\x2C\x44\x2E\xBD\xDB\x57\xD0\x4A\x6D"
  24284. "\x80\x3E\x37\x0F",
  24285. .entropylen = 64,
  24286. .expected = (unsigned char *)
  24287. "\x48\xc6\xa8\xdb\x09\xae\xde\x5d\x8c\x77\xf3\x52"
  24288. "\x92\x71\xa7\xb9\x6d\x53\x6d\xa3\x73\xe3\x55\xb8"
  24289. "\x39\xd6\x44\x2b\xee\xcb\xe1\x32\x15\x30\xbe\x4e"
  24290. "\x9b\x1e\x06\xd1\x6b\xbf\xd5\x3e\xea\x7c\xf5\xaa"
  24291. "\x4b\x05\xb5\xd3\xa7\xb2\xc4\xfe\xe7\x1b\xda\x11"
  24292. "\x43\x98\x03\x70\x90\xbf\x6e\x43\x9b\xe4\x14\xef"
  24293. "\x71\xa3\x2a\xef\x9f\x0d\xb9\xe3\x52\xf2\x89\xc9"
  24294. "\x66\x9a\x60\x60\x99\x60\x62\x4c\xd6\x45\x52\x54"
  24295. "\xe6\x32\xb2\x1b\xd4\x48\xb5\xa6\xf9\xba\xd3\xff"
  24296. "\x29\xc5\x21\xe0\x91\x31\xe0\x38\x8c\x93\x0f\x3c"
  24297. "\x30\x7b\x53\xa3\xc0\x7f\x2d\xc1\x39\xec\x69\x0e"
  24298. "\xf2\x4a\x3c\x65\xcc\xed\x07\x2a\xf2\x33\x83\xdb"
  24299. "\x10\x74\x96\x40\xa7\xc5\x1b\xde\x81\xca\x0b\x8f"
  24300. "\x1e\x0a\x1a\x7a\xbf\x3c\x4a\xb8\x8c\xaf\x7b\x80"
  24301. "\xb7\xdc\x5d\x0f\xef\x1b\x97\x6e\x3d\x17\x23\x5a"
  24302. "\x31\xb9\x19\xcf\x5a\xc5\x00\x2a\xb6\xf3\x99\x34"
  24303. "\x65\xee\xe9\x1c\x55\xa0\x3b\x07\x60\xc9\xc4\xe4"
  24304. "\xf7\x57\x5c\x34\x9f\xc6\x31\x30\x3f\x23\xb2\x89"
  24305. "\xc0\xe7\x50\xf3\xde\x59\xd1\x0e\xb3\x0f\x78\xcc"
  24306. "\x7e\x54\x5e\x61\xf6\x86\x3d\xb3\x11\x94\x36\x3e"
  24307. "\x61\x5c\x48\x99\xf6\x7b\x02\x9a\xdc\x6a\x28\xe6"
  24308. "\xd1\xa7\xd1\xa3",
  24309. .expectedlen = 256,
  24310. .addtla = (unsigned char *)
  24311. "\x6B\x0F\x4A\x48\x0B\x12\x85\xE4\x72\x23\x7F\x7F"
  24312. "\x94\x7C\x24\x69\x14\x9F\xDC\x72\xA6\x33\xAD\x3C"
  24313. "\x8C\x72\xC1\x88\x49\x59\x82\xC5",
  24314. .addtlb = (unsigned char *)
  24315. "\xC4\xAF\x36\x3D\xB8\x5D\x9D\xFA\x92\xF5\xC3\x3C"
  24316. "\x2D\x1E\x22\x2A\xBD\x8B\x05\x6F\xA3\xFC\xBF\x16"
  24317. "\xED\xAA\x75\x8D\x73\x9A\xF6\xEC",
  24318. .addtllen = 32,
  24319. .pers = NULL,
  24320. .perslen = 0,
  24321. }
  24322. };
  24323. static const struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
  24324. {
  24325. .entropy = (unsigned char *)
  24326. "\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
  24327. "\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
  24328. "\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
  24329. "\xac\x9b\xbb\x00",
  24330. .entropylen = 40,
  24331. .expected = (unsigned char *)
  24332. "\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
  24333. "\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
  24334. "\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
  24335. "\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
  24336. "\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
  24337. "\x9a\x9d\xf1\x0d",
  24338. .expectedlen = 64,
  24339. .addtla = NULL,
  24340. .addtlb = NULL,
  24341. .addtllen = 0,
  24342. .pers = NULL,
  24343. .perslen = 0,
  24344. },
  24345. };
  24346. static const struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
  24347. {
  24348. .entropy = (unsigned char *)
  24349. "\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
  24350. "\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
  24351. "\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
  24352. "\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
  24353. .entropylen = 48,
  24354. .expected = (unsigned char *)
  24355. "\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
  24356. "\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
  24357. "\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
  24358. "\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
  24359. "\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
  24360. "\xb4\xf0\x7e\x1d",
  24361. .expectedlen = 64,
  24362. .addtla = NULL,
  24363. .addtlb = NULL,
  24364. .addtllen = 0,
  24365. .pers = NULL,
  24366. .perslen = 0,
  24367. },
  24368. };
  24369. static const struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
  24370. {
  24371. .entropy = (unsigned char *)
  24372. "\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
  24373. "\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
  24374. .entropylen = 24,
  24375. .expected = (unsigned char *)
  24376. "\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
  24377. "\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
  24378. "\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
  24379. "\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
  24380. "\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
  24381. "\xcb\x2d\xd6\xb0",
  24382. .expectedlen = 64,
  24383. .addtla = NULL,
  24384. .addtlb = NULL,
  24385. .addtllen = 0,
  24386. .pers = NULL,
  24387. .perslen = 0,
  24388. }, {
  24389. .entropy = (unsigned char *)
  24390. "\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
  24391. "\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
  24392. .entropylen = 24,
  24393. .expected = (unsigned char *)
  24394. "\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
  24395. "\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
  24396. "\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
  24397. "\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
  24398. "\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
  24399. "\xc3\xdf\xb3\x81",
  24400. .expectedlen = 64,
  24401. .addtla = (unsigned char *)
  24402. "\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
  24403. "\x91\x4d\x81\x56",
  24404. .addtlb = (unsigned char *)
  24405. "\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
  24406. "\x4a\x55\xd1\xc6",
  24407. .addtllen = 16,
  24408. .pers = NULL,
  24409. .perslen = 0,
  24410. }, {
  24411. .entropy = (unsigned char *)
  24412. "\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
  24413. "\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
  24414. .entropylen = 24,
  24415. .expected = (unsigned char *)
  24416. "\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
  24417. "\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
  24418. "\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
  24419. "\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
  24420. "\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
  24421. "\x34\x30\x0c\x3d",
  24422. .expectedlen = 64,
  24423. .addtla = NULL,
  24424. .addtlb = NULL,
  24425. .addtllen = 0,
  24426. .pers = (unsigned char *)
  24427. "\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
  24428. "\x0b\xc6\x97\x54",
  24429. .perslen = 16,
  24430. }, {
  24431. .entropy = (unsigned char *)
  24432. "\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
  24433. "\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
  24434. .entropylen = 24,
  24435. .expected = (unsigned char *)
  24436. "\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
  24437. "\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
  24438. "\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
  24439. "\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
  24440. "\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
  24441. "\x2b\x49\x1e\x5c",
  24442. .expectedlen = 64,
  24443. .addtla = (unsigned char *)
  24444. "\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
  24445. "\x44\x85\xe7\xfe",
  24446. .addtlb = (unsigned char *)
  24447. "\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
  24448. "\x82\x16\x62\x7f",
  24449. .addtllen = 16,
  24450. .pers = (unsigned char *)
  24451. "\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
  24452. "\x8e\xcf\xe0\x02",
  24453. .perslen = 16,
  24454. },
  24455. };
  24456. /* Cast5 test vectors from RFC 2144 */
  24457. static const struct cipher_testvec cast5_tv_template[] = {
  24458. {
  24459. .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
  24460. "\x23\x45\x67\x89\x34\x56\x78\x9a",
  24461. .klen = 16,
  24462. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  24463. .ctext = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
  24464. .len = 8,
  24465. }, {
  24466. .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
  24467. "\x23\x45",
  24468. .klen = 10,
  24469. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  24470. .ctext = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
  24471. .len = 8,
  24472. }, {
  24473. .key = "\x01\x23\x45\x67\x12",
  24474. .klen = 5,
  24475. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  24476. .ctext = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
  24477. .len = 8,
  24478. }, { /* Generated from TF test vectors */
  24479. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  24480. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
  24481. .klen = 16,
  24482. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  24483. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  24484. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  24485. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  24486. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  24487. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  24488. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  24489. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  24490. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  24491. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  24492. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  24493. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  24494. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  24495. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  24496. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  24497. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  24498. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  24499. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  24500. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  24501. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  24502. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  24503. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  24504. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  24505. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  24506. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  24507. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  24508. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  24509. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  24510. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  24511. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  24512. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  24513. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  24514. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  24515. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  24516. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  24517. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  24518. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  24519. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  24520. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  24521. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  24522. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  24523. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  24524. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  24525. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  24526. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  24527. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  24528. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  24529. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  24530. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  24531. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  24532. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  24533. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  24534. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  24535. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  24536. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  24537. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  24538. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  24539. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  24540. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  24541. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  24542. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  24543. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  24544. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  24545. .ctext = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
  24546. "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
  24547. "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
  24548. "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
  24549. "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
  24550. "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
  24551. "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
  24552. "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
  24553. "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
  24554. "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
  24555. "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
  24556. "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
  24557. "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
  24558. "\xED\x34\x35\x78\x6B\x91\xC9\x32"
  24559. "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
  24560. "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
  24561. "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
  24562. "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
  24563. "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
  24564. "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
  24565. "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
  24566. "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
  24567. "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
  24568. "\x78\x75\x37\x55\xC1\xF5\x90\x40"
  24569. "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
  24570. "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
  24571. "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
  24572. "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
  24573. "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
  24574. "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
  24575. "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
  24576. "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
  24577. "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
  24578. "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
  24579. "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
  24580. "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
  24581. "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
  24582. "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
  24583. "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
  24584. "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
  24585. "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
  24586. "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
  24587. "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
  24588. "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
  24589. "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
  24590. "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
  24591. "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
  24592. "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
  24593. "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
  24594. "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
  24595. "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
  24596. "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
  24597. "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
  24598. "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
  24599. "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
  24600. "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
  24601. "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
  24602. "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
  24603. "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
  24604. "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
  24605. "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
  24606. "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
  24607. .len = 496,
  24608. },
  24609. };
  24610. static const struct cipher_testvec cast5_cbc_tv_template[] = {
  24611. { /* Generated from TF test vectors */
  24612. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  24613. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
  24614. .klen = 16,
  24615. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  24616. .iv_out = "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
  24617. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  24618. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  24619. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  24620. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  24621. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  24622. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  24623. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  24624. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  24625. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  24626. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  24627. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  24628. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  24629. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  24630. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  24631. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  24632. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  24633. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  24634. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  24635. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  24636. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  24637. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  24638. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  24639. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  24640. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  24641. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  24642. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  24643. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  24644. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  24645. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  24646. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  24647. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  24648. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  24649. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  24650. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  24651. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  24652. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  24653. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  24654. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  24655. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  24656. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  24657. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  24658. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  24659. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  24660. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  24661. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  24662. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  24663. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  24664. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  24665. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  24666. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  24667. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  24668. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  24669. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  24670. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  24671. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  24672. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  24673. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  24674. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  24675. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  24676. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  24677. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  24678. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  24679. .ctext = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
  24680. "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
  24681. "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
  24682. "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
  24683. "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
  24684. "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
  24685. "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
  24686. "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
  24687. "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
  24688. "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
  24689. "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
  24690. "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
  24691. "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
  24692. "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
  24693. "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
  24694. "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
  24695. "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
  24696. "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
  24697. "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
  24698. "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
  24699. "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
  24700. "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
  24701. "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
  24702. "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
  24703. "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
  24704. "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
  24705. "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
  24706. "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
  24707. "\x90\x12\x37\x49\x27\x98\x69\x18"
  24708. "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
  24709. "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
  24710. "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
  24711. "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
  24712. "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
  24713. "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
  24714. "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
  24715. "\x03\x55\x0E\x02\x41\x4A\x45\x06"
  24716. "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
  24717. "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
  24718. "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
  24719. "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
  24720. "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
  24721. "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
  24722. "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
  24723. "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
  24724. "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
  24725. "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
  24726. "\x11\xB4\x18\x17\x1A\x65\x92\x56"
  24727. "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
  24728. "\x1A\x01\x22\x45\x17\x62\x52\x6C"
  24729. "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
  24730. "\x32\x66\x6F\x23\x7F\x94\x36\x88"
  24731. "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
  24732. "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
  24733. "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
  24734. "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
  24735. "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
  24736. "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
  24737. "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
  24738. "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
  24739. "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
  24740. "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
  24741. .len = 496,
  24742. },
  24743. };
  24744. static const struct cipher_testvec cast5_ctr_tv_template[] = {
  24745. { /* Generated from TF test vectors */
  24746. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  24747. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
  24748. .klen = 16,
  24749. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  24750. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x62",
  24751. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  24752. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  24753. "\x3A",
  24754. .ctext = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
  24755. "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
  24756. "\x0C",
  24757. .len = 17,
  24758. }, { /* Generated from TF test vectors */
  24759. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  24760. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
  24761. .klen = 16,
  24762. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
  24763. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9D",
  24764. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  24765. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  24766. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  24767. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  24768. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  24769. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  24770. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  24771. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  24772. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  24773. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  24774. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  24775. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  24776. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  24777. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  24778. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  24779. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  24780. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  24781. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  24782. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  24783. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  24784. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  24785. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  24786. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  24787. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  24788. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  24789. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  24790. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  24791. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  24792. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  24793. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  24794. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  24795. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  24796. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  24797. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  24798. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  24799. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  24800. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  24801. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  24802. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  24803. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  24804. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  24805. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  24806. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  24807. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  24808. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  24809. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  24810. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  24811. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  24812. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  24813. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  24814. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  24815. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  24816. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  24817. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  24818. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  24819. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  24820. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  24821. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  24822. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  24823. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  24824. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  24825. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  24826. .ctext = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
  24827. "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
  24828. "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
  24829. "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
  24830. "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
  24831. "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
  24832. "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
  24833. "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
  24834. "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
  24835. "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
  24836. "\x88\x18\x52\x56\x48\x58\xD1\x6B"
  24837. "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
  24838. "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
  24839. "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
  24840. "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
  24841. "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
  24842. "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
  24843. "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
  24844. "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
  24845. "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
  24846. "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
  24847. "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
  24848. "\x44\x67\x90\x20\xAC\x41\xDF\x43"
  24849. "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
  24850. "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
  24851. "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
  24852. "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
  24853. "\xAE\x59\x0F\x07\x88\x79\x53\x26"
  24854. "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
  24855. "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
  24856. "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
  24857. "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
  24858. "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
  24859. "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
  24860. "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
  24861. "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
  24862. "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
  24863. "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
  24864. "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
  24865. "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
  24866. "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
  24867. "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
  24868. "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
  24869. "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
  24870. "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
  24871. "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
  24872. "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
  24873. "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
  24874. "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
  24875. "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
  24876. "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
  24877. "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
  24878. "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
  24879. "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
  24880. "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
  24881. "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
  24882. "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
  24883. "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
  24884. "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
  24885. "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
  24886. "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
  24887. "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
  24888. .len = 496,
  24889. },
  24890. };
  24891. /*
  24892. * ARC4 test vectors from OpenSSL
  24893. */
  24894. static const struct cipher_testvec arc4_tv_template[] = {
  24895. {
  24896. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  24897. .klen = 8,
  24898. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  24899. .ctext = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
  24900. .len = 8,
  24901. }, {
  24902. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  24903. .klen = 8,
  24904. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  24905. .ctext = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
  24906. .len = 8,
  24907. }, {
  24908. .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
  24909. .klen = 8,
  24910. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  24911. .ctext = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
  24912. .len = 8,
  24913. }, {
  24914. .key = "\xef\x01\x23\x45",
  24915. .klen = 4,
  24916. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24917. "\x00\x00\x00\x00\x00\x00\x00\x00"
  24918. "\x00\x00\x00\x00",
  24919. .ctext = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
  24920. "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
  24921. "\x36\xb6\x78\x58",
  24922. .len = 20,
  24923. }, {
  24924. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
  24925. .klen = 8,
  24926. .ptext = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
  24927. "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
  24928. "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
  24929. "\x12\x34\x56\x78",
  24930. .ctext = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
  24931. "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
  24932. "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
  24933. "\x40\x01\x1e\xcf",
  24934. .len = 28,
  24935. }, {
  24936. .key = "\xef\x01\x23\x45",
  24937. .klen = 4,
  24938. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  24939. "\x00\x00",
  24940. .ctext = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
  24941. "\xbd\x61",
  24942. .len = 10,
  24943. }, {
  24944. .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
  24945. "\x00\x00\x00\x00\x00\x00\x00\x00",
  24946. .klen = 16,
  24947. .ptext = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
  24948. .ctext = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
  24949. .len = 8,
  24950. },
  24951. };
  24952. /*
  24953. * TEA test vectors
  24954. */
  24955. static const struct cipher_testvec tea_tv_template[] = {
  24956. {
  24957. .key = zeroed_string,
  24958. .klen = 16,
  24959. .ptext = zeroed_string,
  24960. .ctext = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
  24961. .len = 8,
  24962. }, {
  24963. .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
  24964. "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
  24965. .klen = 16,
  24966. .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
  24967. .ctext = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
  24968. .len = 8,
  24969. }, {
  24970. .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
  24971. "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
  24972. .klen = 16,
  24973. .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
  24974. "\x65\x73\x74\x5f\x76\x65\x63\x74",
  24975. .ctext = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
  24976. "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
  24977. .len = 16,
  24978. }, {
  24979. .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
  24980. "\x5d\x04\x16\x36\x15\x72\x63\x2f",
  24981. .klen = 16,
  24982. .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
  24983. "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
  24984. "\x79\x6f\x75\x21\x21\x21\x20\x72"
  24985. "\x65\x61\x6c\x6c\x79\x21\x21\x21",
  24986. .ctext = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
  24987. "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
  24988. "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
  24989. "\x07\x89\x73\xc2\x45\x92\xc6\x90",
  24990. .len = 32,
  24991. }
  24992. };
  24993. /*
  24994. * XTEA test vectors
  24995. */
  24996. static const struct cipher_testvec xtea_tv_template[] = {
  24997. {
  24998. .key = zeroed_string,
  24999. .klen = 16,
  25000. .ptext = zeroed_string,
  25001. .ctext = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
  25002. .len = 8,
  25003. }, {
  25004. .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
  25005. "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
  25006. .klen = 16,
  25007. .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
  25008. .ctext = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
  25009. .len = 8,
  25010. }, {
  25011. .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
  25012. "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
  25013. .klen = 16,
  25014. .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
  25015. "\x65\x73\x74\x5f\x76\x65\x63\x74",
  25016. .ctext = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
  25017. "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
  25018. .len = 16,
  25019. }, {
  25020. .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
  25021. "\x5d\x04\x16\x36\x15\x72\x63\x2f",
  25022. .klen = 16,
  25023. .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
  25024. "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
  25025. "\x79\x6f\x75\x21\x21\x21\x20\x72"
  25026. "\x65\x61\x6c\x6c\x79\x21\x21\x21",
  25027. .ctext = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
  25028. "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
  25029. "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
  25030. "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
  25031. .len = 32,
  25032. }
  25033. };
  25034. /*
  25035. * KHAZAD test vectors.
  25036. */
  25037. static const struct cipher_testvec khazad_tv_template[] = {
  25038. {
  25039. .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
  25040. "\x00\x00\x00\x00\x00\x00\x00\x00",
  25041. .klen = 16,
  25042. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  25043. .ctext = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
  25044. .len = 8,
  25045. }, {
  25046. .key = "\x38\x38\x38\x38\x38\x38\x38\x38"
  25047. "\x38\x38\x38\x38\x38\x38\x38\x38",
  25048. .klen = 16,
  25049. .ptext = "\x38\x38\x38\x38\x38\x38\x38\x38",
  25050. .ctext = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
  25051. .len = 8,
  25052. }, {
  25053. .key = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
  25054. "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
  25055. .klen = 16,
  25056. .ptext = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
  25057. .ctext = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
  25058. .len = 8,
  25059. }, {
  25060. .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
  25061. "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
  25062. .klen = 16,
  25063. .ptext = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
  25064. .ctext = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
  25065. .len = 8,
  25066. }, {
  25067. .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
  25068. "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
  25069. .klen = 16,
  25070. .ptext = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
  25071. "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
  25072. .ctext = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
  25073. "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
  25074. .len = 16,
  25075. },
  25076. };
  25077. /*
  25078. * Anubis test vectors.
  25079. */
  25080. static const struct cipher_testvec anubis_tv_template[] = {
  25081. {
  25082. .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  25083. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
  25084. .klen = 16,
  25085. .ptext = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  25086. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
  25087. .ctext = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
  25088. "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
  25089. .len = 16,
  25090. }, {
  25091. .key = "\x03\x03\x03\x03\x03\x03\x03\x03"
  25092. "\x03\x03\x03\x03\x03\x03\x03\x03"
  25093. "\x03\x03\x03\x03",
  25094. .klen = 20,
  25095. .ptext = "\x03\x03\x03\x03\x03\x03\x03\x03"
  25096. "\x03\x03\x03\x03\x03\x03\x03\x03",
  25097. .ctext = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
  25098. "\x87\x41\x6f\x82\x0a\x98\x64\xae",
  25099. .len = 16,
  25100. }, {
  25101. .key = "\x24\x24\x24\x24\x24\x24\x24\x24"
  25102. "\x24\x24\x24\x24\x24\x24\x24\x24"
  25103. "\x24\x24\x24\x24\x24\x24\x24\x24"
  25104. "\x24\x24\x24\x24",
  25105. .klen = 28,
  25106. .ptext = "\x24\x24\x24\x24\x24\x24\x24\x24"
  25107. "\x24\x24\x24\x24\x24\x24\x24\x24",
  25108. .ctext = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
  25109. "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
  25110. .len = 16,
  25111. }, {
  25112. .key = "\x25\x25\x25\x25\x25\x25\x25\x25"
  25113. "\x25\x25\x25\x25\x25\x25\x25\x25"
  25114. "\x25\x25\x25\x25\x25\x25\x25\x25"
  25115. "\x25\x25\x25\x25\x25\x25\x25\x25",
  25116. .klen = 32,
  25117. .ptext = "\x25\x25\x25\x25\x25\x25\x25\x25"
  25118. "\x25\x25\x25\x25\x25\x25\x25\x25",
  25119. .ctext = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
  25120. "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
  25121. .len = 16,
  25122. }, {
  25123. .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
  25124. "\x35\x35\x35\x35\x35\x35\x35\x35"
  25125. "\x35\x35\x35\x35\x35\x35\x35\x35"
  25126. "\x35\x35\x35\x35\x35\x35\x35\x35"
  25127. "\x35\x35\x35\x35\x35\x35\x35\x35",
  25128. .klen = 40,
  25129. .ptext = "\x35\x35\x35\x35\x35\x35\x35\x35"
  25130. "\x35\x35\x35\x35\x35\x35\x35\x35",
  25131. .ctext = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
  25132. "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
  25133. .len = 16,
  25134. },
  25135. };
  25136. static const struct cipher_testvec anubis_cbc_tv_template[] = {
  25137. {
  25138. .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  25139. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
  25140. .klen = 16,
  25141. .iv_out = "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
  25142. "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
  25143. .ptext = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  25144. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  25145. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
  25146. "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
  25147. .ctext = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
  25148. "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
  25149. "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
  25150. "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
  25151. .len = 32,
  25152. }, {
  25153. .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
  25154. "\x35\x35\x35\x35\x35\x35\x35\x35"
  25155. "\x35\x35\x35\x35\x35\x35\x35\x35"
  25156. "\x35\x35\x35\x35\x35\x35\x35\x35"
  25157. "\x35\x35\x35\x35\x35\x35\x35\x35",
  25158. .klen = 40,
  25159. .iv_out = "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
  25160. "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
  25161. .ptext = "\x35\x35\x35\x35\x35\x35\x35\x35"
  25162. "\x35\x35\x35\x35\x35\x35\x35\x35"
  25163. "\x35\x35\x35\x35\x35\x35\x35\x35"
  25164. "\x35\x35\x35\x35\x35\x35\x35\x35",
  25165. .ctext = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
  25166. "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
  25167. "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
  25168. "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
  25169. .len = 32,
  25170. },
  25171. };
  25172. /*
  25173. * XETA test vectors
  25174. */
  25175. static const struct cipher_testvec xeta_tv_template[] = {
  25176. {
  25177. .key = zeroed_string,
  25178. .klen = 16,
  25179. .ptext = zeroed_string,
  25180. .ctext = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
  25181. .len = 8,
  25182. }, {
  25183. .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
  25184. "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
  25185. .klen = 16,
  25186. .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
  25187. .ctext = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
  25188. .len = 8,
  25189. }, {
  25190. .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
  25191. "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
  25192. .klen = 16,
  25193. .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
  25194. "\x65\x73\x74\x5f\x76\x65\x63\x74",
  25195. .ctext = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
  25196. "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
  25197. .len = 16,
  25198. }, {
  25199. .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
  25200. "\x5d\x04\x16\x36\x15\x72\x63\x2f",
  25201. .klen = 16,
  25202. .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
  25203. "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
  25204. "\x79\x6f\x75\x21\x21\x21\x20\x72"
  25205. "\x65\x61\x6c\x6c\x79\x21\x21\x21",
  25206. .ctext = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
  25207. "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
  25208. "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
  25209. "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
  25210. .len = 32,
  25211. }
  25212. };
  25213. /*
  25214. * FCrypt test vectors
  25215. */
  25216. static const struct cipher_testvec fcrypt_pcbc_tv_template[] = {
  25217. { /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
  25218. .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
  25219. .klen = 8,
  25220. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  25221. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
  25222. .ctext = "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
  25223. .len = 8,
  25224. }, {
  25225. .key = "\x11\x44\x77\xAA\xDD\x00\x33\x66",
  25226. .klen = 8,
  25227. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
  25228. .ptext = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
  25229. .ctext = "\xD8\xED\x78\x74\x77\xEC\x06\x80",
  25230. .len = 8,
  25231. }, { /* From Arla */
  25232. .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
  25233. .klen = 8,
  25234. .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  25235. .ptext = "The quick brown fox jumps over the lazy dogs.\0\0",
  25236. .ctext = "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
  25237. "\xee\xac\x98\x62\x44\x51\xe4\x84"
  25238. "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
  25239. "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
  25240. "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
  25241. "\xf8\x91\x3c\xac\x44\x22\x92\xef",
  25242. .len = 48,
  25243. }, {
  25244. .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  25245. .klen = 8,
  25246. .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
  25247. .ptext = "The quick brown fox jumps over the lazy dogs.\0\0",
  25248. .ctext = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
  25249. "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
  25250. "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
  25251. "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
  25252. "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
  25253. "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
  25254. .len = 48,
  25255. }
  25256. };
  25257. /*
  25258. * CAMELLIA test vectors.
  25259. */
  25260. static const struct hash_testvec camellia_cmac128_tv_template[] = {
  25261. { /* From draft-kato-ipsec-camellia-cmac96and128-01 */
  25262. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  25263. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  25264. .plaintext = zeroed_string,
  25265. .digest = "\xba\x92\x57\x82\xaa\xa1\xf5\xd9"
  25266. "\xa0\x0f\x89\x64\x80\x94\xfc\x71",
  25267. .psize = 0,
  25268. .ksize = 16,
  25269. }, {
  25270. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  25271. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  25272. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  25273. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
  25274. .digest = "\x6d\x96\x28\x54\xa3\xb9\xfd\xa5"
  25275. "\x6d\x7d\x45\xa9\x5e\xe1\x79\x93",
  25276. .psize = 16,
  25277. .ksize = 16,
  25278. }, {
  25279. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  25280. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  25281. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  25282. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  25283. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  25284. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  25285. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
  25286. .digest = "\x5c\x18\xd1\x19\xcc\xd6\x76\x61"
  25287. "\x44\xac\x18\x66\x13\x1d\x9f\x22",
  25288. .psize = 40,
  25289. .ksize = 16,
  25290. }, {
  25291. .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
  25292. "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
  25293. .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  25294. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  25295. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  25296. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  25297. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  25298. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  25299. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  25300. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  25301. .digest = "\xc2\x69\x9a\x6e\xba\x55\xce\x9d"
  25302. "\x93\x9a\x8a\x4e\x19\x46\x6e\xe9",
  25303. .psize = 64,
  25304. .ksize = 16,
  25305. }
  25306. };
  25307. static const struct cipher_testvec camellia_tv_template[] = {
  25308. {
  25309. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  25310. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  25311. .klen = 16,
  25312. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  25313. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  25314. .ctext = "\x67\x67\x31\x38\x54\x96\x69\x73"
  25315. "\x08\x57\x06\x56\x48\xea\xbe\x43",
  25316. .len = 16,
  25317. }, {
  25318. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  25319. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  25320. "\x00\x11\x22\x33\x44\x55\x66\x77",
  25321. .klen = 24,
  25322. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  25323. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  25324. .ctext = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
  25325. "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
  25326. .len = 16,
  25327. }, {
  25328. .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  25329. "\xfe\xdc\xba\x98\x76\x54\x32\x10"
  25330. "\x00\x11\x22\x33\x44\x55\x66\x77"
  25331. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  25332. .klen = 32,
  25333. .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
  25334. "\xfe\xdc\xba\x98\x76\x54\x32\x10",
  25335. .ctext = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
  25336. "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
  25337. .len = 16,
  25338. }, { /* Generated with Crypto++ */
  25339. .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
  25340. "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
  25341. "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
  25342. "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
  25343. .klen = 32,
  25344. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  25345. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  25346. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  25347. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  25348. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  25349. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  25350. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  25351. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  25352. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  25353. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  25354. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  25355. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  25356. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  25357. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  25358. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  25359. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  25360. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  25361. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  25362. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  25363. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  25364. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  25365. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  25366. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  25367. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  25368. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  25369. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  25370. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  25371. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  25372. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  25373. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  25374. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  25375. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  25376. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  25377. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  25378. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  25379. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  25380. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  25381. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  25382. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  25383. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  25384. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  25385. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  25386. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  25387. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  25388. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  25389. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  25390. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  25391. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  25392. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  25393. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  25394. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  25395. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  25396. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  25397. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  25398. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  25399. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  25400. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  25401. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  25402. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  25403. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  25404. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  25405. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  25406. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
  25407. "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
  25408. "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
  25409. "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
  25410. "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
  25411. "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
  25412. "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
  25413. "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
  25414. "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
  25415. "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
  25416. "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
  25417. "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
  25418. "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
  25419. "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
  25420. "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
  25421. "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
  25422. "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
  25423. "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
  25424. "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
  25425. "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
  25426. "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
  25427. "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
  25428. "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
  25429. "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
  25430. "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
  25431. "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
  25432. "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
  25433. "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
  25434. "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
  25435. "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
  25436. "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
  25437. "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
  25438. "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
  25439. "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
  25440. "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
  25441. "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
  25442. "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
  25443. "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
  25444. "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
  25445. "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
  25446. "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
  25447. "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
  25448. "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
  25449. "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
  25450. "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
  25451. "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
  25452. "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
  25453. "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
  25454. "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
  25455. "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
  25456. "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
  25457. "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
  25458. "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
  25459. "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
  25460. "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
  25461. "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
  25462. "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
  25463. "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
  25464. "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
  25465. "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
  25466. "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
  25467. "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
  25468. "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
  25469. "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
  25470. .ctext = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
  25471. "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
  25472. "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
  25473. "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
  25474. "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
  25475. "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
  25476. "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
  25477. "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
  25478. "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
  25479. "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
  25480. "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
  25481. "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
  25482. "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
  25483. "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
  25484. "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
  25485. "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
  25486. "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
  25487. "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
  25488. "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
  25489. "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
  25490. "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
  25491. "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
  25492. "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
  25493. "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
  25494. "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
  25495. "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
  25496. "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
  25497. "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
  25498. "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
  25499. "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
  25500. "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
  25501. "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
  25502. "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
  25503. "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
  25504. "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
  25505. "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
  25506. "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
  25507. "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
  25508. "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
  25509. "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
  25510. "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
  25511. "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
  25512. "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
  25513. "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
  25514. "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
  25515. "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
  25516. "\x83\x06\xAB\x82\x99\x01\x16\x1A"
  25517. "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
  25518. "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
  25519. "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
  25520. "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
  25521. "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
  25522. "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
  25523. "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
  25524. "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
  25525. "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
  25526. "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
  25527. "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
  25528. "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
  25529. "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
  25530. "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
  25531. "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
  25532. "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
  25533. "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
  25534. "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
  25535. "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
  25536. "\xED\x28\x39\xE9\x63\xED\x41\x70"
  25537. "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
  25538. "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
  25539. "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
  25540. "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
  25541. "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
  25542. "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
  25543. "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
  25544. "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
  25545. "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
  25546. "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
  25547. "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
  25548. "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
  25549. "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
  25550. "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
  25551. "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
  25552. "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
  25553. "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
  25554. "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
  25555. "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
  25556. "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
  25557. "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
  25558. "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
  25559. "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
  25560. "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
  25561. "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
  25562. "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
  25563. "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
  25564. "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
  25565. "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
  25566. "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
  25567. "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
  25568. "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
  25569. "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
  25570. "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
  25571. "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
  25572. "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
  25573. "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
  25574. "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
  25575. "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
  25576. "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
  25577. "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
  25578. "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
  25579. "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
  25580. "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
  25581. "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
  25582. "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
  25583. "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
  25584. "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
  25585. "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
  25586. "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
  25587. "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
  25588. "\x31\x93\x51\x1C\x63\x97\x70\xB0"
  25589. "\x99\x78\x83\x13\xFD\xCF\x53\x81"
  25590. "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
  25591. "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
  25592. "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
  25593. "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
  25594. "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
  25595. "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
  25596. .len = 1008,
  25597. },
  25598. };
  25599. static const struct cipher_testvec camellia_cbc_tv_template[] = {
  25600. {
  25601. .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  25602. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  25603. .klen = 16,
  25604. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  25605. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  25606. .iv_out = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
  25607. "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
  25608. .ptext = "Single block msg",
  25609. .ctext = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
  25610. "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
  25611. .len = 16,
  25612. }, {
  25613. .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  25614. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  25615. .klen = 16,
  25616. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  25617. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  25618. .iv_out = "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
  25619. "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
  25620. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  25621. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  25622. "\x10\x11\x12\x13\x14\x15\x16\x17"
  25623. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  25624. .ctext = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
  25625. "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
  25626. "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
  25627. "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
  25628. .len = 32,
  25629. }, { /* Generated with Crypto++ */
  25630. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  25631. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  25632. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  25633. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  25634. .klen = 32,
  25635. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  25636. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  25637. .iv_out = "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
  25638. "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
  25639. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  25640. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  25641. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  25642. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  25643. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  25644. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  25645. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  25646. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  25647. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  25648. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  25649. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  25650. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  25651. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  25652. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  25653. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  25654. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  25655. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  25656. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  25657. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  25658. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  25659. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  25660. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  25661. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  25662. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  25663. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  25664. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  25665. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  25666. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  25667. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  25668. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  25669. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  25670. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  25671. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  25672. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  25673. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  25674. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  25675. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  25676. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  25677. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  25678. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  25679. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  25680. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  25681. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  25682. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  25683. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  25684. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  25685. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  25686. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  25687. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  25688. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  25689. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  25690. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  25691. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  25692. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  25693. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  25694. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  25695. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  25696. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  25697. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  25698. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  25699. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  25700. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  25701. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
  25702. "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
  25703. "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
  25704. "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
  25705. "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
  25706. "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
  25707. "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
  25708. "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
  25709. "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
  25710. "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
  25711. "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
  25712. "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
  25713. "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
  25714. "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
  25715. "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
  25716. "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
  25717. "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
  25718. "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
  25719. "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
  25720. "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
  25721. "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
  25722. "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
  25723. "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
  25724. "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
  25725. "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
  25726. "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
  25727. "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
  25728. "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
  25729. "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
  25730. "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
  25731. "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
  25732. "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
  25733. "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
  25734. "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
  25735. "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
  25736. "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
  25737. "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
  25738. "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
  25739. "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
  25740. "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
  25741. "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
  25742. "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
  25743. "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
  25744. "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
  25745. "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
  25746. "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
  25747. "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
  25748. "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
  25749. "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
  25750. "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
  25751. "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
  25752. "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
  25753. "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
  25754. "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
  25755. "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
  25756. "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
  25757. "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
  25758. "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
  25759. "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
  25760. "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
  25761. "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
  25762. "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
  25763. "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
  25764. "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
  25765. .ctext = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
  25766. "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
  25767. "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
  25768. "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
  25769. "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
  25770. "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
  25771. "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
  25772. "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
  25773. "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
  25774. "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
  25775. "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
  25776. "\x37\x49\x88\xA4\xEF\x91\x21\x47"
  25777. "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
  25778. "\x28\x90\x77\x46\xD8\xD2\x35\x16"
  25779. "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
  25780. "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
  25781. "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
  25782. "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
  25783. "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
  25784. "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
  25785. "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
  25786. "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
  25787. "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
  25788. "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
  25789. "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
  25790. "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
  25791. "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
  25792. "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
  25793. "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
  25794. "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
  25795. "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
  25796. "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
  25797. "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
  25798. "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
  25799. "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
  25800. "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
  25801. "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
  25802. "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
  25803. "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
  25804. "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
  25805. "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
  25806. "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
  25807. "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
  25808. "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
  25809. "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
  25810. "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
  25811. "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
  25812. "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
  25813. "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
  25814. "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
  25815. "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
  25816. "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
  25817. "\x38\xB8\x48\x36\x66\x4E\x20\x43"
  25818. "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
  25819. "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
  25820. "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
  25821. "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
  25822. "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
  25823. "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
  25824. "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
  25825. "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
  25826. "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
  25827. "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
  25828. "\x21\x41\x56\x72\x13\xE1\x86\x07"
  25829. "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
  25830. "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
  25831. "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
  25832. "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
  25833. "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
  25834. "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
  25835. "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
  25836. "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
  25837. "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
  25838. "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
  25839. "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
  25840. "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
  25841. "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
  25842. "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
  25843. "\xBE\x31\x31\x96\x8B\x40\x18\x75"
  25844. "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
  25845. "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
  25846. "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
  25847. "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
  25848. "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
  25849. "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
  25850. "\x09\xB0\x43\x96\x4A\x64\x80\x40"
  25851. "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
  25852. "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
  25853. "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
  25854. "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
  25855. "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
  25856. "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
  25857. "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
  25858. "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
  25859. "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
  25860. "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
  25861. "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
  25862. "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
  25863. "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
  25864. "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
  25865. "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
  25866. "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
  25867. "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
  25868. "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
  25869. "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
  25870. "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
  25871. "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
  25872. "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
  25873. "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
  25874. "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
  25875. "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
  25876. "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
  25877. "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
  25878. "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
  25879. "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
  25880. "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
  25881. "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
  25882. "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
  25883. "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
  25884. "\x80\xE7\x29\xDC\x23\x55\x98\x54"
  25885. "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
  25886. "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
  25887. "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
  25888. "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
  25889. "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
  25890. "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
  25891. .len = 1008,
  25892. },
  25893. };
  25894. static const struct cipher_testvec camellia_ctr_tv_template[] = {
  25895. { /* Generated with Crypto++ */
  25896. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  25897. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  25898. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  25899. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  25900. .klen = 32,
  25901. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  25902. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  25903. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  25904. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
  25905. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  25906. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  25907. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  25908. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  25909. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  25910. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  25911. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  25912. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  25913. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  25914. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  25915. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  25916. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  25917. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  25918. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  25919. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  25920. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  25921. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  25922. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  25923. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  25924. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  25925. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  25926. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  25927. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  25928. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  25929. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  25930. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  25931. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  25932. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  25933. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  25934. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  25935. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  25936. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  25937. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  25938. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  25939. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  25940. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  25941. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  25942. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  25943. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  25944. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  25945. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  25946. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  25947. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  25948. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  25949. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  25950. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  25951. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  25952. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  25953. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  25954. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  25955. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  25956. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  25957. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  25958. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  25959. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  25960. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  25961. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  25962. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  25963. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  25964. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  25965. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  25966. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
  25967. .ctext = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
  25968. "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
  25969. "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
  25970. "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
  25971. "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
  25972. "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
  25973. "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
  25974. "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
  25975. "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
  25976. "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
  25977. "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
  25978. "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
  25979. "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
  25980. "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
  25981. "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
  25982. "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
  25983. "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
  25984. "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
  25985. "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
  25986. "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
  25987. "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
  25988. "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
  25989. "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
  25990. "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
  25991. "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
  25992. "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
  25993. "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
  25994. "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
  25995. "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
  25996. "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
  25997. "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
  25998. "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
  25999. "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
  26000. "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
  26001. "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
  26002. "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
  26003. "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
  26004. "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
  26005. "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
  26006. "\x79\xA2\x99\x28\x93\x1B\x00\x57"
  26007. "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
  26008. "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
  26009. "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
  26010. "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
  26011. "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
  26012. "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
  26013. "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
  26014. "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
  26015. "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
  26016. "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
  26017. "\x76\x44\x45\xF3\x24\x11\x57\x98"
  26018. "\x9A\x86\xB4\x12\x80\x28\x86\x20"
  26019. "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
  26020. "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
  26021. "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
  26022. "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
  26023. "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
  26024. "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
  26025. "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
  26026. "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
  26027. "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
  26028. "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
  26029. .len = 496,
  26030. }, { /* Generated with Crypto++ */
  26031. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  26032. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  26033. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  26034. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  26035. .klen = 32,
  26036. .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  26037. "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
  26038. .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
  26039. "\xC4\x29\x8E\xF3\x35\x9A\xFF\xA4",
  26040. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  26041. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  26042. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  26043. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  26044. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  26045. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  26046. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  26047. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  26048. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  26049. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  26050. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  26051. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  26052. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  26053. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  26054. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  26055. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  26056. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  26057. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  26058. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  26059. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  26060. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  26061. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  26062. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  26063. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  26064. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  26065. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  26066. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  26067. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  26068. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  26069. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  26070. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  26071. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  26072. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  26073. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  26074. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  26075. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  26076. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  26077. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  26078. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  26079. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  26080. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  26081. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  26082. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  26083. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  26084. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  26085. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  26086. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  26087. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  26088. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  26089. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  26090. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  26091. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  26092. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  26093. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  26094. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  26095. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  26096. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  26097. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  26098. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  26099. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  26100. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  26101. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  26102. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
  26103. "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
  26104. "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
  26105. "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
  26106. "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
  26107. "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
  26108. "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
  26109. "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
  26110. "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
  26111. "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
  26112. "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
  26113. "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
  26114. "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
  26115. "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
  26116. "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
  26117. "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
  26118. "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
  26119. "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
  26120. "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
  26121. "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
  26122. "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
  26123. "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
  26124. "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
  26125. "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
  26126. "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
  26127. "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
  26128. "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
  26129. "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
  26130. "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
  26131. "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
  26132. "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
  26133. "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
  26134. "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
  26135. "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
  26136. "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
  26137. "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
  26138. "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
  26139. "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
  26140. "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
  26141. "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
  26142. "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
  26143. "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
  26144. "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
  26145. "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
  26146. "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
  26147. "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
  26148. "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
  26149. "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
  26150. "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
  26151. "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
  26152. "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
  26153. "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
  26154. "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
  26155. "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
  26156. "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
  26157. "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
  26158. "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
  26159. "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
  26160. "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
  26161. "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
  26162. "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
  26163. "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
  26164. "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
  26165. "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
  26166. "\xE4\x7B\x12",
  26167. .ctext = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
  26168. "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
  26169. "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
  26170. "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
  26171. "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
  26172. "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
  26173. "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
  26174. "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
  26175. "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
  26176. "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
  26177. "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
  26178. "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
  26179. "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
  26180. "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
  26181. "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
  26182. "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
  26183. "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
  26184. "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
  26185. "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
  26186. "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
  26187. "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
  26188. "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
  26189. "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
  26190. "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
  26191. "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
  26192. "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
  26193. "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
  26194. "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
  26195. "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
  26196. "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
  26197. "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
  26198. "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
  26199. "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
  26200. "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
  26201. "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
  26202. "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
  26203. "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
  26204. "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
  26205. "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
  26206. "\x79\xA2\x99\x28\x93\x1B\x00\x57"
  26207. "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
  26208. "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
  26209. "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
  26210. "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
  26211. "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
  26212. "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
  26213. "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
  26214. "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
  26215. "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
  26216. "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
  26217. "\x76\x44\x45\xF3\x24\x11\x57\x98"
  26218. "\x9A\x86\xB4\x12\x80\x28\x86\x20"
  26219. "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
  26220. "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
  26221. "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
  26222. "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
  26223. "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
  26224. "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
  26225. "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
  26226. "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
  26227. "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
  26228. "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
  26229. "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
  26230. "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
  26231. "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
  26232. "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
  26233. "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
  26234. "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
  26235. "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
  26236. "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
  26237. "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
  26238. "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
  26239. "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
  26240. "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
  26241. "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
  26242. "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
  26243. "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
  26244. "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
  26245. "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
  26246. "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
  26247. "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
  26248. "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
  26249. "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
  26250. "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
  26251. "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
  26252. "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
  26253. "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
  26254. "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
  26255. "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
  26256. "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
  26257. "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
  26258. "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
  26259. "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
  26260. "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
  26261. "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
  26262. "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
  26263. "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
  26264. "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
  26265. "\x00\x70\x12\x56\x56\x50\xAD\x14"
  26266. "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
  26267. "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
  26268. "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
  26269. "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
  26270. "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
  26271. "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
  26272. "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
  26273. "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
  26274. "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
  26275. "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
  26276. "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
  26277. "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
  26278. "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
  26279. "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
  26280. "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
  26281. "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
  26282. "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
  26283. "\x40\x48\x19\x73\x7C\x78\x64\x0B"
  26284. "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
  26285. "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
  26286. "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
  26287. "\x74\x28\x9D\x05\x30\x20\x62\x41"
  26288. "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
  26289. "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
  26290. "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
  26291. "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
  26292. "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
  26293. "\xF1\x6B\xD9",
  26294. .len = 1011,
  26295. }, { /* Generated with Crypto++ */
  26296. .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
  26297. "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
  26298. "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
  26299. "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
  26300. .klen = 32,
  26301. .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
  26302. "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
  26303. .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26304. "\x00\x00\x00\x00\x00\x00\x00\x3C",
  26305. .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
  26306. "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
  26307. "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
  26308. "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
  26309. "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
  26310. "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
  26311. "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
  26312. "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
  26313. "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
  26314. "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
  26315. "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
  26316. "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
  26317. "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
  26318. "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
  26319. "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
  26320. "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
  26321. "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
  26322. "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
  26323. "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
  26324. "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
  26325. "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
  26326. "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
  26327. "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
  26328. "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
  26329. "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
  26330. "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
  26331. "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
  26332. "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
  26333. "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
  26334. "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
  26335. "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
  26336. "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
  26337. "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
  26338. "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
  26339. "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
  26340. "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
  26341. "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
  26342. "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
  26343. "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
  26344. "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
  26345. "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
  26346. "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
  26347. "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
  26348. "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
  26349. "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
  26350. "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
  26351. "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
  26352. "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
  26353. "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
  26354. "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
  26355. "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
  26356. "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
  26357. "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
  26358. "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
  26359. "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
  26360. "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
  26361. "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
  26362. "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
  26363. "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
  26364. "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
  26365. "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
  26366. "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
  26367. "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
  26368. "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
  26369. "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
  26370. "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
  26371. "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
  26372. "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
  26373. "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
  26374. "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
  26375. "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
  26376. "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
  26377. "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
  26378. "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
  26379. "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
  26380. "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
  26381. "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
  26382. "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
  26383. "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
  26384. "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
  26385. "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
  26386. "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
  26387. "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
  26388. "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
  26389. "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
  26390. "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
  26391. "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
  26392. "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
  26393. "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
  26394. "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
  26395. "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
  26396. "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
  26397. "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
  26398. "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
  26399. "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
  26400. "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
  26401. "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
  26402. "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
  26403. "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
  26404. "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
  26405. "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
  26406. "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
  26407. "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
  26408. "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
  26409. "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
  26410. "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
  26411. "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
  26412. "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
  26413. "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
  26414. "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
  26415. "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
  26416. "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
  26417. "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
  26418. "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
  26419. "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
  26420. "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
  26421. "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
  26422. "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
  26423. "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
  26424. "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
  26425. "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
  26426. "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
  26427. "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
  26428. "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
  26429. "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
  26430. "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
  26431. .ctext = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
  26432. "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
  26433. "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
  26434. "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
  26435. "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
  26436. "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
  26437. "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
  26438. "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
  26439. "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
  26440. "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
  26441. "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
  26442. "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
  26443. "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
  26444. "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
  26445. "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
  26446. "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
  26447. "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
  26448. "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
  26449. "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
  26450. "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
  26451. "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
  26452. "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
  26453. "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
  26454. "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
  26455. "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
  26456. "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
  26457. "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
  26458. "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
  26459. "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
  26460. "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
  26461. "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
  26462. "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
  26463. "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
  26464. "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
  26465. "\x93\x78\x86\x05\x69\x46\xD0\xC5"
  26466. "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
  26467. "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
  26468. "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
  26469. "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
  26470. "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
  26471. "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
  26472. "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
  26473. "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
  26474. "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
  26475. "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
  26476. "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
  26477. "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
  26478. "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
  26479. "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
  26480. "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
  26481. "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
  26482. "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
  26483. "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
  26484. "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
  26485. "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
  26486. "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
  26487. "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
  26488. "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
  26489. "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
  26490. "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
  26491. "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
  26492. "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
  26493. "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
  26494. "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
  26495. "\x3F\x23\x69\x63\x56\x96\x45\xD6"
  26496. "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
  26497. "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
  26498. "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
  26499. "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
  26500. "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
  26501. "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
  26502. "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
  26503. "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
  26504. "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
  26505. "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
  26506. "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
  26507. "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
  26508. "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
  26509. "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
  26510. "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
  26511. "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
  26512. "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
  26513. "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
  26514. "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
  26515. "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
  26516. "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
  26517. "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
  26518. "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
  26519. "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
  26520. "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
  26521. "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
  26522. "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
  26523. "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
  26524. "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
  26525. "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
  26526. "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
  26527. "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
  26528. "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
  26529. "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
  26530. "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
  26531. "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
  26532. "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
  26533. "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
  26534. "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
  26535. "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
  26536. "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
  26537. "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
  26538. "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
  26539. "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
  26540. "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
  26541. "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
  26542. "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
  26543. "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
  26544. "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
  26545. "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
  26546. "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
  26547. "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
  26548. "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
  26549. "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
  26550. "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
  26551. "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
  26552. "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
  26553. "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
  26554. "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
  26555. "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
  26556. "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
  26557. .len = 1008,
  26558. },
  26559. };
  26560. static const struct cipher_testvec camellia_lrw_tv_template[] = {
  26561. /* Generated from AES-LRW test vectors */
  26562. {
  26563. .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
  26564. "\x4c\x26\x84\x14\xb5\x68\x01\x85"
  26565. "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
  26566. "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
  26567. .klen = 32,
  26568. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26569. "\x00\x00\x00\x00\x00\x00\x00\x01",
  26570. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  26571. "\x38\x39\x41\x42\x43\x44\x45\x46",
  26572. .ctext = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
  26573. "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
  26574. .len = 16,
  26575. }, {
  26576. .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
  26577. "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
  26578. "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
  26579. "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
  26580. .klen = 32,
  26581. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26582. "\x00\x00\x00\x00\x00\x00\x00\x02",
  26583. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  26584. "\x38\x39\x41\x42\x43\x44\x45\x46",
  26585. .ctext = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
  26586. "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
  26587. .len = 16,
  26588. }, {
  26589. .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
  26590. "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
  26591. "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
  26592. "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
  26593. .klen = 32,
  26594. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26595. "\x00\x00\x00\x02\x00\x00\x00\x00",
  26596. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  26597. "\x38\x39\x41\x42\x43\x44\x45\x46",
  26598. .ctext = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
  26599. "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
  26600. .len = 16,
  26601. }, {
  26602. .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
  26603. "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
  26604. "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
  26605. "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
  26606. "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
  26607. .klen = 40,
  26608. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26609. "\x00\x00\x00\x00\x00\x00\x00\x01",
  26610. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  26611. "\x38\x39\x41\x42\x43\x44\x45\x46",
  26612. .ctext = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
  26613. "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
  26614. .len = 16,
  26615. }, {
  26616. .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
  26617. "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
  26618. "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
  26619. "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
  26620. "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
  26621. .klen = 40,
  26622. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26623. "\x00\x00\x00\x02\x00\x00\x00\x00",
  26624. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  26625. "\x38\x39\x41\x42\x43\x44\x45\x46",
  26626. .ctext = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
  26627. "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
  26628. .len = 16,
  26629. }, {
  26630. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  26631. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  26632. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  26633. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  26634. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  26635. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  26636. .klen = 48,
  26637. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26638. "\x00\x00\x00\x00\x00\x00\x00\x01",
  26639. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  26640. "\x38\x39\x41\x42\x43\x44\x45\x46",
  26641. .ctext = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
  26642. "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
  26643. .len = 16,
  26644. }, {
  26645. .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
  26646. "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
  26647. "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
  26648. "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
  26649. "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
  26650. "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
  26651. .klen = 48,
  26652. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26653. "\x00\x00\x00\x02\x00\x00\x00\x00",
  26654. .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
  26655. "\x38\x39\x41\x42\x43\x44\x45\x46",
  26656. .ctext = "\x04\xab\x28\x37\x31\x7a\x26\xab"
  26657. "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
  26658. .len = 16,
  26659. }, {
  26660. .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
  26661. "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
  26662. "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
  26663. "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
  26664. "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
  26665. "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
  26666. .klen = 48,
  26667. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26668. "\x00\x00\x00\x00\x00\x00\x00\x01",
  26669. .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
  26670. "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
  26671. "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
  26672. "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
  26673. "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
  26674. "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
  26675. "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
  26676. "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
  26677. "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
  26678. "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
  26679. "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
  26680. "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
  26681. "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
  26682. "\x4c\x96\x12\xed\x7c\x92\x03\x01"
  26683. "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
  26684. "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
  26685. "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
  26686. "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
  26687. "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
  26688. "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
  26689. "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
  26690. "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
  26691. "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
  26692. "\x76\x12\x73\x44\x1a\x56\xd7\x72"
  26693. "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
  26694. "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
  26695. "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
  26696. "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
  26697. "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
  26698. "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
  26699. "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
  26700. "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
  26701. "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
  26702. "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
  26703. "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
  26704. "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
  26705. "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
  26706. "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
  26707. "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
  26708. "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
  26709. "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
  26710. "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
  26711. "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
  26712. "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
  26713. "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
  26714. "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
  26715. "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
  26716. "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
  26717. "\x62\x73\x65\xfd\x46\x63\x25\x3d"
  26718. "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
  26719. "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
  26720. "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
  26721. "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
  26722. "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
  26723. "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
  26724. "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
  26725. "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
  26726. "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
  26727. "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
  26728. "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
  26729. "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
  26730. "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
  26731. "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
  26732. "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
  26733. .ctext = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
  26734. "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
  26735. "\x67\x76\xac\x2c\xd2\x63\x18\x93"
  26736. "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
  26737. "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
  26738. "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
  26739. "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
  26740. "\x62\xdd\x78\x81\xea\x1d\xef\x04"
  26741. "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
  26742. "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
  26743. "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
  26744. "\x40\x41\x69\xaa\x71\xc0\x37\xec"
  26745. "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
  26746. "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
  26747. "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
  26748. "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
  26749. "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
  26750. "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
  26751. "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
  26752. "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
  26753. "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
  26754. "\x42\x08\x40\x82\x06\x1c\x2d\x55"
  26755. "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
  26756. "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
  26757. "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
  26758. "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
  26759. "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
  26760. "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
  26761. "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
  26762. "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
  26763. "\xed\x14\xa9\x57\x19\x63\x40\x04"
  26764. "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
  26765. "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
  26766. "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
  26767. "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
  26768. "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
  26769. "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
  26770. "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
  26771. "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
  26772. "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
  26773. "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
  26774. "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
  26775. "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
  26776. "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
  26777. "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
  26778. "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
  26779. "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
  26780. "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
  26781. "\x35\xa5\x83\x04\x84\x01\x99\x56"
  26782. "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
  26783. "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
  26784. "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
  26785. "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
  26786. "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
  26787. "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
  26788. "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
  26789. "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
  26790. "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
  26791. "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
  26792. "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
  26793. "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
  26794. "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
  26795. "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
  26796. "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
  26797. .len = 512,
  26798. },
  26799. };
  26800. static const struct cipher_testvec camellia_xts_tv_template[] = {
  26801. /* Generated from AES-XTS test vectors */
  26802. {
  26803. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26804. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26805. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26806. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26807. .klen = 32,
  26808. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26809. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26810. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26811. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26812. "\x00\x00\x00\x00\x00\x00\x00\x00"
  26813. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26814. .ctext = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
  26815. "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
  26816. "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
  26817. "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
  26818. .len = 32,
  26819. }, {
  26820. .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
  26821. "\x11\x11\x11\x11\x11\x11\x11\x11"
  26822. "\x22\x22\x22\x22\x22\x22\x22\x22"
  26823. "\x22\x22\x22\x22\x22\x22\x22\x22",
  26824. .klen = 32,
  26825. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  26826. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26827. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  26828. "\x44\x44\x44\x44\x44\x44\x44\x44"
  26829. "\x44\x44\x44\x44\x44\x44\x44\x44"
  26830. "\x44\x44\x44\x44\x44\x44\x44\x44",
  26831. .ctext = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
  26832. "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
  26833. "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
  26834. "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
  26835. .len = 32,
  26836. }, {
  26837. .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
  26838. "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
  26839. "\x22\x22\x22\x22\x22\x22\x22\x22"
  26840. "\x22\x22\x22\x22\x22\x22\x22\x22",
  26841. .klen = 32,
  26842. .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
  26843. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26844. .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
  26845. "\x44\x44\x44\x44\x44\x44\x44\x44"
  26846. "\x44\x44\x44\x44\x44\x44\x44\x44"
  26847. "\x44\x44\x44\x44\x44\x44\x44\x44",
  26848. .ctext = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
  26849. "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
  26850. "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
  26851. "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
  26852. .len = 32,
  26853. }, {
  26854. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  26855. "\x23\x53\x60\x28\x74\x71\x35\x26"
  26856. "\x31\x41\x59\x26\x53\x58\x97\x93"
  26857. "\x23\x84\x62\x64\x33\x83\x27\x95",
  26858. .klen = 32,
  26859. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  26860. "\x00\x00\x00\x00\x00\x00\x00\x00",
  26861. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  26862. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  26863. "\x10\x11\x12\x13\x14\x15\x16\x17"
  26864. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  26865. "\x20\x21\x22\x23\x24\x25\x26\x27"
  26866. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  26867. "\x30\x31\x32\x33\x34\x35\x36\x37"
  26868. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  26869. "\x40\x41\x42\x43\x44\x45\x46\x47"
  26870. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  26871. "\x50\x51\x52\x53\x54\x55\x56\x57"
  26872. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  26873. "\x60\x61\x62\x63\x64\x65\x66\x67"
  26874. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  26875. "\x70\x71\x72\x73\x74\x75\x76\x77"
  26876. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  26877. "\x80\x81\x82\x83\x84\x85\x86\x87"
  26878. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  26879. "\x90\x91\x92\x93\x94\x95\x96\x97"
  26880. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  26881. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  26882. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  26883. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  26884. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  26885. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  26886. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  26887. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  26888. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  26889. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  26890. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  26891. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  26892. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  26893. "\x00\x01\x02\x03\x04\x05\x06\x07"
  26894. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  26895. "\x10\x11\x12\x13\x14\x15\x16\x17"
  26896. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  26897. "\x20\x21\x22\x23\x24\x25\x26\x27"
  26898. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  26899. "\x30\x31\x32\x33\x34\x35\x36\x37"
  26900. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  26901. "\x40\x41\x42\x43\x44\x45\x46\x47"
  26902. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  26903. "\x50\x51\x52\x53\x54\x55\x56\x57"
  26904. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  26905. "\x60\x61\x62\x63\x64\x65\x66\x67"
  26906. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  26907. "\x70\x71\x72\x73\x74\x75\x76\x77"
  26908. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  26909. "\x80\x81\x82\x83\x84\x85\x86\x87"
  26910. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  26911. "\x90\x91\x92\x93\x94\x95\x96\x97"
  26912. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  26913. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  26914. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  26915. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  26916. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  26917. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  26918. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  26919. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  26920. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  26921. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  26922. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  26923. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  26924. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  26925. .ctext = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
  26926. "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
  26927. "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
  26928. "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
  26929. "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
  26930. "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
  26931. "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
  26932. "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
  26933. "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
  26934. "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
  26935. "\x08\xda\x76\x00\x65\xcf\x7b\x31"
  26936. "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
  26937. "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
  26938. "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
  26939. "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
  26940. "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
  26941. "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
  26942. "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
  26943. "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
  26944. "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
  26945. "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
  26946. "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
  26947. "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
  26948. "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
  26949. "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
  26950. "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
  26951. "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
  26952. "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
  26953. "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
  26954. "\x16\x31\xb2\x47\x91\x67\xaa\x28"
  26955. "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
  26956. "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
  26957. "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
  26958. "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
  26959. "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
  26960. "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
  26961. "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
  26962. "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
  26963. "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
  26964. "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
  26965. "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
  26966. "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
  26967. "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
  26968. "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
  26969. "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
  26970. "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
  26971. "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
  26972. "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
  26973. "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
  26974. "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
  26975. "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
  26976. "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
  26977. "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
  26978. "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
  26979. "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
  26980. "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
  26981. "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
  26982. "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
  26983. "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
  26984. "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
  26985. "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
  26986. "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
  26987. "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
  26988. "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
  26989. .len = 512,
  26990. }, {
  26991. .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
  26992. "\x23\x53\x60\x28\x74\x71\x35\x26"
  26993. "\x62\x49\x77\x57\x24\x70\x93\x69"
  26994. "\x99\x59\x57\x49\x66\x96\x76\x27"
  26995. "\x31\x41\x59\x26\x53\x58\x97\x93"
  26996. "\x23\x84\x62\x64\x33\x83\x27\x95"
  26997. "\x02\x88\x41\x97\x16\x93\x99\x37"
  26998. "\x51\x05\x82\x09\x74\x94\x45\x92",
  26999. .klen = 64,
  27000. .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
  27001. "\x00\x00\x00\x00\x00\x00\x00\x00",
  27002. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  27003. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  27004. "\x10\x11\x12\x13\x14\x15\x16\x17"
  27005. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  27006. "\x20\x21\x22\x23\x24\x25\x26\x27"
  27007. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  27008. "\x30\x31\x32\x33\x34\x35\x36\x37"
  27009. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  27010. "\x40\x41\x42\x43\x44\x45\x46\x47"
  27011. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  27012. "\x50\x51\x52\x53\x54\x55\x56\x57"
  27013. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  27014. "\x60\x61\x62\x63\x64\x65\x66\x67"
  27015. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  27016. "\x70\x71\x72\x73\x74\x75\x76\x77"
  27017. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  27018. "\x80\x81\x82\x83\x84\x85\x86\x87"
  27019. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  27020. "\x90\x91\x92\x93\x94\x95\x96\x97"
  27021. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  27022. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  27023. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  27024. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  27025. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  27026. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  27027. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  27028. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  27029. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  27030. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  27031. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  27032. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  27033. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
  27034. "\x00\x01\x02\x03\x04\x05\x06\x07"
  27035. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  27036. "\x10\x11\x12\x13\x14\x15\x16\x17"
  27037. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  27038. "\x20\x21\x22\x23\x24\x25\x26\x27"
  27039. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  27040. "\x30\x31\x32\x33\x34\x35\x36\x37"
  27041. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  27042. "\x40\x41\x42\x43\x44\x45\x46\x47"
  27043. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  27044. "\x50\x51\x52\x53\x54\x55\x56\x57"
  27045. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  27046. "\x60\x61\x62\x63\x64\x65\x66\x67"
  27047. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  27048. "\x70\x71\x72\x73\x74\x75\x76\x77"
  27049. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  27050. "\x80\x81\x82\x83\x84\x85\x86\x87"
  27051. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  27052. "\x90\x91\x92\x93\x94\x95\x96\x97"
  27053. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  27054. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  27055. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  27056. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  27057. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  27058. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  27059. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  27060. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  27061. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  27062. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  27063. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  27064. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  27065. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
  27066. .ctext = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
  27067. "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
  27068. "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
  27069. "\xf1\x74\xac\x96\x05\x7b\x32\xca"
  27070. "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
  27071. "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
  27072. "\x97\x07\x82\xf0\x07\x12\x38\x0a"
  27073. "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
  27074. "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
  27075. "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
  27076. "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
  27077. "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
  27078. "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
  27079. "\x41\x82\x0c\x45\x39\x35\xa8\x75"
  27080. "\x03\x29\x01\x84\x8c\xab\x48\xbe"
  27081. "\x11\x56\x22\x67\xb7\x67\x1a\x09"
  27082. "\xa1\x72\x25\x41\x3c\x39\x65\x80"
  27083. "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
  27084. "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
  27085. "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
  27086. "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
  27087. "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
  27088. "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
  27089. "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
  27090. "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
  27091. "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
  27092. "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
  27093. "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
  27094. "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
  27095. "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
  27096. "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
  27097. "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
  27098. "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
  27099. "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
  27100. "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
  27101. "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
  27102. "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
  27103. "\xef\x38\x52\x18\x0e\x29\x7e\xef"
  27104. "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
  27105. "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
  27106. "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
  27107. "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
  27108. "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
  27109. "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
  27110. "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
  27111. "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
  27112. "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
  27113. "\x21\x17\xf8\x59\x15\x24\x64\x22"
  27114. "\x57\x48\x80\xd5\x3d\x92\x30\x07"
  27115. "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
  27116. "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
  27117. "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
  27118. "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
  27119. "\x6b\x84\xf3\x00\xba\x52\x05\x02"
  27120. "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
  27121. "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
  27122. "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
  27123. "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
  27124. "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
  27125. "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
  27126. "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
  27127. "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
  27128. "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
  27129. "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
  27130. .len = 512,
  27131. },
  27132. };
  27133. /*
  27134. * SEED test vectors
  27135. */
  27136. static const struct cipher_testvec seed_tv_template[] = {
  27137. {
  27138. .key = zeroed_string,
  27139. .klen = 16,
  27140. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  27141. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  27142. .ctext = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
  27143. "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
  27144. .len = 16,
  27145. }, {
  27146. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  27147. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  27148. .klen = 16,
  27149. .ptext = zeroed_string,
  27150. .ctext = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
  27151. "\x84\x48\x35\x97\xe4\x37\x0f\x43",
  27152. .len = 16,
  27153. }, {
  27154. .key = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
  27155. "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
  27156. .klen = 16,
  27157. .ptext = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
  27158. "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
  27159. .ctext = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
  27160. "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
  27161. .len = 16,
  27162. }, {
  27163. .key = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
  27164. "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
  27165. .klen = 16,
  27166. .ptext = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
  27167. "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
  27168. .ctext = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
  27169. "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
  27170. .len = 16,
  27171. }
  27172. };
  27173. /*
  27174. * ARIA test vectors
  27175. */
  27176. static const struct cipher_testvec aria_tv_template[] = {
  27177. {
  27178. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  27179. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  27180. .klen = 16,
  27181. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  27182. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  27183. .ctext = "\xd7\x18\xfb\xd6\xab\x64\x4c\x73"
  27184. "\x9d\xa9\x5f\x3b\xe6\x45\x17\x78",
  27185. .len = 16,
  27186. }, {
  27187. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  27188. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  27189. "\x10\x11\x12\x13\x14\x15\x16\x17",
  27190. .klen = 24,
  27191. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  27192. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  27193. .ctext = "\x26\x44\x9c\x18\x05\xdb\xe7\xaa"
  27194. "\x25\xa4\x68\xce\x26\x3a\x9e\x79",
  27195. .len = 16,
  27196. }, {
  27197. .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
  27198. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  27199. "\x10\x11\x12\x13\x14\x15\x16\x17"
  27200. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  27201. .klen = 32,
  27202. .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
  27203. "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
  27204. .ctext = "\xf9\x2b\xd7\xc7\x9f\xb7\x2e\x2f"
  27205. "\x2b\x8f\x80\xc1\x97\x2d\x24\xfc",
  27206. .len = 16,
  27207. }
  27208. };
  27209. static const struct cipher_testvec aria_cbc_tv_template[] = {
  27210. {
  27211. .key = "\x7c\x95\x0d\x07\xe6\x14\x98\x92"
  27212. "\x07\xac\x22\x41\x4d\x23\x27\x37",
  27213. .klen = 16,
  27214. .iv = "\x9d\xd5\x62\xce\x3d\x07\xd9\x89"
  27215. "\xf2\x78\x19\x4b\x65\x39\xc3\xc6",
  27216. .ptext = "\xcb\xbf\x47\x35\xc5\x37\xf0\x4e"
  27217. "\x85\x19\x21\x72\x33\x00\xde\x28",
  27218. .ctext = "\xf4\x80\x89\x89\x4a\x37\xda\x98"
  27219. "\x80\x52\x74\x75\xd9\xef\x58\xff",
  27220. .len = 16,
  27221. }, {
  27222. .key = "\x8f\xb9\x8d\xc9\xd7\x99\xfe\x7d"
  27223. "\xeb\x14\xaa\x65\xaf\x8c\x38\x1a",
  27224. .klen = 16,
  27225. .iv = "\xb1\x67\x46\x57\x0c\x64\x65\xf2"
  27226. "\x8c\x2f\x65\x11\x12\x33\xd4\x9a",
  27227. .ptext = "\x3a\xaf\xc1\xeb\x3c\x0c\xc5\xcc"
  27228. "\x10\x6e\x45\xa1\xd6\x89\xf1\xe5"
  27229. "\x74\xb6\x90\xd3\x81\x45\x00\x66"
  27230. "\x62\x15\x78\x84\xb2\x63\x11\x76",
  27231. .ctext = "\x3d\x7d\x3a\xeb\x23\x85\x3e\x72"
  27232. "\x12\x45\xbb\x5b\x42\x99\xec\xa0"
  27233. "\xa2\xbe\x75\xd6\xb1\xd8\xea\x6f"
  27234. "\x97\xfe\xfd\xcc\xfc\x08\x38\x00",
  27235. .len = 32,
  27236. }, {
  27237. .key = "\xe8\xe0\x85\x9c\x33\x06\x36\x5f"
  27238. "\xa9\xab\x72\x66\xa1\xd7\xf5\x0d",
  27239. .klen = 16,
  27240. .iv = "\x5d\xd3\xaf\x13\xed\x82\xc8\x92"
  27241. "\x4f\xf4\xe2\x35\xdb\x39\x9e\xa5",
  27242. .ptext = "\xdf\x73\x61\x44\x86\x2f\x58\x1e"
  27243. "\xfe\xf6\xb9\x1d\xd9\x1e\x4c\x7c"
  27244. "\xb4\xe6\x2b\x7d\x17\xc3\xc6\x5f"
  27245. "\x9d\xf4\x29\x8a\x55\x5c\x82\x0e"
  27246. "\x67\x91\xdd\x4b\xfb\x31\x33\xf1"
  27247. "\x56\x75\xa3\x2c\x46\x08\xff\x18",
  27248. .ctext = "\x85\x07\x8c\x88\x70\x7b\x39\xb8"
  27249. "\xfd\x1d\xa1\xd0\x89\x5f\x3f\x85"
  27250. "\x18\x5a\xde\x64\xbd\x54\xd5\x67"
  27251. "\xd1\x27\x4c\x98\x82\x76\xea\x22"
  27252. "\x52\x98\x79\xb4\x1d\xe8\x16\xd0"
  27253. "\xc6\xea\xf7\xbb\x38\x89\xf2\x5d",
  27254. .len = 48,
  27255. }, {
  27256. .key = "\xc1\x19\x8a\x7b\xc9\xaf\x00\xb3"
  27257. "\x92\x3c\xd7\xed\xe7\x76\xc5\x98",
  27258. .klen = 16,
  27259. .iv = "\xca\x62\x82\x1a\x5b\xb1\xcf\xc1"
  27260. "\xfb\x50\xb7\xfc\xb0\x3b\x15\xcb",
  27261. .ptext = "\xcb\x92\x56\x74\xc9\xee\x80\x78"
  27262. "\x78\xf5\x73\xc5\x5b\x2c\x70\x2d"
  27263. "\x4e\x0d\xd7\x17\x6d\x5a\x35\x74"
  27264. "\x33\xb0\x7d\xf5\xdf\x5f\x96\x7b"
  27265. "\x1c\x79\x16\xd0\xe0\x29\x4e\x94"
  27266. "\x95\x46\x86\x7a\x77\x28\x89\xb4"
  27267. "\x3d\xbb\x65\xab\xfb\xd1\x6c\xf4"
  27268. "\x47\xbd\x7e\x7f\x9b\x1d\x8b\x12",
  27269. .ctext = "\x69\xd2\x56\xdf\xa8\x1a\x97\xbd"
  27270. "\x69\xb5\xbb\x6b\x29\x1d\x5f\x0f"
  27271. "\xdf\x5f\x63\xc0\x83\x0b\xd7\xb1"
  27272. "\x31\x2d\xbf\x73\xe1\xe5\x5d\x0e"
  27273. "\x0c\x8d\xc4\x8a\xa9\xbd\x5f\xc7"
  27274. "\xb5\x61\xa0\x2b\x90\x64\x1a\xde"
  27275. "\xd2\xe1\x61\xb9\xce\xf4\x0b\x1c"
  27276. "\x9c\x43\x69\x6d\xb2\x32\x98\x44",
  27277. .len = 64,
  27278. }, {
  27279. .key = "\xfa\xf7\x53\xf6\xd6\x08\x70\xf1"
  27280. "\x32\x58\x97\x74\x04\x12\x1b\x14",
  27281. .klen = 16,
  27282. .iv = "\xdd\x93\xb2\x3e\xcb\xc1\x7c\x27"
  27283. "\x7f\x9e\x41\x03\xab\x1d\xfb\x77",
  27284. .ptext = "\xae\x34\x94\x50\x73\x32\xf0\x75"
  27285. "\x96\x53\x2e\x1a\xc9\x91\x2b\x37"
  27286. "\x77\xbe\x48\x39\xa7\xd0\x6e\xf7"
  27287. "\x22\x7c\x4f\xe7\xd8\x06\xee\x92"
  27288. "\x80\x57\x61\x45\x7f\x50\xd5\x0a"
  27289. "\x0b\x5e\xd4\xd6\x90\x4e\xc3\x04"
  27290. "\x52\x63\xaf\x02\x55\xa6\x49\x4b"
  27291. "\x7a\x7e\x2e\x95\xea\x80\x6c\x4b"
  27292. "\xb7\x88\x42\x3d\xc1\x09\x28\x97"
  27293. "\xd7\xa1\x0f\x0f\x1f\xf1\xea\x63",
  27294. .ctext = "\x6b\x83\x00\xf1\x79\xb2\x23\xbf"
  27295. "\x17\x26\x8a\xef\xd3\xe1\x0e\x82"
  27296. "\x5b\xc7\xde\x3e\x39\x72\x2d\xb0"
  27297. "\xad\x25\x3b\xe6\x3b\x9f\xe9\x4b"
  27298. "\x6e\xe8\x77\xf5\x9d\x7d\x00\xae"
  27299. "\x73\x7b\x81\xff\xe3\x55\x8e\x90"
  27300. "\xdf\xe4\xcd\xd5\xdc\x16\x8b\x7a"
  27301. "\xe5\x04\x92\x18\xff\xcc\x63\x1b"
  27302. "\x53\xf3\x26\x44\x5c\x48\x1d\xa2"
  27303. "\x1f\x3f\xe0\x8b\x8f\x6f\xc2\x38",
  27304. .len = 80,
  27305. }, {
  27306. .key = "\xb8\xab\x6d\x03\x9d\xec\x15\x0a"
  27307. "\xcd\xcd\x68\x73\xa9\x35\x7e\x8a",
  27308. .klen = 16,
  27309. .iv = "\x9d\xf1\xc0\xa0\x02\x06\xf0\x03"
  27310. "\x43\x45\x6a\x2e\x3f\x21\xa9\x3c",
  27311. .ptext = "\xef\xbe\x0c\xa3\x49\x4a\xda\x1e"
  27312. "\x64\x90\x85\xeb\xdc\xca\x2b\x37"
  27313. "\x78\xb7\x62\xd7\x0a\xee\x35\x38"
  27314. "\x97\x72\x6a\x99\xb8\x86\x07\x77"
  27315. "\x40\xc3\x14\x49\x1f\x67\xa1\x6e"
  27316. "\x87\xf0\x0b\x64\x4d\xea\x7c\x3a"
  27317. "\x91\x05\xb1\x48\xa1\x6a\x00\x1d"
  27318. "\x1b\x4f\x99\xb9\x52\xc9\x0c\xfd"
  27319. "\xf3\xe2\x0b\x5f\xe9\xec\x71\xe2"
  27320. "\x7d\x15\x84\x46\xc2\x3b\x77\x7b"
  27321. "\x30\x01\x34\x5c\x8f\x22\x58\x9a"
  27322. "\x17\x05\x7e\xf6\xd5\x92\xc0\xb4",
  27323. .ctext = "\x79\x50\x9b\x34\xd7\x22\x9a\x72"
  27324. "\x61\xd7\xd8\xa9\xdb\xcf\x2f\xb0"
  27325. "\x81\x11\xe3\xed\xa0\xe4\xbd\x8d"
  27326. "\xe6\xf2\x52\x52\x40\xec\x9f\x3b"
  27327. "\xd4\x48\xc6\xdf\xfd\x36\x90\x8a"
  27328. "\x2f\x3b\xb0\xfb\xf4\x2b\x99\xa5"
  27329. "\xb2\x39\xc7\x52\x57\x2b\xbc\xd7"
  27330. "\x3f\x06\x10\x15\x2e\xf7\xaa\x79"
  27331. "\xd6\x6a\xe5\x4e\x2d\x0f\x5f\xaf"
  27332. "\xf9\x5a\x63\x28\x33\xf0\x85\x8a"
  27333. "\x06\x45\xce\x73\xaa\x96\x1d\xcc"
  27334. "\x6e\xb9\x25\xb8\x4c\xfe\xeb\x64",
  27335. .len = 96,
  27336. }, {
  27337. .key = "\x50\x45\x7b\x4c\x6d\x80\x53\x62"
  27338. "\x90\x26\x77\xf8\x04\x65\x26\xe3",
  27339. .klen = 16,
  27340. .iv = "\x9d\xd3\x73\x7b\x9b\xbd\x45\x97"
  27341. "\xd2\xbb\xa1\xb9\x08\x88\x2c\x85",
  27342. .ptext = "\x9f\x11\xeb\x78\x74\xcc\x4e\xd6"
  27343. "\x06\x4b\x6d\xe4\xdb\x11\x91\x58"
  27344. "\x1f\xa4\xf6\x0e\x8f\xe4\xcf\xfc"
  27345. "\x95\x9a\x8b\x68\xb4\x54\x57\x58"
  27346. "\x27\x71\xe4\x4b\xc5\x78\x6a\x26"
  27347. "\x28\xae\xed\x71\x0e\xe7\xbf\xc3"
  27348. "\xff\x9c\x46\x7b\x31\x3e\xff\xb1"
  27349. "\xa8\xca\xc3\x6d\xa1\x9e\x49\x16"
  27350. "\x31\x8b\xed\x2d\x2a\x2b\xaf\x3b"
  27351. "\x3e\x74\x7f\x07\x67\x8e\xb8\x0d"
  27352. "\x86\xe2\xea\x2c\x4a\x74\xdc\x9f"
  27353. "\x53\x72\xd1\x2e\x97\x0d\x0b\xa5"
  27354. "\x05\x87\x8e\x86\x69\x8d\x26\xfb"
  27355. "\x90\xc8\xab\x0e\xac\xaf\x84\x1c",
  27356. .ctext = "\x3c\x91\xab\x71\xe4\x77\x3e\xb0"
  27357. "\x7f\x20\x2e\xd0\xe1\xbe\xfd\x3c"
  27358. "\x06\x6c\x36\x75\x46\x27\xfd\x2d"
  27359. "\xba\x0f\xf0\x3c\x6d\x1e\x4b\x20"
  27360. "\xe9\x5e\x30\xd8\x03\xc6\xa0\x86"
  27361. "\xa8\xc7\xa4\x7f\x0e\x1f\x35\x55"
  27362. "\x24\x53\x02\xd5\x77\x30\x73\xdc"
  27363. "\xa5\xaf\x19\x92\x5b\x36\x86\x0e"
  27364. "\xcf\xf2\x5c\x00\xde\x92\xbf\x89"
  27365. "\x76\x46\xd5\x26\xb1\x8d\xa4\xef"
  27366. "\x61\x7e\x78\xb4\x68\xf5\x5b\x1d"
  27367. "\x39\x65\x32\x3a\xad\xff\x8b\x37"
  27368. "\x60\xc2\x8a\xaf\x48\x96\x8b\x9f"
  27369. "\x12\x6c\x70\x77\x95\xf3\x58\xb0",
  27370. .len = 112,
  27371. }, {
  27372. .key = "\xf9\x9f\x6a\x87\xa1\x2d\x6e\xac"
  27373. "\xde\xbb\x3e\x15\x5e\x49\xa4\xef",
  27374. .klen = 16,
  27375. .iv = "\xeb\x8e\x4f\xbe\x4b\x47\xd6\x4f"
  27376. "\x65\xd0\xfa\xee\xa6\xf1\x2c\xda",
  27377. .ptext = "\xa3\xfa\x4f\xf6\x00\x12\xbe\xc1"
  27378. "\x90\xcc\x91\x88\xbd\xfb\x1c\xdb"
  27379. "\x2b\xc8\xb9\x3d\x98\x01\xc8\x1f"
  27380. "\x07\xb4\xf3\x10\x1d\xfd\xb7\x2e"
  27381. "\xcb\x1c\x1f\xe0\x2d\xca\xd3\xc7"
  27382. "\xb2\xce\x52\xf1\x7e\xcb\x7c\x50"
  27383. "\x0c\x5c\x53\x6b\x18\x62\x02\x54"
  27384. "\xbc\x9d\x1f\xda\xd9\x7a\x2d\xff"
  27385. "\xb8\x2c\x65\xad\xf1\xfe\xb6\xa4"
  27386. "\x8c\xe8\x0a\xb7\x67\x60\xcb\x38"
  27387. "\xd7\x72\xa5\xb1\x92\x13\x8e\xd4"
  27388. "\xcd\xb3\x04\xb5\xa1\x11\x96\x37"
  27389. "\xb3\x53\xa6\xc4\x14\x56\x6d\x42"
  27390. "\x66\x43\x40\x42\x41\x63\x11\x7a"
  27391. "\xd5\x34\x38\x75\xd0\xbc\x74\x89"
  27392. "\x82\x1d\x2c\x0a\x3e\x6a\xfb\xbd",
  27393. .ctext = "\x09\x58\xf3\x22\xe5\x10\xf6\x3d"
  27394. "\xba\xb1\xfa\x5a\x16\xfe\xc5\x32"
  27395. "\x3d\x34\x59\x2e\x81\xde\x99\x2f"
  27396. "\xeb\x6a\x97\x86\x1f\x47\x8d\xe6"
  27397. "\x87\x79\x0e\xfe\xa4\xca\x09\xdc"
  27398. "\x24\x9b\xbb\xb1\x90\x33\xce\xd7"
  27399. "\x62\xfd\xfd\xa3\x65\x50\x07\x7c"
  27400. "\x4c\xa2\x10\xc7\x32\x0a\x0d\x5e"
  27401. "\x22\x29\x40\x71\xe5\xcc\x3a\x5b"
  27402. "\x5b\x53\x51\xa5\x5b\xc1\x76\x05"
  27403. "\x84\x6e\xe3\x58\x2b\xf2\x28\x76"
  27404. "\x5c\x66\x90\xfe\x63\x30\x1c\x45"
  27405. "\x26\x34\x80\xfe\x76\x87\x5b\xb1"
  27406. "\x63\x10\x09\xf6\x9d\x35\xcb\xee"
  27407. "\x3c\x60\x9d\x77\x5b\x36\x70\x09"
  27408. "\x4b\x63\x63\x90\x97\x3a\x6c\x8a",
  27409. .len = 128,
  27410. }, {
  27411. .key = "\x04\xb9\x6c\x8f\x5e\x79\x02\x87"
  27412. "\x88\x06\x7c\xfa\xd3\x7b\x56\xfe",
  27413. .klen = 16,
  27414. .iv = "\x4b\xc8\x93\x20\x98\x04\xba\x5a"
  27415. "\x22\x04\x1f\x3f\x79\x2c\x63\x79",
  27416. .ptext = "\xf3\x85\x3e\x75\x97\x10\x7c\x5d"
  27417. "\x39\x5a\x46\x47\xe7\x51\xa3\xac"
  27418. "\x84\x56\x3f\x1b\xb3\x93\x6a\x2e"
  27419. "\xf7\x8f\x63\xbe\x18\xff\xd7\x53"
  27420. "\xc8\xe0\xa5\xde\x86\xc2\xe4\xab"
  27421. "\xc3\x67\x27\x91\x43\x8c\xff\x6c"
  27422. "\xc7\x07\xc2\xcd\xe9\x12\x8b\xef"
  27423. "\x47\xe7\x82\xed\xe3\x8d\x5e\x33"
  27424. "\xca\xf1\x28\x32\xf4\x38\x41\x59"
  27425. "\x6c\x54\xa6\x40\xb0\xd5\x73\x26"
  27426. "\x5b\x02\xa6\x9d\x01\x29\x26\x84"
  27427. "\x5b\x33\x04\x36\xa4\x7b\x00\x01"
  27428. "\x42\xe1\x4f\xda\xa9\x1a\x9b\x4e"
  27429. "\x7d\x4a\x4c\xbc\xf6\xd4\x06\xc2"
  27430. "\x89\x70\x72\xf5\xc5\x7f\x42\xd5"
  27431. "\x7b\x9c\x6f\x00\x21\x74\xc5\xa5"
  27432. "\x78\xd7\xa2\x3c\x6d\x0f\xfb\x74"
  27433. "\x3d\x70\x9f\x6d\xdd\x30\xc0\x28",
  27434. .ctext = "\xc0\x49\x98\xb9\xf6\x58\xeb\x56"
  27435. "\x36\x76\x7a\x40\x7c\x27\x80\x62"
  27436. "\xe3\xcb\x9c\x87\x2c\x03\xc2\x0c"
  27437. "\x82\x00\x50\xd2\xe4\x61\x4d\x54"
  27438. "\x88\x10\x6f\x0a\xb4\x25\x57\xba"
  27439. "\xf0\x07\xe3\x55\x06\xb3\x72\xe9"
  27440. "\x2f\x9f\x1e\x50\xa8\x15\x69\x71"
  27441. "\xe3\xe5\x50\x32\xe5\xe0\x47\x0f"
  27442. "\x3a\xaa\x7d\xc0\x09\x0e\xdb\x1a"
  27443. "\xae\xb6\xa5\x87\x63\xd6\xbe\x8b"
  27444. "\xb2\x3d\x10\x1e\xb3\x68\xcf\x8a"
  27445. "\xe5\xa8\x89\xa9\xfe\x79\x13\x77"
  27446. "\xc4\x3f\x6f\x9f\xdd\x76\x5b\xf2"
  27447. "\x05\x67\x8a\x58\xb4\x31\xac\x64"
  27448. "\x6f\xc4\xc1\x6b\x08\x79\x3f\xe5"
  27449. "\x1c\x9a\x66\x3f\x7d\x1f\x18\xb1"
  27450. "\x07\xa5\x7b\x4f\x2c\x43\x33\x84"
  27451. "\xab\x1b\xc0\x7d\x49\x2f\x27\x9b",
  27452. .len = 144,
  27453. }, {
  27454. .key = "\x99\x79\xaf\x3c\xfb\xbd\xe7\xca"
  27455. "\xee\x4a\x4d\xb2\x23\x1e\xb6\x07",
  27456. .klen = 16,
  27457. .iv = "\xb4\xfc\xaa\xc1\x08\xbf\x68\xb2"
  27458. "\xf6\xef\x29\xbc\x2d\x92\xa9\x40",
  27459. .ptext = "\xd3\x44\xe4\xd9\x6c\x8a\x1d\x4b"
  27460. "\xfe\x64\x25\xb6\x72\x21\xda\x10"
  27461. "\x3e\x77\xee\xd1\x41\xd3\xea\xf0"
  27462. "\xee\xee\x72\x0f\xad\xa1\xca\xf3"
  27463. "\x7e\xfa\x99\x36\xe0\x8f\xed\x40"
  27464. "\xf1\x12\x80\x73\xd6\x26\x3a\xa6"
  27465. "\x5d\x71\xf6\xd5\xe1\xf3\x89\x16"
  27466. "\x6f\x96\x00\xcf\x26\x06\x2a\x27"
  27467. "\xe4\xc2\x57\xba\x1f\x74\x5e\x91"
  27468. "\x10\x7e\xe5\x51\x17\xd5\xdc\xb2"
  27469. "\x5b\x12\x4b\x33\xb1\xc6\x4e\x0d"
  27470. "\xbf\x0e\x5d\x65\x61\x68\xd1\xc5"
  27471. "\x4b\xc5\xa4\xcd\xf0\xe0\x79\x26"
  27472. "\xa3\xcd\xdc\xb8\xfc\xd5\xca\x1d"
  27473. "\x7e\x81\x74\x55\x76\xf5\x40\xbb"
  27474. "\x26\x7f\x11\x37\x23\x70\xc8\xb6"
  27475. "\xfc\x2b\x0b\xd7\x1c\x7b\x45\xe7"
  27476. "\xf2\x2a\xed\x10\x4f\xcf\x0c\xcd"
  27477. "\x0f\xe7\xf9\xa1\xfb\x27\x67\x09"
  27478. "\xee\x11\xa2\xaf\x37\xc6\x16\xe0",
  27479. .ctext = "\x60\xce\x9a\xdb\xb2\xe8\xa2\x64"
  27480. "\x35\x9c\x5b\x97\x21\x9b\x95\x89"
  27481. "\x7b\x89\x15\x01\x97\x8b\xec\x9b"
  27482. "\xb9\xce\x7d\xb9\x9d\xcc\xd0\xa0"
  27483. "\xda\x39\x5d\xfd\xb9\x51\xe7\x2f"
  27484. "\xe7\x9b\x73\x1b\x07\xfb\xfd\xbb"
  27485. "\xce\x84\x68\x76\x12\xc9\x6c\x38"
  27486. "\xc0\xdc\x67\x96\x5e\x63\xcf\xe5"
  27487. "\x57\x84\x7a\x14\x8c\xab\x38\x94"
  27488. "\x1c\x27\xc3\xe0\x03\x58\xfe\x98"
  27489. "\x97\xfc\x96\xba\x65\x87\x1e\x44"
  27490. "\xf8\x00\x91\x6a\x14\x05\xf3\xf9"
  27491. "\x8e\x3e\x7a\x3c\x41\x96\x15\x4f"
  27492. "\xa8\xc0\x73\x1f\x1b\xeb\xaf\xec"
  27493. "\xc4\x5a\x35\xed\x42\x2f\x47\xea"
  27494. "\xfd\x2f\x29\xf6\x0f\x58\x8b\x3d"
  27495. "\x15\x81\xe3\xa4\xa6\x5f\x33\x33"
  27496. "\xe9\x0d\x06\x4f\x7f\x89\x2c\x3d"
  27497. "\x18\x45\x1f\xd1\xc5\x74\xf7\x52"
  27498. "\x2f\x9b\x72\x3d\x1f\xad\x12\x1b",
  27499. .len = 160,
  27500. }, {
  27501. .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
  27502. "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
  27503. "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
  27504. .klen = 24,
  27505. .iv = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
  27506. "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
  27507. .ptext = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
  27508. "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
  27509. .ctext = "\x2d\x8f\x39\x71\x0a\x2c\xc9\x93"
  27510. "\xb6\x1a\x5c\x53\x06\x4d\xaa\xcf",
  27511. .len = 16,
  27512. }, {
  27513. .key = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
  27514. "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
  27515. "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
  27516. .klen = 24,
  27517. .iv = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
  27518. "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
  27519. .ptext = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
  27520. "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
  27521. "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
  27522. "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
  27523. .ctext = "\xc1\x53\x86\xf8\x60\x5d\x72\x59"
  27524. "\x7e\xdf\xc8\xdb\x85\xd6\x9f\x2a"
  27525. "\xa1\xda\xe5\x85\x78\x4f\x1b\x6f"
  27526. "\x58\xf3\x2b\xff\x34\xe4\x97\x4e",
  27527. .len = 32,
  27528. }, {
  27529. .key = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
  27530. "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
  27531. "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
  27532. .klen = 24,
  27533. .iv = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
  27534. "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
  27535. .ptext = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
  27536. "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
  27537. "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
  27538. "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
  27539. "\x77\xb5\xca\x90\xda\x1d\x22\x17"
  27540. "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
  27541. .ctext = "\x25\x5f\x66\x15\xb5\x62\xfb\x55"
  27542. "\xb3\x77\xa1\x7d\x03\xba\x86\x0a"
  27543. "\x0d\x5b\xbb\x06\xe9\xe2\xa8\x41"
  27544. "\xa3\x58\xd6\x4b\xcb\x7f\xd0\x15"
  27545. "\x3b\x02\x74\x5d\x4c\x4c\xb0\xa5"
  27546. "\x06\xc9\x59\x53\x2a\x36\xeb\x59",
  27547. .len = 48,
  27548. }, {
  27549. .key = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
  27550. "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
  27551. "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
  27552. .klen = 24,
  27553. .iv = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
  27554. "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
  27555. .ptext = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
  27556. "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
  27557. "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
  27558. "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
  27559. "\x30\x9d\x59\x8d\x64\x76\xad\x37"
  27560. "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
  27561. "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
  27562. "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
  27563. .ctext = "\x91\x02\xa9\xd3\x4b\x9a\x8f\xe6"
  27564. "\x9f\xe4\x51\x57\xc9\x42\xda\x68"
  27565. "\xca\xf6\x54\x51\x90\xec\x20\x2e"
  27566. "\xab\x25\x6c\xd9\x8b\x99\xa6\x1c"
  27567. "\x72\xc9\x01\xd6\xbc\x2b\x26\x78"
  27568. "\x42\x00\x84\x0a\xdd\xa8\xd9\xb5"
  27569. "\xc6\xc8\x30\xb6\xab\xea\x71\x84"
  27570. "\xb2\x57\x97\x32\xdb\x35\x23\xd8",
  27571. .len = 64,
  27572. }, {
  27573. .key = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
  27574. "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
  27575. "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
  27576. .klen = 24,
  27577. .iv = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
  27578. "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
  27579. .ptext = "\x91\xac\x17\x11\x1c\x03\x69\x53"
  27580. "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
  27581. "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
  27582. "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
  27583. "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
  27584. "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
  27585. "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
  27586. "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
  27587. "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
  27588. "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
  27589. .ctext = "\x28\x23\x3a\x4a\x18\xb7\xb6\x05"
  27590. "\xd4\x1b\x6a\x9e\xa7\xf2\x38\x01"
  27591. "\x78\xd3\xb0\x1b\x95\x68\x59\xf1"
  27592. "\xc0\xed\x30\x46\x2e\xb9\xa6\xdc"
  27593. "\xde\xef\xa6\x85\x19\xfc\x4d\x36"
  27594. "\x5d\x24\x92\x62\x75\x32\x76\x6d"
  27595. "\x6d\xa9\x07\xe1\x4f\x59\x84\x1a"
  27596. "\x68\x9a\x07\x48\xd3\x86\xf6\xf1"
  27597. "\x5b\xf9\x35\xec\x7c\xaf\x47\x13"
  27598. "\x9c\xc9\x33\x12\x10\x2f\x94\x8a",
  27599. .len = 80,
  27600. }, {
  27601. .key = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
  27602. "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
  27603. "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
  27604. .klen = 24,
  27605. .iv = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
  27606. "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
  27607. .ptext = "\x84\xa0\x53\x97\x61\x30\x70\x15"
  27608. "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
  27609. "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
  27610. "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
  27611. "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
  27612. "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
  27613. "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
  27614. "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
  27615. "\xee\xb7\x0d\x65\x00\x38\xab\x71"
  27616. "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
  27617. "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
  27618. "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
  27619. .ctext = "\x38\x5b\x16\xef\xb8\x8c\x74\x7a"
  27620. "\x55\x17\x71\xa7\x7d\x34\xd7\x6a"
  27621. "\xc6\x31\x55\x6f\xbb\x61\xf4\x12"
  27622. "\x81\x8c\x91\x0d\x10\xdb\xd5\x22"
  27623. "\x77\x36\x32\xb6\x77\xb1\x5e\x21"
  27624. "\xb5\xec\xf9\x64\x04\x90\x6f\xc6"
  27625. "\x8a\x86\x23\xb5\xfe\xa4\xb6\x84"
  27626. "\x91\xa1\x60\xe3\xd7\xf3\xb9\xda"
  27627. "\x96\x23\x4a\xb3\xab\x75\x84\x04"
  27628. "\x15\x1a\xbb\xe8\x02\x1e\x80\x7c"
  27629. "\xc1\x93\x01\x0f\x5c\x4a\xde\x85"
  27630. "\xbb\x93\x05\x66\x53\x74\x40\x56",
  27631. .len = 96,
  27632. }, {
  27633. .key = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
  27634. "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
  27635. "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
  27636. .klen = 24,
  27637. .iv = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
  27638. "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
  27639. .ptext = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
  27640. "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
  27641. "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
  27642. "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
  27643. "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
  27644. "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
  27645. "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
  27646. "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
  27647. "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
  27648. "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
  27649. "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
  27650. "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
  27651. "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
  27652. "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
  27653. .ctext = "\x4b\x56\xe0\xc2\x65\x2f\x7c\x6f"
  27654. "\xee\x22\xeb\x34\x1c\xa5\xb7\xc8"
  27655. "\x35\xd7\x51\xfd\x6a\xf4\xdd\xc3"
  27656. "\x38\xf4\xfc\x9d\x2e\xc2\x77\xb7"
  27657. "\x93\x8e\x8c\xb3\x44\x9b\xaf\xbb"
  27658. "\x99\xb9\xa8\x38\x1c\xfe\x63\xfb"
  27659. "\x1f\xa0\xaa\x35\x29\x7b\x87\x49"
  27660. "\x8e\x93\xa5\xb8\x5a\x85\x37\xa7"
  27661. "\x67\x69\x49\xbd\xc3\xfa\x89\x1c"
  27662. "\xf5\x60\x9b\xe7\x71\x96\x95\xd9"
  27663. "\x0b\x98\xe6\x74\x1d\xa3\xd9\x89"
  27664. "\x03\xe4\xf6\x66\xb3\x73\xb1\xac"
  27665. "\x9f\xee\x8f\xc2\x96\xcc\x97\x78"
  27666. "\x1b\x96\x63\x64\x00\x9c\x2d\x29",
  27667. .len = 112,
  27668. }, {
  27669. .key = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
  27670. "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
  27671. "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
  27672. .klen = 24,
  27673. .iv = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
  27674. "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
  27675. .ptext = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
  27676. "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
  27677. "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
  27678. "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
  27679. "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
  27680. "\x6a\x55\x84\x98\x28\x03\x02\xc2"
  27681. "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
  27682. "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
  27683. "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
  27684. "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
  27685. "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
  27686. "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
  27687. "\x87\x96\x77\x1a\x10\x81\x63\x8a"
  27688. "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
  27689. "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
  27690. "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
  27691. .ctext = "\x4d\x35\x70\xf1\x25\x02\x1d\x7f"
  27692. "\x9e\x0f\x5b\x4b\x65\xab\xcc\x6b"
  27693. "\x62\xab\x2b\xfa\xc0\x66\xee\x56"
  27694. "\xb4\x66\x95\x22\x84\x39\xd8\x3f"
  27695. "\x74\xba\x4f\x3f\xcd\xef\xcf\xf6"
  27696. "\x76\xeb\x9e\x8a\xec\x9c\x31\xa0"
  27697. "\x3e\x0c\xf9\xfa\x57\x90\xb4\x02"
  27698. "\xac\xc8\x28\xda\xa0\x05\xb7\x7e"
  27699. "\x75\x9c\x79\x36\xa9\x2f\x1a\x36"
  27700. "\x56\x77\xda\x74\xc7\xb3\xdf\xf3"
  27701. "\xb9\x83\x10\xf3\x6b\xe1\xdf\xcb"
  27702. "\x11\x70\xb1\xa0\x68\x48\x26\x95"
  27703. "\x10\x91\x94\xf3\xe9\x82\xb4\x8a"
  27704. "\xaa\xde\xf8\x9f\xce\x82\x47\x18"
  27705. "\x37\x5d\xda\x34\x74\x4d\x36\xbd"
  27706. "\xa5\x6c\xa4\xb3\x70\xad\x00\xbd",
  27707. .len = 128,
  27708. }, {
  27709. .key = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
  27710. "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
  27711. "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
  27712. .klen = 24,
  27713. .iv = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
  27714. "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
  27715. .ptext = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
  27716. "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
  27717. "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
  27718. "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
  27719. "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
  27720. "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
  27721. "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
  27722. "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
  27723. "\xc2\xab\x62\x54\xef\xba\xae\x46"
  27724. "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
  27725. "\x05\x26\x23\x81\x19\x27\xad\x7b"
  27726. "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
  27727. "\x44\xbf\x59\xde\x03\x61\x11\x12"
  27728. "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
  27729. "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
  27730. "\xb6\x09\x21\x12\x42\x98\x13\xa1"
  27731. "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
  27732. "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
  27733. .ctext = "\xa1\x4a\x83\xb2\xe0\xef\x3d\x94"
  27734. "\xa4\x34\x66\x93\xb4\x89\x4e\x12"
  27735. "\xe5\x61\xc9\xea\xe0\x16\x96\x1a"
  27736. "\x3e\x94\x20\x81\xd4\x12\x7f\xf4"
  27737. "\xb8\x3f\xc9\xe2\x99\xb5\x0f\x9e"
  27738. "\x71\x86\x4f\x13\x78\x4e\xf1\x51"
  27739. "\xd4\x7d\x6e\x47\x31\x9a\xd8\xf7"
  27740. "\xb9\xb1\x17\xd0\xbd\xbf\x72\x86"
  27741. "\xb4\x58\x85\xf0\x05\x67\xc4\x00"
  27742. "\xca\xcb\xa7\x1a\x1d\x88\x29\xf4"
  27743. "\xe2\xf6\xdd\x5a\x3e\x5a\xbb\x29"
  27744. "\x48\x5a\x4a\x18\xcd\x5c\xf1\x09"
  27745. "\x5b\xbe\x1a\x43\x12\xc5\x6e\x6e"
  27746. "\x5e\x6d\x3b\x22\xf7\x58\xbd\xc8"
  27747. "\xb1\x04\xaf\x44\x9c\x2b\x98\x5a"
  27748. "\x14\xb7\x35\xb8\x9a\xce\x32\x28"
  27749. "\x1f\x8d\x08\x8a\xb9\x82\xf0\xa5"
  27750. "\x6a\x37\x29\xb6\x29\x3a\x53\x5e",
  27751. .len = 144,
  27752. }, {
  27753. .key = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
  27754. "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
  27755. "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
  27756. .klen = 24,
  27757. .iv = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
  27758. "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
  27759. .ptext = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
  27760. "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
  27761. "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
  27762. "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
  27763. "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
  27764. "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
  27765. "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
  27766. "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
  27767. "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
  27768. "\x20\xf0\x79\x67\xb1\x83\x26\x66"
  27769. "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
  27770. "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
  27771. "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
  27772. "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
  27773. "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
  27774. "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
  27775. "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
  27776. "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
  27777. "\x52\xf1\x34\x78\x34\x53\x30\x5b"
  27778. "\x43\x43\x51\x6a\x02\x81\x64\x0c",
  27779. .ctext = "\xd9\xed\xc8\xc7\x66\xcd\x06\xc5"
  27780. "\xc1\x25\x9b\xf5\x14\x71\x1d\x69"
  27781. "\xc9\x7c\x04\x40\xab\xc0\x44\xf4"
  27782. "\xa1\xe6\x57\x8b\x35\x62\x4e\x3f"
  27783. "\xce\x4a\x99\xcd\x95\xc4\xd1\xf3"
  27784. "\xbc\x25\xa2\x18\xe6\xd1\xf7\xc0"
  27785. "\x13\x98\x60\x4c\x5c\xb1\x4f\x7a"
  27786. "\xbc\x45\x12\x52\xe8\x71\xb0\xf1"
  27787. "\x18\xef\x6f\x8a\x63\x35\x17\xae"
  27788. "\x90\x31\x41\x9d\xf4\xdc\x35\xcc"
  27789. "\x49\x72\x10\x11\x3b\xe3\x40\x7a"
  27790. "\x8e\x21\x39\xd0\x5b\x82\xb1\xe9"
  27791. "\x0c\x37\x5a\x7c\x11\xcb\x96\xd9"
  27792. "\xd4\x1c\x47\x4b\x70\xcb\xca\x08"
  27793. "\x5f\x71\xe9\x48\xf6\x29\xd8\xbb"
  27794. "\x5c\xad\x9b\x23\x9f\x62\xaf\xef"
  27795. "\x8e\xd8\x99\x1d\x60\xad\xc3\x6f"
  27796. "\xed\x06\x1a\xec\xfa\xc0\x0f\x0d"
  27797. "\xb7\x00\x02\x45\x7c\x94\x23\xb6"
  27798. "\xd7\x26\x6a\x16\x62\xc4\xd9\xee",
  27799. .len = 160,
  27800. }, {
  27801. .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
  27802. "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
  27803. "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
  27804. "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
  27805. .klen = 32,
  27806. .iv = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
  27807. "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
  27808. .ptext = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
  27809. "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
  27810. .ctext = "\x05\x31\x46\x6d\xb8\xf4\x92\x64"
  27811. "\x46\xfd\x0d\x96\x60\x01\xd7\x94",
  27812. .len = 16,
  27813. }, {
  27814. .key = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
  27815. "\x53\x39\xfc\xc1\xf5\xc0\x56\x22"
  27816. "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
  27817. "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
  27818. .klen = 32,
  27819. .iv = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
  27820. "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
  27821. .ptext = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
  27822. "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d"
  27823. "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
  27824. "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
  27825. .ctext = "\x24\x36\xe4\x14\xb7\xe1\x56\x8a"
  27826. "\xf3\xc5\xaf\x0e\xa7\xeb\xbd\xcd"
  27827. "\x2d\xe9\xd7\x19\xae\x24\x5d\x3b"
  27828. "\x1d\xfb\xdc\x21\xb3\x1a\x37\x0b",
  27829. .len = 32,
  27830. }, {
  27831. .key = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
  27832. "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
  27833. "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
  27834. "\x39\x56\x34\x63\x2c\xc5\x51\x13",
  27835. .klen = 32,
  27836. .iv = "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
  27837. "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
  27838. .ptext = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
  27839. "\x77\xb5\xca\x90\xda\x1d\x22\x17"
  27840. "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
  27841. "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
  27842. "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
  27843. "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
  27844. .ctext = "\x2e\x73\x60\xec\xd3\x95\x78\xe8"
  27845. "\x0f\x98\x1a\xc2\x92\x49\x0b\x49"
  27846. "\x71\x42\xf4\xb0\xaa\x8b\xf8\x53"
  27847. "\x16\xab\x6d\x74\xc0\xda\xab\xcd"
  27848. "\x85\x52\x11\x20\x2c\x59\x16\x00"
  27849. "\x26\x47\x4a\xea\x08\x5f\x38\x68",
  27850. .len = 48,
  27851. }, {
  27852. .key = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
  27853. "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
  27854. "\xa0\x82\x09\x60\x47\xbb\x16\x56"
  27855. "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c",
  27856. .klen = 32,
  27857. .iv = "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
  27858. "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
  27859. .ptext = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
  27860. "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
  27861. "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
  27862. "\x54\x74\x8f\x3d\xe2\xd6\x85\x44"
  27863. "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
  27864. "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
  27865. "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
  27866. "\xb2\x92\x83\x70\x1e\xa3\x97\xa6",
  27867. .ctext = "\xfb\xd3\xc3\x8b\xf7\x89\xcc\x31"
  27868. "\xb1\x7f\xc3\x91\xdc\x04\xc6\xd7"
  27869. "\x33\xbd\xe0\xee\x0c\xd5\x70\xed"
  27870. "\x1b\x1d\xad\x49\x6f\x5c\xa1\x68"
  27871. "\xd7\x03\xc9\x65\xa7\x90\x30\x2b"
  27872. "\x26\xeb\xf4\x7a\xac\xcc\x03\xe1"
  27873. "\x6a\xe5\xdb\x23\x10\x8a\xcd\x70"
  27874. "\x39\x4d\x7a\xc9\xcd\x62\xd1\x65",
  27875. .len = 64,
  27876. }, {
  27877. .key = "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
  27878. "\x91\xac\x17\x11\x1c\x03\x69\x53"
  27879. "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
  27880. "\xb6\x02\xc4\xfa\x95\x01\x33\xa8",
  27881. .klen = 32,
  27882. .iv = "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
  27883. "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
  27884. .ptext = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
  27885. "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
  27886. "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
  27887. "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
  27888. "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
  27889. "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
  27890. "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
  27891. "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
  27892. "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
  27893. "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
  27894. .ctext = "\xa2\x51\x28\xc2\x5e\x58\x1c\xaf"
  27895. "\x84\x92\x1c\xe1\x92\xf0\xf9\x9e"
  27896. "\xf2\xb3\xc6\x2b\x34\xd2\x8d\xa0"
  27897. "\xb3\xd7\x87\x56\xeb\xd9\x32\x6a"
  27898. "\xca\x90\x28\x26\x49\x34\xca\x41"
  27899. "\xce\xc5\x9e\xd6\xfe\x57\x71\x3c"
  27900. "\x98\xaf\xdd\xfc\x7d\xdf\x26\x7e"
  27901. "\xb7\x9c\xd5\x15\xe5\x81\x7a\x4f"
  27902. "\x4f\x4f\xe5\x77\xf2\x2e\x67\x68"
  27903. "\x52\xc1\xac\x28\x2c\x88\xf4\x38",
  27904. .len = 80,
  27905. }, {
  27906. .key = "\x84\xa0\x53\x97\x61\x30\x70\x15"
  27907. "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
  27908. "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
  27909. "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95",
  27910. .klen = 32,
  27911. .iv = "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
  27912. "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
  27913. .ptext = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
  27914. "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
  27915. "\xee\xb7\x0d\x65\x00\x38\xab\x71"
  27916. "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
  27917. "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
  27918. "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
  27919. "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
  27920. "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
  27921. "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
  27922. "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
  27923. "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
  27924. "\x58\x2b\x1d\x73\x9a\x9c\x63\x18",
  27925. .ctext = "\xd1\xce\xbe\xe0\x4a\x6e\x6d\x7f"
  27926. "\x89\x19\x28\xb1\xca\xe8\xc1\x9c"
  27927. "\x8c\x0b\x7d\x63\xfe\xff\x3d\xf4"
  27928. "\x65\x9e\xd6\xe7\x2f\x5a\xc1\x31"
  27929. "\x1e\xe7\x59\x27\x54\x92\xcc\xaa"
  27930. "\x5b\x3d\xeb\xe7\x96\xc1\x49\x54"
  27931. "\x18\xf3\x14\xaa\x56\x03\x28\x53"
  27932. "\xaa\x0a\x91\xdf\x92\x96\x9b\x06"
  27933. "\x1a\x24\x02\x09\xe7\xa6\xdc\x75"
  27934. "\xeb\x00\x1d\xf5\xf2\xa7\x4a\x9d"
  27935. "\x75\x80\xb7\x47\x63\xfc\xad\x18"
  27936. "\x85\x5f\xfc\x64\x03\x72\x38\xe7",
  27937. .len = 96,
  27938. }, {
  27939. .key = "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
  27940. "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
  27941. "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
  27942. "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0",
  27943. .klen = 32,
  27944. .iv = "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
  27945. "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
  27946. .ptext = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
  27947. "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
  27948. "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
  27949. "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
  27950. "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
  27951. "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
  27952. "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
  27953. "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
  27954. "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
  27955. "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
  27956. "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
  27957. "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
  27958. "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
  27959. "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c",
  27960. .ctext = "\x0b\x07\xdc\x6a\x47\x45\xd2\xb0"
  27961. "\xa3\xf2\x42\x2f\xa4\x79\x6b\x4c"
  27962. "\x53\x9c\x8a\x2f\x48\x9c\xf2\x89"
  27963. "\x73\x8b\xdd\x97\xde\x41\x06\xc8"
  27964. "\x8a\x30\x7a\xa9\x90\x4a\x43\xd0"
  27965. "\xd5\xee\x16\x51\x44\xda\xe4\xb8"
  27966. "\xe8\x5f\x6f\xef\x84\xf3\x44\x43"
  27967. "\xbd\xdc\xc3\xdf\x65\x2b\xaf\xf6"
  27968. "\xfe\xd0\x4a\x5b\x30\x47\x8c\xaf"
  27969. "\x8d\xed\x2d\x91\xa1\x03\x9a\x80"
  27970. "\x58\xdd\xaa\x8f\x3b\x6b\x39\x10"
  27971. "\xe5\x92\xbc\xac\xaa\x25\xa1\x13"
  27972. "\x7e\xaa\x03\x83\x05\x83\x11\xfe"
  27973. "\x19\x5f\x04\x01\x48\x00\x3b\x58",
  27974. .len = 112,
  27975. }, {
  27976. .key = "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
  27977. "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
  27978. "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
  27979. "\x6a\x55\x84\x98\x28\x03\x02\xc2",
  27980. .klen = 32,
  27981. .iv = "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
  27982. "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
  27983. .ptext = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
  27984. "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
  27985. "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
  27986. "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
  27987. "\x87\x96\x77\x1a\x10\x81\x63\x8a"
  27988. "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
  27989. "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
  27990. "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
  27991. "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
  27992. "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
  27993. "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
  27994. "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
  27995. "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
  27996. "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
  27997. "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
  27998. "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a",
  27999. .ctext = "\xfe\xba\x8f\x68\x47\x55\xaa\x61"
  28000. "\x48\xdd\xf3\x7c\xc4\xdc\xa6\x93"
  28001. "\x4e\x72\x3f\xc7\xd0\x2b\x9b\xac"
  28002. "\xc1\xb5\x95\xf8\x8e\x75\x62\x0c"
  28003. "\x05\x6a\x90\x76\x35\xed\x73\xf2"
  28004. "\x0f\x44\x3d\xaf\xd4\x00\xeb\x1d"
  28005. "\xad\x27\xf2\x2f\x55\x65\x91\x0f"
  28006. "\xe4\x04\x9c\xfb\x8a\x18\x22\x8e"
  28007. "\x21\xbe\x93\x09\xdd\x3e\x93\x34"
  28008. "\x60\x82\xcd\xff\x42\x10\xed\x43"
  28009. "\x3a\x4b\xb8\x5c\x6c\xa8\x9e\x1c"
  28010. "\x95\x6a\x17\xa7\xa3\xe0\x7d\xdb"
  28011. "\x6e\xca\xaf\xc1\x1f\xb2\x86\x15"
  28012. "\xf0\xc1\x55\x72\xf2\x74\x44\xeb"
  28013. "\x09\x09\x83\x8b\x2c\xc9\x63\x13"
  28014. "\x99\xe3\xe1\x4b\x5c\xf7\xb1\x04",
  28015. .len = 128,
  28016. }, {
  28017. .key = "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
  28018. "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
  28019. "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
  28020. "\xcd\x56\x02\x95\xc9\x54\x6e\x62",
  28021. .klen = 32,
  28022. .iv = "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
  28023. "\xc2\xab\x62\x54\xef\xba\xae\x46",
  28024. .ptext = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
  28025. "\x05\x26\x23\x81\x19\x27\xad\x7b"
  28026. "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
  28027. "\x44\xbf\x59\xde\x03\x61\x11\x12"
  28028. "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
  28029. "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
  28030. "\xb6\x09\x21\x12\x42\x98\x13\xa1"
  28031. "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
  28032. "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
  28033. "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
  28034. "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
  28035. "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
  28036. "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
  28037. "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
  28038. "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
  28039. "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
  28040. "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
  28041. "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01",
  28042. .ctext = "\xa5\x19\x33\xad\x2d\x1a\x7b\x34"
  28043. "\xb0\x21\x68\x0e\x20\x11\x7a\x37"
  28044. "\xef\x35\x33\x64\x31\x0a\x42\x77"
  28045. "\x2c\x7f\x1a\x34\xd6\x93\x2d\xe9"
  28046. "\x26\xb9\x15\xec\x4f\x83\xbd\x48"
  28047. "\x5b\xe9\x63\xea\x10\x3b\xec\xfb"
  28048. "\xb0\x5e\x81\x90\xf0\x07\x43\xc4"
  28049. "\xda\x54\x69\x98\x13\x5d\x93\x16"
  28050. "\xca\x06\x81\x64\x36\xbe\x36\xa2"
  28051. "\xd4\xd8\x48\x63\xc7\x53\x39\x93"
  28052. "\x6d\x6b\xd6\x49\x00\x72\x5e\x02"
  28053. "\xc7\x88\x61\x0f\x10\x88\xd4\x9e"
  28054. "\x17\x81\xa4\xdc\x43\x4e\x83\x43"
  28055. "\xd4\xc3\xd7\x25\x9a\xd4\x76\xde"
  28056. "\x88\xe3\x98\x5a\x0e\x80\x23\xfb"
  28057. "\x49\xb3\x83\xf6\xb9\x16\x00\x06"
  28058. "\xa5\x06\x24\x17\x65\xbb\x68\xa9"
  28059. "\x56\x6d\xeb\xcd\x3c\x14\xd2\x64",
  28060. .len = 144,
  28061. }, {
  28062. .key = "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
  28063. "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
  28064. "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
  28065. "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53",
  28066. .klen = 32,
  28067. .iv = "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
  28068. "\x20\xf0\x79\x67\xb1\x83\x26\x66",
  28069. .ptext = "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
  28070. "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
  28071. "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
  28072. "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
  28073. "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
  28074. "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
  28075. "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
  28076. "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
  28077. "\x52\xf1\x34\x78\x34\x53\x30\x5b"
  28078. "\x43\x43\x51\x6a\x02\x81\x64\x0c"
  28079. "\xcd\x4b\xbf\x0f\xcb\x81\xd4\xec"
  28080. "\x1e\x07\x05\x4d\x5c\x6b\xba\xcc"
  28081. "\x43\xc7\xb1\xfe\xa8\xe9\x96\xb0"
  28082. "\xb1\xb2\xd4\x70\x44\xbc\xaa\x50"
  28083. "\xbf\x3f\x81\xe6\xea\x36\x7d\x97"
  28084. "\x2a\xbd\x52\x16\xf7\xbe\x59\x27"
  28085. "\x8f\xcc\xe3\xa9\xec\x4f\xcd\xd3"
  28086. "\xf4\xe2\x54\xbe\xf1\xf9\x2b\x23"
  28087. "\x40\xc7\xcb\x67\x4d\x5f\x0b\xd4"
  28088. "\xbf\x19\xf0\x2a\xef\x37\xc6\x56",
  28089. .ctext = "\x0a\x69\xd8\x67\x33\x2a\x2f\xa9"
  28090. "\x26\x79\x65\xd6\x75\x1e\x98\xe8"
  28091. "\x52\x56\x32\xbf\x67\x71\xf4\x01"
  28092. "\xb1\x6f\xef\xf9\xc9\xad\xb3\x49"
  28093. "\x7a\x4f\x24\x9a\xae\x06\x62\x26"
  28094. "\x3e\xe4\xa7\x6f\x5a\xbf\xe9\x52"
  28095. "\x13\x01\x74\x8b\x6e\xb1\x65\x24"
  28096. "\xaa\x8d\xbb\x54\x21\x20\x60\xa4"
  28097. "\xb7\xa5\xf9\x4e\x7b\xf5\x0b\x70"
  28098. "\xd2\xb9\xdc\x9b\xdb\x2c\xb2\x43"
  28099. "\xf7\x71\x30\xa5\x13\x6f\x16\x75"
  28100. "\xd0\xdf\x72\xae\xe4\xed\xc1\xa3"
  28101. "\x81\xe0\xd5\xc0\x0e\x62\xe8\xe5"
  28102. "\x86\x2c\x37\xde\xf8\xb0\x21\xe4"
  28103. "\xcd\xa6\x76\x9b\xa1\x56\xd3\x67"
  28104. "\x70\x69\xd6\x5d\xc7\x65\x19\x59"
  28105. "\x43\x9c\xca\x32\xe9\xd1\x48\x92"
  28106. "\x71\x79\x87\x73\x24\xcb\xc0\x0f"
  28107. "\x23\x3b\x8f\x51\x8a\xb3\x3a\x9c"
  28108. "\x74\xa4\x19\xa7\xe4\x4f\x6b\x32",
  28109. .len = 160,
  28110. }
  28111. };
  28112. static const struct cipher_testvec aria_ctr_tv_template[] = {
  28113. {
  28114. .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
  28115. "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1",
  28116. .klen = 16,
  28117. .iv = "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
  28118. "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
  28119. .ptext = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
  28120. "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
  28121. .ctext = "\x19\x28\xb5\xf2\x1c\xbc\xf8\xaf"
  28122. "\xb9\xae\x1b\x23\x4f\xe1\x6e\x40",
  28123. .len = 16,
  28124. }, {
  28125. .key = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
  28126. "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
  28127. .klen = 16,
  28128. .iv = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
  28129. "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
  28130. .ptext = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
  28131. "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e"
  28132. "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
  28133. "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
  28134. .ctext = "\x3f\x8c\xa9\x19\xd6\xb4\xfb\xed"
  28135. "\x9c\x6d\xaa\x1b\xe1\xc1\xe6\xa8"
  28136. "\xa9\x0a\x63\xd3\xa2\x1e\x6b\xa8"
  28137. "\x52\x97\x1e\x81\x34\x6f\x98\x0e",
  28138. .len = 32,
  28139. }, {
  28140. .key = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
  28141. "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
  28142. .klen = 16,
  28143. .iv = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
  28144. "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
  28145. .ptext = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
  28146. "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
  28147. "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
  28148. "\x39\x56\x34\x63\x2c\xc5\x51\x13"
  28149. "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
  28150. "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
  28151. .ctext = "\x28\xd8\xa7\xf8\x74\x98\x00\xfc"
  28152. "\xd6\x48\xad\xbd\xbe\x3f\x0e\x7b"
  28153. "\x3d\x46\xfd\xde\x3e\x4f\x12\x43"
  28154. "\xac\x85\xda\xff\x70\x24\x44\x9d"
  28155. "\x1e\xf8\x9f\x30\xba\xca\xe0\x97"
  28156. "\x03\x6d\xe1\x1d\xc7\x21\x79\x37",
  28157. .len = 48,
  28158. }, {
  28159. .key = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
  28160. "\x77\xb5\xca\x90\xda\x1d\x22\x17",
  28161. .klen = 16,
  28162. .iv = "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
  28163. "\x07\x2c\xf4\x61\x79\x09\x01\x8f",
  28164. .ptext = "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
  28165. "\x07\x60\xba\xf0\x2e\xc3\x4a\x57"
  28166. "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
  28167. "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
  28168. "\xa0\x82\x09\x60\x47\xbb\x16\x56"
  28169. "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
  28170. "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
  28171. "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
  28172. .ctext = "\x29\x31\x55\xd2\xe5\x0b\x81\x39"
  28173. "\xf9\xbc\x63\xe2\xfa\x26\x99\xde"
  28174. "\xde\x18\x93\x68\x81\x7b\x0a\x4d"
  28175. "\xf6\x03\xe1\xee\xf9\x0e\x1f\xe8"
  28176. "\xa8\x80\x81\x46\xdc\x24\x43\x3f"
  28177. "\xff\xfe\x8c\x3e\x17\x0a\x6d\xa2"
  28178. "\x47\x55\x62\xa0\x03\x4e\x48\x67"
  28179. "\xa2\x64\xc0\x9b\x6c\xa4\xfd\x6a",
  28180. .len = 64,
  28181. }, {
  28182. .key = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
  28183. "\xba\xbc\x46\x6a\x69\x17\x3c\xac",
  28184. .klen = 16,
  28185. .iv = "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
  28186. "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
  28187. .ptext = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
  28188. "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
  28189. "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
  28190. "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
  28191. "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
  28192. "\x91\xac\x17\x11\x1c\x03\x69\x53"
  28193. "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
  28194. "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
  28195. "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
  28196. "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
  28197. .ctext = "\x38\xbc\xf5\x9d\x0e\x26\xa6\x18"
  28198. "\x95\x0b\x23\x54\x09\xa1\xf9\x46"
  28199. "\x12\xf1\x42\x57\xa1\xaa\x52\xfa"
  28200. "\x8a\xbd\xf2\x03\x63\x4e\xbc\xf7"
  28201. "\x21\xea\xed\xca\xdd\x42\x41\x94"
  28202. "\xe4\x6c\x07\x06\x19\x59\x30\xff"
  28203. "\x8c\x9d\x51\xbf\x2c\x2e\x5b\xa5"
  28204. "\x7d\x11\xec\x6b\x21\x08\x12\x18"
  28205. "\xe4\xdf\x5a\xfd\xa6\x5f\xee\x2f"
  28206. "\x5c\x24\xb7\xea\xc1\xcd\x6d\x68",
  28207. .len = 80,
  28208. }, {
  28209. .key = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
  28210. "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3",
  28211. .klen = 16,
  28212. .iv = "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
  28213. "\xcc\x6f\x70\x26\x87\xc7\x10\x8a",
  28214. .ptext = "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
  28215. "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
  28216. "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
  28217. "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
  28218. "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
  28219. "\xaf\x06\xea\xf4\x65\x59\xd6\xc2"
  28220. "\x84\xa0\x53\x97\x61\x30\x70\x15"
  28221. "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
  28222. "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
  28223. "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
  28224. "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
  28225. "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
  28226. .ctext = "\xdf\x79\x58\x30\x6f\x47\x12\x78"
  28227. "\x04\xb2\x0b\x1a\x62\x22\xe2\x9f"
  28228. "\xfe\xc2\xf5\x6d\x9e\x0e\x2e\x56"
  28229. "\x76\x01\x7f\x25\x8f\x6e\xc5\xf3"
  28230. "\x91\xff\xcd\x67\xc6\xae\x0b\x01"
  28231. "\x4d\x5f\x40\x25\x88\xc5\xe0\x3d"
  28232. "\x37\x62\x12\x58\xfe\xc5\x4a\x21"
  28233. "\x4a\x86\x8d\x94\xdd\xfd\xe6\xf6"
  28234. "\x1e\xa6\x78\x4f\x90\x66\xda\xe4"
  28235. "\x4e\x64\xa8\x05\xc6\xd8\x7d\xfb"
  28236. "\xac\xc9\x1d\x14\xb5\xb0\xfa\x9c"
  28237. "\xe8\x84\xef\x87\xbe\xb4\x2a\x87",
  28238. .len = 96,
  28239. }, {
  28240. .key = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
  28241. "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1",
  28242. .klen = 16,
  28243. .iv = "\xee\xb7\x0d\x65\x00\x38\xab\x71"
  28244. "\x70\x6e\xb3\x97\x86\xd3\xcd\xad",
  28245. .ptext = "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
  28246. "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
  28247. "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
  28248. "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
  28249. "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
  28250. "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
  28251. "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
  28252. "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
  28253. "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
  28254. "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
  28255. "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
  28256. "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
  28257. "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
  28258. "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
  28259. .ctext = "\xe4\x25\x0d\x22\xeb\xbe\x5e\x90"
  28260. "\x01\xe5\xae\xc9\x94\xbd\x93\x89"
  28261. "\x5f\x98\xf1\x46\x6a\x50\x3b\xa2"
  28262. "\x79\xd9\xe4\x9c\x9a\xde\xf2\x8c"
  28263. "\x25\x49\x4c\xda\xb4\x2c\x76\xab"
  28264. "\x0a\xa8\x51\xaf\xc0\x62\x1b\xe9"
  28265. "\xe9\x7a\x35\x6a\x4b\x1f\x48\x00"
  28266. "\xeb\x24\x1d\x5e\xdd\x06\x09\x23"
  28267. "\x2a\xfa\x8f\x3b\x3e\x9e\x14\x6f"
  28268. "\x2a\x3c\xef\x6d\x73\x67\xdd\x6c"
  28269. "\xc8\xa5\x57\xc8\x02\xb6\x9a\xe8"
  28270. "\x8d\xcf\x10\xfa\x3e\x9c\x4d\xeb"
  28271. "\x44\xd2\x05\x31\x40\x94\x77\x87"
  28272. "\xf0\x83\xb5\xd2\x2a\x9c\xbc\xe4",
  28273. .len = 112,
  28274. }, {
  28275. .key = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
  28276. "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15",
  28277. .klen = 16,
  28278. .iv = "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
  28279. "\xb1\x9b\x5d\x00\x10\xe9\x70\x12",
  28280. .ptext = "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
  28281. "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
  28282. "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
  28283. "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
  28284. "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
  28285. "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
  28286. "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
  28287. "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
  28288. "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
  28289. "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
  28290. "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
  28291. "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
  28292. "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
  28293. "\x6a\x55\x84\x98\x28\x03\x02\xc2"
  28294. "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
  28295. "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
  28296. .ctext = "\xa7\x4c\x96\x55\x7c\x07\xce\xb2"
  28297. "\x6f\x63\x9f\xc6\x8b\x6f\xc6\x4a"
  28298. "\x2c\x47\x8d\x99\xdf\x65\x75\x96"
  28299. "\xb7\x1d\x50\x5b\x57\x4a\x69\xcc"
  28300. "\xc9\x3a\x18\x8a\xd1\xab\x70\x4a"
  28301. "\xa3\x13\x80\xdd\x48\xc0\x6a\x7d"
  28302. "\x21\xa8\x22\x06\x32\x47\xc0\x16"
  28303. "\x1f\x9a\xc0\x21\x33\x66\xf2\xd8"
  28304. "\x69\x79\xae\x02\x82\x3f\xaf\xa6"
  28305. "\x98\xdb\xcd\x2a\xe5\x12\x39\x80"
  28306. "\x8a\xc1\x73\x99\xe5\xe4\x17\xe3"
  28307. "\x56\xc2\x43\xa6\x41\x6b\xb2\xa4"
  28308. "\x9f\x81\xc4\xe9\xf4\x29\x65\x50"
  28309. "\x69\x81\x80\x4b\x86\xab\x5e\x30"
  28310. "\xd0\x81\x9d\x6f\x24\x59\x42\xc7"
  28311. "\x6d\x5e\x41\xb8\xf5\x99\xc2\xae",
  28312. .len = 128,
  28313. }, {
  28314. .key = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
  28315. "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c",
  28316. .klen = 16,
  28317. .iv = "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
  28318. "\x8c\xaf\x36\x3d\xff\x29\x8b\x33",
  28319. .ptext = "\x87\x96\x77\x1a\x10\x81\x63\x8a"
  28320. "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
  28321. "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
  28322. "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
  28323. "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
  28324. "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
  28325. "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
  28326. "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
  28327. "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
  28328. "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
  28329. "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
  28330. "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
  28331. "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
  28332. "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
  28333. "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
  28334. "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
  28335. "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
  28336. "\xc2\xab\x62\x54\xef\xba\xae\x46",
  28337. .ctext = "\x11\x7f\xea\x49\xaf\x24\x52\xa2"
  28338. "\xde\x60\x99\x58\x23\xf9\x9e\x91"
  28339. "\x73\xd5\x9a\xcb\xdd\x10\xcd\x68"
  28340. "\xb8\x9e\xef\xa4\xe9\x2d\xf0\x27"
  28341. "\x44\xd4\x9a\xd6\xb6\x9c\x7a\xec"
  28342. "\x17\x17\xea\xa7\x8e\xa8\x40\x6b"
  28343. "\x43\x3d\x50\x59\x0f\x74\x1b\x9e"
  28344. "\x03\xed\x4f\x2f\xb8\xda\xef\xc3"
  28345. "\x3f\x29\xb3\xf4\x5c\xcd\xce\x3c"
  28346. "\xba\xfb\xc6\xd1\x1d\x6f\x61\x3a"
  28347. "\x2b\xbd\xde\x30\xc5\x53\xe0\x6e"
  28348. "\xbe\xae\x2f\x81\x13\x0f\xd2\xd5"
  28349. "\x14\xda\xd3\x60\x9c\xf8\x00\x86"
  28350. "\xe9\x97\x3e\x05\xb3\x95\xb3\x21"
  28351. "\x1f\x3c\x56\xef\xcb\x32\x49\x5c"
  28352. "\x89\xf1\x34\xe4\x8d\x7f\xde\x01"
  28353. "\x1f\xd9\x25\x6d\x34\x1d\x6b\x71"
  28354. "\xc9\xa9\xd6\x14\x1a\xf1\x44\x59",
  28355. .len = 144,
  28356. }, {
  28357. .key = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
  28358. "\x05\x26\x23\x81\x19\x27\xad\x7b",
  28359. .klen = 16,
  28360. .iv = "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
  28361. "\x44\xbf\x59\xde\x03\x61\x11\x12",
  28362. .ptext = "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
  28363. "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
  28364. "\xb6\x09\x21\x12\x42\x98\x13\xa1"
  28365. "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
  28366. "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
  28367. "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
  28368. "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
  28369. "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
  28370. "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
  28371. "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
  28372. "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
  28373. "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
  28374. "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
  28375. "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
  28376. "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
  28377. "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
  28378. "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
  28379. "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
  28380. "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
  28381. "\x20\xf0\x79\x67\xb1\x83\x26\x66",
  28382. .ctext = "\x5b\xc0\xe8\x17\xa4\xf9\xea\xce"
  28383. "\x9e\xf9\xe0\xb1\xac\x37\xe9\x41"
  28384. "\x0b\x57\xc6\x55\x54\x50\xfa\xa9"
  28385. "\x60\xaf\x7a\x4e\x98\x56\xde\x81"
  28386. "\x14\xfc\xac\x21\x81\x3e\xf4\x0f"
  28387. "\x40\x92\x30\xa8\x16\x88\x1a\xc3"
  28388. "\xf1\x39\xbd\x0a\xb9\x44\xc8\x67"
  28389. "\x8c\xaa\x2b\x45\x8b\x5b\x7b\x24"
  28390. "\xd5\xd8\x9e\xd3\x59\xa5\xd7\x69"
  28391. "\xdf\xf4\x50\xf9\x5f\x4f\x44\x1f"
  28392. "\x2c\x75\x68\x6e\x3a\xa8\xae\x4b"
  28393. "\x84\xf0\x42\x6c\xc0\x3c\x42\xaf"
  28394. "\x87\x2b\x89\xe9\x51\x69\x16\x63"
  28395. "\xc5\x62\x13\x05\x4c\xb2\xa9\x69"
  28396. "\x01\x14\x73\x88\x8e\x41\x47\xb6"
  28397. "\x68\x74\xbc\xe9\xad\xda\x94\xa1"
  28398. "\x0c\x12\x8e\xd4\x38\x15\x02\x97"
  28399. "\x27\x72\x4d\xdf\x61\xcc\x86\x3d"
  28400. "\xd6\x32\x4a\xc3\xa9\x4c\x35\x4f"
  28401. "\x5b\x91\x7d\x5c\x79\x59\xb3\xd5",
  28402. .len = 160,
  28403. }, {
  28404. .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
  28405. "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
  28406. "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
  28407. .klen = 24,
  28408. .iv = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
  28409. "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
  28410. .ptext = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
  28411. "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
  28412. .ctext = "\xa4\x12\x2f\xc4\xf0\x6d\xd9\x46"
  28413. "\xe4\xe6\xd1\x0b\x6d\x14\xf0\x8f",
  28414. .len = 16,
  28415. }, {
  28416. .key = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
  28417. "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
  28418. "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
  28419. .klen = 24,
  28420. .iv = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
  28421. "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
  28422. .ptext = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
  28423. "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
  28424. "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
  28425. "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
  28426. .ctext = "\x80\x2b\xf0\x88\xb9\x4b\x8d\xf5"
  28427. "\xc3\x0e\x15\x5b\xea\x5d\x5b\xa8"
  28428. "\x07\x95\x78\x72\xc0\xb9\xbf\x25"
  28429. "\x33\x22\xd1\x05\x56\x46\x62\x25",
  28430. .len = 32,
  28431. }, {
  28432. .key = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
  28433. "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
  28434. "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
  28435. .klen = 24,
  28436. .iv = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
  28437. "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
  28438. .ptext = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
  28439. "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
  28440. "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
  28441. "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
  28442. "\x77\xb5\xca\x90\xda\x1d\x22\x17"
  28443. "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
  28444. .ctext = "\x65\x01\x3c\xb0\xac\x4c\x63\xb6"
  28445. "\xe7\xf1\xf4\x61\x35\xf4\x36\xde"
  28446. "\x7f\x85\xba\x41\xa8\xb0\x27\x11"
  28447. "\x86\x2c\x71\x16\x05\x1d\xcf\x70"
  28448. "\x35\xef\x23\x17\xfc\xed\x3f\x1a"
  28449. "\x8e\xb3\xe5\xdb\x90\xb4\xb8\x35",
  28450. .len = 48,
  28451. }, {
  28452. .key = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
  28453. "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
  28454. "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
  28455. .klen = 24,
  28456. .iv = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
  28457. "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
  28458. .ptext = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
  28459. "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
  28460. "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
  28461. "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
  28462. "\x30\x9d\x59\x8d\x64\x76\xad\x37"
  28463. "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
  28464. "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
  28465. "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
  28466. .ctext = "\x5a\xfb\xb1\x2c\x6e\xe5\xb8\xe0"
  28467. "\x80\xb6\x77\xa8\xfe\x10\x3a\x99"
  28468. "\x00\x8e\x30\x23\x7d\x50\x87\xda"
  28469. "\xc6\x46\x73\x37\x8b\xf1\xab\x26"
  28470. "\x2d\xa8\x0c\xa8\x9e\x77\xee\xfc"
  28471. "\x78\x4f\x03\x0f\xeb\xc6\x03\x34"
  28472. "\xb9\x9c\x4f\x59\x55\xc5\x99\x47"
  28473. "\xd4\x7e\xe8\x06\x43\x5f\xa1\x6b",
  28474. .len = 64,
  28475. }, {
  28476. .key = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
  28477. "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
  28478. "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
  28479. .klen = 24,
  28480. .iv = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
  28481. "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
  28482. .ptext = "\x91\xac\x17\x11\x1c\x03\x69\x53"
  28483. "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
  28484. "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
  28485. "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
  28486. "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
  28487. "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
  28488. "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
  28489. "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
  28490. "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
  28491. "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
  28492. .ctext = "\xc9\x5f\xe0\x60\x61\x38\x7e\x79"
  28493. "\x52\x68\x64\x8f\x55\x9b\x6b\x72"
  28494. "\xbf\x09\xef\x2f\xb2\x92\xbb\xa3"
  28495. "\xe1\x6a\xeb\xe6\x4e\x7c\x5d\xe0"
  28496. "\x6a\x4b\xd0\x57\x3b\x28\x8a\x83"
  28497. "\x75\xd4\x5a\x2e\xd1\x9a\x57\xe3"
  28498. "\xc5\x43\x36\xde\x02\xac\x2c\x75"
  28499. "\xea\x33\x3a\x7e\x5d\xb8\xf6\x12"
  28500. "\x42\xbd\x06\x8a\x09\x6b\xd6\xb6"
  28501. "\x25\x59\xcd\xbd\x17\xeb\x69\xb3",
  28502. .len = 80,
  28503. }, {
  28504. .key = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
  28505. "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
  28506. "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
  28507. .klen = 24,
  28508. .iv = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
  28509. "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
  28510. .ptext = "\x84\xa0\x53\x97\x61\x30\x70\x15"
  28511. "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
  28512. "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
  28513. "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
  28514. "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
  28515. "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
  28516. "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
  28517. "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
  28518. "\xee\xb7\x0d\x65\x00\x38\xab\x71"
  28519. "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
  28520. "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
  28521. "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
  28522. .ctext = "\x03\x2c\x39\x24\x99\xb5\xf6\x79"
  28523. "\x91\x89\xb7\xf8\x89\x68\x37\x9d"
  28524. "\xe7\x4d\x7d\x1c\x36\xae\x98\xd2"
  28525. "\xbf\x2a\xa4\x30\x38\x30\xe7\x5d"
  28526. "\xbb\x00\x09\x40\x34\xa4\xef\x82"
  28527. "\x23\xca\x0e\xb3\x71\x80\x29\x0a"
  28528. "\xa9\x0b\x26\x65\x9a\x12\xbf\x18"
  28529. "\xfb\xf8\xe4\xc2\x62\x57\x18\xfb"
  28530. "\x1e\x98\xea\x5b\xf6\xd6\x7c\x52"
  28531. "\x7a\xba\x0e\x6a\x54\x19\xb6\xfa"
  28532. "\xe5\xd7\x60\x40\xb0\x1a\xf1\x09"
  28533. "\x70\x96\x23\x49\x98\xfc\x79\xd2",
  28534. .len = 96,
  28535. }, {
  28536. .key = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
  28537. "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
  28538. "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
  28539. .klen = 24,
  28540. .iv = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
  28541. "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
  28542. .ptext = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
  28543. "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
  28544. "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
  28545. "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
  28546. "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
  28547. "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
  28548. "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
  28549. "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
  28550. "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
  28551. "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
  28552. "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
  28553. "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
  28554. "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
  28555. "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
  28556. .ctext = "\xd4\x9a\x04\x54\x05\xd2\xe6\x3f"
  28557. "\xb0\xa4\x36\x5e\x1e\x9c\x35\xb0"
  28558. "\xa6\x62\x35\x47\xf4\x4d\x08\x9e"
  28559. "\x1c\x22\x91\x8e\x7f\x00\xa6\x3e"
  28560. "\x0a\x04\x42\x0f\xc4\xa6\x5d\xe2"
  28561. "\x49\x4c\x61\x12\xea\x9d\x7d\x7c"
  28562. "\xfa\x93\x74\x6b\x79\x8c\xdb\xc6"
  28563. "\x47\xf6\xea\x84\x3e\x97\x7d\x87"
  28564. "\x40\x38\x92\xc7\x44\xef\xdf\x63"
  28565. "\x29\xe4\x5b\x3a\x87\x22\xa1\x3f"
  28566. "\x2b\x31\xb1\xa4\x0d\xea\xf3\x0b"
  28567. "\xd7\x4f\xb6\x9c\xba\x40\xa3\x2f"
  28568. "\x21\x2b\x05\xe4\xca\xef\x87\x04"
  28569. "\xe6\xd0\x29\x2c\x29\x26\x57\xcd",
  28570. .len = 112,
  28571. }, {
  28572. .key = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
  28573. "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
  28574. "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
  28575. .klen = 24,
  28576. .iv = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
  28577. "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
  28578. .ptext = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
  28579. "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
  28580. "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
  28581. "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
  28582. "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
  28583. "\x6a\x55\x84\x98\x28\x03\x02\xc2"
  28584. "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
  28585. "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
  28586. "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
  28587. "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
  28588. "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
  28589. "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
  28590. "\x87\x96\x77\x1a\x10\x81\x63\x8a"
  28591. "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
  28592. "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
  28593. "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
  28594. .ctext = "\xbc\x57\x2a\x88\x0a\xd0\x06\x4f"
  28595. "\xdb\x7b\x03\x9f\x97\x1a\x20\xfe"
  28596. "\xdb\xdc\x8e\x7b\x68\x13\xc8\xf5"
  28597. "\x06\xe3\xe0\x7e\xd3\x51\x21\x86"
  28598. "\x4f\x32\xdb\x78\xe3\x26\xbe\x34"
  28599. "\x52\x4c\x4e\x6b\x85\x52\x63\x8b"
  28600. "\x8c\x5c\x0e\x33\xf5\xa3\x88\x2d"
  28601. "\x04\xdc\x01\x2d\xbe\xa1\x48\x6d"
  28602. "\x50\xf4\x16\xb1\xd7\x4d\x1e\x99"
  28603. "\xa8\x1d\x54\xcb\x13\xf9\x85\x51"
  28604. "\x18\x9f\xef\x45\x62\x5d\x48\xe5"
  28605. "\x0c\x54\xf7\x7b\x33\x18\xce\xb0"
  28606. "\xd5\x82\x1b\xe2\x91\xae\xdc\x09"
  28607. "\xe2\x97\xa8\x27\x13\x78\xc6\xb8"
  28608. "\x20\x06\x1a\x71\x5a\xb3\xbc\x1b"
  28609. "\x69\x1f\xcd\x57\x70\xa7\x1e\x35",
  28610. .len = 128,
  28611. }, {
  28612. .key = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
  28613. "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
  28614. "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
  28615. .klen = 24,
  28616. .iv = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
  28617. "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
  28618. .ptext = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
  28619. "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
  28620. "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
  28621. "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
  28622. "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
  28623. "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
  28624. "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
  28625. "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
  28626. "\xc2\xab\x62\x54\xef\xba\xae\x46"
  28627. "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
  28628. "\x05\x26\x23\x81\x19\x27\xad\x7b"
  28629. "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
  28630. "\x44\xbf\x59\xde\x03\x61\x11\x12"
  28631. "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
  28632. "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
  28633. "\xb6\x09\x21\x12\x42\x98\x13\xa1"
  28634. "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
  28635. "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
  28636. .ctext = "\xd7\xb4\xfc\xcc\x1f\xf7\xfc\x7d"
  28637. "\x69\xfa\xcb\x01\x60\xf3\x5a\x14"
  28638. "\x88\xf7\xea\x43\xaa\x47\xf1\x8a"
  28639. "\x4e\xd0\x3c\x50\x58\x35\x95\x21"
  28640. "\x5f\xcc\x73\x0b\x97\xa0\x2c\x6b"
  28641. "\x70\x4d\x3d\xa8\x21\xbe\xfc\xec"
  28642. "\xb6\x55\xf0\x48\x2b\x11\xcc\x4b"
  28643. "\xda\xf7\x09\xd9\x18\x7b\x4f\x00"
  28644. "\x76\x40\xe0\x7d\x33\xcf\x4f\x77"
  28645. "\x91\x97\x63\xfa\x72\xba\x5c\x3d"
  28646. "\xcf\x2e\xb8\x19\x56\x4a\xa5\x02"
  28647. "\xc3\xb1\x80\xa8\x57\x03\x32\x57"
  28648. "\xa8\xe1\x65\xf7\xd3\x52\xc5\xcf"
  28649. "\x55\x1e\x34\xe3\x77\xab\x83\xdb"
  28650. "\xaf\xd3\x8a\xcc\x96\x1c\xc9\x73"
  28651. "\xd9\x0b\xb6\x4c\x31\xac\x2c\x82"
  28652. "\xb8\xb4\xc8\xe1\xa5\x71\xcc\xb3"
  28653. "\x7e\x85\xb8\xfa\x6b\xef\x41\x24",
  28654. .len = 144,
  28655. }, {
  28656. .key = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
  28657. "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
  28658. "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
  28659. .klen = 24,
  28660. .iv = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
  28661. "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
  28662. .ptext = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
  28663. "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
  28664. "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
  28665. "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
  28666. "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
  28667. "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
  28668. "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
  28669. "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
  28670. "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
  28671. "\x20\xf0\x79\x67\xb1\x83\x26\x66"
  28672. "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
  28673. "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
  28674. "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
  28675. "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
  28676. "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
  28677. "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
  28678. "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
  28679. "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
  28680. "\x52\xf1\x34\x78\x34\x53\x30\x5b"
  28681. "\x43\x43\x51\x6a\x02\x81\x64\x0c",
  28682. .ctext = "\x71\xf6\x96\x02\x07\x71\x1a\x08"
  28683. "\x7c\xfe\x33\xc4\xc9\xbe\xe2\xed"
  28684. "\xf8\x46\x69\xce\x1b\xdc\xd3\x05"
  28685. "\x7a\xec\x26\x4d\x27\x2a\x49\x36"
  28686. "\x85\xe1\x5d\xd3\x91\xd7\x68\xb8"
  28687. "\x55\xa5\x27\x55\x2d\xc1\x78\x27"
  28688. "\x0c\x49\x0a\x24\x3b\x76\x3f\x5f"
  28689. "\x29\x1c\x37\x2f\x30\xfc\x50\xcb"
  28690. "\xe2\x54\x26\x7d\x97\xa7\xf3\x58"
  28691. "\x15\xe1\x4c\xeb\x35\xc9\xd1\x1e"
  28692. "\x7e\x7d\xa0\xe5\x62\xa5\x2d\xf6"
  28693. "\x77\xb0\xef\x13\x55\xb4\x66\x2c"
  28694. "\x3b\x50\x1b\x4d\xc2\x64\xce\xc6"
  28695. "\xfe\xf2\xad\xfe\x26\x73\x36\x66"
  28696. "\x0c\x2f\x10\x35\x97\x3c\x9c\x98"
  28697. "\xc1\x90\xa8\x82\xd7\xc6\x31\x68"
  28698. "\xcf\x77\xa8\x5b\xdf\xf9\x5a\x8e"
  28699. "\x84\xb5\x0b\x6e\x5b\xec\x36\x89"
  28700. "\x0b\xb1\xbf\xb9\x70\x02\x5c\x22"
  28701. "\xc3\xd5\xc1\xc6\xfd\x07\xdb\x70",
  28702. .len = 160,
  28703. }, {
  28704. .key = "\x82\x8e\x9e\x06\x7b\xc2\xe9\xb3"
  28705. "\x06\xa3\xfa\x99\x42\x67\x87\xac"
  28706. "\x21\xc7\xb0\x98\x6c\xf8\x26\x57"
  28707. "\x08\xdd\x92\x02\x77\x7b\x35\xe7",
  28708. .klen = 32,
  28709. .iv = "\xa1\xad\xcb\xdd\xd5\x19\xb6\xd4"
  28710. "\x0b\x62\x58\xb0\x6c\xa0\xc1\x58",
  28711. .ptext = "\x14\x0d\x8a\x09\x16\x00\x00\xf1"
  28712. "\xc0\x20\x86\xf9\x21\xd1\x34\xe2",
  28713. .ctext = "\x05\xe3\x34\xaf\x6c\x83\x14\x8b"
  28714. "\x9d\x1c\xd6\x87\x74\x91\xdf\x17",
  28715. .len = 16,
  28716. }, {
  28717. .key = "\xc9\xf3\xc4\x93\xd0\xcc\xaf\xb1"
  28718. "\x1a\x42\x93\x71\xd8\x4e\xd8\xaa"
  28719. "\x52\xad\x93\x2f\xe5\xd9\xaa\x5b"
  28720. "\x47\x37\x3a\xed\x13\x92\x35\x16",
  28721. .klen = 32,
  28722. .iv = "\x81\xc8\x50\xd1\x74\xc3\x1c\x73"
  28723. "\xbb\xab\x72\x83\x90\x5a\x15\xcb",
  28724. .ptext = "\x65\x11\x93\xaf\xe1\x69\x6c\xbe"
  28725. "\x25\x8c\x76\x87\x53\xa4\x80\xae"
  28726. "\x51\x94\x36\x3f\xca\xe7\x45\x41"
  28727. "\x76\x05\xbf\x8f\x9c\xad\xc0\xe3",
  28728. .ctext = "\x6b\x00\x6e\x49\x7a\x6d\xe3\x04"
  28729. "\x4e\xf7\x9f\x8a\x1f\x14\xbd\xb1"
  28730. "\x51\xbf\x13\x9f\x29\x95\x51\x16"
  28731. "\xd0\x23\x9a\x1a\x45\xc2\xc3\xd1",
  28732. .len = 32,
  28733. }, {
  28734. .key = "\xd5\x9f\x52\x34\x12\x99\x8e\x42"
  28735. "\xe0\x85\x04\x6f\xeb\xf1\x5d\xd0"
  28736. "\xc1\xbf\x3f\x84\xd9\x1e\x71\x44"
  28737. "\xd4\xb9\x40\x3c\x02\x2e\x21\x19",
  28738. .klen = 32,
  28739. .iv = "\x28\xc1\x97\x64\x81\x52\x57\x0e"
  28740. "\x02\x8c\xab\x4c\xe2\x60\x14\xa5",
  28741. .ptext = "\x5a\xb1\x33\x48\xaa\x51\xe9\xa4"
  28742. "\x5c\x2d\xbe\x33\xcc\xc4\x7f\x96"
  28743. "\xe8\xde\x2b\xe7\x35\x7a\x11\x4b"
  28744. "\x13\x08\x32\xc6\x41\xd8\xec\x54"
  28745. "\xa3\xd3\xda\x35\x43\x69\xf6\x88"
  28746. "\x97\xca\x00\x1b\x02\x59\x24\x82",
  28747. .ctext = "\x03\xaf\x76\xbd\x5e\x5b\xca\xc0"
  28748. "\xae\x44\xa2\x2f\xc2\x76\x2f\x50"
  28749. "\xfa\x94\x94\x5a\x48\x9d\x9c\x38"
  28750. "\xc9\x75\xc9\xb2\x56\x0a\x2d\x91"
  28751. "\xb8\xe8\x4e\xaa\xcb\x51\x9b\x6a"
  28752. "\x20\x9b\x2b\xc5\xb0\x18\x9d\x01",
  28753. .len = 48,
  28754. }, {
  28755. .key = "\x9c\x5d\xd7\x66\x36\xfa\x02\x20"
  28756. "\x99\x61\x62\x86\x0f\x43\x2e\x05"
  28757. "\x25\x8b\xfb\xf1\xae\x4c\xde\x18"
  28758. "\x0b\xf8\xd0\x9d\xaa\xd4\x56\x04",
  28759. .klen = 32,
  28760. .iv = "\xcd\xa8\x61\x89\x8d\xbb\x72\xb6"
  28761. "\x1e\xfe\x03\x34\x54\x88\x23\xe2",
  28762. .ptext = "\x66\x42\x60\x24\xf3\xe4\xe9\x7e"
  28763. "\x42\x20\xf4\x61\xce\x1c\x5e\x44"
  28764. "\x02\x26\x91\xf7\x41\xa4\xab\x34"
  28765. "\x29\x49\xdd\x78\x19\x8f\x10\x10"
  28766. "\xf0\x61\xcf\x77\x18\x17\x61\xdf"
  28767. "\xc4\xa8\x35\x0e\x75\x1b\x84\x6b"
  28768. "\xc3\x3f\x31\x59\x5a\x9c\xf4\xc3"
  28769. "\x43\xa9\xb7\xf8\x65\x40\x40\xba",
  28770. .ctext = "\xb6\x41\x55\x8f\xeb\x16\x1e\x4c"
  28771. "\x81\xa0\x85\x6c\xf0\x07\xa5\x2a"
  28772. "\x19\x91\xed\x3e\xd6\x30\x8c\xca"
  28773. "\x5d\x0f\x58\xca\xd2\x8a\xac\xa2"
  28774. "\x2b\x86\x4f\xb5\x85\x4d\xac\x6d"
  28775. "\xe5\x39\x1b\x02\x23\x89\x4e\x4f"
  28776. "\x02\x00\xe8\x1b\x40\x85\x21\x2b"
  28777. "\xc6\xb1\x98\xed\x70\xb3\xf8\xc3",
  28778. .len = 64,
  28779. }, {
  28780. .key = "\x4b\x4e\x11\x91\x27\xcf\x8c\x66"
  28781. "\x17\xfa\x5b\x4c\xa8\xb8\x0f\xa1"
  28782. "\x99\x5b\x07\x56\xe1\x8d\x94\x8b"
  28783. "\xf2\x86\x5a\x5f\x40\x83\xfa\x06",
  28784. .klen = 32,
  28785. .iv = "\xfd\x73\xee\x1c\x27\xf3\xb4\x38"
  28786. "\xc5\x7c\x2e\xc5\x6e\xdb\x49\x0d",
  28787. .ptext = "\x0a\xe2\xdd\x97\xdd\x5e\xd4\xb3"
  28788. "\xc1\x49\x8f\x53\xb2\x40\x85\x1c"
  28789. "\x90\x37\x2d\xbd\x21\x6b\x1f\x80"
  28790. "\x56\x98\x76\x1e\xcf\x6c\x78\xd8"
  28791. "\xa0\x3c\x79\xc3\x56\xf7\xfc\x64"
  28792. "\x35\x58\x1c\x7c\xc4\x5f\x2a\x25"
  28793. "\x8c\x01\x98\x1e\x1c\x1f\x15\x64"
  28794. "\x50\xb5\xfa\x02\xd3\x54\xe5\x29"
  28795. "\xe3\xd2\xa3\x83\x54\x40\x54\xc5"
  28796. "\xd8\x1c\xc9\x84\x7d\xc8\x31\x49",
  28797. .ctext = "\x53\x2a\xa8\xa0\x15\xaf\x2f\xc4"
  28798. "\x7d\x31\xb4\x61\x80\x5f\xd1\xb6"
  28799. "\x7c\xca\x86\xb9\x28\x6e\xb6\x2b"
  28800. "\xe3\x4b\x7e\xea\xb3\x4f\xa2\xa2"
  28801. "\x4e\x8f\xbe\x22\x66\xb3\x92\xbc"
  28802. "\x70\x91\xaf\xa6\x09\x5d\xe2\x05"
  28803. "\x38\x62\xd3\x6e\x07\x63\x91\xad"
  28804. "\x48\x5a\x42\xe7\xdc\x0d\xb1\xe3"
  28805. "\x92\x88\x64\xee\x93\xaa\xaf\x31"
  28806. "\x68\x57\x35\x8d\x54\x2c\xfa\xb1",
  28807. .len = 80,
  28808. }, {
  28809. .key = "\x77\x3b\xf5\xe7\x20\xf7\xe0\x0c"
  28810. "\x3d\x3a\x83\x17\x83\x79\xd8\x29"
  28811. "\x5a\x0a\x25\x7f\xe0\x21\x23\xff"
  28812. "\x31\xfd\x60\x10\xe6\x63\xe2\xaf",
  28813. .klen = 32,
  28814. .iv = "\xdb\x4c\x0d\xc0\x36\xdb\xc7\xa1"
  28815. "\xa4\x91\xd9\x05\xe6\xc4\x98\x00",
  28816. .ptext = "\x8d\x4d\xc6\x5e\x01\x82\xb3\x39"
  28817. "\xc8\x64\xa7\xcb\x05\x19\x84\x80"
  28818. "\x3f\x9c\xa8\x4f\x64\xb3\x11\x4b"
  28819. "\x0e\x21\xc4\x75\x04\x1d\x6f\xd5"
  28820. "\x04\x04\x4d\xc9\xc0\x4b\x4a\x9c"
  28821. "\x26\xb7\x68\x5a\xe4\xd0\x61\xe3"
  28822. "\x2c\x93\x8e\x3f\xb4\x67\x07\x31"
  28823. "\x02\x52\x0c\x0f\xe6\x6d\xa3\xd0"
  28824. "\x48\x95\x83\x67\x23\x64\x31\x50"
  28825. "\xd2\x5f\x69\x68\x8b\x71\xbf\x01"
  28826. "\x29\x99\x86\x36\x2e\xdf\xf1\x7c"
  28827. "\x08\x8c\x78\x7a\x93\x9a\x7d\x1b",
  28828. .ctext = "\x92\x90\x48\x2f\x3a\x6b\x68\x43"
  28829. "\x28\x9b\x7d\x1e\x46\x28\xd8\x58"
  28830. "\xd9\x1e\x44\xd7\x24\x91\x65\xb1"
  28831. "\x15\xde\xc4\x63\xf1\xb1\x34\x9e"
  28832. "\xae\x8c\x51\x94\xc5\x22\x65\x8d"
  28833. "\x3d\x85\xf5\x34\x5f\x04\x68\x95"
  28834. "\xf2\x66\x62\xbb\xc8\x3f\xe4\x0a"
  28835. "\x8a\xb2\x70\xc0\x77\xd5\x96\xef"
  28836. "\x9e\x39\x3a\x3e\x0d\x2b\xf9\xfe"
  28837. "\xa9\xbc\x00\xba\xc5\x43\xd7\x70"
  28838. "\x2f\xef\x1e\x1e\x93\xc2\x5d\xf1"
  28839. "\xb5\x50\xb8\xf5\xee\xf4\x26\x6f",
  28840. .len = 96,
  28841. }, {
  28842. .key = "\xe0\x6a\x30\xe1\x35\xb5\xb0\x7c"
  28843. "\x54\xc5\x73\x9b\x00\xe5\xe7\x02"
  28844. "\xbe\x16\x59\xdc\xd9\x03\x17\x53"
  28845. "\xa8\x37\xd1\x5f\x13\x8e\x45\xdb",
  28846. .klen = 32,
  28847. .iv = "\x54\xe9\x1c\xde\xfb\x26\x0e\x48"
  28848. "\x35\x50\x4d\x9b\x4d\x12\x21\x0d",
  28849. .ptext = "\x73\x72\xcf\xdb\xbd\xbc\xc0\xdf"
  28850. "\x6b\xbb\xdf\x65\x6f\x2f\x43\x3b"
  28851. "\x2d\x7c\x0e\x07\x7f\xa0\x95\xdd"
  28852. "\xfc\x67\xc1\x11\x7a\xe2\xb5\x4a"
  28853. "\xd1\x15\xb0\xd8\xe2\xf0\x35\x48"
  28854. "\xd8\x81\x6a\x35\xae\x67\xbf\x61"
  28855. "\xf2\x8a\xcf\x04\xc8\x09\x8b\x63"
  28856. "\x31\x74\x95\xa5\x8d\x3c\xea\xe2"
  28857. "\x5f\x67\xc4\x7e\x51\x88\xbf\xb5"
  28858. "\x78\xef\x3a\x76\xd8\x1d\x00\x75"
  28859. "\x2b\x7b\x28\x7c\xde\x4b\x39\x01"
  28860. "\x5d\xde\x92\xfe\x90\x07\x09\xfd"
  28861. "\xa5\xd1\xd3\x72\x11\x6d\xa4\x4e"
  28862. "\xd1\x6e\x16\xd1\xf6\x39\x4f\xa0",
  28863. .ctext = "\x3b\xc5\xee\xfc\x05\xaf\xa6\xb7"
  28864. "\xfe\x12\x24\x79\x31\xad\x32\xb5"
  28865. "\xfb\x71\x9b\x02\xad\xf4\x94\x20"
  28866. "\x25\x7b\xdb\xdf\x97\x99\xca\xea"
  28867. "\xc4\xed\x32\x26\x6b\xc8\xd4\x7b"
  28868. "\x5b\x55\xfa\xf9\x5b\xab\x88\xdb"
  28869. "\x48\xfe\x67\xd5\x5a\x47\x81\x4e"
  28870. "\x3e\x1e\x83\xca\x1d\x04\xe1\xb5"
  28871. "\x6c\x1b\xbd\xf2\x2d\xf1\xae\x75"
  28872. "\x09\x6a\xf8\xb2\xc3\x27\xee\x08"
  28873. "\x66\x94\x72\xc0\x2b\x12\x47\x23"
  28874. "\x4d\xde\xb4\xca\xf7\x66\xca\x14"
  28875. "\xe7\x68\x1b\xfb\x48\x70\x3e\x4c"
  28876. "\x43\xbb\x88\x32\x25\xff\x77\x6a",
  28877. .len = 112,
  28878. }, {
  28879. .key = "\x60\xb6\xde\x17\xca\x4c\xe7\xe0"
  28880. "\x07\x0d\x80\xc5\x8a\x2d\x5a\xc2"
  28881. "\x2c\xb9\xa4\x5f\x2a\x85\x2c\x3d"
  28882. "\x6d\x67\xc8\xee\x0f\xa2\xf4\x09",
  28883. .klen = 32,
  28884. .iv = "\x1a\xa5\xbc\x7e\x93\xf6\xdd\x28"
  28885. "\xb7\x69\x27\xa1\x84\x95\x25\x5a",
  28886. .ptext = "\x7b\x88\x00\xeb\xa5\xba\xa1\xa7"
  28887. "\xd4\x40\x16\x74\x2b\x42\x37\xda"
  28888. "\xe0\xaf\x89\x59\x41\x2f\x62\x00"
  28889. "\xf5\x5a\x4e\x3b\x85\x27\xb2\xed"
  28890. "\x1b\xa7\xaf\xbe\x89\xf3\x49\xb7"
  28891. "\x8c\x63\xc9\x0c\x52\x00\x5f\x38"
  28892. "\x3b\x3c\x0c\x4f\xdd\xe1\xbf\x90"
  28893. "\x4a\x48\xbf\x3a\x95\xcb\x48\xa2"
  28894. "\x92\x7c\x79\x81\xde\x18\x6e\x92"
  28895. "\x1f\x36\xa9\x5d\x8d\xc4\xb6\x4d"
  28896. "\xb2\xb4\x0e\x09\x6d\xf3\x3d\x01"
  28897. "\x3d\x9b\x40\x47\xbc\x69\x31\xa1"
  28898. "\x6a\x71\x26\xdc\xac\x10\x56\x63"
  28899. "\x15\x23\x7d\x10\xe3\x76\x82\x41"
  28900. "\xcd\x80\x57\x2f\xfc\x4d\x22\x7b"
  28901. "\x57\xbb\x9a\x0a\x03\xe9\xb3\x13",
  28902. .ctext = "\x37\x0d\x47\x21\xbc\x28\x0b\xf7"
  28903. "\x85\x5f\x60\x57\xf2\x7f\x92\x20"
  28904. "\x5f\xa7\xf6\xf4\xa6\xf5\xdf\x1e"
  28905. "\xae\x8e\xeb\x97\xfc\xce\x6a\x25"
  28906. "\x6d\x6a\x5b\xd1\x99\xf6\x27\x77"
  28907. "\x52\x0c\xf1\xd7\x94\xa0\x67\x5d"
  28908. "\x60\x35\xb0\x6d\x01\x45\x52\xc8"
  28909. "\x05\xd8\x7f\x69\xaf\x8e\x68\x05"
  28910. "\xa8\xa5\x24\x2f\x95\xef\xf1\xd2"
  28911. "\x8c\x45\x12\xc5\x7a\xcf\xbb\x99"
  28912. "\x25\xaa\xa3\x9b\x3f\xf1\xfc\x9d"
  28913. "\xfa\x2c\x26\x9b\x92\x47\x61\x6b"
  28914. "\x63\x1e\x41\x67\xcb\xb7\x0f\x52"
  28915. "\x70\xd4\x0d\x7e\xef\x34\xa2\x75"
  28916. "\x4f\x6a\x55\x9c\x2b\x4a\x02\xdd"
  28917. "\x96\x5d\xcb\xca\x45\xa1\xec\xaa",
  28918. .len = 128,
  28919. }, {
  28920. .key = "\x2a\xed\x7d\x76\xfc\xc5\x49\x50"
  28921. "\xf4\x90\x0f\xcc\x5d\xff\x0c\x3c"
  28922. "\x14\x06\xaf\x68\x8f\xd7\xb6\x25"
  28923. "\x1e\x10\x95\x2a\x71\x33\x17\x20",
  28924. .klen = 32,
  28925. .iv = "\x5b\x58\x47\xf8\xd5\x1e\x91\x81"
  28926. "\x46\xe7\x25\x3a\x02\x45\x9c\x65",
  28927. .ptext = "\x10\xaf\xde\x5c\x30\x79\x43\x28"
  28928. "\x1c\x03\xf8\x50\x0f\x30\xa5\xef"
  28929. "\x84\x19\x4c\x09\x40\x03\x75\x1f"
  28930. "\x92\x8f\x88\x01\xda\x31\x7a\xe4"
  28931. "\x48\xe3\xab\xb4\xe6\x1b\x0f\xac"
  28932. "\xd9\xfa\x8d\x23\xe4\xc6\xa4\xa9"
  28933. "\x2d\x9a\x54\x52\x44\x5c\x3c\x52"
  28934. "\x61\xf0\x00\xca\xed\xab\xed\xe2"
  28935. "\x44\x0b\xe0\x18\xba\xa5\x63\xd8"
  28936. "\xdc\x5e\x1a\x4c\xf8\xde\x5e\x75"
  28937. "\xdf\x42\x27\x7b\xe9\x11\x2f\x41"
  28938. "\x3a\x72\x54\x3d\x44\x9c\x3e\x87"
  28939. "\x8d\x8d\x43\x2f\xb2\xff\x87\xd4"
  28940. "\xad\x98\x68\x72\x53\x61\x19\x7c"
  28941. "\x20\x79\x8c\x2b\x37\x0b\x96\x15"
  28942. "\xa5\x7d\x4e\x01\xe6\xea\xb6\xfa"
  28943. "\xaa\xd3\x9d\xa2\xd9\x11\xc3\xc9"
  28944. "\xd4\x0e\x3f\x3e\xfe\x35\x1e\xe5",
  28945. .ctext = "\xb0\x2b\x75\x5f\x33\x1b\x05\x49"
  28946. "\x06\xf1\x43\x91\xc2\x85\xfa\xac"
  28947. "\x3f\x47\xf3\x89\x73\xb2\x0e\xa4"
  28948. "\x30\xcb\x87\x39\x53\x5d\x36\x89"
  28949. "\x77\xd9\x17\x01\x95\xa6\xe9\x71"
  28950. "\x51\x53\xd9\x4f\xa6\xc2\x79\x3d"
  28951. "\x2e\x50\x90\x52\x0d\x27\x1a\x46"
  28952. "\xf1\xe8\x6e\x7e\x7b\x32\xe5\x22"
  28953. "\x22\x1f\xba\x5e\xcf\x25\x6b\x26"
  28954. "\x76\xf0\xca\x8e\xdd\x5b\xd3\x09"
  28955. "\x6f\x82\x08\x56\x1f\x51\x72\x57"
  28956. "\xca\xd1\x60\x07\xfb\x9f\x71\x54"
  28957. "\x0f\xf6\x48\x71\xfa\x8f\xcb\xdd"
  28958. "\xce\xd3\x16\xcd\xae\x0e\x67\x5e"
  28959. "\xea\x8d\xa2\x4a\x4f\x11\xc8\xc8"
  28960. "\x2f\x04\xfe\xa8\x2a\x07\x1c\xb1"
  28961. "\x77\x39\xda\x8b\xd9\x5c\x94\x6c"
  28962. "\x4d\x4d\x13\x51\x6f\x07\x06\x5b",
  28963. .len = 144,
  28964. }, {
  28965. .key = "\x7b\xa7\x4d\x0a\x37\x30\xb9\xf5"
  28966. "\x2a\x79\xb4\xbf\xdb\x7f\x9b\x64"
  28967. "\x23\x43\xb5\x18\x34\xc4\x5f\xdf"
  28968. "\xd9\x2a\x66\x58\x00\x44\xb5\xd9",
  28969. .klen = 32,
  28970. .iv = "\x75\x34\x30\xc1\xf0\x69\xdf\x0a"
  28971. "\x52\xce\x4f\x1e\x2c\x41\x35\xec",
  28972. .ptext = "\x81\x47\x55\x3a\xcd\xfe\xa2\x3d"
  28973. "\x45\x53\xa7\x67\x61\x74\x25\x80"
  28974. "\x98\x89\xfe\xf8\x6a\x9f\x51\x7c"
  28975. "\xa4\xe4\xe7\xc7\xe0\x1a\xce\xbb"
  28976. "\x4b\x46\x43\xb0\xab\xa8\xd6\x0c"
  28977. "\xa0\xf0\xc8\x13\x29\xaf\xb8\x01"
  28978. "\x6b\x0c\x7e\x56\xae\xb8\x58\x72"
  28979. "\xa9\x24\x44\x61\xff\xf1\xac\xf8"
  28980. "\x09\xa8\x48\x21\xd6\xab\x41\x73"
  28981. "\x70\x6b\x92\x06\x61\xdc\xb4\x85"
  28982. "\x76\x26\x7a\x84\xc3\x9e\x3a\x14"
  28983. "\xe7\xf4\x2d\x95\x92\xad\x18\xcc"
  28984. "\x44\xd4\x2c\x36\x57\xed\x2b\x9b"
  28985. "\x3f\x2b\xcd\xe5\x11\xe3\x62\x33"
  28986. "\x42\x3f\xb8\x2a\xb1\x37\x3f\x8b"
  28987. "\xe8\xbd\x6b\x0b\x9f\x38\x5a\x5f"
  28988. "\x82\x34\xb7\x96\x35\x58\xde\xab"
  28989. "\x94\x98\x41\x5b\x3f\xac\x0a\x34"
  28990. "\x56\xc0\x02\xef\x81\x6d\xb1\xff"
  28991. "\x34\xe8\xc7\x6a\x31\x79\xba\xd8",
  28992. .ctext = "\x4e\x00\x7c\x52\x45\x76\xf9\x3d"
  28993. "\x1a\xd1\x72\xbc\xb9\x0f\xa9\xfb"
  28994. "\x0e\x5b\xe2\x3c\xc7\xae\x92\xf6"
  28995. "\xb8\x0b\x0a\x95\x40\xe9\x7f\xe0"
  28996. "\x54\x10\xf9\xf6\x23\x1f\x51\xc8"
  28997. "\x16\x8b\x2e\x79\xe1\x8c\x0b\x43"
  28998. "\xe5\xeb\xb5\x9d\x1e\xc3\x28\x07"
  28999. "\x5c\x8d\xb1\xe7\x80\xd3\xce\x62"
  29000. "\x8d\xf8\x31\x1f\x29\x8b\x90\xee"
  29001. "\xe5\xc3\xfa\x16\xc4\xf0\xc3\x99"
  29002. "\xe9\x5e\x19\xba\x37\xb8\xc0\x87"
  29003. "\xb5\xc6\xc9\x31\xcb\x6e\x30\xce"
  29004. "\x03\x1d\xfe\xce\x08\x32\x00\xeb"
  29005. "\x86\xc4\xfb\x48\x01\xda\x93\x73"
  29006. "\xcc\xb7\xae\x4e\x94\x20\xeb\xc7"
  29007. "\xe3\x33\x4c\xeb\xed\xe2\xfc\x86"
  29008. "\x0e\x73\x32\xf9\x1b\xf3\x25\xf3"
  29009. "\x74\xad\xd1\xf4\x2c\x45\xa4\xfd"
  29010. "\x52\x40\xa2\x4e\xa5\x62\xf6\x02"
  29011. "\xbb\xb0\xe3\x23\x86\x67\xb8\xf6",
  29012. .len = 160,
  29013. }
  29014. };
  29015. static const struct aead_testvec aria_gcm_tv_template[] = {
  29016. {
  29017. .key = "\xe9\x1e\x5e\x75\xda\x65\x55\x4a"
  29018. "\x48\x18\x1f\x38\x46\x34\x95\x62",
  29019. .klen = 16,
  29020. .iv = "\x00\x00\x20\xe8\xf5\xeb\x00\x00"
  29021. "\x00\x00\x31\x5e",
  29022. .assoc = "\x80\x08\x31\x5e\xbf\x2e\x6f\xe0"
  29023. "\x20\xe8\xf5\xeb",
  29024. .alen = 12,
  29025. .ptext = "\xf5\x7a\xf5\xfd\x4a\xe1\x95\x62"
  29026. "\x97\x6e\xc5\x7a\x5a\x7a\xd5\x5a"
  29027. "\x5a\xf5\xc5\xe5\xc5\xfd\xf5\xc5"
  29028. "\x5a\xd5\x7a\x4a\x72\x72\xd5\x72"
  29029. "\x62\xe9\x72\x95\x66\xed\x66\xe9"
  29030. "\x7a\xc5\x4a\x4a\x5a\x7a\xd5\xe1"
  29031. "\x5a\xe5\xfd\xd5\xfd\x5a\xc5\xd5"
  29032. "\x6a\xe5\x6a\xd5\xc5\x72\xd5\x4a"
  29033. "\xe5\x4a\xc5\x5a\x95\x6a\xfd\x6a"
  29034. "\xed\x5a\x4a\xc5\x62\x95\x7a\x95"
  29035. "\x16\x99\x16\x91\xd5\x72\xfd\x14"
  29036. "\xe9\x7a\xe9\x62\xed\x7a\x9f\x4a"
  29037. "\x95\x5a\xf5\x72\xe1\x62\xf5\x7a"
  29038. "\x95\x66\x66\xe1\x7a\xe1\xf5\x4a"
  29039. "\x95\xf5\x66\xd5\x4a\x66\xe1\x6e"
  29040. "\x4a\xfd\x6a\x9f\x7a\xe1\xc5\xc5"
  29041. "\x5a\xe5\xd5\x6a\xfd\xe9\x16\xc5"
  29042. "\xe9\x4a\x6e\xc5\x66\x95\xe1\x4a"
  29043. "\xfd\xe1\x14\x84\x16\xe9\x4a\xd5"
  29044. "\x7a\xc5\x14\x6e\xd5\x9d\x1c\xc5",
  29045. .plen = 160,
  29046. .ctext = "\x4d\x8a\x9a\x06\x75\x55\x0c\x70"
  29047. "\x4b\x17\xd8\xc9\xdd\xc8\x1a\x5c"
  29048. "\xd6\xf7\xda\x34\xf2\xfe\x1b\x3d"
  29049. "\xb7\xcb\x3d\xfb\x96\x97\x10\x2e"
  29050. "\xa0\xf3\xc1\xfc\x2d\xbc\x87\x3d"
  29051. "\x44\xbc\xee\xae\x8e\x44\x42\x97"
  29052. "\x4b\xa2\x1f\xf6\x78\x9d\x32\x72"
  29053. "\x61\x3f\xb9\x63\x1a\x7c\xf3\xf1"
  29054. "\x4b\xac\xbe\xb4\x21\x63\x3a\x90"
  29055. "\xff\xbe\x58\xc2\xfa\x6b\xdc\xa5"
  29056. "\x34\xf1\x0d\x0d\xe0\x50\x2c\xe1"
  29057. "\xd5\x31\xb6\x33\x6e\x58\x87\x82"
  29058. "\x78\x53\x1e\x5c\x22\xbc\x6c\x85"
  29059. "\xbb\xd7\x84\xd7\x8d\x9e\x68\x0a"
  29060. "\xa1\x90\x31\xaa\xf8\x91\x01\xd6"
  29061. "\x69\xd7\xa3\x96\x5c\x1f\x7e\x16"
  29062. "\x22\x9d\x74\x63\xe0\x53\x5f\x4e"
  29063. "\x25\x3f\x5d\x18\x18\x7d\x40\xb8"
  29064. "\xae\x0f\x56\x4b\xd9\x70\xb5\xe7"
  29065. "\xe2\xad\xfb\x21\x1e\x89\xa9\x53"
  29066. "\x5a\xba\xce\x3f\x37\xf5\xa7\x36"
  29067. "\xf4\xbe\x98\x4b\xbf\xfb\xed\xc1",
  29068. .clen = 176,
  29069. }, {
  29070. .key = "\x0c\x5f\xfd\x37\xa1\x1e\xdc\x42"
  29071. "\xc3\x25\x28\x7f\xc0\x60\x4f\x2e"
  29072. "\x3e\x8c\xd5\x67\x1a\x00\xfe\x32"
  29073. "\x16\xaa\x5e\xb1\x05\x78\x3b\x54",
  29074. .klen = 32,
  29075. .iv = "\x00\x00\x20\xe8\xf5\xeb\x00\x00"
  29076. "\x00\x00\x31\x5e",
  29077. .assoc = "\x80\x08\x31\x5e\xbf\x2e\x6f\xe0"
  29078. "\x20\xe8\xf5\xeb",
  29079. .alen = 12,
  29080. .ptext = "\xf5\x7a\xf5\xfd\x4a\xe1\x95\x62"
  29081. "\x97\x6e\xc5\x7a\x5a\x7a\xd5\x5a"
  29082. "\x5a\xf5\xc5\xe5\xc5\xfd\xf5\xc5"
  29083. "\x5a\xd5\x7a\x4a\x72\x72\xd5\x72"
  29084. "\x62\xe9\x72\x95\x66\xed\x66\xe9"
  29085. "\x7a\xc5\x4a\x4a\x5a\x7a\xd5\xe1"
  29086. "\x5a\xe5\xfd\xd5\xfd\x5a\xc5\xd5"
  29087. "\x6a\xe5\x6a\xd5\xc5\x72\xd5\x4a"
  29088. "\xe5\x4a\xc5\x5a\x95\x6a\xfd\x6a"
  29089. "\xed\x5a\x4a\xc5\x62\x95\x7a\x95"
  29090. "\x16\x99\x16\x91\xd5\x72\xfd\x14"
  29091. "\xe9\x7a\xe9\x62\xed\x7a\x9f\x4a"
  29092. "\x95\x5a\xf5\x72\xe1\x62\xf5\x7a"
  29093. "\x95\x66\x66\xe1\x7a\xe1\xf5\x4a"
  29094. "\x95\xf5\x66\xd5\x4a\x66\xe1\x6e"
  29095. "\x4a\xfd\x6a\x9f\x7a\xe1\xc5\xc5"
  29096. "\x5a\xe5\xd5\x6a\xfd\xe9\x16\xc5"
  29097. "\xe9\x4a\x6e\xc5\x66\x95\xe1\x4a"
  29098. "\xfd\xe1\x14\x84\x16\xe9\x4a\xd5"
  29099. "\x7a\xc5\x14\x6e\xd5\x9d\x1c\xc5",
  29100. .plen = 160,
  29101. .ctext = "\x6f\x9e\x4b\xcb\xc8\xc8\x5f\xc0"
  29102. "\x12\x8f\xb1\xe4\xa0\xa2\x0c\xb9"
  29103. "\x93\x2f\xf7\x45\x81\xf5\x4f\xc0"
  29104. "\x13\xdd\x05\x4b\x19\xf9\x93\x71"
  29105. "\x42\x5b\x35\x2d\x97\xd3\xf3\x37"
  29106. "\xb9\x0b\x63\xd1\xb0\x82\xad\xee"
  29107. "\xea\x9d\x2d\x73\x91\x89\x7d\x59"
  29108. "\x1b\x98\x5e\x55\xfb\x50\xcb\x53"
  29109. "\x50\xcf\x7d\x38\xdc\x27\xdd\xa1"
  29110. "\x27\xc0\x78\xa1\x49\xc8\xeb\x98"
  29111. "\x08\x3d\x66\x36\x3a\x46\xe3\x72"
  29112. "\x6a\xf2\x17\xd3\xa0\x02\x75\xad"
  29113. "\x5b\xf7\x72\xc7\x61\x0e\xa4\xc2"
  29114. "\x30\x06\x87\x8f\x0e\xe6\x9a\x83"
  29115. "\x97\x70\x31\x69\xa4\x19\x30\x3f"
  29116. "\x40\xb7\x2e\x45\x73\x71\x4d\x19"
  29117. "\xe2\x69\x7d\xf6\x1e\x7c\x72\x52"
  29118. "\xe5\xab\xc6\xba\xde\x87\x6a\xc4"
  29119. "\x96\x1b\xfa\xc4\xd5\xe8\x67\xaf"
  29120. "\xca\x35\x1a\x48\xae\xd5\x28\x22"
  29121. "\xe2\x10\xd6\xce\xd2\xcf\x43\x0f"
  29122. "\xf8\x41\x47\x29\x15\xe7\xef\x48",
  29123. .clen = 176,
  29124. }
  29125. };
  29126. static const struct cipher_testvec chacha20_tv_template[] = {
  29127. { /* RFC7539 A.2. Test Vector #1 */
  29128. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29129. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29130. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29131. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29132. .klen = 32,
  29133. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29134. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29135. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29136. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29137. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29138. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29139. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29140. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29141. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29142. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29143. .ctext = "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
  29144. "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
  29145. "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
  29146. "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
  29147. "\xda\x41\x59\x7c\x51\x57\x48\x8d"
  29148. "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
  29149. "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
  29150. "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
  29151. .len = 64,
  29152. }, { /* RFC7539 A.2. Test Vector #2 */
  29153. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29154. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29155. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29156. "\x00\x00\x00\x00\x00\x00\x00\x01",
  29157. .klen = 32,
  29158. .iv = "\x01\x00\x00\x00\x00\x00\x00\x00"
  29159. "\x00\x00\x00\x00\x00\x00\x00\x02",
  29160. .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  29161. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  29162. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  29163. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  29164. "\x64\x65\x64\x20\x62\x79\x20\x74"
  29165. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  29166. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  29167. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  29168. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  29169. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  29170. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  29171. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  29172. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  29173. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  29174. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  29175. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  29176. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  29177. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  29178. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  29179. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  29180. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  29181. "\x45\x54\x46\x20\x61\x63\x74\x69"
  29182. "\x76\x69\x74\x79\x20\x69\x73\x20"
  29183. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  29184. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  29185. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  29186. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  29187. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  29188. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  29189. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  29190. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  29191. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  29192. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  29193. "\x54\x46\x20\x73\x65\x73\x73\x69"
  29194. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  29195. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  29196. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  29197. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  29198. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  29199. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  29200. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  29201. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  29202. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  29203. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  29204. "\x20\x77\x68\x69\x63\x68\x20\x61"
  29205. "\x72\x65\x20\x61\x64\x64\x72\x65"
  29206. "\x73\x73\x65\x64\x20\x74\x6f",
  29207. .ctext = "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
  29208. "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
  29209. "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
  29210. "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
  29211. "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
  29212. "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
  29213. "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
  29214. "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
  29215. "\x40\x42\xe0\x27\x85\xec\xec\xfa"
  29216. "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
  29217. "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
  29218. "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
  29219. "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
  29220. "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
  29221. "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
  29222. "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
  29223. "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
  29224. "\xd6\x62\xab\x05\x26\x91\xca\x66"
  29225. "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
  29226. "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
  29227. "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
  29228. "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
  29229. "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
  29230. "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
  29231. "\x08\x71\xcd\xac\x63\x89\x39\xe2"
  29232. "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
  29233. "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
  29234. "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
  29235. "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
  29236. "\x37\x20\xfc\x88\xdc\x95\xed\x84"
  29237. "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
  29238. "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
  29239. "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
  29240. "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
  29241. "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
  29242. "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
  29243. "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
  29244. "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
  29245. "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
  29246. "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
  29247. "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
  29248. "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
  29249. "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
  29250. "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
  29251. "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
  29252. "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
  29253. "\xc4\xfd\x80\x6c\x22\xf2\x21",
  29254. .len = 375,
  29255. }, { /* RFC7539 A.2. Test Vector #3 */
  29256. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  29257. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  29258. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  29259. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  29260. .klen = 32,
  29261. .iv = "\x2a\x00\x00\x00\x00\x00\x00\x00"
  29262. "\x00\x00\x00\x00\x00\x00\x00\x02",
  29263. .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
  29264. "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
  29265. "\x6e\x64\x20\x74\x68\x65\x20\x73"
  29266. "\x6c\x69\x74\x68\x79\x20\x74\x6f"
  29267. "\x76\x65\x73\x0a\x44\x69\x64\x20"
  29268. "\x67\x79\x72\x65\x20\x61\x6e\x64"
  29269. "\x20\x67\x69\x6d\x62\x6c\x65\x20"
  29270. "\x69\x6e\x20\x74\x68\x65\x20\x77"
  29271. "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
  29272. "\x20\x6d\x69\x6d\x73\x79\x20\x77"
  29273. "\x65\x72\x65\x20\x74\x68\x65\x20"
  29274. "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
  29275. "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
  29276. "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
  29277. "\x72\x61\x74\x68\x73\x20\x6f\x75"
  29278. "\x74\x67\x72\x61\x62\x65\x2e",
  29279. .ctext = "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
  29280. "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
  29281. "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
  29282. "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
  29283. "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
  29284. "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
  29285. "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
  29286. "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
  29287. "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
  29288. "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
  29289. "\x1a\x55\x32\x05\x57\x16\xea\xd6"
  29290. "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
  29291. "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
  29292. "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
  29293. "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
  29294. "\x75\x7a\x79\x7a\xc1\x88\xd1",
  29295. .len = 127,
  29296. }, { /* Self-made test vector for long data */
  29297. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  29298. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  29299. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  29300. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  29301. .klen = 32,
  29302. .iv = "\x1c\x00\x00\x00\x00\x00\x00\x00"
  29303. "\x00\x00\x00\x00\x00\x00\x00\x01",
  29304. .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
  29305. "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
  29306. "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
  29307. "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
  29308. "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
  29309. "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
  29310. "\x01\xc6\x67\xda\x03\x91\x18\x90"
  29311. "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
  29312. "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
  29313. "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
  29314. "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
  29315. "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
  29316. "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
  29317. "\x33\x97\xc3\x77\xba\xc5\x70\xde"
  29318. "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
  29319. "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
  29320. "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
  29321. "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
  29322. "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
  29323. "\x79\x49\x41\xf4\x58\x18\xcb\x86"
  29324. "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
  29325. "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
  29326. "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
  29327. "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
  29328. "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
  29329. "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
  29330. "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
  29331. "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
  29332. "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
  29333. "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
  29334. "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
  29335. "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
  29336. "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
  29337. "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
  29338. "\x24\x74\x75\x7f\x95\x81\xb7\x30"
  29339. "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
  29340. "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
  29341. "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
  29342. "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
  29343. "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
  29344. "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
  29345. "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
  29346. "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
  29347. "\x49\x46\x00\x88\x22\x8d\xce\xea"
  29348. "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
  29349. "\x72\x11\xf5\x50\x73\x04\x40\x47"
  29350. "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
  29351. "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
  29352. "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
  29353. "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
  29354. "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
  29355. "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
  29356. "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
  29357. "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
  29358. "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
  29359. "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
  29360. "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
  29361. "\x8b\x10\x67\xa3\x01\x57\x94\x25"
  29362. "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
  29363. "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
  29364. "\x58\xb1\x47\x90\xfe\x42\x21\x72"
  29365. "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
  29366. "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
  29367. "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
  29368. "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
  29369. "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
  29370. "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
  29371. "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
  29372. "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
  29373. "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
  29374. "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
  29375. "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
  29376. "\x65\x69\x8a\x45\x29\xef\x74\x85"
  29377. "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
  29378. "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
  29379. "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
  29380. "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
  29381. "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
  29382. "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
  29383. "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
  29384. "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
  29385. "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
  29386. "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
  29387. "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
  29388. "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
  29389. "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
  29390. "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
  29391. "\x10\x26\x38\x07\xe5\xc7\x36\x80"
  29392. "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
  29393. "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
  29394. "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
  29395. "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
  29396. "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
  29397. "\x83\x66\x80\x47\x80\xe8\xfd\x35"
  29398. "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
  29399. "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
  29400. "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
  29401. "\x25\x94\x10\x5f\x40\x00\x64\x99"
  29402. "\xdc\xae\xd7\x21\x09\x78\x50\x15"
  29403. "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
  29404. "\x87\x6e\x6d\xab\xde\x08\x51\x16"
  29405. "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
  29406. "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
  29407. "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
  29408. "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
  29409. "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
  29410. "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
  29411. "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
  29412. "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
  29413. "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
  29414. "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
  29415. "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
  29416. "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
  29417. "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
  29418. "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
  29419. "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
  29420. "\xb9\x83\x90\xef\x20\x59\x46\xff"
  29421. "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
  29422. "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
  29423. "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
  29424. "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
  29425. "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
  29426. "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
  29427. "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
  29428. "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
  29429. "\x94\x97\xea\xdd\x58\x9e\xae\x76"
  29430. "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
  29431. "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
  29432. "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
  29433. "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
  29434. "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
  29435. "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
  29436. "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
  29437. "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
  29438. "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
  29439. "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
  29440. "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
  29441. "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
  29442. "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
  29443. "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
  29444. "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
  29445. "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
  29446. "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
  29447. "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
  29448. "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
  29449. "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
  29450. "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
  29451. "\xac\xf3\x13\x53\x27\x45\xaf\x64"
  29452. "\x46\xdc\xea\x23\xda\x97\xd1\xab"
  29453. "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
  29454. "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
  29455. "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
  29456. "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
  29457. "\xca\x34\x83\x27\x10\x5b\x68\x45"
  29458. "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
  29459. "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
  29460. "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
  29461. "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
  29462. "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
  29463. "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
  29464. "\x72",
  29465. .ctext = "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
  29466. "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
  29467. "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
  29468. "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
  29469. "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
  29470. "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
  29471. "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
  29472. "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
  29473. "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
  29474. "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
  29475. "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
  29476. "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
  29477. "\x33\x4a\x71\x15\xfe\xee\x12\x54"
  29478. "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
  29479. "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
  29480. "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
  29481. "\x57\x0e\x94\x17\x26\x39\xbb\x54"
  29482. "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
  29483. "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
  29484. "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
  29485. "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
  29486. "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
  29487. "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
  29488. "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
  29489. "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
  29490. "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
  29491. "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
  29492. "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
  29493. "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
  29494. "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
  29495. "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
  29496. "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
  29497. "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
  29498. "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
  29499. "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
  29500. "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
  29501. "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
  29502. "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
  29503. "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
  29504. "\xae\xe7\x61\x32\xef\x41\x6c\x75"
  29505. "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
  29506. "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
  29507. "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
  29508. "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
  29509. "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
  29510. "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
  29511. "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
  29512. "\xc1\x22\xf3\x79\xae\x95\x78\x66"
  29513. "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
  29514. "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
  29515. "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
  29516. "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
  29517. "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
  29518. "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
  29519. "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
  29520. "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
  29521. "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
  29522. "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
  29523. "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
  29524. "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
  29525. "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
  29526. "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
  29527. "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
  29528. "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
  29529. "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
  29530. "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
  29531. "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
  29532. "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
  29533. "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
  29534. "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
  29535. "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
  29536. "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
  29537. "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
  29538. "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
  29539. "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
  29540. "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
  29541. "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
  29542. "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
  29543. "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
  29544. "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
  29545. "\x54\x1c\x34\x72\xde\x0c\x68\x39"
  29546. "\x9d\x32\xa5\x75\x92\x13\x32\xea"
  29547. "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
  29548. "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
  29549. "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
  29550. "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
  29551. "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
  29552. "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
  29553. "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
  29554. "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
  29555. "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
  29556. "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
  29557. "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
  29558. "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
  29559. "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
  29560. "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
  29561. "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
  29562. "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
  29563. "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
  29564. "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
  29565. "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
  29566. "\x79\x61\x23\xe0\xa2\x99\x73\x55"
  29567. "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
  29568. "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
  29569. "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
  29570. "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
  29571. "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
  29572. "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
  29573. "\x48\x56\xaa\x85\x22\xd8\x36\xed"
  29574. "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
  29575. "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
  29576. "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
  29577. "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
  29578. "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
  29579. "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
  29580. "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
  29581. "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
  29582. "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
  29583. "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
  29584. "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
  29585. "\xec\x83\x92\x99\x87\x47\xe0\x7c"
  29586. "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
  29587. "\x98\xb0\x87\xb6\x86\x13\x64\x33"
  29588. "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
  29589. "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
  29590. "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
  29591. "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
  29592. "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
  29593. "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
  29594. "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
  29595. "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
  29596. "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
  29597. "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
  29598. "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
  29599. "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
  29600. "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
  29601. "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
  29602. "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
  29603. "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
  29604. "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
  29605. "\x5f\xae\x25\x84\x22\x90\x5f\x26"
  29606. "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
  29607. "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
  29608. "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
  29609. "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
  29610. "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
  29611. "\x74\x06\x89\x0e\x90\xeb\x85\xff"
  29612. "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
  29613. "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
  29614. "\x02\x85\x68\xd0\x03\x12\xde\x92"
  29615. "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
  29616. "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
  29617. "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
  29618. "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
  29619. "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
  29620. "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
  29621. "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
  29622. "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
  29623. "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
  29624. "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
  29625. "\x98",
  29626. .len = 1281,
  29627. },
  29628. };
  29629. static const struct cipher_testvec xchacha20_tv_template[] = {
  29630. { /* from libsodium test/default/xchacha20.c */
  29631. .key = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
  29632. "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
  29633. "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
  29634. "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
  29635. .klen = 32,
  29636. .iv = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
  29637. "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
  29638. "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
  29639. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29640. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29641. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29642. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29643. "\x00\x00\x00\x00\x00",
  29644. .ctext = "\xc6\xe9\x75\x81\x60\x08\x3a\xc6"
  29645. "\x04\xef\x90\xe7\x12\xce\x6e\x75"
  29646. "\xd7\x79\x75\x90\x74\x4e\x0c\xf0"
  29647. "\x60\xf0\x13\x73\x9c",
  29648. .len = 29,
  29649. }, { /* from libsodium test/default/xchacha20.c */
  29650. .key = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
  29651. "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
  29652. "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
  29653. "\x22\x35\xea\xaf\x60\x1d\x62\x32",
  29654. .klen = 32,
  29655. .iv = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
  29656. "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
  29657. "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
  29658. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29659. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29660. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29661. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29662. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29663. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29664. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29665. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29666. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29667. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29668. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29669. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29670. "\x00\x00\x00",
  29671. .ctext = "\xa2\x12\x09\x09\x65\x94\xde\x8c"
  29672. "\x56\x67\xb1\xd1\x3a\xd9\x3f\x74"
  29673. "\x41\x06\xd0\x54\xdf\x21\x0e\x47"
  29674. "\x82\xcd\x39\x6f\xec\x69\x2d\x35"
  29675. "\x15\xa2\x0b\xf3\x51\xee\xc0\x11"
  29676. "\xa9\x2c\x36\x78\x88\xbc\x46\x4c"
  29677. "\x32\xf0\x80\x7a\xcd\x6c\x20\x3a"
  29678. "\x24\x7e\x0d\xb8\x54\x14\x84\x68"
  29679. "\xe9\xf9\x6b\xee\x4c\xf7\x18\xd6"
  29680. "\x8d\x5f\x63\x7c\xbd\x5a\x37\x64"
  29681. "\x57\x78\x8e\x6f\xae\x90\xfc\x31"
  29682. "\x09\x7c\xfc",
  29683. .len = 91,
  29684. }, { /* Taken from the ChaCha20 test vectors, appended 12 random bytes
  29685. to the nonce, zero-padded the stream position from 4 to 8 bytes,
  29686. and recomputed the ciphertext using libsodium's XChaCha20 */
  29687. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29688. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29689. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29690. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29691. .klen = 32,
  29692. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29693. "\x00\x00\x00\x00\x67\xc6\x69\x73"
  29694. "\x51\xff\x4a\xec\x29\xcd\xba\xab"
  29695. "\x00\x00\x00\x00\x00\x00\x00\x00",
  29696. .ptext = "\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. .ctext = "\x9c\x49\x2a\xe7\x8a\x2f\x93\xc7"
  29705. "\xb3\x33\x6f\x82\x17\xd8\xc4\x1e"
  29706. "\xad\x80\x11\x11\x1d\x4c\x16\x18"
  29707. "\x07\x73\x9b\x4f\xdb\x7c\xcb\x47"
  29708. "\xfd\xef\x59\x74\xfa\x3f\xe5\x4c"
  29709. "\x9b\xd0\xea\xbc\xba\x56\xad\x32"
  29710. "\x03\xdc\xf8\x2b\xc1\xe1\x75\x67"
  29711. "\x23\x7b\xe6\xfc\xd4\x03\x86\x54",
  29712. .len = 64,
  29713. }, { /* Derived from a ChaCha20 test vector, via the process above */
  29714. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29715. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29716. "\x00\x00\x00\x00\x00\x00\x00\x00"
  29717. "\x00\x00\x00\x00\x00\x00\x00\x01",
  29718. .klen = 32,
  29719. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29720. "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
  29721. "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
  29722. "\x01\x00\x00\x00\x00\x00\x00\x00",
  29723. .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  29724. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  29725. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  29726. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  29727. "\x64\x65\x64\x20\x62\x79\x20\x74"
  29728. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  29729. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  29730. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  29731. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  29732. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  29733. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  29734. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  29735. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  29736. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  29737. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  29738. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  29739. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  29740. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  29741. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  29742. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  29743. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  29744. "\x45\x54\x46\x20\x61\x63\x74\x69"
  29745. "\x76\x69\x74\x79\x20\x69\x73\x20"
  29746. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  29747. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  29748. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  29749. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  29750. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  29751. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  29752. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  29753. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  29754. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  29755. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  29756. "\x54\x46\x20\x73\x65\x73\x73\x69"
  29757. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  29758. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  29759. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  29760. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  29761. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  29762. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  29763. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  29764. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  29765. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  29766. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  29767. "\x20\x77\x68\x69\x63\x68\x20\x61"
  29768. "\x72\x65\x20\x61\x64\x64\x72\x65"
  29769. "\x73\x73\x65\x64\x20\x74\x6f",
  29770. .ctext = "\xf9\xab\x7a\x4a\x60\xb8\x5f\xa0"
  29771. "\x50\xbb\x57\xce\xef\x8c\xc1\xd9"
  29772. "\x24\x15\xb3\x67\x5e\x7f\x01\xf6"
  29773. "\x1c\x22\xf6\xe5\x71\xb1\x43\x64"
  29774. "\x63\x05\xd5\xfc\x5c\x3d\xc0\x0e"
  29775. "\x23\xef\xd3\x3b\xd9\xdc\x7f\xa8"
  29776. "\x58\x26\xb3\xd0\xc2\xd5\x04\x3f"
  29777. "\x0a\x0e\x8f\x17\xe4\xcd\xf7\x2a"
  29778. "\xb4\x2c\x09\xe4\x47\xec\x8b\xfb"
  29779. "\x59\x37\x7a\xa1\xd0\x04\x7e\xaa"
  29780. "\xf1\x98\x5f\x24\x3d\x72\x9a\x43"
  29781. "\xa4\x36\x51\x92\x22\x87\xff\x26"
  29782. "\xce\x9d\xeb\x59\x78\x84\x5e\x74"
  29783. "\x97\x2e\x63\xc0\xef\x29\xf7\x8a"
  29784. "\xb9\xee\x35\x08\x77\x6a\x35\x9a"
  29785. "\x3e\xe6\x4f\x06\x03\x74\x1b\xc1"
  29786. "\x5b\xb3\x0b\x89\x11\x07\xd3\xb7"
  29787. "\x53\xd6\x25\x04\xd9\x35\xb4\x5d"
  29788. "\x4c\x33\x5a\xc2\x42\x4c\xe6\xa4"
  29789. "\x97\x6e\x0e\xd2\xb2\x8b\x2f\x7f"
  29790. "\x28\xe5\x9f\xac\x4b\x2e\x02\xab"
  29791. "\x85\xfa\xa9\x0d\x7c\x2d\x10\xe6"
  29792. "\x91\xab\x55\x63\xf0\xde\x3a\x94"
  29793. "\x25\x08\x10\x03\xc2\x68\xd1\xf4"
  29794. "\xaf\x7d\x9c\x99\xf7\x86\x96\x30"
  29795. "\x60\xfc\x0b\xe6\xa8\x80\x15\xb0"
  29796. "\x81\xb1\x0c\xbe\xb9\x12\x18\x25"
  29797. "\xe9\x0e\xb1\xe7\x23\xb2\xef\x4a"
  29798. "\x22\x8f\xc5\x61\x89\xd4\xe7\x0c"
  29799. "\x64\x36\x35\x61\xb6\x34\x60\xf7"
  29800. "\x7b\x61\x37\x37\x12\x10\xa2\xf6"
  29801. "\x7e\xdb\x7f\x39\x3f\xb6\x8e\x89"
  29802. "\x9e\xf3\xfe\x13\x98\xbb\x66\x5a"
  29803. "\xec\xea\xab\x3f\x9c\x87\xc4\x8c"
  29804. "\x8a\x04\x18\x49\xfc\x77\x11\x50"
  29805. "\x16\xe6\x71\x2b\xee\xc0\x9c\xb6"
  29806. "\x87\xfd\x80\xff\x0b\x1d\x73\x38"
  29807. "\xa4\x1d\x6f\xae\xe4\x12\xd7\x93"
  29808. "\x9d\xcd\x38\x26\x09\x40\x52\xcd"
  29809. "\x67\x01\x67\x26\xe0\x3e\x98\xa8"
  29810. "\xe8\x1a\x13\x41\xbb\x90\x4d\x87"
  29811. "\xbb\x42\x82\x39\xce\x3a\xd0\x18"
  29812. "\x6d\x7b\x71\x8f\xbb\x2c\x6a\xd1"
  29813. "\xbd\xf5\xc7\x8a\x7e\xe1\x1e\x0f"
  29814. "\x0d\x0d\x13\x7c\xd9\xd8\x3c\x91"
  29815. "\xab\xff\x1f\x12\xc3\xee\xe5\x65"
  29816. "\x12\x8d\x7b\x61\xe5\x1f\x98",
  29817. .len = 375,
  29818. }, { /* Derived from a ChaCha20 test vector, via the process above */
  29819. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  29820. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  29821. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  29822. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  29823. .klen = 32,
  29824. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29825. "\x00\x00\x00\x02\x76\x5a\x2e\x63"
  29826. "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
  29827. "\x2a\x00\x00\x00\x00\x00\x00\x00",
  29828. .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
  29829. "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
  29830. "\x6e\x64\x20\x74\x68\x65\x20\x73"
  29831. "\x6c\x69\x74\x68\x79\x20\x74\x6f"
  29832. "\x76\x65\x73\x0a\x44\x69\x64\x20"
  29833. "\x67\x79\x72\x65\x20\x61\x6e\x64"
  29834. "\x20\x67\x69\x6d\x62\x6c\x65\x20"
  29835. "\x69\x6e\x20\x74\x68\x65\x20\x77"
  29836. "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
  29837. "\x20\x6d\x69\x6d\x73\x79\x20\x77"
  29838. "\x65\x72\x65\x20\x74\x68\x65\x20"
  29839. "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
  29840. "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
  29841. "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
  29842. "\x72\x61\x74\x68\x73\x20\x6f\x75"
  29843. "\x74\x67\x72\x61\x62\x65\x2e",
  29844. .ctext = "\x95\xb9\x51\xe7\x8f\xb4\xa4\x03"
  29845. "\xca\x37\xcc\xde\x60\x1d\x8c\xe2"
  29846. "\xf1\xbb\x8a\x13\x7f\x61\x85\xcc"
  29847. "\xad\xf4\xf0\xdc\x86\xa6\x1e\x10"
  29848. "\xbc\x8e\xcb\x38\x2b\xa5\xc8\x8f"
  29849. "\xaa\x03\x3d\x53\x4a\x42\xb1\x33"
  29850. "\xfc\xd3\xef\xf0\x8e\x7e\x10\x9c"
  29851. "\x6f\x12\x5e\xd4\x96\xfe\x5b\x08"
  29852. "\xb6\x48\xf0\x14\x74\x51\x18\x7c"
  29853. "\x07\x92\xfc\xac\x9d\xf1\x94\xc0"
  29854. "\xc1\x9d\xc5\x19\x43\x1f\x1d\xbb"
  29855. "\x07\xf0\x1b\x14\x25\x45\xbb\xcb"
  29856. "\x5c\xe2\x8b\x28\xf3\xcf\x47\x29"
  29857. "\x27\x79\x67\x24\xa6\x87\xc2\x11"
  29858. "\x65\x03\xfa\x45\xf7\x9e\x53\x7a"
  29859. "\x99\xf1\x82\x25\x4f\x8d\x07",
  29860. .len = 127,
  29861. }, { /* Derived from a ChaCha20 test vector, via the process above */
  29862. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  29863. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  29864. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  29865. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  29866. .klen = 32,
  29867. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  29868. "\x00\x00\x00\x01\x31\x58\xa3\x5a"
  29869. "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
  29870. "\x1c\x00\x00\x00\x00\x00\x00\x00",
  29871. .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
  29872. "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
  29873. "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
  29874. "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
  29875. "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
  29876. "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
  29877. "\x01\xc6\x67\xda\x03\x91\x18\x90"
  29878. "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
  29879. "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
  29880. "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
  29881. "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
  29882. "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
  29883. "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
  29884. "\x33\x97\xc3\x77\xba\xc5\x70\xde"
  29885. "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
  29886. "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
  29887. "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
  29888. "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
  29889. "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
  29890. "\x79\x49\x41\xf4\x58\x18\xcb\x86"
  29891. "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
  29892. "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
  29893. "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
  29894. "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
  29895. "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
  29896. "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
  29897. "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
  29898. "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
  29899. "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
  29900. "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
  29901. "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
  29902. "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
  29903. "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
  29904. "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
  29905. "\x24\x74\x75\x7f\x95\x81\xb7\x30"
  29906. "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
  29907. "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
  29908. "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
  29909. "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
  29910. "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
  29911. "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
  29912. "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
  29913. "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
  29914. "\x49\x46\x00\x88\x22\x8d\xce\xea"
  29915. "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
  29916. "\x72\x11\xf5\x50\x73\x04\x40\x47"
  29917. "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
  29918. "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
  29919. "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
  29920. "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
  29921. "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
  29922. "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
  29923. "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
  29924. "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
  29925. "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
  29926. "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
  29927. "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
  29928. "\x8b\x10\x67\xa3\x01\x57\x94\x25"
  29929. "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
  29930. "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
  29931. "\x58\xb1\x47\x90\xfe\x42\x21\x72"
  29932. "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
  29933. "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
  29934. "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
  29935. "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
  29936. "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
  29937. "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
  29938. "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
  29939. "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
  29940. "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
  29941. "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
  29942. "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
  29943. "\x65\x69\x8a\x45\x29\xef\x74\x85"
  29944. "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
  29945. "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
  29946. "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
  29947. "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
  29948. "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
  29949. "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
  29950. "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
  29951. "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
  29952. "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
  29953. "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
  29954. "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
  29955. "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
  29956. "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
  29957. "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
  29958. "\x10\x26\x38\x07\xe5\xc7\x36\x80"
  29959. "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
  29960. "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
  29961. "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
  29962. "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
  29963. "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
  29964. "\x83\x66\x80\x47\x80\xe8\xfd\x35"
  29965. "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
  29966. "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
  29967. "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
  29968. "\x25\x94\x10\x5f\x40\x00\x64\x99"
  29969. "\xdc\xae\xd7\x21\x09\x78\x50\x15"
  29970. "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
  29971. "\x87\x6e\x6d\xab\xde\x08\x51\x16"
  29972. "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
  29973. "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
  29974. "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
  29975. "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
  29976. "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
  29977. "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
  29978. "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
  29979. "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
  29980. "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
  29981. "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
  29982. "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
  29983. "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
  29984. "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
  29985. "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
  29986. "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
  29987. "\xb9\x83\x90\xef\x20\x59\x46\xff"
  29988. "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
  29989. "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
  29990. "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
  29991. "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
  29992. "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
  29993. "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
  29994. "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
  29995. "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
  29996. "\x94\x97\xea\xdd\x58\x9e\xae\x76"
  29997. "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
  29998. "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
  29999. "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
  30000. "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
  30001. "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
  30002. "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
  30003. "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
  30004. "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
  30005. "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
  30006. "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
  30007. "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
  30008. "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
  30009. "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
  30010. "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
  30011. "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
  30012. "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
  30013. "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
  30014. "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
  30015. "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
  30016. "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
  30017. "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
  30018. "\xac\xf3\x13\x53\x27\x45\xaf\x64"
  30019. "\x46\xdc\xea\x23\xda\x97\xd1\xab"
  30020. "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
  30021. "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
  30022. "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
  30023. "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
  30024. "\xca\x34\x83\x27\x10\x5b\x68\x45"
  30025. "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
  30026. "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
  30027. "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
  30028. "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
  30029. "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
  30030. "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
  30031. "\x72",
  30032. .ctext = "\x3a\x92\xee\x53\x31\xaf\x2b\x60"
  30033. "\x5f\x55\x8d\x00\x5d\xfc\x74\x97"
  30034. "\x28\x54\xf4\xa5\x75\xf1\x9b\x25"
  30035. "\x62\x1c\xc0\xe0\x13\xc8\x87\x53"
  30036. "\xd0\xf3\xa7\x97\x1f\x3b\x1e\xea"
  30037. "\xe0\xe5\x2a\xd1\xdd\xa4\x3b\x50"
  30038. "\x45\xa3\x0d\x7e\x1b\xc9\xa0\xad"
  30039. "\xb9\x2c\x54\xa6\xc7\x55\x16\xd0"
  30040. "\xc5\x2e\x02\x44\x35\xd0\x7e\x67"
  30041. "\xf2\xc4\x9b\xcd\x95\x10\xcc\x29"
  30042. "\x4b\xfa\x86\x87\xbe\x40\x36\xbe"
  30043. "\xe1\xa3\x52\x89\x55\x20\x9b\xc2"
  30044. "\xab\xf2\x31\x34\x16\xad\xc8\x17"
  30045. "\x65\x24\xc0\xff\x12\x37\xfe\x5a"
  30046. "\x62\x3b\x59\x47\x6c\x5f\x3a\x8e"
  30047. "\x3b\xd9\x30\xc8\x7f\x2f\x88\xda"
  30048. "\x80\xfd\x02\xda\x7f\x9a\x7a\x73"
  30049. "\x59\xc5\x34\x09\x9a\x11\xcb\xa7"
  30050. "\xfc\xf6\xa1\xa0\x60\xfb\x43\xbb"
  30051. "\xf1\xe9\xd7\xc6\x79\x27\x4e\xff"
  30052. "\x22\xb4\x24\xbf\x76\xee\x47\xb9"
  30053. "\x6d\x3f\x8b\xb0\x9c\x3c\x43\xdd"
  30054. "\xff\x25\x2e\x6d\xa4\x2b\xfb\x5d"
  30055. "\x1b\x97\x6c\x55\x0a\x82\x7a\x7b"
  30056. "\x94\x34\xc2\xdb\x2f\x1f\xc1\xea"
  30057. "\xd4\x4d\x17\x46\x3b\x51\x69\x09"
  30058. "\xe4\x99\x32\x25\xfd\x94\xaf\xfb"
  30059. "\x10\xf7\x4f\xdd\x0b\x3c\x8b\x41"
  30060. "\xb3\x6a\xb7\xd1\x33\xa8\x0c\x2f"
  30061. "\x62\x4c\x72\x11\xd7\x74\xe1\x3b"
  30062. "\x38\x43\x66\x7b\x6c\x36\x48\xe7"
  30063. "\xe3\xe7\x9d\xb9\x42\x73\x7a\x2a"
  30064. "\x89\x20\x1a\x41\x80\x03\xf7\x8f"
  30065. "\x61\x78\x13\xbf\xfe\x50\xf5\x04"
  30066. "\x52\xf9\xac\x47\xf8\x62\x4b\xb2"
  30067. "\x24\xa9\xbf\x64\xb0\x18\x69\xd2"
  30068. "\xf5\xe4\xce\xc8\xb1\x87\x75\xd6"
  30069. "\x2c\x24\x79\x00\x7d\x26\xfb\x44"
  30070. "\xe7\x45\x7a\xee\x58\xa5\x83\xc1"
  30071. "\xb4\x24\xab\x23\x2f\x4d\xd7\x4f"
  30072. "\x1c\xc7\xaa\xa9\x50\xf4\xa3\x07"
  30073. "\x12\x13\x89\x74\xdc\x31\x6a\xb2"
  30074. "\xf5\x0f\x13\x8b\xb9\xdb\x85\x1f"
  30075. "\xf5\xbc\x88\xd9\x95\xea\x31\x6c"
  30076. "\x36\x60\xb6\x49\xdc\xc4\xf7\x55"
  30077. "\x3f\x21\xc1\xb5\x92\x18\x5e\xbc"
  30078. "\x9f\x87\x7f\xe7\x79\x25\x40\x33"
  30079. "\xd6\xb9\x33\xd5\x50\xb3\xc7\x89"
  30080. "\x1b\x12\xa0\x46\xdd\xa7\xd8\x3e"
  30081. "\x71\xeb\x6f\x66\xa1\x26\x0c\x67"
  30082. "\xab\xb2\x38\x58\x17\xd8\x44\x3b"
  30083. "\x16\xf0\x8e\x62\x8d\x16\x10\x00"
  30084. "\x32\x8b\xef\xb9\x28\xd3\xc5\xad"
  30085. "\x0a\x19\xa2\xe4\x03\x27\x7d\x94"
  30086. "\x06\x18\xcd\xd6\x27\x00\xf9\x1f"
  30087. "\xb6\xb3\xfe\x96\x35\x5f\xc4\x1c"
  30088. "\x07\x62\x10\x79\x68\x50\xf1\x7e"
  30089. "\x29\xe7\xc4\xc4\xe7\xee\x54\xd6"
  30090. "\x58\x76\x84\x6d\x8d\xe4\x59\x31"
  30091. "\xe9\xf4\xdc\xa1\x1f\xe5\x1a\xd6"
  30092. "\xe6\x64\x46\xf5\x77\x9c\x60\x7a"
  30093. "\x5e\x62\xe3\x0a\xd4\x9f\x7a\x2d"
  30094. "\x7a\xa5\x0a\x7b\x29\x86\x7a\x74"
  30095. "\x74\x71\x6b\xca\x7d\x1d\xaa\xba"
  30096. "\x39\x84\x43\x76\x35\xfe\x4f\x9b"
  30097. "\xbb\xbb\xb5\x6a\x32\xb5\x5d\x41"
  30098. "\x51\xf0\x5b\x68\x03\x47\x4b\x8a"
  30099. "\xca\x88\xf6\x37\xbd\x73\x51\x70"
  30100. "\x66\xfe\x9e\x5f\x21\x9c\xf3\xdd"
  30101. "\xc3\xea\x27\xf9\x64\x94\xe1\x19"
  30102. "\xa0\xa9\xab\x60\xe0\x0e\xf7\x78"
  30103. "\x70\x86\xeb\xe0\xd1\x5c\x05\xd3"
  30104. "\xd7\xca\xe0\xc0\x47\x47\x34\xee"
  30105. "\x11\xa3\xa3\x54\x98\xb7\x49\x8e"
  30106. "\x84\x28\x70\x2c\x9e\xfb\x55\x54"
  30107. "\x4d\xf8\x86\xf7\x85\x7c\xbd\xf3"
  30108. "\x17\xd8\x47\xcb\xac\xf4\x20\x85"
  30109. "\x34\x66\xad\x37\x2d\x5e\x52\xda"
  30110. "\x8a\xfe\x98\x55\x30\xe7\x2d\x2b"
  30111. "\x19\x10\x8e\x7b\x66\x5e\xdc\xe0"
  30112. "\x45\x1f\x7b\xb4\x08\xfb\x8f\xf6"
  30113. "\x8c\x89\x21\x34\x55\x27\xb2\x76"
  30114. "\xb2\x07\xd9\xd6\x68\x9b\xea\x6b"
  30115. "\x2d\xb4\xc4\x35\xdd\xd2\x79\xae"
  30116. "\xc7\xd6\x26\x7f\x12\x01\x8c\xa7"
  30117. "\xe3\xdb\xa8\xf4\xf7\x2b\xec\x99"
  30118. "\x11\x00\xf1\x35\x8c\xcf\xd5\xc9"
  30119. "\xbd\x91\x36\x39\x70\xcf\x7d\x70"
  30120. "\x47\x1a\xfc\x6b\x56\xe0\x3f\x9c"
  30121. "\x60\x49\x01\x72\xa9\xaf\x2c\x9c"
  30122. "\xe8\xab\xda\x8c\x14\x19\xf3\x75"
  30123. "\x07\x17\x9d\x44\x67\x7a\x2e\xef"
  30124. "\xb7\x83\x35\x4a\xd1\x3d\x1c\x84"
  30125. "\x32\xdd\xaa\xea\xca\x1d\xdc\x72"
  30126. "\x2c\xcc\x43\xcd\x5d\xe3\x21\xa4"
  30127. "\xd0\x8a\x4b\x20\x12\xa3\xd5\x86"
  30128. "\x76\x96\xff\x5f\x04\x57\x0f\xe6"
  30129. "\xba\xe8\x76\x50\x0c\x64\x1d\x83"
  30130. "\x9c\x9b\x9a\x9a\x58\x97\x9c\x5c"
  30131. "\xb4\xa4\xa6\x3e\x19\xeb\x8f\x5a"
  30132. "\x61\xb2\x03\x7b\x35\x19\xbe\xa7"
  30133. "\x63\x0c\xfd\xdd\xf9\x90\x6c\x08"
  30134. "\x19\x11\xd3\x65\x4a\xf5\x96\x92"
  30135. "\x59\xaa\x9c\x61\x0c\x29\xa7\xf8"
  30136. "\x14\x39\x37\xbf\x3c\xf2\x16\x72"
  30137. "\x02\xfa\xa2\xf3\x18\x67\x5d\xcb"
  30138. "\xdc\x4d\xbb\x96\xff\x70\x08\x2d"
  30139. "\xc2\xa8\x52\xe1\x34\x5f\x72\xfe"
  30140. "\x64\xbf\xca\xa7\x74\x38\xfb\x74"
  30141. "\x55\x9c\xfa\x8a\xed\xfb\x98\xeb"
  30142. "\x58\x2e\x6c\xe1\x52\x76\x86\xd7"
  30143. "\xcf\xa1\xa4\xfc\xb2\x47\x41\x28"
  30144. "\xa3\xc1\xe5\xfd\x53\x19\x28\x2b"
  30145. "\x37\x04\x65\x96\x99\x7a\x28\x0f"
  30146. "\x07\x68\x4b\xc7\x52\x0a\x55\x35"
  30147. "\x40\x19\x95\x61\xe8\x59\x40\x1f"
  30148. "\x9d\xbf\x78\x7d\x8f\x84\xff\x6f"
  30149. "\xd0\xd5\x63\xd2\x22\xbd\xc8\x4e"
  30150. "\xfb\xe7\x9f\x06\xe6\xe7\x39\x6d"
  30151. "\x6a\x96\x9f\xf0\x74\x7e\xc9\x35"
  30152. "\xb7\x26\xb8\x1c\x0a\xa6\x27\x2c"
  30153. "\xa2\x2b\xfe\xbe\x0f\x07\x73\xae"
  30154. "\x7f\x7f\x54\xf5\x7c\x6a\x0a\x56"
  30155. "\x49\xd4\x81\xe5\x85\x53\x99\x1f"
  30156. "\x95\x05\x13\x58\x8d\x0e\x1b\x90"
  30157. "\xc3\x75\x48\x64\x58\x98\x67\x84"
  30158. "\xae\xe2\x21\xa2\x8a\x04\x0a\x0b"
  30159. "\x61\xaa\xb0\xd4\x28\x60\x7a\xf8"
  30160. "\xbc\x52\xfb\x24\x7f\xed\x0d\x2a"
  30161. "\x0a\xb2\xf9\xc6\x95\xb5\x11\xc9"
  30162. "\xf4\x0f\x26\x11\xcf\x2a\x57\x87"
  30163. "\x7a\xf3\xe7\x94\x65\xc2\xb5\xb3"
  30164. "\xab\x98\xe3\xc1\x2b\x59\x19\x7c"
  30165. "\xd6\xf3\xf9\xbf\xff\x6d\xc6\x82"
  30166. "\x13\x2f\x4a\x2e\xcd\x26\xfe\x2d"
  30167. "\x01\x70\xf4\xc2\x7f\x1f\x4c\xcb"
  30168. "\x47\x77\x0c\xa0\xa3\x03\xec\xda"
  30169. "\xa9\xbf\x0d\x2d\xae\xe4\xb8\x7b"
  30170. "\xa9\xbc\x08\xb4\x68\x2e\xc5\x60"
  30171. "\x8d\x87\x41\x2b\x0f\x69\xf0\xaf"
  30172. "\x5f\xba\x72\x20\x0f\x33\xcd\x6d"
  30173. "\x36\x7d\x7b\xd5\x05\xf1\x4b\x05"
  30174. "\xc4\xfc\x7f\x80\xb9\x4d\xbd\xf7"
  30175. "\x7c\x84\x07\x01\xc2\x40\x66\x5b"
  30176. "\x98\xc7\x2c\xe3\x97\xfa\xdf\x87"
  30177. "\xa0\x1f\xe9\x21\x42\x0f\x3b\xeb"
  30178. "\x89\x1c\x3b\xca\x83\x61\x77\x68"
  30179. "\x84\xbb\x60\x87\x38\x2e\x25\xd5"
  30180. "\x9e\x04\x41\x70\xac\xda\xc0\x9c"
  30181. "\x9c\x69\xea\x8d\x4e\x55\x2a\x29"
  30182. "\xed\x05\x4b\x7b\x73\x71\x90\x59"
  30183. "\x4d\xc8\xd8\x44\xf0\x4c\xe1\x5e"
  30184. "\x84\x47\x55\xcc\x32\x3f\xe7\x97"
  30185. "\x42\xc6\x32\xac\x40\xe5\xa5\xc7"
  30186. "\x8b\xed\xdb\xf7\x83\xd6\xb1\xc2"
  30187. "\x52\x5e\x34\xb7\xeb\x6e\xd9\xfc"
  30188. "\xe5\x93\x9a\x97\x3e\xb0\xdc\xd9"
  30189. "\xd7\x06\x10\xb6\x1d\x80\x59\xdd"
  30190. "\x0d\xfe\x64\x35\xcd\x5d\xec\xf0"
  30191. "\xba\xd0\x34\xc9\x2d\x91\xc5\x17"
  30192. "\x11",
  30193. .len = 1281,
  30194. }, { /* test vector from https://tools.ietf.org/html/draft-arciszewski-xchacha-02#appendix-A.3.2 */
  30195. .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
  30196. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  30197. "\x90\x91\x92\x93\x94\x95\x96\x97"
  30198. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
  30199. .klen = 32,
  30200. .iv = "\x40\x41\x42\x43\x44\x45\x46\x47"
  30201. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  30202. "\x50\x51\x52\x53\x54\x55\x56\x58"
  30203. "\x00\x00\x00\x00\x00\x00\x00\x00",
  30204. .ptext = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
  30205. "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
  30206. "\x75\x6e\x63\x65\x64\x20\x22\x64"
  30207. "\x6f\x6c\x65\x22\x29\x20\x69\x73"
  30208. "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
  30209. "\x6f\x77\x6e\x20\x61\x73\x20\x74"
  30210. "\x68\x65\x20\x41\x73\x69\x61\x74"
  30211. "\x69\x63\x20\x77\x69\x6c\x64\x20"
  30212. "\x64\x6f\x67\x2c\x20\x72\x65\x64"
  30213. "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
  30214. "\x64\x20\x77\x68\x69\x73\x74\x6c"
  30215. "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
  30216. "\x20\x49\x74\x20\x69\x73\x20\x61"
  30217. "\x62\x6f\x75\x74\x20\x74\x68\x65"
  30218. "\x20\x73\x69\x7a\x65\x20\x6f\x66"
  30219. "\x20\x61\x20\x47\x65\x72\x6d\x61"
  30220. "\x6e\x20\x73\x68\x65\x70\x68\x65"
  30221. "\x72\x64\x20\x62\x75\x74\x20\x6c"
  30222. "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
  30223. "\x65\x20\x6c\x69\x6b\x65\x20\x61"
  30224. "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
  30225. "\x67\x67\x65\x64\x20\x66\x6f\x78"
  30226. "\x2e\x20\x54\x68\x69\x73\x20\x68"
  30227. "\x69\x67\x68\x6c\x79\x20\x65\x6c"
  30228. "\x75\x73\x69\x76\x65\x20\x61\x6e"
  30229. "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
  30230. "\x64\x20\x6a\x75\x6d\x70\x65\x72"
  30231. "\x20\x69\x73\x20\x63\x6c\x61\x73"
  30232. "\x73\x69\x66\x69\x65\x64\x20\x77"
  30233. "\x69\x74\x68\x20\x77\x6f\x6c\x76"
  30234. "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
  30235. "\x74\x65\x73\x2c\x20\x6a\x61\x63"
  30236. "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
  30237. "\x64\x20\x66\x6f\x78\x65\x73\x20"
  30238. "\x69\x6e\x20\x74\x68\x65\x20\x74"
  30239. "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
  30240. "\x20\x66\x61\x6d\x69\x6c\x79\x20"
  30241. "\x43\x61\x6e\x69\x64\x61\x65\x2e",
  30242. .ctext = "\x45\x59\xab\xba\x4e\x48\xc1\x61"
  30243. "\x02\xe8\xbb\x2c\x05\xe6\x94\x7f"
  30244. "\x50\xa7\x86\xde\x16\x2f\x9b\x0b"
  30245. "\x7e\x59\x2a\x9b\x53\xd0\xd4\xe9"
  30246. "\x8d\x8d\x64\x10\xd5\x40\xa1\xa6"
  30247. "\x37\x5b\x26\xd8\x0d\xac\xe4\xfa"
  30248. "\xb5\x23\x84\xc7\x31\xac\xbf\x16"
  30249. "\xa5\x92\x3c\x0c\x48\xd3\x57\x5d"
  30250. "\x4d\x0d\x2c\x67\x3b\x66\x6f\xaa"
  30251. "\x73\x10\x61\x27\x77\x01\x09\x3a"
  30252. "\x6b\xf7\xa1\x58\xa8\x86\x42\x92"
  30253. "\xa4\x1c\x48\xe3\xa9\xb4\xc0\xda"
  30254. "\xec\xe0\xf8\xd9\x8d\x0d\x7e\x05"
  30255. "\xb3\x7a\x30\x7b\xbb\x66\x33\x31"
  30256. "\x64\xec\x9e\x1b\x24\xea\x0d\x6c"
  30257. "\x3f\xfd\xdc\xec\x4f\x68\xe7\x44"
  30258. "\x30\x56\x19\x3a\x03\xc8\x10\xe1"
  30259. "\x13\x44\xca\x06\xd8\xed\x8a\x2b"
  30260. "\xfb\x1e\x8d\x48\xcf\xa6\xbc\x0e"
  30261. "\xb4\xe2\x46\x4b\x74\x81\x42\x40"
  30262. "\x7c\x9f\x43\x1a\xee\x76\x99\x60"
  30263. "\xe1\x5b\xa8\xb9\x68\x90\x46\x6e"
  30264. "\xf2\x45\x75\x99\x85\x23\x85\xc6"
  30265. "\x61\xf7\x52\xce\x20\xf9\xda\x0c"
  30266. "\x09\xab\x6b\x19\xdf\x74\xe7\x6a"
  30267. "\x95\x96\x74\x46\xf8\xd0\xfd\x41"
  30268. "\x5e\x7b\xee\x2a\x12\xa1\x14\xc2"
  30269. "\x0e\xb5\x29\x2a\xe7\xa3\x49\xae"
  30270. "\x57\x78\x20\xd5\x52\x0a\x1f\x3f"
  30271. "\xb6\x2a\x17\xce\x6a\x7e\x68\xfa"
  30272. "\x7c\x79\x11\x1d\x88\x60\x92\x0b"
  30273. "\xc0\x48\xef\x43\xfe\x84\x48\x6c"
  30274. "\xcb\x87\xc2\x5f\x0a\xe0\x45\xf0"
  30275. "\xcc\xe1\xe7\x98\x9a\x9a\xa2\x20"
  30276. "\xa2\x8b\xdd\x48\x27\xe7\x51\xa2"
  30277. "\x4a\x6d\x5c\x62\xd7\x90\xa6\x63"
  30278. "\x93\xb9\x31\x11\xc1\xa5\x5d\xd7"
  30279. "\x42\x1a\x10\x18\x49\x74\xc7\xc5",
  30280. .len = 304,
  30281. }
  30282. };
  30283. /*
  30284. * Same as XChaCha20 test vectors above, but recomputed the ciphertext with
  30285. * XChaCha12, using a modified libsodium.
  30286. */
  30287. static const struct cipher_testvec xchacha12_tv_template[] = {
  30288. {
  30289. .key = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
  30290. "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
  30291. "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
  30292. "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
  30293. .klen = 32,
  30294. .iv = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
  30295. "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
  30296. "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
  30297. "\x00\x00\x00\x00\x00\x00\x00\x00",
  30298. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30299. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30300. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30301. "\x00\x00\x00\x00\x00",
  30302. .ctext = "\x1b\x78\x7f\xd7\xa1\x41\x68\xab"
  30303. "\x3d\x3f\xd1\x7b\x69\x56\xb2\xd5"
  30304. "\x43\xce\xeb\xaf\x36\xf0\x29\x9d"
  30305. "\x3a\xfb\x18\xae\x1b",
  30306. .len = 29,
  30307. }, {
  30308. .key = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
  30309. "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
  30310. "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
  30311. "\x22\x35\xea\xaf\x60\x1d\x62\x32",
  30312. .klen = 32,
  30313. .iv = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
  30314. "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
  30315. "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
  30316. "\x00\x00\x00\x00\x00\x00\x00\x00",
  30317. .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30318. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30319. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30320. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30321. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30322. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30323. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30324. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30325. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30326. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30327. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30328. "\x00\x00\x00",
  30329. .ctext = "\xfb\x32\x09\x1d\x83\x05\xae\x4c"
  30330. "\x13\x1f\x12\x71\xf2\xca\xb2\xeb"
  30331. "\x5b\x83\x14\x7d\x83\xf6\x57\x77"
  30332. "\x2e\x40\x1f\x92\x2c\xf9\xec\x35"
  30333. "\x34\x1f\x93\xdf\xfb\x30\xd7\x35"
  30334. "\x03\x05\x78\xc1\x20\x3b\x7a\xe3"
  30335. "\x62\xa3\x89\xdc\x11\x11\x45\xa8"
  30336. "\x82\x89\xa0\xf1\x4e\xc7\x0f\x11"
  30337. "\x69\xdd\x0c\x84\x2b\x89\x5c\xdc"
  30338. "\xf0\xde\x01\xef\xc5\x65\x79\x23"
  30339. "\x87\x67\xd6\x50\xd9\x8d\xd9\x92"
  30340. "\x54\x5b\x0e",
  30341. .len = 91,
  30342. }, {
  30343. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30344. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30345. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30346. "\x00\x00\x00\x00\x00\x00\x00\x00",
  30347. .klen = 32,
  30348. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30349. "\x00\x00\x00\x00\x67\xc6\x69\x73"
  30350. "\x51\xff\x4a\xec\x29\xcd\xba\xab"
  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. .ctext = "\xdf\x2d\xc6\x21\x2a\x9d\xa1\xbb"
  30361. "\xc2\x77\x66\x0c\x5c\x46\xef\xa7"
  30362. "\x79\x1b\xb9\xdf\x55\xe2\xf9\x61"
  30363. "\x4c\x7b\xa4\x52\x24\xaf\xa2\xda"
  30364. "\xd1\x8f\x8f\xa2\x9e\x53\x4d\xc4"
  30365. "\xb8\x55\x98\x08\x7c\x08\xd4\x18"
  30366. "\x67\x8f\xef\x50\xb1\x5f\xa5\x77"
  30367. "\x4c\x25\xe7\x86\x26\x42\xca\x44",
  30368. .len = 64,
  30369. }, {
  30370. .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30371. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30372. "\x00\x00\x00\x00\x00\x00\x00\x00"
  30373. "\x00\x00\x00\x00\x00\x00\x00\x01",
  30374. .klen = 32,
  30375. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30376. "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
  30377. "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
  30378. "\x01\x00\x00\x00\x00\x00\x00\x00",
  30379. .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
  30380. "\x69\x73\x73\x69\x6f\x6e\x20\x74"
  30381. "\x6f\x20\x74\x68\x65\x20\x49\x45"
  30382. "\x54\x46\x20\x69\x6e\x74\x65\x6e"
  30383. "\x64\x65\x64\x20\x62\x79\x20\x74"
  30384. "\x68\x65\x20\x43\x6f\x6e\x74\x72"
  30385. "\x69\x62\x75\x74\x6f\x72\x20\x66"
  30386. "\x6f\x72\x20\x70\x75\x62\x6c\x69"
  30387. "\x63\x61\x74\x69\x6f\x6e\x20\x61"
  30388. "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
  30389. "\x20\x70\x61\x72\x74\x20\x6f\x66"
  30390. "\x20\x61\x6e\x20\x49\x45\x54\x46"
  30391. "\x20\x49\x6e\x74\x65\x72\x6e\x65"
  30392. "\x74\x2d\x44\x72\x61\x66\x74\x20"
  30393. "\x6f\x72\x20\x52\x46\x43\x20\x61"
  30394. "\x6e\x64\x20\x61\x6e\x79\x20\x73"
  30395. "\x74\x61\x74\x65\x6d\x65\x6e\x74"
  30396. "\x20\x6d\x61\x64\x65\x20\x77\x69"
  30397. "\x74\x68\x69\x6e\x20\x74\x68\x65"
  30398. "\x20\x63\x6f\x6e\x74\x65\x78\x74"
  30399. "\x20\x6f\x66\x20\x61\x6e\x20\x49"
  30400. "\x45\x54\x46\x20\x61\x63\x74\x69"
  30401. "\x76\x69\x74\x79\x20\x69\x73\x20"
  30402. "\x63\x6f\x6e\x73\x69\x64\x65\x72"
  30403. "\x65\x64\x20\x61\x6e\x20\x22\x49"
  30404. "\x45\x54\x46\x20\x43\x6f\x6e\x74"
  30405. "\x72\x69\x62\x75\x74\x69\x6f\x6e"
  30406. "\x22\x2e\x20\x53\x75\x63\x68\x20"
  30407. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  30408. "\x74\x73\x20\x69\x6e\x63\x6c\x75"
  30409. "\x64\x65\x20\x6f\x72\x61\x6c\x20"
  30410. "\x73\x74\x61\x74\x65\x6d\x65\x6e"
  30411. "\x74\x73\x20\x69\x6e\x20\x49\x45"
  30412. "\x54\x46\x20\x73\x65\x73\x73\x69"
  30413. "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
  30414. "\x77\x65\x6c\x6c\x20\x61\x73\x20"
  30415. "\x77\x72\x69\x74\x74\x65\x6e\x20"
  30416. "\x61\x6e\x64\x20\x65\x6c\x65\x63"
  30417. "\x74\x72\x6f\x6e\x69\x63\x20\x63"
  30418. "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
  30419. "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
  30420. "\x64\x65\x20\x61\x74\x20\x61\x6e"
  30421. "\x79\x20\x74\x69\x6d\x65\x20\x6f"
  30422. "\x72\x20\x70\x6c\x61\x63\x65\x2c"
  30423. "\x20\x77\x68\x69\x63\x68\x20\x61"
  30424. "\x72\x65\x20\x61\x64\x64\x72\x65"
  30425. "\x73\x73\x65\x64\x20\x74\x6f",
  30426. .ctext = "\xe4\xa6\xc8\x30\xc4\x23\x13\xd6"
  30427. "\x08\x4d\xc9\xb7\xa5\x64\x7c\xb9"
  30428. "\x71\xe2\xab\x3e\xa8\x30\x8a\x1c"
  30429. "\x4a\x94\x6d\x9b\xe0\xb3\x6f\xf1"
  30430. "\xdc\xe3\x1b\xb3\xa9\x6d\x0d\xd6"
  30431. "\xd0\xca\x12\xef\xe7\x5f\xd8\x61"
  30432. "\x3c\x82\xd3\x99\x86\x3c\x6f\x66"
  30433. "\x02\x06\xdc\x55\xf9\xed\xdf\x38"
  30434. "\xb4\xa6\x17\x00\x7f\xef\xbf\x4f"
  30435. "\xf8\x36\xf1\x60\x7e\x47\xaf\xdb"
  30436. "\x55\x9b\x12\xcb\x56\x44\xa7\x1f"
  30437. "\xd3\x1a\x07\x3b\x00\xec\xe6\x4c"
  30438. "\xa2\x43\x27\xdf\x86\x19\x4f\x16"
  30439. "\xed\xf9\x4a\xf3\x63\x6f\xfa\x7f"
  30440. "\x78\x11\xf6\x7d\x97\x6f\xec\x6f"
  30441. "\x85\x0f\x5c\x36\x13\x8d\x87\xe0"
  30442. "\x80\xb1\x69\x0b\x98\x89\x9c\x4e"
  30443. "\xf8\xdd\xee\x5c\x0a\x85\xce\xd4"
  30444. "\xea\x1b\x48\xbe\x08\xf8\xe2\xa8"
  30445. "\xa5\xb0\x3c\x79\xb1\x15\xb4\xb9"
  30446. "\x75\x10\x95\x35\x81\x7e\x26\xe6"
  30447. "\x78\xa4\x88\xcf\xdb\x91\x34\x18"
  30448. "\xad\xd7\x8e\x07\x7d\xab\x39\xf9"
  30449. "\xa3\x9e\xa5\x1d\xbb\xed\x61\xfd"
  30450. "\xdc\xb7\x5a\x27\xfc\xb5\xc9\x10"
  30451. "\xa8\xcc\x52\x7f\x14\x76\x90\xe7"
  30452. "\x1b\x29\x60\x74\xc0\x98\x77\xbb"
  30453. "\xe0\x54\xbb\x27\x49\x59\x1e\x62"
  30454. "\x3d\xaf\x74\x06\xa4\x42\x6f\xc6"
  30455. "\x52\x97\xc4\x1d\xc4\x9f\xe2\xe5"
  30456. "\x38\x57\x91\xd1\xa2\x28\xcc\x40"
  30457. "\xcc\x70\x59\x37\xfc\x9f\x4b\xda"
  30458. "\xa0\xeb\x97\x9a\x7d\xed\x14\x5c"
  30459. "\x9c\xb7\x93\x26\x41\xa8\x66\xdd"
  30460. "\x87\x6a\xc0\xd3\xc2\xa9\x3e\xae"
  30461. "\xe9\x72\xfe\xd1\xb3\xac\x38\xea"
  30462. "\x4d\x15\xa9\xd5\x36\x61\xe9\x96"
  30463. "\x6c\x23\xf8\x43\xe4\x92\x29\xd9"
  30464. "\x8b\x78\xf7\x0a\x52\xe0\x19\x5b"
  30465. "\x59\x69\x5b\x5d\xa1\x53\xc4\x68"
  30466. "\xe1\xbb\xac\x89\x14\xe2\xe2\x85"
  30467. "\x41\x18\xf5\xb3\xd1\xfa\x68\x19"
  30468. "\x44\x78\xdc\xcf\xe7\x88\x2d\x52"
  30469. "\x5f\x40\xb5\x7e\xf8\x88\xa2\xae"
  30470. "\x4a\xb2\x07\x35\x9d\x9b\x07\x88"
  30471. "\xb7\x00\xd0\x0c\xb6\xa0\x47\x59"
  30472. "\xda\x4e\xc9\xab\x9b\x8a\x7b",
  30473. .len = 375,
  30474. }, {
  30475. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  30476. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  30477. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  30478. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  30479. .klen = 32,
  30480. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30481. "\x00\x00\x00\x02\x76\x5a\x2e\x63"
  30482. "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
  30483. "\x2a\x00\x00\x00\x00\x00\x00\x00",
  30484. .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
  30485. "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
  30486. "\x6e\x64\x20\x74\x68\x65\x20\x73"
  30487. "\x6c\x69\x74\x68\x79\x20\x74\x6f"
  30488. "\x76\x65\x73\x0a\x44\x69\x64\x20"
  30489. "\x67\x79\x72\x65\x20\x61\x6e\x64"
  30490. "\x20\x67\x69\x6d\x62\x6c\x65\x20"
  30491. "\x69\x6e\x20\x74\x68\x65\x20\x77"
  30492. "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
  30493. "\x20\x6d\x69\x6d\x73\x79\x20\x77"
  30494. "\x65\x72\x65\x20\x74\x68\x65\x20"
  30495. "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
  30496. "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
  30497. "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
  30498. "\x72\x61\x74\x68\x73\x20\x6f\x75"
  30499. "\x74\x67\x72\x61\x62\x65\x2e",
  30500. .ctext = "\xb9\x68\xbc\x6a\x24\xbc\xcc\xd8"
  30501. "\x9b\x2a\x8d\x5b\x96\xaf\x56\xe3"
  30502. "\x11\x61\xe7\xa7\x9b\xce\x4e\x7d"
  30503. "\x60\x02\x48\xac\xeb\xd5\x3a\x26"
  30504. "\x9d\x77\x3b\xb5\x32\x13\x86\x8e"
  30505. "\x20\x82\x26\x72\xae\x64\x1b\x7e"
  30506. "\x2e\x01\x68\xb4\x87\x45\xa1\x24"
  30507. "\xe4\x48\x40\xf0\xaa\xac\xee\xa9"
  30508. "\xfc\x31\xad\x9d\x89\xa3\xbb\xd2"
  30509. "\xe4\x25\x13\xad\x0f\x5e\xdf\x3c"
  30510. "\x27\xab\xb8\x62\x46\x22\x30\x48"
  30511. "\x55\x2c\x4e\x84\x78\x1d\x0d\x34"
  30512. "\x8d\x3c\x91\x0a\x7f\x5b\x19\x9f"
  30513. "\x97\x05\x4c\xa7\x62\x47\x8b\xc5"
  30514. "\x44\x2e\x20\x33\xdd\xa0\x82\xa9"
  30515. "\x25\x76\x37\xe6\x3c\x67\x5b",
  30516. .len = 127,
  30517. }, {
  30518. .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
  30519. "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
  30520. "\x47\x39\x17\xc1\x40\x2b\x80\x09"
  30521. "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
  30522. .klen = 32,
  30523. .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
  30524. "\x00\x00\x00\x01\x31\x58\xa3\x5a"
  30525. "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
  30526. "\x1c\x00\x00\x00\x00\x00\x00\x00",
  30527. .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
  30528. "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
  30529. "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
  30530. "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
  30531. "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
  30532. "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
  30533. "\x01\xc6\x67\xda\x03\x91\x18\x90"
  30534. "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
  30535. "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
  30536. "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
  30537. "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
  30538. "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
  30539. "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
  30540. "\x33\x97\xc3\x77\xba\xc5\x70\xde"
  30541. "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
  30542. "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
  30543. "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
  30544. "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
  30545. "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
  30546. "\x79\x49\x41\xf4\x58\x18\xcb\x86"
  30547. "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
  30548. "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
  30549. "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
  30550. "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
  30551. "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
  30552. "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
  30553. "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
  30554. "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
  30555. "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
  30556. "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
  30557. "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
  30558. "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
  30559. "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
  30560. "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
  30561. "\x24\x74\x75\x7f\x95\x81\xb7\x30"
  30562. "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
  30563. "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
  30564. "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
  30565. "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
  30566. "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
  30567. "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
  30568. "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
  30569. "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
  30570. "\x49\x46\x00\x88\x22\x8d\xce\xea"
  30571. "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
  30572. "\x72\x11\xf5\x50\x73\x04\x40\x47"
  30573. "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
  30574. "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
  30575. "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
  30576. "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
  30577. "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
  30578. "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
  30579. "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
  30580. "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
  30581. "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
  30582. "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
  30583. "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
  30584. "\x8b\x10\x67\xa3\x01\x57\x94\x25"
  30585. "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
  30586. "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
  30587. "\x58\xb1\x47\x90\xfe\x42\x21\x72"
  30588. "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
  30589. "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
  30590. "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
  30591. "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
  30592. "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
  30593. "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
  30594. "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
  30595. "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
  30596. "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
  30597. "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
  30598. "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
  30599. "\x65\x69\x8a\x45\x29\xef\x74\x85"
  30600. "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
  30601. "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
  30602. "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
  30603. "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
  30604. "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
  30605. "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
  30606. "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
  30607. "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
  30608. "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
  30609. "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
  30610. "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
  30611. "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
  30612. "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
  30613. "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
  30614. "\x10\x26\x38\x07\xe5\xc7\x36\x80"
  30615. "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
  30616. "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
  30617. "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
  30618. "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
  30619. "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
  30620. "\x83\x66\x80\x47\x80\xe8\xfd\x35"
  30621. "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
  30622. "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
  30623. "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
  30624. "\x25\x94\x10\x5f\x40\x00\x64\x99"
  30625. "\xdc\xae\xd7\x21\x09\x78\x50\x15"
  30626. "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
  30627. "\x87\x6e\x6d\xab\xde\x08\x51\x16"
  30628. "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
  30629. "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
  30630. "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
  30631. "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
  30632. "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
  30633. "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
  30634. "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
  30635. "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
  30636. "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
  30637. "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
  30638. "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
  30639. "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
  30640. "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
  30641. "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
  30642. "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
  30643. "\xb9\x83\x90\xef\x20\x59\x46\xff"
  30644. "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
  30645. "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
  30646. "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
  30647. "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
  30648. "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
  30649. "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
  30650. "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
  30651. "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
  30652. "\x94\x97\xea\xdd\x58\x9e\xae\x76"
  30653. "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
  30654. "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
  30655. "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
  30656. "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
  30657. "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
  30658. "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
  30659. "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
  30660. "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
  30661. "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
  30662. "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
  30663. "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
  30664. "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
  30665. "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
  30666. "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
  30667. "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
  30668. "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
  30669. "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
  30670. "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
  30671. "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
  30672. "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
  30673. "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
  30674. "\xac\xf3\x13\x53\x27\x45\xaf\x64"
  30675. "\x46\xdc\xea\x23\xda\x97\xd1\xab"
  30676. "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
  30677. "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
  30678. "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
  30679. "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
  30680. "\xca\x34\x83\x27\x10\x5b\x68\x45"
  30681. "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
  30682. "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
  30683. "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
  30684. "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
  30685. "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
  30686. "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
  30687. "\x72",
  30688. .ctext = "\xe1\xb6\x8b\x5c\x80\xb8\xcc\x08"
  30689. "\x1b\x84\xb2\xd1\xad\xa4\x70\xac"
  30690. "\x67\xa9\x39\x27\xac\xb4\x5b\xb7"
  30691. "\x4c\x26\x77\x23\x1d\xce\x0a\xbe"
  30692. "\x18\x9e\x42\x8b\xbd\x7f\xd6\xf1"
  30693. "\xf1\x6b\xe2\x6d\x7f\x92\x0e\xcb"
  30694. "\xb8\x79\xba\xb4\xac\x7e\x2d\xc0"
  30695. "\x9e\x83\x81\x91\xd5\xea\xc3\x12"
  30696. "\x8d\xa4\x26\x70\xa4\xf9\x71\x0b"
  30697. "\xbd\x2e\xe1\xb3\x80\x42\x25\xb3"
  30698. "\x0b\x31\x99\xe1\x0d\xde\xa6\x90"
  30699. "\xf2\xa3\x10\xf7\xe5\xf3\x83\x1e"
  30700. "\x2c\xfb\x4d\xf0\x45\x3d\x28\x3c"
  30701. "\xb8\xf1\xcb\xbf\x67\xd8\x43\x5a"
  30702. "\x9d\x7b\x73\x29\x88\x0f\x13\x06"
  30703. "\x37\x50\x0d\x7c\xe6\x9b\x07\xdd"
  30704. "\x7e\x01\x1f\x81\x90\x10\x69\xdb"
  30705. "\xa4\xad\x8a\x5e\xac\x30\x72\xf2"
  30706. "\x36\xcd\xe3\x23\x49\x02\x93\xfa"
  30707. "\x3d\xbb\xe2\x98\x83\xeb\xe9\x8d"
  30708. "\xb3\x8f\x11\xaa\x53\xdb\xaf\x2e"
  30709. "\x95\x13\x99\x3d\x71\xbd\x32\x92"
  30710. "\xdd\xfc\x9d\x5e\x6f\x63\x2c\xee"
  30711. "\x91\x1f\x4c\x64\x3d\x87\x55\x0f"
  30712. "\xcc\x3d\x89\x61\x53\x02\x57\x8f"
  30713. "\xe4\x77\x29\x32\xaf\xa6\x2f\x0a"
  30714. "\xae\x3c\x3f\x3f\xf4\xfb\x65\x52"
  30715. "\xc5\xc1\x78\x78\x53\x28\xad\xed"
  30716. "\xd1\x67\x37\xc7\x59\x70\xcd\x0a"
  30717. "\xb8\x0f\x80\x51\x9f\xc0\x12\x5e"
  30718. "\x06\x0a\x7e\xec\x24\x5f\x73\x00"
  30719. "\xb1\x0b\x31\x47\x4f\x73\x8d\xb4"
  30720. "\xce\xf3\x55\x45\x6c\x84\x27\xba"
  30721. "\xb9\x6f\x03\x4a\xeb\x98\x88\x6e"
  30722. "\x53\xed\x25\x19\x0d\x8f\xfe\xca"
  30723. "\x60\xe5\x00\x93\x6e\x3c\xff\x19"
  30724. "\xae\x08\x3b\x8a\xa6\x84\x05\xfe"
  30725. "\x9b\x59\xa0\x8c\xc8\x05\x45\xf5"
  30726. "\x05\x37\xdc\x45\x6f\x8b\x95\x8c"
  30727. "\x4e\x11\x45\x7a\xce\x21\xa5\xf7"
  30728. "\x71\x67\xb9\xce\xd7\xf9\xe9\x5e"
  30729. "\x60\xf5\x53\x7a\xa8\x85\x14\x03"
  30730. "\xa0\x92\xec\xf3\x51\x80\x84\xc4"
  30731. "\xdc\x11\x9e\x57\xce\x4b\x45\xcf"
  30732. "\x90\x95\x85\x0b\x96\xe9\xee\x35"
  30733. "\x10\xb8\x9b\xf2\x59\x4a\xc6\x7e"
  30734. "\x85\xe5\x6f\x38\x51\x93\x40\x0c"
  30735. "\x99\xd7\x7f\x32\xa8\x06\x27\xd1"
  30736. "\x2b\xd5\xb5\x3a\x1a\xe1\x5e\xda"
  30737. "\xcd\x5a\x50\x30\x3c\xc7\xe7\x65"
  30738. "\xa6\x07\x0b\x98\x91\xc6\x20\x27"
  30739. "\x2a\x03\x63\x1b\x1e\x3d\xaf\xc8"
  30740. "\x71\x48\x46\x6a\x64\x28\xf9\x3d"
  30741. "\xd1\x1d\xab\xc8\x40\x76\xc2\x39"
  30742. "\x4e\x00\x75\xd2\x0e\x82\x58\x8c"
  30743. "\xd3\x73\x5a\xea\x46\x89\xbe\xfd"
  30744. "\x4e\x2c\x0d\x94\xaa\x9b\x68\xac"
  30745. "\x86\x87\x30\x7e\xa9\x16\xcd\x59"
  30746. "\xd2\xa6\xbe\x0a\xd8\xf5\xfd\x2d"
  30747. "\x49\x69\xd2\x1a\x90\xd2\x1b\xed"
  30748. "\xff\x71\x04\x87\x87\x21\xc4\xb8"
  30749. "\x1f\x5b\x51\x33\xd0\xd6\x59\x9a"
  30750. "\x03\x0e\xd3\x8b\xfb\x57\x73\xfd"
  30751. "\x5a\x52\x63\x82\xc8\x85\x2f\xcb"
  30752. "\x74\x6d\x4e\xd9\x68\x37\x85\x6a"
  30753. "\xd4\xfb\x94\xed\x8d\xd1\x1a\xaf"
  30754. "\x76\xa7\xb7\x88\xd0\x2b\x4e\xda"
  30755. "\xec\x99\x94\x27\x6f\x87\x8c\xdf"
  30756. "\x4b\x5e\xa6\x66\xdd\xcb\x33\x7b"
  30757. "\x64\x94\x31\xa8\x37\xa6\x1d\xdb"
  30758. "\x0d\x5c\x93\xa4\x40\xf9\x30\x53"
  30759. "\x4b\x74\x8d\xdd\xf6\xde\x3c\xac"
  30760. "\x5c\x80\x01\x3a\xef\xb1\x9a\x02"
  30761. "\x0c\x22\x8e\xe7\x44\x09\x74\x4c"
  30762. "\xf2\x9a\x27\x69\x7f\x12\x32\x36"
  30763. "\xde\x92\xdf\xde\x8f\x5b\x31\xab"
  30764. "\x4a\x01\x26\xe0\xb1\xda\xe8\x37"
  30765. "\x21\x64\xe8\xff\x69\xfc\x9e\x41"
  30766. "\xd2\x96\x2d\x18\x64\x98\x33\x78"
  30767. "\x24\x61\x73\x9b\x47\x29\xf1\xa7"
  30768. "\xcb\x27\x0f\xf0\x85\x6d\x8c\x9d"
  30769. "\x2c\x95\x9e\xe5\xb2\x8e\x30\x29"
  30770. "\x78\x8a\x9d\x65\xb4\x8e\xde\x7b"
  30771. "\xd9\x00\x50\xf5\x7f\x81\xc3\x1b"
  30772. "\x25\x85\xeb\xc2\x8c\x33\x22\x1e"
  30773. "\x68\x38\x22\x30\xd8\x2e\x00\x98"
  30774. "\x85\x16\x06\x56\xb4\x81\x74\x20"
  30775. "\x95\xdb\x1c\x05\x19\xe8\x23\x4d"
  30776. "\x65\x5d\xcc\xd8\x7f\xc4\x2d\x0f"
  30777. "\x57\x26\x71\x07\xad\xaa\x71\x9f"
  30778. "\x19\x76\x2f\x25\x51\x88\xe4\xc0"
  30779. "\x82\x6e\x08\x05\x37\x04\xee\x25"
  30780. "\x23\x90\xe9\x4e\xce\x9b\x16\xc1"
  30781. "\x31\xe7\x6e\x2c\x1b\xe1\x85\x9a"
  30782. "\x0c\x8c\xbb\x12\x1e\x68\x7b\x93"
  30783. "\xa9\x3c\x39\x56\x23\x3e\x6e\xc7"
  30784. "\x77\x84\xd3\xe0\x86\x59\xaa\xb9"
  30785. "\xd5\x53\x58\xc9\x0a\x83\x5f\x85"
  30786. "\xd8\x47\x14\x67\x8a\x3c\x17\xe0"
  30787. "\xab\x02\x51\xea\xf1\xf0\x4f\x30"
  30788. "\x7d\xe0\x92\xc2\x5f\xfb\x19\x5a"
  30789. "\x3f\xbd\xf4\x39\xa4\x31\x0c\x39"
  30790. "\xd1\xae\x4e\xf7\x65\x7f\x1f\xce"
  30791. "\xc2\x39\xd1\x84\xd4\xe5\x02\xe0"
  30792. "\x58\xaa\xf1\x5e\x81\xaf\x7f\x72"
  30793. "\x0f\x08\x99\x43\xb9\xd8\xac\x41"
  30794. "\x35\x55\xf2\xb2\xd4\x98\xb8\x3b"
  30795. "\x2b\x3c\x3e\x16\x06\x31\xfc\x79"
  30796. "\x47\x38\x63\x51\xc5\xd0\x26\xd7"
  30797. "\x43\xb4\x2b\xd9\xc5\x05\xf2\x9d"
  30798. "\x18\xc9\x26\x82\x56\xd2\x11\x05"
  30799. "\xb6\x89\xb4\x43\x9c\xb5\x9d\x11"
  30800. "\x6c\x83\x37\x71\x27\x1c\xae\xbf"
  30801. "\xcd\x57\xd2\xee\x0d\x5a\x15\x26"
  30802. "\x67\x88\x80\x80\x1b\xdc\xc1\x62"
  30803. "\xdd\x4c\xff\x92\x5c\x6c\xe1\xa0"
  30804. "\xe3\x79\xa9\x65\x8c\x8c\x14\x42"
  30805. "\xe5\x11\xd2\x1a\xad\xa9\x56\x6f"
  30806. "\x98\xfc\x8a\x7b\x56\x1f\xc6\xc1"
  30807. "\x52\x12\x92\x9b\x41\x0f\x4b\xae"
  30808. "\x1b\x4a\xbc\xfe\x23\xb6\x94\x70"
  30809. "\x04\x30\x9e\x69\x47\xbe\xb8\x8f"
  30810. "\xca\x45\xd7\x8a\xf4\x78\x3e\xaa"
  30811. "\x71\x17\xd8\x1e\xb8\x11\x8f\xbc"
  30812. "\xc8\x1a\x65\x7b\x41\x89\x72\xc7"
  30813. "\x5f\xbe\xc5\x2a\xdb\x5c\x54\xf9"
  30814. "\x25\xa3\x7a\x80\x56\x9c\x8c\xab"
  30815. "\x26\x19\x10\x36\xa6\xf3\x14\x79"
  30816. "\x40\x98\x70\x68\xb7\x35\xd9\xb9"
  30817. "\x27\xd4\xe7\x74\x5b\x3d\x97\xb4"
  30818. "\xd9\xaa\xd9\xf2\xb5\x14\x84\x1f"
  30819. "\xa9\xde\x12\x44\x5b\x00\xc0\xbc"
  30820. "\xc8\x11\x25\x1b\x67\x7a\x15\x72"
  30821. "\xa6\x31\x6f\xf4\x68\x7a\x86\x9d"
  30822. "\x43\x1c\x5f\x16\xd3\xad\x2e\x52"
  30823. "\xf3\xb4\xc3\xfa\x27\x2e\x68\x6c"
  30824. "\x06\xe7\x4c\x4f\xa2\xe0\xe4\x21"
  30825. "\x5d\x9e\x33\x58\x8d\xbf\xd5\x70"
  30826. "\xf8\x80\xa5\xdd\xe7\x18\x79\xfa"
  30827. "\x7b\xfd\x09\x69\x2c\x37\x32\xa8"
  30828. "\x65\xfa\x8d\x8b\x5c\xcc\xe8\xf3"
  30829. "\x37\xf6\xa6\xc6\x5c\xa2\x66\x79"
  30830. "\xfa\x8a\xa7\xd1\x0b\x2e\x1b\x5e"
  30831. "\x95\x35\x00\x76\xae\x42\xf7\x50"
  30832. "\x51\x78\xfb\xb4\x28\x24\xde\x1a"
  30833. "\x70\x8b\xed\xca\x3c\x5e\xe4\xbd"
  30834. "\x28\xb5\xf3\x76\x4f\x67\x5d\x81"
  30835. "\xb2\x60\x87\xd9\x7b\x19\x1a\xa7"
  30836. "\x79\xa2\xfa\x3f\x9e\xa9\xd7\x25"
  30837. "\x61\xe1\x74\x31\xa2\x77\xa0\x1b"
  30838. "\xf6\xf7\xcb\xc5\xaa\x9e\xce\xf9"
  30839. "\x9b\x96\xef\x51\xc3\x1a\x44\x96"
  30840. "\xae\x17\x50\xab\x29\x08\xda\xcc"
  30841. "\x1a\xb3\x12\xd0\x24\xe4\xe2\xe0"
  30842. "\xc6\xe3\xcc\x82\xd0\xba\x47\x4c"
  30843. "\x3f\x49\xd7\xe8\xb6\x61\xaa\x65"
  30844. "\x25\x18\x40\x2d\x62\x25\x02\x71"
  30845. "\x61\xa2\xc1\xb2\x13\xd2\x71\x3f"
  30846. "\x43\x1a\xc9\x09\x92\xff\xd5\x57"
  30847. "\xf0\xfc\x5e\x1c\xf1\xf5\xf9\xf3"
  30848. "\x5b",
  30849. .len = 1281,
  30850. }, {
  30851. .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
  30852. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  30853. "\x90\x91\x92\x93\x94\x95\x96\x97"
  30854. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
  30855. .klen = 32,
  30856. .iv = "\x40\x41\x42\x43\x44\x45\x46\x47"
  30857. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  30858. "\x50\x51\x52\x53\x54\x55\x56\x58"
  30859. "\x00\x00\x00\x00\x00\x00\x00\x00",
  30860. .ptext = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
  30861. "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
  30862. "\x75\x6e\x63\x65\x64\x20\x22\x64"
  30863. "\x6f\x6c\x65\x22\x29\x20\x69\x73"
  30864. "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
  30865. "\x6f\x77\x6e\x20\x61\x73\x20\x74"
  30866. "\x68\x65\x20\x41\x73\x69\x61\x74"
  30867. "\x69\x63\x20\x77\x69\x6c\x64\x20"
  30868. "\x64\x6f\x67\x2c\x20\x72\x65\x64"
  30869. "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
  30870. "\x64\x20\x77\x68\x69\x73\x74\x6c"
  30871. "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
  30872. "\x20\x49\x74\x20\x69\x73\x20\x61"
  30873. "\x62\x6f\x75\x74\x20\x74\x68\x65"
  30874. "\x20\x73\x69\x7a\x65\x20\x6f\x66"
  30875. "\x20\x61\x20\x47\x65\x72\x6d\x61"
  30876. "\x6e\x20\x73\x68\x65\x70\x68\x65"
  30877. "\x72\x64\x20\x62\x75\x74\x20\x6c"
  30878. "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
  30879. "\x65\x20\x6c\x69\x6b\x65\x20\x61"
  30880. "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
  30881. "\x67\x67\x65\x64\x20\x66\x6f\x78"
  30882. "\x2e\x20\x54\x68\x69\x73\x20\x68"
  30883. "\x69\x67\x68\x6c\x79\x20\x65\x6c"
  30884. "\x75\x73\x69\x76\x65\x20\x61\x6e"
  30885. "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
  30886. "\x64\x20\x6a\x75\x6d\x70\x65\x72"
  30887. "\x20\x69\x73\x20\x63\x6c\x61\x73"
  30888. "\x73\x69\x66\x69\x65\x64\x20\x77"
  30889. "\x69\x74\x68\x20\x77\x6f\x6c\x76"
  30890. "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
  30891. "\x74\x65\x73\x2c\x20\x6a\x61\x63"
  30892. "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
  30893. "\x64\x20\x66\x6f\x78\x65\x73\x20"
  30894. "\x69\x6e\x20\x74\x68\x65\x20\x74"
  30895. "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
  30896. "\x20\x66\x61\x6d\x69\x6c\x79\x20"
  30897. "\x43\x61\x6e\x69\x64\x61\x65\x2e",
  30898. .ctext = "\x9f\x1a\xab\x8a\x95\xf4\x7e\xcd"
  30899. "\xee\x34\xc0\x39\xd6\x23\x43\x94"
  30900. "\xf6\x01\xc1\x7f\x60\x91\xa5\x23"
  30901. "\x4a\x8a\xe6\xb1\x14\x8b\xd7\x58"
  30902. "\xee\x02\xad\xab\xce\x1e\x7d\xdf"
  30903. "\xf9\x49\x27\x69\xd0\x8d\x0c\x20"
  30904. "\x6e\x17\xc4\xae\x87\x7a\xc6\x61"
  30905. "\x91\xe2\x8e\x0a\x1d\x61\xcc\x38"
  30906. "\x02\x64\x43\x49\xc6\xb2\x59\x59"
  30907. "\x42\xe7\x9d\x83\x00\x60\x90\xd2"
  30908. "\xb9\xcd\x97\x6e\xc7\x95\x71\xbc"
  30909. "\x23\x31\x58\x07\xb3\xb4\xac\x0b"
  30910. "\x87\x64\x56\xe5\xe3\xec\x63\xa1"
  30911. "\x71\x8c\x08\x48\x33\x20\x29\x81"
  30912. "\xea\x01\x25\x20\xc3\xda\xe6\xee"
  30913. "\x6a\x03\xf6\x68\x4d\x26\xa0\x91"
  30914. "\x9e\x44\xb8\xc1\xc0\x8f\x5a\x6a"
  30915. "\xc0\xcd\xbf\x24\x5e\x40\x66\xd2"
  30916. "\x42\x24\xb5\xbf\xc1\xeb\x12\x60"
  30917. "\x56\xbe\xb1\xa6\xc4\x0f\xfc\x49"
  30918. "\x69\x9f\xcc\x06\x5c\xe3\x26\xd7"
  30919. "\x52\xc0\x42\xe8\xb4\x76\xc3\xee"
  30920. "\xb2\x97\xe3\x37\x61\x29\x5a\xb5"
  30921. "\x8e\xe8\x8c\xc5\x38\xcc\xcb\xec"
  30922. "\x64\x1a\xa9\x12\x5f\xf7\x79\xdf"
  30923. "\x64\xca\x77\x4e\xbd\xf9\x83\xa0"
  30924. "\x13\x27\x3f\x31\x03\x63\x30\x26"
  30925. "\x27\x0b\x3e\xb3\x23\x13\x61\x0b"
  30926. "\x70\x1d\xd4\xad\x85\x1e\xbf\xdf"
  30927. "\xc6\x8e\x4d\x08\xcc\x7e\x77\xbd"
  30928. "\x1e\x18\x77\x38\x3a\xfe\xc0\x5d"
  30929. "\x16\xfc\xf0\xa9\x2f\xe9\x17\xc7"
  30930. "\xd3\x23\x17\x18\xa3\xe6\x54\x77"
  30931. "\x6f\x1b\xbe\x8a\x6e\x7e\xca\x97"
  30932. "\x08\x05\x36\x76\xaf\x12\x7a\x42"
  30933. "\xf7\x7a\xc2\x35\xc3\xb4\x93\x40"
  30934. "\x54\x14\x90\xa0\x4d\x65\x1c\x37"
  30935. "\x50\x70\x44\x29\x6d\x6e\x62\x68",
  30936. .len = 304,
  30937. }
  30938. };
  30939. /* Adiantum test vectors from https://github.com/google/adiantum */
  30940. static const struct cipher_testvec adiantum_xchacha12_aes_tv_template[] = {
  30941. {
  30942. .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
  30943. "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
  30944. "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
  30945. "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
  30946. .klen = 32,
  30947. .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
  30948. "\x33\x81\x37\x60\x7d\xfa\x73\x08"
  30949. "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
  30950. "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
  30951. .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
  30952. "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
  30953. .ctext = "\x6d\x32\x86\x18\x67\x86\x0f\x3f"
  30954. "\x96\x7c\x9d\x28\x0d\x53\xec\x9f",
  30955. .len = 16,
  30956. }, {
  30957. .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
  30958. "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
  30959. "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
  30960. "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
  30961. .klen = 32,
  30962. .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
  30963. "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
  30964. "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
  30965. "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
  30966. .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
  30967. "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
  30968. "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
  30969. "\x43\x5a\x46\x06\x94\x2d\xf2",
  30970. .ctext = "\xc7\xc6\xf1\x73\x8f\xc4\xff\x4a"
  30971. "\x39\xbe\x78\xbe\x8d\x28\xc8\x89"
  30972. "\x46\x63\xe7\x0c\x7d\x87\xe8\x4e"
  30973. "\xc9\x18\x7b\xbe\x18\x60\x50",
  30974. .len = 31,
  30975. }, {
  30976. .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
  30977. "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
  30978. "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
  30979. "\x19\x09\x00\xa9\x04\x31\x4f\x11",
  30980. .klen = 32,
  30981. .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
  30982. "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
  30983. "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
  30984. "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
  30985. .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
  30986. "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
  30987. "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
  30988. "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
  30989. "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
  30990. "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
  30991. "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
  30992. "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
  30993. "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
  30994. "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
  30995. "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
  30996. "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
  30997. "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
  30998. "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
  30999. "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
  31000. "\x56\x65\xc5\x54\x23\x28\xb0\x03",
  31001. .ctext = "\x9e\x16\xab\xed\x4b\xa7\x42\x5a"
  31002. "\xc6\xfb\x4e\x76\xff\xbe\x03\xa0"
  31003. "\x0f\xe3\xad\xba\xe4\x98\x2b\x0e"
  31004. "\x21\x48\xa0\xb8\x65\x48\x27\x48"
  31005. "\x84\x54\x54\xb2\x9a\x94\x7b\xe6"
  31006. "\x4b\x29\xe9\xcf\x05\x91\x80\x1a"
  31007. "\x3a\xf3\x41\x96\x85\x1d\x9f\x74"
  31008. "\x51\x56\x63\xfa\x7c\x28\x85\x49"
  31009. "\xf7\x2f\xf9\xf2\x18\x46\xf5\x33"
  31010. "\x80\xa3\x3c\xce\xb2\x57\x93\xf5"
  31011. "\xae\xbd\xa9\xf5\x7b\x30\xc4\x93"
  31012. "\x66\xe0\x30\x77\x16\xe4\xa0\x31"
  31013. "\xba\x70\xbc\x68\x13\xf5\xb0\x9a"
  31014. "\xc1\xfc\x7e\xfe\x55\x80\x5c\x48"
  31015. "\x74\xa6\xaa\xa3\xac\xdc\xc2\xf5"
  31016. "\x8d\xde\x34\x86\x78\x60\x75\x8d",
  31017. .len = 128,
  31018. }, {
  31019. .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
  31020. "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
  31021. "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
  31022. "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
  31023. .klen = 32,
  31024. .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
  31025. "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
  31026. "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
  31027. "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
  31028. .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
  31029. "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
  31030. "\x05\xa3\x69\x60\x91\x36\x98\x57"
  31031. "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
  31032. "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
  31033. "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
  31034. "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
  31035. "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
  31036. "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
  31037. "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
  31038. "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
  31039. "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
  31040. "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
  31041. "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
  31042. "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
  31043. "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
  31044. "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
  31045. "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
  31046. "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
  31047. "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
  31048. "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
  31049. "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
  31050. "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
  31051. "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
  31052. "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
  31053. "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
  31054. "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
  31055. "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
  31056. "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
  31057. "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
  31058. "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
  31059. "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
  31060. "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
  31061. "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
  31062. "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
  31063. "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
  31064. "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
  31065. "\xd7\x31\x87\x89\x09\xab\xd5\x96"
  31066. "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
  31067. "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
  31068. "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
  31069. "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
  31070. "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
  31071. "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
  31072. "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
  31073. "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
  31074. "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
  31075. "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
  31076. "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
  31077. "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
  31078. "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
  31079. "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
  31080. "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
  31081. "\x17\x7c\x25\x48\x52\x67\x11\x27"
  31082. "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
  31083. "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
  31084. "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
  31085. "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
  31086. "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
  31087. "\x79\x50\x33\xca\xd0\xd7\x42\x55"
  31088. "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
  31089. "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
  31090. "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
  31091. "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
  31092. .ctext = "\x15\x97\xd0\x86\x18\x03\x9c\x51"
  31093. "\xc5\x11\x36\x62\x13\x92\xe6\x73"
  31094. "\x29\x79\xde\xa1\x00\x3e\x08\x64"
  31095. "\x17\x1a\xbc\xd5\xfe\x33\x0e\x0c"
  31096. "\x7c\x94\xa7\xc6\x3c\xbe\xac\xa2"
  31097. "\x89\xe6\xbc\xdf\x0c\x33\x27\x42"
  31098. "\x46\x73\x2f\xba\x4e\xa6\x46\x8f"
  31099. "\xe4\xee\x39\x63\x42\x65\xa3\x88"
  31100. "\x7a\xad\x33\x23\xa9\xa7\x20\x7f"
  31101. "\x0b\xe6\x6a\xc3\x60\xda\x9e\xb4"
  31102. "\xd6\x07\x8a\x77\x26\xd1\xab\x44"
  31103. "\x99\x55\x03\x5e\xed\x8d\x7b\xbd"
  31104. "\xc8\x21\xb7\x21\x30\x3f\xc0\xb5"
  31105. "\xc8\xec\x6c\x23\xa6\xa3\x6d\xf1"
  31106. "\x30\x0a\xd0\xa6\xa9\x28\x69\xae"
  31107. "\x2a\xe6\x54\xac\x82\x9d\x6a\x95"
  31108. "\x6f\x06\x44\xc5\x5a\x77\x6e\xec"
  31109. "\xf8\xf8\x63\xb2\xe6\xaa\xbd\x8e"
  31110. "\x0e\x8a\x62\x00\x03\xc8\x84\xdd"
  31111. "\x47\x4a\xc3\x55\xba\xb7\xe7\xdf"
  31112. "\x08\xbf\x62\xf5\xe8\xbc\xb6\x11"
  31113. "\xe4\xcb\xd0\x66\x74\x32\xcf\xd4"
  31114. "\xf8\x51\x80\x39\x14\x05\x12\xdb"
  31115. "\x87\x93\xe2\x26\x30\x9c\x3a\x21"
  31116. "\xe5\xd0\x38\x57\x80\x15\xe4\x08"
  31117. "\x58\x05\x49\x7d\xe6\x92\x77\x70"
  31118. "\xfb\x1e\x2d\x6a\x84\x00\xc8\x68"
  31119. "\xf7\x1a\xdd\xf0\x7b\x38\x1e\xd8"
  31120. "\x2c\x78\x78\x61\xcf\xe3\xde\x69"
  31121. "\x1f\xd5\x03\xd5\x1a\xb4\xcf\x03"
  31122. "\xc8\x7a\x70\x68\x35\xb4\xf6\xbe"
  31123. "\x90\x62\xb2\x28\x99\x86\xf5\x44"
  31124. "\x99\xeb\x31\xcf\xca\xdf\xd0\x21"
  31125. "\xd6\x60\xf7\x0f\x40\xb4\x80\xb7"
  31126. "\xab\xe1\x9b\x45\xba\x66\xda\xee"
  31127. "\xdd\x04\x12\x40\x98\xe1\x69\xe5"
  31128. "\x2b\x9c\x59\x80\xe7\x7b\xcc\x63"
  31129. "\xa6\xc0\x3a\xa9\xfe\x8a\xf9\x62"
  31130. "\x11\x34\x61\x94\x35\xfe\xf2\x99"
  31131. "\xfd\xee\x19\xea\x95\xb6\x12\xbf"
  31132. "\x1b\xdf\x02\x1a\xcc\x3e\x7e\x65"
  31133. "\x78\x74\x10\x50\x29\x63\x28\xea"
  31134. "\x6b\xab\xd4\x06\x4d\x15\x24\x31"
  31135. "\xc7\x0a\xc9\x16\xb6\x48\xf0\xbf"
  31136. "\x49\xdb\x68\x71\x31\x8f\x87\xe2"
  31137. "\x13\x05\x64\xd6\x22\x0c\xf8\x36"
  31138. "\x84\x24\x3e\x69\x5e\xb8\x9e\x16"
  31139. "\x73\x6c\x83\x1e\xe0\x9f\x9e\xba"
  31140. "\xe5\x59\x21\x33\x1b\xa9\x26\xc2"
  31141. "\xc7\xd9\x30\x73\xb6\xa6\x73\x82"
  31142. "\x19\xfa\x44\x4d\x40\x8b\x69\x04"
  31143. "\x94\x74\xea\x6e\xb3\x09\x47\x01"
  31144. "\x2a\xb9\x78\x34\x43\x11\xed\xd6"
  31145. "\x8c\x95\x65\x1b\x85\x67\xa5\x40"
  31146. "\xac\x9c\x05\x4b\x57\x4a\xa9\x96"
  31147. "\x0f\xdd\x4f\xa1\xe0\xcf\x6e\xc7"
  31148. "\x1b\xed\xa2\xb4\x56\x8c\x09\x6e"
  31149. "\xa6\x65\xd7\x55\x81\xb7\xed\x11"
  31150. "\x9b\x40\x75\xa8\x6b\x56\xaf\x16"
  31151. "\x8b\x3d\xf4\xcb\xfe\xd5\x1d\x3d"
  31152. "\x85\xc2\xc0\xde\x43\x39\x4a\x96"
  31153. "\xba\x88\x97\xc0\xd6\x00\x0e\x27"
  31154. "\x21\xb0\x21\x52\xba\xa7\x37\xaa"
  31155. "\xcc\xbf\x95\xa8\xf4\xd0\x91\xf6",
  31156. .len = 512,
  31157. }, {
  31158. .key = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
  31159. "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
  31160. "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
  31161. "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
  31162. .klen = 32,
  31163. .iv = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
  31164. "\x88\x76\x65\xb4\x1a\x29\x27\x12"
  31165. "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
  31166. "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
  31167. .ptext = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
  31168. "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
  31169. "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
  31170. "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
  31171. "\x38\x24\x62\xdb\x65\x82\x10\x7f"
  31172. "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
  31173. "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
  31174. "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
  31175. "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
  31176. "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
  31177. "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
  31178. "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
  31179. "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
  31180. "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
  31181. "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
  31182. "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
  31183. "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
  31184. "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
  31185. "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
  31186. "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
  31187. "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
  31188. "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
  31189. "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
  31190. "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
  31191. "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
  31192. "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
  31193. "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
  31194. "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
  31195. "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
  31196. "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
  31197. "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
  31198. "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
  31199. "\x28\x04\x4c\xff\x98\x20\x08\x10"
  31200. "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
  31201. "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
  31202. "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
  31203. "\x24\x62\xcf\x17\x36\x84\xc0\x72"
  31204. "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
  31205. "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
  31206. "\x71\x73\x08\x4e\x22\x31\xfd\x88"
  31207. "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
  31208. "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
  31209. "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
  31210. "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
  31211. "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
  31212. "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
  31213. "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
  31214. "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
  31215. "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
  31216. "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
  31217. "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
  31218. "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
  31219. "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
  31220. "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
  31221. "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
  31222. "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
  31223. "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
  31224. "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
  31225. "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
  31226. "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
  31227. "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
  31228. "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
  31229. "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
  31230. "\x85\x12\xca\x61\x65\xd1\x66\xd8"
  31231. "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
  31232. "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
  31233. "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
  31234. "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
  31235. "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
  31236. "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
  31237. "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
  31238. "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
  31239. "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
  31240. "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
  31241. "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
  31242. "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
  31243. "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
  31244. "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
  31245. "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
  31246. "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
  31247. "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
  31248. "\x16\xcb\xae\x7d\x38\x21\x67\x74"
  31249. "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
  31250. "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
  31251. "\xa8\x88\x27\x86\x44\x75\x5b\x29"
  31252. "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
  31253. "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
  31254. "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
  31255. "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
  31256. "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
  31257. "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
  31258. "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
  31259. "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
  31260. "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
  31261. "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
  31262. "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
  31263. "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
  31264. "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
  31265. "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
  31266. "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
  31267. "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
  31268. "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
  31269. "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
  31270. "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
  31271. "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
  31272. "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
  31273. "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
  31274. "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
  31275. "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
  31276. "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
  31277. "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
  31278. "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
  31279. "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
  31280. "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
  31281. "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
  31282. "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
  31283. "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
  31284. "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
  31285. "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
  31286. "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
  31287. "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
  31288. "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
  31289. "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
  31290. "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
  31291. "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
  31292. "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
  31293. "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
  31294. "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
  31295. "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
  31296. "\x55\x9a\xe0\x09\x21\xac\x61\x85"
  31297. "\x4b\x20\x95\x73\x63\x26\xe3\x83"
  31298. "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
  31299. "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
  31300. "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
  31301. "\x98\x09\x11\xb7\x00\x06\x24\x5a"
  31302. "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
  31303. "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
  31304. "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
  31305. "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
  31306. "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
  31307. "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
  31308. "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
  31309. "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
  31310. "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
  31311. "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
  31312. "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
  31313. "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
  31314. "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
  31315. "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
  31316. "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
  31317. "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
  31318. "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
  31319. "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
  31320. "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
  31321. "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
  31322. "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
  31323. "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
  31324. "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
  31325. "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
  31326. "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
  31327. "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
  31328. "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
  31329. "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
  31330. "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
  31331. "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
  31332. "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
  31333. "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
  31334. "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
  31335. "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
  31336. "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
  31337. "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
  31338. "\x62\x96\x79\x0c\x81\x05\x41\xf2"
  31339. "\x07\x20\x26\xe5\x8e\x10\x54\x03"
  31340. "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
  31341. "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
  31342. "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
  31343. "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
  31344. "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
  31345. "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
  31346. "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
  31347. "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
  31348. "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
  31349. "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
  31350. "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
  31351. "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
  31352. "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
  31353. "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
  31354. "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
  31355. "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
  31356. "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
  31357. "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
  31358. "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
  31359. .ctext = "\xcb\x78\x87\x9c\xc7\x13\xc1\x30"
  31360. "\xdd\x2c\x7d\xb2\x97\xab\x06\x69"
  31361. "\x47\x87\x8a\x12\x2b\x5d\x86\xd7"
  31362. "\x2e\xe6\x7a\x0d\x58\x5d\xe7\x01"
  31363. "\x78\x0e\xff\xc7\xc5\xd2\x94\xd6"
  31364. "\xdd\x6b\x38\x1f\xa4\xe3\x3d\xe7"
  31365. "\xc5\x8a\xb5\xbe\x65\x11\x2b\xe1"
  31366. "\x2b\x8e\x84\xe8\xe0\x00\x7f\xdd"
  31367. "\x15\x15\xab\xbd\x22\x94\xf7\xce"
  31368. "\x99\x6f\xfd\x0e\x9b\x16\xeb\xeb"
  31369. "\x24\xc7\xbb\xc6\xe1\x6c\x57\xba"
  31370. "\x84\xab\x16\xf2\x57\xd6\x42\x9d"
  31371. "\x56\x92\x5b\x44\x18\xd4\xa2\x1b"
  31372. "\x1e\xa9\xdc\x7a\x16\x88\xc4\x4f"
  31373. "\x6d\x77\x9a\x2e\x82\xa9\xc3\xee"
  31374. "\xa4\xca\x05\x1b\x0e\xdc\x48\x96"
  31375. "\xd0\x50\x21\x1f\x46\xc7\xc7\x70"
  31376. "\x53\xcd\x1e\x4e\x5f\x2d\x4b\xb2"
  31377. "\x86\xe5\x3a\xe6\x1d\xec\x7b\x9d"
  31378. "\x8f\xd6\x41\xc6\xbb\x00\x4f\xe6"
  31379. "\x02\x47\x07\x73\x50\x6b\xcf\xb2"
  31380. "\x9e\x1c\x01\xc9\x09\xcc\xc3\x52"
  31381. "\x27\xe6\x63\xe0\x5b\x55\x60\x4d"
  31382. "\x72\xd0\xda\x4b\xec\xcb\x72\x5d"
  31383. "\x37\x4a\xf5\xb8\xd9\xe2\x08\x10"
  31384. "\xf3\xb9\xdc\x07\xc0\x02\x10\x14"
  31385. "\x9f\xe6\x8f\xc4\xc4\xe1\x39\x7b"
  31386. "\x47\xea\xae\x7c\xdd\x27\xa8\x4c"
  31387. "\x6b\x0f\x4c\xf8\xff\x16\x4e\xcb"
  31388. "\xec\x88\x33\x0d\x15\x10\x82\x66"
  31389. "\xa7\x3d\x2c\xb6\xbc\x2e\xe4\xce"
  31390. "\x4c\x2f\x4b\x46\x0f\x67\x78\xa5"
  31391. "\xff\x6a\x7d\x0d\x5e\x6d\xab\xfb"
  31392. "\x59\x99\xd8\x1f\x30\xd4\x33\xe8"
  31393. "\x7d\x11\xae\xe3\xba\xd0\x3f\xa7"
  31394. "\xa5\x5e\x43\xda\xf3\x0f\x3a\x5f"
  31395. "\xba\xb0\x47\xb2\x08\x60\xf4\xed"
  31396. "\x35\x23\x0c\xe9\x4f\x81\xc4\xc5"
  31397. "\xa8\x35\xdc\x99\x52\x33\x19\xd4"
  31398. "\x00\x01\x8d\x5a\x10\x82\x39\x78"
  31399. "\xfc\x72\x24\x63\x4a\x38\xc5\x6f"
  31400. "\xfe\xec\x2f\x26\x0c\x3c\x1c\xf6"
  31401. "\x4d\x99\x7a\x77\x59\xfe\x10\xa5"
  31402. "\xa1\x35\xbf\x2f\x15\xfa\x4e\x52"
  31403. "\xe6\xd5\x1c\x88\x90\x75\xd5\xcc"
  31404. "\xdb\x2a\xb1\xf0\x70\x54\x89\xc7"
  31405. "\xeb\x1d\x6e\x61\x45\xa3\x50\x48"
  31406. "\xcd\xdb\x32\xba\x7f\x6b\xaf\xef"
  31407. "\x50\xcb\x0d\x36\xf7\x29\x3a\x10"
  31408. "\x02\x73\xca\x8f\x3f\x5d\x82\x17"
  31409. "\x91\x9a\xd8\x15\x15\xe3\xe1\x41"
  31410. "\x43\xef\x85\xa6\xb0\xc7\x3b\x0f"
  31411. "\xf0\xa5\xaa\x66\x77\x70\x5e\x70"
  31412. "\xce\x17\x84\x68\x45\x39\x2c\x25"
  31413. "\xc6\xc1\x5f\x7e\xe8\xfa\xe4\x3a"
  31414. "\x47\x51\x7b\x9d\x54\x84\x98\x04"
  31415. "\x5f\xf7\x5f\x3c\x34\xe7\xa3\x1d"
  31416. "\xea\xb7\x6d\x05\xab\x28\xe4\x2c"
  31417. "\xb1\x7f\x08\xa8\x5d\x07\xbf\xfe"
  31418. "\x39\x72\x44\x87\x51\xc5\x73\xe4"
  31419. "\x9a\x5f\xdd\x46\xbc\x4e\xb1\x39"
  31420. "\xe4\x78\xb8\xbf\xdc\x5b\x88\x9b"
  31421. "\xc1\x3f\xd9\xd0\xb3\x5a\xdf\xaa"
  31422. "\x53\x6a\x91\x6d\x2a\x09\xf0\x0b"
  31423. "\x5e\xe8\xb2\xa0\xb4\x73\x07\x1d"
  31424. "\xc8\x33\x84\xe6\xda\xe6\xad\xd6"
  31425. "\xad\x91\x01\x4e\x14\x42\x34\x2c"
  31426. "\xe5\xf9\x99\x21\x56\x1f\x6c\x2b"
  31427. "\x4c\xe3\xd5\x9e\x04\xdc\x9a\x16"
  31428. "\xd1\x54\xe9\xc2\xf7\xc0\xd5\x06"
  31429. "\x2f\xa1\x38\x2a\x55\x88\x23\xf8"
  31430. "\xb0\xdb\x87\x32\xc9\x4e\xb0\x0c"
  31431. "\xc5\x05\x78\x58\xa1\x2e\x75\x75"
  31432. "\x68\xdc\xea\xdd\x0c\x33\x16\x5e"
  31433. "\xe7\xdc\xfd\x42\x74\xbe\xae\x60"
  31434. "\x3c\x37\x4b\x27\xf5\x2c\x5f\x55"
  31435. "\x4a\x0b\x64\xfd\xa2\x01\x65\x9c"
  31436. "\x27\x9f\x5e\x87\xd5\x95\x88\x66"
  31437. "\x09\x84\x42\xab\x00\xe2\x58\xc3"
  31438. "\x97\x45\xf1\x93\xe2\x34\x37\x3d"
  31439. "\xfe\x93\x8c\x17\xb9\x79\x65\x06"
  31440. "\xf7\x58\xe5\x1b\x3b\x4e\xda\x36"
  31441. "\x17\xe3\x56\xec\x26\x0f\x2e\xfa"
  31442. "\xd1\xb9\x2b\x3e\x7f\x1d\xe3\x4b"
  31443. "\x67\xdf\x43\x53\x10\xba\xa3\xfb"
  31444. "\x5d\x5a\xd8\xc4\xab\x19\x7e\x12"
  31445. "\xaa\x83\xf1\xc0\xa1\xe0\xbf\x72"
  31446. "\x5f\xe8\x68\x39\xef\x1a\xbe\xee"
  31447. "\x6f\x47\x79\x19\xed\xf2\xa1\x4a"
  31448. "\xe5\xfc\xb5\x58\xae\x63\x82\xcb"
  31449. "\x16\x0b\x94\xbb\x3e\x02\x49\xc4"
  31450. "\x3c\x33\xf1\xec\x1b\x11\x71\x9b"
  31451. "\x5b\x80\xf1\x6f\x88\x1c\x05\x36"
  31452. "\xa8\xd8\xee\x44\xb5\x18\xc3\x14"
  31453. "\x62\xba\x98\xb9\xc0\x2a\x70\x93"
  31454. "\xb3\xd8\x11\x69\x95\x1d\x43\x7b"
  31455. "\x39\xc1\x91\x05\xc4\xe3\x1e\xc2"
  31456. "\x1e\x5d\xe7\xde\xbe\xfd\xae\x99"
  31457. "\x4b\x8f\x83\x1e\xf4\x9b\xb0\x2b"
  31458. "\x66\x6e\x62\x24\x8d\xe0\x1b\x22"
  31459. "\x59\xeb\xbd\x2a\x6b\x2e\x37\x17"
  31460. "\x9e\x1f\x66\xcb\x66\xb4\xfb\x2c"
  31461. "\x36\x22\x5d\x73\x56\xc1\xb0\x27"
  31462. "\xe0\xf0\x1b\xe4\x47\x8b\xc6\xdc"
  31463. "\x7c\x0c\x3d\x29\xcb\x33\x10\xfe"
  31464. "\xc3\xc3\x1e\xff\x4c\x9b\x27\x86"
  31465. "\xe2\xb0\xaf\xb7\x89\xce\x61\x69"
  31466. "\xe7\x00\x3e\x92\xea\x5f\x9e\xc1"
  31467. "\xfa\x6b\x20\xe2\x41\x23\x82\xeb"
  31468. "\x07\x76\x4c\x4c\x2a\x96\x33\xbe"
  31469. "\x89\xa9\xa8\xb9\x9a\x7d\x27\x18"
  31470. "\x48\x23\x70\x46\xf3\x87\xa7\x91"
  31471. "\x58\xb8\x74\xba\xed\xc6\xb2\xa1"
  31472. "\x4d\xb6\x43\x9a\xe1\xa2\x41\xa5"
  31473. "\x35\xd3\x90\x8a\xc7\x4d\xb7\x88"
  31474. "\x0b\xe3\x74\x9f\x84\xfc\xd9\x73"
  31475. "\xf2\x86\x0c\xad\xeb\x5d\x70\xac"
  31476. "\x65\x07\x14\x8e\x57\xf6\xdc\xb4"
  31477. "\xc2\x02\x7c\xd6\x89\xe2\x8a\x3e"
  31478. "\x8e\x08\x3c\x12\x37\xaf\xe1\xa8"
  31479. "\x04\x11\x5c\xae\x5a\x2b\x60\xa0"
  31480. "\x03\x3c\x7a\xa2\x38\x92\xbe\xce"
  31481. "\x09\xa2\x5e\x0f\xc2\xb2\xb5\x06"
  31482. "\xc2\x97\x97\x9b\x09\x2f\x04\xfe"
  31483. "\x2c\xe7\xa3\xc4\x42\xe9\xa3\x40"
  31484. "\xa5\x52\x07\x2c\x3b\x89\x1a\xa5"
  31485. "\x28\xb1\x93\x05\x98\x0c\x2f\x3d"
  31486. "\xc6\xf5\x83\xac\x24\x1d\x28\x9f"
  31487. "\x32\x66\x4d\x70\xb7\xe0\xab\xb8"
  31488. "\x75\xc5\xf3\xd2\x7b\x26\x3e\xec"
  31489. "\x64\xe6\xf7\x70\xe7\xf8\x10\x8e"
  31490. "\x67\xd2\xb3\x87\x69\x40\x06\x9a"
  31491. "\x2f\x6a\x1a\xfd\x62\x0c\xee\x31"
  31492. "\x2e\xbe\x58\x97\x77\xd1\x09\x08"
  31493. "\x1f\x8d\x42\x29\x34\xd5\xd8\xb5"
  31494. "\x1f\xd7\x21\x18\xe3\xe7\x2e\x4a"
  31495. "\x42\xfc\xdb\x19\xe9\xee\xb9\x22"
  31496. "\xad\x5c\x07\xe9\xc8\x07\xe5\xe9"
  31497. "\x95\xa2\x0d\x30\x46\xe2\x65\x51"
  31498. "\x01\xa5\x74\x85\xe2\x52\x6e\x07"
  31499. "\xc9\xf5\x33\x09\xde\x78\x62\xa9"
  31500. "\x30\x2a\xd3\x86\xe5\x46\x2e\x60"
  31501. "\xff\x74\xb0\x5f\xec\x76\xb7\xd1"
  31502. "\x5e\x4d\x61\x97\x3c\x9c\x99\xc3"
  31503. "\x41\x65\x21\x47\xf9\xb1\x06\xec"
  31504. "\x18\xf8\x3f\xc7\x38\xfa\x7b\x14"
  31505. "\x62\x79\x6a\x0b\x0c\xf5\x2c\xb7"
  31506. "\xab\xcf\x63\x49\x6d\x1f\x46\xa8"
  31507. "\xbc\x7d\x42\x53\x75\x6b\xca\x38"
  31508. "\xac\x8b\xe7\xa1\xa1\x92\x19\x6b"
  31509. "\x0d\x75\x80\x5b\x7d\x35\x86\x70"
  31510. "\x12\x6b\xe5\x3e\xe5\x85\xa0\xa4"
  31511. "\xd6\x77\x5e\x4d\x24\x57\x84\xa9"
  31512. "\xe5\xa4\xbf\x25\xfb\x36\x65\x3b"
  31513. "\x81\x39\x61\xec\x5e\x4a\x7e\x10"
  31514. "\x58\x19\x13\x5c\x0f\x79\xec\xcf"
  31515. "\xbb\x5f\x69\x21\xc3\xa7\x5a\xff"
  31516. "\x3b\xc7\x85\x9b\x47\xbc\x3e\xad"
  31517. "\xbf\x54\x60\xb6\x5b\x3f\xfc\x50"
  31518. "\x68\x83\x76\x24\xb0\xc3\x3f\x93"
  31519. "\x0d\xce\x36\x0a\x58\x9d\xcc\xe9"
  31520. "\x52\xbb\xd0\x0b\x65\xe5\x0f\x62"
  31521. "\x82\x16\xaa\xd2\xba\x5a\x4c\xd0"
  31522. "\x67\xb5\x4e\x84\x1c\x02\x6e\xa3"
  31523. "\xaa\x22\x54\x96\xc8\xd9\x9c\x58"
  31524. "\x15\x63\xf4\x98\x1a\xa1\xd9\x11"
  31525. "\x64\x25\x56\xb5\x03\x8e\x29\x85"
  31526. "\x75\x88\xd1\xd2\xe4\xe6\x27\x48"
  31527. "\x13\x9c\x2b\xaa\xfb\xd3\x6e\x2c"
  31528. "\xe6\xd4\xe4\x8b\xd9\xf7\x01\x16"
  31529. "\x46\xf9\x5c\x88\x7a\x93\x9e\x2d"
  31530. "\xa6\xeb\x01\x2a\x72\xe4\x7f\xb4"
  31531. "\x78\x0c\x50\x18\xd3\x8e\x65\xa7"
  31532. "\x1b\xf9\x28\x5d\x89\x70\x96\x2f"
  31533. "\xa1\xc2\x9b\x34\xfc\x7c\x27\x63"
  31534. "\x93\xe6\xe3\xa4\x9d\x17\x97\x7e"
  31535. "\x13\x79\x9c\x4b\x2c\x23\x91\x2c"
  31536. "\x4f\xb1\x1d\x4b\xb4\x61\x6e\xe8"
  31537. "\x32\x35\xc3\x41\x7a\x50\x60\xc8"
  31538. "\x3e\xd8\x3f\x38\xfc\xc2\xa2\xe0"
  31539. "\x3a\x21\x25\x8f\xc2\x22\xed\x04"
  31540. "\x31\xb8\x72\x69\xaf\x6c\x6d\xab"
  31541. "\x25\x16\x95\x87\x92\xc7\x46\x3f"
  31542. "\x47\x05\x6c\xad\xa0\xa6\x1d\xf0"
  31543. "\x66\x2e\x01\x1a\xc3\xbe\xe4\xf6"
  31544. "\x51\xec\xa3\x95\x81\xe1\xcc\xab"
  31545. "\xc1\x71\x65\x0a\xe6\x53\xfb\xb8"
  31546. "\x53\x69\xad\x8b\xab\x8b\xa7\xcd"
  31547. "\x8f\x15\x01\x25\xb1\x1f\x9c\x3b"
  31548. "\x9b\x47\xad\x38\x38\x89\x6b\x1c"
  31549. "\x8a\x33\xdd\x8a\x06\x23\x06\x0b"
  31550. "\x7f\x70\xbe\x7e\xa1\x80\xbc\x7a",
  31551. .len = 1536,
  31552. }, {
  31553. .key = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
  31554. "\x70\x47\x8c\xea\x87\x30\x1d\x58"
  31555. "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
  31556. "\x56\x95\x83\x98\x38\x80\x84\x8a",
  31557. .klen = 32,
  31558. .iv = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
  31559. "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
  31560. "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
  31561. "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
  31562. .ptext = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
  31563. "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
  31564. "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
  31565. "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
  31566. "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
  31567. "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
  31568. "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
  31569. "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
  31570. "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
  31571. "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
  31572. "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
  31573. "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
  31574. "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
  31575. "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
  31576. "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
  31577. "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
  31578. "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
  31579. "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
  31580. "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
  31581. "\x35\x21\x66\x78\x3d\xb6\x65\x83"
  31582. "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
  31583. "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
  31584. "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
  31585. "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
  31586. "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
  31587. "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
  31588. "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
  31589. "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
  31590. "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
  31591. "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
  31592. "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
  31593. "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
  31594. "\x96\x87\xc9\x34\x02\x26\xde\x20"
  31595. "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
  31596. "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
  31597. "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
  31598. "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
  31599. "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
  31600. "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
  31601. "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
  31602. "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
  31603. "\x85\xfd\x22\x08\x00\xae\x72\x10"
  31604. "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
  31605. "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
  31606. "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
  31607. "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
  31608. "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
  31609. "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
  31610. "\x93\x45\x38\x95\xb9\x69\xe9\x62"
  31611. "\x21\x73\xbd\x81\x73\xac\x15\x74"
  31612. "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
  31613. "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
  31614. "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
  31615. "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
  31616. "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
  31617. "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
  31618. "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
  31619. "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
  31620. "\x24\x43\xb3\x0e\xba\xad\x63\x63"
  31621. "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
  31622. "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
  31623. "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
  31624. "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
  31625. "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
  31626. "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
  31627. "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
  31628. "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
  31629. "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
  31630. "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
  31631. "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
  31632. "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
  31633. "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
  31634. "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
  31635. "\x9d\x46\xae\x67\x00\x3b\x40\x94"
  31636. "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
  31637. "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
  31638. "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
  31639. "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
  31640. "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
  31641. "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
  31642. "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
  31643. "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
  31644. "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
  31645. "\x76\xca\x9f\x56\xae\x04\x2e\x75"
  31646. "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
  31647. "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
  31648. "\x08\x67\x02\x01\xe3\x64\x82\xee"
  31649. "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
  31650. "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
  31651. "\x85\x48\xb6\x97\x97\x02\x43\x1f"
  31652. "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
  31653. "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
  31654. "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
  31655. "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
  31656. "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
  31657. "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
  31658. "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
  31659. "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
  31660. "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
  31661. "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
  31662. "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
  31663. "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
  31664. "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
  31665. "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
  31666. "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
  31667. "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
  31668. "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
  31669. "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
  31670. "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
  31671. "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
  31672. "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
  31673. "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
  31674. "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
  31675. "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
  31676. "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
  31677. "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
  31678. "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
  31679. "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
  31680. "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
  31681. "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
  31682. "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
  31683. "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
  31684. "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
  31685. "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
  31686. "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
  31687. "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
  31688. "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
  31689. "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
  31690. "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
  31691. "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
  31692. "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
  31693. "\x36\x12\x35\x28\x64\x12\xe7\xbb"
  31694. "\x50\xac\x45\x15\x7b\x16\x23\x5e"
  31695. "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
  31696. "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
  31697. "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
  31698. "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
  31699. "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
  31700. "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
  31701. "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
  31702. "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
  31703. "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
  31704. "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
  31705. "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
  31706. "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
  31707. "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
  31708. "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
  31709. "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
  31710. "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
  31711. "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
  31712. "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
  31713. "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
  31714. "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
  31715. "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
  31716. "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
  31717. "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
  31718. "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
  31719. "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
  31720. "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
  31721. "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
  31722. "\x7d\x65\x57\x65\x98\xff\x8b\x02"
  31723. "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
  31724. "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
  31725. "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
  31726. "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
  31727. "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
  31728. "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
  31729. "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
  31730. "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
  31731. "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
  31732. "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
  31733. "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
  31734. "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
  31735. "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
  31736. "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
  31737. "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
  31738. "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
  31739. "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
  31740. "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
  31741. "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
  31742. "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
  31743. "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
  31744. "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
  31745. "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
  31746. "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
  31747. "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
  31748. "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
  31749. "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
  31750. "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
  31751. "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
  31752. "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
  31753. "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
  31754. "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
  31755. "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
  31756. "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
  31757. "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
  31758. "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
  31759. "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
  31760. "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
  31761. "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
  31762. "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
  31763. "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
  31764. "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
  31765. "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
  31766. "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
  31767. "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
  31768. "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
  31769. "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
  31770. "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
  31771. "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
  31772. "\x53\xf1\x61\x97\x63\x52\x38\x86"
  31773. "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
  31774. "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
  31775. "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
  31776. "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
  31777. "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
  31778. "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
  31779. "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
  31780. "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
  31781. "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
  31782. "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
  31783. "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
  31784. "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
  31785. "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
  31786. "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
  31787. "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
  31788. "\x48\xb9\x27\x62\x00\x12\xc5\x03"
  31789. "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
  31790. "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
  31791. "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
  31792. "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
  31793. "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
  31794. "\x99\xd5\xff\x34\x93\x8f\x31\x45"
  31795. "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
  31796. "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
  31797. "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
  31798. "\x26\xec\x3a\x64\xc4\xab\x74\x97"
  31799. "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
  31800. "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
  31801. "\x68\x50\x22\x16\x96\x2f\xc4\x23"
  31802. "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
  31803. "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
  31804. "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
  31805. "\x20\x89\xef\x44\x22\x38\x3c\x14"
  31806. "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
  31807. "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
  31808. "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
  31809. "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
  31810. "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
  31811. "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
  31812. "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
  31813. "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
  31814. "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
  31815. "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
  31816. "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
  31817. "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
  31818. "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
  31819. "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
  31820. "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
  31821. "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
  31822. "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
  31823. "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
  31824. "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
  31825. "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
  31826. "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
  31827. "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
  31828. "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
  31829. "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
  31830. "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
  31831. "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
  31832. "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
  31833. "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
  31834. "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
  31835. "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
  31836. "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
  31837. "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
  31838. "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
  31839. "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
  31840. "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
  31841. "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
  31842. "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
  31843. "\x60\x81\x75\x29\x9e\xce\x2a\x70"
  31844. "\x28\x0c\x87\xe5\x46\x73\x76\x66"
  31845. "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
  31846. "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
  31847. "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
  31848. "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
  31849. "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
  31850. "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
  31851. "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
  31852. "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
  31853. "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
  31854. "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
  31855. "\xf1\x11\x02\x64\x09\x25\x7c\x26"
  31856. "\xee\xad\x50\x68\x31\x26\x16\x0f"
  31857. "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
  31858. "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
  31859. "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
  31860. "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
  31861. "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
  31862. "\x40\x12\x43\x31\xb8\x12\xe0\x95"
  31863. "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
  31864. "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
  31865. "\xab\x03\xda\x41\xab\xc5\x4e\x33"
  31866. "\x5a\x63\x94\x90\x22\x72\x54\x26"
  31867. "\x93\x65\x99\x45\x55\xd3\x55\x56"
  31868. "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
  31869. "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
  31870. "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
  31871. "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
  31872. "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
  31873. "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
  31874. "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
  31875. "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
  31876. "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
  31877. "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
  31878. "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
  31879. "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
  31880. "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
  31881. "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
  31882. "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
  31883. "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
  31884. "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
  31885. "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
  31886. "\xad\x6e\x83\x90\x21\x10\xb8\x07"
  31887. "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
  31888. "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
  31889. "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
  31890. "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
  31891. "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
  31892. "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
  31893. "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
  31894. "\x02\x5a\x20\x4d\x43\x08\x71\x49"
  31895. "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
  31896. "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
  31897. "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
  31898. "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
  31899. "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
  31900. "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
  31901. "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
  31902. "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
  31903. "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
  31904. "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
  31905. "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
  31906. "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
  31907. "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
  31908. "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
  31909. "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
  31910. "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
  31911. "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
  31912. "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
  31913. "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
  31914. "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
  31915. "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
  31916. "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
  31917. "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
  31918. "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
  31919. "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
  31920. "\x08\x48\xfd\x9b\x47\x41\x10\xae"
  31921. "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
  31922. "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
  31923. "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
  31924. "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
  31925. "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
  31926. "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
  31927. "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
  31928. "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
  31929. "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
  31930. "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
  31931. "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
  31932. "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
  31933. "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
  31934. "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
  31935. "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
  31936. "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
  31937. "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
  31938. "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
  31939. "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
  31940. "\x54\x14\x91\x12\x41\x41\x54\xa2"
  31941. "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
  31942. "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
  31943. "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
  31944. "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
  31945. "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
  31946. "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
  31947. "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
  31948. "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
  31949. "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
  31950. "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
  31951. "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
  31952. "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
  31953. "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
  31954. "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
  31955. "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
  31956. "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
  31957. "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
  31958. "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
  31959. "\x58\xec\x70\x4f\x40\x25\x2b\xba"
  31960. "\x96\x59\xac\x34\x45\x29\xc6\x57"
  31961. "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
  31962. "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
  31963. "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
  31964. "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
  31965. "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
  31966. "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
  31967. "\xea\xa5\x56\x02\x5b\x93\x13\x46"
  31968. "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
  31969. "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
  31970. "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
  31971. "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
  31972. "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
  31973. "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
  31974. "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
  31975. "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
  31976. "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
  31977. "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
  31978. "\xad\x57\xae\x98\x83\xd5\x92\x4e"
  31979. "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
  31980. "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
  31981. "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
  31982. "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
  31983. "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
  31984. "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
  31985. "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
  31986. "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
  31987. "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
  31988. "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
  31989. "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
  31990. "\x32\x06\x3f\x12\x23\x19\x22\x82"
  31991. "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
  31992. "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
  31993. "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
  31994. "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
  31995. "\x35\x79\x84\x78\x06\x68\x97\x30"
  31996. "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
  31997. "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
  31998. "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
  31999. "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
  32000. "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
  32001. "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
  32002. "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
  32003. "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
  32004. "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
  32005. "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
  32006. "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
  32007. "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
  32008. "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
  32009. "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
  32010. "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
  32011. "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
  32012. "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
  32013. "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
  32014. "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
  32015. "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
  32016. "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
  32017. "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
  32018. "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
  32019. "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
  32020. "\x13\xa7\x47\x89\x62\xa3\x03\x19"
  32021. "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
  32022. "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
  32023. "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
  32024. "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
  32025. "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
  32026. "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
  32027. "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
  32028. "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
  32029. "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
  32030. "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
  32031. "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
  32032. "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
  32033. "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
  32034. "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
  32035. "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
  32036. "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
  32037. "\x20\xa9\x37\x78\x32\x03\x60\xcc"
  32038. "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
  32039. "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
  32040. "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
  32041. "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
  32042. "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
  32043. "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
  32044. "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
  32045. "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
  32046. "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
  32047. "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
  32048. "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
  32049. "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
  32050. "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
  32051. "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
  32052. "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
  32053. "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
  32054. "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
  32055. "\x12\xab\x95\x66\xec\x09\x64\xea"
  32056. "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
  32057. "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
  32058. "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
  32059. "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
  32060. "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
  32061. "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
  32062. "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
  32063. "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
  32064. "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
  32065. "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
  32066. "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
  32067. "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
  32068. "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
  32069. "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
  32070. "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
  32071. "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
  32072. "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
  32073. "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
  32074. .ctext = "\x57\xd1\xcf\x26\xe5\x07\x7a\x3f"
  32075. "\xa5\x5e\xd4\xa8\x12\xe9\x4e\x36"
  32076. "\x9c\x28\x65\xe0\xbd\xef\xf1\x49"
  32077. "\x04\xd4\xd4\x01\x4d\xf5\xfc\x2a"
  32078. "\x32\xd8\x19\x21\xcd\x58\x2a\x1a"
  32079. "\x43\x78\xa4\x57\x69\xa0\x52\xeb"
  32080. "\xcd\xa5\x9c\x4d\x03\x28\xef\x8b"
  32081. "\x54\xc6\x6c\x31\xab\x3e\xaf\x6d"
  32082. "\x0a\x87\x83\x3d\xb7\xea\x6b\x3d"
  32083. "\x11\x58\x7d\x5f\xaf\xc9\xfc\x50"
  32084. "\x58\x9a\x84\xa1\xcf\x76\xdc\x77"
  32085. "\x83\x9a\x28\x74\x69\xc9\x0c\xc2"
  32086. "\x7b\x1e\x4e\xe4\x25\x41\x23\x0d"
  32087. "\x4e\x0e\x2d\x7a\x87\xaa\x0f\x7c"
  32088. "\x98\xad\xf0\x6f\xbf\xcb\xd5\x1a"
  32089. "\x3e\xcf\x0e\xc5\xde\xbd\x8d\xf1"
  32090. "\xaa\x19\x16\xb8\xc5\x25\x02\x33"
  32091. "\xbd\x5a\x85\xe2\xc0\x77\x71\xda"
  32092. "\x12\x4c\xdf\x7f\xce\xc0\x32\x95"
  32093. "\x1a\xde\xcb\x0a\x70\xd0\x9e\x89"
  32094. "\xc5\x97\x18\x04\xab\x8c\x38\x56"
  32095. "\x69\xe5\xf6\xa5\x76\x2c\x52\x7a"
  32096. "\x49\xd2\x9a\x95\xa6\xa8\x82\x42"
  32097. "\x20\x1f\x58\x57\x4e\x22\xdb\x92"
  32098. "\xec\xbd\x4a\x21\x66\x9b\x7a\xcb"
  32099. "\x73\xcd\x6d\x15\x07\xc9\x97\xb8"
  32100. "\x11\x35\xee\x29\xa4\x90\xfc\x46"
  32101. "\x0f\x39\x56\xc6\x4a\x3a\xcf\xcc"
  32102. "\xb1\xbf\x62\x1c\x16\xc5\x12\x6c"
  32103. "\x0e\x69\x89\xce\xcf\x11\x4e\xe5"
  32104. "\x7e\x4e\x7c\x8f\xb4\xc9\xe6\x54"
  32105. "\x42\x89\x28\x27\xe6\xec\x50\xb7"
  32106. "\x69\x91\x44\x3e\x46\xd4\x64\xf6"
  32107. "\x25\x4c\x4d\x2f\x60\xd9\x9a\xd3"
  32108. "\x1c\x70\xf4\xd8\x24\x1e\xdb\xcf"
  32109. "\xa8\xc0\x22\xe6\x82\x57\xf6\xf0"
  32110. "\xe1\x1e\x38\x66\xec\xdc\x20\xdb"
  32111. "\x6a\x57\x68\xb1\x43\x61\xe1\x12"
  32112. "\x18\x5f\x31\x57\x39\xcb\xea\x3c"
  32113. "\x6e\x5d\x9a\xe0\xa6\x70\x4d\xd8"
  32114. "\xf9\x47\x4e\xef\x31\xa5\x66\x9b"
  32115. "\xb7\xf1\xd9\x59\x85\xfc\xdb\x7e"
  32116. "\xa2\x7a\x70\x25\x0c\xfd\x18\x0d"
  32117. "\x00\x42\xc9\x48\x8a\xbd\x74\xc5"
  32118. "\x3e\xe1\x20\x5a\x5d\x2e\xe5\x32"
  32119. "\x1d\x1c\x08\x65\x80\x69\xae\x24"
  32120. "\x80\xde\xb6\xdf\x97\xaa\x42\x8d"
  32121. "\xce\x39\x07\xe6\x69\x94\x5a\x75"
  32122. "\x39\xda\x5e\x1a\xed\x4a\x4c\x23"
  32123. "\x66\x1f\xf3\xb1\x6e\x8f\x21\x94"
  32124. "\x45\xc4\x63\xbd\x06\x93\x5e\x30"
  32125. "\xe7\x8f\xcb\xe0\xbb\x2a\x27\xcf"
  32126. "\x57\xa9\xa6\x28\xaf\xae\xcb\xa5"
  32127. "\x7b\x36\x61\x77\x3a\x4f\xec\x51"
  32128. "\x71\xfd\x52\x9e\x32\x7b\x98\x09"
  32129. "\xae\x27\xbc\x93\x96\xab\xb6\x02"
  32130. "\xf7\x21\xd3\x42\x00\x7e\x7a\x92"
  32131. "\x17\xfe\x1b\x3d\xcf\xb6\xfe\x1e"
  32132. "\x40\xc3\x10\x25\xac\x22\x9e\xcc"
  32133. "\xc2\x02\x61\xf5\x0a\x4b\xc3\xec"
  32134. "\xb1\x44\x06\x05\xb8\xd6\xcb\xd5"
  32135. "\xf1\xf5\xb5\x65\xbc\x1a\x19\xa2"
  32136. "\x7d\x60\x87\x11\x06\x83\x25\xe3"
  32137. "\x5e\xf0\xeb\x15\x93\xb6\x8e\xab"
  32138. "\x49\x52\xe8\xdb\xde\xd1\x8e\xa2"
  32139. "\x3a\x64\x13\x30\xaa\x20\xaf\x81"
  32140. "\x8d\x3c\x24\x2a\x76\x6d\xca\x32"
  32141. "\x63\x51\x6b\x8e\x4b\xa7\xf6\xad"
  32142. "\xa5\x94\x16\x82\xa6\x97\x3b\xe5"
  32143. "\x41\xcd\x87\x33\xdc\xc1\x48\xca"
  32144. "\x4e\xa2\x82\xad\x8e\x1b\xae\xcb"
  32145. "\x12\x93\x27\xa3\x2b\xfa\xe6\x26"
  32146. "\x43\xbd\xb0\x00\x01\x22\x1d\xd3"
  32147. "\x28\x9d\x69\xe0\xd4\xf8\x5b\x01"
  32148. "\x40\x7d\x54\xe5\xe2\xbd\x78\x5a"
  32149. "\x0e\xab\x51\xfc\xd4\xde\xba\xbc"
  32150. "\xa4\x7a\x74\x6d\xf8\x36\xc2\x70"
  32151. "\x03\x27\x36\xa2\xc0\xde\xf2\xc7"
  32152. "\x55\xd4\x66\xee\x9a\x9e\xaa\x99"
  32153. "\x2b\xeb\xa2\x6f\x17\x80\x60\x64"
  32154. "\xed\x73\xdb\xc1\x70\xda\xde\x67"
  32155. "\xcd\x6e\xc9\xfa\x3f\xef\x49\xd9"
  32156. "\x18\x42\xf1\x87\x6e\x2c\xac\xe1"
  32157. "\x12\x26\x52\xbe\x3e\xf1\xcc\x85"
  32158. "\x9a\xd1\x9e\xc1\x02\xd3\xca\x2b"
  32159. "\x99\xe7\xe8\x95\x7f\x91\x4b\xc0"
  32160. "\xab\xd4\x5a\xf7\x88\x1c\x7e\xea"
  32161. "\xd3\x15\x38\x26\xb5\xa3\xf2\xfc"
  32162. "\xc4\x12\x70\x5a\x37\x83\x49\xac"
  32163. "\xf4\x5e\x4c\xc8\x64\x03\x98\xad"
  32164. "\xd2\xbb\x8d\x90\x01\x80\xa1\x2a"
  32165. "\x23\xd1\x8d\x26\x43\x7d\x2b\xd0"
  32166. "\x87\xe1\x8e\x6a\xb3\x73\x9d\xc2"
  32167. "\x66\x75\xee\x2b\x41\x1a\xa0\x3b"
  32168. "\x1b\xdd\xb9\x21\x69\x5c\xef\x52"
  32169. "\x21\x57\xd6\x53\x31\x67\x7e\xd1"
  32170. "\xd0\x67\x8b\xc0\x97\x2c\x0a\x09"
  32171. "\x1d\xd4\x35\xc5\xd4\x11\x68\xf8"
  32172. "\x5e\x75\xaf\x0c\xc3\x9d\xa7\x09"
  32173. "\x38\xf5\x77\xb9\x80\xa9\x6b\xbd"
  32174. "\x0c\x98\xb4\x8d\xf0\x35\x5a\x19"
  32175. "\x1d\xf8\xb3\x5b\x45\xad\x4e\x4e"
  32176. "\xd5\x59\xf5\xd7\x53\x63\x3e\x97"
  32177. "\x7f\x91\x50\x65\x61\x21\xa9\xb7"
  32178. "\x65\x12\xdc\x01\x56\x40\xe0\xb1"
  32179. "\xe1\x23\xba\x9d\xb9\xc4\x8b\x1f"
  32180. "\xa6\xfe\x24\x19\xe9\x42\x9f\x9b"
  32181. "\x02\x48\xaa\x60\x0b\xf5\x7f\x8f"
  32182. "\x35\x70\xed\x85\xb8\xc4\xdc\xb7"
  32183. "\x16\xb7\x03\xe0\x2e\xa0\x25\xab"
  32184. "\x02\x1f\x97\x8e\x5a\x48\xb6\xdb"
  32185. "\x25\x7a\x16\xf6\x4c\xec\xec\xa6"
  32186. "\xc1\x4e\xe3\x4e\xe3\x27\x78\xc8"
  32187. "\xb6\xd7\x01\x61\x98\x1b\x38\xaa"
  32188. "\x36\x93\xac\x6d\x05\x61\x4d\x5a"
  32189. "\xc9\xe5\x27\xa9\x22\xf2\x38\x5e"
  32190. "\x9e\xe5\xf7\x4a\x64\xd2\x14\x15"
  32191. "\x71\x7c\x65\x6e\x90\x31\xc7\x49"
  32192. "\x25\xec\x9f\xf1\xb2\xd6\xbc\x20"
  32193. "\x6a\x13\xd5\x70\x65\xfc\x8b\x66"
  32194. "\x2c\xf1\x57\xc2\xe7\xb8\x89\xf7"
  32195. "\x17\xb2\x45\x64\xe0\xb3\x8c\x0d"
  32196. "\x69\x57\xf9\x5c\xff\xc2\x3c\x18"
  32197. "\x1e\xfd\x4b\x5e\x0d\x20\x01\x1a"
  32198. "\xa3\xa3\xb3\x76\x98\x9c\x92\x41"
  32199. "\xb4\xcd\x9f\x8f\x88\xcb\xb1\xb5"
  32200. "\x25\x87\x45\x4c\x07\xa7\x15\x99"
  32201. "\x24\x85\x15\x9e\xfc\x28\x98\x2b"
  32202. "\xd0\x22\x0a\xcc\x62\x12\x86\x0a"
  32203. "\xa8\x0e\x7d\x15\x32\x98\xae\x2d"
  32204. "\x95\x25\x55\x33\x41\x5b\x8d\x75"
  32205. "\x46\x61\x01\xa4\xfb\xf8\x6e\xe5"
  32206. "\xec\x24\xfe\xd2\xd2\x46\xe2\x3a"
  32207. "\x77\xf3\xa1\x39\xd3\x39\x32\xd8"
  32208. "\x2a\x6b\x44\xd7\x70\x36\x23\x89"
  32209. "\x4f\x75\x85\x42\x70\xd4\x2d\x4f"
  32210. "\xea\xfc\xc9\xfe\xb4\x86\xd8\x73"
  32211. "\x1d\xeb\xf7\x54\x0a\x47\x7e\x2c"
  32212. "\x04\x7b\x47\xea\x52\x8f\x13\x1a"
  32213. "\xf0\x19\x65\xe2\x0a\x1c\xae\x89"
  32214. "\xe1\xc5\x87\x6e\x5d\x7f\xf8\x79"
  32215. "\x08\xbf\xd2\x7f\x2c\x95\x22\xba"
  32216. "\x32\x78\xa9\xf6\x03\x98\x18\xed"
  32217. "\x15\xbf\x49\xb0\x6c\xa1\x4b\xb0"
  32218. "\xf3\x17\xd5\x35\x5d\x19\x57\x5b"
  32219. "\xf1\x07\x1e\xaa\x4d\xef\xd0\xd6"
  32220. "\x72\x12\x6b\xd9\xbc\x10\x49\xc5"
  32221. "\x28\xd4\xec\xe9\x8a\xb1\x6d\x50"
  32222. "\x4b\xf3\x44\xb8\x49\x04\x62\xe9"
  32223. "\xa4\xd8\x5a\xe7\x90\x02\xb7\x1e"
  32224. "\x66\x89\xbc\x5a\x71\x4e\xbd\xf8"
  32225. "\x18\xfb\x34\x2f\x67\xa2\x65\x71"
  32226. "\x00\x63\x22\xef\x3a\xa5\x18\x0e"
  32227. "\x54\x76\xaa\x58\xae\x87\x23\x93"
  32228. "\xb0\x3c\xa2\xa4\x07\x77\x3e\xd7"
  32229. "\x1a\x9c\xfe\x32\xc3\x54\x04\x4e"
  32230. "\xd6\x98\x44\xda\x98\xf8\xd3\xc8"
  32231. "\x1c\x07\x4b\xcd\x97\x5d\x96\x95"
  32232. "\x9a\x1d\x4a\xfc\x19\xcb\x0b\xd0"
  32233. "\x6d\x43\x3a\x9a\x39\x1c\xa8\x90"
  32234. "\x9f\x53\x8b\xc4\x41\x75\xb5\xb9"
  32235. "\x91\x5f\x02\x0a\x57\x6c\x8f\xc3"
  32236. "\x1b\x0b\x3a\x8b\x58\x3b\xbe\x2e"
  32237. "\xdc\x4c\x23\x71\x2e\x14\x06\x21"
  32238. "\x0b\x3b\x58\xb8\x97\xd1\x00\x62"
  32239. "\x2e\x74\x3e\x6e\x21\x8a\xcf\x60"
  32240. "\xda\x0c\xf8\x7c\xfd\x07\x55\x7f"
  32241. "\xb9\x1d\xda\x34\xc7\x27\xbf\x2a"
  32242. "\xd9\xba\x41\x9b\x37\xa1\xc4\x5d"
  32243. "\x03\x01\xce\xbb\x58\xff\xee\x74"
  32244. "\x08\xbd\x0b\x80\xb1\xd5\xf8\xb5"
  32245. "\x92\xf9\xbb\xbe\x03\xb5\xec\xbe"
  32246. "\x17\xee\xd7\x4e\x87\x2b\x61\x1b"
  32247. "\x27\xc3\x51\x50\xa0\x02\x73\x00"
  32248. "\x1a\xea\x2a\x2b\xf8\xf6\xe6\x96"
  32249. "\x75\x00\x56\xcc\xcb\x7a\x24\x29"
  32250. "\xe8\xdb\x95\xbf\x4e\x8f\x0a\x78"
  32251. "\xb8\xeb\x5a\x90\x37\xd0\x21\x94"
  32252. "\x6a\x89\x6b\x41\x3a\x1b\xa7\x20"
  32253. "\x43\x37\xda\xad\x81\xdd\xb4\xfc"
  32254. "\xe9\x60\x82\x77\x44\x3f\x89\x23"
  32255. "\x35\x04\x8f\xa1\xe8\xc0\xb6\x9f"
  32256. "\x56\xa7\x86\x3d\x65\x9c\x57\xbb"
  32257. "\x27\xdb\xe1\xb2\x13\x07\x9c\xb1"
  32258. "\x60\x8b\x38\x6b\x7f\x24\x28\x14"
  32259. "\xfe\xbf\xc0\xda\x61\x6e\xc2\xc7"
  32260. "\x63\x36\xa8\x02\x54\x93\xb0\xba"
  32261. "\xbd\x4d\x29\x14\x5a\x8b\xbc\x78"
  32262. "\xb3\xa6\xc5\x15\x5d\x36\x4d\x38"
  32263. "\x20\x9c\x1e\x98\x2e\x16\x89\x33"
  32264. "\x66\xa2\x54\x57\xcc\xde\x12\xa6"
  32265. "\x3b\x44\xf1\xac\x36\x3b\x97\xc1"
  32266. "\x96\x94\xf2\x67\x57\x23\x9c\x29"
  32267. "\xcd\xb7\x24\x2a\x8c\x86\xee\xaa"
  32268. "\x0f\xee\xaf\xa0\xec\x40\x8c\x08"
  32269. "\x18\xa1\xb4\x2c\x09\x46\x11\x7e"
  32270. "\x97\x84\xb1\x03\xa5\x3e\x59\x05"
  32271. "\x07\xc5\xf0\xcc\xb6\x71\x72\x2a"
  32272. "\xa2\x02\x78\x60\x0b\xc4\x47\x93"
  32273. "\xab\xcd\x67\x2b\xf5\xc5\x67\xa0"
  32274. "\xc0\x3c\x6a\xd4\x7e\xc9\x93\x0c"
  32275. "\x02\xdc\x15\x87\x48\x16\x26\x18"
  32276. "\x4e\x0b\x16\x0e\xb3\x02\x3e\x4b"
  32277. "\xc2\xe4\x49\x08\x9f\xb9\x8b\x1a"
  32278. "\xca\x10\xe8\x6c\x58\xa9\x7e\xb8"
  32279. "\xbe\xff\x58\x0e\x8a\xfb\x35\x93"
  32280. "\xcc\x76\x7d\xd9\x44\x7c\x31\x96"
  32281. "\xc0\x29\x73\xd3\x91\x0a\xc0\x65"
  32282. "\x5c\xbe\xe7\x4e\xda\x31\x85\xf2"
  32283. "\x72\xee\x34\xbe\x41\x90\xd4\x07"
  32284. "\x50\x64\x56\x81\xe3\x27\xfb\xcc"
  32285. "\xb7\x5c\x36\xb4\x6e\xbd\x23\xf8"
  32286. "\xe8\x71\xce\xa8\x73\x77\x82\x74"
  32287. "\xab\x8d\x0e\xe5\x93\x68\xb1\xd2"
  32288. "\x51\xc2\x18\x58\xd5\x3f\x29\x6b"
  32289. "\x2e\xd0\x88\x7f\x4a\x9d\xa2\xb8"
  32290. "\xae\x96\x09\xbf\x47\xae\x7d\x12"
  32291. "\x70\x67\xf1\xdd\xda\xdf\x47\x57"
  32292. "\xc9\x2c\x0f\xcb\xf3\x57\xd4\xda"
  32293. "\x00\x2e\x13\x48\x8f\xc0\xaa\x46"
  32294. "\xe1\xc1\x57\x75\x1e\xce\x74\xc2"
  32295. "\x82\xef\x31\x85\x8e\x38\x56\xff"
  32296. "\xcb\xab\xe0\x78\x40\x51\xd3\xc5"
  32297. "\xc3\xb1\xee\x9b\xd7\x72\x7f\x13"
  32298. "\x83\x7f\x45\x49\x45\xa1\x05\x8e"
  32299. "\xdc\x83\x81\x3c\x24\x28\x87\x08"
  32300. "\xa0\x70\x73\x80\x42\xcf\x5c\x26"
  32301. "\x39\xa5\xc5\x90\x5c\x56\xda\x58"
  32302. "\x93\x45\x5d\x45\x64\x59\x16\x3f"
  32303. "\xf1\x20\xf7\xa8\x2a\xd4\x3d\xbd"
  32304. "\x17\xfb\x90\x01\xcf\x1e\x71\xab"
  32305. "\x22\xa2\x24\xb5\x80\xac\xa2\x9a"
  32306. "\x9c\x2d\x85\x69\xa7\x87\x33\x55"
  32307. "\x65\x72\xc0\x91\x2a\x3d\x05\x33"
  32308. "\x25\x0d\x29\x25\x9f\x45\x4e\xfa"
  32309. "\x5d\x90\x3f\x34\x08\x54\xdb\x7d"
  32310. "\x94\x20\xa2\x3b\x10\x01\xa4\x89"
  32311. "\x1e\x90\x4f\x36\x3f\xc2\x40\x07"
  32312. "\x3f\xab\x2e\x89\xce\x80\xe1\xf5"
  32313. "\xac\xaf\x17\x10\x18\x0f\x4d\xe3"
  32314. "\xfc\x82\x2b\xbe\xe2\x91\xfa\x5b"
  32315. "\x9a\x9b\x2a\xd7\x99\x8d\x8f\xdc"
  32316. "\x54\x99\xc4\xa3\x97\xfd\xd3\xdb"
  32317. "\xd1\x51\x7c\xce\x13\x5c\x3b\x74"
  32318. "\xda\x9a\xe3\xdc\xdc\x87\x84\x98"
  32319. "\x16\x6d\xb0\x3d\x65\x57\x0b\xb2"
  32320. "\xb8\x04\xd4\xea\x49\x72\xc3\x66"
  32321. "\xbc\xdc\x91\x05\x2b\xa6\x5e\xeb"
  32322. "\x55\x72\x3e\x34\xd4\x28\x4b\x9c"
  32323. "\x07\x51\xf7\x30\xf3\xca\x04\xc1"
  32324. "\xd3\x69\x50\x2c\x27\x27\xc4\xb9"
  32325. "\x56\xc7\xa2\xd2\x66\x29\xea\xe0"
  32326. "\x25\xb8\x49\xd1\x60\xc9\x5e\xb5"
  32327. "\xed\x87\xb8\x74\x98\x0d\x16\x86"
  32328. "\x2a\x02\x24\xde\xb9\xa9\x5e\xf0"
  32329. "\xdd\xf7\x55\xb0\x26\x7a\x93\xd4"
  32330. "\xe6\x7d\xd2\x43\xb2\x8f\x7e\x9a"
  32331. "\x5d\x81\xe6\x28\xe5\x96\x7d\xc8"
  32332. "\x33\xe0\x56\x57\xe2\xa0\xf2\x1d"
  32333. "\x61\x78\x60\xd5\x81\x70\xa4\x11"
  32334. "\x43\x36\xe9\xd1\x68\x27\x21\x3c"
  32335. "\xb2\xa2\xad\x5f\x04\xd4\x55\x00"
  32336. "\x25\x71\x91\xed\x3a\xc9\x7b\x57"
  32337. "\x7b\xd1\x8a\xfb\x0e\xf5\x7b\x08"
  32338. "\xa9\x26\x4f\x24\x5f\xdd\x79\xed"
  32339. "\x19\xc4\xe1\xd5\xa8\x66\x60\xfc"
  32340. "\x5d\x48\x11\xb0\xa3\xc3\xe6\xc0"
  32341. "\xc6\x16\x7d\x20\x3f\x7c\x25\x52"
  32342. "\xdf\x05\xdd\xb5\x0b\x92\xee\xc5"
  32343. "\xe6\xd2\x7c\x3e\x2e\xd5\xac\xda"
  32344. "\xdb\x48\x31\xac\x87\x13\x8c\xfa"
  32345. "\xac\x18\xbc\xd1\x7f\x2d\xc6\x19"
  32346. "\x8a\xfa\xa0\x97\x89\x26\x50\x46"
  32347. "\x9c\xca\xe1\x73\x97\x26\x0a\x50"
  32348. "\x95\xec\x79\x19\xf6\xbd\x9a\xa1"
  32349. "\xcf\xc9\xab\xf7\x85\x84\xb2\xf5"
  32350. "\x2c\x7c\x73\xaa\xe2\xc2\xfb\xcd"
  32351. "\x5f\x08\x46\x2f\x8e\xd9\xff\xfd"
  32352. "\x19\xf6\xf4\x5d\x2b\x4b\x54\xe2"
  32353. "\x27\xaa\xfd\x2c\x5f\x75\x7c\xf6"
  32354. "\x2c\x95\x77\xcc\x90\xa2\xda\x1e"
  32355. "\x85\x37\x18\x34\x1d\xcf\x1b\xf2"
  32356. "\x86\xda\x71\xfb\x72\xab\x87\x0f"
  32357. "\x1e\x10\xb3\xba\x51\xea\x29\xd3"
  32358. "\x8c\x87\xce\x4b\x66\xbf\x60\x6d"
  32359. "\x81\x7c\xb8\x9c\xcc\x2e\x35\x02"
  32360. "\x02\x32\x4a\x7a\x24\xc4\x9f\xce"
  32361. "\xf0\x8a\x85\x90\xf3\x24\x95\x02"
  32362. "\xec\x13\xc1\xa4\xdd\x44\x01\xef"
  32363. "\xf6\xaa\x30\x70\xbf\x4e\x1a\xb9"
  32364. "\xc0\xff\x3b\x57\x5d\x12\xfe\xc3"
  32365. "\x1d\x5c\x3f\x74\xf9\xd9\x64\x61"
  32366. "\x20\xb2\x76\x79\x38\xd2\x21\xfb"
  32367. "\xc9\x32\xe8\xcc\x8e\x5f\xd7\x01"
  32368. "\x9e\x25\x76\x4d\xa7\xc1\x33\x21"
  32369. "\xfa\xcf\x98\x40\xd2\x1d\x48\xbd"
  32370. "\xd0\xc0\x38\x90\x27\x9b\x89\x4a"
  32371. "\x10\x1e\xaf\xa0\x78\x7d\x87\x2b"
  32372. "\x72\x10\x02\xf0\x5d\x22\x8b\x22"
  32373. "\xd7\x56\x7c\xd7\x6d\xcd\x9b\xc6"
  32374. "\xbc\xb2\xa6\x36\xde\xac\x87\x14"
  32375. "\x92\x93\x47\xca\x7d\xf4\x0b\x88"
  32376. "\xea\xbf\x3f\x2f\xa9\x94\x24\x13"
  32377. "\xa1\x52\x29\xfd\x5d\xa9\x76\x85"
  32378. "\x21\x62\x39\xa3\xf0\xf7\xb5\xa3"
  32379. "\xe0\x6c\x1b\xcb\xdb\x41\x91\xc6"
  32380. "\x4f\xaa\x26\x8b\x15\xd5\x84\x3a"
  32381. "\xda\xd6\x05\xc8\x8c\x0f\xe9\x19"
  32382. "\x00\x81\x38\xfb\x8f\xdf\xb0\x63"
  32383. "\x75\xe0\xe8\x8f\xef\x4a\xe0\x83"
  32384. "\x34\xe9\x4e\x06\xd7\xbb\xcd\xed"
  32385. "\x70\x0c\x72\x80\x64\x94\x67\xad"
  32386. "\x4a\xda\x82\xcf\x60\xfc\x92\x43"
  32387. "\xe3\x2f\xd1\x1e\x81\x1d\xdc\x62"
  32388. "\xec\xb1\xb0\xad\x4f\x43\x1d\x38"
  32389. "\x4e\x0d\x90\x40\x29\x1b\x98\xf1"
  32390. "\xbc\x70\x4e\x5a\x08\xbe\x88\x3a"
  32391. "\x55\xfb\x8c\x33\x1f\x0a\x7d\x2d"
  32392. "\xdc\x75\x03\xd2\x3b\xe8\xb8\x32"
  32393. "\x13\xab\x04\xbc\xe2\x33\x44\xa6"
  32394. "\xff\x6e\xba\xbd\xdc\xe2\xbf\x54"
  32395. "\x99\x71\x76\x59\x3b\x7a\xbc\xde"
  32396. "\xa1\x6e\x73\x62\x96\x73\x56\x66"
  32397. "\xfb\x1a\x56\x91\x2a\x8b\x12\xb0"
  32398. "\x82\x9f\x9b\x0c\x42\xc7\x22\x2c"
  32399. "\xbc\x49\xc5\x3c\x3b\xbf\x52\x64"
  32400. "\xd6\xd4\x03\x52\xf3\xfd\x13\x98"
  32401. "\xcc\xd8\xaa\x3e\x1d\x1f\x04\x8a"
  32402. "\x03\x41\x19\x5b\x31\xf3\x48\x83"
  32403. "\x49\xa3\xdd\xc9\x7c\x01\x34\x64"
  32404. "\xe5\xf3\xdf\xc9\x7f\x17\xa2\xf5"
  32405. "\x9c\x21\x79\x93\x91\x93\xbf\x9b"
  32406. "\xa5\xa5\xda\x1d\x55\x32\x72\x78"
  32407. "\xa6\x45\x2d\x21\x97\x6b\xfe\xbc"
  32408. "\xd0\xe7\x8e\x97\x66\x85\x9e\x41"
  32409. "\xfa\x2c\x8a\xee\x0d\x5a\x18\xf2"
  32410. "\x15\x89\x8f\xfb\xbc\xd8\xa6\x0c"
  32411. "\x83\xcc\x20\x08\xce\x70\xe5\xe6"
  32412. "\xbb\x7d\x9f\x11\x5f\x1e\x16\x68"
  32413. "\x18\xad\xa9\x4b\x04\x97\x8c\x18"
  32414. "\xed\x2a\x70\x79\x39\xcf\x36\x72"
  32415. "\x1e\x3e\x6d\x3c\x19\xce\x13\x19"
  32416. "\xb5\x13\xe7\x02\xd8\x5c\xec\x0c"
  32417. "\x81\xc5\xe5\x86\x10\x83\x9e\x67"
  32418. "\x3b\x74\x29\x63\xda\x23\xbc\x43"
  32419. "\xe9\x73\xa6\x2d\x25\x77\x66\xd0"
  32420. "\x2e\x05\x38\xae\x2e\x0e\x7f\xaf"
  32421. "\x82\xed\xef\x28\x39\x4c\x4b\x6f"
  32422. "\xdb\xa1\xb5\x79\xd0\x5b\x50\x77"
  32423. "\x6d\x75\x9f\x3c\xcf\xde\x41\xb8"
  32424. "\xa9\x13\x11\x60\x19\x23\xc7\x35"
  32425. "\x48\xbc\x14\x08\xf9\x57\xfe\x15"
  32426. "\xfd\xb2\xbb\x8c\x44\x3b\xf1\x62"
  32427. "\xbc\x0e\x01\x45\x39\xc0\xbb\xce"
  32428. "\xf5\xb7\xe1\x16\x7b\xcc\x8d\x7f"
  32429. "\xd3\x15\x36\xef\x8e\x4b\xaa\xee"
  32430. "\x49\x0c\x6e\x9b\x8c\x0e\x9f\xe0"
  32431. "\xd5\x7b\xdd\xbc\xb3\x67\x53\x6d"
  32432. "\x8b\xbe\xa3\xcd\x1e\x37\x9d\xc3"
  32433. "\x61\x36\xf4\x77\xec\x2b\xc7\x8b"
  32434. "\xd7\xad\x8d\x23\xdd\xf7\x9d\xf1"
  32435. "\x61\x1c\xbf\x09\xa5\x5e\xb9\x14"
  32436. "\xa6\x3f\x1a\xd9\x12\xb4\xef\x56"
  32437. "\x20\xa0\x77\x3e\xab\xf1\xb9\x91"
  32438. "\x5a\x92\x85\x5c\x92\x15\xb2\x1f"
  32439. "\xaf\xb0\x92\x23\x2d\x27\x8b\x7e"
  32440. "\x12\xcc\x56\xaa\x62\x85\x15\xd7"
  32441. "\x41\x89\x62\xd6\xd9\xd0\x6d\xbd"
  32442. "\x21\xa8\x49\xb6\x35\x40\x2f\x8d"
  32443. "\x2e\xfa\x24\x1e\x30\x12\x9c\x05"
  32444. "\x59\xfa\xe1\xad\xc0\x53\x09\xda"
  32445. "\xc0\x2e\x9d\x24\x0e\x4b\x6e\xd7"
  32446. "\x68\x32\x6a\xa0\x3c\x23\xb6\x5a"
  32447. "\x90\xb1\x1f\x62\xc8\x37\x36\x88"
  32448. "\xa4\x4d\x91\x12\x8d\x51\x8d\x81"
  32449. "\x44\x21\xfe\xd3\x61\x8d\xea\x5b"
  32450. "\x87\x24\xa9\xe9\x87\xde\x75\x77"
  32451. "\xc6\xa0\xd3\xf6\x99\x8b\x32\x56"
  32452. "\x47\xc6\x60\x65\xb6\x4f\xd1\x59"
  32453. "\x08\xb2\xe0\x15\x3e\xcb\x2c\xd6"
  32454. "\x8d\xc6\xbf\xda\x63\xe2\x04\x88"
  32455. "\x30\x9f\x37\x38\x98\x1c\x3e\x7a"
  32456. "\xa8\x8f\x3e\x2c\xcf\x90\x15\x6e"
  32457. "\x5d\xe9\x76\xd5\xdf\xc6\x2f\xf6"
  32458. "\xf5\x4a\x86\xbd\x36\x2a\xda\xdf"
  32459. "\x2f\xd8\x6e\x15\x18\x6b\xe9\xdb"
  32460. "\x26\x54\x6e\x60\x3b\xb8\xf9\x91"
  32461. "\xc1\x1d\xc0\x4f\x26\x8b\xdf\x55"
  32462. "\x47\x2f\xce\xdd\x4e\x93\x58\x3f"
  32463. "\x70\xdc\xf9\x4e\x9b\x37\x5e\x4f"
  32464. "\x39\xb9\x30\xe6\xce\xdb\xaf\x46"
  32465. "\xca\xfa\x52\xc9\x75\x3e\xd6\x96"
  32466. "\xe8\x97\xf1\xb1\x64\x31\x71\x1e"
  32467. "\x9f\xb6\xff\x69\xd6\xcd\x85\x4e"
  32468. "\x20\xf5\xfc\x84\x3c\xaf\xcc\x8d"
  32469. "\x5b\x52\xb8\xa2\x1c\x38\x47\x82"
  32470. "\x96\xff\x06\x4c\xaf\x8a\xf4\x8f"
  32471. "\xf8\x15\x97\xf6\xc3\xbc\x8c\x9e"
  32472. "\xc2\x06\xd9\x64\xb8\x1b\x0d\xd1"
  32473. "\x53\x55\x83\x7d\xcb\x8b\x7d\x20"
  32474. "\xa7\x70\xcb\xaa\x25\xae\x5a\x4f"
  32475. "\xdc\x66\xad\xe4\x54\xff\x09\xef"
  32476. "\x25\xcb\xac\x59\x89\x1d\x06\xcf"
  32477. "\xc7\x74\xe0\x5d\xa6\xd0\x04\xb4"
  32478. "\x41\x75\x34\x80\x6c\x4c\xc9\xd0"
  32479. "\x51\x0c\x0f\x84\x26\x75\x69\x23"
  32480. "\x81\x67\xde\xbf\x6c\x57\x8a\xc4"
  32481. "\xba\x91\xba\x8c\x2c\x75\xeb\x55"
  32482. "\xe5\x1b\x13\xbc\xaa\xec\x31\xdb"
  32483. "\xcc\x00\x3b\xe6\x50\xd8\xc3\xcc"
  32484. "\x9c\xb8\x6e\xb4\x9b\x16\xee\x74"
  32485. "\x26\x51\xda\x39\xe6\x31\xa1\xb2"
  32486. "\xd7\x6f\xcb\xae\x7d\x9f\x38\x7d"
  32487. "\x86\x49\x2a\x16\x5c\xc0\x08\xea"
  32488. "\x6b\x55\x85\x47\xbb\x90\xba\x69"
  32489. "\x56\xa5\x44\x62\x5b\xe6\x3b\xcc"
  32490. "\xe7\x6d\x1e\xca\x4b\xf3\x86\xe0"
  32491. "\x09\x76\x51\x83\x0a\x46\x19\x61"
  32492. "\xf0\xce\xe1\x06\x7d\x06\xb4\xfe"
  32493. "\xd9\xd3\x64\x8e\x0f\xd9\x64\x9e"
  32494. "\x74\x44\x97\x5d\x92\x7b\xe3\xcf"
  32495. "\x51\x44\xe7\xf2\xe7\xc0\x0c\xc2"
  32496. "\xf1\xf7\xa6\x36\x52\x2f\x7c\x09"
  32497. "\xfe\x8c\x59\x77\x52\x6a\x7e\xb3"
  32498. "\x2b\xb9\x17\x78\xe4\xf2\x82\x62"
  32499. "\x7f\x68\x8e\x04\xb4\x8f\x60\xd2"
  32500. "\xc6\x22\x1e\x0f\x3a\x8e\x3c\xb2"
  32501. "\x60\xbc\xa9\xb3\xda\xbd\x50\xe4"
  32502. "\x33\x98\xdd\x6f\xe9\x3b\x77\x57"
  32503. "\xeb\x7c\x8f\xbc\xfc\x34\x34\xb9"
  32504. "\x40\x31\x67\xcf\xfe\x22\x20\xa5"
  32505. "\x97\xe8\x4c\xa2\xc3\x94\xc6\x28"
  32506. "\xa6\x24\xe5\xa6\xb5\xd8\x24\xef"
  32507. "\x16\xa1\xc9\xe5\x92\xe6\x8c\x45"
  32508. "\x24\x24\x51\x22\x1e\xad\xef\x2f"
  32509. "\xb6\xbe\xfc\x92\x20\xac\x45\xe6"
  32510. "\xc0\xb0\xc8\xfb\x21\x34\xd4\x05"
  32511. "\x54\xb3\x99\xa4\xfe\xa9\xd5\xb5"
  32512. "\x3b\x72\x83\xf6\xe2\xf9\x88\x0e"
  32513. "\x20\x80\x3e\x4e\x8f\xa1\x75\x69"
  32514. "\x43\x5a\x7c\x38\x62\x51\xb5\xb7"
  32515. "\x84\x95\x3f\x6d\x24\xcc\xfd\x4b"
  32516. "\x4a\xaa\x97\x83\x6d\x16\xa8\xc5"
  32517. "\x18\xd9\xb9\xfe\xe2\x3f\xe8\xbd"
  32518. "\x37\x44\xdf\x79\x3b\x34\x19\x1a"
  32519. "\x65\x5e\xc7\x61\x1f\x17\x5e\x84"
  32520. "\x20\x72\x32\x98\x8c\x9e\xac\x1f"
  32521. "\x6e\x32\xae\x86\x46\x4f\x0f\x64"
  32522. "\x3f\xce\x96\xe6\x02\x41\x53\x1f"
  32523. "\x35\x30\x57\x7f\xfe\xb7\x47\xb9"
  32524. "\x0c\x2f\x14\x34\x9b\x1c\x88\x17"
  32525. "\xb5\xe5\x94\x17\x3e\xdc\x4d\x49"
  32526. "\xe1\x5d\x75\x3e\xa6\x16\x42\xd4"
  32527. "\x59\xb5\x24\x7c\x4c\x54\x1c\xf9"
  32528. "\xd6\xed\x69\x22\x5f\x74\xc9\xa9"
  32529. "\x7c\xb8\x09\xa7\xf9\x2b\x0d\x5f"
  32530. "\x42\xff\x4e\x57\xde\x0c\x67\x45"
  32531. "\xa4\x6e\xa0\x7e\x28\x34\xc5\xfe"
  32532. "\x58\x7e\xda\xec\x9f\x0b\x31\x2a"
  32533. "\x1f\x1b\x98\xad\x14\xcf\x9f\x96"
  32534. "\xf8\x87\x0e\x14\x19\x81\x23\x53"
  32535. "\x5f\x38\x08\xd9\xc1\xcb\xb2\xc5"
  32536. "\x19\x72\x75\x01\xd4\xcf\xd9\x91"
  32537. "\xfc\x48\xcc\xa3\x3c\xe6\x4c\xc6"
  32538. "\x73\xde\x5e\x90\xce\x6c\x85\x43"
  32539. "\x0d\xdf\xe3\x8c\x02\x62\xef\xac"
  32540. "\xb8\x05\x80\x81\xf6\x22\x30\xad"
  32541. "\x30\xa8\xcb\x55\x1e\xe6\x05\x7f"
  32542. "\xc5\x58\x1a\x78\xb7\x2f\x8e\x3c"
  32543. "\x80\x09\xca\xa2\x9a\x72\xeb\x10"
  32544. "\x84\x54\xaa\x98\x35\x5e\xb1\xc2"
  32545. "\xb7\x73\x14\x69\xef\xf8\x28\x43"
  32546. "\x36\xd3\x10\x0a\xd6\x69\xf8\xc8"
  32547. "\xbb\xe9\xe9\xf9\x29\x52\xf8\x6f"
  32548. "\x12\x78\xf9\xc6\xb2\x12\xfd\x39"
  32549. "\xa9\xeb\xe2\x47\xb9\x22\xc5\x8f"
  32550. "\x4d\xb1\x17\x40\x02\x84\xed\x53"
  32551. "\xc5\xfa\xc1\xcd\x59\x56\x93\xaa"
  32552. "\x3f\x23\x3f\x02\xb7\xe9\x6e\xa0"
  32553. "\xbc\x96\xb8\xb2\xf8\x04\x19\x87"
  32554. "\xe9\x4f\x29\xbf\x3a\xcb\x6d\x48"
  32555. "\xc9\xe7\x1f\xb7\xa8\xf8\xd4\xb4"
  32556. "\x6d\x0f\xb4\xf6\x44\x11\x0f\xf7"
  32557. "\x3d\xd2\x36\x05\x67\xa1\x46\x81"
  32558. "\x90\xe9\x60\x64\xfa\x52\x87\x37"
  32559. "\x44\x01\xbd\x58\xe1\xda\xda\x1e"
  32560. "\xa7\x09\xf7\x43\x31\x2b\x4b\x55"
  32561. "\xbd\x0d\x53\x7f\x12\x6c\xf5\x07"
  32562. "\xfc\x61\xda\xd6\x0a\xbd\x89\x5f"
  32563. "\x2c\xf5\xa8\x1f\x0d\x60\xe4\x3c"
  32564. "\x5d\x94\x8a\x1f\x64\xce\xd5\x16"
  32565. "\x73\xbc\xbe\xb1\x85\x28\xcb\x0b"
  32566. "\x47\x5c\x1f\x66\x25\x89\x61\x6a"
  32567. "\xa7\xcd\xf8\x1b\x31\x88\x42\x71"
  32568. "\x58\x65\x53\xd5\xc0\xa3\x56\x2e"
  32569. "\xb6\x86\x9e\x13\x78\x34\x36\x85"
  32570. "\xbb\xce\x6e\x54\x33\xb9\x97\xc5"
  32571. "\x72\xb8\xe0\x13\x34\x04\xbf\x83"
  32572. "\xbf\x78\x1d\x7c\x23\x34\x90\xe0"
  32573. "\x57\xd4\x3f\xc6\x61\xe3\xca\x96"
  32574. "\x13\xdd\x9e\x20\x51\x18\x73\x37"
  32575. "\x69\x37\xfb\xe5\x60\x1f\xf2\xa1"
  32576. "\xef\xa2\x6e\x16\x32\x8e\xc3\xb6"
  32577. "\x21\x5e\xc2\x1c\xb6\xc6\x96\x72"
  32578. "\x4f\xa6\x85\x69\xa9\x5d\xb2\x2e"
  32579. "\xac\xfe\x6e\xc3\xe7\xb3\x51\x08"
  32580. "\x66\x2a\xac\x59\xb3\x73\x86\xae"
  32581. "\x6d\x85\x97\x37\x68\xef\xa7\x85"
  32582. "\xb7\xdd\xdd\xd9\x85\xc9\x57\x01"
  32583. "\x10\x2b\x9a\x1e\x44\x12\x87\xa5"
  32584. "\x60\x1f\x88\xae\xbf\x14\x2d\x05"
  32585. "\x4c\x60\x85\x8a\x45\xac\x0f\xc2",
  32586. .len = 4096,
  32587. }
  32588. };
  32589. /* Adiantum with XChaCha20 instead of XChaCha12 */
  32590. /* Test vectors from https://github.com/google/adiantum */
  32591. static const struct cipher_testvec adiantum_xchacha20_aes_tv_template[] = {
  32592. {
  32593. .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
  32594. "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
  32595. "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
  32596. "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
  32597. .klen = 32,
  32598. .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
  32599. "\x33\x81\x37\x60\x7d\xfa\x73\x08"
  32600. "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
  32601. "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
  32602. .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
  32603. "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
  32604. .ctext = "\xf6\x78\x97\xd6\xaa\x94\x01\x27"
  32605. "\x2e\x4d\x83\xe0\x6e\x64\x9a\xdf",
  32606. .len = 16,
  32607. }, {
  32608. .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
  32609. "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
  32610. "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
  32611. "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
  32612. .klen = 32,
  32613. .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
  32614. "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
  32615. "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
  32616. "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
  32617. .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
  32618. "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
  32619. "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
  32620. "\x43\x5a\x46\x06\x94\x2d\xf2",
  32621. .ctext = "\x4b\xb8\x90\x10\xdf\x7f\x64\x08"
  32622. "\x0e\x14\x42\x5f\x00\x74\x09\x36"
  32623. "\x57\x72\xb5\xfd\xb5\x5d\xb8\x28"
  32624. "\x0c\x04\x91\x14\x91\xe9\x37",
  32625. .len = 31,
  32626. }, {
  32627. .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
  32628. "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
  32629. "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
  32630. "\x19\x09\x00\xa9\x04\x31\x4f\x11",
  32631. .klen = 32,
  32632. .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
  32633. "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
  32634. "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
  32635. "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
  32636. .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
  32637. "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
  32638. "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
  32639. "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
  32640. "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
  32641. "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
  32642. "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
  32643. "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
  32644. "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
  32645. "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
  32646. "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
  32647. "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
  32648. "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
  32649. "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
  32650. "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
  32651. "\x56\x65\xc5\x54\x23\x28\xb0\x03",
  32652. .ctext = "\xb1\x8b\xa0\x05\x77\xa8\x4d\x59"
  32653. "\x1b\x8e\x21\xfc\x3a\x49\xfa\xd4"
  32654. "\xeb\x36\xf3\xc4\xdf\xdc\xae\x67"
  32655. "\x07\x3f\x70\x0e\xe9\x66\xf5\x0c"
  32656. "\x30\x4d\x66\xc9\xa4\x2f\x73\x9c"
  32657. "\x13\xc8\x49\x44\xcc\x0a\x90\x9d"
  32658. "\x7c\xdd\x19\x3f\xea\x72\x8d\x58"
  32659. "\xab\xe7\x09\x2c\xec\xb5\x44\xd2"
  32660. "\xca\xa6\x2d\x7a\x5c\x9c\x2b\x15"
  32661. "\xec\x2a\xa6\x69\x91\xf9\xf3\x13"
  32662. "\xf7\x72\xc1\xc1\x40\xd5\xe1\x94"
  32663. "\xf4\x29\xa1\x3e\x25\x02\xa8\x3e"
  32664. "\x94\xc1\x91\x14\xa1\x14\xcb\xbe"
  32665. "\x67\x4c\xb9\x38\xfe\xa7\xaa\x32"
  32666. "\x29\x62\x0d\xb2\xf6\x3c\x58\x57"
  32667. "\xc1\xd5\x5a\xbb\xd6\xa6\x2a\xe5",
  32668. .len = 128,
  32669. }, {
  32670. .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
  32671. "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
  32672. "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
  32673. "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
  32674. .klen = 32,
  32675. .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
  32676. "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
  32677. "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
  32678. "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
  32679. .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
  32680. "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
  32681. "\x05\xa3\x69\x60\x91\x36\x98\x57"
  32682. "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
  32683. "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
  32684. "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
  32685. "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
  32686. "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
  32687. "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
  32688. "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
  32689. "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
  32690. "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
  32691. "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
  32692. "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
  32693. "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
  32694. "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
  32695. "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
  32696. "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
  32697. "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
  32698. "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
  32699. "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
  32700. "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
  32701. "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
  32702. "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
  32703. "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
  32704. "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
  32705. "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
  32706. "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
  32707. "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
  32708. "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
  32709. "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
  32710. "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
  32711. "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
  32712. "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
  32713. "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
  32714. "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
  32715. "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
  32716. "\xd7\x31\x87\x89\x09\xab\xd5\x96"
  32717. "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
  32718. "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
  32719. "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
  32720. "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
  32721. "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
  32722. "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
  32723. "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
  32724. "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
  32725. "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
  32726. "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
  32727. "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
  32728. "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
  32729. "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
  32730. "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
  32731. "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
  32732. "\x17\x7c\x25\x48\x52\x67\x11\x27"
  32733. "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
  32734. "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
  32735. "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
  32736. "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
  32737. "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
  32738. "\x79\x50\x33\xca\xd0\xd7\x42\x55"
  32739. "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
  32740. "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
  32741. "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
  32742. "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
  32743. .ctext = "\xe0\x33\xf6\xe0\xb4\xa5\xdd\x2b"
  32744. "\xdd\xce\xfc\x12\x1e\xfc\x2d\xf2"
  32745. "\x8b\xc7\xeb\xc1\xc4\x2a\xe8\x44"
  32746. "\x0f\x3d\x97\x19\x2e\x6d\xa2\x38"
  32747. "\x9d\xa6\xaa\xe1\x96\xb9\x08\xe8"
  32748. "\x0b\x70\x48\x5c\xed\xb5\x9b\xcb"
  32749. "\x8b\x40\x88\x7e\x69\x73\xf7\x16"
  32750. "\x71\xbb\x5b\xfc\xa3\x47\x5d\xa6"
  32751. "\xae\x3a\x64\xc4\xe7\xb8\xa8\xe7"
  32752. "\xb1\x32\x19\xdb\xe3\x01\xb8\xf0"
  32753. "\xa4\x86\xb4\x4c\xc2\xde\x5c\xd2"
  32754. "\x6c\x77\xd2\xe8\x18\xb7\x0a\xc9"
  32755. "\x3d\x53\xb5\xc4\x5c\xf0\x8c\x06"
  32756. "\xdc\x90\xe0\x74\x47\x1b\x0b\xf6"
  32757. "\xd2\x71\x6b\xc4\xf1\x97\x00\x2d"
  32758. "\x63\x57\x44\x1f\x8c\xf4\xe6\x9b"
  32759. "\xe0\x7a\xdd\xec\x32\x73\x42\x32"
  32760. "\x7f\x35\x67\x60\x0d\xcf\x10\x52"
  32761. "\x61\x22\x53\x8d\x8e\xbb\x33\x76"
  32762. "\x59\xd9\x10\xce\xdf\xef\xc0\x41"
  32763. "\xd5\x33\x29\x6a\xda\x46\xa4\x51"
  32764. "\xf0\x99\x3d\x96\x31\xdd\xb5\xcb"
  32765. "\x3e\x2a\x1f\xc7\x5c\x79\xd3\xc5"
  32766. "\x20\xa1\xb1\x39\x1b\xc6\x0a\x70"
  32767. "\x26\x39\x95\x07\xad\x7a\xc9\x69"
  32768. "\xfe\x81\xc7\x88\x08\x38\xaf\xad"
  32769. "\x9e\x8d\xfb\xe8\x24\x0d\x22\xb8"
  32770. "\x0e\xed\xbe\x37\x53\x7c\xa6\xc6"
  32771. "\x78\x62\xec\xa3\x59\xd9\xc6\x9d"
  32772. "\xb8\x0e\x69\x77\x84\x2d\x6a\x4c"
  32773. "\xc5\xd9\xb2\xa0\x2b\xa8\x80\xcc"
  32774. "\xe9\x1e\x9c\x5a\xc4\xa1\xb2\x37"
  32775. "\x06\x9b\x30\x32\x67\xf7\xe7\xd2"
  32776. "\x42\xc7\xdf\x4e\xd4\xcb\xa0\x12"
  32777. "\x94\xa1\x34\x85\x93\x50\x4b\x0a"
  32778. "\x3c\x7d\x49\x25\x01\x41\x6b\x96"
  32779. "\xa9\x12\xbb\x0b\xc0\xd7\xd0\x93"
  32780. "\x1f\x70\x38\xb8\x21\xee\xf6\xa7"
  32781. "\xee\xeb\xe7\x81\xa4\x13\xb4\x87"
  32782. "\xfa\xc1\xb0\xb5\x37\x8b\x74\xa2"
  32783. "\x4e\xc7\xc2\xad\x3d\x62\x3f\xf8"
  32784. "\x34\x42\xe5\xae\x45\x13\x63\xfe"
  32785. "\xfc\x2a\x17\x46\x61\xa9\xd3\x1c"
  32786. "\x4c\xaf\xf0\x09\x62\x26\x66\x1e"
  32787. "\x74\xcf\xd6\x68\x3d\x7d\xd8\xb7"
  32788. "\xe7\xe6\xf8\xf0\x08\x20\xf7\x47"
  32789. "\x1c\x52\xaa\x0f\x3e\x21\xa3\xf2"
  32790. "\xbf\x2f\x95\x16\xa8\xc8\xc8\x8c"
  32791. "\x99\x0f\x5d\xfb\xfa\x2b\x58\x8a"
  32792. "\x7e\xd6\x74\x02\x60\xf0\xd0\x5b"
  32793. "\x65\xa8\xac\xea\x8d\x68\x46\x34"
  32794. "\x26\x9d\x4f\xb1\x9a\x8e\xc0\x1a"
  32795. "\xf1\xed\xc6\x7a\x83\xfd\x8a\x57"
  32796. "\xf2\xe6\xe4\xba\xfc\xc6\x3c\xad"
  32797. "\x5b\x19\x50\x2f\x3a\xcc\x06\x46"
  32798. "\x04\x51\x3f\x91\x97\xf0\xd2\x07"
  32799. "\xe7\x93\x89\x7e\xb5\x32\x0f\x03"
  32800. "\xe5\x58\x9e\x74\x72\xeb\xc2\x38"
  32801. "\x00\x0c\x91\x72\x69\xed\x7d\x6d"
  32802. "\xc8\x71\xf0\xec\xff\x80\xd9\x1c"
  32803. "\x9e\xd2\xfa\x15\xfc\x6c\x4e\xbc"
  32804. "\xb1\xa6\xbd\xbd\x70\x40\xca\x20"
  32805. "\xb8\x78\xd2\xa3\xc6\xf3\x79\x9c"
  32806. "\xc7\x27\xe1\x6a\x29\xad\xa4\x03",
  32807. .len = 512,
  32808. }, {
  32809. .key = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
  32810. "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
  32811. "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
  32812. "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
  32813. .klen = 32,
  32814. .iv = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
  32815. "\x88\x76\x65\xb4\x1a\x29\x27\x12"
  32816. "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
  32817. "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
  32818. .ptext = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
  32819. "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
  32820. "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
  32821. "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
  32822. "\x38\x24\x62\xdb\x65\x82\x10\x7f"
  32823. "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
  32824. "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
  32825. "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
  32826. "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
  32827. "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
  32828. "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
  32829. "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
  32830. "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
  32831. "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
  32832. "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
  32833. "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
  32834. "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
  32835. "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
  32836. "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
  32837. "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
  32838. "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
  32839. "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
  32840. "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
  32841. "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
  32842. "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
  32843. "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
  32844. "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
  32845. "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
  32846. "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
  32847. "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
  32848. "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
  32849. "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
  32850. "\x28\x04\x4c\xff\x98\x20\x08\x10"
  32851. "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
  32852. "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
  32853. "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
  32854. "\x24\x62\xcf\x17\x36\x84\xc0\x72"
  32855. "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
  32856. "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
  32857. "\x71\x73\x08\x4e\x22\x31\xfd\x88"
  32858. "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
  32859. "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
  32860. "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
  32861. "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
  32862. "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
  32863. "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
  32864. "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
  32865. "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
  32866. "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
  32867. "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
  32868. "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
  32869. "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
  32870. "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
  32871. "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
  32872. "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
  32873. "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
  32874. "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
  32875. "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
  32876. "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
  32877. "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
  32878. "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
  32879. "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
  32880. "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
  32881. "\x85\x12\xca\x61\x65\xd1\x66\xd8"
  32882. "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
  32883. "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
  32884. "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
  32885. "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
  32886. "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
  32887. "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
  32888. "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
  32889. "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
  32890. "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
  32891. "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
  32892. "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
  32893. "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
  32894. "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
  32895. "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
  32896. "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
  32897. "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
  32898. "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
  32899. "\x16\xcb\xae\x7d\x38\x21\x67\x74"
  32900. "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
  32901. "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
  32902. "\xa8\x88\x27\x86\x44\x75\x5b\x29"
  32903. "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
  32904. "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
  32905. "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
  32906. "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
  32907. "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
  32908. "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
  32909. "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
  32910. "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
  32911. "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
  32912. "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
  32913. "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
  32914. "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
  32915. "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
  32916. "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
  32917. "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
  32918. "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
  32919. "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
  32920. "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
  32921. "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
  32922. "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
  32923. "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
  32924. "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
  32925. "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
  32926. "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
  32927. "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
  32928. "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
  32929. "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
  32930. "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
  32931. "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
  32932. "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
  32933. "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
  32934. "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
  32935. "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
  32936. "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
  32937. "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
  32938. "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
  32939. "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
  32940. "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
  32941. "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
  32942. "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
  32943. "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
  32944. "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
  32945. "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
  32946. "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
  32947. "\x55\x9a\xe0\x09\x21\xac\x61\x85"
  32948. "\x4b\x20\x95\x73\x63\x26\xe3\x83"
  32949. "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
  32950. "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
  32951. "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
  32952. "\x98\x09\x11\xb7\x00\x06\x24\x5a"
  32953. "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
  32954. "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
  32955. "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
  32956. "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
  32957. "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
  32958. "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
  32959. "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
  32960. "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
  32961. "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
  32962. "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
  32963. "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
  32964. "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
  32965. "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
  32966. "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
  32967. "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
  32968. "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
  32969. "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
  32970. "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
  32971. "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
  32972. "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
  32973. "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
  32974. "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
  32975. "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
  32976. "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
  32977. "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
  32978. "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
  32979. "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
  32980. "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
  32981. "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
  32982. "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
  32983. "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
  32984. "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
  32985. "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
  32986. "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
  32987. "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
  32988. "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
  32989. "\x62\x96\x79\x0c\x81\x05\x41\xf2"
  32990. "\x07\x20\x26\xe5\x8e\x10\x54\x03"
  32991. "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
  32992. "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
  32993. "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
  32994. "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
  32995. "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
  32996. "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
  32997. "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
  32998. "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
  32999. "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
  33000. "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
  33001. "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
  33002. "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
  33003. "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
  33004. "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
  33005. "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
  33006. "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
  33007. "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
  33008. "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
  33009. "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
  33010. .ctext = "\xfc\x02\x83\x13\x73\x06\x70\x3f"
  33011. "\x71\x28\x98\x61\xe5\x2c\x45\x49"
  33012. "\x18\xa2\x0e\x17\xc9\xdb\x4d\xf6"
  33013. "\xbe\x05\x02\x35\xc1\x18\x61\x28"
  33014. "\xff\x28\x0a\xd9\x00\xb8\xed\xec"
  33015. "\x14\x80\x88\x56\xcf\x98\x32\xcc"
  33016. "\xb0\xee\xb4\x5e\x2d\x61\x59\xcb"
  33017. "\x48\xc9\x25\xaa\x7e\x5f\xe5\x4f"
  33018. "\x95\x8f\x5d\x47\xe8\xc3\x09\xb4"
  33019. "\xce\xe7\x74\xcd\xc6\x09\x5c\xfc"
  33020. "\xc7\x79\xc9\x39\xe4\xe3\x9b\x59"
  33021. "\x67\x61\x10\xc9\xb7\x7a\xa8\x11"
  33022. "\x59\xf6\x7a\x67\x1c\x3a\x70\x76"
  33023. "\x2e\x0e\xbd\x10\x93\x01\x06\xea"
  33024. "\x51\xc6\x5c\xa7\xda\xd1\x7d\x06"
  33025. "\x8b\x1d\x5b\xb6\x87\xf0\x32\xbe"
  33026. "\xff\x55\xaa\x58\x5a\x28\xd1\x64"
  33027. "\x45\x3b\x0b\x5c\xee\xc4\x12\x2d"
  33028. "\x1f\xb7\xa5\x73\xf5\x20\xf5\xa8"
  33029. "\x10\x9d\xd8\x16\xd2\x05\x4d\x49"
  33030. "\x99\x4a\x71\x56\xec\xa3\xc7\x27"
  33031. "\xb0\x98\xcd\x59\x3c\x8a\xd1\x9e"
  33032. "\x33\xa5\x92\xf2\xb7\x87\x23\x5d"
  33033. "\x53\x9a\x8e\x7c\x63\x57\x5e\x9a"
  33034. "\x21\x54\x7a\x3c\x5a\xd5\x68\x69"
  33035. "\x35\x17\x51\x06\x19\x82\x9d\x44"
  33036. "\x9e\x8a\x75\xc5\x16\x55\xa4\x78"
  33037. "\x95\x63\xc3\xf0\x91\x73\x77\x44"
  33038. "\x0c\xff\xb9\xb3\xa7\x5f\xcf\x2a"
  33039. "\xa2\x54\x9c\xe3\x8b\x7e\x9d\x65"
  33040. "\xe5\x64\x8b\xbe\x06\x3a\x90\x31"
  33041. "\xdb\x42\x78\xe9\xe6\x8a\xae\xba"
  33042. "\x8f\xfb\xc9\x3d\xd9\xc2\x3e\x57"
  33043. "\xd5\x58\xfe\x70\x44\xe5\x2a\xd5"
  33044. "\x87\xcf\x9f\x6a\x02\xde\x48\xe9"
  33045. "\x13\xed\x8d\x2b\xf2\xa1\x56\x07"
  33046. "\x36\x2d\xcf\xc3\x5c\xd4\x4b\x20"
  33047. "\xb0\xdf\x1a\x70\xed\x0a\xe4\x2e"
  33048. "\x9a\xfc\x88\xa1\xc4\x2d\xd6\xb8"
  33049. "\xf1\x6e\x2c\x5c\xdc\x0e\xb0\x21"
  33050. "\x2d\x76\xb8\xc3\x05\x4c\xf5\xc5"
  33051. "\x9a\x14\xab\x08\xc2\x67\x59\x30"
  33052. "\x7a\xef\xd8\x4a\x89\x49\xd4\xf0"
  33053. "\x22\x39\xf2\x61\xaa\x70\x36\xcf"
  33054. "\x65\xee\x43\x83\x2e\x32\xe4\xc9"
  33055. "\xc2\xf1\xc7\x08\x28\x59\x10\x6f"
  33056. "\x7a\xeb\x8f\x78\x9e\xdf\x07\x0f"
  33057. "\xca\xc7\x02\x6a\x2e\x2a\xf0\x64"
  33058. "\xfa\x4c\x8c\x4c\xfc\x13\x23\x63"
  33059. "\x54\xeb\x1d\x41\xdf\x88\xd6\x66"
  33060. "\xae\x5e\x31\x74\x5d\x84\x65\xb8"
  33061. "\x61\x1c\x88\x1b\x8f\xb6\x14\x4e"
  33062. "\x73\x23\x27\x71\x85\x04\x07\x59"
  33063. "\x18\xa3\x2b\x69\x2a\x42\x81\xbf"
  33064. "\x40\xf4\x40\xdf\x04\xb8\x6c\x2e"
  33065. "\x21\x5b\x22\x25\x61\x01\x96\xce"
  33066. "\xfb\xbc\x75\x25\x2c\x03\x55\xea"
  33067. "\xb6\x56\x31\x03\xc8\x98\x77\xd6"
  33068. "\x30\x19\x9e\x45\x05\xfd\xca\xdf"
  33069. "\xae\x89\x30\xa3\xc1\x65\x41\x67"
  33070. "\x12\x8e\xa4\x61\xd0\x87\x04\x0a"
  33071. "\xe6\xf3\x43\x3a\x38\xce\x22\x36"
  33072. "\x41\xdc\xe1\x7d\xd2\xa6\xe2\x66"
  33073. "\x21\x8d\xc9\x59\x73\x52\x34\xd8"
  33074. "\x1f\xf1\x87\x00\x9b\x12\x74\xeb"
  33075. "\xbb\xa9\x34\x0c\x8e\x79\x74\x64"
  33076. "\xbf\x94\x97\xe4\x94\xda\xf0\x39"
  33077. "\x66\xa8\xd9\x82\xe3\x11\x3d\xe7"
  33078. "\xb3\x9a\x40\x7a\x6f\x71\xc7\x0f"
  33079. "\x7b\x6d\x59\x79\x18\x2f\x11\x60"
  33080. "\x1e\xe0\xae\x1b\x1b\xb4\xad\x4d"
  33081. "\x63\xd9\x3e\xa0\x8f\xe3\x66\x8c"
  33082. "\xfe\x5a\x73\x07\x95\x27\x1a\x07"
  33083. "\x6e\xd6\x14\x3f\xbe\xc5\x99\x94"
  33084. "\xcf\x40\xf4\x39\x1c\xf2\x99\x5b"
  33085. "\xb7\xfb\xb4\x4e\x5f\x21\x10\x04"
  33086. "\x24\x08\xd4\x0d\x10\x7a\x2f\x52"
  33087. "\x7d\x91\xc3\x38\xd3\x16\xf0\xfd"
  33088. "\x53\xba\xda\x88\xa5\xf6\xc7\xfd"
  33089. "\x63\x4a\x9f\x48\xb5\x31\xc2\xe1"
  33090. "\x7b\x3e\xac\x8d\xc9\x95\x02\x92"
  33091. "\xcc\xbd\x0e\x15\x2d\x97\x08\x82"
  33092. "\xa6\x99\xbc\x2c\x96\x91\xde\xa4"
  33093. "\x9c\xf5\x2c\xef\x12\x29\xb0\x72"
  33094. "\x5f\x60\x5d\x3d\xf3\x85\x59\x79"
  33095. "\xac\x06\x63\x74\xcc\x1a\x8d\x0e"
  33096. "\xa7\x5f\xd9\x3e\x84\xf7\xbb\xde"
  33097. "\x06\xd9\x4b\xab\xee\xb2\x03\xbe"
  33098. "\x68\x49\x72\x84\x8e\xf8\x45\x2b"
  33099. "\x59\x99\x17\xd3\xe9\x32\x79\xc3"
  33100. "\x83\x4c\x7a\x6c\x71\x53\x8c\x09"
  33101. "\x76\xfb\x3e\x80\x99\xbc\x2c\x7d"
  33102. "\x42\xe5\x70\x08\x80\xc7\xaf\x15"
  33103. "\x90\xda\x98\x98\x81\x04\x1c\x4d"
  33104. "\x78\xf1\xf3\xcc\x1b\x3a\x7b\xef"
  33105. "\xea\xe1\xee\x0e\xd2\x32\xb6\x63"
  33106. "\xbf\xb2\xb5\x86\x8d\x16\xd3\x23"
  33107. "\x04\x59\x51\xbb\x17\x03\xc0\x07"
  33108. "\x93\xbf\x72\x58\x30\xf2\x0a\xa2"
  33109. "\xbc\x60\x86\x3b\x68\x91\x67\x14"
  33110. "\x10\x76\xda\xa3\x98\x2d\xfc\x8a"
  33111. "\xb8\x95\xf7\xd2\x8b\x97\x8b\xfc"
  33112. "\xf2\x9e\x86\x20\xb6\xdf\x93\x41"
  33113. "\x06\x5e\x37\x3e\xe2\xb8\xd5\x06"
  33114. "\x59\xd2\x8d\x43\x91\x5a\xed\x94"
  33115. "\x54\xc2\x77\xbc\x0b\xb4\x29\x80"
  33116. "\x22\x19\xe7\x35\x1f\x29\x4f\xd8"
  33117. "\x02\x98\xee\x83\xca\x4c\x94\xa3"
  33118. "\xec\xde\x4b\xf5\xca\x57\x93\xa3"
  33119. "\x72\x69\xfe\x27\x7d\x39\x24\x9a"
  33120. "\x60\x19\x72\xbe\x24\xb2\x2d\x99"
  33121. "\x8c\xb7\x32\xf8\x74\x77\xfc\x8d"
  33122. "\xb2\xc1\x7a\x88\x28\x26\xea\xb7"
  33123. "\xad\xf0\x38\x49\x88\x78\x73\xcd"
  33124. "\x01\xef\xb9\x30\x1a\x33\xa3\x24"
  33125. "\x9b\x0b\xc5\x89\x64\x3f\xbe\x76"
  33126. "\xd5\xa5\x28\x74\xa2\xc6\xa0\xa0"
  33127. "\xdd\x13\x81\x64\x2f\xd1\xab\x15"
  33128. "\xab\x13\xb5\x68\x59\xa4\x9f\x0e"
  33129. "\x1e\x0a\xaf\xf7\x0b\x6e\x6b\x0b"
  33130. "\xf7\x95\x4c\xbc\x1d\x40\x6d\x9c"
  33131. "\x08\x42\xef\x07\x03\xb7\xa3\xea"
  33132. "\x2a\x5f\xec\x41\x3c\x72\x31\x9d"
  33133. "\xdc\x6b\x3a\x5e\x35\x3d\x12\x09"
  33134. "\x27\xe8\x63\xbe\xcf\xb3\xbc\x01"
  33135. "\x2d\x0c\x86\xb2\xab\x4a\x69\xe5"
  33136. "\xf8\x45\x97\x76\x0e\x31\xe5\xc6"
  33137. "\x4c\x4f\x94\xa5\x26\x19\x9f\x1b"
  33138. "\xe1\xf4\x79\x04\xb4\x93\x92\xdc"
  33139. "\xa5\x2a\x66\x25\x0d\xb2\x9e\xea"
  33140. "\xa8\xf6\x02\x77\x2d\xd1\x3f\x59"
  33141. "\x5c\x04\xe2\x36\x52\x5f\xa1\x27"
  33142. "\x0a\x07\x56\xb6\x2d\xd5\x90\x32"
  33143. "\x64\xee\x3f\x42\x8f\x61\xf8\xa0"
  33144. "\xc1\x8b\x1e\x0b\xa2\x73\xa9\xf3"
  33145. "\xc9\x0e\xb1\x96\x3a\x67\x5f\x1e"
  33146. "\xd1\x98\x57\xa2\xba\xb3\x23\x9d"
  33147. "\xa3\xc6\x3c\x7d\x5e\x3e\xb3\xe8"
  33148. "\x80\xae\x2d\xda\x85\x90\x69\x3c"
  33149. "\xf0\xe7\xdd\x9e\x20\x10\x52\xdb"
  33150. "\xc3\xa0\x15\x73\xee\xb1\xf1\x0f"
  33151. "\xf1\xf8\x3f\x40\xe5\x17\x80\x4e"
  33152. "\x91\x95\xc7\xec\xd1\x9c\xd9\x1a"
  33153. "\x8b\xac\xec\xc9\x0c\x07\xf4\xdc"
  33154. "\x77\x2d\xa2\xc4\xf8\x27\xb5\x41"
  33155. "\x2f\x85\xa6\x48\xad\x2a\x58\xc5"
  33156. "\xea\xfa\x1c\xdb\xfd\xb7\x70\x45"
  33157. "\xfc\xad\x11\xaf\x05\xed\xbf\xb6"
  33158. "\x3c\xe1\x57\xb8\x72\x4a\xa0\x6b"
  33159. "\x40\xd3\xda\xa9\xbc\xa5\x02\x95"
  33160. "\x8c\xf0\x4e\x67\xb2\x58\x66\xea"
  33161. "\x58\x0e\xc4\x88\xbc\x1d\x3b\x15"
  33162. "\x17\xc8\xf5\xd0\x69\x08\x0a\x01"
  33163. "\x80\x2e\x9e\x69\x4c\x37\x0b\xba"
  33164. "\xfb\x1a\xa9\xc3\x5f\xec\x93\x7c"
  33165. "\x4f\x72\x68\x1a\x05\xa1\x32\xe1"
  33166. "\x16\x57\x9e\xa6\xe0\x42\xfa\x76"
  33167. "\xc2\xf6\xd3\x9b\x37\x0d\xa3\x58"
  33168. "\x30\x27\xe7\xea\xb1\xc3\x43\xfb"
  33169. "\x67\x04\x70\x86\x0a\x71\x69\x34"
  33170. "\xca\xb1\xe3\x4a\x56\xc9\x29\xd1"
  33171. "\x12\x6a\xee\x89\xfd\x27\x83\xdf"
  33172. "\x32\x1a\xc2\xe9\x94\xcc\x44\x2e"
  33173. "\x0f\x3e\xc8\xc1\x70\x5b\xb0\xe8"
  33174. "\x6d\x47\xe3\x39\x75\xd5\x45\x8a"
  33175. "\x48\x4c\x64\x76\x6f\xae\x24\x6f"
  33176. "\xae\x77\x33\x5b\xf5\xca\x9c\x30"
  33177. "\x2c\x27\x15\x5e\x9c\x65\xad\x2a"
  33178. "\x88\xb1\x36\xf6\xcd\x5e\x73\x72"
  33179. "\x99\x5c\xe2\xe4\xb8\x3e\x12\xfb"
  33180. "\x55\x86\xfa\xab\x53\x12\xdc\x6a"
  33181. "\xe3\xfe\x6a\xeb\x9b\x5d\xeb\x72"
  33182. "\x9d\xf1\xbb\x80\x80\x76\x2d\x57"
  33183. "\x11\xde\xcf\xae\x46\xad\xdb\xcd"
  33184. "\x62\x66\x3d\x7b\x7f\xcb\xc4\x43"
  33185. "\x81\x0c\x7e\xb9\xb7\x47\x1a\x40"
  33186. "\xfd\x08\x51\xbe\x01\x1a\xd8\x31"
  33187. "\x43\x5e\x24\x91\xa2\x53\xa1\xc5"
  33188. "\x8a\xe4\xbc\x00\x8e\xf7\x0c\x30"
  33189. "\xdf\x03\x34\x2f\xce\xe4\x2e\xda"
  33190. "\x2b\x87\xfc\xf8\x9b\x50\xd5\xb0"
  33191. "\x5b\x08\xc6\x17\xa0\xae\x6b\x24"
  33192. "\xe2\x1d\xd0\x47\xbe\xc4\x8f\x62"
  33193. "\x1d\x12\x26\xc7\x78\xd4\xf2\xa3"
  33194. "\xea\x39\x8c\xcb\x54\x3e\x2b\xb9"
  33195. "\x9a\x8f\x97\xcf\x68\x53\x40\x02"
  33196. "\x56\xac\x52\xbb\x62\x3c\xc6\x3f"
  33197. "\x3a\x53\x3c\xe8\x21\x9a\x60\x65"
  33198. "\x10\x6e\x59\xc3\x4f\xc3\x07\xc8"
  33199. "\x61\x1c\xea\x62\x6e\xa2\x5a\x12"
  33200. "\xd6\x10\x91\xbe\x5e\x58\x73\xbe"
  33201. "\x77\xb8\xb7\x98\xc7\x7e\x78\x9a",
  33202. .len = 1536,
  33203. }, {
  33204. .key = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
  33205. "\x70\x47\x8c\xea\x87\x30\x1d\x58"
  33206. "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
  33207. "\x56\x95\x83\x98\x38\x80\x84\x8a",
  33208. .klen = 32,
  33209. .iv = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
  33210. "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
  33211. "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
  33212. "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
  33213. .ptext = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
  33214. "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
  33215. "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
  33216. "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
  33217. "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
  33218. "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
  33219. "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
  33220. "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
  33221. "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
  33222. "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
  33223. "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
  33224. "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
  33225. "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
  33226. "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
  33227. "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
  33228. "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
  33229. "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
  33230. "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
  33231. "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
  33232. "\x35\x21\x66\x78\x3d\xb6\x65\x83"
  33233. "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
  33234. "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
  33235. "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
  33236. "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
  33237. "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
  33238. "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
  33239. "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
  33240. "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
  33241. "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
  33242. "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
  33243. "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
  33244. "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
  33245. "\x96\x87\xc9\x34\x02\x26\xde\x20"
  33246. "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
  33247. "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
  33248. "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
  33249. "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
  33250. "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
  33251. "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
  33252. "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
  33253. "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
  33254. "\x85\xfd\x22\x08\x00\xae\x72\x10"
  33255. "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
  33256. "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
  33257. "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
  33258. "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
  33259. "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
  33260. "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
  33261. "\x93\x45\x38\x95\xb9\x69\xe9\x62"
  33262. "\x21\x73\xbd\x81\x73\xac\x15\x74"
  33263. "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
  33264. "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
  33265. "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
  33266. "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
  33267. "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
  33268. "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
  33269. "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
  33270. "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
  33271. "\x24\x43\xb3\x0e\xba\xad\x63\x63"
  33272. "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
  33273. "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
  33274. "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
  33275. "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
  33276. "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
  33277. "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
  33278. "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
  33279. "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
  33280. "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
  33281. "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
  33282. "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
  33283. "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
  33284. "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
  33285. "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
  33286. "\x9d\x46\xae\x67\x00\x3b\x40\x94"
  33287. "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
  33288. "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
  33289. "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
  33290. "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
  33291. "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
  33292. "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
  33293. "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
  33294. "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
  33295. "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
  33296. "\x76\xca\x9f\x56\xae\x04\x2e\x75"
  33297. "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
  33298. "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
  33299. "\x08\x67\x02\x01\xe3\x64\x82\xee"
  33300. "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
  33301. "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
  33302. "\x85\x48\xb6\x97\x97\x02\x43\x1f"
  33303. "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
  33304. "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
  33305. "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
  33306. "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
  33307. "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
  33308. "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
  33309. "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
  33310. "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
  33311. "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
  33312. "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
  33313. "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
  33314. "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
  33315. "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
  33316. "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
  33317. "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
  33318. "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
  33319. "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
  33320. "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
  33321. "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
  33322. "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
  33323. "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
  33324. "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
  33325. "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
  33326. "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
  33327. "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
  33328. "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
  33329. "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
  33330. "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
  33331. "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
  33332. "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
  33333. "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
  33334. "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
  33335. "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
  33336. "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
  33337. "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
  33338. "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
  33339. "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
  33340. "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
  33341. "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
  33342. "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
  33343. "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
  33344. "\x36\x12\x35\x28\x64\x12\xe7\xbb"
  33345. "\x50\xac\x45\x15\x7b\x16\x23\x5e"
  33346. "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
  33347. "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
  33348. "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
  33349. "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
  33350. "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
  33351. "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
  33352. "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
  33353. "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
  33354. "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
  33355. "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
  33356. "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
  33357. "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
  33358. "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
  33359. "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
  33360. "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
  33361. "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
  33362. "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
  33363. "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
  33364. "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
  33365. "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
  33366. "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
  33367. "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
  33368. "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
  33369. "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
  33370. "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
  33371. "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
  33372. "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
  33373. "\x7d\x65\x57\x65\x98\xff\x8b\x02"
  33374. "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
  33375. "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
  33376. "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
  33377. "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
  33378. "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
  33379. "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
  33380. "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
  33381. "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
  33382. "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
  33383. "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
  33384. "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
  33385. "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
  33386. "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
  33387. "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
  33388. "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
  33389. "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
  33390. "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
  33391. "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
  33392. "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
  33393. "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
  33394. "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
  33395. "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
  33396. "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
  33397. "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
  33398. "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
  33399. "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
  33400. "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
  33401. "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
  33402. "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
  33403. "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
  33404. "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
  33405. "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
  33406. "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
  33407. "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
  33408. "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
  33409. "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
  33410. "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
  33411. "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
  33412. "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
  33413. "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
  33414. "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
  33415. "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
  33416. "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
  33417. "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
  33418. "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
  33419. "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
  33420. "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
  33421. "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
  33422. "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
  33423. "\x53\xf1\x61\x97\x63\x52\x38\x86"
  33424. "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
  33425. "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
  33426. "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
  33427. "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
  33428. "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
  33429. "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
  33430. "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
  33431. "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
  33432. "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
  33433. "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
  33434. "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
  33435. "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
  33436. "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
  33437. "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
  33438. "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
  33439. "\x48\xb9\x27\x62\x00\x12\xc5\x03"
  33440. "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
  33441. "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
  33442. "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
  33443. "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
  33444. "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
  33445. "\x99\xd5\xff\x34\x93\x8f\x31\x45"
  33446. "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
  33447. "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
  33448. "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
  33449. "\x26\xec\x3a\x64\xc4\xab\x74\x97"
  33450. "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
  33451. "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
  33452. "\x68\x50\x22\x16\x96\x2f\xc4\x23"
  33453. "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
  33454. "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
  33455. "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
  33456. "\x20\x89\xef\x44\x22\x38\x3c\x14"
  33457. "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
  33458. "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
  33459. "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
  33460. "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
  33461. "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
  33462. "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
  33463. "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
  33464. "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
  33465. "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
  33466. "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
  33467. "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
  33468. "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
  33469. "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
  33470. "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
  33471. "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
  33472. "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
  33473. "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
  33474. "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
  33475. "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
  33476. "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
  33477. "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
  33478. "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
  33479. "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
  33480. "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
  33481. "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
  33482. "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
  33483. "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
  33484. "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
  33485. "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
  33486. "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
  33487. "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
  33488. "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
  33489. "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
  33490. "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
  33491. "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
  33492. "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
  33493. "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
  33494. "\x60\x81\x75\x29\x9e\xce\x2a\x70"
  33495. "\x28\x0c\x87\xe5\x46\x73\x76\x66"
  33496. "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
  33497. "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
  33498. "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
  33499. "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
  33500. "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
  33501. "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
  33502. "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
  33503. "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
  33504. "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
  33505. "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
  33506. "\xf1\x11\x02\x64\x09\x25\x7c\x26"
  33507. "\xee\xad\x50\x68\x31\x26\x16\x0f"
  33508. "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
  33509. "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
  33510. "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
  33511. "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
  33512. "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
  33513. "\x40\x12\x43\x31\xb8\x12\xe0\x95"
  33514. "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
  33515. "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
  33516. "\xab\x03\xda\x41\xab\xc5\x4e\x33"
  33517. "\x5a\x63\x94\x90\x22\x72\x54\x26"
  33518. "\x93\x65\x99\x45\x55\xd3\x55\x56"
  33519. "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
  33520. "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
  33521. "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
  33522. "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
  33523. "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
  33524. "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
  33525. "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
  33526. "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
  33527. "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
  33528. "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
  33529. "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
  33530. "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
  33531. "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
  33532. "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
  33533. "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
  33534. "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
  33535. "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
  33536. "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
  33537. "\xad\x6e\x83\x90\x21\x10\xb8\x07"
  33538. "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
  33539. "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
  33540. "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
  33541. "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
  33542. "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
  33543. "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
  33544. "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
  33545. "\x02\x5a\x20\x4d\x43\x08\x71\x49"
  33546. "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
  33547. "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
  33548. "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
  33549. "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
  33550. "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
  33551. "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
  33552. "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
  33553. "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
  33554. "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
  33555. "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
  33556. "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
  33557. "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
  33558. "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
  33559. "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
  33560. "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
  33561. "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
  33562. "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
  33563. "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
  33564. "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
  33565. "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
  33566. "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
  33567. "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
  33568. "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
  33569. "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
  33570. "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
  33571. "\x08\x48\xfd\x9b\x47\x41\x10\xae"
  33572. "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
  33573. "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
  33574. "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
  33575. "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
  33576. "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
  33577. "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
  33578. "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
  33579. "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
  33580. "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
  33581. "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
  33582. "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
  33583. "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
  33584. "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
  33585. "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
  33586. "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
  33587. "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
  33588. "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
  33589. "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
  33590. "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
  33591. "\x54\x14\x91\x12\x41\x41\x54\xa2"
  33592. "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
  33593. "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
  33594. "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
  33595. "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
  33596. "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
  33597. "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
  33598. "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
  33599. "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
  33600. "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
  33601. "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
  33602. "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
  33603. "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
  33604. "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
  33605. "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
  33606. "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
  33607. "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
  33608. "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
  33609. "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
  33610. "\x58\xec\x70\x4f\x40\x25\x2b\xba"
  33611. "\x96\x59\xac\x34\x45\x29\xc6\x57"
  33612. "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
  33613. "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
  33614. "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
  33615. "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
  33616. "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
  33617. "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
  33618. "\xea\xa5\x56\x02\x5b\x93\x13\x46"
  33619. "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
  33620. "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
  33621. "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
  33622. "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
  33623. "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
  33624. "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
  33625. "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
  33626. "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
  33627. "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
  33628. "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
  33629. "\xad\x57\xae\x98\x83\xd5\x92\x4e"
  33630. "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
  33631. "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
  33632. "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
  33633. "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
  33634. "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
  33635. "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
  33636. "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
  33637. "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
  33638. "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
  33639. "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
  33640. "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
  33641. "\x32\x06\x3f\x12\x23\x19\x22\x82"
  33642. "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
  33643. "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
  33644. "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
  33645. "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
  33646. "\x35\x79\x84\x78\x06\x68\x97\x30"
  33647. "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
  33648. "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
  33649. "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
  33650. "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
  33651. "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
  33652. "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
  33653. "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
  33654. "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
  33655. "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
  33656. "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
  33657. "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
  33658. "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
  33659. "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
  33660. "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
  33661. "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
  33662. "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
  33663. "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
  33664. "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
  33665. "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
  33666. "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
  33667. "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
  33668. "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
  33669. "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
  33670. "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
  33671. "\x13\xa7\x47\x89\x62\xa3\x03\x19"
  33672. "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
  33673. "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
  33674. "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
  33675. "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
  33676. "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
  33677. "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
  33678. "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
  33679. "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
  33680. "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
  33681. "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
  33682. "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
  33683. "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
  33684. "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
  33685. "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
  33686. "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
  33687. "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
  33688. "\x20\xa9\x37\x78\x32\x03\x60\xcc"
  33689. "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
  33690. "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
  33691. "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
  33692. "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
  33693. "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
  33694. "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
  33695. "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
  33696. "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
  33697. "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
  33698. "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
  33699. "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
  33700. "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
  33701. "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
  33702. "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
  33703. "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
  33704. "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
  33705. "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
  33706. "\x12\xab\x95\x66\xec\x09\x64\xea"
  33707. "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
  33708. "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
  33709. "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
  33710. "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
  33711. "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
  33712. "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
  33713. "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
  33714. "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
  33715. "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
  33716. "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
  33717. "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
  33718. "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
  33719. "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
  33720. "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
  33721. "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
  33722. "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
  33723. "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
  33724. "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
  33725. .ctext = "\x2c\xf5\x4c\xc9\x99\x19\x83\x84"
  33726. "\x09\xbc\xe6\xad\xbe\xb6\x6b\x1b"
  33727. "\x75\x0b\x3d\x33\x10\xb4\x8b\xf7"
  33728. "\xa7\xc7\xba\x9f\x6e\xd7\xc7\xfd"
  33729. "\x58\xef\x24\xf4\xdc\x26\x3f\x35"
  33730. "\x02\x98\xf2\x8c\x96\xca\xfc\xca"
  33731. "\xca\xfa\x27\xe6\x23\x1f\xf0\xc7"
  33732. "\xe3\x46\xbf\xca\x7b\x4e\x24\xcd"
  33733. "\xd0\x13\x3f\x80\xd6\x5b\x0b\xdc"
  33734. "\xad\xc6\x49\x77\xd7\x58\xf5\xfd"
  33735. "\x58\xba\x72\x0d\x9e\x0b\x63\xc3"
  33736. "\x86\xac\x06\x97\x70\x42\xec\x3a"
  33737. "\x0d\x53\x27\x17\xbd\x3e\xcb\xe0"
  33738. "\xaa\x19\xb4\xfe\x5d\x1b\xcb\xd7"
  33739. "\x99\xc3\x19\x45\x6f\xdf\x64\x44"
  33740. "\x9f\xf8\x55\x1b\x72\x8d\x78\x51"
  33741. "\x3c\x83\x48\x8f\xaf\x05\x60\x7d"
  33742. "\x22\xce\x07\x53\xfd\x91\xcf\xfa"
  33743. "\x5f\x86\x66\x3e\x72\x67\x7f\xc1"
  33744. "\x49\x82\xc7\x1c\x91\x1e\x48\xcd"
  33745. "\x5e\xc6\x5f\xd9\xc9\x43\x88\x35"
  33746. "\x80\xba\x91\xe1\x54\x4b\x14\xbe"
  33747. "\xbd\x75\x48\xb8\xde\x22\x64\xb5"
  33748. "\x8c\xcb\x5e\x92\x99\x8f\x4a\xab"
  33749. "\x00\x6c\xb4\x2e\x03\x3b\x0e\xee"
  33750. "\x4d\x39\x05\xbc\x94\x80\xbb\xb2"
  33751. "\x36\x16\xa3\xd9\x8f\x61\xd7\x67"
  33752. "\xb5\x90\x46\x85\xe1\x4e\x71\x84"
  33753. "\xd0\x84\xc0\xc0\x8f\xad\xdb\xeb"
  33754. "\x44\xf4\x66\x35\x3f\x92\xa2\x05"
  33755. "\xa4\x9c\xb8\xdc\x77\x6c\x85\x34"
  33756. "\xd2\x6a\xea\x32\xb8\x08\xf6\x13"
  33757. "\x78\x1e\x29\xef\x12\x54\x16\x28"
  33758. "\x25\xf8\x32\x0e\x4f\x94\xe6\xb3"
  33759. "\x0b\x97\x79\x97\xb3\xb0\x37\x61"
  33760. "\xa4\x10\x6f\x15\x9c\x7d\x22\x41"
  33761. "\xe2\xd7\xa7\xa0\xfc\xc5\x62\x55"
  33762. "\xed\x68\x39\x7b\x09\xd2\x17\xaa"
  33763. "\xf2\xb8\xc9\x1d\xa2\x23\xfd\xaa"
  33764. "\x9c\x57\x16\x0d\xe3\x63\x3c\x2b"
  33765. "\x13\xdd\xa2\xf0\x8e\xd3\x02\x81"
  33766. "\x09\xba\x80\x02\xdb\x97\xfe\x0f"
  33767. "\x77\x8d\x18\xf1\xf4\x59\x27\x79"
  33768. "\xa3\x46\x88\xda\x51\x67\xd0\xe9"
  33769. "\x5d\x22\x98\xc1\xe4\xea\x08\xda"
  33770. "\xf7\xb9\x16\x71\x36\xbd\x43\x8a"
  33771. "\x4b\x6e\xf3\xaa\xb0\xba\x1a\xbc"
  33772. "\xaa\xca\xde\x5c\xc0\xa5\x11\x6d"
  33773. "\x8a\x8f\xcc\x04\xfc\x6c\x89\x75"
  33774. "\x4b\x2c\x29\x6f\x41\xc7\x6e\xda"
  33775. "\xea\xa6\xaf\xb0\xb1\x46\x9e\x30"
  33776. "\x5e\x11\x46\x07\x3b\xd6\xaa\x36"
  33777. "\xa4\x01\x84\x1d\xb9\x8e\x58\x9d"
  33778. "\xa9\xb6\x1c\x56\x5c\x5a\xde\xfa"
  33779. "\x66\x96\xe6\x29\x26\xd4\x68\xd0"
  33780. "\x1a\xcb\x98\xbb\xce\x19\xbb\x87"
  33781. "\x00\x6c\x59\x17\xe3\xd1\xe6\x5c"
  33782. "\xd0\x98\xe1\x91\xc4\x28\xaf\xbf"
  33783. "\xbb\xdf\x75\x4e\xd9\x9d\x99\x0f"
  33784. "\xc6\x0c\x03\x24\x3e\xb6\xd7\x3f"
  33785. "\xd5\x43\x4a\x47\x26\xab\xf6\x3f"
  33786. "\x7f\xf1\x15\x0c\xde\x68\xa0\x5f"
  33787. "\x63\xf9\xe2\x5e\x5d\x42\xf1\x36"
  33788. "\x38\x90\x06\x18\x84\xf2\xfa\x81"
  33789. "\x36\x33\x29\x18\xaa\x8c\x49\x0e"
  33790. "\xda\x27\x38\x9c\x12\x8b\x83\xfa"
  33791. "\x40\xd0\xb6\x0a\x72\x85\xf0\xc7"
  33792. "\xaa\x5f\x30\x1a\x6f\x45\xe4\x35"
  33793. "\x4c\xf3\x4c\xe4\x1c\xd7\x48\x77"
  33794. "\xdd\x3e\xe4\x73\x44\xb1\xb8\x1c"
  33795. "\x42\x40\x90\x61\xb1\x6d\x8b\x20"
  33796. "\x2d\x30\x63\x01\x26\x71\xbc\x5a"
  33797. "\x76\xce\xc1\xfb\x13\xf9\x4c\x6e"
  33798. "\x7a\x16\x8a\x53\xcb\x07\xaa\xa1"
  33799. "\xba\xd0\x68\x7a\x2d\x25\x48\x85"
  33800. "\xb7\x6b\x0a\x05\xf2\xdf\x0e\x46"
  33801. "\x4e\xc8\xcd\x59\x5b\x9a\x2e\x9e"
  33802. "\xdb\x4a\xf6\xfd\x7b\xa4\x5c\x4d"
  33803. "\x78\x8d\xe7\xb0\x84\x3f\xf0\xc1"
  33804. "\x47\x39\xbf\x1e\x8c\xc2\x11\x0d"
  33805. "\x90\xd1\x17\x42\xb3\x50\xeb\xaa"
  33806. "\xcd\xc0\x98\x36\x84\xd0\xfe\x75"
  33807. "\xf8\x8f\xdc\xa0\xa1\x53\xe5\x8c"
  33808. "\xf2\x0f\x4a\x31\x48\xae\x3d\xaf"
  33809. "\x19\x4b\x75\x2e\xc1\xe3\xcd\x4d"
  33810. "\x2c\xa4\x54\x7b\x4d\x5e\x93\xa2"
  33811. "\xe7\x1f\x34\x19\x9f\xb2\xbf\x22"
  33812. "\x65\x1a\x03\x48\x12\x66\x50\x3e"
  33813. "\x0e\x5d\x60\x29\x44\x69\x90\xee"
  33814. "\x9d\x8b\x55\x78\xdf\x63\x31\xc3"
  33815. "\x1b\x21\x7d\x06\x21\x86\x60\xb0"
  33816. "\x9d\xdb\x3d\xcc\xe2\x20\xf4\x88"
  33817. "\x20\x62\x2e\xe8\xa9\xea\x42\x41"
  33818. "\xb0\xab\x73\x61\x40\x39\xac\x11"
  33819. "\x55\x27\x51\x5f\x11\xef\xb1\x23"
  33820. "\xff\x81\x99\x86\x0c\x6f\x16\xaf"
  33821. "\xf6\x89\x86\xd8\xf6\x41\xc2\x80"
  33822. "\x21\xf4\xd5\x6d\xef\xa3\x0c\x4d"
  33823. "\x59\xfd\xdc\x93\x1a\x4f\xe6\x22"
  33824. "\x83\x40\x0c\x98\x67\xba\x7c\x93"
  33825. "\x0b\xa9\x89\xfc\x3e\xff\x84\x12"
  33826. "\x3e\x27\xa3\x8a\x48\x17\xd6\x08"
  33827. "\x85\x2f\xf1\xa8\x90\x90\x71\xbe"
  33828. "\x44\xd6\x34\xbf\x74\x52\x0a\x17"
  33829. "\x39\x64\x78\x1a\xbc\x81\xbe\xc8"
  33830. "\xea\x7f\x0b\x5a\x2c\x77\xff\xac"
  33831. "\xdd\x37\x35\x78\x09\x28\x29\x4a"
  33832. "\xd1\xd6\x6c\xc3\xd5\x70\xdd\xfc"
  33833. "\x21\xcd\xce\xeb\x51\x11\xf7\xbc"
  33834. "\x12\x43\x1e\x6c\xa1\xa3\x79\xe6"
  33835. "\x1d\x63\x52\xff\xf0\xbb\xcf\xec"
  33836. "\x56\x58\x63\xe2\x21\x0b\x2d\x5c"
  33837. "\x64\x09\xf3\xee\x05\x42\x34\x93"
  33838. "\x38\xa8\x60\xea\x1d\x95\x90\x65"
  33839. "\xad\x2f\xda\x1d\xdd\x21\x1a\xf1"
  33840. "\x94\xe0\x6a\x81\xa1\xd3\x63\x31"
  33841. "\x45\x73\xce\x54\x4e\xb1\x75\x26"
  33842. "\x59\x18\xc2\x31\x73\xe6\xf5\x7d"
  33843. "\x06\x5b\x65\x67\xe5\x69\x90\xdf"
  33844. "\x27\x6a\xbf\x81\x7d\x92\xbe\xd1"
  33845. "\x4e\x0b\xa8\x18\x94\x72\xe1\xd0"
  33846. "\xb6\x2a\x16\x08\x7a\x34\xb8\xf2"
  33847. "\xe1\xac\x08\x66\xe6\x78\x66\xfd"
  33848. "\x36\xbd\xee\xc6\x71\xa4\x09\x4e"
  33849. "\x3b\x09\xf2\x8e\x3a\x90\xba\xa0"
  33850. "\xc2\x1d\x9f\xad\x52\x0e\xc9\x10"
  33851. "\x99\x40\x90\xd5\x7d\x73\x56\xef"
  33852. "\x48\x1e\x56\x5c\x7d\x3c\xcb\x84"
  33853. "\x10\x0a\xcc\xda\xce\xad\xd8\xa8"
  33854. "\x79\xc7\x29\x95\x31\x3b\xd9\x9b"
  33855. "\xb6\x84\x3e\x03\x74\xc5\x76\xba"
  33856. "\x4b\xd9\x4f\x7c\xc4\x5f\x7f\x70"
  33857. "\xc5\xe3\x6e\xd0\x14\x32\xec\x60"
  33858. "\xb0\x69\x78\xb7\xef\xda\x5a\xe7"
  33859. "\x4e\x50\x97\xd4\x94\x58\x67\x57"
  33860. "\x4e\x7c\x75\xe0\xcf\x8d\xe1\x78"
  33861. "\x97\x52\xc8\x73\x81\xf9\xb6\x02"
  33862. "\x54\x72\x6d\xc0\x70\xff\xe2\xeb"
  33863. "\x6c\xe1\x30\x0a\x94\xd0\x55\xec"
  33864. "\xed\x61\x9c\x6d\xd9\xa0\x92\x62"
  33865. "\x4e\xfd\xd8\x79\x27\x02\x4e\x13"
  33866. "\xb2\x04\xba\x00\x9a\x77\xed\xc3"
  33867. "\x5b\xa4\x22\x02\xa9\xed\xaf\xac"
  33868. "\x4f\xe1\x74\x73\x51\x36\x78\x8b"
  33869. "\xdb\xf5\x32\xfd\x0d\xb9\xcb\x15"
  33870. "\x4c\xae\x43\x72\xeb\xbe\xc0\xf8"
  33871. "\x91\x67\xf1\x4f\x5a\xd4\xa4\x69"
  33872. "\x8f\x3e\x16\xd2\x09\x31\x72\x5a"
  33873. "\x5e\x0a\xc4\xbc\x44\xd4\xbb\x82"
  33874. "\x7a\xdf\x52\x25\x8c\x45\xdc\xe4"
  33875. "\xe0\x71\x84\xe4\xe0\x3d\x59\x30"
  33876. "\x5b\x94\x12\x33\x78\x85\x90\x84"
  33877. "\x52\x05\x33\xa7\xa7\x16\xe0\x4d"
  33878. "\x6a\xf7\xfa\x03\x98\x6c\x4f\xb0"
  33879. "\x06\x66\x06\xa1\xdd\x3c\xbe\xbb"
  33880. "\xb2\x62\xab\x64\xd3\xbf\x2c\x30"
  33881. "\x0e\xfc\xd9\x95\x32\x32\xf3\x3b"
  33882. "\x39\x7e\xda\x62\x62\x0f\xc3\xfe"
  33883. "\x55\x76\x09\xf5\x8a\x09\x91\x93"
  33884. "\x32\xea\xbc\x2b\x0b\xcf\x1d\x65"
  33885. "\x48\x33\xba\xeb\x0f\xd4\xf9\x3b"
  33886. "\x1e\x90\x74\x6d\x93\x52\x61\x81"
  33887. "\xa3\xf2\xb5\xea\x1d\x61\x86\x68"
  33888. "\x00\x40\xcc\x58\xdd\xf2\x64\x01"
  33889. "\xab\xfd\x94\xc0\xa3\x83\x83\x33"
  33890. "\xa4\xb0\xb8\xd3\x9d\x08\x3c\x7f"
  33891. "\x8e\xa8\xaf\x87\xa5\xe7\xcd\x36"
  33892. "\x92\x96\xdc\xa1\xf2\xea\xe6\xd1"
  33893. "\x1e\xe9\x65\xa4\xff\xda\x17\x96"
  33894. "\xad\x91\x4a\xc5\x26\xb4\x1d\x1c"
  33895. "\x2b\x50\x48\x26\xc8\x86\x3f\x05"
  33896. "\xb8\x87\x1b\x3f\xee\x2e\x55\x61"
  33897. "\x0d\xdc\xcf\x56\x0e\xe2\xcc\xda"
  33898. "\x87\xee\xc5\xcd\x0e\xf4\xa4\xaf"
  33899. "\x8a\x02\xee\x16\x0b\xc4\xdd\x6d"
  33900. "\x80\x3e\xf3\xfe\x95\xb4\xfe\x97"
  33901. "\x0d\xe2\xab\xbb\x27\x84\xee\x25"
  33902. "\x39\x74\xb0\xfb\xdc\x5a\x0f\x65"
  33903. "\x31\x2a\x89\x08\xa4\x8c\x9f\x25"
  33904. "\x5f\x93\x83\x39\xda\xb4\x22\x17"
  33905. "\xbd\xd2\x0d\xfc\xde\xf8\x00\x34"
  33906. "\xc2\x48\x55\x06\x4c\x8b\x79\xe5"
  33907. "\xba\x0c\x50\x4f\x98\xa3\x59\x3d"
  33908. "\xc4\xec\xd1\x85\xf3\x60\x41\x16"
  33909. "\x0a\xe2\xf4\x38\x33\x24\xc1\xe0"
  33910. "\x0d\x86\x1f\x5a\xd2\xba\x7c\x5f"
  33911. "\x97\x60\x54\xa3\x52\x31\x78\x57"
  33912. "\x7a\xc0\xc7\x1e\xd4\x11\x8f\xef"
  33913. "\x86\x0a\x60\x26\x4a\x8f\x06\xf7"
  33914. "\x1f\x47\x45\x6e\x87\x13\x15\xf3"
  33915. "\x91\x08\xbf\x2a\x6e\x71\x21\x8e"
  33916. "\x92\x90\xde\x01\x97\x81\x46\x87"
  33917. "\x8a\xfc\xab\x12\x0c\x60\x3e\x9d"
  33918. "\xbd\x40\x0a\x45\x3f\x5b\x83\x04"
  33919. "\xb5\x8f\x42\x78\x68\xfe\x3a\xd1"
  33920. "\x59\xf7\x12\xaa\x86\x86\x1c\x77"
  33921. "\xfc\xc6\x64\x47\x0f\x7e\xd3\xbc"
  33922. "\x95\x90\x23\xb3\x60\xdc\x0d\xf4"
  33923. "\x67\xe6\x32\xee\xad\xbf\x60\x07"
  33924. "\xbd\xdb\x6e\x3f\x55\x88\xdb\x93"
  33925. "\x62\x41\xd6\xeb\x34\xd6\xa3\x96"
  33926. "\xd2\xbc\x29\xaa\x75\x65\x41\x9f"
  33927. "\x70\x43\xbb\x6d\xd9\xa5\x95\x22"
  33928. "\x3e\xf9\x07\xa0\x7d\x75\xba\xb8"
  33929. "\xcd\x81\x3b\x94\x01\x19\xc3\x67"
  33930. "\x9d\xa4\x7f\xa0\x99\xcc\x4a\xc4"
  33931. "\xfa\x76\x3f\xab\x5c\xea\x26\xdf"
  33932. "\xa2\x4c\x5b\x11\x55\xa3\x6a\x70"
  33933. "\xcb\xbc\x93\x11\x48\x38\x73\x7a"
  33934. "\x40\xbf\xbc\x04\x05\xb0\x2d\x9b"
  33935. "\x9a\x23\x57\xa5\xf6\x63\xfa\xc7"
  33936. "\xd8\x4d\xc2\xc0\xf8\xbd\xfb\x7d"
  33937. "\xea\x20\xa2\xe0\x4d\xaa\x63\x1e"
  33938. "\x9a\xa2\xed\x54\xe6\x49\xaf\x52"
  33939. "\xaf\x7e\x94\x57\x19\x07\x06\x74"
  33940. "\x57\x5b\x62\x61\x99\x20\xe7\x95"
  33941. "\x14\x19\xcf\x42\x83\x6a\x94\xf5"
  33942. "\xab\xa7\xf2\x48\xf6\x0b\x40\x3d"
  33943. "\x93\x8d\x3d\x14\x5d\xf2\x45\x2c"
  33944. "\xac\x1c\x0b\x12\xc9\x56\x3f\x7c"
  33945. "\x17\xeb\x1d\xed\x7e\x5c\xaa\x37"
  33946. "\xe3\xb4\x56\xf9\x0e\xb9\x8e\xc8"
  33947. "\x16\x70\x3e\xff\x95\xb9\x89\x9c"
  33948. "\x19\x0d\x0d\x48\xbd\xb9\xe3\x73"
  33949. "\xdf\x4e\x67\x9d\x93\x6c\x0b\x75"
  33950. "\x8a\x2d\x89\x5c\x32\x9d\x75\x05"
  33951. "\xd9\x13\xbe\x14\x5f\xf0\xb7\xb4"
  33952. "\xd9\x2c\x02\x22\x41\xf2\x9c\x1f"
  33953. "\xc1\x8c\xf5\x6a\x8c\xd5\xa5\x6b"
  33954. "\x54\x47\xec\x3a\x76\x08\xf6\xf7"
  33955. "\xed\x7c\x7e\x3b\x55\xb8\xa9\x20"
  33956. "\xa6\xec\x2d\x8c\x03\x38\x9d\x74"
  33957. "\xe9\x36\xe7\x05\x40\xec\xf4\xa1"
  33958. "\xa7\x70\xa7\x6f\x1f\x93\xc2\x1d"
  33959. "\x2c\x4e\x5f\xe8\x04\x6d\x91\x67"
  33960. "\x23\xd9\x47\xb4\xf6\xbc\x35\x25"
  33961. "\x1b\xa8\xe1\x17\xa8\x21\x38\xd8"
  33962. "\x7a\x55\xd9\xc6\x6f\x0a\x1b\xcb"
  33963. "\xde\xf8\x1e\x20\x8c\xa1\x14\x49"
  33964. "\x49\x00\x00\x31\x0f\xa8\x24\x67"
  33965. "\x97\x7a\x1f\x04\xb9\x6b\x60\xd0"
  33966. "\x32\xc3\xf4\xf9\x4f\xb2\xfd\x7b"
  33967. "\xf9\xb3\x43\xd8\x23\xaa\x21\x37"
  33968. "\x9e\x91\xc5\xa4\xce\xd8\xe4\xf5"
  33969. "\x55\x3e\xc9\xe4\xc5\x51\xd3\x4d"
  33970. "\xc6\x83\xe9\x23\x8e\x3e\x21\xe0"
  33971. "\x40\x23\x4e\x2b\x2d\x89\xc4\x5d"
  33972. "\x58\xdc\x43\x03\x8e\x9a\xfb\xef"
  33973. "\x76\xac\x78\x57\xc3\xb8\xf7\x9f"
  33974. "\xf5\xb1\xc2\xa4\x0c\xee\x58\x52"
  33975. "\x45\xdf\x1a\xd9\x0e\xe0\x56\x1f"
  33976. "\x23\x79\x99\x5f\x34\xad\x9f\x41"
  33977. "\x67\x2a\xc7\x8b\xe7\x82\x6e\x67"
  33978. "\x58\xb5\xae\x18\xd7\x2f\x8f\x57"
  33979. "\x0e\xa4\x21\x3c\x84\x21\x05\x50"
  33980. "\x57\xb0\xd1\xb1\xc8\x9d\xd4\x44"
  33981. "\x25\x40\x6b\xd5\x6f\x18\x92\x89"
  33982. "\x6d\x5b\xe9\x5a\x3c\x74\xc0\x33"
  33983. "\x2c\x7a\xa7\x99\x71\x4e\x9d\x1b"
  33984. "\xe1\x1d\xcb\x62\x8b\x3c\x07\x07"
  33985. "\x67\xf6\xa6\x54\x10\x72\x3f\xea"
  33986. "\xe5\xcd\xe6\xf1\xeb\x3d\x43\x0b"
  33987. "\xfe\x4b\xc7\x1d\x3d\xd9\xa3\xe2"
  33988. "\x9b\x79\x47\xc7\xab\x28\xcc\x4d"
  33989. "\xa8\x77\x9c\xec\xef\x56\xf8\x92"
  33990. "\x07\x48\x1b\x21\x04\xa8\x24\xb0"
  33991. "\x82\x7d\xd1\x17\xa4\xaf\x5f\xfa"
  33992. "\x92\xbf\x6a\xb7\x7e\xc7\xb7\x75"
  33993. "\x40\x3c\x14\x09\x57\xae\xe0\x4e"
  33994. "\xf8\xc9\xda\x1e\x5d\x27\xc4\x8c"
  33995. "\x27\xe3\x4d\xe3\x55\x8c\xd2\xef"
  33996. "\x0c\xab\x67\x53\x96\xd3\x48\xfb"
  33997. "\x75\x4f\x74\x9e\xcb\x82\xa4\x96"
  33998. "\x91\x41\x48\xaa\x65\xdb\x34\x72"
  33999. "\xc9\xee\xa2\x77\x8b\x6e\x44\x12"
  34000. "\x4e\x51\x51\xc3\xf5\xef\x6a\x50"
  34001. "\x99\x26\x41\x1e\x66\xa4\x2b\xb9"
  34002. "\x21\x15\x38\xc2\x0b\x7f\x37\xb6"
  34003. "\x89\x8b\x27\x70\xae\xa1\x90\x28"
  34004. "\x04\xe7\xd5\x17\xcb\x60\x99\xb4"
  34005. "\xe2\xd7\x04\xd3\x11\x27\x86\xe4"
  34006. "\xd0\x0d\x36\x04\x68\xe0\xb4\x71"
  34007. "\xe8\x86\x4b\x9f\xa3\xd2\xda\x87"
  34008. "\xc2\x2c\xad\x66\xfa\x53\x18\xf8"
  34009. "\xec\x10\x74\xc5\xb6\x53\x09\x93"
  34010. "\x21\x09\xbd\x77\x2d\x2a\x12\x4c"
  34011. "\x86\xfe\x50\x8e\xd1\x16\xab\xb1"
  34012. "\xfd\xd7\x87\xde\xc3\x6f\x7c\x16"
  34013. "\xe2\x88\x3d\x41\xac\x36\x7e\xf8"
  34014. "\xc2\x3b\x46\xd5\x44\x3d\x9d\xe8"
  34015. "\xe9\x0c\xb7\xb3\xc6\xb9\xe5\xe7"
  34016. "\x27\x17\x78\x03\xd4\xda\xe4\x73"
  34017. "\x38\x34\xe7\x53\x29\xc4\xcb\x93"
  34018. "\xc9\xa1\x10\x8a\xb2\xfc\x0b\x07"
  34019. "\x47\xb8\xb1\x13\x49\x86\x24\x8b"
  34020. "\x10\xb1\xd9\x5f\xbb\xd8\x90\x37"
  34021. "\x06\x03\xe0\x76\xff\x19\x1a\x16"
  34022. "\xd8\x2d\xa7\x4a\xea\x22\x64\xbe"
  34023. "\xed\x1c\xc8\x33\xb4\xf4\xb1\x48"
  34024. "\x95\xb5\x2f\xaa\x05\xc7\x03\xa0"
  34025. "\xf1\xa4\xf3\x63\x4b\xbe\x79\xb9"
  34026. "\x4b\x67\x7e\x4e\x3e\x81\x8f\xef"
  34027. "\xe9\x55\x99\x30\xd0\x26\xec\x5d"
  34028. "\x89\xb6\x3f\x28\x38\x81\x7a\x00"
  34029. "\x89\x85\xb8\xff\x19\x0f\x8f\x5d"
  34030. "\x5c\x6d\x6a\x3d\x6c\xb9\xfb\x7c"
  34031. "\x0c\x4b\x7e\xbc\x0c\xc4\xad\xbb"
  34032. "\x0a\x8b\xc8\x48\xb7\xfa\x4d\x53"
  34033. "\x82\x10\xd6\x29\x58\x83\x50\x3c"
  34034. "\xd4\x5a\xfd\x14\xa3\xb5\x88\xfb"
  34035. "\x23\xee\xc9\xcc\xab\x92\x52\xb3"
  34036. "\x0b\x07\xf3\x1e\x9a\x2a\x2e\x35"
  34037. "\x32\x37\xa5\x86\xd0\xe5\x5f\xdd"
  34038. "\x3d\x67\x70\xb4\x9a\xc9\x93\xdc"
  34039. "\x31\x33\xe3\x3a\xc5\xcf\xd9\x44"
  34040. "\x2f\x3f\x87\xb2\x0c\x36\x55\x17"
  34041. "\xa9\xda\xb1\xca\x00\x09\x87\xe6"
  34042. "\x66\x34\xb3\x9f\x52\x37\x98\x10"
  34043. "\x2e\x5d\xa4\x14\x7f\x63\xa6\xcd"
  34044. "\x6c\x2d\x7c\x74\x4c\xae\x9c\x65"
  34045. "\xe0\x79\xc0\xd6\xc3\xfe\xa8\xf4"
  34046. "\x1a\x4f\xf5\xbc\xea\x7a\x92\x40"
  34047. "\x51\xa7\x05\x45\x40\xd8\x9c\x3c"
  34048. "\xde\x5f\x0b\x6e\x10\x5c\x1c\xdc"
  34049. "\xd2\x65\x60\xbb\x70\x68\x5c\xa9"
  34050. "\x59\x25\x0e\x4e\x93\xb8\x49\x89"
  34051. "\xf6\xae\xeb\x1f\x8b\x56\xc8\x56"
  34052. "\xb0\xb5\xc9\xee\xa5\x15\x07\x4d"
  34053. "\x8a\xcc\xad\x04\x4d\x99\x8c\x49"
  34054. "\x8d\x7c\xe0\xa5\x7d\x7f\x33\x61"
  34055. "\xf2\xfc\xe7\x88\x3f\x2b\x73\xab"
  34056. "\x2e\x38\x17\x48\xa9\x86\xdd\x81"
  34057. "\x21\x45\xbc\x98\x1d\xe5\xa5\xbc"
  34058. "\x0d\x0b\x18\x8e\x86\x1e\x76\x0a"
  34059. "\x30\x12\x21\xf0\x51\xed\xc1\xcd"
  34060. "\x9a\xf1\x7e\x7e\x64\xb2\xa3\xd6"
  34061. "\x37\xe7\xc6\xde\x97\xb9\x5d\x05"
  34062. "\xf5\x50\xe2\x0a\xaa\x68\x16\xa6"
  34063. "\x26\x9c\x7d\xff\x4c\x05\xce\x48"
  34064. "\xa7\xff\x10\x19\x5e\xef\x46\x54"
  34065. "\xec\xe4\x7b\xb6\x12\x23\xae\x93"
  34066. "\x4f\x79\xf8\x3c\x1c\x07\x15\x66"
  34067. "\x07\xc1\x52\xde\x7f\xda\x51\x7b"
  34068. "\xfe\x13\x67\xab\x8d\x56\xdc\xc1"
  34069. "\x70\x4b\x13\xd2\x30\x00\xc1\x97"
  34070. "\x22\xa7\x83\xf8\x18\xd9\x6d\x40"
  34071. "\x54\xe0\xc1\xdb\x3e\x83\x73\x12"
  34072. "\xe1\x48\x49\xb9\xd4\x20\x0c\x06"
  34073. "\x1c\x82\xb5\xbe\x5a\xae\x60\x5e"
  34074. "\xe2\x09\xba\x05\xbb\x9a\x80\x63"
  34075. "\xf2\xc4\x4b\x41\x39\x16\x76\x26"
  34076. "\xb1\x03\x06\x23\x65\x37\x33\x92"
  34077. "\xca\xf9\x72\xf5\xcd\x95\xc1\xc0"
  34078. "\x91\x5a\xfd\x28\xb9\x62\x59\x84"
  34079. "\x87\x9d\x82\xcb\xe0\x67\x7c\x26"
  34080. "\xb8\x00\x16\xd9\x5d\xb4\x74\xd4"
  34081. "\x75\x8c\x75\xf8\x87\x3b\xa8\x77"
  34082. "\xcd\x82\x3d\x7b\xb9\x63\x44\x0f"
  34083. "\x44\x83\x55\x5b\xc7\xdc\x18\x0b"
  34084. "\x8c\x36\xb3\x59\xeb\x58\x13\x38"
  34085. "\x4b\x8a\xb7\xa3\x9a\xa2\xf3\xeb"
  34086. "\xc6\x30\x84\x86\x0a\xcf\x8b\xfa"
  34087. "\x36\x66\x26\xbc\xd0\x96\xa3\xb4"
  34088. "\x8d\x6b\xf7\x5b\x75\x59\xbb\xd3"
  34089. "\x14\x78\x57\x2f\x27\xa8\x95\xcf"
  34090. "\xa2\xa5\x76\x28\xbd\xab\x8b\x59"
  34091. "\x04\x91\x8a\xc5\x3c\xc3\xa7\xcf"
  34092. "\xe0\xfb\xdd\x7a\xbb\x10\xde\x36"
  34093. "\x43\x1c\x59\xf7\x41\xb6\xa5\x80"
  34094. "\x72\x7b\xe3\x7a\xa3\x01\xc3\x8c"
  34095. "\x7e\xf3\xf2\x42\x1a\x0c\x7e\xf3"
  34096. "\xfc\x5b\x6e\x1f\x20\xf1\x32\x76"
  34097. "\x83\x71\x36\x3e\x7e\xa7\xf7\xdd"
  34098. "\x25\x2e\xe6\x04\xe2\x5b\x44\xb5"
  34099. "\x16\xfb\xdf\x9b\x46\x2a\xa8\x81"
  34100. "\x89\x15\x3e\xb5\xb0\x09\x40\x33"
  34101. "\x60\xc7\x37\x63\x14\x09\xc1\x6e"
  34102. "\x56\x52\xbe\xe4\x88\xe0\x75\xbc"
  34103. "\x49\x62\x8c\xf1\xdf\x62\xe6\xac"
  34104. "\xd5\x87\xf7\xc9\x92\x52\x36\x59"
  34105. "\x22\x6f\x31\x99\x76\xdb\x41\xb6"
  34106. "\x26\x91\x79\x7e\xd2\x78\xaf\x07"
  34107. "\x78\x4b\xed\x54\x30\xb2\xff\xbc"
  34108. "\x2c\x0a\x1a\xbe\xbf\xd5\x5a\x4d"
  34109. "\xd1\xbc\x30\xc2\xf4\xf1\xc1\x9e"
  34110. "\x9a\x96\x89\x00\x50\xfc\xf6\xaf"
  34111. "\xfa\x60\xbf\x1a\x32\x8f\x57\x36"
  34112. "\x2f\x02\xb7\x28\x50\xc3\xd3\xfd"
  34113. "\x6b\xc4\xe6\xbb\xc9\xec\xed\x86"
  34114. "\xdf\x27\x45\x2c\x0c\x6d\x65\x3b"
  34115. "\x6e\x63\x96\xc7\xd6\xb5\xb2\x05"
  34116. "\x8b\xe0\x02\x2a\xfa\x20\x0c\x82"
  34117. "\xa5\x45\x75\x12\x01\x40\xff\x3e"
  34118. "\xfd\xfc\xfb\xbc\x30\x49\xe8\x99"
  34119. "\x8d\x48\x8e\x49\x65\x2a\xe3\xa5"
  34120. "\x06\xe3\x22\x68\x3b\xd9\xa4\xcf"
  34121. "\x84\x6f\xfa\x2b\xb1\xd8\x8c\x30"
  34122. "\xd5\x5d\x0c\x63\x32\x59\x28\x6e"
  34123. "\x2a\x60\xa4\x57\x12\xf8\xc2\x95"
  34124. "\x0a\xf6\xc6\x48\x23\xce\x72\x40"
  34125. "\x0d\x75\xa0\xd4\x48\x03\xf5\xc4"
  34126. "\xcd\x26\xe7\x83\xcc\x0d\xcf\x7f"
  34127. "\x22\x5f\x91\xb3\x42\x02\x9a\x26"
  34128. "\x12\x26\x68\x12\x25\x0b\x08\x61"
  34129. "\xcb\x25\x86\x95\xfc\x57\x4d\xb6"
  34130. "\x36\x6c\xb4\xdc\xa9\x2d\x76\x7f"
  34131. "\x25\x06\xa2\x08\x69\x09\xd9\x09"
  34132. "\x3c\x40\xe1\xfd\x30\x8f\xc2\x13"
  34133. "\x92\xd4\xb5\x3b\x0c\xb2\x32\x4f"
  34134. "\x10\xc9\x1a\x41\xa6\xb2\x11\xf6"
  34135. "\x3b\x1b\x88\x56\xbf\x61\x3c\xb2"
  34136. "\xe6\xdb\x24\x9a\x55\x7e\x35\xf8"
  34137. "\x82\x5e\x52\xe3\xf2\xb3\x40\x1c"
  34138. "\xdd\xe3\x29\x37\xe0\x85\x08\x8b"
  34139. "\xb2\x8b\x09\x38\xac\xa9\x85\xe5"
  34140. "\x9e\x36\xb8\x95\x0b\x84\x9d\x10"
  34141. "\xcc\xae\xe2\x06\x56\x3c\x85\xce"
  34142. "\xc0\xdc\x36\x59\x17\xf9\x48\xf4"
  34143. "\x5b\x08\x8e\x86\x00\xa0\xf5\xdd"
  34144. "\x0c\xb6\x63\xfd\x5a\xe5\x1e\xa6"
  34145. "\x0a\xef\x76\xc2\xc7\x9b\x96\x2f"
  34146. "\x66\x2b\x7d\x50\xa6\x0c\x42\xc6"
  34147. "\xa5\x05\x05\x10\xeb\xd8\xda\x15"
  34148. "\x03\xbe\x2f\x24\x34\x8f\x84\xd8"
  34149. "\x58\xb8\xa3\xf2\x63\xc8\xc3\xf6"
  34150. "\xc2\xde\x27\x58\x69\xf9\x07\xca"
  34151. "\x12\x3e\xe2\xf4\xc8\x29\x60\x30"
  34152. "\x2f\x87\xf4\x50\xc2\x25\xcc\xfd"
  34153. "\xdc\x76\x4f\x56\x1c\xb2\xd9\x78"
  34154. "\x11\x6b\x6e\xb4\x67\xbf\x25\xc4"
  34155. "\xae\x7d\x50\x7f\xb2\x5c\x69\x26"
  34156. "\xed\x6b\xd2\x3b\x42\x64\xe3\x0c"
  34157. "\x15\xa6\xd1\xb6\x3e\x23\x76\x09"
  34158. "\x48\xd2\x08\x41\x76\xc9\x7d\x5f"
  34159. "\x50\x5d\x8e\xf9\x04\x96\xed\x3a"
  34160. "\xf8\x7c\x3b\x7d\x84\xba\xea\xe6"
  34161. "\x24\xd2\x0f\x7f\x5a\x0b\x6f\xd9"
  34162. "\x33\x14\x67\xfb\x9f\xe7\x44\x4e"
  34163. "\x3b\x4b\x06\xaa\xb4\x7a\x8b\x83"
  34164. "\x82\x74\xa6\x5e\x10\xea\xd6\x4b"
  34165. "\x56\x32\xd7\x79\x7c\x05\xf4\x64"
  34166. "\x9c\x64\x25\x9c\xc2\xda\x21\x9a"
  34167. "\xd8\xde\x37\x83\x3f\xd8\x83\xa2"
  34168. "\x1e\x3c\x1e\x41\x7e\xf2\x97\x84"
  34169. "\xe5\xa2\x02\x2b\x6e\xc5\xd7\x91"
  34170. "\x24\x66\xc1\xf0\x05\x1c\x0f\x3d"
  34171. "\xcf\x63\x94\x10\x2e\x0e\x89\xda"
  34172. "\x0d\xe9\x58\x2a\x48\x0c\xc8\x36"
  34173. "\xc4\x7b\xf0\xd3\xe2\x5b\xf1\xf6"
  34174. "\xad\x3d\xe7\x25\x6b\x83\x08\x5c"
  34175. "\xd9\x79\xde\x93\x37\x93\x92\x46"
  34176. "\xe7\xf4\x1c\x9e\x94\x91\x30\xd9"
  34177. "\xb6\x57\xf1\x04\xb5\x2f\xe3\xb9"
  34178. "\x0a\x78\xfe\xcb\xb5\x31\xc1\xc6"
  34179. "\x99\xb3\xaf\x73\xfb\x69\xcb\x49"
  34180. "\xd2\xec\xea\xd3\x0f\x45\x13\x23"
  34181. "\xc8\xae\x92\x29\xce\x71\xd0\xba"
  34182. "\xcf\xfd\xb2\x14\x61\xfd\xf6\x7b"
  34183. "\xdf\x05\xe5\xbb\x58\xf7\x41\x3b"
  34184. "\x6e\xd2\x14\x28\x7c\x15\xb7\x70"
  34185. "\xca\xc7\x7a\xd7\x4e\x4b\x35\x6e"
  34186. "\x9e\x09\x24\x33\xaf\xca\x41\x1f"
  34187. "\x0d\xe3\xf1\x7c\x35\xcb\xe2\x0a"
  34188. "\xb2\xeb\x94\x7a\xbc\x53\xd7\xe1"
  34189. "\x5e\xbc\xa1\x55\xef\x3c\x37\xef"
  34190. "\x6d\xfe\x3a\xcd\xcf\x48\x36\x26"
  34191. "\xdb\x3e\x44\xdd\xc8\x03\xa6\xa6"
  34192. "\x85\xb5\xfe\xf3\xec\x44\xb3\x22"
  34193. "\x9d\x21\x82\xc6\x0b\x1a\x7c\xc6"
  34194. "\xf7\xa9\x8e\x7e\x13\x1a\x85\x1f"
  34195. "\x93\x81\x38\x47\xc0\x83\x21\xa3"
  34196. "\xde\xec\xc0\x8f\x4c\x3b\x57\x2f"
  34197. "\x92\xbb\x66\xe3\x24\xeb\xae\x1e"
  34198. "\xb3\x18\x57\xf2\xf3\x4a\x50\x52"
  34199. "\xe9\x91\x08\x1f\x85\x44\xc1\x07"
  34200. "\xa1\xd3\x62\xe9\xe0\x82\x38\xfd"
  34201. "\x27\x3f\x7e\x10\x7d\xaf\xa1\x7a"
  34202. "\xf0\xaa\x79\xee\x6e\xa2\xc0\xbb"
  34203. "\x01\xda\xfb\xc4\x85\x26\x85\x31"
  34204. "\x15\xf4\x3c\xe0\x96\x79\x0e\xd7"
  34205. "\x50\x68\x37\x57\xb5\x31\xf7\x3c"
  34206. "\xbd\xaa\xcc\x2c\x8f\x57\x59\xa5"
  34207. "\xd4\x4b\xc6\x45\xc0\x32\x3d\x85"
  34208. "\x6d\xee\xf4\x6b\x63\xf9\x3a\xfb"
  34209. "\x2f\xdb\xb8\x42\x19\x8e\x88\x1f"
  34210. "\xfd\x7d\x0b\x69\x14\x8f\x36\xb2"
  34211. "\xd9\x27\x34\x53\x9c\x52\x00\x94"
  34212. "\xcc\x8b\x37\x82\xaf\x8e\xb3\xc0"
  34213. "\x8a\xcf\x44\xc6\x3a\x19\xbe\x1f"
  34214. "\x23\x33\x68\xc4\xb6\xbb\x13\x20"
  34215. "\xec\x6a\x87\x5b\xc2\x7c\xd3\x04"
  34216. "\x34\x97\x32\xd5\x11\x02\x06\x45"
  34217. "\x98\x0b\xaa\xab\xbe\xfb\xd0\x2c"
  34218. "\x0e\xf1\x8b\x7f\x1c\x70\x85\x67"
  34219. "\x60\x50\x66\x79\xbb\x45\x21\xc4"
  34220. "\xb5\xd3\xb9\x4f\xe5\x41\x49\x86"
  34221. "\x6b\x20\xef\xac\x16\x74\xe9\x23"
  34222. "\xa5\x2d\x5c\x2b\x85\xb2\x33\xe8"
  34223. "\x2a\xd1\x24\xd1\x5b\x9b\x7f\xfc"
  34224. "\x2f\x3b\xf7\x6a\x8b\xde\x55\x7e"
  34225. "\xda\x13\x1b\xd6\x90\x74\xb0\xbe"
  34226. "\x46\x0d\xcf\xc7\x78\x33\x31\xdc"
  34227. "\x6a\x6a\x50\x3e\x4c\xe2\xab\x48"
  34228. "\xbc\x4e\x7d\x62\xb9\xfc\xdd\x85"
  34229. "\x1c\x5d\x93\x15\x5e\x01\xd9\x2b"
  34230. "\x48\x71\x82\xd6\x44\xd6\x0e\x92"
  34231. "\x6e\x75\xc9\x3c\x1d\x31\x18\x6f"
  34232. "\x8b\xd7\x18\xf3\x09\x08\x45\xb1"
  34233. "\x3e\xa4\x25\xc6\x34\x48\xaf\x42"
  34234. "\x77\x33\x03\x65\x3e\x2f\xff\x8f"
  34235. "\xe9\xe1\xa0\xfe\xb2\xc3\x80\x77"
  34236. "\x20\x05\xe4\x9b\x47\x3b\xb2\xbd",
  34237. .len = 4096,
  34238. }
  34239. };
  34240. /*
  34241. * CTS (Cipher Text Stealing) mode tests
  34242. */
  34243. static const struct cipher_testvec cts_mode_tv_template[] = {
  34244. { /* from rfc3962 */
  34245. .klen = 16,
  34246. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  34247. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  34248. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  34249. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  34250. "\x20",
  34251. .len = 17,
  34252. .ctext = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
  34253. "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
  34254. "\x97",
  34255. }, {
  34256. .klen = 16,
  34257. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  34258. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  34259. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  34260. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  34261. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  34262. "\x20\x47\x61\x75\x27\x73\x20",
  34263. .len = 31,
  34264. .ctext = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
  34265. "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
  34266. "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  34267. "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
  34268. }, {
  34269. .klen = 16,
  34270. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  34271. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  34272. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  34273. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  34274. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  34275. "\x20\x47\x61\x75\x27\x73\x20\x43",
  34276. .len = 32,
  34277. .ctext = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
  34278. "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
  34279. "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  34280. "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
  34281. }, {
  34282. .klen = 16,
  34283. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  34284. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  34285. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  34286. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  34287. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  34288. "\x20\x47\x61\x75\x27\x73\x20\x43"
  34289. "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
  34290. "\x70\x6c\x65\x61\x73\x65\x2c",
  34291. .len = 47,
  34292. .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  34293. "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
  34294. "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
  34295. "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
  34296. "\x39\x31\x25\x23\xa7\x86\x62\xd5"
  34297. "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
  34298. }, {
  34299. .klen = 16,
  34300. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  34301. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  34302. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  34303. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  34304. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  34305. "\x20\x47\x61\x75\x27\x73\x20\x43"
  34306. "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
  34307. "\x70\x6c\x65\x61\x73\x65\x2c\x20",
  34308. .len = 48,
  34309. .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  34310. "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
  34311. "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
  34312. "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
  34313. "\x39\x31\x25\x23\xa7\x86\x62\xd5"
  34314. "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
  34315. }, {
  34316. .klen = 16,
  34317. .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
  34318. "\x74\x65\x72\x69\x79\x61\x6b\x69",
  34319. .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
  34320. "\x6c\x69\x6b\x65\x20\x74\x68\x65"
  34321. "\x20\x47\x65\x6e\x65\x72\x61\x6c"
  34322. "\x20\x47\x61\x75\x27\x73\x20\x43"
  34323. "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
  34324. "\x70\x6c\x65\x61\x73\x65\x2c\x20"
  34325. "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
  34326. "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
  34327. .len = 64,
  34328. .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
  34329. "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
  34330. "\x39\x31\x25\x23\xa7\x86\x62\xd5"
  34331. "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
  34332. "\x48\x07\xef\xe8\x36\xee\x89\xa5"
  34333. "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
  34334. "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
  34335. "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
  34336. }
  34337. };
  34338. /*
  34339. * Compression stuff.
  34340. */
  34341. #define COMP_BUF_SIZE 512
  34342. struct comp_testvec {
  34343. int inlen, outlen;
  34344. char input[COMP_BUF_SIZE];
  34345. char output[COMP_BUF_SIZE];
  34346. };
  34347. /*
  34348. * Deflate test vectors (null-terminated strings).
  34349. * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
  34350. */
  34351. static const struct comp_testvec deflate_comp_tv_template[] = {
  34352. {
  34353. .inlen = 70,
  34354. .outlen = 38,
  34355. .input = "Join us now and share the software "
  34356. "Join us now and share the software ",
  34357. .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
  34358. "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
  34359. "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
  34360. "\x48\x55\x28\xce\x4f\x2b\x29\x07"
  34361. "\x71\xbc\x08\x2b\x01\x00",
  34362. }, {
  34363. .inlen = 191,
  34364. .outlen = 122,
  34365. .input = "This document describes a compression method based on the DEFLATE"
  34366. "compression algorithm. This document defines the application of "
  34367. "the DEFLATE algorithm to the IP Payload Compression Protocol.",
  34368. .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
  34369. "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
  34370. "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
  34371. "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
  34372. "\x68\x12\x51\xae\x76\x67\xd6\x27"
  34373. "\x19\x88\x1a\xde\x85\xab\x21\xf2"
  34374. "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
  34375. "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
  34376. "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
  34377. "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
  34378. "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
  34379. "\x52\x37\xed\x0e\x52\x6b\x59\x02"
  34380. "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
  34381. "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
  34382. "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
  34383. "\xfa\x02",
  34384. },
  34385. };
  34386. static const struct comp_testvec deflate_decomp_tv_template[] = {
  34387. {
  34388. .inlen = 122,
  34389. .outlen = 191,
  34390. .input = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
  34391. "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
  34392. "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
  34393. "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
  34394. "\x68\x12\x51\xae\x76\x67\xd6\x27"
  34395. "\x19\x88\x1a\xde\x85\xab\x21\xf2"
  34396. "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
  34397. "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
  34398. "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
  34399. "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
  34400. "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
  34401. "\x52\x37\xed\x0e\x52\x6b\x59\x02"
  34402. "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
  34403. "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
  34404. "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
  34405. "\xfa\x02",
  34406. .output = "This document describes a compression method based on the DEFLATE"
  34407. "compression algorithm. This document defines the application of "
  34408. "the DEFLATE algorithm to the IP Payload Compression Protocol.",
  34409. }, {
  34410. .inlen = 38,
  34411. .outlen = 70,
  34412. .input = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
  34413. "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
  34414. "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
  34415. "\x48\x55\x28\xce\x4f\x2b\x29\x07"
  34416. "\x71\xbc\x08\x2b\x01\x00",
  34417. .output = "Join us now and share the software "
  34418. "Join us now and share the software ",
  34419. },
  34420. };
  34421. /*
  34422. * LZO test vectors (null-terminated strings).
  34423. */
  34424. static const struct comp_testvec lzo_comp_tv_template[] = {
  34425. {
  34426. .inlen = 70,
  34427. .outlen = 57,
  34428. .input = "Join us now and share the software "
  34429. "Join us now and share the software ",
  34430. .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
  34431. "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
  34432. "\x64\x20\x73\x68\x61\x72\x65\x20"
  34433. "\x74\x68\x65\x20\x73\x6f\x66\x74"
  34434. "\x77\x70\x01\x32\x88\x00\x0c\x65"
  34435. "\x20\x74\x68\x65\x20\x73\x6f\x66"
  34436. "\x74\x77\x61\x72\x65\x20\x11\x00"
  34437. "\x00",
  34438. }, {
  34439. .inlen = 159,
  34440. .outlen = 131,
  34441. .input = "This document describes a compression method based on the LZO "
  34442. "compression algorithm. This document defines the application of "
  34443. "the LZO algorithm used in UBIFS.",
  34444. .output = "\x00\x2c\x54\x68\x69\x73\x20\x64"
  34445. "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
  34446. "\x64\x65\x73\x63\x72\x69\x62\x65"
  34447. "\x73\x20\x61\x20\x63\x6f\x6d\x70"
  34448. "\x72\x65\x73\x73\x69\x6f\x6e\x20"
  34449. "\x6d\x65\x74\x68\x6f\x64\x20\x62"
  34450. "\x61\x73\x65\x64\x20\x6f\x6e\x20"
  34451. "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
  34452. "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
  34453. "\x72\x69\x74\x68\x6d\x2e\x20\x20"
  34454. "\x2e\x54\x01\x03\x66\x69\x6e\x65"
  34455. "\x73\x20\x74\x06\x05\x61\x70\x70"
  34456. "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
  34457. "\x66\x88\x02\x60\x09\x27\xf0\x00"
  34458. "\x0c\x20\x75\x73\x65\x64\x20\x69"
  34459. "\x6e\x20\x55\x42\x49\x46\x53\x2e"
  34460. "\x11\x00\x00",
  34461. },
  34462. };
  34463. static const struct comp_testvec lzo_decomp_tv_template[] = {
  34464. {
  34465. .inlen = 133,
  34466. .outlen = 159,
  34467. .input = "\x00\x2b\x54\x68\x69\x73\x20\x64"
  34468. "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
  34469. "\x64\x65\x73\x63\x72\x69\x62\x65"
  34470. "\x73\x20\x61\x20\x63\x6f\x6d\x70"
  34471. "\x72\x65\x73\x73\x69\x6f\x6e\x20"
  34472. "\x6d\x65\x74\x68\x6f\x64\x20\x62"
  34473. "\x61\x73\x65\x64\x20\x6f\x6e\x20"
  34474. "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
  34475. "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
  34476. "\x69\x74\x68\x6d\x2e\x20\x20\x54"
  34477. "\x68\x69\x73\x2a\x54\x01\x02\x66"
  34478. "\x69\x6e\x65\x73\x94\x06\x05\x61"
  34479. "\x70\x70\x6c\x69\x63\x61\x74\x76"
  34480. "\x0a\x6f\x66\x88\x02\x60\x09\x27"
  34481. "\xf0\x00\x0c\x20\x75\x73\x65\x64"
  34482. "\x20\x69\x6e\x20\x55\x42\x49\x46"
  34483. "\x53\x2e\x11\x00\x00",
  34484. .output = "This document describes a compression method based on the LZO "
  34485. "compression algorithm. This document defines the application of "
  34486. "the LZO algorithm used in UBIFS.",
  34487. }, {
  34488. .inlen = 46,
  34489. .outlen = 70,
  34490. .input = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
  34491. "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
  34492. "\x64\x20\x73\x68\x61\x72\x65\x20"
  34493. "\x74\x68\x65\x20\x73\x6f\x66\x74"
  34494. "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
  34495. "\x3d\x88\x00\x11\x00\x00",
  34496. .output = "Join us now and share the software "
  34497. "Join us now and share the software ",
  34498. },
  34499. };
  34500. static const struct comp_testvec lzorle_comp_tv_template[] = {
  34501. {
  34502. .inlen = 70,
  34503. .outlen = 59,
  34504. .input = "Join us now and share the software "
  34505. "Join us now and share the software ",
  34506. .output = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
  34507. "\x20\x75\x73\x20\x6e\x6f\x77\x20"
  34508. "\x61\x6e\x64\x20\x73\x68\x61\x72"
  34509. "\x65\x20\x74\x68\x65\x20\x73\x6f"
  34510. "\x66\x74\x77\x70\x01\x32\x88\x00"
  34511. "\x0c\x65\x20\x74\x68\x65\x20\x73"
  34512. "\x6f\x66\x74\x77\x61\x72\x65\x20"
  34513. "\x11\x00\x00",
  34514. }, {
  34515. .inlen = 159,
  34516. .outlen = 133,
  34517. .input = "This document describes a compression method based on the LZO "
  34518. "compression algorithm. This document defines the application of "
  34519. "the LZO algorithm used in UBIFS.",
  34520. .output = "\x11\x01\x00\x2c\x54\x68\x69\x73"
  34521. "\x20\x64\x6f\x63\x75\x6d\x65\x6e"
  34522. "\x74\x20\x64\x65\x73\x63\x72\x69"
  34523. "\x62\x65\x73\x20\x61\x20\x63\x6f"
  34524. "\x6d\x70\x72\x65\x73\x73\x69\x6f"
  34525. "\x6e\x20\x6d\x65\x74\x68\x6f\x64"
  34526. "\x20\x62\x61\x73\x65\x64\x20\x6f"
  34527. "\x6e\x20\x74\x68\x65\x20\x4c\x5a"
  34528. "\x4f\x20\x2a\x8c\x00\x09\x61\x6c"
  34529. "\x67\x6f\x72\x69\x74\x68\x6d\x2e"
  34530. "\x20\x20\x2e\x54\x01\x03\x66\x69"
  34531. "\x6e\x65\x73\x20\x74\x06\x05\x61"
  34532. "\x70\x70\x6c\x69\x63\x61\x74\x76"
  34533. "\x0a\x6f\x66\x88\x02\x60\x09\x27"
  34534. "\xf0\x00\x0c\x20\x75\x73\x65\x64"
  34535. "\x20\x69\x6e\x20\x55\x42\x49\x46"
  34536. "\x53\x2e\x11\x00\x00",
  34537. },
  34538. };
  34539. static const struct comp_testvec lzorle_decomp_tv_template[] = {
  34540. {
  34541. .inlen = 133,
  34542. .outlen = 159,
  34543. .input = "\x00\x2b\x54\x68\x69\x73\x20\x64"
  34544. "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
  34545. "\x64\x65\x73\x63\x72\x69\x62\x65"
  34546. "\x73\x20\x61\x20\x63\x6f\x6d\x70"
  34547. "\x72\x65\x73\x73\x69\x6f\x6e\x20"
  34548. "\x6d\x65\x74\x68\x6f\x64\x20\x62"
  34549. "\x61\x73\x65\x64\x20\x6f\x6e\x20"
  34550. "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
  34551. "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
  34552. "\x69\x74\x68\x6d\x2e\x20\x20\x54"
  34553. "\x68\x69\x73\x2a\x54\x01\x02\x66"
  34554. "\x69\x6e\x65\x73\x94\x06\x05\x61"
  34555. "\x70\x70\x6c\x69\x63\x61\x74\x76"
  34556. "\x0a\x6f\x66\x88\x02\x60\x09\x27"
  34557. "\xf0\x00\x0c\x20\x75\x73\x65\x64"
  34558. "\x20\x69\x6e\x20\x55\x42\x49\x46"
  34559. "\x53\x2e\x11\x00\x00",
  34560. .output = "This document describes a compression method based on the LZO "
  34561. "compression algorithm. This document defines the application of "
  34562. "the LZO algorithm used in UBIFS.",
  34563. }, {
  34564. .inlen = 59,
  34565. .outlen = 70,
  34566. .input = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
  34567. "\x20\x75\x73\x20\x6e\x6f\x77\x20"
  34568. "\x61\x6e\x64\x20\x73\x68\x61\x72"
  34569. "\x65\x20\x74\x68\x65\x20\x73\x6f"
  34570. "\x66\x74\x77\x70\x01\x32\x88\x00"
  34571. "\x0c\x65\x20\x74\x68\x65\x20\x73"
  34572. "\x6f\x66\x74\x77\x61\x72\x65\x20"
  34573. "\x11\x00\x00",
  34574. .output = "Join us now and share the software "
  34575. "Join us now and share the software ",
  34576. },
  34577. };
  34578. /*
  34579. * Michael MIC test vectors from IEEE 802.11i
  34580. */
  34581. #define MICHAEL_MIC_TEST_VECTORS 6
  34582. static const struct hash_testvec michael_mic_tv_template[] = {
  34583. {
  34584. .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
  34585. .ksize = 8,
  34586. .plaintext = zeroed_string,
  34587. .psize = 0,
  34588. .digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
  34589. },
  34590. {
  34591. .key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
  34592. .ksize = 8,
  34593. .plaintext = "M",
  34594. .psize = 1,
  34595. .digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
  34596. },
  34597. {
  34598. .key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
  34599. .ksize = 8,
  34600. .plaintext = "Mi",
  34601. .psize = 2,
  34602. .digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
  34603. },
  34604. {
  34605. .key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
  34606. .ksize = 8,
  34607. .plaintext = "Mic",
  34608. .psize = 3,
  34609. .digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
  34610. },
  34611. {
  34612. .key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
  34613. .ksize = 8,
  34614. .plaintext = "Mich",
  34615. .psize = 4,
  34616. .digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
  34617. },
  34618. {
  34619. .key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
  34620. .ksize = 8,
  34621. .plaintext = "Michael",
  34622. .psize = 7,
  34623. .digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
  34624. }
  34625. };
  34626. /*
  34627. * CRC32 test vectors
  34628. */
  34629. static const struct hash_testvec crc32_tv_template[] = {
  34630. {
  34631. .psize = 0,
  34632. .digest = "\x00\x00\x00\x00",
  34633. },
  34634. {
  34635. .plaintext = "abcdefg",
  34636. .psize = 7,
  34637. .digest = "\xd8\xb5\x46\xac",
  34638. },
  34639. {
  34640. .key = "\x87\xa9\xcb\xed",
  34641. .ksize = 4,
  34642. .psize = 0,
  34643. .digest = "\x87\xa9\xcb\xed",
  34644. },
  34645. {
  34646. .key = "\xff\xff\xff\xff",
  34647. .ksize = 4,
  34648. .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
  34649. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  34650. "\x11\x12\x13\x14\x15\x16\x17\x18"
  34651. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  34652. "\x21\x22\x23\x24\x25\x26\x27\x28",
  34653. .psize = 40,
  34654. .digest = "\x3a\xdf\x4b\xb0",
  34655. },
  34656. {
  34657. .key = "\xff\xff\xff\xff",
  34658. .ksize = 4,
  34659. .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  34660. "\x31\x32\x33\x34\x35\x36\x37\x38"
  34661. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  34662. "\x41\x42\x43\x44\x45\x46\x47\x48"
  34663. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
  34664. .psize = 40,
  34665. .digest = "\xa9\x7a\x7f\x7b",
  34666. },
  34667. {
  34668. .key = "\xff\xff\xff\xff",
  34669. .ksize = 4,
  34670. .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
  34671. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  34672. "\x61\x62\x63\x64\x65\x66\x67\x68"
  34673. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  34674. "\x71\x72\x73\x74\x75\x76\x77\x78",
  34675. .psize = 40,
  34676. .digest = "\xba\xd3\xf8\x1c",
  34677. },
  34678. {
  34679. .key = "\xff\xff\xff\xff",
  34680. .ksize = 4,
  34681. .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  34682. "\x81\x82\x83\x84\x85\x86\x87\x88"
  34683. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  34684. "\x91\x92\x93\x94\x95\x96\x97\x98"
  34685. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
  34686. .psize = 40,
  34687. .digest = "\xa8\xa9\xc2\x02",
  34688. },
  34689. {
  34690. .key = "\xff\xff\xff\xff",
  34691. .ksize = 4,
  34692. .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  34693. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  34694. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  34695. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  34696. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
  34697. .psize = 40,
  34698. .digest = "\x27\xf0\x57\xe2",
  34699. },
  34700. {
  34701. .key = "\xff\xff\xff\xff",
  34702. .ksize = 4,
  34703. .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  34704. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  34705. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  34706. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  34707. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  34708. .psize = 40,
  34709. .digest = "\x49\x78\x10\x08",
  34710. },
  34711. {
  34712. .key = "\x80\xea\xd3\xf1",
  34713. .ksize = 4,
  34714. .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  34715. "\x31\x32\x33\x34\x35\x36\x37\x38"
  34716. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  34717. "\x41\x42\x43\x44\x45\x46\x47\x48"
  34718. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
  34719. .psize = 40,
  34720. .digest = "\x9a\xb1\xdc\xf0",
  34721. },
  34722. {
  34723. .key = "\xf3\x4a\x1d\x5d",
  34724. .ksize = 4,
  34725. .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
  34726. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  34727. "\x61\x62\x63\x64\x65\x66\x67\x68"
  34728. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  34729. "\x71\x72\x73\x74\x75\x76\x77\x78",
  34730. .psize = 40,
  34731. .digest = "\xb4\x97\xcc\xd4",
  34732. },
  34733. {
  34734. .key = "\x2e\x80\x04\x59",
  34735. .ksize = 4,
  34736. .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  34737. "\x81\x82\x83\x84\x85\x86\x87\x88"
  34738. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  34739. "\x91\x92\x93\x94\x95\x96\x97\x98"
  34740. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
  34741. .psize = 40,
  34742. .digest = "\x67\x9b\xfa\x79",
  34743. },
  34744. {
  34745. .key = "\xa6\xcc\x19\x85",
  34746. .ksize = 4,
  34747. .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  34748. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  34749. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  34750. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  34751. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
  34752. .psize = 40,
  34753. .digest = "\x24\xb5\x16\xef",
  34754. },
  34755. {
  34756. .key = "\x41\xfc\xfe\x2d",
  34757. .ksize = 4,
  34758. .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  34759. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  34760. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  34761. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  34762. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  34763. .psize = 40,
  34764. .digest = "\x15\x94\x80\x39",
  34765. },
  34766. {
  34767. .key = "\xff\xff\xff\xff",
  34768. .ksize = 4,
  34769. .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
  34770. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  34771. "\x11\x12\x13\x14\x15\x16\x17\x18"
  34772. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  34773. "\x21\x22\x23\x24\x25\x26\x27\x28"
  34774. "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  34775. "\x31\x32\x33\x34\x35\x36\x37\x38"
  34776. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  34777. "\x41\x42\x43\x44\x45\x46\x47\x48"
  34778. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
  34779. "\x51\x52\x53\x54\x55\x56\x57\x58"
  34780. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  34781. "\x61\x62\x63\x64\x65\x66\x67\x68"
  34782. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  34783. "\x71\x72\x73\x74\x75\x76\x77\x78"
  34784. "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  34785. "\x81\x82\x83\x84\x85\x86\x87\x88"
  34786. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  34787. "\x91\x92\x93\x94\x95\x96\x97\x98"
  34788. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
  34789. "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  34790. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  34791. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  34792. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  34793. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
  34794. "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  34795. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  34796. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  34797. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  34798. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  34799. .psize = 240,
  34800. .digest = "\x6c\xc6\x56\xde",
  34801. }, {
  34802. .key = "\xff\xff\xff\xff",
  34803. .ksize = 4,
  34804. .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
  34805. "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
  34806. "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
  34807. "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
  34808. "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
  34809. "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
  34810. "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
  34811. "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
  34812. "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
  34813. "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
  34814. "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
  34815. "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
  34816. "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
  34817. "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
  34818. "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
  34819. "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
  34820. "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
  34821. "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
  34822. "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
  34823. "\x58\xef\x63\xfa\x91\x05\x9c\x33"
  34824. "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
  34825. "\x19\xb0\x47\xde\x52\xe9\x80\x17"
  34826. "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
  34827. "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
  34828. "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
  34829. "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
  34830. "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
  34831. "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
  34832. "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
  34833. "\x86\x1d\x91\x28\xbf\x33\xca\x61"
  34834. "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
  34835. "\x47\xde\x75\x0c\x80\x17\xae\x22"
  34836. "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
  34837. "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
  34838. "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
  34839. "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
  34840. "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
  34841. "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
  34842. "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
  34843. "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
  34844. "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
  34845. "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
  34846. "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
  34847. "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
  34848. "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
  34849. "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
  34850. "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
  34851. "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
  34852. "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
  34853. "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
  34854. "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
  34855. "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
  34856. "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
  34857. "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
  34858. "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
  34859. "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
  34860. "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
  34861. "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
  34862. "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
  34863. "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
  34864. "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
  34865. "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
  34866. "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
  34867. "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
  34868. "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
  34869. "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
  34870. "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
  34871. "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
  34872. "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
  34873. "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
  34874. "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
  34875. "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
  34876. "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
  34877. "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
  34878. "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
  34879. "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
  34880. "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
  34881. "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
  34882. "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
  34883. "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
  34884. "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
  34885. "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
  34886. "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
  34887. "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
  34888. "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
  34889. "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
  34890. "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
  34891. "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
  34892. "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
  34893. "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
  34894. "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
  34895. "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
  34896. "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
  34897. "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
  34898. "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
  34899. "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
  34900. "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
  34901. "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
  34902. "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
  34903. "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
  34904. "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
  34905. "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
  34906. "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
  34907. "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
  34908. "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
  34909. "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
  34910. "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
  34911. "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
  34912. "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
  34913. "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
  34914. "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
  34915. "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
  34916. "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
  34917. "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
  34918. "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
  34919. "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
  34920. "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
  34921. "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
  34922. "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
  34923. "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
  34924. "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
  34925. "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
  34926. "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
  34927. "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
  34928. "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
  34929. "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
  34930. "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
  34931. "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
  34932. "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
  34933. "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
  34934. "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
  34935. "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
  34936. "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
  34937. "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
  34938. "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
  34939. "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
  34940. "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
  34941. "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
  34942. "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
  34943. "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
  34944. "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
  34945. "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
  34946. "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
  34947. "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
  34948. "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
  34949. "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
  34950. "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
  34951. "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
  34952. "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
  34953. "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
  34954. "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
  34955. "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
  34956. "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
  34957. "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
  34958. "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
  34959. "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
  34960. "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
  34961. "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
  34962. "\x47\xde\x52\xe9\x80\x17\x8b\x22"
  34963. "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
  34964. "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
  34965. "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
  34966. "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
  34967. "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
  34968. "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
  34969. "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
  34970. "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
  34971. "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
  34972. "\x75\x0c\x80\x17\xae\x22\xb9\x50"
  34973. "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
  34974. "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
  34975. "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
  34976. "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
  34977. "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
  34978. "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
  34979. "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
  34980. "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
  34981. "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
  34982. "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
  34983. "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
  34984. "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
  34985. "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
  34986. "\x48\xdf\x53\xea\x81\x18\x8c\x23"
  34987. "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
  34988. "\x09\xa0\x37\xce\x42\xd9\x70\x07"
  34989. "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
  34990. "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
  34991. "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
  34992. "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
  34993. "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
  34994. "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
  34995. "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
  34996. "\x76\x0d\x81\x18\xaf\x23\xba\x51"
  34997. "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
  34998. "\x37\xce\x65\xfc\x70\x07\x9e\x12"
  34999. "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
  35000. "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
  35001. "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
  35002. "\xff\x73\x0a\xa1\x15\xac\x43\xda"
  35003. "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
  35004. "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
  35005. "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
  35006. "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
  35007. "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
  35008. "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
  35009. "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
  35010. "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
  35011. "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
  35012. "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
  35013. "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
  35014. "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
  35015. "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
  35016. "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
  35017. "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
  35018. "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
  35019. "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
  35020. "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
  35021. "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
  35022. "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
  35023. "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
  35024. "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
  35025. "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
  35026. "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
  35027. "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
  35028. "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
  35029. "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
  35030. "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
  35031. "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
  35032. "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
  35033. "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
  35034. "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
  35035. "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
  35036. "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
  35037. "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
  35038. "\xef\x86\x1d\x91\x28\xbf\x33\xca"
  35039. "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
  35040. "\xd3\x47\xde\x75\x0c\x80\x17\xae"
  35041. "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
  35042. "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
  35043. "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
  35044. "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
  35045. "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
  35046. "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
  35047. "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
  35048. "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
  35049. "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
  35050. "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
  35051. "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
  35052. "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
  35053. "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
  35054. "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
  35055. "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
  35056. "\x67\xfe\x95\x09\xa0\x37\xce\x42"
  35057. "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
  35058. "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
  35059. "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
  35060. .psize = 2048,
  35061. .digest = "\xfb\x3a\x7a\xda",
  35062. }
  35063. };
  35064. /*
  35065. * CRC32C test vectors
  35066. */
  35067. static const struct hash_testvec crc32c_tv_template[] = {
  35068. {
  35069. .psize = 0,
  35070. .digest = "\x00\x00\x00\x00",
  35071. },
  35072. {
  35073. .plaintext = "abcdefg",
  35074. .psize = 7,
  35075. .digest = "\x41\xf4\x27\xe6",
  35076. },
  35077. {
  35078. .key = "\x87\xa9\xcb\xed",
  35079. .ksize = 4,
  35080. .psize = 0,
  35081. .digest = "\x78\x56\x34\x12",
  35082. },
  35083. {
  35084. .key = "\xff\xff\xff\xff",
  35085. .ksize = 4,
  35086. .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
  35087. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  35088. "\x11\x12\x13\x14\x15\x16\x17\x18"
  35089. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  35090. "\x21\x22\x23\x24\x25\x26\x27\x28",
  35091. .psize = 40,
  35092. .digest = "\x7f\x15\x2c\x0e",
  35093. },
  35094. {
  35095. .key = "\xff\xff\xff\xff",
  35096. .ksize = 4,
  35097. .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  35098. "\x31\x32\x33\x34\x35\x36\x37\x38"
  35099. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  35100. "\x41\x42\x43\x44\x45\x46\x47\x48"
  35101. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
  35102. .psize = 40,
  35103. .digest = "\xf6\xeb\x80\xe9",
  35104. },
  35105. {
  35106. .key = "\xff\xff\xff\xff",
  35107. .ksize = 4,
  35108. .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
  35109. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  35110. "\x61\x62\x63\x64\x65\x66\x67\x68"
  35111. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  35112. "\x71\x72\x73\x74\x75\x76\x77\x78",
  35113. .psize = 40,
  35114. .digest = "\xed\xbd\x74\xde",
  35115. },
  35116. {
  35117. .key = "\xff\xff\xff\xff",
  35118. .ksize = 4,
  35119. .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  35120. "\x81\x82\x83\x84\x85\x86\x87\x88"
  35121. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  35122. "\x91\x92\x93\x94\x95\x96\x97\x98"
  35123. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
  35124. .psize = 40,
  35125. .digest = "\x62\xc8\x79\xd5",
  35126. },
  35127. {
  35128. .key = "\xff\xff\xff\xff",
  35129. .ksize = 4,
  35130. .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  35131. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  35132. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  35133. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  35134. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
  35135. .psize = 40,
  35136. .digest = "\xd0\x9a\x97\xba",
  35137. },
  35138. {
  35139. .key = "\xff\xff\xff\xff",
  35140. .ksize = 4,
  35141. .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  35142. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  35143. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  35144. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  35145. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  35146. .psize = 40,
  35147. .digest = "\x13\xd9\x29\x2b",
  35148. },
  35149. {
  35150. .key = "\x80\xea\xd3\xf1",
  35151. .ksize = 4,
  35152. .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  35153. "\x31\x32\x33\x34\x35\x36\x37\x38"
  35154. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  35155. "\x41\x42\x43\x44\x45\x46\x47\x48"
  35156. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
  35157. .psize = 40,
  35158. .digest = "\x0c\xb5\xe2\xa2",
  35159. },
  35160. {
  35161. .key = "\xf3\x4a\x1d\x5d",
  35162. .ksize = 4,
  35163. .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
  35164. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  35165. "\x61\x62\x63\x64\x65\x66\x67\x68"
  35166. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  35167. "\x71\x72\x73\x74\x75\x76\x77\x78",
  35168. .psize = 40,
  35169. .digest = "\xd1\x7f\xfb\xa6",
  35170. },
  35171. {
  35172. .key = "\x2e\x80\x04\x59",
  35173. .ksize = 4,
  35174. .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  35175. "\x81\x82\x83\x84\x85\x86\x87\x88"
  35176. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  35177. "\x91\x92\x93\x94\x95\x96\x97\x98"
  35178. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
  35179. .psize = 40,
  35180. .digest = "\x59\x33\xe6\x7a",
  35181. },
  35182. {
  35183. .key = "\xa6\xcc\x19\x85",
  35184. .ksize = 4,
  35185. .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  35186. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  35187. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  35188. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  35189. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
  35190. .psize = 40,
  35191. .digest = "\xbe\x03\x01\xd2",
  35192. },
  35193. {
  35194. .key = "\x41\xfc\xfe\x2d",
  35195. .ksize = 4,
  35196. .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  35197. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  35198. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  35199. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  35200. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  35201. .psize = 40,
  35202. .digest = "\x75\xd3\xc5\x24",
  35203. },
  35204. {
  35205. .key = "\xff\xff\xff\xff",
  35206. .ksize = 4,
  35207. .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
  35208. "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
  35209. "\x11\x12\x13\x14\x15\x16\x17\x18"
  35210. "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
  35211. "\x21\x22\x23\x24\x25\x26\x27\x28"
  35212. "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
  35213. "\x31\x32\x33\x34\x35\x36\x37\x38"
  35214. "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
  35215. "\x41\x42\x43\x44\x45\x46\x47\x48"
  35216. "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
  35217. "\x51\x52\x53\x54\x55\x56\x57\x58"
  35218. "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
  35219. "\x61\x62\x63\x64\x65\x66\x67\x68"
  35220. "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
  35221. "\x71\x72\x73\x74\x75\x76\x77\x78"
  35222. "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
  35223. "\x81\x82\x83\x84\x85\x86\x87\x88"
  35224. "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
  35225. "\x91\x92\x93\x94\x95\x96\x97\x98"
  35226. "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
  35227. "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
  35228. "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
  35229. "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
  35230. "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
  35231. "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
  35232. "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
  35233. "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
  35234. "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
  35235. "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
  35236. "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
  35237. .psize = 240,
  35238. .digest = "\x75\xd3\xc5\x24",
  35239. }, {
  35240. .key = "\xff\xff\xff\xff",
  35241. .ksize = 4,
  35242. .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
  35243. "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
  35244. "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
  35245. "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
  35246. "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
  35247. "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
  35248. "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
  35249. "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
  35250. "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
  35251. "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
  35252. "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
  35253. "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
  35254. "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
  35255. "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
  35256. "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
  35257. "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
  35258. "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
  35259. "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
  35260. "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
  35261. "\x58\xef\x63\xfa\x91\x05\x9c\x33"
  35262. "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
  35263. "\x19\xb0\x47\xde\x52\xe9\x80\x17"
  35264. "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
  35265. "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
  35266. "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
  35267. "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
  35268. "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
  35269. "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
  35270. "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
  35271. "\x86\x1d\x91\x28\xbf\x33\xca\x61"
  35272. "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
  35273. "\x47\xde\x75\x0c\x80\x17\xae\x22"
  35274. "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
  35275. "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
  35276. "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
  35277. "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
  35278. "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
  35279. "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
  35280. "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
  35281. "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
  35282. "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
  35283. "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
  35284. "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
  35285. "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
  35286. "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
  35287. "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
  35288. "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
  35289. "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
  35290. "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
  35291. "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
  35292. "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
  35293. "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
  35294. "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
  35295. "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
  35296. "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
  35297. "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
  35298. "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
  35299. "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
  35300. "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
  35301. "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
  35302. "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
  35303. "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
  35304. "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
  35305. "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
  35306. "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
  35307. "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
  35308. "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
  35309. "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
  35310. "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
  35311. "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
  35312. "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
  35313. "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
  35314. "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
  35315. "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
  35316. "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
  35317. "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
  35318. "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
  35319. "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
  35320. "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
  35321. "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
  35322. "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
  35323. "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
  35324. "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
  35325. "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
  35326. "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
  35327. "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
  35328. "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
  35329. "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
  35330. "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
  35331. "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
  35332. "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
  35333. "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
  35334. "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
  35335. "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
  35336. "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
  35337. "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
  35338. "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
  35339. "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
  35340. "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
  35341. "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
  35342. "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
  35343. "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
  35344. "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
  35345. "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
  35346. "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
  35347. "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
  35348. "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
  35349. "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
  35350. "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
  35351. "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
  35352. "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
  35353. "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
  35354. "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
  35355. "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
  35356. "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
  35357. "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
  35358. "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
  35359. "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
  35360. "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
  35361. "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
  35362. "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
  35363. "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
  35364. "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
  35365. "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
  35366. "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
  35367. "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
  35368. "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
  35369. "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
  35370. "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
  35371. "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
  35372. "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
  35373. "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
  35374. "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
  35375. "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
  35376. "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
  35377. "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
  35378. "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
  35379. "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
  35380. "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
  35381. "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
  35382. "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
  35383. "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
  35384. "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
  35385. "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
  35386. "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
  35387. "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
  35388. "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
  35389. "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
  35390. "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
  35391. "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
  35392. "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
  35393. "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
  35394. "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
  35395. "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
  35396. "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
  35397. "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
  35398. "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
  35399. "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
  35400. "\x47\xde\x52\xe9\x80\x17\x8b\x22"
  35401. "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
  35402. "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
  35403. "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
  35404. "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
  35405. "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
  35406. "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
  35407. "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
  35408. "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
  35409. "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
  35410. "\x75\x0c\x80\x17\xae\x22\xb9\x50"
  35411. "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
  35412. "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
  35413. "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
  35414. "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
  35415. "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
  35416. "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
  35417. "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
  35418. "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
  35419. "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
  35420. "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
  35421. "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
  35422. "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
  35423. "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
  35424. "\x48\xdf\x53\xea\x81\x18\x8c\x23"
  35425. "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
  35426. "\x09\xa0\x37\xce\x42\xd9\x70\x07"
  35427. "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
  35428. "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
  35429. "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
  35430. "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
  35431. "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
  35432. "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
  35433. "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
  35434. "\x76\x0d\x81\x18\xaf\x23\xba\x51"
  35435. "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
  35436. "\x37\xce\x65\xfc\x70\x07\x9e\x12"
  35437. "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
  35438. "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
  35439. "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
  35440. "\xff\x73\x0a\xa1\x15\xac\x43\xda"
  35441. "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
  35442. "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
  35443. "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
  35444. "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
  35445. "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
  35446. "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
  35447. "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
  35448. "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
  35449. "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
  35450. "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
  35451. "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
  35452. "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
  35453. "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
  35454. "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
  35455. "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
  35456. "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
  35457. "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
  35458. "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
  35459. "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
  35460. "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
  35461. "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
  35462. "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
  35463. "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
  35464. "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
  35465. "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
  35466. "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
  35467. "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
  35468. "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
  35469. "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
  35470. "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
  35471. "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
  35472. "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
  35473. "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
  35474. "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
  35475. "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
  35476. "\xef\x86\x1d\x91\x28\xbf\x33\xca"
  35477. "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
  35478. "\xd3\x47\xde\x75\x0c\x80\x17\xae"
  35479. "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
  35480. "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
  35481. "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
  35482. "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
  35483. "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
  35484. "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
  35485. "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
  35486. "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
  35487. "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
  35488. "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
  35489. "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
  35490. "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
  35491. "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
  35492. "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
  35493. "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
  35494. "\x67\xfe\x95\x09\xa0\x37\xce\x42"
  35495. "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
  35496. "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
  35497. "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
  35498. .psize = 2048,
  35499. .digest = "\xec\x26\x4d\x95",
  35500. }
  35501. };
  35502. static const struct hash_testvec xxhash64_tv_template[] = {
  35503. {
  35504. .psize = 0,
  35505. .digest = "\x99\xe9\xd8\x51\x37\xdb\x46\xef",
  35506. },
  35507. {
  35508. .plaintext = "\x40",
  35509. .psize = 1,
  35510. .digest = "\x20\x5c\x91\xaa\x88\xeb\x59\xd0",
  35511. },
  35512. {
  35513. .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
  35514. "\x88\xc7\x9a\x09\x1a\x9b",
  35515. .psize = 14,
  35516. .digest = "\xa8\xe8\x2b\xa9\x92\xa1\x37\x4a",
  35517. },
  35518. {
  35519. .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
  35520. "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
  35521. "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
  35522. "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
  35523. "\x31\x65\x05\xbb\x31\xae\x51\x11"
  35524. "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
  35525. "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
  35526. "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
  35527. "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
  35528. "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
  35529. "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
  35530. "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
  35531. "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
  35532. "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
  35533. "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
  35534. "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
  35535. "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
  35536. "\x43\x99\x4d\x81\x85\xae\x82\x00"
  35537. "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
  35538. "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
  35539. "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
  35540. "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
  35541. "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
  35542. "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
  35543. "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
  35544. "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
  35545. "\x12\x02\x0c\xdb\x94\x00\x38\x95"
  35546. "\xed\xfd\x08\xf7\xe8\x04",
  35547. .psize = 222,
  35548. .digest = "\x41\xfc\xd4\x29\xfe\xe7\x85\x17",
  35549. },
  35550. {
  35551. .psize = 0,
  35552. .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
  35553. .ksize = 8,
  35554. .digest = "\xef\x17\x9b\x92\xa2\xfd\x75\xac",
  35555. },
  35556. {
  35557. .plaintext = "\x40",
  35558. .psize = 1,
  35559. .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
  35560. .ksize = 8,
  35561. .digest = "\xd1\x70\x4f\x14\x02\xc4\x9e\x71",
  35562. },
  35563. {
  35564. .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
  35565. "\x88\xc7\x9a\x09\x1a\x9b",
  35566. .psize = 14,
  35567. .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
  35568. .ksize = 8,
  35569. .digest = "\xa4\xcd\xfe\x8e\x37\xe2\x1c\x64"
  35570. },
  35571. {
  35572. .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
  35573. "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
  35574. "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
  35575. "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
  35576. "\x31\x65\x05\xbb\x31\xae\x51\x11"
  35577. "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
  35578. "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
  35579. "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
  35580. "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
  35581. "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
  35582. "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
  35583. "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
  35584. "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
  35585. "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
  35586. "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
  35587. "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
  35588. "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
  35589. "\x43\x99\x4d\x81\x85\xae\x82\x00"
  35590. "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
  35591. "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
  35592. "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
  35593. "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
  35594. "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
  35595. "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
  35596. "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
  35597. "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
  35598. "\x12\x02\x0c\xdb\x94\x00\x38\x95"
  35599. "\xed\xfd\x08\xf7\xe8\x04",
  35600. .psize = 222,
  35601. .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
  35602. .ksize = 8,
  35603. .digest = "\x58\xbc\x55\xf2\x42\x81\x5c\xf0"
  35604. },
  35605. };
  35606. static const struct comp_testvec lz4_comp_tv_template[] = {
  35607. {
  35608. .inlen = 255,
  35609. .outlen = 218,
  35610. .input = "LZ4 is lossless compression algorithm, providing"
  35611. " compression speed at 400 MB/s per core, scalable "
  35612. "with multi-cores CPU. It features an extremely fast "
  35613. "decoder, with speed in multiple GB/s per core, "
  35614. "typically reaching RAM speed limits on multi-core "
  35615. "systems.",
  35616. .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
  35617. "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
  35618. "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
  35619. "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
  35620. "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
  35621. "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
  35622. "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
  35623. "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
  35624. "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
  35625. "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
  35626. "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
  35627. "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
  35628. "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
  35629. "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
  35630. "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
  35631. "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
  35632. "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
  35633. },
  35634. };
  35635. static const struct comp_testvec lz4_decomp_tv_template[] = {
  35636. {
  35637. .inlen = 218,
  35638. .outlen = 255,
  35639. .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
  35640. "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
  35641. "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
  35642. "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
  35643. "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
  35644. "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
  35645. "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
  35646. "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
  35647. "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
  35648. "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
  35649. "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
  35650. "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
  35651. "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
  35652. "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
  35653. "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
  35654. "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
  35655. "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
  35656. .output = "LZ4 is lossless compression algorithm, providing"
  35657. " compression speed at 400 MB/s per core, scalable "
  35658. "with multi-cores CPU. It features an extremely fast "
  35659. "decoder, with speed in multiple GB/s per core, "
  35660. "typically reaching RAM speed limits on multi-core "
  35661. "systems.",
  35662. },
  35663. };
  35664. static const struct comp_testvec lz4hc_comp_tv_template[] = {
  35665. {
  35666. .inlen = 255,
  35667. .outlen = 216,
  35668. .input = "LZ4 is lossless compression algorithm, providing"
  35669. " compression speed at 400 MB/s per core, scalable "
  35670. "with multi-cores CPU. It features an extremely fast "
  35671. "decoder, with speed in multiple GB/s per core, "
  35672. "typically reaching RAM speed limits on multi-core "
  35673. "systems.",
  35674. .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
  35675. "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
  35676. "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
  35677. "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
  35678. "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
  35679. "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
  35680. "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
  35681. "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
  35682. "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
  35683. "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
  35684. "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
  35685. "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
  35686. "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
  35687. "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
  35688. "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
  35689. "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
  35690. "\x73\x79\x73\x74\x65\x6d\x73\x2e",
  35691. },
  35692. };
  35693. static const struct comp_testvec lz4hc_decomp_tv_template[] = {
  35694. {
  35695. .inlen = 216,
  35696. .outlen = 255,
  35697. .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
  35698. "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
  35699. "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
  35700. "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
  35701. "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
  35702. "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
  35703. "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
  35704. "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
  35705. "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
  35706. "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
  35707. "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
  35708. "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
  35709. "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
  35710. "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
  35711. "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
  35712. "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
  35713. "\x73\x79\x73\x74\x65\x6d\x73\x2e",
  35714. .output = "LZ4 is lossless compression algorithm, providing"
  35715. " compression speed at 400 MB/s per core, scalable "
  35716. "with multi-cores CPU. It features an extremely fast "
  35717. "decoder, with speed in multiple GB/s per core, "
  35718. "typically reaching RAM speed limits on multi-core "
  35719. "systems.",
  35720. },
  35721. };
  35722. static const struct comp_testvec zstd_comp_tv_template[] = {
  35723. {
  35724. .inlen = 68,
  35725. .outlen = 39,
  35726. .input = "The algorithm is zstd. "
  35727. "The algorithm is zstd. "
  35728. "The algorithm is zstd.",
  35729. .output = "\x28\xb5\x2f\xfd\x00\x50\xf5\x00\x00\xb8\x54\x68\x65"
  35730. "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
  35731. "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
  35732. ,
  35733. },
  35734. {
  35735. .inlen = 244,
  35736. .outlen = 151,
  35737. .input = "zstd, short for Zstandard, is a fast lossless "
  35738. "compression algorithm, targeting real-time "
  35739. "compression scenarios at zlib-level and better "
  35740. "compression ratios. The zstd compression library "
  35741. "provides in-memory compression and decompression "
  35742. "functions.",
  35743. .output = "\x28\xb5\x2f\xfd\x00\x50\x75\x04\x00\x42\x4b\x1e\x17"
  35744. "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
  35745. "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
  35746. "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
  35747. "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
  35748. "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
  35749. "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
  35750. "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
  35751. "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
  35752. "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
  35753. "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
  35754. "\x20\xa9\x0e\x82\xb9\x43\x45\x01",
  35755. },
  35756. };
  35757. static const struct comp_testvec zstd_decomp_tv_template[] = {
  35758. {
  35759. .inlen = 43,
  35760. .outlen = 68,
  35761. .input = "\x28\xb5\x2f\xfd\x04\x50\xf5\x00\x00\xb8\x54\x68\x65"
  35762. "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
  35763. "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
  35764. "\x6b\xf4\x13\x35",
  35765. .output = "The algorithm is zstd. "
  35766. "The algorithm is zstd. "
  35767. "The algorithm is zstd.",
  35768. },
  35769. {
  35770. .inlen = 155,
  35771. .outlen = 244,
  35772. .input = "\x28\xb5\x2f\xfd\x04\x50\x75\x04\x00\x42\x4b\x1e\x17"
  35773. "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
  35774. "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
  35775. "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
  35776. "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
  35777. "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
  35778. "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
  35779. "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
  35780. "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
  35781. "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
  35782. "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
  35783. "\x20\xa9\x0e\x82\xb9\x43\x45\x01\xaa\x6d\xda\x0d",
  35784. .output = "zstd, short for Zstandard, is a fast lossless "
  35785. "compression algorithm, targeting real-time "
  35786. "compression scenarios at zlib-level and better "
  35787. "compression ratios. The zstd compression library "
  35788. "provides in-memory compression and decompression "
  35789. "functions.",
  35790. },
  35791. };
  35792. /* based on aes_cbc_tv_template */
  35793. static const struct cipher_testvec essiv_aes_cbc_tv_template[] = {
  35794. {
  35795. .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  35796. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  35797. .klen = 16,
  35798. .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  35799. "\x00\x00\x00\x00\x00\x00\x00\x00",
  35800. .ptext = "Single block msg",
  35801. .ctext = "\xfa\x59\xe7\x5f\x41\x56\x65\xc3"
  35802. "\x36\xca\x6b\x72\x10\x9f\x8c\xd4",
  35803. .len = 16,
  35804. }, {
  35805. .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  35806. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  35807. .klen = 16,
  35808. .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  35809. "\x00\x00\x00\x00\x00\x00\x00\x00",
  35810. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  35811. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  35812. "\x10\x11\x12\x13\x14\x15\x16\x17"
  35813. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  35814. .ctext = "\xc8\x59\x9a\xfe\x79\xe6\x7b\x20"
  35815. "\x06\x7d\x55\x0a\x5e\xc7\xb5\xa7"
  35816. "\x0b\x9c\x80\xd2\x15\xa1\xb8\x6d"
  35817. "\xc6\xab\x7b\x65\xd9\xfd\x88\xeb",
  35818. .len = 32,
  35819. }, {
  35820. .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  35821. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  35822. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  35823. .klen = 24,
  35824. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  35825. "\x00\x00\x00\x00\x00\x00\x00\x00",
  35826. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  35827. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  35828. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  35829. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  35830. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  35831. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  35832. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  35833. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  35834. .ctext = "\x96\x6d\xa9\x7a\x42\xe6\x01\xc7"
  35835. "\x17\xfc\xa7\x41\xd3\x38\x0b\xe5"
  35836. "\x51\x48\xf7\x7e\x5e\x26\xa9\xfe"
  35837. "\x45\x72\x1c\xd9\xde\xab\xf3\x4d"
  35838. "\x39\x47\xc5\x4f\x97\x3a\x55\x63"
  35839. "\x80\x29\x64\x4c\x33\xe8\x21\x8a"
  35840. "\x6a\xef\x6b\x6a\x8f\x43\xc0\xcb"
  35841. "\xf0\xf3\x6e\x74\x54\x44\x92\x44",
  35842. .len = 64,
  35843. }, {
  35844. .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  35845. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  35846. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  35847. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  35848. .klen = 32,
  35849. .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
  35850. "\x00\x00\x00\x00\x00\x00\x00\x00",
  35851. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  35852. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  35853. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  35854. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  35855. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  35856. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  35857. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  35858. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  35859. .ctext = "\x24\x52\xf1\x48\x74\xd0\xa7\x93"
  35860. "\x75\x9b\x63\x46\xc0\x1c\x1e\x17"
  35861. "\x4d\xdc\x5b\x3a\x27\x93\x2a\x63"
  35862. "\xf7\xf1\xc7\xb3\x54\x56\x5b\x50"
  35863. "\xa3\x31\xa5\x8b\xd6\xfd\xb6\x3c"
  35864. "\x8b\xf6\xf2\x45\x05\x0c\xc8\xbb"
  35865. "\x32\x0b\x26\x1c\xe9\x8b\x02\xc0"
  35866. "\xb2\x6f\x37\xa7\x5b\xa8\xa9\x42",
  35867. .len = 64,
  35868. }, {
  35869. .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
  35870. "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
  35871. "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
  35872. "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
  35873. .klen = 32,
  35874. .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
  35875. "\x00\x00\x00\x00\x00\x00\x00\x00",
  35876. .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
  35877. "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
  35878. "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
  35879. "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
  35880. "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
  35881. "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
  35882. "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
  35883. "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
  35884. "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
  35885. "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
  35886. "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
  35887. "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
  35888. "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
  35889. "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
  35890. "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
  35891. "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
  35892. "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
  35893. "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
  35894. "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
  35895. "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
  35896. "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
  35897. "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
  35898. "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
  35899. "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
  35900. "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
  35901. "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
  35902. "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
  35903. "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
  35904. "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
  35905. "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
  35906. "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
  35907. "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
  35908. "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
  35909. "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
  35910. "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
  35911. "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
  35912. "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
  35913. "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
  35914. "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
  35915. "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
  35916. "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
  35917. "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
  35918. "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
  35919. "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
  35920. "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
  35921. "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
  35922. "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
  35923. "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
  35924. "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
  35925. "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
  35926. "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
  35927. "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
  35928. "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
  35929. "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
  35930. "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
  35931. "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
  35932. "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
  35933. "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
  35934. "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
  35935. "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
  35936. "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
  35937. "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
  35938. .ctext = "\x97\x7f\x69\x0f\x0f\x34\xa6\x33"
  35939. "\x66\x49\x7e\xd0\x4d\x1b\xc9\x64"
  35940. "\xf9\x61\x95\x98\x11\x00\x88\xf8"
  35941. "\x2e\x88\x01\x0f\x2b\xe1\xae\x3e"
  35942. "\xfe\xd6\x47\x30\x11\x68\x7d\x99"
  35943. "\xad\x69\x6a\xe8\x41\x5f\x1e\x16"
  35944. "\x00\x3a\x47\xdf\x8e\x7d\x23\x1c"
  35945. "\x19\x5b\x32\x76\x60\x03\x05\xc1"
  35946. "\xa0\xff\xcf\xcc\x74\x39\x46\x63"
  35947. "\xfe\x5f\xa6\x35\xa7\xb4\xc1\xf9"
  35948. "\x4b\x5e\x38\xcc\x8c\xc1\xa2\xcf"
  35949. "\x9a\xc3\xae\x55\x42\x46\x93\xd9"
  35950. "\xbd\x22\xd3\x8a\x19\x96\xc3\xb3"
  35951. "\x7d\x03\x18\xf9\x45\x09\x9c\xc8"
  35952. "\x90\xf3\x22\xb3\x25\x83\x9a\x75"
  35953. "\xbb\x04\x48\x97\x3a\x63\x08\x04"
  35954. "\xa0\x69\xf6\x52\xd4\x89\x93\x69"
  35955. "\xb4\x33\xa2\x16\x58\xec\x4b\x26"
  35956. "\x76\x54\x10\x0b\x6e\x53\x1e\xbc"
  35957. "\x16\x18\x42\xb1\xb1\xd3\x4b\xda"
  35958. "\x06\x9f\x8b\x77\xf7\xab\xd6\xed"
  35959. "\xa3\x1d\x90\xda\x49\x38\x20\xb8"
  35960. "\x6c\xee\xae\x3e\xae\x6c\x03\xb8"
  35961. "\x0b\xed\xc8\xaa\x0e\xc5\x1f\x90"
  35962. "\x60\xe2\xec\x1b\x76\xd0\xcf\xda"
  35963. "\x29\x1b\xb8\x5a\xbc\xf4\xba\x13"
  35964. "\x91\xa6\xcb\x83\x3f\xeb\xe9\x7b"
  35965. "\x03\xba\x40\x9e\xe6\x7a\xb2\x4a"
  35966. "\x73\x49\xfc\xed\xfb\x55\xa4\x24"
  35967. "\xc7\xa4\xd7\x4b\xf5\xf7\x16\x62"
  35968. "\x80\xd3\x19\x31\x52\x25\xa8\x69"
  35969. "\xda\x9a\x87\xf5\xf2\xee\x5d\x61"
  35970. "\xc1\x12\x72\x3e\x52\x26\x45\x3a"
  35971. "\xd8\x9d\x57\xfa\x14\xe2\x9b\x2f"
  35972. "\xd4\xaa\x5e\x31\xf4\x84\x89\xa4"
  35973. "\xe3\x0e\xb0\x58\x41\x75\x6a\xcb"
  35974. "\x30\x01\x98\x90\x15\x80\xf5\x27"
  35975. "\x92\x13\x81\xf0\x1c\x1e\xfc\xb1"
  35976. "\x33\xf7\x63\xb0\x67\xec\x2e\x5c"
  35977. "\x85\xe3\x5b\xd0\x43\x8a\xb8\x5f"
  35978. "\x44\x9f\xec\x19\xc9\x8f\xde\xdf"
  35979. "\x79\xef\xf8\xee\x14\x87\xb3\x34"
  35980. "\x76\x00\x3a\x9b\xc7\xed\xb1\x3d"
  35981. "\xef\x07\xb0\xe4\xfd\x68\x9e\xeb"
  35982. "\xc2\xb4\x1a\x85\x9a\x7d\x11\x88"
  35983. "\xf8\xab\x43\x55\x2b\x8a\x4f\x60"
  35984. "\x85\x9a\xf4\xba\xae\x48\x81\xeb"
  35985. "\x93\x07\x97\x9e\xde\x2a\xfc\x4e"
  35986. "\x31\xde\xaa\x44\xf7\x2a\xc3\xee"
  35987. "\x60\xa2\x98\x2c\x0a\x88\x50\xc5"
  35988. "\x6d\x89\xd3\xe4\xb6\xa7\xf4\xb0"
  35989. "\xcf\x0e\x89\xe3\x5e\x8f\x82\xf4"
  35990. "\x9d\xd1\xa9\x51\x50\x8a\xd2\x18"
  35991. "\x07\xb2\xaa\x3b\x7f\x58\x9b\xf4"
  35992. "\xb7\x24\x39\xd3\x66\x2f\x1e\xc0"
  35993. "\x11\xa3\x56\x56\x2a\x10\x73\xbc"
  35994. "\xe1\x23\xbf\xa9\x37\x07\x9c\xc3"
  35995. "\xb2\xc9\xa8\x1c\x5b\x5c\x58\xa4"
  35996. "\x77\x02\x26\xad\xc3\x40\x11\x53"
  35997. "\x93\x68\x72\xde\x05\x8b\x10\xbc"
  35998. "\xa6\xd4\x1b\xd9\x27\xd8\x16\x12"
  35999. "\x61\x2b\x31\x2a\x44\x87\x96\x58",
  36000. .len = 496,
  36001. },
  36002. };
  36003. /* based on hmac_sha256_aes_cbc_tv_temp */
  36004. static const struct aead_testvec essiv_hmac_sha256_aes_cbc_tv_temp[] = {
  36005. {
  36006. #ifdef __LITTLE_ENDIAN
  36007. .key = "\x08\x00" /* rta length */
  36008. "\x01\x00" /* rta type */
  36009. #else
  36010. .key = "\x00\x08" /* rta length */
  36011. "\x00\x01" /* rta type */
  36012. #endif
  36013. "\x00\x00\x00\x10" /* enc key length */
  36014. "\x00\x00\x00\x00\x00\x00\x00\x00"
  36015. "\x00\x00\x00\x00\x00\x00\x00\x00"
  36016. "\x00\x00\x00\x00\x00\x00\x00\x00"
  36017. "\x00\x00\x00\x00\x00\x00\x00\x00"
  36018. "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
  36019. "\x51\x2e\x03\xd5\x34\x12\x00\x06",
  36020. .klen = 8 + 32 + 16,
  36021. .iv = "\xb3\x0c\x5a\x11\x41\xad\xc1\x04"
  36022. "\xbc\x1e\x7e\x35\xb0\x5d\x78\x29",
  36023. .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
  36024. "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
  36025. .alen = 16,
  36026. .ptext = "Single block msg",
  36027. .plen = 16,
  36028. .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
  36029. "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
  36030. "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
  36031. "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
  36032. "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
  36033. "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
  36034. .clen = 16 + 32,
  36035. }, {
  36036. #ifdef __LITTLE_ENDIAN
  36037. .key = "\x08\x00" /* rta length */
  36038. "\x01\x00" /* rta type */
  36039. #else
  36040. .key = "\x00\x08" /* rta length */
  36041. "\x00\x01" /* rta type */
  36042. #endif
  36043. "\x00\x00\x00\x10" /* enc key length */
  36044. "\x20\x21\x22\x23\x24\x25\x26\x27"
  36045. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  36046. "\x30\x31\x32\x33\x34\x35\x36\x37"
  36047. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  36048. "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
  36049. "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
  36050. .klen = 8 + 32 + 16,
  36051. .iv = "\x56\xe8\x14\xa5\x74\x18\x75\x13"
  36052. "\x2f\x79\xe7\xc8\x65\xe3\x48\x45",
  36053. .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
  36054. "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
  36055. .alen = 16,
  36056. .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
  36057. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  36058. "\x10\x11\x12\x13\x14\x15\x16\x17"
  36059. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
  36060. .plen = 32,
  36061. .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
  36062. "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
  36063. "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
  36064. "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
  36065. "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
  36066. "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
  36067. "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
  36068. "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
  36069. .clen = 32 + 32,
  36070. }, {
  36071. #ifdef __LITTLE_ENDIAN
  36072. .key = "\x08\x00" /* rta length */
  36073. "\x01\x00" /* rta type */
  36074. #else
  36075. .key = "\x00\x08" /* rta length */
  36076. "\x00\x01" /* rta type */
  36077. #endif
  36078. "\x00\x00\x00\x10" /* enc key length */
  36079. "\x11\x22\x33\x44\x55\x66\x77\x88"
  36080. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  36081. "\x22\x33\x44\x55\x66\x77\x88\x99"
  36082. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  36083. "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
  36084. "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
  36085. .klen = 8 + 32 + 16,
  36086. .iv = "\x1f\x6b\xfb\xd6\x6b\x72\x2f\xc9"
  36087. "\xb6\x9f\x8c\x10\xa8\x96\x15\x64",
  36088. .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
  36089. "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
  36090. .alen = 16,
  36091. .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
  36092. .plen = 48,
  36093. .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
  36094. "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
  36095. "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
  36096. "\x50\x69\x39\x27\x67\x72\xf8\xd5"
  36097. "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
  36098. "\x85\x79\x69\x5d\x83\xba\x26\x84"
  36099. "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
  36100. "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
  36101. "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
  36102. "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
  36103. .clen = 48 + 32,
  36104. }, {
  36105. #ifdef __LITTLE_ENDIAN
  36106. .key = "\x08\x00" /* rta length */
  36107. "\x01\x00" /* rta type */
  36108. #else
  36109. .key = "\x00\x08" /* rta length */
  36110. "\x00\x01" /* rta type */
  36111. #endif
  36112. "\x00\x00\x00\x10" /* enc key length */
  36113. "\x11\x22\x33\x44\x55\x66\x77\x88"
  36114. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  36115. "\x22\x33\x44\x55\x66\x77\x88\x99"
  36116. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  36117. "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
  36118. "\xbc\x46\x90\x3d\xba\x29\x03\x49",
  36119. .klen = 8 + 32 + 16,
  36120. .iv = "\x13\xe5\xf2\xef\x61\x97\x59\x35"
  36121. "\x9b\x36\x84\x46\x4e\x63\xd1\x41",
  36122. .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
  36123. "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
  36124. .alen = 16,
  36125. .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  36126. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  36127. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  36128. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  36129. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  36130. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  36131. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  36132. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
  36133. .plen = 64,
  36134. .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
  36135. "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
  36136. "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
  36137. "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
  36138. "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
  36139. "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
  36140. "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
  36141. "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
  36142. "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
  36143. "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
  36144. "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
  36145. "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
  36146. .clen = 64 + 32,
  36147. }, {
  36148. #ifdef __LITTLE_ENDIAN
  36149. .key = "\x08\x00" /* rta length */
  36150. "\x01\x00" /* rta type */
  36151. #else
  36152. .key = "\x00\x08" /* rta length */
  36153. "\x00\x01" /* rta type */
  36154. #endif
  36155. "\x00\x00\x00\x10" /* enc key length */
  36156. "\x11\x22\x33\x44\x55\x66\x77\x88"
  36157. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  36158. "\x22\x33\x44\x55\x66\x77\x88\x99"
  36159. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  36160. "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
  36161. "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
  36162. .klen = 8 + 32 + 16,
  36163. .iv = "\xe4\x13\xa1\x15\xe9\x6b\xb8\x23"
  36164. "\x81\x7a\x94\x29\xab\xfd\xd2\x2c",
  36165. .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
  36166. "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
  36167. "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
  36168. .alen = 24,
  36169. .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
  36170. "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
  36171. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  36172. "\x10\x11\x12\x13\x14\x15\x16\x17"
  36173. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  36174. "\x20\x21\x22\x23\x24\x25\x26\x27"
  36175. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  36176. "\x30\x31\x32\x33\x34\x35\x36\x37"
  36177. "\x01\x02\x03\x04\x05\x06\x07\x08"
  36178. "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
  36179. .plen = 80,
  36180. .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
  36181. "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
  36182. "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
  36183. "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
  36184. "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
  36185. "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
  36186. "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
  36187. "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
  36188. "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
  36189. "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
  36190. "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
  36191. "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
  36192. "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
  36193. "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
  36194. .clen = 80 + 32,
  36195. }, {
  36196. #ifdef __LITTLE_ENDIAN
  36197. .key = "\x08\x00" /* rta length */
  36198. "\x01\x00" /* rta type */
  36199. #else
  36200. .key = "\x00\x08" /* rta length */
  36201. "\x00\x01" /* rta type */
  36202. #endif
  36203. "\x00\x00\x00\x18" /* enc key length */
  36204. "\x11\x22\x33\x44\x55\x66\x77\x88"
  36205. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  36206. "\x22\x33\x44\x55\x66\x77\x88\x99"
  36207. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  36208. "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
  36209. "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
  36210. "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
  36211. .klen = 8 + 32 + 24,
  36212. .iv = "\x49\xca\x41\xc9\x6b\xbf\x6c\x98"
  36213. "\x38\x2f\xa7\x3d\x4d\x80\x49\xb0",
  36214. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  36215. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  36216. .alen = 16,
  36217. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  36218. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  36219. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  36220. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  36221. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  36222. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  36223. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  36224. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  36225. .plen = 64,
  36226. .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
  36227. "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
  36228. "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
  36229. "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
  36230. "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
  36231. "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
  36232. "\x08\xb0\xe2\x79\x88\x59\x88\x81"
  36233. "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
  36234. "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
  36235. "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
  36236. "\xca\x71\x85\x93\xf7\x85\x55\x8b"
  36237. "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
  36238. .clen = 64 + 32,
  36239. }, {
  36240. #ifdef __LITTLE_ENDIAN
  36241. .key = "\x08\x00" /* rta length */
  36242. "\x01\x00" /* rta type */
  36243. #else
  36244. .key = "\x00\x08" /* rta length */
  36245. "\x00\x01" /* rta type */
  36246. #endif
  36247. "\x00\x00\x00\x20" /* enc key length */
  36248. "\x11\x22\x33\x44\x55\x66\x77\x88"
  36249. "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
  36250. "\x22\x33\x44\x55\x66\x77\x88\x99"
  36251. "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
  36252. "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
  36253. "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
  36254. "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
  36255. "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
  36256. .klen = 8 + 32 + 32,
  36257. .iv = "\xdf\xab\xf2\x7c\xdc\xe0\x33\x4c"
  36258. "\xf9\x75\xaf\xf9\x2f\x60\x3a\x9b",
  36259. .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
  36260. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
  36261. .alen = 16,
  36262. .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
  36263. "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
  36264. "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
  36265. "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
  36266. "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
  36267. "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
  36268. "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
  36269. "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
  36270. .plen = 64,
  36271. .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
  36272. "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
  36273. "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
  36274. "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
  36275. "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
  36276. "\xa5\x30\xe2\x63\x04\x23\x14\x61"
  36277. "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
  36278. "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
  36279. "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
  36280. "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
  36281. "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
  36282. "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
  36283. .clen = 64 + 32,
  36284. },
  36285. };
  36286. static const char blake2_ordered_sequence[] =
  36287. "\x00\x01\x02\x03\x04\x05\x06\x07"
  36288. "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
  36289. "\x10\x11\x12\x13\x14\x15\x16\x17"
  36290. "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
  36291. "\x20\x21\x22\x23\x24\x25\x26\x27"
  36292. "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
  36293. "\x30\x31\x32\x33\x34\x35\x36\x37"
  36294. "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
  36295. "\x40\x41\x42\x43\x44\x45\x46\x47"
  36296. "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
  36297. "\x50\x51\x52\x53\x54\x55\x56\x57"
  36298. "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
  36299. "\x60\x61\x62\x63\x64\x65\x66\x67"
  36300. "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
  36301. "\x70\x71\x72\x73\x74\x75\x76\x77"
  36302. "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
  36303. "\x80\x81\x82\x83\x84\x85\x86\x87"
  36304. "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
  36305. "\x90\x91\x92\x93\x94\x95\x96\x97"
  36306. "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
  36307. "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
  36308. "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
  36309. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
  36310. "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
  36311. "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
  36312. "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
  36313. "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
  36314. "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
  36315. "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
  36316. "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
  36317. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
  36318. "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
  36319. static const struct hash_testvec blake2b_160_tv_template[] = {{
  36320. .digest = (u8[]){ 0x33, 0x45, 0x52, 0x4a, 0xbf, 0x6b, 0xbe, 0x18,
  36321. 0x09, 0x44, 0x92, 0x24, 0xb5, 0x97, 0x2c, 0x41,
  36322. 0x79, 0x0b, 0x6c, 0xf2, },
  36323. }, {
  36324. .plaintext = blake2_ordered_sequence,
  36325. .psize = 64,
  36326. .digest = (u8[]){ 0x11, 0xcc, 0x66, 0x61, 0xe9, 0x22, 0xb0, 0xe4,
  36327. 0x07, 0xe0, 0xa5, 0x72, 0x49, 0xc3, 0x8d, 0x4f,
  36328. 0xf7, 0x6d, 0x8e, 0xc8, },
  36329. }, {
  36330. .ksize = 32,
  36331. .key = blake2_ordered_sequence,
  36332. .plaintext = blake2_ordered_sequence,
  36333. .psize = 1,
  36334. .digest = (u8[]){ 0x31, 0xe3, 0xd9, 0xd5, 0x4e, 0x72, 0xd8, 0x0b,
  36335. 0x2b, 0x3b, 0xd7, 0x6b, 0x82, 0x7a, 0x1d, 0xfb,
  36336. 0x56, 0x2f, 0x79, 0x4c, },
  36337. }, {
  36338. .ksize = 64,
  36339. .key = blake2_ordered_sequence,
  36340. .plaintext = blake2_ordered_sequence,
  36341. .psize = 7,
  36342. .digest = (u8[]){ 0x28, 0x20, 0xd1, 0xbe, 0x7f, 0xcc, 0xc1, 0x62,
  36343. 0xd9, 0x0d, 0x9a, 0x4b, 0x47, 0xd1, 0x5e, 0x04,
  36344. 0x74, 0x2a, 0x53, 0x17, },
  36345. }, {
  36346. .ksize = 1,
  36347. .key = "B",
  36348. .plaintext = blake2_ordered_sequence,
  36349. .psize = 15,
  36350. .digest = (u8[]){ 0x45, 0xe9, 0x95, 0xb6, 0xc4, 0xe8, 0x22, 0xea,
  36351. 0xfe, 0xd2, 0x37, 0xdb, 0x46, 0xbf, 0xf1, 0x25,
  36352. 0xd5, 0x03, 0x1d, 0x81, },
  36353. }, {
  36354. .ksize = 32,
  36355. .key = blake2_ordered_sequence,
  36356. .plaintext = blake2_ordered_sequence,
  36357. .psize = 247,
  36358. .digest = (u8[]){ 0x7e, 0xb9, 0xf2, 0x9b, 0x2f, 0xc2, 0x01, 0xd4,
  36359. 0xb0, 0x4f, 0x08, 0x2b, 0x8e, 0xbd, 0x06, 0xef,
  36360. 0x1c, 0xc4, 0x25, 0x95, },
  36361. }, {
  36362. .ksize = 64,
  36363. .key = blake2_ordered_sequence,
  36364. .plaintext = blake2_ordered_sequence,
  36365. .psize = 256,
  36366. .digest = (u8[]){ 0x6e, 0x35, 0x01, 0x70, 0xbf, 0xb6, 0xc4, 0xba,
  36367. 0x33, 0x1b, 0xa6, 0xd3, 0xc2, 0x5d, 0xb4, 0x03,
  36368. 0x95, 0xaf, 0x29, 0x16, },
  36369. }};
  36370. static const struct hash_testvec blake2b_256_tv_template[] = {{
  36371. .plaintext = blake2_ordered_sequence,
  36372. .psize = 7,
  36373. .digest = (u8[]){ 0x9d, 0xf1, 0x4b, 0x72, 0x48, 0x76, 0x4a, 0x86,
  36374. 0x91, 0x97, 0xc3, 0x5e, 0x39, 0x2d, 0x2a, 0x6d,
  36375. 0x6f, 0xdc, 0x5b, 0x79, 0xd5, 0x97, 0x29, 0x79,
  36376. 0x20, 0xfd, 0x3f, 0x14, 0x91, 0xb4, 0x42, 0xd2, },
  36377. }, {
  36378. .plaintext = blake2_ordered_sequence,
  36379. .psize = 256,
  36380. .digest = (u8[]){ 0x39, 0xa7, 0xeb, 0x9f, 0xed, 0xc1, 0x9a, 0xab,
  36381. 0xc8, 0x34, 0x25, 0xc6, 0x75, 0x5d, 0xd9, 0x0e,
  36382. 0x6f, 0x9d, 0x0c, 0x80, 0x49, 0x64, 0xa1, 0xf4,
  36383. 0xaa, 0xee, 0xa3, 0xb9, 0xfb, 0x59, 0x98, 0x35, },
  36384. }, {
  36385. .ksize = 1,
  36386. .key = "B",
  36387. .digest = (u8[]){ 0xc3, 0x08, 0xb1, 0xbf, 0xe4, 0xf9, 0xbc, 0xb4,
  36388. 0x75, 0xaf, 0x3f, 0x59, 0x6e, 0xae, 0xde, 0x6a,
  36389. 0xa3, 0x8e, 0xb5, 0x94, 0xad, 0x30, 0xf0, 0x17,
  36390. 0x1c, 0xfb, 0xd8, 0x3e, 0x8a, 0xbe, 0xed, 0x9c, },
  36391. }, {
  36392. .ksize = 64,
  36393. .key = blake2_ordered_sequence,
  36394. .plaintext = blake2_ordered_sequence,
  36395. .psize = 1,
  36396. .digest = (u8[]){ 0x34, 0x75, 0x8b, 0x64, 0x71, 0x35, 0x62, 0x82,
  36397. 0x97, 0xfb, 0x09, 0xc7, 0x93, 0x0c, 0xd0, 0x4e,
  36398. 0x95, 0x28, 0xe5, 0x66, 0x91, 0x12, 0xf5, 0xb1,
  36399. 0x31, 0x84, 0x93, 0xe1, 0x4d, 0xe7, 0x7e, 0x55, },
  36400. }, {
  36401. .ksize = 32,
  36402. .key = blake2_ordered_sequence,
  36403. .plaintext = blake2_ordered_sequence,
  36404. .psize = 15,
  36405. .digest = (u8[]){ 0xce, 0x74, 0xa9, 0x2e, 0xe9, 0x40, 0x3d, 0xa2,
  36406. 0x11, 0x4a, 0x99, 0x25, 0x7a, 0x34, 0x5d, 0x35,
  36407. 0xdf, 0x6a, 0x48, 0x79, 0x2a, 0x93, 0x93, 0xff,
  36408. 0x1f, 0x3c, 0x39, 0xd0, 0x71, 0x1f, 0x20, 0x7b, },
  36409. }, {
  36410. .ksize = 1,
  36411. .key = "B",
  36412. .plaintext = blake2_ordered_sequence,
  36413. .psize = 64,
  36414. .digest = (u8[]){ 0x2e, 0x84, 0xdb, 0xa2, 0x5f, 0x0e, 0xe9, 0x52,
  36415. 0x79, 0x50, 0x69, 0x9f, 0xf1, 0xfd, 0xfc, 0x9d,
  36416. 0x89, 0x83, 0xa9, 0xb6, 0xa4, 0xd5, 0xfa, 0xb5,
  36417. 0xbe, 0x35, 0x1a, 0x17, 0x8a, 0x2c, 0x7f, 0x7d, },
  36418. }, {
  36419. .ksize = 64,
  36420. .key = blake2_ordered_sequence,
  36421. .plaintext = blake2_ordered_sequence,
  36422. .psize = 247,
  36423. .digest = (u8[]){ 0x2e, 0x26, 0xf0, 0x09, 0x02, 0x65, 0x90, 0x09,
  36424. 0xcc, 0xf5, 0x4c, 0x44, 0x74, 0x0e, 0xa0, 0xa8,
  36425. 0x25, 0x4a, 0xda, 0x61, 0x56, 0x95, 0x7d, 0x3f,
  36426. 0x6d, 0xc0, 0x43, 0x17, 0x95, 0x89, 0xcd, 0x9d, },
  36427. }};
  36428. static const struct hash_testvec blake2b_384_tv_template[] = {{
  36429. .plaintext = blake2_ordered_sequence,
  36430. .psize = 1,
  36431. .digest = (u8[]){ 0xcc, 0x01, 0x08, 0x85, 0x36, 0xf7, 0x84, 0xf0,
  36432. 0xbb, 0x76, 0x9e, 0x41, 0xc4, 0x95, 0x7b, 0x6d,
  36433. 0x0c, 0xde, 0x1f, 0xcc, 0x8c, 0xf1, 0xd9, 0x1f,
  36434. 0xc4, 0x77, 0xd4, 0xdd, 0x6e, 0x3f, 0xbf, 0xcd,
  36435. 0x43, 0xd1, 0x69, 0x8d, 0x14, 0x6f, 0x34, 0x8b,
  36436. 0x2c, 0x36, 0xa3, 0x39, 0x68, 0x2b, 0xec, 0x3f, },
  36437. }, {
  36438. .plaintext = blake2_ordered_sequence,
  36439. .psize = 247,
  36440. .digest = (u8[]){ 0xc8, 0xf8, 0xf0, 0xa2, 0x69, 0xfa, 0xcc, 0x4d,
  36441. 0x32, 0x5f, 0x13, 0x88, 0xca, 0x71, 0x99, 0x8f,
  36442. 0xf7, 0x30, 0x41, 0x5d, 0x6e, 0x34, 0xb7, 0x6e,
  36443. 0x3e, 0xd0, 0x46, 0xb6, 0xca, 0x30, 0x66, 0xb2,
  36444. 0x6f, 0x0c, 0x35, 0x54, 0x17, 0xcd, 0x26, 0x1b,
  36445. 0xef, 0x48, 0x98, 0xe0, 0x56, 0x7c, 0x05, 0xd2, },
  36446. }, {
  36447. .ksize = 32,
  36448. .key = blake2_ordered_sequence,
  36449. .digest = (u8[]){ 0x15, 0x09, 0x7a, 0x90, 0x13, 0x23, 0xab, 0x0c,
  36450. 0x0b, 0x43, 0x21, 0x9a, 0xb5, 0xc6, 0x0c, 0x2e,
  36451. 0x7c, 0x57, 0xfc, 0xcc, 0x4b, 0x0f, 0xf0, 0x57,
  36452. 0xb7, 0x9c, 0xe7, 0x0f, 0xe1, 0x57, 0xac, 0x37,
  36453. 0x77, 0xd4, 0xf4, 0x2f, 0x03, 0x3b, 0x64, 0x09,
  36454. 0x84, 0xa0, 0xb3, 0x24, 0xb7, 0xae, 0x47, 0x5e, },
  36455. }, {
  36456. .ksize = 1,
  36457. .key = "B",
  36458. .plaintext = blake2_ordered_sequence,
  36459. .psize = 7,
  36460. .digest = (u8[]){ 0x0b, 0x82, 0x88, 0xca, 0x05, 0x2f, 0x1b, 0x15,
  36461. 0xdc, 0xbb, 0x22, 0x27, 0x11, 0x6b, 0xf4, 0xd1,
  36462. 0xe9, 0x8f, 0x1b, 0x0b, 0x58, 0x3f, 0x5e, 0x86,
  36463. 0x80, 0x82, 0x6f, 0x8e, 0x54, 0xc1, 0x9f, 0x12,
  36464. 0xcf, 0xe9, 0x56, 0xc1, 0xfc, 0x1a, 0x08, 0xb9,
  36465. 0x4a, 0x57, 0x0a, 0x76, 0x3c, 0x15, 0x33, 0x18, },
  36466. }, {
  36467. .ksize = 64,
  36468. .key = blake2_ordered_sequence,
  36469. .plaintext = blake2_ordered_sequence,
  36470. .psize = 15,
  36471. .digest = (u8[]){ 0x4a, 0x81, 0x55, 0xb9, 0x79, 0x42, 0x8c, 0xc6,
  36472. 0x4f, 0xfe, 0xca, 0x82, 0x3b, 0xb2, 0xf7, 0xbc,
  36473. 0x5e, 0xfc, 0xab, 0x09, 0x1c, 0xd6, 0x3b, 0xe1,
  36474. 0x50, 0x82, 0x3b, 0xde, 0xc7, 0x06, 0xee, 0x3b,
  36475. 0x29, 0xce, 0xe5, 0x68, 0xe0, 0xff, 0xfa, 0xe1,
  36476. 0x7a, 0xf1, 0xc0, 0xfe, 0x57, 0xf4, 0x60, 0x49, },
  36477. }, {
  36478. .ksize = 32,
  36479. .key = blake2_ordered_sequence,
  36480. .plaintext = blake2_ordered_sequence,
  36481. .psize = 64,
  36482. .digest = (u8[]){ 0x34, 0xbd, 0xe1, 0x99, 0x43, 0x9f, 0x82, 0x72,
  36483. 0xe7, 0xed, 0x94, 0x9e, 0xe1, 0x84, 0xee, 0x82,
  36484. 0xfd, 0x26, 0x23, 0xc4, 0x17, 0x8d, 0xf5, 0x04,
  36485. 0xeb, 0xb7, 0xbc, 0xb8, 0xf3, 0x68, 0xb7, 0xad,
  36486. 0x94, 0x8e, 0x05, 0x3f, 0x8a, 0x5d, 0x8d, 0x81,
  36487. 0x3e, 0x88, 0xa7, 0x8c, 0xa2, 0xd5, 0xdc, 0x76, },
  36488. }, {
  36489. .ksize = 1,
  36490. .key = "B",
  36491. .plaintext = blake2_ordered_sequence,
  36492. .psize = 256,
  36493. .digest = (u8[]){ 0x22, 0x14, 0xf4, 0xb0, 0x4c, 0xa8, 0xb5, 0x7d,
  36494. 0xa7, 0x5c, 0x04, 0xeb, 0xd8, 0x8d, 0x04, 0x71,
  36495. 0xc7, 0x3c, 0xc7, 0x6e, 0x8b, 0x20, 0x36, 0x40,
  36496. 0x9d, 0xd0, 0x60, 0xc6, 0xe3, 0x0b, 0x6e, 0x50,
  36497. 0xf5, 0xaf, 0xf5, 0xc6, 0x3b, 0xe3, 0x84, 0x6a,
  36498. 0x93, 0x1b, 0x12, 0xd6, 0x18, 0x27, 0xba, 0x36, },
  36499. }};
  36500. static const struct hash_testvec blake2b_512_tv_template[] = {{
  36501. .plaintext = blake2_ordered_sequence,
  36502. .psize = 15,
  36503. .digest = (u8[]){ 0x44, 0x4b, 0x24, 0x0f, 0xe3, 0xed, 0x86, 0xd0,
  36504. 0xe2, 0xef, 0x4c, 0xe7, 0xd8, 0x51, 0xed, 0xde,
  36505. 0x22, 0x15, 0x55, 0x82, 0xaa, 0x09, 0x14, 0x79,
  36506. 0x7b, 0x72, 0x6c, 0xd0, 0x58, 0xb6, 0xf4, 0x59,
  36507. 0x32, 0xe0, 0xe1, 0x29, 0x51, 0x68, 0x76, 0x52,
  36508. 0x7b, 0x1d, 0xd8, 0x8f, 0xc6, 0x6d, 0x71, 0x19,
  36509. 0xf4, 0xab, 0x3b, 0xed, 0x93, 0xa6, 0x1a, 0x0e,
  36510. 0x2d, 0x2d, 0x2a, 0xea, 0xc3, 0x36, 0xd9, 0x58, },
  36511. }, {
  36512. .ksize = 64,
  36513. .key = blake2_ordered_sequence,
  36514. .digest = (u8[]){ 0x10, 0xeb, 0xb6, 0x77, 0x00, 0xb1, 0x86, 0x8e,
  36515. 0xfb, 0x44, 0x17, 0x98, 0x7a, 0xcf, 0x46, 0x90,
  36516. 0xae, 0x9d, 0x97, 0x2f, 0xb7, 0xa5, 0x90, 0xc2,
  36517. 0xf0, 0x28, 0x71, 0x79, 0x9a, 0xaa, 0x47, 0x86,
  36518. 0xb5, 0xe9, 0x96, 0xe8, 0xf0, 0xf4, 0xeb, 0x98,
  36519. 0x1f, 0xc2, 0x14, 0xb0, 0x05, 0xf4, 0x2d, 0x2f,
  36520. 0xf4, 0x23, 0x34, 0x99, 0x39, 0x16, 0x53, 0xdf,
  36521. 0x7a, 0xef, 0xcb, 0xc1, 0x3f, 0xc5, 0x15, 0x68, },
  36522. }, {
  36523. .ksize = 1,
  36524. .key = "B",
  36525. .plaintext = blake2_ordered_sequence,
  36526. .psize = 1,
  36527. .digest = (u8[]){ 0xd2, 0x11, 0x31, 0x29, 0x3f, 0xea, 0xca, 0x72,
  36528. 0x21, 0xe4, 0x06, 0x65, 0x05, 0x2a, 0xd1, 0x02,
  36529. 0xc0, 0x8d, 0x7b, 0xf1, 0x09, 0x3c, 0xef, 0x88,
  36530. 0xe1, 0x68, 0x0c, 0xf1, 0x3b, 0xa4, 0xe3, 0x03,
  36531. 0xed, 0xa0, 0xe3, 0x60, 0x58, 0xa0, 0xdb, 0x52,
  36532. 0x8a, 0x66, 0x43, 0x09, 0x60, 0x1a, 0xbb, 0x67,
  36533. 0xc5, 0x84, 0x31, 0x40, 0xfa, 0xde, 0xc1, 0xd0,
  36534. 0xff, 0x3f, 0x4a, 0x69, 0xd9, 0x92, 0x26, 0x86, },
  36535. }, {
  36536. .ksize = 32,
  36537. .key = blake2_ordered_sequence,
  36538. .plaintext = blake2_ordered_sequence,
  36539. .psize = 7,
  36540. .digest = (u8[]){ 0xa3, 0x3e, 0x50, 0xbc, 0xfb, 0xd9, 0xf0, 0x82,
  36541. 0xa6, 0xd1, 0xdf, 0xaf, 0x82, 0xd0, 0xcf, 0x84,
  36542. 0x9a, 0x25, 0x3c, 0xae, 0x6d, 0xb5, 0xaf, 0x01,
  36543. 0xd7, 0xaf, 0xed, 0x50, 0xdc, 0xe2, 0xba, 0xcc,
  36544. 0x8c, 0x38, 0xf5, 0x16, 0x89, 0x38, 0x86, 0xce,
  36545. 0x68, 0x10, 0x63, 0x64, 0xa5, 0x79, 0x53, 0xb5,
  36546. 0x2e, 0x8e, 0xbc, 0x0a, 0xce, 0x95, 0xc0, 0x1e,
  36547. 0x69, 0x59, 0x1d, 0x3b, 0xd8, 0x19, 0x90, 0xd7, },
  36548. }, {
  36549. .ksize = 64,
  36550. .key = blake2_ordered_sequence,
  36551. .plaintext = blake2_ordered_sequence,
  36552. .psize = 64,
  36553. .digest = (u8[]){ 0x65, 0x67, 0x6d, 0x80, 0x06, 0x17, 0x97, 0x2f,
  36554. 0xbd, 0x87, 0xe4, 0xb9, 0x51, 0x4e, 0x1c, 0x67,
  36555. 0x40, 0x2b, 0x7a, 0x33, 0x10, 0x96, 0xd3, 0xbf,
  36556. 0xac, 0x22, 0xf1, 0xab, 0xb9, 0x53, 0x74, 0xab,
  36557. 0xc9, 0x42, 0xf1, 0x6e, 0x9a, 0xb0, 0xea, 0xd3,
  36558. 0x3b, 0x87, 0xc9, 0x19, 0x68, 0xa6, 0xe5, 0x09,
  36559. 0xe1, 0x19, 0xff, 0x07, 0x78, 0x7b, 0x3e, 0xf4,
  36560. 0x83, 0xe1, 0xdc, 0xdc, 0xcf, 0x6e, 0x30, 0x22, },
  36561. }, {
  36562. .ksize = 1,
  36563. .key = "B",
  36564. .plaintext = blake2_ordered_sequence,
  36565. .psize = 247,
  36566. .digest = (u8[]){ 0xc2, 0x96, 0x2c, 0x6b, 0x84, 0xff, 0xee, 0xea,
  36567. 0x9b, 0xb8, 0x55, 0x2d, 0x6b, 0xa5, 0xd5, 0xe5,
  36568. 0xbd, 0xb1, 0x54, 0xb6, 0x1e, 0xfb, 0x63, 0x16,
  36569. 0x6e, 0x22, 0x04, 0xf0, 0x82, 0x7a, 0xc6, 0x99,
  36570. 0xf7, 0x4c, 0xff, 0x93, 0x71, 0x57, 0x64, 0xd0,
  36571. 0x08, 0x60, 0x39, 0x98, 0xb8, 0xd2, 0x2b, 0x4e,
  36572. 0x81, 0x8d, 0xe4, 0x8f, 0xb2, 0x1e, 0x8f, 0x99,
  36573. 0x98, 0xf1, 0x02, 0x9b, 0x4c, 0x7c, 0x97, 0x1a, },
  36574. }, {
  36575. .ksize = 32,
  36576. .key = blake2_ordered_sequence,
  36577. .plaintext = blake2_ordered_sequence,
  36578. .psize = 256,
  36579. .digest = (u8[]){ 0x0f, 0x32, 0x05, 0x09, 0xad, 0x9f, 0x25, 0xf7,
  36580. 0xf2, 0x00, 0x71, 0xc9, 0x9f, 0x08, 0x58, 0xd1,
  36581. 0x67, 0xc3, 0xa6, 0x2c, 0x0d, 0xe5, 0x7c, 0x15,
  36582. 0x35, 0x18, 0x5a, 0x68, 0xc1, 0xca, 0x1c, 0x6e,
  36583. 0x0f, 0xc4, 0xf6, 0x0c, 0x43, 0xe1, 0xb4, 0x3d,
  36584. 0x28, 0xe4, 0xc7, 0xa1, 0xcf, 0x6b, 0x17, 0x4e,
  36585. 0xf1, 0x5b, 0xb5, 0x53, 0xd4, 0xa7, 0xd0, 0x5b,
  36586. 0xae, 0x15, 0x81, 0x15, 0xd0, 0x88, 0xa0, 0x3c, },
  36587. }};
  36588. /*
  36589. * Test vectors generated using https://github.com/google/hctr2
  36590. */
  36591. static const struct cipher_testvec aes_xctr_tv_template[] = {
  36592. {
  36593. .key = "\x9c\x8d\xc4\xbd\x71\x36\xdc\x82"
  36594. "\x7c\xa1\xca\xa3\x23\x5a\xdb\xa4",
  36595. .iv = "\x8d\xe7\xa5\x6a\x95\x86\x42\xde"
  36596. "\xba\xea\x6e\x69\x03\x33\x86\x0f",
  36597. .ptext = "\xbd",
  36598. .ctext = "\xb9",
  36599. .klen = 16,
  36600. .len = 1,
  36601. },
  36602. {
  36603. .key = "\xbc\x1b\x12\x0c\x3f\x18\xcc\x1f"
  36604. "\x5a\x1d\xab\x81\xa8\x68\x7c\x63",
  36605. .iv = "\x22\xc1\xdd\x25\x0b\x18\xcb\xa5"
  36606. "\x4a\xda\x15\x07\x73\xd9\x88\x10",
  36607. .ptext = "\x24\x6e\x64\xc6\x15\x26\x9c\xda"
  36608. "\x2a\x4b\x57\x12\xff\x7c\xd6\xb5",
  36609. .ctext = "\xd6\x47\x8d\x58\x92\xb2\x84\xf9"
  36610. "\xb7\xee\x0d\x98\xa1\x39\x4d\x8f",
  36611. .klen = 16,
  36612. .len = 16,
  36613. },
  36614. {
  36615. .key = "\x44\x03\xbf\x4c\x30\xf0\xa7\xd6"
  36616. "\xbd\x54\xbb\x66\x8e\xa6\x0e\x8a",
  36617. .iv = "\xe6\xf7\x26\xdf\x8c\x3c\xaa\x88"
  36618. "\xce\xc1\xbd\x43\x3b\x09\x62\xad",
  36619. .ptext = "\x3c\xe3\x46\xb9\x8f\x9d\x3f\x8d"
  36620. "\xef\xf2\x53\xab\x24\xe2\x29\x08"
  36621. "\xf8\x7e\x1d\xa6\x6d\x86\x7d\x60"
  36622. "\x97\x63\x93\x29\x71\x94\xb4",
  36623. .ctext = "\xd4\xa3\xc6\xb8\xc1\x6f\x70\x1a"
  36624. "\x52\x0c\xed\x4c\xaf\x51\x56\x23"
  36625. "\x48\x45\x07\x10\x34\xc5\xba\x71"
  36626. "\xe5\xf8\x1e\xd8\xcb\xa6\xe7",
  36627. .klen = 16,
  36628. .len = 31,
  36629. },
  36630. {
  36631. .key = "\x5b\x17\x30\x94\x19\x31\xa1\xae"
  36632. "\x24\x8e\x42\x1e\x82\xe6\xec\xb8",
  36633. .iv = "\xd1\x2e\xb9\xb8\xf8\x49\xeb\x68"
  36634. "\x06\xeb\x65\x33\x34\xa2\xeb\xf0",
  36635. .ptext = "\x19\x75\xec\x59\x60\x1b\x7a\x3e"
  36636. "\x62\x46\x87\xf0\xde\xab\x81\x36"
  36637. "\x63\x53\x11\xa0\x1f\xce\x25\x85"
  36638. "\x49\x6b\x28\xfa\x1c\x92\xe5\x18"
  36639. "\x38\x14\x00\x79\xf2\x9e\xeb\xfc"
  36640. "\x36\xa7\x6b\xe1\xe5\xcf\x04\x48"
  36641. "\x44\x6d\xbd\x64\xb3\xcb\x78\x05"
  36642. "\x8d\x7f\x9a\xaf\x3c\xcf\x6c\x45"
  36643. "\x6c\x7c\x46\x4c\xa8\xc0\x1e\xe4"
  36644. "\x33\xa5\x7b\xbb\x26\xd9\xc0\x32"
  36645. "\x9d\x8a\xb3\xf3\x3d\x52\xe6\x48"
  36646. "\x4c\x9b\x4c\x6e\xa4\xa3\xad\x66"
  36647. "\x56\x48\xd5\x98\x3a\x93\xc4\x85"
  36648. "\xe9\x89\xca\xa6\xc1\xc8\xe7\xf8"
  36649. "\xc3\xe9\xef\xbe\x77\xe6\xd1\x3a"
  36650. "\xa6\x99\xc8\x2d\xdf\x40\x0f\x44",
  36651. .ctext = "\xc6\x1a\x01\x1a\x00\xba\x04\xff"
  36652. "\x10\xd1\x7e\x5d\xad\x91\xde\x8c"
  36653. "\x08\x55\x95\xae\xd7\x22\x77\x40"
  36654. "\xf0\x33\x1b\x51\xef\xfe\x3d\x67"
  36655. "\xdf\xc4\x9f\x39\x47\x67\x93\xab"
  36656. "\xaa\x37\x55\xfe\x41\xe0\xba\xcd"
  36657. "\x25\x02\x7c\x61\x51\xa1\xcc\x72"
  36658. "\x7a\x20\x26\xb9\x06\x68\xbd\x19"
  36659. "\xc5\x2e\x1b\x75\x4a\x40\xb2\xd2"
  36660. "\xc4\xee\xd8\x5b\xa4\x55\x7d\x25"
  36661. "\xfc\x01\x4d\x6f\x0a\xfd\x37\x5d"
  36662. "\x3e\x67\xc0\x35\x72\x53\x7b\xe2"
  36663. "\xd6\x19\x5b\x92\x6c\x3a\x8c\x2a"
  36664. "\xe2\xc2\xa2\x4f\x2a\xf2\xb5\x15"
  36665. "\x65\xc5\x8d\x97\xf9\xbf\x8c\x98"
  36666. "\xe4\x50\x1a\xf2\x76\x55\x07\x49",
  36667. .klen = 16,
  36668. .len = 128,
  36669. },
  36670. {
  36671. .key = "\x17\xa6\x01\x3d\x5d\xd6\xef\x2d"
  36672. "\x69\x8f\x4c\x54\x5b\xae\x43\xf0",
  36673. .iv = "\xa9\x1b\x47\x60\x26\x82\xf7\x1c"
  36674. "\x80\xf8\x88\xdd\xfb\x44\xd9\xda",
  36675. .ptext = "\xf7\x67\xcd\xa6\x04\x65\x53\x99"
  36676. "\x90\x5c\xa2\x56\x74\xd7\x9d\xf2"
  36677. "\x0b\x03\x7f\x4e\xa7\x84\x72\x2b"
  36678. "\xf0\xa5\xbf\xe6\x9a\x62\x3a\xfe"
  36679. "\x69\x5c\x93\x79\x23\x86\x64\x85"
  36680. "\xeb\x13\xb1\x5a\xd5\x48\x39\xa0"
  36681. "\x70\xfb\x06\x9a\xd7\x12\x5a\xb9"
  36682. "\xbe\xed\x2c\x81\x64\xf7\xcf\x80"
  36683. "\xee\xe6\x28\x32\x2d\x37\x4c\x32"
  36684. "\xf4\x1f\x23\x21\xe9\xc8\xc9\xbf"
  36685. "\x54\xbc\xcf\xb4\xc2\x65\x39\xdf"
  36686. "\xa5\xfb\x14\x11\xed\x62\x38\xcf"
  36687. "\x9b\x58\x11\xdd\xe9\xbd\x37\x57"
  36688. "\x75\x4c\x9e\xd5\x67\x0a\x48\xc6"
  36689. "\x0d\x05\x4e\xb1\x06\xd7\xec\x2e"
  36690. "\x9e\x59\xde\x4f\xab\x38\xbb\xe5"
  36691. "\x87\x04\x5a\x2c\x2a\xa2\x8f\x3c"
  36692. "\xe7\xe1\x46\xa9\x49\x9f\x24\xad"
  36693. "\x2d\xb0\x55\x40\x64\xd5\xda\x7e"
  36694. "\x1e\x77\xb8\x29\x72\x73\xc3\x84"
  36695. "\xcd\xf3\x94\x90\x58\x76\xc9\x2c"
  36696. "\x2a\xad\x56\xde\x33\x18\xb6\x3b"
  36697. "\x10\xe9\xe9\x8d\xf0\xa9\x7f\x05"
  36698. "\xf7\xb5\x8c\x13\x7e\x11\x3d\x1e"
  36699. "\x02\xbb\x5b\xea\x69\xff\x85\xcf"
  36700. "\x6a\x18\x97\x45\xe3\x96\xba\x4d"
  36701. "\x2d\x7a\x70\x78\x15\x2c\xe9\xdc"
  36702. "\x4e\x09\x92\x57\x04\xd8\x0b\xa6"
  36703. "\x20\x71\x76\x47\x76\x96\x89\xa0"
  36704. "\xd9\x29\xa2\x5a\x06\xdb\x56\x39"
  36705. "\x60\x33\x59\x04\x95\x89\xf6\x18"
  36706. "\x1d\x70\x75\x85\x3a\xb7\x6e",
  36707. .ctext = "\xe1\xe7\x3f\xd3\x6a\xb9\x2f\x64"
  36708. "\x37\xc5\xa4\xe9\xca\x0a\xa1\xd6"
  36709. "\xea\x7d\x39\xe5\xe6\xcc\x80\x54"
  36710. "\x74\x31\x2a\x04\x33\x79\x8c\x8e"
  36711. "\x4d\x47\x84\x28\x27\x9b\x3c\x58"
  36712. "\x54\x58\x20\x4f\x70\x01\x52\x5b"
  36713. "\xac\x95\x61\x49\x5f\xef\xba\xce"
  36714. "\xd7\x74\x56\xe7\xbb\xe0\x3c\xd0"
  36715. "\x7f\xa9\x23\x57\x33\x2a\xf6\xcb"
  36716. "\xbe\x42\x14\x95\xa8\xf9\x7a\x7e"
  36717. "\x12\x53\x3a\xe2\x13\xfe\x2d\x89"
  36718. "\xeb\xac\xd7\xa8\xa5\xf8\x27\xf3"
  36719. "\x74\x9a\x65\x63\xd1\x98\x3a\x7e"
  36720. "\x27\x7b\xc0\x20\x00\x4d\xf4\xe5"
  36721. "\x7b\x69\xa6\xa8\x06\x50\x85\xb6"
  36722. "\x7f\xac\x7f\xda\x1f\xf5\x37\x56"
  36723. "\x9b\x2f\xd3\x86\x6b\x70\xbd\x0e"
  36724. "\x55\x9a\x9d\x4b\x08\xb5\x5b\x7b"
  36725. "\xd4\x7c\xb4\x71\x49\x92\x4a\x1e"
  36726. "\xed\x6d\x11\x09\x47\x72\x32\x6a"
  36727. "\x97\x53\x36\xaf\xf3\x06\x06\x2c"
  36728. "\x69\xf1\x59\x00\x36\x95\x28\x2a"
  36729. "\xb6\xcd\x10\x21\x84\x73\x5c\x96"
  36730. "\x86\x14\x2c\x3d\x02\xdb\x53\x9a"
  36731. "\x61\xde\xea\x99\x84\x7a\x27\xf6"
  36732. "\xf7\xc8\x49\x73\x4b\xb8\xeb\xd3"
  36733. "\x41\x33\xdd\x09\x68\xe2\x64\xb8"
  36734. "\x5f\x75\x74\x97\x91\x54\xda\xc2"
  36735. "\x73\x2c\x1e\x5a\x84\x48\x01\x1a"
  36736. "\x0d\x8b\x0a\xdf\x07\x2e\xee\x77"
  36737. "\x1d\x17\x41\x7a\xc9\x33\x63\xfa"
  36738. "\x9f\xc3\x74\x57\x5f\x03\x4c",
  36739. .klen = 16,
  36740. .len = 255,
  36741. },
  36742. {
  36743. .key = "\xe5\xf1\x48\x2e\x88\xdb\xc7\x28"
  36744. "\xa2\x55\x5d\x2f\x90\x02\xdc\xd3"
  36745. "\xf5\xd3\x9e\x87\xd5\x58\x30\x4a",
  36746. .iv = "\xa6\x40\x39\xf9\x63\x6c\x2d\xd4"
  36747. "\x1b\x71\x05\xa4\x88\x86\x11\xd3",
  36748. .ptext = "\xb6\x06\xae\x15\x11\x96\xc1\x44"
  36749. "\x44\xc2\x98\xf9\xa8\x0a\x0b",
  36750. .ctext = "\x27\x3b\x68\x40\xa9\x5e\x74\x6b"
  36751. "\x74\x67\x18\xf9\x37\xed\xed",
  36752. .klen = 24,
  36753. .len = 15,
  36754. },
  36755. {
  36756. .key = "\xc8\xa0\x27\x67\x04\x3f\xed\xa5"
  36757. "\xb4\x0c\x51\x91\x2d\x27\x77\x33"
  36758. "\xa5\xfc\x2a\x9f\x78\xd8\x1c\x68",
  36759. .iv = "\x83\x99\x1a\xe2\x84\xca\xa9\x16"
  36760. "\x8d\xc4\x2d\x1b\x67\xc8\x86\x21",
  36761. .ptext = "\xd6\x22\x85\xb8\x5d\x7e\x26\x2e"
  36762. "\xbe\x04\x9d\x0c\x03\x91\x45\x4a"
  36763. "\x36",
  36764. .ctext = "\x0f\x44\xa9\x62\x72\xec\x12\x26"
  36765. "\x3a\xc6\x83\x26\x62\x5e\xb7\x13"
  36766. "\x05",
  36767. .klen = 24,
  36768. .len = 17,
  36769. },
  36770. {
  36771. .key = "\xc5\x87\x18\x09\x0a\x4e\x66\x3e"
  36772. "\x50\x90\x19\x93\xc0\x33\xcf\x80"
  36773. "\x3a\x36\x6b\x6c\x43\xd7\xe4\x93",
  36774. .iv = "\xdd\x0b\x75\x1f\xee\x2f\xb4\x52"
  36775. "\x10\x82\x1f\x79\x8a\xa4\x9b\x87",
  36776. .ptext = "\x56\xf9\x13\xce\x9f\x30\x10\x11"
  36777. "\x1b\x59\xfd\x39\x5a\x29\xa3\x44"
  36778. "\x78\x97\x8c\xf6\x99\x6d\x26\xf1"
  36779. "\x32\x60\x6a\xeb\x04\x47\x29\x4c"
  36780. "\x7e\x14\xef\x4d\x55\x29\xfe\x36"
  36781. "\x37\xcf\x0b\x6e\xf3\xce\x15\xd2",
  36782. .ctext = "\x8f\x98\xe1\x5a\x7f\xfe\xc7\x05"
  36783. "\x76\xb0\xd5\xde\x90\x52\x2b\xa8"
  36784. "\xf3\x6e\x3c\x77\xa5\x33\x63\xdd"
  36785. "\x6f\x62\x12\xb0\x80\x10\xc1\x28"
  36786. "\x58\xe5\xd6\x24\x44\x04\x55\xf3"
  36787. "\x6d\x94\xcb\x2c\x7e\x7a\x85\x79",
  36788. .klen = 24,
  36789. .len = 48,
  36790. },
  36791. {
  36792. .key = "\x84\x9b\xe8\x10\x4c\xb3\xd1\x7a"
  36793. "\xb3\xab\x4e\x6f\x90\x12\x07\xf8"
  36794. "\xef\xde\x42\x09\xbf\x34\x95\xb2",
  36795. .iv = "\x66\x62\xf9\x48\x9d\x17\xf7\xdf"
  36796. "\x06\x67\xf4\x6d\xf2\xbc\xa2\xe5",
  36797. .ptext = "\x2f\xd6\x16\x6b\xf9\x4b\x44\x14"
  36798. "\x90\x93\xe5\xfd\x05\xaa\x00\x26"
  36799. "\xbd\xab\x11\xb8\xf0\xcb\x11\x72"
  36800. "\xdd\xc5\x15\x4f\x4e\x1b\xf8\xc9"
  36801. "\x8f\x4a\xd5\x69\xf8\x9e\xfb\x05"
  36802. "\x8a\x37\x46\xfe\xfa\x58\x9b\x0e"
  36803. "\x72\x90\x9a\x06\xa5\x42\xf4\x7c"
  36804. "\x35\xd5\x64\x70\x72\x67\xfc\x8b"
  36805. "\xab\x5a\x2f\x64\x9b\xa1\xec\xe7"
  36806. "\xe6\x92\x69\xdb\x62\xa4\xe7\x44"
  36807. "\x88\x28\xd4\x52\x64\x19\xa9\xd7"
  36808. "\x0c\x00\xe6\xe7\xc1\x28\xc1\xf5"
  36809. "\x72\xc5\xfa\x09\x22\x2e\xf4\x82"
  36810. "\xa3\xdc\xc1\x68\xf9\x29\x55\x8d"
  36811. "\x04\x67\x13\xa6\x52\x04\x3c\x0c"
  36812. "\x14\xf2\x87\x23\x61\xab\x82\xcb"
  36813. "\x49\x5b\x6b\xd4\x4f\x0d\xd4\x95"
  36814. "\x82\xcd\xe3\x69\x47\x1b\x31\x73"
  36815. "\x73\x77\xc1\x53\x7d\x43\x5e\x4a"
  36816. "\x80\x3a\xca\x9c\xc7\x04\x1a\x31"
  36817. "\x8e\xe6\x76\x7f\xe1\xb3\xd0\x57"
  36818. "\xa2\xb2\xf6\x09\x51\xc9\x6d\xbc"
  36819. "\x79\xed\x57\x50\x36\xd2\x93\xa4"
  36820. "\x40\x5d\xac\x3a\x3b\xb6\x2d\x89"
  36821. "\x78\xa2\xbd\x23\xec\x35\x06\xf0"
  36822. "\xa8\xc8\xc9\xb0\xe3\x28\x2b\xba"
  36823. "\x70\xa0\xfe\xed\x13\xc4\xd7\x90"
  36824. "\xb1\x6a\xe0\xe1\x30\x71\x15\xd0"
  36825. "\xe2\xb3\xa6\x4e\xb0\x01\xf9\xe7"
  36826. "\x59\xc6\x1e\xed\x46\x2b\xe3\xa8"
  36827. "\x22\xeb\x7f\x1c\xd9\xcd\xe0\xa6"
  36828. "\x72\x42\x2c\x06\x75\xbb\xb7\x6b"
  36829. "\xca\x49\x5e\xa1\x47\x8d\x9e\xfe"
  36830. "\x60\xcc\x34\x95\x8e\xfa\x1e\x3e"
  36831. "\x85\x4b\x03\x54\xea\x34\x1c\x41"
  36832. "\x90\x45\xa6\xbe\xcf\x58\x4f\xca"
  36833. "\x2c\x79\xc0\x3e\x8f\xd7\x3b\xd4"
  36834. "\x55\x74\xa8\xe1\x57\x09\xbf\xab"
  36835. "\x2c\xf9\xe4\xdd\x17\x99\x57\x60"
  36836. "\x4b\x88\x2a\x7f\x43\x86\xb9\x9a"
  36837. "\x60\xbf\x4c\xcf\x9b\x41\xb8\x99"
  36838. "\x69\x15\x4f\x91\x4d\xeb\xdf\x6f"
  36839. "\xcc\x4c\xf9\x6f\xf2\x33\x23\xe7"
  36840. "\x02\x44\xaa\xa2\xfa\xb1\x39\xa5"
  36841. "\xff\x88\xf5\x37\x02\x33\x24\xfc"
  36842. "\x79\x11\x4c\x94\xc2\x31\x87\x9c"
  36843. "\x53\x19\x99\x32\xe4\xde\x18\xf4"
  36844. "\x8f\xe2\xe8\xa3\xfb\x0b\xaa\x7c"
  36845. "\xdb\x83\x0f\xf6\xc0\x8a\x9b\xcd"
  36846. "\x7b\x16\x05\x5b\xe4\xb4\x34\x03"
  36847. "\xe3\x8f\xc9\x4b\x56\x84\x2a\x4c"
  36848. "\x36\x72\x3c\x84\x4f\xba\xa2\x7f"
  36849. "\xf7\x1b\xba\x4d\x8a\xb8\x5d\x51"
  36850. "\x36\xfb\xef\x23\x18\x6f\x33\x2d"
  36851. "\xbb\x06\x24\x8e\x33\x98\x6e\xcd"
  36852. "\x63\x11\x18\x6b\xcc\x1b\x66\xb9"
  36853. "\x38\x8d\x06\x8d\x98\x1a\xef\xaa"
  36854. "\x35\x4a\x90\xfa\xb1\xd3\xcc\x11"
  36855. "\x50\x4c\x54\x18\x60\x5d\xe4\x11"
  36856. "\xfc\x19\xe1\x53\x20\x5c\xe7\xef"
  36857. "\x8a\x2b\xa8\x82\x51\x5f\x5d\x43"
  36858. "\x34\xe5\xcf\x7b\x1b\x6f\x81\x19"
  36859. "\xb7\xdf\xa8\x9e\x81\x89\x5f\x33"
  36860. "\x69\xaf\xde\x89\x68\x88\xf0\x71",
  36861. .ctext = "\xab\x15\x46\x5b\xed\x4f\xa8\xac"
  36862. "\xbf\x31\x30\x84\x55\xa4\xb8\x98"
  36863. "\x79\xba\xa0\x15\xa4\x55\x20\xec"
  36864. "\xf9\x94\x71\xe6\x6a\x6f\xee\x87"
  36865. "\x2e\x3a\xa2\x95\xae\x6e\x56\x09"
  36866. "\xe9\xc0\x0f\xe2\xc6\xb7\x30\xa9"
  36867. "\x73\x8e\x59\x7c\xfd\xe3\x71\xf7"
  36868. "\xae\x8b\x91\xab\x5e\x36\xe9\xa8"
  36869. "\xff\x17\xfa\xa2\x94\x93\x11\x42"
  36870. "\x67\x96\x99\xc5\xf0\xad\x2a\x57"
  36871. "\xf9\xa6\x70\x4a\xdf\x71\xff\xc0"
  36872. "\xe2\xaf\x9a\xae\x57\x58\x13\x3b"
  36873. "\x2d\xf1\xc7\x8f\xdb\x8a\xcc\xce"
  36874. "\x53\x1a\x69\x55\x39\xc8\xbe\xc3"
  36875. "\x2d\xb1\x03\xd9\xa3\x99\xf4\x8d"
  36876. "\xd9\x2d\x27\xae\xa5\xe7\x77\x7f"
  36877. "\xbb\x88\x84\xea\xfa\x19\x3f\x44"
  36878. "\x61\x21\x8a\x1f\xbe\xac\x60\xb4"
  36879. "\xaf\xe9\x00\xab\xef\x3c\x53\x56"
  36880. "\xcd\x4b\x53\xd8\x9b\xfe\x88\x23"
  36881. "\x5b\x85\x76\x08\xec\xd1\x6e\x4a"
  36882. "\x87\xa4\x7d\x29\x4e\x4f\x3f\xc9"
  36883. "\xa4\xab\x63\xea\xdd\xef\x9f\x79"
  36884. "\x38\x18\x7d\x90\x90\xf9\x12\x57"
  36885. "\x1d\x89\xea\xfe\xd4\x47\x45\x32"
  36886. "\x6a\xf6\xe7\xde\x22\x7e\xee\xc1"
  36887. "\xbc\x2d\xc3\xbb\xe5\xd4\x13\xac"
  36888. "\x63\xff\x5b\xb1\x05\x96\xd5\xf3"
  36889. "\x07\x9a\x62\xb6\x30\xea\x7d\x1e"
  36890. "\xee\x75\x0a\x1b\xcc\x6e\x4d\xa7"
  36891. "\xf7\x4d\x74\xd8\x60\x32\x5e\xd0"
  36892. "\x93\xd7\x19\x90\x4e\x26\xdb\xe4"
  36893. "\x5e\xd4\xa8\xb9\x76\xba\x56\x91"
  36894. "\xc4\x75\x04\x1e\xc2\x77\x24\x6f"
  36895. "\xf9\xe8\x4a\xec\x7f\x86\x95\xb3"
  36896. "\x5c\x2c\x97\xab\xf0\xf7\x74\x5b"
  36897. "\x0b\xc2\xda\x42\x40\x34\x16\xed"
  36898. "\x06\xc1\x25\x53\x17\x0d\x81\x4e"
  36899. "\xe6\xf2\x0f\x6d\x94\x3c\x90\x7a"
  36900. "\xae\x20\xe9\x3f\xf8\x18\x67\x6a"
  36901. "\x49\x1e\x41\xb6\x46\xab\xc8\xa7"
  36902. "\xcb\x19\x96\xf5\x99\xc0\x66\x3e"
  36903. "\x77\xcf\x73\x52\x83\x2a\xe2\x48"
  36904. "\x27\x6c\xeb\xe7\xe7\xc4\xd5\x6a"
  36905. "\x40\x67\xbc\xbf\x6b\x3c\xf3\xbb"
  36906. "\x51\x5e\x31\xac\x03\x81\xab\x61"
  36907. "\xfa\xa5\xa6\x7d\x8b\xc3\x8a\x75"
  36908. "\x28\x7a\x71\x9c\xac\x8f\x76\xfc"
  36909. "\xf9\x6c\x5d\x9b\xd7\xf6\x36\x2d"
  36910. "\x61\xd5\x61\xaa\xdd\x01\xfc\x57"
  36911. "\x91\x10\xcd\xcd\x6d\x27\x63\x24"
  36912. "\x67\x46\x7a\xbb\x61\x56\x39\xb1"
  36913. "\xd6\x79\xfe\x77\xca\xd6\x73\x59"
  36914. "\x6e\x58\x11\x90\x03\x26\x74\x2a"
  36915. "\xfa\x52\x12\x47\xfb\x12\xeb\x3e"
  36916. "\x88\xf0\x52\x6c\xc0\x54\x7a\x88"
  36917. "\x8c\xe5\xde\x9e\xba\xb9\xf2\xe1"
  36918. "\x97\x2e\x5c\xbd\xf4\x13\x7e\xf3"
  36919. "\xc4\xe1\x87\xa5\x35\xfa\x7c\x71"
  36920. "\x1a\xc9\xf4\xa8\x57\xe2\x5a\x6b"
  36921. "\x14\xe0\x73\xaf\x56\x6b\xa0\x00"
  36922. "\x9e\x5f\x64\xac\x00\xfb\xc4\x92"
  36923. "\xe5\xe2\x8a\xb2\x9e\x75\x49\x85"
  36924. "\x25\x66\xa5\x1a\xf9\x7d\x1d\x60",
  36925. .klen = 24,
  36926. .len = 512,
  36927. },
  36928. {
  36929. .key = "\x05\x60\x3a\x7e\x60\x90\x46\x18"
  36930. "\x6c\x60\xba\xeb\x12\xd7\xbe\xd1"
  36931. "\xd3\xf6\x10\x46\x9d\xf1\x0c\xb4"
  36932. "\x73\xe3\x93\x27\xa8\x2c\x13\xaa",
  36933. .iv = "\xf5\x96\xd1\xb6\xcb\x44\xd8\xd0"
  36934. "\x3e\xdb\x92\x80\x08\x94\xcd\xd3",
  36935. .ptext = "\x78",
  36936. .ctext = "\xc5",
  36937. .klen = 32,
  36938. .len = 1,
  36939. },
  36940. {
  36941. .key = "\x35\xca\x38\xf3\xd9\xd6\x34\xef"
  36942. "\xcd\xee\xa3\x26\x86\xba\xfb\x45"
  36943. "\x01\xfa\x52\x67\xff\xc5\x9d\xaa"
  36944. "\x64\x9a\x05\xbb\x85\x20\xa7\xf2",
  36945. .iv = "\xe3\xda\xf5\xff\x42\x59\x87\x86"
  36946. "\xee\x7b\xd6\xb4\x6a\x25\x44\xff",
  36947. .ptext = "\x44\x67\x1e\x04\x53\xd2\x4b\xd9"
  36948. "\x96\x33\x07\x54\xe4\x8e\x20",
  36949. .ctext = "\xcc\x55\x40\x79\x47\x5c\x8b\xa6"
  36950. "\xca\x7b\x9f\x50\xe3\x21\xea",
  36951. .klen = 32,
  36952. .len = 15,
  36953. },
  36954. {
  36955. .key = "\xaf\xd9\x14\x14\xd5\xdb\xc9\xce"
  36956. "\x76\x5c\x5a\xbf\x43\x05\x29\x24"
  36957. "\xc4\x13\x68\xcc\xe8\x37\xbd\xb9"
  36958. "\x41\x20\xf5\x53\x48\xd0\xa2\xd6",
  36959. .iv = "\xa7\xb4\x00\x08\x79\x10\xae\xf5"
  36960. "\x02\xbf\x85\xb2\x69\x4c\xc6\x04",
  36961. .ptext = "\xac\x6a\xa8\x0c\xb0\x84\xbf\x4c"
  36962. "\xae\x94\x20\x58\x7e\x00\x93\x89",
  36963. .ctext = "\xd5\xaa\xe2\xe9\x86\x4c\x95\x4e"
  36964. "\xde\xb6\x15\xcb\xdc\x1f\x13\x38",
  36965. .klen = 32,
  36966. .len = 16,
  36967. },
  36968. {
  36969. .key = "\xed\xe3\x8b\xe7\x1c\x17\xbf\x4a"
  36970. "\x02\xe2\xfc\x76\xac\xf5\x3c\x00"
  36971. "\x5d\xdc\xfc\x83\xeb\x45\xb4\xcb"
  36972. "\x59\x62\x60\xec\x69\x9c\x16\x45",
  36973. .iv = "\xe4\x0e\x2b\x90\xd2\xfa\x94\x2e"
  36974. "\x10\xe5\x64\x2b\x97\x28\x15\xc7",
  36975. .ptext = "\xe6\x53\xff\x60\x0e\xc4\x51\xe4"
  36976. "\x93\x4d\xe5\x55\xc5\xd9\xad\x48"
  36977. "\x52",
  36978. .ctext = "\xba\x25\x28\xf5\xcf\x31\x91\x80"
  36979. "\xda\x2b\x95\x5f\x20\xcb\xfb\x9f"
  36980. "\xc6",
  36981. .klen = 32,
  36982. .len = 17,
  36983. },
  36984. {
  36985. .key = "\x77\x5c\xc0\x73\x9a\x64\x97\x91"
  36986. "\x2f\xee\xe0\x20\xc2\x04\x59\x2e"
  36987. "\x97\xd2\xa7\x70\xb3\xb0\x21\x6b"
  36988. "\x8f\xbf\xb8\x51\xa8\xea\x0f\x62",
  36989. .iv = "\x31\x8e\x1f\xcd\xfd\x23\xeb\x7f"
  36990. "\x8a\x1f\x1b\x23\x53\x27\x44\xe5",
  36991. .ptext = "\xcd\xff\x8c\x9b\x94\x5a\x51\x3f"
  36992. "\x40\x93\x56\x93\x66\x39\x63\x1f"
  36993. "\xbf\xe6\xa4\xfa\xbe\x79\x93\x03"
  36994. "\xf5\x66\x74\x16\xfc\xe4\xce",
  36995. .ctext = "\x8b\xd3\xc3\xce\x66\xf8\x66\x4c"
  36996. "\xad\xd6\xf5\x0f\xd8\x99\x5a\x75"
  36997. "\xa1\x3c\xab\x0b\x21\x36\x57\x72"
  36998. "\x88\x29\xe9\xea\x4a\x8d\xe9",
  36999. .klen = 32,
  37000. .len = 31,
  37001. },
  37002. {
  37003. .key = "\xa1\x2f\x4d\xde\xfe\xa1\xff\xa8"
  37004. "\x73\xdd\xe3\xe2\x95\xfc\xea\x9c"
  37005. "\xd0\x80\x42\x0c\xb8\x43\x3e\x99"
  37006. "\x39\x38\x0a\x8c\xe8\x45\x3a\x7b",
  37007. .iv = "\x32\xc4\x6f\xb1\x14\x43\xd1\x87"
  37008. "\xe2\x6f\x5a\x58\x02\x36\x7e\x2a",
  37009. .ptext = "\x9e\x5c\x1e\xf1\xd6\x7d\x09\x57"
  37010. "\x18\x48\x55\xda\x7d\x44\xf9\x6d"
  37011. "\xac\xcd\x59\xbb\x10\xa2\x94\x67"
  37012. "\xd1\x6f\xfe\x6b\x4a\x11\xe8\x04"
  37013. "\x09\x26\x4f\x8d\x5d\xa1\x7b\x42"
  37014. "\xf9\x4b\x66\x76\x38\x12\xfe\xfe",
  37015. .ctext = "\x42\xbc\xa7\x64\x15\x9a\x04\x71"
  37016. "\x2c\x5f\x94\xba\x89\x3a\xad\xbc"
  37017. "\x87\xb3\xf4\x09\x4f\x57\x06\x18"
  37018. "\xdc\x84\x20\xf7\x64\x85\xca\x3b"
  37019. "\xab\xe6\x33\x56\x34\x60\x5d\x4b"
  37020. "\x2e\x16\x13\xd4\x77\xde\x2d\x2b",
  37021. .klen = 32,
  37022. .len = 48,
  37023. },
  37024. {
  37025. .key = "\xfb\xf5\xb7\x3d\xa6\x95\x42\xbf"
  37026. "\xd2\x94\x6c\x74\x0f\xbc\x5a\x28"
  37027. "\x35\x3c\x51\x58\x84\xfb\x7d\x11"
  37028. "\x16\x1e\x00\x97\x37\x08\xb7\x16",
  37029. .iv = "\x9b\x53\x57\x40\xe6\xd9\xa7\x27"
  37030. "\x78\xd4\x9b\xd2\x29\x1d\x24\xa9",
  37031. .ptext = "\x8b\x02\x60\x0a\x3e\xb7\x10\x59"
  37032. "\xc3\xac\xd5\x2a\x75\x81\xf2\xdb"
  37033. "\x55\xca\x65\x86\x44\xfb\xfe\x91"
  37034. "\x26\xbb\x45\xb2\x46\x22\x3e\x08"
  37035. "\xa2\xbf\x46\xcb\x68\x7d\x45\x7b"
  37036. "\xa1\x6a\x3c\x6e\x25\xeb\xed\x31"
  37037. "\x7a\x8b\x47\xf9\xde\xec\x3d\x87"
  37038. "\x09\x20\x2e\xfa\xba\x8b\x9b\xc5"
  37039. "\x6c\x25\x9c\x9d\x2a\xe8\xab\x90"
  37040. "\x3f\x86\xee\x61\x13\x21\xd4\xde"
  37041. "\xe1\x0c\x95\xfc\x5c\x8a\x6e\x0a"
  37042. "\x73\xcf\x08\x69\x44\x4e\xde\x25"
  37043. "\xaf\xaa\x56\x04\xc4\xb3\x60\x44"
  37044. "\x3b\x8b\x3d\xee\xae\x42\x4b\xd2"
  37045. "\x9a\x6c\xa0\x8e\x52\x06\xb2\xd1"
  37046. "\x5d\x38\x30\x6d\x27\x9b\x1a\xd8",
  37047. .ctext = "\xa3\x78\x33\x78\x95\x95\x97\x07"
  37048. "\x53\xa3\xa1\x5b\x18\x32\x27\xf7"
  37049. "\x09\x12\x53\x70\x83\xb5\x6a\x9f"
  37050. "\x26\x6d\x10\x0d\xe0\x1c\xe6\x2b"
  37051. "\x70\x00\xdc\xa1\x60\xef\x1b\xee"
  37052. "\xc5\xa5\x51\x17\xae\xcc\xf2\xed"
  37053. "\xc4\x60\x07\xdf\xd5\x7a\xe9\x90"
  37054. "\x3c\x9f\x96\x5d\x72\x65\x5d\xef"
  37055. "\xd0\x94\x32\xc4\x85\x90\x78\xa1"
  37056. "\x2e\x64\xf6\xee\x8e\x74\x3f\x20"
  37057. "\x2f\x12\x3b\x3d\xd5\x39\x8e\x5a"
  37058. "\xf9\x8f\xce\x94\x5d\x82\x18\x66"
  37059. "\x14\xaf\x4c\xfe\xe0\x91\xc3\x4a"
  37060. "\x85\xcf\xe7\xe8\xf7\xcb\xf0\x31"
  37061. "\x88\x7d\xc9\x5b\x71\x9d\x5f\xd2"
  37062. "\xfa\xed\xa6\x24\xda\xbb\xb1\x84",
  37063. .klen = 32,
  37064. .len = 128,
  37065. },
  37066. {
  37067. .key = "\x32\x37\x2b\x8f\x7b\xb1\x23\x79"
  37068. "\x05\x52\xde\x05\xf1\x68\x3f\x6c"
  37069. "\xa4\xae\xbc\x21\xc2\xc6\xf0\xbd"
  37070. "\x0f\x20\xb7\xa4\xc5\x05\x7b\x64",
  37071. .iv = "\xff\x26\x4e\x67\x48\xdd\xcf\xfe"
  37072. "\x42\x09\x04\x98\x5f\x1e\xfa\x80",
  37073. .ptext = "\x99\xdc\x3b\x19\x41\xf9\xff\x6e"
  37074. "\x76\xb5\x03\xfa\x61\xed\xf8\x44"
  37075. "\x70\xb9\xf0\x83\x80\x6e\x31\x77"
  37076. "\x77\xe4\xc7\xb4\x77\x02\xab\x91"
  37077. "\x82\xc6\xf8\x7c\x46\x61\x03\x69"
  37078. "\x09\xa0\xf7\x12\xb7\x81\x6c\xa9"
  37079. "\x10\x5c\xbb\x55\xb3\x44\xed\xb5"
  37080. "\xa2\x52\x48\x71\x90\x5d\xda\x40"
  37081. "\x0b\x7f\x4a\x11\x6d\xa7\x3d\x8e"
  37082. "\x1b\xcd\x9d\x4e\x75\x8b\x7d\x87"
  37083. "\xe5\x39\x34\x32\x1e\xe6\x8d\x51"
  37084. "\xd4\x1f\xe3\x1d\x50\xa0\x22\x37"
  37085. "\x7c\xb0\xd9\xfb\xb6\xb2\x16\xf6"
  37086. "\x6d\x26\xa0\x4e\x8c\x6a\xe6\xb6"
  37087. "\xbe\x4c\x7c\xe3\x88\x10\x18\x90"
  37088. "\x11\x50\x19\x90\xe7\x19\x3f\xd0"
  37089. "\x31\x15\x0f\x06\x96\xfe\xa7\x7b"
  37090. "\xc3\x32\x88\x69\xa4\x12\xe3\x64"
  37091. "\x02\x30\x17\x74\x6c\x88\x7c\x9b"
  37092. "\xd6\x6d\x75\xdf\x11\x86\x70\x79"
  37093. "\x48\x7d\x34\x3e\x33\x58\x07\x8b"
  37094. "\xd2\x50\xac\x35\x15\x45\x05\xb4"
  37095. "\x4d\x31\x97\x19\x87\x23\x4b\x87"
  37096. "\x53\xdc\xa9\x19\x78\xf1\xbf\x35"
  37097. "\x30\x04\x14\xd4\xcf\xb2\x8c\x87"
  37098. "\x7d\xdb\x69\xc9\xcd\xfe\x40\x3e"
  37099. "\x8d\x66\x5b\x61\xe5\xf0\x2d\x87"
  37100. "\x93\x3a\x0c\x2b\x04\x98\x05\xc2"
  37101. "\x56\x4d\xc4\x6c\xcd\x7a\x98\x7e"
  37102. "\xe2\x2d\x79\x07\x91\x9f\xdf\x2f"
  37103. "\x72\xc9\x8f\xcb\x0b\x87\x1b\xb7"
  37104. "\x04\x86\xcb\x47\xfa\x5d\x03",
  37105. .ctext = "\x0b\x00\xf7\xf2\xc8\x6a\xba\x9a"
  37106. "\x0a\x97\x18\x7a\x00\xa0\xdb\xf4"
  37107. "\x5e\x8e\x4a\xb7\xe0\x51\xf1\x75"
  37108. "\x17\x8b\xb4\xf1\x56\x11\x05\x9f"
  37109. "\x2f\x2e\xba\x67\x04\xe1\xb4\xa5"
  37110. "\xfc\x7c\x8c\xad\xc6\xb9\xd1\x64"
  37111. "\xca\xbd\x5d\xaf\xdb\x65\x48\x4f"
  37112. "\x1b\xb3\x94\x5c\x0b\xd0\xee\xcd"
  37113. "\xb5\x7f\x43\x8a\xd8\x8b\x66\xde"
  37114. "\xd2\x9c\x13\x65\xa4\x47\xa7\x03"
  37115. "\xc5\xa1\x46\x8f\x2f\x84\xbc\xef"
  37116. "\x48\x9d\x9d\xb5\xbd\x43\xff\xd2"
  37117. "\xd2\x7a\x5a\x13\xbf\xb4\xf6\x05"
  37118. "\x17\xcd\x01\x12\xf0\x35\x27\x96"
  37119. "\xf4\xc1\x65\xf7\x69\xef\x64\x1b"
  37120. "\x6e\x4a\xe8\x77\xce\x83\x01\xb7"
  37121. "\x60\xe6\x45\x2a\xcd\x41\x4a\xb5"
  37122. "\x8e\xcc\x45\x93\xf1\xd6\x64\x5f"
  37123. "\x32\x60\xe4\x29\x4a\x82\x6c\x86"
  37124. "\x16\xe4\xcc\xdb\x5f\xc8\x11\xa6"
  37125. "\xfe\x88\xd6\xc3\xe5\x5c\xbb\x67"
  37126. "\xec\xa5\x7b\xf5\xa8\x4f\x77\x25"
  37127. "\x5d\x0c\x2a\x99\xf9\xb9\xd1\xae"
  37128. "\x3c\x83\x2a\x93\x9b\x66\xec\x68"
  37129. "\x2c\x93\x02\x8a\x8a\x1e\x2f\x50"
  37130. "\x09\x37\x19\x5c\x2a\x3a\xc2\xcb"
  37131. "\xcb\x89\x82\x81\xb7\xbb\xef\x73"
  37132. "\x8b\xc9\xae\x42\x96\xef\x70\xc0"
  37133. "\x89\xc7\x3e\x6a\x26\xc3\xe4\x39"
  37134. "\x53\xa9\xcf\x63\x7d\x05\xf3\xff"
  37135. "\x52\x04\xf6\x7f\x23\x96\xe9\xf7"
  37136. "\xff\xd6\x50\xa3\x0e\x20\x71",
  37137. .klen = 32,
  37138. .len = 255,
  37139. },
  37140. {
  37141. .key = "\x39\x5f\xf4\x9c\x90\x3a\x9a\x25"
  37142. "\x15\x11\x79\x39\xed\x26\x5e\xf6"
  37143. "\xda\xcf\x33\x4f\x82\x97\xab\x10"
  37144. "\xc1\x55\x48\x82\x80\xa8\x02\xb2",
  37145. .iv = "\x82\x60\xd9\x06\xeb\x40\x99\x76"
  37146. "\x08\xc5\xa4\x83\x45\xb8\x38\x5a",
  37147. .ptext = "\xa1\xa8\xac\xac\x08\xaf\x8f\x84"
  37148. "\xbf\xcc\x79\x31\x5e\x61\x01\xd1"
  37149. "\x4d\x5f\x9b\xcd\x91\x92\x9a\xa1"
  37150. "\x99\x0d\x49\xb2\xd7\xfd\x25\x93"
  37151. "\x51\x96\xbd\x91\x8b\x08\xf1\xc6"
  37152. "\x0d\x17\xf6\xef\xfd\xd2\x78\x16"
  37153. "\xc8\x08\x27\x7b\xca\x98\xc6\x12"
  37154. "\x86\x11\xdb\xd5\x08\x3d\x5a\x2c"
  37155. "\xcf\x15\x0e\x9b\x42\x78\xeb\x1f"
  37156. "\x52\xbc\xd7\x5a\x8a\x33\x6c\x14"
  37157. "\xfc\x61\xad\x2e\x1e\x03\x66\xea"
  37158. "\x79\x0e\x88\x88\xde\x93\xe3\x81"
  37159. "\xb5\xc4\x1c\xe6\x9c\x08\x18\x8e"
  37160. "\xa0\x87\xda\xe6\xf8\xcb\x30\x44"
  37161. "\x2d\x4e\xc0\xa3\x60\xf9\x62\x7b"
  37162. "\x4b\xd5\x61\x6d\xe2\x67\x95\x54"
  37163. "\x10\xd1\xca\x22\xe8\xb6\xb1\x3a"
  37164. "\x2d\xd7\x35\x5b\x22\x88\x55\x67"
  37165. "\x3d\x83\x8f\x07\x98\xa8\xf2\xcf"
  37166. "\x04\xb7\x9e\x52\xca\xe0\x98\x72"
  37167. "\x5c\xc1\x00\xd4\x1f\x2c\x61\xf3"
  37168. "\xe8\x40\xaf\x4a\xee\x66\x41\xa0"
  37169. "\x02\x77\x29\x30\x65\x59\x4b\x20"
  37170. "\x7b\x0d\x80\x97\x27\x7f\xd5\x90"
  37171. "\xbb\x9d\x76\x90\xe5\x43\x43\x72"
  37172. "\xd0\xd4\x14\x75\x66\xb3\xb6\xaf"
  37173. "\x09\xe4\x23\xb0\x62\xad\x17\x28"
  37174. "\x39\x26\xab\xf5\xf7\x5c\xb6\x33"
  37175. "\xbd\x27\x09\x5b\x29\xe4\x40\x0b"
  37176. "\xc1\x26\x32\xdb\x9a\xdf\xf9\x5a"
  37177. "\xae\x03\x2c\xa4\x40\x84\x9a\xb7"
  37178. "\x4e\x47\xa8\x0f\x23\xc7\xbb\xcf"
  37179. "\x2b\xf2\x32\x6c\x35\x6a\x91\xba"
  37180. "\x0e\xea\xa2\x8b\x2f\xbd\xb5\xea"
  37181. "\x6e\xbc\xb5\x4b\x03\xb3\x86\xe0"
  37182. "\x86\xcf\xba\xcb\x38\x2c\x32\xa6"
  37183. "\x6d\xe5\x28\xa6\xad\xd2\x7f\x73"
  37184. "\x43\x14\xf8\xb1\x99\x12\x2d\x2b"
  37185. "\xdf\xcd\xf2\x81\x43\x94\xdf\xb1"
  37186. "\x17\xc9\x33\xa6\x3d\xef\x96\xb8"
  37187. "\xd6\x0d\x00\xec\x49\x66\x85\x5d"
  37188. "\x44\x62\x12\x04\x55\x5c\x48\xd3"
  37189. "\xbd\x73\xac\x54\x8f\xbf\x97\x8e"
  37190. "\x85\xfd\xc2\xa1\x25\x32\x38\x6a"
  37191. "\x1f\xac\x57\x3c\x4f\x56\x73\xf2"
  37192. "\x1d\xb6\x48\x68\xc7\x0c\xe7\x60"
  37193. "\xd2\x8e\x4d\xfb\xc7\x20\x7b\xb7"
  37194. "\x45\x28\x12\xc6\x26\xae\xea\x7c"
  37195. "\x5d\xe2\x46\xb5\xae\xe1\xc3\x98"
  37196. "\x6f\x72\xd5\xa2\xfd\xed\x40\xfd"
  37197. "\xf9\xdf\x61\xec\x45\x2c\x15\xe0"
  37198. "\x1e\xbb\xde\x71\x37\x5f\x73\xc2"
  37199. "\x11\xcc\x6e\x6d\xe1\xb5\x1b\xd2"
  37200. "\x2a\xdd\x19\x8a\xc2\xe1\xa0\xa4"
  37201. "\x26\xeb\xb2\x2c\x4f\x77\x52\xf1"
  37202. "\x42\x72\x6c\xad\xd7\x78\x5d\x72"
  37203. "\xc9\x16\x26\x25\x1b\x4c\xe6\x58"
  37204. "\x79\x57\xb5\x06\x15\x4f\xe5\xba"
  37205. "\xa2\x7f\x2d\x5b\x87\x8a\x44\x70"
  37206. "\xec\xc7\xef\x84\xae\x60\xa2\x61"
  37207. "\x86\xe9\x18\xcd\x28\xc4\xa4\xf5"
  37208. "\xbc\x84\xb8\x86\xa0\xba\xf1\xf1"
  37209. "\x08\x3b\x32\x75\x35\x22\x7a\x65"
  37210. "\xca\x48\xe8\xef\x6e\xe2\x8e\x00",
  37211. .ctext = "\x2f\xae\xd8\x67\xeb\x15\xde\x75"
  37212. "\x53\xa3\x0e\x5a\xcf\x1c\xbe\xea"
  37213. "\xde\xf9\xcf\xc2\x9f\xfd\x0f\x44"
  37214. "\xc0\xe0\x7a\x76\x1d\xcb\x4a\xf8"
  37215. "\x35\xd6\xe3\x95\x98\x6b\x3f\x89"
  37216. "\xc4\xe6\xb6\x6f\xe1\x8b\x39\x4b"
  37217. "\x1c\x6c\x77\xe4\xe1\x8a\xbc\x61"
  37218. "\x00\x6a\xb1\x37\x2f\x45\xe6\x04"
  37219. "\x52\x0b\xfc\x1e\x32\xc1\xd8\x9d"
  37220. "\xfa\xdd\x67\x5c\xe0\x75\x83\xd0"
  37221. "\x21\x9e\x02\xea\xc0\x7f\xc0\x29"
  37222. "\xb3\x6c\xa5\x97\xb3\x29\x82\x1a"
  37223. "\x94\xa5\xb4\xb6\x49\xe5\xa5\xad"
  37224. "\x95\x40\x52\x7c\x84\x88\xa4\xa8"
  37225. "\x26\xe4\xd9\x5d\x41\xf2\x93\x7b"
  37226. "\xa4\x48\x1b\x66\x91\xb9\x7c\xc2"
  37227. "\x99\x29\xdf\xd8\x30\xac\xd4\x47"
  37228. "\x42\xa0\x14\x87\x67\xb8\xfd\x0b"
  37229. "\x1e\xcb\x5e\x5c\x9a\xc2\x04\x8b"
  37230. "\x17\x29\x9d\x99\x7f\x86\x4c\xe2"
  37231. "\x5c\x96\xa6\x0f\xb6\x47\x33\x5c"
  37232. "\xe4\x50\x49\xd5\x4f\x92\x0b\x9a"
  37233. "\xbc\x52\x4c\x41\xf5\xc9\x3e\x76"
  37234. "\x55\x55\xd4\xdc\x71\x14\x23\xfc"
  37235. "\x5f\xd5\x08\xde\xa0\xf7\x28\xc0"
  37236. "\xe1\x61\xac\x64\x66\xf6\xd1\x31"
  37237. "\xe4\xa4\xa9\xed\xbc\xad\x4f\x3b"
  37238. "\x59\xb9\x48\x1b\xe7\xb1\x6f\xc6"
  37239. "\xba\x40\x1c\x0b\xe7\x2f\x31\x65"
  37240. "\x85\xf5\xe9\x14\x0a\x31\xf5\xf3"
  37241. "\xc0\x1c\x20\x35\x73\x38\x0f\x8e"
  37242. "\x39\xf0\x68\xae\x08\x9c\x87\x4b"
  37243. "\x42\xfc\x22\x17\xee\x96\x51\x2a"
  37244. "\xd8\x57\x5a\x35\xea\x72\x74\xfc"
  37245. "\xb3\x0e\x69\x9a\xe1\x4f\x24\x90"
  37246. "\xc5\x4b\xe5\xd7\xe3\x82\x2f\xc5"
  37247. "\x62\x46\x3e\xab\x72\x4e\xe0\xf3"
  37248. "\x90\x09\x4c\xb2\xe1\xe8\xa0\xf5"
  37249. "\x46\x40\x2b\x47\x85\x3c\x21\x90"
  37250. "\x3d\xad\x25\x5a\x36\xdf\xe5\xbc"
  37251. "\x7e\x80\x4d\x53\x77\xf1\x79\xa6"
  37252. "\xec\x22\x80\x88\x68\xd6\x2d\x8b"
  37253. "\x3e\xf7\x52\xc7\x2a\x20\x42\x5c"
  37254. "\xed\x99\x4f\x32\x80\x00\x7e\x73"
  37255. "\xd7\x6d\x7f\x7d\x42\x54\x4a\xfe"
  37256. "\xff\x6f\x61\xca\x2a\xbb\x4f\xeb"
  37257. "\x4f\xe4\x4e\xaf\x2c\x4f\x82\xcd"
  37258. "\xa1\xa7\x11\xb3\x34\x33\xcf\x32"
  37259. "\x63\x0e\x24\x3a\x35\xbe\x06\xd5"
  37260. "\x17\xcb\x02\x30\x33\x6e\x8c\x49"
  37261. "\x40\x6e\x34\x8c\x07\xd4\x3e\xe6"
  37262. "\xaf\x78\x6d\x8c\x10\x5f\x21\x58"
  37263. "\x49\x26\xc5\xaf\x0d\x7d\xd4\xaf"
  37264. "\xcd\x5b\xa1\xe3\xf6\x39\x1c\x9b"
  37265. "\x8e\x00\xa1\xa7\x9e\x17\x4a\xc0"
  37266. "\x54\x56\x9e\xcf\xcf\x88\x79\x8d"
  37267. "\x50\xf7\x56\x8e\x0a\x73\x46\x6b"
  37268. "\xc3\xb9\x9b\x6c\x7d\xc4\xc8\xb6"
  37269. "\x03\x5f\x30\x62\x7d\xe6\xdb\x15"
  37270. "\xe1\x39\x02\x8c\xff\xda\xc8\x43"
  37271. "\xf2\xa9\xbf\x00\xe7\x3a\x61\x89"
  37272. "\xdf\xb0\xca\x7d\x8c\x8a\x6a\x9f"
  37273. "\x18\x89\x3d\x39\xac\x36\x6f\x05"
  37274. "\x1f\xb5\xda\x00\xea\xe1\x51\x21",
  37275. .klen = 32,
  37276. .len = 512,
  37277. },
  37278. };
  37279. /*
  37280. * Test vectors generated using https://github.com/google/hctr2
  37281. *
  37282. * To ensure compatibility with RFC 8452, some tests were sourced from
  37283. * https://datatracker.ietf.org/doc/html/rfc8452
  37284. */
  37285. static const struct hash_testvec polyval_tv_template[] = {
  37286. { // From RFC 8452
  37287. .key = "\x31\x07\x28\xd9\x91\x1f\x1f\x38"
  37288. "\x37\xb2\x43\x16\xc3\xfa\xb9\xa0",
  37289. .plaintext = "\x65\x78\x61\x6d\x70\x6c\x65\x00"
  37290. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37291. "\x48\x65\x6c\x6c\x6f\x20\x77\x6f"
  37292. "\x72\x6c\x64\x00\x00\x00\x00\x00"
  37293. "\x38\x00\x00\x00\x00\x00\x00\x00"
  37294. "\x58\x00\x00\x00\x00\x00\x00\x00",
  37295. .digest = "\xad\x7f\xcf\x0b\x51\x69\x85\x16"
  37296. "\x62\x67\x2f\x3c\x5f\x95\x13\x8f",
  37297. .psize = 48,
  37298. .ksize = 16,
  37299. },
  37300. { // From RFC 8452
  37301. .key = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
  37302. "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
  37303. .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
  37304. "\x00\x00\x00\x00\x00\x00\x00\x00",
  37305. .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
  37306. "\x00\x00\x00\x00\x00\x00\x00\x00",
  37307. .psize = 16,
  37308. .ksize = 16,
  37309. },
  37310. { // From RFC 8452
  37311. .key = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
  37312. "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
  37313. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  37314. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37315. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37316. "\x40\x00\x00\x00\x00\x00\x00\x00",
  37317. .digest = "\xeb\x93\xb7\x74\x09\x62\xc5\xe4"
  37318. "\x9d\x2a\x90\xa7\xdc\x5c\xec\x74",
  37319. .psize = 32,
  37320. .ksize = 16,
  37321. },
  37322. { // From RFC 8452
  37323. .key = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
  37324. "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
  37325. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  37326. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37327. "\x02\x00\x00\x00\x00\x00\x00\x00"
  37328. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37329. "\x03\x00\x00\x00\x00\x00\x00\x00"
  37330. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37331. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37332. "\x80\x01\x00\x00\x00\x00\x00\x00",
  37333. .digest = "\x81\x38\x87\x46\xbc\x22\xd2\x6b"
  37334. "\x2a\xbc\x3d\xcb\x15\x75\x42\x22",
  37335. .psize = 64,
  37336. .ksize = 16,
  37337. },
  37338. { // From RFC 8452
  37339. .key = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
  37340. "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
  37341. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  37342. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37343. "\x02\x00\x00\x00\x00\x00\x00\x00"
  37344. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37345. "\x03\x00\x00\x00\x00\x00\x00\x00"
  37346. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37347. "\x04\x00\x00\x00\x00\x00\x00\x00"
  37348. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37349. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37350. "\x00\x02\x00\x00\x00\x00\x00\x00",
  37351. .digest = "\x1e\x39\xb6\xd3\x34\x4d\x34\x8f"
  37352. "\x60\x44\xf8\x99\x35\xd1\xcf\x78",
  37353. .psize = 80,
  37354. .ksize = 16,
  37355. },
  37356. { // From RFC 8452
  37357. .key = "\xd9\xb3\x60\x27\x96\x94\x94\x1a"
  37358. "\xc5\xdb\xc6\x98\x7a\xda\x73\x77",
  37359. .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
  37360. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37361. "\x02\x00\x00\x00\x00\x00\x00\x00"
  37362. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37363. "\x03\x00\x00\x00\x00\x00\x00\x00"
  37364. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37365. "\x04\x00\x00\x00\x00\x00\x00\x00"
  37366. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37367. "\x05\x00\x00\x00\x00\x00\x00\x00"
  37368. "\x00\x00\x00\x00\x00\x00\x00\x00"
  37369. "\x08\x00\x00\x00\x00\x00\x00\x00"
  37370. "\x00\x02\x00\x00\x00\x00\x00\x00",
  37371. .digest = "\xff\xcd\x05\xd5\x77\x0f\x34\xad"
  37372. "\x92\x67\xf0\xa5\x99\x94\xb1\x5a",
  37373. .psize = 96,
  37374. .ksize = 16,
  37375. },
  37376. { // Random ( 1)
  37377. .key = "\x90\xcc\xac\xee\xba\xd7\xd4\x68"
  37378. "\x98\xa6\x79\x70\xdf\x66\x15\x6c",
  37379. .plaintext = "",
  37380. .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
  37381. "\x00\x00\x00\x00\x00\x00\x00\x00",
  37382. .psize = 0,
  37383. .ksize = 16,
  37384. },
  37385. { // Random ( 1)
  37386. .key = "\xc1\x45\x71\xf0\x30\x07\x94\xe7"
  37387. "\x3a\xdd\xe4\xc6\x19\x2d\x02\xa2",
  37388. .plaintext = "\xc1\x5d\x47\xc7\x4c\x7c\x5e\x07"
  37389. "\x85\x14\x8f\x79\xcc\x73\x83\xf7"
  37390. "\x35\xb8\xcb\x73\x61\xf0\x53\x31"
  37391. "\xbf\x84\xde\xb6\xde\xaf\xb0\xb8"
  37392. "\xb7\xd9\x11\x91\x89\xfd\x1e\x4c"
  37393. "\x84\x4a\x1f\x2a\x87\xa4\xaf\x62"
  37394. "\x8d\x7d\x58\xf6\x43\x35\xfc\x53"
  37395. "\x8f\x1a\xf6\x12\xe1\x13\x3f\x66"
  37396. "\x91\x4b\x13\xd6\x45\xfb\xb0\x7a"
  37397. "\xe0\x8b\x8e\x99\xf7\x86\x46\x37"
  37398. "\xd1\x22\x9e\x52\xf3\x3f\xd9\x75"
  37399. "\x2c\x2c\xc6\xbb\x0e\x08\x14\x29"
  37400. "\xe8\x50\x2f\xd8\xbe\xf4\xe9\x69"
  37401. "\x4a\xee\xf7\xae\x15\x65\x35\x1e",
  37402. .digest = "\x00\x4f\x5d\xe9\x3b\xc0\xd6\x50"
  37403. "\x3e\x38\x73\x86\xc6\xda\xca\x7f",
  37404. .psize = 112,
  37405. .ksize = 16,
  37406. },
  37407. { // Random ( 1)
  37408. .key = "\x37\xbe\x68\x16\x50\xb9\x4e\xb0"
  37409. "\x47\xde\xe2\xbd\xde\xe4\x48\x09",
  37410. .plaintext = "\x87\xfc\x68\x9f\xff\xf2\x4a\x1e"
  37411. "\x82\x3b\x73\x8f\xc1\xb2\x1b\x7a"
  37412. "\x6c\x4f\x81\xbc\x88\x9b\x6c\xa3"
  37413. "\x9c\xc2\xa5\xbc\x14\x70\x4c\x9b"
  37414. "\x0c\x9f\x59\x92\x16\x4b\x91\x3d"
  37415. "\x18\x55\x22\x68\x12\x8c\x63\xb2"
  37416. "\x51\xcb\x85\x4b\xd2\xae\x0b\x1c"
  37417. "\x5d\x28\x9d\x1d\xb1\xc8\xf0\x77"
  37418. "\xe9\xb5\x07\x4e\x06\xc8\xee\xf8"
  37419. "\x1b\xed\x72\x2a\x55\x7d\x16\xc9"
  37420. "\xf2\x54\xe7\xe9\xe0\x44\x5b\x33"
  37421. "\xb1\x49\xee\xff\x43\xfb\x82\xcd"
  37422. "\x4a\x70\x78\x81\xa4\x34\x36\xe8"
  37423. "\x4c\x28\x54\xa6\x6c\xc3\x6b\x78"
  37424. "\xe7\xc0\x5d\xc6\x5d\x81\xab\x70"
  37425. "\x08\x86\xa1\xfd\xf4\x77\x55\xfd"
  37426. "\xa3\xe9\xe2\x1b\xdf\x99\xb7\x80"
  37427. "\xf9\x0a\x4f\x72\x4a\xd3\xaf\xbb"
  37428. "\xb3\x3b\xeb\x08\x58\x0f\x79\xce"
  37429. "\xa5\x99\x05\x12\x34\xd4\xf4\x86"
  37430. "\x37\x23\x1d\xc8\x49\xc0\x92\xae"
  37431. "\xa6\xac\x9b\x31\x55\xed\x15\xc6"
  37432. "\x05\x17\x37\x8d\x90\x42\xe4\x87"
  37433. "\x89\x62\x88\x69\x1c\x6a\xfd\xe3"
  37434. "\x00\x2b\x47\x1a\x73\xc1\x51\xc2"
  37435. "\xc0\x62\x74\x6a\x9e\xb2\xe5\x21"
  37436. "\xbe\x90\xb5\xb0\x50\xca\x88\x68"
  37437. "\xe1\x9d\x7a\xdf\x6c\xb7\xb9\x98"
  37438. "\xee\x28\x62\x61\x8b\xd1\x47\xf9"
  37439. "\x04\x7a\x0b\x5d\xcd\x2b\x65\xf5"
  37440. "\x12\xa3\xfe\x1a\xaa\x2c\x78\x42"
  37441. "\xb8\xbe\x7d\x74\xeb\x59\xba\xba",
  37442. .digest = "\xae\x11\xd4\x60\x2a\x5f\x9e\x42"
  37443. "\x89\x04\xc2\x34\x8d\x55\x94\x0a",
  37444. .psize = 256,
  37445. .ksize = 16,
  37446. },
  37447. };
  37448. /*
  37449. * Test vectors generated using https://github.com/google/hctr2
  37450. */
  37451. static const struct cipher_testvec aes_hctr2_tv_template[] = {
  37452. {
  37453. .key = "\xe1\x15\x66\x3c\x8d\xc6\x3a\xff"
  37454. "\xef\x41\xd7\x47\xa2\xcc\x8a\xba",
  37455. .iv = "\xc3\xbe\x2a\xcb\xb5\x39\x86\xf1"
  37456. "\x91\xad\x6c\xf4\xde\x74\x45\x63"
  37457. "\x5c\x7a\xd5\xcc\x8b\x76\xef\x0e"
  37458. "\xcf\x2c\x60\x69\x37\xfd\x07\x96",
  37459. .ptext = "\x65\x75\xae\xd3\xe2\xbc\x43\x5c"
  37460. "\xb3\x1a\xd8\x05\xc3\xd0\x56\x29",
  37461. .ctext = "\x11\x91\xea\x74\x58\xcc\xd5\xa2"
  37462. "\xd0\x55\x9e\x3d\xfe\x7f\xc8\xfe",
  37463. .klen = 16,
  37464. .len = 16,
  37465. },
  37466. {
  37467. .key = "\xe7\xd1\x77\x48\x76\x0b\xcd\x34"
  37468. "\x2a\x2d\xe7\x74\xca\x11\x9c\xae",
  37469. .iv = "\x71\x1c\x49\x62\xd9\x5b\x50\x5e"
  37470. "\x68\x87\xbc\xf6\x89\xff\xed\x30"
  37471. "\xe4\xe5\xbd\xb6\x10\x4f\x9f\x66"
  37472. "\x28\x06\x5a\xf4\x27\x35\xcd\xe5",
  37473. .ptext = "\x87\x03\x8f\x06\xa8\x61\x54\xda"
  37474. "\x01\x45\xd4\x01\xef\x4a\x22\xcf"
  37475. "\x78\x15\x9f\xbd\x64\xbd\x2c\xb9"
  37476. "\x40\x1d\x72\xae\x53\x63\xa5",
  37477. .ctext = "\x4e\xa1\x05\x27\xb8\x45\xe4\xa1"
  37478. "\xbb\x30\xb4\xa6\x12\x74\x63\xd6"
  37479. "\x17\xc9\xcc\x2f\x18\x64\xe0\x06"
  37480. "\x0a\xa0\xff\x72\x10\x7b\x22",
  37481. .klen = 16,
  37482. .len = 31,
  37483. },
  37484. {
  37485. .key = "\x59\x65\x3b\x1d\x43\x5e\xc0\xae"
  37486. "\xb8\x9d\x9b\xdd\x22\x03\xbf\xca",
  37487. .iv = "\xec\x95\xfa\x5a\xcf\x5e\xd2\x93"
  37488. "\xa3\xb5\xe5\xbe\xf3\x01\x7b\x01"
  37489. "\xd1\xca\x6c\x06\x82\xf0\xbd\x67"
  37490. "\xd9\x6c\xa4\xdc\xb4\x38\x0f\x74",
  37491. .ptext = "\x45\xdf\x75\x87\xbc\x72\xce\x55"
  37492. "\xc9\xfa\xcb\xfc\x9f\x40\x82\x2b"
  37493. "\xc6\x4f\x4f\x5b\x8b\x3b\x6d\x67"
  37494. "\xa6\x93\x62\x89\x8c\x19\xf4\xe3"
  37495. "\x08\x92\x9c\xc9\x47\x2c\x6e\xd0"
  37496. "\xa3\x02\x2b\xdb\x2c\xf2\x8d\x46"
  37497. "\xcd\xb0\x9d\x26\x63\x4c\x40\x6b"
  37498. "\x79\x43\xe5\xce\x42\xa8\xec\x3b"
  37499. "\x5b\xd0\xea\xa4\xe6\xdb\x66\x55"
  37500. "\x7a\x76\xec\xab\x7d\x2a\x2b\xbd"
  37501. "\xa9\xab\x22\x64\x1a\xa1\xae\x84"
  37502. "\x86\x79\x67\xe9\xb2\x50\xbe\x12"
  37503. "\x2f\xb2\x14\xf0\xdb\x71\xd8\xa7"
  37504. "\x41\x8a\x88\xa0\x6a\x6e\x9d\x2a"
  37505. "\xfa\x11\x37\x40\x32\x09\x4c\x47"
  37506. "\x41\x07\x31\x85\x3d\xa8\xf7\x64",
  37507. .ctext = "\x2d\x4b\x9f\x93\xca\x5a\x48\x26"
  37508. "\x01\xcc\x54\xe4\x31\x50\x12\xf0"
  37509. "\x49\xff\x59\x42\x68\xbd\x87\x8f"
  37510. "\x9e\x62\x96\xcd\xb9\x24\x57\xa4"
  37511. "\x0b\x7b\xf5\x2e\x0e\xa8\x65\x07"
  37512. "\xab\x05\xd5\xca\xe7\x9c\x6c\x34"
  37513. "\x5d\x42\x34\xa4\x62\xe9\x75\x48"
  37514. "\x3d\x9e\x8f\xfa\x42\xe9\x75\x08"
  37515. "\x4e\x54\x91\x2b\xbd\x11\x0f\x8e"
  37516. "\xf0\x82\xf5\x24\xf1\xc4\xfc\xae"
  37517. "\x42\x54\x7f\xce\x15\xa8\xb2\x33"
  37518. "\xc0\x86\xb6\x2b\xe8\x44\xce\x1f"
  37519. "\x68\x57\x66\x94\x6e\xad\xeb\xf3"
  37520. "\x30\xf8\x11\xbd\x60\x00\xc6\xd5"
  37521. "\x4c\x81\xf1\x20\x2b\x4a\x5b\x99"
  37522. "\x79\x3b\xc9\x5c\x74\x23\xe6\x5d",
  37523. .klen = 16,
  37524. .len = 128,
  37525. },
  37526. {
  37527. .key = "\x3e\x08\x5d\x64\x6c\x98\xec\xec"
  37528. "\x70\x0e\x0d\xa1\x41\x20\x99\x82",
  37529. .iv = "\x11\xb7\x77\x91\x0d\x99\xd9\x8d"
  37530. "\x35\x3a\xf7\x14\x6b\x09\x37\xe5"
  37531. "\xad\x51\xf6\xc3\x96\x4b\x64\x56"
  37532. "\xa8\xbd\x81\xcc\xbe\x94\xaf\xe4",
  37533. .ptext = "\xff\x8d\xb9\xc0\xe3\x69\xb3\xb2"
  37534. "\x8b\x11\x26\xb3\x11\xec\xfb\xb9"
  37535. "\x9c\xc1\x71\xd6\xe3\x26\x0e\xe0"
  37536. "\x68\x40\x60\xb9\x3a\x63\x56\x8a"
  37537. "\x9e\xc1\xf0\x10\xb1\x64\x32\x70"
  37538. "\xf8\xcd\xc6\xc4\x49\x4c\xe1\xce"
  37539. "\xf3\xe1\x03\xf8\x35\xae\xe0\x5e"
  37540. "\xef\x5f\xbc\x41\x75\x26\x13\xcc"
  37541. "\x37\x85\xdf\xc0\x5d\xa6\x47\x98"
  37542. "\xf1\x97\x52\x58\x04\xe6\xb5\x01"
  37543. "\xc0\xb8\x17\x6d\x74\xbd\x9a\xdf"
  37544. "\xa4\x37\x94\x86\xb0\x13\x83\x28"
  37545. "\xc9\xa2\x07\x3f\xb5\xb2\x72\x40"
  37546. "\x0e\x60\xdf\x57\x07\xb7\x2c\x66"
  37547. "\x10\x3f\x8d\xdd\x30\x0a\x47\xd5"
  37548. "\xe8\x9d\xfb\xa1\xaf\x53\xd7\x05"
  37549. "\xc7\xd2\xba\xe7\x2c\xa0\xbf\xb8"
  37550. "\xd1\x93\xe7\x41\x82\xa3\x41\x3a"
  37551. "\xaf\x12\xd6\xf8\x34\xda\x92\x46"
  37552. "\xad\xa2\x2f\xf6\x7e\x46\x96\xd8"
  37553. "\x03\xf3\x49\x64\xde\xd8\x06\x8b"
  37554. "\xa0\xbc\x63\x35\x38\xb6\x6b\xda"
  37555. "\x5b\x50\x3f\x13\xa5\x84\x1b\x1b"
  37556. "\x66\x89\x95\xb7\xc2\x16\x3c\xe9"
  37557. "\x24\xb0\x8c\x6f\x49\xef\xf7\x28"
  37558. "\x6a\x24\xfd\xbe\x25\xe2\xb4\x90"
  37559. "\x77\x44\x08\xb8\xda\xd2\xde\x2c"
  37560. "\xa0\x57\x45\x57\x29\x47\x6b\x89"
  37561. "\x4a\xf6\xa7\x2a\xc3\x9e\x7b\xc8"
  37562. "\xfd\x9f\x89\xab\xee\x6d\xa3\xb4"
  37563. "\x23\x90\x7a\xe9\x89\xa0\xc7\xb3"
  37564. "\x17\x41\x87\x91\xfc\x97\x42",
  37565. .ctext = "\xfc\x9b\x96\x66\xc4\x82\x2a\x4a"
  37566. "\xb1\x24\xba\xc7\x78\x5f\x79\xc1"
  37567. "\x57\x2e\x47\x29\x4d\x7b\xd2\x9a"
  37568. "\xbd\xc6\xc1\x26\x7b\x8e\x3f\x5d"
  37569. "\xd4\xb4\x9f\x6a\x02\x24\x4a\xad"
  37570. "\x0c\x00\x1b\xdf\x92\xc5\x8a\xe1"
  37571. "\x77\x79\xcc\xd5\x20\xbf\x83\xf4"
  37572. "\x4b\xad\x11\xbf\xdb\x47\x65\x70"
  37573. "\x43\xf3\x65\xdf\xb7\xdc\xb2\xb9"
  37574. "\xaa\x3f\xb3\xdf\x79\x69\x0d\xa0"
  37575. "\x86\x1c\xba\x48\x0b\x01\xc1\x88"
  37576. "\xdf\x03\xb1\x06\x3c\x1d\x56\xa1"
  37577. "\x8e\x98\xc1\xa6\x95\xa2\x5b\x72"
  37578. "\x76\x59\xd2\x26\x25\xcd\xef\x7c"
  37579. "\xc9\x60\xea\x43\xd1\x12\x8a\x8a"
  37580. "\x63\x12\x78\xcb\x2f\x88\x1e\x88"
  37581. "\x78\x59\xde\xba\x4d\x2c\x78\x61"
  37582. "\x75\x37\x54\xfd\x80\xc7\x5e\x98"
  37583. "\xcf\x14\x62\x8e\xfb\x72\xee\x4d"
  37584. "\x9f\xaf\x8b\x09\xe5\x21\x0a\x91"
  37585. "\x8f\x88\x87\xd5\xb1\x84\xab\x18"
  37586. "\x08\x57\xed\x72\x35\xa6\x0e\xc6"
  37587. "\xff\xcb\xfe\x2c\x48\x39\x14\x44"
  37588. "\xba\x59\x32\x3a\x2d\xc4\x5f\xcb"
  37589. "\xbe\x68\x8e\x7b\xee\x21\xa4\x32"
  37590. "\x11\xa0\x99\xfd\x90\xde\x59\x43"
  37591. "\xeb\xed\xd5\x87\x68\x46\xc6\xde"
  37592. "\x0b\x07\x17\x59\x6a\xab\xca\x15"
  37593. "\x65\x02\x01\xb6\x71\x8c\x3b\xaa"
  37594. "\x18\x3b\x30\xae\x38\x5b\x2c\x74"
  37595. "\xd4\xee\x4a\xfc\xf7\x1b\x09\xd4"
  37596. "\xda\x8b\x1d\x5d\x6f\x21\x6c",
  37597. .klen = 16,
  37598. .len = 255,
  37599. },
  37600. {
  37601. .key = "\x24\xf6\xe1\x62\xe5\xaf\x99\xda"
  37602. "\x84\xec\x41\xb0\xa3\x0b\xd5\xa8"
  37603. "\xa0\x3e\x7b\xa6\xdd\x6c\x8f\xa8",
  37604. .iv = "\x7f\x80\x24\x62\x32\xdd\xab\x66"
  37605. "\xf2\x87\x29\x24\xec\xd2\x4b\x9f"
  37606. "\x0c\x33\x52\xd9\xe0\xcc\x6e\xe4"
  37607. "\x90\x85\x43\x97\xc4\x62\x14\x33",
  37608. .ptext = "\xef\x58\xe7\x7f\xa9\xd9\xb8\xd7"
  37609. "\xa2\x91\x97\x07\x27\x9e\xba\xe8"
  37610. "\xaa",
  37611. .ctext = "\xd7\xc3\x81\x91\xf2\x40\x17\x73"
  37612. "\x3e\x3b\x1c\x2a\x8e\x11\x9c\x17"
  37613. "\xf1",
  37614. .klen = 24,
  37615. .len = 17,
  37616. },
  37617. {
  37618. .key = "\xbf\xaf\xd7\x67\x8c\x47\xcf\x21"
  37619. "\x8a\xa5\xdd\x32\x25\x47\xbe\x4f"
  37620. "\xf1\x3a\x0b\xa6\xaa\x2d\xcf\x09",
  37621. .iv = "\xd9\xe8\xf0\x92\x4e\xfc\x1d\xf2"
  37622. "\x81\x37\x7c\x8f\xf1\x59\x09\x20"
  37623. "\xf4\x46\x51\x86\x4f\x54\x8b\x32"
  37624. "\x58\xd1\x99\x8b\x8c\x03\xeb\x5d",
  37625. .ptext = "\xcd\x64\x90\xf9\x7c\xe5\x0e\x5a"
  37626. "\x75\xe7\x8e\x39\x86\xec\x20\x43"
  37627. "\x8a\x49\x09\x15\x47\xf4\x3c\x89"
  37628. "\x21\xeb\xcf\x4e\xcf\x91\xb5\x40"
  37629. "\xcd\xe5\x4d\x5c\x6f\xf2\xd2\x80"
  37630. "\xfa\xab\xb3\x76\x9f\x7f\x84\x0a",
  37631. .ctext = "\x44\x98\x64\x15\xb7\x0b\x80\xa3"
  37632. "\xb9\xca\x23\xff\x3b\x0b\x68\x74"
  37633. "\xbb\x3e\x20\x19\x9f\x28\x71\x2a"
  37634. "\x48\x3c\x7c\xe2\xef\xb5\x10\xac"
  37635. "\x82\x9f\xcd\x08\x8f\x6b\x16\x6f"
  37636. "\xc3\xbb\x07\xfb\x3c\xb0\x1b\x27",
  37637. .klen = 24,
  37638. .len = 48,
  37639. },
  37640. {
  37641. .key = "\xb8\x35\xa2\x5f\x86\xbb\x82\x99"
  37642. "\x27\xeb\x01\x3f\x92\xaf\x80\x24"
  37643. "\x4c\x66\xa2\x89\xff\x2e\xa2\x25",
  37644. .iv = "\x0a\x1d\x96\xd3\xe0\xe8\x0c\x9b"
  37645. "\x9d\x6f\x21\x97\xc2\x17\xdb\x39"
  37646. "\x3f\xd8\x64\x48\x80\x04\xee\x43"
  37647. "\x02\xce\x88\xe2\x81\x81\x5f\x81",
  37648. .ptext = "\xb8\xf9\x16\x8b\x25\x68\xd0\x9c"
  37649. "\xd2\x28\xac\xa8\x79\xc2\x30\xc1"
  37650. "\x31\xde\x1c\x37\x1b\xa2\xb5\xe6"
  37651. "\xf0\xd0\xf8\x9c\x7f\xc6\x46\x07"
  37652. "\x5c\xc3\x06\xe4\xf0\x02\xec\xf8"
  37653. "\x59\x7c\xc2\x5d\xf8\x0c\x21\xae"
  37654. "\x9e\x82\xb1\x1a\x5f\x78\x44\x15"
  37655. "\x00\xa7\x2e\x52\xc5\x98\x98\x35"
  37656. "\x03\xae\xd0\x8e\x07\x57\xe2\x5a"
  37657. "\x17\xbf\x52\x40\x54\x5b\x74\xe5"
  37658. "\x2d\x35\xaf\x9e\x37\xf7\x7e\x4a"
  37659. "\x8c\x9e\xa1\xdc\x40\xb4\x5b\x36"
  37660. "\xdc\x3a\x68\xe6\xb7\x35\x0b\x8a"
  37661. "\x90\xec\x74\x8f\x09\x9a\x7f\x02"
  37662. "\x4d\x03\x46\x35\x62\xb1\xbd\x08"
  37663. "\x3f\x54\x2a\x10\x0b\xdc\x69\xaf"
  37664. "\x25\x3a\x0c\x5f\xe0\x51\xe7\x11"
  37665. "\xb7\x00\xab\xbb\x9a\xb0\xdc\x4d"
  37666. "\xc3\x7d\x1a\x6e\xd1\x09\x52\xbd"
  37667. "\x6b\x43\x55\x22\x3a\x78\x14\x7d"
  37668. "\x79\xfd\x8d\xfc\x9b\x1d\x0f\xa2"
  37669. "\xc7\xb9\xf8\x87\xd5\x96\x50\x61"
  37670. "\xa7\x5e\x1e\x57\x97\xe0\xad\x2f"
  37671. "\x93\xe6\xe8\x83\xec\x85\x26\x5e"
  37672. "\xd9\x2a\x15\xe0\xe9\x09\x25\xa1"
  37673. "\x77\x2b\x88\xdc\xa4\xa5\x48\xb6"
  37674. "\xf7\xcc\xa6\xa9\xba\xf3\x42\x5c"
  37675. "\x70\x9d\xe9\x29\xc1\xf1\x33\xdd"
  37676. "\x56\x48\x17\x86\x14\x51\x5c\x10"
  37677. "\xab\xfd\xd3\x26\x8c\x21\xf5\x93"
  37678. "\x1b\xeb\x47\x97\x73\xbb\x88\x10"
  37679. "\xf3\xfe\xf5\xde\xf3\x2e\x05\x46"
  37680. "\x1c\x0d\xa3\x10\x48\x9c\x71\x16"
  37681. "\x78\x33\x4d\x0a\x74\x3b\xe9\x34"
  37682. "\x0b\xa7\x0e\x9e\x61\xe9\xe9\xfd"
  37683. "\x85\xa0\xcb\x19\xfd\x7c\x33\xe3"
  37684. "\x0e\xce\xc2\x6f\x9d\xa4\x2d\x77"
  37685. "\xfd\xad\xee\x5e\x08\x3e\xd7\xf5"
  37686. "\xfb\xc3\xd7\x93\x96\x08\x96\xca"
  37687. "\x58\x81\x16\x9b\x98\x0a\xe2\xef"
  37688. "\x7f\xda\x40\xe4\x1f\x46\x9e\x67"
  37689. "\x2b\x84\xcb\x42\xc4\xd6\x6a\xcf"
  37690. "\x2d\xb2\x33\xc0\x56\xb3\x35\x6f"
  37691. "\x29\x36\x8f\x6a\x5b\xec\xd5\x4f"
  37692. "\xa0\x70\xff\xb6\x5b\xde\x6a\x93"
  37693. "\x20\x3c\xe2\x76\x7a\xef\x3c\x79"
  37694. "\x31\x65\xce\x3a\x0e\xd0\xbe\xa8"
  37695. "\x21\x95\xc7\x2b\x62\x8e\x67\xdd"
  37696. "\x20\x79\xe4\xe5\x01\x15\xc0\xec"
  37697. "\x0f\xd9\x23\xc8\xca\xdf\xd4\x7d"
  37698. "\x1d\xf8\x64\x4f\x56\xb1\x83\xa7"
  37699. "\x43\xbe\xfc\xcf\xc2\x8c\x33\xda"
  37700. "\x36\xd0\x52\xef\x9e\x9e\x88\xf4"
  37701. "\xa8\x21\x0f\xaa\xee\x8d\xa0\x24"
  37702. "\x4d\xcb\xb1\x72\x07\xf0\xc2\x06"
  37703. "\x60\x65\x85\x84\x2c\x60\xcf\x61"
  37704. "\xe7\x56\x43\x5b\x2b\x50\x74\xfa"
  37705. "\xdb\x4e\xea\x88\xd4\xb3\x83\x8f"
  37706. "\x6f\x97\x4b\x57\x7a\x64\x64\xae"
  37707. "\x0a\x37\x66\xc5\x03\xad\xb5\xf9"
  37708. "\x08\xb0\x3a\x74\xde\x97\x51\xff"
  37709. "\x48\x4f\x5c\xa4\xf8\x7a\xb4\x05"
  37710. "\x27\x70\x52\x86\x1b\x78\xfc\x18"
  37711. "\x06\x27\xa9\x62\xf7\xda\xd2\x8e",
  37712. .ctext = "\x3b\xe1\xdb\xb3\xc5\x9a\xde\x69"
  37713. "\x58\x05\xcc\xeb\x02\x51\x78\x4a"
  37714. "\xac\x28\xe9\xed\xd1\xc9\x15\x7d"
  37715. "\x33\x7d\xc1\x47\x12\x41\x11\xf8"
  37716. "\x4a\x2c\xb7\xa3\x41\xbe\x59\xf7"
  37717. "\x22\xdb\x2c\xda\x9c\x00\x61\x9b"
  37718. "\x73\xb3\x0b\x84\x2b\xc1\xf3\x80"
  37719. "\x84\xeb\x19\x60\x80\x09\xe1\xcd"
  37720. "\x16\x3a\x20\x23\xc4\x82\x4f\xba"
  37721. "\x3b\x8e\x55\xd7\xa9\x0b\x75\xd0"
  37722. "\xda\xce\xd2\xee\x7e\x4b\x7f\x65"
  37723. "\x4d\x28\xc5\xd3\x15\x2c\x40\x96"
  37724. "\x52\xd4\x18\x61\x2b\xe7\x83\xec"
  37725. "\x89\x62\x9c\x4c\x50\xe6\xe2\xbb"
  37726. "\x25\xa1\x0f\xa7\xb0\xb4\xb2\xde"
  37727. "\x54\x20\xae\xa3\x56\xa5\x26\x4c"
  37728. "\xd5\xcc\xe5\xcb\x28\x44\xb1\xef"
  37729. "\x67\x2e\x93\x6d\x00\x88\x83\x9a"
  37730. "\xf2\x1c\x48\x38\xec\x1a\x24\x90"
  37731. "\x73\x0a\xdb\xe8\xce\x95\x7a\x2c"
  37732. "\x8c\xe9\xb7\x07\x1d\xb3\xa3\x20"
  37733. "\xbe\xad\x61\x84\xac\xde\x76\xb5"
  37734. "\xa6\x28\x29\x47\x63\xc4\xfc\x13"
  37735. "\x3f\x71\xfb\x58\x37\x34\x82\xed"
  37736. "\x9e\x05\x19\x1f\xc1\x67\xc1\xab"
  37737. "\xf5\xfd\x7c\xea\xfa\xa4\xf8\x0a"
  37738. "\xac\x4c\x92\xdf\x65\x73\xd7\xdb"
  37739. "\xed\x2c\xe0\x84\x5f\x57\x8c\x76"
  37740. "\x3e\x05\xc0\xc3\x68\x96\x95\x0b"
  37741. "\x88\x97\xfe\x2e\x99\xd5\xc2\xb9"
  37742. "\x53\x9f\xf3\x32\x10\x1f\x1f\x5d"
  37743. "\xdf\x21\x95\x70\x91\xe8\xa1\x3e"
  37744. "\x19\x3e\xb6\x0b\xa8\xdb\xf8\xd4"
  37745. "\x54\x27\xb8\xab\x5d\x78\x0c\xe6"
  37746. "\xb7\x08\xee\xa4\xb6\x6b\xeb\x5a"
  37747. "\x89\x69\x2b\xbd\xd4\x21\x5b\xbf"
  37748. "\x79\xbb\x0f\xff\xdb\x23\x9a\xeb"
  37749. "\x8d\xf2\xc4\x39\xb4\x90\x77\x6f"
  37750. "\x68\xe2\xb8\xf3\xf1\x65\x4f\xd5"
  37751. "\x24\x80\x06\xaf\x7c\x8d\x15\x0c"
  37752. "\xfd\x56\xe5\xe3\x01\xa5\xf7\x1c"
  37753. "\x31\xd6\xa2\x01\x1e\x59\xf9\xa9"
  37754. "\x42\xd5\xc2\x34\xda\x25\xde\xc6"
  37755. "\x5d\x38\xef\xd1\x4c\xc1\xd9\x1b"
  37756. "\x98\xfd\xcd\x57\x6f\xfd\x46\x91"
  37757. "\x90\x3d\x52\x2b\x2c\x7d\xcf\x71"
  37758. "\xcf\xd1\x77\x23\x71\x36\xb1\xce"
  37759. "\xc7\x5d\xf0\x5b\x44\x3d\x43\x71"
  37760. "\xac\xb8\xa0\x6a\xea\x89\x5c\xff"
  37761. "\x81\x73\xd4\x83\xd1\xc9\xe9\xe2"
  37762. "\xa8\xa6\x0f\x36\xe6\xaa\x57\xd4"
  37763. "\x27\xd2\xc9\xda\x94\x02\x1f\xfb"
  37764. "\xe1\xa1\x07\xbe\xe1\x1b\x15\x94"
  37765. "\x1e\xac\x2f\x57\xbb\x41\x22\xaf"
  37766. "\x60\x5e\xcc\x66\xcb\x16\x62\xab"
  37767. "\xb8\x7c\x99\xf4\x84\x93\x0c\xc2"
  37768. "\xa2\x49\xe4\xfd\x17\x55\xe1\xa6"
  37769. "\x8d\x5b\xc6\x1b\xc8\xac\xec\x11"
  37770. "\x33\xcf\xb0\xe8\xc7\x28\x4f\xb2"
  37771. "\x5c\xa6\xe2\x71\xab\x80\x0a\xa7"
  37772. "\x5c\x59\x50\x9f\x7a\x32\xb7\xe5"
  37773. "\x24\x9a\x8e\x25\x21\x2e\xb7\x18"
  37774. "\xd0\xf2\xe7\x27\x6f\xda\xc1\x00"
  37775. "\xd9\xa6\x03\x59\xac\x4b\xcb\xba",
  37776. .klen = 24,
  37777. .len = 512,
  37778. },
  37779. {
  37780. .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
  37781. "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
  37782. "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
  37783. "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
  37784. .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
  37785. "\x33\x81\x37\x60\x7d\xfa\x73\x08"
  37786. "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
  37787. "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
  37788. .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
  37789. "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
  37790. .ctext = "\x27\x38\x78\x47\x16\xd9\x71\x35"
  37791. "\x2e\x7e\xdd\x7e\x43\x3c\xb8\x40",
  37792. .klen = 32,
  37793. .len = 16,
  37794. },
  37795. {
  37796. .key = "\x93\xfa\x7e\xe2\x0e\x67\xc4\x39"
  37797. "\xe7\xca\x47\x95\x68\x9d\x5e\x5a"
  37798. "\x7c\x26\x19\xab\xc6\xca\x6a\x4c"
  37799. "\x45\xa6\x96\x42\xae\x6c\xff\xe7",
  37800. .iv = "\xea\x82\x47\x95\x3b\x22\xa1\x3a"
  37801. "\x6a\xca\x24\x4c\x50\x7e\x23\xcd"
  37802. "\x0e\x50\xe5\x41\xb6\x65\x29\xd8"
  37803. "\x30\x23\x00\xd2\x54\xa7\xd6\x56",
  37804. .ptext = "\xdb\x1f\x1f\xec\xad\x83\x6e\x5d"
  37805. "\x19\xa5\xf6\x3b\xb4\x93\x5a\x57"
  37806. "\x6f",
  37807. .ctext = "\xf1\x46\x6e\x9d\xb3\x01\xf0\x6b"
  37808. "\xc2\xac\x57\x88\x48\x6d\x40\x72"
  37809. "\x68",
  37810. .klen = 32,
  37811. .len = 17,
  37812. },
  37813. {
  37814. .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
  37815. "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
  37816. "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
  37817. "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
  37818. .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
  37819. "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
  37820. "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
  37821. "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
  37822. .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
  37823. "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
  37824. "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
  37825. "\x43\x5a\x46\x06\x94\x2d\xf2",
  37826. .ctext = "\xdb\xfd\xc8\x03\xd0\xec\xc1\xfe"
  37827. "\xbd\x64\x37\xb8\x82\x43\x62\x4e"
  37828. "\x7e\x54\xa3\xe2\x24\xa7\x27\xe8"
  37829. "\xa4\xd5\xb3\x6c\xb2\x26\xb4",
  37830. .klen = 32,
  37831. .len = 31,
  37832. },
  37833. {
  37834. .key = "\x03\x65\x03\x6e\x4d\xe6\xe8\x4e"
  37835. "\x8b\xbe\x22\x19\x48\x31\xee\xd9"
  37836. "\xa0\x91\x21\xbe\x62\x89\xde\x78"
  37837. "\xd9\xb0\x36\xa3\x3c\xce\x43\xd5",
  37838. .iv = "\xa9\xc3\x4b\xe7\x0f\xfc\x6d\xbf"
  37839. "\x56\x27\x21\x1c\xfc\xd6\x04\x10"
  37840. "\x5f\x43\xe2\x30\x35\x29\x6c\x10"
  37841. "\x90\xf1\xbf\x61\xed\x0f\x8a\x91",
  37842. .ptext = "\x07\xaa\x02\x26\xb4\x98\x11\x5e"
  37843. "\x33\x41\x21\x51\x51\x63\x2c\x72"
  37844. "\x00\xab\x32\xa7\x1c\xc8\x3c\x9c"
  37845. "\x25\x0e\x8b\x9a\xdf\x85\xed\x2d"
  37846. "\xf4\xf2\xbc\x55\xca\x92\x6d\x22"
  37847. "\xfd\x22\x3b\x42\x4c\x0b\x74\xec",
  37848. .ctext = "\x7b\xb1\x43\x6d\xd8\x72\x6c\xf6"
  37849. "\x67\x6a\x00\xc4\xf1\xf0\xf5\xa4"
  37850. "\xfc\x60\x91\xab\x46\x0b\x15\xfc"
  37851. "\xd7\xc1\x28\x15\xa1\xfc\xf7\x68"
  37852. "\x8e\xcc\x27\x62\x00\x64\x56\x72"
  37853. "\xa6\x17\xd7\x3f\x67\x80\x10\x58",
  37854. .klen = 32,
  37855. .len = 48,
  37856. },
  37857. {
  37858. .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
  37859. "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
  37860. "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
  37861. "\x19\x09\x00\xa9\x04\x31\x4f\x11",
  37862. .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
  37863. "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
  37864. "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
  37865. "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
  37866. .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
  37867. "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
  37868. "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
  37869. "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
  37870. "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
  37871. "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
  37872. "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
  37873. "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
  37874. "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
  37875. "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
  37876. "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
  37877. "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
  37878. "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
  37879. "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
  37880. "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
  37881. "\x56\x65\xc5\x54\x23\x28\xb0\x03",
  37882. .ctext = "\xeb\xf9\x98\x86\x3c\x40\x9f\x16"
  37883. "\x84\x01\xf9\x06\x0f\xeb\x3c\xa9"
  37884. "\x4c\xa4\x8e\x5d\xc3\x8d\xe5\xd3"
  37885. "\xae\xa6\xe6\xcc\xd6\x2d\x37\x4f"
  37886. "\x99\xc8\xa3\x21\x46\xb8\x69\xf2"
  37887. "\xe3\x14\x89\xd7\xb9\xf5\x9e\x4e"
  37888. "\x07\x93\x6f\x78\x8e\x6b\xea\x8f"
  37889. "\xfb\x43\xb8\x3e\x9b\x4c\x1d\x7e"
  37890. "\x20\x9a\xc5\x87\xee\xaf\xf6\xf9"
  37891. "\x46\xc5\x18\x8a\xe8\x69\xe7\x96"
  37892. "\x52\x55\x5f\x00\x1e\x1a\xdc\xcc"
  37893. "\x13\xa5\xee\xff\x4b\x27\xca\xdc"
  37894. "\x10\xa6\x48\x76\x98\x43\x94\xa3"
  37895. "\xc7\xe2\xc9\x65\x9b\x08\x14\x26"
  37896. "\x1d\x68\xfb\x15\x0a\x33\x49\x84"
  37897. "\x84\x33\x5a\x1b\x24\x46\x31\x92",
  37898. .klen = 32,
  37899. .len = 128,
  37900. },
  37901. {
  37902. .key = "\x36\x45\x11\xa2\x98\x5f\x96\x7c"
  37903. "\xc6\xb4\x94\x31\x0a\x67\x09\x32"
  37904. "\x6c\x6f\x6f\x00\xf0\x17\xcb\xac"
  37905. "\xa5\xa9\x47\x9e\x2e\x85\x2f\xfa",
  37906. .iv = "\x28\x88\xaa\x9b\x59\x3b\x1e\x97"
  37907. "\x82\xe5\x5c\x9e\x6d\x14\x11\x19"
  37908. "\x6e\x38\x8f\xd5\x40\x2b\xca\xf9"
  37909. "\x7b\x4c\xe4\xa3\xd0\xd2\x8a\x13",
  37910. .ptext = "\x95\xd2\xf7\x71\x1b\xca\xa5\x86"
  37911. "\xd9\x48\x01\x93\x2f\x79\x55\x29"
  37912. "\x71\x13\x15\x0e\xe6\x12\xbc\x4d"
  37913. "\x8a\x31\xe3\x40\x2a\xc6\x5e\x0d"
  37914. "\x68\xbb\x4a\x62\x8d\xc7\x45\x77"
  37915. "\xd2\xb8\xc7\x1d\xf1\xd2\x5d\x97"
  37916. "\xcf\xac\x52\xe5\x32\x77\xb6\xda"
  37917. "\x30\x85\xcf\x2b\x98\xe9\xaa\x34"
  37918. "\x62\xb5\x23\x9e\xb7\xa6\xd4\xe0"
  37919. "\xb4\x58\x18\x8c\x4d\xde\x4d\x01"
  37920. "\x83\x89\x24\xca\xfb\x11\xd4\x82"
  37921. "\x30\x7a\x81\x35\xa0\xb4\xd4\xb6"
  37922. "\x84\xea\x47\x91\x8c\x19\x86\x25"
  37923. "\xa6\x06\x8d\x78\xe6\xed\x87\xeb"
  37924. "\xda\xea\x73\x7c\xbf\x66\xb8\x72"
  37925. "\xe3\x0a\xb8\x0c\xcb\x1a\x73\xf1"
  37926. "\xa7\xca\x0a\xde\x57\x2b\xbd\x2b"
  37927. "\xeb\x8b\x24\x38\x22\xd3\x0e\x1f"
  37928. "\x17\xa0\x84\x98\x31\x77\xfd\x34"
  37929. "\x6a\x4e\x3d\x84\x4c\x0e\xfb\xed"
  37930. "\xc8\x2a\x51\xfa\xd8\x73\x21\x8a"
  37931. "\xdb\xb5\xfe\x1f\xee\xc4\xe8\x65"
  37932. "\x54\x84\xdd\x96\x6d\xfd\xd3\x31"
  37933. "\x77\x36\x52\x6b\x80\x4f\x9e\xb4"
  37934. "\xa2\x55\xbf\x66\x41\x49\x4e\x87"
  37935. "\xa7\x0c\xca\xe7\xa5\xc5\xf6\x6f"
  37936. "\x27\x56\xe2\x48\x22\xdd\x5f\x59"
  37937. "\x3c\xf1\x9f\x83\xe5\x2d\xfb\x71"
  37938. "\xad\xd1\xae\x1b\x20\x5c\x47\xb7"
  37939. "\x3b\xd3\x14\xce\x81\x42\xb1\x0a"
  37940. "\xf0\x49\xfa\xc2\xe7\x86\xbf\xcd"
  37941. "\xb0\x95\x9f\x8f\x79\x41\x54",
  37942. .ctext = "\xf6\x57\x51\xc4\x25\x61\x2d\xfa"
  37943. "\xd6\xd9\x3f\x9a\x81\x51\xdd\x8e"
  37944. "\x3d\xe7\xaa\x2d\xb1\xda\xc8\xa6"
  37945. "\x9d\xaa\x3c\xab\x62\xf2\x80\xc3"
  37946. "\x2c\xe7\x58\x72\x1d\x44\xc5\x28"
  37947. "\x7f\xb4\xf9\xbc\x9c\xb2\xab\x8e"
  37948. "\xfa\xd1\x4d\x72\xd9\x79\xf5\xa0"
  37949. "\x24\x3e\x90\x25\x31\x14\x38\x45"
  37950. "\x59\xc8\xf6\xe2\xc6\xf6\xc1\xa7"
  37951. "\xb2\xf8\xa7\xa9\x2b\x6f\x12\x3a"
  37952. "\xb0\x81\xa4\x08\x57\x59\xb1\x56"
  37953. "\x4c\x8f\x18\x55\x33\x5f\xd6\x6a"
  37954. "\xc6\xa0\x4b\xd6\x6b\x64\x3e\x9e"
  37955. "\xfd\x66\x16\xe2\xdb\xeb\x5f\xb3"
  37956. "\x50\x50\x3e\xde\x8d\x72\x76\x01"
  37957. "\xbe\xcc\xc9\x52\x09\x2d\x8d\xe7"
  37958. "\xd6\xc3\x66\xdb\x36\x08\xd1\x77"
  37959. "\xc8\x73\x46\x26\x24\x29\xbf\x68"
  37960. "\x2d\x2a\x99\x43\x56\x55\xe4\x93"
  37961. "\xaf\xae\x4d\xe7\x55\x4a\xc0\x45"
  37962. "\x26\xeb\x3b\x12\x90\x7c\xdc\xd1"
  37963. "\xd5\x6f\x0a\xd0\xa9\xd7\x4b\x89"
  37964. "\x0b\x07\xd8\x86\xad\xa1\xc4\x69"
  37965. "\x1f\x5e\x8b\xc4\x9e\x91\x41\x25"
  37966. "\x56\x98\x69\x78\x3a\x9e\xae\x91"
  37967. "\xd8\xd9\xfa\xfb\xff\x81\x25\x09"
  37968. "\xfc\xed\x2d\x87\xbc\x04\x62\x97"
  37969. "\x35\xe1\x26\xc2\x46\x1c\xcf\xd7"
  37970. "\x14\xed\x02\x09\xa5\xb2\xb6\xaa"
  37971. "\x27\x4e\x61\xb3\x71\x6b\x47\x16"
  37972. "\xb7\xe8\xd4\xaf\x52\xeb\x6a\x6b"
  37973. "\xdb\x4c\x65\x21\x9e\x1c\x36",
  37974. .klen = 32,
  37975. .len = 255,
  37976. },
  37977. {
  37978. .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
  37979. "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
  37980. "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
  37981. "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
  37982. .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
  37983. "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
  37984. "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
  37985. "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
  37986. .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
  37987. "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
  37988. "\x05\xa3\x69\x60\x91\x36\x98\x57"
  37989. "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
  37990. "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
  37991. "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
  37992. "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
  37993. "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
  37994. "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
  37995. "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
  37996. "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
  37997. "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
  37998. "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
  37999. "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
  38000. "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
  38001. "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
  38002. "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
  38003. "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
  38004. "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
  38005. "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
  38006. "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
  38007. "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
  38008. "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
  38009. "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
  38010. "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
  38011. "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
  38012. "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
  38013. "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
  38014. "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
  38015. "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
  38016. "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
  38017. "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
  38018. "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
  38019. "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
  38020. "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
  38021. "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
  38022. "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
  38023. "\xd7\x31\x87\x89\x09\xab\xd5\x96"
  38024. "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
  38025. "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
  38026. "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
  38027. "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
  38028. "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
  38029. "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
  38030. "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
  38031. "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
  38032. "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
  38033. "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
  38034. "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
  38035. "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
  38036. "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
  38037. "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
  38038. "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
  38039. "\x17\x7c\x25\x48\x52\x67\x11\x27"
  38040. "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
  38041. "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
  38042. "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
  38043. "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
  38044. "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
  38045. "\x79\x50\x33\xca\xd0\xd7\x42\x55"
  38046. "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
  38047. "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
  38048. "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
  38049. "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
  38050. .ctext = "\x9f\x72\x87\xc7\x17\xfb\x20\x15"
  38051. "\x65\xb3\x55\xa8\x1c\x8e\x52\x32"
  38052. "\xb1\x82\x8d\xbf\xb5\x9f\x10\x0a"
  38053. "\xe8\x0c\x70\x62\xef\x89\xb6\x1f"
  38054. "\x73\xcc\xe4\xcc\x7a\x3a\x75\x4a"
  38055. "\x26\xe7\xf5\xd7\x7b\x17\x39\x2d"
  38056. "\xd2\x27\x6e\xf9\x2f\x9e\xe2\xf6"
  38057. "\xfa\x16\xc2\xf2\x49\x26\xa7\x5b"
  38058. "\xe7\xca\x25\x0e\x45\xa0\x34\xc2"
  38059. "\x9a\x37\x79\x7e\x7c\x58\x18\x94"
  38060. "\x10\xa8\x7c\x48\xa9\xd7\x63\x89"
  38061. "\x9e\x61\x4d\x26\x34\xd9\xf0\xb1"
  38062. "\x2d\x17\x2c\x6f\x7c\x35\x0e\xbe"
  38063. "\x77\x71\x7c\x17\x5b\xab\x70\xdb"
  38064. "\x2f\x54\x0f\xa9\xc8\xf4\xf5\xab"
  38065. "\x52\x04\x3a\xb8\x03\xa7\xfd\x57"
  38066. "\x45\x5e\xbc\x77\xe1\xee\x79\x8c"
  38067. "\x58\x7b\x1f\xf7\x75\xde\x68\x17"
  38068. "\x98\x85\x8a\x18\x5c\xd2\x39\x78"
  38069. "\x7a\x6f\x26\x6e\xe1\x13\x91\xdd"
  38070. "\xdf\x0e\x6e\x67\xcc\x51\x53\xd8"
  38071. "\x17\x5e\xce\xa7\xe4\xaf\xfa\xf3"
  38072. "\x4f\x9f\x01\x9b\x04\xe7\xfc\xf9"
  38073. "\x6a\xdc\x1d\x0c\x9a\xaa\x3a\x7a"
  38074. "\x73\x03\xdf\xbf\x3b\x82\xbe\xb0"
  38075. "\xb4\xa4\xcf\x07\xd7\xde\x71\x25"
  38076. "\xc5\x10\xee\x0a\x15\x96\x8b\x4f"
  38077. "\xfe\xb8\x28\xbd\x4a\xcd\xeb\x9f"
  38078. "\x5d\x00\xc1\xee\xe8\x16\x44\xec"
  38079. "\xe9\x7b\xd6\x85\x17\x29\xcf\x58"
  38080. "\x20\xab\xf7\xce\x6b\xe7\x71\x7d"
  38081. "\x4f\xa8\xb0\xe9\x7d\x70\xd6\x0b"
  38082. "\x2e\x20\xb1\x1a\x63\x37\xaa\x2c"
  38083. "\x94\xee\xd5\xf6\x58\x2a\xf4\x7a"
  38084. "\x4c\xba\xf5\xe9\x3c\x6f\x95\x13"
  38085. "\x5f\x96\x81\x5b\xb5\x62\xf2\xd7"
  38086. "\x8d\xbe\xa1\x31\x51\xe6\xfe\xc9"
  38087. "\x07\x7d\x0f\x00\x3a\x66\x8c\x4b"
  38088. "\x94\xaa\xe5\x56\xde\xcd\x74\xa7"
  38089. "\x48\x67\x6f\xed\xc9\x6a\xef\xaf"
  38090. "\x9a\xb7\xae\x60\xfa\xc0\x37\x39"
  38091. "\xa5\x25\xe5\x22\xea\x82\x55\x68"
  38092. "\x3e\x30\xc3\x5a\xb6\x29\x73\x7a"
  38093. "\xb6\xfb\x34\xee\x51\x7c\x54\xe5"
  38094. "\x01\x4d\x72\x25\x32\x4a\xa3\x68"
  38095. "\x80\x9a\x89\xc5\x11\x66\x4c\x8c"
  38096. "\x44\x50\xbe\xd7\xa0\xee\xa6\xbb"
  38097. "\x92\x0c\xe6\xd7\x83\x51\xb1\x69"
  38098. "\x63\x40\xf3\xf4\x92\x84\xc4\x38"
  38099. "\x29\xfb\xb4\x84\xa0\x19\x75\x16"
  38100. "\x60\xbf\x0a\x9c\x89\xee\xad\xb4"
  38101. "\x43\xf9\x71\x39\x45\x7c\x24\x83"
  38102. "\x30\xbb\xee\x28\xb0\x86\x7b\xec"
  38103. "\x93\xc1\xbf\xb9\x97\x1b\x96\xef"
  38104. "\xee\x58\x35\x61\x12\x19\xda\x25"
  38105. "\x77\xe5\x80\x1a\x31\x27\x9b\xe4"
  38106. "\xda\x8b\x7e\x51\x4d\xcb\x01\x19"
  38107. "\x4f\xdc\x92\x1a\x17\xd5\x6b\xf4"
  38108. "\x50\xe3\x06\xe4\x76\x9f\x65\x00"
  38109. "\xbd\x7a\xe2\x64\x26\xf2\xe4\x7e"
  38110. "\x40\xf2\x80\xab\x62\xd5\xef\x23"
  38111. "\x8b\xfb\x6f\x24\x6e\x9b\x66\x0e"
  38112. "\xf4\x1c\x24\x1e\x1d\x26\x95\x09"
  38113. "\x94\x3c\xb2\xb6\x02\xa7\xd9\x9a",
  38114. .klen = 32,
  38115. .len = 512,
  38116. },
  38117. };
  38118. #endif /* _CRYPTO_TESTMGR_H */