val extensionType_repr_size32 : LowParse.SLow.Base.size32 LowParse.Spec.Int.serialize_u16
let extensionType_repr_size32 = LSZ.size32_u16
module MiTLS.Parsers.ExtensionType

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

[@LT.Norm] inline_for_extraction let extensionType_enum : LP.enum extensionType U16.t =
  [@inline_let] let e = [
    Server_name, 0us;
    Max_fragment_length, 1us;
    Status_request, 5us;
    Supported_groups, 10us;
    Ec_point_formats, 11us;
    Signature_algorithms, 13us;
    Use_srtp, 14us;
    Heartbeat, 15us;
    Application_layer_protocol_negotiation, 16us;
    Signed_certificate_timestamp, 18us;
    Client_certificate_type, 19us;
    Server_certificate_type, 20us;
    Padding, 21us;
    Encrypt_then_mac, 22us;
    Extended_master_secret, 23us;
    Session_ticket, 35us;
    Pre_shared_key, 41us;
    Early_data, 42us;
    Supported_versions, 43us;
    Cookie, 44us;
    Psk_key_exchange_modes, 45us;
    Certificate_authorities, 47us;
    Oid_filters, 48us;
    Post_handshake_auth, 49us;
    Signature_algorithms_cert, 50us;
    Key_share, 51us;
  ] in
  [@inline_let] let _ =
    assert_norm (L.noRepeats (LP.list_map fst e))
  in
  [@inline_let] let _ = 
    assert_norm (L.noRepeats (LP.list_map snd e))
  in e

noextract let extensionType_repr_parser = LPI.parse_u16

noextract let extensionType_repr_serializer = LPI.serialize_u16

inline_for_extraction noextract let extensionType_repr_parser32 = LS.parse32_u16

inline_for_extraction noextract let extensionType_repr_serializer32 = LS.serialize32_u16
/
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.Native.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.ExtensionType.fst
LowParse.SLow.Base.size32 LowParse.Spec.Int.serialize_u16
LowParse.SLow.Int.size32_u16
let extensionType_repr_size32 =
  
LSZ.size32_u16