• Simo Sorce's avatar
    Constant time/cache PKCS#1 RSA decryption · 4804febd
    Simo Sorce authored
    This patch tries to make the code have the same time and memory access
    aptterns across all branches of the decryption function so that timining
    or cache side channels are minimized or neutralized.
    To do so it uses a new nettle rsa decryption function that is
    side-channel silent.
    Signed-off-by: Simo Sorce's avatarSimo Sorce <simo@redhat.com>
pkcs11_int.h 13.7 KB