webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
rsa_asn1.c File Reference
#include <openssl/rsa.h>
#include <assert.h>
#include <limits.h>
#include <string.h>
#include <openssl/bn.h>
#include <openssl/bytestring.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include "internal.h"
#include "../bytestring/internal.h"

Functions

RSARSA_parse_public_key (CBS *cbs)
 
RSARSA_parse_public_key_buggy (CBS *cbs)
 
RSARSA_public_key_from_bytes (const uint8_t *in, size_t in_len)
 
int RSA_marshal_public_key (CBB *cbb, const RSA *rsa)
 
int RSA_public_key_to_bytes (uint8_t **out_bytes, size_t *out_len, const RSA *rsa)
 
RSARSA_parse_private_key (CBS *cbs)
 
RSARSA_private_key_from_bytes (const uint8_t *in, size_t in_len)
 
int RSA_marshal_private_key (CBB *cbb, const RSA *rsa)
 
int RSA_private_key_to_bytes (uint8_t **out_bytes, size_t *out_len, const RSA *rsa)
 
RSAd2i_RSAPublicKey (RSA **out, const uint8_t **inp, long len)
 
int i2d_RSAPublicKey (const RSA *in, uint8_t **outp)
 
RSAd2i_RSAPrivateKey (RSA **out, const uint8_t **inp, long len)
 
int i2d_RSAPrivateKey (const RSA *in, uint8_t **outp)
 
RSARSAPublicKey_dup (const RSA *rsa)
 
RSARSAPrivateKey_dup (const RSA *rsa)
 

Function Documentation

◆ d2i_RSAPrivateKey()

RSA* d2i_RSAPrivateKey ( RSA **  out,
const uint8_t **  inp,
long  len 
)

◆ d2i_RSAPublicKey()

RSA* d2i_RSAPublicKey ( RSA **  out,
const uint8_t **  inp,
long  len 
)

◆ i2d_RSAPrivateKey()

int i2d_RSAPrivateKey ( const RSA in,
uint8_t **  outp 
)

◆ i2d_RSAPublicKey()

int i2d_RSAPublicKey ( const RSA in,
uint8_t **  outp 
)

◆ RSA_marshal_private_key()

int RSA_marshal_private_key ( CBB cbb,
const RSA rsa 
)

◆ RSA_marshal_public_key()

int RSA_marshal_public_key ( CBB cbb,
const RSA rsa 
)

◆ RSA_parse_private_key()

RSA* RSA_parse_private_key ( CBS cbs)

◆ RSA_parse_public_key()

RSA* RSA_parse_public_key ( CBS cbs)

◆ RSA_parse_public_key_buggy()

RSA* RSA_parse_public_key_buggy ( CBS cbs)

◆ RSA_private_key_from_bytes()

RSA* RSA_private_key_from_bytes ( const uint8_t in,
size_t  in_len 
)

◆ RSA_private_key_to_bytes()

int RSA_private_key_to_bytes ( uint8_t **  out_bytes,
size_t out_len,
const RSA rsa 
)

◆ RSA_public_key_from_bytes()

RSA* RSA_public_key_from_bytes ( const uint8_t in,
size_t  in_len 
)

◆ RSA_public_key_to_bytes()

int RSA_public_key_to_bytes ( uint8_t **  out_bytes,
size_t out_len,
const RSA rsa 
)

◆ RSAPrivateKey_dup()

RSA* RSAPrivateKey_dup ( const RSA rsa)

◆ RSAPublicKey_dup()

RSA* RSAPublicKey_dup ( const RSA rsa)