val encryptedExtension_e_application_layer_protocol_negotiation'_jumper:LL.jumper encryptedExtension_e_application_layer_protocol_negotiation'_parser
val encryptedExtension_e_application_layer_protocol_negotiation'_jumper:LL.jumper encryptedExtension_e_application_layer_protocol_negotiation'_parser
let encryptedExtension_e_application_layer_protocol_negotiation'_jumper : LL.jumper encryptedExtension_e_application_layer_protocol_negotiation'_parser =
  LL.jump_bounded_vldata_strong 0 65535 protocolNameList_serializer ()
module MiTLS.Parsers.EncryptedExtension_e_application_layer_protocol_negotiation

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

type encryptedExtension_e_application_layer_protocol_negotiation' = LP.parse_bounded_vldata_strong_t 0 65535 protocolNameList_serializer

inline_for_extraction let synth_encryptedExtension_e_application_layer_protocol_negotiation (x: encryptedExtension_e_application_layer_protocol_negotiation') : Tot encryptedExtension_e_application_layer_protocol_negotiation =
  [@inline_let] let _ = (protocolNameList_bytesize_eq (x)) in x

inline_for_extraction let synth_encryptedExtension_e_application_layer_protocol_negotiation_recip (x: encryptedExtension_e_application_layer_protocol_negotiation) : Tot encryptedExtension_e_application_layer_protocol_negotiation' =
  [@inline_let] let _ = (protocolNameList_bytesize_eq (x)) in x

noextract let encryptedExtension_e_application_layer_protocol_negotiation'_parser : LP.parser _ encryptedExtension_e_application_layer_protocol_negotiation' =
  LP.parse_bounded_vldata_strong 0 65535 protocolNameList_serializer

let encryptedExtension_e_application_layer_protocol_negotiation_parser = LP.parse_synth encryptedExtension_e_application_layer_protocol_negotiation'_parser synth_encryptedExtension_e_application_layer_protocol_negotiation

noextract let encryptedExtension_e_application_layer_protocol_negotiation'_serializer : LP.serializer encryptedExtension_e_application_layer_protocol_negotiation'_parser =
  LP.serialize_bounded_vldata_strong 0 65535 protocolNameList_serializer

let encryptedExtension_e_application_layer_protocol_negotiation_serializer = LP.serialize_synth _ synth_encryptedExtension_e_application_layer_protocol_negotiation encryptedExtension_e_application_layer_protocol_negotiation'_serializer synth_encryptedExtension_e_application_layer_protocol_negotiation_recip ()

let encryptedExtension_e_application_layer_protocol_negotiation_bytesize (x:encryptedExtension_e_application_layer_protocol_negotiation) : GTot nat = Seq.length (encryptedExtension_e_application_layer_protocol_negotiation_serializer x)

let encryptedExtension_e_application_layer_protocol_negotiation_bytesize_eq x = ()

inline_for_extraction let encryptedExtension_e_application_layer_protocol_negotiation'_parser32 : LS.parser32 encryptedExtension_e_application_layer_protocol_negotiation'_parser =
  LS.parse32_bounded_vldata_strong 0 0ul 65535 65535ul protocolNameList_serializer protocolNameList_parser32

let encryptedExtension_e_application_layer_protocol_negotiation_parser32 = LS.parse32_synth' _ synth_encryptedExtension_e_application_layer_protocol_negotiation encryptedExtension_e_application_layer_protocol_negotiation'_parser32 ()

inline_for_extraction noextract let encryptedExtension_e_application_layer_protocol_negotiation'_serializer32 : LS.serializer32 encryptedExtension_e_application_layer_protocol_negotiation'_serializer =
  LS.serialize32_bounded_vldata_strong 0 65535 protocolNameList_serializer32

let encryptedExtension_e_application_layer_protocol_negotiation_serializer32 = LS.serialize32_synth' _ synth_encryptedExtension_e_application_layer_protocol_negotiation _ encryptedExtension_e_application_layer_protocol_negotiation'_serializer32 synth_encryptedExtension_e_application_layer_protocol_negotiation_recip ()

inline_for_extraction noextract let encryptedExtension_e_application_layer_protocol_negotiation'_size32 : LSZ.size32 encryptedExtension_e_application_layer_protocol_negotiation'_serializer =
  LSZ.size32_bounded_vldata_strong 0 65535 protocolNameList_size32 2ul

let encryptedExtension_e_application_layer_protocol_negotiation_size32 = LSZ.size32_synth' _ synth_encryptedExtension_e_application_layer_protocol_negotiation _ encryptedExtension_e_application_layer_protocol_negotiation'_size32 synth_encryptedExtension_e_application_layer_protocol_negotiation_recip ()

inline_for_extraction let encryptedExtension_e_application_layer_protocol_negotiation'_validator : LL.validator encryptedExtension_e_application_layer_protocol_negotiation'_parser =
  LL.validate_bounded_vldata_strong 0 65535 protocolNameList_serializer protocolNameList_validator ()

let encryptedExtension_e_application_layer_protocol_negotiation_validator = LL.validate_synth encryptedExtension_e_application_layer_protocol_negotiation'_validator synth_encryptedExtension_e_application_layer_protocol_negotiation ()
/
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.EncryptedExtension_e_application_layer_protocol_negotiation.fst
LowParse.Low.Base.jumper MiTLS.Parsers.EncryptedExtension_e_application_layer_protocol_negotiation.encryptedExtension_e_application_layer_protocol_negotiation'_parser

LowParse.Low.VLData.jump_bounded_vldata_strong MiTLS.Parsers.ProtocolNameList.protocolNameList_parser_kind MiTLS.Parsers.ProtocolNameList.protocolNameList MiTLS.Parsers.ProtocolNameList.protocolNameList_parser MiTLS.Parsers.ProtocolNameList.protocolNameList_serializer
let encryptedExtension_e_application_layer_protocol_negotiation'_jumper:LL.jumper encryptedExtension_e_application_layer_protocol_negotiation'_parser
 =
  
LL.jump_bounded_vldata_strong 0 65535 protocolNameList_serializer ()