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 4350053 commit 26b77b5Copy full SHA for 26b77b5
core/src/main/java/org/bouncycastle/pqc/crypto/hqc/HQCKEMExtractor.java
@@ -34,8 +34,7 @@ public byte[] extractSecret(byte[] encapsulation)
34
}
35
36
public int getEncapsulationLength()
37
- {
38
- // Hash + salt
39
- return key.getParameters().getN_BYTES() + key.getParameters().getN1N2_BYTES() + 64 + 16;
+ { // Hash + salt
+ return key.getParameters().getN_BYTES() + key.getParameters().getN1N2_BYTES() + 16;
40
41
0 commit comments