Re: [openssl.org #2863] Mips build of 1.0.1 fails, no private_AES_encrypt_key

2012-09-01 Thread Andy Polyakov via RT
Current mips systems have a variety of pipelines: single-issue in-order, dual-issue in-order, and multi-issue with dynamic scheduling. Code tuned this way for the R5000 is still pretty good for all. Well, dual-issue in-order is the one that can benefit. It's not unlike that it can sustain

[openssl.org #2745] Fwd: GOST engine memory problems

2012-09-01 Thread Stephen Henson via RT
I've finally had time to look into this. Please see if this fixes the issue: http://cvs.openssl.org/chngview?cn=22789 Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org

Re: [PATCH] Fix mips64 compilation with gcc = 4.4

2012-09-01 Thread Andy Polyakov
typedef unsigned int uint128_t __attribute__((mode(TI))); There is builtin __uint128_t type recognized by gcc [reportedly] since 3.1, so that why does one have to clobber it with typedef? Could you generate assembler listing for following snippet? unsigned long long foo(unsigned long long

EC_KEY and PEM_read_RSAPrivateKey

2012-09-01 Thread redpath
Currently I am reading a PEM file which contains a test RSA key /** *Load RSA Keys **/ fp= fopen(test.pem, rb); if (fp==NULL){ printf(ERROR opening RSA Keys failed test.pem\n); return 1; } rsapriv= (RSA *) PEM_read_RSAPrivateKey(fp,rsapriv,

Re: [openssl.org #2745] Fwd: GOST engine memory problems

2012-09-01 Thread Roumen Petrov
Stephen Henson via RT wrote: I've finally had time to look into this. Please see if this fixes the issue: May be is not related, but this engine lack call of ENGINE_register_pkey_asn1_meths . It seems to me without this registration initialization is different . If engine configuration is

Re: [openssl.org #2745] Fwd: GOST engine memory problems

2012-09-01 Thread Roumen Petrov via RT
Stephen Henson via RT wrote: I've finally had time to look into this. Please see if this fixes the issue: May be is not related, but this engine lack call of ENGINE_register_pkey_asn1_meths . It seems to me without this registration initialization is different . If engine configuration is