val clens_serverDHParams_dh_g:LL.clens serverDHParams serverDHParams_dh_g
val clens_serverDHParams_dh_g:LL.clens serverDHParams serverDHParams_dh_g
let clens_serverDHParams_dh_g : LL.clens serverDHParams serverDHParams_dh_g = {
  LL.clens_cond = (fun _ -> True);
  LL.clens_get = (fun x -> x.dh_g);
}
module MiTLS.Parsers.ServerDHParams

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


(* Type of field dh_p*)
include MiTLS.Parsers.ServerDHParams_dh_p

(* Type of field dh_g*)
include MiTLS.Parsers.ServerDHParams_dh_g

(* Type of field dh_Ys*)
include MiTLS.Parsers.ServerDHParams_dh_Ys

type serverDHParams = {
  dh_p : serverDHParams_dh_p;
  dh_g : serverDHParams_dh_g;
  dh_Ys : serverDHParams_dh_Ys;
}

inline_for_extraction noextract let serverDHParams_parser_kind = LP.strong_parser_kind 9 196611 None

noextract val serverDHParams_parser: LP.parser serverDHParams_parser_kind serverDHParams

noextract val serverDHParams_serializer: LP.serializer serverDHParams_parser

noextract val serverDHParams_bytesize (x:serverDHParams) : GTot nat

noextract val serverDHParams_bytesize_eq (x:serverDHParams) : Lemma (serverDHParams_bytesize x == Seq.length (LP.serialize serverDHParams_serializer x))

val serverDHParams_parser32: LS.parser32 serverDHParams_parser

val serverDHParams_serializer32: LS.serializer32 serverDHParams_serializer

val serverDHParams_size32: LSZ.size32 serverDHParams_serializer

val serverDHParams_validator: LL.validator serverDHParams_parser

val serverDHParams_jumper: LL.jumper serverDHParams_parser

val serverDHParams_bytesize_eqn (x: serverDHParams) : Lemma (serverDHParams_bytesize x == (serverDHParams_dh_p_bytesize (x.dh_p)) + (serverDHParams_dh_g_bytesize (x.dh_g)) + (serverDHParams_dh_Ys_bytesize (x.dh_Ys))) [SMTPat (serverDHParams_bytesize x)]

noextract let clens_serverDHParams_dh_p : LL.clens serverDHParams serverDHParams_dh_p = {
  LL.clens_cond = (fun _ -> True);
  LL.clens_get = (fun x -> x.dh_p);
}
/
prims.fst.checked MiTLS.Parsers.ServerDHParams_dh_Ys.fsti.checked MiTLS.Parsers.ServerDHParams_dh_p.fsti.checked MiTLS.Parsers.ServerDHParams_dh_g.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.ServerDHParams.fsti
LowParse.Low.Base.Spec.clens MiTLS.Parsers.ServerDHParams.serverDHParams
  MiTLS.Parsers.ServerDHParams_dh_g.serverDHParams_dh_g
LowParse.Low.Base.Spec.Mkclens MiTLS.Parsers.ServerDHParams.serverDHParams MiTLS.Parsers.ServerDHParams_dh_g.serverDHParams_dh_g Prims.l_True MiTLS.Parsers.ServerDHParams.__proj__MkserverDHParams__item__dh_g
let clens_serverDHParams_dh_g:LL.clens serverDHParams serverDHParams_dh_g =
  
{ LL.clens_cond = (fun _ -> True); LL.clens_get = (fun x -> x.dh_g) }