Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hotspot/cpu/x86/stubGenerator_x86_64_poly_mont.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ address StubGenerator::generate_intpoly_assign() {
__ negq(set);
__ kmovql(select, set);

// NOTE! Crypto code cannot branch on user input. However; allowed to branch on number of limbs;
// NOTE! Crypto code cannot branch on user input. However; allowed to branch on number of limbs;
// Number of limbs is a constant in each IntegerPolynomial (i.e. this side-channel branch leaks
// number of limbs which is not a secret)
__ cmpl(length, 5);
Expand Down
4 changes: 2 additions & 2 deletions src/java.base/share/classes/sun/security/ec/ECOperations.java
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@ private void setDouble(ProjectivePoint.Mutable p, MutableIntegerModuloP t0,

/**
* Adds second Mutable (Projective) point to first.
*
*
* Used by ECDSAOperations. This method constructs new temporaries each time
* it is called. For better efficiency, the (private) method that reuses temporaries
* should be used if more than one sum will be computed.
*
*
* @param p first point and result
* @param p2 second point to add
*/
Expand Down