Skip to content

Commit

Permalink
name MMIO log items
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-erbsen committed Apr 4, 2024
1 parent bc076d0 commit 6e4617d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Bedrock/End2End/X25519/GarageDoor.v
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,13 @@ Local Coercion Z.b2z : bool >-> Z.

Record state := { prng_state : list byte ; x25519_ephemeral_secret : list byte }.

Definition protocol_step : state -> list _ -> state -> Prop :=
Local Notation MMIO := (string * word.rep * word.rep)%type.
Goal True.
pose (lightbulb_spec.lan9250_writepacket Naive.word32 :
list Init.Byte.byte -> list MMIO -> Prop).
Abort.

Definition protocol_step : state -> list MMIO -> state -> Prop :=
fun '(Build_state seed sk) ioh '(Build_state SEED SK) =>
(lightbulb_spec.lan9250_recv_no_packet _ ioh \/
lightbulb_spec.lan9250_recv_packet_too_long _ ioh \/
Expand Down

0 comments on commit 6e4617d

Please sign in to comment.