val handshake13_m_key_update_bytesize_eqn (x: handshake13_m_key_update) : Lemma (handshake13_m_key_update_bytesize x == 3 + (keyUpdate_bytesize (x))) [SMTPat (handshake13_m_key_update_bytesize x)]
val handshake13_m_key_update_bytesize_eqn (x: handshake13_m_key_update) : Lemma (handshake13_m_key_update_bytesize x == 3 + (keyUpdate_bytesize (x))) [SMTPat (handshake13_m_key_update_bytesize x)]
let handshake13_m_key_update_bytesize_eqn x =
  (keyUpdate_bytesize_eq (x))
module MiTLS.Parsers.Handshake13_m_key_update

(* This file has been automatically generated by EverParse. *)
open FStar.Bytes
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module LP = LowParse.Spec
module LT = LowParse.TacLib
module LS = LowParse.SLow
module LSZ = LowParse.SLow
module LPI = LowParse.Spec.AllIntegers
module LL = LowParse.Low
module L = FStar.List.Tot
module B = LowStar.Buffer
module BY = FStar.Bytes
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST

#reset-options "--using_facts_from '* -FStar.Tactics -FStar.Reflection' --z3rlimit 16 --z3cliopt smt.arith.nl=false --max_fuel 2 --max_ifuel 2"

let handshake13_m_key_update_parser =
  LP.parse_bounded_vldata 0 16777215 keyUpdate_parser

let handshake13_m_key_update_serializer =
  LP.serialize_bounded_vldata 0 16777215 keyUpdate_serializer

let handshake13_m_key_update_bytesize (x:handshake13_m_key_update) : GTot nat = Seq.length (handshake13_m_key_update_serializer x)

let handshake13_m_key_update_bytesize_eq x = ()

let handshake13_m_key_update_parser32 =
  LS.parse32_bounded_vldata 0 0ul 16777215 16777215ul keyUpdate_parser32

let handshake13_m_key_update_serializer32 =
  LS.serialize32_bounded_vldata 0 16777215 keyUpdate_serializer32

let handshake13_m_key_update_size32 =
  LSZ.size32_bounded_vldata 0 16777215 keyUpdate_size32 3ul

let handshake13_m_key_update_validator =
  LL.validate_bounded_vldata 0 16777215 keyUpdate_validator ()

let handshake13_m_key_update_gaccessor = LL.gaccessor_bounded_vldata_payload 0 16777215 keyUpdate_parser

let handshake13_m_key_update_accessor = LL.accessor_bounded_vldata_payload 0 16777215 keyUpdate_parser

let handshake13_m_key_update_finalize #_ #_ input pos pos' =
  LL.finalize_bounded_vldata 0 16777215 keyUpdate_parser input pos pos'
/
prims.fst.checked LowStar.Buffer.fst.checked LowParse.TacLib.fst.checked LowParse.Spec.AllIntegers.fst.checked LowParse.Spec.fst.checked LowParse.SLow.fst.checked LowParse.Low.fst.checked FStar.UInt8.fsti.checked FStar.UInt64.fsti.checked FStar.UInt32.fsti.checked FStar.UInt16.fsti.checked FStar.Seq.fst.checked FStar.Pervasives.fsti.checked FStar.List.Tot.fst.checked FStar.HyperStack.ST.fsti.checked FStar.HyperStack.fst.checked FStar.Bytes.fsti.checked
MiTLS.Parsers.Handshake13_m_key_update.fst
x: MiTLS.Parsers.Handshake13_m_key_update.handshake13_m_key_update
  -> FStar.Pervasives.Lemma
      (ensures
        MiTLS.Parsers.Handshake13_m_key_update.handshake13_m_key_update_bytesize x ==
        3 + MiTLS.Parsers.KeyUpdate.keyUpdate_bytesize x)
      [SMTPat (MiTLS.Parsers.Handshake13_m_key_update.handshake13_m_key_update_bytesize x)]
MiTLS.Parsers.Handshake13_m_key_update.handshake13_m_key_update MiTLS.Parsers.KeyUpdate.keyUpdate_bytesize_eq Prims.unit
let handshake13_m_key_update_bytesize_eqn x =
  
(keyUpdate_bytesize_eq (x))