fips_drbg_selftest.h 114 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012
  1. /* ====================================================================
  2. * Copyright (c) 2011 The OpenSSL Project. All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions
  6. * are met:
  7. *
  8. * 1. Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. *
  11. * 2. Redistributions in binary form must reproduce the above copyright
  12. * notice, this list of conditions and the following disclaimer in
  13. * the documentation and/or other materials provided with the
  14. * distribution.
  15. *
  16. * 3. All advertising materials mentioning features or use of this
  17. * software must display the following acknowledgment:
  18. * "This product includes software developed by the OpenSSL Project
  19. * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
  20. *
  21. * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
  22. * endorse or promote products derived from this software without
  23. * prior written permission. For written permission, please contact
  24. * openssl-core.org.
  25. *
  26. * 5. Products derived from this software may not be called "OpenSSL"
  27. * nor may "OpenSSL" appear in their names without prior written
  28. * permission of the OpenSSL Project.
  29. *
  30. * 6. Redistributions of any form whatsoever must retain the following
  31. * acknowledgment:
  32. * "This product includes software developed by the OpenSSL Project
  33. * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
  34. *
  35. * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
  36. * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  37. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  38. * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
  39. * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  40. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  41. * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  42. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  43. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  44. * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  45. * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  46. * OF THE POSSIBILITY OF SUCH DAMAGE.
  47. *
  48. */
  49. /* Selftest and health check data for the SP800-90 DRBG */
  50. /* AES-128 use df PR */
  51. __fips_constseg
  52. static const unsigned char aes_128_use_df_pr_entropyinput[] =
  53. {
  54. 0x61,0x52,0x7c,0xe3,0x23,0x7d,0x0a,0x07,0x10,0x0c,0x50,0x33,
  55. 0xc8,0xdb,0xff,0x12
  56. };
  57. __fips_constseg
  58. static const unsigned char aes_128_use_df_pr_nonce[] =
  59. {
  60. 0x51,0x0d,0x85,0x77,0xed,0x22,0x97,0x28
  61. };
  62. __fips_constseg
  63. static const unsigned char aes_128_use_df_pr_personalizationstring[] =
  64. {
  65. 0x59,0x9f,0xbb,0xcd,0xd5,0x25,0x69,0xb5,0xcb,0xb5,0x03,0xfe,
  66. 0xd7,0xd7,0x01,0x67
  67. };
  68. __fips_constseg
  69. static const unsigned char aes_128_use_df_pr_additionalinput[] =
  70. {
  71. 0xef,0x88,0x76,0x01,0xaf,0x3c,0xfe,0x8b,0xaf,0x26,0x06,0x9e,
  72. 0x9a,0x47,0x08,0x76
  73. };
  74. __fips_constseg
  75. static const unsigned char aes_128_use_df_pr_entropyinputpr[] =
  76. {
  77. 0xe2,0x76,0xf9,0xf6,0x3a,0xba,0x10,0x9f,0xbf,0x47,0x0e,0x51,
  78. 0x09,0xfb,0xa3,0xb6
  79. };
  80. __fips_constseg
  81. static const unsigned char aes_128_use_df_pr_int_returnedbits[] =
  82. {
  83. 0xd4,0x98,0x8a,0x46,0x80,0x4c,0xdb,0xa3,0x59,0x02,0x57,0x52,
  84. 0x66,0x1c,0xea,0x5b
  85. };
  86. __fips_constseg
  87. static const unsigned char aes_128_use_df_pr_additionalinput2[] =
  88. {
  89. 0x88,0x8c,0x91,0xd6,0xbe,0x56,0x6e,0x08,0x9a,0x62,0x2b,0x11,
  90. 0x3f,0x5e,0x31,0x06
  91. };
  92. __fips_constseg
  93. static const unsigned char aes_128_use_df_pr_entropyinputpr2[] =
  94. {
  95. 0xc0,0x5c,0x6b,0x98,0x01,0x0d,0x58,0x18,0x51,0x18,0x96,0xae,
  96. 0xa7,0xe3,0xa8,0x67
  97. };
  98. __fips_constseg
  99. static const unsigned char aes_128_use_df_pr_returnedbits[] =
  100. {
  101. 0xcf,0x01,0xac,0x22,0x31,0x06,0x8e,0xfc,0xce,0x56,0xea,0x24,
  102. 0x0f,0x38,0x43,0xc6
  103. };
  104. /* AES-128 use df No PR */
  105. __fips_constseg
  106. static const unsigned char aes_128_use_df_entropyinput[] =
  107. {
  108. 0x1f,0x8e,0x34,0x82,0x0c,0xb7,0xbe,0xc5,0x01,0x3e,0xd0,0xa3,
  109. 0x9d,0x7d,0x1c,0x9b
  110. };
  111. __fips_constseg
  112. static const unsigned char aes_128_use_df_nonce[] =
  113. {
  114. 0xd5,0x4d,0xbd,0x4a,0x93,0x7f,0xb8,0x96
  115. };
  116. __fips_constseg
  117. static const unsigned char aes_128_use_df_personalizationstring[] =
  118. {
  119. 0xab,0xd6,0x3f,0x04,0xfe,0x27,0x6b,0x2d,0xd7,0xc3,0x1c,0xf3,
  120. 0x38,0x66,0xba,0x1b
  121. };
  122. __fips_constseg
  123. static const unsigned char aes_128_use_df_additionalinput[] =
  124. {
  125. 0xfe,0xf4,0x09,0xa8,0xb7,0x73,0x27,0x9c,0x5f,0xa7,0xea,0x46,
  126. 0xb5,0xe2,0xb2,0x41
  127. };
  128. __fips_constseg
  129. static const unsigned char aes_128_use_df_int_returnedbits[] =
  130. {
  131. 0x42,0xe4,0x4e,0x7b,0x27,0xdd,0xcb,0xbc,0x0a,0xcf,0xa6,0x67,
  132. 0xe7,0x57,0x11,0xb4
  133. };
  134. __fips_constseg
  135. static const unsigned char aes_128_use_df_entropyinputreseed[] =
  136. {
  137. 0x14,0x26,0x69,0xd9,0xf3,0x65,0x03,0xd6,0x6b,0xb9,0x44,0x0b,
  138. 0xc7,0xc4,0x9e,0x39
  139. };
  140. __fips_constseg
  141. static const unsigned char aes_128_use_df_additionalinputreseed[] =
  142. {
  143. 0x55,0x2e,0x60,0x9a,0x05,0x72,0x8a,0xa8,0xef,0x22,0x81,0x5a,
  144. 0xc8,0x93,0xfa,0x84
  145. };
  146. __fips_constseg
  147. static const unsigned char aes_128_use_df_additionalinput2[] =
  148. {
  149. 0x3c,0x40,0xc8,0xc4,0x16,0x0c,0x21,0xa4,0x37,0x2c,0x8f,0xa5,
  150. 0x06,0x0c,0x15,0x2c
  151. };
  152. __fips_constseg
  153. static const unsigned char aes_128_use_df_returnedbits[] =
  154. {
  155. 0xe1,0x3e,0x99,0x98,0x86,0x67,0x0b,0x63,0x7b,0xbe,0x3f,0x88,
  156. 0x46,0x81,0xc7,0x19
  157. };
  158. /* AES-192 use df PR */
  159. __fips_constseg
  160. static const unsigned char aes_192_use_df_pr_entropyinput[] =
  161. {
  162. 0x2b,0x4e,0x8b,0xe1,0xf1,0x34,0x80,0x56,0x81,0xf9,0x74,0xec,
  163. 0x17,0x44,0x2a,0xf1,0x14,0xb0,0xbf,0x97,0x39,0xb7,0x04,0x7d
  164. };
  165. __fips_constseg
  166. static const unsigned char aes_192_use_df_pr_nonce[] =
  167. {
  168. 0xd6,0x9d,0xeb,0x14,0x4e,0x6c,0x30,0x1e,0x39,0x55,0x73,0xd0,
  169. 0xd1,0x80,0x78,0xfa
  170. };
  171. __fips_constseg
  172. static const unsigned char aes_192_use_df_pr_personalizationstring[] =
  173. {
  174. 0xfc,0x43,0x4a,0xf8,0x9a,0x55,0xb3,0x53,0x83,0xe2,0x18,0x16,
  175. 0x0c,0xdc,0xcd,0x5e,0x4f,0xa0,0x03,0x01,0x2b,0x9f,0xe4,0xd5,
  176. 0x7d,0x49,0xf0,0x41,0x9e,0x3d,0x99,0x04
  177. };
  178. __fips_constseg
  179. static const unsigned char aes_192_use_df_pr_additionalinput[] =
  180. {
  181. 0x5e,0x9f,0x49,0x6f,0x21,0x8b,0x1d,0x32,0xd5,0x84,0x5c,0xac,
  182. 0xaf,0xdf,0xe4,0x79,0x9e,0xaf,0xa9,0x82,0xd0,0xf8,0x4f,0xcb,
  183. 0x69,0x10,0x0a,0x7e,0x81,0x57,0xb5,0x36
  184. };
  185. __fips_constseg
  186. static const unsigned char aes_192_use_df_pr_entropyinputpr[] =
  187. {
  188. 0xd4,0x81,0x0c,0xd7,0x66,0x39,0xec,0x42,0x53,0x87,0x41,0xa5,
  189. 0x1e,0x7d,0x80,0x91,0x8e,0xbb,0xed,0xac,0x14,0x02,0x1a,0xd5
  190. };
  191. __fips_constseg
  192. static const unsigned char aes_192_use_df_pr_int_returnedbits[] =
  193. {
  194. 0xdf,0x1d,0x39,0x45,0x7c,0x9b,0xc6,0x2b,0x7d,0x8c,0x93,0xe9,
  195. 0x19,0x30,0x6b,0x67
  196. };
  197. __fips_constseg
  198. static const unsigned char aes_192_use_df_pr_additionalinput2[] =
  199. {
  200. 0x00,0x71,0x27,0x4e,0xd3,0x14,0xf1,0x20,0x7f,0x4a,0x41,0x32,
  201. 0x2a,0x97,0x11,0x43,0x8f,0x4a,0x15,0x7b,0x9b,0x51,0x79,0xda,
  202. 0x49,0x3d,0xde,0xe8,0xbc,0x93,0x91,0x99
  203. };
  204. __fips_constseg
  205. static const unsigned char aes_192_use_df_pr_entropyinputpr2[] =
  206. {
  207. 0x90,0xee,0x76,0xa1,0x45,0x8d,0xb7,0x40,0xb0,0x11,0xbf,0xd0,
  208. 0x65,0xd7,0x3c,0x7c,0x4f,0x20,0x3f,0x4e,0x11,0x9d,0xb3,0x5e
  209. };
  210. __fips_constseg
  211. static const unsigned char aes_192_use_df_pr_returnedbits[] =
  212. {
  213. 0x24,0x3b,0x20,0xa4,0x37,0x66,0xba,0x72,0x39,0x3f,0xcf,0x3c,
  214. 0x7e,0x1a,0x2b,0x83
  215. };
  216. /* AES-192 use df No PR */
  217. __fips_constseg
  218. static const unsigned char aes_192_use_df_entropyinput[] =
  219. {
  220. 0x8d,0x74,0xa4,0x50,0x1a,0x02,0x68,0x0c,0x2a,0x69,0xc4,0x82,
  221. 0x3b,0xbb,0xda,0x0e,0x7f,0x77,0xa3,0x17,0x78,0x57,0xb2,0x7b
  222. };
  223. __fips_constseg
  224. static const unsigned char aes_192_use_df_nonce[] =
  225. {
  226. 0x75,0xd5,0x1f,0xac,0xa4,0x8d,0x42,0x78,0xd7,0x69,0x86,0x9d,
  227. 0x77,0xd7,0x41,0x0e
  228. };
  229. __fips_constseg
  230. static const unsigned char aes_192_use_df_personalizationstring[] =
  231. {
  232. 0x4e,0x33,0x41,0x3c,0x9c,0xc2,0xd2,0x53,0xaf,0x90,0xea,0xcf,
  233. 0x19,0x50,0x1e,0xe6,0x6f,0x63,0xc8,0x32,0x22,0xdc,0x07,0x65,
  234. 0x9c,0xd3,0xf8,0x30,0x9e,0xed,0x35,0x70
  235. };
  236. __fips_constseg
  237. static const unsigned char aes_192_use_df_additionalinput[] =
  238. {
  239. 0x5d,0x8b,0x8c,0xc1,0xdf,0x0e,0x02,0x78,0xfb,0x19,0xb8,0x69,
  240. 0x78,0x4e,0x9c,0x52,0xbc,0xc7,0x20,0xc9,0xe6,0x5e,0x77,0x22,
  241. 0x28,0x3d,0x0c,0x9e,0x68,0xa8,0x45,0xd7
  242. };
  243. __fips_constseg
  244. static const unsigned char aes_192_use_df_int_returnedbits[] =
  245. {
  246. 0xd5,0xe7,0x08,0xc5,0x19,0x99,0xd5,0x31,0x03,0x0a,0x74,0xb6,
  247. 0xb7,0xed,0xe9,0xea
  248. };
  249. __fips_constseg
  250. static const unsigned char aes_192_use_df_entropyinputreseed[] =
  251. {
  252. 0x9c,0x26,0xda,0xf1,0xac,0xd9,0x5a,0xd6,0xa8,0x65,0xf5,0x02,
  253. 0x8f,0xdc,0xa2,0x09,0x54,0xa6,0xe2,0xa4,0xde,0x32,0xe0,0x01
  254. };
  255. __fips_constseg
  256. static const unsigned char aes_192_use_df_additionalinputreseed[] =
  257. {
  258. 0x9b,0x90,0xb0,0x3a,0x0e,0x3a,0x80,0x07,0x4a,0xf4,0xda,0x76,
  259. 0x28,0x30,0x3c,0xee,0x54,0x1b,0x94,0x59,0x51,0x43,0x56,0x77,
  260. 0xaf,0x88,0xdd,0x63,0x89,0x47,0x06,0x65
  261. };
  262. __fips_constseg
  263. static const unsigned char aes_192_use_df_additionalinput2[] =
  264. {
  265. 0x3c,0x11,0x64,0x7a,0x96,0xf5,0xd8,0xb8,0xae,0xd6,0x70,0x4e,
  266. 0x16,0x96,0xde,0xe9,0x62,0xbc,0xee,0x28,0x2f,0x26,0xa6,0xf0,
  267. 0x56,0xef,0xa3,0xf1,0x6b,0xa1,0xb1,0x77
  268. };
  269. __fips_constseg
  270. static const unsigned char aes_192_use_df_returnedbits[] =
  271. {
  272. 0x0b,0xe2,0x56,0x03,0x1e,0xdb,0x2c,0x6d,0x7f,0x1b,0x15,0x58,
  273. 0x1a,0xf9,0x13,0x28
  274. };
  275. /* AES-256 use df PR */
  276. __fips_constseg
  277. static const unsigned char aes_256_use_df_pr_entropyinput[] =
  278. {
  279. 0x61,0x68,0xfc,0x1a,0xf0,0xb5,0x95,0x6b,0x85,0x09,0x9b,0x74,
  280. 0x3f,0x13,0x78,0x49,0x3b,0x85,0xec,0x93,0x13,0x3b,0xa9,0x4f,
  281. 0x96,0xab,0x2c,0xe4,0xc8,0x8f,0xdd,0x6a
  282. };
  283. __fips_constseg
  284. static const unsigned char aes_256_use_df_pr_nonce[] =
  285. {
  286. 0xad,0xd2,0xbb,0xba,0xb7,0x65,0x89,0xc3,0x21,0x6c,0x55,0x33,
  287. 0x2b,0x36,0xff,0xa4
  288. };
  289. __fips_constseg
  290. static const unsigned char aes_256_use_df_pr_personalizationstring[] =
  291. {
  292. 0x6e,0xca,0xe7,0x20,0x72,0xd3,0x84,0x5a,0x32,0xd3,0x4b,0x24,
  293. 0x72,0xc4,0x63,0x2b,0x9d,0x12,0x24,0x0c,0x23,0x26,0x8e,0x83,
  294. 0x16,0x37,0x0b,0xd1,0x06,0x4f,0x68,0x6d
  295. };
  296. __fips_constseg
  297. static const unsigned char aes_256_use_df_pr_additionalinput[] =
  298. {
  299. 0x7e,0x08,0x4a,0xbb,0xe3,0x21,0x7c,0xc9,0x23,0xd2,0xf8,0xb0,
  300. 0x73,0x98,0xba,0x84,0x74,0x23,0xab,0x06,0x8a,0xe2,0x22,0xd3,
  301. 0x7b,0xce,0x9b,0xd2,0x4a,0x76,0xb8,0xde
  302. };
  303. __fips_constseg
  304. static const unsigned char aes_256_use_df_pr_entropyinputpr[] =
  305. {
  306. 0x0b,0x23,0xaf,0xdf,0xf1,0x62,0xd7,0xd3,0x43,0x97,0xf8,0x77,
  307. 0x04,0xa8,0x42,0x20,0xbd,0xf6,0x0f,0xc1,0x17,0x2f,0x9f,0x54,
  308. 0xbb,0x56,0x17,0x86,0x68,0x0e,0xba,0xa9
  309. };
  310. __fips_constseg
  311. static const unsigned char aes_256_use_df_pr_int_returnedbits[] =
  312. {
  313. 0x31,0x8e,0xad,0xaf,0x40,0xeb,0x6b,0x74,0x31,0x46,0x80,0xc7,
  314. 0x17,0xab,0x3c,0x7a
  315. };
  316. __fips_constseg
  317. static const unsigned char aes_256_use_df_pr_additionalinput2[] =
  318. {
  319. 0x94,0x6b,0xc9,0x9f,0xab,0x8d,0xc5,0xec,0x71,0x88,0x1d,0x00,
  320. 0x8c,0x89,0x68,0xe4,0xc8,0x07,0x77,0x36,0x17,0x6d,0x79,0x78,
  321. 0xc7,0x06,0x4e,0x99,0x04,0x28,0x29,0xc3
  322. };
  323. __fips_constseg
  324. static const unsigned char aes_256_use_df_pr_entropyinputpr2[] =
  325. {
  326. 0xbf,0x6c,0x59,0x2a,0x0d,0x44,0x0f,0xae,0x9a,0x5e,0x03,0x73,
  327. 0xd8,0xa6,0xe1,0xcf,0x25,0x61,0x38,0x24,0x86,0x9e,0x53,0xe8,
  328. 0xa4,0xdf,0x56,0xf4,0x06,0x07,0x9c,0x0f
  329. };
  330. __fips_constseg
  331. static const unsigned char aes_256_use_df_pr_returnedbits[] =
  332. {
  333. 0x22,0x4a,0xb4,0xb8,0xb6,0xee,0x7d,0xb1,0x9e,0xc9,0xf9,0xa0,
  334. 0xd9,0xe2,0x97,0x00
  335. };
  336. /* AES-256 use df No PR */
  337. __fips_constseg
  338. static const unsigned char aes_256_use_df_entropyinput[] =
  339. {
  340. 0xa5,0x3e,0x37,0x10,0x17,0x43,0x91,0x93,0x59,0x1e,0x47,0x50,
  341. 0x87,0xaa,0xdd,0xd5,0xc1,0xc3,0x86,0xcd,0xca,0x0d,0xdb,0x68,
  342. 0xe0,0x02,0xd8,0x0f,0xdc,0x40,0x1a,0x47
  343. };
  344. __fips_constseg
  345. static const unsigned char aes_256_use_df_nonce[] =
  346. {
  347. 0xa9,0x4d,0xa5,0x5a,0xfd,0xc5,0x0c,0xe5,0x1c,0x9a,0x3b,0x8a,
  348. 0x4c,0x44,0x84,0x40
  349. };
  350. __fips_constseg
  351. static const unsigned char aes_256_use_df_personalizationstring[] =
  352. {
  353. 0x8b,0x52,0xa2,0x4a,0x93,0xc3,0x4e,0xa7,0x1e,0x1c,0xa7,0x05,
  354. 0xeb,0x82,0x9b,0xa6,0x5d,0xe4,0xd4,0xe0,0x7f,0xa3,0xd8,0x6b,
  355. 0x37,0x84,0x5f,0xf1,0xc7,0xd5,0xf6,0xd2
  356. };
  357. __fips_constseg
  358. static const unsigned char aes_256_use_df_additionalinput[] =
  359. {
  360. 0x20,0xf4,0x22,0xed,0xf8,0x5c,0xa1,0x6a,0x01,0xcf,0xbe,0x5f,
  361. 0x8d,0x6c,0x94,0x7f,0xae,0x12,0xa8,0x57,0xdb,0x2a,0xa9,0xbf,
  362. 0xc7,0xb3,0x65,0x81,0x80,0x8d,0x0d,0x46
  363. };
  364. __fips_constseg
  365. static const unsigned char aes_256_use_df_int_returnedbits[] =
  366. {
  367. 0x4e,0x44,0xfd,0xf3,0x9e,0x29,0xa2,0xb8,0x0f,0x5d,0x6c,0xe1,
  368. 0x28,0x0c,0x3b,0xc1
  369. };
  370. __fips_constseg
  371. static const unsigned char aes_256_use_df_entropyinputreseed[] =
  372. {
  373. 0xdd,0x40,0xe5,0x98,0x7b,0x27,0x16,0x73,0x15,0x68,0xd2,0x76,
  374. 0xbf,0x0c,0x67,0x15,0x75,0x79,0x03,0xd3,0xde,0xde,0x91,0x46,
  375. 0x42,0xdd,0xd4,0x67,0xc8,0x79,0xc8,0x1e
  376. };
  377. __fips_constseg
  378. static const unsigned char aes_256_use_df_additionalinputreseed[] =
  379. {
  380. 0x7f,0xd8,0x1f,0xbd,0x2a,0xb5,0x1c,0x11,0x5d,0x83,0x4e,0x99,
  381. 0xf6,0x5c,0xa5,0x40,0x20,0xed,0x38,0x8e,0xd5,0x9e,0xe0,0x75,
  382. 0x93,0xfe,0x12,0x5e,0x5d,0x73,0xfb,0x75
  383. };
  384. __fips_constseg
  385. static const unsigned char aes_256_use_df_additionalinput2[] =
  386. {
  387. 0xcd,0x2c,0xff,0x14,0x69,0x3e,0x4c,0x9e,0xfd,0xfe,0x26,0x0d,
  388. 0xe9,0x86,0x00,0x49,0x30,0xba,0xb1,0xc6,0x50,0x57,0x77,0x2a,
  389. 0x62,0x39,0x2c,0x3b,0x74,0xeb,0xc9,0x0d
  390. };
  391. __fips_constseg
  392. static const unsigned char aes_256_use_df_returnedbits[] =
  393. {
  394. 0x4f,0x78,0xbe,0xb9,0x4d,0x97,0x8c,0xe9,0xd0,0x97,0xfe,0xad,
  395. 0xfa,0xfd,0x35,0x5e
  396. };
  397. /* AES-128 no df PR */
  398. __fips_constseg
  399. static const unsigned char aes_128_no_df_pr_entropyinput[] =
  400. {
  401. 0x9a,0x25,0x65,0x10,0x67,0xd5,0xb6,0x6b,0x70,0xa1,0xb3,0xa4,
  402. 0x43,0x95,0x80,0xc0,0x84,0x0a,0x79,0xb0,0x88,0x74,0xf2,0xbf,
  403. 0x31,0x6c,0x33,0x38,0x0b,0x00,0xb2,0x5a
  404. };
  405. __fips_constseg
  406. static const unsigned char aes_128_no_df_pr_nonce[] =
  407. {
  408. 0x78,0x47,0x6b,0xf7,0x90,0x8e,0x87,0xf1
  409. };
  410. __fips_constseg
  411. static const unsigned char aes_128_no_df_pr_personalizationstring[] =
  412. {
  413. 0xf7,0x22,0x1d,0x3a,0xbe,0x1d,0xca,0x32,0x1b,0xbd,0x87,0x0c,
  414. 0x51,0x24,0x19,0xee,0xa3,0x23,0x09,0x63,0x33,0x3d,0xa8,0x0c,
  415. 0x1c,0xfa,0x42,0x89,0xcc,0x6f,0xa0,0xa8
  416. };
  417. __fips_constseg
  418. static const unsigned char aes_128_no_df_pr_additionalinput[] =
  419. {
  420. 0xc9,0xe0,0x80,0xbf,0x8c,0x45,0x58,0x39,0xff,0x00,0xab,0x02,
  421. 0x4c,0x3e,0x3a,0x95,0x9b,0x80,0xa8,0x21,0x2a,0xee,0xba,0x73,
  422. 0xb1,0xd9,0xcf,0x28,0xf6,0x8f,0x9b,0x12
  423. };
  424. __fips_constseg
  425. static const unsigned char aes_128_no_df_pr_entropyinputpr[] =
  426. {
  427. 0x4c,0xa8,0xc5,0xf0,0x59,0x9e,0xa6,0x8d,0x26,0x53,0xd7,0x8a,
  428. 0xa9,0xd8,0xf7,0xed,0xb2,0xf9,0x12,0x42,0xe1,0xe5,0xbd,0xe7,
  429. 0xe7,0x1d,0x74,0x99,0x00,0x9d,0x31,0x3e
  430. };
  431. __fips_constseg
  432. static const unsigned char aes_128_no_df_pr_int_returnedbits[] =
  433. {
  434. 0xe2,0xac,0x20,0xf0,0x80,0xe7,0xbc,0x7e,0x9c,0x7b,0x65,0x71,
  435. 0xaf,0x19,0x32,0x16
  436. };
  437. __fips_constseg
  438. static const unsigned char aes_128_no_df_pr_additionalinput2[] =
  439. {
  440. 0x32,0x7f,0x38,0x8b,0x73,0x0a,0x78,0x83,0xdc,0x30,0xbe,0x9f,
  441. 0x10,0x1f,0xf5,0x1f,0xca,0x00,0xb5,0x0d,0xd6,0x9d,0x60,0x83,
  442. 0x51,0x54,0x7d,0x38,0x23,0x3a,0x52,0x50
  443. };
  444. __fips_constseg
  445. static const unsigned char aes_128_no_df_pr_entropyinputpr2[] =
  446. {
  447. 0x18,0x61,0x53,0x56,0xed,0xed,0xd7,0x20,0xfb,0x71,0x04,0x7a,
  448. 0xb2,0xac,0xc1,0x28,0xcd,0xf2,0xc2,0xfc,0xaa,0xb1,0x06,0x07,
  449. 0xe9,0x46,0x95,0x02,0x48,0x01,0x78,0xf9
  450. };
  451. __fips_constseg
  452. static const unsigned char aes_128_no_df_pr_returnedbits[] =
  453. {
  454. 0x29,0xc8,0x1b,0x15,0xb1,0xd1,0xc2,0xf6,0x71,0x86,0x68,0x33,
  455. 0x57,0x82,0x33,0xaf
  456. };
  457. /* AES-128 no df No PR */
  458. __fips_constseg
  459. static const unsigned char aes_128_no_df_entropyinput[] =
  460. {
  461. 0xc9,0xc5,0x79,0xbc,0xe8,0xc5,0x19,0xd8,0xbc,0x66,0x73,0x67,
  462. 0xf6,0xd3,0x72,0xaa,0xa6,0x16,0xb8,0x50,0xb7,0x47,0x3a,0x42,
  463. 0xab,0xf4,0x16,0xb2,0x96,0xd2,0xb6,0x60
  464. };
  465. __fips_constseg
  466. static const unsigned char aes_128_no_df_nonce[] =
  467. {
  468. 0x5f,0xbf,0x97,0x0c,0x4b,0xa4,0x87,0x13
  469. };
  470. __fips_constseg
  471. static const unsigned char aes_128_no_df_personalizationstring[] =
  472. {
  473. 0xce,0xfb,0x7b,0x3f,0xd4,0x6b,0x29,0x0d,0x69,0x06,0xff,0xbb,
  474. 0xf2,0xe5,0xc6,0x6c,0x0a,0x10,0xa0,0xcf,0x1a,0x48,0xc7,0x8b,
  475. 0x3c,0x16,0x88,0xed,0x50,0x13,0x81,0xce
  476. };
  477. __fips_constseg
  478. static const unsigned char aes_128_no_df_additionalinput[] =
  479. {
  480. 0x4b,0x22,0x46,0x18,0x02,0x7b,0xd2,0x1b,0x22,0x42,0x7c,0x37,
  481. 0xd9,0xf6,0xe8,0x9b,0x12,0x30,0x5f,0xe9,0x90,0xe8,0x08,0x24,
  482. 0x4f,0x06,0x66,0xdb,0x19,0x2b,0x13,0x95
  483. };
  484. __fips_constseg
  485. static const unsigned char aes_128_no_df_int_returnedbits[] =
  486. {
  487. 0x2e,0x96,0x70,0x64,0xfa,0xdf,0xdf,0x57,0xb5,0x82,0xee,0xd6,
  488. 0xed,0x3e,0x65,0xc2
  489. };
  490. __fips_constseg
  491. static const unsigned char aes_128_no_df_entropyinputreseed[] =
  492. {
  493. 0x26,0xc0,0x72,0x16,0x3a,0x4b,0xb7,0x99,0xd4,0x07,0xaf,0x66,
  494. 0x62,0x36,0x96,0xa4,0x51,0x17,0xfa,0x07,0x8b,0x17,0x5e,0xa1,
  495. 0x2f,0x3c,0x10,0xe7,0x90,0xd0,0x46,0x00
  496. };
  497. __fips_constseg
  498. static const unsigned char aes_128_no_df_additionalinputreseed[] =
  499. {
  500. 0x83,0x39,0x37,0x7b,0x02,0x06,0xd2,0x12,0x13,0x8d,0x8b,0xf2,
  501. 0xf0,0xf6,0x26,0xeb,0xa4,0x22,0x7b,0xc2,0xe7,0xba,0x79,0xe4,
  502. 0x3b,0x77,0x5d,0x4d,0x47,0xb2,0x2d,0xb4
  503. };
  504. __fips_constseg
  505. static const unsigned char aes_128_no_df_additionalinput2[] =
  506. {
  507. 0x0b,0xb9,0x67,0x37,0xdb,0x83,0xdf,0xca,0x81,0x8b,0xf9,0x3f,
  508. 0xf1,0x11,0x1b,0x2f,0xf0,0x61,0xa6,0xdf,0xba,0xa3,0xb1,0xac,
  509. 0xd3,0xe6,0x09,0xb8,0x2c,0x6a,0x67,0xd6
  510. };
  511. __fips_constseg
  512. static const unsigned char aes_128_no_df_returnedbits[] =
  513. {
  514. 0x1e,0xa7,0xa4,0xe4,0xe1,0xa6,0x7c,0x69,0x9a,0x44,0x6c,0x36,
  515. 0x81,0x37,0x19,0xd4
  516. };
  517. /* AES-192 no df PR */
  518. __fips_constseg
  519. static const unsigned char aes_192_no_df_pr_entropyinput[] =
  520. {
  521. 0x9d,0x2c,0xd2,0x55,0x66,0xea,0xe0,0xbe,0x18,0xb7,0x76,0xe7,
  522. 0x73,0x35,0xd8,0x1f,0xad,0x3a,0xe3,0x81,0x0e,0x92,0xd0,0x61,
  523. 0xc9,0x12,0x26,0xf6,0x1c,0xdf,0xfe,0x47,0xaa,0xfe,0x7d,0x5a,
  524. 0x17,0x1f,0x8d,0x9a
  525. };
  526. __fips_constseg
  527. static const unsigned char aes_192_no_df_pr_nonce[] =
  528. {
  529. 0x44,0x82,0xed,0xe8,0x4c,0x28,0x5a,0x14,0xff,0x88,0x8d,0x19,
  530. 0x61,0x5c,0xee,0x0f
  531. };
  532. __fips_constseg
  533. static const unsigned char aes_192_no_df_pr_personalizationstring[] =
  534. {
  535. 0x47,0xd7,0x9b,0x99,0xaa,0xcb,0xe7,0xd2,0x57,0x66,0x2c,0xe1,
  536. 0x78,0xd6,0x2c,0xea,0xa3,0x23,0x5f,0x2a,0xc1,0x3a,0xf0,0xa4,
  537. 0x20,0x3b,0xfa,0x07,0xd5,0x05,0x02,0xe4,0x57,0x01,0xb6,0x10,
  538. 0x57,0x2e,0xe7,0x55
  539. };
  540. __fips_constseg
  541. static const unsigned char aes_192_no_df_pr_additionalinput[] =
  542. {
  543. 0x4b,0x74,0x0b,0x40,0xce,0x6b,0xc2,0x6a,0x24,0xb4,0xf3,0xad,
  544. 0x7a,0xa5,0x7a,0xa2,0x15,0xe2,0xc8,0x61,0x15,0xc6,0xb7,0x85,
  545. 0x69,0x11,0xad,0x7b,0x14,0xd2,0xf6,0x12,0xa1,0x95,0x5d,0x3f,
  546. 0xe2,0xd0,0x0c,0x2f
  547. };
  548. __fips_constseg
  549. static const unsigned char aes_192_no_df_pr_entropyinputpr[] =
  550. {
  551. 0x0c,0x9c,0xad,0x05,0xee,0xae,0x48,0x23,0x89,0x59,0xa1,0x94,
  552. 0xd7,0xd8,0x75,0xd5,0x54,0x93,0xc7,0x4a,0xd9,0x26,0xde,0xeb,
  553. 0xba,0xb0,0x7e,0x30,0x1d,0x5f,0x69,0x40,0x9c,0x3b,0x17,0x58,
  554. 0x1d,0x30,0xb3,0x78
  555. };
  556. __fips_constseg
  557. static const unsigned char aes_192_no_df_pr_int_returnedbits[] =
  558. {
  559. 0xf7,0x93,0xb0,0x6d,0x77,0x83,0xd5,0x38,0x01,0xe1,0x52,0x40,
  560. 0x7e,0x3e,0x0c,0x26
  561. };
  562. __fips_constseg
  563. static const unsigned char aes_192_no_df_pr_additionalinput2[] =
  564. {
  565. 0xbc,0x4b,0x37,0x44,0x1c,0xc5,0x45,0x5f,0x8f,0x51,0x62,0x8a,
  566. 0x85,0x30,0x1d,0x7c,0xe4,0xcf,0xf7,0x44,0xce,0x32,0x3e,0x57,
  567. 0x95,0xa4,0x2a,0xdf,0xfd,0x9e,0x38,0x41,0xb3,0xf6,0xc5,0xee,
  568. 0x0c,0x4b,0xee,0x6e
  569. };
  570. __fips_constseg
  571. static const unsigned char aes_192_no_df_pr_entropyinputpr2[] =
  572. {
  573. 0xec,0xaf,0xf6,0x4f,0xb1,0xa0,0x54,0xb5,0x5b,0xe3,0x46,0xb0,
  574. 0x76,0x5a,0x7c,0x3f,0x7b,0x94,0x69,0x21,0x51,0x02,0xe5,0x9f,
  575. 0x04,0x59,0x02,0x98,0xc6,0x43,0x2c,0xcc,0x26,0x4c,0x87,0x6b,
  576. 0x8e,0x0a,0x83,0xdf
  577. };
  578. __fips_constseg
  579. static const unsigned char aes_192_no_df_pr_returnedbits[] =
  580. {
  581. 0x74,0x45,0xfb,0x53,0x84,0x96,0xbe,0xff,0x15,0xcc,0x41,0x91,
  582. 0xb9,0xa1,0x21,0x68
  583. };
  584. /* AES-192 no df No PR */
  585. __fips_constseg
  586. static const unsigned char aes_192_no_df_entropyinput[] =
  587. {
  588. 0x3c,0x7d,0xb5,0xe0,0x54,0xd9,0x6e,0x8c,0xa9,0x86,0xce,0x4e,
  589. 0x6b,0xaf,0xeb,0x2f,0xe7,0x75,0xe0,0x8b,0xa4,0x3b,0x07,0xfe,
  590. 0xbe,0x33,0x75,0x93,0x80,0x27,0xb5,0x29,0x47,0x8b,0xc7,0x28,
  591. 0x94,0xc3,0x59,0x63
  592. };
  593. __fips_constseg
  594. static const unsigned char aes_192_no_df_nonce[] =
  595. {
  596. 0x43,0xf1,0x7d,0xb8,0xc3,0xfe,0xd0,0x23,0x6b,0xb4,0x92,0xdb,
  597. 0x29,0xfd,0x45,0x71
  598. };
  599. __fips_constseg
  600. static const unsigned char aes_192_no_df_personalizationstring[] =
  601. {
  602. 0x9f,0x24,0x29,0x99,0x9e,0x01,0xab,0xe9,0x19,0xd8,0x23,0x08,
  603. 0xb7,0xd6,0x7e,0x8c,0xc0,0x9e,0x7f,0x6e,0x5b,0x33,0x20,0x96,
  604. 0x0b,0x23,0x2c,0xa5,0x6a,0xf8,0x1b,0x04,0x26,0xdb,0x2e,0x2b,
  605. 0x3b,0x88,0xce,0x35
  606. };
  607. __fips_constseg
  608. static const unsigned char aes_192_no_df_additionalinput[] =
  609. {
  610. 0x94,0xe9,0x7c,0x3d,0xa7,0xdb,0x60,0x83,0x1f,0x98,0x3f,0x0b,
  611. 0x88,0x59,0x57,0x51,0x88,0x9f,0x76,0x49,0x9f,0xa6,0xda,0x71,
  612. 0x1d,0x0d,0x47,0x16,0x63,0xc5,0x68,0xe4,0x5d,0x39,0x69,0xb3,
  613. 0x3e,0xbe,0xd4,0x8e
  614. };
  615. __fips_constseg
  616. static const unsigned char aes_192_no_df_int_returnedbits[] =
  617. {
  618. 0xf9,0xd7,0xad,0x69,0xab,0x8f,0x23,0x56,0x70,0x17,0x4f,0x2a,
  619. 0x45,0xe7,0x4a,0xc5
  620. };
  621. __fips_constseg
  622. static const unsigned char aes_192_no_df_entropyinputreseed[] =
  623. {
  624. 0xa6,0x71,0x6a,0x3d,0xba,0xd1,0xe8,0x66,0xa6,0xef,0xb2,0x0e,
  625. 0xa8,0x9c,0xaa,0x4e,0xaf,0x17,0x89,0x50,0x00,0xda,0xa1,0xb1,
  626. 0x0b,0xa4,0xd9,0x35,0x89,0xc8,0xe5,0xb0,0xd9,0xb7,0xc4,0x33,
  627. 0x9b,0xcb,0x7e,0x75
  628. };
  629. __fips_constseg
  630. static const unsigned char aes_192_no_df_additionalinputreseed[] =
  631. {
  632. 0x27,0x21,0xfc,0xc2,0xbd,0xf3,0x3c,0xce,0xc3,0xca,0xc1,0x01,
  633. 0xe0,0xff,0x93,0x12,0x7d,0x54,0x42,0xe3,0x9f,0x03,0xdf,0x27,
  634. 0x04,0x07,0x3c,0x53,0x7f,0xa8,0x66,0xc8,0x97,0x4b,0x61,0x40,
  635. 0x5d,0x7a,0x25,0x79
  636. };
  637. __fips_constseg
  638. static const unsigned char aes_192_no_df_additionalinput2[] =
  639. {
  640. 0x2d,0x8e,0x16,0x5d,0x0b,0x9f,0xeb,0xaa,0xd6,0xec,0x28,0x71,
  641. 0x7c,0x0b,0xc1,0x1d,0xd4,0x44,0x19,0x47,0xfd,0x1d,0x7c,0xe5,
  642. 0xf3,0x27,0xe1,0xb6,0x72,0x0a,0xe0,0xec,0x0e,0xcd,0xef,0x1a,
  643. 0x91,0x6a,0xe3,0x5f
  644. };
  645. __fips_constseg
  646. static const unsigned char aes_192_no_df_returnedbits[] =
  647. {
  648. 0xe5,0xda,0xb8,0xe0,0x63,0x59,0x5a,0xcc,0x3d,0xdc,0x9f,0xe8,
  649. 0x66,0x67,0x2c,0x92
  650. };
  651. /* AES-256 no df PR */
  652. __fips_constseg
  653. static const unsigned char aes_256_no_df_pr_entropyinput[] =
  654. {
  655. 0x15,0xc7,0x5d,0xcb,0x41,0x4b,0x16,0x01,0x3a,0xd1,0x44,0xe8,
  656. 0x22,0x32,0xc6,0x9c,0x3f,0xe7,0x43,0xf5,0x9a,0xd3,0xea,0xf2,
  657. 0xd7,0x4e,0x6e,0x6a,0x55,0x73,0x40,0xef,0x89,0xad,0x0d,0x03,
  658. 0x96,0x7e,0x78,0x81,0x2f,0x91,0x1b,0x44,0xb0,0x02,0xba,0x1c
  659. };
  660. __fips_constseg
  661. static const unsigned char aes_256_no_df_pr_nonce[] =
  662. {
  663. 0xdc,0xe4,0xd4,0x27,0x7a,0x90,0xd7,0x99,0x43,0xa1,0x3c,0x30,
  664. 0xcc,0x4b,0xee,0x2e
  665. };
  666. __fips_constseg
  667. static const unsigned char aes_256_no_df_pr_personalizationstring[] =
  668. {
  669. 0xe3,0xe6,0xb9,0x11,0xe4,0x7a,0xa4,0x40,0x6b,0xf8,0x73,0xf7,
  670. 0x7e,0xec,0xc7,0xb9,0x97,0xbf,0xf8,0x25,0x7b,0xbe,0x11,0x9b,
  671. 0x5b,0x6a,0x0c,0x2e,0x2b,0x01,0x51,0xcd,0x41,0x4b,0x6b,0xac,
  672. 0x31,0xa8,0x0b,0xf7,0xe6,0x59,0x42,0xb8,0x03,0x0c,0xf8,0x06
  673. };
  674. __fips_constseg
  675. static const unsigned char aes_256_no_df_pr_additionalinput[] =
  676. {
  677. 0x6a,0x9f,0x00,0x91,0xae,0xfe,0xcf,0x84,0x99,0xce,0xb1,0x40,
  678. 0x6d,0x5d,0x33,0x28,0x84,0xf4,0x8c,0x63,0x4c,0x7e,0xbd,0x2c,
  679. 0x80,0x76,0xee,0x5a,0xaa,0x15,0x07,0x31,0xd8,0xbb,0x8c,0x69,
  680. 0x9d,0x9d,0xbc,0x7e,0x49,0xae,0xec,0x39,0x6b,0xd1,0x1f,0x7e
  681. };
  682. __fips_constseg
  683. static const unsigned char aes_256_no_df_pr_entropyinputpr[] =
  684. {
  685. 0xf3,0xb9,0x75,0x9c,0xbd,0x88,0xea,0xa2,0x50,0xad,0xd6,0x16,
  686. 0x1a,0x12,0x3c,0x86,0x68,0xaf,0x6f,0xbe,0x19,0xf2,0xee,0xcc,
  687. 0xa5,0x70,0x84,0x53,0x50,0xcb,0x9f,0x14,0xa9,0xe5,0xee,0xb9,
  688. 0x48,0x45,0x40,0xe2,0xc7,0xc9,0x9a,0x74,0xff,0x8c,0x99,0x1f
  689. };
  690. __fips_constseg
  691. static const unsigned char aes_256_no_df_pr_int_returnedbits[] =
  692. {
  693. 0x2e,0xf2,0x45,0x4c,0x62,0x2e,0x0a,0xb9,0x6b,0xa2,0xfd,0x56,
  694. 0x79,0x60,0x93,0xcf
  695. };
  696. __fips_constseg
  697. static const unsigned char aes_256_no_df_pr_additionalinput2[] =
  698. {
  699. 0xaf,0x69,0x20,0xe9,0x3b,0x37,0x9d,0x3f,0xb4,0x80,0x02,0x7a,
  700. 0x25,0x7d,0xb8,0xde,0x71,0xc5,0x06,0x0c,0xb4,0xe2,0x8f,0x35,
  701. 0xd8,0x14,0x0d,0x7f,0x76,0x63,0x4e,0xb5,0xee,0xe9,0x6f,0x34,
  702. 0xc7,0x5f,0x56,0x14,0x4a,0xe8,0x73,0x95,0x5b,0x1c,0xb9,0xcb
  703. };
  704. __fips_constseg
  705. static const unsigned char aes_256_no_df_pr_entropyinputpr2[] =
  706. {
  707. 0xe5,0xb0,0x2e,0x7e,0x52,0x30,0xe3,0x63,0x82,0xb6,0x44,0xd3,
  708. 0x25,0x19,0x05,0x24,0x9a,0x9f,0x5f,0x27,0x6a,0x29,0xab,0xfa,
  709. 0x07,0xa2,0x42,0x0f,0xc5,0xa8,0x94,0x7c,0x17,0x7b,0x85,0x83,
  710. 0x0c,0x25,0x0e,0x63,0x0b,0xe9,0x12,0x60,0xcd,0xef,0x80,0x0f
  711. };
  712. __fips_constseg
  713. static const unsigned char aes_256_no_df_pr_returnedbits[] =
  714. {
  715. 0x5e,0xf2,0x26,0xef,0x9f,0x58,0x5d,0xd5,0x4a,0x10,0xfe,0xa7,
  716. 0x2d,0x5f,0x4a,0x46
  717. };
  718. /* AES-256 no df No PR */
  719. __fips_constseg
  720. static const unsigned char aes_256_no_df_entropyinput[] =
  721. {
  722. 0xfb,0xcf,0x1b,0x61,0x16,0x89,0x78,0x23,0xf5,0xd8,0x96,0xe3,
  723. 0x4e,0x64,0x0b,0x29,0x9a,0x3f,0xf8,0xa5,0xed,0xf2,0xfe,0xdb,
  724. 0x16,0xca,0x7f,0x10,0xfa,0x5e,0x18,0x76,0x2c,0x63,0x5e,0x96,
  725. 0xcf,0xb3,0xd6,0xfc,0xaf,0x99,0x39,0x28,0x9c,0x61,0xe8,0xb3
  726. };
  727. __fips_constseg
  728. static const unsigned char aes_256_no_df_nonce[] =
  729. {
  730. 0x12,0x96,0xf0,0x52,0xf3,0x8d,0x81,0xcf,0xde,0x86,0xf2,0x99,
  731. 0x43,0x96,0xb9,0xf0
  732. };
  733. __fips_constseg
  734. static const unsigned char aes_256_no_df_personalizationstring[] =
  735. {
  736. 0x63,0x0d,0x78,0xf5,0x90,0x8e,0x32,0x47,0xb0,0x4d,0x37,0x60,
  737. 0x09,0x96,0xbc,0xbf,0x97,0x7a,0x62,0x14,0x45,0xbd,0x8d,0xcc,
  738. 0x69,0xfb,0x03,0xe1,0x80,0x1c,0xc7,0xe2,0x2a,0xf9,0x37,0x3f,
  739. 0x66,0x4d,0x62,0xd9,0x10,0xe0,0xad,0xc8,0x9a,0xf0,0xa8,0x6d
  740. };
  741. __fips_constseg
  742. static const unsigned char aes_256_no_df_additionalinput[] =
  743. {
  744. 0x36,0xc6,0x13,0x60,0xbb,0x14,0xad,0x22,0xb0,0x38,0xac,0xa6,
  745. 0x18,0x16,0x93,0x25,0x86,0xb7,0xdc,0xdc,0x36,0x98,0x2b,0xf9,
  746. 0x68,0x33,0xd3,0xc6,0xff,0xce,0x8d,0x15,0x59,0x82,0x76,0xed,
  747. 0x6f,0x8d,0x49,0x74,0x2f,0xda,0xdc,0x1f,0x17,0xd0,0xde,0x17
  748. };
  749. __fips_constseg
  750. static const unsigned char aes_256_no_df_int_returnedbits[] =
  751. {
  752. 0x16,0x2f,0x8e,0x3f,0x21,0x7a,0x1c,0x20,0x56,0xd1,0x92,0xf6,
  753. 0xd2,0x25,0x75,0x0e
  754. };
  755. __fips_constseg
  756. static const unsigned char aes_256_no_df_entropyinputreseed[] =
  757. {
  758. 0x91,0x79,0x76,0xee,0xe0,0xcf,0x9e,0xc2,0xd5,0xd4,0x23,0x9b,
  759. 0x12,0x8c,0x7e,0x0a,0xb7,0xd2,0x8b,0xd6,0x7c,0xa3,0xc6,0xe5,
  760. 0x0e,0xaa,0xc7,0x6b,0xae,0x0d,0xfa,0x53,0x06,0x79,0xa1,0xed,
  761. 0x4d,0x6a,0x0e,0xd8,0x9d,0xbe,0x1b,0x31,0x93,0x7b,0xec,0xfb
  762. };
  763. __fips_constseg
  764. static const unsigned char aes_256_no_df_additionalinputreseed[] =
  765. {
  766. 0xd2,0x46,0x50,0x22,0x10,0x14,0x63,0xf7,0xea,0x0f,0xb9,0x7e,
  767. 0x0d,0xe1,0x94,0x07,0xaf,0x09,0x44,0x31,0xea,0x64,0xa4,0x18,
  768. 0x5b,0xf9,0xd8,0xc2,0xfa,0x03,0x47,0xc5,0x39,0x43,0xd5,0x3b,
  769. 0x62,0x86,0x64,0xea,0x2c,0x73,0x8c,0xae,0x9d,0x98,0x98,0x29
  770. };
  771. __fips_constseg
  772. static const unsigned char aes_256_no_df_additionalinput2[] =
  773. {
  774. 0x8c,0xab,0x18,0xf8,0xc3,0xec,0x18,0x5c,0xb3,0x1e,0x9d,0xbe,
  775. 0x3f,0x03,0xb4,0x00,0x98,0x9d,0xae,0xeb,0xf4,0x94,0xf8,0x42,
  776. 0x8f,0xe3,0x39,0x07,0xe1,0xc9,0xad,0x0b,0x1f,0xed,0xc0,0xba,
  777. 0xf6,0xd1,0xec,0x27,0x86,0x7b,0xd6,0x55,0x9b,0x60,0xa5,0xc6
  778. };
  779. __fips_constseg
  780. static const unsigned char aes_256_no_df_returnedbits[] =
  781. {
  782. 0xef,0xd2,0xd8,0x5c,0xdc,0x62,0x25,0x9f,0xaa,0x1e,0x2c,0x67,
  783. 0xf6,0x02,0x32,0xe2
  784. };
  785. /* SHA-1 PR */
  786. __fips_constseg
  787. static const unsigned char sha1_pr_entropyinput[] =
  788. {
  789. 0xd2,0x36,0xa5,0x27,0x31,0x73,0xdd,0x11,0x4f,0x93,0xbd,0xe2,
  790. 0x31,0xa5,0x91,0x13
  791. };
  792. __fips_constseg
  793. static const unsigned char sha1_pr_nonce[] =
  794. {
  795. 0xb5,0xb3,0x60,0xef,0xf7,0x63,0x31,0xf3
  796. };
  797. __fips_constseg
  798. static const unsigned char sha1_pr_personalizationstring[] =
  799. {
  800. 0xd4,0xbb,0x02,0x10,0xb2,0x71,0xdb,0x81,0xd6,0xf0,0x42,0x60,
  801. 0xda,0xea,0x77,0x52
  802. };
  803. __fips_constseg
  804. static const unsigned char sha1_pr_additionalinput[] =
  805. {
  806. 0x4d,0xd2,0x6c,0x87,0xfb,0x2c,0x4f,0xa6,0x8d,0x16,0x63,0x22,
  807. 0x6a,0x51,0xe3,0xf8
  808. };
  809. __fips_constseg
  810. static const unsigned char sha1_pr_entropyinputpr[] =
  811. {
  812. 0xc9,0x83,0x9e,0x16,0xf6,0x1c,0x0f,0xb2,0xec,0x60,0x31,0xa9,
  813. 0xcb,0xa9,0x36,0x7a
  814. };
  815. __fips_constseg
  816. static const unsigned char sha1_pr_int_returnedbits[] =
  817. {
  818. 0xa8,0x13,0x4f,0xf4,0x31,0x02,0x44,0xe3,0xd3,0x3d,0x61,0x9e,
  819. 0xe5,0xc6,0x3e,0x89,0xb5,0x9b,0x0f,0x35
  820. };
  821. __fips_constseg
  822. static const unsigned char sha1_pr_additionalinput2[] =
  823. {
  824. 0xf9,0xe8,0xd2,0x72,0x13,0x34,0x95,0x6f,0x15,0x49,0x47,0x99,
  825. 0x16,0x03,0x19,0x47
  826. };
  827. __fips_constseg
  828. static const unsigned char sha1_pr_entropyinputpr2[] =
  829. {
  830. 0x4e,0x8c,0x49,0x9b,0x4a,0x5c,0x9b,0x9c,0x3a,0xee,0xfb,0xd2,
  831. 0xae,0xcd,0x8c,0xc4
  832. };
  833. __fips_constseg
  834. static const unsigned char sha1_pr_returnedbits[] =
  835. {
  836. 0x50,0xb4,0xb4,0xcd,0x68,0x57,0xfc,0x2e,0xc1,0x52,0xcc,0xf6,
  837. 0x68,0xa4,0x81,0xed,0x7e,0xe4,0x1d,0x87
  838. };
  839. /* SHA-1 No PR */
  840. __fips_constseg
  841. static const unsigned char sha1_entropyinput[] =
  842. {
  843. 0xa9,0x47,0x1b,0x29,0x2d,0x1c,0x05,0xdf,0x76,0xd0,0x62,0xf9,
  844. 0xe2,0x7f,0x4c,0x7b
  845. };
  846. __fips_constseg
  847. static const unsigned char sha1_nonce[] =
  848. {
  849. 0x53,0x23,0x24,0xe3,0xec,0x0c,0x54,0x14
  850. };
  851. __fips_constseg
  852. static const unsigned char sha1_personalizationstring[] =
  853. {
  854. 0x7a,0x87,0xa1,0xac,0x1c,0xfd,0xab,0xae,0xf7,0xd6,0xfb,0x76,
  855. 0x28,0xec,0x6d,0xca
  856. };
  857. __fips_constseg
  858. static const unsigned char sha1_additionalinput[] =
  859. {
  860. 0xfc,0x92,0x35,0xd6,0x7e,0xb7,0x24,0x65,0xfd,0x12,0x27,0x35,
  861. 0xc0,0x72,0xca,0x28
  862. };
  863. __fips_constseg
  864. static const unsigned char sha1_int_returnedbits[] =
  865. {
  866. 0x57,0x88,0x82,0xe5,0x25,0xa5,0x2c,0x4a,0x06,0x20,0x6c,0x72,
  867. 0x55,0x61,0xdd,0x90,0x71,0x9f,0x95,0xea
  868. };
  869. __fips_constseg
  870. static const unsigned char sha1_entropyinputreseed[] =
  871. {
  872. 0x69,0xa5,0x40,0x62,0x98,0x47,0x56,0x73,0x4a,0x8f,0x60,0x96,
  873. 0xd6,0x99,0x27,0xed
  874. };
  875. __fips_constseg
  876. static const unsigned char sha1_additionalinputreseed[] =
  877. {
  878. 0xe5,0x40,0x4e,0xbd,0x50,0x00,0xf5,0x15,0xa6,0xee,0x45,0xda,
  879. 0x84,0x3d,0xd4,0xc0
  880. };
  881. __fips_constseg
  882. static const unsigned char sha1_additionalinput2[] =
  883. {
  884. 0x11,0x51,0x14,0xf0,0x09,0x1b,0x4e,0x56,0x0d,0xe9,0xf6,0x1e,
  885. 0x52,0x65,0xcd,0x96
  886. };
  887. __fips_constseg
  888. static const unsigned char sha1_returnedbits[] =
  889. {
  890. 0xa1,0x9c,0x94,0x6e,0x29,0xe1,0x33,0x0d,0x32,0xd6,0xaa,0xce,
  891. 0x71,0x3f,0x52,0x72,0x8b,0x42,0xa8,0xd7
  892. };
  893. /* SHA-224 PR */
  894. __fips_constseg
  895. static const unsigned char sha224_pr_entropyinput[] =
  896. {
  897. 0x12,0x69,0x32,0x4f,0x83,0xa6,0xf5,0x14,0xe3,0x49,0x3e,0x75,
  898. 0x3e,0xde,0xad,0xa1,0x29,0xc3,0xf3,0x19,0x20,0xb5,0x4c,0xd9
  899. };
  900. __fips_constseg
  901. static const unsigned char sha224_pr_nonce[] =
  902. {
  903. 0x6a,0x78,0xd0,0xeb,0xbb,0x5a,0xf0,0xee,0xe8,0xc3,0xba,0x71
  904. };
  905. __fips_constseg
  906. static const unsigned char sha224_pr_personalizationstring[] =
  907. {
  908. 0xd5,0xb8,0xb6,0xbc,0xc1,0x5b,0x60,0x31,0x3c,0xf5,0xe5,0xc0,
  909. 0x8e,0x52,0x7a,0xbd,0xea,0x47,0xa9,0x5f,0x8f,0xf9,0x8b,0xae
  910. };
  911. __fips_constseg
  912. static const unsigned char sha224_pr_additionalinput[] =
  913. {
  914. 0x1f,0x55,0xec,0xae,0x16,0x12,0x84,0xba,0x84,0x16,0x19,0x88,
  915. 0x8e,0xb8,0x33,0x25,0x54,0xff,0xca,0x79,0xaf,0x07,0x25,0x50
  916. };
  917. __fips_constseg
  918. static const unsigned char sha224_pr_entropyinputpr[] =
  919. {
  920. 0x92,0xa3,0x32,0xa8,0x9a,0x0a,0x58,0x7c,0x1d,0x5a,0x7e,0xe1,
  921. 0xb2,0x73,0xab,0x0e,0x16,0x79,0x23,0xd3,0x29,0x89,0x81,0xe1
  922. };
  923. __fips_constseg
  924. static const unsigned char sha224_pr_int_returnedbits[] =
  925. {
  926. 0xf3,0x38,0x91,0x40,0x37,0x7a,0x51,0x72,0x42,0x74,0x78,0x0a,
  927. 0x69,0xfd,0xa6,0x44,0x43,0x45,0x6c,0x0c,0x5a,0x19,0xff,0xf1,
  928. 0x54,0x60,0xee,0x6a
  929. };
  930. __fips_constseg
  931. static const unsigned char sha224_pr_additionalinput2[] =
  932. {
  933. 0x75,0xf3,0x04,0x25,0xdd,0x36,0xa8,0x37,0x46,0xae,0x0c,0x52,
  934. 0x05,0x79,0x4c,0x26,0xdb,0xe9,0x71,0x16,0x4c,0x0a,0xf2,0x60
  935. };
  936. __fips_constseg
  937. static const unsigned char sha224_pr_entropyinputpr2[] =
  938. {
  939. 0xea,0xc5,0x03,0x0a,0x4f,0xb0,0x38,0x8d,0x23,0xd4,0xc8,0x77,
  940. 0xe2,0x6d,0x9c,0x0b,0x44,0xf7,0x2d,0x5b,0xbf,0x5d,0x2a,0x11
  941. };
  942. __fips_constseg
  943. static const unsigned char sha224_pr_returnedbits[] =
  944. {
  945. 0x60,0x50,0x2b,0xe7,0x86,0xd8,0x26,0x73,0xe3,0x1d,0x95,0x20,
  946. 0xb3,0x2c,0x32,0x1c,0xf5,0xce,0x57,0xa6,0x67,0x2b,0xdc,0x4e,
  947. 0xdd,0x11,0x4c,0xc4
  948. };
  949. /* SHA-224 No PR */
  950. __fips_constseg
  951. static const unsigned char sha224_entropyinput[] =
  952. {
  953. 0xb2,0x1c,0x77,0x4d,0xf6,0xd3,0xb6,0x40,0xb7,0x30,0x3e,0x29,
  954. 0xb0,0x85,0x1c,0xbe,0x4a,0xea,0x6b,0x5a,0xb5,0x8a,0x97,0xeb
  955. };
  956. __fips_constseg
  957. static const unsigned char sha224_nonce[] =
  958. {
  959. 0x42,0x02,0x0a,0x1c,0x98,0x9a,0x77,0x9e,0x9f,0x80,0xba,0xe0
  960. };
  961. __fips_constseg
  962. static const unsigned char sha224_personalizationstring[] =
  963. {
  964. 0x98,0xb8,0x04,0x41,0xfc,0xc1,0x5d,0xc5,0xe9,0xb9,0x08,0xda,
  965. 0xf9,0xfa,0x0d,0x90,0xce,0xdf,0x1d,0x10,0xa9,0x8d,0x50,0x0c
  966. };
  967. __fips_constseg
  968. static const unsigned char sha224_additionalinput[] =
  969. {
  970. 0x9a,0x8d,0x39,0x49,0x42,0xd5,0x0b,0xae,0xe1,0xaf,0xb7,0x00,
  971. 0x02,0xfa,0x96,0xb1,0xa5,0x1d,0x2d,0x25,0x78,0xee,0x83,0x3f
  972. };
  973. __fips_constseg
  974. static const unsigned char sha224_int_returnedbits[] =
  975. {
  976. 0xe4,0xf5,0x53,0x79,0x5a,0x97,0x58,0x06,0x08,0xba,0x7b,0xfa,
  977. 0xf0,0x83,0x05,0x8c,0x22,0xc0,0xc9,0xdb,0x15,0xe7,0xde,0x20,
  978. 0x55,0x22,0x9a,0xad
  979. };
  980. __fips_constseg
  981. static const unsigned char sha224_entropyinputreseed[] =
  982. {
  983. 0x67,0x09,0x48,0xaa,0x07,0x16,0x99,0x89,0x7f,0x6d,0xa0,0xe5,
  984. 0x8f,0xdf,0xbc,0xdb,0xfe,0xe5,0x6c,0x7a,0x95,0x4a,0x66,0x17
  985. };
  986. __fips_constseg
  987. static const unsigned char sha224_additionalinputreseed[] =
  988. {
  989. 0x0f,0x4b,0x1c,0x6f,0xb7,0xe3,0x47,0xe5,0x5d,0x7d,0x38,0xd6,
  990. 0x28,0x9b,0xeb,0x55,0x63,0x09,0x3e,0x7c,0x56,0xea,0xf8,0x19
  991. };
  992. __fips_constseg
  993. static const unsigned char sha224_additionalinput2[] =
  994. {
  995. 0x2d,0x26,0x7c,0x37,0xe4,0x7a,0x28,0x5e,0x5a,0x3c,0xaf,0x3d,
  996. 0x5a,0x8e,0x55,0xa2,0x1a,0x6e,0xc0,0xe5,0xf6,0x21,0xd3,0xf6
  997. };
  998. __fips_constseg
  999. static const unsigned char sha224_returnedbits[] =
  1000. {
  1001. 0x4d,0x83,0x35,0xdf,0x67,0xa9,0xfc,0x17,0xda,0x70,0xcc,0x8b,
  1002. 0x7f,0x77,0xae,0xa2,0x5f,0xb9,0x7e,0x74,0x4c,0x26,0xc1,0x7a,
  1003. 0x3b,0xa7,0x5c,0x93
  1004. };
  1005. /* SHA-256 PR */
  1006. __fips_constseg
  1007. static const unsigned char sha256_pr_entropyinput[] =
  1008. {
  1009. 0xce,0x49,0x00,0x7a,0x56,0xe3,0x67,0x8f,0xe1,0xb6,0xa7,0xd4,
  1010. 0x4f,0x08,0x7a,0x1b,0x01,0xf4,0xfa,0x6b,0xef,0xb7,0xe5,0xeb,
  1011. 0x07,0x3d,0x11,0x0d,0xc8,0xea,0x2b,0xfe
  1012. };
  1013. __fips_constseg
  1014. static const unsigned char sha256_pr_nonce[] =
  1015. {
  1016. 0x73,0x41,0xc8,0x92,0x94,0xe2,0xc5,0x5f,0x93,0xfd,0x39,0x5d,
  1017. 0x2b,0x91,0x4d,0x38
  1018. };
  1019. __fips_constseg
  1020. static const unsigned char sha256_pr_personalizationstring[] =
  1021. {
  1022. 0x50,0x6d,0x01,0x01,0x07,0x5a,0x80,0x35,0x7a,0x56,0x1a,0x56,
  1023. 0x2f,0x9a,0x0b,0x35,0xb2,0xb1,0xc9,0xe5,0xca,0x69,0x61,0x48,
  1024. 0xff,0xfb,0x0f,0xd9,0x4b,0x79,0x1d,0xba
  1025. };
  1026. __fips_constseg
  1027. static const unsigned char sha256_pr_additionalinput[] =
  1028. {
  1029. 0x20,0xb8,0xdf,0x44,0x77,0x5a,0xb8,0xd3,0xbf,0xf6,0xcf,0xac,
  1030. 0x5e,0xa6,0x96,0x62,0x73,0x44,0x40,0x4a,0x30,0xfb,0x38,0xa5,
  1031. 0x7b,0x0d,0xe4,0x0d,0xc6,0xe4,0x9a,0x1f
  1032. };
  1033. __fips_constseg
  1034. static const unsigned char sha256_pr_entropyinputpr[] =
  1035. {
  1036. 0x04,0xc4,0x65,0xf4,0xd3,0xbf,0x83,0x4b,0xab,0xc8,0x41,0xa8,
  1037. 0xc2,0xe0,0x44,0x63,0x77,0x4c,0x6f,0x6c,0x49,0x46,0xff,0x94,
  1038. 0x17,0xea,0xe6,0x1a,0x9d,0x5e,0x66,0x78
  1039. };
  1040. __fips_constseg
  1041. static const unsigned char sha256_pr_int_returnedbits[] =
  1042. {
  1043. 0x07,0x4d,0xac,0x9b,0x86,0xca,0x4a,0xaa,0x6e,0x7a,0x03,0xa2,
  1044. 0x5d,0x10,0xea,0x0b,0xf9,0x83,0xcc,0xd1,0xfc,0xe2,0x07,0xc7,
  1045. 0x06,0x34,0x60,0x6f,0x83,0x94,0x99,0x76
  1046. };
  1047. __fips_constseg
  1048. static const unsigned char sha256_pr_additionalinput2[] =
  1049. {
  1050. 0x89,0x4e,0x45,0x8c,0x11,0xf9,0xbc,0x5b,0xac,0x74,0x8b,0x4b,
  1051. 0x5f,0xf7,0x19,0xf3,0xf5,0x24,0x54,0x14,0xd1,0x15,0xb1,0x43,
  1052. 0x12,0xa4,0x5f,0xd4,0xec,0xfc,0xcd,0x09
  1053. };
  1054. __fips_constseg
  1055. static const unsigned char sha256_pr_entropyinputpr2[] =
  1056. {
  1057. 0x0e,0xeb,0x1f,0xd7,0xfc,0xd1,0x9d,0xd4,0x05,0x36,0x8b,0xb2,
  1058. 0xfb,0xe4,0xf4,0x51,0x0c,0x87,0x9b,0x02,0x44,0xd5,0x92,0x4d,
  1059. 0x44,0xfe,0x1a,0x03,0x43,0x56,0xbd,0x86
  1060. };
  1061. __fips_constseg
  1062. static const unsigned char sha256_pr_returnedbits[] =
  1063. {
  1064. 0x02,0xaa,0xb6,0x1d,0x7e,0x2a,0x40,0x03,0x69,0x2d,0x49,0xa3,
  1065. 0x41,0xe7,0x44,0x0b,0xaf,0x7b,0x85,0xe4,0x5f,0x53,0x3b,0x64,
  1066. 0xbc,0x89,0xc8,0x82,0xd4,0x78,0x37,0xa2
  1067. };
  1068. /* SHA-256 No PR */
  1069. __fips_constseg
  1070. static const unsigned char sha256_entropyinput[] =
  1071. {
  1072. 0x5b,0x1b,0xec,0x4d,0xa9,0x38,0x74,0x5a,0x34,0x0b,0x7b,0xc5,
  1073. 0xe5,0xd7,0x66,0x7c,0xbc,0x82,0xb9,0x0e,0x2d,0x1f,0x92,0xd7,
  1074. 0xc1,0xbc,0x67,0x69,0xec,0x6b,0x03,0x3c
  1075. };
  1076. __fips_constseg
  1077. static const unsigned char sha256_nonce[] =
  1078. {
  1079. 0xa4,0x0c,0xd8,0x9c,0x61,0xd8,0xc3,0x54,0xfe,0x53,0xc9,0xe5,
  1080. 0x5d,0x6f,0x6d,0x35
  1081. };
  1082. __fips_constseg
  1083. static const unsigned char sha256_personalizationstring[] =
  1084. {
  1085. 0x22,0x5e,0x62,0x93,0x42,0x83,0x78,0x24,0xd8,0x40,0x8c,0xde,
  1086. 0x6f,0xf9,0xa4,0x7a,0xc5,0xa7,0x3b,0x88,0xa3,0xee,0x42,0x20,
  1087. 0xfd,0x61,0x56,0xc6,0x4c,0x13,0x41,0x9c
  1088. };
  1089. __fips_constseg
  1090. static const unsigned char sha256_additionalinput[] =
  1091. {
  1092. 0xbf,0x74,0x5b,0xf6,0xc5,0x64,0x5e,0x99,0x34,0x8f,0xbc,0xa4,
  1093. 0xe2,0xbd,0xd8,0x85,0x26,0x37,0xea,0xba,0x4f,0xf2,0x9a,0x9a,
  1094. 0x66,0xfc,0xdf,0x63,0x26,0x26,0x19,0x87
  1095. };
  1096. __fips_constseg
  1097. static const unsigned char sha256_int_returnedbits[] =
  1098. {
  1099. 0xb3,0xc6,0x07,0x07,0xd6,0x75,0xf6,0x2b,0xd6,0x21,0x96,0xf1,
  1100. 0xae,0xdb,0x2b,0xac,0x25,0x2a,0xae,0xae,0x41,0x72,0x03,0x5e,
  1101. 0xbf,0xd3,0x64,0xbc,0x59,0xf9,0xc0,0x76
  1102. };
  1103. __fips_constseg
  1104. static const unsigned char sha256_entropyinputreseed[] =
  1105. {
  1106. 0xbf,0x20,0x33,0x56,0x29,0xa8,0x37,0x04,0x1f,0x78,0x34,0x3d,
  1107. 0x81,0x2a,0xc9,0x86,0xc6,0x7a,0x2f,0x88,0x5e,0xd5,0xbe,0x34,
  1108. 0x46,0x20,0xa4,0x35,0xeb,0xc7,0xe2,0x9d
  1109. };
  1110. __fips_constseg
  1111. static const unsigned char sha256_additionalinputreseed[] =
  1112. {
  1113. 0x9b,0xae,0x2d,0x2d,0x61,0xa4,0x89,0xeb,0x43,0x46,0xa7,0xda,
  1114. 0xef,0x40,0xca,0x4a,0x99,0x11,0x41,0xdc,0x5c,0x94,0xe9,0xac,
  1115. 0xd4,0xd0,0xe6,0xbd,0xfb,0x03,0x9c,0xa8
  1116. };
  1117. __fips_constseg
  1118. static const unsigned char sha256_additionalinput2[] =
  1119. {
  1120. 0x23,0xaa,0x0c,0xbd,0x28,0x33,0xe2,0x51,0xfc,0x71,0xd2,0x15,
  1121. 0x1f,0x76,0xfd,0x0d,0xe0,0xb7,0xb5,0x84,0x75,0x5b,0xbe,0xf3,
  1122. 0x5c,0xca,0xc5,0x30,0xf2,0x75,0x1f,0xda
  1123. };
  1124. __fips_constseg
  1125. static const unsigned char sha256_returnedbits[] =
  1126. {
  1127. 0x90,0x3c,0xc1,0x10,0x8c,0x12,0x01,0xc6,0xa6,0x3a,0x0f,0x4d,
  1128. 0xb6,0x3a,0x4f,0x41,0x9c,0x61,0x75,0x84,0xe9,0x74,0x75,0xfd,
  1129. 0xfe,0xf2,0x1f,0x43,0xd8,0x5e,0x24,0xa3
  1130. };
  1131. /* SHA-384 PR */
  1132. __fips_constseg
  1133. static const unsigned char sha384_pr_entropyinput[] =
  1134. {
  1135. 0x71,0x9d,0xb2,0x5a,0x71,0x6d,0x04,0xe9,0x1e,0xc7,0x92,0x24,
  1136. 0x6e,0x12,0x33,0xa9,0x52,0x64,0x31,0xef,0x71,0xeb,0x22,0x55,
  1137. 0x28,0x97,0x06,0x6a,0xc0,0x0c,0xa0,0x7e
  1138. };
  1139. __fips_constseg
  1140. static const unsigned char sha384_pr_nonce[] =
  1141. {
  1142. 0xf5,0x0d,0xfa,0xb0,0xec,0x6a,0x7c,0xd6,0xbd,0x9b,0x05,0xfd,
  1143. 0x38,0x3e,0x2e,0x56
  1144. };
  1145. __fips_constseg
  1146. static const unsigned char sha384_pr_personalizationstring[] =
  1147. {
  1148. 0x74,0xac,0x7e,0x6d,0xb1,0xa4,0xe7,0x21,0xd1,0x1e,0x6e,0x96,
  1149. 0x6d,0x4d,0x53,0x46,0x82,0x96,0x6e,0xcf,0xaa,0x81,0x8d,0x7d,
  1150. 0x9e,0xe1,0x0f,0x15,0xea,0x41,0xbf,0xe3
  1151. };
  1152. __fips_constseg
  1153. static const unsigned char sha384_pr_additionalinput[] =
  1154. {
  1155. 0xda,0x95,0xd4,0xd0,0xb8,0x11,0xd3,0x49,0x27,0x5d,0xa9,0x39,
  1156. 0x68,0xf3,0xa8,0xe9,0x5d,0x19,0x8a,0x2b,0x66,0xe8,0x69,0x06,
  1157. 0x7c,0x9e,0x03,0xa1,0x8b,0x26,0x2d,0x6e
  1158. };
  1159. __fips_constseg
  1160. static const unsigned char sha384_pr_entropyinputpr[] =
  1161. {
  1162. 0x49,0xdf,0x44,0x00,0xe4,0x1c,0x75,0x0b,0x26,0x5a,0x59,0x64,
  1163. 0x1f,0x4e,0xb1,0xb2,0x13,0xf1,0x22,0x4e,0xb4,0x6d,0x9a,0xcc,
  1164. 0xa0,0x48,0xe6,0xcf,0x1d,0xd1,0x92,0x0d
  1165. };
  1166. __fips_constseg
  1167. static const unsigned char sha384_pr_int_returnedbits[] =
  1168. {
  1169. 0xc8,0x52,0xae,0xbf,0x04,0x3c,0x27,0xb7,0x78,0x18,0xaa,0x8f,
  1170. 0xff,0xcf,0xa4,0xf1,0xcc,0xe7,0x68,0xfa,0x22,0xa2,0x13,0x45,
  1171. 0xe8,0xdd,0x87,0xe6,0xf2,0x6e,0xdd,0xc7,0x52,0x90,0x9f,0x7b,
  1172. 0xfa,0x61,0x2d,0x9d,0x9e,0xcf,0x98,0xac,0x52,0x40,0xce,0xaf
  1173. };
  1174. __fips_constseg
  1175. static const unsigned char sha384_pr_additionalinput2[] =
  1176. {
  1177. 0x61,0x7c,0x03,0x9a,0x3e,0x50,0x57,0x60,0xc5,0x83,0xc9,0xb2,
  1178. 0xd1,0x87,0x85,0x66,0x92,0x5d,0x84,0x0e,0x53,0xfb,0x70,0x03,
  1179. 0x72,0xfd,0xba,0xae,0x9c,0x8f,0xf8,0x18
  1180. };
  1181. __fips_constseg
  1182. static const unsigned char sha384_pr_entropyinputpr2[] =
  1183. {
  1184. 0xf8,0xeb,0x89,0xb1,0x8d,0x78,0xbe,0x21,0xe0,0xbb,0x9d,0xb7,
  1185. 0x95,0x0e,0xd9,0x46,0x0c,0x8c,0xe2,0x63,0xb7,0x9d,0x67,0x90,
  1186. 0xbd,0xc7,0x0b,0xa5,0xce,0xb2,0x65,0x81
  1187. };
  1188. __fips_constseg
  1189. static const unsigned char sha384_pr_returnedbits[] =
  1190. {
  1191. 0xe6,0x9f,0xfe,0x68,0xd6,0xb5,0x79,0xf1,0x06,0x5f,0xa3,0xbb,
  1192. 0x23,0x85,0xd8,0xf0,0x29,0x5a,0x68,0x9e,0xf5,0xf4,0xa6,0x12,
  1193. 0xe0,0x9a,0xe2,0xac,0x00,0x1d,0x98,0x26,0xfc,0x53,0x95,0x53,
  1194. 0xe4,0x3e,0x17,0xd5,0x08,0x0b,0x70,0x3d,0x67,0x99,0xac,0x66
  1195. };
  1196. /* SHA-384 No PR */
  1197. __fips_constseg
  1198. static const unsigned char sha384_entropyinput[] =
  1199. {
  1200. 0x07,0x15,0x27,0x2a,0xaf,0x74,0x24,0x37,0xbc,0xd5,0x14,0x69,
  1201. 0xce,0x11,0xff,0xa2,0x6b,0xb8,0x05,0x67,0x34,0xf8,0xbd,0x6d,
  1202. 0x6a,0xcc,0xcd,0x60,0xa3,0x68,0xca,0xf4
  1203. };
  1204. __fips_constseg
  1205. static const unsigned char sha384_nonce[] =
  1206. {
  1207. 0x70,0x17,0xc2,0x5b,0x5d,0x22,0x0b,0x06,0x15,0x54,0x78,0x77,
  1208. 0x44,0xaf,0x2f,0x09
  1209. };
  1210. __fips_constseg
  1211. static const unsigned char sha384_personalizationstring[] =
  1212. {
  1213. 0x89,0x39,0x28,0xb0,0x60,0xeb,0x3d,0xdc,0x55,0x75,0x86,0xeb,
  1214. 0xae,0xa2,0x8f,0xbc,0x1b,0x75,0xd4,0xe1,0x0f,0xaa,0x38,0xca,
  1215. 0x62,0x8b,0xcb,0x2c,0x26,0xf6,0xbc,0xb1
  1216. };
  1217. __fips_constseg
  1218. static const unsigned char sha384_additionalinput[] =
  1219. {
  1220. 0x30,0x2b,0x42,0x35,0xef,0xda,0x40,0x55,0x28,0xc6,0x95,0xfb,
  1221. 0x54,0x01,0x62,0xd7,0x87,0x14,0x48,0x6d,0x90,0x4c,0xa9,0x02,
  1222. 0x54,0x40,0x22,0xc8,0x66,0xa5,0x48,0x48
  1223. };
  1224. __fips_constseg
  1225. static const unsigned char sha384_int_returnedbits[] =
  1226. {
  1227. 0x82,0xc4,0xa1,0x9c,0x21,0xd2,0xe7,0xa5,0xa6,0xf6,0x5f,0x04,
  1228. 0x5c,0xc7,0x31,0x9d,0x8d,0x59,0x74,0x50,0x19,0x89,0x2f,0x63,
  1229. 0xd5,0xb7,0x7e,0xeb,0x15,0xe3,0x70,0x83,0xa1,0x24,0x59,0xfa,
  1230. 0x2c,0x56,0xf6,0x88,0x3a,0x92,0x93,0xa1,0xfb,0x79,0xc1,0x7a
  1231. };
  1232. __fips_constseg
  1233. static const unsigned char sha384_entropyinputreseed[] =
  1234. {
  1235. 0x39,0xa6,0xe8,0x5c,0x82,0x17,0x71,0x26,0x57,0x4f,0x9f,0xc2,
  1236. 0x55,0xff,0x5c,0x9b,0x53,0x1a,0xd1,0x5f,0xbc,0x62,0xe4,0x27,
  1237. 0x2d,0x32,0xf0,0xe4,0x52,0x8c,0xc5,0x0c
  1238. };
  1239. __fips_constseg
  1240. static const unsigned char sha384_additionalinputreseed[] =
  1241. {
  1242. 0x8d,0xcb,0x8d,0xce,0x08,0xea,0x80,0xe8,0x9b,0x61,0xa8,0x0f,
  1243. 0xaf,0x49,0x20,0x9e,0x74,0xcb,0x57,0x80,0x42,0xb0,0x84,0x5e,
  1244. 0x30,0x2a,0x67,0x08,0xf4,0xe3,0x40,0x22
  1245. };
  1246. __fips_constseg
  1247. static const unsigned char sha384_additionalinput2[] =
  1248. {
  1249. 0x7c,0x8f,0xc2,0xae,0x22,0x4a,0xd6,0xf6,0x05,0xa4,0x7a,0xea,
  1250. 0xbb,0x25,0xd0,0xb7,0x5a,0xd6,0xcf,0x9d,0xf3,0x6c,0xe2,0xb2,
  1251. 0x4e,0xb4,0xbd,0xf4,0xe5,0x40,0x80,0x94
  1252. };
  1253. __fips_constseg
  1254. static const unsigned char sha384_returnedbits[] =
  1255. {
  1256. 0x9e,0x7e,0xfb,0x59,0xbb,0xaa,0x3c,0xf7,0xe1,0xf8,0x76,0xdd,
  1257. 0x63,0x5f,0xaf,0x23,0xd6,0x64,0x61,0xc0,0x9a,0x09,0x47,0xc9,
  1258. 0x33,0xdf,0x6d,0x55,0x91,0x34,0x79,0x70,0xc4,0x99,0x6e,0x54,
  1259. 0x09,0x64,0x21,0x1a,0xbd,0x1e,0x80,0x40,0x34,0xad,0xfa,0xd7
  1260. };
  1261. /* SHA-512 PR */
  1262. __fips_constseg
  1263. static const unsigned char sha512_pr_entropyinput[] =
  1264. {
  1265. 0x13,0xf7,0x61,0x75,0x65,0x28,0xa2,0x59,0x13,0x5a,0x4a,0x4f,
  1266. 0x56,0x60,0x8c,0x53,0x7d,0xb0,0xbd,0x06,0x4f,0xed,0xcc,0xd2,
  1267. 0xa2,0xb5,0xfd,0x5b,0x3a,0xab,0xec,0x28
  1268. };
  1269. __fips_constseg
  1270. static const unsigned char sha512_pr_nonce[] =
  1271. {
  1272. 0xbe,0xa3,0x91,0x93,0x1d,0xc3,0x31,0x3a,0x23,0x33,0x50,0x67,
  1273. 0x88,0xc7,0xa2,0xc4
  1274. };
  1275. __fips_constseg
  1276. static const unsigned char sha512_pr_personalizationstring[] =
  1277. {
  1278. 0x1f,0x59,0x4d,0x7b,0xe6,0x46,0x91,0x48,0xc1,0x25,0xfa,0xff,
  1279. 0x89,0x12,0x77,0x35,0xdf,0x3e,0xf4,0x80,0x5f,0xd9,0xb0,0x07,
  1280. 0x22,0x41,0xdd,0x48,0x78,0x6b,0x77,0x2b
  1281. };
  1282. __fips_constseg
  1283. static const unsigned char sha512_pr_additionalinput[] =
  1284. {
  1285. 0x30,0xff,0x63,0x6f,0xac,0xd9,0x84,0x39,0x6f,0xe4,0x99,0xce,
  1286. 0x91,0x7d,0x7e,0xc8,0x58,0xf2,0x12,0xc3,0xb6,0xad,0xda,0x22,
  1287. 0x04,0xa0,0xd2,0x21,0xfe,0xf2,0x95,0x1d
  1288. };
  1289. __fips_constseg
  1290. static const unsigned char sha512_pr_entropyinputpr[] =
  1291. {
  1292. 0x64,0x54,0x13,0xec,0x4f,0x77,0xda,0xb2,0x92,0x2e,0x52,0x80,
  1293. 0x11,0x10,0xc2,0xf8,0xe6,0xa7,0xcd,0x4b,0xfc,0x32,0x2e,0x9e,
  1294. 0xeb,0xbb,0xb1,0xbf,0x15,0x5c,0x73,0x08
  1295. };
  1296. __fips_constseg
  1297. static const unsigned char sha512_pr_int_returnedbits[] =
  1298. {
  1299. 0xef,0x1e,0xdc,0x0a,0xa4,0x36,0x91,0x9c,0x3d,0x27,0x97,0x50,
  1300. 0x8d,0x36,0x29,0x8d,0xce,0x6a,0x0c,0xf7,0x21,0xc0,0x91,0xae,
  1301. 0x0c,0x96,0x72,0xbd,0x52,0x81,0x58,0xfc,0x6d,0xe5,0xf7,0xa5,
  1302. 0xfd,0x5d,0xa7,0x58,0x68,0xc8,0x99,0x58,0x8e,0xc8,0xce,0x95,
  1303. 0x01,0x7d,0xff,0xa4,0xc8,0xf7,0x63,0xfe,0x5f,0x69,0x83,0x53,
  1304. 0xe2,0xc6,0x8b,0xc3
  1305. };
  1306. __fips_constseg
  1307. static const unsigned char sha512_pr_additionalinput2[] =
  1308. {
  1309. 0xe6,0x9b,0xc4,0x88,0x34,0xca,0xea,0x29,0x2f,0x98,0x05,0xa4,
  1310. 0xd3,0xc0,0x7b,0x11,0xe8,0xbb,0x75,0xf2,0xbd,0x29,0xb7,0x40,
  1311. 0x25,0x7f,0xc1,0xb7,0xb1,0xf1,0x25,0x61
  1312. };
  1313. __fips_constseg
  1314. static const unsigned char sha512_pr_entropyinputpr2[] =
  1315. {
  1316. 0x23,0x6d,0xff,0xde,0xfb,0xd1,0xba,0x33,0x18,0xe6,0xbe,0xb5,
  1317. 0x48,0x77,0x6d,0x7f,0xa7,0xe1,0x4d,0x48,0x1e,0x3c,0xa7,0x34,
  1318. 0x1a,0xc8,0x60,0xdb,0x8f,0x99,0x15,0x99
  1319. };
  1320. __fips_constseg
  1321. static const unsigned char sha512_pr_returnedbits[] =
  1322. {
  1323. 0x70,0x27,0x31,0xdb,0x92,0x70,0x21,0xfe,0x16,0xb6,0xc8,0x51,
  1324. 0x34,0x87,0x65,0xd0,0x4e,0xfd,0xfe,0x68,0xec,0xac,0xdc,0x93,
  1325. 0x41,0x38,0x92,0x90,0xb4,0x94,0xf9,0x0d,0xa4,0xf7,0x4e,0x80,
  1326. 0x92,0x67,0x48,0x40,0xa7,0x08,0xc7,0xbc,0x66,0x00,0xfd,0xf7,
  1327. 0x4c,0x8b,0x17,0x6e,0xd1,0x8f,0x9b,0xf3,0x6f,0xf6,0x34,0xdd,
  1328. 0x67,0xf7,0x68,0xdd
  1329. };
  1330. /* SHA-512 No PR */
  1331. __fips_constseg
  1332. static const unsigned char sha512_entropyinput[] =
  1333. {
  1334. 0xb6,0x0b,0xb7,0xbc,0x84,0x56,0xf6,0x12,0xaf,0x45,0x67,0x17,
  1335. 0x7c,0xd1,0xb2,0x78,0x2b,0xa0,0xf2,0xbe,0xb6,0x6d,0x8b,0x56,
  1336. 0xc6,0xbc,0x4d,0xe1,0xf7,0xbe,0xce,0xbd
  1337. };
  1338. __fips_constseg
  1339. static const unsigned char sha512_nonce[] =
  1340. {
  1341. 0x9d,0xed,0xc0,0xe5,0x5a,0x98,0x6a,0xcb,0x51,0x7d,0x76,0x31,
  1342. 0x5a,0x64,0xf0,0xf7
  1343. };
  1344. __fips_constseg
  1345. static const unsigned char sha512_personalizationstring[] =
  1346. {
  1347. 0xc2,0x6d,0xa3,0xc3,0x06,0x74,0xe5,0x01,0x5c,0x10,0x17,0xc7,
  1348. 0xaf,0x83,0x9d,0x59,0x8d,0x2d,0x29,0x38,0xc5,0x59,0x70,0x8b,
  1349. 0x46,0x48,0x2d,0xcf,0x36,0x7d,0x59,0xc0
  1350. };
  1351. __fips_constseg
  1352. static const unsigned char sha512_additionalinput[] =
  1353. {
  1354. 0xec,0x8c,0xd4,0xf7,0x61,0x6e,0x0d,0x95,0x79,0xb7,0x28,0xad,
  1355. 0x5f,0x69,0x74,0x5f,0x2d,0x36,0x06,0x8a,0x6b,0xac,0x54,0x97,
  1356. 0xc4,0xa1,0x12,0x85,0x0a,0xdf,0x4b,0x34
  1357. };
  1358. __fips_constseg
  1359. static const unsigned char sha512_int_returnedbits[] =
  1360. {
  1361. 0x84,0x2f,0x1f,0x68,0x6a,0xa3,0xad,0x1e,0xfb,0xf4,0x15,0xbd,
  1362. 0xde,0x38,0xd4,0x30,0x80,0x51,0xe9,0xd3,0xc7,0x20,0x88,0xe9,
  1363. 0xf5,0xcc,0xdf,0x57,0x5c,0x47,0x2f,0x57,0x3c,0x5f,0x13,0x56,
  1364. 0xcc,0xc5,0x4f,0x84,0xf8,0x10,0x41,0xd5,0x7e,0x58,0x6e,0x19,
  1365. 0x19,0x9e,0xaf,0xc2,0x22,0x58,0x41,0x50,0x79,0xc2,0xd8,0x04,
  1366. 0x28,0xd4,0x39,0x9a
  1367. };
  1368. __fips_constseg
  1369. static const unsigned char sha512_entropyinputreseed[] =
  1370. {
  1371. 0xfa,0x7f,0x46,0x51,0x83,0x62,0x98,0x16,0x9a,0x19,0xa2,0x49,
  1372. 0xa9,0xe6,0x4a,0xd8,0x85,0xe7,0xd4,0x3b,0x2c,0x82,0xc5,0x82,
  1373. 0xbf,0x11,0xf9,0x9e,0xbc,0xd0,0x01,0xee
  1374. };
  1375. __fips_constseg
  1376. static const unsigned char sha512_additionalinputreseed[] =
  1377. {
  1378. 0xb9,0x12,0xe0,0x4f,0xf7,0xa7,0xc4,0xd8,0xd0,0x8e,0x99,0x29,
  1379. 0x7c,0x9a,0xe9,0xcf,0xc4,0x6c,0xf8,0xc3,0xa7,0x41,0x83,0xd6,
  1380. 0x2e,0xfa,0xb8,0x5e,0x8e,0x6b,0x78,0x20
  1381. };
  1382. __fips_constseg
  1383. static const unsigned char sha512_additionalinput2[] =
  1384. {
  1385. 0xd7,0x07,0x52,0xb9,0x83,0x2c,0x03,0x71,0xee,0xc9,0xc0,0x85,
  1386. 0xe1,0x57,0xb2,0xcd,0x3a,0xf0,0xc9,0x34,0x24,0x41,0x1c,0x42,
  1387. 0x99,0xb2,0x84,0xe9,0x17,0xd2,0x76,0x92
  1388. };
  1389. __fips_constseg
  1390. static const unsigned char sha512_returnedbits[] =
  1391. {
  1392. 0x36,0x17,0x5d,0x98,0x2b,0x65,0x25,0x8e,0xc8,0x29,0xdf,0x27,
  1393. 0x05,0x36,0x26,0x12,0x8a,0x68,0x74,0x27,0x37,0xd4,0x7f,0x32,
  1394. 0xb1,0x12,0xd6,0x85,0x83,0xeb,0x2e,0xa0,0xed,0x4b,0xb5,0x7b,
  1395. 0x6f,0x39,0x3c,0x71,0x77,0x02,0x12,0xcc,0x2c,0x3a,0x8e,0x63,
  1396. 0xdf,0x4a,0xbd,0x6f,0x6e,0x2e,0xed,0x0a,0x85,0xa5,0x2f,0xa2,
  1397. 0x68,0xde,0x42,0xb5
  1398. };
  1399. /* HMAC SHA-1 PR */
  1400. __fips_constseg
  1401. static const unsigned char hmac_sha1_pr_entropyinput[] =
  1402. {
  1403. 0x26,0x5f,0x36,0x14,0xff,0x3d,0x83,0xfa,0x73,0x5e,0x75,0xdc,
  1404. 0x2c,0x18,0x17,0x1b
  1405. };
  1406. __fips_constseg
  1407. static const unsigned char hmac_sha1_pr_nonce[] =
  1408. {
  1409. 0xc8,0xe3,0x57,0xa5,0x7b,0x74,0x86,0x6e
  1410. };
  1411. __fips_constseg
  1412. static const unsigned char hmac_sha1_pr_personalizationstring[] =
  1413. {
  1414. 0x6e,0xdb,0x0d,0xfe,0x7d,0xac,0x79,0xd0,0xa5,0x3a,0x48,0x85,
  1415. 0x80,0xe2,0x7f,0x2a
  1416. };
  1417. __fips_constseg
  1418. static const unsigned char hmac_sha1_pr_additionalinput[] =
  1419. {
  1420. 0x31,0xcd,0x5e,0x43,0xdc,0xfb,0x7a,0x79,0xca,0x88,0xde,0x1f,
  1421. 0xd7,0xbb,0x42,0x09
  1422. };
  1423. __fips_constseg
  1424. static const unsigned char hmac_sha1_pr_entropyinputpr[] =
  1425. {
  1426. 0x7c,0x23,0x95,0x38,0x00,0x95,0xc1,0x78,0x1f,0x8f,0xd7,0x63,
  1427. 0x23,0x87,0x2a,0xed
  1428. };
  1429. __fips_constseg
  1430. static const unsigned char hmac_sha1_pr_int_returnedbits[] =
  1431. {
  1432. 0xbb,0x34,0xe7,0x93,0xa3,0x02,0x2c,0x4a,0xd0,0x89,0xda,0x7f,
  1433. 0xed,0xf4,0x4c,0xde,0x17,0xec,0xe5,0x6c
  1434. };
  1435. __fips_constseg
  1436. static const unsigned char hmac_sha1_pr_additionalinput2[] =
  1437. {
  1438. 0x49,0xbc,0x2d,0x2c,0xb7,0x32,0xcb,0x20,0xdf,0xf5,0x77,0x58,
  1439. 0xa0,0x4b,0x93,0x6e
  1440. };
  1441. __fips_constseg
  1442. static const unsigned char hmac_sha1_pr_entropyinputpr2[] =
  1443. {
  1444. 0x3c,0xaa,0xb0,0x21,0x42,0xb0,0xdd,0x34,0xf0,0x16,0x7f,0x0c,
  1445. 0x0f,0xff,0x2e,0xaf
  1446. };
  1447. __fips_constseg
  1448. static const unsigned char hmac_sha1_pr_returnedbits[] =
  1449. {
  1450. 0x8e,0xcb,0xa3,0x64,0xb2,0xb8,0x33,0x6c,0x64,0x3b,0x78,0x16,
  1451. 0x99,0x35,0xc8,0x30,0xcb,0x3e,0xa0,0xd8
  1452. };
  1453. /* HMAC SHA-1 No PR */
  1454. __fips_constseg
  1455. static const unsigned char hmac_sha1_entropyinput[] =
  1456. {
  1457. 0x32,0x9a,0x2a,0x87,0x7b,0x89,0x7c,0xf6,0xcb,0x95,0xd5,0x40,
  1458. 0x17,0xfe,0x47,0x70
  1459. };
  1460. __fips_constseg
  1461. static const unsigned char hmac_sha1_nonce[] =
  1462. {
  1463. 0x16,0xd8,0xe0,0xc7,0x52,0xcf,0x4a,0x25
  1464. };
  1465. __fips_constseg
  1466. static const unsigned char hmac_sha1_personalizationstring[] =
  1467. {
  1468. 0x35,0x35,0xa9,0xa5,0x40,0xbe,0x9b,0xd1,0x56,0xdd,0x44,0x00,
  1469. 0x72,0xf7,0xd3,0x5e
  1470. };
  1471. __fips_constseg
  1472. static const unsigned char hmac_sha1_additionalinput[] =
  1473. {
  1474. 0x1b,0x2c,0x84,0x2d,0x4a,0x89,0x8f,0x69,0x19,0xf1,0xf3,0xdb,
  1475. 0xbb,0xe3,0xaa,0xea
  1476. };
  1477. __fips_constseg
  1478. static const unsigned char hmac_sha1_int_returnedbits[] =
  1479. {
  1480. 0xcf,0xfa,0x7d,0x72,0x0f,0xe6,0xc7,0x96,0xa0,0x69,0x31,0x11,
  1481. 0x9b,0x0b,0x1a,0x20,0x1f,0x3f,0xaa,0xd1
  1482. };
  1483. __fips_constseg
  1484. static const unsigned char hmac_sha1_entropyinputreseed[] =
  1485. {
  1486. 0x90,0x75,0x15,0x04,0x95,0xf1,0xba,0x81,0x0c,0x37,0x94,0x6f,
  1487. 0x86,0x52,0x6d,0x9c
  1488. };
  1489. __fips_constseg
  1490. static const unsigned char hmac_sha1_additionalinputreseed[] =
  1491. {
  1492. 0x5b,0x40,0xba,0x5f,0x17,0x70,0xf0,0x4b,0xdf,0xc9,0x97,0x92,
  1493. 0x79,0xc5,0x82,0x28
  1494. };
  1495. __fips_constseg
  1496. static const unsigned char hmac_sha1_additionalinput2[] =
  1497. {
  1498. 0x97,0xc8,0x80,0x90,0xb3,0xaa,0x6e,0x60,0xea,0x83,0x7a,0xe3,
  1499. 0x8a,0xca,0xa4,0x7f
  1500. };
  1501. __fips_constseg
  1502. static const unsigned char hmac_sha1_returnedbits[] =
  1503. {
  1504. 0x90,0xbd,0x05,0x56,0x6d,0xb5,0x22,0xd5,0xb9,0x5a,0x29,0x2d,
  1505. 0xe9,0x0b,0xe1,0xac,0xde,0x27,0x0b,0xb0
  1506. };
  1507. /* HMAC SHA-224 PR */
  1508. __fips_constseg
  1509. static const unsigned char hmac_sha224_pr_entropyinput[] =
  1510. {
  1511. 0x17,0x32,0x2b,0x2e,0x6f,0x1b,0x9c,0x6d,0x31,0xe0,0x34,0x07,
  1512. 0xcf,0xed,0xf6,0xb6,0x5a,0x76,0x4c,0xbc,0x62,0x85,0x01,0x90
  1513. };
  1514. __fips_constseg
  1515. static const unsigned char hmac_sha224_pr_nonce[] =
  1516. {
  1517. 0x38,0xbf,0x5f,0x20,0xb3,0x68,0x2f,0x43,0x61,0x05,0x8f,0x23
  1518. };
  1519. __fips_constseg
  1520. static const unsigned char hmac_sha224_pr_personalizationstring[] =
  1521. {
  1522. 0xc0,0xc9,0x45,0xac,0x8d,0x27,0x77,0x08,0x0b,0x17,0x6d,0xed,
  1523. 0xc1,0x7d,0xd5,0x07,0x9d,0x6e,0xf8,0x23,0x2a,0x22,0x13,0xbd
  1524. };
  1525. __fips_constseg
  1526. static const unsigned char hmac_sha224_pr_additionalinput[] =
  1527. {
  1528. 0xa4,0x3c,0xe7,0x3b,0xea,0x19,0x45,0x32,0xc2,0x83,0x6d,0x21,
  1529. 0x8a,0xc0,0xee,0x67,0x45,0xde,0x13,0x7d,0x9d,0x61,0x00,0x3b
  1530. };
  1531. __fips_constseg
  1532. static const unsigned char hmac_sha224_pr_entropyinputpr[] =
  1533. {
  1534. 0x15,0x05,0x74,0x4a,0x7f,0x8d,0x5c,0x60,0x16,0xe5,0x7b,0xad,
  1535. 0xf5,0x41,0x8f,0x55,0x60,0xc4,0x09,0xee,0x1e,0x11,0x81,0xab
  1536. };
  1537. __fips_constseg
  1538. static const unsigned char hmac_sha224_pr_int_returnedbits[] =
  1539. {
  1540. 0x6f,0xf5,0x9a,0xe2,0x54,0x53,0x30,0x3d,0x5a,0x27,0x29,0x38,
  1541. 0x27,0xf2,0x0d,0x05,0xe9,0x26,0xcb,0x16,0xc3,0x51,0x5f,0x13,
  1542. 0x41,0xfe,0x99,0xf2
  1543. };
  1544. __fips_constseg
  1545. static const unsigned char hmac_sha224_pr_additionalinput2[] =
  1546. {
  1547. 0x73,0x81,0x88,0x84,0x8f,0xed,0x6f,0x10,0x9f,0x93,0xbf,0x17,
  1548. 0x35,0x7c,0xef,0xd5,0x8d,0x26,0xa6,0x7a,0xe8,0x09,0x36,0x4f
  1549. };
  1550. __fips_constseg
  1551. static const unsigned char hmac_sha224_pr_entropyinputpr2[] =
  1552. {
  1553. 0xe6,0xcf,0xcf,0x7e,0x12,0xe5,0x43,0xd2,0x38,0xd8,0x24,0x6f,
  1554. 0x5a,0x37,0x68,0xbf,0x4f,0xa0,0xff,0xd5,0x61,0x8a,0x93,0xe0
  1555. };
  1556. __fips_constseg
  1557. static const unsigned char hmac_sha224_pr_returnedbits[] =
  1558. {
  1559. 0xaf,0xf9,0xd8,0x19,0x91,0x30,0x82,0x6f,0xa9,0x1e,0x9d,0xd7,
  1560. 0xf3,0x50,0xe0,0xc7,0xd5,0x64,0x96,0x7d,0x4c,0x4d,0x78,0x03,
  1561. 0x6d,0xd8,0x9e,0x72
  1562. };
  1563. /* HMAC SHA-224 No PR */
  1564. __fips_constseg
  1565. static const unsigned char hmac_sha224_entropyinput[] =
  1566. {
  1567. 0x11,0x82,0xfd,0xd9,0x42,0xf4,0xfa,0xc8,0xf2,0x41,0xe6,0x54,
  1568. 0x01,0xae,0x22,0x6e,0xc6,0xaf,0xaf,0xd0,0xa6,0xb2,0xe2,0x6d
  1569. };
  1570. __fips_constseg
  1571. static const unsigned char hmac_sha224_nonce[] =
  1572. {
  1573. 0xa9,0x48,0xd7,0x92,0x39,0x7e,0x2a,0xdc,0x30,0x1f,0x0e,0x2b
  1574. };
  1575. __fips_constseg
  1576. static const unsigned char hmac_sha224_personalizationstring[] =
  1577. {
  1578. 0x11,0xd5,0xf4,0xbd,0x67,0x8c,0x31,0xcf,0xa3,0x3f,0x1e,0x6b,
  1579. 0xa8,0x07,0x02,0x0b,0xc8,0x2e,0x6c,0x64,0x41,0x5b,0xc8,0x37
  1580. };
  1581. __fips_constseg
  1582. static const unsigned char hmac_sha224_additionalinput[] =
  1583. {
  1584. 0x68,0x18,0xc2,0x06,0xeb,0x3e,0x04,0x95,0x44,0x5e,0xfb,0xe6,
  1585. 0x41,0xc1,0x5c,0xcc,0x40,0x2f,0xb7,0xd2,0x0f,0xf3,0x6b,0xe7
  1586. };
  1587. __fips_constseg
  1588. static const unsigned char hmac_sha224_int_returnedbits[] =
  1589. {
  1590. 0x7f,0x45,0xc7,0x5d,0x32,0xe6,0x17,0x60,0xba,0xdc,0xb8,0x42,
  1591. 0x1b,0x9c,0xf1,0xfa,0x3b,0x4d,0x29,0x54,0xc6,0x90,0xff,0x5c,
  1592. 0xcd,0xd6,0xa9,0xcc
  1593. };
  1594. __fips_constseg
  1595. static const unsigned char hmac_sha224_entropyinputreseed[] =
  1596. {
  1597. 0xc4,0x8e,0x37,0x95,0x69,0x53,0x28,0xd7,0x37,0xbb,0x70,0x95,
  1598. 0x1c,0x07,0x1d,0xd9,0xb7,0xe6,0x1b,0xbb,0xfe,0x41,0xeb,0xc9
  1599. };
  1600. __fips_constseg
  1601. static const unsigned char hmac_sha224_additionalinputreseed[] =
  1602. {
  1603. 0x53,0x17,0xa1,0x6a,0xfa,0x77,0x47,0xb0,0x95,0x56,0x9a,0x20,
  1604. 0x57,0xde,0x5c,0x89,0x9f,0x7f,0xe2,0xde,0x17,0x3a,0x50,0x23
  1605. };
  1606. __fips_constseg
  1607. static const unsigned char hmac_sha224_additionalinput2[] =
  1608. {
  1609. 0x3a,0x32,0xf9,0x85,0x0c,0xc1,0xed,0x76,0x2d,0xdf,0x40,0xc3,
  1610. 0x06,0x22,0x66,0xd4,0x9a,0x9a,0xff,0x5a,0x7e,0x7a,0xf3,0x96
  1611. };
  1612. __fips_constseg
  1613. static const unsigned char hmac_sha224_returnedbits[] =
  1614. {
  1615. 0x43,0xb4,0x57,0x5c,0x38,0x25,0x9d,0xae,0xec,0x96,0xd1,0x85,
  1616. 0x3a,0x84,0x8d,0xfe,0x68,0xd5,0x0e,0x5c,0x8f,0x65,0xa5,0x4e,
  1617. 0x45,0x84,0xa8,0x94
  1618. };
  1619. /* HMAC SHA-256 PR */
  1620. __fips_constseg
  1621. static const unsigned char hmac_sha256_pr_entropyinput[] =
  1622. {
  1623. 0x4d,0xb0,0x43,0xd8,0x34,0x4b,0x10,0x70,0xb1,0x8b,0xed,0xea,
  1624. 0x07,0x92,0x9f,0x6c,0x79,0x31,0xaf,0x81,0x29,0xeb,0x6e,0xca,
  1625. 0x32,0x48,0x28,0xe7,0x02,0x5d,0xa6,0xa6
  1626. };
  1627. __fips_constseg
  1628. static const unsigned char hmac_sha256_pr_nonce[] =
  1629. {
  1630. 0x3a,0xae,0x15,0xa9,0x99,0xdc,0xe4,0x67,0x34,0x3b,0x70,0x15,
  1631. 0xaa,0xd3,0x30,0x9a
  1632. };
  1633. __fips_constseg
  1634. static const unsigned char hmac_sha256_pr_personalizationstring[] =
  1635. {
  1636. 0x13,0x1d,0x24,0x04,0xb0,0x18,0x81,0x15,0x21,0x51,0x2a,0x24,
  1637. 0x52,0x61,0xbe,0x64,0x82,0x6b,0x55,0x2f,0xe2,0xf1,0x40,0x7d,
  1638. 0x71,0xd8,0x01,0x86,0x15,0xb7,0x8b,0xb5
  1639. };
  1640. __fips_constseg
  1641. static const unsigned char hmac_sha256_pr_additionalinput[] =
  1642. {
  1643. 0x8f,0xa6,0x54,0x5f,0xb1,0xd0,0xd8,0xc3,0xe7,0x0c,0x15,0xa9,
  1644. 0x23,0x6e,0xfe,0xfb,0x93,0xf7,0x3a,0xbd,0x59,0x01,0xfa,0x18,
  1645. 0x8e,0xe9,0x1a,0xa9,0x78,0xfc,0x79,0x0b
  1646. };
  1647. __fips_constseg
  1648. static const unsigned char hmac_sha256_pr_entropyinputpr[] =
  1649. {
  1650. 0xcf,0x24,0xb9,0xeb,0xb3,0xd4,0xcd,0x17,0x37,0x38,0x75,0x79,
  1651. 0x15,0xcb,0x2d,0x75,0x51,0xf1,0xcc,0xaa,0x32,0xa4,0xa7,0x36,
  1652. 0x7c,0x5c,0xe4,0x47,0xf1,0x3e,0x1d,0xe5
  1653. };
  1654. __fips_constseg
  1655. static const unsigned char hmac_sha256_pr_int_returnedbits[] =
  1656. {
  1657. 0x52,0x42,0xfa,0xeb,0x85,0xe0,0x30,0x22,0x79,0x00,0x16,0xb2,
  1658. 0x88,0x2f,0x14,0x6a,0xb7,0xfc,0xb7,0x53,0xdc,0x4a,0x12,0xef,
  1659. 0x54,0xd6,0x33,0xe9,0x20,0xd6,0xfd,0x56
  1660. };
  1661. __fips_constseg
  1662. static const unsigned char hmac_sha256_pr_additionalinput2[] =
  1663. {
  1664. 0xf4,0xf6,0x49,0xa1,0x2d,0x64,0x2b,0x30,0x58,0xf8,0xbd,0xb8,
  1665. 0x75,0xeb,0xbb,0x5e,0x1c,0x9b,0x81,0x6a,0xda,0x14,0x86,0x6e,
  1666. 0xd0,0xda,0x18,0xb7,0x88,0xfb,0x59,0xf3
  1667. };
  1668. __fips_constseg
  1669. static const unsigned char hmac_sha256_pr_entropyinputpr2[] =
  1670. {
  1671. 0x21,0xcd,0x6e,0x46,0xad,0x99,0x07,0x17,0xb4,0x3d,0x76,0x0a,
  1672. 0xff,0x5b,0x52,0x50,0x78,0xdf,0x1f,0x24,0x06,0x0d,0x3f,0x74,
  1673. 0xa9,0xc9,0x37,0xcf,0xd8,0x26,0x25,0x91
  1674. };
  1675. __fips_constseg
  1676. static const unsigned char hmac_sha256_pr_returnedbits[] =
  1677. {
  1678. 0xa7,0xaf,0x2f,0x29,0xe0,0x3a,0x72,0x95,0x96,0x1c,0xa9,0xf0,
  1679. 0x4a,0x17,0x4d,0x66,0x06,0x10,0xbf,0x39,0x89,0x88,0xb8,0x91,
  1680. 0x37,0x18,0x99,0xcf,0x8c,0x53,0x3b,0x7e
  1681. };
  1682. /* HMAC SHA-256 No PR */
  1683. __fips_constseg
  1684. static const unsigned char hmac_sha256_entropyinput[] =
  1685. {
  1686. 0x96,0xb7,0x53,0x22,0x1e,0x52,0x2a,0x96,0xb1,0x15,0x3c,0x35,
  1687. 0x5a,0x8b,0xd3,0x4a,0xa6,0x6c,0x83,0x0a,0x7d,0xa3,0x23,0x3d,
  1688. 0x43,0xa1,0x07,0x2c,0x2d,0xe3,0x81,0xcc
  1689. };
  1690. __fips_constseg
  1691. static const unsigned char hmac_sha256_nonce[] =
  1692. {
  1693. 0xf1,0xac,0x97,0xcb,0x5e,0x06,0x48,0xd2,0x94,0xbe,0x15,0x2e,
  1694. 0xc7,0xfc,0xc2,0x01
  1695. };
  1696. __fips_constseg
  1697. static const unsigned char hmac_sha256_personalizationstring[] =
  1698. {
  1699. 0x98,0xc5,0x1e,0x35,0x5e,0x89,0x0d,0xce,0x64,0x6d,0x18,0xa7,
  1700. 0x5a,0xc6,0xf3,0xe7,0xd6,0x9e,0xc0,0xea,0xb7,0x3a,0x8d,0x65,
  1701. 0xb8,0xeb,0x10,0xd7,0x57,0x18,0xa0,0x32
  1702. };
  1703. __fips_constseg
  1704. static const unsigned char hmac_sha256_additionalinput[] =
  1705. {
  1706. 0x1b,0x10,0xaf,0xac,0xd0,0x65,0x95,0xad,0x04,0xad,0x03,0x1c,
  1707. 0xe0,0x40,0xd6,0x3e,0x1c,0x46,0x53,0x39,0x7c,0xe2,0xbc,0xda,
  1708. 0x8c,0xa2,0x33,0xa7,0x9a,0x26,0xd3,0x27
  1709. };
  1710. __fips_constseg
  1711. static const unsigned char hmac_sha256_int_returnedbits[] =
  1712. {
  1713. 0xba,0x61,0x0e,0x55,0xfe,0x11,0x8a,0x9e,0x0f,0x80,0xdf,0x1d,
  1714. 0x03,0x0a,0xfe,0x15,0x94,0x28,0x4b,0xba,0xf4,0x9f,0x51,0x25,
  1715. 0x88,0xe5,0x4e,0xfb,0xaf,0xce,0x69,0x90
  1716. };
  1717. __fips_constseg
  1718. static const unsigned char hmac_sha256_entropyinputreseed[] =
  1719. {
  1720. 0x62,0x7f,0x1e,0x6b,0xe8,0x8e,0xe1,0x35,0x7d,0x9b,0x4f,0xc7,
  1721. 0xec,0xc8,0xac,0xef,0x6b,0x13,0x9e,0x05,0x56,0xc1,0x08,0xf9,
  1722. 0x2f,0x0f,0x27,0x9c,0xd4,0x15,0xed,0x2d
  1723. };
  1724. __fips_constseg
  1725. static const unsigned char hmac_sha256_additionalinputreseed[] =
  1726. {
  1727. 0xc7,0x76,0x6e,0xa9,0xd2,0xb2,0x76,0x40,0x82,0x25,0x2c,0xb3,
  1728. 0x6f,0xac,0xe9,0x74,0xef,0x8f,0x3c,0x8e,0xcd,0xf1,0xbf,0xb3,
  1729. 0x49,0x77,0x34,0x88,0x52,0x36,0xe6,0x2e
  1730. };
  1731. __fips_constseg
  1732. static const unsigned char hmac_sha256_additionalinput2[] =
  1733. {
  1734. 0x8d,0xb8,0x0c,0xd1,0xbf,0x70,0xf6,0x19,0xc3,0x41,0x80,0x9f,
  1735. 0xe1,0xa5,0xa4,0x1f,0x2c,0x26,0xb1,0xe5,0xd8,0xeb,0xbe,0xf8,
  1736. 0xdf,0x88,0x6a,0x89,0xd6,0x05,0xd8,0x9d
  1737. };
  1738. __fips_constseg
  1739. static const unsigned char hmac_sha256_returnedbits[] =
  1740. {
  1741. 0x43,0x12,0x2a,0x2c,0x40,0x53,0x2e,0x7c,0x66,0x34,0xac,0xc3,
  1742. 0x43,0xe3,0xe0,0x6a,0xfc,0xfa,0xea,0x87,0x21,0x1f,0xe2,0x26,
  1743. 0xc4,0xf9,0x09,0x9a,0x0d,0x6e,0x7f,0xe0
  1744. };
  1745. /* HMAC SHA-384 PR */
  1746. __fips_constseg
  1747. static const unsigned char hmac_sha384_pr_entropyinput[] =
  1748. {
  1749. 0x69,0x81,0x98,0x88,0x44,0xf5,0xd6,0x2e,0x00,0x08,0x3b,0xc5,
  1750. 0xfb,0xd7,0x8e,0x6f,0x23,0xf8,0x6d,0x09,0xd6,0x85,0x49,0xd1,
  1751. 0xf8,0x6d,0xa4,0x58,0x54,0xfd,0x88,0xa9
  1752. };
  1753. __fips_constseg
  1754. static const unsigned char hmac_sha384_pr_nonce[] =
  1755. {
  1756. 0x6e,0x38,0x81,0xca,0xb7,0xe8,0x6e,0x66,0x49,0x8a,0xb2,0x59,
  1757. 0xee,0x16,0xc9,0xde
  1758. };
  1759. __fips_constseg
  1760. static const unsigned char hmac_sha384_pr_personalizationstring[] =
  1761. {
  1762. 0xfe,0x4c,0xd9,0xf4,0x78,0x3b,0x08,0x41,0x8d,0x8f,0x55,0xc4,
  1763. 0x43,0x56,0xb6,0x12,0x36,0x6b,0x30,0xb7,0x5e,0xe1,0xb9,0x47,
  1764. 0x04,0xb1,0x4e,0xa9,0x00,0xa1,0x52,0xa1
  1765. };
  1766. __fips_constseg
  1767. static const unsigned char hmac_sha384_pr_additionalinput[] =
  1768. {
  1769. 0x89,0xe9,0xcc,0x8f,0x27,0x3c,0x26,0xd1,0x95,0xc8,0x7d,0x0f,
  1770. 0x5b,0x1a,0xf0,0x78,0x39,0x56,0x6f,0xa4,0x23,0xe7,0xd1,0xda,
  1771. 0x7c,0x66,0x33,0xa0,0x90,0xc9,0x92,0x88
  1772. };
  1773. __fips_constseg
  1774. static const unsigned char hmac_sha384_pr_entropyinputpr[] =
  1775. {
  1776. 0xbe,0x3d,0x7c,0x0d,0xca,0xda,0x7c,0x49,0xb8,0x12,0x36,0xc0,
  1777. 0xdb,0xad,0x35,0xa8,0xc7,0x0b,0x2a,0x2c,0x69,0x6d,0x25,0x56,
  1778. 0x63,0x82,0x11,0x3e,0xa7,0x33,0x70,0x72
  1779. };
  1780. __fips_constseg
  1781. static const unsigned char hmac_sha384_pr_int_returnedbits[] =
  1782. {
  1783. 0x82,0x3d,0xe6,0x54,0x80,0x42,0xf8,0xba,0x90,0x4f,0x06,0xa6,
  1784. 0xd2,0x7f,0xbf,0x79,0x7c,0x12,0x7d,0xa6,0xa2,0x66,0xe8,0xa6,
  1785. 0xc0,0xd6,0x4a,0x55,0xbf,0xd8,0x0a,0xc5,0xf8,0x03,0x88,0xdd,
  1786. 0x8e,0x87,0xd1,0x5a,0x48,0x26,0x72,0x2a,0x8e,0xcf,0xee,0xba
  1787. };
  1788. __fips_constseg
  1789. static const unsigned char hmac_sha384_pr_additionalinput2[] =
  1790. {
  1791. 0x8f,0xff,0xd9,0x84,0xbb,0x85,0x3a,0x66,0xa1,0x21,0xce,0xb2,
  1792. 0x3a,0x3a,0x17,0x22,0x19,0xae,0xc7,0xb6,0x63,0x81,0xd5,0xff,
  1793. 0x0d,0xc8,0xe1,0xaf,0x57,0xd2,0xcb,0x60
  1794. };
  1795. __fips_constseg
  1796. static const unsigned char hmac_sha384_pr_entropyinputpr2[] =
  1797. {
  1798. 0xd7,0xfb,0xc9,0xe8,0xe2,0xf2,0xaa,0x4c,0xb8,0x51,0x2f,0xe1,
  1799. 0x22,0xba,0xf3,0xda,0x0a,0x19,0x76,0x71,0x57,0xb2,0x1d,0x94,
  1800. 0x09,0x69,0x6c,0xd3,0x97,0x51,0x81,0x87
  1801. };
  1802. __fips_constseg
  1803. static const unsigned char hmac_sha384_pr_returnedbits[] =
  1804. {
  1805. 0xe6,0x19,0x28,0xa8,0x21,0xce,0x5e,0xdb,0x24,0x79,0x8c,0x76,
  1806. 0x5d,0x73,0xb2,0xdf,0xac,0xef,0x85,0xa7,0x3b,0x19,0x09,0x8b,
  1807. 0x7f,0x98,0x28,0xa9,0x93,0xd8,0x7a,0xad,0x55,0x8b,0x24,0x9d,
  1808. 0xe6,0x98,0xfe,0x47,0xd5,0x48,0xc1,0x23,0xd8,0x1d,0x62,0x75
  1809. };
  1810. /* HMAC SHA-384 No PR */
  1811. __fips_constseg
  1812. static const unsigned char hmac_sha384_entropyinput[] =
  1813. {
  1814. 0xc3,0x56,0x2b,0x1d,0xc2,0xbb,0xa8,0xf0,0xae,0x1b,0x0d,0xd3,
  1815. 0x5a,0x6c,0xda,0x57,0x8e,0xa5,0x8a,0x0d,0x6c,0x4b,0x18,0xb1,
  1816. 0x04,0x3e,0xb4,0x99,0x35,0xc4,0xc0,0x5f
  1817. };
  1818. __fips_constseg
  1819. static const unsigned char hmac_sha384_nonce[] =
  1820. {
  1821. 0xc5,0x49,0x1e,0x66,0x27,0x92,0xbe,0xec,0xb5,0x1e,0x4b,0xb1,
  1822. 0x38,0xe3,0xeb,0x62
  1823. };
  1824. __fips_constseg
  1825. static const unsigned char hmac_sha384_personalizationstring[] =
  1826. {
  1827. 0xbe,0xe7,0x6b,0x57,0xde,0x88,0x11,0x96,0x9b,0x6e,0xea,0xe5,
  1828. 0x63,0x83,0x4c,0xb6,0x8d,0x66,0xaa,0x1f,0x8b,0x54,0xe7,0x62,
  1829. 0x6d,0x5a,0xfc,0xbf,0x97,0xba,0xcd,0x77
  1830. };
  1831. __fips_constseg
  1832. static const unsigned char hmac_sha384_additionalinput[] =
  1833. {
  1834. 0xe5,0x28,0x5f,0x43,0xf5,0x83,0x6e,0x0a,0x83,0x5c,0xe3,0x81,
  1835. 0x03,0xf2,0xf8,0x78,0x00,0x7c,0x95,0x87,0x16,0xd6,0x6c,0x58,
  1836. 0x33,0x6c,0x53,0x35,0x0d,0x66,0xe3,0xce
  1837. };
  1838. __fips_constseg
  1839. static const unsigned char hmac_sha384_int_returnedbits[] =
  1840. {
  1841. 0xe2,0x1f,0xf3,0xda,0x0d,0x19,0x99,0x87,0xc4,0x90,0xa2,0x31,
  1842. 0xca,0x2a,0x89,0x58,0x43,0x44,0xb8,0xde,0xcf,0xa4,0xbe,0x3b,
  1843. 0x53,0x26,0x22,0x31,0x76,0x41,0x22,0xb5,0xa8,0x70,0x2f,0x4b,
  1844. 0x64,0x95,0x4d,0x48,0x96,0x35,0xe6,0xbd,0x3c,0x34,0xdb,0x1b
  1845. };
  1846. __fips_constseg
  1847. static const unsigned char hmac_sha384_entropyinputreseed[] =
  1848. {
  1849. 0x77,0x61,0xba,0xbc,0xf2,0xc1,0xf3,0x4b,0x86,0x65,0xfd,0x48,
  1850. 0x0e,0x3c,0x02,0x5e,0xa2,0x7a,0x6b,0x7c,0xed,0x21,0x5e,0xf9,
  1851. 0xcd,0xcd,0x77,0x07,0x2b,0xbe,0xc5,0x5c
  1852. };
  1853. __fips_constseg
  1854. static const unsigned char hmac_sha384_additionalinputreseed[] =
  1855. {
  1856. 0x18,0x24,0x5f,0xc6,0x84,0xd1,0x67,0xc3,0x9a,0x11,0xa5,0x8c,
  1857. 0x07,0x39,0x21,0x83,0x4d,0x04,0xc4,0x6a,0x28,0x19,0xcf,0x92,
  1858. 0x21,0xd9,0x9e,0x41,0x72,0x6c,0x9e,0x63
  1859. };
  1860. __fips_constseg
  1861. static const unsigned char hmac_sha384_additionalinput2[] =
  1862. {
  1863. 0x96,0x67,0x41,0x28,0x9b,0xb7,0x92,0x8d,0x64,0x3b,0xe4,0xcf,
  1864. 0x7e,0xaa,0x1e,0xb1,0x4b,0x1d,0x09,0x56,0x67,0x9c,0xc6,0x6d,
  1865. 0x3b,0xe8,0x91,0x9d,0xe1,0x8a,0xb7,0x32
  1866. };
  1867. __fips_constseg
  1868. static const unsigned char hmac_sha384_returnedbits[] =
  1869. {
  1870. 0xe3,0x59,0x61,0x38,0x92,0xec,0xe2,0x3c,0xff,0xb7,0xdb,0x19,
  1871. 0x0f,0x5b,0x93,0x68,0x0d,0xa4,0x94,0x40,0x72,0x0b,0xe0,0xed,
  1872. 0x4d,0xcd,0x68,0xa0,0x1e,0xfe,0x67,0xb2,0xfa,0x21,0x56,0x74,
  1873. 0xa4,0xad,0xcf,0xb7,0x60,0x66,0x2e,0x40,0xde,0x82,0xca,0xfb
  1874. };
  1875. /* HMAC SHA-512 PR */
  1876. __fips_constseg
  1877. static const unsigned char hmac_sha512_pr_entropyinput[] =
  1878. {
  1879. 0xaa,0x9e,0x45,0x67,0x0e,0x00,0x2a,0x67,0x98,0xd6,0xda,0x0b,
  1880. 0x0f,0x17,0x7e,0xac,0xfd,0x27,0xc4,0xca,0x84,0xdf,0xde,0xba,
  1881. 0x85,0xd9,0xbe,0x8f,0xf3,0xff,0x91,0x4d
  1882. };
  1883. __fips_constseg
  1884. static const unsigned char hmac_sha512_pr_nonce[] =
  1885. {
  1886. 0x8c,0x49,0x2f,0x58,0x1e,0x7a,0xda,0x4b,0x7e,0x8a,0x30,0x7b,
  1887. 0x86,0xea,0xaf,0xa2
  1888. };
  1889. __fips_constseg
  1890. static const unsigned char hmac_sha512_pr_personalizationstring[] =
  1891. {
  1892. 0x71,0xe1,0xbb,0xad,0xa7,0x4b,0x2e,0x31,0x3b,0x0b,0xec,0x24,
  1893. 0x99,0x38,0xbc,0xaa,0x05,0x4c,0x46,0x44,0xfa,0xad,0x8e,0x02,
  1894. 0xc1,0x7e,0xad,0xec,0x54,0xa6,0xd0,0xad
  1895. };
  1896. __fips_constseg
  1897. static const unsigned char hmac_sha512_pr_additionalinput[] =
  1898. {
  1899. 0x3d,0x6e,0xa6,0xa8,0x29,0x2a,0xb2,0xf5,0x98,0x42,0xe4,0x92,
  1900. 0x78,0x22,0x67,0xfd,0x1b,0x15,0x1e,0x29,0xaa,0x71,0x3c,0x3c,
  1901. 0xe7,0x05,0x20,0xa9,0x29,0xc6,0x75,0x71
  1902. };
  1903. __fips_constseg
  1904. static const unsigned char hmac_sha512_pr_entropyinputpr[] =
  1905. {
  1906. 0xab,0xb9,0x16,0xd8,0x55,0x35,0x54,0xb7,0x97,0x3f,0x94,0xbc,
  1907. 0x2f,0x7c,0x70,0xc7,0xd0,0xed,0xb7,0x4b,0xf7,0xf6,0x6c,0x03,
  1908. 0x0c,0xb0,0x03,0xd8,0xbb,0x71,0xd9,0x10
  1909. };
  1910. __fips_constseg
  1911. static const unsigned char hmac_sha512_pr_int_returnedbits[] =
  1912. {
  1913. 0x8e,0xd3,0xfd,0x52,0x9e,0x83,0x08,0x49,0x18,0x6e,0x23,0x56,
  1914. 0x5c,0x45,0x93,0x34,0x05,0xe2,0x98,0x8f,0x0c,0xd4,0x32,0x0c,
  1915. 0xfd,0xda,0x5f,0x92,0x3a,0x8c,0x81,0xbd,0xf6,0x6c,0x55,0xfd,
  1916. 0xb8,0x20,0xce,0x8d,0x97,0x27,0xe8,0xe8,0xe0,0xb3,0x85,0x50,
  1917. 0xa2,0xc2,0xb2,0x95,0x1d,0x48,0xd3,0x7b,0x4b,0x78,0x13,0x35,
  1918. 0x05,0x17,0xbe,0x0d
  1919. };
  1920. __fips_constseg
  1921. static const unsigned char hmac_sha512_pr_additionalinput2[] =
  1922. {
  1923. 0xc3,0xfc,0x95,0xaa,0x69,0x06,0xae,0x59,0x41,0xce,0x26,0x08,
  1924. 0x29,0x6d,0x45,0xda,0xe8,0xb3,0x6c,0x95,0x60,0x0f,0x70,0x2c,
  1925. 0x10,0xba,0x38,0x8c,0xcf,0x29,0x99,0xaa
  1926. };
  1927. __fips_constseg
  1928. static const unsigned char hmac_sha512_pr_entropyinputpr2[] =
  1929. {
  1930. 0x3b,0x9a,0x25,0xce,0xd7,0xf9,0x5c,0xd1,0x3a,0x3e,0xaa,0x71,
  1931. 0x14,0x3e,0x19,0xe8,0xce,0xe6,0xfe,0x51,0x84,0xe9,0x1b,0xfe,
  1932. 0x3f,0xa7,0xf2,0xfd,0x76,0x5f,0x6a,0xe7
  1933. };
  1934. __fips_constseg
  1935. static const unsigned char hmac_sha512_pr_returnedbits[] =
  1936. {
  1937. 0xb7,0x82,0xa9,0x57,0x81,0x67,0x53,0xb5,0xa1,0xe9,0x3d,0x35,
  1938. 0xf9,0xe4,0x97,0xbe,0xa6,0xca,0xf1,0x01,0x13,0x09,0xe7,0x21,
  1939. 0xc0,0xed,0x93,0x5d,0x4b,0xf4,0xeb,0x8d,0x53,0x25,0x8a,0xc4,
  1940. 0xb1,0x6f,0x6e,0x37,0xcd,0x2e,0xac,0x39,0xb2,0xb6,0x99,0xa3,
  1941. 0x82,0x00,0xb0,0x21,0xf0,0xc7,0x2f,0x4c,0x73,0x92,0xfd,0x00,
  1942. 0xb6,0xaf,0xbc,0xd3
  1943. };
  1944. /* HMAC SHA-512 No PR */
  1945. __fips_constseg
  1946. static const unsigned char hmac_sha512_entropyinput[] =
  1947. {
  1948. 0x6e,0x85,0xe6,0x25,0x96,0x29,0xa7,0x52,0x5b,0x60,0xba,0xaa,
  1949. 0xde,0xdb,0x36,0x0a,0x51,0x9a,0x15,0xae,0x6e,0x18,0xd3,0xfe,
  1950. 0x39,0xb9,0x4a,0x96,0xf8,0x77,0xcb,0x95
  1951. };
  1952. __fips_constseg
  1953. static const unsigned char hmac_sha512_nonce[] =
  1954. {
  1955. 0xe0,0xa6,0x5d,0x08,0xc3,0x7c,0xae,0x25,0x2e,0x80,0xd1,0x3e,
  1956. 0xd9,0xaf,0x43,0x3c
  1957. };
  1958. __fips_constseg
  1959. static const unsigned char hmac_sha512_personalizationstring[] =
  1960. {
  1961. 0x53,0x99,0x52,0x5f,0x11,0xa9,0x64,0x66,0x20,0x5e,0x1b,0x5f,
  1962. 0x42,0xb3,0xf4,0xda,0xed,0xbb,0x63,0xc1,0x23,0xaf,0xd0,0x01,
  1963. 0x90,0x3b,0xd0,0x78,0xe4,0x0b,0xa7,0x20
  1964. };
  1965. __fips_constseg
  1966. static const unsigned char hmac_sha512_additionalinput[] =
  1967. {
  1968. 0x85,0x90,0x80,0xd3,0x98,0xf1,0x53,0x6d,0x68,0x15,0x8f,0xe5,
  1969. 0x60,0x3f,0x17,0x29,0x55,0x8d,0x33,0xb1,0x45,0x64,0x64,0x8d,
  1970. 0x50,0x21,0x89,0xae,0xf6,0xfd,0x32,0x73
  1971. };
  1972. __fips_constseg
  1973. static const unsigned char hmac_sha512_int_returnedbits[] =
  1974. {
  1975. 0x28,0x56,0x30,0x6f,0xf4,0xa1,0x48,0xe0,0xc9,0xf5,0x75,0x90,
  1976. 0xcc,0xfb,0xdf,0xdf,0x71,0x3d,0x0a,0x9a,0x03,0x65,0x3b,0x18,
  1977. 0x61,0xe3,0xd1,0xda,0xcc,0x4a,0xfe,0x55,0x38,0xf8,0x21,0x6b,
  1978. 0xfa,0x18,0x01,0x42,0x39,0x2f,0x99,0x53,0x38,0x15,0x82,0x34,
  1979. 0xc5,0x93,0x92,0xbc,0x4d,0x75,0x1a,0x5f,0x21,0x27,0xcc,0xa1,
  1980. 0xb1,0x57,0x69,0xe8
  1981. };
  1982. __fips_constseg
  1983. static const unsigned char hmac_sha512_entropyinputreseed[] =
  1984. {
  1985. 0x8c,0x52,0x7e,0x77,0x72,0x3f,0xa3,0x04,0x97,0x10,0x9b,0x41,
  1986. 0xbd,0xe8,0xff,0x89,0xed,0x80,0xe3,0xbd,0xaa,0x12,0x2d,0xca,
  1987. 0x75,0x82,0x36,0x77,0x88,0xcd,0xa6,0x73
  1988. };
  1989. __fips_constseg
  1990. static const unsigned char hmac_sha512_additionalinputreseed[] =
  1991. {
  1992. 0x7e,0x32,0xe3,0x69,0x69,0x07,0x34,0xa2,0x16,0xa2,0x5d,0x1a,
  1993. 0x10,0x91,0xd3,0xe2,0x21,0xa2,0xa3,0xdd,0xcd,0x0c,0x09,0x86,
  1994. 0x11,0xe1,0x50,0xff,0x5c,0xb7,0xeb,0x5c
  1995. };
  1996. __fips_constseg
  1997. static const unsigned char hmac_sha512_additionalinput2[] =
  1998. {
  1999. 0x7f,0x78,0x66,0xd8,0xfb,0x67,0xcf,0x8d,0x8c,0x08,0x30,0xa5,
  2000. 0xf8,0x7d,0xcf,0x44,0x59,0xce,0xf8,0xdf,0x58,0xd3,0x60,0xcb,
  2001. 0xa8,0x60,0xb9,0x07,0xc4,0xb1,0x95,0x48
  2002. };
  2003. __fips_constseg
  2004. static const unsigned char hmac_sha512_returnedbits[] =
  2005. {
  2006. 0xdf,0xa7,0x36,0xd4,0xdc,0x5d,0x4d,0x31,0xad,0x69,0x46,0x9f,
  2007. 0xf1,0x7c,0xd7,0x3b,0x4f,0x55,0xf2,0xd7,0xb9,0x9d,0xad,0x7a,
  2008. 0x79,0x08,0x59,0xa5,0xdc,0x74,0xf5,0x9b,0x73,0xd2,0x13,0x25,
  2009. 0x0b,0x81,0x08,0x08,0x25,0xfb,0x39,0xf2,0xf0,0xa3,0xa4,0x8d,
  2010. 0xef,0x05,0x9e,0xb8,0xc7,0x52,0xe4,0x0e,0x42,0xaa,0x7c,0x79,
  2011. 0xc2,0xd6,0xfd,0xa5
  2012. };
  2013. /* P-256 SHA-1 PR */
  2014. __fips_constseg
  2015. static const unsigned char p_256_sha1_pr_entropyinput[] =
  2016. {
  2017. 0xb7,0xd4,0x38,0x90,0x9a,0xa8,0xfc,0xb6,0xd6,0x3c,0xc5,0x35,
  2018. 0x2b,0x0b,0x0e,0x1f
  2019. };
  2020. __fips_constseg
  2021. static const unsigned char p_256_sha1_pr_nonce[] =
  2022. {
  2023. 0xd9,0xae,0xf5,0xe8,0xd5,0x10,0x1f,0x82
  2024. };
  2025. __fips_constseg
  2026. static const unsigned char p_256_sha1_pr_personalizationstring[] =
  2027. {
  2028. 0x88,0xe8,0x77,0xab,0x01,0x19,0x5e,0xaf,0x50,0x6c,0x89,0x2d,
  2029. 0x0c,0x12,0xe2,0x11
  2030. };
  2031. __fips_constseg
  2032. static const unsigned char p_256_sha1_pr_additionalinput[] =
  2033. {
  2034. 0xd1,0x46,0xa6,0xb0,0x6e,0xc5,0xaa,0x7b,0x6d,0x1a,0xf9,0x36,
  2035. 0x8c,0x95,0x9c,0xed
  2036. };
  2037. __fips_constseg
  2038. static const unsigned char p_256_sha1_pr_entropyinputpr[] =
  2039. {
  2040. 0xb0,0x97,0xa8,0x3e,0xd3,0x28,0x3d,0x36,0xdd,0xfe,0x89,0x00,
  2041. 0x63,0x4f,0x21,0xfc
  2042. };
  2043. __fips_constseg
  2044. static const unsigned char p_256_sha1_pr_int_returnedbits[] =
  2045. {
  2046. 0x9f,0x66,0x6a,0x38,0x57,0x49,0x15,0xcd,0x5a,0x85,0x03,0x97,
  2047. 0x67,0xc3,0x62,0x46,0xb7,0x3a,0xd2,0x08,0x86,0x40,0x4e,0x6d,
  2048. 0x67,0xf4,0x19,0x68,0x92,0x63
  2049. };
  2050. __fips_constseg
  2051. static const unsigned char p_256_sha1_pr_additionalinput2[] =
  2052. {
  2053. 0x0c,0xb6,0x1c,0xc7,0x52,0x47,0xe4,0xf1,0xa7,0x75,0x60,0x3d,
  2054. 0x60,0x07,0x72,0x6f
  2055. };
  2056. __fips_constseg
  2057. static const unsigned char p_256_sha1_pr_entropyinputpr2[] =
  2058. {
  2059. 0x39,0x37,0xb6,0x55,0x82,0x71,0x0e,0xd4,0x8f,0x8c,0x10,0xe5,
  2060. 0x7c,0x8f,0x5e,0x37
  2061. };
  2062. __fips_constseg
  2063. static const unsigned char p_256_sha1_pr_returnedbits[] =
  2064. {
  2065. 0x37,0x6c,0x94,0x02,0xbe,0x28,0x42,0xd5,0xe7,0x4d,0x1a,0x6e,
  2066. 0xa8,0x5a,0x90,0x9a,0x31,0xa8,0x84,0x16,0xbc,0xe9,0x18,0xa4,
  2067. 0xe1,0xa1,0x05,0xf0,0x2a,0xe3
  2068. };
  2069. /* P-256 SHA-1 No PR */
  2070. __fips_constseg
  2071. static const unsigned char p_256_sha1_entropyinput[] =
  2072. {
  2073. 0xac,0x08,0x45,0x86,0x79,0xfc,0x4b,0xb4,0x8b,0xe4,0xfd,0x1d,
  2074. 0x0e,0xeb,0x1b,0x8f
  2075. };
  2076. __fips_constseg
  2077. static const unsigned char p_256_sha1_nonce[] =
  2078. {
  2079. 0x5e,0xf4,0xe9,0xc5,0x04,0xee,0xb7,0x8a
  2080. };
  2081. __fips_constseg
  2082. static const unsigned char p_256_sha1_personalizationstring[] =
  2083. {
  2084. 0x55,0x0f,0xca,0x3b,0x1c,0xa6,0xf3,0xce,0xcb,0x6f,0xa7,0xc7,
  2085. 0x26,0x65,0x0f,0x7c
  2086. };
  2087. __fips_constseg
  2088. static const unsigned char p_256_sha1_additionalinput[] =
  2089. {
  2090. 0x74,0x51,0x73,0xa9,0xee,0x2e,0x21,0xf9,0xba,0x07,0xe4,0xad,
  2091. 0x97,0xae,0x1c,0x8b
  2092. };
  2093. __fips_constseg
  2094. static const unsigned char p_256_sha1_int_returnedbits[] =
  2095. {
  2096. 0x8d,0x45,0x11,0xa9,0x74,0x14,0x05,0x94,0x97,0x66,0x71,0xe2,
  2097. 0x9b,0x61,0x22,0x85,0xa5,0xaa,0x09,0x01,0x75,0xb5,0xab,0x3a,
  2098. 0x3a,0x6e,0x69,0xd3,0xc8,0xc4
  2099. };
  2100. __fips_constseg
  2101. static const unsigned char p_256_sha1_entropyinputreseed[] =
  2102. {
  2103. 0x34,0xd9,0x8b,0x67,0x82,0xaf,0x97,0x95,0xe9,0x25,0xa7,0x93,
  2104. 0x37,0x06,0x73,0x5c
  2105. };
  2106. __fips_constseg
  2107. static const unsigned char p_256_sha1_additionalinputreseed[] =
  2108. {
  2109. 0x39,0x21,0x24,0x27,0x67,0xa1,0xc3,0xc4,0x90,0xc2,0x68,0x68,
  2110. 0x26,0x9b,0x32,0xc2
  2111. };
  2112. __fips_constseg
  2113. static const unsigned char p_256_sha1_additionalinput2[] =
  2114. {
  2115. 0x84,0xa8,0x10,0xe5,0x71,0x0c,0x1e,0x74,0x42,0x6a,0xa5,0x09,
  2116. 0x90,0x74,0x39,0xd7
  2117. };
  2118. __fips_constseg
  2119. static const unsigned char p_256_sha1_returnedbits[] =
  2120. {
  2121. 0x1e,0x0b,0x5c,0x41,0xcd,0xab,0x07,0xbd,0xdc,0x53,0xa7,0x62,
  2122. 0xd1,0xd0,0xca,0x19,0xe6,0xbb,0x8e,0xcf,0x1e,0x0a,0x4c,0xc0,
  2123. 0x2d,0x8c,0xe2,0xa4,0x89,0x2c
  2124. };
  2125. /* P-256 SHA-224 PR */
  2126. __fips_constseg
  2127. static const unsigned char p_256_sha224_pr_entropyinput[] =
  2128. {
  2129. 0x92,0x05,0xf0,0x1e,0xc4,0xc4,0x9e,0xab,0x85,0x10,0x16,0xda,
  2130. 0xa6,0xb4,0xba,0x6f
  2131. };
  2132. __fips_constseg
  2133. static const unsigned char p_256_sha224_pr_nonce[] =
  2134. {
  2135. 0xa3,0x5e,0xde,0x12,0xdc,0xa7,0x67,0xfd
  2136. };
  2137. __fips_constseg
  2138. static const unsigned char p_256_sha224_pr_personalizationstring[] =
  2139. {
  2140. 0x76,0xa0,0x8d,0x6c,0x0d,0x19,0x5d,0x94,0x9b,0x92,0x67,0x78,
  2141. 0x6c,0x02,0xfe,0xe4
  2142. };
  2143. __fips_constseg
  2144. static const unsigned char p_256_sha224_pr_additionalinput[] =
  2145. {
  2146. 0xe2,0x05,0xcf,0x63,0x0f,0xf1,0xd0,0x41,0xc9,0xe3,0xf6,0xb0,
  2147. 0x57,0xaa,0xcd,0x92
  2148. };
  2149. __fips_constseg
  2150. static const unsigned char p_256_sha224_pr_entropyinputpr[] =
  2151. {
  2152. 0x1a,0xd5,0xa9,0x25,0x52,0xa8,0xba,0x51,0x81,0x99,0x62,0x4d,
  2153. 0xbf,0x30,0x44,0xf3
  2154. };
  2155. __fips_constseg
  2156. static const unsigned char p_256_sha224_pr_int_returnedbits[] =
  2157. {
  2158. 0xbf,0x9e,0x45,0x73,0x67,0x4b,0x25,0xa5,0x58,0x23,0x31,0xd8,
  2159. 0x0f,0xf3,0xe5,0x5d,0x0e,0x2d,0x9b,0x4a,0x5f,0x93,0x9c,0xad,
  2160. 0x6a,0xc5,0x70,0x4e,0x5e,0x58
  2161. };
  2162. __fips_constseg
  2163. static const unsigned char p_256_sha224_pr_additionalinput2[] =
  2164. {
  2165. 0x4a,0x85,0x19,0xb2,0x61,0x5d,0xd5,0xc0,0x1f,0x47,0x72,0x8b,
  2166. 0x62,0x35,0x19,0xc1
  2167. };
  2168. __fips_constseg
  2169. static const unsigned char p_256_sha224_pr_entropyinputpr2[] =
  2170. {
  2171. 0xda,0xa7,0x84,0x3f,0xfa,0xf9,0xd1,0x51,0x17,0xf8,0xe3,0x77,
  2172. 0xf5,0x20,0x37,0x17
  2173. };
  2174. __fips_constseg
  2175. static const unsigned char p_256_sha224_pr_returnedbits[] =
  2176. {
  2177. 0x15,0xa4,0xa1,0x53,0x4f,0x63,0x06,0xfe,0x28,0xfd,0x58,0xa9,
  2178. 0xac,0x9c,0x83,0xb7,0x3a,0x86,0x82,0x92,0x96,0x89,0xea,0x3d,
  2179. 0xbd,0x83,0x3a,0x06,0x2a,0x7d
  2180. };
  2181. /* P-256 SHA-224 No PR */
  2182. __fips_constseg
  2183. static const unsigned char p_256_sha224_entropyinput[] =
  2184. {
  2185. 0xec,0x5b,0x46,0x4a,0xe1,0xe1,0xcb,0x31,0x86,0xa7,0x11,0x3a,
  2186. 0xff,0x87,0x4a,0x66
  2187. };
  2188. __fips_constseg
  2189. static const unsigned char p_256_sha224_nonce[] =
  2190. {
  2191. 0xd1,0x6c,0x33,0x3c,0x37,0xc9,0xc6,0xac
  2192. };
  2193. __fips_constseg
  2194. static const unsigned char p_256_sha224_personalizationstring[] =
  2195. {
  2196. 0x8b,0xfe,0x68,0x96,0x2d,0xc5,0x91,0xb3,0xf2,0xaa,0x15,0xad,
  2197. 0x1a,0x50,0x0c,0x0a
  2198. };
  2199. __fips_constseg
  2200. static const unsigned char p_256_sha224_additionalinput[] =
  2201. {
  2202. 0xd4,0x48,0xfd,0x16,0x41,0xea,0xef,0x06,0x7f,0x4a,0xa2,0x60,
  2203. 0x60,0x31,0x20,0x5d
  2204. };
  2205. __fips_constseg
  2206. static const unsigned char p_256_sha224_int_returnedbits[] =
  2207. {
  2208. 0x68,0x64,0x67,0x0c,0x73,0x08,0x00,0x60,0x5a,0xa6,0x9a,0x27,
  2209. 0x01,0x81,0xae,0x2e,0x1d,0xa6,0x0a,0x86,0x77,0xef,0x05,0x3f,
  2210. 0x42,0xbe,0x46,0x73,0x40,0x1c
  2211. };
  2212. __fips_constseg
  2213. static const unsigned char p_256_sha224_entropyinputreseed[] =
  2214. {
  2215. 0x9c,0xde,0x86,0x11,0x55,0x9a,0xb4,0x2b,0x70,0xf0,0xc6,0x9d,
  2216. 0x8d,0x3a,0xc3,0x1e
  2217. };
  2218. __fips_constseg
  2219. static const unsigned char p_256_sha224_additionalinputreseed[] =
  2220. {
  2221. 0x5d,0x5b,0xeb,0x38,0xc5,0x8b,0x2b,0xc8,0x73,0xe3,0x0e,0xca,
  2222. 0x35,0xb0,0x4d,0x11
  2223. };
  2224. __fips_constseg
  2225. static const unsigned char p_256_sha224_additionalinput2[] =
  2226. {
  2227. 0xf7,0xa3,0x79,0x4b,0xb0,0x2c,0x1e,0xc6,0x61,0x69,0x14,0x6a,
  2228. 0xed,0xf1,0xa2,0xd8
  2229. };
  2230. __fips_constseg
  2231. static const unsigned char p_256_sha224_returnedbits[] =
  2232. {
  2233. 0x89,0x75,0x1b,0x89,0x20,0xcc,0xe2,0xaf,0xae,0x5e,0xc1,0xa9,
  2234. 0xde,0xc0,0x35,0x0b,0xf6,0x4e,0x04,0xfc,0xa7,0xe6,0x35,0xf9,
  2235. 0x16,0x8a,0xc6,0x0c,0x63,0x6b
  2236. };
  2237. /* P-256 SHA-256 PR */
  2238. __fips_constseg
  2239. static const unsigned char p_256_sha256_pr_entropyinput[] =
  2240. {
  2241. 0x22,0xe4,0x4c,0x01,0x94,0x59,0xce,0x08,0xb3,0x92,0x48,0xe2,
  2242. 0x0d,0x1a,0x32,0x4d
  2243. };
  2244. __fips_constseg
  2245. static const unsigned char p_256_sha256_pr_nonce[] =
  2246. {
  2247. 0x8d,0xf9,0x20,0x8a,0x65,0xf4,0x93,0x37
  2248. };
  2249. __fips_constseg
  2250. static const unsigned char p_256_sha256_pr_personalizationstring[] =
  2251. {
  2252. 0x06,0x7e,0xe8,0x4f,0xdd,0xae,0x8d,0xf1,0xc9,0x13,0x9a,0x81,
  2253. 0xd3,0x68,0x76,0xc1
  2254. };
  2255. __fips_constseg
  2256. static const unsigned char p_256_sha256_pr_additionalinput[] =
  2257. {
  2258. 0xfa,0x8e,0xea,0xf3,0xcf,0xda,0x7c,0x11,0x88,0xaa,0xb9,0x02,
  2259. 0x84,0xc4,0x30,0x54
  2260. };
  2261. __fips_constseg
  2262. static const unsigned char p_256_sha256_pr_entropyinputpr[] =
  2263. {
  2264. 0xbb,0x21,0x72,0x4f,0x83,0x03,0x14,0x18,0x8e,0x88,0xec,0x73,
  2265. 0xde,0xed,0x60,0xf7
  2266. };
  2267. __fips_constseg
  2268. static const unsigned char p_256_sha256_pr_int_returnedbits[] =
  2269. {
  2270. 0xdc,0x40,0x73,0x5e,0x1d,0x21,0x35,0x8c,0xcf,0xa4,0x50,0x05,
  2271. 0x5e,0x73,0xbd,0xde,0x5e,0x58,0xcc,0xc0,0x6f,0xd9,0xca,0x8d,
  2272. 0x48,0x9d,0x84,0x77,0xc2,0x8e
  2273. };
  2274. __fips_constseg
  2275. static const unsigned char p_256_sha256_pr_additionalinput2[] =
  2276. {
  2277. 0x0e,0xa7,0x4d,0x4f,0x19,0x94,0x34,0x05,0x46,0x3e,0x0c,0x05,
  2278. 0x27,0x85,0xd9,0xdf
  2279. };
  2280. __fips_constseg
  2281. static const unsigned char p_256_sha256_pr_entropyinputpr2[] =
  2282. {
  2283. 0x4f,0xae,0x44,0x10,0x2b,0xa1,0xbc,0xd7,0xcb,0xa7,0x49,0x55,
  2284. 0x27,0x54,0x36,0x2b
  2285. };
  2286. __fips_constseg
  2287. static const unsigned char p_256_sha256_pr_returnedbits[] =
  2288. {
  2289. 0x1c,0x16,0xf7,0x2b,0xd0,0xb7,0x54,0x5a,0xa5,0x85,0x14,0x63,
  2290. 0xd4,0x96,0x81,0x5a,0x6b,0xa4,0xde,0x57,0xbf,0xf3,0x81,0xc7,
  2291. 0xf5,0xbc,0xeb,0x4e,0x49,0xdf
  2292. };
  2293. /* P-256 SHA-256 No PR */
  2294. __fips_constseg
  2295. static const unsigned char p_256_sha256_entropyinput[] =
  2296. {
  2297. 0xa7,0x0b,0x6b,0xf7,0xfb,0x40,0x1a,0xca,0xa9,0x1f,0x16,0xc9,
  2298. 0x6a,0xd0,0x4a,0x8c
  2299. };
  2300. __fips_constseg
  2301. static const unsigned char p_256_sha256_nonce[] =
  2302. {
  2303. 0x97,0x8e,0xb1,0x72,0xe8,0x30,0xfc,0x43
  2304. };
  2305. __fips_constseg
  2306. static const unsigned char p_256_sha256_personalizationstring[] =
  2307. {
  2308. 0x6c,0x90,0x00,0x41,0x84,0x7c,0x58,0x56,0x48,0xf0,0x60,0x04,
  2309. 0xe9,0xc0,0xa0,0xd8
  2310. };
  2311. __fips_constseg
  2312. static const unsigned char p_256_sha256_additionalinput[] =
  2313. {
  2314. 0x69,0xad,0xd7,0x7c,0xbd,0x90,0xa1,0x63,0xcd,0x64,0x7c,0xb3,
  2315. 0xce,0xff,0xf2,0xf7
  2316. };
  2317. __fips_constseg
  2318. static const unsigned char p_256_sha256_int_returnedbits[] =
  2319. {
  2320. 0xe8,0x5a,0x4f,0x5d,0xab,0xc7,0xd2,0x94,0x4d,0xbf,0x02,0x57,
  2321. 0xa1,0x89,0x73,0xa1,0xc2,0xca,0xfb,0x46,0x11,0x41,0x47,0x8e,
  2322. 0x32,0x45,0xd7,0x8a,0x8a,0x38
  2323. };
  2324. __fips_constseg
  2325. static const unsigned char p_256_sha256_entropyinputreseed[] =
  2326. {
  2327. 0x5c,0xb4,0x82,0x38,0xa2,0x2d,0x78,0x63,0x2a,0x38,0x77,0x5b,
  2328. 0x9a,0x59,0x4d,0x17
  2329. };
  2330. __fips_constseg
  2331. static const unsigned char p_256_sha256_additionalinputreseed[] =
  2332. {
  2333. 0x43,0x28,0x7f,0x91,0x92,0xad,0x88,0x75,0x64,0xe5,0xef,0x95,
  2334. 0x59,0xa9,0x11,0x61
  2335. };
  2336. __fips_constseg
  2337. static const unsigned char p_256_sha256_additionalinput2[] =
  2338. {
  2339. 0x77,0xee,0xfc,0x84,0x5b,0x69,0xdf,0x9f,0x7e,0xf2,0xb1,0x35,
  2340. 0x34,0x28,0x8f,0xcd
  2341. };
  2342. __fips_constseg
  2343. static const unsigned char p_256_sha256_returnedbits[] =
  2344. {
  2345. 0x2d,0x45,0x00,0x60,0x87,0x6c,0xfa,0x69,0x06,0x9e,0x99,0xf9,
  2346. 0xf6,0xb6,0x1e,0xf6,0xfb,0x6b,0x54,0x68,0x1a,0xd3,0xda,0x31,
  2347. 0x3e,0x60,0x4a,0x31,0x7d,0x41
  2348. };
  2349. /* P-256 SHA-384 PR */
  2350. __fips_constseg
  2351. static const unsigned char p_256_sha384_pr_entropyinput[] =
  2352. {
  2353. 0xb3,0x6a,0x1b,0x68,0xe3,0x8a,0xa4,0xad,0x2d,0xa0,0x6a,0xae,
  2354. 0x10,0xe5,0x55,0x58
  2355. };
  2356. __fips_constseg
  2357. static const unsigned char p_256_sha384_pr_nonce[] =
  2358. {
  2359. 0xe2,0xe8,0xd4,0x8d,0xc8,0x47,0xad,0x79
  2360. };
  2361. __fips_constseg
  2362. static const unsigned char p_256_sha384_pr_personalizationstring[] =
  2363. {
  2364. 0xf9,0xbb,0xac,0xe9,0xd9,0x8a,0x58,0xae,0x58,0xa6,0x68,0xd2,
  2365. 0xff,0x49,0x71,0x08
  2366. };
  2367. __fips_constseg
  2368. static const unsigned char p_256_sha384_pr_additionalinput[] =
  2369. {
  2370. 0xa7,0xa3,0xcc,0xc1,0xbf,0xa7,0x32,0xe8,0xcb,0x21,0xf4,0x35,
  2371. 0x42,0xa6,0xdd,0x4b
  2372. };
  2373. __fips_constseg
  2374. static const unsigned char p_256_sha384_pr_entropyinputpr[] =
  2375. {
  2376. 0x37,0xdb,0x5a,0x83,0x9c,0x7a,0x50,0xe3,0xc7,0xbd,0x50,0x63,
  2377. 0x88,0x44,0xa1,0x50
  2378. };
  2379. __fips_constseg
  2380. static const unsigned char p_256_sha384_pr_int_returnedbits[] =
  2381. {
  2382. 0x65,0x3a,0xdd,0x95,0x3a,0x52,0xd7,0x7f,0x8d,0x81,0x1b,0x53,
  2383. 0x4e,0xa9,0x5b,0x80,0xa2,0x08,0x1e,0xf5,0x7f,0xac,0x62,0x28,
  2384. 0xbc,0x1c,0x02,0xd2,0xe9,0x1e
  2385. };
  2386. __fips_constseg
  2387. static const unsigned char p_256_sha384_pr_additionalinput2[] =
  2388. {
  2389. 0xb3,0xff,0xbc,0x54,0x38,0x49,0x1f,0xad,0x3f,0x33,0x5f,0x45,
  2390. 0x21,0x2f,0xcf,0xba
  2391. };
  2392. __fips_constseg
  2393. static const unsigned char p_256_sha384_pr_entropyinputpr2[] =
  2394. {
  2395. 0x43,0x37,0x4a,0x16,0x15,0x1d,0x3d,0xa9,0x3b,0xcf,0xbb,0x73,
  2396. 0x67,0xce,0x93,0xbf
  2397. };
  2398. __fips_constseg
  2399. static const unsigned char p_256_sha384_pr_returnedbits[] =
  2400. {
  2401. 0x1e,0x1b,0x69,0x67,0xb8,0xd7,0xb4,0x18,0xb8,0xa0,0x11,0xc7,
  2402. 0x5f,0xd7,0x14,0xb7,0x24,0xae,0xa5,0x35,0x06,0xa0,0xd0,0x7f,
  2403. 0xcd,0x9b,0x20,0x03,0x66,0xc0
  2404. };
  2405. /* P-256 SHA-384 No PR */
  2406. __fips_constseg
  2407. static const unsigned char p_256_sha384_entropyinput[] =
  2408. {
  2409. 0x1c,0x0d,0xa7,0x27,0x1f,0xb4,0xa2,0x4a,0xe5,0x25,0x00,0xbe,
  2410. 0xbe,0x80,0x88,0xa8
  2411. };
  2412. __fips_constseg
  2413. static const unsigned char p_256_sha384_nonce[] =
  2414. {
  2415. 0x2c,0x7e,0x21,0x02,0x46,0x9e,0xe5,0xae
  2416. };
  2417. __fips_constseg
  2418. static const unsigned char p_256_sha384_personalizationstring[] =
  2419. {
  2420. 0x0a,0xf6,0x83,0xa9,0x7b,0x97,0x20,0x60,0xcc,0x46,0x0e,0x52,
  2421. 0xd0,0xcb,0x57,0xb5
  2422. };
  2423. __fips_constseg
  2424. static const unsigned char p_256_sha384_additionalinput[] =
  2425. {
  2426. 0xac,0xd8,0x25,0xef,0x85,0xa8,0x5e,0x55,0x89,0x5b,0x6e,0xf6,
  2427. 0x4d,0x4d,0x05,0x53
  2428. };
  2429. __fips_constseg
  2430. static const unsigned char p_256_sha384_int_returnedbits[] =
  2431. {
  2432. 0x5c,0x71,0x32,0x2f,0x34,0x09,0x99,0x6a,0x4e,0x55,0xaf,0x4b,
  2433. 0x73,0x32,0xb5,0xad,0x52,0x4c,0x54,0xa0,0x25,0x3b,0xd9,0x70,
  2434. 0xe5,0xe4,0x6f,0x61,0xab,0x8c
  2435. };
  2436. __fips_constseg
  2437. static const unsigned char p_256_sha384_entropyinputreseed[] =
  2438. {
  2439. 0x4b,0x0d,0xa9,0x66,0xc3,0x64,0xe9,0xd5,0x87,0xb1,0x98,0xc2,
  2440. 0xeb,0x14,0xd2,0x8a
  2441. };
  2442. __fips_constseg
  2443. static const unsigned char p_256_sha384_additionalinputreseed[] =
  2444. {
  2445. 0x1f,0x11,0x6b,0xc0,0x15,0x38,0xbd,0x62,0x27,0xf7,0x6d,0x97,
  2446. 0x77,0xd1,0xcc,0x00
  2447. };
  2448. __fips_constseg
  2449. static const unsigned char p_256_sha384_additionalinput2[] =
  2450. {
  2451. 0x1d,0x9a,0xe5,0xfc,0xed,0x93,0x3d,0xbb,0x08,0xf3,0xba,0x01,
  2452. 0x6f,0x9f,0xdf,0xb1
  2453. };
  2454. __fips_constseg
  2455. static const unsigned char p_256_sha384_returnedbits[] =
  2456. {
  2457. 0x4a,0xd5,0xd3,0x62,0xbb,0x6e,0x6c,0xb2,0x1c,0x0e,0xf6,0x97,
  2458. 0xd3,0x15,0x18,0xb5,0x42,0x59,0xc4,0xf6,0xa9,0x8f,0x1b,0xff,
  2459. 0xaa,0xf8,0xf9,0x9c,0xba,0x47
  2460. };
  2461. /* P-256 SHA-512 PR */
  2462. __fips_constseg
  2463. static const unsigned char p_256_sha512_pr_entropyinput[] =
  2464. {
  2465. 0x73,0x83,0x07,0x93,0x85,0x39,0x2f,0x96,0xcd,0x74,0x32,0x4d,
  2466. 0x68,0x0e,0x97,0x9d
  2467. };
  2468. __fips_constseg
  2469. static const unsigned char p_256_sha512_pr_nonce[] =
  2470. {
  2471. 0xab,0xc6,0xf4,0x38,0x72,0x9b,0x9f,0x36
  2472. };
  2473. __fips_constseg
  2474. static const unsigned char p_256_sha512_pr_personalizationstring[] =
  2475. {
  2476. 0x88,0x8e,0xc1,0xaf,0xe9,0x1b,0x8a,0xf5,0xf2,0x23,0x44,0x71,
  2477. 0xf5,0x9a,0xed,0x5e
  2478. };
  2479. __fips_constseg
  2480. static const unsigned char p_256_sha512_pr_additionalinput[] =
  2481. {
  2482. 0x38,0xf7,0x2b,0x11,0x7b,0xd6,0xfa,0xbd,0x07,0x42,0x46,0x77,
  2483. 0xed,0x1b,0x3f,0x95
  2484. };
  2485. __fips_constseg
  2486. static const unsigned char p_256_sha512_pr_entropyinputpr[] =
  2487. {
  2488. 0x52,0xf2,0x68,0x6d,0xc9,0x1b,0xc7,0xb0,0x52,0x07,0x69,0x79,
  2489. 0x25,0x5d,0xbb,0xdb
  2490. };
  2491. __fips_constseg
  2492. static const unsigned char p_256_sha512_pr_int_returnedbits[] =
  2493. {
  2494. 0x23,0xa6,0x84,0x48,0x4f,0xd3,0x1f,0x56,0x57,0xae,0x50,0xea,
  2495. 0x9f,0x2b,0x47,0x80,0x6a,0x46,0x10,0x54,0x1d,0x77,0x67,0x79,
  2496. 0x45,0xbb,0x1d,0x90,0x2c,0xce
  2497. };
  2498. __fips_constseg
  2499. static const unsigned char p_256_sha512_pr_additionalinput2[] =
  2500. {
  2501. 0x9c,0x46,0x61,0x85,0x2c,0x9e,0x2c,0xd0,0x4d,0xcd,0x73,0x78,
  2502. 0x08,0x8d,0x49,0x5b
  2503. };
  2504. __fips_constseg
  2505. static const unsigned char p_256_sha512_pr_entropyinputpr2[] =
  2506. {
  2507. 0x71,0x60,0x46,0x14,0xc1,0xaa,0x21,0xc8,0xf1,0xfe,0x32,0x90,
  2508. 0x46,0xfd,0xe9,0x80
  2509. };
  2510. __fips_constseg
  2511. static const unsigned char p_256_sha512_pr_returnedbits[] =
  2512. {
  2513. 0x7a,0x30,0x7d,0x6e,0xb1,0x22,0xb9,0x68,0x7d,0x00,0x14,0x63,
  2514. 0xca,0xe2,0x06,0x03,0xe0,0x94,0xbb,0x45,0x14,0x2d,0xd2,0xd1,
  2515. 0xfb,0x35,0xfd,0xe6,0xf1,0x81
  2516. };
  2517. /* P-256 SHA-512 No PR */
  2518. __fips_constseg
  2519. static const unsigned char p_256_sha512_entropyinput[] =
  2520. {
  2521. 0x55,0xd0,0x7f,0xb7,0x23,0x81,0x95,0x38,0xa7,0xbf,0x01,0x8d,
  2522. 0x06,0x8b,0xbc,0x47
  2523. };
  2524. __fips_constseg
  2525. static const unsigned char p_256_sha512_nonce[] =
  2526. {
  2527. 0x96,0xab,0x85,0xba,0x88,0x7b,0xf5,0x6e
  2528. };
  2529. __fips_constseg
  2530. static const unsigned char p_256_sha512_personalizationstring[] =
  2531. {
  2532. 0xea,0x25,0x60,0xd0,0x5d,0xd8,0x9c,0x8d,0x43,0x23,0x49,0x0a,
  2533. 0xd5,0x57,0xf3,0x54
  2534. };
  2535. __fips_constseg
  2536. static const unsigned char p_256_sha512_additionalinput[] =
  2537. {
  2538. 0x8e,0xe8,0xfd,0x2e,0xcd,0x27,0xc6,0x7e,0x7a,0xf8,0xe7,0x11,
  2539. 0xb8,0x0d,0x20,0x36
  2540. };
  2541. __fips_constseg
  2542. static const unsigned char p_256_sha512_int_returnedbits[] =
  2543. {
  2544. 0x57,0x18,0x20,0x51,0xd7,0x57,0x13,0xb0,0xa0,0x8f,0x92,0xd2,
  2545. 0xf5,0xa0,0x85,0xf3,0xac,0x64,0xb7,0x6b,0x94,0xde,0x9f,0xda,
  2546. 0x0a,0x04,0x11,0xdf,0x52,0x27
  2547. };
  2548. __fips_constseg
  2549. static const unsigned char p_256_sha512_entropyinputreseed[] =
  2550. {
  2551. 0x89,0x1d,0x17,0x0c,0xe4,0x82,0x34,0xe7,0x81,0x6c,0x47,0x47,
  2552. 0xc6,0x49,0x50,0x3e
  2553. };
  2554. __fips_constseg
  2555. static const unsigned char p_256_sha512_additionalinputreseed[] =
  2556. {
  2557. 0xe7,0xe4,0x88,0x00,0xa7,0xc9,0xb7,0x6b,0x70,0xda,0xe3,0xf0,
  2558. 0x44,0xa9,0x02,0xf6
  2559. };
  2560. __fips_constseg
  2561. static const unsigned char p_256_sha512_additionalinput2[] =
  2562. {
  2563. 0x09,0x9f,0xd2,0xe8,0xb2,0x0e,0x6e,0x89,0xf5,0x73,0x1c,0x1f,
  2564. 0x93,0xf2,0x76,0xb2
  2565. };
  2566. __fips_constseg
  2567. static const unsigned char p_256_sha512_returnedbits[] =
  2568. {
  2569. 0xdd,0x42,0x2a,0x7b,0x4f,0x84,0x07,0xfa,0x4d,0x17,0x9a,0x2e,
  2570. 0x48,0xba,0xbf,0xc5,0x1c,0x42,0xc7,0xc3,0x63,0x4f,0x79,0xb0,
  2571. 0xc1,0x54,0x1d,0xa6,0x0a,0x1c
  2572. };
  2573. /* P-384 SHA-224 PR */
  2574. __fips_constseg
  2575. static const unsigned char p_384_sha224_pr_entropyinput[] =
  2576. {
  2577. 0x34,0xf0,0x89,0xac,0x46,0x33,0xe2,0x7f,0x8c,0x02,0x65,0x09,
  2578. 0xe1,0xcf,0x93,0x5b,0x10,0xbc,0xb0,0x43,0x4f,0xc7,0x62,0x19
  2579. };
  2580. __fips_constseg
  2581. static const unsigned char p_384_sha224_pr_nonce[] =
  2582. {
  2583. 0x55,0x30,0xdf,0xa9,0xfb,0xbe,0x4a,0x2e,0x1d,0x03,0xf5,0x91
  2584. };
  2585. __fips_constseg
  2586. static const unsigned char p_384_sha224_pr_personalizationstring[] =
  2587. {
  2588. 0x35,0xc7,0x3a,0x7b,0x5a,0x4e,0xd4,0x1a,0x82,0xe2,0xf5,0xed,
  2589. 0x40,0x61,0x4b,0xf4,0xb9,0xcf,0xd0,0xc1,0xe2,0x41,0x23,0x04
  2590. };
  2591. __fips_constseg
  2592. static const unsigned char p_384_sha224_pr_additionalinput[] =
  2593. {
  2594. 0xec,0xef,0x64,0xfb,0x92,0xbb,0xdf,0x8b,0xc8,0xf2,0xad,0xd8,
  2595. 0x93,0x21,0x6f,0x11,0xde,0x37,0x52,0xe3,0x16,0x49,0xc7,0xe1
  2596. };
  2597. __fips_constseg
  2598. static const unsigned char p_384_sha224_pr_entropyinputpr[] =
  2599. {
  2600. 0x59,0xb0,0x7e,0x34,0x49,0x29,0x7e,0x91,0x92,0x91,0x0c,0xca,
  2601. 0x8e,0x31,0x62,0x06,0xab,0xf4,0x81,0x80,0xa4,0x55,0x8f,0x0f
  2602. };
  2603. __fips_constseg
  2604. static const unsigned char p_384_sha224_pr_int_returnedbits[] =
  2605. {
  2606. 0x29,0xd9,0x3a,0x95,0xb1,0x34,0xff,0x73,0x06,0x1e,0x08,0x43,
  2607. 0xd7,0x1d,0x53,0xd1,0xcf,0x09,0xd2,0x83,0x04,0x44,0x29,0x9d,
  2608. 0x0d,0x18,0x76,0x94,0xa8,0x98,0xb4,0xc1,0xb0,0x31,0xbc,0xe6,
  2609. 0xf0,0xc7,0x57,0x35,0x5d,0x32,0x78,0x9e,0x1d,0x2a
  2610. };
  2611. __fips_constseg
  2612. static const unsigned char p_384_sha224_pr_additionalinput2[] =
  2613. {
  2614. 0x56,0x8c,0x6f,0x29,0xd6,0x25,0x9f,0xb8,0x6a,0x1d,0x70,0x5f,
  2615. 0x6a,0xe7,0xe2,0x2e,0xcc,0x6b,0x78,0x0a,0x3f,0x54,0x73,0x97
  2616. };
  2617. __fips_constseg
  2618. static const unsigned char p_384_sha224_pr_entropyinputpr2[] =
  2619. {
  2620. 0xe3,0x91,0x20,0x13,0x78,0xc6,0x01,0xfd,0x82,0xd7,0x43,0x1e,
  2621. 0xed,0x85,0x4a,0xe2,0x0c,0x6f,0xdc,0x43,0x5f,0x7c,0xfd,0xd0
  2622. };
  2623. __fips_constseg
  2624. static const unsigned char p_384_sha224_pr_returnedbits[] =
  2625. {
  2626. 0x89,0xa9,0x17,0xd8,0xcb,0x73,0x17,0x69,0x78,0x69,0x50,0x58,
  2627. 0x74,0xe4,0x8c,0x6f,0x5c,0xfa,0x6e,0x01,0xb3,0xf0,0xce,0xa9,
  2628. 0xd0,0xc0,0x40,0xb3,0x20,0x78,0xe2,0xdb,0xec,0x1f,0x73,0xea,
  2629. 0x2e,0xa6,0xf1,0xc8,0xfe,0x7c,0xe7,0x68,0xf7,0x86
  2630. };
  2631. /* P-384 SHA-224 No PR */
  2632. __fips_constseg
  2633. static const unsigned char p_384_sha224_entropyinput[] =
  2634. {
  2635. 0x44,0x2c,0xc3,0xc6,0x20,0xe6,0x61,0xec,0xd1,0x2b,0xdf,0x18,
  2636. 0x2e,0xc5,0x4a,0xd4,0x80,0x55,0xbd,0x54,0x89,0x01,0x7b,0xbb
  2637. };
  2638. __fips_constseg
  2639. static const unsigned char p_384_sha224_nonce[] =
  2640. {
  2641. 0x16,0x27,0x4b,0xb3,0x0f,0x01,0xd0,0xe6,0x9f,0x5c,0x44,0xa4
  2642. };
  2643. __fips_constseg
  2644. static const unsigned char p_384_sha224_personalizationstring[] =
  2645. {
  2646. 0x55,0x26,0x3e,0xee,0xaa,0x1b,0x35,0x27,0xef,0x18,0x28,0x62,
  2647. 0x51,0x1e,0xbc,0x4c,0x64,0x0d,0xf8,0x20,0xe6,0x0a,0x1d,0xaa
  2648. };
  2649. __fips_constseg
  2650. static const unsigned char p_384_sha224_additionalinput[] =
  2651. {
  2652. 0x27,0x08,0x22,0x32,0x4a,0xd6,0xc6,0x51,0xff,0xc5,0xb7,0x8f,
  2653. 0xb4,0x3e,0xa0,0x6e,0xe2,0x55,0xa1,0xf1,0x2e,0x0d,0x89,0x91
  2654. };
  2655. __fips_constseg
  2656. static const unsigned char p_384_sha224_int_returnedbits[] =
  2657. {
  2658. 0x85,0x0e,0xe3,0xde,0xed,0x40,0xdc,0xec,0x9a,0x2d,0x65,0x24,
  2659. 0x2b,0x56,0xd6,0xce,0x7c,0x40,0x07,0xe5,0x61,0x64,0xe5,0xac,
  2660. 0x6e,0x48,0xa3,0xda,0x7d,0x4c,0xd6,0x7d,0xd0,0x69,0xa8,0x93,
  2661. 0xa7,0xb1,0x91,0xba,0x0d,0x81,0x8f,0x04,0xaf,0x91
  2662. };
  2663. __fips_constseg
  2664. static const unsigned char p_384_sha224_entropyinputreseed[] =
  2665. {
  2666. 0x27,0x57,0xc2,0x22,0xa6,0x70,0xb9,0x74,0x86,0x59,0x8c,0xff,
  2667. 0x7d,0x10,0x0c,0xe3,0x24,0xf1,0x95,0xbd,0x99,0x84,0xca,0x11
  2668. };
  2669. __fips_constseg
  2670. static const unsigned char p_384_sha224_additionalinputreseed[] =
  2671. {
  2672. 0x5a,0xc3,0x47,0x2c,0x9c,0x1d,0xe0,0x43,0x3b,0x1b,0x01,0xed,
  2673. 0x86,0x5d,0x1b,0x3f,0x45,0xb1,0x8e,0xa9,0x79,0x7b,0x88,0x01
  2674. };
  2675. __fips_constseg
  2676. static const unsigned char p_384_sha224_additionalinput2[] =
  2677. {
  2678. 0x7d,0x48,0x91,0xda,0x00,0x60,0x33,0x2c,0x22,0xe4,0x42,0x61,
  2679. 0xbc,0x70,0x05,0x73,0x22,0x23,0x42,0xda,0x7a,0x2b,0xba,0xbb
  2680. };
  2681. __fips_constseg
  2682. static const unsigned char p_384_sha224_returnedbits[] =
  2683. {
  2684. 0xfa,0x7d,0x7b,0x35,0x32,0xbe,0x44,0x91,0x90,0xd2,0x69,0x9a,
  2685. 0x06,0xb8,0x52,0x3e,0x3b,0xcf,0x1e,0x81,0xd3,0x20,0x5f,0x5b,
  2686. 0x55,0xb6,0xb3,0xc9,0x6b,0xc7,0x0c,0xf1,0xa7,0xbd,0x4a,0x83,
  2687. 0x25,0x50,0xc3,0x78,0x3f,0x4e,0xe9,0xed,0x6c,0x4c
  2688. };
  2689. /* P-384 SHA-256 PR */
  2690. __fips_constseg
  2691. static const unsigned char p_384_sha256_pr_entropyinput[] =
  2692. {
  2693. 0xc6,0xd0,0xc7,0xa3,0x7e,0x2b,0x8c,0xd6,0x23,0xe9,0x9e,0x1f,
  2694. 0x77,0x30,0xed,0x6a,0xfc,0xe4,0x7b,0xf0,0x6f,0xd6,0xfe,0x05
  2695. };
  2696. __fips_constseg
  2697. static const unsigned char p_384_sha256_pr_nonce[] =
  2698. {
  2699. 0x67,0x91,0xca,0x93,0xc8,0x1e,0x93,0x13,0x00,0x72,0x4e,0xa2
  2700. };
  2701. __fips_constseg
  2702. static const unsigned char p_384_sha256_pr_personalizationstring[] =
  2703. {
  2704. 0xa5,0x5b,0x6e,0xeb,0xc9,0x0d,0x42,0x0b,0x41,0xec,0x0b,0x9e,
  2705. 0xde,0xc1,0x80,0x4d,0xe3,0x86,0xa0,0xfe,0x7e,0x92,0x47,0xa3
  2706. };
  2707. __fips_constseg
  2708. static const unsigned char p_384_sha256_pr_additionalinput[] =
  2709. {
  2710. 0x9a,0x04,0xa9,0x78,0x48,0xa8,0x77,0x0f,0x38,0x2a,0x54,0x66,
  2711. 0x34,0xaa,0x31,0xbd,0xf6,0xfb,0xc1,0x14,0xa5,0xcb,0x1c,0xf2
  2712. };
  2713. __fips_constseg
  2714. static const unsigned char p_384_sha256_pr_entropyinputpr[] =
  2715. {
  2716. 0x19,0x6c,0x48,0xf5,0x64,0xb3,0xb4,0x49,0x6e,0xb8,0xc4,0x8b,
  2717. 0xab,0xba,0xb5,0x8e,0xa3,0xf1,0x6e,0xe9,0xf6,0x37,0xa1,0x46
  2718. };
  2719. __fips_constseg
  2720. static const unsigned char p_384_sha256_pr_int_returnedbits[] =
  2721. {
  2722. 0xfd,0x04,0x26,0x4f,0xbd,0x84,0xe3,0x54,0xb2,0x9b,0xb1,0x84,
  2723. 0x66,0x5f,0x02,0xc0,0xcc,0x69,0x7e,0x4d,0x4f,0xc4,0x00,0x8e,
  2724. 0x13,0x5d,0xe9,0x0f,0x98,0x71,0xe8,0x7f,0x50,0xd1,0x49,0xc8,
  2725. 0xae,0x71,0xe9,0x60,0x94,0x90,0xce,0x6d,0xba,0xab
  2726. };
  2727. __fips_constseg
  2728. static const unsigned char p_384_sha256_pr_additionalinput2[] =
  2729. {
  2730. 0x4d,0x27,0x90,0x17,0x81,0x74,0x4f,0xa4,0x40,0xdf,0x42,0x29,
  2731. 0xc5,0x37,0xf1,0x31,0x89,0x90,0x27,0x8a,0x96,0xcc,0x68,0x6e
  2732. };
  2733. __fips_constseg
  2734. static const unsigned char p_384_sha256_pr_entropyinputpr2[] =
  2735. {
  2736. 0x1d,0xbe,0xdf,0x39,0xd8,0x82,0xb2,0x8f,0x7f,0x90,0xac,0x19,
  2737. 0xc8,0x65,0xf2,0x5a,0xff,0x4e,0xbb,0xcf,0xcd,0xce,0x2c,0xfd
  2738. };
  2739. __fips_constseg
  2740. static const unsigned char p_384_sha256_pr_returnedbits[] =
  2741. {
  2742. 0x45,0x63,0xac,0xb5,0x1e,0x49,0x99,0x67,0x89,0xd4,0x9c,0xa9,
  2743. 0xf8,0x5a,0x05,0x0d,0xeb,0xe6,0xc7,0x78,0x8e,0xf1,0xec,0xe3,
  2744. 0xc8,0x52,0xf1,0xfa,0x0f,0xd0,0xd7,0xbe,0x8a,0x34,0x0a,0x1f,
  2745. 0x38,0x42,0xc6,0xac,0x61,0xd4,0x32,0xc5,0xd2,0x15
  2746. };
  2747. /* P-384 SHA-256 No PR */
  2748. __fips_constseg
  2749. static const unsigned char p_384_sha256_entropyinput[] =
  2750. {
  2751. 0x52,0x92,0xc4,0xac,0xce,0xf5,0x35,0xa4,0x15,0xdb,0xa9,0xe1,
  2752. 0xbc,0x7b,0x08,0xa5,0x27,0x16,0xe3,0x50,0x08,0x2d,0x09,0x2d
  2753. };
  2754. __fips_constseg
  2755. static const unsigned char p_384_sha256_nonce[] =
  2756. {
  2757. 0xe8,0x14,0x2b,0xee,0xba,0xac,0xe0,0x25,0xd0,0x3b,0x78,0xc5
  2758. };
  2759. __fips_constseg
  2760. static const unsigned char p_384_sha256_personalizationstring[] =
  2761. {
  2762. 0x28,0x0c,0x86,0x48,0x5e,0xca,0xfa,0x89,0x1f,0x58,0xb8,0x2c,
  2763. 0x41,0x28,0x3f,0x98,0x71,0x66,0x7b,0xb7,0x32,0xa2,0xe1,0x49
  2764. };
  2765. __fips_constseg
  2766. static const unsigned char p_384_sha256_additionalinput[] =
  2767. {
  2768. 0xdc,0x59,0xb1,0x23,0x39,0x75,0x1b,0x27,0x24,0x5f,0x7a,0x55,
  2769. 0x82,0xdc,0xdc,0xe2,0x12,0x65,0xbf,0x8a,0x65,0xdb,0x27,0xdb
  2770. };
  2771. __fips_constseg
  2772. static const unsigned char p_384_sha256_int_returnedbits[] =
  2773. {
  2774. 0xc0,0x86,0xd8,0x67,0xdd,0xe4,0xce,0x15,0x60,0xad,0x45,0x60,
  2775. 0x80,0x8b,0x5a,0xb6,0x85,0x6d,0x4a,0xdf,0x8e,0xc0,0x2d,0xbf,
  2776. 0xa9,0x8c,0x9b,0x8d,0x03,0xca,0xbf,0x3b,0x1f,0xdc,0xc1,0xac,
  2777. 0xa8,0x0f,0x45,0xd6,0x2e,0xd1,0xe6,0x29,0xb5,0x1c
  2778. };
  2779. __fips_constseg
  2780. static const unsigned char p_384_sha256_entropyinputreseed[] =
  2781. {
  2782. 0x9f,0x19,0x9f,0xc8,0x18,0x43,0xfc,0x9a,0x97,0xed,0x20,0x13,
  2783. 0xad,0xc9,0xa0,0x65,0xef,0x38,0xd6,0x2e,0xce,0x4d,0xe1,0x1d
  2784. };
  2785. __fips_constseg
  2786. static const unsigned char p_384_sha256_additionalinputreseed[] =
  2787. {
  2788. 0xa6,0x27,0x35,0x9f,0x8a,0xaa,0xf5,0xb3,0x60,0x4b,0x16,0x68,
  2789. 0xdd,0x32,0x2e,0x1b,0xb1,0x34,0x47,0x03,0x45,0x3f,0xb6,0x3e
  2790. };
  2791. __fips_constseg
  2792. static const unsigned char p_384_sha256_additionalinput2[] =
  2793. {
  2794. 0x76,0x4e,0x5c,0x75,0x33,0xa5,0x94,0x95,0xf4,0x36,0xa5,0x39,
  2795. 0x28,0xc1,0x74,0xd1,0xfa,0x1d,0x8a,0x40,0x6e,0x84,0x4e,0xc7
  2796. };
  2797. __fips_constseg
  2798. static const unsigned char p_384_sha256_returnedbits[] =
  2799. {
  2800. 0x50,0x15,0xc9,0x98,0x73,0x71,0x55,0xb7,0x7a,0xf4,0xa5,0xe7,
  2801. 0xb3,0xe2,0x24,0x2e,0x96,0x5b,0xd1,0xab,0xe8,0x51,0x1f,0xbe,
  2802. 0x3b,0x1e,0x1f,0xd4,0x18,0x2d,0x99,0xda,0xb8,0xa5,0x98,0x65,
  2803. 0x1d,0xaa,0x1e,0x46,0x8f,0x6b,0x4f,0xa2,0xd5,0xdf
  2804. };
  2805. /* P-384 SHA-384 PR */
  2806. __fips_constseg
  2807. static const unsigned char p_384_sha384_pr_entropyinput[] =
  2808. {
  2809. 0x3b,0x40,0x57,0x65,0x46,0x14,0xa5,0xf6,0x63,0x21,0xe7,0x33,
  2810. 0xd7,0x38,0xa7,0x54,0x33,0x62,0x08,0x08,0x37,0xef,0xbf,0x22
  2811. };
  2812. __fips_constseg
  2813. static const unsigned char p_384_sha384_pr_nonce[] =
  2814. {
  2815. 0xf4,0xd4,0x11,0x0a,0x4a,0xdb,0xfc,0xbb,0x08,0x7a,0x20,0x51
  2816. };
  2817. __fips_constseg
  2818. static const unsigned char p_384_sha384_pr_personalizationstring[] =
  2819. {
  2820. 0x5d,0x5b,0x9d,0xe5,0x45,0x62,0x5b,0xd0,0xa8,0x1b,0xea,0xe3,
  2821. 0xbd,0x59,0xd4,0xab,0x50,0xbe,0x5d,0x21,0x5d,0x85,0x42,0x16
  2822. };
  2823. __fips_constseg
  2824. static const unsigned char p_384_sha384_pr_additionalinput[] =
  2825. {
  2826. 0xd9,0xac,0x4b,0x76,0x18,0x46,0xba,0x30,0x88,0xdf,0x41,0xdb,
  2827. 0x72,0x9b,0x4d,0xb7,0xbb,0x12,0xd2,0xd8,0x00,0xa0,0x81,0x14
  2828. };
  2829. __fips_constseg
  2830. static const unsigned char p_384_sha384_pr_entropyinputpr[] =
  2831. {
  2832. 0x46,0x6d,0x66,0xaf,0xcf,0xb3,0x59,0x37,0x52,0x7e,0xa0,0xce,
  2833. 0x6d,0xaa,0x40,0xac,0x87,0xce,0x01,0x76,0x8f,0xac,0x49,0x42
  2834. };
  2835. __fips_constseg
  2836. static const unsigned char p_384_sha384_pr_int_returnedbits[] =
  2837. {
  2838. 0xe1,0xea,0x43,0x73,0x35,0xf8,0x1f,0x2d,0xab,0x82,0x82,0x7f,
  2839. 0x82,0xca,0x78,0xb4,0x9b,0xfd,0x89,0xbc,0x83,0xcb,0x8d,0x09,
  2840. 0x44,0xb6,0xd6,0x0c,0xd9,0x43,0x97,0x5c,0xf8,0x51,0x5d,0xe3,
  2841. 0x0c,0x36,0xe1,0xaf,0xd3,0xbd,0x43,0x08,0xb8,0x65
  2842. };
  2843. __fips_constseg
  2844. static const unsigned char p_384_sha384_pr_additionalinput2[] =
  2845. {
  2846. 0x6f,0xe5,0x27,0xa8,0x0c,0x4b,0xad,0x03,0xba,0xaa,0x70,0xc5,
  2847. 0xc6,0x4c,0xa6,0x6b,0xd9,0xb4,0x74,0x7a,0xea,0x4b,0x07,0xc8
  2848. };
  2849. __fips_constseg
  2850. static const unsigned char p_384_sha384_pr_entropyinputpr2[] =
  2851. {
  2852. 0xec,0xc8,0x0c,0x3a,0x39,0xd3,0x2e,0xa9,0xab,0x57,0x89,0x1d,
  2853. 0x85,0x23,0x54,0x40,0xdf,0x15,0xbd,0x65,0x41,0xe5,0xaf,0xfb
  2854. };
  2855. __fips_constseg
  2856. static const unsigned char p_384_sha384_pr_returnedbits[] =
  2857. {
  2858. 0x3f,0xe0,0xa9,0x90,0x8e,0x27,0x2c,0xbe,0xfe,0xdd,0x35,0x67,
  2859. 0x4e,0x9b,0x9b,0x54,0xf3,0xb9,0x53,0xf4,0x62,0x8a,0xad,0x67,
  2860. 0x3e,0x68,0x92,0xd5,0xdb,0xd7,0x8f,0xb1,0xf7,0x10,0x5e,0xc6,
  2861. 0xc3,0xe8,0x45,0x60,0xde,0x05,0x4e,0x94,0xbc,0x43
  2862. };
  2863. /* P-384 SHA-384 No PR */
  2864. __fips_constseg
  2865. static const unsigned char p_384_sha384_entropyinput[] =
  2866. {
  2867. 0x52,0x51,0xd7,0x2a,0x26,0xda,0xeb,0x5c,0xfb,0x23,0x47,0x49,
  2868. 0xf7,0x04,0xc6,0x62,0xed,0x72,0x3e,0x70,0x41,0x87,0x75,0x42
  2869. };
  2870. __fips_constseg
  2871. static const unsigned char p_384_sha384_nonce[] =
  2872. {
  2873. 0x63,0x66,0x35,0x65,0x9b,0xe5,0xd3,0xcb,0x94,0x82,0x81,0x05
  2874. };
  2875. __fips_constseg
  2876. static const unsigned char p_384_sha384_personalizationstring[] =
  2877. {
  2878. 0x52,0xa4,0xce,0x0e,0x4b,0x72,0x21,0x63,0xad,0x21,0x7f,0x60,
  2879. 0x9e,0x5d,0xa7,0xff,0xef,0xf1,0xfb,0x04,0xdb,0x30,0x5a,0x0c
  2880. };
  2881. __fips_constseg
  2882. static const unsigned char p_384_sha384_additionalinput[] =
  2883. {
  2884. 0xd7,0xde,0x8e,0xc4,0xeb,0x69,0xd2,0x2b,0xed,0x00,0x4a,0x6e,
  2885. 0x3a,0x13,0xf5,0x48,0xe4,0x83,0xad,0x81,0x4d,0x68,0xe5,0x57
  2886. };
  2887. __fips_constseg
  2888. static const unsigned char p_384_sha384_int_returnedbits[] =
  2889. {
  2890. 0xbc,0x2d,0x9b,0x3b,0xbb,0x75,0xf4,0xdf,0xda,0x0f,0x10,0x88,
  2891. 0xb4,0x95,0x4c,0xf3,0xfa,0xff,0x3d,0x30,0x53,0x0b,0xa7,0xb9,
  2892. 0x95,0x27,0xc3,0x11,0xc9,0xef,0xd4,0xfe,0x84,0x9d,0xe0,0x76,
  2893. 0xcc,0x39,0x83,0xab,0x3f,0x31,0xe7,0x6d,0x44,0x0f
  2894. };
  2895. __fips_constseg
  2896. static const unsigned char p_384_sha384_entropyinputreseed[] =
  2897. {
  2898. 0xef,0x0f,0xa7,0x4e,0x90,0xe1,0x57,0x9e,0xce,0x52,0xe1,0xa0,
  2899. 0xd3,0x0f,0x06,0xa4,0xfe,0x5d,0x55,0x60,0xe2,0xc5,0x45,0x3b
  2900. };
  2901. __fips_constseg
  2902. static const unsigned char p_384_sha384_additionalinputreseed[] =
  2903. {
  2904. 0xec,0x87,0x9e,0x8e,0x58,0xb8,0xa3,0xd3,0x3e,0x49,0x22,0xf5,
  2905. 0x68,0x5b,0x60,0x6e,0x7b,0x73,0xd5,0xa4,0x7c,0x9e,0xcd,0xba
  2906. };
  2907. __fips_constseg
  2908. static const unsigned char p_384_sha384_additionalinput2[] =
  2909. {
  2910. 0x1c,0xd2,0xce,0x30,0x31,0x8b,0xbb,0xaf,0xbb,0xa8,0xae,0x20,
  2911. 0xa3,0x6b,0xb5,0x37,0xfe,0x09,0x91,0x1a,0x63,0x33,0x29,0x8c
  2912. };
  2913. __fips_constseg
  2914. static const unsigned char p_384_sha384_returnedbits[] =
  2915. {
  2916. 0xd7,0x36,0x7b,0x33,0x50,0x6a,0x59,0xb0,0x7c,0xb3,0xc4,0xe9,
  2917. 0xc2,0x16,0x41,0x7b,0xe4,0x4c,0xd8,0x7c,0x6b,0x74,0x00,0x31,
  2918. 0xd1,0x97,0x2d,0x7a,0x97,0x22,0x45,0xe6,0xf0,0xcd,0x8e,0xa5,
  2919. 0xeb,0xab,0x37,0xd6,0xb7,0xb1,0x9c,0x42,0xfb,0xcf
  2920. };
  2921. /* P-384 SHA-512 PR */
  2922. __fips_constseg
  2923. static const unsigned char p_384_sha512_pr_entropyinput[] =
  2924. {
  2925. 0x14,0xdf,0x91,0xdb,0xad,0xe2,0x22,0xe5,0x56,0xa1,0x88,0xbd,
  2926. 0x42,0x73,0xf7,0x8d,0xdc,0x99,0x54,0x99,0x8a,0xab,0x11,0x4b
  2927. };
  2928. __fips_constseg
  2929. static const unsigned char p_384_sha512_pr_nonce[] =
  2930. {
  2931. 0x10,0x49,0x5d,0xf6,0x5d,0x17,0xa7,0xa6,0xd8,0xc7,0xc8,0xe7
  2932. };
  2933. __fips_constseg
  2934. static const unsigned char p_384_sha512_pr_personalizationstring[] =
  2935. {
  2936. 0x61,0x59,0xc5,0x8e,0x30,0x77,0x05,0x75,0x87,0xff,0x0b,0x06,
  2937. 0x03,0x79,0xa5,0x8b,0x59,0xb8,0x32,0xc9,0x19,0x47,0x7d,0x0e
  2938. };
  2939. __fips_constseg
  2940. static const unsigned char p_384_sha512_pr_additionalinput[] =
  2941. {
  2942. 0x41,0xd5,0x73,0x17,0x13,0x4c,0xe8,0x7c,0x83,0x45,0x84,0xf1,
  2943. 0x72,0xae,0x1d,0xea,0x08,0x0a,0x56,0xec,0x16,0xf9,0x1f,0xb6
  2944. };
  2945. __fips_constseg
  2946. static const unsigned char p_384_sha512_pr_entropyinputpr[] =
  2947. {
  2948. 0xa6,0x85,0xa8,0xa4,0x0f,0xad,0x96,0x32,0x39,0x5e,0x86,0xb0,
  2949. 0x8b,0xda,0xb2,0xf0,0x38,0x75,0xf8,0xe2,0xc0,0xbf,0x77,0x62
  2950. };
  2951. __fips_constseg
  2952. static const unsigned char p_384_sha512_pr_int_returnedbits[] =
  2953. {
  2954. 0xc8,0xf2,0x0c,0x8a,0xe7,0x72,0xe2,0xa3,0x5e,0x0a,0xaa,0x21,
  2955. 0x3a,0x92,0x08,0x70,0xaf,0xc2,0x1e,0xed,0xd1,0x2c,0xa0,0xbc,
  2956. 0xcb,0x0e,0x46,0xb9,0x34,0x97,0x62,0x03,0x4a,0x93,0xe3,0x6f,
  2957. 0x92,0x08,0x71,0x16,0xce,0x3e,0x5b,0x6b,0x9a,0x52
  2958. };
  2959. __fips_constseg
  2960. static const unsigned char p_384_sha512_pr_additionalinput2[] =
  2961. {
  2962. 0x72,0x72,0xb3,0x26,0x05,0x49,0xf0,0x34,0xb6,0x04,0x75,0x6a,
  2963. 0x0a,0x86,0x9c,0x8f,0xe5,0x3d,0x90,0x26,0x42,0x92,0x2a,0x77
  2964. };
  2965. __fips_constseg
  2966. static const unsigned char p_384_sha512_pr_entropyinputpr2[] =
  2967. {
  2968. 0xf1,0xda,0x51,0xa2,0x21,0x54,0x2d,0x6d,0xec,0x92,0xe5,0x8f,
  2969. 0x81,0x96,0x21,0x60,0x93,0x33,0x3d,0xfb,0x92,0xfe,0xae,0xcb
  2970. };
  2971. __fips_constseg
  2972. static const unsigned char p_384_sha512_pr_returnedbits[] =
  2973. {
  2974. 0x12,0x87,0x30,0xc4,0x87,0x61,0x58,0xab,0x79,0x05,0xb4,0xfd,
  2975. 0x47,0x95,0x86,0x4c,0x24,0x45,0xb0,0x4b,0x23,0x9a,0xe6,0x72,
  2976. 0x03,0xd8,0xc1,0x8a,0xbc,0xd0,0x3b,0xb5,0x8e,0x84,0x9f,0x2d,
  2977. 0xa4,0xf6,0x9b,0x89,0xd6,0x92,0x72,0x70,0x63,0xb9
  2978. };
  2979. /* P-384 SHA-512 No PR */
  2980. __fips_constseg
  2981. static const unsigned char p_384_sha512_entropyinput[] =
  2982. {
  2983. 0xc7,0x7b,0x0e,0xe1,0x06,0x66,0x63,0x87,0x15,0x09,0x0a,0xe2,
  2984. 0xbe,0xdc,0xd5,0x3c,0x65,0xce,0xc5,0x25,0xfd,0xf2,0x23,0xbe
  2985. };
  2986. __fips_constseg
  2987. static const unsigned char p_384_sha512_nonce[] =
  2988. {
  2989. 0x5c,0xe8,0xa7,0x7d,0x45,0x8d,0x89,0xcd,0xb7,0xa3,0x4a,0x98
  2990. };
  2991. __fips_constseg
  2992. static const unsigned char p_384_sha512_personalizationstring[] =
  2993. {
  2994. 0xa9,0x0e,0x29,0xff,0x2f,0x4e,0x92,0xe3,0xbd,0xcf,0x25,0xfa,
  2995. 0x96,0xdf,0x18,0x16,0x9a,0x99,0xb0,0x07,0xfe,0x51,0x24,0x9e
  2996. };
  2997. __fips_constseg
  2998. static const unsigned char p_384_sha512_additionalinput[] =
  2999. {
  3000. 0x1a,0x19,0xdf,0x08,0x35,0x94,0x83,0x30,0xab,0x01,0x98,0x2b,
  3001. 0xa5,0xe2,0x6d,0x99,0xe7,0x30,0xd5,0xef,0xf1,0xa7,0x61,0x61
  3002. };
  3003. __fips_constseg
  3004. static const unsigned char p_384_sha512_int_returnedbits[] =
  3005. {
  3006. 0xa2,0x80,0xdb,0xa3,0x6c,0x7b,0x74,0x57,0x65,0x9d,0x32,0x53,
  3007. 0xaf,0xcc,0x91,0x21,0x59,0x3c,0xf2,0xf7,0xf7,0x06,0x29,0xee,
  3008. 0xce,0x1f,0x3d,0xdb,0x2c,0x9c,0xb9,0xfb,0xf1,0xe1,0xf1,0xac,
  3009. 0x90,0xcd,0x6e,0xc5,0x97,0x1e,0xa2,0x90,0x2b,0x7e
  3010. };
  3011. __fips_constseg
  3012. static const unsigned char p_384_sha512_entropyinputreseed[] =
  3013. {
  3014. 0xf4,0x57,0x3d,0xc5,0x13,0x99,0xb2,0x4d,0xdd,0xdf,0xf3,0xa0,
  3015. 0x7b,0x82,0x8a,0x22,0x9a,0x02,0x9c,0xac,0x6f,0xb4,0x07,0xd8
  3016. };
  3017. __fips_constseg
  3018. static const unsigned char p_384_sha512_additionalinputreseed[] =
  3019. {
  3020. 0x12,0x98,0x84,0xa1,0xb5,0x26,0x7e,0x55,0xe1,0xd1,0x00,0x8f,
  3021. 0x50,0x96,0x30,0xa7,0x33,0xf5,0xb4,0x76,0x93,0x7a,0x2d,0x82
  3022. };
  3023. __fips_constseg
  3024. static const unsigned char p_384_sha512_additionalinput2[] =
  3025. {
  3026. 0xfd,0x4c,0x76,0x61,0x48,0x40,0xa7,0x1e,0xa1,0xe9,0x25,0xcc,
  3027. 0xa6,0x21,0x4e,0x87,0xc9,0x27,0x06,0x3e,0x89,0x8b,0x18,0x3c
  3028. };
  3029. __fips_constseg
  3030. static const unsigned char p_384_sha512_returnedbits[] =
  3031. {
  3032. 0x90,0xa9,0xd4,0x1a,0x7f,0xb5,0xdd,0x66,0x5f,0xa7,0xc9,0x53,
  3033. 0x57,0xfc,0xc1,0x42,0x93,0x09,0xb4,0xf6,0x6c,0x7a,0xce,0x16,
  3034. 0x5e,0xed,0xad,0xea,0x0e,0x34,0x06,0xbb,0x80,0x89,0xba,0xd3,
  3035. 0xfe,0x49,0x21,0x4e,0x28,0xa7,0xfe,0xdb,0x27,0xfe
  3036. };
  3037. /* P-521 SHA-256 PR */
  3038. __fips_constseg
  3039. static const unsigned char p_521_sha256_pr_entropyinput[] =
  3040. {
  3041. 0x1a,0xb3,0x78,0x1e,0x14,0x19,0x83,0x05,0xac,0xb0,0x95,0xe1,
  3042. 0x10,0xa3,0xc4,0xbc,0x8e,0x13,0x2c,0xf2,0xad,0x63,0x25,0x1f,
  3043. 0x88,0xc4,0xc4,0x4e,0x6d,0x03,0x96,0x5e
  3044. };
  3045. __fips_constseg
  3046. static const unsigned char p_521_sha256_pr_nonce[] =
  3047. {
  3048. 0xd8,0x3d,0x1c,0x7e,0x4a,0x8e,0x28,0x4a,0xd6,0xf7,0xe8,0x0c,
  3049. 0x54,0x69,0x31,0xe4
  3050. };
  3051. __fips_constseg
  3052. static const unsigned char p_521_sha256_pr_personalizationstring[] =
  3053. {
  3054. 0xc7,0xa6,0xb8,0xc0,0x25,0xaa,0x88,0xf5,0xc7,0x6a,0xd2,0xfc,
  3055. 0x7a,0x07,0xdd,0xf9,0x02,0xfb,0x79,0x36,0x17,0xc3,0x23,0x6e,
  3056. 0x9e,0xcd,0x5c,0x5d,0x2b,0xa3,0x45,0x86
  3057. };
  3058. __fips_constseg
  3059. static const unsigned char p_521_sha256_pr_additionalinput[] =
  3060. {
  3061. 0xde,0xc5,0x1d,0x59,0x4d,0x25,0x3c,0x4f,0xbb,0x81,0xb3,0x61,
  3062. 0xd4,0x84,0x6e,0x4e,0x52,0x80,0xcd,0x5d,0x1a,0xb9,0xdf,0x44,
  3063. 0x94,0xf2,0xde,0x54,0x49,0x37,0xea,0xe8
  3064. };
  3065. __fips_constseg
  3066. static const unsigned char p_521_sha256_pr_entropyinputpr[] =
  3067. {
  3068. 0x4e,0xe6,0x23,0xa4,0x97,0xaf,0x70,0x36,0xed,0xed,0x37,0x6b,
  3069. 0xc9,0x31,0x95,0x1e,0x07,0x42,0x42,0x4b,0x24,0x06,0xee,0xa0,
  3070. 0xb5,0xb1,0xd7,0x40,0x29,0x2e,0xa8,0xd8
  3071. };
  3072. __fips_constseg
  3073. static const unsigned char p_521_sha256_pr_int_returnedbits[] =
  3074. {
  3075. 0x7d,0x64,0x63,0x00,0xa5,0x98,0x9b,0xf3,0xf4,0x09,0x44,0x64,
  3076. 0xcc,0xa8,0x99,0xbc,0x6e,0xac,0x67,0xb9,0xb1,0xb5,0x3b,0xe8,
  3077. 0x99,0xde,0x91,0xe8,0x8b,0x95,0x09,0xcc,0x35,0xde,0xd7,0x78,
  3078. 0x97,0x47,0x7d,0xa0,0x5f,0xe4,0x48,0x1e,0x5f,0x14,0xa0,0xda,
  3079. 0xd6,0xac,0x59,0xf0,0x31,0xc6,0xb4,0x78,0x70,0x32,0x87,0xd8,
  3080. 0xbb,0xe1,0x8e
  3081. };
  3082. __fips_constseg
  3083. static const unsigned char p_521_sha256_pr_additionalinput2[] =
  3084. {
  3085. 0xda,0x8a,0xbb,0x5e,0x1f,0xc7,0x4b,0x7e,0x2b,0x09,0xdd,0x64,
  3086. 0x42,0x4b,0x19,0x66,0x16,0xb6,0xec,0x1c,0x46,0xd1,0x23,0x26,
  3087. 0x16,0xe9,0x4a,0x3b,0x6e,0xc1,0xc6,0x74
  3088. };
  3089. __fips_constseg
  3090. static const unsigned char p_521_sha256_pr_entropyinputpr2[] =
  3091. {
  3092. 0x7b,0x4d,0x60,0x68,0xb1,0xd7,0xbe,0xf7,0x40,0xb5,0x84,0xa8,
  3093. 0x3b,0x49,0x38,0x8a,0xc2,0x40,0x44,0x0b,0x80,0xc8,0x94,0xbf,
  3094. 0x6a,0xf5,0x72,0x74,0xb5,0x6f,0x9f,0x7a
  3095. };
  3096. __fips_constseg
  3097. static const unsigned char p_521_sha256_pr_returnedbits[] =
  3098. {
  3099. 0xb2,0x4e,0x40,0x75,0xaf,0xcf,0x93,0x13,0xaf,0x97,0x49,0x49,
  3100. 0x5f,0xdf,0x5d,0x21,0x2f,0x99,0x7d,0xe9,0xb8,0x98,0x3e,0x1f,
  3101. 0x06,0xcc,0xca,0xb6,0xcf,0x6d,0xd2,0xd9,0x85,0x45,0x1a,0xd5,
  3102. 0x39,0x6a,0x26,0x6c,0x7b,0x7b,0x72,0x18,0xa2,0xf1,0x99,0x7e,
  3103. 0xe1,0xa0,0xa6,0x54,0xe4,0x0f,0x73,0x48,0xc2,0x54,0xc2,0xc3,
  3104. 0x4f,0x53,0xb3
  3105. };
  3106. /* P-521 SHA-256 No PR */
  3107. __fips_constseg
  3108. static const unsigned char p_521_sha256_entropyinput[] =
  3109. {
  3110. 0x69,0x5d,0x57,0x6d,0xe8,0xb1,0x0a,0x01,0xf8,0x1d,0xb9,0x5d,
  3111. 0xbd,0xfb,0xec,0x38,0xc9,0xd3,0x70,0x88,0x9a,0x8d,0xf2,0x4e,
  3112. 0x55,0xd6,0xde,0xa2,0xc4,0xd2,0x78,0xfb
  3113. };
  3114. __fips_constseg
  3115. static const unsigned char p_521_sha256_nonce[] =
  3116. {
  3117. 0x12,0xd2,0x1a,0xac,0xaf,0x49,0xb2,0xa4,0x9c,0x33,0x2e,0xdb,
  3118. 0x46,0xd1,0xc7,0x23
  3119. };
  3120. __fips_constseg
  3121. static const unsigned char p_521_sha256_personalizationstring[] =
  3122. {
  3123. 0xb7,0xe2,0xeb,0xa9,0x88,0xb5,0x24,0xf3,0x82,0xc6,0x83,0xe3,
  3124. 0x5e,0x12,0x32,0xd1,0x50,0x16,0xd4,0x96,0x5e,0x62,0x0b,0xb8,
  3125. 0x02,0x5b,0x2e,0xd2,0x01,0x52,0x4a,0x48
  3126. };
  3127. __fips_constseg
  3128. static const unsigned char p_521_sha256_additionalinput[] =
  3129. {
  3130. 0xf4,0xa2,0xfa,0xae,0x18,0x94,0xdb,0x12,0x0b,0xa8,0x1e,0x4e,
  3131. 0x7f,0xdb,0x3d,0x9e,0x06,0xe2,0x77,0x53,0x2b,0x76,0x0a,0xbd,
  3132. 0xcc,0xdb,0xae,0x5a,0xbc,0xb0,0x53,0x3f
  3133. };
  3134. __fips_constseg
  3135. static const unsigned char p_521_sha256_int_returnedbits[] =
  3136. {
  3137. 0xbd,0x16,0xe4,0x4d,0x62,0xa1,0xb4,0x4f,0x3f,0xba,0x27,0x58,
  3138. 0xa3,0xa1,0x6f,0x92,0xe9,0xe9,0x48,0xd0,0x64,0xba,0xb2,0x17,
  3139. 0x54,0x9a,0xcc,0x8d,0xae,0x2e,0x68,0x62,0x42,0xab,0x55,0x24,
  3140. 0x47,0x0f,0x71,0xd2,0xa8,0x78,0xf0,0x5b,0x76,0xd0,0x01,0xd7,
  3141. 0x86,0xca,0xe5,0xa4,0x41,0x82,0x73,0x51,0x5e,0xa4,0x12,0xa4,
  3142. 0xe1,0xea,0xbd
  3143. };
  3144. __fips_constseg
  3145. static const unsigned char p_521_sha256_entropyinputreseed[] =
  3146. {
  3147. 0xda,0x4e,0x7f,0xf0,0x7d,0x4d,0xd8,0x74,0xa2,0x74,0x08,0x82,
  3148. 0x1b,0xe2,0xab,0xc9,0xd2,0xae,0x07,0xc3,0xc5,0x94,0x2f,0xfa,
  3149. 0x40,0xe0,0x5a,0x95,0x5b,0x99,0x7f,0x28
  3150. };
  3151. __fips_constseg
  3152. static const unsigned char p_521_sha256_additionalinputreseed[] =
  3153. {
  3154. 0xf3,0x7d,0x64,0xae,0x7a,0xb3,0x9c,0xee,0x0a,0xd3,0x1a,0x56,
  3155. 0x3d,0x65,0xac,0x33,0xcc,0x3c,0xb0,0x4a,0x43,0xe3,0xf4,0xe7,
  3156. 0x05,0x49,0xcc,0x28,0x81,0xaf,0x73,0x8a
  3157. };
  3158. __fips_constseg
  3159. static const unsigned char p_521_sha256_additionalinput2[] =
  3160. {
  3161. 0x80,0xf2,0xdc,0xd2,0x0e,0x77,0x89,0xd7,0x46,0x67,0x31,0x28,
  3162. 0xf6,0xe1,0x1a,0x3f,0x70,0xdb,0x42,0x57,0xc7,0x0a,0xbd,0xf9,
  3163. 0x46,0x0e,0x50,0xc8,0x32,0xe0,0x4d,0x8f
  3164. };
  3165. __fips_constseg
  3166. static const unsigned char p_521_sha256_returnedbits[] =
  3167. {
  3168. 0x04,0xce,0x3f,0x47,0x4b,0x90,0x0e,0x0b,0x5d,0x61,0xd2,0xe4,
  3169. 0xca,0x19,0x98,0x3e,0xda,0xbb,0xe0,0x68,0x42,0x16,0x3c,0x25,
  3170. 0x69,0xb2,0x62,0x3f,0x57,0x84,0x22,0xc5,0x27,0x94,0xcb,0x2a,
  3171. 0x6c,0xe4,0xe5,0x3a,0x4d,0xfe,0x23,0xeb,0x81,0x09,0x8a,0xa4,
  3172. 0x57,0x8d,0x38,0x26,0x36,0x83,0xc7,0xfa,0xbd,0x1e,0xab,0x50,
  3173. 0xfe,0xae,0x42
  3174. };
  3175. /* P-521 SHA-384 PR */
  3176. __fips_constseg
  3177. static const unsigned char p_521_sha384_pr_entropyinput[] =
  3178. {
  3179. 0xd7,0xc3,0x75,0xc9,0xdc,0xd6,0x28,0x49,0x6c,0x0c,0x26,0xe8,
  3180. 0x50,0x5a,0x98,0x53,0xa0,0xa1,0x59,0xfc,0xd9,0xef,0x34,0x05,
  3181. 0x42,0x12,0x5f,0x6c,0x80,0x65,0x37,0x77
  3182. };
  3183. __fips_constseg
  3184. static const unsigned char p_521_sha384_pr_nonce[] =
  3185. {
  3186. 0x07,0x8a,0xc4,0xbb,0x27,0x54,0x33,0xe2,0xfa,0x4a,0xe2,0x84,
  3187. 0xe5,0x5b,0x27,0x69
  3188. };
  3189. __fips_constseg
  3190. static const unsigned char p_521_sha384_pr_personalizationstring[] =
  3191. {
  3192. 0x69,0x90,0xea,0xac,0x46,0x2f,0x9a,0x3a,0xcc,0xdb,0xbc,0x26,
  3193. 0x5d,0xae,0x6d,0xca,0x80,0x62,0x95,0x3f,0x7c,0x17,0xa3,0xc5,
  3194. 0x36,0x69,0x8a,0x70,0x4e,0xb0,0xfb,0x16
  3195. };
  3196. __fips_constseg
  3197. static const unsigned char p_521_sha384_pr_additionalinput[] =
  3198. {
  3199. 0xc7,0x82,0x8d,0xac,0x49,0xed,0x4d,0xe0,0x5f,0x26,0xe4,0xdf,
  3200. 0xd6,0x26,0xd0,0x90,0x5b,0xeb,0x36,0xa1,0x5a,0x8d,0xe0,0x33,
  3201. 0x18,0x86,0x73,0xcb,0x0d,0x3c,0xf4,0x76
  3202. };
  3203. __fips_constseg
  3204. static const unsigned char p_521_sha384_pr_entropyinputpr[] =
  3205. {
  3206. 0x88,0xeb,0xbc,0xc4,0xdb,0xb0,0x0c,0xc7,0xc9,0x0a,0xae,0x9f,
  3207. 0xe7,0x2c,0x8d,0x8e,0x9a,0x5b,0x37,0xf4,0x91,0x15,0x7c,0x1c,
  3208. 0x84,0x84,0x48,0x47,0x2d,0x24,0xc4,0xf8
  3209. };
  3210. __fips_constseg
  3211. static const unsigned char p_521_sha384_pr_int_returnedbits[] =
  3212. {
  3213. 0xf1,0x8a,0x43,0xec,0x2b,0x3f,0x74,0x05,0xae,0x4f,0x96,0xbb,
  3214. 0x90,0xba,0x55,0x23,0xb5,0x07,0xc9,0xfc,0x53,0x36,0x02,0x1d,
  3215. 0xb5,0xf4,0x8a,0x8c,0x71,0xb0,0xb2,0x35,0x2e,0xc1,0x91,0xbb,
  3216. 0x78,0xf1,0x5f,0x1d,0x1b,0xa3,0xa3,0x4d,0x93,0x76,0x36,0xbe,
  3217. 0xb2,0x83,0x6e,0xe1,0x00,0xe3,0x58,0x98,0x84,0x1a,0x4d,0x77,
  3218. 0x1c,0x3a,0x5f
  3219. };
  3220. __fips_constseg
  3221. static const unsigned char p_521_sha384_pr_additionalinput2[] =
  3222. {
  3223. 0x1e,0xbd,0x75,0x87,0x28,0x2e,0x05,0xbe,0xb3,0xa8,0x81,0x57,
  3224. 0x00,0x24,0xe5,0xe2,0xad,0x7d,0xe5,0x60,0x36,0x9b,0x82,0x09,
  3225. 0xac,0xdd,0xec,0x5e,0xb6,0xc6,0x9e,0x72
  3226. };
  3227. __fips_constseg
  3228. static const unsigned char p_521_sha384_pr_entropyinputpr2[] =
  3229. {
  3230. 0xa4,0x30,0xe4,0xec,0x31,0x84,0x79,0x5c,0x40,0xd8,0x54,0x9d,
  3231. 0xd9,0x64,0xdf,0x46,0xc4,0xca,0x08,0x19,0x65,0x24,0x41,0xa8,
  3232. 0xdb,0x4c,0xbd,0x4a,0x5a,0x6c,0xe7,0x40
  3233. };
  3234. __fips_constseg
  3235. static const unsigned char p_521_sha384_pr_returnedbits[] =
  3236. {
  3237. 0x15,0x44,0x90,0x6e,0x56,0xc1,0x51,0x2a,0x0d,0x3a,0x2f,0x1a,
  3238. 0x2d,0x0e,0xf8,0x32,0x05,0xe0,0xd7,0x77,0xd4,0x82,0x31,0x11,
  3239. 0x4e,0x70,0x50,0x76,0x5a,0x42,0x56,0x0a,0xeb,0x27,0x63,0x74,
  3240. 0xe5,0xc4,0x83,0x31,0x25,0x14,0xc4,0x5e,0x6e,0xc7,0xec,0x57,
  3241. 0x4b,0xaf,0x17,0xd9,0x43,0x61,0xfb,0xf6,0xc1,0x18,0xc3,0x41,
  3242. 0x3a,0xae,0x81
  3243. };
  3244. /* P-521 SHA-384 No PR */
  3245. __fips_constseg
  3246. static const unsigned char p_521_sha384_entropyinput[] =
  3247. {
  3248. 0xd2,0x5e,0x8a,0xdf,0x9d,0x50,0x3e,0xb8,0x0e,0x01,0x7b,0x02,
  3249. 0x95,0xb4,0x26,0x59,0x25,0x7c,0xdf,0x15,0x6f,0x2f,0x59,0xe2,
  3250. 0x60,0x8d,0xf8,0x83,0xdc,0xaf,0xb0,0xe1
  3251. };
  3252. __fips_constseg
  3253. static const unsigned char p_521_sha384_nonce[] =
  3254. {
  3255. 0x03,0xb8,0xbe,0x6f,0x90,0x5a,0xca,0x32,0xcd,0x86,0x9f,0x0a,
  3256. 0x01,0xb6,0x8f,0x41
  3257. };
  3258. __fips_constseg
  3259. static const unsigned char p_521_sha384_personalizationstring[] =
  3260. {
  3261. 0x39,0x5d,0xc0,0xa6,0xa7,0x8f,0xc4,0x5e,0xec,0xb7,0x45,0xa7,
  3262. 0x18,0x35,0x73,0xac,0x41,0x12,0x9c,0x8e,0x83,0xaa,0x45,0xb0,
  3263. 0x35,0x9a,0x8a,0x44,0x6f,0xea,0xb8,0x15
  3264. };
  3265. __fips_constseg
  3266. static const unsigned char p_521_sha384_additionalinput[] =
  3267. {
  3268. 0xac,0x37,0xb4,0x53,0x39,0xd7,0xdd,0xad,0x63,0x8d,0xe6,0x1a,
  3269. 0x4c,0xdf,0x1d,0x3a,0x0c,0x54,0xcf,0xb0,0x15,0x01,0xc5,0x46,
  3270. 0xc7,0x56,0xff,0x64,0x50,0x29,0xb2,0xb2
  3271. };
  3272. __fips_constseg
  3273. static const unsigned char p_521_sha384_int_returnedbits[] =
  3274. {
  3275. 0x16,0xf7,0x2a,0xa2,0x12,0x41,0xb9,0x58,0xac,0x9c,0x99,0xaa,
  3276. 0x9b,0xbd,0xcd,0x2c,0x18,0x0d,0xf6,0x5a,0x52,0xd8,0x26,0x4e,
  3277. 0xd0,0x7a,0xc1,0xe5,0x67,0x54,0x7f,0x65,0x63,0x2a,0xd1,0xef,
  3278. 0xf0,0x8f,0xb9,0x2e,0xb0,0xdb,0xc7,0x03,0xc8,0xe1,0x58,0xaa,
  3279. 0xdb,0x7c,0x67,0xf6,0xf4,0x4d,0x33,0x0d,0xf0,0x6c,0xd9,0xdd,
  3280. 0xd4,0x2c,0xa1
  3281. };
  3282. __fips_constseg
  3283. static const unsigned char p_521_sha384_entropyinputreseed[] =
  3284. {
  3285. 0x38,0xae,0xd1,0xbd,0xde,0xcc,0x88,0xc7,0x2d,0x39,0x68,0x1e,
  3286. 0xef,0x19,0xb6,0x3c,0xcc,0xed,0xec,0x87,0xc5,0xc5,0x56,0x22,
  3287. 0xf6,0xa9,0xea,0xf4,0x8b,0x43,0x6b,0xf7
  3288. };
  3289. __fips_constseg
  3290. static const unsigned char p_521_sha384_additionalinputreseed[] =
  3291. {
  3292. 0x6f,0xd8,0x16,0x55,0x9f,0xe8,0x71,0x65,0x83,0xf2,0xf5,0xaf,
  3293. 0xad,0xff,0x19,0x72,0x59,0x8c,0x84,0xdb,0xc7,0x14,0x88,0x34,
  3294. 0xda,0xda,0xde,0x4f,0xf0,0xfa,0xa3,0x33
  3295. };
  3296. __fips_constseg
  3297. static const unsigned char p_521_sha384_additionalinput2[] =
  3298. {
  3299. 0xd9,0xe2,0x19,0x2e,0x78,0x71,0x2f,0xec,0x45,0xcc,0x63,0x0e,
  3300. 0x5b,0x7a,0x02,0x34,0x29,0x90,0xd5,0x2c,0x10,0x7e,0xdd,0x5a,
  3301. 0x3e,0x1a,0x4c,0x69,0xcb,0xec,0xc6,0x33
  3302. };
  3303. __fips_constseg
  3304. static const unsigned char p_521_sha384_returnedbits[] =
  3305. {
  3306. 0x88,0x53,0x0c,0xa7,0x5c,0x3f,0x56,0x6a,0x0a,0x10,0xa5,0xac,
  3307. 0x41,0x60,0x2a,0xa2,0x29,0x35,0x4c,0xc8,0x24,0xd1,0x75,0xc9,
  3308. 0xcc,0xb8,0x87,0x46,0xcc,0xf2,0x72,0x05,0x7f,0x39,0xf0,0x0f,
  3309. 0x4d,0x26,0xac,0x8c,0xa4,0x9a,0x87,0xe1,0x16,0xb3,0xc1,0x95,
  3310. 0xba,0x0e,0x7b,0x96,0xa9,0x91,0x15,0x9c,0x54,0x16,0x73,0x3b,
  3311. 0xce,0x2a,0xfd
  3312. };
  3313. /* P-521 SHA-512 PR */
  3314. __fips_constseg
  3315. static const unsigned char p_521_sha512_pr_entropyinput[] =
  3316. {
  3317. 0xb7,0x8e,0x4a,0x70,0x59,0xf4,0xb4,0xfa,0x94,0xef,0xc7,0xe7,
  3318. 0x7b,0xde,0x06,0x46,0x2e,0x71,0xde,0x82,0x59,0xd5,0x3a,0x32,
  3319. 0xee,0x1e,0x64,0x24,0x25,0xf4,0x1d,0xa6
  3320. };
  3321. __fips_constseg
  3322. static const unsigned char p_521_sha512_pr_nonce[] =
  3323. {
  3324. 0x46,0x15,0x8e,0x0c,0x97,0x3c,0x81,0x7b,0x2b,0x38,0xde,0x1a,
  3325. 0x93,0x68,0x00,0x30
  3326. };
  3327. __fips_constseg
  3328. static const unsigned char p_521_sha512_pr_personalizationstring[] =
  3329. {
  3330. 0x05,0x12,0xdf,0xac,0xf9,0xf8,0xce,0xec,0x1e,0x98,0x91,0x6d,
  3331. 0x1d,0xf5,0x4c,0xdf,0xb5,0xb4,0x43,0x90,0x1d,0xaa,0x53,0x9c,
  3332. 0x9a,0xa3,0xb5,0x54,0x63,0x74,0xf0,0xf2
  3333. };
  3334. __fips_constseg
  3335. static const unsigned char p_521_sha512_pr_additionalinput[] =
  3336. {
  3337. 0x04,0x8d,0xfc,0x7a,0xa2,0x25,0x99,0x6a,0xb0,0x17,0x7e,0xe8,
  3338. 0x3b,0xc1,0x2f,0x59,0x48,0xde,0xbe,0x44,0xcc,0x2c,0xe6,0xa8,
  3339. 0xf0,0x57,0x69,0x7e,0x85,0x2a,0xa8,0x8b
  3340. };
  3341. __fips_constseg
  3342. static const unsigned char p_521_sha512_pr_entropyinputpr[] =
  3343. {
  3344. 0xbb,0xa2,0x0b,0x9f,0xf2,0x01,0x4c,0x9a,0x20,0x87,0x75,0x69,
  3345. 0x18,0x51,0x21,0x12,0x55,0xf3,0xc4,0xfe,0x2c,0x5e,0x08,0x85,
  3346. 0x52,0x12,0x68,0xb8,0x90,0x87,0x0c,0x6f
  3347. };
  3348. __fips_constseg
  3349. static const unsigned char p_521_sha512_pr_int_returnedbits[] =
  3350. {
  3351. 0x81,0x79,0xde,0xe3,0xe0,0x72,0xd8,0x86,0x39,0x42,0x4b,0x86,
  3352. 0xf0,0x4b,0xf2,0xa2,0x56,0xc1,0x67,0x41,0x12,0x2e,0x33,0x2d,
  3353. 0x48,0x80,0x91,0x40,0xef,0x3d,0x47,0xf1,0x9b,0xea,0x55,0x2e,
  3354. 0x78,0xa1,0x22,0x24,0x5b,0x0c,0xea,0x35,0xba,0xb5,0x0c,0x74,
  3355. 0x17,0x1a,0x07,0xe6,0x0b,0x51,0xb5,0x9b,0xbf,0xdb,0xa8,0x05,
  3356. 0xe4,0x7a,0x01
  3357. };
  3358. __fips_constseg
  3359. static const unsigned char p_521_sha512_pr_additionalinput2[] =
  3360. {
  3361. 0x9d,0x9c,0xbd,0x7e,0x2d,0x33,0x41,0x63,0xb7,0x44,0x91,0xd0,
  3362. 0xd1,0xaf,0x07,0x8a,0xb2,0xc4,0xd9,0xbc,0x72,0x37,0x70,0x7d,
  3363. 0x85,0x47,0x06,0x9e,0x73,0x2b,0x85,0xb7
  3364. };
  3365. __fips_constseg
  3366. static const unsigned char p_521_sha512_pr_entropyinputpr2[] =
  3367. {
  3368. 0xcd,0x1e,0x0c,0x58,0xe9,0x65,0x44,0x95,0x7a,0x68,0xf1,0xe1,
  3369. 0xd7,0xc5,0xdb,0x89,0x0d,0xdc,0x30,0x0e,0x16,0xc1,0xe5,0xad,
  3370. 0x57,0x60,0x50,0x31,0x5f,0xf0,0x05,0xf7
  3371. };
  3372. __fips_constseg
  3373. static const unsigned char p_521_sha512_pr_returnedbits[] =
  3374. {
  3375. 0x5b,0x24,0x8e,0xab,0x1b,0x1b,0x86,0xe0,0x65,0x11,0x84,0x75,
  3376. 0xbf,0x5b,0x00,0x0b,0xd8,0x08,0x7d,0x3f,0xfa,0x70,0xe7,0x65,
  3377. 0xe3,0x68,0xe8,0x1f,0x78,0x68,0x49,0x5d,0x06,0x3f,0x7b,0x9b,
  3378. 0xc2,0xc9,0x06,0x48,0xbd,0x3d,0x27,0x6c,0x36,0xc3,0xfb,0x57,
  3379. 0x89,0x8a,0x90,0x92,0x1c,0xc0,0xda,0x58,0xd8,0x0e,0x81,0x70,
  3380. 0x6d,0xd4,0x34
  3381. };
  3382. /* P-521 SHA-512 No PR */
  3383. __fips_constseg
  3384. static const unsigned char p_521_sha512_entropyinput[] =
  3385. {
  3386. 0x3d,0x1f,0x10,0x75,0x3c,0x9f,0x09,0xf2,0xe2,0x38,0x50,0x8e,
  3387. 0x88,0xb1,0x1f,0x45,0xd3,0xb9,0x60,0xd9,0xd4,0x2f,0xed,0xbb,
  3388. 0x5f,0xb2,0x0e,0x3b,0xaa,0x6b,0x2e,0xee
  3389. };
  3390. __fips_constseg
  3391. static const unsigned char p_521_sha512_nonce[] =
  3392. {
  3393. 0x9d,0x59,0xbf,0xcb,0xcf,0x3f,0xe0,0xb1,0x2b,0x6f,0x3d,0xd8,
  3394. 0x38,0x77,0xf6,0x1c
  3395. };
  3396. __fips_constseg
  3397. static const unsigned char p_521_sha512_personalizationstring[] =
  3398. {
  3399. 0xf2,0x91,0xdb,0xef,0x70,0x9a,0x87,0x74,0xc4,0xf6,0x8e,0x09,
  3400. 0xe8,0x39,0xe5,0xc0,0x79,0x12,0xcb,0xeb,0x58,0x1c,0x88,0x81,
  3401. 0x83,0xe8,0x66,0xd0,0x2f,0x49,0xef,0x63
  3402. };
  3403. __fips_constseg
  3404. static const unsigned char p_521_sha512_additionalinput[] =
  3405. {
  3406. 0x38,0x7c,0xdd,0x33,0xcd,0x09,0x12,0xc0,0xb8,0x73,0x72,0xdf,
  3407. 0xad,0xe1,0xe9,0xd2,0x69,0xd0,0xa0,0x1a,0xe5,0xfc,0x51,0x0a,
  3408. 0xd5,0x90,0xe9,0x8c,0x66,0x8c,0x63,0x35
  3409. };
  3410. __fips_constseg
  3411. static const unsigned char p_521_sha512_int_returnedbits[] =
  3412. {
  3413. 0x7c,0xd6,0xd8,0xbb,0x12,0x5d,0xaf,0x65,0x65,0xd2,0x20,0x58,
  3414. 0x82,0x17,0xbb,0xd6,0x37,0x24,0x23,0xe2,0x49,0xe3,0x13,0x74,
  3415. 0x66,0x7a,0xaf,0x35,0x8f,0x18,0x88,0xa8,0xb8,0xc3,0x84,0xb1,
  3416. 0xb5,0xfa,0xf2,0x46,0x49,0x91,0x95,0x06,0x1a,0x8c,0xb3,0x94,
  3417. 0x78,0x11,0x73,0x9d,0xeb,0x07,0xc6,0x20,0x52,0x89,0xf1,0xaf,
  3418. 0xb2,0x66,0xba
  3419. };
  3420. __fips_constseg
  3421. static const unsigned char p_521_sha512_entropyinputreseed[] =
  3422. {
  3423. 0xd5,0x51,0xf0,0x88,0xb6,0xa5,0x26,0x8c,0x34,0x82,0xd3,0xa4,
  3424. 0xee,0x6e,0xc4,0x70,0x27,0xb8,0x85,0xa7,0xca,0x22,0x7b,0x62,
  3425. 0x9c,0xcf,0x3e,0xa9,0xc2,0x6e,0x3a,0x3e
  3426. };
  3427. __fips_constseg
  3428. static const unsigned char p_521_sha512_additionalinputreseed[] =
  3429. {
  3430. 0x22,0xce,0x9f,0x3b,0x36,0x8d,0x4e,0xe2,0xe5,0xff,0xaf,0x72,
  3431. 0x90,0xe8,0xfa,0x3b,0x16,0xe2,0xcb,0xc6,0xf1,0xac,0x5e,0xb8,
  3432. 0x8e,0xb0,0x0a,0x05,0xeb,0xd4,0xfd,0x58
  3433. };
  3434. __fips_constseg
  3435. static const unsigned char p_521_sha512_additionalinput2[] =
  3436. {
  3437. 0x2f,0x55,0x03,0xe2,0x5f,0x58,0xf4,0xc8,0xf9,0x98,0x79,0x9a,
  3438. 0x1e,0x44,0xa5,0x0d,0x38,0x20,0x5e,0xe4,0x54,0x0a,0xd4,0x1f,
  3439. 0xc3,0xcf,0x3e,0x66,0xf2,0x2f,0xd5,0xb6
  3440. };
  3441. __fips_constseg
  3442. static const unsigned char p_521_sha512_returnedbits[] =
  3443. {
  3444. 0x2e,0xbf,0x98,0xf9,0x85,0x27,0x8b,0xff,0x36,0xb9,0x40,0x0b,
  3445. 0xc0,0xa1,0xa0,0x13,0x20,0x06,0xcc,0xe6,0x2a,0x03,0x77,0x7d,
  3446. 0xee,0xde,0xcc,0x34,0xe3,0xcd,0x77,0xea,0xd0,0x3e,0xbe,0xdd,
  3447. 0xf6,0x15,0xfb,0xa7,0xd7,0x8e,0xd0,0x2e,0x2f,0x82,0x4c,0xc7,
  3448. 0x87,0xb1,0x6f,0xc5,0xf8,0x5c,0x78,0xde,0x77,0x9b,0x15,0x9a,
  3449. 0xb9,0x3c,0x38
  3450. };