• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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(
87        '11788436193853888218177032687141056784083668635'
88    ),
89    public_numbers=ec.EllipticCurvePublicNumbers(
90        curve=ec.SECT163R2(),
91        x=int(
92            '5247234453330640212490501030772203801908103222463'
93        ),
94        y=int(
95            '3172513801099088785224248292142866317754124455206'
96        )
97    )
98)
99
100EC_KEY_SECT571K1 = ec.EllipticCurvePrivateNumbers(
101    private_value=int(
102        '592811051234886966121888758661314648311634839499582476726008738218'
103        '165015048237934517672316204181933804884636855291118594744334592153'
104        '883208936227914544246799490897169723387'
105    ),
106    public_numbers=ec.EllipticCurvePublicNumbers(
107        curve=ec.SECT571K1(),
108        x=int(
109            '81362471461936552203898455874182916939857774872643607884250052'
110            '29301336524105230729653881789373412990921493551253481866317181'
111            '50644729351721577822595637058949405764944491655'
112        ),
113        y=int(
114            '14058041260812945396067821061063618047896814719828637241661260'
115            '31235681542401975593036630733881695595289523801041910183736211'
116            '587294494888450327374439795428519848065589000434'
117        )
118    )
119)
120
121EC_KEY_SECT409K1 = ec.EllipticCurvePrivateNumbers(
122    private_value=int(
123        '110321743150399087059465162400463719641470113494908091197354523708'
124        '934106732952992153105338671368548199643686444619485307877'
125    ),
126    public_numbers=ec.EllipticCurvePublicNumbers(
127        curve=ec.SECT409K1(),
128        x=int(
129            '62280214209410363493525178797944995742119600145953755916426161'
130            '0790364158569265348038207313261547476506319796469776797725796'
131        ),
132        y=int(
133            '46653883749102474289095010108777579907422472804577185369332018'
134            '7318642669590280811057512951467298158275464566214288556375885'
135        )
136    )
137)
138
139EC_KEY_SECT283K1 = ec.EllipticCurvePrivateNumbers(
140    private_value=int(
141        '182508394415444014156574733141549331538128234395356466108310015130'
142        '3868915489347291850'
143    ),
144    public_numbers=ec.EllipticCurvePublicNumbers(
145        curve=ec.SECT283K1(),
146        x=int(
147            '31141647206111886426350703123670451554123180910379592764773885'
148            '2959123367428352287032'
149        ),
150        y=int(
151            '71787460144483665964585187837283963089964760704065205376175384'
152            '58957627834444017112582'
153        )
154    )
155)
156
157EC_KEY_SECT233K1 = ec.EllipticCurvePrivateNumbers(
158    private_value=int(
159        '172670089647474613734091436081960550801254775902629891892394471086'
160        '2070'
161    ),
162    public_numbers=ec.EllipticCurvePublicNumbers(
163        curve=ec.SECT233K1(),
164        x=int(
165            '55693911474339510991521579392202889561373678973929426354737048'
166            '68129172'
167        ),
168        y=int(
169            '11025856248546376145959939911850923631416718241836051344384802'
170            '737277815'
171        )
172    )
173)
174
175EC_KEY_SECT163K1 = ec.EllipticCurvePrivateNumbers(
176    private_value=int(
177        '3699303791425402204035307605170569820290317991287'
178    ),
179    public_numbers=ec.EllipticCurvePublicNumbers(
180        curve=ec.SECT163K1(),
181        x=int(
182            '4479755902310063321544063130576409926980094120721'
183        ),
184        y=int(
185            '3051218481937171839039826690648109285113977745779'
186        )
187    )
188)
189
190EC_KEY_SECP521R1 = ec.EllipticCurvePrivateNumbers(
191    private_value=int(
192        '662751235215460886290293902658128847495347691199214706697089140769'
193        '672273950767961331442265530524063943548846724348048614239791498442'
194        '5997823106818915698960565'
195    ),
196    public_numbers=ec.EllipticCurvePublicNumbers(
197        curve=ec.SECP521R1(),
198        x=int(
199            '12944742826257420846659527752683763193401384271391513286022917'
200            '29910013082920512632908350502247952686156279140016049549948975'
201            '670668730618745449113644014505462'
202        ),
203        y=int(
204            '10784108810271976186737587749436295782985563640368689081052886'
205            '16296815984553198866894145509329328086635278430266482551941240'
206            '591605833440825557820439734509311'
207        )
208    )
209)
210
211EC_KEY_SECP384R1 = ec.EllipticCurvePrivateNumbers(
212    private_value=int(
213        '280814107134858470598753916394807521398239633534281633982576099083'
214        '35787109896602102090002196616273211495718603965098'
215    ),
216    public_numbers=ec.EllipticCurvePublicNumbers(
217        curve=ec.SECP384R1(),
218        x=int(
219            '10036914308591746758780165503819213553101287571902957054148542'
220            '504671046744460374996612408381962208627004841444205030'
221        ),
222        y=int(
223            '17337335659928075994560513699823544906448896792102247714689323'
224            '575406618073069185107088229463828921069465902299522926'
225        )
226    )
227)
228
229EC_KEY_SECP256R1 = ec.EllipticCurvePrivateNumbers(
230    private_value=int(
231        '271032978511595617649844168316234344656921218699414461240502635010'
232        '25776962849'
233    ),
234    public_numbers=ec.EllipticCurvePublicNumbers(
235        curve=ec.SECP256R1(),
236        x=int(
237            '49325986169170464532722748935508337546545346352733747948730305'
238            '442770101441241'
239        ),
240        y=int(
241            '51709162888529903487188595007092772817469799707382623884187518'
242            '455962250433661'
243        )
244    )
245)
246
247EC_KEY_SECP256K1 = ec.EllipticCurvePrivateNumbers(
248    private_value=int(
249        '683341569008473593765879222774207677458810362976327530563215318048'
250        '64380736732'
251    ),
252    public_numbers=ec.EllipticCurvePublicNumbers(
253        curve=ec.SECP256K1(),
254        x=int(
255            '59251322975795306609293064274738085741081547489119277536110995'
256            '120127593127884'
257        ),
258        y=int(
259            '10334192001480392039227801832201340147605940717841294644187071'
260            '8261641142297801'
261        )
262    )
263)
264
265EC_KEY_SECP224R1 = ec.EllipticCurvePrivateNumbers(
266    private_value=int(
267        '234854340492774342642505519082413233282383066880756900834047566251'
268        '50'
269    ),
270    public_numbers=ec.EllipticCurvePublicNumbers(
271        curve=ec.SECP224R1(),
272        x=int(
273            '51165676638271204691095081341581621487998422645261573824239666'
274            '1214'
275        ),
276        y=int(
277            '14936601450555711309158397172719963843891926209168533453717969'
278            '1265'
279        )
280    )
281)
282
283EC_KEY_SECP192R1 = ec.EllipticCurvePrivateNumbers(
284    private_value=int(
285        '4534766128536179420071447168915990251715442361606049349869'
286    ),
287    public_numbers=ec.EllipticCurvePublicNumbers(
288        curve=ec.SECP192R1(),
289        x=int(
290            '5415069751170397888083674339683360671310515485781457536999'
291        ),
292        y=int(
293            '18671605334415960797751252911958331304288357195986572776'
294        )
295    )
296)
297