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

Go to the source code of this file.

Functions

int RSA_size (const RSA *r)
 
int RSA_public_encrypt (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
 
int RSA_private_encrypt (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
 
int RSA_private_decrypt (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
 
int RSA_public_decrypt (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
 
int RSA_flags (const RSA *r)
 
void RSA_blinding_off (RSA *rsa)
 
int RSA_blinding_on (RSA *rsa, BN_CTX *ctx)
 
BN_BLINDINGRSA_setup_blinding (RSA *rsa, BN_CTX *in_ctx)
 

Function Documentation

void RSA_blinding_off ( RSA rsa)

Definition at line 136 of file rsa_crpt.c.

int RSA_blinding_on ( RSA rsa,
BN_CTX ctx 
)

Definition at line 147 of file rsa_crpt.c.

int RSA_flags ( const RSA r)

Definition at line 131 of file rsa_crpt.c.

int RSA_private_decrypt ( int  flen,
const unsigned char *  from,
unsigned char *  to,
RSA rsa,
int  padding 
)

Definition at line 103 of file rsa_crpt.c.

int RSA_private_encrypt ( int  flen,
const unsigned char *  from,
unsigned char *  to,
RSA rsa,
int  padding 
)

Definition at line 89 of file rsa_crpt.c.

int RSA_public_decrypt ( int  flen,
const unsigned char *  from,
unsigned char *  to,
RSA rsa,
int  padding 
)

Definition at line 117 of file rsa_crpt.c.

int RSA_public_encrypt ( int  flen,
const unsigned char *  from,
unsigned char *  to,
RSA rsa,
int  padding 
)

Definition at line 75 of file rsa_crpt.c.

BN_BLINDING* RSA_setup_blinding ( RSA rsa,
BN_CTX in_ctx 
)

Definition at line 190 of file rsa_crpt.c.

int RSA_size ( const RSA r)

Definition at line 70 of file rsa_crpt.c.