https://gitlab.com/tezos/tezos
Raw File
Tip revision: c85e4bef4a0177baad5e8169f2e6011f84b89f2c authored by Ole Krüger on 12 March 2024, 12:08:42 UTC
RISC-V: RV64A instructions
Tip revision: c85e4be
check_signature.tz
parameter key;
storage (pair signature string);
code {
       DUP; DUP;
       DIP{ CDR; DUP; CAR;
            DIP{CDR; PACK}};
       CAR; CHECK_SIGNATURE;
       IF {} {FAIL} ;
       CDR; NIL operation ; PAIR};

back to top