proxygen
ECCurve.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-present, Facebook, Inc.
3  * All rights reserved.
4  *
5  * This source code is licensed under the BSD-style license found in the
6  * LICENSE file in the root directory of this source tree.
7  */
8 
9 #pragma once
10 
11 #include <openssl/evp.h>
12 
13 namespace fizz {
14 
15 struct P256 {
16  static const int curveNid{NID_X9_62_prime256v1};
17 };
18 
19 struct P384 {
20  static const int curveNid{NID_secp384r1};
21 };
22 
23 struct P521 {
24  static const int curveNid{NID_secp521r1};
25 };
26 
27 } // namespace fizz
Definition: Actions.h:16
static const int curveNid
Definition: ECCurve.h:16