- kdfExtract (salt ikm : Bytes) : Bytes
Instances
- salt : Bytes
- ikm : Bytes
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
Instances For
@[instance_reducible]
Instances For
Equations
Instances For
@[reducible, inline]
Equations
- x.pack = DY.BytesView.pack x
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
Instances For
theorem
DY.KdfExtract.attacker_knows_kdfExtract
[BytesFunctor]
[BytesFunctor.Has SubF]
[ExecTraceTypes]
[BaseAttackerKnowledge]
[AttackerKnowledge]
[AttackerKnowledge.Has attackerKnowledge]
(salt ikm : Bytes)
(tr : ExecTrace)
:
salt.AttackerKnows tr → ikm.AttackerKnows tr → (kdfExtract salt ikm).AttackerKnows tr
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
DY.KdfExtract.invariants.internal
[BytesFunctor]
[ExecTraceTypes]
[ProofTraceTypes]
(id✝ : Fin 1)
:
Equations
Instances For
theorem
DY.KdfExtract.invariantsProofs.internal
[BytesFunctor]
[ExecTraceTypes]
[ProofTraceTypes]
[BytesInvariants]
(id✝ : Fin 1)
:
@[instance_reducible]
Equations
Instances For
@[simp]
theorem
DY.KdfExtract.kdfExtract.WellFormed
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesWellFormed]
[BytesWellFormed.Has KdfExtract.invariants.well_formed]
(salt ikm : Bytes)
(tr : ProofTrace)
:
@[simp]
theorem
DY.KdfExtract.kdfExtract.label
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesInvariants]
[BytesInvariants.Has invariants]
(salt ikm : Bytes)
(tr : ProofTrace)
:
@[simp]
theorem
DY.KdfExtract.kdfExtract.Invariant
[ExecTraceTypes]
[ProofTraceTypes]
[BytesFunctor]
[BytesFunctor.Has SubF]
[BytesInvariants]
[BytesInvariants.Has invariants]
(salt ikm : Bytes)
(tr : ProofTrace)
:
instance
DY.KdfExtract.instHoareTriplePureBytesKdfExtractAndInvariantEqLabelLabelMeet
[BytesFunctor]
[BytesFunctor.Has SubF]
[ExecTraceTypes]
[ProofTraceTypes]
[BytesInvariants]
[BytesInvariants.Has invariants]
(salt ikm : Bytes)
:
HoareTriplePure (kdfExtract salt ikm) (fun (tr : ProofTrace) => salt.Invariant tr ∧ ikm.Invariant tr)
fun (res : Bytes) (tr : ProofTrace) => res.Invariant tr ∧ res.label tr = (salt.label tr).meet (ikm.label tr)