simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Fri Jan 25 20:24:47 GMT 2019


TL;DR:
  98cb60ef Replace all uses of Perl <> with <<>>.
  ca361fd7 cryptsuite: switch #! line to Python 3.
  22b42bdf Run cryptsuite in the autotools makefile's 'make check'.
  45090818 Bitsliced AES: optimise the constant out of the S-box.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2019-01-25 20:24:47

commit 98cb60ef8ead66c500ec0699388a93ae2e2a81ab
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=98cb60ef8ead66c500ec0699388a93ae2e2a81ab;hp=0e9ad99c042648ee4fecd9291bc6cb1bf2d76009
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Jan 25 20:12:39 2019 +0000

    Replace all uses of Perl <> with <<>>.
    
    I've only just found out that it has the effect of treating the argv
    words not as plain filenames, but as arguments to Perl default 'open',
    i.e. if they end in | then the text before that is treated as a
    command. That's not what was intended in any of these contexts!
    
    Fortunately, in this project it only comes up in non-critical
    'contrib' scripts.

 contrib/logparse.pl  | 2 +-
 contrib/logrewrap.pl | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

commit ca361fd77f4024aa7bedaf371ab709eaf9503bb4
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=ca361fd77f4024aa7bedaf371ab709eaf9503bb4;hp=98cb60ef8ead66c500ec0699388a93ae2e2a81ab
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Jan 25 20:14:31 2019 +0000

    cryptsuite: switch #! line to Python 3.
    
    Since I apparently can't reliably keep this script working on both
    flavours of Python, I think these days I'd rather it broke on 2 than
    on 3 due to my inattention. So let's default to 3.

 test/cryptsuite.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 22b42bdfd5612c49b3ab77ad03a1490310ab4469
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=22b42bdfd5612c49b3ab77ad03a1490310ab4469;hp=ca361fd77f4024aa7bedaf371ab709eaf9503bb4
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Jan 25 20:15:24 2019 +0000

    Run cryptsuite in the autotools makefile's 'make check'.
    
    Now we've _got_ a test suite, this seems like an obviously useful
    place to put an invocation of it.

 Recipe | 8 ++++++++
 1 file changed, 8 insertions(+)

commit 45090818257c792bf8c36076228f2a32d94cbace
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=45090818257c792bf8c36076228f2a32d94cbace;hp=22b42bdfd5612c49b3ab77ad03a1490310ab4469
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Jan 25 20:16:40 2019 +0000

    Bitsliced AES: optimise the constant out of the S-box.
    
    In the bitsliced implementation, the addition of 0x63 as the last
    operation inside the S-box actually costs cycles during encryption -
    four bitslice inversions - which can be easily eliminated by detaching
    the constant, moving it forward past the ShiftRows and MixColumns
    (with both of which it commutes) until it's adjacent to the next round
    key addition, and then folding it into the round key during key setup.
    
    I had this idea while I was originally writing this implementation,
    but deferred actually doing it because it made all the intermediate
    results harder to check against the standard test vectors. Now the
    code is working and stable, this is the moment to come back and do it.

 sshaes.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 53 insertions(+), 15 deletions(-)



More information about the tartarus-commits mailing list