diff options
author | Paul Yang <kaishen.yy@antfin.com> | 2020-07-26 23:25:49 +0800 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-09-22 08:17:57 +0100 |
commit | 7ee511d093758360ed421e420cc29d9aaf11f143 (patch) | |
tree | b5a7bc5b27c9db3a6e23d73ceb7864b4553bc426 /include | |
parent | 6b1428ac12749f7ff0e49be363e9f7097f0e58b0 (diff) |
Add SM2 key management
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12536)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/ec.h b/include/openssl/ec.h index ed83e3bcb0..04e648681b 100644 --- a/include/openssl/ec.h +++ b/include/openssl/ec.h @@ -874,6 +874,7 @@ int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off); # define EC_FLAG_NON_FIPS_ALLOW 0x1 # define EC_FLAG_FIPS_CHECKED 0x2 # define EC_FLAG_COFACTOR_ECDH 0x1000 +# define EC_FLAG_SM2_RANGE 0x4 /** * Creates a new EC_KEY object. |