some minor changes; refs #8
This commit is contained in:
1 parent
b13ced5561
commit
af41e8fcfd
1 file changed
+7
@@ -166,6 +166,13 @@ static int sct_rsa_sign(int type,
|
|||||||
CATCH_ALL(int,0,g_engine->rsa_sign(type, msg, msglen, sigret, siglen, EXTRACT_CARD_KEY(rsa)));
|
CATCH_ALL(int,0,g_engine->rsa_sign(type, msg, msglen, sigret, siglen, EXTRACT_CARD_KEY(rsa)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int sct_rsa_verify(int type,
|
||||||
|
const unsigned char *msg, unsigned int msglen,
|
||||||
|
unsigned char *signature, unsigned int siglen, const RSA *rsa)
|
||||||
|
{
|
||||||
|
CATCH_ALL(int,0,g_engine->rsa_verify(type, msg, msglen, signature, siglen, EXTRACT_CARD_KEY(rsa)));
|
||||||
|
}
|
||||||
|
|
||||||
static int sct_rsa_verify(int type,
|
static int sct_rsa_verify(int type,
|
||||||
const unsigned char *msg, unsigned int msglen,
|
const unsigned char *msg, unsigned int msglen,
|
||||||
const unsigned char *signature, unsigned int siglen, const RSA *rsa)
|
const unsigned char *signature, unsigned int siglen, const RSA *rsa)
|
||||||
|
|||||||
Reference in new issue
Block a user