0xMiden / 0xMiden/compiler

`hash_2to1` Miden stdlib binding

Aberta
#769 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Rust
Estrelas
115
Forks
84
Merge médio
1d 8h
PRs com merge (30d)
15

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.