Hi!

> What are the specific reasons for choosing OpenSSL Bignums over GMP,
> outside of extension availability (which is totally a path I don't want us
> to go down -- see also recent attempts to duplicate ext/mbstring into
> ext/standard)? Are there any particular properties of the openssl
> implementation that are beneficial for certain applications?

I'd say having it for free when you have OpenSSL is a factor. If it were
separate extension, I'd say the right route is to just make PECL ext as
usual, but since this kind of has the natural place in openssl, it may
be a bit different.

I do see a point though that somehow integrating with the rest of
OpenSSL would be a good thing then. After all, if you have code that
does some interesting stuff with data but you can't use openssl pkey
functions to input/output the results, it turns into reimplementing the
whole crypto system and that's usually not a good idea.
-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to