diff options
Diffstat (limited to 'src/lib/libcrypto/perlasm/cbc.pl')
-rw-r--r-- | src/lib/libcrypto/perlasm/cbc.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/libcrypto/perlasm/cbc.pl b/src/lib/libcrypto/perlasm/cbc.pl index 6fc2510905..e43dc9ae15 100644 --- a/src/lib/libcrypto/perlasm/cbc.pl +++ b/src/lib/libcrypto/perlasm/cbc.pl | |||
@@ -158,6 +158,7 @@ sub cbc | |||
158 | &jmp_ptr($count); | 158 | &jmp_ptr($count); |
159 | 159 | ||
160 | &set_label("ej7"); | 160 | &set_label("ej7"); |
161 | &xor("edx", "edx") if $ppro; # ppro friendly | ||
161 | &movb(&HB("edx"), &BP(6,$in,"",0)); | 162 | &movb(&HB("edx"), &BP(6,$in,"",0)); |
162 | &shl("edx",8); | 163 | &shl("edx",8); |
163 | &set_label("ej6"); | 164 | &set_label("ej6"); |
@@ -169,6 +170,7 @@ sub cbc | |||
169 | &jmp(&label("ejend")); | 170 | &jmp(&label("ejend")); |
170 | &set_label("ej3"); | 171 | &set_label("ej3"); |
171 | &movb(&HB("ecx"), &BP(2,$in,"",0)); | 172 | &movb(&HB("ecx"), &BP(2,$in,"",0)); |
173 | &xor("ecx", "ecx") if $ppro; # ppro friendly | ||
172 | &shl("ecx",8); | 174 | &shl("ecx",8); |
173 | &set_label("ej2"); | 175 | &set_label("ej2"); |
174 | &movb(&HB("ecx"), &BP(1,$in,"",0)); | 176 | &movb(&HB("ecx"), &BP(1,$in,"",0)); |