CAVP crypto 113.10.09
Implements various cryptographic algorithms for CAVP validation.
 
Loading...
Searching...
No Matches
myRsa.h
Go to the documentation of this file.
1#pragma once
2#include <tomcrypt.h>
3
4char* rsaSignMessage_pkcs1_v1_5(const char* message, const int hashAlgo);
5char* rsaSignMessage_pss(const char* message, const int hashAlgo);
6int rsaVerifyMessage_pkcs1_v1_5(const char* message, const char* signature, const int hashAlgo, rsa_key* key);
7int rsaVerifyMessage_pss(const char* message, const char* signature, const int hashAlgo, rsa_key* key);
8
9
20rsa_key rsaKeyPair();
21
39char* rsaSignMessage_pkcs1_v1_5(const char* message, const int hashAlgo);
40
58char* rsaSignMessage_pss(const char* message, const int hashAlgo);
59
90int rsaVerifyMessage_pkcs1_v1_5(const char* message, const char* signature, const int hashAlgo, rsa_key* key);
91
122int rsaVerifyMessage_pss(const char* message, const char* signature, const int hashAlgo, rsa_key* key);
int rsaVerifyMessage_pss(const char *message, const char *signature, const int hashAlgo, rsa_key *key)
驗證RSA的簽章(pss)
Definition myRsa.c:605
rsa_key rsaKeyPair()
產生RSA的key pair
Definition myRsa.c:198
int rsaVerifyMessage_pkcs1_v1_5(const char *message, const char *signature, const int hashAlgo, rsa_key *key)
驗證RSA的簽章(pkcs1_v1_5)
Definition myRsa.c:502
char * rsaSignMessage_pss(const char *message, const int hashAlgo)
產生RSA的簽章(pss)
Definition myRsa.c:396
char * rsaSignMessage_pkcs1_v1_5(const char *message, const int hashAlgo)
產生RSA的簽章(pkcs1_v1_5)
Definition myRsa.c:302