slandden (Shawn Landden)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Friday

  • Clear sailing ahead.

User Details

User Since
May 28 2018, 4:57 PM (56 w, 1 d)
Availability
Available

Recent Activity

Sun, Jun 23

slandden added a comment to T4541: C implementation of AES is vulnerable to side-channel attacks.

Werner, I interpreted jwilik's patch as admission of a problem from upstream, and reported it as such to CVE. I felt that since this does not effect the main platforms (ARM and x86_64) it would not be a big deal. If I interpreted wrong, I am sorry.

Sun, Jun 23, 7:52 PM · side-channel, libgcrypt, Bug Report
slandden added a comment to T4541: C implementation of AES is vulnerable to side-channel attacks.

I assigned the CVE, but yes it needs more facts.

Sun, Jun 23, 5:48 PM · side-channel, libgcrypt, Bug Report

Sat, Jun 22

slandden added a comment to D493: AES block modes for PPC.

I will work on OCB mode, eventually. Perhaps you could review what I have, but leave T4529 open until OCB mode is completed.

Sat, Jun 22, 1:52 AM

Wed, Jun 19

slandden updated the summary of D493: AES block modes for PPC.
Wed, Jun 19, 5:38 PM
slandden updated the diff for D493: AES block modes for PPC.

fix building with hard ware acceleration off.

Wed, Jun 19, 5:32 PM
slandden updated the diff for D492: Add PowerPC crypto acceleration support for SHA2..

rebase

Wed, Jun 19, 5:32 PM
slandden updated the diff for D491: Support for PowerPC's AES acceleration..

fix running with hardware acceleration off.

Wed, Jun 19, 5:32 PM

Sat, Jun 8

slandden added a comment to D493: AES block modes for PPC.

Regarding OCB: I do not want to touch a patent-encumbered algorithm (3 more years) which claims to force only GPL usage of libgcrypt[1].

Sat, Jun 8, 5:45 PM
slandden updated the summary of D493: AES block modes for PPC.
Sat, Jun 8, 2:11 AM
slandden updated the diff for D491: Support for PowerPC's AES acceleration..

rebase

Sat, Jun 8, 2:09 AM
slandden updated the diff for D490: PowerPC optimized routines for AES and SHA2 using PowerISA 2.07 instructions..

correctly generate the asm for it's "linux quirk" mode (fix build on big-endian)

Sat, Jun 8, 2:09 AM
slandden planned changes to D491: Support for PowerPC's AES acceleration..

It turns out that the upstream cryptogams is broken on ppc64 big-endian elfv1. I reported this upstream https://github.com/dot-asm/cryptogams/issues/5 (openssl version works fine)

Sat, Jun 8, 1:17 AM

Fri, Jun 7

slandden updated the diff for D491: Support for PowerPC's AES acceleration..

include hwf-ppc.c

Fri, Jun 7, 10:39 PM

Thu, Jun 6

slandden updated the diff for D493: AES block modes for PPC.

fix ctr mode when counter overflows.

Thu, Jun 6, 9:08 PM
slandden updated the diff for D491: Support for PowerPC's AES acceleration..

resolve merge conflicts

Thu, Jun 6, 9:07 PM
slandden accepted rCdaedbbb5541c: AES: move look-up tables to .data section and unshare between processes.

LGTM

Thu, Jun 6, 6:41 PM
slandden updated the task description for T4541: C implementation of AES is vulnerable to side-channel attacks.
Thu, Jun 6, 6:40 PM · side-channel, libgcrypt, Bug Report
slandden accepted rCa4c561aab101: GCM: move look-up table to .data section and unshare between processes.

Good catch on using the counter to foil "smart" algorithms.

Thu, Jun 6, 6:37 PM

Wed, Jun 5

slandden added a comment to D493: AES block modes for PPC.

The openssl version is a 64-bit counter (at least for ppc8), not 32-bit.

Wed, Jun 5, 5:44 PM

Tue, Jun 4

slandden updated the diff for D493: AES block modes for PPC.

wipe the stack

Tue, Jun 4, 9:43 PM
slandden added a comment to D491: Support for PowerPC's AES acceleration..

Benchmarks with the block ciphers is here https://dev.gnupg.org/D493

Tue, Jun 4, 9:29 PM
slandden updated the diff for D492: Add PowerPC crypto acceleration support for SHA2..

include missing file.

Tue, Jun 4, 7:11 PM
slandden updated the diff for D493: AES block modes for PPC.

added CTR mode support

Tue, Jun 4, 7:08 PM

Mon, Jun 3

slandden created D493: AES block modes for PPC.
Mon, Jun 3, 5:38 AM

Thu, May 30

