#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 "../fipsmodule/rsa/internal.h"
#include "../bytestring/internal.h"
#include "../internal.h"
Go to the source code of this file.
Functions | |
RSA * | d2i_RSAPrivateKey (RSA **out, const uint8_t **inp, long len) |
RSA * | d2i_RSAPublicKey (RSA **out, const uint8_t **inp, long len) |
int | i2d_RSAPrivateKey (const RSA *in, uint8_t **outp) |
int | i2d_RSAPublicKey (const RSA *in, uint8_t **outp) |
static int | marshal_integer (CBB *cbb, BIGNUM *bn) |
static int | parse_integer (CBS *cbs, BIGNUM **out) |
int | RSA_marshal_private_key (CBB *cbb, const RSA *rsa) |
int | RSA_marshal_public_key (CBB *cbb, const RSA *rsa) |
RSA * | RSA_parse_private_key (CBS *cbs) |
RSA * | RSA_parse_public_key (CBS *cbs) |
RSA * | RSA_private_key_from_bytes (const uint8_t *in, size_t in_len) |
int | RSA_private_key_to_bytes (uint8_t **out_bytes, size_t *out_len, const RSA *rsa) |
RSA * | RSA_public_key_from_bytes (const uint8_t *in, size_t in_len) |
int | RSA_public_key_to_bytes (uint8_t **out_bytes, size_t *out_len, const RSA *rsa) |
RSA * | RSAPrivateKey_dup (const RSA *rsa) |
RSA * | RSAPublicKey_dup (const RSA *rsa) |
Variables | |
static const uint64_t | kVersionTwoPrime = 0 |
Definition at line 276 of file rsa_asn1.c.
Definition at line 248 of file rsa_asn1.c.
Definition at line 294 of file rsa_asn1.c.
Definition at line 81 of file rsa_asn1.c.
Definition at line 72 of file rsa_asn1.c.
Definition at line 215 of file rsa_asn1.c.
Definition at line 126 of file rsa_asn1.c.
Definition at line 156 of file rsa_asn1.c.
Definition at line 90 of file rsa_asn1.c.
Definition at line 203 of file rsa_asn1.c.
Definition at line 234 of file rsa_asn1.c.
Definition at line 114 of file rsa_asn1.c.
Definition at line 138 of file rsa_asn1.c.
Definition at line 315 of file rsa_asn1.c.
Definition at line 304 of file rsa_asn1.c.
Definition at line 154 of file rsa_asn1.c.