Documentation

Cryptlib.Protocols.BACAP.Impl

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      The root public key blinded by K_i, with no context.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Decrypting a box produced by implEncryptBox returns the plaintext.

          theorem Cryptlib.Protocols.BACAP.Impl.implDecrypt_sound (sk : Primitives.Sign.Ed25519Blinded.Scalar) (pk boxId : Primitives.Sign.Ed25519Blinded.PubBytes) (idx : Types.MessageBoxIndex) (ctx ct : ByteArray) (sig : Primitives.Sign.Ed25519Blinded.SigBytes) (pt : ByteArray) (hid : implDeriveBoxID pk idx ctx = boxId) (hdec : implDecryptBox boxId idx ctx ct sig = some pt) (hct : ct.size > 0) :
          (implEncryptBox sk pk idx ctx pt).2.1 = ct

          A non-tombstone ciphertext that decrypts to pt is the one implEncryptBox produces.

          @[instance_reducible]

          noncomputable so the compiler does not build List.finRange ℓ at program start.

          Equations
          Instances For
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For