From owner-freebsd-security@FreeBSD.ORG Thu Apr 8 08:26:15 2004 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F9D216A4CE for ; Thu, 8 Apr 2004 08:26:15 -0700 (PDT) Received: from smtp3.sentex.ca (smtp3.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C94F43D55 for ; Thu, 8 Apr 2004 08:26:15 -0700 (PDT) (envelope-from mike@sentex.net) Received: from avscan2.sentex.ca (avscan2.sentex.ca [199.212.134.19]) by smtp3.sentex.ca (8.12.11/8.12.10) with ESMTP id i38FQ706086067; Thu, 8 Apr 2004 11:26:07 -0400 (EDT) (envelope-from mike@sentex.net) Received: from localhost (localhost [127.0.0.1]) by avscan2.sentex.ca (Postfix) with ESMTP id C3DDC59C96; Thu, 8 Apr 2004 11:26:09 -0400 (EDT) Received: from avscan2.sentex.ca ([127.0.0.1]) by localhost (avscan2.sentex.ca [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 54324-13; Thu, 8 Apr 2004 11:26:09 -0400 (EDT) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by avscan2.sentex.ca (Postfix) with ESMTP id AB2AA59C95; Thu, 8 Apr 2004 11:26:09 -0400 (EDT) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.12.11/8.12.11) with ESMTP id i38FQ8OI094573; Thu, 8 Apr 2004 11:26:08 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.0.3.0.0.20040408112048.07218a00@209.112.4.2> X-Sender: mdtpop@209.112.4.2 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.3.0 Date: Thu, 08 Apr 2004 11:26:38 -0400 To: "Poul-Henning Kamp" , "Michael W. Lucas" From: Mike Tancsa In-Reply-To: <26486.1081437513@critter.freebsd.dk> References: <26486.1081437513@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at (avscan2) sentex.ca cc: security@freebsd.org Subject: Re: recommended SSL-friendly crypto accelerator X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 15:26:15 -0000 At 11:18 AM 08/04/2004, Poul-Henning Kamp wrote: >In message <20040408144322.GA83448@bewilderbeast.blackhelicopters.org>, >"Michae >l W. Lucas" writes: > >(Yes, that's a serious concern; I'm looking at 15,000 simultaneous > >users on a SSL Web site, and would prefer to avoid spending the big > >bucks on a so-called "hardware SSL accelerator.") > >Whee :-) Although the chip does asymetric transformations, the driver does not. Check the man page The hifn driver registers itself to accelerate DES, Triple-DES, AES (7955 and 7956 only), ARC4, MD5, MD5-HMAC, SHA1, and SHA1-HMAC operations for And even then, openssl is not necessarily tied to the card's functions. For sure des and aes do work, but in my limited tests against a server with apache-ssl installed, it doesnt seem to make use of the card. Looking at a box with a crypto card installed, % hifnstats input 351328 bytes 4760 packets output 351328 bytes 4760 packets invalid 0 nomem 0 abort 0 noirq 0 unaligned 0 totbatch 0 maxbatch 0 nomem: map 0 load 0 mbuf 0 mcl 0 cr 0 sd 0 ... I then connect via https to that machine % !hi input 351328 bytes 4760 packets output 351328 bytes 4760 packets invalid 0 nomem 0 abort 0 noirq 0 unaligned 0 totbatch 0 maxbatch 0 nomem: map 0 load 0 mbuf 0 mcl 0 cr 0 sd 0 So it appears out of the box it doesnt make use of the card's capabilities. ---Mike