sha1_block_asm_data_order can't hash if message crosses 2GB boundary.
authorAndy Polyakov <appro@openssl.org>
Mon, 29 Nov 2004 21:19:56 +0000 (21:19 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 29 Nov 2004 21:19:56 +0000 (21:19 +0000)
crypto/sha/asm/sha1-586.pl

index 9fe1a7554da22376bf1c4cb06cd12d0e09281abb..4f8521f1e2ca863322160842d9d14a646a50eb34 100644 (file)
@@ -410,7 +410,7 @@ sub sha1_block_data
        &mov(&DWP(16,$tmp1,"",0),$E);
         &cmp("esi","eax");
        &mov(&DWP( 4,$tmp1,"",0),$B);
-        &jl(&label("start"));
+        &jb(&label("start"));
 
        &stack_pop(18+9);
         &pop("edi");