Functions | Variables
third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/internal.h File Reference
#include <openssl/base.h>
#include <openssl/bn.h>
Include dependency graph for third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int BN_BLINDING_convert (BIGNUM *n, BN_BLINDING *b, const BIGNUM *e, const BN_MONT_CTX *mont_ctx, BN_CTX *ctx)
 
void BN_BLINDING_free (BN_BLINDING *b)
 
void BN_BLINDING_invalidate (BN_BLINDING *b)
 
int BN_BLINDING_invert (BIGNUM *n, const BN_BLINDING *b, BN_MONT_CTX *mont_ctx, BN_CTX *ctx)
 
BN_BLINDINGBN_BLINDING_new (void)
 
int rsa_check_public_key (const RSA *rsa)
 
int rsa_default_decrypt (RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, const uint8_t *in, size_t in_len, int padding)
 
const RSA_METHODRSA_default_method (void)
 
int rsa_default_private_transform (RSA *rsa, uint8_t *out, const uint8_t *in, size_t len)
 
int rsa_default_sign_raw (RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, const uint8_t *in, size_t in_len, int padding)
 
size_t rsa_default_size (const RSA *rsa)
 
int RSA_padding_add_none (uint8_t *to, size_t to_len, const uint8_t *from, size_t from_len)
 
int RSA_padding_add_PKCS1_type_1 (uint8_t *to, size_t to_len, const uint8_t *from, size_t from_len)
 
int RSA_padding_add_PKCS1_type_2 (uint8_t *to, size_t to_len, const uint8_t *from, size_t from_len)
 
int RSA_padding_check_PKCS1_OAEP_mgf1 (uint8_t *out, size_t *out_len, size_t max_out, const uint8_t *from, size_t from_len, const uint8_t *param, size_t param_len, const EVP_MD *md, const EVP_MD *mgf1md)
 
int RSA_padding_check_PKCS1_type_1 (uint8_t *out, size_t *out_len, size_t max_out, const uint8_t *from, size_t from_len)
 
int RSA_padding_check_PKCS1_type_2 (uint8_t *out, size_t *out_len, size_t max_out, const uint8_t *from, size_t from_len)
 
int RSA_private_transform (RSA *rsa, uint8_t *out, const uint8_t *in, size_t len)
 

Variables

const BN_ULONG kBoringSSLRSASqrtTwo []
 
const size_t kBoringSSLRSASqrtTwoLen
 

Function Documentation

◆ BN_BLINDING_convert()

int BN_BLINDING_convert ( BIGNUM n,
BN_BLINDING b,
const BIGNUM e,
const BN_MONT_CTX mont_ctx,
BN_CTX ctx 
)

Definition at line 201 of file blinding.c.

◆ BN_BLINDING_free()

void BN_BLINDING_free ( BN_BLINDING b)

Definition at line 160 of file blinding.c.

◆ BN_BLINDING_invalidate()

void BN_BLINDING_invalidate ( BN_BLINDING b)

Definition at line 170 of file blinding.c.

◆ BN_BLINDING_invert()

int BN_BLINDING_invert ( BIGNUM n,
const BN_BLINDING b,
BN_MONT_CTX mont_ctx,
BN_CTX ctx 
)

Definition at line 213 of file blinding.c.

◆ BN_BLINDING_new()

BN_BLINDING* BN_BLINDING_new ( void  )

Definition at line 132 of file blinding.c.

◆ rsa_check_public_key()

int rsa_check_public_key ( const RSA rsa)

Definition at line 76 of file rsa_impl.c.

◆ rsa_default_decrypt()

int rsa_default_decrypt ( RSA rsa,
size_t *  out_len,
uint8_t out,
size_t  max_out,
const uint8_t in,
size_t  in_len,
int  padding 
)

Definition at line 529 of file rsa_impl.c.

◆ RSA_default_method()

const RSA_METHOD* RSA_default_method ( void  )

◆ rsa_default_private_transform()

int rsa_default_private_transform ( RSA rsa,
uint8_t out,
const uint8_t in,
size_t  len 
)

Definition at line 689 of file rsa_impl.c.

◆ rsa_default_sign_raw()

int rsa_default_sign_raw ( RSA rsa,
size_t *  out_len,
uint8_t out,
size_t  max_out,
const uint8_t in,
size_t  in_len,
int  padding 
)

Definition at line 481 of file rsa_impl.c.

◆ rsa_default_size()

size_t rsa_default_size ( const RSA rsa)

Definition at line 258 of file rsa_impl.c.

◆ RSA_padding_add_none()

int RSA_padding_add_none ( uint8_t to,
size_t  to_len,
const uint8_t from,
size_t  from_len 
)

Definition at line 257 of file padding.c.

◆ RSA_padding_add_PKCS1_type_1()

int RSA_padding_add_PKCS1_type_1 ( uint8_t to,
size_t  to_len,
const uint8_t from,
size_t  from_len 
)

Definition at line 75 of file padding.c.

◆ RSA_padding_add_PKCS1_type_2()

int RSA_padding_add_PKCS1_type_2 ( uint8_t to,
size_t  to_len,
const uint8_t from,
size_t  from_len 
)

Definition at line 164 of file padding.c.

◆ RSA_padding_check_PKCS1_OAEP_mgf1()

int RSA_padding_check_PKCS1_OAEP_mgf1 ( uint8_t out,
size_t *  out_len,
size_t  max_out,
const uint8_t from,
size_t  from_len,
const uint8_t param,
size_t  param_len,
const EVP_MD md,
const EVP_MD mgf1md 
)

Definition at line 387 of file padding.c.

◆ RSA_padding_check_PKCS1_type_1()

int RSA_padding_check_PKCS1_type_1 ( uint8_t out,
size_t *  out_len,
size_t  max_out,
const uint8_t from,
size_t  from_len 
)

Definition at line 96 of file padding.c.

◆ RSA_padding_check_PKCS1_type_2()

int RSA_padding_check_PKCS1_type_2 ( uint8_t out,
size_t *  out_len,
size_t  max_out,
const uint8_t from,
size_t  from_len 
)

Definition at line 190 of file padding.c.

◆ RSA_private_transform()

int RSA_private_transform ( RSA rsa,
uint8_t out,
const uint8_t in,
size_t  len 
)

Definition at line 922 of file rsa.c.

Variable Documentation

◆ kBoringSSLRSASqrtTwo

const BN_ULONG kBoringSSLRSASqrtTwo[]

Definition at line 985 of file rsa_impl.c.

◆ kBoringSSLRSASqrtTwoLen

const size_t kBoringSSLRSASqrtTwoLen

Definition at line 1003 of file rsa_impl.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:20