We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92887ae commit 21695beCopy full SHA for 21695be
src/net/i2p/crypto/eddsa/spec/EdDSAPublicKeySpec.java
@@ -48,7 +48,7 @@ public GroupElement getA() {
48
}
49
50
public GroupElement getNegativeA() {
51
- // Only read Aneg once, otherwise read re-ordering might occur between here and return.
+ // Only read Aneg once, otherwise read re-ordering might occur between here and return. Requires all GroupElement's fields to be final.
52
GroupElement ourAneg = Aneg;
53
if(ourAneg == null) {
54
ourAneg = A.negate();
0 commit comments