Re: [PHP-DEV] openssl_seal new param

2015-09-01 Thread Jakub Zelenka
Hi Scott, On Mon, Aug 31, 2015 at 10:56 PM, Scott Arciszewski wrote: > > > At the risk of sounding silly, can we just use random_bytes()? :) > > This is about internal calls in OpenSSL so we would have to register our RAND methods. That can be however problematic with potential using of engine AP

Re: [PHP-DEV] openssl_seal new param

2015-09-01 Thread Jakub Zelenka
Hi Anatol On Mon, Aug 31, 2015 at 10:16 PM, Anatol Belski wrote: > > > > > > > There also is an another thing for TS Win build (probably question > > > > for > > > Anatol and > > > > Pierre :) ). The thing is that EVP_SealInit uses internally > RAND_bytes. > > > IIRC there is > > > > some locking

Re: [PHP-DEV] openssl_seal new param

2015-08-31 Thread Scott Arciszewski
gt; Cc: PHP internals list ; Ferenc Kovacs >> ; Pierre Joye >> Subject: Re: [PHP-DEV] openssl_seal new param >> >> Hi Anatol, >> >> On Mon, Aug 31, 2015 at 12:17 PM, Anatol Belski >> wrote: >> > >> > > Hi, >> > > >&

RE: [PHP-DEV] openssl_seal new param

2015-08-31 Thread Anatol Belski
Hi Jakub, > -Original Message- > From: jakub@gmail.com [mailto:jakub@gmail.com] On Behalf Of Jakub > Zelenka > Sent: Monday, August 31, 2015 10:13 PM > To: Anatol Belski > Cc: PHP internals list ; Ferenc Kovacs > ; Pierre Joye > Subject: Re: [PHP-DEV

Re: [PHP-DEV] openssl_seal new param

2015-08-31 Thread Jakub Zelenka
Hi Anatol, On Mon, Aug 31, 2015 at 12:17 PM, Anatol Belski wrote: > > > Hi, > > > > I have been looking to https://bugs.php.net/bug.php?id=60632 which is > about > > failing (segfaulting) openssl_seal when used with cipher alg that > requires IV (e.g. > > AES-128-CBC). I think that the patch look

RE: [PHP-DEV] openssl_seal new param

2015-08-31 Thread Anatol Belski
Hi Jakub, > -Original Message- > From: jakub@gmail.com [mailto:jakub@gmail.com] On Behalf Of Jakub > Zelenka > Sent: Sunday, August 30, 2015 9:11 PM > To: PHP internals list ; Ferenc Kovacs > ; Anatol Belski ; Pierre Joye > > Subject: [PHP-DEV] openssl_seal new param > > Hi, > >