Rich Salz wrote:
> 
> > Has anyone implemented Perl bindings for the crypto functions in OpenSSL?
> 
> You might want to check out M2Crypto by Ng Pheng Siong;
> http://www.post1.com/home/ngps .  He has used SWIG (www.swig.org) to
> define wrapper interfaces for much of OpenSSL.  M2Crypto uses python,
> but the swig interfaces can be used to generate Perl.

I started on this ages ago but never included anything in OpenSSL. I
partly handled BIO and EVP also using swig. I was starting to look at
handling callbacks then as usual various higher priority things cropped
up.

One of the problems with swig is that it doesn't handle buffers which
can contain embedded nulls automatically (these occur *everywhere* in
OpenSSL) and this usually requires some low level stuff in the relevant
scripting language.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to