diff --git a/sha2/src/sha512/loongarch64_asm.rs b/sha2/src/sha512/loongarch64_asm.rs index eaea9a905..ea946084b 100644 --- a/sha2/src/sha512/loongarch64_asm.rs +++ b/sha2/src/sha512/loongarch64_asm.rs @@ -102,7 +102,7 @@ pub(super) fn compress(state: &mut [u64; 8], blocks: &[[u8; 128]]) { "42:", - // Do 64 rounds of hashing + // Do 80 rounds of hashing rounda!( 0, "$t0" , "$t1" , "$t2", "$t3", "$t4", "$t5", "$t6", "$t7"), rounda!( 1, "$t7", "$t0" , "$t1" , "$t2", "$t3", "$t4", "$t5", "$t6"), rounda!( 2, "$t6", "$t7", "$t0" , "$t1" , "$t2", "$t3", "$t4", "$t5"),