val synth_explicitPrimeECParams (x: explicitPrimeECParams') : explicitPrimeECParams
val synth_explicitPrimeECParams (x: explicitPrimeECParams') : explicitPrimeECParams
let synth_explicitPrimeECParams (x: explicitPrimeECParams') : explicitPrimeECParams =
  match x with (((prime_p,curve),(base,order)),cofactor) -> {
    prime_p = prime_p;
    curve = curve;
    base = base;
    order = order;
    cofactor = cofactor;
  }
module MiTLS.Parsers.ExplicitPrimeECParams

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

(* Type of field prime_p*)
open MiTLS.Parsers.ExplicitPrimeECParams_prime_p

(* Type of field order*)
open MiTLS.Parsers.ExplicitPrimeECParams_order

(* Type of field cofactor*)
open MiTLS.Parsers.ExplicitPrimeECParams_cofactor

type explicitPrimeECParams' = (((explicitPrimeECParams_prime_p & eCCurve) & (eCPoint & explicitPrimeECParams_order)) & explicitPrimeECParams_cofactor)
/
prims.fst.checked MiTLS.Parsers.ExplicitPrimeECParams_prime_p.fsti.checked MiTLS.Parsers.ExplicitPrimeECParams_order.fsti.checked MiTLS.Parsers.ExplicitPrimeECParams_cofactor.fsti.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.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.ExplicitPrimeECParams.fst
x: MiTLS.Parsers.ExplicitPrimeECParams.explicitPrimeECParams'
  -> MiTLS.Parsers.ExplicitPrimeECParams.explicitPrimeECParams
MiTLS.Parsers.ExplicitPrimeECParams.explicitPrimeECParams' MiTLS.Parsers.ExplicitPrimeECParams_prime_p.explicitPrimeECParams_prime_p MiTLS.Parsers.ECCurve.eCCurve MiTLS.Parsers.ECPoint.eCPoint MiTLS.Parsers.ExplicitPrimeECParams_order.explicitPrimeECParams_order MiTLS.Parsers.ExplicitPrimeECParams_cofactor.explicitPrimeECParams_cofactor MiTLS.Parsers.ExplicitPrimeECParams.MkexplicitPrimeECParams MiTLS.Parsers.ExplicitPrimeECParams.explicitPrimeECParams
let synth_explicitPrimeECParams (x: explicitPrimeECParams') : explicitPrimeECParams =
  
match x with
| ((prime_p, curve), (base, order)), cofactor ->
  { prime_p = prime_p; curve = curve; base = base; order = order; cofactor = cofactor }