val clens_explicitChar2ECParams_base:LL.clens explicitChar2ECParams eCPoint
val clens_explicitChar2ECParams_base:LL.clens explicitChar2ECParams eCPoint
let clens_explicitChar2ECParams_base : LL.clens explicitChar2ECParams eCPoint = {
  LL.clens_cond = (fun _ -> True);
  LL.clens_get = (fun x -> x.base);
}
module MiTLS.Parsers.ExplicitChar2ECParams

(* 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.Base
module LS = LowParse.SLow.Base
module LSZ = LowParse.SLow.Base
module LPI = LowParse.Spec.AllIntegers
module LL = LowParse.Low.Base
module L = FStar.List.Tot
module B = LowStar.Buffer
module BY = FStar.Bytes
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST

open MiTLS.Parsers.Char2Representation
open MiTLS.Parsers.ECCurve
open MiTLS.Parsers.ECPoint

(* Type of field order*)
include MiTLS.Parsers.ExplicitChar2ECParams_order

(* Type of field cofactor*)
include MiTLS.Parsers.ExplicitChar2ECParams_cofactor

type explicitChar2ECParams = {
  m : U16.t;
  repr : char2Representation;
  curve : eCCurve;
  base : eCPoint;
  order : explicitChar2ECParams_order;
  cofactor : explicitChar2ECParams_cofactor;
}

inline_for_extraction noextract let explicitChar2ECParams_parser_kind = LP.strong_parser_kind 15 2051 None

noextract val explicitChar2ECParams_parser: LP.parser explicitChar2ECParams_parser_kind explicitChar2ECParams

noextract val explicitChar2ECParams_serializer: LP.serializer explicitChar2ECParams_parser

noextract val explicitChar2ECParams_bytesize (x:explicitChar2ECParams) : GTot nat

noextract val explicitChar2ECParams_bytesize_eq (x:explicitChar2ECParams) : Lemma (explicitChar2ECParams_bytesize x == Seq.length (LP.serialize explicitChar2ECParams_serializer x))

val explicitChar2ECParams_parser32: LS.parser32 explicitChar2ECParams_parser

val explicitChar2ECParams_serializer32: LS.serializer32 explicitChar2ECParams_serializer

val explicitChar2ECParams_size32: LSZ.size32 explicitChar2ECParams_serializer

val explicitChar2ECParams_validator: LL.validator explicitChar2ECParams_parser

val explicitChar2ECParams_jumper: LL.jumper explicitChar2ECParams_parser

val explicitChar2ECParams_bytesize_eqn (x: explicitChar2ECParams) : Lemma (explicitChar2ECParams_bytesize x == 2 + (char2Representation_bytesize (x.repr)) + (eCCurve_bytesize (x.curve)) + (eCPoint_bytesize (x.base)) + (explicitChar2ECParams_order_bytesize (x.order)) + (explicitChar2ECParams_cofactor_bytesize (x.cofactor))) [SMTPat (explicitChar2ECParams_bytesize x)]

noextract let clens_explicitChar2ECParams_m : LL.clens explicitChar2ECParams U16.t = {
  LL.clens_cond = (fun _ -> True);
  LL.clens_get = (fun x -> x.m);
}

noextract let clens_explicitChar2ECParams_repr : LL.clens explicitChar2ECParams char2Representation = {
  LL.clens_cond = (fun _ -> True);
  LL.clens_get = (fun x -> x.repr);
}

noextract let clens_explicitChar2ECParams_curve : LL.clens explicitChar2ECParams eCCurve = {
  LL.clens_cond = (fun _ -> True);
  LL.clens_get = (fun x -> x.curve);
}
/
prims.fst.checked MiTLS.Parsers.ExplicitChar2ECParams_order.fsti.checked MiTLS.Parsers.ExplicitChar2ECParams_cofactor.fsti.checked MiTLS.Parsers.ECPoint.fsti.checked MiTLS.Parsers.ECCurve.fsti.checked MiTLS.Parsers.Char2Representation.fsti.checked LowStar.Buffer.fst.checked LowParse.Spec.Base.fsti.checked LowParse.Spec.AllIntegers.fst.checked LowParse.SLow.Base.fst.checked LowParse.Low.Base.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.ExplicitChar2ECParams.fsti
LowParse.Low.Base.Spec.clens MiTLS.Parsers.ExplicitChar2ECParams.explicitChar2ECParams
  MiTLS.Parsers.ECPoint.eCPoint
LowParse.Low.Base.Spec.Mkclens MiTLS.Parsers.ExplicitChar2ECParams.explicitChar2ECParams MiTLS.Parsers.ECPoint.eCPoint Prims.l_True MiTLS.Parsers.ExplicitChar2ECParams.__proj__MkexplicitChar2ECParams__item__base
let clens_explicitChar2ECParams_base:LL.clens explicitChar2ECParams eCPoint =
  
{ LL.clens_cond = (fun _ -> True); LL.clens_get = (fun x -> x.base) }