[openssl-dev] Openssl apps linker errors after adding new cipher

2016-07-10 Thread Wang Hao Lee
Dear all, I'm pretty new to this mailing list so please be easy on me :) I have integrated a custom 256bit symmetric cipher into OpenSSL 1.0.2g (the ubuntu version); and now i'm facing linker errors building openssl apps. My new cipher is called MYCIPH or myciph. The format for the modifications

Re: [openssl-dev] [openssl.org #4611] PKCS12_create() not thread-safe for ECDSA

2016-07-10 Thread Matt Slot via RT
On 7/10/16, 3:41 PM, "Salz, Rich via RT" wrote: >>These APIs are documented as thread safe, and should not change the >>internal flags of the pkey without proper locking. > >Where is that? >From https://www.openssl.org/docs/man1.0.2/crypto/threads.html "OpenSSL can

Re: [openssl-dev] [openssl.org #4611] PKCS12_create() not thread-safe for ECDSA

2016-07-10 Thread Salz, Rich via RT
> These APIs are documented as thread safe, and should not change the > internal flags of the pkey without proper locking. Where is that? -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4611 Please log in as guest with password guest if prompted -- openssl-dev mailing list To

[openssl-dev] [openssl.org #4611] PKCS12_create() not thread-safe for ECDSA

2016-07-10 Thread Matt Slot via RT
OpenSSL 1.0.2h The function eckey_priv_encode() may crash if the same pkey is serialized from multiple threads. Here is a sample backtrace: #0 0x7fff8f321f92 in _platform_memmove$VARIANT$Haswell () #1 0x000100196132 in i2c_ASN1_BIT_STRING #2 0x0001001a1fb2 in asn1_ex_i2c #3