0xMiden / 0xMiden/compiler

`hash_2to1` Miden stdlib binding

Đang mở
#769 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
115
Fork
84
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
15

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.