From owner-freebsd-hackers Thu Apr 20 13:13:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from lindt.urgle.com (lindt.urgle.com [195.173.172.169]) by hub.freebsd.org (Postfix) with ESMTP id 284B237BE98; Thu, 20 Apr 2000 13:13:21 -0700 (PDT) (envelope-from mike@urgle.com) Received: from mike by lindt.urgle.com with local (Exim 3.03 #1) id 12iNK9-0002dv-00; Thu, 20 Apr 2000 21:13:17 +0100 Date: Thu, 20 Apr 2000 21:13:17 +0100 From: Mike Bristow To: David Gilbert Cc: freebsd-stable@freebsd.org, hackers@freebsd.org, Archie Cobbs Subject: Re: MD5 usage in the kernel. Message-ID: <20000420211317.A10157@lindt.urgle.com> References: <14591.25172.361989.676550@trooper.velocet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <14591.25172.361989.676550@trooper.velocet.net>; from dgilbert@velocet.ca on Thu, Apr 20, 2000 at 04:02:28PM -0400 X-Rated: LSD, spy, Panama Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 20, 2000 at 04:02:28PM -0400, David Gilbert wrote: > I'm working on an l2tp netgraph node. I need md5. Specifically, the > RFC says: > > The Response is a 16 octet value reflecting the CHAP-style > [RFC1994] response to the challenge. > > I've had a look at md5.c, but there is no documentation on the usage > md5. In this specific case, how do I call it? > > If CHAP uses MD5, how does ng_ppp or kernel ppp handle this (or does > it)? hands all the LCP of to userland Is a similar approach approprate here? Is the MD5ing time critical, or does it only appear in the moral equivilent of LCP? -- Mike Bristow, seebitwopie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message