Package org.magmacollective.libsss
Interface SSS.LibSSS
-
- All Superinterfaces:
com.sun.jna.Library
- Enclosing class:
- SSS
public static interface SSS.LibSSS extends com.sun.jna.Library
-
-
Field Summary
Fields Modifier and Type Field Description static SSS.LibSSSINSTANCE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsss_combine_keyshares(byte[] key, byte[] shares, int k)voidsss_combine_shares(byte[] data, byte[] shares, int k)voidsss_create_keyshares(byte[] out, byte[] key, int n, int k)voidsss_create_shares(byte[] out, byte[] data, int n, int k)
-
-
-
Field Detail
-
INSTANCE
static final SSS.LibSSS INSTANCE
-
-
Method Detail
-
sss_create_shares
void sss_create_shares(byte[] out, byte[] data, int n, int k)
-
sss_combine_shares
void sss_combine_shares(byte[] data, byte[] shares, int k)
-
sss_create_keyshares
void sss_create_keyshares(byte[] out, byte[] key, int n, int k)
-
sss_combine_keyshares
void sss_combine_keyshares(byte[] key, byte[] shares, int k)
-
-