mstore_kernel_general_u32 macro

This commit is contained in:
Nicholas Ward 2022-07-25 15:49:27 -07:00
parent c29190328c
commit 268c6a115d

View File

@ -42,7 +42,7 @@ sha2_store_end:
global sha2_pad:
// stack: retdest
push 0
%mload_kernel_gemeral
%mload_kernel_general
// stack: num_bytes, retdest
// STEP 1: append 1
// add 1 << (8*(32-k)-1) to x[num_bytes//32], where k := num_bytes%32