OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
rsa_pk1.c File Reference
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/bn.h>
#include <openssl/rsa.h>
#include <openssl/rand.h>

Go to the source code of this file.

Functions

int RSA_padding_add_PKCS1_type_1 (unsigned char *to, int tlen, const unsigned char *from, int flen)
 
int RSA_padding_check_PKCS1_type_1 (unsigned char *to, int tlen, const unsigned char *from, int flen, int num)
 
int RSA_padding_add_PKCS1_type_2 (unsigned char *to, int tlen, const unsigned char *from, int flen)
 
int RSA_padding_check_PKCS1_type_2 (unsigned char *to, int tlen, const unsigned char *from, int flen, int num)
 

Function Documentation

int RSA_padding_add_PKCS1_type_1 ( unsigned char *  to,
int  tlen,
const unsigned char *  from,
int  flen 
)

Definition at line 65 of file rsa_pk1.c.

int RSA_padding_add_PKCS1_type_2 ( unsigned char *  to,
int  tlen,
const unsigned char *  from,
int  flen 
)

Definition at line 143 of file rsa_pk1.c.

int RSA_padding_check_PKCS1_type_1 ( unsigned char *  to,
int  tlen,
const unsigned char *  from,
int  flen,
int  num 
)

Definition at line 91 of file rsa_pk1.c.

int RSA_padding_check_PKCS1_type_2 ( unsigned char *  to,
int  tlen,
const unsigned char *  from,
int  flen,
int  num 
)

Definition at line 181 of file rsa_pk1.c.