Hello all!
I have created a c file where i encrypt with aes128, and is all good!! I
have create a mini-code that do the same that the command:
"openssl enc -a -aes128 -in file.txt -out file.enc -pass
pass:12345678"
In my code, i have a file that contents the data and i create a BIO:
filename = "path_to_file";
BIO *in = NULL;
in=BIO_new(BIO_s_file());
BIO_read_filename(in,filename);
Now I need to change all to create a BIO * from a char []
I have all data that i have to encrypt in a char[9500] (in a buffer) and
i don't know how create a BIO from buffer.
somebody can help me??
Thank!
--
*******************************************************************
LIDIA FERNANDEZ CARPES
Departamento de Ingenieria de la Informacion y las Comunicaciones
Facultad de Informatica
Universidad de Murcia. Campus de Espinardo
30080 Murcia (SPAIN)
Tel.: +34 968 364644
Fax: +34 968 364151
email: [EMAIL PROTECTED]
*******************************************************************
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]