Re: NSS equivalent of OpenSSL's EVP_CipherUpdate

2008-09-03 Thread Graham Leggett
Robert Relyea wrote: How do I set up the symmetrical key, cipher and digest for PK11_CipherOp to replace the OpenSSL EVP_BytesToKey function? That would be PK11_ImportSymKey(). NOTE: this function is available mostly for compatiblity, it will not work in all cases (hardware tokens, for

Re: NSS equivalent of OpenSSL's EVP_CipherUpdate

2008-09-03 Thread Robert Relyea
Graham Leggett wrote: Robert Relyea wrote: Newer applications should use more standard algorithms such as PKCS#5 v2.0 for key derivation. I am assuming NSS supports PKCS#5 v2, what functions should I be looking at to achieve this? Ah, It's a PBE algorithm. That is a perfectly acceptable

Re: NSS equivalent of OpenSSL's EVP_CipherUpdate

2008-09-02 Thread Robert Relyea
Graham Leggett wrote: Hi all, I am trying to port some symmetrical encryption / decryption code using OpenSSL's EVP_CipherUpdate function to NSS, and I am running into trouble trying to find the API documentation for NSS. So far, the closest to documentation that I have found is a list of

Re: NSS equivalent of OpenSSL's EVP_CipherUpdate

2008-09-01 Thread Subrata Mazumdar
Hi, Apache XML Security C++ library (http://xml.apache.org/security/c/index.html) provides single C++ based cryptographic interface with multiple Crypto API (OpenSSL, NSS, MS-CAPI) based implementation. The Apache XML Security C++ library implements signing, encryption as well as decryption

Re: NSS equivalent of OpenSSL's EVP_CipherUpdate

2008-09-01 Thread Graham Leggett
Subrata Mazumdar wrote: Apache XML Security C++ library (http://xml.apache.org/security/c/index.html) provides single C++ based cryptographic interface with multiple Crypto API (OpenSSL, NSS, MS-CAPI) based implementation. The Apache XML Security C++ library implements signing, encryption as

Re: NSS equivalent of OpenSSL's EVP_CipherUpdate

2008-08-31 Thread Nelson B Bolyard
Graham Leggett wrote, On 2008-08-31 09:52: Hi all, I am trying to port some symmetrical encryption / decryption code using OpenSSL's EVP_CipherUpdate function to NSS, and I am running into trouble trying to find the API documentation for NSS. So far, the closest to documentation that I