val newSessionTicketExtension_e_default_serializer: LP.serializer newSessionTicketExtension_e_default_parser
val newSessionTicketExtension_e_default_serializer: LP.serializer newSessionTicketExtension_e_default_parser
let newSessionTicketExtension_e_default_serializer = LP.serialize_synth _ synth_newSessionTicketExtension_e_default newSessionTicketExtension_e_default'_serializer synth_newSessionTicketExtension_e_default_recip ()
module MiTLS.Parsers.NewSessionTicketExtension_e_default

(* 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 check_newSessionTicketExtension_e_default_bytesize x =
  [@inline_let] let _ = (unknownExtension_bytesize_eq (x)) in
  let l = unknownExtension_size32 x in
  0ul `U32.lte` l && l `U32.lte` 65535ul

type newSessionTicketExtension_e_default' = LP.parse_bounded_vldata_strong_t 0 65535 unknownExtension_serializer

inline_for_extraction let synth_newSessionTicketExtension_e_default (x: newSessionTicketExtension_e_default') : Tot newSessionTicketExtension_e_default =
  [@inline_let] let _ = (unknownExtension_bytesize_eq (x)) in x

inline_for_extraction let synth_newSessionTicketExtension_e_default_recip (x: newSessionTicketExtension_e_default) : Tot newSessionTicketExtension_e_default' =
  [@inline_let] let _ = (unknownExtension_bytesize_eq (x)) in x

noextract let newSessionTicketExtension_e_default'_parser : LP.parser _ newSessionTicketExtension_e_default' =
  LP.parse_bounded_vldata_strong 0 65535 unknownExtension_serializer

let newSessionTicketExtension_e_default_parser = LP.parse_synth newSessionTicketExtension_e_default'_parser synth_newSessionTicketExtension_e_default

noextract let newSessionTicketExtension_e_default'_serializer : LP.serializer newSessionTicketExtension_e_default'_parser =
  LP.serialize_bounded_vldata_strong 0 65535 unknownExtension_serializer
/
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.NewSessionTicketExtension_e_default.fst
LowParse.Spec.Base.serializer MiTLS.Parsers.NewSessionTicketExtension_e_default.newSessionTicketExtension_e_default_parser

LowParse.Spec.Combinators.serialize_synth LowParse.Spec.VLData.parse_bounded_vldata_strong_kind LowParse.Spec.BoundedInt.log256' MiTLS.Parsers.UnknownExtension.unknownExtension_parser_kind MiTLS.Parsers.NewSessionTicketExtension_e_default.newSessionTicketExtension_e_default' MiTLS.Parsers.NewSessionTicketExtension_e_default.newSessionTicketExtension_e_default MiTLS.Parsers.NewSessionTicketExtension_e_default.newSessionTicketExtension_e_default'_parser MiTLS.Parsers.NewSessionTicketExtension_e_default.synth_newSessionTicketExtension_e_default MiTLS.Parsers.NewSessionTicketExtension_e_default.newSessionTicketExtension_e_default'_serializer MiTLS.Parsers.NewSessionTicketExtension_e_default.synth_newSessionTicketExtension_e_default_recip
let newSessionTicketExtension_e_default_serializer =
  
LP.serialize_synth _
  synth_newSessionTicketExtension_e_default
  newSessionTicketExtension_e_default'_serializer
  synth_newSessionTicketExtension_e_default_recip
  ()