From owner-freebsd-questions@freebsd.org Fri Nov 20 19:29:25 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F328A3235A for ; Fri, 20 Nov 2015 19:29:25 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD9C4161C for ; Fri, 20 Nov 2015 19:29:24 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wmvv187 with SMTP id v187so86026422wmv.1 for ; Fri, 20 Nov 2015 11:29:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=mdodtxKHQ+86U04f6igLKlW57naqcILL16zFuY0NTks=; b=KlLNrMEON4r7TNcqrT5+yk6tbU2xKF+ePpUzB/nXb/4YIlnvlG7kn1oFFjHiSZCtw2 B0DCtBwx60IrLj57BzyPDm5RB0gC3PmeDfSCIVIXubPErGVx1/JVWJC5XbjP63N+mfqb lDpUu44+jRImOYUK4/O7DUMwMKNC0+iDxPBpOKPE8pqd8I+clZLDgUxYjUJ9ZvPkHBrf oyIkf4qtq31MXiXyfgym/HN+bpAL0+Kz3kNFCR4Yl0XtJDmy3pfov4d6aH8KjwDBPq3n mxNcZR788nGiqYxNm5+uXfLzkR51mwAkqUHCdgIKCnVgCp6Aeo1hV7/cMK0Fhj4srbbq aaXw== X-Received: by 10.194.115.199 with SMTP id jq7mr16242419wjb.101.1448047763177; Fri, 20 Nov 2015 11:29:23 -0800 (PST) Received: from gumby.homeunix.com ([94.8.70.38]) by smtp.gmail.com with ESMTPSA id q1sm863660wje.39.2015.11.20.11.29.21 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 Nov 2015 11:29:22 -0800 (PST) Date: Fri, 20 Nov 2015 19:29:20 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: cryptodev HW (aesni) vs software Message-ID: <20151120192920.119bbf91@gumby.homeunix.com> In-Reply-To: <20151120200325.2baade9c@nonamehost.local> References: <20151120200325.2baade9c@nonamehost.local> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2015 19:29:25 -0000 On Fri, 20 Nov 2015 20:03:25 +0200 Ivan Klymenko wrote: > Hello everybody. > What's happening? > > root@nonamehost:/ # openssl speed -evp aes-128-cbc -elapsed -engine > cryptodev engine "cryptodev" set. I'm not really sure what the actual question was, but IIRC you shouldn't load cryptodev if the CPU has AES-NI because it gets used by default and it's faster to allow openssl to use AES-NI instructions directly.