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

(* Type of field context*)
include 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);
}
val clens_hkdfLabel_label:LL.clens hkdfLabel hkdfLabel_label
LowParse.Low.Base.Spec.clens Parsers.HKDF.HkdfLabel.hkdfLabel
  Parsers.HKDF.HkdfLabel_label.hkdfLabel_label