0xMiden / 0xMiden/compiler

`hash_2to1` Miden stdlib binding

オープン
#769 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
115
フォーク
84
平均マージ
1日 8時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。