[PATCH] Add support for Salsa20/12 - 12 round version of Salsa20

Werner Koch wk at gnupg.org
Thu Jul 25 19:26:36 CEST 2013


On Sun, 21 Jul 2013 16:53, dbaryshkov at gmail.com said:

> Salsa20/12 is a reduced round version of Salsa20 that is amongst ciphers
> selected by eSTREAM for Phase 3 of Profile 1 algorithm. Moreover it is
> one of proposed ciphers for TLS (draft-josefsson-salsa20-tls-02).

Why should anyone give up a good security margin for an algorithm which
is already very fast.  If there is a real world application for such a
reduced version of Salsa20 it makes sense to have it.  But until then, I
doubt that it makes any sense.  

Simon: Why are you proposing that?


Minor nitpicking:

> +#define SALSA20r12_ROUNDS    12

All uppercase please.

> +    "SALSA20/12",  /* name */

A slash in the name is not a good idea (think file name).  Lower or
uppercase 'r' would be better.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gcrypt-devel mailing list