val clientKeyExchange_parser_kind : LowParse.Spec.Base.parser_kind
let clientKeyExchange_parser_kind = LP.strong_parser_kind 2 65537 None
module MiTLS.Parsers.ClientKeyExchange

(* 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.KeyExchangeAlgorithm
open MiTLS.Parsers.EncryptedPreMasterSecret
open MiTLS.Parsers.ClientDiffieHellmanPublic
open MiTLS.Parsers.ClientECDiffieHellmanPublic

type clientKeyExchange' =
  | Cke_rsa of encryptedPreMasterSecret
  | Cke_dhe of clientDiffieHellmanPublic
  | Cke_ecdhe of clientECDiffieHellmanPublic
  | Cke_dh_anon of clientDiffieHellmanPublic

inline_for_extraction let tag_of_clientKeyExchange (x:clientKeyExchange') : keyExchangeAlgorithm = match x with
  | Cke_rsa _ -> Rsa
  | Cke_dhe _ -> Dhe
  | Cke_ecdhe _ -> Ecdhe
  | Cke_dh_anon _ -> Dh_anon

type clientKeyExchange (k:keyExchangeAlgorithm) = x:clientKeyExchange'{tag_of_clientKeyExchange x == k}
/
prims.fst.checked MiTLS.Parsers.KeyExchangeAlgorithm.fsti.checked MiTLS.Parsers.EncryptedPreMasterSecret.fsti.checked MiTLS.Parsers.ClientECDiffieHellmanPublic.fsti.checked MiTLS.Parsers.ClientDiffieHellmanPublic.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.ClientKeyExchange.fsti
LowParse.Spec.Base.parser_kind
LowParse.Spec.Base.strong_parser_kind FStar.Pervasives.Native.None LowParse.Spec.Base.parser_kind_metadata_some
let clientKeyExchange_parser_kind =
  
LP.strong_parser_kind 2 65537 None