Using AF_ALG with openssl

2014-02-03 Thread tera tellence
Dear All, i am trying to built the AF_ALG API to access kernel cryptographic API on an ubuntu machine. I donwloaded the aF_ALG open SOurce code and followed the instructions to compile it. I then copied the shared library in the openssl engine path. But I have the following error when I tried to

EVP_Decrypt function- AES cbc 128 bit mode- Input length?

2011-04-20 Thread tera tellence
Hi All, I am trying in vain to find out why the AES decrypt won't work here. I have found where exactly is the problem and now looking for some wise-crack to help me solve it. Here is the code that I tested with(from various posts here): #include string.h #include stdio.h

calls to openssl remotely

2011-01-25 Thread tera tellence
Dear All, I have a system A which uses openssl engine for cryptography, however for some experimental purpose, we have to perform crypotography remotely. Therefore, I have to send any calls to openssl engines via socket to a remote system(B) with openssl support. I want to know if the wrapper

.RSA conversion

2010-11-09 Thread tera tellence
Dear All, I have a certificate with a .rsa extension. On googling I found that this is a pkcs7 format using MD5 with RSA. Now my question is, is there a way to convert it to openssl specifics and handle?? I want to read it in say PEM.. thanks

Re: OpenSSL verification SHA1 with RSA problem

2010-09-06 Thread tera tellence
file that I pass to System B (in base64). I decode it as: openssl enc -d -in orig.b64 -out orig.bin But the orig.bin now contains the text that I sent(string) and not the binary. What am I missing? On Fri, Sep 3, 2010 at 10:13 AM, tera tellence tellt...@googlemail.comwrote: Dear all, I

OpenSSL verification SHA1 with RSA problem

2010-09-03 Thread tera tellence
I doing wrong here? Please help!! Regards, Tera Tellence