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

Go to the source code of this file.

Functions

int RSA_padding_add_PKCS1_OAEP (unsigned char *to, int tlen, const unsigned char *from, int flen, const unsigned char *param, int plen)
 
int RSA_padding_check_PKCS1_OAEP (unsigned char *to, int tlen, const unsigned char *from, int flen, int num, const unsigned char *param, int plen)
 
int PKCS1_MGF1 (unsigned char *mask, long len, const unsigned char *seed, long seedlen, const EVP_MD *dgst)
 

Function Documentation

int PKCS1_MGF1 ( unsigned char *  mask,
long  len,
const unsigned char *  seed,
long  seedlen,
const EVP_MD dgst 
)

Definition at line 186 of file rsa_oaep.c.

int RSA_padding_add_PKCS1_OAEP ( unsigned char *  to,
int  tlen,
const unsigned char *  from,
int  flen,
const unsigned char *  param,
int  plen 
)

Definition at line 34 of file rsa_oaep.c.

int RSA_padding_check_PKCS1_OAEP ( unsigned char *  to,
int  tlen,
const unsigned char *  from,
int  flen,
int  num,
const unsigned char *  param,
int  plen 
)

Definition at line 94 of file rsa_oaep.c.