This commit is contained in:
Dmitry Vagner 2022-09-21 12:54:19 -07:00
parent bb968bd725
commit 3b0dda77f2

View File

@ -17,13 +17,13 @@ fn test_ripemd() -> Result<()> {
let ripemd = kernel.global_labels["ripemd_alt"];
let input: Vec<u32> = vec![
0x61, 0x62, 0x63, 0x64,
0x65, 0x66, 0x67, 0x68,
0x69, 0x6a, 0x6b, 0x6c,
0x6d, 0x6e, 0x6f, 0x70,
0x71, 0x72, 0x73, 0x74,
0x75, 0x76, 0x77, 0x78,
0x79, 0x7a
26 , 0x61, 0x62,
0x63, 0x64, 0x65, 0x66,
0x67, 0x68, 0x69, 0x6a,
0x6b, 0x6c, 0x6d, 0x6e,
0x6f, 0x70, 0x71, 0x72,
0x73, 0x74, 0x75, 0x76,
0x77, 0x78, 0x79, 0x7a
];
let initial_stack = input.iter().map(|&x| U256::from(x as u32)).collect();