diff options
| author | deraadt <> | 2014-06-06 20:18:20 +0000 |
|---|---|---|
| committer | deraadt <> | 2014-06-06 20:18:20 +0000 |
| commit | 7bff3543d8495e130543a4e9d5a67d4ac4941aac (patch) | |
| tree | ebea4558b1ae14278b12d8a4e4b51b7ef8bed81a /src/lib/libc | |
| parent | 44ed878b69b1de39098caea728cfbee551c8dd78 (diff) | |
| download | openbsd-7bff3543d8495e130543a4e9d5a67d4ac4941aac.tar.gz openbsd-7bff3543d8495e130543a4e9d5a67d4ac4941aac.tar.bz2 openbsd-7bff3543d8495e130543a4e9d5a67d4ac4941aac.zip | |
s/assember/assembler/ before someone gets offended. At the last
hackathon, just saying 'ass ember' was enough to start giggles.
Unfortunately far more offensive stuff remains in here...
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/bn/asm/README | 12 | ||||
| -rw-r--r-- | src/lib/libcrypto/bn/asm/x86/add.pl | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/bn/asm/x86/comba.pl | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/bn/asm/x86/div.pl | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/bn/asm/x86/mul.pl | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/bn/asm/x86/mul_add.pl | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/bn/asm/x86/sqr.pl | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/bn/asm/x86/sub.pl | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/perlasm/readme | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/ripemd/README | 2 |
10 files changed, 15 insertions, 15 deletions
diff --git a/src/lib/libcrypto/bn/asm/README b/src/lib/libcrypto/bn/asm/README index b0f3a68a06..323d1a06b9 100644 --- a/src/lib/libcrypto/bn/asm/README +++ b/src/lib/libcrypto/bn/asm/README | |||
| @@ -1,23 +1,23 @@ | |||
| 1 | <OBSOLETE> | 1 | <OBSOLETE> |
| 2 | 2 | ||
| 3 | All assember in this directory are just version of the file | 3 | All assembler in this directory are just version of the file |
| 4 | crypto/bn/bn_asm.c. | 4 | crypto/bn/bn_asm.c. |
| 5 | 5 | ||
| 6 | Quite a few of these files are just the assember output from gcc since on | 6 | Quite a few of these files are just the assembler output from gcc since on |
| 7 | quite a few machines they are 2 times faster than the system compiler. | 7 | quite a few machines they are 2 times faster than the system compiler. |
| 8 | 8 | ||
| 9 | For the x86, I have hand written assember because of the bad job all | 9 | For the x86, I have hand written assembler because of the bad job all |
| 10 | compilers seem to do on it. This normally gives a 2 time speed up in the RSA | 10 | compilers seem to do on it. This normally gives a 2 time speed up in the RSA |
| 11 | routines. | 11 | routines. |
| 12 | 12 | ||
| 13 | For the DEC alpha, I also hand wrote the assember (except the division which | 13 | For the DEC alpha, I also hand wrote the assembler (except the division which |
| 14 | is just the output from the C compiler pasted on the end of the file). | 14 | is just the output from the C compiler pasted on the end of the file). |
| 15 | On the 2 alpha C compilers I had access to, it was not possible to do | 15 | On the 2 alpha C compilers I had access to, it was not possible to do |
| 16 | 64b x 64b -> 128b calculations (both long and the long long data types | 16 | 64b x 64b -> 128b calculations (both long and the long long data types |
| 17 | were 64 bits). So the hand assember gives access to the 128 bit result and | 17 | were 64 bits). So the hand assembler gives access to the 128 bit result and |
| 18 | a 2 times speedup :-). | 18 | a 2 times speedup :-). |
| 19 | 19 | ||
| 20 | There are 3 versions of assember for the HP PA-RISC. | 20 | There are 3 versions of assembler for the HP PA-RISC. |
| 21 | 21 | ||
| 22 | pa-risc.s is the origional one which works fine and generated using gcc :-) | 22 | pa-risc.s is the origional one which works fine and generated using gcc :-) |
| 23 | 23 | ||
diff --git a/src/lib/libcrypto/bn/asm/x86/add.pl b/src/lib/libcrypto/bn/asm/x86/add.pl index 0b5cf583e3..3bb0080922 100644 --- a/src/lib/libcrypto/bn/asm/x86/add.pl +++ b/src/lib/libcrypto/bn/asm/x86/add.pl | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #!/usr/local/bin/perl | 1 | #!/usr/local/bin/perl |
| 2 | # x86 assember | 2 | # x86 assembler |
| 3 | 3 | ||
| 4 | sub bn_add_words | 4 | sub bn_add_words |
| 5 | { | 5 | { |
diff --git a/src/lib/libcrypto/bn/asm/x86/comba.pl b/src/lib/libcrypto/bn/asm/x86/comba.pl index 2291253629..dc4ec97ff5 100644 --- a/src/lib/libcrypto/bn/asm/x86/comba.pl +++ b/src/lib/libcrypto/bn/asm/x86/comba.pl | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #!/usr/local/bin/perl | 1 | #!/usr/local/bin/perl |
| 2 | # x86 assember | 2 | # x86 assembler |
| 3 | 3 | ||
| 4 | sub mul_add_c | 4 | sub mul_add_c |
| 5 | { | 5 | { |
diff --git a/src/lib/libcrypto/bn/asm/x86/div.pl b/src/lib/libcrypto/bn/asm/x86/div.pl index 0e90152caa..e771eda82f 100644 --- a/src/lib/libcrypto/bn/asm/x86/div.pl +++ b/src/lib/libcrypto/bn/asm/x86/div.pl | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #!/usr/local/bin/perl | 1 | #!/usr/local/bin/perl |
| 2 | # x86 assember | 2 | # x86 assembler |
| 3 | 3 | ||
| 4 | sub bn_div_words | 4 | sub bn_div_words |
| 5 | { | 5 | { |
diff --git a/src/lib/libcrypto/bn/asm/x86/mul.pl b/src/lib/libcrypto/bn/asm/x86/mul.pl index 674cb9b055..92b5542dac 100644 --- a/src/lib/libcrypto/bn/asm/x86/mul.pl +++ b/src/lib/libcrypto/bn/asm/x86/mul.pl | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #!/usr/local/bin/perl | 1 | #!/usr/local/bin/perl |
| 2 | # x86 assember | 2 | # x86 assembler |
| 3 | 3 | ||
| 4 | sub bn_mul_words | 4 | sub bn_mul_words |
| 5 | { | 5 | { |
diff --git a/src/lib/libcrypto/bn/asm/x86/mul_add.pl b/src/lib/libcrypto/bn/asm/x86/mul_add.pl index 61830d3a90..9803dbdad0 100644 --- a/src/lib/libcrypto/bn/asm/x86/mul_add.pl +++ b/src/lib/libcrypto/bn/asm/x86/mul_add.pl | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #!/usr/local/bin/perl | 1 | #!/usr/local/bin/perl |
| 2 | # x86 assember | 2 | # x86 assembler |
| 3 | 3 | ||
| 4 | sub bn_mul_add_words | 4 | sub bn_mul_add_words |
| 5 | { | 5 | { |
diff --git a/src/lib/libcrypto/bn/asm/x86/sqr.pl b/src/lib/libcrypto/bn/asm/x86/sqr.pl index 1f90993cf6..6cf75a76e2 100644 --- a/src/lib/libcrypto/bn/asm/x86/sqr.pl +++ b/src/lib/libcrypto/bn/asm/x86/sqr.pl | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #!/usr/local/bin/perl | 1 | #!/usr/local/bin/perl |
| 2 | # x86 assember | 2 | # x86 assembler |
| 3 | 3 | ||
| 4 | sub bn_sqr_words | 4 | sub bn_sqr_words |
| 5 | { | 5 | { |
diff --git a/src/lib/libcrypto/bn/asm/x86/sub.pl b/src/lib/libcrypto/bn/asm/x86/sub.pl index 837b0e1b07..0c5364cce5 100644 --- a/src/lib/libcrypto/bn/asm/x86/sub.pl +++ b/src/lib/libcrypto/bn/asm/x86/sub.pl | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #!/usr/local/bin/perl | 1 | #!/usr/local/bin/perl |
| 2 | # x86 assember | 2 | # x86 assembler |
| 3 | 3 | ||
| 4 | sub bn_sub_words | 4 | sub bn_sub_words |
| 5 | { | 5 | { |
diff --git a/src/lib/libcrypto/perlasm/readme b/src/lib/libcrypto/perlasm/readme index f02bbee75a..57d61fda1e 100644 --- a/src/lib/libcrypto/perlasm/readme +++ b/src/lib/libcrypto/perlasm/readme | |||
| @@ -7,7 +7,7 @@ and then include it. | |||
| 7 | push(@INC,"perlasm","../../perlasm"); | 7 | push(@INC,"perlasm","../../perlasm"); |
| 8 | require "x86asm.pl"; | 8 | require "x86asm.pl"; |
| 9 | 9 | ||
| 10 | The first thing we do is setup the file and type of assember | 10 | The first thing we do is setup the file and type of assembler |
| 11 | 11 | ||
| 12 | &asm_init($ARGV[0],$0); | 12 | &asm_init($ARGV[0],$0); |
| 13 | 13 | ||
diff --git a/src/lib/libcrypto/ripemd/README b/src/lib/libcrypto/ripemd/README index f1ffc8b134..5e18d45866 100644 --- a/src/lib/libcrypto/ripemd/README +++ b/src/lib/libcrypto/ripemd/README | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | RIPEMD-160 | 1 | RIPEMD-160 |
| 2 | http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html | 2 | http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html |
| 3 | 3 | ||
| 4 | This is my implementation of RIPEMD-160. The pentium assember is a little | 4 | This is my implementation of RIPEMD-160. The pentium assembler is a little |
| 5 | off the pace since I only get 1050 cycles, while the best is 1013. | 5 | off the pace since I only get 1050 cycles, while the best is 1013. |
| 6 | I have a few ideas for how to get another 20 or so cycles, but at | 6 | I have a few ideas for how to get another 20 or so cycles, but at |
| 7 | this point I will not bother right now. I believe the trick will be | 7 | this point I will not bother right now. I believe the trick will be |
