val serverCertTypeExtension_nth_ghost (i: nat) : Tot (LL.gaccessor serverCertTypeExtension_parser certificateType_parser (serverCertTypeExtension_clens_nth i))
val serverCertTypeExtension_nth_ghost (i: nat) : Tot (LL.gaccessor serverCertTypeExtension_parser certificateType_parser (serverCertTypeExtension_clens_nth i))
let serverCertTypeExtension_nth_ghost i = LL.vlarray_nth_ghost 1 255 certificateType_serializer 1 255 i
module MiTLS.Parsers.ServerCertTypeExtension

(* 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"

private let pre : squash (LP.vldata_vlarray_precond 1 255 certificateType_parser 1 255 == true) = _ by (FStar.Tactics.trefl ())

let serverCertTypeExtension_parser =
  LP.parse_vlarray 1 255 certificateType_serializer 1 255 ()

let serverCertTypeExtension_serializer =
  LP.serialize_vlarray 1 255 certificateType_serializer 1 255 ()

let serverCertTypeExtension_bytesize (x:serverCertTypeExtension) : GTot nat = Seq.length (serverCertTypeExtension_serializer x)

let serverCertTypeExtension_bytesize_eq x = ()

let serverCertTypeExtension_parser32 =
  LS.parse32_vlarray 1 1ul 255 255ul certificateType_serializer certificateType_parser32 1 255 ()

let serverCertTypeExtension_serializer32 =
  LS.serialize32_vlarray 1 255 #_ #_ #_ #certificateType_serializer certificateType_serializer32 1 255 ()

let serverCertTypeExtension_size32 =
  [@inline_let] let _ = assert_norm (LP.vldata_vlarray_precond 1 255 certificateType_parser 1 255 == true) in
  LSZ.size32_vlarray 1 255 certificateType_serializer 1 255 () 1ul 1ul

let serverCertTypeExtension_validator =
 LL.validate_vlarray 1 255 certificateType_serializer certificateType_validator 1 255 () 1ul

let serverCertTypeExtension_jumper =
 LL.jump_vlarray 1 255 certificateType_serializer 1 255 () 1ul

let _ : squash (serverCertTypeExtension == LL.vlarray certificateType 1 255) = _ by (FStar.Tactics.trefl ())

let finalize_serverCertTypeExtension #_ #_ sl pos pos' =
  LL.finalize_vlarray 1 255 certificateType_serializer 1 255 sl pos pos'

let serverCertTypeExtension_count #_ #_ input pos = LL.vlarray_list_length 1 255 certificateType_serializer 1 255 input 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.Tactics.Effect.fsti.checked FStar.Tactics.fst.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.ServerCertTypeExtension.fst
i: Prims.nat
  -> LowParse.Low.Base.Spec.gaccessor MiTLS.Parsers.ServerCertTypeExtension.serverCertTypeExtension_parser
      MiTLS.Parsers.CertificateType.certificateType_parser
      (MiTLS.Parsers.ServerCertTypeExtension.serverCertTypeExtension_clens_nth i)
Prims.nat LowParse.Low.Array.vlarray_nth_ghost MiTLS.Parsers.CertificateType.certificateType_parser_kind MiTLS.Parsers.CertificateType.certificateType MiTLS.Parsers.CertificateType.certificateType_parser MiTLS.Parsers.CertificateType.certificateType_serializer LowParse.Low.Base.Spec.gaccessor MiTLS.Parsers.ServerCertTypeExtension.serverCertTypeExtension_parser_kind MiTLS.Parsers.ServerCertTypeExtension.serverCertTypeExtension MiTLS.Parsers.ServerCertTypeExtension.serverCertTypeExtension_parser MiTLS.Parsers.ServerCertTypeExtension.serverCertTypeExtension_clens_nth
let serverCertTypeExtension_nth_ghost i =
  
LL.vlarray_nth_ghost 1 255 certificateType_serializer 1 255 i