-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Slightly MORE DOCUMENTATION ... minimal, unpolished sb-md5 and sb-rotate-byte documentation ... whitespace fixup in sbcl.texinfo ... add a couple of index terms to sb-aclrepl.texinfo (It Would Be Nice to be able to include contrib docstrings; it ought to be possible, but possibly we need to zap the asdf-install 'binary' and require (ha ha) that REQUIRE should work from within the build tree [with SBCL_HOME set appropriately] on _all_ contribs)
- Loading branch information
Showing
6 changed files
with
52 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@node sb-md5 | ||
@section sb-md5 | ||
@cindex Hashing, cryptographic | ||
|
||
The @code{sb-md5} module implements the RFC1321 MD5 Message Digest | ||
Algorithm. | ||
|
||
@comment entry points / docstrings | ||
|
||
@subsection Credits | ||
|
||
The implementation for CMUCL was largely done by Pierre Mai, with help | ||
from members of the @code{cmucl-help} mailing list. Since CMUCL and | ||
SBCL are similar in many respects, it was not too difficult to extend | ||
the low-level implementation optimizations for CMUCL to SBCL. | ||
Following this, SBCL's compiler was extended to implement efficient | ||
compilation of modular arithmetic (@pxref{Modular arithmetic}), which | ||
enabled the implementation to be expressed in portable arithmetical | ||
terms, apart from the use of @code{rotate-byte} for bitwise rotation. | ||
@findex rotate-byte | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@node sb-rotate-byte | ||
@section sb-rotate-byte | ||
@cindex Modular arithmetic | ||
@cindex Arithmetic, modular | ||
@cindex Arithmetic, hardware | ||
|
||
The @code{sb-rotate-byte} module offers an interface to bitwise | ||
rotation, with an efficient implementation for operations which can be | ||
performed directly using the platform's arithmetic routines. It | ||
implements the specification at | ||
@uref{http://www.cliki.net/ROTATE-BYTE}. | ||
@comment except when someone scribbles all over it. Hmm. | ||
|
||
Bitwise rotation is a component of various cryptographic or hashing | ||
algorithms: MD5, SHA-1, etc.; often these algorithms are specified on | ||
32-bit rings. [cite cite cite]. | ||
|
||
@comment would like to include ROTATE-BYTE's docstring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters