Fix KEY generation to proper pkcs5 pbkdf2, using Solaris parameters. This
makes the keys compatible between the platforms.