val namedGroup_repr_validator : LowParse.Low.Base.validator LowParse.Spec.Int.parse_u16
let namedGroup_repr_validator = (LL.validate_u16 ())
module MiTLS.Parsers.NamedGroup

(* 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 namedGroup_enum : LP.enum namedGroup U16.t =
  [@inline_let] let e = [
    Sect233k1, 6us;
    Sect233r1, 7us;
    Sect239k1, 8us;
    Sect283k1, 9us;
    Sect283r1, 10us;
    Sect409k1, 11us;
    Sect409r1, 12us;
    Sect571k1, 13us;
    Sect571r1, 14us;
    Secp224k1, 20us;
    Secp224r1, 21us;
    Secp256k1, 22us;
    Secp256r1, 23us;
    Secp384r1, 24us;
    Secp521r1, 25us;
    X25519, 29us;
    X448, 30us;
    Ffdhe2048, 256us;
    Ffdhe3072, 257us;
    Ffdhe4096, 258us;
    Ffdhe6144, 259us;
    Ffdhe8192, 260us;
  ] 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 namedGroup_repr_parser = LPI.parse_u16

noextract let namedGroup_repr_serializer = LPI.serialize_u16

inline_for_extraction noextract let namedGroup_repr_parser32 = LS.parse32_u16

inline_for_extraction noextract let namedGroup_repr_serializer32 = LS.serialize32_u16

inline_for_extraction noextract let namedGroup_repr_size32 = LSZ.size32_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.NamedGroup.fst
LowParse.Low.Base.validator LowParse.Spec.Int.parse_u16
LowParse.Low.Int.validate_u16
let namedGroup_repr_validator =
  
(LL.validate_u16 ())