Do real people use PBKDF2 with PRFs that aren't HMAC?


On Tue, Jan 28, 2014 at 1:24 PM, Alex Gaynor <alex.gaynor@gmail.com> wrote:

> I could go either way.
>
>
> On Tue, Jan 28, 2014 at 1:23 PM, Paul Kehrer <notifications@github.com>wrote:
>
>> In cryptography/hazmat/backends/openssl/backend.py:
>>
>> > @@ -133,6 +134,47 @@ def create_symmetric_encryption_ctx(self, cipher, mode):
>> >      def create_symmetric_decryption_ctx(self, cipher, mode):
>> >          return _CipherContext(self, cipher, mode, _CipherContext._DECRYPT)
>> >
>> > +    def pbkdf2_hash_supported(self, algorithm):
>>
>> Yes, which as @alex <https://github.com/alex> noted means we either need
>> to call this PBKDF2HMAC or build it a bit more generically (and just have
>> OpenSSL and CommonCrypto only support passing HMAC objects). I'm favoring
>> the latter at the moment.
>>
>> —
>> Reply to this email directly or view it on GitHub<https://github.com/pyca/cryptography/pull/520/files#r9240241>
>> .
>>
>
>
>
> --
> "I disapprove of what you say, but I will defend to the death your right
> to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
> "The people's good is the highest law." -- Cicero
> GPG Key fingerprint: 125F 5C67 DFE9 4084
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084