1# This file is dual licensed under the terms of the Apache License, Version 2# 2.0, and the BSD License. See the LICENSE file in the root of this repository 3# for complete details. 4 5from __future__ import absolute_import, division, print_function 6 7from cryptography.hazmat.primitives.asymmetric import ec 8 9 10EC_KEY_SECT571R1 = ec.EllipticCurvePrivateNumbers( 11 private_value=int( 12 "213997069697108634621868251335076179190383272087548888968788698953" 13 "131928375431570122753130054966269038244076049869476736547896549201" 14 "7388482714521707824160638375437887802901" 15 ), 16 public_numbers=ec.EllipticCurvePublicNumbers( 17 curve=ec.SECT571R1(), 18 x=int( 19 "42585672410900520895287019432267514156432686681290164230262278" 20 "54789182447139054594501570747809649335533486119017169439209005" 21 "883737780433424425566023654583165324498640038089" 22 ), 23 y=int( 24 "13822523320209387572500458104799806851658024537477228250738334" 25 "46977851514777531296572763848253279034733550774927720436494321" 26 "97281333379623823457479233585424800362717541750" 27 ), 28 ), 29) 30 31EC_KEY_SECT409R1 = ec.EllipticCurvePrivateNumbers( 32 private_value=int( 33 "604993237916498765317587097853603474519114726157206838874832379003" 34 "281871982139714656205843929472002062791572217653118715727" 35 ), 36 public_numbers=ec.EllipticCurvePublicNumbers( 37 curve=ec.SECT409R1(), 38 x=int( 39 "76237701339268928039087238870073679814646664010783544301589269" 40 "2272579213400205907766385199643053767195204247826349822350081" 41 ), 42 y=int( 43 "10056668929618383045204866060110626563392345494925302478351744" 44 "01475129090774493235522729123877384838835703483224447476728811" 45 ), 46 ), 47) 48 49EC_KEY_SECT283R1 = ec.EllipticCurvePrivateNumbers( 50 private_value=int( 51 "589705077255658434962118789801402573495547207239917043241273753671" 52 "0603230261342427657" 53 ), 54 public_numbers=ec.EllipticCurvePublicNumbers( 55 curve=ec.SECT283R1(), 56 x=int( 57 "10694213430317013187241490088760888472172922291550831393222973" 58 "531614941756901942108493" 59 ), 60 y=int( 61 "11461553100313943515373601367527399649593366728262918214942116" 62 "4359557613202950705170" 63 ), 64 ), 65) 66 67EC_KEY_SECT233R1 = ec.EllipticCurvePrivateNumbers( 68 private_value=int( 69 "343470067105388144757135261232658742142830154753739648095101899829" 70 "8288" 71 ), 72 public_numbers=ec.EllipticCurvePublicNumbers( 73 curve=ec.SECT233R1(), 74 x=int( 75 "74494951569151557692195071465128140646140765188698294062550374" 76 "71118267" 77 ), 78 y=int( 79 "48699150823022962508544923825876164485917001162461401797511748" 80 "44872205" 81 ), 82 ), 83) 84 85EC_KEY_SECT163R2 = ec.EllipticCurvePrivateNumbers( 86 private_value=int("11788436193853888218177032687141056784083668635"), 87 public_numbers=ec.EllipticCurvePublicNumbers( 88 curve=ec.SECT163R2(), 89 x=int("5247234453330640212490501030772203801908103222463"), 90 y=int("3172513801099088785224248292142866317754124455206"), 91 ), 92) 93 94EC_KEY_SECT571K1 = ec.EllipticCurvePrivateNumbers( 95 private_value=int( 96 "592811051234886966121888758661314648311634839499582476726008738218" 97 "165015048237934517672316204181933804884636855291118594744334592153" 98 "883208936227914544246799490897169723387" 99 ), 100 public_numbers=ec.EllipticCurvePublicNumbers( 101 curve=ec.SECT571K1(), 102 x=int( 103 "81362471461936552203898455874182916939857774872643607884250052" 104 "29301336524105230729653881789373412990921493551253481866317181" 105 "50644729351721577822595637058949405764944491655" 106 ), 107 y=int( 108 "14058041260812945396067821061063618047896814719828637241661260" 109 "31235681542401975593036630733881695595289523801041910183736211" 110 "587294494888450327374439795428519848065589000434" 111 ), 112 ), 113) 114 115EC_KEY_SECT409K1 = ec.EllipticCurvePrivateNumbers( 116 private_value=int( 117 "110321743150399087059465162400463719641470113494908091197354523708" 118 "934106732952992153105338671368548199643686444619485307877" 119 ), 120 public_numbers=ec.EllipticCurvePublicNumbers( 121 curve=ec.SECT409K1(), 122 x=int( 123 "62280214209410363493525178797944995742119600145953755916426161" 124 "0790364158569265348038207313261547476506319796469776797725796" 125 ), 126 y=int( 127 "46653883749102474289095010108777579907422472804577185369332018" 128 "7318642669590280811057512951467298158275464566214288556375885" 129 ), 130 ), 131) 132 133EC_KEY_SECT283K1 = ec.EllipticCurvePrivateNumbers( 134 private_value=int( 135 "182508394415444014156574733141549331538128234395356466108310015130" 136 "3868915489347291850" 137 ), 138 public_numbers=ec.EllipticCurvePublicNumbers( 139 curve=ec.SECT283K1(), 140 x=int( 141 "31141647206111886426350703123670451554123180910379592764773885" 142 "2959123367428352287032" 143 ), 144 y=int( 145 "71787460144483665964585187837283963089964760704065205376175384" 146 "58957627834444017112582" 147 ), 148 ), 149) 150 151EC_KEY_SECT233K1 = ec.EllipticCurvePrivateNumbers( 152 private_value=int( 153 "172670089647474613734091436081960550801254775902629891892394471086" 154 "2070" 155 ), 156 public_numbers=ec.EllipticCurvePublicNumbers( 157 curve=ec.SECT233K1(), 158 x=int( 159 "55693911474339510991521579392202889561373678973929426354737048" 160 "68129172" 161 ), 162 y=int( 163 "11025856248546376145959939911850923631416718241836051344384802" 164 "737277815" 165 ), 166 ), 167) 168 169EC_KEY_SECT163K1 = ec.EllipticCurvePrivateNumbers( 170 private_value=int("3699303791425402204035307605170569820290317991287"), 171 public_numbers=ec.EllipticCurvePublicNumbers( 172 curve=ec.SECT163K1(), 173 x=int("4479755902310063321544063130576409926980094120721"), 174 y=int("3051218481937171839039826690648109285113977745779"), 175 ), 176) 177 178EC_KEY_SECP521R1 = ec.EllipticCurvePrivateNumbers( 179 private_value=int( 180 "662751235215460886290293902658128847495347691199214706697089140769" 181 "672273950767961331442265530524063943548846724348048614239791498442" 182 "5997823106818915698960565" 183 ), 184 public_numbers=ec.EllipticCurvePublicNumbers( 185 curve=ec.SECP521R1(), 186 x=int( 187 "12944742826257420846659527752683763193401384271391513286022917" 188 "29910013082920512632908350502247952686156279140016049549948975" 189 "670668730618745449113644014505462" 190 ), 191 y=int( 192 "10784108810271976186737587749436295782985563640368689081052886" 193 "16296815984553198866894145509329328086635278430266482551941240" 194 "591605833440825557820439734509311" 195 ), 196 ), 197) 198 199EC_KEY_SECP384R1 = ec.EllipticCurvePrivateNumbers( 200 private_value=int( 201 "280814107134858470598753916394807521398239633534281633982576099083" 202 "35787109896602102090002196616273211495718603965098" 203 ), 204 public_numbers=ec.EllipticCurvePublicNumbers( 205 curve=ec.SECP384R1(), 206 x=int( 207 "10036914308591746758780165503819213553101287571902957054148542" 208 "504671046744460374996612408381962208627004841444205030" 209 ), 210 y=int( 211 "17337335659928075994560513699823544906448896792102247714689323" 212 "575406618073069185107088229463828921069465902299522926" 213 ), 214 ), 215) 216 217EC_KEY_SECP256R1 = ec.EllipticCurvePrivateNumbers( 218 private_value=int( 219 "271032978511595617649844168316234344656921218699414461240502635010" 220 "25776962849" 221 ), 222 public_numbers=ec.EllipticCurvePublicNumbers( 223 curve=ec.SECP256R1(), 224 x=int( 225 "49325986169170464532722748935508337546545346352733747948730305" 226 "442770101441241" 227 ), 228 y=int( 229 "51709162888529903487188595007092772817469799707382623884187518" 230 "455962250433661" 231 ), 232 ), 233) 234 235EC_KEY_SECP256K1 = ec.EllipticCurvePrivateNumbers( 236 private_value=int( 237 "683341569008473593765879222774207677458810362976327530563215318048" 238 "64380736732" 239 ), 240 public_numbers=ec.EllipticCurvePublicNumbers( 241 curve=ec.SECP256K1(), 242 x=int( 243 "59251322975795306609293064274738085741081547489119277536110995" 244 "120127593127884" 245 ), 246 y=int( 247 "10334192001480392039227801832201340147605940717841294644187071" 248 "8261641142297801" 249 ), 250 ), 251) 252 253EC_KEY_SECP224R1 = ec.EllipticCurvePrivateNumbers( 254 private_value=int( 255 "234854340492774342642505519082413233282383066880756900834047566251" 256 "50" 257 ), 258 public_numbers=ec.EllipticCurvePublicNumbers( 259 curve=ec.SECP224R1(), 260 x=int( 261 "51165676638271204691095081341581621487998422645261573824239666" 262 "1214" 263 ), 264 y=int( 265 "14936601450555711309158397172719963843891926209168533453717969" 266 "1265" 267 ), 268 ), 269) 270 271EC_KEY_SECP192R1 = ec.EllipticCurvePrivateNumbers( 272 private_value=int( 273 "4534766128536179420071447168915990251715442361606049349869" 274 ), 275 public_numbers=ec.EllipticCurvePublicNumbers( 276 curve=ec.SECP192R1(), 277 x=int("5415069751170397888083674339683360671310515485781457536999"), 278 y=int("18671605334415960797751252911958331304288357195986572776"), 279 ), 280) 281