0xMiden / 0xMiden/compiler

`hash_2to1` Miden stdlib binding

Ouverte
#769 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Rust
Étoiles
115
Forks
84
Merge moyen
1 j 8 h
PR mergées (30 j)
15

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.