mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-12 17:03:37 +08:00
update pmeth/ameth
This commit is contained in:
@@ -61,6 +61,17 @@ int SM9_signature_size(SM9PublicParameters *mpk)
|
||||
return 105;
|
||||
}
|
||||
|
||||
SM9Signature *SM9_do_sign(const unsigned char *dgst, int dgstlen, SM9_KEY *sm9)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int SM9_do_verify(const unsigned char *dgst, int dgstlen,
|
||||
const SM9Signature *sig, SM9_KEY *sm9)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
int SM9_SignInit(EVP_MD_CTX *ctx, const EVP_MD *md, ENGINE *eng)
|
||||
{
|
||||
unsigned char prefix[1] = {0x02};
|
||||
|
||||
Reference in New Issue
Block a user