Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[crypto] Harden RSA modexp subroutine.
Add some SCA hardening measures to the modexp subroutine that selects either the squared or squared-and-multiplied result in square-and-multiply-always modular exponentiation. Although the rest of the code is not hardened, the hardening for RSA will likely preserve this subroutine, so hardening it is still useful. Signed-off-by: Jade Philipoom <[email protected]>
- Loading branch information