From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 19 15:52:19 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FFAB16A4DD for ; Wed, 19 Jul 2006 15:52:19 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from ms-dienst.rz.rwth-aachen.de (ms-1.rz.RWTH-Aachen.DE [134.130.3.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BA3A43D5A for ; Wed, 19 Jul 2006 15:52:06 +0000 (GMT) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from circe (circe.rz.RWTH-Aachen.DE [134.130.3.36]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0J2N00MRJQQPPM@ms-dienst.rz.rwth-aachen.de> for hackers@freebsd.org; Wed, 19 Jul 2006 17:52:01 +0200 (MEST) Received: from talos.rz.RWTH-Aachen.DE ([134.130.3.22]) by circe (MailMonitor for SMTP v1.2.2 ) ; Wed, 19 Jul 2006 17:52:00 +0200 (MEST) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by smarthost.rwth-aachen.de (8.13.6/8.13.1/1) with ESMTP id k6JFpxY4006181; Wed, 19 Jul 2006 17:51:59 +0200 Received: from haakonia.hitnet.rwth-aachen.de ([137.226.181.92]) by bigboss.hitnet.rwth-aachen.de with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1G3ELA-0000jF-Dr; Wed, 19 Jul 2006 17:52:00 +0200 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id 344B33F413; Wed, 19 Jul 2006 17:52:00 +0200 (CEST) Date: Wed, 19 Jul 2006 17:52:00 +0200 From: Christian Brueffer In-reply-to: <20060719171025.P38044@fw.reifenberger.com> To: Michael Reifenberger Message-id: <20060719155200.GD1342@haakonia.hitnet.RWTH-Aachen.DE> MIME-version: 1.0 Content-type: multipart/signed; boundary=FN+gV9K+162wdwwF; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.11 X-Operating-System: FreeBSD 6.1-STABLE X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: <20060718110442.S20487@fw.reifenberger.com> <20060718131356.GC1756@haakonia.hitnet.RWTH-Aachen.DE> <20060719171025.P38044@fw.reifenberger.com> Cc: FreeBSD-Hackers Subject: Re: VIA padlock performance X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 15:52:19 -0000 --FN+gV9K+162wdwwF Content-Type: multipart/mixed; boundary="WChQLJJJfbwij+9x" Content-Disposition: inline --WChQLJJJfbwij+9x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 19, 2006 at 05:13:29PM +0200, Michael Reifenberger wrote: > On Tue, 18 Jul 2006, Christian Brueffer wrote: > ... > > > >Nice, could you update padlock(4) with information about supported C7 > >processors? > > >=20 > Something like the attached patch? >=20 I'd prefer a more compact version. How about the attached patch? Also applies some more word smithing. - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --WChQLJJJfbwij+9x Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="padlock.4.diff" Index: padlock.4 =================================================================== RCS file: /data/ncvs/freebsd/src/share/man/man4/man4.i386/padlock.4,v retrieving revision 1.3 diff -u -r1.3 padlock.4 --- padlock.4 5 Jun 2006 16:24:31 -0000 1.3 +++ padlock.4 19 Jul 2006 15:46:27 -0000 @@ -24,12 +24,12 @@ .\" .\" $FreeBSD: src/share/man/man4/man4.i386/padlock.4,v 1.3 2006/06/05 16:24:31 pjd Exp $ .\" -.Dd June 5, 2006 +.Dd July 19, 2006 .Dt PADLOCK 4 i386 .Os .Sh NAME .Nm padlock -.Nd "driver for the cryptographic functions and RNG in VIA C3 and Eden processors" +.Nd "driver for the cryptographic functions and RNG in VIA C3, C7 and Eden processors" .Sh SYNOPSIS To compile this driver into the kernel, place the following lines in your @@ -47,14 +47,18 @@ .Ed .Sh DESCRIPTION The C3 and Eden processor series from VIA include hardware acceleration for -AES, as well as a hardware random number generator. +AES. +The C7 series includes hardware acceleration for AES, SHA and RSA. +All of the above processor series include a hardware random number generator. .Pp The .Nm driver registers itself to accelerate AES operations for .Xr crypto 4 . -It also registers itself to accelerate various HMAC algorithms, but there is no -hardware acceleration for those algorithms, this is only needed, so +It also registers itself to accelerate various HMAC algorithms, although +there is no +hardware acceleration for those algorithms. +This is only needed, so .Nm can work with .Xr fast_ipsec 4 . @@ -74,6 +78,7 @@ .Sh SEE ALSO .Xr crypt 3 , .Xr crypto 4 , +.Xr fast_ipsec 4 , .Xr intro 4 , .Xr random 4 , .Xr crypto 9 --WChQLJJJfbwij+9x-- --FN+gV9K+162wdwwF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFEvlUgbHYXjKDtmC0RAsD2AJ49BW+hwxr+XovHwBCWfjMyN7IvaQCfVacS kxloGgKTFpaBlNQrYDOSoqw= =9yZO -----END PGP SIGNATURE----- --FN+gV9K+162wdwwF--