|
|
@@ -74,6 +74,9 @@ comms_process(struct comms_state *cs, struct pktbuf pbin, struct pktbuf *pbout) |
|
|
|
ret = strobe_put(&cs->cs_state, APP_CIPHERTEXT, buf, |
|
|
|
CHALLENGE_LEN); |
|
|
|
ret += strobe_put(&cs->cs_state, MAC, NULL, MAC_LEN); |
|
|
|
|
|
|
|
strobe_operate(&cs->cs_state, RATCHET, NULL, 32); |
|
|
|
|
|
|
|
cs->cs_comm_state = COMMS_WAIT_CONFIRM; |
|
|
|
break; |
|
|
|
|
|
|
|