ene icon indicating copy to clipboard operation
ene copied to clipboard

Pre-Shared Key Support

Open quininer opened this issue 6 years ago • 1 comments

The PSK should be part of the protocol?

quininer avatar Aug 02 '18 11:08 quininer

We should use a mixed mode, like noise protocol.

// ooake(ristrettodh)@psk@kyber-aes128colm0

let mut state = State::new();
state.mix(ooake::<ristrettodh>());
state.mix(psk);
state.mix(kyber());
let key = state.key();

aes128colm0(key);

quininer avatar Sep 13 '18 10:09 quininer