Side-Channel Countermeasures

Base and exponent blinding for modular exponentiation (RSA, Discrete logarithm)
  • Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other Systems by Kocher - paper (section 10)
  • Power Analysis Attacks of Modular Exponentiation in Smartcards by Messerges, Dabbish and Sloan - paper (section 6)
  • Bug Attacks by Biham, Carmeli and Shamir - paper (section 7)
  • OpenSSL's base blinding interface BN_BLINDING - api - bn_blind.c - rsa_eay.c
  • Tarsnap client library by Percival - tarball (see file lib/crypto/crypto_dh.c, does exponent blinding)
  • Does exponent blinding is covered by this patent ?
Constant time common comparison operations
  • The impact of side-channel attacks on the design of cryptosystems by Bernstein - slides
  • The Go Programming Language - pkg/crypto/subtle/
Scalar multiplication on EC group points
AES