val offeredPsks_binders'_validator:LL.validator offeredPsks_binders'_parser
val offeredPsks_binders'_validator:LL.validator offeredPsks_binders'_parser
let offeredPsks_binders'_validator : LL.validator offeredPsks_binders'_parser =
  LL.validate_bounded_vldata_strong 33 65535 (LP.serialize_list _ pskBinderEntry_serializer) (LL.validate_list pskBinderEntry_validator ()) ()
module MiTLS.Parsers.OfferedPsks_binders

(* 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 offeredPsks_binders_list_bytesize x = Seq.length (LP.serialize (LP.serialize_list _ pskBinderEntry_serializer) x)

let offeredPsks_binders_list_bytesize_nil = LP.serialize_list_nil pskBinderEntry_parser pskBinderEntry_serializer

let offeredPsks_binders_list_bytesize_cons x y = LP.serialize_list_cons pskBinderEntry_parser pskBinderEntry_serializer x y; (pskBinderEntry_bytesize_eq (x))

let offeredPsks_binders_list_bytesize_eq l = LL.serialized_list_length_eq_length_serialize_list pskBinderEntry_serializer l

let check_offeredPsks_binders_list_bytesize l =
  let x = LSZ.size32_list pskBinderEntry_size32 () l in
  33ul `U32.lte` x && x `U32.lte` 65535ul

type offeredPsks_binders' = LP.parse_bounded_vldata_strong_t 33 65535 (LP.serialize_list _ pskBinderEntry_serializer)

inline_for_extraction let synth_offeredPsks_binders (x: offeredPsks_binders') : Tot offeredPsks_binders = x

inline_for_extraction let synth_offeredPsks_binders_recip (x: offeredPsks_binders) : Tot offeredPsks_binders' = x

noextract let offeredPsks_binders'_parser : LP.parser _ offeredPsks_binders' =
  LP.parse_bounded_vldata_strong 33 65535 (LP.serialize_list _ pskBinderEntry_serializer)

let offeredPsks_binders_parser = offeredPsks_binders'_parser `LP.parse_synth` synth_offeredPsks_binders 

noextract let offeredPsks_binders'_serializer : LP.serializer offeredPsks_binders'_parser =
  LP.serialize_bounded_vldata_strong 33 65535 (LP.serialize_list _ pskBinderEntry_serializer)

let offeredPsks_binders_serializer = LP.serialize_synth _ synth_offeredPsks_binders offeredPsks_binders'_serializer synth_offeredPsks_binders_recip ()

let offeredPsks_binders_bytesize (x:offeredPsks_binders) : GTot nat = Seq.length (offeredPsks_binders_serializer x)

let offeredPsks_binders_bytesize_eq x = ()

inline_for_extraction noextract let offeredPsks_binders'_parser32 : LS.parser32 offeredPsks_binders'_parser =
  LS.parse32_bounded_vldata_strong 33 33ul 65535 65535ul (LP.serialize_list _ pskBinderEntry_serializer) (LS.parse32_list pskBinderEntry_parser32)

let offeredPsks_binders_parser32 = LS.parse32_synth' _ synth_offeredPsks_binders offeredPsks_binders'_parser32 ()

inline_for_extraction noextract let offeredPsks_binders'_serializer32 : LS.serializer32 offeredPsks_binders'_serializer =
  LS.serialize32_bounded_vldata_strong 33 65535 (LS.partial_serialize32_list _ pskBinderEntry_serializer pskBinderEntry_serializer32 ())

let offeredPsks_binders_serializer32 = LS.serialize32_synth' _ synth_offeredPsks_binders _ offeredPsks_binders'_serializer32 synth_offeredPsks_binders_recip ()

inline_for_extraction noextract let offeredPsks_binders'_size32 : LSZ.size32 offeredPsks_binders'_serializer =
  LSZ.size32_bounded_vldata_strong 33 65535 (LSZ.size32_list pskBinderEntry_size32 ()) 2ul

let offeredPsks_binders_size32 = LSZ.size32_synth' _ synth_offeredPsks_binders _ offeredPsks_binders'_size32 synth_offeredPsks_binders_recip ()
/
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.OfferedPsks_binders.fst
LowParse.Low.Base.validator MiTLS.Parsers.OfferedPsks_binders.offeredPsks_binders'_parser
LowParse.Low.VLData.validate_bounded_vldata_strong LowParse.Spec.List.parse_list_kind Prims.list MiTLS.Parsers.PskBinderEntry.pskBinderEntry LowParse.Spec.List.parse_list MiTLS.Parsers.PskBinderEntry.pskBinderEntry_parser_kind MiTLS.Parsers.PskBinderEntry.pskBinderEntry_parser LowParse.Spec.List.serialize_list MiTLS.Parsers.PskBinderEntry.pskBinderEntry_serializer LowParse.Low.List.validate_list MiTLS.Parsers.PskBinderEntry.pskBinderEntry_validator
let offeredPsks_binders'_validator:LL.validator offeredPsks_binders'_parser =
  
LL.validate_bounded_vldata_strong 33
  65535
  (LP.serialize_list _ pskBinderEntry_serializer)
  (LL.validate_list pskBinderEntry_validator ())
  ()