val certificateRequest12_certificate_authorities_parser: LP.parser certificateRequest12_certificate_authorities_parser_kind certificateRequest12_certificate_authorities
val certificateRequest12_certificate_authorities_parser: LP.parser certificateRequest12_certificate_authorities_parser_kind certificateRequest12_certificate_authorities
let certificateRequest12_certificate_authorities_parser = certificateRequest12_certificate_authorities'_parser `LP.parse_synth` synth_certificateRequest12_certificate_authorities
module MiTLS.Parsers.CertificateRequest12_certificate_authorities

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

let certificateRequest12_certificate_authorities_list_bytesize x = Seq.length (LP.serialize (LP.serialize_list _ distinguishedName_serializer) x)

let certificateRequest12_certificate_authorities_list_bytesize_nil = LP.serialize_list_nil distinguishedName_parser distinguishedName_serializer

let certificateRequest12_certificate_authorities_list_bytesize_cons x y = LP.serialize_list_cons distinguishedName_parser distinguishedName_serializer x y; (distinguishedName_bytesize_eq (x))

let certificateRequest12_certificate_authorities_list_bytesize_eq l = LL.serialized_list_length_eq_length_serialize_list distinguishedName_serializer l

let check_certificateRequest12_certificate_authorities_list_bytesize l =
  let x = LSZ.size32_list distinguishedName_size32 () l in
  0ul `U32.lte` x && x `U32.lte` 65535ul

type certificateRequest12_certificate_authorities' = LP.parse_bounded_vldata_strong_t 0 65535 (LP.serialize_list _ distinguishedName_serializer)

inline_for_extraction let synth_certificateRequest12_certificate_authorities (x: certificateRequest12_certificate_authorities') : Tot certificateRequest12_certificate_authorities = x

inline_for_extraction let synth_certificateRequest12_certificate_authorities_recip (x: certificateRequest12_certificate_authorities) : Tot certificateRequest12_certificate_authorities' = x

noextract let certificateRequest12_certificate_authorities'_parser : LP.parser _ certificateRequest12_certificate_authorities' =
  LP.parse_bounded_vldata_strong 0 65535 (LP.serialize_list _ distinguishedName_serializer)
/
prims.fst.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.fsti.checked FStar.List.Tot.fst.checked FStar.HyperStack.ST.fsti.checked FStar.HyperStack.fst.checked FStar.Bytes.fsti.checked
MiTLS.Parsers.CertificateRequest12_certificate_authorities.fst
LowParse.Spec.Base.parser MiTLS.Parsers.CertificateRequest12_certificate_authorities.certificateRequest12_certificate_authorities_parser_kind
  MiTLS.Parsers.CertificateRequest12_certificate_authorities.certificateRequest12_certificate_authorities

LowParse.Spec.Combinators.parse_synth LowParse.Spec.VLData.parse_bounded_vldata_strong_kind LowParse.Spec.BoundedInt.log256' LowParse.Spec.List.parse_list_kind MiTLS.Parsers.CertificateRequest12_certificate_authorities.certificateRequest12_certificate_authorities' MiTLS.Parsers.CertificateRequest12_certificate_authorities.certificateRequest12_certificate_authorities MiTLS.Parsers.CertificateRequest12_certificate_authorities.certificateRequest12_certificate_authorities'_parser MiTLS.Parsers.CertificateRequest12_certificate_authorities.synth_certificateRequest12_certificate_authorities
let certificateRequest12_certificate_authorities_parser =
  
certificateRequest12_certificate_authorities'_parser
`LP.parse_synth`
synth_certificateRequest12_certificate_authorities