fix: Swap auth and biscuit fields in RespHello

Issue: #68 (https://github.com/rosenpass/rosenpass/issues/68#issuecomment-1563655004)
This commit is contained in:
Karolin Varner
2023-10-03 18:43:34 +02:00
parent cdcdb502fd
commit 70cc51ed7a

View File

@@ -291,10 +291,10 @@ data_lense! { RespHello :=
ecti: EphemeralKEM::CT_LEN,
/// Classic McEliece Ciphertext
scti: StaticKEM::CT_LEN,
/// Empty encrypted message (just an auth tag)
auth: sodium::AEAD_TAG_LEN,
/// Responders handshake state in encrypted form
biscuit: BISCUIT_CT_LEN
biscuit: BISCUIT_CT_LEN,
/// Empty encrypted message (just an auth tag)
auth: sodium::AEAD_TAG_LEN
}
data_lense! { InitConf :=