slandden updated the task description for T4541: C implementation of AES is vulnerable to side-channel attacks.
Thu, May 30, 3:46 PM · side-channel, libgcrypt, Bug Report

Tue, May 28

slandden reopened T4541: C implementation of AES is vulnerable to side-channel attacks as "Open".
Tue, May 28, 8:14 PM · side-channel, libgcrypt, Bug Report
slandden closed T4541: C implementation of AES is vulnerable to side-channel attacks as Invalid.

I do not have a PoC (or much interest in making one, I have too many more important things to do), but I believe this to be correct, based heavily on PPC knowledge of Nicolas König <koenigni@student.ethz.ch> . This attack also applies to AMD, Intel, and ARM.

Tue, May 28, 8:12 PM · side-channel, libgcrypt, Bug Report
slandden updated the diff for D492: Add PowerPC crypto acceleration support for SHA2..

fix build with a fixup that got applied twice. better benchmarks

Tue, May 28, 1:35 AM

Mon, May 27

slandden updated the summary of D491: Support for PowerPC's AES acceleration..
Mon, May 27, 9:15 PM
slandden created T4541: C implementation of AES is vulnerable to side-channel attacks.
Mon, May 27, 9:10 PM · side-channel, libgcrypt, Bug Report

May 24 2019

slandden updated the diff for D490: PowerPC optimized routines for AES and SHA2 using PowerISA 2.07 instructions..
May 24 2019, 9:05 PM
slandden requested review of D490: PowerPC optimized routines for AES and SHA2 using PowerISA 2.07 instructions..
May 24 2019, 9:04 PM
slandden updated the diff for D491: Support for PowerPC's AES acceleration..

proper benchmarks

May 24 2019, 9:04 PM
slandden updated the diff for D492: Add PowerPC crypto acceleration support for SHA2..

Fix alignment needs of vcrypto instructions.

May 24 2019, 9:03 PM
slandden planned changes to D490: PowerPC optimized routines for AES and SHA2 using PowerISA 2.07 instructions..
May 24 2019, 6:39 AM
slandden planned changes to D491: Support for PowerPC's AES acceleration..
May 24 2019, 6:39 AM
slandden planned changes to D492: Add PowerPC crypto acceleration support for SHA2..

Didn't do sufficient testing.

May 24 2019, 6:31 AM
slandden updated the diff for D491: Support for PowerPC's AES acceleration..

Actually include modified perlasm file.

May 24 2019, 6:16 AM
slandden updated the summary of D491: Support for PowerPC's AES acceleration..
May 24 2019, 6:15 AM
slandden updated the summary of D491: Support for PowerPC's AES acceleration..
May 24 2019, 6:07 AM
slandden updated the summary of D491: Support for PowerPC's AES acceleration..
May 24 2019, 6:07 AM
slandden updated the summary of D491: Support for PowerPC's AES acceleration..
May 24 2019, 6:06 AM
slandden added a task to D492: Add PowerPC crypto acceleration support for SHA2.: T4530: libgcrypt: POWER SHA-2 Vector Acceleration.
May 24 2019, 6:06 AM
slandden added a revision to T4530: libgcrypt: POWER SHA-2 Vector Acceleration: D492: Add PowerPC crypto acceleration support for SHA2..
May 24 2019, 6:06 AM · libgcrypt, Feature Request
slandden created D492: Add PowerPC crypto acceleration support for SHA2..
May 24 2019, 6:06 AM
slandden updated the summary of D491: Support for PowerPC's AES acceleration..
May 24 2019, 6:04 AM
slandden created D491: Support for PowerPC's AES acceleration..
May 24 2019, 6:03 AM
slandden added a revision to T4529: libgcrypt: POWER AES Vector Acceleration: D491: Support for PowerPC's AES acceleration..
May 24 2019, 6:03 AM · libgcrypt, Feature Request
slandden created D490: PowerPC optimized routines for AES and SHA2 using PowerISA 2.07 instructions..
May 24 2019, 6:01 AM

May 20 2019

slandden added a comment to T4529: libgcrypt: POWER AES Vector Acceleration.

I'm looking into doing a pretty epic hack of using the switch_endian syscall to speed this up.

May 20 2019, 11:52 PM · libgcrypt, Feature Request
slandden added a comment to T4529: libgcrypt: POWER AES Vector Acceleration.

Would the maintainers accept having perl in the repository? Linux does it.[1]

May 20 2019, 8:35 PM · libgcrypt, Feature Request

May 29 2018

slandden updated the task description for T4002: gpg-error.h uses c11 reserved word "noreturn".
May 29 2018, 6:35 PM · Bug Report
slandden created T4002: gpg-error.h uses c11 reserved word "noreturn".
May 29 2018, 6:34 PM · Bug Report