Documentation

Cryptlib.Primitives.Sign.Convert

Converting signature keys into NIKE keys #

Both directions return Option, since the conversion may be partial. Conversion does not commute with Blindable.blindPriv, so convert_derive covers root keys only.

A conversion from a signature scheme's keys into a NIKE's keys.

Instances For
    theorem Cryptlib.Primitives.Sign.Convert.converted_pub_safe {S : Sign.Signature} {N : NIKE.NIKE.NIKE} (C : KeyConvert S N) (sk : S.PrivateKey) (nsk : N.PrivateKey) (npk : N.PublicKey) (h₁ : C.toNikePriv sk = some nsk) (h₂ : C.toNikePub (S.pub sk) = some npk) :
    N.Safe npk

    A converted public key whose private key also converts is Safe.

    The stub conversion: nothing converts. Vacuously lawful.

    Equations
    Instances For