Re: EVP_CIPHER_CTX_copy() segv with XTS

2014-06-30 Thread Huzaifa Sidhpurwala
Ah c2fd5d79ffc4fc9d120a0faad579ce96473e6a2f already addresses this! On Mon, Jun 30, 2014 at 9:48 PM, Huzaifa Sidhpurwala < sidhpurwala.huza...@gmail.com> wrote: > On Mon, Jun 30, 2014 at 5:01 PM, Dr. Stephen Henson > wrote: > >> On Mon, Jun 30, 2014, Huzaifa Sidhpurwala wrote: >> >> > Hi Peter,

Re: EVP_CIPHER_CTX_copy() segv with XTS

2014-06-30 Thread Dr. Stephen Henson
On Mon, Jun 30, 2014, Huzaifa Sidhpurwala wrote: > On Mon, Jun 30, 2014 at 5:01 PM, Dr. Stephen Henson > wrote: > > > On Mon, Jun 30, 2014, Huzaifa Sidhpurwala wrote: > > > > > Hi Peter, > > > > > > Are you facing any issues similar to > > > http://rt.openssl.org/Ticket/Display.html?user=guest&p

Re: EVP_CIPHER_CTX_copy() segv with XTS

2014-06-30 Thread Huzaifa Sidhpurwala
On Mon, Jun 30, 2014 at 5:01 PM, Dr. Stephen Henson wrote: > On Mon, Jun 30, 2014, Huzaifa Sidhpurwala wrote: > > > Hi Peter, > > > > Are you facing any issues similar to > > http://rt.openssl.org/Ticket/Display.html?user=guest&pass=guest&id=3272 > ? > > or are just commenting on the previous GCM

Re: EVP_CIPHER_CTX_copy() segv with XTS

2014-06-30 Thread Dr. Stephen Henson
On Mon, Jun 30, 2014, Dr. Stephen Henson wrote: > On Mon, Jun 30, 2014, Huzaifa Sidhpurwala wrote: > > > Hi Peter, > > > > Are you facing any issues similar to > > http://rt.openssl.org/Ticket/Display.html?user=guest&pass=guest&id=3272 ? > > or are just commenting on the previous GCM fix? > > >

Re: EVP_CIPHER_CTX_copy() segv with XTS

2014-06-30 Thread Dr. Stephen Henson
On Mon, Jun 30, 2014, Huzaifa Sidhpurwala wrote: > Hi Peter, > > Are you facing any issues similar to > http://rt.openssl.org/Ticket/Display.html?user=guest&pass=guest&id=3272 ? > or are just commenting on the previous GCM fix? > > A quick look at the EVP_AES_XTS_CTX suggests that the only point

Re: EVP_CIPHER_CTX_copy() segv with XTS

2014-06-30 Thread Peter Waltenberg
To: openssl-dev@openssl.orgFrom: Huzaifa Sidhpurwala Sent by: owner-openssl-...@openssl.orgDate: 06/30/2014 07:19PM Subject: Re: EVP_CIPHER_CTX_copy() segv with XTS Hi Peter,Are you facing any issues similar to http://rt.openssl.org/Ticket/Display.html?user=guest&pass=guest&id=3272 ? o

Re: EVP_CIPHER_CTX_copy() segv with XTS

2014-06-30 Thread Huzaifa Sidhpurwala
Hi Peter, Are you facing any issues similar to http://rt.openssl.org/Ticket/Display.html?user=guest&pass=guest&id=3272 ? or are just commenting on the previous GCM fix? A quick look at the EVP_AES_XTS_CTX suggests that the only pointer in there is (*stream) which points to the function which is r

EVP_CIPHER_CTX_copy() segv with XTS

2014-06-29 Thread Peter Waltenberg
This appears to be the same 'pattern' error as GCM. For XTS ctx-> cipher_data contains pointers and the contents are aren't being fully duplicated by the copy. Peter __ OpenSSL Project http://w