#include <string.h>
#include <stdio.h>
#include "xyssl/rsa.h"
#include "xyssl/sha1.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
Definition at line 31 of file rsa_sign.c.
References buf, rsa_context::D, rsa_context::DP, rsa_context::DQ, rsa_context::E, f, rsa_context::len, mpi_msb(), mpi_read_file(), rsa_context::N, rsa_context::P, rsa_context::Q, rsa_context::QP, rsa_init(), rsa_pkcs1_sign(), RSA_PKCS_V15, RSA_PRIVATE, RSA_SHA1, and sha1_file().