0
$\begingroup$

Currently I am working on a implementation of PBKDF2 for an embedded microcontroller.

My question is that my psuedo-random function is fixed (SHA-512 HMAC) how do perform 'rounds' of encryption?

I am using a vendor provided SHA-512 HMAC implementation has been verified to output correct results for single iteration vectors. The parameters the SHA-512HMAC function are (message, message length, key, key length) to do rounds do it just feed the output digest of the function into the key input to my function?

Thanks

$\endgroup$
2
  • $\begingroup$ Welcome to Cryptography.SE. I'm getting a hard time understanding your problem. Are you asking that how many iterations do you need or how to perform the iterations for PBKDF2-HMAC-HHA512? $\endgroup$
    – kelalaka
    May 28 at 20:14
  • $\begingroup$ If you are not sure, look up the standard. You need to implement function F; the password is the key. $\endgroup$
    – Maarten Bodewes
    May 29 at 1:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.