val signedCertificateTimestampList_size32: LSZ.size32 signedCertificateTimestampList_serializer
val signedCertificateTimestampList_size32: LSZ.size32 signedCertificateTimestampList_serializer
let signedCertificateTimestampList_size32 = LSZ.size32_synth' _ synth_signedCertificateTimestampList _ signedCertificateTimestampList'_size32 synth_signedCertificateTimestampList_recip ()
module MiTLS.Parsers.SignedCertificateTimestampList

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

let signedCertificateTimestampList_list_bytesize_nil = LP.serialize_list_nil serializedSCT_parser serializedSCT_serializer

let signedCertificateTimestampList_list_bytesize_cons x y = LP.serialize_list_cons serializedSCT_parser serializedSCT_serializer x y; (serializedSCT_bytesize_eq (x))

let signedCertificateTimestampList_list_bytesize_eq l = LL.serialized_list_length_eq_length_serialize_list serializedSCT_serializer l

let check_signedCertificateTimestampList_list_bytesize l =
  let x = LSZ.size32_list serializedSCT_size32 () l in
  1ul `U32.lte` x && x `U32.lte` 65535ul

type signedCertificateTimestampList' = LP.parse_bounded_vldata_strong_t 1 65535 (LP.serialize_list _ serializedSCT_serializer)

inline_for_extraction let synth_signedCertificateTimestampList (x: signedCertificateTimestampList') : Tot signedCertificateTimestampList = x

inline_for_extraction let synth_signedCertificateTimestampList_recip (x: signedCertificateTimestampList) : Tot signedCertificateTimestampList' = x

noextract let signedCertificateTimestampList'_parser : LP.parser _ signedCertificateTimestampList' =
  LP.parse_bounded_vldata_strong 1 65535 (LP.serialize_list _ serializedSCT_serializer)

let signedCertificateTimestampList_parser = signedCertificateTimestampList'_parser `LP.parse_synth` synth_signedCertificateTimestampList 

noextract let signedCertificateTimestampList'_serializer : LP.serializer signedCertificateTimestampList'_parser =
  LP.serialize_bounded_vldata_strong 1 65535 (LP.serialize_list _ serializedSCT_serializer)

let signedCertificateTimestampList_serializer = LP.serialize_synth _ synth_signedCertificateTimestampList signedCertificateTimestampList'_serializer synth_signedCertificateTimestampList_recip ()

let signedCertificateTimestampList_bytesize (x:signedCertificateTimestampList) : GTot nat = Seq.length (signedCertificateTimestampList_serializer x)

let signedCertificateTimestampList_bytesize_eq x = ()

inline_for_extraction noextract let signedCertificateTimestampList'_parser32 : LS.parser32 signedCertificateTimestampList'_parser =
  LS.parse32_bounded_vldata_strong 1 1ul 65535 65535ul (LP.serialize_list _ serializedSCT_serializer) (LS.parse32_list serializedSCT_parser32)

let signedCertificateTimestampList_parser32 = LS.parse32_synth' _ synth_signedCertificateTimestampList signedCertificateTimestampList'_parser32 ()

inline_for_extraction noextract let signedCertificateTimestampList'_serializer32 : LS.serializer32 signedCertificateTimestampList'_serializer =
  LS.serialize32_bounded_vldata_strong 1 65535 (LS.partial_serialize32_list _ serializedSCT_serializer serializedSCT_serializer32 ())

let signedCertificateTimestampList_serializer32 = LS.serialize32_synth' _ synth_signedCertificateTimestampList _ signedCertificateTimestampList'_serializer32 synth_signedCertificateTimestampList_recip ()

inline_for_extraction noextract let signedCertificateTimestampList'_size32 : LSZ.size32 signedCertificateTimestampList'_serializer =
  LSZ.size32_bounded_vldata_strong 1 65535 (LSZ.size32_list serializedSCT_size32 ()) 2ul
/
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.SignedCertificateTimestampList.fst
LowParse.SLow.Base.size32 MiTLS.Parsers.SignedCertificateTimestampList.signedCertificateTimestampList_serializer

LowParse.SLow.Combinators.size32_synth' LowParse.Spec.VLData.parse_bounded_vldata_strong_kind LowParse.Spec.BoundedInt.log256' LowParse.Spec.List.parse_list_kind MiTLS.Parsers.SignedCertificateTimestampList.signedCertificateTimestampList' MiTLS.Parsers.SignedCertificateTimestampList.signedCertificateTimestampList MiTLS.Parsers.SignedCertificateTimestampList.signedCertificateTimestampList'_parser MiTLS.Parsers.SignedCertificateTimestampList.synth_signedCertificateTimestampList MiTLS.Parsers.SignedCertificateTimestampList.signedCertificateTimestampList'_serializer MiTLS.Parsers.SignedCertificateTimestampList.signedCertificateTimestampList'_size32 MiTLS.Parsers.SignedCertificateTimestampList.synth_signedCertificateTimestampList_recip
let signedCertificateTimestampList_size32 =
  
LSZ.size32_synth' _
  synth_signedCertificateTimestampList
  _
  signedCertificateTimestampList'_size32
  synth_signedCertificateTimestampList_recip
  ()