tech-crypto archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: hifn mac issue
Karl Knutsson <karl.knutsson%ericsson.com@localhost> writes:
> I traced the problem to the hifn device driver's interrupt routine
> (hifn_intr). The problem seems to be here:
>
> if (cmd->base_masks & HIFN_BASE_CMD_MAC) {
> macbuf = dma->result_bufs[i];
> macbuf += 12;
> }
This appears to be have been fixed in NetBSD-current:
revision 1.28
date: 2005/10/16 20:26:47; author: tls; state: Exp; lines: +4 -17
branches: 1.28.6;
>From Gilles Roy <groy%qnx.com@localhost>: don't increment buffer pointer twice
(once before callback, once *in* callback) for MAC transforms. How did
this driver ever work at all without this?
--
(let ((C call-with-current-continuation)) (apply (lambda (x y) (x y)) (map
((lambda (r) ((C C) (lambda (s) (r (lambda l (apply (s s) l)))))) (lambda
(f) (lambda (l) (if (null? l) C (lambda (k) (display (car l)) ((f (cdr l))
(C k))))))) '((#\J #\d #\D #\v #\s) (#\e #\space #\a #\i #\newline)))))
Home |
Main Index |
Thread Index |
Old Index