Skip to content

Commit 2635b86

Browse files
author
gefeili
committed
minor changes in Polynomial
1 parent a4ea578 commit 2635b86

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

core/src/main/java/org/bouncycastle/crypto/split/Polynomial.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,19 @@
55
public abstract class Polynomial
66
implements SecretSharing
77
{
8-
public static final byte AES = 0;
9-
public static final byte RSA = 1;
8+
public static final int AES = 0;
9+
public static final int RSA = 1;
1010
/**
11-
* <summary>
1211
* Length of the secret
13-
* </summary>
1412
*/
1513
protected int l;
1614
/**
17-
* <summary>
1815
* A threshold number of shares
19-
* </summary>
2016
*/
2117
protected int m;
2218
/**
23-
* <summary>
2419
* Total number of shares
2520
* m <= n <= 255
26-
* </summary>
2721
*/
2822
protected int n;
2923
protected byte[][] p;

0 commit comments

Comments
 (0)