#| -*-Scheme-*-
-$Id: blowfish.scm,v 1.11 1999/08/09 18:25:45 cph Exp $
+$Id: blowfish.scm,v 1.12 1999/08/09 18:27:38 cph Exp $
Copyright (c) 1997, 1999 Massachusetts Institute of Technology
((ucode-primitive blowfish-set-key 1) string)))
(set! blowfish-cbc
- (lambda (input key init-vector encrypt?)
+ (lambda (input output key init-vector encrypt?)
(check-key)
- ((ucode-primitive blowfish-cbc-v2 5) input key init-vector
- encrypt?)))
+ ((ucode-primitive blowfish-cbc-v2 5)
+ input output key init-vector encrypt?)))
(set! blowfish-cfb64
(lambda (input input-start input-end output output-start
#| -*-Scheme-*-
-$Id: cpress.scm,v 1.11 1999/08/09 18:23:40 cph Exp $
+$Id: cpress.scm,v 1.12 1999/08/09 18:26:47 cph Exp $
Copyright (c) 1992-1999 Massachusetts Institute of Technology
(define (flush-output-buffer)
(let ((ob output-buffer))
(if (fix:< 0 (car ob))
- (output-port/write-bytes output-port (cdr ob) 0 (car ob))))
+ (output-port/write-substring output-port (cdr ob) 0 (car ob))))
(output-port/flush-output output-port))
(define (uncompress ifile ofile)