Skip to content

Commit 09c9e9c

Browse files
committed
fixed typo
1 parent 175a269 commit 09c9e9c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/main/java/org/bouncycastle/crypto/params/HKDFParameters.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class HKDFParameters
1010
implements DerivationParameters
1111
{
1212
private final byte[] ikm;
13-
private final boolean skipExpand;
13+
private final boolean skipExtract;
1414
private final byte[] salt;
1515
private final byte[] info;
1616

@@ -25,7 +25,7 @@ private HKDFParameters(final byte[] ikm, final boolean skip,
2525

2626
this.ikm = Arrays.clone(ikm);
2727

28-
this.skipExpand = skip;
28+
this.skipExtract = skip;
2929

3030
if (salt == null || salt.length == 0)
3131
{
@@ -91,13 +91,13 @@ public byte[] getIKM()
9191
}
9292

9393
/**
94-
* Returns if step 1: extract has to be skipped or not
94+
* Returns if step 1: expand has to be skipped or not
9595
*
9696
* @return true for skipping, false for no skipping of step 1
9797
*/
9898
public boolean skipExtract()
9999
{
100-
return skipExpand;
100+
return skipExtract;
101101
}
102102

103103
/**

0 commit comments

Comments
 (0)