Skip to content

Incorrect RIPEMD-160 hash padding in zkvm_accelerators.h #2880

Description

@goodlyrottenapple

Component

sp1-sdk

Describe the feature you would like

The padding of the RIPEMD-160 hash has been updated in https://github.com/eth-act/zkvm-standards (see this PR: eth-act/zkevm-standards#25) to being right-aligned (left-padded). This is causing issues when compiling a guest C/C++ program for SP1 and e.g. ZisK, as they now disagree on the interface.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions