Re: [openssl-users] Password based key derivation

2015-04-09 Thread Tom Francis
> On Apr 9, 2015, at 3:13 PM, Deepak wrote: > > Hi, > > Any help on following questions is appreciated. > > 1) Can the function PKCS5_PBKDF2_HMAC_SHA1() in 0.9.8zf be used to > derive a key for AES-256-CBC encryption from user supplied passphrase? Yes. > 2) Is PKCS5_PBKDF2_HMAC_S

Re: [openssl-users] Password based key derivation

2015-04-09 Thread Jeffrey Walton
> 1) Can the function PKCS5_PBKDF2_HMAC_SHA1() in 0.9.8zf be used to > derive a key for AES-256-CBC encryption from user supplied passphrase? For the function PKCS5_PBKDF2_HMAC_SHA1, Yes. See https://wiki.openssl.org/index.php/Manual:PKCS5_PBKDF2_HMAC(3). I'm not sure what the significance

[openssl-users] Password based key derivation

2015-04-09 Thread Deepak
Hi, Any help on following questions is appreciated. 1) Can the function PKCS5_PBKDF2_HMAC_SHA1() in 0.9.8zf be used to derive a key for AES-256-CBC encryption from user supplied passphrase? 2) Is PKCS5_PBKDF2_HMAC_SHA1() preferable to EVP_BytesToKey() and why ? I see PKCS5_PBKDF2

Re: [openssl-users] openssl 1.0.2 shared build's linking is not consistent - bin and libs linked to different libcrypto.so's

2015-04-09 Thread h15234
Since it'll apparently remain a mystery how to tame the build system to do what you want it to do and link/rpath the libraries consistently, a workaround is to just ignore it -- and fix the link AFTER the build's done. Noting On Tue, Apr 7, 2015, at 07:06 PM, Jeffrey Walton wrote: