Skip to content

Commit

Permalink
removed d from encapsulation length - relates to github #1949
Browse files Browse the repository at this point in the history
  • Loading branch information
dghgit committed Dec 21, 2024
1 parent 4350053 commit 26b77b5
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ public byte[] extractSecret(byte[] encapsulation)
}

public int getEncapsulationLength()
{
// Hash + salt
return key.getParameters().getN_BYTES() + key.getParameters().getN1N2_BYTES() + 64 + 16;
{ // Hash + salt
return key.getParameters().getN_BYTES() + key.getParameters().getN1N2_BYTES() + 16;
}
}

0 comments on commit 26b77b5

Please sign in to comment.