#include <stdio.h>
#include "cryptlib.h"
#include <openssl/bn.h>
#include <openssl/rsa.h>
#include <openssl/objects.h>
#include <openssl/x509.h>
#include "rsa_locl.h"
Go to the source code of this file.
|
int | RSA_sign (int type, const unsigned char *m, unsigned int m_len, unsigned char *sigret, unsigned int *siglen, RSA *rsa) |
|
int | int_rsa_verify (int dtype, const unsigned char *m, unsigned int m_len, unsigned char *rm, size_t *prm_len, const unsigned char *sigbuf, size_t siglen, RSA *rsa) |
|
int | RSA_verify (int dtype, const unsigned char *m, unsigned int m_len, const unsigned char *sigbuf, unsigned int siglen, RSA *rsa) |
|
#define SSL_SIG_LENGTH 36 |
int int_rsa_verify |
( |
int |
dtype, |
|
|
const unsigned char * |
m, |
|
|
unsigned int |
m_len, |
|
|
unsigned char * |
rm, |
|
|
size_t * |
prm_len, |
|
|
const unsigned char * |
sigbuf, |
|
|
size_t |
siglen, |
|
|
RSA * |
rsa |
|
) |
| |
int RSA_sign |
( |
int |
type, |
|
|
const unsigned char * |
m, |
|
|
unsigned int |
m_len, |
|
|
unsigned char * |
sigret, |
|
|
unsigned int * |
siglen, |
|
|
RSA * |
rsa |
|
) |
| |
int RSA_verify |
( |
int |
dtype, |
|
|
const unsigned char * |
m, |
|
|
unsigned int |
m_len, |
|
|
const unsigned char * |
sigbuf, |
|
|
unsigned int |
siglen, |
|
|
RSA * |
rsa |
|
) |
| |