rweather / noise-c

Noise-C, a plain C implementation of the Noise protocol
MIT License
304 stars 86 forks source link

Rekey() function is not present #24

Closed nazar-pc closed 7 years ago

nazar-pc commented 7 years ago

Reading through the spec it seems like there should be a function like noise_cipherstate_rekey(), but there is none. Will you add it to match the spec or it is already there, but named differently?

rweather commented 7 years ago

That's the plan and I do have a function called exactly than in a private branch on my machine. I've been working on the changes for rev32 of the Noise specification, but my day job has been eating all my time lately. Hopefully I'll get some time to finish off the rev32 changes in the next few weeks.

nazar-pc commented 7 years ago

MixKeyAndHash() on SymmetricState is another function missing, but can be relatively easily implemented manually.