Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2015 09:24:43 +0000
From:      Vsevolod Stakhov <vsevolod@highsecure.ru>
To:        John-Mark Gurney <jmg@funkthat.com>, rozhuk.im@gmail.com
Cc:        freebsd-hackers@freebsd.org, freebsd-geom@freebsd.org
Subject:   Re: ChaCha8/12/20 and GEOM ELI tests
Message-ID:  <54B392DB.4020304@highsecure.ru>
In-Reply-To: <20150112072249.GM1949@funkthat.com>
References:  <54b33bfa.e31b980a.3e5d.ffffc823@mx.google.com> <20150112072249.GM1949@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54B392DB.4020304>