r3383: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 11 Nov 2002 11:17:56 +0000 (11:17 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 11 Nov 2002 11:17:56 +0000 (11:17 +0000)
md5.lisp

index cb422beaeb8d76b8c5039b20b2900a434271e15f..ce85d8e477c955ea7f42dfdc411f8178ba64fd11 100644 (file)
--- a/md5.lisp
+++ b/md5.lisp
@@ -5,7 +5,7 @@
 ;;;; cmucl-help mailing-list hosted at cons.org, in November 2001 and
 ;;;; has been placed into the public domain.
 ;;;;
-;;;; $Id: md5.lisp,v 1.1 2002/11/11 11:11:22 kevin Exp $
+;;;; $Id: md5.lisp,v 1.2 2002/11/11 11:17:56 kevin Exp $
 ;;;;
 ;;;; While the implementation should work on all conforming Common
 ;;;; Lisp implementations, it has only been optimized for CMU CL,
 
 ;;; Section 2:  Basic Datatypes
 
+(eval-when (:compile-toplevel :load-toplevel :execute)
 (deftype ub32 ()
   "Corresponds to the 32bit quantity word of the MD5 Spec"
-  `(unsigned-byte 32))
+  `(unsigned-byte 32)))
 
 (defmacro assemble-ub32 (a b c d)
   "Assemble an ub32 value from the given (unsigned-byte 8) values,
@@ -503,9 +504,10 @@ simple-arrays with such element types."
       (update-md5-state state sequence :start start :end real-end))
     (finalize-md5-state state)))
 
+(eval-when (:compile-toplevel :load-toplevel :execute)
 (defconstant +buffer-size+ (* 128 1024)
   "Size of internal buffer to use for md5sum-stream and md5sum-file
-operations.  This should be a multiple of 64, the MD5 block size.")
+operations.  This should be a multiple of 64, the MD5 block size."))
 
 (deftype buffer-index () `(integer 0 ,+buffer-size+))