crypto: use correct derived key size when timing pbkdf