#include "includes.h"
#include "common.h"
#include "asn1.h"
#include "bignum.h"
#include "rsa.h"
Go to the source code of this file.
Function Documentation
crypto_rsa_exptmod - RSA modular exponentiation : Input data : Input data length : Buffer for output data : Maximum size of the output buffer and used size on success : RSA key : 1 = Use RSA private key, 0 = Use RSA public key Returns: 0 on success, -1 on failure
Definition at line 248 of file rsa.c.
crypto_rsa_get_modulus_len - Get the modulus length of the RSA key : RSA key Returns: Modulus length of the key
Definition at line 232 of file rsa.c.
crypto_rsa_import_private_key - Import an RSA private key : Key buffer (DER encoded RSA private key) : Key buffer length in bytes Returns: Pointer to the private key or NULL on failure
Definition at line 132 of file rsa.c.
crypto_rsa_import_public_key - Import an RSA public key : Key buffer (DER encoded RSA public key) : Key buffer length in bytes Returns: Pointer to the public key or NULL on failure
Definition at line 68 of file rsa.c.
Definition at line 37 of file rsa.c.