diff options
Diffstat (limited to 'src/lib/libcrypto/cast/asm')
| -rw-r--r-- | src/lib/libcrypto/cast/asm/cast-586.pl | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/cast/asm/readme | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/cast/asm/cast-586.pl b/src/lib/libcrypto/cast/asm/cast-586.pl index bf6810d335..7a0083ecb8 100644 --- a/src/lib/libcrypto/cast/asm/cast-586.pl +++ b/src/lib/libcrypto/cast/asm/cast-586.pl | |||
| @@ -29,7 +29,7 @@ $S4="CAST_S_table3"; | |||
| 29 | 29 | ||
| 30 | &CAST_encrypt("CAST_encrypt",1); | 30 | &CAST_encrypt("CAST_encrypt",1); |
| 31 | &CAST_encrypt("CAST_decrypt",0); | 31 | &CAST_encrypt("CAST_decrypt",0); |
| 32 | &cbc("CAST_cbc_encrypt","CAST_encrypt","CAST_decrypt",1,4,5,3,-1,-1); | 32 | &cbc("CAST_cbc_encrypt","CAST_encrypt","CAST_decrypt",1,4,5,3,-1,-1) unless $main'openbsd; |
| 33 | 33 | ||
| 34 | &asm_finish(); | 34 | &asm_finish(); |
| 35 | 35 | ||
diff --git a/src/lib/libcrypto/cast/asm/readme b/src/lib/libcrypto/cast/asm/readme new file mode 100644 index 0000000000..fbcd76289e --- /dev/null +++ b/src/lib/libcrypto/cast/asm/readme | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | There is a ppro flag in cast-586 which turns on/off | ||
| 2 | generation of pentium pro/II friendly code | ||
| 3 | |||
| 4 | This flag makes the inner loop one cycle longer, but generates | ||
| 5 | code that runs %30 faster on the pentium pro/II, while only %7 slower | ||
| 6 | on the pentium. By default, this flag is on. | ||
| 7 | |||
