0xMiden / 0xMiden/compiler

`hash_2to1` Miden stdlib binding

未关闭
#769 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
115
派生
84
平均合并
1 天 8 小时
30 天内合并 PR
15

描述

The 16 params leave no space on the stack for the pointer for the return value.
Ideally, we should change the MASM signature.

> For `hash_2to1` we could probably write a wrapper procedure that first saves the values to memory and then invokes the procedure using memory pointers. This is how it works for the `keccak256` module - we have a single `hash_memory` procedure which is being called from both `hash_2to1` and `hash_1to1` procedures.

Until then as a temporary workaround we can do a MASM intrinsic.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。