webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <openssl/rsa.h>
#include <assert.h>
#include <limits.h>
#include <string.h>
#include <openssl/bn.h>
#include <openssl/digest.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/rand.h>
#include <openssl/sha.h>
#include "internal.h"
#include "../internal.h"
Functions | |
int | RSA_padding_add_PKCS1_type_1 (uint8_t *to, unsigned to_len, const uint8_t *from, unsigned from_len) |
int | RSA_padding_check_PKCS1_type_1 (uint8_t *to, unsigned to_len, const uint8_t *from, unsigned from_len) |
int | RSA_padding_add_PKCS1_type_2 (uint8_t *to, unsigned to_len, const uint8_t *from, unsigned from_len) |
int | RSA_padding_check_PKCS1_type_2 (uint8_t *to, unsigned to_len, const uint8_t *from, unsigned from_len) |
int | RSA_padding_add_none (uint8_t *to, unsigned to_len, const uint8_t *from, unsigned from_len) |
int | RSA_padding_add_PKCS1_OAEP_mgf1 (uint8_t *to, unsigned to_len, const uint8_t *from, unsigned from_len, const uint8_t *param, unsigned param_len, const EVP_MD *md, const EVP_MD *mgf1md) |
int | RSA_padding_check_PKCS1_OAEP_mgf1 (uint8_t *to, unsigned to_len, const uint8_t *from, unsigned from_len, const uint8_t *param, unsigned param_len, const EVP_MD *md, const EVP_MD *mgf1md) |
int | RSA_verify_PKCS1_PSS_mgf1 (RSA *rsa, const uint8_t *mHash, const EVP_MD *Hash, const EVP_MD *mgf1Hash, const uint8_t *EM, int sLen) |
int | RSA_padding_add_PKCS1_PSS_mgf1 (RSA *rsa, unsigned char *EM, const unsigned char *mHash, const EVP_MD *Hash, const EVP_MD *mgf1Hash, int sLenRequested) |
int RSA_padding_add_PKCS1_OAEP_mgf1 | ( | uint8_t * | to, |
unsigned | to_len, | ||
const uint8_t * | from, | ||
unsigned | from_len, | ||
const uint8_t * | param, | ||
unsigned | param_len, | ||
const EVP_MD * | md, | ||
const EVP_MD * | mgf1md | ||
) |
int RSA_padding_add_PKCS1_PSS_mgf1 | ( | RSA * | rsa, |
unsigned char * | EM, | ||
const unsigned char * | mHash, | ||
const EVP_MD * | Hash, | ||
const EVP_MD * | mgf1Hash, | ||
int | sLenRequested | ||
) |
int RSA_padding_add_PKCS1_type_1 | ( | uint8_t * | to, |
unsigned | to_len, | ||
const uint8_t * | from, | ||
unsigned | from_len | ||
) |
int RSA_padding_add_PKCS1_type_2 | ( | uint8_t * | to, |
unsigned | to_len, | ||
const uint8_t * | from, | ||
unsigned | from_len | ||
) |
int RSA_padding_check_PKCS1_OAEP_mgf1 | ( | uint8_t * | to, |
unsigned | to_len, | ||
const uint8_t * | from, | ||
unsigned | from_len, | ||
const uint8_t * | param, | ||
unsigned | param_len, | ||
const EVP_MD * | md, | ||
const EVP_MD * | mgf1md | ||
) |
int RSA_padding_check_PKCS1_type_1 | ( | uint8_t * | to, |
unsigned | to_len, | ||
const uint8_t * | from, | ||
unsigned | from_len | ||
) |
int RSA_padding_check_PKCS1_type_2 | ( | uint8_t * | to, |
unsigned | to_len, | ||
const uint8_t * | from, | ||
unsigned | from_len | ||
) |