On Sat, Feb 4, 2017 at 2:48 PM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote:

> string hash_hkdf(string algo, string ikm [, int length = 0, string info =
> '', string salt = ''])


I copied and pasted this proto from the source.
It's wrong. Correct one is

string hash_hkdf(string algo, string ikm [, int length = 0 [, string info =
'' [, string salt = '']]])

so my proposal is

string hash_hkdf(string algo, string ikm, string salt [, string info = ''
[, int length = 0]])
 - Set salt to NULL if salt cannot be used, reject null string as invalid.

I will change my mind if there is convincing logical
reason(s) not to do this. I suppose there isn't.

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

Reply via email to