File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ pub const EVP_PKEY_RSA: c_int = NID_rsaEncryption;
10
10
pub const EVP_PKEY_DSA : c_int = NID_dsa ;
11
11
pub const EVP_PKEY_DH : c_int = NID_dhKeyAgreement ;
12
12
pub const EVP_PKEY_EC : c_int = NID_X9_62_id_ecPublicKey ;
13
+ #[ cfg( ossl111) ]
14
+ pub const EVP_PKEY_SM2 : c_int = NID_sm2 ;
13
15
#[ cfg( any( ossl111, libressl370) ) ]
14
16
pub const EVP_PKEY_X25519 : c_int = NID_X25519 ;
15
17
#[ cfg( any( ossl111, libressl370) ) ]
Original file line number Diff line number Diff line change @@ -85,6 +85,8 @@ impl Id {
85
85
pub const DSA : Id = Id ( ffi:: EVP_PKEY_DSA ) ;
86
86
pub const DH : Id = Id ( ffi:: EVP_PKEY_DH ) ;
87
87
pub const EC : Id = Id ( ffi:: EVP_PKEY_EC ) ;
88
+ #[ cfg( ossl111) ]
89
+ pub const SM2 : Id = Id ( ffi:: EVP_PKEY_SM2 ) ;
88
90
89
91
#[ cfg( any( ossl110, boringssl) ) ]
90
92
pub const HKDF : Id = Id ( ffi:: EVP_PKEY_HKDF ) ;
You can’t perform that action at this time.
0 commit comments