Where to find Double Ratchet implementation in libotr-ng
Created by: cobratbq
I understand from https://github.com/otrv4/otrv4/issues/193#issuecomment-478373107 that the redesigned Double Ratchet algorithm is already implemented in libotr-ng. Could you point me to the implementation? (I expected it to be in https://github.com/otrv4/libotr-ng/blob/master/src/key_management.c, but did not find it there.)
I'm doing the implementation, but find that the recent change for only setting
since_last_dh = 0 on rotating sending keys might give problems. I understand that the last small tweaks are not yet in libotr-ng. I'd like to verify that the rest of the implementations are similar.