As part of the BLS Standard HKDF is being used as part of the hash to curve function.
Required changes
1) Building HMAC's for the hashing algorithm according to this standard
2) Adding HKDF-Extract and HKDF-Extend from this standard.
Proposal
As the sha256/384/512 algorithms have already been implemented I suggest simply adding a hmac function and the two functions for HKDF to each of those structs.
Issue
As part of the BLS Standard HKDF is being used as part of the hash to curve function.
Required changes
1) Building HMAC's for the hashing algorithm according to this standard 2) Adding
HKDF-Extract
andHKDF-Extend
from this standard.Proposal
As the sha256/384/512 algorithms have already been implemented I suggest simply adding a
hmac
function and the two functions for HKDF to each of those structs.