val clens_hkdfLabel_context:LL.clens hkdfLabel hkdfLabel_context
val clens_hkdfLabel_context:LL.clens hkdfLabel hkdfLabel_context
let clens_hkdfLabel_context : LL.clens hkdfLabel hkdfLabel_context = {
  LL.clens_cond = (fun _ -> True);
  LL.clens_get = (fun x -> x.context);
}
module MiTLS.Parsers.HKDF.HkdfLabel

(* 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 label*)
include MiTLS.Parsers.HKDF.HkdfLabel_label

(* Type of field context*)
include MiTLS.Parsers.HKDF.HkdfLabel_context

type hkdfLabel = {
  length : U16.t;
  label : hkdfLabel_label;
  context : hkdfLabel_context;
}

inline_for_extraction noextract let hkdfLabel_parser_kind = LP.strong_parser_kind 11 514 None

noextract val hkdfLabel_parser: LP.parser hkdfLabel_parser_kind hkdfLabel

noextract val hkdfLabel_serializer: LP.serializer hkdfLabel_parser

noextract val hkdfLabel_bytesize (x:hkdfLabel) : GTot nat

noextract val hkdfLabel_bytesize_eq (x:hkdfLabel) : Lemma (hkdfLabel_bytesize x == Seq.length (LP.serialize hkdfLabel_serializer x))

val hkdfLabel_parser32: LS.parser32 hkdfLabel_parser

val hkdfLabel_serializer32: LS.serializer32 hkdfLabel_serializer

val hkdfLabel_size32: LSZ.size32 hkdfLabel_serializer

val hkdfLabel_validator: LL.validator hkdfLabel_parser

val hkdfLabel_jumper: LL.jumper hkdfLabel_parser

val hkdfLabel_bytesize_eqn (x: hkdfLabel) : Lemma (hkdfLabel_bytesize x == 2 + (hkdfLabel_label_bytesize (x.label)) + (hkdfLabel_context_bytesize (x.context))) [SMTPat (hkdfLabel_bytesize x)]

noextract let clens_hkdfLabel_length : LL.clens hkdfLabel U16.t = {
  LL.clens_cond = (fun _ -> True);
  LL.clens_get = (fun x -> x.length);
}

noextract let clens_hkdfLabel_label : LL.clens hkdfLabel hkdfLabel_label = {
  LL.clens_cond = (fun _ -> True);
  LL.clens_get = (fun x -> x.label);
}
/
prims.fst.checked MiTLS.Parsers.HKDF.HkdfLabel_label.fsti.checked MiTLS.Parsers.HKDF.HkdfLabel_context.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.HKDF.HkdfLabel.fsti
LowParse.Low.Base.Spec.clens MiTLS.Parsers.HKDF.HkdfLabel.hkdfLabel
  MiTLS.Parsers.HKDF.HkdfLabel_context.hkdfLabel_context
LowParse.Low.Base.Spec.Mkclens MiTLS.Parsers.HKDF.HkdfLabel.hkdfLabel MiTLS.Parsers.HKDF.HkdfLabel_context.hkdfLabel_context Prims.l_True MiTLS.Parsers.HKDF.HkdfLabel.__proj__MkhkdfLabel__item__context
let clens_hkdfLabel_context:LL.clens hkdfLabel hkdfLabel_context =
  
{ LL.clens_cond = (fun _ -> True); LL.clens_get = (fun x -> x.context) }