Re: [PATCH v5 2/2] crypto: add test vectors for blake2b

2019-10-21 Thread Ard Biesheuvel
On Fri, 18 Oct 2019 at 15:00, David Sterba wrote: > > On Thu, Oct 17, 2019 at 12:22:57PM +0200, Ard Biesheuvel wrote: > > On Mon, 14 Oct 2019 at 11:17, David Sterba wrote: > > > > > > Test vectors for blake2b with various digest sizes. As the algorithm is > > > the same up to the digest calculati

Re: [PATCH v5 2/2] crypto: add test vectors for blake2b

2019-10-18 Thread David Sterba
On Thu, Oct 17, 2019 at 12:22:57PM +0200, Ard Biesheuvel wrote: > On Mon, 14 Oct 2019 at 11:17, David Sterba wrote: > > > > Test vectors for blake2b with various digest sizes. As the algorithm is > > the same up to the digest calculation, the key and input data length is > > distributed in a way t

Re: [PATCH v5 2/2] crypto: add test vectors for blake2b

2019-10-17 Thread Ard Biesheuvel
On Mon, 14 Oct 2019 at 11:17, David Sterba wrote: > > Test vectors for blake2b with various digest sizes. As the algorithm is > the same up to the digest calculation, the key and input data length is > distributed in a way that tests all combinanions of the two over the > digest sizes. > > Based o

[PATCH v5 2/2] crypto: add test vectors for blake2b

2019-10-14 Thread David Sterba
Test vectors for blake2b with various digest sizes. As the algorithm is the same up to the digest calculation, the key and input data length is distributed in a way that tests all combinanions of the two over the digest sizes. Based on the suggestion from Eric, the following input sizes are tested