Crate bytecode_interpreter_crypto

Crate bytecode_interpreter_crypto 

Source
Expand description

This file duplicates the code in the diem-crypto crate to support

  • native function implementation for the stackless bytecode interpreter, and
  • decoupling of Move crates from Diem crates.

This is expected to be a temporary solution only. Once we properly restructure the stackless interpreter like what we did to the Move VM, native functions will likely be implemented in a Diem crate (most likely diem-framework) and be passed into the VM for execution. In this way we no longer need to worry about depending on diem-crypto.

Functionsยง

ed25519_deserialize_public_key
ed25519_deserialize_signature
ed25519_verify_signature
sha2_256_of
sha3_256_of