Hi,
I have asnippet that encrypts/decrypts using RSA.
#include stdio.h
#include openssl/rsa.h
#include string.h
// RSATest: Program illustrating Simple RSA Encryption/Decryption
int main()
{
char *plain="Sample text"; //Sample text (plain text) to Encrypt/Decrypt
char *ciphertext;
char
Hi,
I have the following code
#include openssl/rsa.h
#include openssl/evp.h
int main()
{
OpenSSL_add_all_algorithms();
ERR_load_crypto_strings();
ERR_print_errors_fp(stderr);
RSA *rsa;
BIO *publickey;
ERR_load_crypto_strings();
rsa = RSA_generate_key(1024, 65537, NULL, NULL);
char *passwd =
Sorry for the stupid question, I have figured it out.
Thanks
JoeJoe smith [EMAIL PROTECTED] wrote:
Hi,
I have the following code
#include openssl/rsa.h
#include openssl/evp.h
int main()
{
OpenSSL_add_all_algorithms();
ERR_load_crypto_strings();
ERR_print_errors_fp(stderr);
RSA *rsa;
BIO
Hi,
I want to try and experiment using openssl on nucleus embedded system. Any idea what type should I use(Windows, Cygwin, UNIX) etc.?
Thanks,
Joe
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
exit(1);
}
}
Any suggestions,
Joe"Dr. Stephen Henson" [EMAIL PROTECTED] wrote:
On Fri, Jul 16, 2004, Joe smith wrote: Hi:[code snipped] But i am getting the following error: 1536:error:06074079:lib(6):func(116):reason(121):evp_pbe.c:89:TYPE=PBES2 Any suggestions? The FAQ? This is anoth
sting.thanx for the advice anyways.
Thanks,
Joe"Dr. Stephen Henson" [EMAIL PROTECTED] wrote:
On Mon, Jul 19, 2004, Joe smith wrote: Hi, I tried modifying the code and now I get a segmentation fault on this line: err = EVP_CipherUpdate (ctx, enc_buff, bytes_enc, message, strlen(me
I think this is it:
openssl x509 -in clientapp.pem -out clientapp.crt
But please confirm.
Joe
Ian Miller [EMAIL PROTECTED] wrote:
How do I convert my sitecert.pem to a sitecert.crtwhat are the comands for it.Thanks in
Hi:
I have the following code to test PBE
#include stdio.h
#include string.h
#include openssl/x509.h
#include openssl/evp.h
#include openssl/err.h
int main()
{
EVP_CIPHER_CTX ctx;
X509_ALGOR *alg;
unsigned char* passwd = "password";
unsigned char *message = "Test message";
int bytes_enc,
Hi,
This is a question regarding the makefile in the crypto/rsa folder in openssl. I am trying to run the make file to give me a library that I can use to just run the RSA algorithm in openssl. But it seems the required .c file dependencies for the .o files are missing i.e. only the .h files are
Hi,
I am new to openssl and still exploring its use. So I was wondering what the use of the make file in every individual folder is?
For example the make file in the aes directory.does it mean that we can have only aes as a seperate library if we run that makefile?
Thanks,
Joe
Do you
:
On July 8, 2004 05:14 pm, Joe smith wrote: I really appreciate the quick response. Currently I am exploring how to use the RSA library. So lets take the rsa structure[snip] So are you saying the ENGINE variable does not come into picture if we use RSA_generate_key(1024,65537,NULL,NULL
Hi,
I am new to OpenSSL and I want to use RSA for a simple project. I just want to know what is the difference between RSA_public_encrypt function and RSA_eay_public_encrypt function in rsa_eay.c
Thanks,
Joe
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
Hi,
I am new to openssl and am still exploring its use. Can someone tell me what is the use of the various Engines in openssl.
And what happens if I disable the engine?
Joe
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
Ok, this may be a stupid question but...
I want to make a simple program that will generate a RSA key. Here is what
my code looks like:
cut-
#include openssl/ssl.h
#include openssl/err.h
#include openssl/rsa.h
void main()
{
RSA *rsa = NULL;
rsa =
14 matches
Mail list logo