OpenSSL and GOST engine issue (statically linked library )

2012-06-16 Thread Abyss Lingvo
 >>IIRC, when you do dynamic linkage, the conf file is parsed and engine initiated as per conf file, not when you do static linkage. Hence your issue.  The question is how to initialize this engine programmatically.  I called  OPENSSL_config("correct config file path")  with correct config file

DES_ede3_cbc_encrypt Maximum Text Length?

2012-06-16 Thread Brandon Shaw
I am interacting with DES encryption at a fairly superficial level, but it has been working for some time. Now I am trying to encrypt a slightly longer text string and am running into a problem. It works well until my text length exceeds about 8 KB and then it simply truncates the input and en

Question about MAC1

2012-06-16 Thread Khuc, Chuong D.
Hello, Does anyone know if OpenSSL supported MAC1? I tried to find a way to encrypt an unsigned char array of plaintext, using an unsigned char array key of MAC1 algorithm. The parameters of MAC1 are sha-256 and tbits = 160. Does anyone know how I can write my C++ code to do that? Thank you. Re

Re: 0.9.8x: RSA_padding_check_PKCS1_type_1:block type is not 0

2012-06-16 Thread Martin v. Löwis
On 16.06.2012 14:02, Dr. Stephen Henson wrote: > On Sat, Jun 16, 2012, "Martin v. Lwis" wrote: > >> I'm trying to connect to https://grooveshark.com using s_client, and get >> >> CONNECTED(0003) >> depth=3 /L=ValiCert Validation Network/O=ValiCert, Inc./OU=ValiCert >> Class 2 Policy Validation

Re: 0.9.8x: RSA_padding_check_PKCS1_type_1:block type is not 0

2012-06-16 Thread Dr. Stephen Henson
On Sat, Jun 16, 2012, "Martin v. Lwis" wrote: > I'm trying to connect to https://grooveshark.com using s_client, and get > > CONNECTED(0003) > depth=3 /L=ValiCert Validation Network/O=ValiCert, Inc./OU=ValiCert > Class 2 Policy Validation > Authority/CN=http://www.valicert.com//emailAddress=i

Re: How does cipher selection and TLS protocol negotiation interact

2012-06-16 Thread Dr. Stephen Henson
On Fri, Jun 15, 2012, Erik Forsberg wrote: > To answer my own question, seems the code that generates the > SSL_CIPHER_description() output does not make any difference between SSLv3, > TLSv1.0 > and TLSv1.1. Only TLSv1.2 is displayed as such. So in my case, I probably > did have a TLSv1 connectio

0.9.8x: RSA_padding_check_PKCS1_type_1:block type is not 0

2012-06-16 Thread Martin v. Löwis
I'm trying to connect to https://grooveshark.com using s_client, and get CONNECTED(0003) depth=3 /L=ValiCert Validation Network/O=ValiCert, Inc./OU=ValiCert Class 2 Policy Validation Authority/CN=http://www.valicert.com//emailAddress=i...@valicert.com verify error:num=19:self signed certificat