mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-23 21:53:45 +08:00
spped-of-sign-and-verify
This commit is contained in:
0
crypto/sm9/sm9_asn1.c
Executable file → Normal file
0
crypto/sm9/sm9_asn1.c
Executable file → Normal file
0
crypto/sm9/sm9_enc.c
Executable file → Normal file
0
crypto/sm9/sm9_enc.c
Executable file → Normal file
0
crypto/sm9/sm9_err.c
Executable file → Normal file
0
crypto/sm9/sm9_err.c
Executable file → Normal file
0
crypto/sm9/sm9_exch.c
Executable file → Normal file
0
crypto/sm9/sm9_exch.c
Executable file → Normal file
3
crypto/sm9/sm9_keygen.c
Executable file → Normal file
3
crypto/sm9/sm9_keygen.c
Executable file → Normal file
@@ -304,7 +304,8 @@ SM9_KEY *SM9_MASTER_KEY_extract_key(SM9_MASTER_KEY *master,
|
||||
sk = NULL;
|
||||
|
||||
end:
|
||||
EC_GROUP_free(group);
|
||||
SM9PrivateKey_free(sk);
|
||||
EC_GROUP_clear_free(group);
|
||||
if (ctx) {
|
||||
BN_CTX_end(ctx);
|
||||
}
|
||||
|
||||
0
crypto/sm9/sm9_lib.c
Executable file → Normal file
0
crypto/sm9/sm9_lib.c
Executable file → Normal file
0
crypto/sm9/sm9_params.c
Executable file → Normal file
0
crypto/sm9/sm9_params.c
Executable file → Normal file
0
crypto/sm9/sm9_pmeth.c
Executable file → Normal file
0
crypto/sm9/sm9_pmeth.c
Executable file → Normal file
@@ -2659,6 +2659,7 @@ int rate_pairing(fp12_t r, const point_t *Q, const EC_POINT *P, BN_CTX *ctx)
|
||||
|
||||
BN_free(xP);
|
||||
BN_free(yP);
|
||||
EC_GROUP_clear_free(group);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
0
crypto/sm9/sm9_setup.c
Executable file → Normal file
0
crypto/sm9/sm9_setup.c
Executable file → Normal file
0
crypto/sm9/sm9_sign.c
Executable file → Normal file
0
crypto/sm9/sm9_sign.c
Executable file → Normal file
Reference in New Issue
Block a user