#include "includes.h"
#include "common.h"
#include "crypto.h"
#include "asn1.h"
#include "bignum.h"
#include "rsa.h"
Include dependency graph for rsa.c:
Go to the source code of this file.
Functions | |
crypto_rsa_key * | crypto_rsa_import_public_key (const u8 *buf, size_t len) |
Import an RSA public key. | |
crypto_rsa_key * | crypto_rsa_import_private_key (const u8 *buf, size_t len) |
Import an RSA private key. | |
size_t | crypto_rsa_get_modulus_len (struct crypto_rsa_key *key) |
Get the modulus length of the RSA key. | |
int | crypto_rsa_exptmod (const u8 *in, size_t inlen, u8 *out, size_t *outlen, struct crypto_rsa_key *key, int use_private) |
RSA modular exponentiation. | |
void | crypto_rsa_free (struct crypto_rsa_key *key) |
Free RSA key. |
Alternatively, this software may be distributed under the terms of BSD license.
See README and COPYING for more details.
Definition in file rsa.c.
|
RSA modular exponentiation.
Definition at line 254 of file rsa.c. Here is the call graph for this function: |
|
Free RSA key.
Definition at line 352 of file rsa.c. Here is the call graph for this function: |
|
Get the modulus length of the RSA key.
Definition at line 237 of file rsa.c. Here is the call graph for this function: |
|
Import an RSA private key.
Definition at line 136 of file rsa.c. Here is the call graph for this function: |
|
Import an RSA public key.
Definition at line 71 of file rsa.c. Here is the call graph for this function: |