From owner-freebsd-geom@FreeBSD.ORG Mon Jan 12 09:25:01 2015 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84DDFE49; Mon, 12 Jan 2015 09:25:01 +0000 (UTC) Received: from mail.highsecure.ru (mail6.highsecure.ru [IPv6:2a01:4f8:190:43b5::99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 40A4AE57; Mon, 12 Jan 2015 09:25:01 +0000 (UTC) Received: from medway.cl.cam.ac.uk (medway.cl.cam.ac.uk [IPv6:2001:630:212:238:21c:c0ff:fe4b:2b85]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vsevolod@highsecure.ru) by mail.highsecure.ru (Postfix) with ESMTPSA id 1A2A7300198; Mon, 12 Jan 2015 10:24:49 +0100 (CET) Message-ID: <54B392DB.4020304@highsecure.ru> Date: Mon, 12 Jan 2015 09:24:43 +0000 From: Vsevolod Stakhov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: John-Mark Gurney , rozhuk.im@gmail.com Subject: Re: ChaCha8/12/20 and GEOM ELI tests References: <54b33bfa.e31b980a.3e5d.ffffc823@mx.google.com> <20150112072249.GM1949@funkthat.com> In-Reply-To: <20150112072249.GM1949@funkthat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=highsecure.ru; s=dkim; t=1421054689; bh=UOghiykLJPlmhG8MNwDQU/Qa1l4GP4xpse8r/eD32LE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Q5qfrceP+IJvQMFlvZdf6xYU6d769v2aoz0CAqszN0umCcOrceIsBe8EHzSWW5L0Yg34d+QL/RfVQUlq/QhI9ImdBq0+eX9/iRnErJaMNEQiMyH5RJ1cRx2BwBIgKlVQkPdBL10W6Hzsx/F5DfKqFwDVCnQEeOqG6+IaMEF0HjA= Cc: freebsd-hackers@freebsd.org, freebsd-geom@freebsd.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2015 09:25:01 -0000 On 12/01/15 07:22, John-Mark Gurney wrote: > rozhuk.im@gmail.com wrote this message on Mon, Jan 12, 2015 at 06:13 +0300: >> FreeBSD firewall 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r276867M: Fri Jan 9 >> 09:34:39 MSK 2015 root@firewall:/usr/obj/usr/src/sys/RIMx64 amd64 >> >> Cha?ha patch: >> http://netlab.linkpc.net/download/software/FreeBSD/patches/chacha.patch > > What's the difference between CHACHA and XCHACHA? XChaha is the version of chacha that accepts longer nonce (namely 20 bytes instead of 8). This mode could be used in random nonces model, thought it is certainly slightly slower as it requires 1 more round per operation. But the difference is negligible on 4K blocks. -- Vsevolod Stakhov