138 reputation
8
bio website Grieu
location
age
visits member for 1 year, 9 months
seen Mar 2 at 23:40
stats profile views 8

Dec
31
awarded  Scholar
Dec
31
accepted C: replace AES FIPS-197 SubBytes table by constant-time code
Dec
31
comment C: replace AES FIPS-197 SubBytes table by constant-time code
Fantastic! I confirm it works! A detail: the 8th & 1 can be trimmed (esp. if x is unsigned char; CHAR_BIT is 8 in codegolf).
Dec
26
comment Tips for golfing in C
@ugoren: x==3&&f() can be further golfed to x^3||f()
Dec
25
comment C: replace AES FIPS-197 SubBytes table by constant-time code
There are several violations: w >> b where b depends on input; also x/8, x%8, and *= (1-badi). The first one is especially likely to degenerate into a timing dependency on low-end CPUs. However, the idea of using wide variables certainly has potential.
Dec
25
awarded  Self-Learner
Dec
24
awarded  Teacher
Dec
24
answered C: replace AES FIPS-197 SubBytes table by constant-time code
Dec
23
comment C: replace AES FIPS-197 SubBytes table by constant-time code
@PaĆ­loEbermann: My intention should be clear now.
Dec
23
revised C: replace AES FIPS-197 SubBytes table by constant-time code
Clarify by intention regarding choice of winning entry
Dec
23
revised C: replace AES FIPS-197 SubBytes table by constant-time code
Languages other than C are not proscribed; ranking of size
Dec
23
revised C: replace AES FIPS-197 SubBytes table by constant-time code
Languages other than C are not proscribed
Dec
23
revised C: replace AES FIPS-197 SubBytes table by constant-time code
Type casts and promotions are free, clarification on *
Dec
22
revised C: replace AES FIPS-197 SubBytes table by constant-time code
Typo in title
Dec
22
revised C: replace AES FIPS-197 SubBytes table by constant-time code
Minor clarifications
Dec
22
revised C: replace AES FIPS-197 SubBytes table by constant-time code
Include +1 and -1 in the favored operators
Dec
22
comment C: replace AES FIPS-197 SubBytes table by constant-time code
Nice. The function rj_sbox in aes.c here might give inspiration (although, as is, it does not match the question).
Dec
21
asked C: replace AES FIPS-197 SubBytes table by constant-time code
May
15
revised Use NVM to tenaciously resume operation whenever aborted
Removed link to the meta
May
6
revised Use NVM to tenaciously resume operation whenever aborted
Remove anti-spoiler