val string_of_pskKeyExchangeMode : _: MiTLS.Parsers.PskKeyExchangeMode.pskKeyExchangeMode -> Prims.string
let string_of_pskKeyExchangeMode = function
  | Psk_ke -> "psk_ke"
  | Psk_dhe_ke -> "psk_dhe_ke"
  | Unknown_pskKeyExchangeMode _ -> "Unknown_pskKeyExchangeMode"
module MiTLS.Parsers.PskKeyExchangeMode

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


let pskKeyExchangeMode_repr = U8.t
inline_for_extraction let pskKeyExchangeMode_repr_eq (x1 x2: pskKeyExchangeMode_repr) : Tot bool = (x1 = x2)
let known_pskKeyExchangeMode_repr (v:U8.t) : bool = v `pskKeyExchangeMode_repr_eq` 0z || (v `pskKeyExchangeMode_repr_eq` 1z || (false))

type pskKeyExchangeMode =
  | Psk_ke
  | Psk_dhe_ke
  | Unknown_pskKeyExchangeMode of (v:U8.t{not (known_pskKeyExchangeMode_repr v)})
/
prims.fst.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.PskKeyExchangeMode.fsti
_: MiTLS.Parsers.PskKeyExchangeMode.pskKeyExchangeMode -> Prims.string
MiTLS.Parsers.PskKeyExchangeMode.pskKeyExchangeMode FStar.UInt8.t Prims.b2t Prims.op_Negation MiTLS.Parsers.PskKeyExchangeMode.known_pskKeyExchangeMode_repr Prims.string
let string_of_pskKeyExchangeMode =
  
function
| Psk_ke -> "psk_ke"
| Psk_dhe_ke -> "psk_dhe_ke"
| Unknown_pskKeyExchangeMode _ -> "Unknown_pskKeyExchangeMode"