Jeeva Chelladhurai wrote:
> 
> Hi,
> 
> I am new to crypto.
> 
> I have to support PBKDF2 of PKCS #5 v2.0 in one of my projects. Would I be able
> to get free implementation for the same?
> 

PKCS#5 v2.0 is supported by OpenSSL, indeed it was used to generate the
test vectors using on RSAs site. Check out crypto/evp/p5_crpt2.c
in the function

PKCS5_PBKDF2_HMAC_SHA1()

> Is SHA_1 is different from HMAC with SHA_1?
> 

Yes. OpenSSL supports both. See the HMAC manual page and RFC2104 for
more info.

> Could somebody guide me how to use SHA_1 of openssl?
> 
> Is there any pointer that would through some light about all the above?
> 

man EVP_DigestInit for the preferred API or man SHA for the low level
API.

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
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to